262 lines
1.3 MiB
262 lines
1.3 MiB
var VU=Object.defineProperty,JU=Object.defineProperties;var WU=Object.getOwnPropertyDescriptors;var L0=Object.getOwnPropertySymbols,HU=Object.getPrototypeOf,lC=Object.prototype.hasOwnProperty,cC=Object.prototype.propertyIsEnumerable,KU=Reflect.get;var BE=(dr,cr)=>(cr=Symbol[dr])?cr:Symbol.for("Symbol."+dr),UE=dr=>{throw TypeError(dr)},Ql=Math.pow,qE=(dr,cr,Pr)=>cr in dr?VU(dr,cr,{enumerable:!0,configurable:!0,writable:!0,value:Pr}):dr[cr]=Pr,Ge=(dr,cr)=>{for(var Pr in cr||(cr={}))lC.call(cr,Pr)&&qE(dr,Pr,cr[Pr]);if(L0)for(var Pr of L0(cr))cC.call(cr,Pr)&&qE(dr,Pr,cr[Pr]);return dr},Nr=(dr,cr)=>JU(dr,WU(cr));var jr=(dr,cr)=>{var Pr={};for(var Pn in dr)lC.call(dr,Pn)&&cr.indexOf(Pn)<0&&(Pr[Pn]=dr[Pn]);if(dr!=null&&L0)for(var Pn of L0(dr))cr.indexOf(Pn)<0&&cC.call(dr,Pn)&&(Pr[Pn]=dr[Pn]);return Pr};var Ee=(dr,cr,Pr)=>qE(dr,typeof cr!="symbol"?cr+"":cr,Pr),uC=(dr,cr,Pr)=>cr.has(dr)||UE("Cannot "+Pr);var ta=(dr,cr,Pr)=>(uC(dr,cr,"read from private field"),Pr?Pr.call(dr):cr.get(dr)),Zl=(dr,cr,Pr)=>cr.has(dr)?UE("Cannot add the same private member more than once"):cr instanceof WeakSet?cr.add(dr):cr.set(dr,Pr),yd=(dr,cr,Pr,Pn)=>(uC(dr,cr,"write to private field"),Pn?Pn.call(dr,Pr):cr.set(dr,Pr),Pr);var pC=(dr,cr,Pr)=>KU(HU(dr),Pr,cr);var nr=(dr,cr,Pr)=>new Promise((Pn,Re)=>{var qo=s=>{try{C(Pr.next(s))}catch(h){Re(h)}},E=s=>{try{C(Pr.throw(s))}catch(h){Re(h)}},C=s=>s.done?Pn(s.value):Promise.resolve(s.value).then(qo,E);C((Pr=Pr.apply(dr,cr)).next())}),GU=function(dr,cr){this[0]=dr,this[1]=cr};var B0=dr=>{var cr=dr[BE("asyncIterator")],Pr=!1,Pn,Re={};return cr==null?(cr=dr[BE("iterator")](),Pn=qo=>Re[qo]=E=>cr[qo](E)):(cr=cr.call(dr),Pn=qo=>Re[qo]=E=>{if(Pr){if(Pr=!1,qo==="throw")throw E;return E}return Pr=!0,{done:!1,value:new GU(new Promise(C=>{var s=cr[qo](E);s instanceof Object||UE("Object expected"),C(s)}),1)}}),Re[BE("iterator")]=()=>Re,Pn("next"),"throw"in cr?Pn("throw"):Re.throw=qo=>{throw qo},"return"in cr&&Pn("return"),Re};import{g as YU}from"./emoji-mart-vue-fast-R0uJEDq-.js";import{f as XU}from"./OpenApi.api-MUIOSXUn.js";import{e as QU,o as ZU,r as ez,C as tz,z as rz}from"./vue-vendor-DNhG1Cve.js";import{au as nz}from"./index-X7Y8jykP.js";var q0={exports:{}};/*! For license information please see swagger-ui-bundle.js.LICENSE.txt */var az=q0.exports,hC;function oz(){return hC||(hC=1,(function(dr,cr){(function(Pn,Re){dr.exports=Re()})(az,(()=>(()=>{var Pr={251:(E,C)=>{C.read=function(s,h,b,f,w){var m,g,x=8*w-f-1,k=(1<<x)-1,T=k>>1,N=-7,P=b?w-1:0,M=b?-1:1,U=s[h+P];for(P+=M,m=U&(1<<-N)-1,U>>=-N,N+=x;N>0;m=256*m+s[h+P],P+=M,N-=8);for(g=m&(1<<-N)-1,m>>=-N,N+=f;N>0;g=256*g+s[h+P],P+=M,N-=8);if(m===0)m=1-T;else{if(m===k)return g?NaN:1/0*(U?-1:1);g+=Math.pow(2,f),m-=T}return(U?-1:1)*g*Math.pow(2,m-f)},C.write=function(s,h,b,f,w,m){var g,x,k,T=8*m-w-1,N=(1<<T)-1,P=N>>1,M=w===23?Math.pow(2,-24)-Math.pow(2,-77):0,U=f?0:m-1,J=f?1:-1,V=h<0||h===0&&1/h<0?1:0;for(h=Math.abs(h),isNaN(h)||h===1/0?(x=isNaN(h)?1:0,g=N):(g=Math.floor(Math.log(h)/Math.LN2),h*(k=Math.pow(2,-g))<1&&(g--,k*=2),(h+=g+P>=1?M/k:M*Math.pow(2,1-P))*k>=2&&(g++,k/=2),g+P>=N?(x=0,g=N):g+P>=1?(x=(h*k-1)*Math.pow(2,w),g+=P):(x=h*Math.pow(2,P-1)*Math.pow(2,w),g=0));w>=8;s[b+U]=255&x,U+=J,x/=256,w-=8);for(g=g<<w|x,T+=w;T>0;s[b+U]=255&g,U+=J,g/=256,T-=8);s[b+U-J]|=128*V}},462:(E,C,s)=>{var h=s(40975);E.exports=h},659:(E,C,s)=>{var h=s(51873),b=Object.prototype,f=b.hasOwnProperty,w=b.toString,m=h?h.toStringTag:void 0;E.exports=function(x){var k=f.call(x,m),T=x[m];try{x[m]=void 0;var N=!0}catch(M){}var P=w.call(x);return N&&(k?x[m]=T:delete x[m]),P}},694:(E,C,s)=>{s(91599);var h=s(37257);s(12560),E.exports=h},953:(E,C,s)=>{E.exports=s(53375)},1733:E=>{var C=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;E.exports=function(h){return h.match(C)||[]}},1882:(E,C,s)=>{var h=s(72552),b=s(23805);E.exports=function(w){if(!b(w))return!1;var m=h(w);return m=="[object Function]"||m=="[object GeneratorFunction]"||m=="[object AsyncFunction]"||m=="[object Proxy]"}},1907:(E,C,s)=>{var h=s(41505),b=Function.prototype,f=b.call,w=h&&b.bind.bind(f,f);E.exports=h?w:function(m){return function(){return f.apply(m,arguments)}}},2205:function(E,C,s){var h;h=s.g!==void 0?s.g:this,E.exports=(function(b){if(b.CSS&&b.CSS.escape)return b.CSS.escape;var f=function(w){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var m,g=String(w),x=g.length,k=-1,T="",N=g.charCodeAt(0);++k<x;)(m=g.charCodeAt(k))!=0?T+=m>=1&&m<=31||m==127||k==0&&m>=48&&m<=57||k==1&&m>=48&&m<=57&&N==45?"\\"+m.toString(16)+" ":k==0&&x==1&&m==45||!(m>=128||m==45||m==95||m>=48&&m<=57||m>=65&&m<=90||m>=97&&m<=122)?"\\"+g.charAt(k):g.charAt(k):T+="<22>";return T};return b.CSS||(b.CSS={}),b.CSS.escape=f,f})(h)},2209:(E,C,s)=>{var h,b=s(9404),f=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};f.isRequired=f;var w=function(){return f};function m(k){var T=typeof k;return Array.isArray(k)?"array":k instanceof RegExp?"object":k instanceof b.Iterable?"Immutable."+k.toSource().split(" ")[0]:T}function g(k){function T(P,M,U,J,V,B){for(var H=arguments.length,Q=Array(H>6?H-6:0),ne=6;ne<H;ne++)Q[ne-6]=arguments[ne];return B=B||U,J=J||"<<anonymous>>",M[U]!=null?k.apply(void 0,[M,U,J,V,B].concat(Q)):P?new Error("Required "+V+" `"+B+"` was not specified in `"+J+"`."):void 0}var N=T.bind(null,!1);return N.isRequired=T.bind(null,!0),N}function x(k,T){return(function(P,M){return g((function(J,V,B,H,Q){var ne=J[V];if(!M(ne)){var ae=m(ne);return new Error("Invalid "+H+" `"+Q+"` of type `"+ae+"` supplied to `"+B+"`, expected `"+P+"`.")}return null}))})("Iterable."+k,(function(N){return b.Iterable.isIterable(N)&&T(N)}))}(h={listOf:w,mapOf:w,orderedMapOf:w,setOf:w,orderedSetOf:w,stackOf:w,iterableOf:w,recordOf:w,shape:w,contains:w,mapContains:w,orderedMapContains:w,list:f,map:f,orderedMap:f,set:f,orderedSet:f,stack:f,seq:f,record:f,iterable:f}).iterable.indexed=x("Indexed",b.Iterable.isIndexed),h.iterable.keyed=x("Keyed",b.Iterable.isKeyed),E.exports=h},2404:(E,C,s)=>{var h=s(60270);E.exports=function(f,w){return h(f,w)}},2523:E=>{E.exports=function(s,h,b,f){for(var w=s.length,m=b+(f?1:-1);f?m--:++m<w;)if(h(s[m],m,s))return m;return-1}},2532:(E,C,s)=>{var h=s(45951),b=Object.defineProperty;E.exports=function(f,w){try{b(h,f,{value:w,configurable:!0,writable:!0})}catch(m){h[f]=w}return w}},2694:(E,C,s)=>{var h=s(6925);function b(){}function f(){}f.resetWarningCache=b,E.exports=function(){function w(x,k,T,N,P,M){if(M!==h){var U=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw U.name="Invariant Violation",U}}function m(){return w}w.isRequired=w;var g={array:w,bigint:w,bool:w,func:w,number:w,object:w,string:w,symbol:w,any:w,arrayOf:m,element:w,elementType:w,instanceOf:m,node:w,objectOf:m,oneOf:m,oneOfType:m,shape:m,exact:m,checkPropTypes:f,resetWarningCache:b};return g.PropTypes=g,g}},2874:E=>{E.exports={}},2875:(E,C,s)=>{var h=s(23045),b=s(80376);E.exports=Object.keys||function(w){return h(w,b)}},2955:(E,C,s)=>{var h,b=s(65606);function f(H,Q,ne){return(Q=(function(Ce){var he=(function(ke,Le){if(typeof ke!="object"||ke===null)return ke;var Be=ke[Symbol.toPrimitive];if(Be!==void 0){var $e=Be.call(ke,Le);if(typeof $e!="object")return $e;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Le==="string"?String:Number)(ke)})(Ce,"string");return typeof he=="symbol"?he:String(he)})(Q))in H?Object.defineProperty(H,Q,{value:ne,enumerable:!0,configurable:!0,writable:!0}):H[Q]=ne,H}var w=s(86238),m=Symbol("lastResolve"),g=Symbol("lastReject"),x=Symbol("error"),k=Symbol("ended"),T=Symbol("lastPromise"),N=Symbol("handlePromise"),P=Symbol("stream");function M(H,Q){return{value:H,done:Q}}function U(H){var Q=H[m];if(Q!==null){var ne=H[P].read();ne!==null&&(H[T]=null,H[m]=null,H[g]=null,Q(M(ne,!1)))}}function J(H){b.nextTick(U,H)}var V=Object.getPrototypeOf((function(){})),B=Object.setPrototypeOf((f(h={get stream(){return this[P]},next:function(){var Q=this,ne=this[x];if(ne!==null)return Promise.reject(ne);if(this[k])return Promise.resolve(M(void 0,!0));if(this[P].destroyed)return new Promise((function(ge,ke){b.nextTick((function(){Q[x]?ke(Q[x]):ge(M(void 0,!0))}))}));var ae,Ce=this[T];if(Ce)ae=new Promise((function(ke,Le){return function(Be,$e){ke.then((function(){Le[k]?Be(M(void 0,!0)):Le[N](Be,$e)}),$e)}})(Ce,this));else{var he=this[P].read();if(he!==null)return Promise.resolve(M(he,!1));ae=new Promise(this[N])}return this[T]=ae,ae}},Symbol.asyncIterator,(function(){return this})),f(h,"return",(function(){var Q=this;return new Promise((function(ne,ae){Q[P].destroy(null,(function(Ce){Ce?ae(Ce):ne(M(void 0,!0))}))}))})),h),V);E.exports=function(Q){var ne,ae=Object.create(B,(f(ne={},P,{value:Q,writable:!0}),f(ne,m,{value:null,writable:!0}),f(ne,g,{value:null,writable:!0}),f(ne,x,{value:null,writable:!0}),f(ne,k,{value:Q._readableState.endEmitted,writable:!0}),f(ne,N,{value:function(he,ge){var ke=ae[P].read();ke?(ae[T]=null,ae[m]=null,ae[g]=null,he(M(ke,!1))):(ae[m]=he,ae[g]=ge)},writable:!0}),ne));return ae[T]=null,w(Q,(function(Ce){if(Ce&&Ce.code!=="ERR_STREAM_PREMATURE_CLOSE"){var he=ae[g];return he!==null&&(ae[T]=null,ae[m]=null,ae[g]=null,he(Ce)),void(ae[x]=Ce)}var ge=ae[m];ge!==null&&(ae[T]=null,ae[m]=null,ae[g]=null,ge(M(void 0,!0))),ae[k]=!0})),Q.on("readable",J.bind(null,ae)),ae}},3110:(E,C,s)=>{const h=s(5187),b=s(85015),f=s(98023),w=s(53812),m=s(23805),g=s(85105),x=s(86804);class k{constructor(N){this.elementMap={},this.elementDetection=[],this.Element=x.Element,this.KeyValuePair=x.KeyValuePair,N&&N.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(N){return N.namespace&&N.namespace({base:this}),N.load&&N.load({base:this}),this}useDefault(){return this.register("null",x.NullElement).register("string",x.StringElement).register("number",x.NumberElement).register("boolean",x.BooleanElement).register("array",x.ArrayElement).register("object",x.ObjectElement).register("member",x.MemberElement).register("ref",x.RefElement).register("link",x.LinkElement),this.detect(h,x.NullElement,!1).detect(b,x.StringElement,!1).detect(f,x.NumberElement,!1).detect(w,x.BooleanElement,!1).detect(Array.isArray,x.ArrayElement,!1).detect(m,x.ObjectElement,!1),this}register(N,P){return this._elements=void 0,this.elementMap[N]=P,this}unregister(N){return this._elements=void 0,delete this.elementMap[N],this}detect(N,P,M){return M===void 0||M?this.elementDetection.unshift([N,P]):this.elementDetection.push([N,P]),this}toElement(N){if(N instanceof this.Element)return N;let P;for(let M=0;M<this.elementDetection.length;M+=1){const U=this.elementDetection[M][0],J=this.elementDetection[M][1];if(U(N)){P=new J(N);break}}return P}getElementClass(N){const P=this.elementMap[N];return P===void 0?this.Element:P}fromRefract(N){return this.serialiser.deserialise(N)}toRefract(N){return this.serialiser.serialise(N)}get elements(){return this._elements===void 0&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((N=>{const P=N[0].toUpperCase()+N.substr(1);this._elements[P]=this.elementMap[N]}))),this._elements}get serialiser(){return new g(this)}}g.prototype.Namespace=k,E.exports=k},3121:(E,C,s)=>{var h=s(65482),b=Math.min;E.exports=function(f){var w=h(f);return w>0?b(w,9007199254740991):0}},3209:(E,C,s)=>{var h=s(91596),b=s(53320),f=s(36306),w="__lodash_placeholder__",m=128,g=Math.min;E.exports=function(k,T){var N=k[1],P=T[1],M=N|P,U=M<131,J=P==m&&N==8||P==m&&N==256&&k[7].length<=T[8]||P==384&&T[7].length<=T[8]&&N==8;if(!U&&!J)return k;1&P&&(k[2]=T[2],M|=1&N?0:4);var V=T[3];if(V){var B=k[3];k[3]=B?h(B,V,T[4]):V,k[4]=B?f(k[3],w):T[4]}return(V=T[5])&&(B=k[5],k[5]=B?b(B,V,T[6]):V,k[6]=B?f(k[5],w):T[6]),(V=T[7])&&(k[7]=V),P&m&&(k[8]=k[8]==null?T[8]:g(k[8],T[8])),k[9]==null&&(k[9]=T[9]),k[0]=T[0],k[1]=M,k}},3650:(E,C,s)=>{var h=s(74335)(Object.keys,Object);E.exports=h},3656:(E,C,s)=>{E=s.nmd(E);var h=s(9325),b=s(89935),f=C&&!C.nodeType&&C,w=f&&E&&!E.nodeType&&E,m=w&&w.exports===f?h.Buffer:void 0,g=(m?m.isBuffer:void 0)||b;E.exports=g},4509:(E,C,s)=>{var h=s(12651);E.exports=function(f){return h(this,f).has(f)}},4640:E=>{var C=String;E.exports=function(s){try{return C(s)}catch(h){return"Object"}}},4664:(E,C,s)=>{var h=s(79770),b=s(63345),f=Object.prototype.propertyIsEnumerable,w=Object.getOwnPropertySymbols,m=w?function(g){return g==null?[]:(g=Object(g),h(w(g),(function(x){return f.call(g,x)})))}:b;E.exports=m},4901:(E,C,s)=>{var h=s(72552),b=s(30294),f=s(40346),w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w["[object Arguments]"]=w["[object Array]"]=w["[object ArrayBuffer]"]=w["[object Boolean]"]=w["[object DataView]"]=w["[object Date]"]=w["[object Error]"]=w["[object Function]"]=w["[object Map]"]=w["[object Number]"]=w["[object Object]"]=w["[object RegExp]"]=w["[object Set]"]=w["[object String]"]=w["[object WeakMap]"]=!1,E.exports=function(g){return f(g)&&b(g.length)&&!!w[h(g)]}},4993:(E,C,s)=>{var h=s(16946),b=s(74239);E.exports=function(f){return h(b(f))}},5187:E=>{E.exports=function(s){return s===null}},5419:E=>{E.exports=function(C,s,h,b){var f=new Blob(b!==void 0?[b,C]:[C],{type:h||"application/octet-stream"});if(window.navigator.msSaveBlob!==void 0)window.navigator.msSaveBlob(f,s);else{var w=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(f):window.webkitURL.createObjectURL(f),m=document.createElement("a");m.style.display="none",m.href=w,m.setAttribute("download",s),m.download===void 0&&m.setAttribute("target","_blank"),document.body.appendChild(m),m.click(),setTimeout((function(){document.body.removeChild(m),window.URL.revokeObjectURL(w)}),200)}}},5556:(E,C,s)=>{E.exports=s(2694)()},5861:(E,C,s)=>{var h=s(55580),b=s(68223),f=s(32804),w=s(76545),m=s(28303),g=s(72552),x=s(47473),k="[object Map]",T="[object Promise]",N="[object Set]",P="[object WeakMap]",M="[object DataView]",U=x(h),J=x(b),V=x(f),B=x(w),H=x(m),Q=g;(h&&Q(new h(new ArrayBuffer(1)))!=M||b&&Q(new b)!=k||f&&Q(f.resolve())!=T||w&&Q(new w)!=N||m&&Q(new m)!=P)&&(Q=function(ne){var ae=g(ne),Ce=ae=="[object Object]"?ne.constructor:void 0,he=Ce?x(Ce):"";if(he)switch(he){case U:return M;case J:return k;case V:return T;case B:return N;case H:return P}return ae}),E.exports=Q},6048:E=>{E.exports=function(s){if(typeof s!="function")throw new TypeError("Expected a function");return function(){var h=arguments;switch(h.length){case 0:return!s.call(this);case 1:return!s.call(this,h[0]);case 2:return!s.call(this,h[0],h[1]);case 3:return!s.call(this,h[0],h[1],h[2])}return!s.apply(this,h)}}},6188:E=>{E.exports=Math.max},6205:E=>{E.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},6233:(E,C,s)=>{const h=s(6048),b=s(10316),f=s(92340);class w extends b{constructor(g,x,k){super(g||[],x,k),this.element="array"}primitive(){return"array"}get(g){return this.content[g]}getValue(g){const x=this.get(g);if(x)return x.toValue()}getIndex(g){return this.content[g]}set(g,x){return this.content[g]=this.refract(x),this}remove(g){const x=this.content.splice(g,1);return x.length?x[0]:null}map(g,x){return this.content.map(g,x)}flatMap(g,x){return this.map(g,x).reduce(((k,T)=>k.concat(T)),[])}compactMap(g,x){const k=[];return this.forEach((T=>{const N=g.bind(x)(T);N&&k.push(N)})),k}filter(g,x){return new f(this.content.filter(g,x))}reject(g,x){return this.filter(h(g),x)}reduce(g,x){let k,T;x!==void 0?(k=0,T=this.refract(x)):(k=1,T=this.primitive()==="object"?this.first.value:this.first);for(let N=k;N<this.length;N+=1){const P=this.content[N];T=this.primitive()==="object"?this.refract(g(T,P.value,P.key,P,this)):this.refract(g(T,P,N,this))}return T}forEach(g,x){this.content.forEach(((k,T)=>{g.bind(x)(k,this.refract(T))}))}shift(){return this.content.shift()}unshift(g){this.content.unshift(this.refract(g))}push(g){return this.content.push(this.refract(g)),this}add(g){this.push(g)}findElements(g,x){const k=x||{},T=!!k.recursive,N=k.results===void 0?[]:k.results;return this.forEach(((P,M,U)=>{T&&P.findElements!==void 0&&P.findElements(g,{results:N,recursive:T}),g(P,M,U)&&N.push(P)})),N}find(g){return new f(this.findElements(g,{recursive:!0}))}findByElement(g){return this.find((x=>x.element===g))}findByClass(g){return this.find((x=>x.classes.includes(g)))}getById(g){return this.find((x=>x.id.toValue()===g)).first}includes(g){return this.content.some((x=>x.equals(g)))}contains(g){return this.includes(g)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(g){return new this.constructor(this.content.concat(g.content))}"fantasy-land/concat"(g){return this.concat(g)}"fantasy-land/map"(g){return new this.constructor(this.map(g))}"fantasy-land/chain"(g){return this.map((x=>g(x)),this).reduce(((x,k)=>x.concat(k)),this.empty())}"fantasy-land/filter"(g){return new this.constructor(this.content.filter(g))}"fantasy-land/reduce"(g,x){return this.content.reduce(g,x)}get length(){return this.content.length}get isEmpty(){return this.content.length===0}get first(){return this.getIndex(0)}get second(){return this.getIndex(1)}get last(){return this.getIndex(this.length-1)}}w.empty=function(){return new this},w["fantasy-land/empty"]=w.empty,typeof Symbol!="undefined"&&(w.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),E.exports=w},6499:(E,C,s)=>{var h=s(1907),b=0,f=Math.random(),w=h(1 .toString);E.exports=function(m){return"Symbol("+(m===void 0?"":m)+")_"+w(++b+f,36)}},6549:E=>{E.exports=Object.getOwnPropertyDescriptor},6925:E=>{E.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7057:(E,C,s)=>{var h=s(11470).charAt,b=s(90160),f=s(64932),w=s(60183),m=s(59550),g="String Iterator",x=f.set,k=f.getterFor(g);w(String,"String",(function(T){x(this,{type:g,string:b(T),index:0})}),(function(){var N,P=k(this),M=P.string,U=P.index;return U>=M.length?m(void 0,!0):(N=h(M,U),P.index+=N.length,m(N,!1))}))},7176:(E,C,s)=>{var h,b=s(73126),f=s(75795);try{h=[].__proto__===Array.prototype}catch(x){if(!x||typeof x!="object"||!("code"in x)||x.code!=="ERR_PROTO_ACCESS")throw x}var w=!!h&&f&&f(Object.prototype,"__proto__"),m=Object,g=m.getPrototypeOf;E.exports=w&&typeof w.get=="function"?b([w.get]):typeof g=="function"&&function(k){return g(k==null?k:m(k))}},7309:(E,C,s)=>{var h=s(62006)(s(24713));E.exports=h},7376:E=>{E.exports=!0},7463:(E,C,s)=>{var h=s(98828),b=s(62250),f=/#|\.prototype\./,w=function(T,N){var P=g[m(T)];return P===k||P!==x&&(b(N)?h(N):!!N)},m=w.normalize=function(T){return String(T).replace(f,".").toLowerCase()},g=w.data={},x=w.NATIVE="N",k=w.POLYFILL="P";E.exports=w},7666:(E,C,s)=>{var h=s(84851),b=s(953);function f(){var w;return E.exports=f=h?b(w=h).call(w):function(m){for(var g=1;g<arguments.length;g++){var x=arguments[g];for(var k in x)({}).hasOwnProperty.call(x,k)&&(m[k]=x[k])}return m},E.exports.__esModule=!0,E.exports.default=E.exports,f.apply(null,arguments)}E.exports=f,E.exports.__esModule=!0,E.exports.default=E.exports},8048:(E,C,s)=>{const h=s(6205);C.wordBoundary=()=>({type:h.POSITION,value:"b"}),C.nonWordBoundary=()=>({type:h.POSITION,value:"B"}),C.begin=()=>({type:h.POSITION,value:"^"}),C.end=()=>({type:h.POSITION,value:"$"})},8068:E=>{var C=(()=>{var s=Object.defineProperty,h=Object.getOwnPropertyDescriptor,b=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,g=(V,B,H)=>B in V?s(V,B,{enumerable:!0,configurable:!0,writable:!0,value:H}):V[B]=H,x=(V,B)=>{for(var H in B||(B={}))w.call(B,H)&&g(V,H,B[H]);if(f)for(var H of f(B))m.call(B,H)&&g(V,H,B[H]);return V},k=(V,B,H)=>g(V,typeof B!="symbol"?B+"":B,H),T={};((V,B)=>{for(var H in B)s(V,H,{get:B[H],enumerable:!0})})(T,{DEFAULT_OPTIONS:()=>P,DEFAULT_UUID_LENGTH:()=>N,default:()=>J});var N=6,P={dictionary:"alphanum",shuffle:!0,debug:!1,length:N,counter:0},M=class{constructor(B={}){k(this,"counter"),k(this,"debug"),k(this,"dict"),k(this,"version"),k(this,"dictIndex",0),k(this,"dictRange",[]),k(this,"lowerBound",0),k(this,"upperBound",0),k(this,"dictLength",0),k(this,"uuidLength"),k(this,"_digit_first_ascii",48),k(this,"_digit_last_ascii",58),k(this,"_alpha_lower_first_ascii",97),k(this,"_alpha_lower_last_ascii",123),k(this,"_hex_last_ascii",103),k(this,"_alpha_upper_first_ascii",65),k(this,"_alpha_upper_last_ascii",91),k(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),k(this,"_alpha_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),k(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),k(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),k(this,"_alphanum_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),k(this,"_alphanum_lower_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),k(this,"_alphanum_upper_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii],upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),k(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),k(this,"_dict_ranges",{_number_dict_ranges:this._number_dict_ranges,_alpha_dict_ranges:this._alpha_dict_ranges,_alpha_lower_dict_ranges:this._alpha_lower_dict_ranges,_alpha_upper_dict_ranges:this._alpha_upper_dict_ranges,_alphanum_dict_ranges:this._alphanum_dict_ranges,_alphanum_lower_dict_ranges:this._alphanum_lower_dict_ranges,_alphanum_upper_dict_ranges:this._alphanum_upper_dict_ranges,_hex_dict_ranges:this._hex_dict_ranges}),k(this,"log",((...he)=>{const ge=[...he];ge[0]="[short-unique-id] ".concat(he[0]),this.debug})),k(this,"_normalizeDictionary",((he,ge)=>{let ke;if(he&&Array.isArray(he)&&he.length>1)ke=he;else{ke=[],this.dictIndex=0;const Le="_".concat(he,"_dict_ranges"),Be=this._dict_ranges[Le];let $e=0;for(const[,st]of Object.entries(Be)){const[Me,p]=st;$e+=Math.abs(p-Me)}ke=new Array($e);let Ke=0;for(const[,st]of Object.entries(Be)){this.dictRange=st,this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1];const Me=this.lowerBound<=this.upperBound,p=this.lowerBound,et=this.upperBound;if(Me)for(let ze=p;ze<et;ze++)ke[Ke++]=String.fromCharCode(ze),this.dictIndex=ze;else for(let ze=p;ze>et;ze--)ke[Ke++]=String.fromCharCode(ze),this.dictIndex=ze}ke.length=Ke}if(ge)for(let Le=ke.length-1;Le>0;Le--){const Be=Math.floor(Math.random()*(Le+1));[ke[Le],ke[Be]]=[ke[Be],ke[Le]]}return ke})),k(this,"setDictionary",((he,ge)=>{this.dict=this._normalizeDictionary(he,ge),this.dictLength=this.dict.length,this.setCounter(0)})),k(this,"seq",(()=>this.sequentialUUID())),k(this,"sequentialUUID",(()=>{const he=this.dictLength,ge=this.dict;let ke=this.counter;const Le=[];do{const $e=ke%he;ke=Math.trunc(ke/he),Le.push(ge[$e])}while(ke!==0);const Be=Le.join("");return this.counter+=1,Be})),k(this,"rnd",((he=this.uuidLength||N)=>this.randomUUID(he))),k(this,"randomUUID",((he=this.uuidLength||N)=>{if(he==null||he<1)throw new Error("Invalid UUID Length Provided");const ge=new Array(he),ke=this.dictLength,Le=this.dict;for(let Be=0;Be<he;Be++){const $e=Math.floor(Math.random()*ke);ge[Be]=Le[$e]}return ge.join("")})),k(this,"fmt",((he,ge)=>this.formattedUUID(he,ge))),k(this,"formattedUUID",((he,ge)=>{const ke={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return he.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(Le=>{const Be=Le.slice(0,2),$e=Number.parseInt(Le.slice(2),10);return Be==="$s"?ke[Be]().padStart($e,"0"):Be==="$t"&&ge?ke[Be]($e,ge):ke[Be]($e)}))})),k(this,"availableUUIDs",((he=this.uuidLength)=>Number.parseFloat(Ql([...new Set(this.dict)].length,he).toFixed(0)))),k(this,"_collisionCache",new Map),k(this,"approxMaxBeforeCollision",((he=this.availableUUIDs(this.uuidLength))=>{const ge=he,ke=this._collisionCache.get(ge);if(ke!==void 0)return ke;const Le=Number.parseFloat(Math.sqrt(Math.PI/2*he).toFixed(20));return this._collisionCache.set(ge,Le),Le})),k(this,"collisionProbability",((he=this.availableUUIDs(this.uuidLength),ge=this.uuidLength)=>Number.parseFloat((this.approxMaxBeforeCollision(he)/this.availableUUIDs(ge)).toFixed(20)))),k(this,"uniqueness",((he=this.availableUUIDs(this.uuidLength))=>{const ge=Number.parseFloat((1-this.approxMaxBeforeCollision(he)/he).toFixed(20));return ge>1?1:ge<0?0:ge})),k(this,"getVersion",(()=>this.version)),k(this,"stamp",((he,ge)=>{const ke=Math.floor(+(ge||new Date)/1e3).toString(16);if(typeof he=="number"&&he===0)return ke;if(typeof he!="number"||he<10)throw new Error(["Param finalLength must be a number greater than or equal to 10,","or 0 if you want the raw hexadecimal timestamp"].join(`
|
||
`));const Le=he-9,Be=Math.round(Math.random()*(Le>15?15:Le)),$e=this.randomUUID(Le);return"".concat($e.substring(0,Be)).concat(ke).concat($e.substring(Be)).concat(Be.toString(16))})),k(this,"parseStamp",((he,ge)=>{if(ge&&!/t0|t[1-9]\d{1,}/.test(ge))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const ke=ge?ge.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(Be=>{const $e={$r:Me=>[...Array(Me)].map((()=>"r")).join(""),$s:Me=>[...Array(Me)].map((()=>"s")).join(""),$t:Me=>[...Array(Me)].map((()=>"t")).join("")},Ke=Be.slice(0,2),st=Number.parseInt(Be.slice(2),10);return $e[Ke](st)})).replace(/^(.*?)(t{8,})(.*)$/g,((Be,$e,Ke)=>he.substring($e.length,$e.length+Ke.length))):he;if(ke.length===8)return new Date(1e3*Number.parseInt(ke,16));if(ke.length<10)throw new Error("Stamp length invalid");const Le=Number.parseInt(ke.substring(ke.length-1),16);return new Date(1e3*Number.parseInt(ke.substring(Le,Le+8),16))})),k(this,"setCounter",(he=>{this.counter=he})),k(this,"validate",((he,ge)=>{const ke=ge?this._normalizeDictionary(ge):this.dict;return he.split("").every((Le=>ke.includes(Le)))}));const H=x(x({},P),B);this.counter=0,this.debug=!1,this.dict=[],this.version="5.3.2";const{dictionary:Q,shuffle:ne,length:ae,counter:Ce}=H;this.uuidLength=ae,this.setDictionary(Q,ne),this.setCounter(Ce),this.debug=H.debug,this.log(this.dict),this.log("Generator instantiated with Dictionary Size ".concat(this.dictLength," and counter set to ").concat(this.counter)),this.log=this.log.bind(this),this.setDictionary=this.setDictionary.bind(this),this.setCounter=this.setCounter.bind(this),this.seq=this.seq.bind(this),this.sequentialUUID=this.sequentialUUID.bind(this),this.rnd=this.rnd.bind(this),this.randomUUID=this.randomUUID.bind(this),this.fmt=this.fmt.bind(this),this.formattedUUID=this.formattedUUID.bind(this),this.availableUUIDs=this.availableUUIDs.bind(this),this.approxMaxBeforeCollision=this.approxMaxBeforeCollision.bind(this),this.collisionProbability=this.collisionProbability.bind(this),this.uniqueness=this.uniqueness.bind(this),this.getVersion=this.getVersion.bind(this),this.stamp=this.stamp.bind(this),this.parseStamp=this.parseStamp.bind(this)}};k(M,"default",M);var U,J=M;return U=T,((V,B,H,Q)=>{if(B&&typeof B=="object"||typeof B=="function")for(let ne of b(B))w.call(V,ne)||ne===H||s(V,ne,{get:()=>B[ne],enumerable:!(Q=h(B,ne))||Q.enumerable});return V})(s({},"__esModule",{value:!0}),U)})();E.exports=C.default,typeof window!="undefined"&&(C=C.default)},9325:(E,C,s)=>{var h=s(34840),b=typeof self=="object"&&self&&self.Object===Object&&self,f=h||b||Function("return this")();E.exports=f},9404:function(E){E.exports=(function(){var C=Array.prototype.slice;function s(y,I){I&&(y.prototype=Object.create(I.prototype)),y.prototype.constructor=y}function h(y){return m(y)?y:wt(y)}function b(y){return g(y)?y:Nt(y)}function f(y){return x(y)?y:Jt(y)}function w(y){return m(y)&&!k(y)?y:Et(y)}function m(y){return!(!y||!y[N])}function g(y){return!(!y||!y[P])}function x(y){return!(!y||!y[M])}function k(y){return g(y)||x(y)}function T(y){return!(!y||!y[U])}s(b,h),s(f,h),s(w,h),h.isIterable=m,h.isKeyed=g,h.isIndexed=x,h.isAssociative=k,h.isOrdered=T,h.Keyed=b,h.Indexed=f,h.Set=w;var N="@@__IMMUTABLE_ITERABLE__@@",P="@@__IMMUTABLE_KEYED__@@",M="@@__IMMUTABLE_INDEXED__@@",U="@@__IMMUTABLE_ORDERED__@@",J="delete",V=5,B=1<<V,H=B-1,Q={},ne={value:!1},ae={value:!1};function Ce(y){return y.value=!1,y}function he(y){y&&(y.value=!0)}function ge(){}function ke(y,I){I=I||0;for(var K=Math.max(0,y.length-I),Z=new Array(K),re=0;re<K;re++)Z[re]=y[re+I];return Z}function Le(y){return y.size===void 0&&(y.size=y.__iterate($e)),y.size}function Be(y,I){if(typeof I!="number"){var K=I>>>0;if(""+K!==I||K===4294967295)return NaN;I=K}return I<0?Le(y)+I:I}function $e(){return!0}function Ke(y,I,K){return(y===0||K!==void 0&&y<=-K)&&(I===void 0||K!==void 0&&I>=K)}function st(y,I){return p(y,I,0)}function Me(y,I){return p(y,I,I)}function p(y,I,K){return y===void 0?K:y<0?Math.max(0,I+y):I===void 0?y:Math.min(I,y)}var et=0,ze=1,xe=2,Ne=typeof Symbol=="function"&&Symbol.iterator,rt="@@iterator",gt=Ne||rt;function it(y){this.next=y}function St(y,I,K,Z){var re=y===0?I:y===1?K:[I,K];return Z?Z.value=re:Z={value:re,done:!1},Z}function Y(){return{value:void 0,done:!0}}function ye(y){return!!Xt(y)}function nt(y){return y&&typeof y.next=="function"}function at(y){var I=Xt(y);return I&&I.call(y)}function Xt(y){var I=y&&(Ne&&y[Ne]||y[rt]);if(typeof I=="function")return I}function tr(y){return y&&typeof y.length=="number"}function wt(y){return y==null?mt():m(y)?y.toSeq():yt(y)}function Nt(y){return y==null?mt().toKeyedSeq():m(y)?g(y)?y.toSeq():y.fromEntrySeq():At(y)}function Jt(y){return y==null?mt():m(y)?g(y)?y.entrySeq():y.toIndexedSeq():lt(y)}function Et(y){return(y==null?mt():m(y)?g(y)?y.entrySeq():y:lt(y)).toSetSeq()}it.prototype.toString=function(){return"[Iterator]"},it.KEYS=et,it.VALUES=ze,it.ENTRIES=xe,it.prototype.inspect=it.prototype.toSource=function(){return this.toString()},it.prototype[gt]=function(){return this},s(wt,h),wt.of=function(){return wt(arguments)},wt.prototype.toSeq=function(){return this},wt.prototype.toString=function(){return this.__toString("Seq {","}")},wt.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},wt.prototype.__iterate=function(y,I){return Ir(this,y,I,!0)},wt.prototype.__iterator=function(y,I){return $r(this,y,I,!0)},s(Nt,wt),Nt.prototype.toKeyedSeq=function(){return this},s(Jt,wt),Jt.of=function(){return Jt(arguments)},Jt.prototype.toIndexedSeq=function(){return this},Jt.prototype.toString=function(){return this.__toString("Seq [","]")},Jt.prototype.__iterate=function(y,I){return Ir(this,y,I,!1)},Jt.prototype.__iterator=function(y,I){return $r(this,y,I,!1)},s(Et,wt),Et.of=function(){return Et(arguments)},Et.prototype.toSetSeq=function(){return this},wt.isSeq=Ie,wt.Keyed=Nt,wt.Set=Et,wt.Indexed=Jt;var ct,Rt,pe,z="@@__IMMUTABLE_SEQ__@@";function W(y){this._array=y,this.size=y.length}function ee(y){var I=Object.keys(y);this._object=y,this._keys=I,this.size=I.length}function de(y){this._iterable=y,this.size=y.length||y.size}function we(y){this._iterator=y,this._iteratorCache=[]}function Ie(y){return!(!y||!y[z])}function mt(){return ct||(ct=new W([]))}function At(y){var I=Array.isArray(y)?new W(y).fromEntrySeq():nt(y)?new we(y).fromEntrySeq():ye(y)?new de(y).fromEntrySeq():typeof y=="object"?new ee(y):void 0;if(!I)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+y);return I}function lt(y){var I=Ot(y);if(!I)throw new TypeError("Expected Array or iterable object of values: "+y);return I}function yt(y){var I=Ot(y)||typeof y=="object"&&new ee(y);if(!I)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+y);return I}function Ot(y){return tr(y)?new W(y):nt(y)?new we(y):ye(y)?new de(y):void 0}function Ir(y,I,K,Z){var re=y._cache;if(re){for(var Se=re.length-1,Oe=0;Oe<=Se;Oe++){var Fe=re[K?Se-Oe:Oe];if(I(Fe[1],Z?Fe[0]:Oe,y)===!1)return Oe+1}return Oe}return y.__iterateUncached(I,K)}function $r(y,I,K,Z){var re=y._cache;if(re){var Se=re.length-1,Oe=0;return new it((function(){var Fe=re[K?Se-Oe:Oe];return Oe++>Se?Y():St(I,Z?Fe[0]:Oe-1,Fe[1])}))}return y.__iteratorUncached(I,K)}function hn(y,I){return I?Lr(I,y,"",{"":y}):xn(y)}function Lr(y,I,K,Z){return Array.isArray(I)?y.call(Z,K,Jt(I).map((function(re,Se){return Lr(y,re,Se,I)}))):Pa(I)?y.call(Z,K,Nt(I).map((function(re,Se){return Lr(y,re,Se,I)}))):I}function xn(y){return Array.isArray(y)?Jt(y).map(xn).toList():Pa(y)?Nt(y).map(xn).toMap():y}function Pa(y){return y&&(y.constructor===Object||y.constructor===void 0)}function Dr(y,I){if(y===I||y!=y&&I!=I)return!0;if(!y||!I)return!1;if(typeof y.valueOf=="function"&&typeof I.valueOf=="function"){if((y=y.valueOf())===(I=I.valueOf())||y!=y&&I!=I)return!0;if(!y||!I)return!1}return!(typeof y.equals!="function"||typeof I.equals!="function"||!y.equals(I))}function Qr(y,I){if(y===I)return!0;if(!m(I)||y.size!==void 0&&I.size!==void 0&&y.size!==I.size||y.__hash!==void 0&&I.__hash!==void 0&&y.__hash!==I.__hash||g(y)!==g(I)||x(y)!==x(I)||T(y)!==T(I))return!1;if(y.size===0&&I.size===0)return!0;var K=!k(y);if(T(y)){var Z=y.entries();return I.every((function(ut,ot){var vt=Z.next().value;return vt&&Dr(vt[1],ut)&&(K||Dr(vt[0],ot))}))&&Z.next().done}var re=!1;if(y.size===void 0)if(I.size===void 0)typeof y.cacheResult=="function"&&y.cacheResult();else{re=!0;var Se=y;y=I,I=Se}var Oe=!0,Fe=I.__iterate((function(ut,ot){if(K?!y.has(ut):re?!Dr(ut,y.get(ot,Q)):!Dr(y.get(ot,Q),ut))return Oe=!1,!1}));return Oe&&y.size===Fe}function wn(y,I){if(!(this instanceof wn))return new wn(y,I);if(this._value=y,this.size=I===void 0?1/0:Math.max(0,I),this.size===0){if(Rt)return Rt;Rt=this}}function Ka(y,I){if(!y)throw new Error(I)}function Mn(y,I,K){if(!(this instanceof Mn))return new Mn(y,I,K);if(Ka(K!==0,"Cannot step a Range by 0"),y=y||0,I===void 0&&(I=1/0),K=K===void 0?1:Math.abs(K),I<y&&(K=-K),this._start=y,this._end=I,this._step=K,this.size=Math.max(0,Math.ceil((I-y)/K-1)+1),this.size===0){if(pe)return pe;pe=this}}function Tn(){throw TypeError("Abstract")}function sa(){}function Uo(){}function zo(){}wt.prototype[z]=!0,s(W,Jt),W.prototype.get=function(y,I){return this.has(y)?this._array[Be(this,y)]:I},W.prototype.__iterate=function(y,I){for(var K=this._array,Z=K.length-1,re=0;re<=Z;re++)if(y(K[I?Z-re:re],re,this)===!1)return re+1;return re},W.prototype.__iterator=function(y,I){var K=this._array,Z=K.length-1,re=0;return new it((function(){return re>Z?Y():St(y,re,K[I?Z-re++:re++])}))},s(ee,Nt),ee.prototype.get=function(y,I){return I===void 0||this.has(y)?this._object[y]:I},ee.prototype.has=function(y){return this._object.hasOwnProperty(y)},ee.prototype.__iterate=function(y,I){for(var K=this._object,Z=this._keys,re=Z.length-1,Se=0;Se<=re;Se++){var Oe=Z[I?re-Se:Se];if(y(K[Oe],Oe,this)===!1)return Se+1}return Se},ee.prototype.__iterator=function(y,I){var K=this._object,Z=this._keys,re=Z.length-1,Se=0;return new it((function(){var Oe=Z[I?re-Se:Se];return Se++>re?Y():St(y,Oe,K[Oe])}))},ee.prototype[U]=!0,s(de,Jt),de.prototype.__iterateUncached=function(y,I){if(I)return this.cacheResult().__iterate(y,I);var K=at(this._iterable),Z=0;if(nt(K))for(var re;!(re=K.next()).done&&y(re.value,Z++,this)!==!1;);return Z},de.prototype.__iteratorUncached=function(y,I){if(I)return this.cacheResult().__iterator(y,I);var K=at(this._iterable);if(!nt(K))return new it(Y);var Z=0;return new it((function(){var re=K.next();return re.done?re:St(y,Z++,re.value)}))},s(we,Jt),we.prototype.__iterateUncached=function(y,I){if(I)return this.cacheResult().__iterate(y,I);for(var K,Z=this._iterator,re=this._iteratorCache,Se=0;Se<re.length;)if(y(re[Se],Se++,this)===!1)return Se;for(;!(K=Z.next()).done;){var Oe=K.value;if(re[Se]=Oe,y(Oe,Se++,this)===!1)break}return Se},we.prototype.__iteratorUncached=function(y,I){if(I)return this.cacheResult().__iterator(y,I);var K=this._iterator,Z=this._iteratorCache,re=0;return new it((function(){if(re>=Z.length){var Se=K.next();if(Se.done)return Se;Z[re]=Se.value}return St(y,re,Z[re++])}))},s(wn,Jt),wn.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},wn.prototype.get=function(y,I){return this.has(y)?this._value:I},wn.prototype.includes=function(y){return Dr(this._value,y)},wn.prototype.slice=function(y,I){var K=this.size;return Ke(y,I,K)?this:new wn(this._value,Me(I,K)-st(y,K))},wn.prototype.reverse=function(){return this},wn.prototype.indexOf=function(y){return Dr(this._value,y)?0:-1},wn.prototype.lastIndexOf=function(y){return Dr(this._value,y)?this.size:-1},wn.prototype.__iterate=function(y,I){for(var K=0;K<this.size;K++)if(y(this._value,K,this)===!1)return K+1;return K},wn.prototype.__iterator=function(y,I){var K=this,Z=0;return new it((function(){return Z<K.size?St(y,Z++,K._value):Y()}))},wn.prototype.equals=function(y){return y instanceof wn?Dr(this._value,y._value):Qr(y)},s(Mn,Jt),Mn.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},Mn.prototype.get=function(y,I){return this.has(y)?this._start+Be(this,y)*this._step:I},Mn.prototype.includes=function(y){var I=(y-this._start)/this._step;return I>=0&&I<this.size&&I===Math.floor(I)},Mn.prototype.slice=function(y,I){return Ke(y,I,this.size)?this:(y=st(y,this.size),(I=Me(I,this.size))<=y?new Mn(0,0):new Mn(this.get(y,this._end),this.get(I,this._end),this._step))},Mn.prototype.indexOf=function(y){var I=y-this._start;if(I%this._step==0){var K=I/this._step;if(K>=0&&K<this.size)return K}return-1},Mn.prototype.lastIndexOf=function(y){return this.indexOf(y)},Mn.prototype.__iterate=function(y,I){for(var K=this.size-1,Z=this._step,re=I?this._start+K*Z:this._start,Se=0;Se<=K;Se++){if(y(re,Se,this)===!1)return Se+1;re+=I?-Z:Z}return Se},Mn.prototype.__iterator=function(y,I){var K=this.size-1,Z=this._step,re=I?this._start+K*Z:this._start,Se=0;return new it((function(){var Oe=re;return re+=I?-Z:Z,Se>K?Y():St(y,Se++,Oe)}))},Mn.prototype.equals=function(y){return y instanceof Mn?this._start===y._start&&this._end===y._end&&this._step===y._step:Qr(this,y)},s(Tn,h),s(sa,Tn),s(Uo,Tn),s(zo,Tn),Tn.Keyed=sa,Tn.Indexed=Uo,Tn.Set=zo;var Ht=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(I,K){var Z=65535&(I|=0),re=65535&(K|=0);return Z*re+((I>>>16)*re+Z*(K>>>16)<<16>>>0)|0};function er(y){return y>>>1&1073741824|3221225471&y}function vr(y){if(y===!1||y==null||typeof y.valueOf=="function"&&((y=y.valueOf())===!1||y==null))return 0;if(y===!0)return 1;var I=typeof y;if(I==="number"){if(y!=y||y===1/0)return 0;var K=0|y;for(K!==y&&(K^=4294967295*y);y>4294967295;)K^=y/=4294967295;return er(K)}if(I==="string")return y.length>_i?Tr(y):kr(y);if(typeof y.hashCode=="function")return y.hashCode();if(I==="object")return Rn(y);if(typeof y.toString=="function")return kr(y.toString());throw new Error("Value type "+I+" cannot be hashed.")}function Tr(y){var I=_r[y];return I===void 0&&(I=kr(y),La===Ga&&(La=0,_r={}),La++,_r[y]=I),I}function kr(y){for(var I=0,K=0;K<y.length;K++)I=31*I+y.charCodeAt(K)|0;return er(I)}function Rn(y){var I;if(Yn&&(I=rn.get(y))!==void 0||(I=y[Ta])!==void 0||!Vr&&((I=y.propertyIsEnumerable&&y.propertyIsEnumerable[Ta])!==void 0||(I=En(y))!==void 0))return I;if(I=++ra,1073741824&ra&&(ra=0),Yn)rn.set(y,I);else{if(Zr!==void 0&&Zr(y)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(Vr)Object.defineProperty(y,Ta,{enumerable:!1,configurable:!1,writable:!1,value:I});else if(y.propertyIsEnumerable!==void 0&&y.propertyIsEnumerable===y.constructor.prototype.propertyIsEnumerable)y.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},y.propertyIsEnumerable[Ta]=I;else{if(y.nodeType===void 0)throw new Error("Unable to set a non-enumerable property on object.");y[Ta]=I}}return I}var Zr=Object.isExtensible,Vr=(function(){try{return Object.defineProperty({},"@",{}),!0}catch(y){return!1}})();function En(y){if(y&&y.nodeType>0)switch(y.nodeType){case 1:return y.uniqueID;case 9:return y.documentElement&&y.documentElement.uniqueID}}var rn,Yn=typeof WeakMap=="function";Yn&&(rn=new WeakMap);var ra=0,Ta="__immutablehash__";typeof Symbol=="function"&&(Ta=Symbol(Ta));var _i=16,Ga=255,La=0,_r={};function na(y){Ka(y!==1/0,"Cannot perform this action with an infinite size.")}function sr(y){return y==null?Vn():mn(y)&&!T(y)?y:Vn().withMutations((function(I){var K=b(y);na(K.size),K.forEach((function(Z,re){return I.set(re,Z)}))}))}function mn(y){return!(!y||!y[Vo])}s(sr,sa),sr.of=function(){var y=C.call(arguments,0);return Vn().withMutations((function(I){for(var K=0;K<y.length;K+=2){if(K+1>=y.length)throw new Error("Missing value for key: "+y[K]);I.set(y[K],y[K+1])}}))},sr.prototype.toString=function(){return this.__toString("Map {","}")},sr.prototype.get=function(y,I){return this._root?this._root.get(0,void 0,y,I):I},sr.prototype.set=function(y,I){return Ba(this,y,I)},sr.prototype.setIn=function(y,I){return this.updateIn(y,Q,(function(){return I}))},sr.prototype.remove=function(y){return Ba(this,y,Q)},sr.prototype.deleteIn=function(y){return this.updateIn(y,(function(){return Q}))},sr.prototype.update=function(y,I,K){return arguments.length===1?y(this):this.updateIn([y],I,K)},sr.prototype.updateIn=function(y,I,K){K||(K=I,I=void 0);var Z=Oi(this,Ea(y),I,K);return Z===Q?void 0:Z},sr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Vn()},sr.prototype.merge=function(){return ki(this,void 0,arguments)},sr.prototype.mergeWith=function(y){return ki(this,y,C.call(arguments,1))},sr.prototype.mergeIn=function(y){var I=C.call(arguments,1);return this.updateIn(y,Vn(),(function(K){return typeof K.merge=="function"?K.merge.apply(K,I):I[I.length-1]}))},sr.prototype.mergeDeep=function(){return ki(this,tc,arguments)},sr.prototype.mergeDeepWith=function(y){var I=C.call(arguments,1);return ki(this,Yi(y),I)},sr.prototype.mergeDeepIn=function(y){var I=C.call(arguments,1);return this.updateIn(y,Vn(),(function(K){return typeof K.mergeDeep=="function"?K.mergeDeep.apply(K,I):I[I.length-1]}))},sr.prototype.sort=function(y){return yn($s(this,y))},sr.prototype.sortBy=function(y,I){return yn($s(this,I,y))},sr.prototype.withMutations=function(y){var I=this.asMutable();return y(I),I.wasAltered()?I.__ensureOwner(this.__ownerID):this},sr.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new ge)},sr.prototype.asImmutable=function(){return this.__ensureOwner()},sr.prototype.wasAltered=function(){return this.__altered},sr.prototype.__iterator=function(y,I){return new zn(this,y,I)},sr.prototype.__iterate=function(y,I){var K=this,Z=0;return this._root&&this._root.iterate((function(re){return Z++,y(re[1],re[0],K)}),I),Z},sr.prototype.__ensureOwner=function(y){return y===this.__ownerID?this:y?mo(this.size,this._root,y,this.__hash):(this.__ownerID=y,this.__altered=!1,this)},sr.isMap=mn;var ko,Vo="@@__IMMUTABLE_MAP__@@",Or=sr.prototype;function Ya(y,I){this.ownerID=y,this.entries=I}function Dt(y,I,K){this.ownerID=y,this.bitmap=I,this.nodes=K}function ar(y,I,K){this.ownerID=y,this.count=I,this.nodes=K}function Zt(y,I,K){this.ownerID=y,this.keyHash=I,this.entries=K}function br(y,I,K){this.ownerID=y,this.keyHash=I,this.entry=K}function zn(y,I,K){this._type=I,this._reverse=K,this._stack=y._root&&fo(y._root)}function Gr(y,I){return St(y,I[0],I[1])}function fo(y,I){return{node:y,index:0,__prev:I}}function mo(y,I,K,Z){var re=Object.create(Or);return re.size=y,re._root=I,re.__ownerID=K,re.__hash=Z,re.__altered=!1,re}function Vn(){return ko||(ko=mo(0))}function Ba(y,I,K){var Z,re;if(y._root){var Se=Ce(ne),Oe=Ce(ae);if(Z=ec(y._root,y.__ownerID,0,void 0,I,K,Se,Oe),!Oe.value)return y;re=y.size+(Se.value?K===Q?-1:1:0)}else{if(K===Q)return y;re=1,Z=new Ya(y.__ownerID,[[I,K]])}return y.__ownerID?(y.size=re,y._root=Z,y.__hash=void 0,y.__altered=!0,y):Z?mo(re,Z):Vn()}function ec(y,I,K,Z,re,Se,Oe,Fe){return y?y.update(I,K,Z,re,Se,Oe,Fe):Se===Q?y:(he(Fe),he(Oe),new br(I,Z,[re,Se]))}function Sp(y){return y.constructor===br||y.constructor===Zt}function Ns(y,I,K,Z,re){if(y.keyHash===Z)return new Zt(I,Z,[y.entry,re]);var Se,Oe=(K===0?y.keyHash:y.keyHash>>>K)&H,Fe=(K===0?Z:Z>>>K)&H;return new Dt(I,1<<Oe|1<<Fe,Oe===Fe?[Ns(y,I,K+V,Z,re)]:(Se=new br(I,Z,re),Oe<Fe?[y,Se]:[Se,y]))}function hl(y,I,K,Z){y||(y=new ge);for(var re=new br(y,vr(K),[K,Z]),Se=0;Se<I.length;Se++){var Oe=I[Se];re=re.update(y,0,void 0,Oe[0],Oe[1])}return re}function Gi(y,I,K,Z){for(var re=0,Se=0,Oe=new Array(K),Fe=0,ut=1,ot=I.length;Fe<ot;Fe++,ut<<=1){var vt=I[Fe];vt!==void 0&&Fe!==Z&&(re|=ut,Oe[Se++]=vt)}return new Dt(y,re,Oe)}function dl(y,I,K,Z,re){for(var Se=0,Oe=new Array(B),Fe=0;K!==0;Fe++,K>>>=1)Oe[Fe]=1&K?I[Se++]:void 0;return Oe[Z]=re,new ar(y,Se+1,Oe)}function ki(y,I,K){for(var Z=[],re=0;re<K.length;re++){var Se=K[re],Oe=b(Se);m(Se)||(Oe=Oe.map((function(Fe){return hn(Fe)}))),Z.push(Oe)}return Is(y,I,Z)}function tc(y,I,K){return y&&y.mergeDeep&&m(I)?y.mergeDeep(I):Dr(y,I)?y:I}function Yi(y){return function(I,K,Z){if(I&&I.mergeDeepWith&&m(K))return I.mergeDeepWith(y,K);var re=y(I,K,Z);return Dr(I,re)?I:re}}function Is(y,I,K){return(K=K.filter((function(Z){return Z.size!==0}))).length===0?y:y.size!==0||y.__ownerID||K.length!==1?y.withMutations((function(Z){for(var re=I?function(Oe,Fe){Z.update(Fe,Q,(function(ut){return ut===Q?Oe:I(ut,Oe,Fe)}))}:function(Oe,Fe){Z.set(Fe,Oe)},Se=0;Se<K.length;Se++)K[Se].forEach(re)})):y.constructor(K[0])}function Oi(y,I,K,Z){var re=y===Q,Se=I.next();if(Se.done){var Oe=re?K:y,Fe=Z(Oe);return Fe===Oe?y:Fe}Ka(re||y&&y.set,"invalid keyPath");var ut=Se.value,ot=re?Q:y.get(ut,Q),vt=Oi(ot,I,K,Z);return vt===ot?y:vt===Q?y.remove(ut):(re?Vn():y).set(ut,vt)}function Ms(y){return y=(y=(858993459&(y-=y>>1&1431655765))+(y>>2&858993459))+(y>>4)&252645135,y+=y>>8,127&(y+=y>>16)}function Jr(y,I,K,Z){var re=Z?y:ke(y);return re[I]=K,re}function rc(y,I,K,Z){var re=y.length+1;if(Z&&I+1===re)return y[I]=K,y;for(var Se=new Array(re),Oe=0,Fe=0;Fe<re;Fe++)Fe===I?(Se[Fe]=K,Oe=-1):Se[Fe]=y[Fe+Oe];return Se}function nc(y,I,K){var Z=y.length-1;if(K&&I===Z)return y.pop(),y;for(var re=new Array(Z),Se=0,Oe=0;Oe<Z;Oe++)Oe===I&&(Se=1),re[Oe]=y[Oe+Se];return re}Or[Vo]=!0,Or[J]=Or.remove,Or.removeIn=Or.deleteIn,Ya.prototype.get=function(y,I,K,Z){for(var re=this.entries,Se=0,Oe=re.length;Se<Oe;Se++)if(Dr(K,re[Se][0]))return re[Se][1];return Z},Ya.prototype.update=function(y,I,K,Z,re,Se,Oe){for(var Fe=re===Q,ut=this.entries,ot=0,vt=ut.length;ot<vt&&!Dr(Z,ut[ot][0]);ot++);var Bt=ot<vt;if(Bt?ut[ot][1]===re:Fe)return this;if(he(Oe),(Fe||!Bt)&&he(Se),!Fe||ut.length!==1){if(!Bt&&!Fe&&ut.length>=au)return hl(y,ut,Z,re);var zt=y&&y===this.ownerID,fr=zt?ut:ke(ut);return Bt?Fe?ot===vt-1?fr.pop():fr[ot]=fr.pop():fr[ot]=[Z,re]:fr.push([Z,re]),zt?(this.entries=fr,this):new Ya(y,fr)}},Dt.prototype.get=function(y,I,K,Z){I===void 0&&(I=vr(K));var re=1<<((y===0?I:I>>>y)&H),Se=this.bitmap;return Se&re?this.nodes[Ms(Se&re-1)].get(y+V,I,K,Z):Z},Dt.prototype.update=function(y,I,K,Z,re,Se,Oe){K===void 0&&(K=vr(Z));var Fe=(I===0?K:K>>>I)&H,ut=1<<Fe,ot=this.bitmap,vt=!!(ot&ut);if(!vt&&re===Q)return this;var Bt=Ms(ot&ut-1),zt=this.nodes,fr=vt?zt[Bt]:void 0,Er=ec(fr,y,I+V,K,Z,re,Se,Oe);if(Er===fr)return this;if(!vt&&Er&&zt.length>=xp)return dl(y,zt,ot,Fe,Er);if(vt&&!Er&&zt.length===2&&Sp(zt[1^Bt]))return zt[1^Bt];if(vt&&Er&&zt.length===1&&Sp(Er))return Er;var vn=y&&y===this.ownerID,Qa=vt?Er?ot:ot^ut:ot|ut,Kt=vt?Er?Jr(zt,Bt,Er,vn):nc(zt,Bt,vn):rc(zt,Bt,Er,vn);return vn?(this.bitmap=Qa,this.nodes=Kt,this):new Dt(y,Qa,Kt)},ar.prototype.get=function(y,I,K,Z){I===void 0&&(I=vr(K));var re=(y===0?I:I>>>y)&H,Se=this.nodes[re];return Se?Se.get(y+V,I,K,Z):Z},ar.prototype.update=function(y,I,K,Z,re,Se,Oe){K===void 0&&(K=vr(Z));var Fe=(I===0?K:K>>>I)&H,ut=re===Q,ot=this.nodes,vt=ot[Fe];if(ut&&!vt)return this;var Bt=ec(vt,y,I+V,K,Z,re,Se,Oe);if(Bt===vt)return this;var zt=this.count;if(vt){if(!Bt&&--zt<_p)return Gi(y,ot,zt,Fe)}else zt++;var fr=y&&y===this.ownerID,Er=Jr(ot,Fe,Bt,fr);return fr?(this.count=zt,this.nodes=Er,this):new ar(y,zt,Er)},Zt.prototype.get=function(y,I,K,Z){for(var re=this.entries,Se=0,Oe=re.length;Se<Oe;Se++)if(Dr(K,re[Se][0]))return re[Se][1];return Z},Zt.prototype.update=function(y,I,K,Z,re,Se,Oe){K===void 0&&(K=vr(Z));var Fe=re===Q;if(K!==this.keyHash)return Fe?this:(he(Oe),he(Se),Ns(this,y,I,K,[Z,re]));for(var ut=this.entries,ot=0,vt=ut.length;ot<vt&&!Dr(Z,ut[ot][0]);ot++);var Bt=ot<vt;if(Bt?ut[ot][1]===re:Fe)return this;if(he(Oe),(Fe||!Bt)&&he(Se),Fe&&vt===2)return new br(y,this.keyHash,ut[1^ot]);var zt=y&&y===this.ownerID,fr=zt?ut:ke(ut);return Bt?Fe?ot===vt-1?fr.pop():fr[ot]=fr.pop():fr[ot]=[Z,re]:fr.push([Z,re]),zt?(this.entries=fr,this):new Zt(y,this.keyHash,fr)},br.prototype.get=function(y,I,K,Z){return Dr(K,this.entry[0])?this.entry[1]:Z},br.prototype.update=function(y,I,K,Z,re,Se,Oe){var Fe=re===Q,ut=Dr(Z,this.entry[0]);return(ut?re===this.entry[1]:Fe)?this:(he(Oe),Fe?void he(Se):ut?y&&y===this.ownerID?(this.entry[1]=re,this):new br(y,this.keyHash,[Z,re]):(he(Se),Ns(this,y,I,vr(Z),[Z,re])))},Ya.prototype.iterate=Zt.prototype.iterate=function(y,I){for(var K=this.entries,Z=0,re=K.length-1;Z<=re;Z++)if(y(K[I?re-Z:Z])===!1)return!1},Dt.prototype.iterate=ar.prototype.iterate=function(y,I){for(var K=this.nodes,Z=0,re=K.length-1;Z<=re;Z++){var Se=K[I?re-Z:Z];if(Se&&Se.iterate(y,I)===!1)return!1}},br.prototype.iterate=function(y,I){return y(this.entry)},s(zn,it),zn.prototype.next=function(){for(var y=this._type,I=this._stack;I;){var K,Z=I.node,re=I.index++;if(Z.entry){if(re===0)return Gr(y,Z.entry)}else if(Z.entries){if(re<=(K=Z.entries.length-1))return Gr(y,Z.entries[this._reverse?K-re:re])}else if(re<=(K=Z.nodes.length-1)){var Se=Z.nodes[this._reverse?K-re:re];if(Se){if(Se.entry)return Gr(y,Se.entry);I=this._stack=fo(Se,I)}continue}I=this._stack=this._stack.__prev}return Y()};var au=B/4,xp=B/2,_p=B/4;function gn(y){var I=oc();if(y==null)return I;if(ac(y))return y;var K=f(y),Z=K.size;return Z===0?I:(na(Z),Z>0&&Z<B?ml(0,Z,V,null,new Na(K.toArray())):I.withMutations((function(re){re.setSize(Z),K.forEach((function(Se,Oe){return re.set(Oe,Se)}))})))}function ac(y){return!(!y||!y[fl])}s(gn,Uo),gn.of=function(){return this(arguments)},gn.prototype.toString=function(){return this.__toString("List [","]")},gn.prototype.get=function(y,I){if((y=Be(this,y))>=0&&y<this.size){var K=ou(this,y+=this._origin);return K&&K.array[y&H]}return I},gn.prototype.set=function(y,I){return gl(this,y,I)},gn.prototype.remove=function(y){return this.has(y)?y===0?this.shift():y===this.size-1?this.pop():this.splice(y,1):this},gn.prototype.insert=function(y,I){return this.splice(y,0,I)},gn.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=V,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):oc()},gn.prototype.push=function(){var y=arguments,I=this.size;return this.withMutations((function(K){Ai(K,0,I+y.length);for(var Z=0;Z<y.length;Z++)K.set(I+Z,y[Z])}))},gn.prototype.pop=function(){return Ai(this,0,-1)},gn.prototype.unshift=function(){var y=arguments;return this.withMutations((function(I){Ai(I,-y.length);for(var K=0;K<y.length;K++)I.set(K,y[K])}))},gn.prototype.shift=function(){return Ai(this,1)},gn.prototype.merge=function(){return si(this,void 0,arguments)},gn.prototype.mergeWith=function(y){return si(this,y,C.call(arguments,1))},gn.prototype.mergeDeep=function(){return si(this,tc,arguments)},gn.prototype.mergeDeepWith=function(y){var I=C.call(arguments,1);return si(this,Yi(y),I)},gn.prototype.setSize=function(y){return Ai(this,0,y)},gn.prototype.slice=function(y,I){var K=this.size;return Ke(y,I,K)?this:Ai(this,st(y,K),Me(I,K))},gn.prototype.__iterator=function(y,I){var K=0,Z=oi(this,I);return new it((function(){var re=Z();return re===ai?Y():St(y,K++,re)}))},gn.prototype.__iterate=function(y,I){for(var K,Z=0,re=oi(this,I);(K=re())!==ai&&y(K,Z++,this)!==!1;);return Z},gn.prototype.__ensureOwner=function(y){return y===this.__ownerID?this:y?ml(this._origin,this._capacity,this._level,this._root,this._tail,y,this.__hash):(this.__ownerID=y,this)},gn.isList=ac;var fl="@@__IMMUTABLE_LIST__@@",Dn=gn.prototype;function Na(y,I){this.array=y,this.ownerID=I}Dn[fl]=!0,Dn[J]=Dn.remove,Dn.setIn=Or.setIn,Dn.deleteIn=Dn.removeIn=Or.removeIn,Dn.update=Or.update,Dn.updateIn=Or.updateIn,Dn.mergeIn=Or.mergeIn,Dn.mergeDeepIn=Or.mergeDeepIn,Dn.withMutations=Or.withMutations,Dn.asMutable=Or.asMutable,Dn.asImmutable=Or.asImmutable,Dn.wasAltered=Or.wasAltered,Na.prototype.removeBefore=function(y,I,K){if(K===I?1<<I:this.array.length===0)return this;var Z=K>>>I&H;if(Z>=this.array.length)return new Na([],y);var re,Se=Z===0;if(I>0){var Oe=this.array[Z];if((re=Oe&&Oe.removeBefore(y,I-V,K))===Oe&&Se)return this}if(Se&&!re)return this;var Fe=ii(this,y);if(!Se)for(var ut=0;ut<Z;ut++)Fe.array[ut]=void 0;return re&&(Fe.array[Z]=re),Fe},Na.prototype.removeAfter=function(y,I,K){if(K===(I?1<<I:0)||this.array.length===0)return this;var Z,re=K-1>>>I&H;if(re>=this.array.length)return this;if(I>0){var Se=this.array[re];if((Z=Se&&Se.removeAfter(y,I-V,K))===Se&&re===this.array.length-1)return this}var Oe=ii(this,y);return Oe.array.splice(re+1),Z&&(Oe.array[re]=Z),Oe};var ni,Rs,ai={};function oi(y,I){var K=y._origin,Z=y._capacity,re=li(Z),Se=y._tail;return Oe(y._root,y._level,0);function Oe(ot,vt,Bt){return vt===0?Fe(ot,Bt):ut(ot,vt,Bt)}function Fe(ot,vt){var Bt=vt===re?Se&&Se.array:ot&&ot.array,zt=vt>K?0:K-vt,fr=Z-vt;return fr>B&&(fr=B),function(){if(zt===fr)return ai;var Er=I?--fr:zt++;return Bt&&Bt[Er]}}function ut(ot,vt,Bt){var zt,fr=ot&&ot.array,Er=Bt>K?0:K-Bt>>vt,vn=1+(Z-Bt>>vt);return vn>B&&(vn=B),function(){for(;;){if(zt){var Qa=zt();if(Qa!==ai)return Qa;zt=null}if(Er===vn)return ai;var Kt=I?--vn:Er++;zt=Oe(fr&&fr[Kt],vt-V,Bt+(Kt<<vt))}}}}function ml(y,I,K,Z,re,Se,Oe){var Fe=Object.create(Dn);return Fe.size=I-y,Fe._origin=y,Fe._capacity=I,Fe._level=K,Fe._root=Z,Fe._tail=re,Fe.__ownerID=Se,Fe.__hash=Oe,Fe.__altered=!1,Fe}function oc(){return ni||(ni=ml(0,0,V))}function gl(y,I,K){if((I=Be(y,I))!=I)return y;if(I>=y.size||I<0)return y.withMutations((function(Oe){I<0?Ai(Oe,I).set(0,K):Ai(Oe,0,I+1).set(I,K)}));I+=y._origin;var Z=y._tail,re=y._root,Se=Ce(ae);return I>=li(y._capacity)?Z=ic(Z,y.__ownerID,0,I,K,Se):re=ic(re,y.__ownerID,y._level,I,K,Se),Se.value?y.__ownerID?(y._root=re,y._tail=Z,y.__hash=void 0,y.__altered=!0,y):ml(y._origin,y._capacity,y._level,re,Z):y}function ic(y,I,K,Z,re,Se){var Oe,Fe=Z>>>K&H,ut=y&&Fe<y.array.length;if(!ut&&re===void 0)return y;if(K>0){var ot=y&&y.array[Fe],vt=ic(ot,I,K-V,Z,re,Se);return vt===ot?y:((Oe=ii(y,I)).array[Fe]=vt,Oe)}return ut&&y.array[Fe]===re?y:(he(Se),Oe=ii(y,I),re===void 0&&Fe===Oe.array.length-1?Oe.array.pop():Oe.array[Fe]=re,Oe)}function ii(y,I){return I&&y&&I===y.ownerID?y:new Na(y?y.array.slice():[],I)}function ou(y,I){if(I>=li(y._capacity))return y._tail;if(I<1<<y._level+V){for(var K=y._root,Z=y._level;K&&Z>0;)K=K.array[I>>>Z&H],Z-=V;return K}}function Ai(y,I,K){I!==void 0&&(I|=0),K!==void 0&&(K|=0);var Z=y.__ownerID||new ge,re=y._origin,Se=y._capacity,Oe=re+I,Fe=K===void 0?Se:K<0?Se+K:re+K;if(Oe===re&&Fe===Se)return y;if(Oe>=Fe)return y.clear();for(var ut=y._level,ot=y._root,vt=0;Oe+vt<0;)ot=new Na(ot&&ot.array.length?[void 0,ot]:[],Z),vt+=1<<(ut+=V);vt&&(Oe+=vt,re+=vt,Fe+=vt,Se+=vt);for(var Bt=li(Se),zt=li(Fe);zt>=1<<ut+V;)ot=new Na(ot&&ot.array.length?[ot]:[],Z),ut+=V;var fr=y._tail,Er=zt<Bt?ou(y,Fe-1):zt>Bt?new Na([],Z):fr;if(fr&&zt>Bt&&Oe<Se&&fr.array.length){for(var vn=ot=ii(ot,Z),Qa=ut;Qa>V;Qa-=V){var Kt=Bt>>>Qa&H;vn=vn.array[Kt]=ii(vn.array[Kt],Z)}vn.array[Bt>>>V&H]=fr}if(Fe<Se&&(Er=Er&&Er.removeAfter(Z,0,Fe)),Oe>=zt)Oe-=zt,Fe-=zt,ut=V,ot=null,Er=Er&&Er.removeBefore(Z,0,Oe);else if(Oe>re||zt<Bt){for(vt=0;ot;){var Ti=Oe>>>ut&H;if(Ti!==zt>>>ut&H)break;Ti&&(vt+=(1<<ut)*Ti),ut-=V,ot=ot.array[Ti]}ot&&Oe>re&&(ot=ot.removeBefore(Z,ut,Oe-vt)),ot&&zt<Bt&&(ot=ot.removeAfter(Z,ut,zt-vt)),vt&&(Oe-=vt,Fe-=vt)}return y.__ownerID?(y.size=Fe-Oe,y._origin=Oe,y._capacity=Fe,y._level=ut,y._root=ot,y._tail=Er,y.__hash=void 0,y.__altered=!0,y):ml(Oe,Fe,ut,ot,Er)}function si(y,I,K){for(var Z=[],re=0,Se=0;Se<K.length;Se++){var Oe=K[Se],Fe=f(Oe);Fe.size>re&&(re=Fe.size),m(Oe)||(Fe=Fe.map((function(ut){return hn(ut)}))),Z.push(Fe)}return re>y.size&&(y=y.setSize(re)),Is(y,I,Z)}function li(y){return y<B?0:y-1>>>V<<V}function yn(y){return y==null?lr():Ds(y)?y:lr().withMutations((function(I){var K=b(y);na(K.size),K.forEach((function(Z,re){return I.set(re,Z)}))}))}function Ds(y){return mn(y)&&T(y)}function iu(y,I,K,Z){var re=Object.create(yn.prototype);return re.size=y?y.size:0,re._map=y,re._list=I,re.__ownerID=K,re.__hash=Z,re}function lr(){return Rs||(Rs=iu(Vn(),oc()))}function sc(y,I,K){var Z,re,Se=y._map,Oe=y._list,Fe=Se.get(I),ut=Fe!==void 0;if(K===Q){if(!ut)return y;Oe.size>=B&&Oe.size>=2*Se.size?(Z=(re=Oe.filter((function(ot,vt){return ot!==void 0&&Fe!==vt}))).toKeyedSeq().map((function(ot){return ot[0]})).flip().toMap(),y.__ownerID&&(Z.__ownerID=re.__ownerID=y.__ownerID)):(Z=Se.remove(I),re=Fe===Oe.size-1?Oe.pop():Oe.set(Fe,void 0))}else if(ut){if(K===Oe.get(Fe)[1])return y;Z=Se,re=Oe.set(Fe,[I,K])}else Z=Se.set(I,Oe.size),re=Oe.set(Oe.size,[I,K]);return y.__ownerID?(y.size=Z.size,y._map=Z,y._list=re,y.__hash=void 0,y):iu(Z,re)}function la(y,I){this._iter=y,this._useKeys=I,this.size=y.size}function Ci(y){this._iter=y,this.size=y.size}function Xi(y){this._iter=y,this.size=y.size}function go(y){this._iter=y,this.size=y.size}function lc(y){var I=an(y);return I._iter=y,I.size=y.size,I.flip=function(){return y},I.reverse=function(){var K=y.reverse.apply(this);return K.flip=function(){return y.reverse()},K},I.has=function(K){return y.includes(K)},I.includes=function(K){return y.has(K)},I.cacheResult=dc,I.__iterateUncached=function(K,Z){var re=this;return y.__iterate((function(Se,Oe){return K(Oe,Se,re)!==!1}),Z)},I.__iteratorUncached=function(K,Z){if(K===xe){var re=y.__iterator(K,Z);return new it((function(){var Se=re.next();if(!Se.done){var Oe=Se.value[0];Se.value[0]=Se.value[1],Se.value[1]=Oe}return Se}))}return y.__iterator(K===ze?et:ze,Z)},I}function yl(y,I,K){var Z=an(y);return Z.size=y.size,Z.has=function(re){return y.has(re)},Z.get=function(re,Se){var Oe=y.get(re,Q);return Oe===Q?Se:I.call(K,Oe,re,y)},Z.__iterateUncached=function(re,Se){var Oe=this;return y.__iterate((function(Fe,ut,ot){return re(I.call(K,Fe,ut,ot),ut,Oe)!==!1}),Se)},Z.__iteratorUncached=function(re,Se){var Oe=y.__iterator(xe,Se);return new it((function(){var Fe=Oe.next();if(Fe.done)return Fe;var ut=Fe.value,ot=ut[0];return St(re,ot,I.call(K,ut[1],ot,y),Fe)}))},Z}function cc(y,I){var K=an(y);return K._iter=y,K.size=y.size,K.reverse=function(){return y},y.flip&&(K.flip=function(){var Z=lc(y);return Z.reverse=function(){return y.flip()},Z}),K.get=function(Z,re){return y.get(I?Z:-1-Z,re)},K.has=function(Z){return y.has(I?Z:-1-Z)},K.includes=function(Z){return y.includes(Z)},K.cacheResult=dc,K.__iterate=function(Z,re){var Se=this;return y.__iterate((function(Oe,Fe){return Z(Oe,Fe,Se)}),!re)},K.__iterator=function(Z,re){return y.__iterator(Z,!re)},K}function vl(y,I,K,Z){var re=an(y);return Z&&(re.has=function(Se){var Oe=y.get(Se,Q);return Oe!==Q&&!!I.call(K,Oe,Se,y)},re.get=function(Se,Oe){var Fe=y.get(Se,Q);return Fe!==Q&&I.call(K,Fe,Se,y)?Fe:Oe}),re.__iterateUncached=function(Se,Oe){var Fe=this,ut=0;return y.__iterate((function(ot,vt,Bt){if(I.call(K,ot,vt,Bt))return ut++,Se(ot,Z?vt:ut-1,Fe)}),Oe),ut},re.__iteratorUncached=function(Se,Oe){var Fe=y.__iterator(xe,Oe),ut=0;return new it((function(){for(;;){var ot=Fe.next();if(ot.done)return ot;var vt=ot.value,Bt=vt[0],zt=vt[1];if(I.call(K,zt,Bt,y))return St(Se,Z?Bt:ut++,zt,ot)}}))},re}function uc(y,I,K){var Z=sr().asMutable();return y.__iterate((function(re,Se){Z.update(I.call(K,re,Se,y),0,(function(Oe){return Oe+1}))})),Z.asImmutable()}function kp(y,I,K){var Z=g(y),re=(T(y)?yn():sr()).asMutable();y.__iterate((function(Oe,Fe){re.update(I.call(K,Oe,Fe,y),(function(ut){return(ut=ut||[]).push(Z?[Fe,Oe]:Oe),ut}))}));var Se=Ap(y);return re.map((function(Oe){return nn(y,Se(Oe))}))}function Ia(y,I,K,Z){var re=y.size;if(I!==void 0&&(I|=0),K!==void 0&&(K===1/0?K=re:K|=0),Ke(I,K,re))return y;var Se=st(I,re),Oe=Me(K,re);if(Se!=Se||Oe!=Oe)return Ia(y.toSeq().cacheResult(),I,K,Z);var Fe,ut=Oe-Se;ut==ut&&(Fe=ut<0?0:ut);var ot=an(y);return ot.size=Fe===0?Fe:y.size&&Fe||void 0,!Z&&Ie(y)&&Fe>=0&&(ot.get=function(vt,Bt){return(vt=Be(this,vt))>=0&&vt<Fe?y.get(vt+Se,Bt):Bt}),ot.__iterateUncached=function(vt,Bt){var zt=this;if(Fe===0)return 0;if(Bt)return this.cacheResult().__iterate(vt,Bt);var fr=0,Er=!0,vn=0;return y.__iterate((function(Qa,Kt){if(!Er||!(Er=fr++<Se))return vn++,vt(Qa,Z?Kt:vn-1,zt)!==!1&&vn!==Fe})),vn},ot.__iteratorUncached=function(vt,Bt){if(Fe!==0&&Bt)return this.cacheResult().__iterator(vt,Bt);var zt=Fe!==0&&y.__iterator(vt,Bt),fr=0,Er=0;return new it((function(){for(;fr++<Se;)zt.next();if(++Er>Fe)return Y();var vn=zt.next();return Z||vt===ze?vn:St(vt,Er-1,vt===et?void 0:vn.value[1],vn)}))},ot}function su(y,I,K){var Z=an(y);return Z.__iterateUncached=function(re,Se){var Oe=this;if(Se)return this.cacheResult().__iterate(re,Se);var Fe=0;return y.__iterate((function(ut,ot,vt){return I.call(K,ut,ot,vt)&&++Fe&&re(ut,ot,Oe)})),Fe},Z.__iteratorUncached=function(re,Se){var Oe=this;if(Se)return this.cacheResult().__iterator(re,Se);var Fe=y.__iterator(xe,Se),ut=!0;return new it((function(){if(!ut)return Y();var ot=Fe.next();if(ot.done)return ot;var vt=ot.value,Bt=vt[0],zt=vt[1];return I.call(K,zt,Bt,Oe)?re===xe?ot:St(re,Bt,zt,ot):(ut=!1,Y())}))},Z}function pc(y,I,K,Z){var re=an(y);return re.__iterateUncached=function(Se,Oe){var Fe=this;if(Oe)return this.cacheResult().__iterate(Se,Oe);var ut=!0,ot=0;return y.__iterate((function(vt,Bt,zt){if(!ut||!(ut=I.call(K,vt,Bt,zt)))return ot++,Se(vt,Z?Bt:ot-1,Fe)})),ot},re.__iteratorUncached=function(Se,Oe){var Fe=this;if(Oe)return this.cacheResult().__iterator(Se,Oe);var ut=y.__iterator(xe,Oe),ot=!0,vt=0;return new it((function(){var Bt,zt,fr;do{if((Bt=ut.next()).done)return Z||Se===ze?Bt:St(Se,vt++,Se===et?void 0:Bt.value[1],Bt);var Er=Bt.value;zt=Er[0],fr=Er[1],ot&&(ot=I.call(K,fr,zt,Fe))}while(ot);return Se===xe?Bt:St(Se,zt,fr,Bt)}))},re}function bl(y,I){var K=g(y),Z=[y].concat(I).map((function(Oe){return m(Oe)?K&&(Oe=b(Oe)):Oe=K?At(Oe):lt(Array.isArray(Oe)?Oe:[Oe]),Oe})).filter((function(Oe){return Oe.size!==0}));if(Z.length===0)return y;if(Z.length===1){var re=Z[0];if(re===y||K&&g(re)||x(y)&&x(re))return re}var Se=new W(Z);return K?Se=Se.toKeyedSeq():x(y)||(Se=Se.toSetSeq()),(Se=Se.flatten(!0)).size=Z.reduce((function(Oe,Fe){if(Oe!==void 0){var ut=Fe.size;if(ut!==void 0)return Oe+ut}}),0),Se}function ci(y,I,K){var Z=an(y);return Z.__iterateUncached=function(re,Se){var Oe=0,Fe=!1;function ut(ot,vt){var Bt=this;ot.__iterate((function(zt,fr){return(!I||vt<I)&&m(zt)?ut(zt,vt+1):re(zt,K?fr:Oe++,Bt)===!1&&(Fe=!0),!Fe}),Se)}return ut(y,0),Oe},Z.__iteratorUncached=function(re,Se){var Oe=y.__iterator(re,Se),Fe=[],ut=0;return new it((function(){for(;Oe;){var ot=Oe.next();if(ot.done===!1){var vt=ot.value;if(re===xe&&(vt=vt[1]),I&&!(Fe.length<I)||!m(vt))return K?ot:St(re,ut++,vt,ot);Fe.push(Oe),Oe=vt.__iterator(re,Se)}else Oe=Fe.pop()}return Y()}))},Z}function lu(y,I,K){var Z=Ap(y);return y.toSeq().map((function(re,Se){return Z(I.call(K,re,Se,y))})).flatten(!0)}function Fs(y,I){var K=an(y);return K.size=y.size&&2*y.size-1,K.__iterateUncached=function(Z,re){var Se=this,Oe=0;return y.__iterate((function(Fe,ut){return(!Oe||Z(I,Oe++,Se)!==!1)&&Z(Fe,Oe++,Se)!==!1}),re),Oe},K.__iteratorUncached=function(Z,re){var Se,Oe=y.__iterator(ze,re),Fe=0;return new it((function(){return(!Se||Fe%2)&&(Se=Oe.next()).done?Se:Fe%2?St(Z,Fe++,I):St(Z,Fe++,Se.value,Se)}))},K}function $s(y,I,K){I||(I=Ls);var Z=g(y),re=0,Se=y.toSeq().map((function(Oe,Fe){return[Fe,Oe,re++,K?K(Oe,Fe,y):Oe]})).toArray();return Se.sort((function(Oe,Fe){return I(Oe[3],Fe[3])||Oe[2]-Fe[2]})).forEach(Z?function(Oe,Fe){Se[Fe].length=2}:function(Oe,Fe){Se[Fe]=Oe[1]}),Z?Nt(Se):x(y)?Jt(Se):Et(Se)}function ji(y,I,K){if(I||(I=Ls),K){var Z=y.toSeq().map((function(re,Se){return[re,K(re,Se,y)]})).reduce((function(re,Se){return hc(I,re[1],Se[1])?Se:re}));return Z&&Z[0]}return y.reduce((function(re,Se){return hc(I,re,Se)?Se:re}))}function hc(y,I,K){var Z=y(K,I);return Z===0&&K!==I&&(K==null||K!=K)||Z>0}function cu(y,I,K){var Z=an(y);return Z.size=new W(K).map((function(re){return re.size})).min(),Z.__iterate=function(re,Se){for(var Oe,Fe=this.__iterator(ze,Se),ut=0;!(Oe=Fe.next()).done&&re(Oe.value,ut++,this)!==!1;);return ut},Z.__iteratorUncached=function(re,Se){var Oe=K.map((function(ot){return ot=h(ot),at(Se?ot.reverse():ot)})),Fe=0,ut=!1;return new it((function(){var ot;return ut||(ot=Oe.map((function(vt){return vt.next()})),ut=ot.some((function(vt){return vt.done}))),ut?Y():St(re,Fe++,I.apply(null,ot.map((function(vt){return vt.value}))))}))},Z}function nn(y,I){return Ie(y)?I:y.constructor(I)}function uu(y){if(y!==Object(y))throw new TypeError("Expected [K, V] tuple: "+y)}function Op(y){return na(y.size),Le(y)}function Ap(y){return g(y)?b:x(y)?f:w}function an(y){return Object.create((g(y)?Nt:x(y)?Jt:Et).prototype)}function dc(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):wt.prototype.cacheResult.call(this)}function Ls(y,I){return y>I?1:y<I?-1:0}function Ea(y){var I=at(y);if(!I){if(!tr(y))throw new TypeError("Expected iterable or array-like: "+y);I=at(h(y))}return I}function Ma(y,I){var K,Z=function(Oe){if(Oe instanceof Z)return Oe;if(!(this instanceof Z))return new Z(Oe);if(!K){K=!0;var Fe=Object.keys(y);jp(re,Fe),re.size=Fe.length,re._name=I,re._keys=Fe,re._defaultValues=y}this._map=sr(Oe)},re=Z.prototype=Object.create(Jn);return re.constructor=Z,Z}s(yn,sr),yn.of=function(){return this(arguments)},yn.prototype.toString=function(){return this.__toString("OrderedMap {","}")},yn.prototype.get=function(y,I){var K=this._map.get(y);return K!==void 0?this._list.get(K)[1]:I},yn.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):lr()},yn.prototype.set=function(y,I){return sc(this,y,I)},yn.prototype.remove=function(y){return sc(this,y,Q)},yn.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},yn.prototype.__iterate=function(y,I){var K=this;return this._list.__iterate((function(Z){return Z&&y(Z[1],Z[0],K)}),I)},yn.prototype.__iterator=function(y,I){return this._list.fromEntrySeq().__iterator(y,I)},yn.prototype.__ensureOwner=function(y){if(y===this.__ownerID)return this;var I=this._map.__ensureOwner(y),K=this._list.__ensureOwner(y);return y?iu(I,K,y,this.__hash):(this.__ownerID=y,this._map=I,this._list=K,this)},yn.isOrderedMap=Ds,yn.prototype[U]=!0,yn.prototype[J]=yn.prototype.remove,s(la,Nt),la.prototype.get=function(y,I){return this._iter.get(y,I)},la.prototype.has=function(y){return this._iter.has(y)},la.prototype.valueSeq=function(){return this._iter.valueSeq()},la.prototype.reverse=function(){var y=this,I=cc(this,!0);return this._useKeys||(I.valueSeq=function(){return y._iter.toSeq().reverse()}),I},la.prototype.map=function(y,I){var K=this,Z=yl(this,y,I);return this._useKeys||(Z.valueSeq=function(){return K._iter.toSeq().map(y,I)}),Z},la.prototype.__iterate=function(y,I){var K,Z=this;return this._iter.__iterate(this._useKeys?function(re,Se){return y(re,Se,Z)}:(K=I?Op(this):0,function(re){return y(re,I?--K:K++,Z)}),I)},la.prototype.__iterator=function(y,I){if(this._useKeys)return this._iter.__iterator(y,I);var K=this._iter.__iterator(ze,I),Z=I?Op(this):0;return new it((function(){var re=K.next();return re.done?re:St(y,I?--Z:Z++,re.value,re)}))},la.prototype[U]=!0,s(Ci,Jt),Ci.prototype.includes=function(y){return this._iter.includes(y)},Ci.prototype.__iterate=function(y,I){var K=this,Z=0;return this._iter.__iterate((function(re){return y(re,Z++,K)}),I)},Ci.prototype.__iterator=function(y,I){var K=this._iter.__iterator(ze,I),Z=0;return new it((function(){var re=K.next();return re.done?re:St(y,Z++,re.value,re)}))},s(Xi,Et),Xi.prototype.has=function(y){return this._iter.includes(y)},Xi.prototype.__iterate=function(y,I){var K=this;return this._iter.__iterate((function(Z){return y(Z,Z,K)}),I)},Xi.prototype.__iterator=function(y,I){var K=this._iter.__iterator(ze,I);return new it((function(){var Z=K.next();return Z.done?Z:St(y,Z.value,Z.value,Z)}))},s(go,Nt),go.prototype.entrySeq=function(){return this._iter.toSeq()},go.prototype.__iterate=function(y,I){var K=this;return this._iter.__iterate((function(Z){if(Z){uu(Z);var re=m(Z);return y(re?Z.get(1):Z[1],re?Z.get(0):Z[0],K)}}),I)},go.prototype.__iterator=function(y,I){var K=this._iter.__iterator(ze,I);return new it((function(){for(;;){var Z=K.next();if(Z.done)return Z;var re=Z.value;if(re){uu(re);var Se=m(re);return St(y,Se?re.get(0):re[0],Se?re.get(1):re[1],Z)}}}))},Ci.prototype.cacheResult=la.prototype.cacheResult=Xi.prototype.cacheResult=go.prototype.cacheResult=dc,s(Ma,sa),Ma.prototype.toString=function(){return this.__toString(Cp(this)+" {","}")},Ma.prototype.has=function(y){return this._defaultValues.hasOwnProperty(y)},Ma.prototype.get=function(y,I){if(!this.has(y))return I;var K=this._defaultValues[y];return this._map?this._map.get(y,K):K},Ma.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var y=this.constructor;return y._empty||(y._empty=fc(this,Vn()))},Ma.prototype.set=function(y,I){if(!this.has(y))throw new Error('Cannot set unknown key "'+y+'" on '+Cp(this));if(this._map&&!this._map.has(y)&&I===this._defaultValues[y])return this;var K=this._map&&this._map.set(y,I);return this.__ownerID||K===this._map?this:fc(this,K)},Ma.prototype.remove=function(y){if(!this.has(y))return this;var I=this._map&&this._map.remove(y);return this.__ownerID||I===this._map?this:fc(this,I)},Ma.prototype.wasAltered=function(){return this._map.wasAltered()},Ma.prototype.__iterator=function(y,I){var K=this;return b(this._defaultValues).map((function(Z,re){return K.get(re)})).__iterator(y,I)},Ma.prototype.__iterate=function(y,I){var K=this;return b(this._defaultValues).map((function(Z,re){return K.get(re)})).__iterate(y,I)},Ma.prototype.__ensureOwner=function(y){if(y===this.__ownerID)return this;var I=this._map&&this._map.__ensureOwner(y);return y?fc(this,I,y):(this.__ownerID=y,this._map=I,this)};var Jn=Ma.prototype;function fc(y,I,K){var Z=Object.create(Object.getPrototypeOf(y));return Z._map=I,Z.__ownerID=K,Z}function Cp(y){return y._name||y.constructor.name||"Record"}function jp(y,I){try{I.forEach(ba.bind(void 0,y))}catch(K){}}function ba(y,I){Object.defineProperty(y,I,{get:function(){return this.get(I)},set:function(K){Ka(this.__ownerID,"Cannot set on an immutable record."),this.set(I,K)}})}function Sn(y){return y==null?El():wl(y)&&!T(y)?y:El().withMutations((function(I){var K=w(y);na(K.size),K.forEach((function(Z){return I.add(Z)}))}))}function wl(y){return!(!y||!y[hu])}Jn[J]=Jn.remove,Jn.deleteIn=Jn.removeIn=Or.removeIn,Jn.merge=Or.merge,Jn.mergeWith=Or.mergeWith,Jn.mergeIn=Or.mergeIn,Jn.mergeDeep=Or.mergeDeep,Jn.mergeDeepWith=Or.mergeDeepWith,Jn.mergeDeepIn=Or.mergeDeepIn,Jn.setIn=Or.setIn,Jn.update=Or.update,Jn.updateIn=Or.updateIn,Jn.withMutations=Or.withMutations,Jn.asMutable=Or.asMutable,Jn.asImmutable=Or.asImmutable,s(Sn,zo),Sn.of=function(){return this(arguments)},Sn.fromKeys=function(y){return this(b(y).keySeq())},Sn.prototype.toString=function(){return this.__toString("Set {","}")},Sn.prototype.has=function(y){return this._map.has(y)},Sn.prototype.add=function(y){return Pi(this,this._map.set(y,!0))},Sn.prototype.remove=function(y){return Pi(this,this._map.remove(y))},Sn.prototype.clear=function(){return Pi(this,this._map.clear())},Sn.prototype.union=function(){var y=C.call(arguments,0);return(y=y.filter((function(I){return I.size!==0}))).length===0?this:this.size!==0||this.__ownerID||y.length!==1?this.withMutations((function(I){for(var K=0;K<y.length;K++)w(y[K]).forEach((function(Z){return I.add(Z)}))})):this.constructor(y[0])},Sn.prototype.intersect=function(){var y=C.call(arguments,0);if(y.length===0)return this;y=y.map((function(K){return w(K)}));var I=this;return this.withMutations((function(K){I.forEach((function(Z){y.every((function(re){return re.includes(Z)}))||K.remove(Z)}))}))},Sn.prototype.subtract=function(){var y=C.call(arguments,0);if(y.length===0)return this;y=y.map((function(K){return w(K)}));var I=this;return this.withMutations((function(K){I.forEach((function(Z){y.some((function(re){return re.includes(Z)}))&&K.remove(Z)}))}))},Sn.prototype.merge=function(){return this.union.apply(this,arguments)},Sn.prototype.mergeWith=function(y){var I=C.call(arguments,1);return this.union.apply(this,I)},Sn.prototype.sort=function(y){return yo($s(this,y))},Sn.prototype.sortBy=function(y,I){return yo($s(this,I,y))},Sn.prototype.wasAltered=function(){return this._map.wasAltered()},Sn.prototype.__iterate=function(y,I){var K=this;return this._map.__iterate((function(Z,re){return y(re,re,K)}),I)},Sn.prototype.__iterator=function(y,I){return this._map.map((function(K,Z){return Z})).__iterator(y,I)},Sn.prototype.__ensureOwner=function(y){if(y===this.__ownerID)return this;var I=this._map.__ensureOwner(y);return y?this.__make(I,y):(this.__ownerID=y,this._map=I,this)},Sn.isSet=wl;var pu,hu="@@__IMMUTABLE_SET__@@",Sa=Sn.prototype;function Pi(y,I){return y.__ownerID?(y.size=I.size,y._map=I,y):I===y._map?y:I.size===0?y.__empty():y.__make(I)}function du(y,I){var K=Object.create(Sa);return K.size=y?y.size:0,K._map=y,K.__ownerID=I,K}function El(){return pu||(pu=du(Vn()))}function yo(y){return y==null?gu():fu(y)?y:gu().withMutations((function(I){var K=w(y);na(K.size),K.forEach((function(Z){return I.add(Z)}))}))}function fu(y){return wl(y)&&T(y)}Sa[hu]=!0,Sa[J]=Sa.remove,Sa.mergeDeep=Sa.merge,Sa.mergeDeepWith=Sa.mergeWith,Sa.withMutations=Or.withMutations,Sa.asMutable=Or.asMutable,Sa.asImmutable=Or.asImmutable,Sa.__empty=El,Sa.__make=du,s(yo,Sn),yo.of=function(){return this(arguments)},yo.fromKeys=function(y){return this(b(y).keySeq())},yo.prototype.toString=function(){return this.__toString("OrderedSet {","}")},yo.isOrderedSet=fu;var mu,Bs=yo.prototype;function Qi(y,I){var K=Object.create(Bs);return K.size=y?y.size:0,K._map=y,K.__ownerID=I,K}function gu(){return mu||(mu=Qi(lr()))}function Fn(y){return y==null?gc():mc(y)?y:gc().unshiftAll(y)}function mc(y){return!(!y||!y[Zi])}Bs[U]=!0,Bs.__empty=gu,Bs.__make=Qi,s(Fn,Uo),Fn.of=function(){return this(arguments)},Fn.prototype.toString=function(){return this.__toString("Stack [","]")},Fn.prototype.get=function(y,I){var K=this._head;for(y=Be(this,y);K&&y--;)K=K.next;return K?K.value:I},Fn.prototype.peek=function(){return this._head&&this._head.value},Fn.prototype.push=function(){if(arguments.length===0)return this;for(var y=this.size+arguments.length,I=this._head,K=arguments.length-1;K>=0;K--)I={value:arguments[K],next:I};return this.__ownerID?(this.size=y,this._head=I,this.__hash=void 0,this.__altered=!0,this):ui(y,I)},Fn.prototype.pushAll=function(y){if((y=f(y)).size===0)return this;na(y.size);var I=this.size,K=this._head;return y.reverse().forEach((function(Z){I++,K={value:Z,next:K}})),this.__ownerID?(this.size=I,this._head=K,this.__hash=void 0,this.__altered=!0,this):ui(I,K)},Fn.prototype.pop=function(){return this.slice(1)},Fn.prototype.unshift=function(){return this.push.apply(this,arguments)},Fn.prototype.unshiftAll=function(y){return this.pushAll(y)},Fn.prototype.shift=function(){return this.pop.apply(this,arguments)},Fn.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):gc()},Fn.prototype.slice=function(y,I){if(Ke(y,I,this.size))return this;var K=st(y,this.size);if(Me(I,this.size)!==this.size)return Uo.prototype.slice.call(this,y,I);for(var Z=this.size-K,re=this._head;K--;)re=re.next;return this.__ownerID?(this.size=Z,this._head=re,this.__hash=void 0,this.__altered=!0,this):ui(Z,re)},Fn.prototype.__ensureOwner=function(y){return y===this.__ownerID?this:y?ui(this.size,this._head,y,this.__hash):(this.__ownerID=y,this.__altered=!1,this)},Fn.prototype.__iterate=function(y,I){if(I)return this.reverse().__iterate(y);for(var K=0,Z=this._head;Z&&y(Z.value,K++,this)!==!1;)Z=Z.next;return K},Fn.prototype.__iterator=function(y,I){if(I)return this.reverse().__iterator(y);var K=0,Z=this._head;return new it((function(){if(Z){var re=Z.value;return Z=Z.next,St(y,K++,re)}return Y()}))},Fn.isStack=mc;var qs,Zi="@@__IMMUTABLE_STACK__@@",es=Fn.prototype;function ui(y,I,K,Z){var re=Object.create(es);return re.size=y,re._head=I,re.__ownerID=K,re.__hash=Z,re.__altered=!1,re}function gc(){return qs||(qs=ui(0))}function Xa(y,I){var K=function(Z){y.prototype[Z]=I[Z]};return Object.keys(I).forEach(K),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(I).forEach(K),y}es[Zi]=!0,es.withMutations=Or.withMutations,es.asMutable=Or.asMutable,es.asImmutable=Or.asImmutable,es.wasAltered=Or.wasAltered,h.Iterator=it,Xa(h,{toArray:function(){na(this.size);var y=new Array(this.size||0);return this.valueSeq().__iterate((function(I,K){y[K]=I})),y},toIndexedSeq:function(){return new Ci(this)},toJS:function(){return this.toSeq().map((function(y){return y&&typeof y.toJS=="function"?y.toJS():y})).__toJS()},toJSON:function(){return this.toSeq().map((function(y){return y&&typeof y.toJSON=="function"?y.toJSON():y})).__toJS()},toKeyedSeq:function(){return new la(this,!0)},toMap:function(){return sr(this.toKeyedSeq())},toObject:function(){na(this.size);var y={};return this.__iterate((function(I,K){y[K]=I})),y},toOrderedMap:function(){return yn(this.toKeyedSeq())},toOrderedSet:function(){return yo(g(this)?this.valueSeq():this)},toSet:function(){return Sn(g(this)?this.valueSeq():this)},toSetSeq:function(){return new Xi(this)},toSeq:function(){return x(this)?this.toIndexedSeq():g(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Fn(g(this)?this.valueSeq():this)},toList:function(){return gn(g(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(y,I){return this.size===0?y+I:y+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+I},concat:function(){return nn(this,bl(this,C.call(arguments,0)))},includes:function(y){return this.some((function(I){return Dr(I,y)}))},entries:function(){return this.__iterator(xe)},every:function(y,I){na(this.size);var K=!0;return this.__iterate((function(Z,re,Se){if(!y.call(I,Z,re,Se))return K=!1,!1})),K},filter:function(y,I){return nn(this,vl(this,y,I,!0))},find:function(y,I,K){var Z=this.findEntry(y,I);return Z?Z[1]:K},forEach:function(y,I){return na(this.size),this.__iterate(I?y.bind(I):y)},join:function(y){na(this.size),y=y!==void 0?""+y:",";var I="",K=!0;return this.__iterate((function(Z){K?K=!1:I+=y,I+=Z!=null?Z.toString():""})),I},keys:function(){return this.__iterator(et)},map:function(y,I){return nn(this,yl(this,y,I))},reduce:function(y,I,K){var Z,re;return na(this.size),arguments.length<2?re=!0:Z=I,this.__iterate((function(Se,Oe,Fe){re?(re=!1,Z=Se):Z=y.call(K,Z,Se,Oe,Fe)})),Z},reduceRight:function(y,I,K){var Z=this.toKeyedSeq().reverse();return Z.reduce.apply(Z,arguments)},reverse:function(){return nn(this,cc(this,!0))},slice:function(y,I){return nn(this,Ia(this,y,I,!0))},some:function(y,I){return!this.every(Sl(y),I)},sort:function(y){return nn(this,$s(this,y))},values:function(){return this.__iterator(ze)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some((function(){return!0}))},count:function(y,I){return Le(y?this.toSeq().filter(y,I):this)},countBy:function(y,I){return uc(this,y,I)},equals:function(y){return Qr(this,y)},entrySeq:function(){var y=this;if(y._cache)return new W(y._cache);var I=y.toSeq().map(yu).toIndexedSeq();return I.fromEntrySeq=function(){return y.toSeq()},I},filterNot:function(y,I){return this.filter(Sl(y),I)},findEntry:function(y,I,K){var Z=K;return this.__iterate((function(re,Se,Oe){if(y.call(I,re,Se,Oe))return Z=[Se,re],!1})),Z},findKey:function(y,I){var K=this.findEntry(y,I);return K&&K[0]},findLast:function(y,I,K){return this.toKeyedSeq().reverse().find(y,I,K)},findLastEntry:function(y,I,K){return this.toKeyedSeq().reverse().findEntry(y,I,K)},findLastKey:function(y,I){return this.toKeyedSeq().reverse().findKey(y,I)},first:function(){return this.find($e)},flatMap:function(y,I){return nn(this,lu(this,y,I))},flatten:function(y){return nn(this,ci(this,y,!0))},fromEntrySeq:function(){return new go(this)},get:function(y,I){return this.find((function(K,Z){return Dr(Z,y)}),void 0,I)},getIn:function(y,I){for(var K,Z=this,re=Ea(y);!(K=re.next()).done;){var Se=K.value;if((Z=Z&&Z.get?Z.get(Se,Q):Q)===Q)return I}return Z},groupBy:function(y,I){return kp(this,y,I)},has:function(y){return this.get(y,Q)!==Q},hasIn:function(y){return this.getIn(y,Q)!==Q},isSubset:function(y){return y=typeof y.includes=="function"?y:h(y),this.every((function(I){return y.includes(I)}))},isSuperset:function(y){return(y=typeof y.isSubset=="function"?y:h(y)).isSubset(this)},keyOf:function(y){return this.findKey((function(I){return Dr(I,y)}))},keySeq:function(){return this.toSeq().map(Pp).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(y){return this.toKeyedSeq().reverse().keyOf(y)},max:function(y){return ji(this,y)},maxBy:function(y,I){return ji(this,I,y)},min:function(y){return ji(this,y?vu(y):yc)},minBy:function(y,I){return ji(this,I?vu(I):yc,y)},rest:function(){return this.slice(1)},skip:function(y){return this.slice(Math.max(0,y))},skipLast:function(y){return nn(this,this.toSeq().reverse().skip(y).reverse())},skipWhile:function(y,I){return nn(this,pc(this,y,I,!0))},skipUntil:function(y,I){return this.skipWhile(Sl(y),I)},sortBy:function(y,I){return nn(this,$s(this,I,y))},take:function(y){return this.slice(0,Math.max(0,y))},takeLast:function(y){return nn(this,this.toSeq().reverse().take(y).reverse())},takeWhile:function(y,I){return nn(this,su(this,y,I))},takeUntil:function(y,I){return this.takeWhile(Sl(y),I)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=ua(this))}});var ca=h.prototype;ca[N]=!0,ca[gt]=ca.values,ca.__toJS=ca.toArray,ca.__toStringMapper=Tp,ca.inspect=ca.toSource=function(){return this.toString()},ca.chain=ca.flatMap,ca.contains=ca.includes,Xa(b,{flip:function(){return nn(this,lc(this))},mapEntries:function(y,I){var K=this,Z=0;return nn(this,this.toSeq().map((function(re,Se){return y.call(I,[Se,re],Z++,K)})).fromEntrySeq())},mapKeys:function(y,I){var K=this;return nn(this,this.toSeq().flip().map((function(Z,re){return y.call(I,Z,re,K)})).flip())}});var Us=b.prototype;function Pp(y,I){return I}function yu(y,I){return[I,y]}function Sl(y){return function(){return!y.apply(this,arguments)}}function vu(y){return function(){return-y.apply(this,arguments)}}function Tp(y){return typeof y=="string"?JSON.stringify(y):String(y)}function Np(){return ke(arguments)}function yc(y,I){return y<I?1:y>I?-1:0}function ua(y){if(y.size===1/0)return 0;var I=T(y),K=g(y),Z=I?1:0;return xl(y.__iterate(K?I?function(re,Se){Z=31*Z+bu(vr(re),vr(Se))|0}:function(re,Se){Z=Z+bu(vr(re),vr(Se))|0}:I?function(re){Z=31*Z+vr(re)|0}:function(re){Z=Z+vr(re)|0}),Z)}function xl(y,I){return I=Ht(I,3432918353),I=Ht(I<<15|I>>>-15,461845907),I=Ht(I<<13|I>>>-13,5),I=Ht((I=I+3864292196^y)^I>>>16,2246822507),I=er((I=Ht(I^I>>>13,3266489909))^I>>>16)}function bu(y,I){return y^I+2654435769+(y<<6)+(y>>2)}return Us[P]=!0,Us[gt]=ca.entries,Us.__toJS=ca.toObject,Us.__toStringMapper=function(y,I){return JSON.stringify(I)+": "+Tp(y)},Xa(f,{toKeyedSeq:function(){return new la(this,!1)},filter:function(y,I){return nn(this,vl(this,y,I,!1))},findIndex:function(y,I){var K=this.findEntry(y,I);return K?K[0]:-1},indexOf:function(y){var I=this.keyOf(y);return I===void 0?-1:I},lastIndexOf:function(y){var I=this.lastKeyOf(y);return I===void 0?-1:I},reverse:function(){return nn(this,cc(this,!1))},slice:function(y,I){return nn(this,Ia(this,y,I,!1))},splice:function(y,I){var K=arguments.length;if(I=Math.max(0|I,0),K===0||K===2&&!I)return this;y=st(y,y<0?this.count():this.size);var Z=this.slice(0,y);return nn(this,K===1?Z:Z.concat(ke(arguments,2),this.slice(y+I)))},findLastIndex:function(y,I){var K=this.findLastEntry(y,I);return K?K[0]:-1},first:function(){return this.get(0)},flatten:function(y){return nn(this,ci(this,y,!1))},get:function(y,I){return(y=Be(this,y))<0||this.size===1/0||this.size!==void 0&&y>this.size?I:this.find((function(K,Z){return Z===y}),void 0,I)},has:function(y){return(y=Be(this,y))>=0&&(this.size!==void 0?this.size===1/0||y<this.size:this.indexOf(y)!==-1)},interpose:function(y){return nn(this,Fs(this,y))},interleave:function(){var y=[this].concat(ke(arguments)),I=cu(this.toSeq(),Jt.of,y),K=I.flatten(!0);return I.size&&(K.size=I.size*y.length),nn(this,K)},keySeq:function(){return Mn(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(y,I){return nn(this,pc(this,y,I,!1))},zip:function(){return nn(this,cu(this,Np,[this].concat(ke(arguments))))},zipWith:function(y){var I=ke(arguments);return I[0]=this,nn(this,cu(this,y,I))}}),f.prototype[M]=!0,f.prototype[U]=!0,Xa(w,{get:function(y,I){return this.has(y)?y:I},includes:function(y){return this.has(y)},keySeq:function(){return this.valueSeq()}}),w.prototype.has=ca.includes,w.prototype.contains=w.prototype.includes,Xa(Nt,b.prototype),Xa(Jt,f.prototype),Xa(Et,w.prototype),Xa(sa,b.prototype),Xa(Uo,f.prototype),Xa(zo,w.prototype),{Iterable:h,Seq:wt,Collection:Tn,Map:sr,OrderedMap:yn,List:gn,Stack:Fn,Set:Sn,OrderedSet:yo,Record:Ma,Range:Mn,Repeat:wn,is:Dr,fromJS:hn}})()},9748:(E,C,s)=>{s(71340);var h=s(92046);E.exports=h.Object.assign},9957:(E,C,s)=>{var h=Function.prototype.call,b=Object.prototype.hasOwnProperty,f=s(66743);E.exports=f.call(h,b)},9999:(E,C,s)=>{var h=s(37217),b=s(83729),f=s(16547),w=s(74733),m=s(43838),g=s(93290),x=s(23007),k=s(92271),T=s(48948),N=s(50002),P=s(83349),M=s(5861),U=s(76189),J=s(77199),V=s(35529),B=s(56449),H=s(3656),Q=s(87730),ne=s(23805),ae=s(38440),Ce=s(95950),he=s(37241),ge="[object Arguments]",ke="[object Function]",Le="[object Object]",Be={};Be[ge]=Be["[object Array]"]=Be["[object ArrayBuffer]"]=Be["[object DataView]"]=Be["[object Boolean]"]=Be["[object Date]"]=Be["[object Float32Array]"]=Be["[object Float64Array]"]=Be["[object Int8Array]"]=Be["[object Int16Array]"]=Be["[object Int32Array]"]=Be["[object Map]"]=Be["[object Number]"]=Be[Le]=Be["[object RegExp]"]=Be["[object Set]"]=Be["[object String]"]=Be["[object Symbol]"]=Be["[object Uint8Array]"]=Be["[object Uint8ClampedArray]"]=Be["[object Uint16Array]"]=Be["[object Uint32Array]"]=!0,Be["[object Error]"]=Be[ke]=Be["[object WeakMap]"]=!1,E.exports=function $e(Ke,st,Me,p,et,ze){var xe,Ne=1&st,rt=2&st,gt=4&st;if(Me&&(xe=et?Me(Ke,p,et,ze):Me(Ke)),xe!==void 0)return xe;if(!ne(Ke))return Ke;var it=B(Ke);if(it){if(xe=U(Ke),!Ne)return x(Ke,xe)}else{var St=M(Ke),Y=St==ke||St=="[object GeneratorFunction]";if(H(Ke))return g(Ke,Ne);if(St==Le||St==ge||Y&&!et){if(xe=rt||Y?{}:V(Ke),!Ne)return rt?T(Ke,m(xe,Ke)):k(Ke,w(xe,Ke))}else{if(!Be[St])return et?Ke:{};xe=J(Ke,St,Ne)}}ze||(ze=new h);var ye=ze.get(Ke);if(ye)return ye;ze.set(Ke,xe),ae(Ke)?Ke.forEach((function(at){xe.add($e(at,st,Me,at,Ke,ze))})):Q(Ke)&&Ke.forEach((function(at,Xt){xe.set(Xt,$e(at,st,Me,Xt,Ke,ze))}));var nt=it?void 0:(gt?rt?P:N:rt?he:Ce)(Ke);return b(nt||Ke,(function(at,Xt){nt&&(at=Ke[Xt=at]),f(xe,Xt,$e(at,st,Me,Xt,Ke,ze))})),xe}},10023:(E,C,s)=>{const h=s(6205),b=()=>[{type:h.RANGE,from:48,to:57}],f=()=>[{type:h.CHAR,value:95},{type:h.RANGE,from:97,to:122},{type:h.RANGE,from:65,to:90}].concat(b()),w=()=>[{type:h.CHAR,value:9},{type:h.CHAR,value:10},{type:h.CHAR,value:11},{type:h.CHAR,value:12},{type:h.CHAR,value:13},{type:h.CHAR,value:32},{type:h.CHAR,value:160},{type:h.CHAR,value:5760},{type:h.RANGE,from:8192,to:8202},{type:h.CHAR,value:8232},{type:h.CHAR,value:8233},{type:h.CHAR,value:8239},{type:h.CHAR,value:8287},{type:h.CHAR,value:12288},{type:h.CHAR,value:65279}];C.words=()=>({type:h.SET,set:f(),not:!1}),C.notWords=()=>({type:h.SET,set:f(),not:!0}),C.ints=()=>({type:h.SET,set:b(),not:!1}),C.notInts=()=>({type:h.SET,set:b(),not:!0}),C.whitespace=()=>({type:h.SET,set:w(),not:!1}),C.notWhitespace=()=>({type:h.SET,set:w(),not:!0}),C.anyChar=()=>({type:h.SET,set:[{type:h.CHAR,value:10},{type:h.CHAR,value:13},{type:h.CHAR,value:8232},{type:h.CHAR,value:8233}],not:!0})},10043:(E,C,s)=>{var h=s(54018),b=String,f=TypeError;E.exports=function(w){if(h(w))return w;throw new f("Can't set "+b(w)+" as a prototype")}},10076:E=>{E.exports=Function.prototype.call},10124:(E,C,s)=>{var h=s(9325);E.exports=function(){return h.Date.now()}},10300:(E,C,s)=>{var h=s(13930),b=s(82159),f=s(36624),w=s(4640),m=s(73448),g=TypeError;E.exports=function(x,k){var T=arguments.length<2?m(x):k;if(b(T))return f(h(T,x));throw new g(w(x)+" is not iterable")}},10316:(E,C,s)=>{const h=s(2404),b=s(55973),f=s(92340);class w{constructor(g,x,k){x&&(this.meta=x),k&&(this.attributes=k),this.content=g}freeze(){Object.isFrozen(this)||(this._meta&&(this.meta.parent=this,this.meta.freeze()),this._attributes&&(this.attributes.parent=this,this.attributes.freeze()),this.children.forEach((g=>{g.parent=this,g.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const g=new this.constructor;return g.element=this.element,this.meta.length&&(g._meta=this.meta.clone()),this.attributes.length&&(g._attributes=this.attributes.clone()),this.content?this.content.clone?g.content=this.content.clone():Array.isArray(this.content)?g.content=this.content.map((x=>x.clone())):g.content=this.content:g.content=this.content,g}toValue(){return this.content instanceof w?this.content.toValue():this.content instanceof b?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((g=>g.toValue()),this):this.content}toRef(g){if(this.id.toValue()==="")throw Error("Cannot create reference to an element that does not contain an ID");const x=new this.RefElement(this.id.toValue());return g&&(x.path=g),x}findRecursive(...g){if(arguments.length>1&&!this.isFrozen)throw new Error("Cannot find recursive with multiple element names without first freezing the element. Call `element.freeze()`");const x=g.pop();let k=new f;const T=(P,M)=>(P.push(M),P),N=(P,M)=>{M.element===x&&P.push(M);const U=M.findRecursive(x);return U&&U.reduce(T,P),M.content instanceof b&&(M.content.key&&N(P,M.content.key),M.content.value&&N(P,M.content.value)),P};return this.content&&(this.content.element&&N(k,this.content),Array.isArray(this.content)&&this.content.reduce(N,k)),g.isEmpty||(k=k.filter((P=>{let M=P.parents.map((U=>U.element));for(const U in g){const J=g[U],V=M.indexOf(J);if(V===-1)return!1;M=M.splice(0,V)}return!0}))),k}set(g){return this.content=g,this}equals(g){return h(this.toValue(),g)}getMetaProperty(g,x){if(!this.meta.hasKey(g)){if(this.isFrozen){const k=this.refract(x);return k.freeze(),k}this.meta.set(g,x)}return this.meta.get(g)}setMetaProperty(g,x){this.meta.set(g,x)}get element(){return this._storedElement||"element"}set element(g){this._storedElement=g}get content(){return this._content}set content(g){if(g instanceof w)this._content=g;else if(g instanceof f)this.content=g.elements;else if(typeof g=="string"||typeof g=="number"||typeof g=="boolean"||g==="null"||g==null)this._content=g;else if(g instanceof b)this._content=g;else if(Array.isArray(g))this._content=g.map(this.refract);else{if(typeof g!="object")throw new Error("Cannot set content to given value");this._content=Object.keys(g).map((x=>new this.MemberElement(x,g[x])))}}get meta(){if(!this._meta){if(this.isFrozen){const g=new this.ObjectElement;return g.freeze(),g}this._meta=new this.ObjectElement}return this._meta}set meta(g){g instanceof this.ObjectElement?this._meta=g:this.meta.set(g||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const g=new this.ObjectElement;return g.freeze(),g}this._attributes=new this.ObjectElement}return this._attributes}set attributes(g){g instanceof this.ObjectElement?this._attributes=g:this.attributes.set(g||{})}get id(){return this.getMetaProperty("id","")}set id(g){this.setMetaProperty("id",g)}get classes(){return this.getMetaProperty("classes",[])}set classes(g){this.setMetaProperty("classes",g)}get title(){return this.getMetaProperty("title","")}set title(g){this.setMetaProperty("title",g)}get description(){return this.getMetaProperty("description","")}set description(g){this.setMetaProperty("description",g)}get links(){return this.getMetaProperty("links",[])}set links(g){this.setMetaProperty("links",g)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:g}=this;const x=new f;for(;g;)x.push(g),g=g.parent;return x}get children(){if(Array.isArray(this.content))return new f(this.content);if(this.content instanceof b){const g=new f([this.content.key]);return this.content.value&&g.push(this.content.value),g}return this.content instanceof w?new f([this.content]):new f}get recursiveChildren(){const g=new f;return this.children.forEach((x=>{g.push(x),x.recursiveChildren.forEach((k=>{g.push(k)}))})),g}}E.exports=w},10392:E=>{E.exports=function(s,h){return s==null?void 0:s[h]}},10487:(E,C,s)=>{var h=s(96897),b=s(30655),f=s(73126),w=s(12205);E.exports=function(g){var x=f(arguments),k=g.length-(arguments.length-1);return h(x,1+(k>0?k:0),!0)},b?b(E.exports,"apply",{value:w}):E.exports.apply=w},10776:(E,C,s)=>{var h=s(30756),b=s(95950);E.exports=function(w){for(var m=b(w),g=m.length;g--;){var x=m[g],k=w[x];m[g]=[x,k,h(k)]}return m}},10866:(E,C,s)=>{const h=s(6048),b=s(92340);class f extends b{map(m,g){return this.elements.map((x=>m.bind(g)(x.value,x.key,x)))}filter(m,g){return new f(this.elements.filter((x=>m.bind(g)(x.value,x.key,x))))}reject(m,g){return this.filter(h(m.bind(g)))}forEach(m,g){return this.elements.forEach(((x,k)=>{m.bind(g)(x.value,x.key,x,k)}))}keys(){return this.map(((m,g)=>g.toValue()))}values(){return this.map((m=>m.toValue()))}}E.exports=f},11002:E=>{E.exports=Function.prototype.apply},11042:(E,C,s)=>{var h=s(85582),b=s(1907),f=s(24443),w=s(87170),m=s(36624),g=b([].concat);E.exports=h("Reflect","ownKeys")||function(k){var T=f.f(m(k)),N=w.f;return N?g(T,N(k)):T}},11091:(E,C,s)=>{var h=s(45951),b=s(76024),f=s(92361),w=s(62250),m=s(13846).f,g=s(7463),x=s(92046),k=s(28311),T=s(61626),N=s(49724);s(36128);var P=function(M){var U=function(J,V,B){if(this instanceof U){switch(arguments.length){case 0:return new M;case 1:return new M(J);case 2:return new M(J,V)}return new M(J,V,B)}return b(M,this,arguments)};return U.prototype=M.prototype,U};E.exports=function(M,U){var J,V,B,H,Q,ne,ae,Ce,he,ge=M.target,ke=M.global,Le=M.stat,Be=M.proto,$e=ke?h:Le?h[ge]:h[ge]&&h[ge].prototype,Ke=ke?x:x[ge]||T(x,ge,{})[ge],st=Ke.prototype;for(H in U)V=!(J=g(ke?H:ge+(Le?".":"#")+H,M.forced))&&$e&&N($e,H),ne=Ke[H],V&&(ae=M.dontCallGetSet?(he=m($e,H))&&he.value:$e[H]),Q=V&&ae?ae:U[H],(J||Be||typeof ne!=typeof Q)&&(Ce=M.bind&&V?k(Q,h):M.wrap&&V?P(Q):Be&&w(Q)?f(Q):Q,(M.sham||Q&&Q.sham||ne&&ne.sham)&&T(Ce,"sham",!0),T(Ke,H,Ce),Be&&(N(x,B=ge+"Prototype")||T(x,B,{}),T(x[B],H,Q),M.real&&st&&(J||!st[H])&&T(st,H,Q)))}},11287:E=>{E.exports=function(s){return s.placeholder}},11331:(E,C,s)=>{var h=s(72552),b=s(28879),f=s(40346),w=Function.prototype,m=Object.prototype,g=w.toString,x=m.hasOwnProperty,k=g.call(Object);E.exports=function(N){if(!f(N)||h(N)!="[object Object]")return!1;var P=b(N);if(P===null)return!0;var M=x.call(P,"constructor")&&P.constructor;return typeof M=="function"&&M instanceof M&&g.call(M)==k}},11470:(E,C,s)=>{var h=s(1907),b=s(65482),f=s(90160),w=s(74239),m=h("".charAt),g=h("".charCodeAt),x=h("".slice),k=function(T){return function(N,P){var M,U,J=f(w(N)),V=b(P),B=J.length;return V<0||V>=B?T?"":void 0:(M=g(J,V))<55296||M>56319||V+1===B||(U=g(J,V+1))<56320||U>57343?T?m(J,V):M:T?x(J,V,V+2):U-56320+(M-55296<<10)+65536}};E.exports={codeAt:k(!1),charAt:k(!0)}},11842:(E,C,s)=>{var h=s(82819),b=s(9325);E.exports=function(w,m,g){var x=1&m,k=h(w);return function T(){return(this&&this!==b&&this instanceof T?k:w).apply(x?g:this,arguments)}}},12205:(E,C,s)=>{var h=s(66743),b=s(11002),f=s(13144);E.exports=function(){return f(h,b,arguments)}},12242:(E,C,s)=>{const h=s(10316);E.exports=class extends h{constructor(f,w,m){super(f,w,m),this.element="boolean"}primitive(){return"boolean"}}},12507:(E,C,s)=>{var h=s(28754),b=s(49698),f=s(63912),w=s(13222);E.exports=function(g){return function(x){x=w(x);var k=b(x)?f(x):void 0,T=k?k[0]:x.charAt(0),N=k?h(k,1).join(""):x.slice(1);return T[g]()+N}}},12560:(E,C,s)=>{s(99363);var h=s(19287),b=s(45951),f=s(14840),w=s(93742);for(var m in h)f(b[m],m),w[m]=w.Array},12651:(E,C,s)=>{var h=s(74218);E.exports=function(f,w){var m=f.__data__;return h(w)?m[typeof w=="string"?"string":"hash"]:m.map}},12749:(E,C,s)=>{var h=s(81042),b=Object.prototype.hasOwnProperty;E.exports=function(w){var m=this.__data__;return h?m[w]!==void 0:b.call(m,w)}},13144:(E,C,s)=>{var h=s(66743),b=s(11002),f=s(10076),w=s(47119);E.exports=w||h.call(f,b)},13222:(E,C,s)=>{var h=s(77556);E.exports=function(f){return f==null?"":h(f)}},13846:(E,C,s)=>{var h=s(39447),b=s(13930),f=s(22574),w=s(75817),m=s(4993),g=s(70470),x=s(49724),k=s(73648),T=Object.getOwnPropertyDescriptor;C.f=h?T:function(P,M){if(P=m(P),M=g(M),k)try{return T(P,M)}catch(U){}if(x(P,M))return w(!b(f.f,P,M),P[M])}},13930:(E,C,s)=>{var h=s(41505),b=Function.prototype.call;E.exports=h?b.bind(b):function(){return b.apply(b,arguments)}},14248:E=>{E.exports=function(s,h){for(var b=-1,f=s==null?0:s.length;++b<f;)if(h(s[b],b,s))return!0;return!1}},14528:E=>{E.exports=function(s,h){for(var b=-1,f=h.length,w=s.length;++b<f;)s[w+b]=h[b];return s}},14540:(E,C,s)=>{const h=s(10316);E.exports=class extends h{constructor(f,w,m){super(f||[],w,m),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(f){this.attributes.set("path",f)}}},14744:E=>{var C=function(T){return(function(P){return!!P&&typeof P=="object"})(T)&&!(function(P){var M=Object.prototype.toString.call(P);return M==="[object RegExp]"||M==="[object Date]"||(function(J){return J.$$typeof===s})(P)})(T)},s=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function h(k,T){return T.clone!==!1&&T.isMergeableObject(k)?g((function(P){return Array.isArray(P)?[]:{}})(k),k,T):k}function b(k,T,N){return k.concat(T).map((function(P){return h(P,N)}))}function f(k){return Object.keys(k).concat((function(N){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(N).filter((function(P){return Object.propertyIsEnumerable.call(N,P)})):[]})(k))}function w(k,T){try{return T in k}catch(N){return!1}}function m(k,T,N){var P={};return N.isMergeableObject(k)&&f(k).forEach((function(M){P[M]=h(k[M],N)})),f(T).forEach((function(M){(function(J,V){return w(J,V)&&!(Object.hasOwnProperty.call(J,V)&&Object.propertyIsEnumerable.call(J,V))})(k,M)||(w(k,M)&&N.isMergeableObject(T[M])?P[M]=(function(J,V){if(!V.customMerge)return g;var B=V.customMerge(J);return typeof B=="function"?B:g})(M,N)(k[M],T[M],N):P[M]=h(T[M],N))})),P}function g(k,T,N){(N=N||{}).arrayMerge=N.arrayMerge||b,N.isMergeableObject=N.isMergeableObject||C,N.cloneUnlessOtherwiseSpecified=h;var P=Array.isArray(T);return P===Array.isArray(k)?P?N.arrayMerge(k,T,N):m(k,T,N):h(T,N)}g.all=function(T,N){if(!Array.isArray(T))throw new Error("first argument should be an array");return T.reduce((function(P,M){return g(P,M,N)}),{})};var x=g;E.exports=x},14792:(E,C,s)=>{var h=s(13222),b=s(55808);E.exports=function(w){return b(h(w).toLowerCase())}},14840:(E,C,s)=>{var h=s(52623),b=s(74284).f,f=s(61626),w=s(49724),m=s(54878),g=s(76264)("toStringTag");E.exports=function(x,k,T,N){var P=T?x:x&&x.prototype;P&&(w(P,g)||b(P,g,{configurable:!0,value:k}),N&&!h&&f(P,"toString",m))}},14974:E=>{E.exports=function(s,h){if((h!=="constructor"||typeof s[h]!="function")&&h!="__proto__")return s[h]}},15287:(E,C)=>{var s=Symbol.for("react.element"),h=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),g=Symbol.for("react.context"),x=Symbol.for("react.forward_ref"),k=Symbol.for("react.suspense"),T=Symbol.for("react.memo"),N=Symbol.for("react.lazy"),P=Symbol.iterator,M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},U=Object.assign,J={};function V(xe,Ne,rt){this.props=xe,this.context=Ne,this.refs=J,this.updater=rt||M}function B(){}function H(xe,Ne,rt){this.props=xe,this.context=Ne,this.refs=J,this.updater=rt||M}V.prototype.isReactComponent={},V.prototype.setState=function(xe,Ne){if(typeof xe!="object"&&typeof xe!="function"&&xe!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,xe,Ne,"setState")},V.prototype.forceUpdate=function(xe){this.updater.enqueueForceUpdate(this,xe,"forceUpdate")},B.prototype=V.prototype;var Q=H.prototype=new B;Q.constructor=H,U(Q,V.prototype),Q.isPureReactComponent=!0;var ne=Array.isArray,ae=Object.prototype.hasOwnProperty,Ce={current:null},he={key:!0,ref:!0,__self:!0,__source:!0};function ge(xe,Ne,rt){var gt,it={},St=null,Y=null;if(Ne!=null)for(gt in Ne.ref!==void 0&&(Y=Ne.ref),Ne.key!==void 0&&(St=""+Ne.key),Ne)ae.call(Ne,gt)&&!he.hasOwnProperty(gt)&&(it[gt]=Ne[gt]);var ye=arguments.length-2;if(ye===1)it.children=rt;else if(1<ye){for(var nt=Array(ye),at=0;at<ye;at++)nt[at]=arguments[at+2];it.children=nt}if(xe&&xe.defaultProps)for(gt in ye=xe.defaultProps)it[gt]===void 0&&(it[gt]=ye[gt]);return{$$typeof:s,type:xe,key:St,ref:Y,props:it,_owner:Ce.current}}function ke(xe){return typeof xe=="object"&&xe!==null&&xe.$$typeof===s}var Le=/\/+/g;function Be(xe,Ne){return typeof xe=="object"&&xe!==null&&xe.key!=null?(function(gt){var it={"=":"=0",":":"=2"};return"$"+gt.replace(/[=:]/g,(function(St){return it[St]}))})(""+xe.key):Ne.toString(36)}function $e(xe,Ne,rt,gt,it){var St=typeof xe;St!=="undefined"&&St!=="boolean"||(xe=null);var Y=!1;if(xe===null)Y=!0;else switch(St){case"string":case"number":Y=!0;break;case"object":switch(xe.$$typeof){case s:case h:Y=!0}}if(Y)return it=it(Y=xe),xe=gt===""?"."+Be(Y,0):gt,ne(it)?(rt="",xe!=null&&(rt=xe.replace(Le,"$&/")+"/"),$e(it,Ne,rt,"",(function(at){return at}))):it!=null&&(ke(it)&&(it=(function(Xt,tr){return{$$typeof:s,type:Xt.type,key:tr,ref:Xt.ref,props:Xt.props,_owner:Xt._owner}})(it,rt+(!it.key||Y&&Y.key===it.key?"":(""+it.key).replace(Le,"$&/")+"/")+xe)),Ne.push(it)),1;if(Y=0,gt=gt===""?".":gt+":",ne(xe))for(var ye=0;ye<xe.length;ye++){var nt=gt+Be(St=xe[ye],ye);Y+=$e(St,Ne,rt,nt,it)}else if(nt=(function(Xt){return Xt===null||typeof Xt!="object"?null:typeof(Xt=P&&Xt[P]||Xt["@@iterator"])=="function"?Xt:null})(xe),typeof nt=="function")for(xe=nt.call(xe),ye=0;!(St=xe.next()).done;)Y+=$e(St=St.value,Ne,rt,nt=gt+Be(St,ye++),it);else if(St==="object")throw Ne=String(xe),Error("Objects are not valid as a React child (found: "+(Ne==="[object Object]"?"object with keys {"+Object.keys(xe).join(", ")+"}":Ne)+"). If you meant to render a collection of children, use an array instead.");return Y}function Ke(xe,Ne,rt){if(xe==null)return xe;var gt=[],it=0;return $e(xe,gt,"","",(function(St){return Ne.call(rt,St,it++)})),gt}function st(xe){if(xe._status===-1){var Ne=xe._result;(Ne=Ne()).then((function(rt){xe._status!==0&&xe._status!==-1||(xe._status=1,xe._result=rt)}),(function(rt){xe._status!==0&&xe._status!==-1||(xe._status=2,xe._result=rt)})),xe._status===-1&&(xe._status=0,xe._result=Ne)}if(xe._status===1)return xe._result.default;throw xe._result}var Me={current:null},p={transition:null},et={ReactCurrentDispatcher:Me,ReactCurrentBatchConfig:p,ReactCurrentOwner:Ce};function ze(){throw Error("act(...) is not supported in production builds of React.")}C.Children={map:Ke,forEach:function(xe,Ne,rt){Ke(xe,(function(){Ne.apply(this,arguments)}),rt)},count:function(xe){var Ne=0;return Ke(xe,(function(){Ne++})),Ne},toArray:function(xe){return Ke(xe,(function(Ne){return Ne}))||[]},only:function(xe){if(!ke(xe))throw Error("React.Children.only expected to receive a single React element child.");return xe}},C.Component=V,C.Fragment=b,C.Profiler=w,C.PureComponent=H,C.StrictMode=f,C.Suspense=k,C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=et,C.act=ze,C.cloneElement=function(xe,Ne,rt){if(xe==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+xe+".");var gt=U({},xe.props),it=xe.key,St=xe.ref,Y=xe._owner;if(Ne!=null){if(Ne.ref!==void 0&&(St=Ne.ref,Y=Ce.current),Ne.key!==void 0&&(it=""+Ne.key),xe.type&&xe.type.defaultProps)var ye=xe.type.defaultProps;for(nt in Ne)ae.call(Ne,nt)&&!he.hasOwnProperty(nt)&&(gt[nt]=Ne[nt]===void 0&&ye!==void 0?ye[nt]:Ne[nt])}var nt=arguments.length-2;if(nt===1)gt.children=rt;else if(1<nt){ye=Array(nt);for(var at=0;at<nt;at++)ye[at]=arguments[at+2];gt.children=ye}return{$$typeof:s,type:xe.type,key:it,ref:St,props:gt,_owner:Y}},C.createContext=function(xe){return(xe={$$typeof:g,_currentValue:xe,_currentValue2:xe,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:m,_context:xe},xe.Consumer=xe},C.createElement=ge,C.createFactory=function(xe){var Ne=ge.bind(null,xe);return Ne.type=xe,Ne},C.createRef=function(){return{current:null}},C.forwardRef=function(xe){return{$$typeof:x,render:xe}},C.isValidElement=ke,C.lazy=function(xe){return{$$typeof:N,_payload:{_status:-1,_result:xe},_init:st}},C.memo=function(xe,Ne){return{$$typeof:T,type:xe,compare:Ne===void 0?null:Ne}},C.startTransition=function(xe){var Ne=p.transition;p.transition={};try{xe()}finally{p.transition=Ne}},C.unstable_act=ze,C.useCallback=function(xe,Ne){return Me.current.useCallback(xe,Ne)},C.useContext=function(xe){return Me.current.useContext(xe)},C.useDebugValue=function(){},C.useDeferredValue=function(xe){return Me.current.useDeferredValue(xe)},C.useEffect=function(xe,Ne){return Me.current.useEffect(xe,Ne)},C.useId=function(){return Me.current.useId()},C.useImperativeHandle=function(xe,Ne,rt){return Me.current.useImperativeHandle(xe,Ne,rt)},C.useInsertionEffect=function(xe,Ne){return Me.current.useInsertionEffect(xe,Ne)},C.useLayoutEffect=function(xe,Ne){return Me.current.useLayoutEffect(xe,Ne)},C.useMemo=function(xe,Ne){return Me.current.useMemo(xe,Ne)},C.useReducer=function(xe,Ne,rt){return Me.current.useReducer(xe,Ne,rt)},C.useRef=function(xe){return Me.current.useRef(xe)},C.useState=function(xe){return Me.current.useState(xe)},C.useSyncExternalStore=function(xe,Ne,rt){return Me.current.useSyncExternalStore(xe,Ne,rt)},C.useTransition=function(){return Me.current.useTransition()},C.version="18.3.1"},15325:(E,C,s)=>{var h=s(96131);E.exports=function(f,w){return!!(f!=null&&f.length)&&h(f,w,0)>-1}},15340:()=>{},15377:(E,C,s)=>{var h=s(92861).Buffer,b=s(64634),f=s(74372),w=ArrayBuffer.isView||function(T){try{return f(T),!0}catch(N){return!1}},m=typeof Uint8Array!="undefined",g=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",x=g&&(h.prototype instanceof Uint8Array||h.TYPED_ARRAY_SUPPORT);E.exports=function(T,N){if(T instanceof h)return T;if(typeof T=="string")return h.from(T,N);if(g&&w(T)){if(T.byteLength===0)return h.alloc(0);if(x){var P=h.from(T.buffer,T.byteOffset,T.byteLength);if(P.byteLength===T.byteLength)return P}var M=T instanceof Uint8Array?T:new Uint8Array(T.buffer,T.byteOffset,T.byteLength),U=h.from(M);if(U.length===T.byteLength)return U}if(m&&T instanceof Uint8Array)return h.from(T);var J=b(T);if(J)for(var V=0;V<T.length;V+=1){var B=T[V];if(typeof B!="number"||B<0||B>255||~~B!==B)throw new RangeError("Array items must be numbers in the range 0-255.")}if(J||h.isBuffer(T)&&T.constructor&&typeof T.constructor.isBuffer=="function"&&T.constructor.isBuffer(T))return h.from(T);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},15389:(E,C,s)=>{var h=s(93663),b=s(87978),f=s(83488),w=s(56449),m=s(50583);E.exports=function(x){return typeof x=="function"?x:x==null?f:typeof x=="object"?w(x)?b(x[0],x[1]):h(x):m(x)}},15972:(E,C,s)=>{var h=s(49724),b=s(62250),f=s(39298),w=s(92522),m=s(57382),g=w("IE_PROTO"),x=Object,k=x.prototype;E.exports=m?x.getPrototypeOf:function(T){var N=f(T);if(h(N,g))return N[g];var P=N.constructor;return b(P)&&N instanceof P?P.prototype:N instanceof x?k:null}},16038:(E,C,s)=>{var h=s(5861),b=s(40346);E.exports=function(w){return b(w)&&h(w)=="[object Set]"}},16426:E=>{E.exports=function(){var C=document.getSelection();if(!C.rangeCount)return function(){};for(var s=document.activeElement,h=[],b=0;b<C.rangeCount;b++)h.push(C.getRangeAt(b));switch(s.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":s.blur();break;default:s=null}return C.removeAllRanges(),function(){C.type==="Caret"&&C.removeAllRanges(),C.rangeCount||h.forEach((function(f){C.addRange(f)})),s&&s.focus()}}},16547:(E,C,s)=>{var h=s(43360),b=s(75288),f=Object.prototype.hasOwnProperty;E.exports=function(m,g,x){var k=m[g];f.call(m,g)&&b(k,x)&&(x!==void 0||g in m)||h(m,g,x)}},16708:(E,C,s)=>{var h,b=s(65606);function f(Me){var p=this;this.next=null,this.entry=null,this.finish=function(){(function(ze,xe,Ne){var rt=ze.entry;for(ze.entry=null;rt;){var gt=rt.callback;xe.pendingcb--,gt(Ne),rt=rt.next}xe.corkedRequestsFree.next=ze})(p,Me)}}E.exports=ge,ge.WritableState=he;var w={deprecate:s(94643)},m=s(40345),g=s(48287).Buffer,x=(s.g!==void 0?s.g:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){},k,T=s(75896),N=s(65291).getHighWaterMark,P=s(86048).F,M=P.ERR_INVALID_ARG_TYPE,U=P.ERR_METHOD_NOT_IMPLEMENTED,J=P.ERR_MULTIPLE_CALLBACK,V=P.ERR_STREAM_CANNOT_PIPE,B=P.ERR_STREAM_DESTROYED,H=P.ERR_STREAM_NULL_VALUES,Q=P.ERR_STREAM_WRITE_AFTER_END,ne=P.ERR_UNKNOWN_ENCODING,ae=T.errorOrDestroy;function Ce(){}function he(Me,p,et){h=h||s(25382),Me=Me||{},typeof et!="boolean"&&(et=p instanceof h),this.objectMode=!!Me.objectMode,et&&(this.objectMode=this.objectMode||!!Me.writableObjectMode),this.highWaterMark=N(this,Me,"writableHighWaterMark",et),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ze=Me.decodeStrings===!1;this.decodeStrings=!ze,this.defaultEncoding=Me.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(xe){(function(rt,gt){var it=rt._writableState,St=it.sync,Y=it.writecb;if(typeof Y!="function")throw new J;if((function(at){at.writing=!1,at.writecb=null,at.length-=at.writelen,at.writelen=0})(it),gt)(function(at,Xt,tr,wt,Nt){--Xt.pendingcb,tr?(b.nextTick(Nt,wt),b.nextTick(st,at,Xt),at._writableState.errorEmitted=!0,ae(at,wt)):(Nt(wt),at._writableState.errorEmitted=!0,ae(at,wt),st(at,Xt))})(rt,it,St,gt,Y);else{var ye=$e(it)||rt.destroyed;ye||it.corked||it.bufferProcessing||!it.bufferedRequest||Be(rt,it),St?b.nextTick(Le,rt,it,ye,Y):Le(rt,it,ye,Y)}})(p,xe)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Me.emitClose!==!1,this.autoDestroy=!!Me.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new f(this)}function ge(Me){var p=this instanceof(h=h||s(25382));if(!p&&!k.call(ge,this))return new ge(Me);this._writableState=new he(Me,this,p),this.writable=!0,Me&&(typeof Me.write=="function"&&(this._write=Me.write),typeof Me.writev=="function"&&(this._writev=Me.writev),typeof Me.destroy=="function"&&(this._destroy=Me.destroy),typeof Me.final=="function"&&(this._final=Me.final)),m.call(this)}function ke(Me,p,et,ze,xe,Ne,rt){p.writelen=ze,p.writecb=rt,p.writing=!0,p.sync=!0,p.destroyed?p.onwrite(new B("write")):et?Me._writev(xe,p.onwrite):Me._write(xe,Ne,p.onwrite),p.sync=!1}function Le(Me,p,et,ze){et||(function(Ne,rt){rt.length===0&&rt.needDrain&&(rt.needDrain=!1,Ne.emit("drain"))})(Me,p),p.pendingcb--,ze(),st(Me,p)}function Be(Me,p){p.bufferProcessing=!0;var et=p.bufferedRequest;if(Me._writev&&et&&et.next){var ze=p.bufferedRequestCount,xe=new Array(ze),Ne=p.corkedRequestsFree;Ne.entry=et;for(var rt=0,gt=!0;et;)xe[rt]=et,et.isBuf||(gt=!1),et=et.next,rt+=1;xe.allBuffers=gt,ke(Me,p,!0,p.length,xe,"",Ne.finish),p.pendingcb++,p.lastBufferedRequest=null,Ne.next?(p.corkedRequestsFree=Ne.next,Ne.next=null):p.corkedRequestsFree=new f(p),p.bufferedRequestCount=0}else{for(;et;){var it=et.chunk,St=et.encoding,Y=et.callback;if(ke(Me,p,!1,p.objectMode?1:it.length,it,St,Y),et=et.next,p.bufferedRequestCount--,p.writing)break}et===null&&(p.lastBufferedRequest=null)}p.bufferedRequest=et,p.bufferProcessing=!1}function $e(Me){return Me.ending&&Me.length===0&&Me.bufferedRequest===null&&!Me.finished&&!Me.writing}function Ke(Me,p){Me._final((function(et){p.pendingcb--,et&&ae(Me,et),p.prefinished=!0,Me.emit("prefinish"),st(Me,p)}))}function st(Me,p){var et=$e(p);if(et&&((function(Ne,rt){rt.prefinished||rt.finalCalled||(typeof Ne._final!="function"||rt.destroyed?(rt.prefinished=!0,Ne.emit("prefinish")):(rt.pendingcb++,rt.finalCalled=!0,b.nextTick(Ke,Ne,rt)))})(Me,p),p.pendingcb===0&&(p.finished=!0,Me.emit("finish"),p.autoDestroy))){var ze=Me._readableState;(!ze||ze.autoDestroy&&ze.endEmitted)&&Me.destroy()}return et}s(56698)(ge,m),he.prototype.getBuffer=function(){for(var p=this.bufferedRequest,et=[];p;)et.push(p),p=p.next;return et},(function(){try{Object.defineProperty(he.prototype,"buffer",{get:w.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Me){}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(k=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:function(p){return!!k.call(this,p)||this===ge&&p&&p._writableState instanceof he}})):k=function(p){return p instanceof this},ge.prototype.pipe=function(){ae(this,new V)},ge.prototype.write=function(Me,p,et){var ze=this._writableState,xe=!1,Ne=!ze.objectMode&&(function(gt){return g.isBuffer(gt)||gt instanceof x})(Me);return Ne&&!g.isBuffer(Me)&&(Me=(function(gt){return g.from(gt)})(Me)),typeof p=="function"&&(et=p,p=null),Ne?p="buffer":p||(p=ze.defaultEncoding),typeof et!="function"&&(et=Ce),ze.ending?(function(gt,it){var St=new Q;ae(gt,St),b.nextTick(it,St)})(this,et):(Ne||(function(gt,it,St,Y){var ye;return St===null?ye=new H:typeof St=="string"||it.objectMode||(ye=new M("chunk",["string","Buffer"],St)),!ye||(ae(gt,ye),b.nextTick(Y,ye),!1)})(this,ze,Me,et))&&(ze.pendingcb++,xe=(function(gt,it,St,Y,ye,nt){if(!St){var at=(function(Jt,Et,ct){return Jt.objectMode||Jt.decodeStrings===!1||typeof Et!="string"||(Et=g.from(Et,ct)),Et})(it,Y,ye);Y!==at&&(St=!0,ye="buffer",Y=at)}var Xt=it.objectMode?1:Y.length;it.length+=Xt;var tr=it.length<it.highWaterMark;if(tr||(it.needDrain=!0),it.writing||it.corked){var wt=it.lastBufferedRequest;it.lastBufferedRequest={chunk:Y,encoding:ye,isBuf:St,callback:nt,next:null},wt?wt.next=it.lastBufferedRequest:it.bufferedRequest=it.lastBufferedRequest,it.bufferedRequestCount+=1}else ke(gt,it,!1,Xt,Y,ye,nt);return tr})(this,ze,Ne,Me,p,et)),xe},ge.prototype.cork=function(){this._writableState.corked++},ge.prototype.uncork=function(){var Me=this._writableState;Me.corked&&(Me.corked--,Me.writing||Me.corked||Me.bufferProcessing||!Me.bufferedRequest||Be(this,Me))},ge.prototype.setDefaultEncoding=function(p){if(typeof p=="string"&&(p=p.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((p+"").toLowerCase())>-1))throw new ne(p);return this._writableState.defaultEncoding=p,this},Object.defineProperty(ge.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ge.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),ge.prototype._write=function(Me,p,et){et(new U("_write()"))},ge.prototype._writev=null,ge.prototype.end=function(Me,p,et){var ze=this._writableState;return typeof Me=="function"?(et=Me,Me=null,p=null):typeof p=="function"&&(et=p,p=null),Me!=null&&this.write(Me,p),ze.corked&&(ze.corked=1,this.uncork()),ze.ending||(function(Ne,rt,gt){rt.ending=!0,st(Ne,rt),gt&&(rt.finished?b.nextTick(gt):Ne.once("finish",gt)),rt.ended=!0,Ne.writable=!1})(this,ze,et),this},Object.defineProperty(ge.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(ge.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(p){this._writableState&&(this._writableState.destroyed=p)}}),ge.prototype.destroy=T.destroy,ge.prototype._undestroy=T.undestroy,ge.prototype._destroy=function(Me,p){p(Me)}},16946:(E,C,s)=>{var h=s(1907),b=s(98828),f=s(45807),w=Object,m=h("".split);E.exports=b((function(){return!w("z").propertyIsEnumerable(0)}))?function(g){return f(g)==="String"?m(g,""):w(g)}:w},16962:(E,C)=>{C.aliasToReal={each:"forEach",eachRight:"forEachRight",entries:"toPairs",entriesIn:"toPairsIn",extend:"assignIn",extendAll:"assignInAll",extendAllWith:"assignInAllWith",extendWith:"assignInWith",first:"head",conforms:"conformsTo",matches:"isMatch",property:"get",__:"placeholder",F:"stubFalse",T:"stubTrue",all:"every",allPass:"overEvery",always:"constant",any:"some",anyPass:"overSome",apply:"spread",assoc:"set",assocPath:"set",complement:"negate",compose:"flowRight",contains:"includes",dissoc:"unset",dissocPath:"unset",dropLast:"dropRight",dropLastWhile:"dropRightWhile",equals:"isEqual",identical:"eq",indexBy:"keyBy",init:"initial",invertObj:"invert",juxt:"over",omitAll:"omit",nAry:"ary",path:"get",pathEq:"matchesProperty",pathOr:"getOr",paths:"at",pickAll:"pick",pipe:"flow",pluck:"map",prop:"get",propEq:"matchesProperty",propOr:"getOr",props:"at",symmetricDifference:"xor",symmetricDifferenceBy:"xorBy",symmetricDifferenceWith:"xorWith",takeLast:"takeRight",takeLastWhile:"takeRightWhile",unapply:"rest",unnest:"flatten",useWith:"overArgs",where:"conformsTo",whereEq:"isMatch",zipObj:"zipObject"},C.aryMethod={1:["assignAll","assignInAll","attempt","castArray","ceil","create","curry","curryRight","defaultsAll","defaultsDeepAll","floor","flow","flowRight","fromPairs","invert","iteratee","memoize","method","mergeAll","methodOf","mixin","nthArg","over","overEvery","overSome","rest","reverse","round","runInContext","spread","template","trim","trimEnd","trimStart","uniqueId","words","zipAll"],2:["add","after","ary","assign","assignAllWith","assignIn","assignInAllWith","at","before","bind","bindAll","bindKey","chunk","cloneDeepWith","cloneWith","concat","conformsTo","countBy","curryN","curryRightN","debounce","defaults","defaultsDeep","defaultTo","delay","difference","divide","drop","dropRight","dropRightWhile","dropWhile","endsWith","eq","every","filter","find","findIndex","findKey","findLast","findLastIndex","findLastKey","flatMap","flatMapDeep","flattenDepth","forEach","forEachRight","forIn","forInRight","forOwn","forOwnRight","get","groupBy","gt","gte","has","hasIn","includes","indexOf","intersection","invertBy","invoke","invokeMap","isEqual","isMatch","join","keyBy","lastIndexOf","lt","lte","map","mapKeys","mapValues","matchesProperty","maxBy","meanBy","merge","mergeAllWith","minBy","multiply","nth","omit","omitBy","overArgs","pad","padEnd","padStart","parseInt","partial","partialRight","partition","pick","pickBy","propertyOf","pull","pullAll","pullAt","random","range","rangeRight","rearg","reject","remove","repeat","restFrom","result","sampleSize","some","sortBy","sortedIndex","sortedIndexOf","sortedLastIndex","sortedLastIndexOf","sortedUniqBy","split","spreadFrom","startsWith","subtract","sumBy","take","takeRight","takeRightWhile","takeWhile","tap","throttle","thru","times","trimChars","trimCharsEnd","trimCharsStart","truncate","union","uniqBy","uniqWith","unset","unzipWith","without","wrap","xor","zip","zipObject","zipObjectDeep"],3:["assignInWith","assignWith","clamp","differenceBy","differenceWith","findFrom","findIndexFrom","findLastFrom","findLastIndexFrom","getOr","includesFrom","indexOfFrom","inRange","intersectionBy","intersectionWith","invokeArgs","invokeArgsMap","isEqualWith","isMatchWith","flatMapDepth","lastIndexOfFrom","mergeWith","orderBy","padChars","padCharsEnd","padCharsStart","pullAllBy","pullAllWith","rangeStep","rangeStepRight","reduce","reduceRight","replace","set","slice","sortedIndexBy","sortedLastIndexBy","transform","unionBy","unionWith","update","xorBy","xorWith","zipWith"],4:["fill","setWith","updateWith"]},C.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},C.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom:1,findLastIndex:1,findLastIndexFrom:1,findLastKey:1,flatMap:1,flatMapDeep:1,flatMapDepth:1,forEach:1,forEachRight:1,forIn:1,forInRight:1,forOwn:1,forOwnRight:1,map:1,mapKeys:1,mapValues:1,partition:1,reduce:2,reduceRight:2,reject:1,remove:1,some:1,takeRightWhile:1,takeWhile:1,times:1,transform:2},C.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},C.methodRearg={assignInAllWith:[1,0],assignInWith:[1,2,0],assignAllWith:[1,0],assignWith:[1,2,0],differenceBy:[1,2,0],differenceWith:[1,2,0],getOr:[2,1,0],intersectionBy:[1,2,0],intersectionWith:[1,2,0],isEqualWith:[1,2,0],isMatchWith:[2,1,0],mergeAllWith:[1,0],mergeWith:[1,2,0],padChars:[2,1,0],padCharsEnd:[2,1,0],padCharsStart:[2,1,0],pullAllBy:[2,1,0],pullAllWith:[2,1,0],rangeStep:[1,2,0],rangeStepRight:[1,2,0],setWith:[3,1,2,0],sortedIndexBy:[2,1,0],sortedLastIndexBy:[2,1,0],unionBy:[1,2,0],unionWith:[1,2,0],updateWith:[3,1,2,0],xorBy:[1,2,0],xorWith:[1,2,0],zipWith:[1,2,0]},C.methodSpread={assignAll:{start:0},assignAllWith:{start:0},assignInAll:{start:0},assignInAllWith:{start:0},defaultsAll:{start:0},defaultsDeepAll:{start:0},invokeArgs:{start:2},invokeArgsMap:{start:2},mergeAll:{start:0},mergeAllWith:{start:0},partial:{start:1},partialRight:{start:1},without:{start:1},zipAll:{start:0}},C.mutate={array:{fill:!0,pull:!0,pullAll:!0,pullAllBy:!0,pullAllWith:!0,pullAt:!0,remove:!0,reverse:!0},object:{assign:!0,assignAll:!0,assignAllWith:!0,assignIn:!0,assignInAll:!0,assignInAllWith:!0,assignInWith:!0,assignWith:!0,defaults:!0,defaultsAll:!0,defaultsDeep:!0,defaultsDeepAll:!0,merge:!0,mergeAll:!0,mergeAllWith:!0,mergeWith:!0},set:{set:!0,setWith:!0,unset:!0,update:!0,updateWith:!0}},C.realToAlias=(function(){var s=Object.prototype.hasOwnProperty,h=C.aliasToReal,b={};for(var f in h){var w=h[f];s.call(b,w)?b[w].push(f):b[w]=[f]}return b})(),C.remap={assignAll:"assign",assignAllWith:"assignWith",assignInAll:"assignIn",assignInAllWith:"assignInWith",curryN:"curry",curryRightN:"curryRight",defaultsAll:"defaults",defaultsDeepAll:"defaultsDeep",findFrom:"find",findIndexFrom:"findIndex",findLastFrom:"findLast",findLastIndexFrom:"findLastIndex",getOr:"get",includesFrom:"includes",indexOfFrom:"indexOf",invokeArgs:"invoke",invokeArgsMap:"invokeMap",lastIndexOfFrom:"lastIndexOf",mergeAll:"merge",mergeAllWith:"mergeWith",padChars:"pad",padCharsEnd:"padEnd",padCharsStart:"padStart",propertyOf:"get",rangeStep:"range",rangeStepRight:"rangeRight",restFrom:"rest",spreadFrom:"spread",trimChars:"trim",trimCharsEnd:"trimEnd",trimCharsStart:"trimStart",zipAll:"zip"},C.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},C.skipRearg={add:!0,assign:!0,assignIn:!0,bind:!0,bindKey:!0,concat:!0,difference:!0,divide:!0,eq:!0,gt:!0,gte:!0,isEqual:!0,lt:!0,lte:!0,matchesProperty:!0,merge:!0,multiply:!0,overArgs:!0,partial:!0,partialRight:!0,propertyOf:!0,random:!0,range:!0,rangeRight:!0,subtract:!0,zip:!0,zipObject:!0,zipObjectDeep:!0}},17255:(E,C,s)=>{var h=s(47422);E.exports=function(f){return function(w){return h(w,f)}}},17285:E=>{function C(f){return f?typeof f=="string"?f:f.source:null}function s(f){return h("(?=",f,")")}function h(...f){return f.map((w=>C(w))).join("")}function b(...f){return"("+f.map((w=>C(w))).join("|")+")"}E.exports=function(w){const m=h(/[A-Z_]/,(function(U){return h("(",U,")?")})(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),g={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},x={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},k=w.inherit(x,{begin:/\(/,end:/\)/}),T=w.inherit(w.APOS_STRING_MODE,{className:"meta-string"}),N=w.inherit(w.QUOTE_STRING_MODE,{className:"meta-string"}),P={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:/[A-Za-z0-9._:-]+/,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[g]},{begin:/'/,end:/'/,contains:[g]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[x,N,T,k,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[x,k,N,T]}]}]},w.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},g,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[P],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[P],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:h(/</,s(h(m,b(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:m,relevance:0,starts:P}]},{className:"tag",begin:h(/<\//,s(h(m,/>/))),contains:[{className:"name",begin:m,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},17400:(E,C,s)=>{var h=s(99374),b=1/0;E.exports=function(w){return w?(w=h(w))===b||w===-1/0?17976931348623157e292*(w<0?-1:1):w==w?w:0:w===0?w:0}},17533:E=>{E.exports=function(s){var h="true false yes no null",b="[\\w#;/?:@&=+$,.~*'()[\\]]+",f={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[s.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},w=s.inherit(f,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),m={className:"number",begin:"\\b[0-9]{4}(-[0-9][0-9]){0,2}([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?(\\.[0-9]*)?([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\\b"},g={end:",",endsWithParent:!0,excludeEnd:!0,keywords:h,relevance:0},x={begin:/\{/,end:/\}/,contains:[g],illegal:"\\n",relevance:0},k={begin:"\\[",end:"\\]",contains:[g],illegal:"\\n",relevance:0},T=[{className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+b},{className:"type",begin:"!<"+b+">"},{className:"type",begin:"!"+b},{className:"type",begin:"!!"+b},{className:"meta",begin:"&"+s.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+s.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},s.HASH_COMMENT_MODE,{beginKeywords:h,keywords:{literal:h}},m,{className:"number",begin:s.C_NUMBER_RE+"\\b",relevance:0},x,k,f],N=[...T];return N.pop(),N.push(w),g.contains=N,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:T}}},17670:(E,C,s)=>{var h=s(12651);E.exports=function(f){var w=h(this,f).delete(f);return this.size-=w?1:0,w}},17965:(E,C,s)=>{var h=s(16426),b={"text/plain":"Text","text/html":"Url",default:"Text"};E.exports=function(w,m){var g,x,k,T,N,P,M=!1;m||(m={}),g=m.debug||!1;try{if(k=h(),T=document.createRange(),N=document.getSelection(),(P=document.createElement("span")).textContent=w,P.ariaHidden="true",P.style.all="unset",P.style.position="fixed",P.style.top=0,P.style.clip="rect(0, 0, 0, 0)",P.style.whiteSpace="pre",P.style.webkitUserSelect="text",P.style.MozUserSelect="text",P.style.msUserSelect="text",P.style.userSelect="text",P.addEventListener("copy",(function(U){if(U.stopPropagation(),m.format)if(U.preventDefault(),U.clipboardData===void 0){window.clipboardData.clearData();var J=b[m.format]||b.default;window.clipboardData.setData(J,w)}else U.clipboardData.clearData(),U.clipboardData.setData(m.format,w);m.onCopy&&(U.preventDefault(),m.onCopy(U.clipboardData))})),document.body.appendChild(P),T.selectNodeContents(P),N.addRange(T),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");M=!0}catch(U){try{window.clipboardData.setData(m.format||"text",w),m.onCopy&&m.onCopy(window.clipboardData),M=!0}catch(J){x=(function(B){var H=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return B.replace(/#{\s*key\s*}/g,H)})("message"in m?m.message:"Copy to clipboard: #{key}, Enter"),window.prompt(x,w)}}finally{N&&(typeof N.removeRange=="function"?N.removeRange(T):N.removeAllRanges()),P&&document.body.removeChild(P),k()}return M}},18073:(E,C,s)=>{var h=s(85087),b=s(54641),f=s(70981);E.exports=function(m,g,x,k,T,N,P,M,U,J){var V=8&g;g|=V?32:64,4&(g&=~(V?64:32))||(g&=-4);var B=[m,g,T,V?N:void 0,V?P:void 0,V?void 0:N,V?void 0:P,M,U,J],H=x.apply(void 0,B);return h(m)&&b(H,B),H.placeholder=k,f(H,m,g)}},19123:(E,C,s)=>{var h=s(65606),b=s(31499),f=s(88310).Stream;function w(g,x,k){var T,N=(function(H,Q){return new Array(Q||0).join(H||"")})(x,k=k||0),P=g;if(typeof g=="object"&&(P=g[T=Object.keys(g)[0]])&&P._elem)return P._elem.name=T,P._elem.icount=k,P._elem.indent=x,P._elem.indents=N,P._elem.interrupt=P,P._elem;var M,U=[],J=[];function V(B){Object.keys(B).forEach((function(H){U.push((function(ne,ae){return ne+'="'+b(ae)+'"'})(H,B[H]))}))}switch(typeof P){case"object":if(P===null)break;P._attr&&V(P._attr),P._cdata&&J.push(("<![CDATA["+P._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),P.forEach&&(M=!1,J.push(""),P.forEach((function(B){typeof B=="object"?Object.keys(B)[0]=="_attr"?V(B._attr):J.push(w(B,x,k+1)):(J.pop(),M=!0,J.push(b(B)))})),M||J.push(""));break;default:J.push(b(P))}return{name:T,interrupt:!1,attributes:U,content:J,icount:k,indents:N,indent:x}}function m(g,x,k){if(typeof x!="object")return g(!1,x);var T=x.interrupt?1:x.content.length;function N(){for(;x.content.length;){var M=x.content.shift();if(M!==void 0){if(P(M))return;m(g,M)}}g(!1,(T>1?x.indents:"")+(x.name?"</"+x.name+">":"")+(x.indent&&!k?`
|
||
`:"")),k&&k()}function P(M){return!!M.interrupt&&(M.interrupt.append=g,M.interrupt.end=N,M.interrupt=!1,g(!0),!0)}if(g(!1,x.indents+(x.name?"<"+x.name:"")+(x.attributes.length?" "+x.attributes.join(" "):"")+(T?x.name?">":"":x.name?"/>":"")+(x.indent&&T>1?`
|
||
`:"")),!T)return g(!1,x.indent?`
|
||
`:"");P(x)||N()}E.exports=function(x,k){typeof k!="object"&&(k={indent:k});var T=k.stream?new f:null,N="",P=!1,M=k.indent?k.indent===!0?" ":k.indent:"",U=!0;function J(Q){U?h.nextTick(Q):Q()}function V(Q,ne){if(ne!==void 0&&(N+=ne),Q&&!P&&(T=T||new f,P=!0),Q&&P){var ae=N;J((function(){T.emit("data",ae)})),N=""}}function B(Q,ne){m(V,w(Q,M,M?1:0),ne)}function H(){if(T){var Q=N;J((function(){T.emit("data",Q),T.emit("end"),T.readable=!1,T.emit("close")}))}}return J((function(){U=!1})),k.declaration&&(function(ne){var ae={version:"1.0",encoding:ne.encoding||"UTF-8"};ne.standalone&&(ae.standalone=ne.standalone),B({"?xml":{_attr:ae}}),N=N.replace("/>","?>")})(k.declaration),x&&x.forEach?x.forEach((function(Q,ne){var ae;ne+1===x.length&&(ae=H),B(Q,ae)})):B(x,H),T?(T.readable=!0,T):N},E.exports.element=E.exports.Element=function(){var x={_elem:w(Array.prototype.slice.call(arguments)),push:function(k){if(!this.append)throw new Error("not assigned to a parent!");var T=this,N=this._elem.indent;m(this.append,w(k,N,this._elem.icount+(N?1:0)),(function(){T.append(!0)}))},close:function(k){k!==void 0&&this.push(k),this.end&&this.end()}};return x}},19219:E=>{E.exports=function(s,h){return s.has(h)}},19287:E=>{E.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},19358:(E,C,s)=>{var h=s(85582),b=s(49724),f=s(61626),w=s(88280),m=s(79192),g=s(19595),x=s(54829),k=s(34084),T=s(32096),N=s(39259),P=s(85884),M=s(39447),U=s(7376);E.exports=function(J,V,B,H){var Q="stackTraceLimit",ne=H?2:1,ae=J.split("."),Ce=ae[ae.length-1],he=h.apply(null,ae);if(he){var ge=he.prototype;if(!U&&b(ge,"cause")&&delete ge.cause,!B)return he;var ke=h("Error"),Le=V((function(Be,$e){var Ke=T(H?$e:Be,void 0),st=H?new he(Be):new he;return Ke!==void 0&&f(st,"message",Ke),P(st,Le,st.stack,2),this&&w(ge,this)&&k(st,this,Le),arguments.length>ne&&N(st,arguments[ne]),st}));if(Le.prototype=ge,Ce!=="Error"?m?m(Le,ke):g(Le,ke,{name:!0}):M&&Q in he&&(x(Le,he,Q),x(Le,he,"prepareStackTrace")),g(Le,he),!U)try{ge.name!==Ce&&f(ge,"name",Ce),ge.constructor=Le}catch(Be){}return Le}}},19570:(E,C,s)=>{var h=s(37334),b=s(93243),f=s(83488),w=b?function(m,g){return b(m,"toString",{configurable:!0,enumerable:!1,value:h(g),writable:!0})}:f;E.exports=w},19595:(E,C,s)=>{var h=s(49724),b=s(11042),f=s(13846),w=s(74284);E.exports=function(m,g,x){for(var k=b(g),T=w.f,N=f.f,P=0;P<k.length;P++){var M=k[P];h(m,M)||x&&h(x,M)||T(m,M,N(g,M))}}},19709:(E,C,s)=>{var h=s(23034);E.exports=h},19846:(E,C,s)=>{var h=s(20798),b=s(98828),f=s(45951).String;E.exports=!!Object.getOwnPropertySymbols&&!b((function(){var w=Symbol("symbol detection");return!f(w)||!(Object(w)instanceof Symbol)||!Symbol.sham&&h&&h<41}))},19931:(E,C,s)=>{var h=s(31769),b=s(68090),f=s(68969),w=s(77797);E.exports=function(g,x){return x=h(x,g),(g=f(g,x))==null||delete g[w(b(x))]}},20181:(E,C,s)=>{var h=/^\s+|\s+$/g,b=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,w=/^0o[0-7]+$/i,m=parseInt,g=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g,x=typeof self=="object"&&self&&self.Object===Object&&self,k=g||x||Function("return this")(),T=Object.prototype.toString,N=Math.max,P=Math.min,M=function(){return k.Date.now()};function U(V){var B=typeof V;return!!V&&(B=="object"||B=="function")}function J(V){if(typeof V=="number")return V;if((function(ne){return typeof ne=="symbol"||(function(Ce){return!!Ce&&typeof Ce=="object"})(ne)&&T.call(ne)=="[object Symbol]"})(V))return NaN;if(U(V)){var B=typeof V.valueOf=="function"?V.valueOf():V;V=U(B)?B+"":B}if(typeof V!="string")return V===0?V:+V;V=V.replace(h,"");var H=f.test(V);return H||w.test(V)?m(V.slice(2),H?2:8):b.test(V)?NaN:+V}E.exports=function(B,H,Q){var ne,ae,Ce,he,ge,ke,Le=0,Be=!1,$e=!1,Ke=!0;if(typeof B!="function")throw new TypeError("Expected a function");function st(xe){var Ne=ne,rt=ae;return ne=ae=void 0,Le=xe,he=B.apply(rt,Ne)}function Me(xe){var Ne=xe-ke;return ke===void 0||Ne>=H||Ne<0||$e&&xe-Le>=Ce}function p(){var xe=M();if(Me(xe))return et(xe);ge=setTimeout(p,(function(rt){var gt=H-(rt-ke);return $e?P(gt,Ce-(rt-Le)):gt})(xe))}function et(xe){return ge=void 0,Ke&&ne?st(xe):(ne=ae=void 0,he)}function ze(){var xe=M(),Ne=Me(xe);if(ne=arguments,ae=this,ke=xe,Ne){if(ge===void 0)return(function(gt){return Le=gt,ge=setTimeout(p,H),Be?st(gt):he})(ke);if($e)return ge=setTimeout(p,H),st(ke)}return ge===void 0&&(ge=setTimeout(p,H)),he}return H=J(H)||0,U(Q)&&(Be=!!Q.leading,Ce=($e="maxWait"in Q)?N(J(Q.maxWait)||0,H):Ce,Ke="trailing"in Q?!!Q.trailing:Ke),ze.cancel=function(){ge!==void 0&&clearTimeout(ge),Le=0,ne=ke=ae=ge=void 0},ze.flush=function(){return ge===void 0?he:et(M())},ze}},20317:E=>{E.exports=function(s){var h=-1,b=Array(s.size);return s.forEach((function(f,w){b[++h]=[w,f]})),b}},20334:(E,C,s)=>{var h=s(48287).Buffer;class b extends Error{constructor(x){super(b._prepareSuperMessage(x)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,b)}static _prepareSuperMessage(x){try{return JSON.stringify(x)}catch(k){return String(x)}}}const f=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],w=Symbol(".toJSON called"),m=({from:g,seen:x,to_:k,forceEnumerable:T,maxDepth:N,depth:P})=>{const M=k||(Array.isArray(g)?[]:{});if(x.push(g),P>=N)return M;if(typeof g.toJSON=="function"&&g[w]!==!0)return(U=>{U[w]=!0;const J=U.toJSON();return delete U[w],J})(g);for(const[U,J]of Object.entries(g))typeof h=="function"&&h.isBuffer(J)?M[U]="[object Buffer]":typeof J!="function"&&(J&&typeof J=="object"?x.includes(g[U])?M[U]="[Circular]":(P++,M[U]=m({from:g[U],seen:x.slice(),forceEnumerable:T,maxDepth:N,depth:P})):M[U]=J);for(const{property:U,enumerable:J}of f)typeof g[U]=="string"&&Object.defineProperty(M,U,{value:g[U],enumerable:!!T||J,configurable:!0,writable:!0});return M};E.exports={serializeError:(g,x={})=>{const{maxDepth:k=Number.POSITIVE_INFINITY}=x;return typeof g=="object"&&g!==null?m({from:g,seen:[],forceEnumerable:!0,maxDepth:k,depth:0}):typeof g=="function"?`[Function: ${g.name||"anonymous"}]`:g},deserializeError:(g,x={})=>{const{maxDepth:k=Number.POSITIVE_INFINITY}=x;if(g instanceof Error)return g;if(typeof g=="object"&&g!==null&&!Array.isArray(g)){const T=new Error;return m({from:g,seen:[],to_:T,maxDepth:k,depth:0}),T}return new b(g)}}},20426:E=>{var C=Object.prototype.hasOwnProperty;E.exports=function(h,b){return h!=null&&C.call(h,b)}},20575:(E,C,s)=>{var h=s(3121);E.exports=function(b){return h(b.length)}},20798:(E,C,s)=>{var h,b,f=s(45951),w=s(96794),m=f.process,g=f.Deno,x=m&&m.versions||g&&g.version,k=x&&x.v8;k&&(b=(h=k.split("."))[0]>0&&h[0]<4?1:+(h[0]+h[1])),!b&&w&&(!(h=w.match(/Edge\/(\d+)/))||h[1]>=74)&&(h=w.match(/Chrome\/(\d+)/))&&(b=+h[1]),E.exports=b},20850:(E,C,s)=>{E.exports=s(46076)},20999:(E,C,s)=>{var h=s(69302),b=s(36800);E.exports=function(w){return h((function(m,g){var x=-1,k=g.length,T=k>1?g[k-1]:void 0,N=k>2?g[2]:void 0;for(T=w.length>3&&typeof T=="function"?(k--,T):void 0,N&&b(g[0],g[1],N)&&(T=k<3?void 0:T,k=1),m=Object(m);++x<k;){var P=g[x];P&&w(m,P,x,T)}return m}))}},21549:(E,C,s)=>{var h=s(22032),b=s(63862),f=s(66721),w=s(12749),m=s(35749);function g(x){var k=-1,T=x==null?0:x.length;for(this.clear();++k<T;){var N=x[k];this.set(N[0],N[1])}}g.prototype.clear=h,g.prototype.delete=b,g.prototype.get=f,g.prototype.has=w,g.prototype.set=m,E.exports=g},21791:(E,C,s)=>{var h=s(16547),b=s(43360);E.exports=function(w,m,g,x){var k=!g;g||(g={});for(var T=-1,N=m.length;++T<N;){var P=m[T],M=x?x(g[P],w[P],P,g,w):void 0;M===void 0&&(M=w[P]),k?b(g,P,M):h(g,P,M)}return g}},21986:(E,C,s)=>{var h=s(51873),b=s(37828),f=s(75288),w=s(25911),m=s(20317),g=s(84247),x=h?h.prototype:void 0,k=x?x.valueOf:void 0;E.exports=function(N,P,M,U,J,V,B){switch(M){case"[object DataView]":if(N.byteLength!=P.byteLength||N.byteOffset!=P.byteOffset)return!1;N=N.buffer,P=P.buffer;case"[object ArrayBuffer]":return!(N.byteLength!=P.byteLength||!V(new b(N),new b(P)));case"[object Boolean]":case"[object Date]":case"[object Number]":return f(+N,+P);case"[object Error]":return N.name==P.name&&N.message==P.message;case"[object RegExp]":case"[object String]":return N==P+"";case"[object Map]":var H=m;case"[object Set]":var Q=1&U;if(H||(H=g),N.size!=P.size&&!Q)return!1;var ne=B.get(N);if(ne)return ne==P;U|=2,B.set(N,P);var ae=w(H(N),H(P),U,J,V,B);return B.delete(N),ae;case"[object Symbol]":if(k)return k.call(N)==k.call(P)}return!1}},22032:(E,C,s)=>{var h=s(81042);E.exports=function(){this.__data__=h?h(null):{},this.size=0}},22225:E=>{var C="\\ud800-\\udfff",s="\\u2700-\\u27bf",h="a-z\\xdf-\\xf6\\xf8-\\xff",b="A-Z\\xc0-\\xd6\\xd8-\\xde",f="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",w="["+f+"]",m="\\d+",g="["+s+"]",x="["+h+"]",k="[^"+C+f+m+s+h+b+"]",T="(?:\\ud83c[\\udde6-\\uddff]){2}",N="[\\ud800-\\udbff][\\udc00-\\udfff]",P="["+b+"]",M="(?:"+x+"|"+k+")",U="(?:"+P+"|"+k+")",J="(?:['’](?:d|ll|m|re|s|t|ve))?",V="(?:['’](?:D|LL|M|RE|S|T|VE))?",B="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",H="[\\ufe0e\\ufe0f]?",Q=H+B+("(?:\\u200d(?:"+["[^"+C+"]",T,N].join("|")+")"+H+B+")*"),ne="(?:"+[g,T,N].join("|")+")"+Q,ae=RegExp([P+"?"+x+"+"+J+"(?="+[w,P,"$"].join("|")+")",U+"+"+V+"(?="+[w,P+M,"$"].join("|")+")",P+"?"+M+"+"+J,P+"+"+V,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",m,ne].join("|"),"g");E.exports=function(he){return he.match(ae)||[]}},22551:(E,C,s)=>{var h=s(96540),b=s(69982);function f(i){for(var l="https://reactjs.org/docs/error-decoder.html?invariant="+i,v=1;v<arguments.length;v++)l+="&args[]="+encodeURIComponent(arguments[v]);return"Minified React error #"+i+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var w=new Set,m={};function g(i,l){x(i,l),x(i+"Capture",l)}function x(i,l){for(m[i]=l,i=0;i<l.length;i++)w.add(l[i])}var k=!(typeof window=="undefined"||window.document===void 0||window.document.createElement===void 0),T=Object.prototype.hasOwnProperty,N=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,P={},M={};function U(i,l,v,A,F,G,oe){this.acceptsBooleans=l===2||l===3||l===4,this.attributeName=A,this.attributeNamespace=F,this.mustUseProperty=v,this.propertyName=i,this.type=l,this.sanitizeURL=G,this.removeEmptyString=oe}var J={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(i){J[i]=new U(i,0,!1,i,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(i){var l=i[0];J[l]=new U(l,1,!1,i[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(i){J[i]=new U(i,2,!1,i.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(i){J[i]=new U(i,2,!1,i,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(i){J[i]=new U(i,3,!1,i.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(i){J[i]=new U(i,3,!0,i,null,!1,!1)})),["capture","download"].forEach((function(i){J[i]=new U(i,4,!1,i,null,!1,!1)})),["cols","rows","size","span"].forEach((function(i){J[i]=new U(i,6,!1,i,null,!1,!1)})),["rowSpan","start"].forEach((function(i){J[i]=new U(i,5,!1,i.toLowerCase(),null,!1,!1)}));var V=/[\-:]([a-z])/g;function B(i){return i[1].toUpperCase()}function H(i,l,v,A){var F=J.hasOwnProperty(l)?J[l]:null;(F!==null?F.type!==0:A||!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&((function(oe,Ae,Pe,De){if(Ae==null||(function(Ze,He,ht,xt){if(ht!==null&&ht.type===0)return!1;switch(typeof He){case"function":case"symbol":return!0;case"boolean":return!xt&&(ht!==null?!ht.acceptsBooleans:(Ze=Ze.toLowerCase().slice(0,5))!=="data-"&&Ze!=="aria-");default:return!1}})(oe,Ae,Pe,De))return!0;if(De)return!1;if(Pe!==null)switch(Pe.type){case 3:return!Ae;case 4:return Ae===!1;case 5:return isNaN(Ae);case 6:return isNaN(Ae)||1>Ae}return!1})(l,v,F,A)&&(v=null),A||F===null?(function(oe){return!!T.call(M,oe)||!T.call(P,oe)&&(N.test(oe)?M[oe]=!0:(P[oe]=!0,!1))})(l)&&(v===null?i.removeAttribute(l):i.setAttribute(l,""+v)):F.mustUseProperty?i[F.propertyName]=v===null?F.type!==3&&"":v:(l=F.attributeName,A=F.attributeNamespace,v===null?i.removeAttribute(l):(v=(F=F.type)===3||F===4&&v===!0?"":""+v,A?i.setAttributeNS(A,l,v):i.setAttribute(l,v))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(i){var l=i.replace(V,B);J[l]=new U(l,1,!1,i,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(i){var l=i.replace(V,B);J[l]=new U(l,1,!1,i,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(i){var l=i.replace(V,B);J[l]=new U(l,1,!1,i,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(i){J[i]=new U(i,1,!1,i.toLowerCase(),null,!1,!1)})),J.xlinkHref=new U("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(i){J[i]=new U(i,1,!1,i.toLowerCase(),null,!0,!0)}));var Q=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ne=Symbol.for("react.element"),ae=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),ke=Symbol.for("react.provider"),Le=Symbol.for("react.context"),Be=Symbol.for("react.forward_ref"),$e=Symbol.for("react.suspense"),Ke=Symbol.for("react.suspense_list"),st=Symbol.for("react.memo"),Me=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),et=Symbol.iterator;function ze(i){return i===null||typeof i!="object"?null:typeof(i=et&&i[et]||i["@@iterator"])=="function"?i:null}var xe,Ne=Object.assign;function rt(i){if(xe===void 0)try{throw Error()}catch(v){var l=v.stack.trim().match(/\n( *(at )?)/);xe=l&&l[1]||""}return`
|
||
`+xe+i}var gt=!1;function it(i,l){if(!i||gt)return"";gt=!0;var v=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(l)if(l=function(){throw Error()},Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(l,[])}catch(De){var A=De}Reflect.construct(i,[],l)}else{try{l.call()}catch(De){A=De}i.call(l.prototype)}else{try{throw Error()}catch(De){A=De}i()}}catch(De){if(De&&A&&typeof De.stack=="string"){for(var F=De.stack.split(`
|
||
`),G=A.stack.split(`
|
||
`),oe=F.length-1,Ae=G.length-1;1<=oe&&0<=Ae&&F[oe]!==G[Ae];)Ae--;for(;1<=oe&&0<=Ae;oe--,Ae--)if(F[oe]!==G[Ae]){if(oe!==1||Ae!==1)do if(oe--,0>--Ae||F[oe]!==G[Ae]){var Pe=`
|
||
`+F[oe].replace(" at new "," at ");return i.displayName&&Pe.includes("<anonymous>")&&(Pe=Pe.replace("<anonymous>",i.displayName)),Pe}while(1<=oe&&0<=Ae);break}}}finally{gt=!1,Error.prepareStackTrace=v}return(i=i?i.displayName||i.name:"")?rt(i):""}function St(i){switch(i.tag){case 5:return rt(i.type);case 16:return rt("Lazy");case 13:return rt("Suspense");case 19:return rt("SuspenseList");case 0:case 2:case 15:return i=it(i.type,!1);case 11:return i=it(i.type.render,!1);case 1:return i=it(i.type,!0);default:return""}}function Y(i){if(i==null)return null;if(typeof i=="function")return i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case Ce:return"Fragment";case ae:return"Portal";case ge:return"Profiler";case he:return"StrictMode";case $e:return"Suspense";case Ke:return"SuspenseList"}if(typeof i=="object")switch(i.$$typeof){case Le:return(i.displayName||"Context")+".Consumer";case ke:return(i._context.displayName||"Context")+".Provider";case Be:var l=i.render;return(i=i.displayName)||(i=(i=l.displayName||l.name||"")!==""?"ForwardRef("+i+")":"ForwardRef"),i;case st:return(l=i.displayName||null)!==null?l:Y(i.type)||"Memo";case Me:l=i._payload,i=i._init;try{return Y(i(l))}catch(v){}}return null}function ye(i){var l=i.type;switch(i.tag){case 24:return"Cache";case 9:return(l.displayName||"Context")+".Consumer";case 10:return(l._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return i=(i=l.render).displayName||i.name||"",l.displayName||(i!==""?"ForwardRef("+i+")":"ForwardRef");case 7:return"Fragment";case 5:return l;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Y(l);case 8:return l===he?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l}return null}function nt(i){switch(typeof i){case"boolean":case"number":case"string":case"undefined":case"object":return i;default:return""}}function at(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function Xt(i){i._valueTracker||(i._valueTracker=(function(v){var A=at(v)?"checked":"value",F=Object.getOwnPropertyDescriptor(v.constructor.prototype,A),G=""+v[A];if(!v.hasOwnProperty(A)&&F!==void 0&&typeof F.get=="function"&&typeof F.set=="function"){var oe=F.get,Ae=F.set;return Object.defineProperty(v,A,{configurable:!0,get:function(){return oe.call(this)},set:function(Pe){G=""+Pe,Ae.call(this,Pe)}}),Object.defineProperty(v,A,{enumerable:F.enumerable}),{getValue:function(){return G},setValue:function(Pe){G=""+Pe},stopTracking:function(){v._valueTracker=null,delete v[A]}}}})(i))}function tr(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var v=l.getValue(),A="";return i&&(A=at(i)?i.checked?"true":"false":i.value),(i=A)!==v&&(l.setValue(i),!0)}function wt(i){if((i=i||(typeof document!="undefined"?document:void 0))===void 0)return null;try{return i.activeElement||i.body}catch(l){return i.body}}function Nt(i,l){var v=l.checked;return Ne({},l,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:v!=null?v:i._wrapperState.initialChecked})}function Jt(i,l){var v=l.defaultValue==null?"":l.defaultValue,A=l.checked!=null?l.checked:l.defaultChecked;v=nt(l.value!=null?l.value:v),i._wrapperState={initialChecked:A,initialValue:v,controlled:l.type==="checkbox"||l.type==="radio"?l.checked!=null:l.value!=null}}function Et(i,l){(l=l.checked)!=null&&H(i,"checked",l,!1)}function ct(i,l){Et(i,l);var v=nt(l.value),A=l.type;if(v!=null)A==="number"?(v===0&&i.value===""||i.value!=v)&&(i.value=""+v):i.value!==""+v&&(i.value=""+v);else if(A==="submit"||A==="reset")return void i.removeAttribute("value");l.hasOwnProperty("value")?pe(i,l.type,v):l.hasOwnProperty("defaultValue")&&pe(i,l.type,nt(l.defaultValue)),l.checked==null&&l.defaultChecked!=null&&(i.defaultChecked=!!l.defaultChecked)}function Rt(i,l,v){if(l.hasOwnProperty("value")||l.hasOwnProperty("defaultValue")){var A=l.type;if(!(A!=="submit"&&A!=="reset"||l.value!==void 0&&l.value!==null))return;l=""+i._wrapperState.initialValue,v||l===i.value||(i.value=l),i.defaultValue=l}(v=i.name)!==""&&(i.name=""),i.defaultChecked=!!i._wrapperState.initialChecked,v!==""&&(i.name=v)}function pe(i,l,v){l==="number"&&wt(i.ownerDocument)===i||(v==null?i.defaultValue=""+i._wrapperState.initialValue:i.defaultValue!==""+v&&(i.defaultValue=""+v))}var z=Array.isArray;function W(i,l,v,A){if(i=i.options,l){l={};for(var F=0;F<v.length;F++)l["$"+v[F]]=!0;for(v=0;v<i.length;v++)F=l.hasOwnProperty("$"+i[v].value),i[v].selected!==F&&(i[v].selected=F),F&&A&&(i[v].defaultSelected=!0)}else{for(v=""+nt(v),l=null,F=0;F<i.length;F++){if(i[F].value===v)return i[F].selected=!0,void(A&&(i[F].defaultSelected=!0));l!==null||i[F].disabled||(l=i[F])}l!==null&&(l.selected=!0)}}function ee(i,l){if(l.dangerouslySetInnerHTML!=null)throw Error(f(91));return Ne({},l,{value:void 0,defaultValue:void 0,children:""+i._wrapperState.initialValue})}function de(i,l){var v=l.value;if(v==null){if(v=l.children,l=l.defaultValue,v!=null){if(l!=null)throw Error(f(92));if(z(v)){if(1<v.length)throw Error(f(93));v=v[0]}l=v}l==null&&(l=""),v=l}i._wrapperState={initialValue:nt(v)}}function we(i,l){var v=nt(l.value),A=nt(l.defaultValue);v!=null&&((v=""+v)!==i.value&&(i.value=v),l.defaultValue==null&&i.defaultValue!==v&&(i.defaultValue=v)),A!=null&&(i.defaultValue=""+A)}function Ie(i){var l=i.textContent;l===i._wrapperState.initialValue&&l!==""&&l!==null&&(i.value=l)}function mt(i){switch(i){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function At(i,l){return i==null||i==="http://www.w3.org/1999/xhtml"?mt(l):i==="http://www.w3.org/2000/svg"&&l==="foreignObject"?"http://www.w3.org/1999/xhtml":i}var lt,yt,Ot=(yt=function(i,l){if(i.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in i)i.innerHTML=l;else{for((lt=lt||document.createElement("div")).innerHTML="<svg>"+l.valueOf().toString()+"</svg>",l=lt.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;l.firstChild;)i.appendChild(l.firstChild)}},typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(i,l,v,A){MSApp.execUnsafeLocalFunction((function(){return yt(i,l)}))}:yt);function Ir(i,l){if(l){var v=i.firstChild;if(v&&v===i.lastChild&&v.nodeType===3)return void(v.nodeValue=l)}i.textContent=l}var $r={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},hn=["Webkit","ms","Moz","O"];function Lr(i,l,v){return l==null||typeof l=="boolean"||l===""?"":v||typeof l!="number"||l===0||$r.hasOwnProperty(i)&&$r[i]?(""+l).trim():l+"px"}function xn(i,l){for(var v in i=i.style,l)if(l.hasOwnProperty(v)){var A=v.indexOf("--")===0,F=Lr(v,l[v],A);v==="float"&&(v="cssFloat"),A?i.setProperty(v,F):i[v]=F}}Object.keys($r).forEach((function(i){hn.forEach((function(l){l=l+i.charAt(0).toUpperCase()+i.substring(1),$r[l]=$r[i]}))}));var Pa=Ne({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Dr(i,l){if(l){if(Pa[i]&&(l.children!=null||l.dangerouslySetInnerHTML!=null))throw Error(f(137,i));if(l.dangerouslySetInnerHTML!=null){if(l.children!=null)throw Error(f(60));if(typeof l.dangerouslySetInnerHTML!="object"||!("__html"in l.dangerouslySetInnerHTML))throw Error(f(61))}if(l.style!=null&&typeof l.style!="object")throw Error(f(62))}}function Qr(i,l){if(i.indexOf("-")===-1)return typeof l.is=="string";switch(i){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wn=null;function Ka(i){return(i=i.target||i.srcElement||window).correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var Mn=null,Tn=null,sa=null;function Uo(i){if(i=_u(i)){if(typeof Mn!="function")throw Error(f(280));var l=i.stateNode;l&&(l=Ni(l),Mn(i.stateNode,i.type,l))}}function zo(i){Tn?sa?sa.push(i):sa=[i]:Tn=i}function Ht(){if(Tn){var i=Tn,l=sa;if(sa=Tn=null,Uo(i),l)for(i=0;i<l.length;i++)Uo(l[i])}}function er(i,l){return i(l)}function vr(){}var Tr=!1;function kr(i,l,v){if(Tr)return i(l,v);Tr=!0;try{return er(i,l,v)}finally{Tr=!1,(Tn!==null||sa!==null)&&(vr(),Ht())}}function Rn(i,l){var v=i.stateNode;if(v===null)return null;var A=Ni(v);if(A===null)return null;v=A[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(A=!A.disabled)||(A=!((i=i.type)==="button"||i==="input"||i==="select"||i==="textarea")),i=!A;break e;default:i=!1}if(i)return null;if(v&&typeof v!="function")throw Error(f(231,l,typeof v));return v}var Zr=!1;if(k)try{var Vr={};Object.defineProperty(Vr,"passive",{get:function(){Zr=!0}}),window.addEventListener("test",Vr,Vr),window.removeEventListener("test",Vr,Vr)}catch(i){Zr=!1}function En(i,l,v,A,F,G,oe,Ae,Pe){var De=Array.prototype.slice.call(arguments,3);try{l.apply(v,De)}catch(Qe){this.onError(Qe)}}var rn=!1,Yn=null,ra=!1,Ta=null,_i={onError:function(i){rn=!0,Yn=i}};function Ga(i,l,v,A,F,G,oe,Ae,Pe){rn=!1,Yn=null,En.apply(_i,arguments)}function La(i){var l=i,v=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do 4098&(l=i).flags&&(v=l.return),i=l.return;while(i)}return l.tag===3?v:null}function _r(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate)!==null&&(l=i.memoizedState),l!==null)return l.dehydrated}return null}function na(i){if(La(i)!==i)throw Error(f(188))}function sr(i){return(i=(function(v){var A=v.alternate;if(!A){if((A=La(v))===null)throw Error(f(188));return A!==v?null:v}for(var F=v,G=A;;){var oe=F.return;if(oe===null)break;var Ae=oe.alternate;if(Ae===null){if((G=oe.return)!==null){F=G;continue}break}if(oe.child===Ae.child){for(Ae=oe.child;Ae;){if(Ae===F)return na(oe),v;if(Ae===G)return na(oe),A;Ae=Ae.sibling}throw Error(f(188))}if(F.return!==G.return)F=oe,G=Ae;else{for(var Pe=!1,De=oe.child;De;){if(De===F){Pe=!0,F=oe,G=Ae;break}if(De===G){Pe=!0,G=oe,F=Ae;break}De=De.sibling}if(!Pe){for(De=Ae.child;De;){if(De===F){Pe=!0,F=Ae,G=oe;break}if(De===G){Pe=!0,G=Ae,F=oe;break}De=De.sibling}if(!Pe)throw Error(f(189))}}if(F.alternate!==G)throw Error(f(190))}if(F.tag!==3)throw Error(f(188));return F.stateNode.current===F?v:A})(i))!==null?mn(i):null}function mn(i){if(i.tag===5||i.tag===6)return i;for(i=i.child;i!==null;){var l=mn(i);if(l!==null)return l;i=i.sibling}return null}var ko=b.unstable_scheduleCallback,Vo=b.unstable_cancelCallback,Or=b.unstable_shouldYield,Ya=b.unstable_requestPaint,Dt=b.unstable_now,ar=b.unstable_getCurrentPriorityLevel,Zt=b.unstable_ImmediatePriority,br=b.unstable_UserBlockingPriority,zn=b.unstable_NormalPriority,Gr=b.unstable_LowPriority,fo=b.unstable_IdlePriority,mo=null,Vn=null,Ba=Math.clz32?Math.clz32:function(l){return l>>>=0,l===0?32:31-(ec(l)/Sp|0)|0},ec=Math.log,Sp=Math.LN2,Ns=64,hl=4194304;function Gi(i){switch(i&-i){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&i;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&i;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return i}}function dl(i,l){var v=i.pendingLanes;if(v===0)return 0;var A=0,F=i.suspendedLanes,G=i.pingedLanes,oe=268435455&v;if(oe!==0){var Ae=oe&~F;Ae!==0?A=Gi(Ae):(G&=oe)!==0&&(A=Gi(G))}else(oe=v&~F)!==0?A=Gi(oe):G!==0&&(A=Gi(G));if(A===0)return 0;if(l!==0&&l!==A&&!(l&F)&&((F=A&-A)>=(G=l&-l)||F===16&&4194240&G))return l;if(4&A&&(A|=16&v),(l=i.entangledLanes)!==0)for(i=i.entanglements,l&=A;0<l;)F=1<<(v=31-Ba(l)),A|=i[v],l&=~F;return A}function ki(i,l){switch(i){case 1:case 2:case 4:return l+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l+5e3;default:return-1}}function tc(i){return(i=-1073741825&i.pendingLanes)!==0?i:1073741824&i?1073741824:0}function Yi(){var i=Ns;return!(4194240&(Ns<<=1))&&(Ns=64),i}function Is(i){for(var l=[],v=0;31>v;v++)l.push(i);return l}function Oi(i,l,v){i.pendingLanes|=l,l!==536870912&&(i.suspendedLanes=0,i.pingedLanes=0),(i=i.eventTimes)[l=31-Ba(l)]=v}function Ms(i,l){var v=i.entangledLanes|=l;for(i=i.entanglements;v;){var A=31-Ba(v),F=1<<A;F&l|i[A]&l&&(i[A]|=l),v&=~F}}var Jr=0;function rc(i){return 1<(i&=-i)?4<i?268435455&i?16:536870912:4:1}var nc,au,xp,_p,gn,ac=!1,fl=[],Dn=null,Na=null,ni=null,Rs=new Map,ai=new Map,oi=[],ml="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function oc(i,l){switch(i){case"focusin":case"focusout":Dn=null;break;case"dragenter":case"dragleave":Na=null;break;case"mouseover":case"mouseout":ni=null;break;case"pointerover":case"pointerout":Rs.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":ai.delete(l.pointerId)}}function gl(i,l,v,A,F,G){return i===null||i.nativeEvent!==G?(i={blockedOn:l,domEventName:v,eventSystemFlags:A,nativeEvent:G,targetContainers:[F]},l!==null&&(l=_u(l))!==null&&au(l),i):(i.eventSystemFlags|=A,l=i.targetContainers,F!==null&&l.indexOf(F)===-1&&l.push(F),i)}function ic(i){var l=Ol(i.target);if(l!==null){var v=La(l);if(v!==null){if((l=v.tag)===13){if((l=_r(v))!==null)return i.blockedOn=l,void gn(i.priority,(function(){xp(v)}))}else if(l===3&&v.stateNode.current.memoizedState.isDehydrated)return void(i.blockedOn=v.tag===3?v.stateNode.containerInfo:null)}}i.blockedOn=null}function ii(i){if(i.blockedOn!==null)return!1;for(var l=i.targetContainers;0<l.length;){var v=Ci(i.domEventName,i.eventSystemFlags,l[0],i.nativeEvent);if(v!==null)return(l=_u(v))!==null&&au(l),i.blockedOn=v,!1;var A=new(v=i.nativeEvent).constructor(v.type,v);wn=A,v.target.dispatchEvent(A),wn=null,l.shift()}return!0}function ou(i,l,v){ii(i)&&v.delete(l)}function Ai(){ac=!1,Dn!==null&&ii(Dn)&&(Dn=null),Na!==null&&ii(Na)&&(Na=null),ni!==null&&ii(ni)&&(ni=null),Rs.forEach(ou),ai.forEach(ou)}function si(i,l){i.blockedOn===l&&(i.blockedOn=null,ac||(ac=!0,b.unstable_scheduleCallback(b.unstable_NormalPriority,Ai)))}function li(i){function l(F){return si(F,i)}if(0<fl.length){si(fl[0],i);for(var v=1;v<fl.length;v++){var A=fl[v];A.blockedOn===i&&(A.blockedOn=null)}}for(Dn!==null&&si(Dn,i),Na!==null&&si(Na,i),ni!==null&&si(ni,i),Rs.forEach(l),ai.forEach(l),v=0;v<oi.length;v++)(A=oi[v]).blockedOn===i&&(A.blockedOn=null);for(;0<oi.length&&(v=oi[0]).blockedOn===null;)ic(v),v.blockedOn===null&&oi.shift()}var yn=Q.ReactCurrentBatchConfig,Ds=!0;function iu(i,l,v,A){var F=Jr,G=yn.transition;yn.transition=null;try{Jr=1,sc(i,l,v,A)}finally{Jr=F,yn.transition=G}}function lr(i,l,v,A){var F=Jr,G=yn.transition;yn.transition=null;try{Jr=4,sc(i,l,v,A)}finally{Jr=F,yn.transition=G}}function sc(i,l,v,A){if(Ds){var F=Ci(i,l,v,A);if(F===null)Mp(i,l,A,la,v),oc(i,A);else if((function(Ae,Pe,De,Qe,Ze){switch(Pe){case"focusin":return Dn=gl(Dn,Ae,Pe,De,Qe,Ze),!0;case"dragenter":return Na=gl(Na,Ae,Pe,De,Qe,Ze),!0;case"mouseover":return ni=gl(ni,Ae,Pe,De,Qe,Ze),!0;case"pointerover":var He=Ze.pointerId;return Rs.set(He,gl(Rs.get(He)||null,Ae,Pe,De,Qe,Ze)),!0;case"gotpointercapture":return He=Ze.pointerId,ai.set(He,gl(ai.get(He)||null,Ae,Pe,De,Qe,Ze)),!0}return!1})(F,i,l,v,A))A.stopPropagation();else if(oc(i,A),4&l&&-1<ml.indexOf(i)){for(;F!==null;){var G=_u(F);if(G!==null&&nc(G),(G=Ci(i,l,v,A))===null&&Mp(i,l,A,la,v),G===F)break;F=G}F!==null&&A.stopPropagation()}else Mp(i,l,A,null,v)}}var la=null;function Ci(i,l,v,A){if(la=null,(i=Ol(i=Ka(A)))!==null)if((l=La(i))===null)i=null;else if((v=l.tag)===13){if((i=_r(l))!==null)return i;i=null}else if(v===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;i=null}else l!==i&&(i=null);return la=i,null}function Xi(i){switch(i){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ar()){case Zt:return 1;case br:return 4;case zn:case Gr:return 16;case fo:return 536870912;default:return 16}default:return 16}}var go=null,lc=null,yl=null;function cc(){if(yl)return yl;var i,l,v=lc,A=v.length,F="value"in go?go.value:go.textContent,G=F.length;for(i=0;i<A&&v[i]===F[i];i++);var oe=A-i;for(l=1;l<=oe&&v[A-l]===F[G-l];l++);return yl=F.slice(i,1<l?1-l:void 0)}function vl(i){var l=i.keyCode;return"charCode"in i?(i=i.charCode)===0&&l===13&&(i=13):i=l,i===10&&(i=13),32<=i||i===13?i:0}function uc(){return!0}function kp(){return!1}function Ia(i){function l(v,A,F,G,oe){for(var Ae in this._reactName=v,this._targetInst=F,this.type=A,this.nativeEvent=G,this.target=oe,this.currentTarget=null,i)i.hasOwnProperty(Ae)&&(v=i[Ae],this[Ae]=v?v(G):G[Ae]);return this.isDefaultPrevented=(G.defaultPrevented!=null?G.defaultPrevented:G.returnValue===!1)?uc:kp,this.isPropagationStopped=kp,this}return Ne(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var v=this.nativeEvent;v&&(v.preventDefault?v.preventDefault():typeof v.returnValue!="unknown"&&(v.returnValue=!1),this.isDefaultPrevented=uc)},stopPropagation:function(){var v=this.nativeEvent;v&&(v.stopPropagation?v.stopPropagation():typeof v.cancelBubble!="unknown"&&(v.cancelBubble=!0),this.isPropagationStopped=uc)},persist:function(){},isPersistent:uc}),l}var su,pc,bl,ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lu=Ia(ci),Fs=Ne({},ci,{view:0,detail:0}),$s=Ia(Fs),ji=Ne({},Fs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Jn,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==bl&&(bl&&i.type==="mousemove"?(su=i.screenX-bl.screenX,pc=i.screenY-bl.screenY):pc=su=0,bl=i),su)},movementY:function(i){return"movementY"in i?i.movementY:pc}}),hc=Ia(ji),cu=Ia(Ne({},ji,{dataTransfer:0})),nn=Ia(Ne({},Fs,{relatedTarget:0})),uu=Ia(Ne({},ci,{animationName:0,elapsedTime:0,pseudoElement:0})),Op=Ne({},ci,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),Ap=Ia(Op),an=Ia(Ne({},ci,{data:0})),dc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ls={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Ea={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ma(i){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(i):!!(i=Ea[i])&&!!l[i]}function Jn(){return Ma}var fc=Ne({},Fs,{key:function(i){if(i.key){var l=dc[i.key]||i.key;if(l!=="Unidentified")return l}return i.type==="keypress"?(i=vl(i))===13?"Enter":String.fromCharCode(i):i.type==="keydown"||i.type==="keyup"?Ls[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Jn,charCode:function(i){return i.type==="keypress"?vl(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?vl(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),Cp=Ia(fc),jp=Ia(Ne({},ji,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ba=Ia(Ne({},Fs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Jn})),Sn=Ia(Ne({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0})),wl=Ne({},ji,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),pu=Ia(wl),hu=[9,13,27,32],Sa=k&&"CompositionEvent"in window,Pi=null;k&&"documentMode"in document&&(Pi=document.documentMode);var du=k&&"TextEvent"in window&&!Pi,El=k&&(!Sa||Pi&&8<Pi&&11>=Pi),yo=" ",fu=!1;function mu(i,l){switch(i){case"keyup":return hu.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Bs(i){return typeof(i=i.detail)=="object"&&"data"in i?i.data:null}var Qi=!1,gu={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fn(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l==="input"?!!gu[i.type]:l==="textarea"}function mc(i,l,v,A){zo(A),0<(l=wc(l,"onChange")).length&&(v=new lu("onChange","change",null,v,A),i.push({event:v,listeners:l}))}var qs=null,Zi=null;function es(i){fg(i,0)}function ui(i){if(tr(_c(i)))return i}function gc(i,l){if(i==="change")return l}var Xa=!1;if(k){var ca;if(k){var Us="oninput"in document;if(!Us){var Pp=document.createElement("div");Pp.setAttribute("oninput","return;"),Us=typeof Pp.oninput=="function"}ca=Us}else ca=!1;Xa=ca&&(!document.documentMode||9<document.documentMode)}function yu(){qs&&(qs.detachEvent("onpropertychange",Sl),Zi=qs=null)}function Sl(i){if(i.propertyName==="value"&&ui(Zi)){var l=[];mc(l,Zi,i,Ka(i)),kr(es,l)}}function vu(i,l,v){i==="focusin"?(yu(),Zi=v,(qs=l).attachEvent("onpropertychange",Sl)):i==="focusout"&&yu()}function Tp(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return ui(Zi)}function Np(i,l){if(i==="click")return ui(l)}function yc(i,l){if(i==="input"||i==="change")return ui(l)}var ua=typeof Object.is=="function"?Object.is:function(l,v){return l===v&&(l!==0||1/l==1/v)||l!=l&&v!=v};function xl(i,l){if(ua(i,l))return!0;if(typeof i!="object"||i===null||typeof l!="object"||l===null)return!1;var v=Object.keys(i),A=Object.keys(l);if(v.length!==A.length)return!1;for(A=0;A<v.length;A++){var F=v[A];if(!T.call(l,F)||!ua(i[F],l[F]))return!1}return!0}function bu(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function y(i,l){var v,A=bu(i);for(i=0;A;){if(A.nodeType===3){if(v=i+A.textContent.length,i<=l&&v>=l)return{node:A,offset:l-i};i=v}e:{for(;A;){if(A.nextSibling){A=A.nextSibling;break e}A=A.parentNode}A=void 0}A=bu(A)}}function I(i,l){return!(!i||!l)&&(i===l||(!i||i.nodeType!==3)&&(l&&l.nodeType===3?I(i,l.parentNode):"contains"in i?i.contains(l):!!i.compareDocumentPosition&&!!(16&i.compareDocumentPosition(l))))}function K(){for(var i=window,l=wt();l instanceof i.HTMLIFrameElement;){try{var v=typeof l.contentWindow.location.href=="string"}catch(A){v=!1}if(!v)break;l=wt((i=l.contentWindow).document)}return l}function Z(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}function re(i){var l=K(),v=i.focusedElem,A=i.selectionRange;if(l!==v&&v&&v.ownerDocument&&I(v.ownerDocument.documentElement,v)){if(A!==null&&Z(v)){if(l=A.start,(i=A.end)===void 0&&(i=l),"selectionStart"in v)v.selectionStart=l,v.selectionEnd=Math.min(i,v.value.length);else if((i=(l=v.ownerDocument||document)&&l.defaultView||window).getSelection){i=i.getSelection();var F=v.textContent.length,G=Math.min(A.start,F);A=A.end===void 0?G:Math.min(A.end,F),!i.extend&&G>A&&(F=A,A=G,G=F),F=y(v,G);var oe=y(v,A);F&&oe&&(i.rangeCount!==1||i.anchorNode!==F.node||i.anchorOffset!==F.offset||i.focusNode!==oe.node||i.focusOffset!==oe.offset)&&((l=l.createRange()).setStart(F.node,F.offset),i.removeAllRanges(),G>A?(i.addRange(l),i.extend(oe.node,oe.offset)):(l.setEnd(oe.node,oe.offset),i.addRange(l)))}}for(l=[],i=v;i=i.parentNode;)i.nodeType===1&&l.push({element:i,left:i.scrollLeft,top:i.scrollTop});for(typeof v.focus=="function"&&v.focus(),v=0;v<l.length;v++)(i=l[v]).element.scrollLeft=i.left,i.element.scrollTop=i.top}}var Se=k&&"documentMode"in document&&11>=document.documentMode,Oe=null,Fe=null,ut=null,ot=!1;function vt(i,l,v){var A=v.window===v?v.document:v.nodeType===9?v:v.ownerDocument;ot||Oe==null||Oe!==wt(A)||("selectionStart"in(A=Oe)&&Z(A)?A={start:A.selectionStart,end:A.selectionEnd}:A={anchorNode:(A=(A.ownerDocument&&A.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:A.anchorOffset,focusNode:A.focusNode,focusOffset:A.focusOffset},ut&&xl(ut,A)||(ut=A,0<(A=wc(Fe,"onSelect")).length&&(l=new lu("onSelect","select",null,l,v),i.push({event:l,listeners:A}),l.target=Oe)))}function Bt(i,l){var v={};return v[i.toLowerCase()]=l.toLowerCase(),v["Webkit"+i]="webkit"+l,v["Moz"+i]="moz"+l,v}var zt={animationend:Bt("Animation","AnimationEnd"),animationiteration:Bt("Animation","AnimationIteration"),animationstart:Bt("Animation","AnimationStart"),transitionend:Bt("Transition","TransitionEnd")},fr={},Er={};function vn(i){if(fr[i])return fr[i];if(!zt[i])return i;var l,v=zt[i];for(l in v)if(v.hasOwnProperty(l)&&l in Er)return fr[i]=v[l];return i}k&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete zt.animationend.animation,delete zt.animationiteration.animation,delete zt.animationstart.animation),"TransitionEvent"in window||delete zt.transitionend.transition);var Qa=vn("animationend"),Kt=vn("animationiteration"),Ti=vn("animationstart"),vd=vn("transitionend"),ts=new Map,bd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Oo(i,l){ts.set(i,l),g(l,[i])}for(var wu=0;wu<bd.length;wu++){var Xn=bd[wu];Oo(Xn.toLowerCase(),"on"+(Xn[0].toUpperCase()+Xn.slice(1)))}Oo(Qa,"onAnimationEnd"),Oo(Kt,"onAnimationIteration"),Oo(Ti,"onAnimationStart"),Oo("dblclick","onDoubleClick"),Oo("focusin","onFocus"),Oo("focusout","onBlur"),Oo(vd,"onTransitionEnd"),x("onMouseEnter",["mouseout","mouseover"]),x("onMouseLeave",["mouseout","mouseover"]),x("onPointerEnter",["pointerout","pointerover"]),x("onPointerLeave",["pointerout","pointerover"]),g("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),g("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),g("onBeforeInput",["compositionend","keypress","textInput","paste"]),g("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),g("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var zs="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wd=new Set("cancel close invalid load scroll toggle".split(" ").concat(zs));function Ed(i,l,v){var A=i.type||"unknown-event";i.currentTarget=v,(function(G,oe,Ae,Pe,De,Qe,Ze,He,ht){if(Ga.apply(this,arguments),rn){if(!rn)throw Error(f(198));var xt=Yn;rn=!1,Yn=null,ra||(ra=!0,Ta=xt)}})(A,l,void 0,i),i.currentTarget=null}function fg(i,l){l=!!(4&l);for(var v=0;v<i.length;v++){var A=i[v],F=A.event;A=A.listeners;e:{var G=void 0;if(l)for(var oe=A.length-1;0<=oe;oe--){var Ae=A[oe],Pe=Ae.instance,De=Ae.currentTarget;if(Ae=Ae.listener,Pe!==G&&F.isPropagationStopped())break e;Ed(F,Ae,De),G=Pe}else for(oe=0;oe<A.length;oe++){if(Pe=(Ae=A[oe]).instance,De=Ae.currentTarget,Ae=Ae.listener,Pe!==G&&F.isPropagationStopped())break e;Ed(F,Ae,De),G=Pe}}}if(ra)throw i=Ta,ra=!1,Ta=null,i}function Nn(i,l){var v=l[xu];v===void 0&&(v=l[xu]=new Set);var A=i+"__bubble";v.has(A)||(Sd(l,i,2,!1),v.add(A))}function Vs(i,l,v){var A=0;l&&(A|=4),Sd(v,i,A,l)}var Ip="_reactListening"+Math.random().toString(36).slice(2);function vc(i){if(!i[Ip]){i[Ip]=!0,w.forEach((function(v){v!=="selectionchange"&&(wd.has(v)||Vs(v,!1,i),Vs(v,!0,i))}));var l=i.nodeType===9?i:i.ownerDocument;l===null||l[Ip]||(l[Ip]=!0,Vs("selectionchange",!1,l))}}function Sd(i,l,v,A){switch(Xi(l)){case 1:var F=iu;break;case 4:F=lr;break;default:F=sc}v=F.bind(null,l,v,i),F=void 0,!Zr||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(F=!0),A?F!==void 0?i.addEventListener(l,v,{capture:!0,passive:F}):i.addEventListener(l,v,!0):F!==void 0?i.addEventListener(l,v,{passive:F}):i.addEventListener(l,v,!1)}function Mp(i,l,v,A,F){var G=A;if(!(1&l||2&l||A===null))e:for(;;){if(A===null)return;var oe=A.tag;if(oe===3||oe===4){var Ae=A.stateNode.containerInfo;if(Ae===F||Ae.nodeType===8&&Ae.parentNode===F)break;if(oe===4)for(oe=A.return;oe!==null;){var Pe=oe.tag;if((Pe===3||Pe===4)&&((Pe=oe.stateNode.containerInfo)===F||Pe.nodeType===8&&Pe.parentNode===F))return;oe=oe.return}for(;Ae!==null;){if((oe=Ol(Ae))===null)return;if((Pe=oe.tag)===5||Pe===6){A=G=oe;continue e}Ae=Ae.parentNode}}A=A.return}kr((function(){var De=G,Qe=Ka(v),Ze=[];e:{var He=ts.get(i);if(He!==void 0){var ht=lu,xt=i;switch(i){case"keypress":if(vl(v)===0)break e;case"keydown":case"keyup":ht=Cp;break;case"focusin":xt="focus",ht=nn;break;case"focusout":xt="blur",ht=nn;break;case"beforeblur":case"afterblur":ht=nn;break;case"click":if(v.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ht=hc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ht=cu;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ht=ba;break;case Qa:case Kt:case Ti:ht=uu;break;case vd:ht=Sn;break;case"scroll":ht=$s;break;case"wheel":ht=pu;break;case"copy":case"cut":case"paste":ht=Ap;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ht=jp}var bt=!!(4&l),Je=!bt&&i==="scroll",Te=bt?He!==null?He+"Capture":null:He;bt=[];for(var We,dt=De;dt!==null;){var Ft=(We=dt).stateNode;if(We.tag===5&&Ft!==null&&(We=Ft,Te!==null&&(Ft=Rn(dt,Te))!=null&&bt.push(bc(dt,Ft,We))),Je)break;dt=dt.return}0<bt.length&&(He=new ht(He,xt,null,v,Qe),Ze.push({event:He,listeners:bt}))}}if(!(7&l)){if(ht=i==="mouseout"||i==="pointerout",(!(He=i==="mouseover"||i==="pointerover")||v===wn||!(xt=v.relatedTarget||v.fromElement)||!Ol(xt)&&!xt[ns])&&(ht||He)&&(He=Qe.window===Qe?Qe:(He=Qe.ownerDocument)?He.defaultView||He.parentWindow:window,ht?(ht=De,(xt=(xt=v.relatedTarget||v.toElement)?Ol(xt):null)!==null&&(xt!==(Je=La(xt))||xt.tag!==5&&xt.tag!==6)&&(xt=null)):(ht=null,xt=De),ht!==xt)){if(bt=hc,Ft="onMouseLeave",Te="onMouseEnter",dt="mouse",i!=="pointerout"&&i!=="pointerover"||(bt=jp,Ft="onPointerLeave",Te="onPointerEnter",dt="pointer"),Je=ht==null?He:_c(ht),We=xt==null?He:_c(xt),(He=new bt(Ft,dt+"leave",ht,v,Qe)).target=Je,He.relatedTarget=We,Ft=null,Ol(Qe)===De&&((bt=new bt(Te,dt+"enter",xt,v,Qe)).target=We,bt.relatedTarget=Je,Ft=bt),Je=Ft,ht&&xt)e:{for(Te=xt,dt=0,We=bt=ht;We;We=Ec(We))dt++;for(We=0,Ft=Te;Ft;Ft=Ec(Ft))We++;for(;0<dt-We;)bt=Ec(bt),dt--;for(;0<We-dt;)Te=Ec(Te),We--;for(;dt--;){if(bt===Te||Te!==null&&bt===Te.alternate)break e;bt=Ec(bt),Te=Ec(Te)}bt=null}else bt=null;ht!==null&&mg(Ze,He,ht,bt,!1),xt!==null&&Je!==null&&mg(Ze,Je,xt,bt,!0)}if((ht=(He=De?_c(De):window).nodeName&&He.nodeName.toLowerCase())==="select"||ht==="input"&&He.type==="file")var Sr=gc;else if(Fn(He))if(Xa)Sr=yc;else{Sr=Tp;var Tt=vu}else(ht=He.nodeName)&&ht.toLowerCase()==="input"&&(He.type==="checkbox"||He.type==="radio")&&(Sr=Np);switch(Sr&&(Sr=Sr(i,De))?mc(Ze,Sr,v,Qe):(Tt&&Tt(i,He,De),i==="focusout"&&(Tt=He._wrapperState)&&Tt.controlled&&He.type==="number"&&pe(He,"number",He.value)),Tt=De?_c(De):window,i){case"focusin":(Fn(Tt)||Tt.contentEditable==="true")&&(Oe=Tt,Fe=De,ut=null);break;case"focusout":ut=Fe=Oe=null;break;case"mousedown":ot=!0;break;case"contextmenu":case"mouseup":case"dragend":ot=!1,vt(Ze,v,Qe);break;case"selectionchange":if(Se)break;case"keydown":case"keyup":vt(Ze,v,Qe)}var yr;if(Sa)e:{switch(i){case"compositionstart":var Hr="onCompositionStart";break e;case"compositionend":Hr="onCompositionEnd";break e;case"compositionupdate":Hr="onCompositionUpdate";break e}Hr=void 0}else Qi?mu(i,v)&&(Hr="onCompositionEnd"):i==="keydown"&&v.keyCode===229&&(Hr="onCompositionStart");Hr&&(El&&v.locale!=="ko"&&(Qi||Hr!=="onCompositionStart"?Hr==="onCompositionEnd"&&Qi&&(yr=cc()):(lc="value"in(go=Qe)?go.value:go.textContent,Qi=!0)),0<(Tt=wc(De,Hr)).length&&(Hr=new an(Hr,i,null,v,Qe),Ze.push({event:Hr,listeners:Tt}),(yr||(yr=Bs(v))!==null)&&(Hr.data=yr))),(yr=du?(function(tn,In){switch(tn){case"compositionend":return Bs(In);case"keypress":return In.which!==32?null:(fu=!0,yo);case"textInput":return(tn=In.data)===yo&&fu?null:tn;default:return null}})(i,v):(function(tn,In){if(Qi)return tn==="compositionend"||!Sa&&mu(tn,In)?(tn=cc(),yl=lc=go=null,Qi=!1,tn):null;switch(tn){case"paste":default:return null;case"keypress":if(!(In.ctrlKey||In.altKey||In.metaKey)||In.ctrlKey&&In.altKey){if(In.char&&1<In.char.length)return In.char;if(In.which)return String.fromCharCode(In.which)}return null;case"compositionend":return El&&In.locale!=="ko"?null:In.data}})(i,v))&&0<(De=wc(De,"onBeforeInput")).length&&(Qe=new an("onBeforeInput","beforeinput",null,v,Qe),Ze.push({event:Qe,listeners:De}),Qe.data=yr)}fg(Ze,l)}))}function bc(i,l,v){return{instance:i,listener:l,currentTarget:v}}function wc(i,l){for(var v=l+"Capture",A=[];i!==null;){var F=i,G=F.stateNode;F.tag===5&&G!==null&&(F=G,(G=Rn(i,v))!=null&&A.unshift(bc(i,G,F)),(G=Rn(i,l))!=null&&A.push(bc(i,G,F))),i=i.return}return A}function Ec(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5);return i||null}function mg(i,l,v,A,F){for(var G=l._reactName,oe=[];v!==null&&v!==A;){var Ae=v,Pe=Ae.alternate,De=Ae.stateNode;if(Pe!==null&&Pe===A)break;Ae.tag===5&&De!==null&&(Ae=De,F?(Pe=Rn(v,G))!=null&&oe.unshift(bc(v,Pe,Ae)):F||(Pe=Rn(v,G))!=null&&oe.push(bc(v,Pe,Ae))),v=v.return}oe.length!==0&&i.push({event:l,listeners:oe})}var U0=/\r\n?/g,z0=/\u0000|\uFFFD/g;function gg(i){return(typeof i=="string"?i:""+i).replace(U0,`
|
||
`).replace(z0,"")}function Eu(i,l,v){if(l=gg(l),gg(i)!==l&&v)throw Error(f(425))}function Sc(){}var xc=null,_l=null;function Rp(i,l){return i==="textarea"||i==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var Dp=typeof setTimeout=="function"?setTimeout:void 0,Su=typeof clearTimeout=="function"?clearTimeout:void 0,xd=typeof Promise=="function"?Promise:void 0,V0=typeof queueMicrotask=="function"?queueMicrotask:xd!==void 0?function(i){return xd.resolve(null).then(i).catch(J0)}:Dp;function J0(i){setTimeout((function(){throw i}))}function Fp(i,l){var v=l,A=0;do{var F=v.nextSibling;if(i.removeChild(v),F&&F.nodeType===8)if((v=F.data)==="/$"){if(A===0)return i.removeChild(F),void li(l);A--}else v!=="$"&&v!=="$?"&&v!=="$!"||A++;v=F}while(v);li(l)}function rs(i){for(;i!=null;i=i.nextSibling){var l=i.nodeType;if(l===1||l===3)break;if(l===8){if((l=i.data)==="$"||l==="$!"||l==="$?")break;if(l==="/$")return null}}return i}function _d(i){i=i.previousSibling;for(var l=0;i;){if(i.nodeType===8){var v=i.data;if(v==="$"||v==="$!"||v==="$?"){if(l===0)return i;l--}else v==="/$"&&l++}i=i.previousSibling}return null}var kl=Math.random().toString(36).slice(2),pi="__reactFiber$"+kl,Ao="__reactProps$"+kl,ns="__reactContainer$"+kl,xu="__reactEvents$"+kl,W0="__reactListeners$"+kl,kd="__reactHandles$"+kl;function Ol(i){var l=i[pi];if(l)return l;for(var v=i.parentNode;v;){if(l=v[ns]||v[pi]){if(v=l.alternate,l.child!==null||v!==null&&v.child!==null)for(i=_d(i);i!==null;){if(v=i[pi])return v;i=_d(i)}return l}v=(i=v).parentNode}return null}function _u(i){return!(i=i[pi]||i[ns])||i.tag!==5&&i.tag!==6&&i.tag!==13&&i.tag!==3?null:i}function _c(i){if(i.tag===5||i.tag===6)return i.stateNode;throw Error(f(33))}function Ni(i){return i[Ao]||null}var Od=[],kc=-1;function Js(i){return{current:i}}function $n(i){0>kc||(i.current=Od[kc],Od[kc]=null,kc--)}function _n(i,l){kc++,Od[kc]=i.current,i.current=l}var Ws={},qa=Js(Ws),vo=Js(!1),Al=Ws;function Oc(i,l){var v=i.type.contextTypes;if(!v)return Ws;var A=i.stateNode;if(A&&A.__reactInternalMemoizedUnmaskedChildContext===l)return A.__reactInternalMemoizedMaskedChildContext;var F,G={};for(F in v)G[F]=l[F];return A&&((i=i.stateNode).__reactInternalMemoizedUnmaskedChildContext=l,i.__reactInternalMemoizedMaskedChildContext=G),G}function Ln(i){return(i=i.childContextTypes)!=null}function ku(){$n(vo),$n(qa)}function $p(i,l,v){if(qa.current!==Ws)throw Error(f(168));_n(qa,l),_n(vo,v)}function yg(i,l,v){var A=i.stateNode;if(l=l.childContextTypes,typeof A.getChildContext!="function")return v;for(var F in A=A.getChildContext())if(!(F in l))throw Error(f(108,ye(i)||"Unknown",F));return Ne({},v,A)}function Lp(i){return i=(i=i.stateNode)&&i.__reactInternalMemoizedMergedChildContext||Ws,Al=qa.current,_n(qa,i),_n(vo,vo.current),!0}function vg(i,l,v){var A=i.stateNode;if(!A)throw Error(f(169));v?(i=yg(i,l,Al),A.__reactInternalMemoizedMergedChildContext=i,$n(vo),$n(qa),_n(qa,i)):$n(vo),_n(vo,v)}var as=null,Bp=!1,Ad=!1;function bg(i){as===null?as=[i]:as.push(i)}function os(){if(!Ad&&as!==null){Ad=!0;var i=0,l=Jr;try{var v=as;for(Jr=1;i<v.length;i++){var A=v[i];do A=A(!0);while(A!==null)}as=null,Bp=!1}catch(F){throw as!==null&&(as=as.slice(i+1)),ko(Zt,os),F}finally{Jr=l,Ad=!1}}return null}var Hs=[],Ac=0,qp=null,Ou=0,Co=[],Jo=0,Cl=null,hi=1,is="";function jl(i,l){Hs[Ac++]=Ou,Hs[Ac++]=qp,qp=i,Ou=l}function Cd(i,l,v){Co[Jo++]=hi,Co[Jo++]=is,Co[Jo++]=Cl,Cl=i;var A=hi;i=is;var F=32-Ba(A)-1;A&=~(1<<F),v+=1;var G=32-Ba(l)+F;if(30<G){var oe=F-F%5;G=(A&(1<<oe)-1).toString(32),A>>=oe,F-=oe,hi=1<<32-Ba(l)+F|v<<F|A,is=G+i}else hi=1<<G|v<<F|A,is=i}function jd(i){i.return!==null&&(jl(i,1),Cd(i,1,0))}function Pd(i){for(;i===qp;)qp=Hs[--Ac],Hs[Ac]=null,Ou=Hs[--Ac],Hs[Ac]=null;for(;i===Cl;)Cl=Co[--Jo],Co[Jo]=null,is=Co[--Jo],Co[Jo]=null,hi=Co[--Jo],Co[Jo]=null}var jo=null,Po=null,kn=!1,di=null;function wg(i,l){var v=Yo(5,null,null,0);v.elementType="DELETED",v.stateNode=l,v.return=i,(l=i.deletions)===null?(i.deletions=[v],i.flags|=16):l.push(v)}function Cc(i,l){switch(i.tag){case 5:var v=i.type;return(l=l.nodeType!==1||v.toLowerCase()!==l.nodeName.toLowerCase()?null:l)!==null&&(i.stateNode=l,jo=i,Po=rs(l.firstChild),!0);case 6:return(l=i.pendingProps===""||l.nodeType!==3?null:l)!==null&&(i.stateNode=l,jo=i,Po=null,!0);case 13:return(l=l.nodeType!==8?null:l)!==null&&(v=Cl!==null?{id:hi,overflow:is}:null,i.memoizedState={dehydrated:l,treeContext:v,retryLane:1073741824},(v=Yo(18,null,null,0)).stateNode=l,v.return=i,i.child=v,jo=i,Po=null,!0);default:return!1}}function Au(i){return!(!(1&i.mode)||128&i.flags)}function Up(i){if(kn){var l=Po;if(l){var v=l;if(!Cc(i,l)){if(Au(i))throw Error(f(418));l=rs(v.nextSibling);var A=jo;l&&Cc(i,l)?wg(A,v):(i.flags=-4097&i.flags|2,kn=!1,jo=i)}}else{if(Au(i))throw Error(f(418));i.flags=-4097&i.flags|2,kn=!1,jo=i}}}function Eg(i){for(i=i.return;i!==null&&i.tag!==5&&i.tag!==3&&i.tag!==13;)i=i.return;jo=i}function Cu(i){if(i!==jo)return!1;if(!kn)return Eg(i),kn=!0,!1;var l;if((l=i.tag!==3)&&!(l=i.tag!==5)&&(l=(l=i.type)!=="head"&&l!=="body"&&!Rp(i.type,i.memoizedProps)),l&&(l=Po)){if(Au(i))throw Sg(),Error(f(418));for(;l;)wg(i,l),l=rs(l.nextSibling)}if(Eg(i),i.tag===13){if(!(i=(i=i.memoizedState)!==null?i.dehydrated:null))throw Error(f(317));e:{for(i=i.nextSibling,l=0;i;){if(i.nodeType===8){var v=i.data;if(v==="/$"){if(l===0){Po=rs(i.nextSibling);break e}l--}else v!=="$"&&v!=="$!"&&v!=="$?"||l++}i=i.nextSibling}Po=null}}else Po=jo?rs(i.stateNode.nextSibling):null;return!0}function Sg(){for(var i=Po;i;)i=rs(i.nextSibling)}function Pl(){Po=jo=null,kn=!1}function Td(i){di===null?di=[i]:di.push(i)}var Wr=Q.ReactCurrentBatchConfig;function ju(i,l,v){if((i=v.ref)!==null&&typeof i!="function"&&typeof i!="object"){if(v._owner){if(v=v._owner){if(v.tag!==1)throw Error(f(309));var A=v.stateNode}if(!A)throw Error(f(147,i));var F=A,G=""+i;return l!==null&&l.ref!==null&&typeof l.ref=="function"&&l.ref._stringRef===G?l.ref:(l=function(oe){var Ae=F.refs;oe===null?delete Ae[G]:Ae[G]=oe},l._stringRef=G,l)}if(typeof i!="string")throw Error(f(284));if(!v._owner)throw Error(f(290,i))}return i}function zp(i,l){throw i=Object.prototype.toString.call(l),Error(f(31,i==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":i))}function xg(i){return(0,i._init)(i._payload)}function _g(i){function l(Je,Te){if(i){var We=Je.deletions;We===null?(Je.deletions=[Te],Je.flags|=16):We.push(Te)}}function v(Je,Te){if(!i)return null;for(;Te!==null;)l(Je,Te),Te=Te.sibling;return null}function A(Je,Te){for(Je=new Map;Te!==null;)Te.key!==null?Je.set(Te.key,Te):Je.set(Te.index,Te),Te=Te.sibling;return Je}function F(Je,Te){return(Je=Zs(Je,Te)).index=0,Je.sibling=null,Je}function G(Je,Te,We){return Je.index=We,i?(We=Je.alternate)!==null?(We=We.index)<Te?(Je.flags|=2,Te):We:(Je.flags|=2,Te):(Je.flags|=1048576,Te)}function oe(Je){return i&&Je.alternate===null&&(Je.flags|=2),Je}function Ae(Je,Te,We,dt){return Te===null||Te.tag!==6?((Te=Nf(We,Je.mode,dt)).return=Je,Te):((Te=F(Te,We)).return=Je,Te)}function Pe(Je,Te,We,dt){var Ft=We.type;return Ft===Ce?Qe(Je,Te,We.props.children,dt,We.key):Te!==null&&(Te.elementType===Ft||typeof Ft=="object"&&Ft!==null&&Ft.$$typeof===Me&&xg(Ft)===Te.type)?((dt=F(Te,We.props)).ref=ju(Je,Te,We),dt.return=Je,dt):((dt=kh(We.type,We.key,We.props,null,Je.mode,dt)).ref=ju(Je,Te,We),dt.return=Je,dt)}function De(Je,Te,We,dt){return Te===null||Te.tag!==4||Te.stateNode.containerInfo!==We.containerInfo||Te.stateNode.implementation!==We.implementation?((Te=If(We,Je.mode,dt)).return=Je,Te):((Te=F(Te,We.children||[])).return=Je,Te)}function Qe(Je,Te,We,dt,Ft){return Te===null||Te.tag!==7?((Te=$l(We,Je.mode,dt,Ft)).return=Je,Te):((Te=F(Te,We)).return=Je,Te)}function Ze(Je,Te,We){if(typeof Te=="string"&&Te!==""||typeof Te=="number")return(Te=Nf(""+Te,Je.mode,We)).return=Je,Te;if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case ne:return(We=kh(Te.type,Te.key,Te.props,null,Je.mode,We)).ref=ju(Je,null,Te),We.return=Je,We;case ae:return(Te=If(Te,Je.mode,We)).return=Je,Te;case Me:return Ze(Je,(0,Te._init)(Te._payload),We)}if(z(Te)||ze(Te))return(Te=$l(Te,Je.mode,We,null)).return=Je,Te;zp(Je,Te)}return null}function He(Je,Te,We,dt){var Ft=Te!==null?Te.key:null;if(typeof We=="string"&&We!==""||typeof We=="number")return Ft!==null?null:Ae(Je,Te,""+We,dt);if(typeof We=="object"&&We!==null){switch(We.$$typeof){case ne:return We.key===Ft?Pe(Je,Te,We,dt):null;case ae:return We.key===Ft?De(Je,Te,We,dt):null;case Me:return He(Je,Te,(Ft=We._init)(We._payload),dt)}if(z(We)||ze(We))return Ft!==null?null:Qe(Je,Te,We,dt,null);zp(Je,We)}return null}function ht(Je,Te,We,dt,Ft){if(typeof dt=="string"&&dt!==""||typeof dt=="number")return Ae(Te,Je=Je.get(We)||null,""+dt,Ft);if(typeof dt=="object"&&dt!==null){switch(dt.$$typeof){case ne:return Pe(Te,Je=Je.get(dt.key===null?We:dt.key)||null,dt,Ft);case ae:return De(Te,Je=Je.get(dt.key===null?We:dt.key)||null,dt,Ft);case Me:return ht(Je,Te,We,(0,dt._init)(dt._payload),Ft)}if(z(dt)||ze(dt))return Qe(Te,Je=Je.get(We)||null,dt,Ft,null);zp(Te,dt)}return null}function xt(Je,Te,We,dt){for(var Ft=null,Sr=null,Tt=Te,yr=Te=0,Hr=null;Tt!==null&&yr<We.length;yr++){Tt.index>yr?(Hr=Tt,Tt=null):Hr=Tt.sibling;var Kr=He(Je,Tt,We[yr],dt);if(Kr===null){Tt===null&&(Tt=Hr);break}i&&Tt&&Kr.alternate===null&&l(Je,Tt),Te=G(Kr,Te,yr),Sr===null?Ft=Kr:Sr.sibling=Kr,Sr=Kr,Tt=Hr}if(yr===We.length)return v(Je,Tt),kn&&jl(Je,yr),Ft;if(Tt===null){for(;yr<We.length;yr++)(Tt=Ze(Je,We[yr],dt))!==null&&(Te=G(Tt,Te,yr),Sr===null?Ft=Tt:Sr.sibling=Tt,Sr=Tt);return kn&&jl(Je,yr),Ft}for(Tt=A(Je,Tt);yr<We.length;yr++)(Hr=ht(Tt,Je,yr,We[yr],dt))!==null&&(i&&Hr.alternate!==null&&Tt.delete(Hr.key===null?yr:Hr.key),Te=G(Hr,Te,yr),Sr===null?Ft=Hr:Sr.sibling=Hr,Sr=Hr);return i&&Tt.forEach((function(tn){return l(Je,tn)})),kn&&jl(Je,yr),Ft}function bt(Je,Te,We,dt){var Ft=ze(We);if(typeof Ft!="function")throw Error(f(150));if((We=Ft.call(We))==null)throw Error(f(151));for(var Sr=Ft=null,Tt=Te,yr=Te=0,Hr=null,Kr=We.next();Tt!==null&&!Kr.done;yr++,Kr=We.next()){Tt.index>yr?(Hr=Tt,Tt=null):Hr=Tt.sibling;var tn=He(Je,Tt,Kr.value,dt);if(tn===null){Tt===null&&(Tt=Hr);break}i&&Tt&&tn.alternate===null&&l(Je,Tt),Te=G(tn,Te,yr),Sr===null?Ft=tn:Sr.sibling=tn,Sr=tn,Tt=Hr}if(Kr.done)return v(Je,Tt),kn&&jl(Je,yr),Ft;if(Tt===null){for(;!Kr.done;yr++,Kr=We.next())(Kr=Ze(Je,Kr.value,dt))!==null&&(Te=G(Kr,Te,yr),Sr===null?Ft=Kr:Sr.sibling=Kr,Sr=Kr);return kn&&jl(Je,yr),Ft}for(Tt=A(Je,Tt);!Kr.done;yr++,Kr=We.next())(Kr=ht(Tt,Je,yr,Kr.value,dt))!==null&&(i&&Kr.alternate!==null&&Tt.delete(Kr.key===null?yr:Kr.key),Te=G(Kr,Te,yr),Sr===null?Ft=Kr:Sr.sibling=Kr,Sr=Kr);return i&&Tt.forEach((function(In){return l(Je,In)})),kn&&jl(Je,yr),Ft}return function Je(Te,We,dt,Ft){if(typeof dt=="object"&&dt!==null&&dt.type===Ce&&dt.key===null&&(dt=dt.props.children),typeof dt=="object"&&dt!==null){switch(dt.$$typeof){case ne:e:{for(var Sr=dt.key,Tt=We;Tt!==null;){if(Tt.key===Sr){if((Sr=dt.type)===Ce){if(Tt.tag===7){v(Te,Tt.sibling),(We=F(Tt,dt.props.children)).return=Te,Te=We;break e}}else if(Tt.elementType===Sr||typeof Sr=="object"&&Sr!==null&&Sr.$$typeof===Me&&xg(Sr)===Tt.type){v(Te,Tt.sibling),(We=F(Tt,dt.props)).ref=ju(Te,Tt,dt),We.return=Te,Te=We;break e}v(Te,Tt);break}l(Te,Tt),Tt=Tt.sibling}dt.type===Ce?((We=$l(dt.props.children,Te.mode,Ft,dt.key)).return=Te,Te=We):((Ft=kh(dt.type,dt.key,dt.props,null,Te.mode,Ft)).ref=ju(Te,We,dt),Ft.return=Te,Te=Ft)}return oe(Te);case ae:e:{for(Tt=dt.key;We!==null;){if(We.key===Tt){if(We.tag===4&&We.stateNode.containerInfo===dt.containerInfo&&We.stateNode.implementation===dt.implementation){v(Te,We.sibling),(We=F(We,dt.children||[])).return=Te,Te=We;break e}v(Te,We);break}l(Te,We),We=We.sibling}(We=If(dt,Te.mode,Ft)).return=Te,Te=We}return oe(Te);case Me:return Je(Te,We,(Tt=dt._init)(dt._payload),Ft)}if(z(dt))return xt(Te,We,dt,Ft);if(ze(dt))return bt(Te,We,dt,Ft);zp(Te,dt)}return typeof dt=="string"&&dt!==""||typeof dt=="number"?(dt=""+dt,We!==null&&We.tag===6?(v(Te,We.sibling),(We=F(We,dt)).return=Te,Te=We):(v(Te,We),(We=Nf(dt,Te.mode,Ft)).return=Te,Te=We),oe(Te)):v(Te,We)}}var jc=_g(!0),kg=_g(!1),Vp=Js(null),Pu=null,Ks=null,Tu=null;function Nu(){Tu=Ks=Pu=null}function Iu(i){var l=Vp.current;$n(Vp),i._currentValue=l}function Nd(i,l,v){for(;i!==null;){var A=i.alternate;if((i.childLanes&l)!==l?(i.childLanes|=l,A!==null&&(A.childLanes|=l)):A!==null&&(A.childLanes&l)!==l&&(A.childLanes|=l),i===v)break;i=i.return}}function Pc(i,l){Pu=i,Tu=Ks=null,(i=i.dependencies)!==null&&i.firstContext!==null&&(i.lanes&l&&(ka=!0),i.firstContext=null)}function Wo(i){var l=i._currentValue;if(Tu!==i)if(i={context:i,memoizedValue:l,next:null},Ks===null){if(Pu===null)throw Error(f(308));Ks=i,Pu.dependencies={lanes:0,firstContext:i}}else Ks=Ks.next=i;return l}var Tl=null;function Id(i){Tl===null?Tl=[i]:Tl.push(i)}function Og(i,l,v,A){var F=l.interleaved;return F===null?(v.next=v,Id(l)):(v.next=F.next,F.next=v),l.interleaved=v,ss(i,A)}function ss(i,l){i.lanes|=l;var v=i.alternate;for(v!==null&&(v.lanes|=l),v=i,i=i.return;i!==null;)i.childLanes|=l,(v=i.alternate)!==null&&(v.childLanes|=l),v=i,i=i.return;return v.tag===3?v.stateNode:null}var ls=!1;function Md(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ag(i,l){i=i.updateQueue,l.updateQueue===i&&(l.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,effects:i.effects})}function cs(i,l){return{eventTime:i,lane:l,tag:0,payload:null,callback:null,next:null}}function us(i,l,v){var A=i.updateQueue;if(A===null)return null;if(A=A.shared,2&en){var F=A.pending;return F===null?l.next=l:(l.next=F.next,F.next=l),A.pending=l,ss(i,v)}return(F=A.interleaved)===null?(l.next=l,Id(A)):(l.next=F.next,F.next=l),A.interleaved=l,ss(i,v)}function Mu(i,l,v){if((l=l.updateQueue)!==null&&(l=l.shared,4194240&v)){var A=l.lanes;v|=A&=i.pendingLanes,l.lanes=v,Ms(i,v)}}function Jp(i,l){var v=i.updateQueue,A=i.alternate;if(A!==null&&v===(A=A.updateQueue)){var F=null,G=null;if((v=v.firstBaseUpdate)!==null){do{var oe={eventTime:v.eventTime,lane:v.lane,tag:v.tag,payload:v.payload,callback:v.callback,next:null};G===null?F=G=oe:G=G.next=oe,v=v.next}while(v!==null);G===null?F=G=l:G=G.next=l}else F=G=l;return v={baseState:A.baseState,firstBaseUpdate:F,lastBaseUpdate:G,shared:A.shared,effects:A.effects},void(i.updateQueue=v)}(i=v.lastBaseUpdate)===null?v.firstBaseUpdate=l:i.next=l,v.lastBaseUpdate=l}function Ru(i,l,v,A){var F=i.updateQueue;ls=!1;var G=F.firstBaseUpdate,oe=F.lastBaseUpdate,Ae=F.shared.pending;if(Ae!==null){F.shared.pending=null;var Pe=Ae,De=Pe.next;Pe.next=null,oe===null?G=De:oe.next=De,oe=Pe;var Qe=i.alternate;Qe!==null&&(Ae=(Qe=Qe.updateQueue).lastBaseUpdate)!==oe&&(Ae===null?Qe.firstBaseUpdate=De:Ae.next=De,Qe.lastBaseUpdate=Pe)}if(G!==null){var Ze=F.baseState;for(oe=0,Qe=De=Pe=null,Ae=G;;){var He=Ae.lane,ht=Ae.eventTime;if((A&He)===He){Qe!==null&&(Qe=Qe.next={eventTime:ht,lane:0,tag:Ae.tag,payload:Ae.payload,callback:Ae.callback,next:null});e:{var xt=i,bt=Ae;switch(He=l,ht=v,bt.tag){case 1:if(typeof(xt=bt.payload)=="function"){Ze=xt.call(ht,Ze,He);break e}Ze=xt;break e;case 3:xt.flags=-65537&xt.flags|128;case 0:if((He=typeof(xt=bt.payload)=="function"?xt.call(ht,Ze,He):xt)==null)break e;Ze=Ne({},Ze,He);break e;case 2:ls=!0}}Ae.callback!==null&&Ae.lane!==0&&(i.flags|=64,(He=F.effects)===null?F.effects=[Ae]:He.push(Ae))}else ht={eventTime:ht,lane:He,tag:Ae.tag,payload:Ae.payload,callback:Ae.callback,next:null},Qe===null?(De=Qe=ht,Pe=Ze):Qe=Qe.next=ht,oe|=He;if((Ae=Ae.next)===null){if((Ae=F.shared.pending)===null)break;Ae=(He=Ae).next,He.next=null,F.lastBaseUpdate=He,F.shared.pending=null}}if(Qe===null&&(Pe=Ze),F.baseState=Pe,F.firstBaseUpdate=De,F.lastBaseUpdate=Qe,(l=F.shared.interleaved)!==null){F=l;do oe|=F.lane,F=F.next;while(F!==l)}else G===null&&(F.shared.lanes=0);Ys|=oe,i.lanes=oe,i.memoizedState=Ze}}function Rd(i,l,v){if(i=l.effects,l.effects=null,i!==null)for(l=0;l<i.length;l++){var A=i[l],F=A.callback;if(F!==null){if(A.callback=null,A=v,typeof F!="function")throw Error(f(191,F));F.call(A)}}}var Du={},Ii=Js(Du),Fu=Js(Du),Nl=Js(Du);function Il(i){if(i===Du)throw Error(f(174));return i}function Wp(i,l){switch(_n(Nl,l),_n(Fu,i),_n(Ii,Du),i=l.nodeType){case 9:case 11:l=(l=l.documentElement)?l.namespaceURI:At(null,"");break;default:l=At(l=(i=i===8?l.parentNode:l).namespaceURI||null,i=i.tagName)}$n(Ii),_n(Ii,l)}function Tc(){$n(Ii),$n(Fu),$n(Nl)}function Hp(i){Il(Nl.current);var l=Il(Ii.current),v=At(l,i.type);l!==v&&(_n(Fu,i),_n(Ii,v))}function Kp(i){Fu.current===i&&($n(Ii),$n(Fu))}var Qn=Js(0);function Gp(i){for(var l=i;l!==null;){if(l.tag===13){var v=l.memoizedState;if(v!==null&&((v=v.dehydrated)===null||v.data==="$?"||v.data==="$!"))return l}else if(l.tag===19&&l.memoizedProps.revealOrder!==void 0){if(128&l.flags)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var Dd=[];function Fd(){for(var i=0;i<Dd.length;i++)Dd[i]._workInProgressVersionPrimary=null;Dd.length=0}var Br=Q.ReactCurrentDispatcher,Nc=Q.ReactCurrentBatchConfig,Ml=0,Wn=null,xa=null,wa=null,Ic=!1,$u=!1,Lu=0,H0=0;function _a(){throw Error(f(321))}function $d(i,l){if(l===null)return!1;for(var v=0;v<l.length&&v<i.length;v++)if(!ua(i[v],l[v]))return!1;return!0}function Ld(i,l,v,A,F,G){if(Ml=G,Wn=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,Br.current=i===null||i.memoizedState===null?Dg:G0,i=v(A,F),$u){G=0;do{if($u=!1,Lu=0,25<=G)throw Error(f(301));G+=1,wa=xa=null,l.updateQueue=null,Br.current=Fg,i=v(A,F)}while($u)}if(Br.current=Dc,l=xa!==null&&xa.next!==null,Ml=0,wa=xa=Wn=null,Ic=!1,l)throw Error(f(300));return i}function Yp(){var i=Lu!==0;return Lu=0,i}function Ho(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return wa===null?Wn.memoizedState=wa=i:wa=wa.next=i,wa}function bo(){if(xa===null){var i=Wn.alternate;i=i!==null?i.memoizedState:null}else i=xa.next;var l=wa===null?Wn.memoizedState:wa.next;if(l!==null)wa=l,xa=i;else{if(i===null)throw Error(f(310));i={memoizedState:(xa=i).memoizedState,baseState:xa.baseState,baseQueue:xa.baseQueue,queue:xa.queue,next:null},wa===null?Wn.memoizedState=wa=i:wa=wa.next=i}return wa}function Bu(i,l){return typeof l=="function"?l(i):l}function Xp(i){var l=bo(),v=l.queue;if(v===null)throw Error(f(311));v.lastRenderedReducer=i;var A=xa,F=A.baseQueue,G=v.pending;if(G!==null){if(F!==null){var oe=F.next;F.next=G.next,G.next=oe}A.baseQueue=F=G,v.pending=null}if(F!==null){G=F.next,A=A.baseState;var Ae=oe=null,Pe=null,De=G;do{var Qe=De.lane;if((Ml&Qe)===Qe)Pe!==null&&(Pe=Pe.next={lane:0,action:De.action,hasEagerState:De.hasEagerState,eagerState:De.eagerState,next:null}),A=De.hasEagerState?De.eagerState:i(A,De.action);else{var Ze={lane:Qe,action:De.action,hasEagerState:De.hasEagerState,eagerState:De.eagerState,next:null};Pe===null?(Ae=Pe=Ze,oe=A):Pe=Pe.next=Ze,Wn.lanes|=Qe,Ys|=Qe}De=De.next}while(De!==null&&De!==G);Pe===null?oe=A:Pe.next=Ae,ua(A,l.memoizedState)||(ka=!0),l.memoizedState=A,l.baseState=oe,l.baseQueue=Pe,v.lastRenderedState=A}if((i=v.interleaved)!==null){F=i;do G=F.lane,Wn.lanes|=G,Ys|=G,F=F.next;while(F!==i)}else F===null&&(v.lanes=0);return[l.memoizedState,v.dispatch]}function Bd(i){var l=bo(),v=l.queue;if(v===null)throw Error(f(311));v.lastRenderedReducer=i;var A=v.dispatch,F=v.pending,G=l.memoizedState;if(F!==null){v.pending=null;var oe=F=F.next;do G=i(G,oe.action),oe=oe.next;while(oe!==F);ua(G,l.memoizedState)||(ka=!0),l.memoizedState=G,l.baseQueue===null&&(l.baseState=G),v.lastRenderedState=G}return[G,A]}function qd(){}function Ud(i,l){var v=Wn,A=bo(),F=l(),G=!ua(A.memoizedState,F);if(G&&(A.memoizedState=F,ka=!0),A=A.queue,Wd(jg.bind(null,v,A,i),[i]),A.getSnapshot!==l||G||wa!==null&&1&wa.memoizedState.tag){if(v.flags|=2048,Mc(9,zd.bind(null,v,A,F,l),void 0,null),Oa===null)throw Error(f(349));30&Ml||Cg(v,l,F)}return F}function Cg(i,l,v){i.flags|=16384,i={getSnapshot:l,value:v},(l=Wn.updateQueue)===null?(l={lastEffect:null,stores:null},Wn.updateQueue=l,l.stores=[i]):(v=l.stores)===null?l.stores=[i]:v.push(i)}function zd(i,l,v,A){l.value=v,l.getSnapshot=A,Za(l)&&Qp(i)}function jg(i,l,v){return v((function(){Za(l)&&Qp(i)}))}function Za(i){var l=i.getSnapshot;i=i.value;try{var v=l();return!ua(i,v)}catch(A){return!0}}function Qp(i){var l=ss(i,1);l!==null&&gi(l,i,1,-1)}function Vd(i){var l=Ho();return typeof i=="function"&&(i=i()),l.memoizedState=l.baseState=i,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Bu,lastRenderedState:i},l.queue=i,i=i.dispatch=Rg.bind(null,Wn,i),[l.memoizedState,i]}function Mc(i,l,v,A){return i={tag:i,create:l,destroy:v,deps:A,next:null},(l=Wn.updateQueue)===null?(l={lastEffect:null,stores:null},Wn.updateQueue=l,l.lastEffect=i.next=i):(v=l.lastEffect)===null?l.lastEffect=i.next=i:(A=v.next,v.next=i,i.next=A,l.lastEffect=i),i}function Jd(){return bo().memoizedState}function Zp(i,l,v,A){var F=Ho();Wn.flags|=i,F.memoizedState=Mc(1|l,v,void 0,A===void 0?null:A)}function eh(i,l,v,A){var F=bo();A=A===void 0?null:A;var G=void 0;if(xa!==null){var oe=xa.memoizedState;if(G=oe.destroy,A!==null&&$d(A,oe.deps))return void(F.memoizedState=Mc(l,v,G,A))}Wn.flags|=i,F.memoizedState=Mc(1|l,v,G,A)}function th(i,l){return Zp(8390656,8,i,l)}function Wd(i,l){return eh(2048,8,i,l)}function Ko(i,l){return eh(4,2,i,l)}function Hn(i,l){return eh(4,4,i,l)}function Pg(i,l){return typeof l=="function"?(i=i(),l(i),function(){l(null)}):l!=null?(i=i(),l.current=i,function(){l.current=null}):void 0}function Tg(i,l,v){return v=v!=null?v.concat([i]):null,eh(4,4,Pg.bind(null,l,i),v)}function Rc(){}function Ng(i,l){var v=bo();l=l===void 0?null:l;var A=v.memoizedState;return A!==null&&l!==null&&$d(l,A[1])?A[0]:(v.memoizedState=[i,l],i)}function Ig(i,l){var v=bo();l=l===void 0?null:l;var A=v.memoizedState;return A!==null&&l!==null&&$d(l,A[1])?A[0]:(i=i(),v.memoizedState=[i,l],i)}function Mg(i,l,v){return 21&Ml?(ua(v,l)||(v=Yi(),Wn.lanes|=v,Ys|=v,i.baseState=!0),l):(i.baseState&&(i.baseState=!1,ka=!0),i.memoizedState=v)}function K0(i,l){var v=Jr;Jr=v!==0&&4>v?v:4,i(!0);var A=Nc.transition;Nc.transition={};try{i(!1),l()}finally{Jr=v,Nc.transition=A}}function Hd(){return bo().memoizedState}function Rl(i,l,v){var A=Xs(i);v={lane:A,action:v,hasEagerState:!1,eagerState:null,next:null},Kd(i)?Gd(l,v):(v=Og(i,l,v,A))!==null&&(gi(v,i,A,no()),rh(v,l,A))}function Rg(i,l,v){var A=Xs(i),F={lane:A,action:v,hasEagerState:!1,eagerState:null,next:null};if(Kd(i))Gd(l,F);else{var G=i.alternate;if(i.lanes===0&&(G===null||G.lanes===0)&&(G=l.lastRenderedReducer)!==null)try{var oe=l.lastRenderedState,Ae=G(oe,v);if(F.hasEagerState=!0,F.eagerState=Ae,ua(Ae,oe)){var Pe=l.interleaved;return Pe===null?(F.next=F,Id(l)):(F.next=Pe.next,Pe.next=F),void(l.interleaved=F)}}catch(De){}(v=Og(i,l,F,A))!==null&&(gi(v,i,A,F=no()),rh(v,l,A))}}function Kd(i){var l=i.alternate;return i===Wn||l!==null&&l===Wn}function Gd(i,l){$u=Ic=!0;var v=i.pending;v===null?l.next=l:(l.next=v.next,v.next=l),i.pending=l}function rh(i,l,v){if(4194240&v){var A=l.lanes;v|=A&=i.pendingLanes,l.lanes=v,Ms(i,v)}}var Dc={readContext:Wo,useCallback:_a,useContext:_a,useEffect:_a,useImperativeHandle:_a,useInsertionEffect:_a,useLayoutEffect:_a,useMemo:_a,useReducer:_a,useRef:_a,useState:_a,useDebugValue:_a,useDeferredValue:_a,useTransition:_a,useMutableSource:_a,useSyncExternalStore:_a,useId:_a,unstable_isNewReconciler:!1},Dg={readContext:Wo,useCallback:function(i,l){return Ho().memoizedState=[i,l===void 0?null:l],i},useContext:Wo,useEffect:th,useImperativeHandle:function(i,l,v){return v=v!=null?v.concat([i]):null,Zp(4194308,4,Pg.bind(null,l,i),v)},useLayoutEffect:function(i,l){return Zp(4194308,4,i,l)},useInsertionEffect:function(i,l){return Zp(4,2,i,l)},useMemo:function(i,l){var v=Ho();return l=l===void 0?null:l,i=i(),v.memoizedState=[i,l],i},useReducer:function(i,l,v){var A=Ho();return l=v!==void 0?v(l):l,A.memoizedState=A.baseState=l,i={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:l},A.queue=i,i=i.dispatch=Rl.bind(null,Wn,i),[A.memoizedState,i]},useRef:function(i){return i={current:i},Ho().memoizedState=i},useState:Vd,useDebugValue:Rc,useDeferredValue:function(i){return Ho().memoizedState=i},useTransition:function(){var i=Vd(!1),l=i[0];return i=K0.bind(null,i[1]),Ho().memoizedState=i,[l,i]},useMutableSource:function(){},useSyncExternalStore:function(i,l,v){var A=Wn,F=Ho();if(kn){if(v===void 0)throw Error(f(407));v=v()}else{if(v=l(),Oa===null)throw Error(f(349));30&Ml||Cg(A,l,v)}F.memoizedState=v;var G={value:v,getSnapshot:l};return F.queue=G,th(jg.bind(null,A,G,i),[i]),A.flags|=2048,Mc(9,zd.bind(null,A,G,v,l),void 0,null),v},useId:function(){var i=Ho(),l=Oa.identifierPrefix;if(kn){var v=is;l=":"+l+"R"+(v=(hi&~(1<<32-Ba(hi)-1)).toString(32)+v),0<(v=Lu++)&&(l+="H"+v.toString(32)),l+=":"}else l=":"+l+"r"+(v=H0++).toString(32)+":";return i.memoizedState=l},unstable_isNewReconciler:!1},G0={readContext:Wo,useCallback:Ng,useContext:Wo,useEffect:Wd,useImperativeHandle:Tg,useInsertionEffect:Ko,useLayoutEffect:Hn,useMemo:Ig,useReducer:Xp,useRef:Jd,useState:function(){return Xp(Bu)},useDebugValue:Rc,useDeferredValue:function(i){return Mg(bo(),xa.memoizedState,i)},useTransition:function(){return[Xp(Bu)[0],bo().memoizedState]},useMutableSource:qd,useSyncExternalStore:Ud,useId:Hd,unstable_isNewReconciler:!1},Fg={readContext:Wo,useCallback:Ng,useContext:Wo,useEffect:Wd,useImperativeHandle:Tg,useInsertionEffect:Ko,useLayoutEffect:Hn,useMemo:Ig,useReducer:Bd,useRef:Jd,useState:function(){return Bd(Bu)},useDebugValue:Rc,useDeferredValue:function(i){var l=bo();return xa===null?l.memoizedState=i:Mg(l,xa.memoizedState,i)},useTransition:function(){return[Bd(Bu)[0],bo().memoizedState]},useMutableSource:qd,useSyncExternalStore:Ud,useId:Hd,unstable_isNewReconciler:!1};function To(i,l){if(i&&i.defaultProps){for(var v in l=Ne({},l),i=i.defaultProps)l[v]===void 0&&(l[v]=i[v]);return l}return l}function Yd(i,l,v,A){v=(v=v(A,l=i.memoizedState))==null?l:Ne({},l,v),i.memoizedState=v,i.lanes===0&&(i.updateQueue.baseState=v)}var nh={isMounted:function(i){return!!(i=i._reactInternals)&&La(i)===i},enqueueSetState:function(i,l,v){i=i._reactInternals;var A=no(),F=Xs(i),G=cs(A,F);G.payload=l,v!=null&&(G.callback=v),(l=us(i,G,F))!==null&&(gi(l,i,F,A),Mu(l,i,F))},enqueueReplaceState:function(i,l,v){i=i._reactInternals;var A=no(),F=Xs(i),G=cs(A,F);G.tag=1,G.payload=l,v!=null&&(G.callback=v),(l=us(i,G,F))!==null&&(gi(l,i,F,A),Mu(l,i,F))},enqueueForceUpdate:function(i,l){i=i._reactInternals;var v=no(),A=Xs(i),F=cs(v,A);F.tag=2,l!=null&&(F.callback=l),(l=us(i,F,A))!==null&&(gi(l,i,A,v),Mu(l,i,A))}};function Mi(i,l,v,A,F,G,oe){return typeof(i=i.stateNode).shouldComponentUpdate=="function"?i.shouldComponentUpdate(A,G,oe):!l.prototype||!l.prototype.isPureReactComponent||!xl(v,A)||!xl(F,G)}function $g(i,l,v){var A=!1,F=Ws,G=l.contextType;return typeof G=="object"&&G!==null?G=Wo(G):(F=Ln(l)?Al:qa.current,G=(A=(A=l.contextTypes)!=null)?Oc(i,F):Ws),l=new l(v,G),i.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,l.updater=nh,i.stateNode=l,l._reactInternals=i,A&&((i=i.stateNode).__reactInternalMemoizedUnmaskedChildContext=F,i.__reactInternalMemoizedMaskedChildContext=G),l}function Xd(i,l,v,A){i=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(v,A),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(v,A),l.state!==i&&nh.enqueueReplaceState(l,l.state,null)}function Qd(i,l,v,A){var F=i.stateNode;F.props=v,F.state=i.memoizedState,F.refs={},Md(i);var G=l.contextType;typeof G=="object"&&G!==null?F.context=Wo(G):(G=Ln(l)?Al:qa.current,F.context=Oc(i,G)),F.state=i.memoizedState,typeof(G=l.getDerivedStateFromProps)=="function"&&(Yd(i,l,G,v),F.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof F.getSnapshotBeforeUpdate=="function"||typeof F.UNSAFE_componentWillMount!="function"&&typeof F.componentWillMount!="function"||(l=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),l!==F.state&&nh.enqueueReplaceState(F,F.state,null),Ru(i,v,F,A),F.state=i.memoizedState),typeof F.componentDidMount=="function"&&(i.flags|=4194308)}function Dl(i,l){try{var v="",A=l;do v+=St(A),A=A.return;while(A);var F=v}catch(G){F=`
|
||
Error generating stack: `+G.message+`
|
||
`+G.stack}return{value:i,source:l,stack:F,digest:null}}function Zd(i,l,v){return{value:i,source:null,stack:v!=null?v:null,digest:l!=null?l:null}}function Y0(i,l){}var X0=typeof WeakMap=="function"?WeakMap:Map;function ef(i,l,v){(v=cs(-1,v)).tag=3,v.payload={element:null};var A=l.value;return v.callback=function(){gh||(gh=!0,kf=A)},v}function Lg(i,l,v){(v=cs(-1,v)).tag=3;var A=i.type.getDerivedStateFromError;if(typeof A=="function"){var F=l.value;v.payload=function(){return A(F)},v.callback=function(){}}var G=i.stateNode;return G!==null&&typeof G.componentDidCatch=="function"&&(v.callback=function(){typeof A!="function"&&(fs===null?fs=new Set([this]):fs.add(this));var oe=l.stack;this.componentDidCatch(l.value,{componentStack:oe!==null?oe:""})}),v}function fi(i,l,v){var A=i.pingCache;if(A===null){A=i.pingCache=new X0;var F=new Set;A.set(l,F)}else(F=A.get(l))===void 0&&(F=new Set,A.set(l,F));F.has(v)||(F.add(v),i=rb.bind(null,i,l,v),l.then(i,i))}function ah(i){do{var l;if((l=i.tag===13)&&(l=(l=i.memoizedState)===null||l.dehydrated!==null),l)return i;i=i.return}while(i!==null);return null}function Bg(i,l,v,A,F){return 1&i.mode?(i.flags|=65536,i.lanes=F,i):(i===l?i.flags|=65536:(i.flags|=128,v.flags|=131072,v.flags&=-52805,v.tag===1&&(v.alternate===null?v.tag=17:((l=cs(-1,1)).tag=2,us(v,l,1))),v.lanes|=1),i)}var Q0=Q.ReactCurrentOwner,ka=!1;function eo(i,l,v,A){l.child=i===null?kg(l,null,v,A):jc(l,i.child,v,A)}function tf(i,l,v,A,F){v=v.render;var G=l.ref;return Pc(l,F),A=Ld(i,l,v,A,G,F),v=Yp(),i===null||ka?(kn&&v&&jd(l),l.flags|=1,eo(i,l,A,F),l.child):(l.updateQueue=i.updateQueue,l.flags&=-2053,i.lanes&=~F,Go(i,l,F))}function qg(i,l,v,A,F){if(i===null){var G=v.type;return typeof G!="function"||Bc(G)||G.defaultProps!==void 0||v.compare!==null||v.defaultProps!==void 0?((i=kh(v.type,null,A,l,l.mode,F)).ref=l.ref,i.return=l,l.child=i):(l.tag=15,l.type=G,rf(i,l,G,A,F))}if(G=i.child,!(i.lanes&F)){var oe=G.memoizedProps;if((v=(v=v.compare)!==null?v:xl)(oe,A)&&i.ref===l.ref)return Go(i,l,F)}return l.flags|=1,(i=Zs(G,A)).ref=l.ref,i.return=l,l.child=i}function rf(i,l,v,A,F){if(i!==null){var G=i.memoizedProps;if(xl(G,A)&&i.ref===l.ref){if(ka=!1,l.pendingProps=A=G,!(i.lanes&F))return l.lanes=i.lanes,Go(i,l,F);131072&i.flags&&(ka=!0)}}return of(i,l,v,A,F)}function nf(i,l,v){var A=l.pendingProps,F=A.children,G=i!==null?i.memoizedState:null;if(A.mode==="hidden")if(1&l.mode){if(!(1073741824&v))return i=G!==null?G.baseLanes|v:v,l.lanes=l.childLanes=1073741824,l.memoizedState={baseLanes:i,cachePool:null,transitions:null},l.updateQueue=null,_n(Gs,Io),Io|=i,null;l.memoizedState={baseLanes:0,cachePool:null,transitions:null},A=G!==null?G.baseLanes:v,_n(Gs,Io),Io|=A}else l.memoizedState={baseLanes:0,cachePool:null,transitions:null},_n(Gs,Io),Io|=v;else G!==null?(A=G.baseLanes|v,l.memoizedState=null):A=v,_n(Gs,Io),Io|=A;return eo(i,l,F,v),l.child}function af(i,l){var v=l.ref;(i===null&&v!==null||i!==null&&i.ref!==v)&&(l.flags|=512,l.flags|=2097152)}function of(i,l,v,A,F){var G=Ln(v)?Al:qa.current;return G=Oc(l,G),Pc(l,F),v=Ld(i,l,v,A,G,F),A=Yp(),i===null||ka?(kn&&A&&jd(l),l.flags|=1,eo(i,l,v,F),l.child):(l.updateQueue=i.updateQueue,l.flags&=-2053,i.lanes&=~F,Go(i,l,F))}function Fl(i,l,v,A,F){if(Ln(v)){var G=!0;Lp(l)}else G=!1;if(Pc(l,F),l.stateNode===null)ch(i,l),$g(l,v,A),Qd(l,v,A,F),A=!0;else if(i===null){var oe=l.stateNode,Ae=l.memoizedProps;oe.props=Ae;var Pe=oe.context,De=v.contextType;typeof De=="object"&&De!==null?De=Wo(De):De=Oc(l,De=Ln(v)?Al:qa.current);var Qe=v.getDerivedStateFromProps,Ze=typeof Qe=="function"||typeof oe.getSnapshotBeforeUpdate=="function";Ze||typeof oe.UNSAFE_componentWillReceiveProps!="function"&&typeof oe.componentWillReceiveProps!="function"||(Ae!==A||Pe!==De)&&Xd(l,oe,A,De),ls=!1;var He=l.memoizedState;oe.state=He,Ru(l,A,oe,F),Pe=l.memoizedState,Ae!==A||He!==Pe||vo.current||ls?(typeof Qe=="function"&&(Yd(l,v,Qe,A),Pe=l.memoizedState),(Ae=ls||Mi(l,v,Ae,A,He,Pe,De))?(Ze||typeof oe.UNSAFE_componentWillMount!="function"&&typeof oe.componentWillMount!="function"||(typeof oe.componentWillMount=="function"&&oe.componentWillMount(),typeof oe.UNSAFE_componentWillMount=="function"&&oe.UNSAFE_componentWillMount()),typeof oe.componentDidMount=="function"&&(l.flags|=4194308)):(typeof oe.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=A,l.memoizedState=Pe),oe.props=A,oe.state=Pe,oe.context=De,A=Ae):(typeof oe.componentDidMount=="function"&&(l.flags|=4194308),A=!1)}else{oe=l.stateNode,Ag(i,l),Ae=l.memoizedProps,De=l.type===l.elementType?Ae:To(l.type,Ae),oe.props=De,Ze=l.pendingProps,He=oe.context,typeof(Pe=v.contextType)=="object"&&Pe!==null?Pe=Wo(Pe):Pe=Oc(l,Pe=Ln(v)?Al:qa.current);var ht=v.getDerivedStateFromProps;(Qe=typeof ht=="function"||typeof oe.getSnapshotBeforeUpdate=="function")||typeof oe.UNSAFE_componentWillReceiveProps!="function"&&typeof oe.componentWillReceiveProps!="function"||(Ae!==Ze||He!==Pe)&&Xd(l,oe,A,Pe),ls=!1,He=l.memoizedState,oe.state=He,Ru(l,A,oe,F);var xt=l.memoizedState;Ae!==Ze||He!==xt||vo.current||ls?(typeof ht=="function"&&(Yd(l,v,ht,A),xt=l.memoizedState),(De=ls||Mi(l,v,De,A,He,xt,Pe)||!1)?(Qe||typeof oe.UNSAFE_componentWillUpdate!="function"&&typeof oe.componentWillUpdate!="function"||(typeof oe.componentWillUpdate=="function"&&oe.componentWillUpdate(A,xt,Pe),typeof oe.UNSAFE_componentWillUpdate=="function"&&oe.UNSAFE_componentWillUpdate(A,xt,Pe)),typeof oe.componentDidUpdate=="function"&&(l.flags|=4),typeof oe.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof oe.componentDidUpdate!="function"||Ae===i.memoizedProps&&He===i.memoizedState||(l.flags|=4),typeof oe.getSnapshotBeforeUpdate!="function"||Ae===i.memoizedProps&&He===i.memoizedState||(l.flags|=1024),l.memoizedProps=A,l.memoizedState=xt),oe.props=A,oe.state=xt,oe.context=Pe,A=De):(typeof oe.componentDidUpdate!="function"||Ae===i.memoizedProps&&He===i.memoizedState||(l.flags|=4),typeof oe.getSnapshotBeforeUpdate!="function"||Ae===i.memoizedProps&&He===i.memoizedState||(l.flags|=1024),A=!1)}return wo(i,l,v,A,G,F)}function wo(i,l,v,A,F,G){af(i,l);var oe=!!(128&l.flags);if(!A&&!oe)return F&&vg(l,v,!1),Go(i,l,G);A=l.stateNode,Q0.current=l;var Ae=oe&&typeof v.getDerivedStateFromError!="function"?null:A.render();return l.flags|=1,i!==null&&oe?(l.child=jc(l,i.child,null,G),l.child=jc(l,null,Ae,G)):eo(i,l,Ae,G),l.memoizedState=A.state,F&&vg(l,v,!0),l.child}function sf(i){var l=i.stateNode;l.pendingContext?$p(0,l.pendingContext,l.pendingContext!==l.context):l.context&&$p(0,l.context,!1),Wp(i,l.containerInfo)}function oh(i,l,v,A,F){return Pl(),Td(F),l.flags|=256,eo(i,l,v,A),l.child}var ih,sh,lf,cf,uf={dehydrated:null,treeContext:null,retryLane:0};function pf(i){return{baseLanes:i,cachePool:null,transitions:null}}function Ug(i,l,v){var A,F=l.pendingProps,G=Qn.current,oe=!1,Ae=!!(128&l.flags);if((A=Ae)||(A=(i===null||i.memoizedState!==null)&&!!(2&G)),A?(oe=!0,l.flags&=-129):i!==null&&i.memoizedState===null||(G|=1),_n(Qn,1&G),i===null)return Up(l),(i=l.memoizedState)!==null&&(i=i.dehydrated)!==null?(1&l.mode?i.data==="$!"?l.lanes=8:l.lanes=1073741824:l.lanes=1,null):(Ae=F.children,i=F.fallback,oe?(F=l.mode,oe=l.child,Ae={mode:"hidden",children:Ae},1&F||oe===null?oe=Oh(Ae,F,0,null):(oe.childLanes=0,oe.pendingProps=Ae),i=$l(i,F,v,null),oe.return=l,i.return=l,oe.sibling=i,l.child=oe,l.child.memoizedState=pf(v),l.memoizedState=uf,i):hf(l,Ae));if((G=i.memoizedState)!==null&&(A=G.dehydrated)!==null)return(function(Qe,Ze,He,ht,xt,bt,Je){if(He)return 256&Ze.flags?(Ze.flags&=-257,lh(Qe,Ze,Je,ht=Zd(Error(f(422))))):Ze.memoizedState!==null?(Ze.child=Qe.child,Ze.flags|=128,null):(bt=ht.fallback,xt=Ze.mode,ht=Oh({mode:"visible",children:ht.children},xt,0,null),(bt=$l(bt,xt,Je,null)).flags|=2,ht.return=Ze,bt.return=Ze,ht.sibling=bt,Ze.child=ht,1&Ze.mode&&jc(Ze,Qe.child,null,Je),Ze.child.memoizedState=pf(Je),Ze.memoizedState=uf,bt);if(!(1&Ze.mode))return lh(Qe,Ze,Je,null);if(xt.data==="$!"){if(ht=xt.nextSibling&&xt.nextSibling.dataset)var Te=ht.dgst;return ht=Te,lh(Qe,Ze,Je,ht=Zd(bt=Error(f(419)),ht,void 0))}if(Te=!!(Je&Qe.childLanes),ka||Te){if((ht=Oa)!==null){switch(Je&-Je){case 4:xt=2;break;case 16:xt=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:xt=32;break;case 536870912:xt=268435456;break;default:xt=0}(xt=xt&(ht.suspendedLanes|Je)?0:xt)!==0&&xt!==bt.retryLane&&(bt.retryLane=xt,ss(Qe,xt),gi(ht,Qe,xt,-1))}return Ku(),lh(Qe,Ze,Je,ht=Zd(Error(f(421))))}return xt.data==="$?"?(Ze.flags|=128,Ze.child=Qe.child,Ze=nb.bind(null,Qe),xt._reactRetry=Ze,null):(Qe=bt.treeContext,Po=rs(xt.nextSibling),jo=Ze,kn=!0,di=null,Qe!==null&&(Co[Jo++]=hi,Co[Jo++]=is,Co[Jo++]=Cl,hi=Qe.id,is=Qe.overflow,Cl=Ze),Ze=hf(Ze,ht.children),Ze.flags|=4096,Ze)})(i,l,Ae,F,A,G,v);if(oe){oe=F.fallback,Ae=l.mode,A=(G=i.child).sibling;var Pe={mode:"hidden",children:F.children};return 1&Ae||l.child===G?(F=Zs(G,Pe)).subtreeFlags=14680064&G.subtreeFlags:((F=l.child).childLanes=0,F.pendingProps=Pe,l.deletions=null),A!==null?oe=Zs(A,oe):(oe=$l(oe,Ae,v,null)).flags|=2,oe.return=l,F.return=l,F.sibling=oe,l.child=F,F=oe,oe=l.child,Ae=(Ae=i.child.memoizedState)===null?pf(v):{baseLanes:Ae.baseLanes|v,cachePool:null,transitions:Ae.transitions},oe.memoizedState=Ae,oe.childLanes=i.childLanes&~v,l.memoizedState=uf,F}return i=(oe=i.child).sibling,F=Zs(oe,{mode:"visible",children:F.children}),!(1&l.mode)&&(F.lanes=v),F.return=l,F.sibling=null,i!==null&&((v=l.deletions)===null?(l.deletions=[i],l.flags|=16):v.push(i)),l.child=F,l.memoizedState=null,F}function hf(i,l){return(l=Oh({mode:"visible",children:l},i.mode,0,null)).return=i,i.child=l}function lh(i,l,v,A){return A!==null&&Td(A),jc(l,i.child,null,v),(i=hf(l,l.pendingProps.children)).flags|=2,l.memoizedState=null,i}function zg(i,l,v){i.lanes|=l;var A=i.alternate;A!==null&&(A.lanes|=l),Nd(i.return,l,v)}function df(i,l,v,A,F){var G=i.memoizedState;G===null?i.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:A,tail:v,tailMode:F}:(G.isBackwards=l,G.rendering=null,G.renderingStartTime=0,G.last=A,G.tail=v,G.tailMode=F)}function ff(i,l,v){var A=l.pendingProps,F=A.revealOrder,G=A.tail;if(eo(i,l,A.children,v),2&(A=Qn.current))A=1&A|2,l.flags|=128;else{if(i!==null&&128&i.flags)e:for(i=l.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&zg(i,v,l);else if(i.tag===19)zg(i,v,l);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break e;for(;i.sibling===null;){if(i.return===null||i.return===l)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}A&=1}if(_n(Qn,A),1&l.mode)switch(F){case"forwards":for(v=l.child,F=null;v!==null;)(i=v.alternate)!==null&&Gp(i)===null&&(F=v),v=v.sibling;(v=F)===null?(F=l.child,l.child=null):(F=v.sibling,v.sibling=null),df(l,!1,F,v,G);break;case"backwards":for(v=null,F=l.child,l.child=null;F!==null;){if((i=F.alternate)!==null&&Gp(i)===null){l.child=F;break}i=F.sibling,F.sibling=v,v=F,F=i}df(l,!0,v,null,G);break;case"together":df(l,!1,null,null,void 0);break;default:l.memoizedState=null}else l.memoizedState=null;return l.child}function ch(i,l){!(1&l.mode)&&i!==null&&(i.alternate=null,l.alternate=null,l.flags|=2)}function Go(i,l,v){if(i!==null&&(l.dependencies=i.dependencies),Ys|=l.lanes,!(v&l.childLanes))return null;if(i!==null&&l.child!==i.child)throw Error(f(153));if(l.child!==null){for(v=Zs(i=l.child,i.pendingProps),l.child=v,v.return=l;i.sibling!==null;)i=i.sibling,(v=v.sibling=Zs(i,i.pendingProps)).return=l;v.sibling=null}return l.child}function qu(i,l){if(!kn)switch(i.tailMode){case"hidden":l=i.tail;for(var v=null;l!==null;)l.alternate!==null&&(v=l),l=l.sibling;v===null?i.tail=null:v.sibling=null;break;case"collapsed":v=i.tail;for(var A=null;v!==null;)v.alternate!==null&&(A=v),v=v.sibling;A===null?l||i.tail===null?i.tail=null:i.tail.sibling=null:A.sibling=null}}function Bn(i){var l=i.alternate!==null&&i.alternate.child===i.child,v=0,A=0;if(l)for(var F=i.child;F!==null;)v|=F.lanes|F.childLanes,A|=14680064&F.subtreeFlags,A|=14680064&F.flags,F.return=i,F=F.sibling;else for(F=i.child;F!==null;)v|=F.lanes|F.childLanes,A|=F.subtreeFlags,A|=F.flags,F.return=i,F=F.sibling;return i.subtreeFlags|=A,i.childLanes=v,l}function Z0(i,l,v){var A=l.pendingProps;switch(Pd(l),l.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Bn(l),null;case 1:case 17:return Ln(l.type)&&ku(),Bn(l),null;case 3:return A=l.stateNode,Tc(),$n(vo),$n(qa),Fd(),A.pendingContext&&(A.context=A.pendingContext,A.pendingContext=null),i!==null&&i.child!==null||(Cu(l)?l.flags|=4:i===null||i.memoizedState.isDehydrated&&!(256&l.flags)||(l.flags|=1024,di!==null&&(jf(di),di=null))),sh(i,l),Bn(l),null;case 5:Kp(l);var F=Il(Nl.current);if(v=l.type,i!==null&&l.stateNode!=null)lf(i,l,v,A,F),i.ref!==l.ref&&(l.flags|=512,l.flags|=2097152);else{if(!A){if(l.stateNode===null)throw Error(f(166));return Bn(l),null}if(i=Il(Ii.current),Cu(l)){A=l.stateNode,v=l.type;var G=l.memoizedProps;switch(A[pi]=l,A[Ao]=G,i=!!(1&l.mode),v){case"dialog":Nn("cancel",A),Nn("close",A);break;case"iframe":case"object":case"embed":Nn("load",A);break;case"video":case"audio":for(F=0;F<zs.length;F++)Nn(zs[F],A);break;case"source":Nn("error",A);break;case"img":case"image":case"link":Nn("error",A),Nn("load",A);break;case"details":Nn("toggle",A);break;case"input":Jt(A,G),Nn("invalid",A);break;case"select":A._wrapperState={wasMultiple:!!G.multiple},Nn("invalid",A);break;case"textarea":de(A,G),Nn("invalid",A)}for(var oe in Dr(v,G),F=null,G)if(G.hasOwnProperty(oe)){var Ae=G[oe];oe==="children"?typeof Ae=="string"?A.textContent!==Ae&&(G.suppressHydrationWarning!==!0&&Eu(A.textContent,Ae,i),F=["children",Ae]):typeof Ae=="number"&&A.textContent!==""+Ae&&(G.suppressHydrationWarning!==!0&&Eu(A.textContent,Ae,i),F=["children",""+Ae]):m.hasOwnProperty(oe)&&Ae!=null&&oe==="onScroll"&&Nn("scroll",A)}switch(v){case"input":Xt(A),Rt(A,G,!0);break;case"textarea":Xt(A),Ie(A);break;case"select":case"option":break;default:typeof G.onClick=="function"&&(A.onclick=Sc)}A=F,l.updateQueue=A,A!==null&&(l.flags|=4)}else{oe=F.nodeType===9?F:F.ownerDocument,i==="http://www.w3.org/1999/xhtml"&&(i=mt(v)),i==="http://www.w3.org/1999/xhtml"?v==="script"?((i=oe.createElement("div")).innerHTML="<script><\/script>",i=i.removeChild(i.firstChild)):typeof A.is=="string"?i=oe.createElement(v,{is:A.is}):(i=oe.createElement(v),v==="select"&&(oe=i,A.multiple?oe.multiple=!0:A.size&&(oe.size=A.size))):i=oe.createElementNS(i,v),i[pi]=l,i[Ao]=A,ih(i,l,!1,!1),l.stateNode=i;e:{switch(oe=Qr(v,A),v){case"dialog":Nn("cancel",i),Nn("close",i),F=A;break;case"iframe":case"object":case"embed":Nn("load",i),F=A;break;case"video":case"audio":for(F=0;F<zs.length;F++)Nn(zs[F],i);F=A;break;case"source":Nn("error",i),F=A;break;case"img":case"image":case"link":Nn("error",i),Nn("load",i),F=A;break;case"details":Nn("toggle",i),F=A;break;case"input":Jt(i,A),F=Nt(i,A),Nn("invalid",i);break;case"option":default:F=A;break;case"select":i._wrapperState={wasMultiple:!!A.multiple},F=Ne({},A,{value:void 0}),Nn("invalid",i);break;case"textarea":de(i,A),F=ee(i,A),Nn("invalid",i)}for(G in Dr(v,F),Ae=F)if(Ae.hasOwnProperty(G)){var Pe=Ae[G];G==="style"?xn(i,Pe):G==="dangerouslySetInnerHTML"?(Pe=Pe?Pe.__html:void 0)!=null&&Ot(i,Pe):G==="children"?typeof Pe=="string"?(v!=="textarea"||Pe!=="")&&Ir(i,Pe):typeof Pe=="number"&&Ir(i,""+Pe):G!=="suppressContentEditableWarning"&&G!=="suppressHydrationWarning"&&G!=="autoFocus"&&(m.hasOwnProperty(G)?Pe!=null&&G==="onScroll"&&Nn("scroll",i):Pe!=null&&H(i,G,Pe,oe))}switch(v){case"input":Xt(i),Rt(i,A,!1);break;case"textarea":Xt(i),Ie(i);break;case"option":A.value!=null&&i.setAttribute("value",""+nt(A.value));break;case"select":i.multiple=!!A.multiple,(G=A.value)!=null?W(i,!!A.multiple,G,!1):A.defaultValue!=null&&W(i,!!A.multiple,A.defaultValue,!0);break;default:typeof F.onClick=="function"&&(i.onclick=Sc)}switch(v){case"button":case"input":case"select":case"textarea":A=!!A.autoFocus;break e;case"img":A=!0;break e;default:A=!1}}A&&(l.flags|=4)}l.ref!==null&&(l.flags|=512,l.flags|=2097152)}return Bn(l),null;case 6:if(i&&l.stateNode!=null)cf(i,l,i.memoizedProps,A);else{if(typeof A!="string"&&l.stateNode===null)throw Error(f(166));if(v=Il(Nl.current),Il(Ii.current),Cu(l)){if(A=l.stateNode,v=l.memoizedProps,A[pi]=l,(G=A.nodeValue!==v)&&(i=jo)!==null)switch(i.tag){case 3:Eu(A.nodeValue,v,!!(1&i.mode));break;case 5:i.memoizedProps.suppressHydrationWarning!==!0&&Eu(A.nodeValue,v,!!(1&i.mode))}G&&(l.flags|=4)}else(A=(v.nodeType===9?v:v.ownerDocument).createTextNode(A))[pi]=l,l.stateNode=A}return Bn(l),null;case 13:if($n(Qn),A=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(kn&&Po!==null&&1&l.mode&&!(128&l.flags))Sg(),Pl(),l.flags|=98560,G=!1;else if(G=Cu(l),A!==null&&A.dehydrated!==null){if(i===null){if(!G)throw Error(f(318));if(!(G=(G=l.memoizedState)!==null?G.dehydrated:null))throw Error(f(317));G[pi]=l}else Pl(),!(128&l.flags)&&(l.memoizedState=null),l.flags|=4;Bn(l),G=!1}else di!==null&&(jf(di),di=null),G=!0;if(!G)return 65536&l.flags?l:null}return 128&l.flags?(l.lanes=v,l):((A=A!==null)!=(i!==null&&i.memoizedState!==null)&&A&&(l.child.flags|=8192,1&l.mode&&(i===null||1&Qn.current?ha===0&&(ha=3):Ku())),l.updateQueue!==null&&(l.flags|=4),Bn(l),null);case 4:return Tc(),sh(i,l),i===null&&vc(l.stateNode.containerInfo),Bn(l),null;case 10:return Iu(l.type._context),Bn(l),null;case 19:if($n(Qn),(G=l.memoizedState)===null)return Bn(l),null;if(A=!!(128&l.flags),(oe=G.rendering)===null)if(A)qu(G,!1);else{if(ha!==0||i!==null&&128&i.flags)for(i=l.child;i!==null;){if((oe=Gp(i))!==null){for(l.flags|=128,qu(G,!1),(A=oe.updateQueue)!==null&&(l.updateQueue=A,l.flags|=4),l.subtreeFlags=0,A=v,v=l.child;v!==null;)i=A,(G=v).flags&=14680066,(oe=G.alternate)===null?(G.childLanes=0,G.lanes=i,G.child=null,G.subtreeFlags=0,G.memoizedProps=null,G.memoizedState=null,G.updateQueue=null,G.dependencies=null,G.stateNode=null):(G.childLanes=oe.childLanes,G.lanes=oe.lanes,G.child=oe.child,G.subtreeFlags=0,G.deletions=null,G.memoizedProps=oe.memoizedProps,G.memoizedState=oe.memoizedState,G.updateQueue=oe.updateQueue,G.type=oe.type,i=oe.dependencies,G.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),v=v.sibling;return _n(Qn,1&Qn.current|2),l.child}i=i.sibling}G.tail!==null&&Dt()>Lc&&(l.flags|=128,A=!0,qu(G,!1),l.lanes=4194304)}else{if(!A)if((i=Gp(oe))!==null){if(l.flags|=128,A=!0,(v=i.updateQueue)!==null&&(l.updateQueue=v,l.flags|=4),qu(G,!0),G.tail===null&&G.tailMode==="hidden"&&!oe.alternate&&!kn)return Bn(l),null}else 2*Dt()-G.renderingStartTime>Lc&&v!==1073741824&&(l.flags|=128,A=!0,qu(G,!1),l.lanes=4194304);G.isBackwards?(oe.sibling=l.child,l.child=oe):((v=G.last)!==null?v.sibling=oe:l.child=oe,G.last=oe)}return G.tail!==null?(l=G.tail,G.rendering=l,G.tail=l.sibling,G.renderingStartTime=Dt(),l.sibling=null,v=Qn.current,_n(Qn,A?1&v|2:1&v),l):(Bn(l),null);case 22:case 23:return Hu(),A=l.memoizedState!==null,i!==null&&i.memoizedState!==null!==A&&(l.flags|=8192),A&&1&l.mode?1073741824&Io&&(Bn(l),6&l.subtreeFlags&&(l.flags|=8192)):Bn(l),null;case 24:case 25:return null}throw Error(f(156,l.tag))}function eb(i,l){switch(Pd(l),l.tag){case 1:return Ln(l.type)&&ku(),65536&(i=l.flags)?(l.flags=-65537&i|128,l):null;case 3:return Tc(),$n(vo),$n(qa),Fd(),65536&(i=l.flags)&&!(128&i)?(l.flags=-65537&i|128,l):null;case 5:return Kp(l),null;case 13:if($n(Qn),(i=l.memoizedState)!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(f(340));Pl()}return 65536&(i=l.flags)?(l.flags=-65537&i|128,l):null;case 19:return $n(Qn),null;case 4:return Tc(),null;case 10:return Iu(l.type._context),null;case 22:case 23:return Hu(),null;default:return null}}ih=function(i,l){for(var v=l.child;v!==null;){if(v.tag===5||v.tag===6)i.appendChild(v.stateNode);else if(v.tag!==4&&v.child!==null){v.child.return=v,v=v.child;continue}if(v===l)break;for(;v.sibling===null;){if(v.return===null||v.return===l)return;v=v.return}v.sibling.return=v.return,v=v.sibling}},sh=function(){},lf=function(i,l,v,A){var F=i.memoizedProps;if(F!==A){i=l.stateNode,Il(Ii.current);var G,oe=null;switch(v){case"input":F=Nt(i,F),A=Nt(i,A),oe=[];break;case"select":F=Ne({},F,{value:void 0}),A=Ne({},A,{value:void 0}),oe=[];break;case"textarea":F=ee(i,F),A=ee(i,A),oe=[];break;default:typeof F.onClick!="function"&&typeof A.onClick=="function"&&(i.onclick=Sc)}for(De in Dr(v,A),v=null,F)if(!A.hasOwnProperty(De)&&F.hasOwnProperty(De)&&F[De]!=null)if(De==="style"){var Ae=F[De];for(G in Ae)Ae.hasOwnProperty(G)&&(v||(v={}),v[G]="")}else De!=="dangerouslySetInnerHTML"&&De!=="children"&&De!=="suppressContentEditableWarning"&&De!=="suppressHydrationWarning"&&De!=="autoFocus"&&(m.hasOwnProperty(De)?oe||(oe=[]):(oe=oe||[]).push(De,null));for(De in A){var Pe=A[De];if(Ae=F!=null?F[De]:void 0,A.hasOwnProperty(De)&&Pe!==Ae&&(Pe!=null||Ae!=null))if(De==="style")if(Ae){for(G in Ae)!Ae.hasOwnProperty(G)||Pe&&Pe.hasOwnProperty(G)||(v||(v={}),v[G]="");for(G in Pe)Pe.hasOwnProperty(G)&&Ae[G]!==Pe[G]&&(v||(v={}),v[G]=Pe[G])}else v||(oe||(oe=[]),oe.push(De,v)),v=Pe;else De==="dangerouslySetInnerHTML"?(Pe=Pe?Pe.__html:void 0,Ae=Ae?Ae.__html:void 0,Pe!=null&&Ae!==Pe&&(oe=oe||[]).push(De,Pe)):De==="children"?typeof Pe!="string"&&typeof Pe!="number"||(oe=oe||[]).push(De,""+Pe):De!=="suppressContentEditableWarning"&&De!=="suppressHydrationWarning"&&(m.hasOwnProperty(De)?(Pe!=null&&De==="onScroll"&&Nn("scroll",i),oe||Ae===Pe||(oe=[])):(oe=oe||[]).push(De,Pe))}v&&(oe=oe||[]).push("style",v);var De=oe;(l.updateQueue=De)&&(l.flags|=4)}},cf=function(i,l,v,A){v!==A&&(l.flags|=4)};var uh=!1,Ua=!1,mf=typeof WeakSet=="function"?WeakSet:Set,Gt=null;function Fc(i,l){var v=i.ref;if(v!==null)if(typeof v=="function")try{v(null)}catch(A){Zn(i,l,A)}else v.current=null}function Vg(i,l,v){try{v()}catch(A){Zn(i,l,A)}}var gf=!1;function to(i,l,v){var A=l.updateQueue;if((A=A!==null?A.lastEffect:null)!==null){var F=A=A.next;do{if((F.tag&i)===i){var G=F.destroy;F.destroy=void 0,G!==void 0&&Vg(l,v,G)}F=F.next}while(F!==A)}}function Ra(i,l){if((l=(l=l.updateQueue)!==null?l.lastEffect:null)!==null){var v=l=l.next;do{if((v.tag&i)===i){var A=v.create;v.destroy=A()}v=v.next}while(v!==l)}}function yf(i){var l=i.ref;if(l!==null){var v=i.stateNode;i.tag,i=v,typeof l=="function"?l(i):l.current=i}}function vf(i){var l=i.alternate;l!==null&&(i.alternate=null,vf(l)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(l=i.stateNode)!==null&&(delete l[pi],delete l[Ao],delete l[xu],delete l[W0],delete l[kd]),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}function Jg(i){return i.tag===5||i.tag===3||i.tag===4}function bf(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||Jg(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(2&i.flags||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(2&i.flags))return i.stateNode}}function wf(i,l,v){var A=i.tag;if(A===5||A===6)i=i.stateNode,l?v.nodeType===8?v.parentNode.insertBefore(i,l):v.insertBefore(i,l):(v.nodeType===8?(l=v.parentNode).insertBefore(i,v):(l=v).appendChild(i),(v=v._reactRootContainer)!=null||l.onclick!==null||(l.onclick=Sc));else if(A!==4&&(i=i.child)!==null)for(wf(i,l,v),i=i.sibling;i!==null;)wf(i,l,v),i=i.sibling}function ph(i,l,v){var A=i.tag;if(A===5||A===6)i=i.stateNode,l?v.insertBefore(i,l):v.appendChild(i);else if(A!==4&&(i=i.child)!==null)for(ph(i,l,v),i=i.sibling;i!==null;)ph(i,l,v),i=i.sibling}var ro=null,mi=!1;function ps(i,l,v){for(v=v.child;v!==null;)Ef(i,l,v),v=v.sibling}function Ef(i,l,v){if(Vn&&typeof Vn.onCommitFiberUnmount=="function")try{Vn.onCommitFiberUnmount(mo,v)}catch(Ae){}switch(v.tag){case 5:Ua||Fc(v,l);case 6:var A=ro,F=mi;ro=null,ps(i,l,v),mi=F,(ro=A)!==null&&(mi?(i=ro,v=v.stateNode,i.nodeType===8?i.parentNode.removeChild(v):i.removeChild(v)):ro.removeChild(v.stateNode));break;case 18:ro!==null&&(mi?(i=ro,v=v.stateNode,i.nodeType===8?Fp(i.parentNode,v):i.nodeType===1&&Fp(i,v),li(i)):Fp(ro,v.stateNode));break;case 4:A=ro,F=mi,ro=v.stateNode.containerInfo,mi=!0,ps(i,l,v),ro=A,mi=F;break;case 0:case 11:case 14:case 15:if(!Ua&&(A=v.updateQueue)!==null&&(A=A.lastEffect)!==null){F=A=A.next;do{var G=F,oe=G.destroy;G=G.tag,oe!==void 0&&(2&G||4&G)&&Vg(v,l,oe),F=F.next}while(F!==A)}ps(i,l,v);break;case 1:if(!Ua&&(Fc(v,l),typeof(A=v.stateNode).componentWillUnmount=="function"))try{A.props=v.memoizedProps,A.state=v.memoizedState,A.componentWillUnmount()}catch(Ae){Zn(v,l,Ae)}ps(i,l,v);break;case 21:ps(i,l,v);break;case 22:1&v.mode?(Ua=(A=Ua)||v.memoizedState!==null,ps(i,l,v),Ua=A):ps(i,l,v);break;default:ps(i,l,v)}}function Wg(i){var l=i.updateQueue;if(l!==null){i.updateQueue=null;var v=i.stateNode;v===null&&(v=i.stateNode=new mf),l.forEach((function(A){var F=ab.bind(null,i,A);v.has(A)||(v.add(A),A.then(F,F))}))}}function Ri(i,l){var v=l.deletions;if(v!==null)for(var A=0;A<v.length;A++){var F=v[A];try{var G=i,oe=l,Ae=oe;e:for(;Ae!==null;){switch(Ae.tag){case 5:ro=Ae.stateNode,mi=!1;break e;case 3:case 4:ro=Ae.stateNode.containerInfo,mi=!0;break e}Ae=Ae.return}if(ro===null)throw Error(f(160));Ef(G,oe,F),ro=null,mi=!1;var Pe=F.alternate;Pe!==null&&(Pe.return=null),F.return=null}catch(De){Zn(F,l,De)}}if(12854&l.subtreeFlags)for(l=l.child;l!==null;)Hg(l,i),l=l.sibling}function Hg(i,l){var v=i.alternate,A=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:if(Ri(l,i),hs(i),4&A){try{to(3,i,i.return),Ra(3,i)}catch(bt){Zn(i,i.return,bt)}try{to(5,i,i.return)}catch(bt){Zn(i,i.return,bt)}}break;case 1:Ri(l,i),hs(i),512&A&&v!==null&&Fc(v,v.return);break;case 5:if(Ri(l,i),hs(i),512&A&&v!==null&&Fc(v,v.return),32&i.flags){var F=i.stateNode;try{Ir(F,"")}catch(bt){Zn(i,i.return,bt)}}if(4&A&&(F=i.stateNode)!=null){var G=i.memoizedProps,oe=v!==null?v.memoizedProps:G,Ae=i.type,Pe=i.updateQueue;if(i.updateQueue=null,Pe!==null)try{Ae==="input"&&G.type==="radio"&&G.name!=null&&Et(F,G),Qr(Ae,oe);var De=Qr(Ae,G);for(oe=0;oe<Pe.length;oe+=2){var Qe=Pe[oe],Ze=Pe[oe+1];Qe==="style"?xn(F,Ze):Qe==="dangerouslySetInnerHTML"?Ot(F,Ze):Qe==="children"?Ir(F,Ze):H(F,Qe,Ze,De)}switch(Ae){case"input":ct(F,G);break;case"textarea":we(F,G);break;case"select":var He=F._wrapperState.wasMultiple;F._wrapperState.wasMultiple=!!G.multiple;var ht=G.value;ht!=null?W(F,!!G.multiple,ht,!1):He!==!!G.multiple&&(G.defaultValue!=null?W(F,!!G.multiple,G.defaultValue,!0):W(F,!!G.multiple,G.multiple?[]:"",!1))}F[Ao]=G}catch(bt){Zn(i,i.return,bt)}}break;case 6:if(Ri(l,i),hs(i),4&A){if(i.stateNode===null)throw Error(f(162));F=i.stateNode,G=i.memoizedProps;try{F.nodeValue=G}catch(bt){Zn(i,i.return,bt)}}break;case 3:if(Ri(l,i),hs(i),4&A&&v!==null&&v.memoizedState.isDehydrated)try{li(l.containerInfo)}catch(bt){Zn(i,i.return,bt)}break;case 4:default:Ri(l,i),hs(i);break;case 13:Ri(l,i),hs(i),8192&(F=i.child).flags&&(G=F.memoizedState!==null,F.stateNode.isHidden=G,!G||F.alternate!==null&&F.alternate.memoizedState!==null||(zu=Dt())),4&A&&Wg(i);break;case 22:if(Qe=v!==null&&v.memoizedState!==null,1&i.mode?(Ua=(De=Ua)||Qe,Ri(l,i),Ua=De):Ri(l,i),hs(i),8192&A){if(De=i.memoizedState!==null,(i.stateNode.isHidden=De)&&!Qe&&1&i.mode)for(Gt=i,Qe=i.child;Qe!==null;){for(Ze=Gt=Qe;Gt!==null;){switch(ht=(He=Gt).child,He.tag){case 0:case 11:case 14:case 15:to(4,He,He.return);break;case 1:Fc(He,He.return);var xt=He.stateNode;if(typeof xt.componentWillUnmount=="function"){A=He,v=He.return;try{l=A,xt.props=l.memoizedProps,xt.state=l.memoizedState,xt.componentWillUnmount()}catch(bt){Zn(A,v,bt)}}break;case 5:Fc(He,He.return);break;case 22:if(He.memoizedState!==null){Sf(Ze);continue}}ht!==null?(ht.return=He,Gt=ht):Sf(Ze)}Qe=Qe.sibling}e:for(Qe=null,Ze=i;;){if(Ze.tag===5){if(Qe===null){Qe=Ze;try{F=Ze.stateNode,De?typeof(G=F.style).setProperty=="function"?G.setProperty("display","none","important"):G.display="none":(Ae=Ze.stateNode,oe=(Pe=Ze.memoizedProps.style)!=null&&Pe.hasOwnProperty("display")?Pe.display:null,Ae.style.display=Lr("display",oe))}catch(bt){Zn(i,i.return,bt)}}}else if(Ze.tag===6){if(Qe===null)try{Ze.stateNode.nodeValue=De?"":Ze.memoizedProps}catch(bt){Zn(i,i.return,bt)}}else if((Ze.tag!==22&&Ze.tag!==23||Ze.memoizedState===null||Ze===i)&&Ze.child!==null){Ze.child.return=Ze,Ze=Ze.child;continue}if(Ze===i)break e;for(;Ze.sibling===null;){if(Ze.return===null||Ze.return===i)break e;Qe===Ze&&(Qe=null),Ze=Ze.return}Qe===Ze&&(Qe=null),Ze.sibling.return=Ze.return,Ze=Ze.sibling}}break;case 19:Ri(l,i),hs(i),4&A&&Wg(i);case 21:}}function hs(i){var l=i.flags;if(2&l){try{e:{for(var v=i.return;v!==null;){if(Jg(v)){var A=v;break e}v=v.return}throw Error(f(160))}switch(A.tag){case 5:var F=A.stateNode;32&A.flags&&(Ir(F,""),A.flags&=-33),ph(i,bf(i),F);break;case 3:case 4:var G=A.stateNode.containerInfo;wf(i,bf(i),G);break;default:throw Error(f(161))}}catch(oe){Zn(i,i.return,oe)}i.flags&=-3}4096&l&&(i.flags&=-4097)}function tb(i,l,v){Gt=i,Kg(i)}function Kg(i,l,v){for(var A=!!(1&i.mode);Gt!==null;){var F=Gt,G=F.child;if(F.tag===22&&A){var oe=F.memoizedState!==null||uh;if(!oe){var Ae=F.alternate,Pe=Ae!==null&&Ae.memoizedState!==null||Ua;Ae=uh;var De=Ua;if(uh=oe,(Ua=Pe)&&!De)for(Gt=F;Gt!==null;)Pe=(oe=Gt).child,oe.tag===22&&oe.memoizedState!==null?hh(F):Pe!==null?(Pe.return=oe,Gt=Pe):hh(F);for(;G!==null;)Gt=G,Kg(G),G=G.sibling;Gt=F,uh=Ae,Ua=De}Gg(i)}else 8772&F.subtreeFlags&&G!==null?(G.return=F,Gt=G):Gg(i)}}function Gg(i){for(;Gt!==null;){var l=Gt;if(8772&l.flags){var v=l.alternate;try{if(8772&l.flags)switch(l.tag){case 0:case 11:case 15:Ua||Ra(5,l);break;case 1:var A=l.stateNode;if(4&l.flags&&!Ua)if(v===null)A.componentDidMount();else{var F=l.elementType===l.type?v.memoizedProps:To(l.type,v.memoizedProps);A.componentDidUpdate(F,v.memoizedState,A.__reactInternalSnapshotBeforeUpdate)}var G=l.updateQueue;G!==null&&Rd(l,G,A);break;case 3:var oe=l.updateQueue;if(oe!==null){if(v=null,l.child!==null)switch(l.child.tag){case 5:case 1:v=l.child.stateNode}Rd(l,oe,v)}break;case 5:var Ae=l.stateNode;if(v===null&&4&l.flags){v=Ae;var Pe=l.memoizedProps;switch(l.type){case"button":case"input":case"select":case"textarea":Pe.autoFocus&&v.focus();break;case"img":Pe.src&&(v.src=Pe.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(l.memoizedState===null){var De=l.alternate;if(De!==null){var Qe=De.memoizedState;if(Qe!==null){var Ze=Qe.dehydrated;Ze!==null&&li(Ze)}}}break;default:throw Error(f(163))}Ua||512&l.flags&&yf(l)}catch(He){Zn(l,l.return,He)}}if(l===i){Gt=null;break}if((v=l.sibling)!==null){v.return=l.return,Gt=v;break}Gt=l.return}}function Sf(i){for(;Gt!==null;){var l=Gt;if(l===i){Gt=null;break}var v=l.sibling;if(v!==null){v.return=l.return,Gt=v;break}Gt=l.return}}function hh(i){for(;Gt!==null;){var l=Gt;try{switch(l.tag){case 0:case 11:case 15:var v=l.return;try{Ra(4,l)}catch(Pe){Zn(l,v,Pe)}break;case 1:var A=l.stateNode;if(typeof A.componentDidMount=="function"){var F=l.return;try{A.componentDidMount()}catch(Pe){Zn(l,F,Pe)}}var G=l.return;try{yf(l)}catch(Pe){Zn(l,G,Pe)}break;case 5:var oe=l.return;try{yf(l)}catch(Pe){Zn(l,oe,Pe)}}}catch(Pe){Zn(l,l.return,Pe)}if(l===i){Gt=null;break}var Ae=l.sibling;if(Ae!==null){Ae.return=l.return,Gt=Ae;break}Gt=l.return}}var xf,Yg=Math.ceil,dh=Q.ReactCurrentDispatcher,fh=Q.ReactCurrentOwner,No=Q.ReactCurrentBatchConfig,en=0,Oa=null,pa=null,Da=0,Io=0,Gs=Js(0),ha=0,Uu=null,Ys=0,mh=0,_f=0,$c=null,Mo=null,zu=0,Lc=1/0,ds=null,gh=!1,kf=null,fs=null,yh=!1,ms=null,vh=0,Vu=0,Of=null,Ju=-1,bh=0;function no(){return 6&en?Dt():Ju!==-1?Ju:Ju=Dt()}function Xs(i){return 1&i.mode?2&en&&Da!==0?Da&-Da:Wr.transition!==null?(bh===0&&(bh=Yi()),bh):(i=Jr)!==0?i:i=(i=window.event)===void 0?16:Xi(i.type):1}function gi(i,l,v,A){if(50<Vu)throw Vu=0,Of=null,Error(f(185));Oi(i,v,A),2&en&&i===Oa||(i===Oa&&(!(2&en)&&(mh|=v),ha===4&&Di(i,Da)),Eo(i,A),v===1&&en===0&&!(1&l.mode)&&(Lc=Dt()+500,Bp&&os()))}function Eo(i,l){var v=i.callbackNode;(function(G,oe){for(var Ae=G.suspendedLanes,Pe=G.pingedLanes,De=G.expirationTimes,Qe=G.pendingLanes;0<Qe;){var Ze=31-Ba(Qe),He=1<<Ze,ht=De[Ze];ht===-1?He&Ae&&!(He&Pe)||(De[Ze]=ki(He,oe)):ht<=oe&&(G.expiredLanes|=He),Qe&=~He}})(i,l);var A=dl(i,i===Oa?Da:0);if(A===0)v!==null&&Vo(v),i.callbackNode=null,i.callbackPriority=0;else if(l=A&-A,i.callbackPriority!==l){if(v!=null&&Vo(v),l===1)i.tag===0?(function(G){Bp=!0,bg(G)})(wh.bind(null,i)):bg(wh.bind(null,i)),V0((function(){!(6&en)&&os()})),v=null;else{switch(rc(A)){case 1:v=Zt;break;case 4:v=br;break;case 16:default:v=zn;break;case 536870912:v=fo}v=Qg(v,Af.bind(null,i))}i.callbackPriority=l,i.callbackNode=v}}function Af(i,l){if(Ju=-1,bh=0,6&en)throw Error(f(327));var v=i.callbackNode;if(ys()&&i.callbackNode!==v)return null;var A=dl(i,i===Oa?Da:0);if(A===0)return null;if(30&A||A&i.expiredLanes||l)l=Gu(i,A);else{l=A;var F=en;en|=2;var G=Sh();for(Oa===i&&Da===l||(ds=null,Lc=Dt()+500,gs(i,l));;)try{Tf();break}catch(Ae){Eh(i,Ae)}Nu(),dh.current=G,en=F,pa!==null?l=0:(Oa=null,Da=0,l=ha)}if(l!==0){if(l===2&&(F=tc(i))!==0&&(A=F,l=Cf(i,F)),l===1)throw v=Uu,gs(i,0),Di(i,A),Eo(i,Dt()),v;if(l===6)Di(i,A);else{if(F=i.current.alternate,!(30&A||(function(Pe){for(var De=Pe;;){if(16384&De.flags){var Qe=De.updateQueue;if(Qe!==null&&(Qe=Qe.stores)!==null)for(var Ze=0;Ze<Qe.length;Ze++){var He=Qe[Ze],ht=He.getSnapshot;He=He.value;try{if(!ua(ht(),He))return!1}catch(xt){return!1}}}if(Qe=De.child,16384&De.subtreeFlags&&Qe!==null)Qe.return=De,De=Qe;else{if(De===Pe)break;for(;De.sibling===null;){if(De.return===null||De.return===Pe)return!0;De=De.return}De.sibling.return=De.return,De=De.sibling}}return!0})(F)||(l=Gu(i,A),l===2&&(G=tc(i),G!==0&&(A=G,l=Cf(i,G))),l!==1)))throw v=Uu,gs(i,0),Di(i,A),Eo(i,Dt()),v;switch(i.finishedWork=F,i.finishedLanes=A,l){case 0:case 1:throw Error(f(345));case 2:case 5:Qs(i,Mo,ds);break;case 3:if(Di(i,A),(130023424&A)===A&&10<(l=zu+500-Dt())){if(dl(i,0)!==0)break;if(((F=i.suspendedLanes)&A)!==A){no(),i.pingedLanes|=i.suspendedLanes&F;break}i.timeoutHandle=Dp(Qs.bind(null,i,Mo,ds),l);break}Qs(i,Mo,ds);break;case 4:if(Di(i,A),(4194240&A)===A)break;for(l=i.eventTimes,F=-1;0<A;){var oe=31-Ba(A);G=1<<oe,(oe=l[oe])>F&&(F=oe),A&=~G}if(A=F,10<(A=(120>(A=Dt()-A)?120:480>A?480:1080>A?1080:1920>A?1920:3e3>A?3e3:4320>A?4320:1960*Yg(A/1960))-A)){i.timeoutHandle=Dp(Qs.bind(null,i,Mo,ds),A);break}Qs(i,Mo,ds);break;default:throw Error(f(329))}}}return Eo(i,Dt()),i.callbackNode===v?Af.bind(null,i):null}function Cf(i,l){var v=$c;return i.current.memoizedState.isDehydrated&&(gs(i,l).flags|=256),(i=Gu(i,l))!==2&&(l=Mo,Mo=v,l!==null&&jf(l)),i}function jf(i){Mo===null?Mo=i:Mo.push.apply(Mo,i)}function Di(i,l){for(l&=~_f,l&=~mh,i.suspendedLanes|=l,i.pingedLanes&=~l,i=i.expirationTimes;0<l;){var v=31-Ba(l),A=1<<v;i[v]=-1,l&=~A}}function wh(i){if(6&en)throw Error(f(327));ys();var l=dl(i,0);if(!(1&l))return Eo(i,Dt()),null;var v=Gu(i,l);if(i.tag!==0&&v===2){var A=tc(i);A!==0&&(l=A,v=Cf(i,A))}if(v===1)throw v=Uu,gs(i,0),Di(i,l),Eo(i,Dt()),v;if(v===6)throw Error(f(345));return i.finishedWork=i.current.alternate,i.finishedLanes=l,Qs(i,Mo,ds),Eo(i,Dt()),null}function Wu(i,l){var v=en;en|=1;try{return i(l)}finally{(en=v)===0&&(Lc=Dt()+500,Bp&&os())}}function Fi(i){ms!==null&&ms.tag===0&&!(6&en)&&ys();var l=en;en|=1;var v=No.transition,A=Jr;try{if(No.transition=null,Jr=1,i)return i()}finally{Jr=A,No.transition=v,!(6&(en=l))&&os()}}function Hu(){Io=Gs.current,$n(Gs)}function gs(i,l){i.finishedWork=null,i.finishedLanes=0;var v=i.timeoutHandle;if(v!==-1&&(i.timeoutHandle=-1,Su(v)),pa!==null)for(v=pa.return;v!==null;){var A=v;switch(Pd(A),A.tag){case 1:(A=A.type.childContextTypes)!=null&&ku();break;case 3:Tc(),$n(vo),$n(qa),Fd();break;case 5:Kp(A);break;case 4:Tc();break;case 13:case 19:$n(Qn);break;case 10:Iu(A.type._context);break;case 22:case 23:Hu()}v=v.return}if(Oa=i,pa=i=Zs(i.current,null),Da=Io=l,ha=0,Uu=null,_f=mh=Ys=0,Mo=$c=null,Tl!==null){for(l=0;l<Tl.length;l++)if((A=(v=Tl[l]).interleaved)!==null){v.interleaved=null;var F=A.next,G=v.pending;if(G!==null){var oe=G.next;G.next=F,A.next=oe}v.pending=A}Tl=null}return i}function Eh(i,l){for(;;){var v=pa;try{if(Nu(),Br.current=Dc,Ic){for(var A=Wn.memoizedState;A!==null;){var F=A.queue;F!==null&&(F.pending=null),A=A.next}Ic=!1}if(Ml=0,wa=xa=Wn=null,$u=!1,Lu=0,fh.current=null,v===null||v.return===null){ha=1,Uu=l,pa=null;break}e:{var G=i,oe=v.return,Ae=v,Pe=l;if(l=Da,Ae.flags|=32768,Pe!==null&&typeof Pe=="object"&&typeof Pe.then=="function"){var De=Pe,Qe=Ae,Ze=Qe.tag;if(!(1&Qe.mode||Ze!==0&&Ze!==11&&Ze!==15)){var He=Qe.alternate;He?(Qe.updateQueue=He.updateQueue,Qe.memoizedState=He.memoizedState,Qe.lanes=He.lanes):(Qe.updateQueue=null,Qe.memoizedState=null)}var ht=ah(oe);if(ht!==null){ht.flags&=-257,Bg(ht,oe,Ae,0,l),1&ht.mode&&fi(G,De,l),Pe=De;var xt=(l=ht).updateQueue;if(xt===null){var bt=new Set;bt.add(Pe),l.updateQueue=bt}else xt.add(Pe);break e}if(!(1&l)){fi(G,De,l),Ku();break e}Pe=Error(f(426))}else if(kn&&1&Ae.mode){var Je=ah(oe);if(Je!==null){!(65536&Je.flags)&&(Je.flags|=256),Bg(Je,oe,Ae,0,l),Td(Dl(Pe,Ae));break e}}G=Pe=Dl(Pe,Ae),ha!==4&&(ha=2),$c===null?$c=[G]:$c.push(G),G=oe;do{switch(G.tag){case 3:G.flags|=65536,l&=-l,G.lanes|=l,Jp(G,ef(0,Pe,l));break e;case 1:Ae=Pe;var Te=G.type,We=G.stateNode;if(!(128&G.flags||typeof Te.getDerivedStateFromError!="function"&&(We===null||typeof We.componentDidCatch!="function"||fs!==null&&fs.has(We)))){G.flags|=65536,l&=-l,G.lanes|=l,Jp(G,Lg(G,Ae,l));break e}}G=G.return}while(G!==null)}Yu(v)}catch(dt){l=dt,pa===v&&v!==null&&(pa=v=v.return);continue}break}}function Sh(){var i=dh.current;return dh.current=Dc,i===null?Dc:i}function Ku(){ha!==0&&ha!==3&&ha!==2||(ha=4),Oa===null||!(268435455&Ys)&&!(268435455&mh)||Di(Oa,Da)}function Gu(i,l){var v=en;en|=2;var A=Sh();for(Oa===i&&Da===l||(ds=null,gs(i,l));;)try{Pf();break}catch(F){Eh(i,F)}if(Nu(),en=v,dh.current=A,pa!==null)throw Error(f(261));return Oa=null,Da=0,ha}function Pf(){for(;pa!==null;)xh(pa)}function Tf(){for(;pa!==null&&!Or();)xh(pa)}function xh(i){var l=xf(i.alternate,i,Io);i.memoizedProps=i.pendingProps,l===null?Yu(i):pa=l,fh.current=null}function Yu(i){var l=i;do{var v=l.alternate;if(i=l.return,32768&l.flags){if((v=eb(v,l))!==null)return v.flags&=32767,void(pa=v);if(i===null)return ha=6,void(pa=null);i.flags|=32768,i.subtreeFlags=0,i.deletions=null}else if((v=Z0(v,l,Io))!==null)return void(pa=v);if((l=l.sibling)!==null)return void(pa=l);pa=l=i}while(l!==null);ha===0&&(ha=5)}function Qs(i,l,v){var A=Jr,F=No.transition;try{No.transition=null,Jr=1,(function(oe,Ae,Pe,De){do ys();while(ms!==null);if(6&en)throw Error(f(327));Pe=oe.finishedWork;var Qe=oe.finishedLanes;if(Pe===null)return null;if(oe.finishedWork=null,oe.finishedLanes=0,Pe===oe.current)throw Error(f(177));oe.callbackNode=null,oe.callbackPriority=0;var Ze=Pe.lanes|Pe.childLanes;if((function(bt,Je){var Te=bt.pendingLanes&~Je;bt.pendingLanes=Je,bt.suspendedLanes=0,bt.pingedLanes=0,bt.expiredLanes&=Je,bt.mutableReadLanes&=Je,bt.entangledLanes&=Je,Je=bt.entanglements;var We=bt.eventTimes;for(bt=bt.expirationTimes;0<Te;){var dt=31-Ba(Te),Ft=1<<dt;Je[dt]=0,We[dt]=-1,bt[dt]=-1,Te&=~Ft}})(oe,Ze),oe===Oa&&(pa=Oa=null,Da=0),!(2064&Pe.subtreeFlags)&&!(2064&Pe.flags)||yh||(yh=!0,Qg(zn,(function(){return ys(),null}))),Ze=!!(15990&Pe.flags),!!(15990&Pe.subtreeFlags)||Ze){Ze=No.transition,No.transition=null;var He=Jr;Jr=1;var ht=en;en|=4,fh.current=null,(function(bt,Je){if(xc=Ds,Z(bt=K())){if("selectionStart"in bt)var Te={start:bt.selectionStart,end:bt.selectionEnd};else e:{var We=(Te=(Te=bt.ownerDocument)&&Te.defaultView||window).getSelection&&Te.getSelection();if(We&&We.rangeCount!==0){Te=We.anchorNode;var dt=We.anchorOffset,Ft=We.focusNode;We=We.focusOffset;try{Te.nodeType,Ft.nodeType}catch(Qu){Te=null;break e}var Sr=0,Tt=-1,yr=-1,Hr=0,Kr=0,tn=bt,In=null;t:for(;;){for(var qc;tn!==Te||dt!==0&&tn.nodeType!==3||(Tt=Sr+dt),tn!==Ft||We!==0&&tn.nodeType!==3||(yr=Sr+We),tn.nodeType===3&&(Sr+=tn.nodeValue.length),(qc=tn.firstChild)!==null;)In=tn,tn=qc;for(;;){if(tn===bt)break t;if(In===Te&&++Hr===dt&&(Tt=Sr),In===Ft&&++Kr===We&&(yr=Sr),(qc=tn.nextSibling)!==null)break;In=(tn=In).parentNode}tn=qc}Te=Tt===-1||yr===-1?null:{start:Tt,end:yr}}else Te=null}Te=Te||{start:0,end:0}}else Te=null;for(_l={focusedElem:bt,selectionRange:Te},Ds=!1,Gt=Je;Gt!==null;)if(bt=(Je=Gt).child,1028&Je.subtreeFlags&&bt!==null)bt.return=Je,Gt=bt;else for(;Gt!==null;){Je=Gt;try{var Ll=Je.alternate;if(1024&Je.flags)switch(Je.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(Ll!==null){var oy=Ll.memoizedProps,lb=Ll.memoizedState,$f=Je.stateNode,cn=$f.getSnapshotBeforeUpdate(Je.elementType===Je.type?oy:To(Je.type,oy),lb);$f.__reactInternalSnapshotBeforeUpdate=cn}break;case 3:var Bl=Je.stateNode.containerInfo;Bl.nodeType===1?Bl.textContent="":Bl.nodeType===9&&Bl.documentElement&&Bl.removeChild(Bl.documentElement);break;default:throw Error(f(163))}}catch(Qu){Zn(Je,Je.return,Qu)}if((bt=Je.sibling)!==null){bt.return=Je.return,Gt=bt;break}Gt=Je.return}return Ll=gf,gf=!1,Ll})(oe,Pe),Hg(Pe,oe),re(_l),Ds=!!xc,_l=xc=null,oe.current=Pe,tb(Pe,oe,Qe),Ya(),en=ht,Jr=He,No.transition=Ze}else oe.current=Pe;if(yh&&(yh=!1,ms=oe,vh=Qe),Ze=oe.pendingLanes,Ze===0&&(fs=null),(function(bt){if(Vn&&typeof Vn.onCommitFiberRoot=="function")try{Vn.onCommitFiberRoot(mo,bt,void 0,!(128&~bt.current.flags))}catch(Je){}})(Pe.stateNode),Eo(oe,Dt()),Ae!==null)for(De=oe.onRecoverableError,Pe=0;Pe<Ae.length;Pe++)Qe=Ae[Pe],De(Qe.value,{componentStack:Qe.stack,digest:Qe.digest});if(gh)throw gh=!1,oe=kf,kf=null,oe;return 1&vh&&oe.tag!==0&&ys(),Ze=oe.pendingLanes,1&Ze?oe===Of?Vu++:(Vu=0,Of=oe):Vu=0,os(),null})(i,l,v,A)}finally{No.transition=F,Jr=A}return null}function ys(){if(ms!==null){var i=rc(vh),l=No.transition,v=Jr;try{if(No.transition=null,Jr=16>i?16:i,ms===null)var A=!1;else{if(i=ms,ms=null,vh=0,6&en)throw Error(f(331));var F=en;for(en|=4,Gt=i.current;Gt!==null;){var G=Gt,oe=G.child;if(16&Gt.flags){var Ae=G.deletions;if(Ae!==null){for(var Pe=0;Pe<Ae.length;Pe++){var De=Ae[Pe];for(Gt=De;Gt!==null;){var Qe=Gt;switch(Qe.tag){case 0:case 11:case 15:to(8,Qe,G)}var Ze=Qe.child;if(Ze!==null)Ze.return=Qe,Gt=Ze;else for(;Gt!==null;){var He=(Qe=Gt).sibling,ht=Qe.return;if(vf(Qe),Qe===De){Gt=null;break}if(He!==null){He.return=ht,Gt=He;break}Gt=ht}}}var xt=G.alternate;if(xt!==null){var bt=xt.child;if(bt!==null){xt.child=null;do{var Je=bt.sibling;bt.sibling=null,bt=Je}while(bt!==null)}}Gt=G}}if(2064&G.subtreeFlags&&oe!==null)oe.return=G,Gt=oe;else e:for(;Gt!==null;){if(2048&(G=Gt).flags)switch(G.tag){case 0:case 11:case 15:to(9,G,G.return)}var Te=G.sibling;if(Te!==null){Te.return=G.return,Gt=Te;break e}Gt=G.return}}var We=i.current;for(Gt=We;Gt!==null;){var dt=(oe=Gt).child;if(2064&oe.subtreeFlags&&dt!==null)dt.return=oe,Gt=dt;else e:for(oe=We;Gt!==null;){if(2048&(Ae=Gt).flags)try{switch(Ae.tag){case 0:case 11:case 15:Ra(9,Ae)}}catch(Sr){Zn(Ae,Ae.return,Sr)}if(Ae===oe){Gt=null;break e}var Ft=Ae.sibling;if(Ft!==null){Ft.return=Ae.return,Gt=Ft;break e}Gt=Ae.return}}if(en=F,os(),Vn&&typeof Vn.onPostCommitFiberRoot=="function")try{Vn.onPostCommitFiberRoot(mo,i)}catch(Sr){}A=!0}return A}finally{Jr=v,No.transition=l}}return!1}function _h(i,l,v){i=us(i,l=ef(0,l=Dl(v,l),1),1),l=no(),i!==null&&(Oi(i,1,l),Eo(i,l))}function Zn(i,l,v){if(i.tag===3)_h(i,i,v);else for(;l!==null;){if(l.tag===3){_h(l,i,v);break}if(l.tag===1){var A=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof A.componentDidCatch=="function"&&(fs===null||!fs.has(A))){l=us(l,i=Lg(l,i=Dl(v,i),1),1),i=no(),l!==null&&(Oi(l,1,i),Eo(l,i));break}}l=l.return}}function rb(i,l,v){var A=i.pingCache;A!==null&&A.delete(l),l=no(),i.pingedLanes|=i.suspendedLanes&v,Oa===i&&(Da&v)===v&&(ha===4||ha===3&&(130023424&Da)===Da&&500>Dt()-zu?gs(i,0):_f|=v),Eo(i,l)}function Xg(i,l){l===0&&(1&i.mode?(l=hl,!(130023424&(hl<<=1))&&(hl=4194304)):l=1);var v=no();(i=ss(i,l))!==null&&(Oi(i,l,v),Eo(i,v))}function nb(i){var l=i.memoizedState,v=0;l!==null&&(v=l.retryLane),Xg(i,v)}function ab(i,l){var v=0;switch(i.tag){case 13:var A=i.stateNode,F=i.memoizedState;F!==null&&(v=F.retryLane);break;case 19:A=i.stateNode;break;default:throw Error(f(314))}A!==null&&A.delete(l),Xg(i,v)}function Qg(i,l){return ko(i,l)}function Zg(i,l,v,A){this.tag=i,this.key=v,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=A,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yo(i,l,v,A){return new Zg(i,l,v,A)}function Bc(i){return!(!(i=i.prototype)||!i.isReactComponent)}function Zs(i,l){var v=i.alternate;return v===null?((v=Yo(i.tag,l,i.key,i.mode)).elementType=i.elementType,v.type=i.type,v.stateNode=i.stateNode,v.alternate=i,i.alternate=v):(v.pendingProps=l,v.type=i.type,v.flags=0,v.subtreeFlags=0,v.deletions=null),v.flags=14680064&i.flags,v.childLanes=i.childLanes,v.lanes=i.lanes,v.child=i.child,v.memoizedProps=i.memoizedProps,v.memoizedState=i.memoizedState,v.updateQueue=i.updateQueue,l=i.dependencies,v.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},v.sibling=i.sibling,v.index=i.index,v.ref=i.ref,v}function kh(i,l,v,A,F,G){var oe=2;if(A=i,typeof i=="function")Bc(i)&&(oe=1);else if(typeof i=="string")oe=5;else e:switch(i){case Ce:return $l(v.children,F,G,l);case he:oe=8,F|=8;break;case ge:return(i=Yo(12,v,l,2|F)).elementType=ge,i.lanes=G,i;case $e:return(i=Yo(13,v,l,F)).elementType=$e,i.lanes=G,i;case Ke:return(i=Yo(19,v,l,F)).elementType=Ke,i.lanes=G,i;case p:return Oh(v,F,G,l);default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case ke:oe=10;break e;case Le:oe=9;break e;case Be:oe=11;break e;case st:oe=14;break e;case Me:oe=16,A=null;break e}throw Error(f(130,i==null?i:typeof i,""))}return(l=Yo(oe,v,l,F)).elementType=i,l.type=A,l.lanes=G,l}function $l(i,l,v,A){return(i=Yo(7,i,A,l)).lanes=v,i}function Oh(i,l,v,A){return(i=Yo(22,i,A,l)).elementType=p,i.lanes=v,i.stateNode={isHidden:!1},i}function Nf(i,l,v){return(i=Yo(6,i,null,l)).lanes=v,i}function If(i,l,v){return(l=Yo(4,i.children!==null?i.children:[],i.key,l)).lanes=v,l.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},l}function ob(i,l,v,A,F){this.tag=l,this.containerInfo=i,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Is(0),this.expirationTimes=Is(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Is(0),this.identifierPrefix=A,this.onRecoverableError=F,this.mutableSourceEagerHydrationData=null}function Mf(i,l,v,A,F,G,oe,Ae,Pe){return i=new ob(i,l,v,Ae,Pe),l===1?(l=1,G===!0&&(l|=8)):l=0,G=Yo(3,null,null,l),i.current=G,G.stateNode=i,G.memoizedState={element:A,isDehydrated:v,cache:null,transitions:null,pendingSuspenseBoundaries:null},Md(G),i}function ey(i){if(!i)return Ws;e:{if(La(i=i._reactInternals)!==i||i.tag!==1)throw Error(f(170));var l=i;do{switch(l.tag){case 3:l=l.stateNode.context;break e;case 1:if(Ln(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break e}}l=l.return}while(l!==null);throw Error(f(171))}if(i.tag===1){var v=i.type;if(Ln(v))return yg(i,v,l)}return l}function ty(i,l,v,A,F,G,oe,Ae,Pe){return(i=Mf(v,A,!0,i,0,G,0,Ae,Pe)).context=ey(null),v=i.current,(G=cs(A=no(),F=Xs(v))).callback=l!=null?l:null,us(v,G,F),i.current.lanes=F,Oi(i,F,A),Eo(i,A),i}function Ah(i,l,v,A){var F=l.current,G=no(),oe=Xs(F);return v=ey(v),l.context===null?l.context=v:l.pendingContext=v,(l=cs(G,oe)).payload={element:i},(A=A===void 0?null:A)!==null&&(l.callback=A),(i=us(F,l,oe))!==null&&(gi(i,F,oe,G),Mu(i,F,oe)),oe}function Ch(i){return(i=i.current).child?(i.child.tag,i.child.stateNode):null}function ry(i,l){if((i=i.memoizedState)!==null&&i.dehydrated!==null){var v=i.retryLane;i.retryLane=v!==0&&v<l?v:l}}function Rf(i,l){ry(i,l),(i=i.alternate)&&ry(i,l)}xf=function(i,l,v){if(i!==null)if(i.memoizedProps!==l.pendingProps||vo.current)ka=!0;else{if(!(i.lanes&v||128&l.flags))return ka=!1,(function(He,ht,xt){switch(ht.tag){case 3:sf(ht),Pl();break;case 5:Hp(ht);break;case 1:Ln(ht.type)&&Lp(ht);break;case 4:Wp(ht,ht.stateNode.containerInfo);break;case 10:var bt=ht.type._context,Je=ht.memoizedProps.value;_n(Vp,bt._currentValue),bt._currentValue=Je;break;case 13:if((bt=ht.memoizedState)!==null)return bt.dehydrated!==null?(_n(Qn,1&Qn.current),ht.flags|=128,null):xt&ht.child.childLanes?Ug(He,ht,xt):(_n(Qn,1&Qn.current),(He=Go(He,ht,xt))!==null?He.sibling:null);_n(Qn,1&Qn.current);break;case 19:if(bt=!!(xt&ht.childLanes),128&He.flags){if(bt)return ff(He,ht,xt);ht.flags|=128}if((Je=ht.memoizedState)!==null&&(Je.rendering=null,Je.tail=null,Je.lastEffect=null),_n(Qn,Qn.current),bt)break;return null;case 22:case 23:return ht.lanes=0,nf(He,ht,xt)}return Go(He,ht,xt)})(i,l,v);ka=!!(131072&i.flags)}else ka=!1,kn&&1048576&l.flags&&Cd(l,Ou,l.index);switch(l.lanes=0,l.tag){case 2:var A=l.type;ch(i,l),i=l.pendingProps;var F=Oc(l,qa.current);Pc(l,v),F=Ld(null,l,A,i,F,v);var G=Yp();return l.flags|=1,typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0?(l.tag=1,l.memoizedState=null,l.updateQueue=null,Ln(A)?(G=!0,Lp(l)):G=!1,l.memoizedState=F.state!==null&&F.state!==void 0?F.state:null,Md(l),F.updater=nh,l.stateNode=F,F._reactInternals=l,Qd(l,A,i,v),l=wo(null,l,A,!0,G,v)):(l.tag=0,kn&&G&&jd(l),eo(null,l,F,v),l=l.child),l;case 16:A=l.elementType;e:{switch(ch(i,l),i=l.pendingProps,A=(F=A._init)(A._payload),l.type=A,F=l.tag=(function(He){if(typeof He=="function")return Bc(He)?1:0;if(He!=null){if((He=He.$$typeof)===Be)return 11;if(He===st)return 14}return 2})(A),i=To(A,i),F){case 0:l=of(null,l,A,i,v);break e;case 1:l=Fl(null,l,A,i,v);break e;case 11:l=tf(null,l,A,i,v);break e;case 14:l=qg(null,l,A,To(A.type,i),v);break e}throw Error(f(306,A,""))}return l;case 0:return A=l.type,F=l.pendingProps,of(i,l,A,F=l.elementType===A?F:To(A,F),v);case 1:return A=l.type,F=l.pendingProps,Fl(i,l,A,F=l.elementType===A?F:To(A,F),v);case 3:e:{if(sf(l),i===null)throw Error(f(387));A=l.pendingProps,F=(G=l.memoizedState).element,Ag(i,l),Ru(l,A,null,v);var oe=l.memoizedState;if(A=oe.element,G.isDehydrated){if(G={element:A,isDehydrated:!1,cache:oe.cache,pendingSuspenseBoundaries:oe.pendingSuspenseBoundaries,transitions:oe.transitions},l.updateQueue.baseState=G,l.memoizedState=G,256&l.flags){l=oh(i,l,A,v,F=Dl(Error(f(423)),l));break e}if(A!==F){l=oh(i,l,A,v,F=Dl(Error(f(424)),l));break e}for(Po=rs(l.stateNode.containerInfo.firstChild),jo=l,kn=!0,di=null,v=kg(l,null,A,v),l.child=v;v;)v.flags=-3&v.flags|4096,v=v.sibling}else{if(Pl(),A===F){l=Go(i,l,v);break e}eo(i,l,A,v)}l=l.child}return l;case 5:return Hp(l),i===null&&Up(l),A=l.type,F=l.pendingProps,G=i!==null?i.memoizedProps:null,oe=F.children,Rp(A,F)?oe=null:G!==null&&Rp(A,G)&&(l.flags|=32),af(i,l),eo(i,l,oe,v),l.child;case 6:return i===null&&Up(l),null;case 13:return Ug(i,l,v);case 4:return Wp(l,l.stateNode.containerInfo),A=l.pendingProps,i===null?l.child=jc(l,null,A,v):eo(i,l,A,v),l.child;case 11:return A=l.type,F=l.pendingProps,tf(i,l,A,F=l.elementType===A?F:To(A,F),v);case 7:return eo(i,l,l.pendingProps,v),l.child;case 8:case 12:return eo(i,l,l.pendingProps.children,v),l.child;case 10:e:{if(A=l.type._context,F=l.pendingProps,G=l.memoizedProps,oe=F.value,_n(Vp,A._currentValue),A._currentValue=oe,G!==null)if(ua(G.value,oe)){if(G.children===F.children&&!vo.current){l=Go(i,l,v);break e}}else for((G=l.child)!==null&&(G.return=l);G!==null;){var Ae=G.dependencies;if(Ae!==null){oe=G.child;for(var Pe=Ae.firstContext;Pe!==null;){if(Pe.context===A){if(G.tag===1){(Pe=cs(-1,v&-v)).tag=2;var De=G.updateQueue;if(De!==null){var Qe=(De=De.shared).pending;Qe===null?Pe.next=Pe:(Pe.next=Qe.next,Qe.next=Pe),De.pending=Pe}}G.lanes|=v,(Pe=G.alternate)!==null&&(Pe.lanes|=v),Nd(G.return,v,l),Ae.lanes|=v;break}Pe=Pe.next}}else if(G.tag===10)oe=G.type===l.type?null:G.child;else if(G.tag===18){if((oe=G.return)===null)throw Error(f(341));oe.lanes|=v,(Ae=oe.alternate)!==null&&(Ae.lanes|=v),Nd(oe,v,l),oe=G.sibling}else oe=G.child;if(oe!==null)oe.return=G;else for(oe=G;oe!==null;){if(oe===l){oe=null;break}if((G=oe.sibling)!==null){G.return=oe.return,oe=G;break}oe=oe.return}G=oe}eo(i,l,F.children,v),l=l.child}return l;case 9:return F=l.type,A=l.pendingProps.children,Pc(l,v),A=A(F=Wo(F)),l.flags|=1,eo(i,l,A,v),l.child;case 14:return F=To(A=l.type,l.pendingProps),qg(i,l,A,F=To(A.type,F),v);case 15:return rf(i,l,l.type,l.pendingProps,v);case 17:return A=l.type,F=l.pendingProps,F=l.elementType===A?F:To(A,F),ch(i,l),l.tag=1,Ln(A)?(i=!0,Lp(l)):i=!1,Pc(l,v),$g(l,A,F),Qd(l,A,F,v),wo(null,l,A,!0,i,v);case 19:return ff(i,l,v);case 22:return nf(i,l,v)}throw Error(f(156,l.tag))};var ny=typeof reportError=="function"?reportError:function(i){};function Df(i){this._internalRoot=i}function jh(i){this._internalRoot=i}function Ff(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function Ph(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11&&(i.nodeType!==8||i.nodeValue!==" react-mount-point-unstable "))}function ay(){}function Th(i,l,v,A,F){var G=v._reactRootContainer;if(G){var oe=G;if(typeof F=="function"){var Ae=F;F=function(){var Pe=Ch(oe);Ae.call(Pe)}}Ah(l,oe,i,F)}else oe=(function(De,Qe,Ze,He,ht){if(ht){if(typeof He=="function"){var xt=He;He=function(){var We=Ch(bt);xt.call(We)}}var bt=ty(Qe,He,De,0,null,!1,0,"",ay);return De._reactRootContainer=bt,De[ns]=bt.current,vc(De.nodeType===8?De.parentNode:De),Fi(),bt}for(;ht=De.lastChild;)De.removeChild(ht);if(typeof He=="function"){var Je=He;He=function(){var We=Ch(Te);Je.call(We)}}var Te=Mf(De,0,!1,null,0,!1,0,"",ay);return De._reactRootContainer=Te,De[ns]=Te.current,vc(De.nodeType===8?De.parentNode:De),Fi((function(){Ah(Qe,Te,Ze,He)})),Te})(v,l,i,F,A);return Ch(oe)}jh.prototype.render=Df.prototype.render=function(i){var l=this._internalRoot;if(l===null)throw Error(f(409));Ah(i,l,null,null)},jh.prototype.unmount=Df.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var l=i.containerInfo;Fi((function(){Ah(null,i,null,null)})),l[ns]=null}},jh.prototype.unstable_scheduleHydration=function(i){if(i){var l=_p();i={blockedOn:null,target:i,priority:l};for(var v=0;v<oi.length&&l!==0&&l<oi[v].priority;v++);oi.splice(v,0,i),v===0&&ic(i)}},nc=function(i){switch(i.tag){case 3:var l=i.stateNode;if(l.current.memoizedState.isDehydrated){var v=Gi(l.pendingLanes);v!==0&&(Ms(l,1|v),Eo(l,Dt()),!(6&en)&&(Lc=Dt()+500,os()))}break;case 13:Fi((function(){var A=ss(i,1);if(A!==null){var F=no();gi(A,i,1,F)}})),Rf(i,1)}},au=function(i){if(i.tag===13){var l=ss(i,134217728);l!==null&&gi(l,i,134217728,no()),Rf(i,134217728)}},xp=function(i){if(i.tag===13){var l=Xs(i),v=ss(i,l);v!==null&&gi(v,i,l,no()),Rf(i,l)}},_p=function(){return Jr},gn=function(i,l){var v=Jr;try{return Jr=i,l()}finally{Jr=v}},Mn=function(i,l,v){switch(l){case"input":if(ct(i,v),l=v.name,v.type==="radio"&&l!=null){for(v=i;v.parentNode;)v=v.parentNode;for(v=v.querySelectorAll("input[name="+JSON.stringify(""+l)+'][type="radio"]'),l=0;l<v.length;l++){var A=v[l];if(A!==i&&A.form===i.form){var F=Ni(A);if(!F)throw Error(f(90));tr(A),ct(A,F)}}}break;case"textarea":we(i,v);break;case"select":(l=v.value)!=null&&W(i,!!v.multiple,l,!1)}},er=Wu,vr=Fi;var ib={usingClientEntryPoint:!1,Events:[_u,_c,Ni,zo,Ht,Wu]},Xu={findFiberByHostInstance:Ol,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},sb={bundleType:Xu.bundleType,version:Xu.version,rendererPackageName:Xu.rendererPackageName,rendererConfig:Xu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(i){return(i=sr(i))===null?null:i.stateNode},findFiberByHostInstance:Xu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"){var Nh=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Nh.isDisabled&&Nh.supportsFiber)try{mo=Nh.inject(sb),Vn=Nh}catch(i){}}C.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ib,C.createPortal=function(i,l){var v=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Ff(l))throw Error(f(200));return(function(F,G,oe){var Ae=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ae,key:Ae==null?null:""+Ae,children:F,containerInfo:G,implementation:oe}})(i,l,null,v)},C.createRoot=function(i,l){if(!Ff(i))throw Error(f(299));var v=!1,A="",F=ny;return l!=null&&(l.unstable_strictMode===!0&&(v=!0),l.identifierPrefix!==void 0&&(A=l.identifierPrefix),l.onRecoverableError!==void 0&&(F=l.onRecoverableError)),l=Mf(i,1,!1,null,0,v,0,A,F),i[ns]=l.current,vc(i.nodeType===8?i.parentNode:i),new Df(l)},C.findDOMNode=function(i){if(i==null)return null;if(i.nodeType===1)return i;var l=i._reactInternals;if(l===void 0)throw typeof i.render=="function"?Error(f(188)):(i=Object.keys(i).join(","),Error(f(268,i)));return i=(i=sr(l))===null?null:i.stateNode},C.flushSync=function(i){return Fi(i)},C.hydrate=function(i,l,v){if(!Ph(l))throw Error(f(200));return Th(null,i,l,!0,v)},C.hydrateRoot=function(i,l,v){if(!Ff(i))throw Error(f(405));var A=v!=null&&v.hydratedSources||null,F=!1,G="",oe=ny;if(v!=null&&(v.unstable_strictMode===!0&&(F=!0),v.identifierPrefix!==void 0&&(G=v.identifierPrefix),v.onRecoverableError!==void 0&&(oe=v.onRecoverableError)),l=ty(l,null,i,1,v!=null?v:null,F,0,G,oe),i[ns]=l.current,vc(i),A)for(i=0;i<A.length;i++)F=(F=(v=A[i])._getVersion)(v._source),l.mutableSourceEagerHydrationData==null?l.mutableSourceEagerHydrationData=[v,F]:l.mutableSourceEagerHydrationData.push(v,F);return new jh(l)},C.render=function(i,l,v){if(!Ph(l))throw Error(f(200));return Th(null,i,l,!1,v)},C.unmountComponentAtNode=function(i){if(!Ph(i))throw Error(f(40));return!!i._reactRootContainer&&(Fi((function(){Th(null,null,i,!1,(function(){i._reactRootContainer=null,i[ns]=null}))})),!0)},C.unstable_batchedUpdates=Wu,C.unstable_renderSubtreeIntoContainer=function(i,l,v,A){if(!Ph(v))throw Error(f(200));if(i==null||i._reactInternals===void 0)throw Error(f(38));return Th(i,l,v,!1,A)},C.version="18.3.1-next-f1338f8080-20240426"},22574:(E,C)=>{var s={}.propertyIsEnumerable,h=Object.getOwnPropertyDescriptor,b=h&&!s.call({1:2},1);C.f=b?function(w){var m=h(this,w);return!!m&&m.enumerable}:s},23007:E=>{E.exports=function(s,h){var b=-1,f=s.length;for(h||(h=Array(f));++b<f;)h[b]=s[b];return h}},23034:(E,C,s)=>{var h=s(88280),b=s(32567),f=Function.prototype;E.exports=function(w){var m=w.bind;return w===f||h(f,w)&&m===f.bind?b:m}},23045:(E,C,s)=>{var h=s(1907),b=s(49724),f=s(4993),w=s(74436).indexOf,m=s(38530),g=h([].push);E.exports=function(x,k){var T,N=f(x),P=0,M=[];for(T in N)!b(m,T)&&b(N,T)&&g(M,T);for(;k.length>P;)b(N,T=k[P++])&&(~w(M,T)||g(M,T));return M}},23546:(E,C,s)=>{var h=s(72552),b=s(40346),f=s(11331);E.exports=function(m){if(!b(m))return!1;var g=h(m);return g=="[object Error]"||g=="[object DOMException]"||typeof m.message=="string"&&typeof m.name=="string"&&!f(m)}},23805:E=>{E.exports=function(s){var h=typeof s;return s!=null&&(h=="object"||h=="function")}},23888:(E,C,s)=>{var h=s(98828),b=s(75817);E.exports=!h((function(){var f=new Error("a");return!("stack"in f)||(Object.defineProperty(f,"stack",b(1,7)),f.stack!==7)}))},24107:(E,C,s)=>{var h=s(56698),b=s(90392),f=s(92861).Buffer,w=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],m=new Array(64);function g(){this.init(),this._w=m,b.call(this,64,56)}function x(M,U,J){return J^M&(U^J)}function k(M,U,J){return M&U|J&(M|U)}function T(M){return(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10)}function N(M){return(M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7)}function P(M){return(M>>>7|M<<25)^(M>>>18|M<<14)^M>>>3}h(g,b),g.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},g.prototype._update=function(M){for(var U,J=this._w,V=0|this._a,B=0|this._b,H=0|this._c,Q=0|this._d,ne=0|this._e,ae=0|this._f,Ce=0|this._g,he=0|this._h,ge=0;ge<16;++ge)J[ge]=M.readInt32BE(4*ge);for(;ge<64;++ge)J[ge]=0|(((U=J[ge-2])>>>17|U<<15)^(U>>>19|U<<13)^U>>>10)+J[ge-7]+P(J[ge-15])+J[ge-16];for(var ke=0;ke<64;++ke){var Le=he+N(ne)+x(ne,ae,Ce)+w[ke]+J[ke]|0,Be=T(V)+k(V,B,H)|0;he=Ce,Ce=ae,ae=ne,ne=Q+Le|0,Q=H,H=B,B=V,V=Le+Be|0}this._a=V+this._a|0,this._b=B+this._b|0,this._c=H+this._c|0,this._d=Q+this._d|0,this._e=ne+this._e|0,this._f=ae+this._f|0,this._g=Ce+this._g|0,this._h=he+this._h|0},g.prototype._hash=function(){var M=f.allocUnsafe(32);return M.writeInt32BE(this._a,0),M.writeInt32BE(this._b,4),M.writeInt32BE(this._c,8),M.writeInt32BE(this._d,12),M.writeInt32BE(this._e,16),M.writeInt32BE(this._f,20),M.writeInt32BE(this._g,24),M.writeInt32BE(this._h,28),M},E.exports=g},24168:(E,C,s)=>{var h=s(91033),b=s(82819),f=s(9325);E.exports=function(m,g,x,k){var T=1&g,N=b(m);return function P(){for(var M=-1,U=arguments.length,J=-1,V=k.length,B=Array(V+U),H=this&&this!==f&&this instanceof P?N:m;++J<V;)B[J]=k[J];for(;U--;)B[J++]=arguments[++M];return h(H,T?x:this,B)}}},24443:(E,C,s)=>{var h=s(23045),b=s(80376).concat("length","prototype");C.f=Object.getOwnPropertyNames||function(w){return h(w,b)}},24647:(E,C,s)=>{var h=s(54552)({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});E.exports=h},24677:(E,C,s)=>{var h=s(81214).DebounceInput;h.DebounceInput=h,E.exports=h},24713:(E,C,s)=>{var h=s(2523),b=s(15389),f=s(61489),w=Math.max;E.exports=function(g,x,k){var T=g==null?0:g.length;if(!T)return-1;var N=k==null?0:f(k);return N<0&&(N=w(T+N,0)),h(g,b(x,3),N)}},24739:(E,C,s)=>{var h=s(26025);E.exports=function(f){var w=this.__data__,m=h(w,f);return m<0?void 0:w[m][1]}},24823:(E,C,s)=>{var h=s(28311),b=s(13930),f=s(36624),w=s(4640),m=s(37812),g=s(20575),x=s(88280),k=s(10300),T=s(73448),N=s(40154),P=TypeError,M=function(J,V){this.stopped=J,this.result=V},U=M.prototype;E.exports=function(J,V,B){var H,Q,ne,ae,Ce,he,ge,ke=B&&B.that,Le=!(!B||!B.AS_ENTRIES),Be=!(!B||!B.IS_RECORD),$e=!(!B||!B.IS_ITERATOR),Ke=!(!B||!B.INTERRUPTED),st=h(V,ke),Me=function(et){return H&&N(H,"normal",et),new M(!0,et)},p=function(et){return Le?(f(et),Ke?st(et[0],et[1],Me):st(et[0],et[1])):Ke?st(et,Me):st(et)};if(Be)H=J.iterator;else if($e)H=J;else{if(!(Q=T(J)))throw new P(w(J)+" is not iterable");if(m(Q)){for(ne=0,ae=g(J);ae>ne;ne++)if((Ce=p(J[ne]))&&x(U,Ce))return Ce;return new M(!1)}H=k(J,Q)}for(he=Be?J.next:H.next;!(ge=b(he,H)).done;){try{Ce=p(ge.value)}catch(et){N(H,"throw",et)}if(typeof Ce=="object"&&Ce&&x(U,Ce))return Ce}return new M(!1)}},25160:E=>{E.exports=function(s,h,b){var f=-1,w=s.length;h<0&&(h=-h>w?0:w+h),(b=b>w?w:b)<0&&(b+=w),w=h>b?0:b-h>>>0,h>>>=0;for(var m=Array(w);++f<w;)m[f]=s[f+h];return m}},25264:(E,C,s)=>{function h(B){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},h(B)}Object.defineProperty(C,"__esModule",{value:!0}),C.CopyToClipboard=void 0;var b=m(s(96540)),f=m(s(17965)),w=["text","onCopy","options","children"];function m(B){return B&&B.__esModule?B:{default:B}}function g(B,H){var Q=Object.keys(B);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(B);H&&(ne=ne.filter((function(ae){return Object.getOwnPropertyDescriptor(B,ae).enumerable}))),Q.push.apply(Q,ne)}return Q}function x(B){for(var H=1;H<arguments.length;H++){var Q=arguments[H]!=null?arguments[H]:{};H%2?g(Object(Q),!0).forEach((function(ne){J(B,ne,Q[ne])})):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(Q)):g(Object(Q)).forEach((function(ne){Object.defineProperty(B,ne,Object.getOwnPropertyDescriptor(Q,ne))}))}return B}function k(B,H){if(B==null)return{};var Q,ne,ae=(function(ge,ke){if(ge==null)return{};var Le,Be,$e={},Ke=Object.keys(ge);for(Be=0;Be<Ke.length;Be++)Le=Ke[Be],ke.indexOf(Le)>=0||($e[Le]=ge[Le]);return $e})(B,H);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(B);for(ne=0;ne<Ce.length;ne++)Q=Ce[ne],H.indexOf(Q)>=0||Object.prototype.propertyIsEnumerable.call(B,Q)&&(ae[Q]=B[Q])}return ae}function T(B,H){for(var Q=0;Q<H.length;Q++){var ne=H[Q];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(B,ne.key,ne)}}function N(B,H){return N=Object.setPrototypeOf||function(ne,ae){return ne.__proto__=ae,ne},N(B,H)}function P(B){var H=(function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(ne){return!1}})();return function(){var ne,ae=U(B);if(H){var Ce=U(this).constructor;ne=Reflect.construct(ae,arguments,Ce)}else ne=ae.apply(this,arguments);return(function(ge,ke){if(ke&&(h(ke)==="object"||typeof ke=="function"))return ke;if(ke!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M(ge)})(this,ne)}}function M(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function U(B){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(Q){return Q.__proto__||Object.getPrototypeOf(Q)},U(B)}function J(B,H,Q){return H in B?Object.defineProperty(B,H,{value:Q,enumerable:!0,configurable:!0,writable:!0}):B[H]=Q,B}var V=(function(B){(function(ae,Ce){if(typeof Ce!="function"&&Ce!==null)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(Ce&&Ce.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),Object.defineProperty(ae,"prototype",{writable:!1}),Ce&&N(ae,Ce)})(Q,B);var H=P(Q);function Q(){var ne;(function(ke,Le){if(!(ke instanceof Le))throw new TypeError("Cannot call a class as a function")})(this,Q);for(var ae=arguments.length,Ce=new Array(ae),he=0;he<ae;he++)Ce[he]=arguments[he];return J(M(ne=H.call.apply(H,[this].concat(Ce))),"onClick",(function(ge){var ke=ne.props,Le=ke.text,Be=ke.onCopy,$e=ke.children,Ke=ke.options,st=b.default.Children.only($e),Me=(0,f.default)(Le,Ke);Be&&Be(Le,Me),st&&st.props&&typeof st.props.onClick=="function"&&st.props.onClick(ge)})),ne}return(function(ae,Ce,he){return Ce&&T(ae.prototype,Ce),Object.defineProperty(ae,"prototype",{writable:!1}),ae})(Q,[{key:"render",value:function(){var ae=this.props,Ce=(ae.text,ae.onCopy,ae.options,ae.children),he=k(ae,w),ge=b.default.Children.only(Ce);return b.default.cloneElement(ge,x(x({},he),{},{onClick:this.onClick}))}}]),Q})(b.default.PureComponent);C.CopyToClipboard=V,J(V,"defaultProps",{onCopy:void 0,options:void 0})},25382:(E,C,s)=>{var h=s(65606),b=Object.keys||function(P){var M=[];for(var U in P)M.push(U);return M};E.exports=k;var f=s(45412),w=s(16708);s(56698)(k,f);for(var m=b(w.prototype),g=0;g<m.length;g++){var x=m[g];k.prototype[x]||(k.prototype[x]=w.prototype[x])}function k(P){if(!(this instanceof k))return new k(P);f.call(this,P),w.call(this,P),this.allowHalfOpen=!0,P&&(P.readable===!1&&(this.readable=!1),P.writable===!1&&(this.writable=!1),P.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",T)))}function T(){this._writableState.ended||h.nextTick(N,this)}function N(P){P.end()}Object.defineProperty(k.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(k.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(k.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(M){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=M,this._writableState.destroyed=M)}})},25594:(E,C,s)=>{var h=s(85582),b=s(62250),f=s(88280),w=s(51175),m=Object;E.exports=w?function(g){return typeof g=="symbol"}:function(g){var x=h("Symbol");return b(x)&&f(x.prototype,m(g))}},25767:(E,C,s)=>{var h=s(82682),b=s(39209),f=s(10487),w=s(36556),m=s(75795),g=w("Object.prototype.toString"),x=s(49092)(),k=typeof globalThis=="undefined"?s.g:globalThis,T=b(),N=w("String.prototype.slice"),P=Object.getPrototypeOf,M=w("Array.prototype.indexOf",!0)||function(V,B){for(var H=0;H<V.length;H+=1)if(V[H]===B)return H;return-1},U={__proto__:null};h(T,x&&m&&P?function(J){var V=new k[J];if(Symbol.toStringTag in V){var B=P(V),H=m(B,Symbol.toStringTag);if(!H){var Q=P(B);H=m(Q,Symbol.toStringTag)}U["$"+J]=f(H.get)}}:function(J){var V=new k[J],B=V.slice||V.set;B&&(U["$"+J]=f(B))}),E.exports=function(V){if(!V||typeof V!="object")return!1;if(!x){var B=N(g(V),8,-1);return M(T,B)>-1?B:B==="Object"&&(function(Q){var ne=!1;return h(U,(function(ae,Ce){if(!ne)try{ae(Q),ne=N(Ce,1)}catch(he){}})),ne})(V)}return m?(function(Q){var ne=!1;return h(U,(function(ae,Ce){if(!ne)try{"$"+ae(Q)===Ce&&(ne=N(Ce,1))}catch(he){}})),ne})(V):null}},25911:(E,C,s)=>{var h=s(38859),b=s(14248),f=s(19219);E.exports=function(m,g,x,k,T,N){var P=1&x,M=m.length,U=g.length;if(M!=U&&!(P&&U>M))return!1;var J=N.get(m),V=N.get(g);if(J&&V)return J==g&&V==m;var B=-1,H=!0,Q=2&x?new h:void 0;for(N.set(m,g),N.set(g,m);++B<M;){var ne=m[B],ae=g[B];if(k)var Ce=P?k(ae,ne,B,g,m,N):k(ne,ae,B,m,g,N);if(Ce!==void 0){if(Ce)continue;H=!1;break}if(Q){if(!b(g,(function(he,ge){if(!f(Q,ge)&&(ne===he||T(ne,he,x,k,N)))return Q.push(ge)}))){H=!1;break}}else if(ne!==ae&&!T(ne,ae,x,k,N)){H=!1;break}}return N.delete(m),N.delete(g),H}},26025:(E,C,s)=>{var h=s(75288);E.exports=function(f,w){for(var m=f.length;m--;)if(h(f[m][0],w))return m;return-1}},26311:E=>{(function(){var C;function s(h){for(var b,f,w,m,g=1,x=[].slice.call(arguments),k=0,T=h.length,N="",P=!1,M=!1,U=function(){return x[g++]},J=function(){for(var V="";/\d/.test(h[k]);)V+=h[k++],b=h[k];return V.length>0?parseInt(V):null};k<T;++k)if(b=h[k],P)switch(P=!1,b=="."?(M=!1,b=h[++k]):b=="0"&&h[k+1]=="."?(M=!0,b=h[k+=2]):M=!0,m=J(),b){case"b":N+=parseInt(U(),10).toString(2);break;case"c":N+=typeof(f=U())=="string"||f instanceof String?f:String.fromCharCode(parseInt(f,10));break;case"d":N+=parseInt(U(),10);break;case"f":w=String(parseFloat(U()).toFixed(m||6)),N+=M?w:w.replace(/^0/,"");break;case"j":N+=JSON.stringify(U());break;case"o":N+="0"+parseInt(U(),10).toString(8);break;case"s":N+=U();break;case"x":N+="0x"+parseInt(U(),10).toString(16);break;case"X":N+="0x"+parseInt(U(),10).toString(16).toUpperCase();break;default:N+=b}else b==="%"?P=!0:N+=b;return N}(C=E.exports=s).format=s,C.vsprintf=function(b,f){return s.apply(null,[b].concat(f))},typeof console!="undefined"&&typeof console.log=="function"&&(C.printf=function(){})})()},26571:E=>{E.exports=function(s){const h={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},b={begin:"`[\\s\\S]",relevance:0},f={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},w={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[b,f,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},m={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},g=s.inherit(s.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[{className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]}]}),x={className:"built_in",variants:[{begin:"(".concat("Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",")+(-)[\\w\\d]+")}]},k={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[s.TITLE_MODE]},T={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:/\w[\w\d]*((-)[\w\d]+)*/,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[f]}]},N={begin:/using\s/,end:/$/,returnBegin:!0,contains:[w,m,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},P={variants:[{className:"operator",begin:"(".concat("-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},M={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(h.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},s.inherit(s.TITLE_MODE,{endsParent:!0})]},U=[M,g,b,s.NUMBER_MODE,w,m,x,f,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],J={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",U,{begin:"("+["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"].join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return M.contains.unshift(J),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:h,contains:U.concat(k,T,N,P,J)}}},26657:(E,C,s)=>{var h=s(75208),b=function(g){return/<\/+[^>]+>/.test(g)},f=function(g){return/<[^>]+\/>/.test(g)};function w(m){return b(m)?"ClosingTag":(function(x){return(function(T){return/<[^>!]+>/.test(T)})(x)&&!b(x)&&!f(x)})(m)?"OpeningTag":f(m)?"SelfClosingTag":"Text"}E.exports=function(m){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=g.indentor,k=g.textNodesOnSameLine,T=0,N=[];x=x||" ";var P=(function(U){return(function(V){return V.split(/(<\/?[^>]+>)/g).filter((function(B){return B.trim()!==""}))})(U).map((function(J){return{value:J,type:w(J)}}))})(m).map((function(M,U,J){var V=M.value,B=M.type;B==="ClosingTag"&&T--;var H=h(x,T),Q=H+V;if(B==="OpeningTag"&&T++,k){var ne=J[U-1],ae=J[U-2];B==="ClosingTag"&&ne.type==="Text"&&ae.type==="OpeningTag"&&(Q=""+H+ae.value+ne.value+V,N.push(U-2,U-1))}return Q}));return N.forEach((function(M){return P[M]=null})),P.filter((function(M){return!!M})).join(`
|
||
`)}},26710:(E,C,s)=>{var h=s(56698),b=s(24107),f=s(90392),w=s(92861).Buffer,m=new Array(64);function g(){this.init(),this._w=m,f.call(this,64,56)}h(g,b),g.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},g.prototype._hash=function(){var x=w.allocUnsafe(28);return x.writeInt32BE(this._a,0),x.writeInt32BE(this._b,4),x.writeInt32BE(this._c,8),x.writeInt32BE(this._d,12),x.writeInt32BE(this._e,16),x.writeInt32BE(this._f,20),x.writeInt32BE(this._g,24),x},E.exports=g},27096:(E,C,s)=>{const h=s(87586),b=s(6205),f=s(10023),w=s(8048);E.exports=m=>{var g,x,k=0,T={type:b.ROOT,stack:[]},N=T,P=T.stack,M=[],U=he=>{h.error(m,"Nothing to repeat at column "+(he-1))},J=h.strToChars(m);for(g=J.length;k<g;)switch(x=J[k++]){case"\\":switch(x=J[k++]){case"b":P.push(w.wordBoundary());break;case"B":P.push(w.nonWordBoundary());break;case"w":P.push(f.words());break;case"W":P.push(f.notWords());break;case"d":P.push(f.ints());break;case"D":P.push(f.notInts());break;case"s":P.push(f.whitespace());break;case"S":P.push(f.notWhitespace());break;default:/\d/.test(x)?P.push({type:b.REFERENCE,value:parseInt(x,10)}):P.push({type:b.CHAR,value:x.charCodeAt(0)})}break;case"^":P.push(w.begin());break;case"$":P.push(w.end());break;case"[":var V;J[k]==="^"?(V=!0,k++):V=!1;var B=h.tokenizeClass(J.slice(k),m);k+=B[1],P.push({type:b.SET,set:B[0],not:V});break;case".":P.push(f.anyChar());break;case"(":var H={type:b.GROUP,stack:[],remember:!0};(x=J[k])==="?"&&(x=J[k+1],k+=2,x==="="?H.followedBy=!0:x==="!"?H.notFollowedBy=!0:x!==":"&&h.error(m,`Invalid group, character '${x}' after '?' at column `+(k-1)),H.remember=!1),P.push(H),M.push(N),N=H,P=H.stack;break;case")":M.length===0&&h.error(m,"Unmatched ) at column "+(k-1)),P=(N=M.pop()).options?N.options[N.options.length-1]:N.stack;break;case"|":N.options||(N.options=[N.stack],delete N.stack);var Q=[];N.options.push(Q),P=Q;break;case"{":var ne,ae,Ce=/^(\d+)(,(\d+)?)?\}/.exec(J.slice(k));Ce!==null?(P.length===0&&U(k),ne=parseInt(Ce[1],10),ae=Ce[2]?Ce[3]?parseInt(Ce[3],10):1/0:ne,k+=Ce[0].length,P.push({type:b.REPETITION,min:ne,max:ae,value:P.pop()})):P.push({type:b.CHAR,value:123});break;case"?":P.length===0&&U(k),P.push({type:b.REPETITION,min:0,max:1,value:P.pop()});break;case"+":P.length===0&&U(k),P.push({type:b.REPETITION,min:1,max:1/0,value:P.pop()});break;case"*":P.length===0&&U(k),P.push({type:b.REPETITION,min:0,max:1/0,value:P.pop()});break;default:P.push({type:b.CHAR,value:x.charCodeAt(0)})}return M.length!==0&&h.error(m,"Unterminated group"),T},E.exports.types=b},27301:E=>{E.exports=function(s){return function(h){return s(h)}}},27374:(E,C)=>{Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(s,h,b){if(s===void 0)throw new Error('Reducer "'+h+'" returned undefined when handling "'+b.type+'" action. To ignore an action, you must explicitly return the previous state.')},E.exports=C.default},27534:(E,C,s)=>{var h=s(72552),b=s(40346);E.exports=function(w){return b(w)&&h(w)=="[object Arguments]"}},27816:(E,C,s)=>{var h=s(56698),b=s(90392),f=s(92861).Buffer,w=[1518500249,1859775393,-1894007588,-899497514],m=new Array(80);function g(){this.init(),this._w=m,b.call(this,64,56)}function x(T){return T<<30|T>>>2}function k(T,N,P,M){return T===0?N&P|~N&M:T===2?N&P|N&M|P&M:N^P^M}h(g,b),g.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},g.prototype._update=function(T){for(var N,P=this._w,M=0|this._a,U=0|this._b,J=0|this._c,V=0|this._d,B=0|this._e,H=0;H<16;++H)P[H]=T.readInt32BE(4*H);for(;H<80;++H)P[H]=P[H-3]^P[H-8]^P[H-14]^P[H-16];for(var Q=0;Q<80;++Q){var ne=~~(Q/20),ae=0|((N=M)<<5|N>>>27)+k(ne,U,J,V)+B+P[Q]+w[ne];B=V,V=J,J=x(U),U=M,M=ae}this._a=M+this._a|0,this._b=U+this._b|0,this._c=J+this._c|0,this._d=V+this._d|0,this._e=B+this._e|0},g.prototype._hash=function(){var T=f.allocUnsafe(20);return T.writeInt32BE(0|this._a,0),T.writeInt32BE(0|this._b,4),T.writeInt32BE(0|this._c,8),T.writeInt32BE(0|this._d,12),T.writeInt32BE(0|this._e,16),T},E.exports=g},28077:E=>{E.exports=function(s,h){return s!=null&&h in Object(s)}},28303:(E,C,s)=>{var h=s(56110)(s(9325),"WeakMap");E.exports=h},28311:(E,C,s)=>{var h=s(92361),b=s(82159),f=s(41505),w=h(h.bind);E.exports=function(m,g){return b(m),g===void 0?m:f?w(m,g):function(){return m.apply(g,arguments)}}},28586:(E,C,s)=>{var h=s(56449),b=s(44394),f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,w=/^\w*$/;E.exports=function(g,x){if(h(g))return!1;var k=typeof g;return!(k!="number"&&k!="symbol"&&k!="boolean"&&g!=null&&!b(g))||w.test(g)||!f.test(g)||x!=null&&g in Object(x)}},28754:(E,C,s)=>{var h=s(25160);E.exports=function(f,w,m){var g=f.length;return m=m===void 0?g:m,!w&&m>=g?f:h(f,w,m)}},28879:(E,C,s)=>{var h=s(74335)(Object.getPrototypeOf,Object);E.exports=h},29172:(E,C,s)=>{var h=s(5861),b=s(40346);E.exports=function(w){return b(w)&&h(w)=="[object Map]"}},29367:(E,C,s)=>{var h=s(82159),b=s(87136);E.exports=function(f,w){var m=f[w];return b(m)?void 0:h(m)}},29538:(E,C,s)=>{var h=s(39447),b=s(1907),f=s(13930),w=s(98828),m=s(2875),g=s(87170),x=s(22574),k=s(39298),T=s(16946),N=Object.assign,P=Object.defineProperty,M=b([].concat);E.exports=!N||w((function(){if(h&&N({b:1},N(P({},"a",{enumerable:!0,get:function(){P(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var U={},J={},V=Symbol("assign detection"),B="abcdefghijklmnopqrst";return U[V]=7,B.split("").forEach((function(H){J[H]=H})),N({},U)[V]!==7||m(N({},J)).join("")!==B}))?function(J,V){for(var B=k(J),H=arguments.length,Q=1,ne=g.f,ae=x.f;H>Q;)for(var Ce,he=T(arguments[Q++]),ge=ne?M(m(he),ne(he)):m(he),ke=ge.length,Le=0;ke>Le;)Ce=ge[Le++],h&&!f(ae,he,Ce)||(B[Ce]=he[Ce]);return B}:N},29817:E=>{E.exports=function(s){return this.__data__.has(s)}},29844:(E,C)=>{function s(ze,xe){var Ne=ze.length;ze.push(xe);e:for(;0<Ne;){var rt=Ne-1>>>1,gt=ze[rt];if(!(0<f(gt,xe)))break e;ze[rt]=xe,ze[Ne]=gt,Ne=rt}}function h(ze){return ze.length===0?null:ze[0]}function b(ze){if(ze.length===0)return null;var xe=ze[0],Ne=ze.pop();if(Ne!==xe){ze[0]=Ne;e:for(var rt=0,gt=ze.length,it=gt>>>1;rt<it;){var St=2*(rt+1)-1,Y=ze[St],ye=St+1,nt=ze[ye];if(0>f(Y,Ne))ye<gt&&0>f(nt,Y)?(ze[rt]=nt,ze[ye]=Ne,rt=ye):(ze[rt]=Y,ze[St]=Ne,rt=St);else{if(!(ye<gt&&0>f(nt,Ne)))break e;ze[rt]=nt,ze[ye]=Ne,rt=ye}}}return xe}function f(ze,xe){var Ne=ze.sortIndex-xe.sortIndex;return Ne!==0?Ne:ze.id-xe.id}if(typeof performance=="object"&&typeof performance.now=="function"){var w=performance;C.unstable_now=function(){return w.now()}}else{var m=Date,g=m.now();C.unstable_now=function(){return m.now()-g}}var x=[],k=[],T=1,N=null,P=3,M=!1,U=!1,J=!1,V=typeof setTimeout=="function"?setTimeout:null,B=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate!="undefined"?setImmediate:null;function Q(ze){for(var xe=h(k);xe!==null;){if(xe.callback===null)b(k);else{if(!(xe.startTime<=ze))break;b(k),xe.sortIndex=xe.expirationTime,s(x,xe)}xe=h(k)}}function ne(ze){if(J=!1,Q(ze),!U)if(h(x)!==null)U=!0,p(ae);else{var xe=h(k);xe!==null&&et(ne,xe.startTime-ze)}}function ae(ze,xe){U=!1,J&&(J=!1,B(ke),ke=-1),M=!0;var Ne=P;try{for(Q(xe),N=h(x);N!==null&&(!(N.expirationTime>xe)||ze&&!$e());){var rt=N.callback;if(typeof rt=="function"){N.callback=null,P=N.priorityLevel;var gt=rt(N.expirationTime<=xe);xe=C.unstable_now(),typeof gt=="function"?N.callback=gt:N===h(x)&&b(x),Q(xe)}else b(x);N=h(x)}if(N!==null)var it=!0;else{var St=h(k);St!==null&&et(ne,St.startTime-xe),it=!1}return it}finally{N=null,P=Ne,M=!1}}typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var Ce,he=!1,ge=null,ke=-1,Le=5,Be=-1;function $e(){return!(C.unstable_now()-Be<Le)}function Ke(){if(ge!==null){var ze=C.unstable_now();Be=ze;var xe=!0;try{xe=ge(!0,ze)}finally{xe?Ce():(he=!1,ge=null)}}else he=!1}if(typeof H=="function")Ce=function(){H(Ke)};else if(typeof MessageChannel!="undefined"){var st=new MessageChannel,Me=st.port2;st.port1.onmessage=Ke,Ce=function(){Me.postMessage(null)}}else Ce=function(){V(Ke,0)};function p(ze){ge=ze,he||(he=!0,Ce())}function et(ze,xe){ke=V((function(){ze(C.unstable_now())}),xe)}C.unstable_IdlePriority=5,C.unstable_ImmediatePriority=1,C.unstable_LowPriority=4,C.unstable_NormalPriority=3,C.unstable_Profiling=null,C.unstable_UserBlockingPriority=2,C.unstable_cancelCallback=function(ze){ze.callback=null},C.unstable_continueExecution=function(){U||M||(U=!0,p(ae))},C.unstable_forceFrameRate=function(ze){0>ze||125<ze||(Le=0<ze?Math.floor(1e3/ze):5)},C.unstable_getCurrentPriorityLevel=function(){return P},C.unstable_getFirstCallbackNode=function(){return h(x)},C.unstable_next=function(ze){switch(P){case 1:case 2:case 3:var xe=3;break;default:xe=P}var Ne=P;P=xe;try{return ze()}finally{P=Ne}},C.unstable_pauseExecution=function(){},C.unstable_requestPaint=function(){},C.unstable_runWithPriority=function(ze,xe){switch(ze){case 1:case 2:case 3:case 4:case 5:break;default:ze=3}var Ne=P;P=ze;try{return xe()}finally{P=Ne}},C.unstable_scheduleCallback=function(ze,xe,Ne){var rt=C.unstable_now();switch(typeof Ne=="object"&&Ne!==null?Ne=typeof(Ne=Ne.delay)=="number"&&0<Ne?rt+Ne:rt:Ne=rt,ze){case 1:var gt=-1;break;case 2:gt=250;break;case 5:gt=1073741823;break;case 4:gt=1e4;break;default:gt=5e3}return ze={id:T++,callback:xe,priorityLevel:ze,startTime:Ne,expirationTime:gt=Ne+gt,sortIndex:-1},Ne>rt?(ze.sortIndex=Ne,s(k,ze),h(x)===null&&ze===h(k)&&(J?(B(ke),ke=-1):J=!0,et(ne,Ne-rt))):(ze.sortIndex=gt,s(x,ze),U||M||(U=!0,p(ae))),ze},C.unstable_shouldYield=$e,C.unstable_wrapCallback=function(ze){var xe=P;return function(){var Ne=P;P=xe;try{return ze.apply(this,arguments)}finally{P=Ne}}}},30041:(E,C,s)=>{var h=s(30655),b=s(58068),f=s(69675),w=s(75795);E.exports=function(g,x,k){if(!g||typeof g!="object"&&typeof g!="function")throw new f("`obj` must be an object or a function`");if(typeof x!="string"&&typeof x!="symbol")throw new f("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new f("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new f("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new f("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new f("`loose`, if provided, must be a boolean");var T=arguments.length>3?arguments[3]:null,N=arguments.length>4?arguments[4]:null,P=arguments.length>5?arguments[5]:null,M=arguments.length>6&&arguments[6],U=!!w&&w(g,x);if(h)h(g,x,{configurable:P===null&&U?U.configurable:!P,enumerable:T===null&&U?U.enumerable:!T,value:k,writable:N===null&&U?U.writable:!N});else{if(!M&&(T||N||P))throw new b("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");g[x]=k}}},30294:E=>{E.exports=function(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=9007199254740991}},30361:E=>{var C=/^(?:0|[1-9]\d*)$/;E.exports=function(h,b){var f=typeof h;return!!(b=b==null?9007199254740991:b)&&(f=="number"||f!="symbol"&&C.test(h))&&h>-1&&h%1==0&&h<b}},30592:(E,C,s)=>{var h=s(30655),b=function(){return!!h};b.hasArrayLengthDefineBug=function(){if(!h)return null;try{return h([],"length",{value:1}).length!==1}catch(w){return!0}},E.exports=b},30641:(E,C,s)=>{var h=s(86649),b=s(95950);E.exports=function(w,m){return w&&h(w,m,b)}},30655:E=>{var C=Object.defineProperty||!1;if(C)try{C({},"a",{value:1})}catch(s){C=!1}E.exports=C},30756:(E,C,s)=>{var h=s(23805);E.exports=function(f){return f==f&&!h(f)}},30980:(E,C,s)=>{var h=s(39344),b=s(94033);function f(w){this.__wrapped__=w,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}f.prototype=h(b.prototype),f.prototype.constructor=f,E.exports=f},31175:(E,C,s)=>{var h=s(26025);E.exports=function(f,w){var m=this.__data__,g=h(m,f);return g<0?(++this.size,m.push([f,w])):m[g][1]=w,this}},31380:E=>{E.exports=function(s){return this.__data__.set(s,"__lodash_hash_undefined__"),this}},31499:E=>{var C={"&":"&",'"':""","'":"'","<":"<",">":">"};E.exports=function(h){return h&&h.replace?h.replace(/([&"<>'])/g,(function(b,f){return C[f]})):h}},31769:(E,C,s)=>{var h=s(56449),b=s(28586),f=s(61802),w=s(13222);E.exports=function(g,x){return h(g)?g:b(g,x)?[g]:f(w(g))}},31800:E=>{var C=/\s/;E.exports=function(h){for(var b=h.length;b--&&C.test(h.charAt(b)););return b}},32096:(E,C,s)=>{var h=s(90160);E.exports=function(b,f){return b===void 0?arguments.length<2?"":f:h(b)}},32567:(E,C,s)=>{s(79307);var h=s(61747);E.exports=h("Function","bind")},32629:(E,C,s)=>{var h=s(9999);E.exports=function(f){return h(f,4)}},32804:(E,C,s)=>{var h=s(56110)(s(9325),"Promise");E.exports=h},32827:(E,C,s)=>{var h=s(56698),b=s(82890),f=s(90392),w=s(92861).Buffer,m=new Array(160);function g(){this.init(),this._w=m,f.call(this,128,112)}h(g,b),g.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},g.prototype._hash=function(){var x=w.allocUnsafe(48);function k(T,N,P){x.writeInt32BE(T,P),x.writeInt32BE(N,P+4)}return k(this._ah,this._al,0),k(this._bh,this._bl,8),k(this._ch,this._cl,16),k(this._dh,this._dl,24),k(this._eh,this._el,32),k(this._fh,this._fl,40),x},E.exports=g},32865:(E,C,s)=>{var h=s(19570),b=s(51811)(h);E.exports=b},33855:(E,C,s)=>{var h=s(9999),b=s(15389);E.exports=function(w){return b(typeof w=="function"?w:h(w,1))}},34035:(E,C,s)=>{const h=s(3110),b=s(86804);C.g$=h,C.KeyValuePair=s(55973),C.G6=b.ArraySlice,C.ot=b.ObjectSlice,C.Hg=b.Element,C.Om=b.StringElement,C.kT=b.NumberElement,C.bd=b.BooleanElement,C.Os=b.NullElement,C.wE=b.ArrayElement,C.Sh=b.ObjectElement,C.Pr=b.MemberElement,C.sI=b.RefElement,C.Ft=b.LinkElement,C.e=b.refract,s(85105),s(75147)},34084:(E,C,s)=>{var h=s(62250),b=s(46285),f=s(79192);E.exports=function(w,m,g){var x,k;return f&&h(x=m.constructor)&&x!==g&&b(k=x.prototype)&&k!==g.prototype&&f(w,k),w}},34840:(E,C,s)=>{var h=typeof s.g=="object"&&s.g&&s.g.Object===Object&&s.g;E.exports=h},34849:(E,C,s)=>{var h=s(65482),b=Math.max,f=Math.min;E.exports=function(w,m){var g=h(w);return g<0?b(g+m,0):f(g,m)}},34932:E=>{E.exports=function(s,h){for(var b=-1,f=s==null?0:s.length,w=Array(f);++b<f;)w[b]=h(s[b],b,s);return w}},35344:E=>{function C(...s){return s.map((h=>(function(f){return f?typeof f=="string"?f:f.source:null})(h))).join("")}E.exports=function(h){const b={},f={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[b]}]};Object.assign(b,{className:"variable",variants:[{begin:C(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},f]});const w={className:"subst",begin:/\$\(/,end:/\)/,contains:[h.BACKSLASH_ESCAPE]},m={begin:/<<-?\s*(?=\w+)/,starts:{contains:[h.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},g={className:"string",begin:/"/,end:/"/,contains:[h.BACKSLASH_ESCAPE,b,w]};w.contains.push(g);const x={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},h.NUMBER_MODE,b]},k=h.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),T={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[h.inherit(h.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0};return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z._-]+\b/,keyword:"if then else elif fi for while in do done case esac function",literal:"true false",built_in:"break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"},contains:[k,h.SHEBANG(),T,x,h.HASH_COMMENT_MODE,m,g,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},b]}}},35345:E=>{E.exports=URIError},35529:(E,C,s)=>{var h=s(39344),b=s(28879),f=s(55527);E.exports=function(m){return typeof m.constructor!="function"||f(m)?{}:h(b(m))}},35680:(E,C,s)=>{var h=s(25767);E.exports=function(f){return!!h(f)}},35749:(E,C,s)=>{var h=s(81042);E.exports=function(f,w){var m=this.__data__;return this.size+=this.has(f)?0:1,m[f]=h&&w===void 0?"__lodash_hash_undefined__":w,this}},35970:(E,C,s)=>{var h=s(83120);E.exports=function(f){return f!=null&&f.length?h(f,1):[]}},36128:(E,C,s)=>{var h=s(7376),b=s(45951),f=s(2532),w="__core-js_shared__",m=E.exports=b[w]||f(w,{});(m.versions||(m.versions=[])).push({version:"3.40.0",mode:h?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})},36306:E=>{var C="__lodash_placeholder__";E.exports=function(h,b){for(var f=-1,w=h.length,m=0,g=[];++f<w;){var x=h[f];x!==b&&x!==C||(h[f]=C,g[m++]=f)}return g}},36371:(E,C,s)=>{var h=s(11091),b=s(85582),f=s(76024),w=s(98828),m=s(19358),g="AggregateError",x=b(g),k=!w((function(){return x([1]).errors[0]!==1}))&&w((function(){return x([1],g,{cause:7}).cause!==7}));h({global:!0,constructor:!0,arity:2,forced:k},{AggregateError:m(g,(function(T){return function(P,M){return f(T,this,arguments)}}),k,!0)})},36556:(E,C,s)=>{var h=s(70453),b=s(73126),f=b([h("%String.prototype.indexOf%")]);E.exports=function(m,g){var x=h(m,!!g);return typeof x=="function"&&f(m,".prototype.")>-1?b([x]):x}},36624:(E,C,s)=>{var h=s(46285),b=String,f=TypeError;E.exports=function(w){if(h(w))return w;throw new f(b(w)+" is not an object")}},36800:(E,C,s)=>{var h=s(75288),b=s(64894),f=s(30361),w=s(23805);E.exports=function(g,x,k){if(!w(k))return!1;var T=typeof x;return!!(T=="number"?b(k)&&f(x,k.length):T=="string"&&x in k)&&h(k[x],g)}},36833:(E,C,s)=>{var h=s(39447),b=s(49724),f=Function.prototype,w=h&&Object.getOwnPropertyDescriptor,m=b(f,"name"),g=m&&function(){}.name==="something",x=m&&(!h||h&&w(f,"name").configurable);E.exports={EXISTS:m,PROPER:g,CONFIGURABLE:x}},37007:E=>{var C,s=typeof Reflect=="object"?Reflect:null,h=s&&typeof s.apply=="function"?s.apply:function(V,B,H){return Function.prototype.apply.call(V,B,H)};C=s&&typeof s.ownKeys=="function"?s.ownKeys:Object.getOwnPropertySymbols?function(V){return Object.getOwnPropertyNames(V).concat(Object.getOwnPropertySymbols(V))}:function(V){return Object.getOwnPropertyNames(V)};var b=Number.isNaN||function(V){return V!=V};function f(){f.init.call(this)}E.exports=f,E.exports.once=function(V,B){return new Promise((function(H,Q){function ne(Ce){V.removeListener(B,ae),Q(Ce)}function ae(){typeof V.removeListener=="function"&&V.removeListener("error",ne),H([].slice.call(arguments))}U(V,B,ae,{once:!0}),B!=="error"&&(function(he,ge,ke){typeof he.on=="function"&&U(he,"error",ge,ke)})(V,ne,{once:!0})}))},f.EventEmitter=f,f.prototype._events=void 0,f.prototype._eventsCount=0,f.prototype._maxListeners=void 0;var w=10;function m(J){if(typeof J!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof J)}function g(J){return J._maxListeners===void 0?f.defaultMaxListeners:J._maxListeners}function x(J,V,B,H){var Q,ne,ae;if(m(B),(ne=J._events)===void 0?(ne=J._events=Object.create(null),J._eventsCount=0):(ne.newListener!==void 0&&(J.emit("newListener",V,B.listener?B.listener:B),ne=J._events),ae=ne[V]),ae===void 0)ae=ne[V]=B,++J._eventsCount;else if(typeof ae=="function"?ae=ne[V]=H?[B,ae]:[ae,B]:H?ae.unshift(B):ae.push(B),(Q=g(J))>0&&ae.length>Q&&!ae.warned){ae.warned=!0;var Ce=new Error("Possible EventEmitter memory leak detected. "+ae.length+" "+String(V)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ce.name="MaxListenersExceededWarning",Ce.emitter=J,Ce.type=V,Ce.count=ae.length}return J}function k(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function T(J,V,B){var H={fired:!1,wrapFn:void 0,target:J,type:V,listener:B},Q=k.bind(H);return Q.listener=B,H.wrapFn=Q,Q}function N(J,V,B){var H=J._events;if(H===void 0)return[];var Q=H[V];return Q===void 0?[]:typeof Q=="function"?B?[Q.listener||Q]:[Q]:B?(function(ae){for(var Ce=new Array(ae.length),he=0;he<Ce.length;++he)Ce[he]=ae[he].listener||ae[he];return Ce})(Q):M(Q,Q.length)}function P(J){var V=this._events;if(V!==void 0){var B=V[J];if(typeof B=="function")return 1;if(B!==void 0)return B.length}return 0}function M(J,V){for(var B=new Array(V),H=0;H<V;++H)B[H]=J[H];return B}function U(J,V,B,H){if(typeof J.on=="function")H.once?J.once(V,B):J.on(V,B);else{if(typeof J.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof J);J.addEventListener(V,(function Q(ne){H.once&&J.removeEventListener(V,Q),B(ne)}))}}Object.defineProperty(f,"defaultMaxListeners",{enumerable:!0,get:function(){return w},set:function(J){if(typeof J!="number"||J<0||b(J))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+J+".");w=J}}),f.init=function(){this._events!==void 0&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},f.prototype.setMaxListeners=function(V){if(typeof V!="number"||V<0||b(V))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+V+".");return this._maxListeners=V,this},f.prototype.getMaxListeners=function(){return g(this)},f.prototype.emit=function(V){for(var B=[],H=1;H<arguments.length;H++)B.push(arguments[H]);var Q=V==="error",ne=this._events;if(ne!==void 0)Q=Q&&ne.error===void 0;else if(!Q)return!1;if(Q){var ae;if(B.length>0&&(ae=B[0]),ae instanceof Error)throw ae;var Ce=new Error("Unhandled error."+(ae?" ("+ae.message+")":""));throw Ce.context=ae,Ce}var he=ne[V];if(he===void 0)return!1;if(typeof he=="function")h(he,this,B);else{var ge=he.length,ke=M(he,ge);for(H=0;H<ge;++H)h(ke[H],this,B)}return!0},f.prototype.addListener=function(V,B){return x(this,V,B,!1)},f.prototype.on=f.prototype.addListener,f.prototype.prependListener=function(V,B){return x(this,V,B,!0)},f.prototype.once=function(V,B){return m(B),this.on(V,T(this,V,B)),this},f.prototype.prependOnceListener=function(V,B){return m(B),this.prependListener(V,T(this,V,B)),this},f.prototype.removeListener=function(V,B){var H,Q,ne,ae,Ce;if(m(B),(Q=this._events)===void 0)return this;if((H=Q[V])===void 0)return this;if(H===B||H.listener===B)--this._eventsCount==0?this._events=Object.create(null):(delete Q[V],Q.removeListener&&this.emit("removeListener",V,H.listener||B));else if(typeof H!="function"){for(ne=-1,ae=H.length-1;ae>=0;ae--)if(H[ae]===B||H[ae].listener===B){Ce=H[ae].listener,ne=ae;break}if(ne<0)return this;ne===0?H.shift():(function(ge,ke){for(;ke+1<ge.length;ke++)ge[ke]=ge[ke+1];ge.pop()})(H,ne),H.length===1&&(Q[V]=H[0]),Q.removeListener!==void 0&&this.emit("removeListener",V,Ce||B)}return this},f.prototype.off=f.prototype.removeListener,f.prototype.removeAllListeners=function(V){var B,H,Q;if((H=this._events)===void 0)return this;if(H.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):H[V]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete H[V]),this;if(arguments.length===0){var ne,ae=Object.keys(H);for(Q=0;Q<ae.length;++Q)(ne=ae[Q])!=="removeListener"&&this.removeAllListeners(ne);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(B=H[V])=="function")this.removeListener(V,B);else if(B!==void 0)for(Q=B.length-1;Q>=0;Q--)this.removeListener(V,B[Q]);return this},f.prototype.listeners=function(V){return N(this,V,!0)},f.prototype.rawListeners=function(V){return N(this,V,!1)},f.listenerCount=function(J,V){return typeof J.listenerCount=="function"?J.listenerCount(V):P.call(J,V)},f.prototype.listenerCount=P,f.prototype.eventNames=function(){return this._eventsCount>0?C(this._events):[]}},37167:(E,C,s)=>{var h=s(4901),b=s(27301),f=s(86009),w=f&&f.isTypedArray,m=w?b(w):h;E.exports=m},37217:(E,C,s)=>{var h=s(80079),b=s(51420),f=s(90938),w=s(63605),m=s(29817),g=s(80945);function x(k){var T=this.__data__=new h(k);this.size=T.size}x.prototype.clear=b,x.prototype.delete=f,x.prototype.get=w,x.prototype.has=m,x.prototype.set=g,E.exports=x},37241:(E,C,s)=>{var h=s(70695),b=s(72903),f=s(64894);E.exports=function(m){return f(m)?h(m,!0):b(m)}},37257:(E,C,s)=>{s(96605),s(64502),s(36371),s(99363),s(7057);var h=s(92046);E.exports=h.AggregateError},37334:E=>{E.exports=function(s){return function(){return s}}},37381:(E,C,s)=>{var h=s(48152),b=s(63950),f=h?function(w){return h.get(w)}:b;E.exports=f},37471:(E,C,s)=>{var h=s(91596),b=s(53320),f=s(58523),w=s(82819),m=s(18073),g=s(11287),x=s(68294),k=s(36306),T=s(9325);E.exports=function N(P,M,U,J,V,B,H,Q,ne,ae){var Ce=128&M,he=1&M,ge=2&M,ke=24&M,Le=512&M,Be=ge?void 0:w(P);return function $e(){for(var Ke=arguments.length,st=Array(Ke),Me=Ke;Me--;)st[Me]=arguments[Me];if(ke)var p=g($e),et=f(st,p);if(J&&(st=h(st,J,V,ke)),B&&(st=b(st,B,H,ke)),Ke-=et,ke&&Ke<ae){var ze=k(st,p);return m(P,M,N,$e.placeholder,U,st,ze,Q,ne,ae-Ke)}var xe=he?U:this,Ne=ge?xe[P]:P;return Ke=st.length,Q?st=x(st,Q):Le&&Ke>1&&st.reverse(),Ce&&ne<Ke&&(st.length=ne),this&&this!==T&&this instanceof $e&&(Ne=Be||w(Ne)),Ne.apply(xe,st)}}},37812:(E,C,s)=>{var h=s(76264),b=s(93742),f=h("iterator"),w=Array.prototype;E.exports=function(m){return m!==void 0&&(b.Array===m||w[f]===m)}},37828:(E,C,s)=>{var h=s(9325).Uint8Array;E.exports=h},38221:(E,C,s)=>{var h=s(23805),b=s(10124),f=s(99374),w=Math.max,m=Math.min;E.exports=function(x,k,T){var N,P,M,U,J,V,B=0,H=!1,Q=!1,ne=!0;if(typeof x!="function")throw new TypeError("Expected a function");function ae(Le){var Be=N,$e=P;return N=P=void 0,B=Le,U=x.apply($e,Be)}function Ce(Le){var Be=Le-V;return V===void 0||Be>=k||Be<0||Q&&Le-B>=M}function he(){var Le=b();if(Ce(Le))return ge(Le);J=setTimeout(he,(function($e){var Ke=k-($e-V);return Q?m(Ke,M-($e-B)):Ke})(Le))}function ge(Le){return J=void 0,ne&&N?ae(Le):(N=P=void 0,U)}function ke(){var Le=b(),Be=Ce(Le);if(N=arguments,P=this,V=Le,Be){if(J===void 0)return(function(Ke){return B=Ke,J=setTimeout(he,k),H?ae(Ke):U})(V);if(Q)return clearTimeout(J),J=setTimeout(he,k),ae(V)}return J===void 0&&(J=setTimeout(he,k)),U}return k=f(k)||0,h(T)&&(H=!!T.leading,M=(Q="maxWait"in T)?w(f(T.maxWait)||0,k):M,ne="trailing"in T?!!T.trailing:ne),ke.cancel=function(){J!==void 0&&clearTimeout(J),B=0,N=V=P=J=void 0},ke.flush=function(){return J===void 0?U:ge(b())},ke}},38329:(E,C,s)=>{var h=s(64894);E.exports=function(f,w){return function(m,g){if(m==null)return m;if(!h(m))return f(m,g);for(var x=m.length,k=w?x:-1,T=Object(m);(w?k--:++k<x)&&g(T[k],k,T)!==!1;);return m}}},38440:(E,C,s)=>{var h=s(16038),b=s(27301),f=s(86009),w=f&&f.isSet,m=w?b(w):h;E.exports=m},38530:E=>{E.exports={}},38816:(E,C,s)=>{var h=s(35970),b=s(56757),f=s(32865);E.exports=function(m){return f(b(m,void 0,h),m+"")}},38859:(E,C,s)=>{var h=s(53661),b=s(31380),f=s(51459);function w(m){var g=-1,x=m==null?0:m.length;for(this.__data__=new h;++g<x;)this.add(m[g])}w.prototype.add=w.prototype.push=b,w.prototype.has=f,E.exports=w},39209:(E,C,s)=>{var h=s(76578),b=typeof globalThis=="undefined"?s.g:globalThis;E.exports=function(){for(var w=[],m=0;m<h.length;m++)typeof b[h[m]]=="function"&&(w[w.length]=h[m]);return w}},39259:(E,C,s)=>{var h=s(46285),b=s(61626);E.exports=function(f,w){h(w)&&"cause"in w&&b(f,"cause",w.cause)}},39298:(E,C,s)=>{var h=s(74239),b=Object;E.exports=function(f){return b(h(f))}},39344:(E,C,s)=>{var h=s(23805),b=Object.create,f=(function(){function w(){}return function(m){if(!h(m))return{};if(b)return b(m);w.prototype=m;var g=new w;return w.prototype=void 0,g}})();E.exports=f},39447:(E,C,s)=>{var h=s(98828);E.exports=!h((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},40154:(E,C,s)=>{var h=s(13930),b=s(36624),f=s(29367);E.exports=function(w,m,g){var x,k;b(w);try{if(!(x=f(w,"return"))){if(m==="throw")throw g;return g}x=h(x,w)}catch(T){k=!0,x=T}if(m==="throw")throw g;if(k)throw x;return b(x),g}},40239:(E,C,s)=>{const h=s(10316);E.exports=class extends h{constructor(f,w,m){super(f,w,m),this.element="number"}primitive(){return"number"}}},40345:(E,C,s)=>{E.exports=s(37007).EventEmitter},40346:E=>{E.exports=function(s){return s!=null&&typeof s=="object"}},40551:(E,C,s)=>{var h=s(45951),b=s(62250),f=h.WeakMap;E.exports=b(f)&&/native code/.test(String(f))},40860:(E,C,s)=>{var h=s(40882),b=s(80909),f=s(15389),w=s(85558),m=s(56449);E.exports=function(x,k,T){var N=m(x)?h:w,P=arguments.length<3;return N(x,f(k,4),T,P,b)}},40882:E=>{E.exports=function(s,h,b,f){var w=-1,m=s==null?0:s.length;for(f&&m&&(b=s[++w]);++w<m;)b=h(b,s[w],w,s);return b}},40961:(E,C,s)=>{(function h(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE=="function")try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(h)}catch(b){}})(),E.exports=s(22551)},40975:(E,C,s)=>{var h=s(9748);E.exports=h},41067:(E,C,s)=>{const h=s(10316);E.exports=class extends h{constructor(f,w,m){super(f||null,w,m),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},41176:E=>{var C=Math.ceil,s=Math.floor;E.exports=Math.trunc||function(b){var f=+b;return(f>0?s:C)(f)}},41237:E=>{E.exports=EvalError},41333:E=>{E.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var s={},h=Symbol("test"),b=Object(h);if(typeof h=="string"||Object.prototype.toString.call(h)!=="[object Symbol]"||Object.prototype.toString.call(b)!=="[object Symbol]")return!1;for(var f in s[h]=42,s)return!1;if(typeof Object.keys=="function"&&Object.keys(s).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(s).length!==0)return!1;var w=Object.getOwnPropertySymbols(s);if(w.length!==1||w[0]!==h||!Object.prototype.propertyIsEnumerable.call(s,h))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var m=Object.getOwnPropertyDescriptor(s,h);if(m.value!==42||m.enumerable!==!0)return!1}return!0}},41505:(E,C,s)=>{var h=s(98828);E.exports=!h((function(){var b=function(){}.bind();return typeof b!="function"||b.hasOwnProperty("prototype")}))},41799:(E,C,s)=>{var h=s(37217),b=s(60270);E.exports=function(w,m,g,x){var k=g.length,T=k,N=!x;if(w==null)return!T;for(w=Object(w);k--;){var P=g[k];if(N&&P[2]?P[1]!==w[P[0]]:!(P[0]in w))return!1}for(;++k<T;){var M=(P=g[k])[0],U=w[M],J=P[1];if(N&&P[2]){if(U===void 0&&!(M in w))return!1}else{var V=new h;if(x)var B=x(U,J,M,w,m,V);if(!(B===void 0?b(J,U,3,x,V):B))return!1}}return!0}},41859:(E,C,s)=>{const h=s(27096),b=s(78004),f=h.types;E.exports=class dg{constructor(m,g){if(this._setDefaults(m),m instanceof RegExp)this.ignoreCase=m.ignoreCase,this.multiline=m.multiline,m=m.source;else{if(typeof m!="string")throw new Error("Expected a regexp or string");this.ignoreCase=g&&g.indexOf("i")!==-1,this.multiline=g&&g.indexOf("m")!==-1}this.tokens=h(m)}_setDefaults(m){this.max=m.max!=null?m.max:dg.prototype.max!=null?dg.prototype.max:100,this.defaultRange=m.defaultRange?m.defaultRange:this.defaultRange.clone(),m.randInt&&(this.randInt=m.randInt)}gen(){return this._gen(this.tokens,[])}_gen(m,g){var x,k,T,N,P;switch(m.type){case f.ROOT:case f.GROUP:if(m.followedBy||m.notFollowedBy)return"";for(m.remember&&m.groupNumber===void 0&&(m.groupNumber=g.push(null)-1),k="",N=0,P=(x=m.options?this._randSelect(m.options):m.stack).length;N<P;N++)k+=this._gen(x[N],g);return m.remember&&(g[m.groupNumber]=k),k;case f.POSITION:return"";case f.SET:var M=this._expand(m);return M.length?String.fromCharCode(this._randSelect(M)):"";case f.REPETITION:for(T=this.randInt(m.min,m.max===1/0?m.min+this.max:m.max),k="",N=0;N<T;N++)k+=this._gen(m.value,g);return k;case f.REFERENCE:return g[m.value-1]||"";case f.CHAR:var U=this.ignoreCase&&this._randBool()?this._toOtherCase(m.value):m.value;return String.fromCharCode(U)}}_toOtherCase(m){return m+(97<=m&&m<=122?-32:65<=m&&m<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(m){return m instanceof b?m.index(this.randInt(0,m.length-1)):m[this.randInt(0,m.length-1)]}_expand(m){if(m.type===h.types.CHAR)return new b(m.value);if(m.type===h.types.RANGE)return new b(m.from,m.to);{let g=new b;for(let x=0;x<m.set.length;x++){let k=this._expand(m.set[x]);if(g.add(k),this.ignoreCase)for(let T=0;T<k.length;T++){let N=k.index(T),P=this._toOtherCase(N);N!==P&&g.add(P)}}return m.not?this.defaultRange.clone().subtract(g):this.defaultRange.clone().intersect(g)}}randInt(m,g){return m+Math.floor(Math.random()*(1+g-m))}get defaultRange(){return this._range=this._range||new b(32,126)}set defaultRange(m){this._range=m}static randexp(m,g){var x;return typeof m=="string"&&(m=new RegExp(m,g)),m._randexp===void 0?(x=new dg(m,g),m._randexp=x):(x=m._randexp)._setDefaults(m),x.gen()}static sugar(){RegExp.prototype.gen=function(){return dg.randexp(this)}}}},42054:E=>{var C="\\ud800-\\udfff",s="["+C+"]",h="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",b="\\ud83c[\\udffb-\\udfff]",f="[^"+C+"]",w="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",g="(?:"+h+"|"+b+")?",x="[\\ufe0e\\ufe0f]?",k=x+g+("(?:\\u200d(?:"+[f,w,m].join("|")+")"+x+g+")*"),T="(?:"+[f+h+"?",h,w,m,s].join("|")+")",N=RegExp(b+"(?="+b+")|"+T+k,"g");E.exports=function(M){return M.match(N)||[]}},42072:(E,C,s)=>{var h=s(34932),b=s(23007),f=s(56449),w=s(44394),m=s(61802),g=s(77797),x=s(13222);E.exports=function(T){return f(T)?h(T,g):w(T)?[T]:b(m(x(T)))}},42156:E=>{E.exports=function(){}},42220:(E,C,s)=>{var h=s(39447),b=s(58661),f=s(74284),w=s(36624),m=s(4993),g=s(2875);C.f=h&&!b?Object.defineProperties:function(k,T){w(k);for(var N,P=m(T),M=g(T),U=M.length,J=0;U>J;)f.f(k,N=M[J++],P[N]);return k}},42426:(E,C,s)=>{var h=s(14248),b=s(15389),f=s(90916),w=s(56449),m=s(36800);E.exports=function(x,k,T){var N=w(x)?h:f;return T&&m(x,k,T)&&(k=void 0),N(x,b(k,3))}},42824:(E,C,s)=>{var h=s(87805),b=s(93290),f=s(71961),w=s(23007),m=s(35529),g=s(72428),x=s(56449),k=s(83693),T=s(3656),N=s(1882),P=s(23805),M=s(11331),U=s(37167),J=s(14974),V=s(69884);E.exports=function(H,Q,ne,ae,Ce,he,ge){var ke=J(H,ne),Le=J(Q,ne),Be=ge.get(Le);if(Be)h(H,ne,Be);else{var $e=he?he(ke,Le,ne+"",H,Q,ge):void 0,Ke=$e===void 0;if(Ke){var st=x(Le),Me=!st&&T(Le),p=!st&&!Me&&U(Le);$e=Le,st||Me||p?x(ke)?$e=ke:k(ke)?$e=w(ke):Me?(Ke=!1,$e=b(Le,!0)):p?(Ke=!1,$e=f(Le,!0)):$e=[]:M(Le)||g(Le)?($e=ke,g(ke)?$e=V(ke):P(ke)&&!N(ke)||($e=m(Le))):Ke=!1}Ke&&(ge.set(Le,$e),Ce($e,Le,ae,he,ge),ge.delete(Le)),h(H,ne,$e)}}},43360:(E,C,s)=>{var h=s(93243);E.exports=function(f,w,m){w=="__proto__"&&h?h(f,w,{configurable:!0,enumerable:!0,value:m,writable:!0}):f[w]=m}},43768:(E,C,s)=>{var h=s(45981),b=s(85587);C.highlight=w,C.highlightAuto=function(k,T){var N,P,M,U,J=T||{},V=J.subset||h.listLanguages();J.prefix;var B=V.length,H=-1;if(typeof k!="string")throw b("Expected `string` for value, got `%s`",k);for(P={relevance:0,language:null,value:[]},N={relevance:0,language:null,value:[]};++H<B;)U=V[H],h.getLanguage(U)&&((M=w(U,k,T)).language=U,M.relevance>P.relevance&&(P=M),M.relevance>N.relevance&&(P=N,N=M));return P.language&&(N.secondBest=P),N},C.registerLanguage=function(k,T){h.registerLanguage(k,T)},C.listLanguages=function(){return h.listLanguages()},C.registerAlias=function(k,T){var N,P=k;T&&((P={})[k]=T);for(N in P)h.registerAliases(P[N],{languageName:N})},m.prototype.addText=function(k){var T,N,P=this.stack;k!==""&&(T=P[P.length-1],(N=T.children[T.children.length-1])&&N.type==="text"?N.value+=k:T.children.push({type:"text",value:k}))},m.prototype.addKeyword=function(k,T){this.openNode(T),this.addText(k),this.closeNode()},m.prototype.addSublanguage=function(k,T){var N=this.stack,P=N[N.length-1],M=k.rootNode.children,U=T?{type:"element",tagName:"span",properties:{className:[T]},children:M}:M;P.children=P.children.concat(U)},m.prototype.openNode=function(k){var T=this.stack,N=this.options.classPrefix+k,P=T[T.length-1],M={type:"element",tagName:"span",properties:{className:[N]},children:[]};P.children.push(M),T.push(M)},m.prototype.closeNode=function(){this.stack.pop()},m.prototype.closeAllNodes=g,m.prototype.finalize=g,m.prototype.toHTML=function(){return""};var f="hljs-";function w(x,k,T){var N,P=h.configure({}),M=(T||{}).prefix;if(typeof x!="string")throw b("Expected `string` for name, got `%s`",x);if(!h.getLanguage(x))throw b("Unknown language: `%s` is not registered",x);if(typeof k!="string")throw b("Expected `string` for value, got `%s`",k);if(M==null&&(M=f),h.configure({__emitter:m,classPrefix:M}),N=h.highlight(k,{language:x,ignoreIllegals:!0}),h.configure(P||{}),N.errorRaised)throw N.errorRaised;return{relevance:N.relevance,language:N.language,value:N.emitter.rootNode.children}}function m(x){this.options=x,this.rootNode={children:[]},this.stack=[this.rootNode]}function g(){}},43838:(E,C,s)=>{var h=s(21791),b=s(37241);E.exports=function(w,m){return w&&h(m,b(m),w)}},44394:(E,C,s)=>{var h=s(72552),b=s(40346);E.exports=function(w){return typeof w=="symbol"||b(w)&&h(w)=="[object Symbol]"}},44673:(E,C,s)=>{var h=s(1907),b=s(82159),f=s(46285),w=s(49724),m=s(93427),g=s(41505),x=Function,k=h([].concat),T=h([].join),N={};E.exports=g?x.bind:function(M){var U=b(this),J=U.prototype,V=m(arguments,1),B=function(){var Q=k(V,m(arguments));return this instanceof B?(function(ne,ae,Ce){if(!w(N,ae)){for(var he=[],ge=0;ge<ae;ge++)he[ge]="a["+ge+"]";N[ae]=x("C,a","return new C("+T(he,",")+")")}return N[ae](ne,Ce)})(U,Q.length,Q):U.apply(M,Q)};return f(J)&&(B.prototype=J),B}},45083:(E,C,s)=>{var h=s(1882),b=s(87296),f=s(23805),w=s(47473),m=/^\[object .+?Constructor\]$/,g=Function.prototype,x=Object.prototype,k=g.toString,T=x.hasOwnProperty,N=RegExp("^"+k.call(T).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");E.exports=function(M){return!(!f(M)||b(M))&&(h(M)?N:m).test(w(M))}},45412:(E,C,s)=>{var h,b=s(65606);E.exports=ge,ge.ReadableState=he,s(37007).EventEmitter;var f=function(ye,nt){return ye.listeners(nt).length},w=s(40345),m=s(48287).Buffer,g=(s.g!==void 0?s.g:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){},x,k=s(79838);x=k&&k.debuglog?k.debuglog("stream"):function(){};var T,N,P,M=s(80345),U=s(75896),J=s(65291).getHighWaterMark,V=s(86048).F,B=V.ERR_INVALID_ARG_TYPE,H=V.ERR_STREAM_PUSH_AFTER_EOF,Q=V.ERR_METHOD_NOT_IMPLEMENTED,ne=V.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;s(56698)(ge,w);var ae=U.errorOrDestroy,Ce=["error","close","destroy","pause","resume"];function he(Y,ye,nt){h=h||s(25382),Y=Y||{},typeof nt!="boolean"&&(nt=ye instanceof h),this.objectMode=!!Y.objectMode,nt&&(this.objectMode=this.objectMode||!!Y.readableObjectMode),this.highWaterMark=J(this,Y,"readableHighWaterMark",nt),this.buffer=new M,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=Y.emitClose!==!1,this.autoDestroy=!!Y.autoDestroy,this.destroyed=!1,this.defaultEncoding=Y.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Y.encoding&&(T||(T=s(83141).I),this.decoder=new T(Y.encoding),this.encoding=Y.encoding)}function ge(Y){if(h=h||s(25382),!(this instanceof ge))return new ge(Y);var ye=this instanceof h;this._readableState=new he(Y,this,ye),this.readable=!0,Y&&(typeof Y.read=="function"&&(this._read=Y.read),typeof Y.destroy=="function"&&(this._destroy=Y.destroy)),w.call(this)}function ke(Y,ye,nt,at,Xt){x("readableAddChunk",ye);var tr,wt=Y._readableState;if(ye===null)wt.reading=!1,(function(Jt,Et){if(x("onEofChunk"),!Et.ended){if(Et.decoder){var ct=Et.decoder.end();ct&&ct.length&&(Et.buffer.push(ct),Et.length+=Et.objectMode?1:ct.length)}Et.ended=!0,Et.sync?Ke(Jt):(Et.needReadable=!1,Et.emittedReadable||(Et.emittedReadable=!0,st(Jt)))}})(Y,wt);else if(Xt||(tr=(function(Jt,Et){var ct;return(function(pe){return m.isBuffer(pe)||pe instanceof g})(Et)||typeof Et=="string"||Et===void 0||Jt.objectMode||(ct=new B("chunk",["string","Buffer","Uint8Array"],Et)),ct})(wt,ye)),tr)ae(Y,tr);else if(wt.objectMode||ye&&ye.length>0)if(typeof ye=="string"||wt.objectMode||Object.getPrototypeOf(ye)===m.prototype||(ye=(function(Jt){return m.from(Jt)})(ye)),at)wt.endEmitted?ae(Y,new ne):Le(Y,wt,ye,!0);else if(wt.ended)ae(Y,new H);else{if(wt.destroyed)return!1;wt.reading=!1,wt.decoder&&!nt?(ye=wt.decoder.write(ye),wt.objectMode||ye.length!==0?Le(Y,wt,ye,!1):Me(Y,wt)):Le(Y,wt,ye,!1)}else at||(wt.reading=!1,Me(Y,wt));return!wt.ended&&(wt.length<wt.highWaterMark||wt.length===0)}function Le(Y,ye,nt,at){ye.flowing&&ye.length===0&&!ye.sync?(ye.awaitDrain=0,Y.emit("data",nt)):(ye.length+=ye.objectMode?1:nt.length,at?ye.buffer.unshift(nt):ye.buffer.push(nt),ye.needReadable&&Ke(Y)),Me(Y,ye)}Object.defineProperty(ge.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(ye){this._readableState&&(this._readableState.destroyed=ye)}}),ge.prototype.destroy=U.destroy,ge.prototype._undestroy=U.undestroy,ge.prototype._destroy=function(Y,ye){ye(Y)},ge.prototype.push=function(Y,ye){var nt,at=this._readableState;return at.objectMode?nt=!0:typeof Y=="string"&&((ye=ye||at.defaultEncoding)!==at.encoding&&(Y=m.from(Y,ye),ye=""),nt=!0),ke(this,Y,ye,!1,nt)},ge.prototype.unshift=function(Y){return ke(this,Y,null,!0,!1)},ge.prototype.isPaused=function(){return this._readableState.flowing===!1},ge.prototype.setEncoding=function(Y){T||(T=s(83141).I);var ye=new T(Y);this._readableState.decoder=ye,this._readableState.encoding=this._readableState.decoder.encoding;for(var nt=this._readableState.buffer.head,at="";nt!==null;)at+=ye.write(nt.data),nt=nt.next;return this._readableState.buffer.clear(),at!==""&&this._readableState.buffer.push(at),this._readableState.length=at.length,this};var Be=1073741824;function $e(Y,ye){return Y<=0||ye.length===0&&ye.ended?0:ye.objectMode?1:Y!=Y?ye.flowing&&ye.length?ye.buffer.head.data.length:ye.length:(Y>ye.highWaterMark&&(ye.highWaterMark=(function(at){return at>=Be?at=Be:(at--,at|=at>>>1,at|=at>>>2,at|=at>>>4,at|=at>>>8,at|=at>>>16,at++),at})(Y)),Y<=ye.length?Y:ye.ended?ye.length:(ye.needReadable=!0,0))}function Ke(Y){var ye=Y._readableState;x("emitReadable",ye.needReadable,ye.emittedReadable),ye.needReadable=!1,ye.emittedReadable||(x("emitReadable",ye.flowing),ye.emittedReadable=!0,b.nextTick(st,Y))}function st(Y){var ye=Y._readableState;x("emitReadable_",ye.destroyed,ye.length,ye.ended),ye.destroyed||!ye.length&&!ye.ended||(Y.emit("readable"),ye.emittedReadable=!1),ye.needReadable=!ye.flowing&&!ye.ended&&ye.length<=ye.highWaterMark,Ne(Y)}function Me(Y,ye){ye.readingMore||(ye.readingMore=!0,b.nextTick(p,Y,ye))}function p(Y,ye){for(;!ye.reading&&!ye.ended&&(ye.length<ye.highWaterMark||ye.flowing&&ye.length===0);){var nt=ye.length;if(x("maybeReadMore read 0"),Y.read(0),nt===ye.length)break}ye.readingMore=!1}function et(Y){var ye=Y._readableState;ye.readableListening=Y.listenerCount("readable")>0,ye.resumeScheduled&&!ye.paused?ye.flowing=!0:Y.listenerCount("data")>0&&Y.resume()}function ze(Y){x("readable nexttick read 0"),Y.read(0)}function xe(Y,ye){x("resume",ye.reading),ye.reading||Y.read(0),ye.resumeScheduled=!1,Y.emit("resume"),Ne(Y),ye.flowing&&!ye.reading&&Y.read(0)}function Ne(Y){var ye=Y._readableState;for(x("flow",ye.flowing);ye.flowing&&Y.read()!==null;);}function rt(Y,ye){return ye.length===0?null:(ye.objectMode?nt=ye.buffer.shift():!Y||Y>=ye.length?(nt=ye.decoder?ye.buffer.join(""):ye.buffer.length===1?ye.buffer.first():ye.buffer.concat(ye.length),ye.buffer.clear()):nt=ye.buffer.consume(Y,ye.decoder),nt);var nt}function gt(Y){var ye=Y._readableState;x("endReadable",ye.endEmitted),ye.endEmitted||(ye.ended=!0,b.nextTick(it,ye,Y))}function it(Y,ye){if(x("endReadableNT",Y.endEmitted,Y.length),!Y.endEmitted&&Y.length===0&&(Y.endEmitted=!0,ye.readable=!1,ye.emit("end"),Y.autoDestroy)){var nt=ye._writableState;(!nt||nt.autoDestroy&&nt.finished)&&ye.destroy()}}function St(Y,ye){for(var nt=0,at=Y.length;nt<at;nt++)if(Y[nt]===ye)return nt;return-1}ge.prototype.read=function(Y){x("read",Y),Y=parseInt(Y,10);var ye=this._readableState,nt=Y;if(Y!==0&&(ye.emittedReadable=!1),Y===0&&ye.needReadable&&((ye.highWaterMark!==0?ye.length>=ye.highWaterMark:ye.length>0)||ye.ended))return x("read: emitReadable",ye.length,ye.ended),ye.length===0&&ye.ended?gt(this):Ke(this),null;if((Y=$e(Y,ye))===0&&ye.ended)return ye.length===0&>(this),null;var at,Xt=ye.needReadable;return x("need readable",Xt),(ye.length===0||ye.length-Y<ye.highWaterMark)&&x("length less than watermark",Xt=!0),ye.ended||ye.reading?x("reading or ended",Xt=!1):Xt&&(x("do read"),ye.reading=!0,ye.sync=!0,ye.length===0&&(ye.needReadable=!0),this._read(ye.highWaterMark),ye.sync=!1,ye.reading||(Y=$e(nt,ye))),(at=Y>0?rt(Y,ye):null)===null?(ye.needReadable=ye.length<=ye.highWaterMark,Y=0):(ye.length-=Y,ye.awaitDrain=0),ye.length===0&&(ye.ended||(ye.needReadable=!0),nt!==Y&&ye.ended&>(this)),at!==null&&this.emit("data",at),at},ge.prototype._read=function(Y){ae(this,new Q("_read()"))},ge.prototype.pipe=function(Y,ye){var nt=this,at=this._readableState;switch(at.pipesCount){case 0:at.pipes=Y;break;case 1:at.pipes=[at.pipes,Y];break;default:at.pipes.push(Y)}at.pipesCount+=1,x("pipe count=%d opts=%j",at.pipesCount,ye);var Xt=(!ye||ye.end!==!1)&&Y!==b.stdout&&Y!==b.stderr?wt:z;function tr(W,ee){x("onunpipe"),W===nt&&ee&&ee.hasUnpiped===!1&&(ee.hasUnpiped=!0,(function(){x("cleanup"),Y.removeListener("close",Rt),Y.removeListener("finish",pe),Y.removeListener("drain",Nt),Y.removeListener("error",ct),Y.removeListener("unpipe",tr),nt.removeListener("end",wt),nt.removeListener("end",z),nt.removeListener("data",Et),Jt=!0,!at.awaitDrain||Y._writableState&&!Y._writableState.needDrain||Nt()})())}function wt(){x("onend"),Y.end()}at.endEmitted?b.nextTick(Xt):nt.once("end",Xt),Y.on("unpipe",tr);var Nt=(function(ee){return function(){var we=ee._readableState;x("pipeOnDrain",we.awaitDrain),we.awaitDrain&&we.awaitDrain--,we.awaitDrain===0&&f(ee,"data")&&(we.flowing=!0,Ne(ee))}})(nt);Y.on("drain",Nt);var Jt=!1;function Et(W){x("ondata");var ee=Y.write(W);x("dest.write",ee),ee===!1&&((at.pipesCount===1&&at.pipes===Y||at.pipesCount>1&&St(at.pipes,Y)!==-1)&&!Jt&&(x("false write response, pause",at.awaitDrain),at.awaitDrain++),nt.pause())}function ct(W){x("onerror",W),z(),Y.removeListener("error",ct),f(Y,"error")===0&&ae(Y,W)}function Rt(){Y.removeListener("finish",pe),z()}function pe(){x("onfinish"),Y.removeListener("close",Rt),z()}function z(){x("unpipe"),nt.unpipe(Y)}return nt.on("data",Et),(function(ee,de,we){if(typeof ee.prependListener=="function")return ee.prependListener(de,we);ee._events&&ee._events[de]?Array.isArray(ee._events[de])?ee._events[de].unshift(we):ee._events[de]=[we,ee._events[de]]:ee.on(de,we)})(Y,"error",ct),Y.once("close",Rt),Y.once("finish",pe),Y.emit("pipe",nt),at.flowing||(x("pipe resume"),nt.resume()),Y},ge.prototype.unpipe=function(Y){var ye=this._readableState,nt={hasUnpiped:!1};if(ye.pipesCount===0)return this;if(ye.pipesCount===1)return Y&&Y!==ye.pipes||(Y||(Y=ye.pipes),ye.pipes=null,ye.pipesCount=0,ye.flowing=!1,Y&&Y.emit("unpipe",this,nt)),this;if(!Y){var at=ye.pipes,Xt=ye.pipesCount;ye.pipes=null,ye.pipesCount=0,ye.flowing=!1;for(var tr=0;tr<Xt;tr++)at[tr].emit("unpipe",this,{hasUnpiped:!1});return this}var wt=St(ye.pipes,Y);return wt===-1||(ye.pipes.splice(wt,1),ye.pipesCount-=1,ye.pipesCount===1&&(ye.pipes=ye.pipes[0]),Y.emit("unpipe",this,nt)),this},ge.prototype.on=function(Y,ye){var nt=w.prototype.on.call(this,Y,ye),at=this._readableState;return Y==="data"?(at.readableListening=this.listenerCount("readable")>0,at.flowing!==!1&&this.resume()):Y==="readable"&&(at.endEmitted||at.readableListening||(at.readableListening=at.needReadable=!0,at.flowing=!1,at.emittedReadable=!1,x("on readable",at.length,at.reading),at.length?Ke(this):at.reading||b.nextTick(ze,this))),nt},ge.prototype.addListener=ge.prototype.on,ge.prototype.removeListener=function(Y,ye){var nt=w.prototype.removeListener.call(this,Y,ye);return Y==="readable"&&b.nextTick(et,this),nt},ge.prototype.removeAllListeners=function(Y){var ye=w.prototype.removeAllListeners.apply(this,arguments);return Y!=="readable"&&Y!==void 0||b.nextTick(et,this),ye},ge.prototype.resume=function(){var Y=this._readableState;return Y.flowing||(x("resume"),Y.flowing=!Y.readableListening,(function(nt,at){at.resumeScheduled||(at.resumeScheduled=!0,b.nextTick(xe,nt,at))})(this,Y)),Y.paused=!1,this},ge.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},ge.prototype.wrap=function(Y){var ye=this,nt=this._readableState,at=!1;for(var Xt in Y.on("end",(function(){if(x("wrapped end"),nt.decoder&&!nt.ended){var wt=nt.decoder.end();wt&&wt.length&&ye.push(wt)}ye.push(null)})),Y.on("data",(function(wt){x("wrapped data"),nt.decoder&&(wt=nt.decoder.write(wt)),nt.objectMode&&wt==null||(nt.objectMode||wt&&wt.length)&&(ye.push(wt)||(at=!0,Y.pause()))})),Y)this[Xt]===void 0&&typeof Y[Xt]=="function"&&(this[Xt]=(function(Nt){return function(){return Y[Nt].apply(Y,arguments)}})(Xt));for(var tr=0;tr<Ce.length;tr++)Y.on(Ce[tr],this.emit.bind(this,Ce[tr]));return this._read=function(wt){x("wrapped _read",wt),at&&(at=!1,Y.resume())},this},typeof Symbol=="function"&&(ge.prototype[Symbol.asyncIterator]=function(){return N===void 0&&(N=s(2955)),N(this)}),Object.defineProperty(ge.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(ge.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(ge.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(ye){this._readableState&&(this._readableState.flowing=ye)}}),ge._fromList=rt,Object.defineProperty(ge.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(ge.from=function(Y,ye){return P===void 0&&(P=s(55157)),P(ge,Y,ye)})},45434:E=>{var C=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;E.exports=function(h){return C.test(h)}},45539:(E,C,s)=>{var h=s(40882),b=s(50828),f=s(66645),w=RegExp("['’]","g");E.exports=function(g){return function(x){return h(f(b(x).replace(w,"")),g,"")}}},45807:(E,C,s)=>{var h=s(1907),b=h({}.toString),f=h("".slice);E.exports=function(w){return f(b(w),8,-1)}},45891:(E,C,s)=>{var h=s(51873),b=s(72428),f=s(56449),w=h?h.isConcatSpreadable:void 0;E.exports=function(g){return f(g)||b(g)||!!(w&&g&&g[w])}},45951:function(E,C,s){var h=function(b){return b&&b.Math===Math&&b};E.exports=h(typeof globalThis=="object"&&globalThis)||h(typeof window=="object"&&window)||h(typeof self=="object"&&self)||h(typeof s.g=="object"&&s.g)||h(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},45981:E=>{function C(ee){return ee instanceof Map?ee.clear=ee.delete=ee.set=function(){throw new Error("map is read-only")}:ee instanceof Set&&(ee.add=ee.clear=ee.delete=function(){throw new Error("set is read-only")}),Object.freeze(ee),Object.getOwnPropertyNames(ee).forEach((function(de){var we=ee[de];typeof we!="object"||Object.isFrozen(we)||C(we)})),ee}var s=C,h=C;s.default=h;class b{constructor(de){de.data===void 0&&(de.data={}),this.data=de.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function f(ee){return ee.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function w(ee,...de){const we=Object.create(null);for(const Ie in ee)we[Ie]=ee[Ie];return de.forEach((function(Ie){for(const mt in Ie)we[mt]=Ie[mt]})),we}const m=ee=>!!ee.kind;class g{constructor(de,we){this.buffer="",this.classPrefix=we.classPrefix,de.walk(this)}addText(de){this.buffer+=f(de)}openNode(de){if(!m(de))return;let we=de.kind;de.sublanguage||(we=`${this.classPrefix}${we}`),this.span(we)}closeNode(de){m(de)&&(this.buffer+="</span>")}value(){return this.buffer}span(de){this.buffer+=`<span class="${de}">`}}class x{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(de){this.top.children.push(de)}openNode(de){const we={kind:de,children:[]};this.add(we),this.stack.push(we)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(de){return this.constructor._walk(de,this.rootNode)}static _walk(de,we){return typeof we=="string"?de.addText(we):we.children&&(de.openNode(we),we.children.forEach((Ie=>this._walk(de,Ie))),de.closeNode(we)),de}static _collapse(de){typeof de!="string"&&de.children&&(de.children.every((we=>typeof we=="string"))?de.children=[de.children.join("")]:de.children.forEach((we=>{x._collapse(we)})))}}class k extends x{constructor(de){super(),this.options=de}addKeyword(de,we){de!==""&&(this.openNode(we),this.addText(de),this.closeNode())}addText(de){de!==""&&this.add(de)}addSublanguage(de,we){const Ie=de.root;Ie.kind=we,Ie.sublanguage=!0,this.add(Ie)}toHTML(){return new g(this,this.options).value()}finalize(){return!0}}function T(ee){return ee?typeof ee=="string"?ee:ee.source:null}const N=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,P="[a-zA-Z]\\w*",M="[a-zA-Z_]\\w*",U="\\b\\d+(\\.\\d+)?",J="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",V="\\b(0b[01]+)",B={begin:"\\\\[\\s\\S]",relevance:0},H={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[B]},Q={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[B]},ne={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ae=function(ee,de,we={}){const Ie=w({className:"comment",begin:ee,end:de,contains:[]},we);return Ie.contains.push(ne),Ie.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),Ie},Ce=ae("//","$"),he=ae("/\\*","\\*/"),ge=ae("#","$"),ke={className:"number",begin:U,relevance:0},Le={className:"number",begin:J,relevance:0},Be={className:"number",begin:V,relevance:0},$e={className:"number",begin:U+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},Ke={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[B,{begin:/\[/,end:/\]/,relevance:0,contains:[B]}]}]},st={className:"title",begin:P,relevance:0},Me={className:"title",begin:M,relevance:0},p={begin:"\\.\\s*"+M,relevance:0};var et=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:P,UNDERSCORE_IDENT_RE:M,NUMBER_RE:U,C_NUMBER_RE:J,BINARY_NUMBER_RE:V,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(ee={})=>{const de=/^#![ ]*\//;return ee.binary&&(ee.begin=(function(...Ie){return Ie.map((mt=>T(mt))).join("")})(de,/.*\b/,ee.binary,/\b.*/)),w({className:"meta",begin:de,end:/$/,relevance:0,"on:begin":(we,Ie)=>{we.index!==0&&Ie.ignoreMatch()}},ee)},BACKSLASH_ESCAPE:B,APOS_STRING_MODE:H,QUOTE_STRING_MODE:Q,PHRASAL_WORDS_MODE:ne,COMMENT:ae,C_LINE_COMMENT_MODE:Ce,C_BLOCK_COMMENT_MODE:he,HASH_COMMENT_MODE:ge,NUMBER_MODE:ke,C_NUMBER_MODE:Le,BINARY_NUMBER_MODE:Be,CSS_NUMBER_MODE:$e,REGEXP_MODE:Ke,TITLE_MODE:st,UNDERSCORE_TITLE_MODE:Me,METHOD_GUARD:p,END_SAME_AS_BEGIN:function(ee){return Object.assign(ee,{"on:begin":(de,we)=>{we.data._beginMatch=de[1]},"on:end":(de,we)=>{we.data._beginMatch!==de[1]&&we.ignoreMatch()}})}});function ze(ee,de){ee.input[ee.index-1]==="."&&de.ignoreMatch()}function xe(ee,de){de&&ee.beginKeywords&&(ee.begin="\\b("+ee.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",ee.__beforeBegin=ze,ee.keywords=ee.keywords||ee.beginKeywords,delete ee.beginKeywords,ee.relevance===void 0&&(ee.relevance=0))}function Ne(ee,de){Array.isArray(ee.illegal)&&(ee.illegal=(function(...Ie){return"("+Ie.map((mt=>T(mt))).join("|")+")"})(...ee.illegal))}function rt(ee,de){if(ee.match){if(ee.begin||ee.end)throw new Error("begin & end are not supported with match");ee.begin=ee.match,delete ee.match}}function gt(ee,de){ee.relevance===void 0&&(ee.relevance=1)}const it=["of","and","for","in","not","or","if","then","parent","list","value"];function St(ee,de,we="keyword"){const Ie={};return typeof ee=="string"?mt(we,ee.split(" ")):Array.isArray(ee)?mt(we,ee):Object.keys(ee).forEach((function(At){Object.assign(Ie,St(ee[At],de,At))})),Ie;function mt(At,lt){de&&(lt=lt.map((yt=>yt.toLowerCase()))),lt.forEach((function(yt){const Ot=yt.split("|");Ie[Ot[0]]=[At,Y(Ot[0],Ot[1])]}))}}function Y(ee,de){return de?Number(de):(function(Ie){return it.includes(Ie.toLowerCase())})(ee)?0:1}function ye(ee,{plugins:de}){function we(At,lt){return new RegExp(T(At),"m"+(ee.case_insensitive?"i":"")+(lt?"g":""))}class Ie{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(lt,yt){yt.position=this.position++,this.matchIndexes[this.matchAt]=yt,this.regexes.push([yt,lt]),this.matchAt+=(function(Ir){return new RegExp(Ir.toString()+"|").exec("").length-1})(lt)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const lt=this.regexes.map((yt=>yt[1]));this.matcherRe=we((function(Ot,Ir="|"){let $r=0;return Ot.map((hn=>{$r+=1;const Lr=$r;let xn=T(hn),Pa="";for(;xn.length>0;){const Dr=N.exec(xn);if(!Dr){Pa+=xn;break}Pa+=xn.substring(0,Dr.index),xn=xn.substring(Dr.index+Dr[0].length),Dr[0][0]==="\\"&&Dr[1]?Pa+="\\"+String(Number(Dr[1])+Lr):(Pa+=Dr[0],Dr[0]==="("&&$r++)}return Pa})).map((hn=>`(${hn})`)).join(Ir)})(lt),!0),this.lastIndex=0}exec(lt){this.matcherRe.lastIndex=this.lastIndex;const yt=this.matcherRe.exec(lt);if(!yt)return null;const Ot=yt.findIndex((($r,hn)=>hn>0&&$r!==void 0)),Ir=this.matchIndexes[Ot];return yt.splice(0,Ot),Object.assign(yt,Ir)}}class mt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(lt){if(this.multiRegexes[lt])return this.multiRegexes[lt];const yt=new Ie;return this.rules.slice(lt).forEach((([Ot,Ir])=>yt.addRule(Ot,Ir))),yt.compile(),this.multiRegexes[lt]=yt,yt}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(lt,yt){this.rules.push([lt,yt]),yt.type==="begin"&&this.count++}exec(lt){const yt=this.getMatcher(this.regexIndex);yt.lastIndex=this.lastIndex;let Ot=yt.exec(lt);if(this.resumingScanAtSamePosition()&&!(Ot&&Ot.index===this.lastIndex)){const Ir=this.getMatcher(0);Ir.lastIndex=this.lastIndex+1,Ot=Ir.exec(lt)}return Ot&&(this.regexIndex+=Ot.position+1,this.regexIndex===this.count&&this.considerAll()),Ot}}if(ee.compilerExtensions||(ee.compilerExtensions=[]),ee.contains&&ee.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return ee.classNameAliases=w(ee.classNameAliases||{}),(function At(lt,yt){const Ot=lt;if(lt.isCompiled)return Ot;[rt].forEach(($r=>$r(lt,yt))),ee.compilerExtensions.forEach(($r=>$r(lt,yt))),lt.__beforeBegin=null,[xe,Ne,gt].forEach(($r=>$r(lt,yt))),lt.isCompiled=!0;let Ir=null;if(typeof lt.keywords=="object"&&(Ir=lt.keywords.$pattern,delete lt.keywords.$pattern),lt.keywords&&(lt.keywords=St(lt.keywords,ee.case_insensitive)),lt.lexemes&&Ir)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Ir=Ir||lt.lexemes||/\w+/,Ot.keywordPatternRe=we(Ir,!0),yt&&(lt.begin||(lt.begin=/\B|\b/),Ot.beginRe=we(lt.begin),lt.endSameAsBegin&&(lt.end=lt.begin),lt.end||lt.endsWithParent||(lt.end=/\B|\b/),lt.end&&(Ot.endRe=we(lt.end)),Ot.terminatorEnd=T(lt.end)||"",lt.endsWithParent&&yt.terminatorEnd&&(Ot.terminatorEnd+=(lt.end?"|":"")+yt.terminatorEnd)),lt.illegal&&(Ot.illegalRe=we(lt.illegal)),lt.contains||(lt.contains=[]),lt.contains=[].concat(...lt.contains.map((function($r){return(function(Lr){return Lr.variants&&!Lr.cachedVariants&&(Lr.cachedVariants=Lr.variants.map((function(xn){return w(Lr,{variants:null},xn)}))),Lr.cachedVariants?Lr.cachedVariants:nt(Lr)?w(Lr,{starts:Lr.starts?w(Lr.starts):null}):Object.isFrozen(Lr)?w(Lr):Lr})($r==="self"?lt:$r)}))),lt.contains.forEach((function($r){At($r,Ot)})),lt.starts&&At(lt.starts,yt),Ot.matcher=(function(hn){const Lr=new mt;return hn.contains.forEach((xn=>Lr.addRule(xn.begin,{rule:xn,type:"begin"}))),hn.terminatorEnd&&Lr.addRule(hn.terminatorEnd,{type:"end"}),hn.illegal&&Lr.addRule(hn.illegal,{type:"illegal"}),Lr})(Ot),Ot})(ee)}function nt(ee){return!!ee&&(ee.endsWithParent||nt(ee.starts))}function at(ee){const de={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!ee.getLanguage(this.language))return this.unknownLanguage=!0,f(this.code);let we={};return this.autoDetect?(we=ee.highlightAuto(this.code),this.detectedLanguage=we.language):(we=ee.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),we.value},autoDetect(){return!this.language||(function(Ie){return!!(Ie||Ie==="")})(this.autodetect)},ignoreIllegals:()=>!0},render(we){return we("pre",{},[we("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:de,VuePlugin:{install(we){we.component("highlightjs",de)}}}}const Xt={"after:highlightElement":({el:ee,result:de,text:we})=>{const Ie=wt(ee);if(!Ie.length)return;const mt=document.createElement("div");mt.innerHTML=de.value,de.value=(function(lt,yt,Ot){let Ir=0,$r="";const hn=[];function Lr(){return lt.length&&yt.length?lt[0].offset!==yt[0].offset?lt[0].offset<yt[0].offset?lt:yt:yt[0].event==="start"?lt:yt:lt.length?lt:yt}function xn(Qr){function wn(Ka){return" "+Ka.nodeName+'="'+f(Ka.value)+'"'}$r+="<"+tr(Qr)+[].map.call(Qr.attributes,wn).join("")+">"}function Pa(Qr){$r+="</"+tr(Qr)+">"}function Dr(Qr){(Qr.event==="start"?xn:Pa)(Qr.node)}for(;lt.length||yt.length;){let Qr=Lr();if($r+=f(Ot.substring(Ir,Qr[0].offset)),Ir=Qr[0].offset,Qr===lt){hn.reverse().forEach(Pa);do Dr(Qr.splice(0,1)[0]),Qr=Lr();while(Qr===lt&&Qr.length&&Qr[0].offset===Ir);hn.reverse().forEach(xn)}else Qr[0].event==="start"?hn.push(Qr[0].node):hn.pop(),Dr(Qr.splice(0,1)[0])}return $r+f(Ot.substr(Ir))})(Ie,wt(mt),we)}};function tr(ee){return ee.nodeName.toLowerCase()}function wt(ee){const de=[];return(function we(Ie,mt){for(let At=Ie.firstChild;At;At=At.nextSibling)At.nodeType===3?mt+=At.nodeValue.length:At.nodeType===1&&(de.push({event:"start",offset:mt,node:At}),mt=we(At,mt),tr(At).match(/br|hr|img|input/)||de.push({event:"stop",offset:mt,node:At}));return mt})(ee,0),de}const Nt={},Jt=ee=>{},Et=(ee,...de)=>{},ct=(ee,de)=>{Nt[`${ee}/${de}`]||(Nt[`${ee}/${de}`]=!0)},Rt=f,pe=w,z=Symbol("nomatch");var W=(function(ee){const de=Object.create(null),we=Object.create(null),Ie=[];let mt=!0;const At=/(^(<[^>]+>|\t|)+|\n)/gm,lt="Could not find the language '{}', did you forget to load/include a language module?",yt={disableAutodetect:!0,name:"Plain text",contains:[]};let Ot={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:k};function Ir(Ht){return Ot.noHighlightRe.test(Ht)}function $r(Ht,er,vr,Tr){let kr="",Rn="";typeof er=="object"?(kr=Ht,vr=er.ignoreIllegals,Rn=er.language,Tr=void 0):(ct("10.7.0","highlight(lang, code, ...args) has been deprecated."),ct("10.7.0",`Please use highlight(code, options) instead.
|
||
https://github.com/highlightjs/highlight.js/issues/2277`),Rn=Ht,kr=er);const Zr={code:kr,language:Rn};zo("before:highlight",Zr);const Vr=Zr.result?Zr.result:hn(Zr.language,Zr.code,vr,Tr);return Vr.code=Zr.code,zo("after:highlight",Vr),Vr}function hn(Ht,er,vr,Tr){function kr(Dt,ar){const Zt=_i.case_insensitive?ar[0].toLowerCase():ar[0];return Object.prototype.hasOwnProperty.call(Dt.keywords,Zt)&&Dt.keywords[Zt]}function Rn(){_r.subLanguage!=null?(function(){if(mn==="")return;let ar=null;if(typeof _r.subLanguage=="string"){if(!de[_r.subLanguage])return void sr.addText(mn);ar=hn(_r.subLanguage,mn,!0,na[_r.subLanguage]),na[_r.subLanguage]=ar.top}else ar=Lr(mn,_r.subLanguage.length?_r.subLanguage:null);_r.relevance>0&&(ko+=ar.relevance),sr.addSublanguage(ar.emitter,ar.language)})():(function(){if(!_r.keywords)return void sr.addText(mn);let ar=0;_r.keywordPatternRe.lastIndex=0;let Zt=_r.keywordPatternRe.exec(mn),br="";for(;Zt;){br+=mn.substring(ar,Zt.index);const zn=kr(_r,Zt);if(zn){const[Gr,fo]=zn;if(sr.addText(br),br="",ko+=fo,Gr.startsWith("_"))br+=Zt[0];else{const mo=_i.classNameAliases[Gr]||Gr;sr.addKeyword(Zt[0],mo)}}else br+=Zt[0];ar=_r.keywordPatternRe.lastIndex,Zt=_r.keywordPatternRe.exec(mn)}br+=mn.substr(ar),sr.addText(br)})(),mn=""}function Zr(Dt){return Dt.className&&sr.openNode(_i.classNameAliases[Dt.className]||Dt.className),_r=Object.create(Dt,{parent:{value:_r}}),_r}function Vr(Dt,ar,Zt){let br=(function(Gr,fo){const mo=Gr&&Gr.exec(fo);return mo&&mo.index===0})(Dt.endRe,Zt);if(br){if(Dt["on:end"]){const zn=new b(Dt);Dt["on:end"](ar,zn),zn.isMatchIgnored&&(br=!1)}if(br){for(;Dt.endsParent&&Dt.parent;)Dt=Dt.parent;return Dt}}if(Dt.endsWithParent)return Vr(Dt.parent,ar,Zt)}function En(Dt){return _r.matcher.regexIndex===0?(mn+=Dt[0],1):(Ya=!0,0)}function rn(Dt){const ar=Dt[0],Zt=Dt.rule,br=new b(Zt),zn=[Zt.__beforeBegin,Zt["on:begin"]];for(const Gr of zn)if(Gr&&(Gr(Dt,br),br.isMatchIgnored))return En(ar);return Zt&&Zt.endSameAsBegin&&(Zt.endRe=(function(fo){return new RegExp(fo.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")})(ar)),Zt.skip?mn+=ar:(Zt.excludeBegin&&(mn+=ar),Rn(),Zt.returnBegin||Zt.excludeBegin||(mn=ar)),Zr(Zt),Zt.returnBegin?0:ar.length}function Yn(Dt){const ar=Dt[0],Zt=er.substr(Dt.index),br=Vr(_r,Dt,Zt);if(!br)return z;const zn=_r;zn.skip?mn+=ar:(zn.returnEnd||zn.excludeEnd||(mn+=ar),Rn(),zn.excludeEnd&&(mn=ar));do _r.className&&sr.closeNode(),_r.skip||_r.subLanguage||(ko+=_r.relevance),_r=_r.parent;while(_r!==br.parent);return br.starts&&(br.endSameAsBegin&&(br.starts.endRe=br.endRe),Zr(br.starts)),zn.returnEnd?0:ar.length}let ra={};function Ta(Dt,ar){const Zt=ar&&ar[0];if(mn+=Dt,Zt==null)return Rn(),0;if(ra.type==="begin"&&ar.type==="end"&&ra.index===ar.index&&Zt===""){if(mn+=er.slice(ar.index,ar.index+1),!mt){const br=new Error("0 width match regex");throw br.languageName=Ht,br.badRule=ra.rule,br}return 1}if(ra=ar,ar.type==="begin")return rn(ar);if(ar.type==="illegal"&&!vr){const br=new Error('Illegal lexeme "'+Zt+'" for mode "'+(_r.className||"<unnamed>")+'"');throw br.mode=_r,br}if(ar.type==="end"){const br=Yn(ar);if(br!==z)return br}if(ar.type==="illegal"&&Zt==="")return 1;if(Or>1e5&&Or>3*ar.index)throw new Error("potential infinite loop, way more iterations than matches");return mn+=Zt,Zt.length}const _i=Tn(Ht);if(!_i)throw Jt(lt.replace("{}",Ht)),new Error('Unknown language: "'+Ht+'"');const Ga=ye(_i,{plugins:Ie});let La="",_r=Tr||Ga;const na={},sr=new Ot.__emitter(Ot);(function(){const ar=[];for(let Zt=_r;Zt!==_i;Zt=Zt.parent)Zt.className&&ar.unshift(Zt.className);ar.forEach((Zt=>sr.openNode(Zt)))})();let mn="",ko=0,Vo=0,Or=0,Ya=!1;try{for(_r.matcher.considerAll();;){Or++,Ya?Ya=!1:_r.matcher.considerAll(),_r.matcher.lastIndex=Vo;const Dt=_r.matcher.exec(er);if(!Dt)break;const ar=Ta(er.substring(Vo,Dt.index),Dt);Vo=Dt.index+ar}return Ta(er.substr(Vo)),sr.closeAllNodes(),sr.finalize(),La=sr.toHTML(),{relevance:Math.floor(ko),value:La,language:Ht,illegal:!1,emitter:sr,top:_r}}catch(Dt){if(Dt.message&&Dt.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Dt.message,context:er.slice(Vo-100,Vo+100),mode:Dt.mode},sofar:La,relevance:0,value:Rt(er),emitter:sr};if(mt)return{illegal:!1,relevance:0,value:Rt(er),emitter:sr,language:Ht,top:_r,errorRaised:Dt};throw Dt}}function Lr(Ht,er){er=er||Ot.languages||Object.keys(de);const vr=(function(rn){const Yn={relevance:0,emitter:new Ot.__emitter(Ot),value:Rt(rn),illegal:!1,top:yt};return Yn.emitter.addText(rn),Yn})(Ht),Tr=er.filter(Tn).filter(Uo).map((En=>hn(En,Ht,!1)));Tr.unshift(vr);const kr=Tr.sort(((En,rn)=>{if(En.relevance!==rn.relevance)return rn.relevance-En.relevance;if(En.language&&rn.language){if(Tn(En.language).supersetOf===rn.language)return 1;if(Tn(rn.language).supersetOf===En.language)return-1}return 0})),[Rn,Zr]=kr,Vr=Rn;return Vr.second_best=Zr,Vr}const xn={"before:highlightElement":({el:Ht})=>{Ot.useBR&&(Ht.innerHTML=Ht.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
||
`))},"after:highlightElement":({result:Ht})=>{Ot.useBR&&(Ht.value=Ht.value.replace(/\n/g,"<br>"))}},Pa=/^(<[^>]+>|\t)+/gm,Dr={"after:highlightElement":({result:Ht})=>{Ot.tabReplace&&(Ht.value=Ht.value.replace(Pa,(er=>er.replace(/\t/g,Ot.tabReplace))))}};function Qr(Ht){let er=null;const vr=(function(Zr){let Vr=Zr.className+" ";Vr+=Zr.parentNode?Zr.parentNode.className:"";const En=Ot.languageDetectRe.exec(Vr);if(En){const rn=Tn(En[1]);return rn||(Et(lt.replace("{}",En[1])),Et("Falling back to no-highlight mode for this block.",Zr)),rn?En[1]:"no-highlight"}return Vr.split(/\s+/).find((rn=>Ir(rn)||Tn(rn)))})(Ht);if(Ir(vr))return;zo("before:highlightElement",{el:Ht,language:vr}),er=Ht;const Tr=er.textContent,kr=vr?$r(Tr,{language:vr,ignoreIllegals:!0}):Lr(Tr);zo("after:highlightElement",{el:Ht,result:kr,text:Tr}),Ht.innerHTML=kr.value,(function(Zr,Vr,En){const rn=Vr?we[Vr]:En;Zr.classList.add("hljs"),rn&&Zr.classList.add(rn)})(Ht,vr,kr.language),Ht.result={language:kr.language,re:kr.relevance,relavance:kr.relevance},kr.second_best&&(Ht.second_best={language:kr.second_best.language,re:kr.second_best.relevance,relavance:kr.second_best.relevance})}const wn=()=>{wn.called||(wn.called=!0,ct("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Qr))};let Ka=!1;function Mn(){if(document.readyState==="loading")return void(Ka=!0);document.querySelectorAll("pre code").forEach(Qr)}function Tn(Ht){return Ht=(Ht||"").toLowerCase(),de[Ht]||de[we[Ht]]}function sa(Ht,{languageName:er}){typeof Ht=="string"&&(Ht=[Ht]),Ht.forEach((vr=>{we[vr.toLowerCase()]=er}))}function Uo(Ht){const er=Tn(Ht);return er&&!er.disableAutodetect}function zo(Ht,er){const vr=Ht;Ie.forEach((function(Tr){Tr[vr]&&Tr[vr](er)}))}typeof window!="undefined"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){Ka&&Mn()}),!1),Object.assign(ee,{highlight:$r,highlightAuto:Lr,highlightAll:Mn,fixMarkup:function(er){return ct("10.2.0","fixMarkup will be removed entirely in v11.0"),ct("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),(function(Tr){return Ot.tabReplace||Ot.useBR?Tr.replace(At,(kr=>kr===`
|
||
`?Ot.useBR?"<br>":kr:Ot.tabReplace?kr.replace(/\t/g,Ot.tabReplace):kr)):Tr})(er)},highlightElement:Qr,highlightBlock:function(er){return ct("10.7.0","highlightBlock will be removed entirely in v12.0"),ct("10.7.0","Please use highlightElement now."),Qr(er)},configure:function(er){er.useBR&&(ct("10.3.0","'useBR' will be removed entirely in v11.0"),ct("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Ot=pe(Ot,er)},initHighlighting:wn,initHighlightingOnLoad:function(){ct("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Ka=!0},registerLanguage:function(er,vr){let Tr=null;try{Tr=vr(ee)}catch(kr){if(Jt("Language definition for '{}' could not be registered.".replace("{}",er)),!mt)throw kr;Jt(kr),Tr=yt}Tr.name||(Tr.name=er),de[er]=Tr,Tr.rawDefinition=vr.bind(null,ee),Tr.aliases&&sa(Tr.aliases,{languageName:er})},unregisterLanguage:function(er){delete de[er];for(const vr of Object.keys(we))we[vr]===er&&delete we[vr]},listLanguages:function(){return Object.keys(de)},getLanguage:Tn,registerAliases:sa,requireLanguage:function(er){ct("10.4.0","requireLanguage will be removed entirely in v11."),ct("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const vr=Tn(er);if(vr)return vr;throw new Error("The '{}' language is required, but not loaded.".replace("{}",er))},autoDetection:Uo,inherit:pe,addPlugin:function(er){(function(Tr){Tr["before:highlightBlock"]&&!Tr["before:highlightElement"]&&(Tr["before:highlightElement"]=kr=>{Tr["before:highlightBlock"](Object.assign({block:kr.el},kr))}),Tr["after:highlightBlock"]&&!Tr["after:highlightElement"]&&(Tr["after:highlightElement"]=kr=>{Tr["after:highlightBlock"](Object.assign({block:kr.el},kr))})})(er),Ie.push(er)},vuePlugin:at(ee).VuePlugin}),ee.debugMode=function(){mt=!1},ee.safeMode=function(){mt=!0},ee.versionString="10.7.3";for(const Ht in et)typeof et[Ht]=="object"&&s(et[Ht]);return Object.assign(ee,et),ee.addPlugin(xn),ee.addPlugin(Xt),ee.addPlugin(Dr),ee})({});E.exports=W},46028:(E,C,s)=>{var h=s(13930),b=s(46285),f=s(25594),w=s(29367),m=s(60581),g=s(76264),x=TypeError,k=g("toPrimitive");E.exports=function(T,N){if(!b(T)||f(T))return T;var P,M=w(T,k);if(M){if(N===void 0&&(N="default"),P=h(M,T,N),!b(P)||f(P))return P;throw new x("Can't convert object to primitive value")}return N===void 0&&(N="number"),m(T,N)}},46076:(E,C,s)=>{s(91599);var h=s(68623);E.exports=h},46285:(E,C,s)=>{var h=s(62250);E.exports=function(b){return typeof b=="object"?b!==null:h(b)}},46942:(E,C)=>{var s;(function(){var h={}.hasOwnProperty;function b(){for(var m="",g=0;g<arguments.length;g++){var x=arguments[g];x&&(m=w(m,f(x)))}return m}function f(m){if(typeof m=="string"||typeof m=="number")return m;if(typeof m!="object")return"";if(Array.isArray(m))return b.apply(null,m);if(m.toString!==Object.prototype.toString&&!m.toString.toString().includes("[native code]"))return m.toString();var g="";for(var x in m)h.call(m,x)&&m[x]&&(g=w(g,x));return g}function w(m,g){return g?m?m+" "+g:m+g:m}E.exports?(b.default=b,E.exports=b):(s=function(){return b}.apply(C,[]))===void 0||(E.exports=s)})()},47119:E=>{E.exports=typeof Reflect!="undefined"&&Reflect&&Reflect.apply},47181:(E,C,s)=>{var h=s(95116).IteratorPrototype,b=s(58075),f=s(75817),w=s(14840),m=s(93742),g=function(){return this};E.exports=function(x,k,T,N){var P=k+" Iterator";return x.prototype=b(h,{next:f(+!N,T)}),w(x,P,!1,!0),m[P]=g,x}},47237:E=>{E.exports=function(s){return function(h){return h==null?void 0:h[s]}}},47248:(E,C,s)=>{var h=s(16547),b=s(51234);E.exports=function(w,m){return b(w||[],m||[],h)}},47422:(E,C,s)=>{var h=s(31769),b=s(77797);E.exports=function(w,m){for(var g=0,x=(m=h(m,w)).length;w!=null&&g<x;)w=w[b(m[g++])];return g&&g==x?w:void 0}},47473:E=>{var C=Function.prototype.toString;E.exports=function(h){if(h!=null){try{return C.call(h)}catch(b){}try{return h+""}catch(b){}}return""}},47886:(E,C,s)=>{var h=s(5861),b=s(40346);E.exports=function(w){return b(w)&&h(w)=="[object WeakMap]"}},47934:(E,C,s)=>{E.exports={ary:s(64626),assign:s(74733),clone:s(32629),curry:s(49747),forEach:s(83729),isArray:s(56449),isError:s(23546),isFunction:s(1882),isWeakMap:s(47886),iteratee:s(33855),keys:s(88984),rearg:s(84195),toInteger:s(61489),toPath:s(42072)}},48152:(E,C,s)=>{var h=s(28303),b=h&&new h;E.exports=b},48287:(E,C,s)=>{const h=s(67526),b=s(251),f=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;C.Buffer=g,C.SlowBuffer=function(z){return+z!=z&&(z=0),g.alloc(+z)},C.INSPECT_MAX_BYTES=50;const w=2147483647;function m(pe){if(pe>w)throw new RangeError('The value "'+pe+'" is invalid for option "size"');const z=new Uint8Array(pe);return Object.setPrototypeOf(z,g.prototype),z}function g(pe,z,W){if(typeof pe=="number"){if(typeof z=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return T(pe)}return x(pe,z,W)}function x(pe,z,W){if(typeof pe=="string")return(function(Ie,mt){if(typeof mt=="string"&&mt!==""||(mt="utf8"),!g.isEncoding(mt))throw new TypeError("Unknown encoding: "+mt);const At=0|U(Ie,mt);let lt=m(At);const yt=lt.write(Ie,mt);return yt!==At&&(lt=lt.slice(0,yt)),lt})(pe,z);if(ArrayBuffer.isView(pe))return(function(Ie){if(Nt(Ie,Uint8Array)){const mt=new Uint8Array(Ie);return P(mt.buffer,mt.byteOffset,mt.byteLength)}return N(Ie)})(pe);if(pe==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof pe);if(Nt(pe,ArrayBuffer)||pe&&Nt(pe.buffer,ArrayBuffer)||typeof SharedArrayBuffer!="undefined"&&(Nt(pe,SharedArrayBuffer)||pe&&Nt(pe.buffer,SharedArrayBuffer)))return P(pe,z,W);if(typeof pe=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ee=pe.valueOf&&pe.valueOf();if(ee!=null&&ee!==pe)return g.from(ee,z,W);const de=(function(Ie){if(g.isBuffer(Ie)){const mt=0|M(Ie.length),At=m(mt);return At.length===0||Ie.copy(At,0,0,mt),At}if(Ie.length!==void 0)return typeof Ie.length!="number"||Jt(Ie.length)?m(0):N(Ie);if(Ie.type==="Buffer"&&Array.isArray(Ie.data))return N(Ie.data)})(pe);if(de)return de;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof pe[Symbol.toPrimitive]=="function")return g.from(pe[Symbol.toPrimitive]("string"),z,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof pe)}function k(pe){if(typeof pe!="number")throw new TypeError('"size" argument must be of type number');if(pe<0)throw new RangeError('The value "'+pe+'" is invalid for option "size"')}function T(pe){return k(pe),m(pe<0?0:0|M(pe))}function N(pe){const z=pe.length<0?0:0|M(pe.length),W=m(z);for(let ee=0;ee<z;ee+=1)W[ee]=255&pe[ee];return W}function P(pe,z,W){if(z<0||pe.byteLength<z)throw new RangeError('"offset" is outside of buffer bounds');if(pe.byteLength<z+(W||0))throw new RangeError('"length" is outside of buffer bounds');let ee;return ee=z===void 0&&W===void 0?new Uint8Array(pe):W===void 0?new Uint8Array(pe,z):new Uint8Array(pe,z,W),Object.setPrototypeOf(ee,g.prototype),ee}function M(pe){if(pe>=w)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+w.toString(16)+" bytes");return 0|pe}function U(pe,z){if(g.isBuffer(pe))return pe.length;if(ArrayBuffer.isView(pe)||Nt(pe,ArrayBuffer))return pe.byteLength;if(typeof pe!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof pe);const W=pe.length,ee=arguments.length>2&&arguments[2]===!0;if(!ee&&W===0)return 0;let de=!1;for(;;)switch(z){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return Xt(pe).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return tr(pe).length;default:if(de)return ee?-1:Xt(pe).length;z=(""+z).toLowerCase(),de=!0}}function J(pe,z,W){let ee=!1;if((z===void 0||z<0)&&(z=0),z>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(z>>>=0))return"";for(pe||(pe="utf8");;)switch(pe){case"hex":return Ke(this,z,W);case"utf8":case"utf-8":return ke(this,z,W);case"ascii":return Be(this,z,W);case"latin1":case"binary":return $e(this,z,W);case"base64":return ge(this,z,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return st(this,z,W);default:if(ee)throw new TypeError("Unknown encoding: "+pe);pe=(pe+"").toLowerCase(),ee=!0}}function V(pe,z,W){const ee=pe[z];pe[z]=pe[W],pe[W]=ee}function B(pe,z,W,ee,de){if(pe.length===0)return-1;if(typeof W=="string"?(ee=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Jt(W=+W)&&(W=de?0:pe.length-1),W<0&&(W=pe.length+W),W>=pe.length){if(de)return-1;W=pe.length-1}else if(W<0){if(!de)return-1;W=0}if(typeof z=="string"&&(z=g.from(z,ee)),g.isBuffer(z))return z.length===0?-1:H(pe,z,W,ee,de);if(typeof z=="number")return z&=255,typeof Uint8Array.prototype.indexOf=="function"?de?Uint8Array.prototype.indexOf.call(pe,z,W):Uint8Array.prototype.lastIndexOf.call(pe,z,W):H(pe,[z],W,ee,de);throw new TypeError("val must be string, number or Buffer")}function H(pe,z,W,ee,de){let we,Ie=1,mt=pe.length,At=z.length;if(ee!==void 0&&((ee=String(ee).toLowerCase())==="ucs2"||ee==="ucs-2"||ee==="utf16le"||ee==="utf-16le")){if(pe.length<2||z.length<2)return-1;Ie=2,mt/=2,At/=2,W/=2}function lt(yt,Ot){return Ie===1?yt[Ot]:yt.readUInt16BE(Ot*Ie)}if(de){let yt=-1;for(we=W;we<mt;we++)if(lt(pe,we)===lt(z,yt===-1?0:we-yt)){if(yt===-1&&(yt=we),we-yt+1===At)return yt*Ie}else yt!==-1&&(we-=we-yt),yt=-1}else for(W+At>mt&&(W=mt-At),we=W;we>=0;we--){let yt=!0;for(let Ot=0;Ot<At;Ot++)if(lt(pe,we+Ot)!==lt(z,Ot)){yt=!1;break}if(yt)return we}return-1}function Q(pe,z,W,ee){W=Number(W)||0;const de=pe.length-W;ee?(ee=Number(ee))>de&&(ee=de):ee=de;const we=z.length;let Ie;for(ee>we/2&&(ee=we/2),Ie=0;Ie<ee;++Ie){const mt=parseInt(z.substr(2*Ie,2),16);if(Jt(mt))return Ie;pe[W+Ie]=mt}return Ie}function ne(pe,z,W,ee){return wt(Xt(z,pe.length-W),pe,W,ee)}function ae(pe,z,W,ee){return wt((function(we){const Ie=[];for(let mt=0;mt<we.length;++mt)Ie.push(255&we.charCodeAt(mt));return Ie})(z),pe,W,ee)}function Ce(pe,z,W,ee){return wt(tr(z),pe,W,ee)}function he(pe,z,W,ee){return wt((function(we,Ie){let mt,At,lt;const yt=[];for(let Ot=0;Ot<we.length&&!((Ie-=2)<0);++Ot)mt=we.charCodeAt(Ot),At=mt>>8,lt=mt%256,yt.push(lt),yt.push(At);return yt})(z,pe.length-W),pe,W,ee)}function ge(pe,z,W){return z===0&&W===pe.length?h.fromByteArray(pe):h.fromByteArray(pe.slice(z,W))}function ke(pe,z,W){W=Math.min(pe.length,W);const ee=[];let de=z;for(;de<W;){const we=pe[de];let Ie=null,mt=we>239?4:we>223?3:we>191?2:1;if(de+mt<=W){let At,lt,yt,Ot;switch(mt){case 1:we<128&&(Ie=we);break;case 2:At=pe[de+1],(192&At)==128&&(Ot=(31&we)<<6|63&At,Ot>127&&(Ie=Ot));break;case 3:At=pe[de+1],lt=pe[de+2],(192&At)==128&&(192<)==128&&(Ot=(15&we)<<12|(63&At)<<6|63<,Ot>2047&&(Ot<55296||Ot>57343)&&(Ie=Ot));break;case 4:At=pe[de+1],lt=pe[de+2],yt=pe[de+3],(192&At)==128&&(192<)==128&&(192&yt)==128&&(Ot=(15&we)<<18|(63&At)<<12|(63<)<<6|63&yt,Ot>65535&&Ot<1114112&&(Ie=Ot))}}Ie===null?(Ie=65533,mt=1):Ie>65535&&(Ie-=65536,ee.push(Ie>>>10&1023|55296),Ie=56320|1023&Ie),ee.push(Ie),de+=mt}return(function(Ie){const mt=Ie.length;if(mt<=Le)return String.fromCharCode.apply(String,Ie);let At="",lt=0;for(;lt<mt;)At+=String.fromCharCode.apply(String,Ie.slice(lt,lt+=Le));return At})(ee)}C.kMaxLength=w,g.TYPED_ARRAY_SUPPORT=(function(){try{const z=new Uint8Array(1),W={foo:function(){return 42}};return Object.setPrototypeOf(W,Uint8Array.prototype),Object.setPrototypeOf(z,W),z.foo()===42}catch(z){return!1}})(),g.TYPED_ARRAY_SUPPORT,Object.defineProperty(g.prototype,"parent",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.buffer}}),Object.defineProperty(g.prototype,"offset",{enumerable:!0,get:function(){if(g.isBuffer(this))return this.byteOffset}}),g.poolSize=8192,g.from=function(pe,z,W){return x(pe,z,W)},Object.setPrototypeOf(g.prototype,Uint8Array.prototype),Object.setPrototypeOf(g,Uint8Array),g.alloc=function(pe,z,W){return(function(de,we,Ie){return k(de),de<=0?m(de):we!==void 0?typeof Ie=="string"?m(de).fill(we,Ie):m(de).fill(we):m(de)})(pe,z,W)},g.allocUnsafe=function(pe){return T(pe)},g.allocUnsafeSlow=function(pe){return T(pe)},g.isBuffer=function(z){return z!=null&&z._isBuffer===!0&&z!==g.prototype},g.compare=function(z,W){if(Nt(z,Uint8Array)&&(z=g.from(z,z.offset,z.byteLength)),Nt(W,Uint8Array)&&(W=g.from(W,W.offset,W.byteLength)),!g.isBuffer(z)||!g.isBuffer(W))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(z===W)return 0;let ee=z.length,de=W.length;for(let we=0,Ie=Math.min(ee,de);we<Ie;++we)if(z[we]!==W[we]){ee=z[we],de=W[we];break}return ee<de?-1:de<ee?1:0},g.isEncoding=function(z){switch(String(z).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},g.concat=function(z,W){if(!Array.isArray(z))throw new TypeError('"list" argument must be an Array of Buffers');if(z.length===0)return g.alloc(0);let ee;if(W===void 0)for(W=0,ee=0;ee<z.length;++ee)W+=z[ee].length;const de=g.allocUnsafe(W);let we=0;for(ee=0;ee<z.length;++ee){let Ie=z[ee];if(Nt(Ie,Uint8Array))we+Ie.length>de.length?(g.isBuffer(Ie)||(Ie=g.from(Ie)),Ie.copy(de,we)):Uint8Array.prototype.set.call(de,Ie,we);else{if(!g.isBuffer(Ie))throw new TypeError('"list" argument must be an Array of Buffers');Ie.copy(de,we)}we+=Ie.length}return de},g.byteLength=U,g.prototype._isBuffer=!0,g.prototype.swap16=function(){const z=this.length;if(z%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let W=0;W<z;W+=2)V(this,W,W+1);return this},g.prototype.swap32=function(){const z=this.length;if(z%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let W=0;W<z;W+=4)V(this,W,W+3),V(this,W+1,W+2);return this},g.prototype.swap64=function(){const z=this.length;if(z%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let W=0;W<z;W+=8)V(this,W,W+7),V(this,W+1,W+6),V(this,W+2,W+5),V(this,W+3,W+4);return this},g.prototype.toString=function(){const z=this.length;return z===0?"":arguments.length===0?ke(this,0,z):J.apply(this,arguments)},g.prototype.toLocaleString=g.prototype.toString,g.prototype.equals=function(z){if(!g.isBuffer(z))throw new TypeError("Argument must be a Buffer");return this===z||g.compare(this,z)===0},g.prototype.inspect=function(){let z="";const W=C.INSPECT_MAX_BYTES;return z=this.toString("hex",0,W).replace(/(.{2})/g,"$1 ").trim(),this.length>W&&(z+=" ... "),"<Buffer "+z+">"},f&&(g.prototype[f]=g.prototype.inspect),g.prototype.compare=function(z,W,ee,de,we){if(Nt(z,Uint8Array)&&(z=g.from(z,z.offset,z.byteLength)),!g.isBuffer(z))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof z);if(W===void 0&&(W=0),ee===void 0&&(ee=z?z.length:0),de===void 0&&(de=0),we===void 0&&(we=this.length),W<0||ee>z.length||de<0||we>this.length)throw new RangeError("out of range index");if(de>=we&&W>=ee)return 0;if(de>=we)return-1;if(W>=ee)return 1;if(this===z)return 0;let Ie=(we>>>=0)-(de>>>=0),mt=(ee>>>=0)-(W>>>=0);const At=Math.min(Ie,mt),lt=this.slice(de,we),yt=z.slice(W,ee);for(let Ot=0;Ot<At;++Ot)if(lt[Ot]!==yt[Ot]){Ie=lt[Ot],mt=yt[Ot];break}return Ie<mt?-1:mt<Ie?1:0},g.prototype.includes=function(z,W,ee){return this.indexOf(z,W,ee)!==-1},g.prototype.indexOf=function(z,W,ee){return B(this,z,W,ee,!0)},g.prototype.lastIndexOf=function(z,W,ee){return B(this,z,W,ee,!1)},g.prototype.write=function(z,W,ee,de){if(W===void 0)de="utf8",ee=this.length,W=0;else if(ee===void 0&&typeof W=="string")de=W,ee=this.length,W=0;else{if(!isFinite(W))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");W>>>=0,isFinite(ee)?(ee>>>=0,de===void 0&&(de="utf8")):(de=ee,ee=void 0)}const we=this.length-W;if((ee===void 0||ee>we)&&(ee=we),z.length>0&&(ee<0||W<0)||W>this.length)throw new RangeError("Attempt to write outside buffer bounds");de||(de="utf8");let Ie=!1;for(;;)switch(de){case"hex":return Q(this,z,W,ee);case"utf8":case"utf-8":return ne(this,z,W,ee);case"ascii":case"latin1":case"binary":return ae(this,z,W,ee);case"base64":return Ce(this,z,W,ee);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,z,W,ee);default:if(Ie)throw new TypeError("Unknown encoding: "+de);de=(""+de).toLowerCase(),Ie=!0}},g.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Le=4096;function Be(pe,z,W){let ee="";W=Math.min(pe.length,W);for(let de=z;de<W;++de)ee+=String.fromCharCode(127&pe[de]);return ee}function $e(pe,z,W){let ee="";W=Math.min(pe.length,W);for(let de=z;de<W;++de)ee+=String.fromCharCode(pe[de]);return ee}function Ke(pe,z,W){const ee=pe.length;(!z||z<0)&&(z=0),(!W||W<0||W>ee)&&(W=ee);let de="";for(let we=z;we<W;++we)de+=Et[pe[we]];return de}function st(pe,z,W){const ee=pe.slice(z,W);let de="";for(let we=0;we<ee.length-1;we+=2)de+=String.fromCharCode(ee[we]+256*ee[we+1]);return de}function Me(pe,z,W){if(pe%1!=0||pe<0)throw new RangeError("offset is not uint");if(pe+z>W)throw new RangeError("Trying to access beyond buffer length")}function p(pe,z,W,ee,de,we){if(!g.isBuffer(pe))throw new TypeError('"buffer" argument must be a Buffer instance');if(z>de||z<we)throw new RangeError('"value" argument is out of bounds');if(W+ee>pe.length)throw new RangeError("Index out of range")}function et(pe,z,W,ee,de){Y(z,ee,de,pe,W,7);let we=Number(z&BigInt(4294967295));pe[W++]=we,we>>=8,pe[W++]=we,we>>=8,pe[W++]=we,we>>=8,pe[W++]=we;let Ie=Number(z>>BigInt(32)&BigInt(4294967295));return pe[W++]=Ie,Ie>>=8,pe[W++]=Ie,Ie>>=8,pe[W++]=Ie,Ie>>=8,pe[W++]=Ie,W}function ze(pe,z,W,ee,de){Y(z,ee,de,pe,W,7);let we=Number(z&BigInt(4294967295));pe[W+7]=we,we>>=8,pe[W+6]=we,we>>=8,pe[W+5]=we,we>>=8,pe[W+4]=we;let Ie=Number(z>>BigInt(32)&BigInt(4294967295));return pe[W+3]=Ie,Ie>>=8,pe[W+2]=Ie,Ie>>=8,pe[W+1]=Ie,Ie>>=8,pe[W]=Ie,W+8}function xe(pe,z,W,ee,de,we){if(W+ee>pe.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function Ne(pe,z,W,ee,de){return z=+z,W>>>=0,de||xe(pe,0,W,4),b.write(pe,z,W,ee,23,4),W+4}function rt(pe,z,W,ee,de){return z=+z,W>>>=0,de||xe(pe,0,W,8),b.write(pe,z,W,ee,52,8),W+8}g.prototype.slice=function(z,W){const ee=this.length;(z=~~z)<0?(z+=ee)<0&&(z=0):z>ee&&(z=ee),(W=W===void 0?ee:~~W)<0?(W+=ee)<0&&(W=0):W>ee&&(W=ee),W<z&&(W=z);const de=this.subarray(z,W);return Object.setPrototypeOf(de,g.prototype),de},g.prototype.readUintLE=g.prototype.readUIntLE=function(z,W,ee){z>>>=0,W>>>=0,ee||Me(z,W,this.length);let de=this[z],we=1,Ie=0;for(;++Ie<W&&(we*=256);)de+=this[z+Ie]*we;return de},g.prototype.readUintBE=g.prototype.readUIntBE=function(z,W,ee){z>>>=0,W>>>=0,ee||Me(z,W,this.length);let de=this[z+--W],we=1;for(;W>0&&(we*=256);)de+=this[z+--W]*we;return de},g.prototype.readUint8=g.prototype.readUInt8=function(z,W){return z>>>=0,W||Me(z,1,this.length),this[z]},g.prototype.readUint16LE=g.prototype.readUInt16LE=function(z,W){return z>>>=0,W||Me(z,2,this.length),this[z]|this[z+1]<<8},g.prototype.readUint16BE=g.prototype.readUInt16BE=function(z,W){return z>>>=0,W||Me(z,2,this.length),this[z]<<8|this[z+1]},g.prototype.readUint32LE=g.prototype.readUInt32LE=function(z,W){return z>>>=0,W||Me(z,4,this.length),(this[z]|this[z+1]<<8|this[z+2]<<16)+16777216*this[z+3]},g.prototype.readUint32BE=g.prototype.readUInt32BE=function(z,W){return z>>>=0,W||Me(z,4,this.length),16777216*this[z]+(this[z+1]<<16|this[z+2]<<8|this[z+3])},g.prototype.readBigUInt64LE=ct((function(z){ye(z>>>=0,"offset");const W=this[z],ee=this[z+7];W!==void 0&&ee!==void 0||nt(z,this.length-8);const de=W+256*this[++z]+65536*this[++z]+this[++z]*Ql(2,24),we=this[++z]+256*this[++z]+65536*this[++z]+ee*Ql(2,24);return BigInt(de)+(BigInt(we)<<BigInt(32))})),g.prototype.readBigUInt64BE=ct((function(z){ye(z>>>=0,"offset");const W=this[z],ee=this[z+7];W!==void 0&&ee!==void 0||nt(z,this.length-8);const de=W*Ql(2,24)+65536*this[++z]+256*this[++z]+this[++z],we=this[++z]*Ql(2,24)+65536*this[++z]+256*this[++z]+ee;return(BigInt(de)<<BigInt(32))+BigInt(we)})),g.prototype.readIntLE=function(z,W,ee){z>>>=0,W>>>=0,ee||Me(z,W,this.length);let de=this[z],we=1,Ie=0;for(;++Ie<W&&(we*=256);)de+=this[z+Ie]*we;return we*=128,de>=we&&(de-=Math.pow(2,8*W)),de},g.prototype.readIntBE=function(z,W,ee){z>>>=0,W>>>=0,ee||Me(z,W,this.length);let de=W,we=1,Ie=this[z+--de];for(;de>0&&(we*=256);)Ie+=this[z+--de]*we;return we*=128,Ie>=we&&(Ie-=Math.pow(2,8*W)),Ie},g.prototype.readInt8=function(z,W){return z>>>=0,W||Me(z,1,this.length),128&this[z]?-1*(255-this[z]+1):this[z]},g.prototype.readInt16LE=function(z,W){z>>>=0,W||Me(z,2,this.length);const ee=this[z]|this[z+1]<<8;return 32768&ee?4294901760|ee:ee},g.prototype.readInt16BE=function(z,W){z>>>=0,W||Me(z,2,this.length);const ee=this[z+1]|this[z]<<8;return 32768&ee?4294901760|ee:ee},g.prototype.readInt32LE=function(z,W){return z>>>=0,W||Me(z,4,this.length),this[z]|this[z+1]<<8|this[z+2]<<16|this[z+3]<<24},g.prototype.readInt32BE=function(z,W){return z>>>=0,W||Me(z,4,this.length),this[z]<<24|this[z+1]<<16|this[z+2]<<8|this[z+3]},g.prototype.readBigInt64LE=ct((function(z){ye(z>>>=0,"offset");const W=this[z],ee=this[z+7];W!==void 0&&ee!==void 0||nt(z,this.length-8);const de=this[z+4]+256*this[z+5]+65536*this[z+6]+(ee<<24);return(BigInt(de)<<BigInt(32))+BigInt(W+256*this[++z]+65536*this[++z]+this[++z]*16777216)})),g.prototype.readBigInt64BE=ct((function(z){ye(z>>>=0,"offset");const W=this[z],ee=this[z+7];W!==void 0&&ee!==void 0||nt(z,this.length-8);const de=(W<<24)+65536*this[++z]+256*this[++z]+this[++z];return(BigInt(de)<<BigInt(32))+BigInt(this[++z]*16777216+65536*this[++z]+256*this[++z]+ee)})),g.prototype.readFloatLE=function(z,W){return z>>>=0,W||Me(z,4,this.length),b.read(this,z,!0,23,4)},g.prototype.readFloatBE=function(z,W){return z>>>=0,W||Me(z,4,this.length),b.read(this,z,!1,23,4)},g.prototype.readDoubleLE=function(z,W){return z>>>=0,W||Me(z,8,this.length),b.read(this,z,!0,52,8)},g.prototype.readDoubleBE=function(z,W){return z>>>=0,W||Me(z,8,this.length),b.read(this,z,!1,52,8)},g.prototype.writeUintLE=g.prototype.writeUIntLE=function(z,W,ee,de){z=+z,W>>>=0,ee>>>=0,!de&&p(this,z,W,ee,Math.pow(2,8*ee)-1,0);let we=1,Ie=0;for(this[W]=255&z;++Ie<ee&&(we*=256);)this[W+Ie]=z/we&255;return W+ee},g.prototype.writeUintBE=g.prototype.writeUIntBE=function(z,W,ee,de){z=+z,W>>>=0,ee>>>=0,!de&&p(this,z,W,ee,Math.pow(2,8*ee)-1,0);let we=ee-1,Ie=1;for(this[W+we]=255&z;--we>=0&&(Ie*=256);)this[W+we]=z/Ie&255;return W+ee},g.prototype.writeUint8=g.prototype.writeUInt8=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,1,255,0),this[W]=255&z,W+1},g.prototype.writeUint16LE=g.prototype.writeUInt16LE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,2,65535,0),this[W]=255&z,this[W+1]=z>>>8,W+2},g.prototype.writeUint16BE=g.prototype.writeUInt16BE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,2,65535,0),this[W]=z>>>8,this[W+1]=255&z,W+2},g.prototype.writeUint32LE=g.prototype.writeUInt32LE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,4,4294967295,0),this[W+3]=z>>>24,this[W+2]=z>>>16,this[W+1]=z>>>8,this[W]=255&z,W+4},g.prototype.writeUint32BE=g.prototype.writeUInt32BE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,4,4294967295,0),this[W]=z>>>24,this[W+1]=z>>>16,this[W+2]=z>>>8,this[W+3]=255&z,W+4},g.prototype.writeBigUInt64LE=ct((function(z,W=0){return et(this,z,W,BigInt(0),BigInt("0xffffffffffffffff"))})),g.prototype.writeBigUInt64BE=ct((function(z,W=0){return ze(this,z,W,BigInt(0),BigInt("0xffffffffffffffff"))})),g.prototype.writeIntLE=function(z,W,ee,de){if(z=+z,W>>>=0,!de){const At=Math.pow(2,8*ee-1);p(this,z,W,ee,At-1,-At)}let we=0,Ie=1,mt=0;for(this[W]=255&z;++we<ee&&(Ie*=256);)z<0&&mt===0&&this[W+we-1]!==0&&(mt=1),this[W+we]=(z/Ie|0)-mt&255;return W+ee},g.prototype.writeIntBE=function(z,W,ee,de){if(z=+z,W>>>=0,!de){const At=Math.pow(2,8*ee-1);p(this,z,W,ee,At-1,-At)}let we=ee-1,Ie=1,mt=0;for(this[W+we]=255&z;--we>=0&&(Ie*=256);)z<0&&mt===0&&this[W+we+1]!==0&&(mt=1),this[W+we]=(z/Ie|0)-mt&255;return W+ee},g.prototype.writeInt8=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,1,127,-128),z<0&&(z=255+z+1),this[W]=255&z,W+1},g.prototype.writeInt16LE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,2,32767,-32768),this[W]=255&z,this[W+1]=z>>>8,W+2},g.prototype.writeInt16BE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,2,32767,-32768),this[W]=z>>>8,this[W+1]=255&z,W+2},g.prototype.writeInt32LE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,4,2147483647,-2147483648),this[W]=255&z,this[W+1]=z>>>8,this[W+2]=z>>>16,this[W+3]=z>>>24,W+4},g.prototype.writeInt32BE=function(z,W,ee){return z=+z,W>>>=0,ee||p(this,z,W,4,2147483647,-2147483648),z<0&&(z=4294967295+z+1),this[W]=z>>>24,this[W+1]=z>>>16,this[W+2]=z>>>8,this[W+3]=255&z,W+4},g.prototype.writeBigInt64LE=ct((function(z,W=0){return et(this,z,W,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),g.prototype.writeBigInt64BE=ct((function(z,W=0){return ze(this,z,W,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),g.prototype.writeFloatLE=function(z,W,ee){return Ne(this,z,W,!0,ee)},g.prototype.writeFloatBE=function(z,W,ee){return Ne(this,z,W,!1,ee)},g.prototype.writeDoubleLE=function(z,W,ee){return rt(this,z,W,!0,ee)},g.prototype.writeDoubleBE=function(z,W,ee){return rt(this,z,W,!1,ee)},g.prototype.copy=function(z,W,ee,de){if(!g.isBuffer(z))throw new TypeError("argument should be a Buffer");if(ee||(ee=0),de||de===0||(de=this.length),W>=z.length&&(W=z.length),W||(W=0),de>0&&de<ee&&(de=ee),de===ee||z.length===0||this.length===0)return 0;if(W<0)throw new RangeError("targetStart out of bounds");if(ee<0||ee>=this.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("sourceEnd out of bounds");de>this.length&&(de=this.length),z.length-W<de-ee&&(de=z.length-W+ee);const we=de-ee;return this===z&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(W,ee,de):Uint8Array.prototype.set.call(z,this.subarray(ee,de),W),we},g.prototype.fill=function(z,W,ee,de){if(typeof z=="string"){if(typeof W=="string"?(de=W,W=0,ee=this.length):typeof ee=="string"&&(de=ee,ee=this.length),de!==void 0&&typeof de!="string")throw new TypeError("encoding must be a string");if(typeof de=="string"&&!g.isEncoding(de))throw new TypeError("Unknown encoding: "+de);if(z.length===1){const Ie=z.charCodeAt(0);(de==="utf8"&&Ie<128||de==="latin1")&&(z=Ie)}}else typeof z=="number"?z&=255:typeof z=="boolean"&&(z=Number(z));if(W<0||this.length<W||this.length<ee)throw new RangeError("Out of range index");if(ee<=W)return this;let we;if(W>>>=0,ee=ee===void 0?this.length:ee>>>0,z||(z=0),typeof z=="number")for(we=W;we<ee;++we)this[we]=z;else{const Ie=g.isBuffer(z)?z:g.from(z,de),mt=Ie.length;if(mt===0)throw new TypeError('The value "'+z+'" is invalid for argument "value"');for(we=0;we<ee-W;++we)this[we+W]=Ie[we%mt]}return this};const gt={};function it(pe,z,W){gt[pe]=class extends W{constructor(){super(),Object.defineProperty(this,"message",{value:z.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${pe}]`,this.stack,delete this.name}get code(){return pe}set code(de){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:de,writable:!0})}toString(){return`${this.name} [${pe}]: ${this.message}`}}}function St(pe){let z="",W=pe.length;const ee=pe[0]==="-"?1:0;for(;W>=ee+4;W-=3)z=`_${pe.slice(W-3,W)}${z}`;return`${pe.slice(0,W)}${z}`}function Y(pe,z,W,ee,de,we){if(pe>W||pe<z){const Ie=typeof z=="bigint"?"n":"";let mt;throw mt=z===0||z===BigInt(0)?`>= 0${Ie} and < 2${Ie} ** ${8*(we+1)}${Ie}`:`>= -(2${Ie} ** ${8*(we+1)-1}${Ie}) and < 2 ** ${8*(we+1)-1}${Ie}`,new gt.ERR_OUT_OF_RANGE("value",mt,pe)}(function(mt,At,lt){ye(At,"offset"),mt[At]!==void 0&&mt[At+lt]!==void 0||nt(At,mt.length-(lt+1))})(ee,de,we)}function ye(pe,z){if(typeof pe!="number")throw new gt.ERR_INVALID_ARG_TYPE(z,"number",pe)}function nt(pe,z,W){throw Math.floor(pe)!==pe?(ye(pe,W),new gt.ERR_OUT_OF_RANGE("offset","an integer",pe)):z<0?new gt.ERR_BUFFER_OUT_OF_BOUNDS:new gt.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${z}`,pe)}it("ERR_BUFFER_OUT_OF_BOUNDS",(function(pe){return pe?`${pe} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),it("ERR_INVALID_ARG_TYPE",(function(pe,z){return`The "${pe}" argument must be of type number. Received type ${typeof z}`}),TypeError),it("ERR_OUT_OF_RANGE",(function(pe,z,W){let ee=`The value of "${pe}" is out of range.`,de=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?de=St(String(W)):typeof W=="bigint"&&(de=String(W),(W>Ql(BigInt(2),BigInt(32))||W<-Ql(BigInt(2),BigInt(32)))&&(de=St(de)),de+="n"),ee+=` It must be ${z}. Received ${de}`,ee}),RangeError);const at=/[^+/0-9A-Za-z-_]/g;function Xt(pe,z){let W;z=z||1/0;const ee=pe.length;let de=null;const we=[];for(let Ie=0;Ie<ee;++Ie){if(W=pe.charCodeAt(Ie),W>55295&&W<57344){if(!de){if(W>56319){(z-=3)>-1&&we.push(239,191,189);continue}if(Ie+1===ee){(z-=3)>-1&&we.push(239,191,189);continue}de=W;continue}if(W<56320){(z-=3)>-1&&we.push(239,191,189),de=W;continue}W=65536+(de-55296<<10|W-56320)}else de&&(z-=3)>-1&&we.push(239,191,189);if(de=null,W<128){if((z-=1)<0)break;we.push(W)}else if(W<2048){if((z-=2)<0)break;we.push(W>>6|192,63&W|128)}else if(W<65536){if((z-=3)<0)break;we.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((z-=4)<0)break;we.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return we}function tr(pe){return h.toByteArray((function(W){if((W=(W=W.split("=")[0]).trim().replace(at,"")).length<2)return"";for(;W.length%4!=0;)W+="=";return W})(pe))}function wt(pe,z,W,ee){let de;for(de=0;de<ee&&!(de+W>=z.length||de>=pe.length);++de)z[de+W]=pe[de];return de}function Nt(pe,z){return pe instanceof z||pe!=null&&pe.constructor!=null&&pe.constructor.name!=null&&pe.constructor.name===z.name}function Jt(pe){return pe!=pe}const Et=(function(){const pe="0123456789abcdef",z=new Array(256);for(let W=0;W<16;++W){const ee=16*W;for(let de=0;de<16;++de)z[ee+de]=pe[W]+pe[de]}return z})();function ct(pe){return typeof BigInt=="undefined"?Rt:pe}function Rt(){throw new Error("BigInt not supported")}},48590:(E,C)=>{Object.defineProperty(C,"__esModule",{value:!0}),C.default=function(s){return s&&s.type==="@@redux/INIT"?"initialState argument passed to createStore":"previous state received by the reducer"},E.exports=C.default},48648:E=>{E.exports=typeof Reflect!="undefined"&&Reflect.getPrototypeOf||null},48655:(E,C,s)=>{var h=s(26025);E.exports=function(f){return h(this.__data__,f)>-1}},48675:(E,C,s)=>{E.exports=s(20850)},48948:(E,C,s)=>{var h=s(21791),b=s(86375);E.exports=function(w,m){return h(w,b(w),m)}},49092:(E,C,s)=>{var h=s(41333);E.exports=function(){return h()&&!!Symbol.toStringTag}},49326:(E,C,s)=>{var h=s(31769),b=s(72428),f=s(56449),w=s(30361),m=s(30294),g=s(77797);E.exports=function(k,T,N){for(var P=-1,M=(T=h(T,k)).length,U=!1;++P<M;){var J=g(T[P]);if(!(U=k!=null&&N(k,J)))break;k=k[J]}return U||++P!=M?U:!!(M=k==null?0:k.length)&&m(M)&&w(J,M)&&(f(k)||b(k))}},49552:(E,C,s)=>{var h=s(45951),b=s(46285),f=h.document,w=b(f)&&b(f.createElement);E.exports=function(m){return w?f.createElement(m):{}}},49653:(E,C,s)=>{var h=s(37828);E.exports=function(f){var w=new f.constructor(f.byteLength);return new h(w).set(new h(f)),w}},49698:E=>{var C=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");E.exports=function(h){return C.test(h)}},49724:(E,C,s)=>{var h=s(1907),b=s(39298),f=h({}.hasOwnProperty);E.exports=Object.hasOwn||function(m,g){return f(b(m),g)}},49747:(E,C,s)=>{var h=s(66977);function b(f,w,m){var g=h(f,8,void 0,void 0,void 0,void 0,void 0,w=m?void 0:w);return g.placeholder=b.placeholder,g}b.placeholder={},E.exports=b},50002:(E,C,s)=>{var h=s(82199),b=s(4664),f=s(95950);E.exports=function(m){return h(m,f,b)}},50104:(E,C,s)=>{var h=s(53661);function b(f,w){if(typeof f!="function"||w!=null&&typeof w!="function")throw new TypeError("Expected a function");var m=function(){var g=arguments,x=w?w.apply(this,g):g[0],k=m.cache;if(k.has(x))return k.get(x);var T=f.apply(this,g);return m.cache=k.set(x,T)||k,T};return m.cache=new(b.Cache||h),m}b.Cache=h,E.exports=b},50583:(E,C,s)=>{var h=s(47237),b=s(17255),f=s(28586),w=s(77797);E.exports=function(g){return f(g)?h(w(g)):b(g)}},50689:(E,C,s)=>{var h=s(50002),b=Object.prototype.hasOwnProperty;E.exports=function(w,m,g,x,k,T){var N=1&g,P=h(w),M=P.length;if(M!=h(m).length&&!N)return!1;for(var U=M;U--;){var J=P[U];if(!(N?J in m:b.call(m,J)))return!1}var V=T.get(w),B=T.get(m);if(V&&B)return V==m&&B==w;var H=!0;T.set(w,m),T.set(m,w);for(var Q=N;++U<M;){var ne=w[J=P[U]],ae=m[J];if(x)var Ce=N?x(ae,ne,J,m,w,T):x(ne,ae,J,w,m,T);if(!(Ce===void 0?ne===ae||k(ne,ae,g,x,T):Ce)){H=!1;break}Q||(Q=J=="constructor")}if(H&&!Q){var he=w.constructor,ge=m.constructor;he==ge||!("constructor"in w)||!("constructor"in m)||typeof he=="function"&&he instanceof he&&typeof ge=="function"&&ge instanceof ge||(H=!1)}return T.delete(w),T.delete(m),H}},50828:(E,C,s)=>{var h=s(24647),b=s(13222),f=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,w=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");E.exports=function(g){return(g=b(g))&&g.replace(f,h).replace(w,"")}},51175:(E,C,s)=>{var h=s(19846);E.exports=h&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},51234:E=>{E.exports=function(s,h,b){for(var f=-1,w=s.length,m=h.length,g={};++f<w;){var x=f<m?h[f]:void 0;b(g,s[f],x)}return g}},51420:(E,C,s)=>{var h=s(80079);E.exports=function(){this.__data__=new h,this.size=0}},51459:E=>{E.exports=function(s){return this.__data__.has(s)}},51811:E=>{var C=Date.now;E.exports=function(h){var b=0,f=0;return function(){var w=C(),m=16-(w-f);if(f=w,m>0){if(++b>=800)return arguments[0]}else b=0;return h.apply(void 0,arguments)}}},51871:(E,C,s)=>{var h=s(1907),b=s(82159);E.exports=function(f,w,m){try{return h(b(Object.getOwnPropertyDescriptor(f,w)[m]))}catch(g){}}},51873:(E,C,s)=>{var h=s(9325).Symbol;E.exports=h},52623:(E,C,s)=>{var h={};h[s(76264)("toStringTag")]="z",E.exports=String(h)==="[object z]"},53138:(E,C,s)=>{var h=s(11331);E.exports=function(f){return h(f)?void 0:f}},53209:(E,C,s)=>{var h=s(65606),b=65536,f=4294967295,w=s(92861).Buffer,m=s.g.crypto||s.g.msCrypto;m&&m.getRandomValues?E.exports=function(x,k){if(x>f)throw new RangeError("requested too many random bytes");var T=w.allocUnsafe(x);if(x>0)if(x>b)for(var N=0;N<x;N+=b)m.getRandomValues(T.slice(N,N+b));else m.getRandomValues(T);return typeof k=="function"?h.nextTick((function(){k(null,T)})):T}:E.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
|
||
Use Chrome, Firefox or Internet Explorer 11`)}},53320:E=>{var C=Math.max;E.exports=function(h,b,f,w){for(var m=-1,g=h.length,x=-1,k=f.length,T=-1,N=b.length,P=C(g-k,0),M=Array(P+N),U=!w;++m<P;)M[m]=h[m];for(var J=m;++T<N;)M[J+T]=b[T];for(;++x<k;)(U||m<g)&&(M[J+f[x]]=h[m++]);return M}},53375:(E,C,s)=>{var h=s(93700);E.exports=h},53661:(E,C,s)=>{var h=s(63040),b=s(17670),f=s(90289),w=s(4509),m=s(72949);function g(x){var k=-1,T=x==null?0:x.length;for(this.clear();++k<T;){var N=x[k];this.set(N[0],N[1])}}g.prototype.clear=h,g.prototype.delete=b,g.prototype.get=f,g.prototype.has=w,g.prototype.set=m,E.exports=g},53758:(E,C,s)=>{var h=s(30980),b=s(56017),f=s(94033),w=s(56449),m=s(40346),g=s(80257),x=Object.prototype.hasOwnProperty;function k(T){if(m(T)&&!w(T)&&!(T instanceof h)){if(T instanceof b)return T;if(x.call(T,"__wrapped__"))return g(T)}return new b(T)}k.prototype=f.prototype,k.prototype.constructor=k,E.exports=k},53812:(E,C,s)=>{var h=s(72552),b=s(40346);E.exports=function(w){return w===!0||w===!1||b(w)&&h(w)=="[object Boolean]"}},54018:(E,C,s)=>{var h=s(46285);E.exports=function(b){return h(b)||b===null}},54128:(E,C,s)=>{var h=s(31800),b=/^\s+/;E.exports=function(w){return w&&w.slice(0,h(w)+1).replace(b,"")}},54552:E=>{E.exports=function(s){return function(h){return s==null?void 0:s[h]}}},54641:(E,C,s)=>{var h=s(68882),b=s(51811)(h);E.exports=b},54829:(E,C,s)=>{var h=s(74284).f;E.exports=function(b,f,w){w in b||h(b,w,{configurable:!0,get:function(){return f[w]},set:function(m){f[w]=m}})}},54878:(E,C,s)=>{var h=s(52623),b=s(73948);E.exports=h?{}.toString:function(){return"[object "+b(this)+"]"}},55157:E=>{E.exports=function(){throw new Error("Readable.from is not available in the browser")}},55364:(E,C,s)=>{var h=s(85250),b=s(20999)((function(f,w,m){h(f,w,m)}));E.exports=b},55481:(E,C,s)=>{var h=s(9325)["__core-js_shared__"];E.exports=h},55527:E=>{var C=Object.prototype;E.exports=function(h){var b=h&&h.constructor;return h===(typeof b=="function"&&b.prototype||C)}},55580:(E,C,s)=>{var h=s(56110)(s(9325),"DataView");E.exports=h},55674:(E,C,s)=>{Object.defineProperty(C,"__esModule",{value:!0}),C.validateNextState=C.getUnexpectedInvocationParameterMessage=C.getStateName=void 0;var h=w(s(48590)),b=w(s(82261)),f=w(s(27374));function w(m){return m&&m.__esModule?m:{default:m}}C.getStateName=h.default,C.getUnexpectedInvocationParameterMessage=b.default,C.validateNextState=f.default},55808:(E,C,s)=>{var h=s(12507)("toUpperCase");E.exports=h},55973:E=>{class C{constructor(h,b){this.key=h,this.value=b}clone(){const h=new C;return this.key&&(h.key=this.key.clone()),this.value&&(h.value=this.value.clone()),h}}E.exports=C},56017:(E,C,s)=>{var h=s(39344),b=s(94033);function f(w,m){this.__wrapped__=w,this.__actions__=[],this.__chain__=!!m,this.__index__=0,this.__values__=void 0}f.prototype=h(b.prototype),f.prototype.constructor=f,E.exports=f},56110:(E,C,s)=>{var h=s(45083),b=s(10392);E.exports=function(w,m){var g=b(w,m);return h(g)?g:void 0}},56367:(E,C,s)=>{E.exports=s(77731)},56449:E=>{var C=Array.isArray;E.exports=C},56698:E=>{typeof Object.create=="function"?E.exports=function(s,h){h&&(s.super_=h,s.prototype=Object.create(h.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}))}:E.exports=function(s,h){if(h){s.super_=h;var b=function(){};b.prototype=h.prototype,s.prototype=new b,s.prototype.constructor=s}}},56757:(E,C,s)=>{var h=s(91033),b=Math.max;E.exports=function(w,m,g){return m=b(m===void 0?w.length-1:m,0),function(){for(var x=arguments,k=-1,T=b(x.length-m,0),N=Array(T);++k<T;)N[k]=x[m+k];k=-1;for(var P=Array(m+1);++k<m;)P[k]=x[k];return P[m]=g(N),h(w,this,P)}}},57382:(E,C,s)=>{var h=s(98828);E.exports=!h((function(){function b(){}return b.prototype.constructor=null,Object.getPrototypeOf(new b)!==b.prototype}))},57758:(E,C,s)=>{var h,b=s(86048).F,f=b.ERR_MISSING_ARGS,w=b.ERR_STREAM_DESTROYED;function m(k){if(k)throw k}function g(k){k()}function x(k,T){return k.pipe(T)}E.exports=function(){for(var T=arguments.length,N=new Array(T),P=0;P<T;P++)N[P]=arguments[P];var M,U=(function(B){return B.length?typeof B[B.length-1]!="function"?m:B.pop():m})(N);if(Array.isArray(N[0])&&(N=N[0]),N.length<2)throw new f("streams");var J=N.map((function(V,B){var H=B<N.length-1;return(function(ne,ae,Ce,he){he=(function(Be){var $e=!1;return function(){$e||($e=!0,Be.apply(void 0,arguments))}})(he);var ge=!1;ne.on("close",(function(){ge=!0})),h===void 0&&(h=s(86238)),h(ne,{readable:ae,writable:Ce},(function(Le){if(Le)return he(Le);ge=!0,he()}));var ke=!1;return function(Le){if(!ge&&!ke)return ke=!0,(function($e){return $e.setHeader&&typeof $e.abort=="function"})(ne)?ne.abort():typeof ne.destroy=="function"?ne.destroy():void he(Le||new w("pipe"))}})(V,H,B>0,(function(Q){M||(M=Q),Q&&J.forEach(g),H||(J.forEach(g),U(M))}))}));return N.reduce(x)}},58068:E=>{E.exports=SyntaxError},58075:(E,C,s)=>{var h,b=s(36624),f=s(42220),w=s(80376),m=s(38530),g=s(62416),x=s(49552),k=s(92522),T="prototype",N="script",P=k("IE_PROTO"),M=function(){},U=function(B){return"<"+N+">"+B+"</"+N+">"},J=function(B){B.write(U("")),B.close();var H=B.parentWindow.Object;return B=null,H},V=function(){try{h=new ActiveXObject("htmlfile")}catch(ae){}var B,H,Q;V=typeof document!="undefined"?document.domain&&h?J(h):(H=x("iframe"),Q="java"+N+":",H.style.display="none",g.appendChild(H),H.src=String(Q),(B=H.contentWindow.document).open(),B.write(U("document.F=Object")),B.close(),B.F):J(h);for(var ne=w.length;ne--;)delete V[T][w[ne]];return V()};m[P]=!0,E.exports=Object.create||function(H,Q){var ne;return H!==null?(M[T]=b(H),ne=new M,M[T]=null,ne[P]=H):ne=V(),Q===void 0?ne:f.f(ne,Q)}},58156:(E,C,s)=>{var h=s(47422);E.exports=function(f,w,m){var g=f==null?void 0:h(f,w);return g===void 0?m:g}},58523:E=>{E.exports=function(s,h){for(var b=s.length,f=0;b--;)s[b]===h&&++f;return f}},58661:(E,C,s)=>{var h=s(39447),b=s(98828);E.exports=h&&b((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype!==42}))},58968:E=>{E.exports=Math.floor},59350:E=>{var C=Object.prototype.toString;E.exports=function(h){return C.call(h)}},59399:(E,C,s)=>{var h=s(25264).CopyToClipboard;h.CopyToClipboard=h,E.exports=h},59550:E=>{E.exports=function(C,s){return{value:C,done:s}}},60183:(E,C,s)=>{var h=s(11091),b=s(13930),f=s(7376),w=s(36833),m=s(62250),g=s(47181),x=s(15972),k=s(79192),T=s(14840),N=s(61626),P=s(68055),M=s(76264),U=s(93742),J=s(95116),V=w.PROPER,B=w.CONFIGURABLE,H=J.IteratorPrototype,Q=J.BUGGY_SAFARI_ITERATORS,ne=M("iterator"),ae="keys",Ce="values",he="entries",ge=function(){return this};E.exports=function(ke,Le,Be,$e,Ke,st,Me){g(Be,Le,$e);var p,et,ze,xe=function(ye){if(ye===Ke&&St)return St;if(!Q&&ye&&ye in gt)return gt[ye];switch(ye){case ae:return function(){return new Be(this,ye)};case Ce:return function(){return new Be(this,ye)};case he:return function(){return new Be(this,ye)}}return function(){return new Be(this)}},Ne=Le+" Iterator",rt=!1,gt=ke.prototype,it=gt[ne]||gt["@@iterator"]||Ke&>[Ke],St=!Q&&it||xe(Ke),Y=Le==="Array"&>.entries||it;if(Y&&(p=x(Y.call(new ke)))!==Object.prototype&&p.next&&(f||x(p)===H||(k?k(p,H):m(p[ne])||P(p,ne,ge)),T(p,Ne,!0,!0),f&&(U[Ne]=ge)),V&&Ke===Ce&&it&&it.name!==Ce&&(!f&&B?N(gt,"name",Ce):(rt=!0,St=function(){return b(it,this)})),Ke)if(et={values:xe(Ce),keys:st?St:xe(ae),entries:xe(he)},Me)for(ze in et)(Q||rt||!(ze in gt))&&P(gt,ze,et[ze]);else h({target:Le,proto:!0,forced:Q||rt},et);return f&&!Me||gt[ne]===St||P(gt,ne,St,{name:Ke}),U[Le]=St,et}},60270:(E,C,s)=>{var h=s(87068),b=s(40346);E.exports=function f(w,m,g,x,k){return w===m||(w==null||m==null||!b(w)&&!b(m)?w!=w&&m!=m:h(w,m,g,x,f,k))}},60581:(E,C,s)=>{var h=s(13930),b=s(62250),f=s(46285),w=TypeError;E.exports=function(m,g){var x,k;if(g==="string"&&b(x=m.toString)&&!f(k=h(x,m))||b(x=m.valueOf)&&!f(k=h(x,m))||g!=="string"&&b(x=m.toString)&&!f(k=h(x,m)))return k;throw new w("Can't convert object to primitive value")}},60680:(E,C,s)=>{var h=s(13222),b=/[\\^$.*+?()[\]{}|]/g,f=RegExp(b.source);E.exports=function(m){return(m=h(m))&&f.test(m)?m.replace(b,"\\$&"):m}},61045:(E,C,s)=>{const h=s(6048),b=s(23805),f=s(6233),w=s(87726),m=s(10866);E.exports=class extends f{constructor(x,k,T){super(x||[],k,T),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((x,k)=>(x[k.key.toValue()]=k.value?k.value.toValue():void 0,x)),{})}get(x){const k=this.getMember(x);if(k)return k.value}getMember(x){if(x!==void 0)return this.content.find((k=>k.key.toValue()===x))}remove(x){let k=null;return this.content=this.content.filter((T=>T.key.toValue()!==x||(k=T,!1))),k}getKey(x){const k=this.getMember(x);if(k)return k.key}set(x,k){if(b(x))return Object.keys(x).forEach((P=>{this.set(P,x[P])})),this;const T=x,N=this.getMember(T);return N?N.value=k:this.content.push(new w(T,k)),this}keys(){return this.content.map((x=>x.key.toValue()))}values(){return this.content.map((x=>x.value.toValue()))}hasKey(x){return this.content.some((k=>k.key.equals(x)))}items(){return this.content.map((x=>[x.key.toValue(),x.value.toValue()]))}map(x,k){return this.content.map((T=>x.bind(k)(T.value,T.key,T)))}compactMap(x,k){const T=[];return this.forEach(((N,P,M)=>{const U=x.bind(k)(N,P,M);U&&T.push(U)})),T}filter(x,k){return new m(this.content).filter(x,k)}reject(x,k){return this.filter(h(x),k)}forEach(x,k){return this.content.forEach((T=>x.bind(k)(T.value,T.key,T)))}}},61074:E=>{E.exports=function(s){return s.split("")}},61160:(E,C,s)=>{var h=s(92063),b=s(73992),f=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,w=/[\n\r\t]/g,m=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,g=/:\d+$/,x=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,k=/^[a-zA-Z]:/;function T(B){return(B||"").toString().replace(f,"")}var N=[["#","hash"],["?","query"],function(H,Q){return U(Q.protocol)?H.replace(/\\/g,"/"):H},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],P={hash:1,query:1};function M(B){var H,Q=(typeof window!="undefined"?window:s.g!==void 0?s.g:typeof self!="undefined"?self:{}).location||{},ne={},ae=typeof(B=B||Q);if(B.protocol==="blob:")ne=new V(unescape(B.pathname),{});else if(ae==="string")for(H in ne=new V(B,{}),P)delete ne[H];else if(ae==="object"){for(H in B)H in P||(ne[H]=B[H]);ne.slashes===void 0&&(ne.slashes=m.test(B.href))}return ne}function U(B){return B==="file:"||B==="ftp:"||B==="http:"||B==="https:"||B==="ws:"||B==="wss:"}function J(B,H){B=(B=T(B)).replace(w,""),H=H||{};var Q,ne=x.exec(B),ae=ne[1]?ne[1].toLowerCase():"",Ce=!!ne[2],he=!!ne[3],ge=0;return Ce?he?(Q=ne[2]+ne[3]+ne[4],ge=ne[2].length+ne[3].length):(Q=ne[2]+ne[4],ge=ne[2].length):he?(Q=ne[3]+ne[4],ge=ne[3].length):Q=ne[4],ae==="file:"?ge>=2&&(Q=Q.slice(2)):U(ae)?Q=ne[4]:ae?Ce&&(Q=Q.slice(2)):ge>=2&&U(H.protocol)&&(Q=ne[4]),{protocol:ae,slashes:Ce||U(ae),slashesCount:ge,rest:Q}}function V(B,H,Q){if(B=(B=T(B)).replace(w,""),!(this instanceof V))return new V(B,H,Q);var ne,ae,Ce,he,ge,ke,Le=N.slice(),Be=typeof H,$e=this,Ke=0;for(Be!=="object"&&Be!=="string"&&(Q=H,H=null),Q&&typeof Q!="function"&&(Q=b.parse),ne=!(ae=J(B||"",H=M(H))).protocol&&!ae.slashes,$e.slashes=ae.slashes||ne&&H.slashes,$e.protocol=ae.protocol||H.protocol||"",B=ae.rest,(ae.protocol==="file:"&&(ae.slashesCount!==2||k.test(B))||!ae.slashes&&(ae.protocol||ae.slashesCount<2||!U($e.protocol)))&&(Le[3]=[/(.*)/,"pathname"]);Ke<Le.length;Ke++)typeof(he=Le[Ke])!="function"?(Ce=he[0],ke=he[1],Ce!=Ce?$e[ke]=B:typeof Ce=="string"?~(ge=Ce==="@"?B.lastIndexOf(Ce):B.indexOf(Ce))&&(typeof he[2]=="number"?($e[ke]=B.slice(0,ge),B=B.slice(ge+he[2])):($e[ke]=B.slice(ge),B=B.slice(0,ge))):(ge=Ce.exec(B))&&($e[ke]=ge[1],B=B.slice(0,ge.index)),$e[ke]=$e[ke]||ne&&he[3]&&H[ke]||"",he[4]&&($e[ke]=$e[ke].toLowerCase())):B=he(B,$e);Q&&($e.query=Q($e.query)),ne&&H.slashes&&$e.pathname.charAt(0)!=="/"&&($e.pathname!==""||H.pathname!=="")&&($e.pathname=(function(Me,p){if(Me==="")return p;for(var et=(p||"/").split("/").slice(0,-1).concat(Me.split("/")),ze=et.length,xe=et[ze-1],Ne=!1,rt=0;ze--;)et[ze]==="."?et.splice(ze,1):et[ze]===".."?(et.splice(ze,1),rt++):rt&&(ze===0&&(Ne=!0),et.splice(ze,1),rt--);return Ne&&et.unshift(""),xe!=="."&&xe!==".."||et.push(""),et.join("/")})($e.pathname,H.pathname)),$e.pathname.charAt(0)!=="/"&&U($e.protocol)&&($e.pathname="/"+$e.pathname),h($e.port,$e.protocol)||($e.host=$e.hostname,$e.port=""),$e.username=$e.password="",$e.auth&&(~(ge=$e.auth.indexOf(":"))?($e.username=$e.auth.slice(0,ge),$e.username=encodeURIComponent(decodeURIComponent($e.username)),$e.password=$e.auth.slice(ge+1),$e.password=encodeURIComponent(decodeURIComponent($e.password))):$e.username=encodeURIComponent(decodeURIComponent($e.auth)),$e.auth=$e.password?$e.username+":"+$e.password:$e.username),$e.origin=$e.protocol!=="file:"&&U($e.protocol)&&$e.host?$e.protocol+"//"+$e.host:"null",$e.href=$e.toString()}V.prototype={set:function(H,Q,ne){var ae=this;switch(H){case"query":typeof Q=="string"&&Q.length&&(Q=(ne||b.parse)(Q)),ae[H]=Q;break;case"port":ae[H]=Q,h(Q,ae.protocol)?Q&&(ae.host=ae.hostname+":"+Q):(ae.host=ae.hostname,ae[H]="");break;case"hostname":ae[H]=Q,ae.port&&(Q+=":"+ae.port),ae.host=Q;break;case"host":ae[H]=Q,g.test(Q)?(Q=Q.split(":"),ae.port=Q.pop(),ae.hostname=Q.join(":")):(ae.hostname=Q,ae.port="");break;case"protocol":ae.protocol=Q.toLowerCase(),ae.slashes=!ne;break;case"pathname":case"hash":if(Q){var Ce=H==="pathname"?"/":"#";ae[H]=Q.charAt(0)!==Ce?Ce+Q:Q}else ae[H]=Q;break;case"username":case"password":ae[H]=encodeURIComponent(Q);break;case"auth":var he=Q.indexOf(":");~he?(ae.username=Q.slice(0,he),ae.username=encodeURIComponent(decodeURIComponent(ae.username)),ae.password=Q.slice(he+1),ae.password=encodeURIComponent(decodeURIComponent(ae.password))):ae.username=encodeURIComponent(decodeURIComponent(Q))}for(var ge=0;ge<N.length;ge++){var ke=N[ge];ke[4]&&(ae[ke[1]]=ae[ke[1]].toLowerCase())}return ae.auth=ae.password?ae.username+":"+ae.password:ae.username,ae.origin=ae.protocol!=="file:"&&U(ae.protocol)&&ae.host?ae.protocol+"//"+ae.host:"null",ae.href=ae.toString(),ae},toString:function(H){H&&typeof H=="function"||(H=b.stringify);var Q,ne=this,ae=ne.host,Ce=ne.protocol;Ce&&Ce.charAt(Ce.length-1)!==":"&&(Ce+=":");var he=Ce+(ne.protocol&&ne.slashes||U(ne.protocol)?"//":"");return ne.username?(he+=ne.username,ne.password&&(he+=":"+ne.password),he+="@"):ne.password?(he+=":"+ne.password,he+="@"):ne.protocol!=="file:"&&U(ne.protocol)&&!ae&&ne.pathname!=="/"&&(he+="@"),(ae[ae.length-1]===":"||g.test(ne.hostname)&&!ne.port)&&(ae+=":"),he+=ae+ne.pathname,(Q=typeof ne.query=="object"?H(ne.query):ne.query)&&(he+=Q.charAt(0)!=="?"?"?"+Q:Q),ne.hash&&(he+=ne.hash),he}},V.extractProtocol=J,V.location=M,V.trimLeft=T,V.qs=b,E.exports=V},61448:(E,C,s)=>{var h=s(20426),b=s(49326);E.exports=function(w,m){return w!=null&&b(w,m,h)}},61489:(E,C,s)=>{var h=s(17400);E.exports=function(f){var w=h(f),m=w%1;return w==w?m?w-m:w:0}},61626:(E,C,s)=>{var h=s(39447),b=s(74284),f=s(75817);E.exports=h?function(w,m,g){return b.f(w,m,f(1,g))}:function(w,m,g){return w[m]=g,w}},61747:(E,C,s)=>{var h=s(45951),b=s(92046);E.exports=function(f,w){var m=b[f+"Prototype"],g=m&&m[w];if(g)return g;var x=h[f],k=x&&x.prototype;return k&&k[w]}},61802:(E,C,s)=>{var h=s(62224),b=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,f=/\\(\\)?/g,w=h((function(m){var g=[];return m.charCodeAt(0)===46&&g.push(""),m.replace(b,(function(x,k,T,N){g.push(T?N.replace(f,"$1"):k||x)})),g}));E.exports=w},62006:(E,C,s)=>{var h=s(15389),b=s(64894),f=s(95950);E.exports=function(m){return function(g,x,k){var T=Object(g);if(!b(g)){var N=h(x,3);g=f(g),x=function(M){return N(T[M],M,T)}}var P=m(g,x,k);return P>-1?T[N?g[P]:P]:void 0}}},62060:E=>{var C=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;E.exports=function(h,b){var f=b.length;if(!f)return h;var w=f-1;return b[w]=(f>1?"& ":"")+b[w],b=b.join(f>2?", ":" "),h.replace(C,`{
|
||
/* [wrapped with `+b+`] */
|
||
`)}},62193:(E,C,s)=>{var h=s(88984),b=s(5861),f=s(72428),w=s(56449),m=s(64894),g=s(3656),x=s(55527),k=s(37167),T=Object.prototype.hasOwnProperty;E.exports=function(P){if(P==null)return!0;if(m(P)&&(w(P)||typeof P=="string"||typeof P.splice=="function"||g(P)||k(P)||f(P)))return!P.length;var M=b(P);if(M=="[object Map]"||M=="[object Set]")return!P.size;if(x(P))return!h(P).length;for(var U in P)if(T.call(P,U))return!1;return!0}},62224:(E,C,s)=>{var h=s(50104);E.exports=function(f){var w=h(f,(function(g){return m.size===500&&m.clear(),g})),m=w.cache;return w}},62250:E=>{var C=typeof document=="object"&&document.all;E.exports=C===void 0&&C!==void 0?function(s){return typeof s=="function"||s===C}:function(s){return typeof s=="function"}},62284:(E,C,s)=>{var h=s(84629),b=Object.prototype.hasOwnProperty;E.exports=function(w){for(var m=w.name+"",g=h[m],x=b.call(h,m)?g.length:0;x--;){var k=g[x],T=k.func;if(T==null||T==w)return k.name}return m}},62416:(E,C,s)=>{var h=s(85582);E.exports=h("document","documentElement")},62802:(E,C,s)=>{E.exports=function(b){var f=b.toLowerCase(),w=E.exports[f];if(!w)throw new Error(f+" is not supported (we accept pull requests)");return new w},E.exports.sha=s(27816),E.exports.sha1=s(63737),E.exports.sha224=s(26710),E.exports.sha256=s(24107),E.exports.sha384=s(32827),E.exports.sha512=s(82890)},63040:(E,C,s)=>{var h=s(21549),b=s(80079),f=s(68223);E.exports=function(){this.size=0,this.__data__={hash:new h,map:new(f||b),string:new h}}},63345:E=>{E.exports=function(){return[]}},63560:(E,C,s)=>{var h=s(73170);E.exports=function(f,w,m){return f==null?f:h(f,w,m)}},63600:(E,C,s)=>{E.exports=b;var h=s(74610);function b(f){if(!(this instanceof b))return new b(f);h.call(this,f)}s(56698)(b,h),b.prototype._transform=function(f,w,m){m(null,f)}},63605:E=>{E.exports=function(s){return this.__data__.get(s)}},63702:E=>{E.exports=function(){this.__data__=[],this.size=0}},63737:(E,C,s)=>{var h=s(56698),b=s(90392),f=s(92861).Buffer,w=[1518500249,1859775393,-1894007588,-899497514],m=new Array(80);function g(){this.init(),this._w=m,b.call(this,64,56)}function x(N){return N<<5|N>>>27}function k(N){return N<<30|N>>>2}function T(N,P,M,U){return N===0?P&M|~P&U:N===2?P&M|P&U|M&U:P^M^U}h(g,b),g.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},g.prototype._update=function(N){for(var P,M=this._w,U=0|this._a,J=0|this._b,V=0|this._c,B=0|this._d,H=0|this._e,Q=0;Q<16;++Q)M[Q]=N.readInt32BE(4*Q);for(;Q<80;++Q)M[Q]=(P=M[Q-3]^M[Q-8]^M[Q-14]^M[Q-16])<<1|P>>>31;for(var ne=0;ne<80;++ne){var ae=~~(ne/20),Ce=x(U)+T(ae,J,V,B)+H+M[ne]+w[ae]|0;H=B,B=V,V=k(J),J=U,U=Ce}this._a=U+this._a|0,this._b=J+this._b|0,this._c=V+this._c|0,this._d=B+this._d|0,this._e=H+this._e|0},g.prototype._hash=function(){var N=f.allocUnsafe(20);return N.writeInt32BE(0|this._a,0),N.writeInt32BE(0|this._b,4),N.writeInt32BE(0|this._c,8),N.writeInt32BE(0|this._d,12),N.writeInt32BE(0|this._e,16),N},E.exports=g},63862:E=>{E.exports=function(s){var h=this.has(s)&&delete this.__data__[s];return this.size-=h?1:0,h}},63912:(E,C,s)=>{var h=s(61074),b=s(49698),f=s(42054);E.exports=function(m){return b(m)?f(m):h(m)}},63950:E=>{E.exports=function(){}},64039:(E,C,s)=>{var h=typeof Symbol!="undefined"&&Symbol,b=s(41333);E.exports=function(){return typeof h=="function"&&typeof Symbol=="function"&&typeof h("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&b()}},64502:(E,C,s)=>{s(82048)},64626:(E,C,s)=>{var h=s(66977);E.exports=function(f,w,m){return w=m?void 0:w,w=f&&w==null?f.length:w,h(f,128,void 0,void 0,void 0,void 0,w)}},64634:E=>{var C={}.toString;E.exports=Array.isArray||function(s){return C.call(s)=="[object Array]"}},64894:(E,C,s)=>{var h=s(1882),b=s(30294);E.exports=function(w){return w!=null&&b(w.length)&&!h(w)}},64932:(E,C,s)=>{var h,b,f,w=s(40551),m=s(45951),g=s(46285),x=s(61626),k=s(49724),T=s(36128),N=s(92522),P=s(38530),M="Object already initialized",U=m.TypeError,J=m.WeakMap;if(w||T.state){var V=T.state||(T.state=new J);V.get=V.get,V.has=V.has,V.set=V.set,h=function(H,Q){if(V.has(H))throw new U(M);return Q.facade=H,V.set(H,Q),Q},b=function(H){return V.get(H)||{}},f=function(H){return V.has(H)}}else{var B=N("state");P[B]=!0,h=function(H,Q){if(k(H,B))throw new U(M);return Q.facade=H,x(H,B,Q),Q},b=function(H){return k(H,B)?H[B]:{}},f=function(H){return k(H,B)}}E.exports={set:h,get:b,has:f,enforce:function(H){return f(H)?b(H):h(H,{})},getterFor:function(H){return function(Q){var ne;if(!g(Q)||(ne=b(Q)).type!==H)throw new U("Incompatible receiver, "+H+" required");return ne}}}},65291:(E,C,s)=>{var h=s(86048).F.ERR_INVALID_OPT_VALUE;E.exports={getHighWaterMark:function(f,w,m,g){var x=(function(T,N,P){return T.highWaterMark!=null?T.highWaterMark:N?T[P]:null})(w,g,m);if(x!=null){if(!isFinite(x)||Math.floor(x)!==x||x<0)throw new h(g?m:"highWaterMark",x);return Math.floor(x)}return f.objectMode?16:16384}}},65482:(E,C,s)=>{var h=s(41176);E.exports=function(b){var f=+b;return f!=f||f===0?0:h(f)}},65606:E=>{var C,s,h=E.exports={};function b(){throw new Error("setTimeout has not been defined")}function f(){throw new Error("clearTimeout has not been defined")}function w(U){if(C===setTimeout)return setTimeout(U,0);if((C===b||!C)&&setTimeout)return C=setTimeout,setTimeout(U,0);try{return C(U,0)}catch(J){try{return C.call(null,U,0)}catch(V){return C.call(this,U,0)}}}(function(){try{C=typeof setTimeout=="function"?setTimeout:b}catch(U){C=b}try{s=typeof clearTimeout=="function"?clearTimeout:f}catch(U){s=f}})();var m,g=[],x=!1,k=-1;function T(){x&&m&&(x=!1,m.length?g=m.concat(g):k=-1,g.length&&N())}function N(){if(!x){var U=w(T);x=!0;for(var J=g.length;J;){for(m=g,g=[];++k<J;)m&&m[k].run();k=-1,J=g.length}m=null,x=!1,(function(B){if(s===clearTimeout)return clearTimeout(B);if((s===f||!s)&&clearTimeout)return s=clearTimeout,clearTimeout(B);try{return s(B)}catch(H){try{return s.call(null,B)}catch(Q){return s.call(this,B)}}})(U)}}function P(U,J){this.fun=U,this.array=J}function M(){}h.nextTick=function(U){var J=new Array(arguments.length-1);if(arguments.length>1)for(var V=1;V<arguments.length;V++)J[V-1]=arguments[V];g.push(new P(U,J)),g.length!==1||x||w(N)},P.prototype.run=function(){this.fun.apply(null,this.array)},h.title="browser",h.browser=!0,h.env={},h.argv=[],h.version="",h.versions={},h.on=M,h.addListener=M,h.once=M,h.off=M,h.removeListener=M,h.removeAllListeners=M,h.emit=M,h.prependListener=M,h.prependOnceListener=M,h.listeners=function(U){return[]},h.binding=function(U){throw new Error("process.binding is not supported")},h.cwd=function(){return"/"},h.chdir=function(U){throw new Error("process.chdir is not supported")},h.umask=function(){return 0}},65772:E=>{E.exports=function(s){const h={literal:"true false null"},b=[s.C_LINE_COMMENT_MODE,s.C_BLOCK_COMMENT_MODE],f=[s.QUOTE_STRING_MODE,s.C_NUMBER_MODE],w={end:",",endsWithParent:!0,excludeEnd:!0,contains:f,keywords:h},m={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[s.BACKSLASH_ESCAPE],illegal:"\\n"},s.inherit(w,{begin:/:/})].concat(b),illegal:"\\S"},g={begin:"\\[",end:"\\]",contains:[s.inherit(w)],illegal:"\\S"};return f.push(m,g),b.forEach((function(x){f.push(x)})),{name:"JSON",contains:f,keywords:h,illegal:"\\S"}}},66645:(E,C,s)=>{var h=s(1733),b=s(45434),f=s(13222),w=s(22225);E.exports=function(g,x,k){return g=f(g),(x=k?void 0:x)===void 0?b(g)?w(g):h(g):g.match(x)||[]}},66721:(E,C,s)=>{var h=s(81042),b=Object.prototype.hasOwnProperty;E.exports=function(w){var m=this.__data__;if(h){var g=m[w];return g==="__lodash_hash_undefined__"?void 0:g}return b.call(m,w)?m[w]:void 0}},66743:(E,C,s)=>{var h=s(89353);E.exports=Function.prototype.bind||h},66977:(E,C,s)=>{var h=s(68882),b=s(11842),f=s(77078),w=s(37471),m=s(24168),g=s(37381),x=s(3209),k=s(54641),T=s(70981),N=s(61489),P=Math.max;E.exports=function(U,J,V,B,H,Q,ne,ae){var Ce=2&J;if(!Ce&&typeof U!="function")throw new TypeError("Expected a function");var he=B?B.length:0;if(he||(J&=-97,B=H=void 0),ne=ne===void 0?ne:P(N(ne),0),ae=ae===void 0?ae:N(ae),he-=H?H.length:0,64&J){var ge=B,ke=H;B=H=void 0}var Le=Ce?void 0:g(U),Be=[U,J,V,B,H,ge,ke,Q,ne,ae];if(Le&&x(Be,Le),U=Be[0],J=Be[1],V=Be[2],B=Be[3],H=Be[4],!(ae=Be[9]=Be[9]===void 0?Ce?0:U.length:P(Be[9]-he,0))&&24&J&&(J&=-25),J&&J!=1)$e=J==8||J==16?f(U,J,ae):J!=32&&J!=33||H.length?w.apply(void 0,Be):m(U,J,V,B);else var $e=b(U,J,V);return T((Le?h:k)($e,Be),U,J)}},67197:E=>{E.exports=function(s,h){return function(b){return b!=null&&b[s]===h&&(h!==void 0||s in Object(b))}}},67526:(E,C)=>{C.byteLength=function(k){var T=m(k),N=T[0],P=T[1];return 3*(N+P)/4-P},C.toByteArray=function(k){var T,N,P=m(k),M=P[0],U=P[1],J=new b((function(Q,ne,ae){return 3*(ne+ae)/4-ae})(0,M,U)),V=0,B=U>0?M-4:M;for(N=0;N<B;N+=4)T=h[k.charCodeAt(N)]<<18|h[k.charCodeAt(N+1)]<<12|h[k.charCodeAt(N+2)]<<6|h[k.charCodeAt(N+3)],J[V++]=T>>16&255,J[V++]=T>>8&255,J[V++]=255&T;return U===2&&(T=h[k.charCodeAt(N)]<<2|h[k.charCodeAt(N+1)]>>4,J[V++]=255&T),U===1&&(T=h[k.charCodeAt(N)]<<10|h[k.charCodeAt(N+1)]<<4|h[k.charCodeAt(N+2)]>>2,J[V++]=T>>8&255,J[V++]=255&T),J},C.fromByteArray=function(k){for(var T,N=k.length,P=N%3,M=[],U=16383,J=0,V=N-P;J<V;J+=U)M.push(g(k,J,J+U>V?V:J+U));return P===1?(T=k[N-1],M.push(s[T>>2]+s[T<<4&63]+"==")):P===2&&(T=(k[N-2]<<8)+k[N-1],M.push(s[T>>10]+s[T>>4&63]+s[T<<2&63]+"=")),M.join("")};for(var s=[],h=[],b=typeof Uint8Array!="undefined"?Uint8Array:Array,f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",w=0;w<64;++w)s[w]=f[w],h[f.charCodeAt(w)]=w;function m(x){var k=x.length;if(k%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var T=x.indexOf("=");return T===-1&&(T=k),[T,T===k?0:4-T%4]}function g(x,k,T){for(var N,P,M=[],U=k;U<T;U+=3)N=(x[U]<<16&16711680)+(x[U+1]<<8&65280)+(255&x[U+2]),M.push(s[(P=N)>>18&63]+s[P>>12&63]+s[P>>6&63]+s[63&P]);return M.join("")}h[45]=62,h[95]=63},68002:E=>{E.exports=Math.min},68055:(E,C,s)=>{var h=s(61626);E.exports=function(b,f,w,m){return m&&m.enumerable?b[f]=w:h(b,f,w),b}},68090:E=>{E.exports=function(s){var h=s==null?0:s.length;return h?s[h-1]:void 0}},68223:(E,C,s)=>{var h=s(56110)(s(9325),"Map");E.exports=h},68294:(E,C,s)=>{var h=s(23007),b=s(30361),f=Math.min;E.exports=function(m,g){for(var x=m.length,k=f(g.length,x),T=h(m);k--;){var N=g[k];m[k]=b(N,x)?T[N]:void 0}return m}},68623:(E,C,s)=>{var h=s(694);E.exports=h},68882:(E,C,s)=>{var h=s(83488),b=s(48152),f=b?function(w,m){return b.set(w,m),w}:h;E.exports=f},68969:(E,C,s)=>{var h=s(47422),b=s(25160);E.exports=function(w,m){return m.length<2?w:h(w,b(m,0,-1))}},69302:(E,C,s)=>{var h=s(83488),b=s(56757),f=s(32865);E.exports=function(m,g){return f(b(m,g,h),m+"")}},69383:E=>{E.exports=Error},69600:E=>{var C,s,h=Function.prototype.toString,b=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof b=="function"&&typeof Object.defineProperty=="function")try{C=Object.defineProperty({},"length",{get:function(){throw s}}),s={},b((function(){throw 42}),null,C)}catch(P){P!==s&&(b=null)}else b=null;var f=/^\s*class\b/,w=function(M){try{var U=h.call(M);return f.test(U)}catch(J){return!1}},m=function(M){try{return!w(M)&&(h.call(M),!0)}catch(U){return!1}},g=Object.prototype.toString,x=typeof Symbol=="function"&&!!Symbol.toStringTag,k=!(0 in[,]),T=function(){return!1};if(typeof document=="object"){var N=document.all;g.call(N)===g.call(document.all)&&(T=function(M){if((k||!M)&&(M===void 0||typeof M=="object"))try{var U=g.call(M);return(U==="[object HTMLAllCollection]"||U==="[object HTML document.all class]"||U==="[object HTMLCollection]"||U==="[object Object]")&&M("")==null}catch(J){}return!1})}E.exports=b?function(M){if(T(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;try{b(M,null,C)}catch(U){if(U!==s)return!1}return!w(M)&&m(M)}:function(M){if(T(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;if(x)return m(M);if(w(M))return!1;var U=g.call(M);return!(U!=="[object Function]"&&U!=="[object GeneratorFunction]"&&!/^\[object HTML/.test(U))&&m(M)}},69675:E=>{E.exports=TypeError},69884:(E,C,s)=>{var h=s(21791),b=s(37241);E.exports=function(w){return h(w,b(w))}},69982:(E,C,s)=>{E.exports=s(29844)},70080:(E,C,s)=>{var h=s(26025),b=Array.prototype.splice;E.exports=function(w){var m=this.__data__,g=h(m,w);return!(g<0)&&(g==m.length-1?m.pop():b.call(m,g,1),--this.size,!0)}},70414:E=>{E.exports=Math.round},70453:(E,C,s)=>{var h,b=s(79612),f=s(69383),w=s(41237),m=s(79290),g=s(79538),x=s(58068),k=s(69675),T=s(35345),N=s(71514),P=s(58968),M=s(6188),U=s(68002),J=s(75880),V=s(70414),B=s(73093),H=Function,Q=function(tr){try{return H('"use strict"; return ('+tr+").constructor;")()}catch(wt){}},ne=s(75795),ae=s(30655),Ce=function(){throw new k},he=ne?(function(){try{return Ce}catch(tr){try{return ne(arguments,"callee").get}catch(wt){return Ce}}})():Ce,ge=s(64039)(),ke=s(93628),Le=s(71064),Be=s(48648),$e=s(11002),Ke=s(10076),st={},Me=typeof Uint8Array!="undefined"&&ke?ke(Uint8Array):h,p={__proto__:null,"%AggregateError%":typeof AggregateError=="undefined"?h:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?h:ArrayBuffer,"%ArrayIteratorPrototype%":ge&&ke?ke([][Symbol.iterator]()):h,"%AsyncFromSyncIteratorPrototype%":h,"%AsyncFunction%":st,"%AsyncGenerator%":st,"%AsyncGeneratorFunction%":st,"%AsyncIteratorPrototype%":st,"%Atomics%":typeof Atomics=="undefined"?h:Atomics,"%BigInt%":typeof BigInt=="undefined"?h:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?h:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?h:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?h:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":f,"%eval%":eval,"%EvalError%":w,"%Float32Array%":typeof Float32Array=="undefined"?h:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?h:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?h:FinalizationRegistry,"%Function%":H,"%GeneratorFunction%":st,"%Int8Array%":typeof Int8Array=="undefined"?h:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?h:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?h:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ge&&ke?ke(ke([][Symbol.iterator]())):h,"%JSON%":typeof JSON=="object"?JSON:h,"%Map%":typeof Map=="undefined"?h:Map,"%MapIteratorPrototype%":typeof Map!="undefined"&&ge&&ke?ke(new Map()[Symbol.iterator]()):h,"%Math%":Math,"%Number%":Number,"%Object%":b,"%Object.getOwnPropertyDescriptor%":ne,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?h:Promise,"%Proxy%":typeof Proxy=="undefined"?h:Proxy,"%RangeError%":m,"%ReferenceError%":g,"%Reflect%":typeof Reflect=="undefined"?h:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?h:Set,"%SetIteratorPrototype%":typeof Set!="undefined"&&ge&&ke?ke(new Set()[Symbol.iterator]()):h,"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?h:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ge&&ke?ke(""[Symbol.iterator]()):h,"%Symbol%":ge?Symbol:h,"%SyntaxError%":x,"%ThrowTypeError%":he,"%TypedArray%":Me,"%TypeError%":k,"%Uint8Array%":typeof Uint8Array=="undefined"?h:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?h:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?h:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?h:Uint32Array,"%URIError%":T,"%WeakMap%":typeof WeakMap=="undefined"?h:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?h:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?h:WeakSet,"%Function.prototype.call%":Ke,"%Function.prototype.apply%":$e,"%Object.defineProperty%":ae,"%Object.getPrototypeOf%":Le,"%Math.abs%":N,"%Math.floor%":P,"%Math.max%":M,"%Math.min%":U,"%Math.pow%":J,"%Math.round%":V,"%Math.sign%":B,"%Reflect.getPrototypeOf%":Be};if(ke)try{null.error}catch(tr){var et=ke(ke(tr));p["%Error.prototype%"]=et}var ze=function tr(wt){var Nt;if(wt==="%AsyncFunction%")Nt=Q("async function () {}");else if(wt==="%GeneratorFunction%")Nt=Q("function* () {}");else if(wt==="%AsyncGeneratorFunction%")Nt=Q("async function* () {}");else if(wt==="%AsyncGenerator%"){var Jt=tr("%AsyncGeneratorFunction%");Jt&&(Nt=Jt.prototype)}else if(wt==="%AsyncIteratorPrototype%"){var Et=tr("%AsyncGenerator%");Et&&ke&&(Nt=ke(Et.prototype))}return p[wt]=Nt,Nt},xe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ne=s(66743),rt=s(9957),gt=Ne.call(Ke,Array.prototype.concat),it=Ne.call($e,Array.prototype.splice),St=Ne.call(Ke,String.prototype.replace),Y=Ne.call(Ke,String.prototype.slice),ye=Ne.call(Ke,RegExp.prototype.exec),nt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,at=/\\(\\)?/g,Xt=function(wt,Nt){var Jt,Et=wt;if(rt(xe,Et)&&(Et="%"+(Jt=xe[Et])[0]+"%"),rt(p,Et)){var ct=p[Et];if(ct===st&&(ct=ze(Et)),ct===void 0&&!Nt)throw new k("intrinsic "+wt+" exists, but is not available. Please file an issue!");return{alias:Jt,name:Et,value:ct}}throw new x("intrinsic "+wt+" does not exist!")};E.exports=function(wt,Nt){if(typeof wt!="string"||wt.length===0)throw new k("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Nt!="boolean")throw new k('"allowMissing" argument must be a boolean');if(ye(/^%?[^%]*%?$/,wt)===null)throw new x("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Jt=(function(yt){var Ot=Y(yt,0,1),Ir=Y(yt,-1);if(Ot==="%"&&Ir!=="%")throw new x("invalid intrinsic syntax, expected closing `%`");if(Ir==="%"&&Ot!=="%")throw new x("invalid intrinsic syntax, expected opening `%`");var $r=[];return St(yt,nt,(function(hn,Lr,xn,Pa){$r[$r.length]=xn?St(Pa,at,"$1"):Lr||hn})),$r})(wt),Et=Jt.length>0?Jt[0]:"",ct=Xt("%"+Et+"%",Nt),Rt=ct.name,pe=ct.value,z=!1,W=ct.alias;W&&(Et=W[0],it(Jt,gt([0,1],W)));for(var ee=1,de=!0;ee<Jt.length;ee+=1){var we=Jt[ee],Ie=Y(we,0,1),mt=Y(we,-1);if((Ie==='"'||Ie==="'"||Ie==="`"||mt==='"'||mt==="'"||mt==="`")&&Ie!==mt)throw new x("property names with quotes must have matching quotes");if(we!=="constructor"&&de||(z=!0),rt(p,Rt="%"+(Et+="."+we)+"%"))pe=p[Rt];else if(pe!=null){if(!(we in pe)){if(!Nt)throw new k("base intrinsic for "+wt+" exists, but the property is not available.");return}if(ne&&ee+1>=Jt.length){var At=ne(pe,we);pe=(de=!!At)&&"get"in At&&!("originalValue"in At.get)?At.get:pe[we]}else de=rt(pe,we),pe=pe[we];de&&!z&&(p[Rt]=pe)}}return pe}},70470:(E,C,s)=>{var h=s(46028),b=s(25594);E.exports=function(f){var w=h(f,"string");return b(w)?w:w+""}},70695:(E,C,s)=>{var h=s(78096),b=s(72428),f=s(56449),w=s(3656),m=s(30361),g=s(37167),x=Object.prototype.hasOwnProperty;E.exports=function(T,N){var P=f(T),M=!P&&b(T),U=!P&&!M&&w(T),J=!P&&!M&&!U&&g(T),V=P||M||U||J,B=V?h(T.length,String):[],H=B.length;for(var Q in T)!N&&!x.call(T,Q)||V&&(Q=="length"||U&&(Q=="offset"||Q=="parent")||J&&(Q=="buffer"||Q=="byteLength"||Q=="byteOffset")||m(Q,H))||B.push(Q);return B}},70981:(E,C,s)=>{var h=s(75251),b=s(62060),f=s(32865),w=s(75948);E.exports=function(g,x,k){var T=x+"";return f(g,b(T,w(h(T),k)))}},71064:(E,C,s)=>{var h=s(79612);E.exports=h.getPrototypeOf||null},71167:(E,C,s)=>{const h=s(10316);E.exports=class extends h{constructor(f,w,m){super(f,w,m),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},71340:(E,C,s)=>{var h=s(11091),b=s(29538);h({target:"Object",stat:!0,arity:2,forced:Object.assign!==b},{assign:b})},71514:E=>{E.exports=Math.abs},71961:(E,C,s)=>{var h=s(49653);E.exports=function(f,w){var m=w?h(f.buffer):f.buffer;return new f.constructor(m,f.byteOffset,f.length)}},72428:(E,C,s)=>{var h=s(27534),b=s(40346),f=Object.prototype,w=f.hasOwnProperty,m=f.propertyIsEnumerable,g=h((function(){return arguments})())?h:function(x){return b(x)&&w.call(x,"callee")&&!m.call(x,"callee")};E.exports=g},72552:(E,C,s)=>{var h=s(51873),b=s(659),f=s(59350),w=h?h.toStringTag:void 0;E.exports=function(g){return g==null?g===void 0?"[object Undefined]":"[object Null]":w&&w in Object(g)?b(g):f(g)}},72903:(E,C,s)=>{var h=s(23805),b=s(55527),f=s(90181),w=Object.prototype.hasOwnProperty;E.exports=function(g){if(!h(g))return f(g);var x=b(g),k=[];for(var T in g)(T!="constructor"||!x&&w.call(g,T))&&k.push(T);return k}},72949:(E,C,s)=>{var h=s(12651);E.exports=function(f,w){var m=h(this,f),g=m.size;return m.set(f,w),this.size+=m.size==g?0:1,this}},73093:(E,C,s)=>{var h=s(94459);E.exports=function(f){return h(f)||f===0?f:f<0?-1:1}},73126:(E,C,s)=>{var h=s(66743),b=s(69675),f=s(10076),w=s(13144);E.exports=function(g){if(g.length<1||typeof g[0]!="function")throw new b("a function is required");return w(h,f,g)}},73170:(E,C,s)=>{var h=s(16547),b=s(31769),f=s(30361),w=s(23805),m=s(77797);E.exports=function(x,k,T,N){if(!w(x))return x;for(var P=-1,M=(k=b(k,x)).length,U=M-1,J=x;J!=null&&++P<M;){var V=m(k[P]),B=T;if(V==="__proto__"||V==="constructor"||V==="prototype")return x;if(P!=U){var H=J[V];(B=N?N(H,V,J):void 0)===void 0&&(B=w(H)?H:f(k[P+1])?[]:{})}h(J,V,B),J=J[V]}return x}},73201:E=>{var C=/\w*$/;E.exports=function(h){var b=new h.constructor(h.source,C.exec(h));return b.lastIndex=h.lastIndex,b}},73402:E=>{function C(...s){return s.map((h=>(function(f){return f?typeof f=="string"?f:f.source:null})(h))).join("")}E.exports=function(h){const b="HTTP/(2|1\\.[01])",f={className:"attribute",begin:C("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},w=[f,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+b+" \\d{3})",end:/$/,contains:[{className:"meta",begin:b},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:w}},{begin:"(?=^[A-Z]+ (.*?) "+b+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:b},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:w}},h.inherit(f,{relevance:0})]}}},73424:(E,C,s)=>{var h=s(16962),b=s(2874),f=Array.prototype.push;function w(x,k){return k==2?function(T,N){return x(T,N)}:function(T){return x(T)}}function m(x){for(var k=x?x.length:0,T=Array(k);k--;)T[k]=x[k];return T}function g(x,k){return function(){var T=arguments.length;if(T){for(var N=Array(T);T--;)N[T]=arguments[T];var P=N[0]=k.apply(void 0,N);return x.apply(void 0,N),P}}}E.exports=function x(k,T,N,P){var M=typeof T=="function",U=T===Object(T);if(U&&(P=N,N=T,T=void 0),N==null)throw new TypeError;P||(P={});var J=!("cap"in P)||P.cap,V=!("curry"in P)||P.curry,B=!("fixed"in P)||P.fixed,H=!("immutable"in P)||P.immutable,Q=!("rearg"in P)||P.rearg,ne=M?N:b,ae="curry"in P&&P.curry,Ce="fixed"in P&&P.fixed,he="rearg"in P&&P.rearg,ge=M?N.runInContext():void 0,ke=M?N:{ary:k.ary,assign:k.assign,clone:k.clone,curry:k.curry,forEach:k.forEach,isArray:k.isArray,isError:k.isError,isFunction:k.isFunction,isWeakMap:k.isWeakMap,iteratee:k.iteratee,keys:k.keys,rearg:k.rearg,toInteger:k.toInteger,toPath:k.toPath},Le=ke.ary,Be=ke.assign,$e=ke.clone,Ke=ke.curry,st=ke.forEach,Me=ke.isArray,p=ke.isError,et=ke.isFunction,ze=ke.isWeakMap,xe=ke.keys,Ne=ke.rearg,rt=ke.toInteger,gt=ke.toPath,it=xe(h.aryMethod),St={castArray:function(Et){return function(){var ct=arguments[0];return Me(ct)?Et(m(ct)):Et.apply(void 0,arguments)}},iteratee:function(Et){return function(){var ct=arguments[1],Rt=Et(arguments[0],ct),pe=Rt.length;return J&&typeof ct=="number"?(ct=ct>2?ct-2:1,pe&&pe<=ct?Rt:w(Rt,ct)):Rt}},mixin:function(Et){return function(ct){var Rt=this;if(!et(Rt))return Et(Rt,Object(ct));var pe=[];return st(xe(ct),(function(z){et(ct[z])&&pe.push([z,Rt.prototype[z]])})),Et(Rt,Object(ct)),st(pe,(function(z){var W=z[1];et(W)?Rt.prototype[z[0]]=W:delete Rt.prototype[z[0]]})),Rt}},nthArg:function(Et){return function(ct){var Rt=ct<0?1:rt(ct)+1;return Ke(Et(ct),Rt)}},rearg:function(Et){return function(ct,Rt){var pe=Rt?Rt.length:0;return Ke(Et(ct,Rt),pe)}},runInContext:function(Et){return function(ct){return x(k,Et(ct),P)}}};function Y(Et,ct){if(J){var Rt=h.iterateeRearg[Et];if(Rt)return(function(W,ee){return tr(W,(function(de){var we=ee.length;return(function(mt,At){return At==2?function(lt,yt){return mt.apply(void 0,arguments)}:function(lt){return mt.apply(void 0,arguments)}})(Ne(w(de,we),ee),we)}))})(ct,Rt);var pe=!M&&h.iterateeAry[Et];if(pe)return(function(W,ee){return tr(W,(function(de){return typeof de=="function"?w(de,ee):de}))})(ct,pe)}return ct}function ye(Et,ct,Rt){if(B&&(Ce||!h.skipFixed[Et])){var pe=h.methodSpread[Et],z=pe&&pe.start;return z===void 0?Le(ct,Rt):(function(ee,de){return function(){for(var we=arguments.length,Ie=we-1,mt=Array(we);we--;)mt[we]=arguments[we];var At=mt[de],lt=mt.slice(0,de);return At&&f.apply(lt,At),de!=Ie&&f.apply(lt,mt.slice(de+1)),ee.apply(this,lt)}})(ct,z)}return ct}function nt(Et,ct,Rt){return Q&&Rt>1&&(he||!h.skipRearg[Et])?Ne(ct,h.methodRearg[Et]||h.aryRearg[Rt]):ct}function at(Et,ct){for(var Rt=-1,pe=(ct=gt(ct)).length,z=pe-1,W=$e(Object(Et)),ee=W;ee!=null&&++Rt<pe;){var de=ct[Rt],we=ee[de];we==null||et(we)||p(we)||ze(we)||(ee[de]=$e(Rt==z?we:Object(we))),ee=ee[de]}return W}function Xt(Et,ct){var Rt=h.aliasToReal[Et]||Et,pe=h.remap[Rt]||Rt,z=P;return function(W){var ee=M?ge:ke,de=M?ge[pe]:ct,we=Be(Be({},z),W);return x(ee,Rt,de,we)}}function tr(Et,ct){return function(){var Rt=arguments.length;if(!Rt)return Et();for(var pe=Array(Rt);Rt--;)pe[Rt]=arguments[Rt];var z=Q?0:Rt-1;return pe[z]=ct(pe[z]),Et.apply(void 0,pe)}}function wt(Et,ct,Rt){var pe,z=h.aliasToReal[Et]||Et,W=ct,ee=St[z];return ee?W=ee(ct):H&&(h.mutate.array[z]?W=g(ct,m):h.mutate.object[z]?W=g(ct,(function(we){return function(Ie){return we({},Ie)}})(ct)):h.mutate.set[z]&&(W=g(ct,at))),st(it,(function(de){return st(h.aryMethod[de],(function(we){if(z==we){var Ie=h.methodSpread[z],mt=Ie&&Ie.afterRearg;return pe=mt?ye(z,nt(z,W,de),de):nt(z,ye(z,W,de),de),pe=(function(lt,yt,Ot){return ae||V&&Ot>1?Ke(yt,Ot):yt})(0,pe=Y(z,pe),de),!1}})),!pe})),pe||(pe=W),pe==ct&&(pe=ae?Ke(pe,1):function(){return ct.apply(this,arguments)}),pe.convert=Xt(z,ct),pe.placeholder=ct.placeholder=Rt,pe}if(!U)return wt(T,N,ne);var Nt=N,Jt=[];return st(it,(function(Et){st(h.aryMethod[Et],(function(ct){var Rt=Nt[h.remap[ct]||ct];Rt&&Jt.push([ct,wt(ct,Rt,Nt)])}))})),st(xe(Nt),(function(Et){var ct=Nt[Et];if(typeof ct=="function"){for(var Rt=Jt.length;Rt--;)if(Jt[Rt][0]==Et)return;ct.convert=Xt(Et,ct),Jt.push([Et,ct])}})),st(Jt,(function(Et){Nt[Et[0]]=Et[1]})),Nt.convert=function(ct){return Nt.runInContext.convert(ct)(void 0)},Nt.placeholder=Nt,st(xe(Nt),(function(Et){st(h.realToAlias[Et]||[],(function(ct){Nt[ct]=Nt[Et]}))})),Nt}},73448:(E,C,s)=>{var h=s(73948),b=s(29367),f=s(87136),w=s(93742),m=s(76264)("iterator");E.exports=function(g){if(!f(g))return b(g,m)||b(g,"@@iterator")||w[h(g)]}},73648:(E,C,s)=>{var h=s(39447),b=s(98828),f=s(49552);E.exports=!h&&!b((function(){return Object.defineProperty(f("div"),"a",{get:function(){return 7}}).a!==7}))},73948:(E,C,s)=>{var h=s(52623),b=s(62250),f=s(45807),w=s(76264)("toStringTag"),m=Object,g=f((function(){return arguments})())==="Arguments";E.exports=h?f:function(x){var k,T,N;return x===void 0?"Undefined":x===null?"Null":typeof(T=(function(P,M){try{return P[M]}catch(U){}})(k=m(x),w))=="string"?T:g?f(k):(N=f(k))==="Object"&&b(k.callee)?"Arguments":N}},73992:(E,C)=>{var s=Object.prototype.hasOwnProperty;function h(f){try{return decodeURIComponent(f.replace(/\+/g," "))}catch(w){return null}}function b(f){try{return encodeURIComponent(f)}catch(w){return null}}C.stringify=function(w,m){m=m||"";var g,x,k=[];for(x in typeof m!="string"&&(m="?"),w)if(s.call(w,x)){if((g=w[x])||g!=null&&!isNaN(g)||(g=""),x=b(x),g=b(g),x===null||g===null)continue;k.push(x+"="+g)}return k.length?m+k.join("&"):""},C.parse=function(w){for(var m,g=/([^=?#&]+)=?([^&]*)/g,x={};m=g.exec(w);){var k=h(m[1]),T=h(m[2]);k===null||T===null||k in x||(x[k]=T)}return x}},74218:E=>{E.exports=function(s){var h=typeof s;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?s!=="__proto__":s===null}},74239:(E,C,s)=>{var h=s(87136),b=TypeError;E.exports=function(f){if(h(f))throw new b("Can't call method on "+f);return f}},74284:(E,C,s)=>{var h=s(39447),b=s(73648),f=s(58661),w=s(36624),m=s(70470),g=TypeError,x=Object.defineProperty,k=Object.getOwnPropertyDescriptor,T="enumerable",N="configurable",P="writable";C.f=h?f?function(U,J,V){if(w(U),J=m(J),w(V),typeof U=="function"&&J==="prototype"&&"value"in V&&P in V&&!V[P]){var B=k(U,J);B&&B[P]&&(U[J]=V.value,V={configurable:N in V?V[N]:B[N],enumerable:T in V?V[T]:B[T],writable:!1})}return x(U,J,V)}:x:function(U,J,V){if(w(U),J=m(J),w(V),b)try{return x(U,J,V)}catch(B){}if("get"in V||"set"in V)throw new g("Accessors not supported");return"value"in V&&(U[J]=V.value),U}},74335:E=>{E.exports=function(s,h){return function(b){return s(h(b))}}},74372:(E,C,s)=>{var h=s(69675),b=s(36556)("TypedArray.prototype.buffer",!0),f=s(35680);E.exports=b||function(m){if(!f(m))throw new h("Not a Typed Array");return m.buffer}},74436:(E,C,s)=>{var h=s(4993),b=s(34849),f=s(20575),w=function(m){return function(g,x,k){var T=h(g),N=f(T);if(N===0)return!m&&-1;var P,M=b(k,N);if(m&&x!=x){for(;N>M;)if((P=T[M++])!=P)return!0}else for(;N>M;M++)if((m||M in T)&&T[M]===x)return m||M||0;return!m&&-1}};E.exports={includes:w(!0),indexOf:w(!1)}},74610:(E,C,s)=>{E.exports=k;var h=s(86048).F,b=h.ERR_METHOD_NOT_IMPLEMENTED,f=h.ERR_MULTIPLE_CALLBACK,w=h.ERR_TRANSFORM_ALREADY_TRANSFORMING,m=h.ERR_TRANSFORM_WITH_LENGTH_0,g=s(25382);function x(P,M){var U=this._transformState;U.transforming=!1;var J=U.writecb;if(J===null)return this.emit("error",new f);U.writechunk=null,U.writecb=null,M!=null&&this.push(M),J(P);var V=this._readableState;V.reading=!1,(V.needReadable||V.length<V.highWaterMark)&&this._read(V.highWaterMark)}function k(P){if(!(this instanceof k))return new k(P);g.call(this,P),this._transformState={afterTransform:x.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,P&&(typeof P.transform=="function"&&(this._transform=P.transform),typeof P.flush=="function"&&(this._flush=P.flush)),this.on("prefinish",T)}function T(){var P=this;typeof this._flush!="function"||this._readableState.destroyed?N(this,null,null):this._flush((function(M,U){N(P,M,U)}))}function N(P,M,U){if(M)return P.emit("error",M);if(U!=null&&P.push(U),P._writableState.length)throw new m;if(P._transformState.transforming)throw new w;return P.push(null)}s(56698)(k,g),k.prototype.push=function(P,M){return this._transformState.needTransform=!1,g.prototype.push.call(this,P,M)},k.prototype._transform=function(P,M,U){U(new b("_transform()"))},k.prototype._write=function(P,M,U){var J=this._transformState;if(J.writecb=U,J.writechunk=P,J.writeencoding=M,!J.transforming){var V=this._readableState;(J.needTransform||V.needReadable||V.length<V.highWaterMark)&&this._read(V.highWaterMark)}},k.prototype._read=function(P){var M=this._transformState;M.writechunk===null||M.transforming?M.needTransform=!0:(M.transforming=!0,this._transform(M.writechunk,M.writeencoding,M.afterTransform))},k.prototype._destroy=function(P,M){g.prototype._destroy.call(this,P,(function(U){M(U)}))}},74733:(E,C,s)=>{var h=s(21791),b=s(95950);E.exports=function(w,m){return w&&h(m,b(m),w)}},75147:(E,C,s)=>{const h=s(85105);E.exports=class extends h{serialise(f){if(!(f instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${f}\` is not an Element instance`);let w;f._attributes&&f.attributes.get("variable")&&(w=f.attributes.get("variable"));const m={element:f.element};f._meta&&f._meta.length>0&&(m.meta=this.serialiseObject(f.meta));const g=f.element==="enum"||f.attributes.keys().indexOf("enumerations")!==-1;if(g){const x=this.enumSerialiseAttributes(f);x&&(m.attributes=x)}else if(f._attributes&&f._attributes.length>0){let{attributes:x}=f;x.get("metadata")&&(x=x.clone(),x.set("meta",x.get("metadata")),x.remove("metadata")),f.element==="member"&&w&&(x=x.clone(),x.remove("variable")),x.length>0&&(m.attributes=this.serialiseObject(x))}if(g)m.content=this.enumSerialiseContent(f,m);else if(this[`${f.element}SerialiseContent`])m.content=this[`${f.element}SerialiseContent`](f,m);else if(f.content!==void 0){let x;w&&f.content.key?(x=f.content.clone(),x.key.attributes.set("variable",w),x=this.serialiseContent(x)):x=this.serialiseContent(f.content),this.shouldSerialiseContent(f,x)&&(m.content=x)}else this.shouldSerialiseContent(f,f.content)&&f instanceof this.namespace.elements.Array&&(m.content=[]);return m}shouldSerialiseContent(f,w){return f.element==="parseResult"||f.element==="httpRequest"||f.element==="httpResponse"||f.element==="category"||f.element==="link"||w!==void 0&&(!Array.isArray(w)||w.length!==0)}refSerialiseContent(f,w){return delete w.attributes,{href:f.toValue(),path:f.path.toValue()}}sourceMapSerialiseContent(f){return f.toValue()}dataStructureSerialiseContent(f){return[this.serialiseContent(f.content)]}enumSerialiseAttributes(f){const w=f.attributes.clone(),m=w.remove("enumerations")||new this.namespace.elements.Array([]),g=w.get("default");let x=w.get("samples")||new this.namespace.elements.Array([]);if(g&&g.content&&(g.content.attributes&&g.content.attributes.remove("typeAttributes"),w.set("default",new this.namespace.elements.Array([g.content]))),x.forEach((k=>{k.content&&k.content.element&&k.content.attributes.remove("typeAttributes")})),f.content&&m.length!==0&&x.unshift(f.content),x=x.map((k=>k instanceof this.namespace.elements.Array?[k]:new this.namespace.elements.Array([k.content]))),x.length&&w.set("samples",x),w.length>0)return this.serialiseObject(w)}enumSerialiseContent(f){if(f._attributes){const w=f.attributes.get("enumerations");if(w&&w.length>0)return w.content.map((m=>{const g=m.clone();return g.attributes.remove("typeAttributes"),this.serialise(g)}))}if(f.content){const w=f.content.clone();return w.attributes.remove("typeAttributes"),[this.serialise(w)]}return[]}deserialise(f){if(typeof f=="string")return new this.namespace.elements.String(f);if(typeof f=="number")return new this.namespace.elements.Number(f);if(typeof f=="boolean")return new this.namespace.elements.Boolean(f);if(f===null)return new this.namespace.elements.Null;if(Array.isArray(f))return new this.namespace.elements.Array(f.map(this.deserialise,this));const w=this.namespace.getElementClass(f.element),m=new w;m.element!==f.element&&(m.element=f.element),f.meta&&this.deserialiseObject(f.meta,m.meta),f.attributes&&this.deserialiseObject(f.attributes,m.attributes);const g=this.deserialiseContent(f.content);if(g===void 0&&m.content!==null||(m.content=g),m.element==="enum"){m.content&&m.attributes.set("enumerations",m.content);let x=m.attributes.get("samples");if(m.attributes.remove("samples"),x){const T=x;x=new this.namespace.elements.Array,T.forEach((P=>{P.forEach((M=>{const U=new w(M);U.element=m.element,x.push(U)}))}));const N=x.shift();m.content=N?N.content:void 0,m.attributes.set("samples",x)}else m.content=void 0;let k=m.attributes.get("default");if(k&&k.length>0){k=k.get(0);const T=new w(k);T.element=m.element,m.attributes.set("default",T)}}else if(m.element==="dataStructure"&&Array.isArray(m.content))[m.content]=m.content;else if(m.element==="category"){const x=m.attributes.get("meta");x&&(m.attributes.set("metadata",x),m.attributes.remove("meta"))}else m.element==="member"&&m.key&&m.key._attributes&&m.key._attributes.getValue("variable")&&(m.attributes.set("variable",m.key.attributes.get("variable")),m.key.attributes.remove("variable"));return m}serialiseContent(f){if(f instanceof this.namespace.elements.Element)return this.serialise(f);if(f instanceof this.namespace.KeyValuePair){const w={key:this.serialise(f.key)};return f.value&&(w.value=this.serialise(f.value)),w}return f&&f.map?f.map(this.serialise,this):f}deserialiseContent(f){if(f){if(f.element)return this.deserialise(f);if(f.key){const w=new this.namespace.KeyValuePair(this.deserialise(f.key));return f.value&&(w.value=this.deserialise(f.value)),w}if(f.map)return f.map(this.deserialise,this)}return f}shouldRefract(f){return!!(f._attributes&&f.attributes.keys().length||f._meta&&f.meta.keys().length)||f.element!=="enum"&&(f.element!==f.primitive()||f.element==="member")}convertKeyToRefract(f,w){return this.shouldRefract(w)?this.serialise(w):w.element==="enum"?this.serialiseEnum(w):w.element==="array"?w.map((m=>this.shouldRefract(m)||f==="default"?this.serialise(m):m.element==="array"||m.element==="object"||m.element==="enum"?m.children.map((g=>this.serialise(g))):m.toValue())):w.element==="object"?(w.content||[]).map(this.serialise,this):w.toValue()}serialiseEnum(f){return f.children.map((w=>this.serialise(w)))}serialiseObject(f){const w={};return f.forEach(((m,g)=>{if(m){const x=g.toValue();w[x]=this.convertKeyToRefract(x,m)}})),w}deserialiseObject(f,w){Object.keys(f).forEach((m=>{w.set(m,this.deserialise(f[m]))}))}}},75208:E=>{var C,s="";E.exports=function(b,f){if(typeof b!="string")throw new TypeError("expected a string");if(f===1)return b;if(f===2)return b+b;var w=b.length*f;if(C!==b||C===void 0)C=b,s="";else if(s.length>=w)return s.substr(0,w);for(;w>s.length&&f>1;)1&f&&(s+=b),f>>=1,b+=b;return s=(s+=b).substr(0,w)}},75251:E=>{var C=/\{\n\/\* \[wrapped with (.+)\] \*/,s=/,? & /;E.exports=function(b){var f=b.match(C);return f?f[1].split(s):[]}},75288:E=>{E.exports=function(s,h){return s===h||s!=s&&h!=h}},75795:(E,C,s)=>{var h=s(6549);if(h)try{h([],"length")}catch(b){h=null}E.exports=h},75817:E=>{E.exports=function(C,s){return{enumerable:!(1&C),configurable:!(2&C),writable:!(4&C),value:s}}},75880:E=>{E.exports=Math.pow},75896:(E,C,s)=>{var h=s(65606);function b(m,g){w(m,g),f(m)}function f(m){m._writableState&&!m._writableState.emitClose||m._readableState&&!m._readableState.emitClose||m.emit("close")}function w(m,g){m.emit("error",g)}E.exports={destroy:function(g,x){var k=this,T=this._readableState&&this._readableState.destroyed,N=this._writableState&&this._writableState.destroyed;return T||N?(x?x(g):g&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,h.nextTick(w,this,g)):h.nextTick(w,this,g)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(g||null,(function(P){!x&&P?k._writableState?k._writableState.errorEmitted?h.nextTick(f,k):(k._writableState.errorEmitted=!0,h.nextTick(b,k,P)):h.nextTick(b,k,P):x?(h.nextTick(f,k),x(P)):h.nextTick(f,k)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(g,x){var k=g._readableState,T=g._writableState;k&&k.autoDestroy||T&&T.autoDestroy?g.destroy(x):g.emit("error",x)}}},75948:(E,C,s)=>{var h=s(83729),b=s(15325),f=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];E.exports=function(m,g){return h(f,(function(x){var k="_."+x[0];g&x[1]&&!b(m,k)&&m.push(k)})),m.sort()}},76024:(E,C,s)=>{var h=s(41505),b=Function.prototype,f=b.apply,w=b.call;E.exports=typeof Reflect=="object"&&Reflect.apply||(h?w.bind(f):function(){return w.apply(f,arguments)})},76169:(E,C,s)=>{var h=s(49653);E.exports=function(f,w){var m=w?h(f.buffer):f.buffer;return new f.constructor(m,f.byteOffset,f.byteLength)}},76189:E=>{var C=Object.prototype.hasOwnProperty;E.exports=function(h){var b=h.length,f=new h.constructor(b);return b&&typeof h[0]=="string"&&C.call(h,"index")&&(f.index=h.index,f.input=h.input),f}},76264:(E,C,s)=>{var h=s(45951),b=s(85816),f=s(49724),w=s(6499),m=s(19846),g=s(51175),x=h.Symbol,k=b("wks"),T=g?x.for||x:x&&x.withoutSetter||w;E.exports=function(N){return f(k,N)||(k[N]=m&&f(x,N)?x[N]:T("Symbol."+N)),k[N]}},76545:(E,C,s)=>{var h=s(56110)(s(9325),"Set");E.exports=h},76578:E=>{E.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},76959:E=>{E.exports=function(s,h,b){for(var f=b-1,w=s.length;++f<w;)if(s[f]===h)return f;return-1}},77078:(E,C,s)=>{var h=s(91033),b=s(82819),f=s(37471),w=s(18073),m=s(11287),g=s(36306),x=s(9325);E.exports=function(T,N,P){var M=b(T);return function U(){for(var J=arguments.length,V=Array(J),B=J,H=m(U);B--;)V[B]=arguments[B];var Q=J<3&&V[0]!==H&&V[J-1]!==H?[]:g(V,H);return(J-=Q.length)<P?w(T,N,f,U.placeholder,void 0,V,Q,void 0,void 0,P-J):h(this&&this!==x&&this instanceof U?M:T,this,V)}}},77199:(E,C,s)=>{var h=s(49653),b=s(76169),f=s(73201),w=s(93736),m=s(71961);E.exports=function(x,k,T){var N=x.constructor;switch(k){case"[object ArrayBuffer]":return h(x);case"[object Boolean]":case"[object Date]":return new N(+x);case"[object DataView]":return b(x,T);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return m(x,T);case"[object Map]":case"[object Set]":return new N;case"[object Number]":case"[object String]":return new N(x);case"[object RegExp]":return f(x);case"[object Symbol]":return w(x)}}},77556:(E,C,s)=>{var h=s(51873),b=s(34932),f=s(56449),w=s(44394),m=h?h.prototype:void 0,g=m?m.toString:void 0;E.exports=function x(k){if(typeof k=="string")return k;if(f(k))return b(k,x)+"";if(w(k))return g?g.call(k):"";var T=k+"";return T=="0"&&1/k==-1/0?"-0":T}},77731:(E,C,s)=>{var h=s(79920)("set",s(63560));h.placeholder=s(2874),E.exports=h},77797:(E,C,s)=>{var h=s(44394);E.exports=function(f){if(typeof f=="string"||h(f))return f;var w=f+"";return w=="0"&&1/f==-1/0?"-0":w}},78004:E=>{class C{constructor(b,f){this.low=b,this.high=f,this.length=1+f-b}overlaps(b){return!(this.high<b.low||this.low>b.high)}touches(b){return!(this.high+1<b.low||this.low-1>b.high)}add(b){return new C(Math.min(this.low,b.low),Math.max(this.high,b.high))}subtract(b){return b.low<=this.low&&b.high>=this.high?[]:b.low>this.low&&b.high<this.high?[new C(this.low,b.low-1),new C(b.high+1,this.high)]:b.low<=this.low?[new C(b.high+1,this.high)]:[new C(this.low,b.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class s{constructor(b,f){this.ranges=[],this.length=0,b!=null&&this.add(b,f)}_update_length(){this.length=this.ranges.reduce(((b,f)=>b+f.length),0)}add(b,f){var w=m=>{for(var g=0;g<this.ranges.length&&!m.touches(this.ranges[g]);)g++;for(var x=this.ranges.slice(0,g);g<this.ranges.length&&m.touches(this.ranges[g]);)m=m.add(this.ranges[g]),g++;x.push(m),this.ranges=x.concat(this.ranges.slice(g)),this._update_length()};return b instanceof s?b.ranges.forEach(w):(f==null&&(f=b),w(new C(b,f))),this}subtract(b,f){var w=m=>{for(var g=0;g<this.ranges.length&&!m.overlaps(this.ranges[g]);)g++;for(var x=this.ranges.slice(0,g);g<this.ranges.length&&m.overlaps(this.ranges[g]);)x=x.concat(this.ranges[g].subtract(m)),g++;this.ranges=x.concat(this.ranges.slice(g)),this._update_length()};return b instanceof s?b.ranges.forEach(w):(f==null&&(f=b),w(new C(b,f))),this}intersect(b,f){var w=[],m=g=>{for(var x=0;x<this.ranges.length&&!g.overlaps(this.ranges[x]);)x++;for(;x<this.ranges.length&&g.overlaps(this.ranges[x]);){var k=Math.max(this.ranges[x].low,g.low),T=Math.min(this.ranges[x].high,g.high);w.push(new C(k,T)),x++}};return b instanceof s?b.ranges.forEach(m):(f==null&&(f=b),m(new C(b,f))),this.ranges=w,this._update_length(),this}index(b){for(var f=0;f<this.ranges.length&&this.ranges[f].length<=b;)b-=this.ranges[f].length,f++;return this.ranges[f].low+b}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new s(this)}numbers(){return this.ranges.reduce(((b,f)=>{for(var w=f.low;w<=f.high;)b.push(w),w++;return b}),[])}subranges(){return this.ranges.map((b=>({low:b.low,high:b.high,length:1+b.high-b.low})))}}E.exports=s},78096:E=>{E.exports=function(s,h){for(var b=-1,f=Array(s);++b<s;)f[b]=h(b);return f}},78418:(E,C,s)=>{s(85160)},79192:(E,C,s)=>{var h=s(51871),b=s(46285),f=s(74239),w=s(10043);E.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var m,g=!1,x={};try{(m=h(Object.prototype,"__proto__","set"))(x,[]),g=x instanceof Array}catch(k){}return function(T,N){return f(T),w(N),b(T)&&(g?m(T,N):T.__proto__=N),T}})():void 0)},79290:E=>{E.exports=RangeError},79307:(E,C,s)=>{var h=s(11091),b=s(44673);h({target:"Function",proto:!0,forced:Function.bind!==b},{bind:b})},79538:E=>{E.exports=ReferenceError},79612:E=>{E.exports=Object},79770:E=>{E.exports=function(s,h){for(var b=-1,f=s==null?0:s.length,w=0,m=[];++b<f;){var g=s[b];h(g,b,s)&&(m[w++]=g)}return m}},79838:()=>{},79920:(E,C,s)=>{var h=s(73424),b=s(47934);E.exports=function(w,m,g){return h(b,w,m,g)}},80079:(E,C,s)=>{var h=s(63702),b=s(70080),f=s(24739),w=s(48655),m=s(31175);function g(x){var k=-1,T=x==null?0:x.length;for(this.clear();++k<T;){var N=x[k];this.set(N[0],N[1])}}g.prototype.clear=h,g.prototype.delete=b,g.prototype.get=f,g.prototype.has=w,g.prototype.set=m,E.exports=g},80218:(E,C,s)=>{var h=s(13222);E.exports=function(f){return h(f).toLowerCase()}},80257:(E,C,s)=>{var h=s(30980),b=s(56017),f=s(23007);E.exports=function(m){if(m instanceof h)return m.clone();var g=new b(m.__wrapped__,m.__chain__);return g.__actions__=f(m.__actions__),g.__index__=m.__index__,g.__values__=m.__values__,g}},80345:(E,C,s)=>{function h(T,N){var P=Object.keys(T);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(T);N&&(M=M.filter((function(U){return Object.getOwnPropertyDescriptor(T,U).enumerable}))),P.push.apply(P,M)}return P}function b(T){for(var N=1;N<arguments.length;N++){var P=arguments[N]!=null?arguments[N]:{};N%2?h(Object(P),!0).forEach((function(M){f(T,M,P[M])})):Object.getOwnPropertyDescriptors?Object.defineProperties(T,Object.getOwnPropertyDescriptors(P)):h(Object(P)).forEach((function(M){Object.defineProperty(T,M,Object.getOwnPropertyDescriptor(P,M))}))}return T}function f(T,N,P){return(N=m(N))in T?Object.defineProperty(T,N,{value:P,enumerable:!0,configurable:!0,writable:!0}):T[N]=P,T}function w(T,N){for(var P=0;P<N.length;P++){var M=N[P];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(T,m(M.key),M)}}function m(T){var N=(function(M,U){if(typeof M!="object"||M===null)return M;var J=M[Symbol.toPrimitive];if(J!==void 0){var V=J.call(M,U);if(typeof V!="object")return V;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)})(T,"string");return typeof N=="symbol"?N:String(N)}var g=s(48287).Buffer,x=s(15340).inspect,k=x&&x.custom||"inspect";E.exports=(function(){function T(){(function(P,M){if(!(P instanceof M))throw new TypeError("Cannot call a class as a function")})(this,T),this.head=null,this.tail=null,this.length=0}return(function(P,M,U){return M&&w(P.prototype,M),Object.defineProperty(P,"prototype",{writable:!1}),P})(T,[{key:"push",value:function(P){var M={data:P,next:null};this.length>0?this.tail.next=M:this.head=M,this.tail=M,++this.length}},{key:"unshift",value:function(P){var M={data:P,next:this.head};this.length===0&&(this.tail=M),this.head=M,++this.length}},{key:"shift",value:function(){if(this.length!==0){var P=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,P}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(P){if(this.length===0)return"";for(var M=this.head,U=""+M.data;M=M.next;)U+=P+M.data;return U}},{key:"concat",value:function(P){if(this.length===0)return g.alloc(0);for(var M,U,J,V=g.allocUnsafe(P>>>0),B=this.head,H=0;B;)M=B.data,U=V,J=H,g.prototype.copy.call(M,U,J),H+=B.data.length,B=B.next;return V}},{key:"consume",value:function(P,M){var U;return P<this.head.data.length?(U=this.head.data.slice(0,P),this.head.data=this.head.data.slice(P)):U=P===this.head.data.length?this.shift():M?this._getString(P):this._getBuffer(P),U}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(P){var M=this.head,U=1,J=M.data;for(P-=J.length;M=M.next;){var V=M.data,B=P>V.length?V.length:P;if(B===V.length?J+=V:J+=V.slice(0,P),(P-=B)===0){B===V.length?(++U,M.next?this.head=M.next:this.head=this.tail=null):(this.head=M,M.data=V.slice(B));break}++U}return this.length-=U,J}},{key:"_getBuffer",value:function(P){var M=g.allocUnsafe(P),U=this.head,J=1;for(U.data.copy(M),P-=U.data.length;U=U.next;){var V=U.data,B=P>V.length?V.length:P;if(V.copy(M,M.length-P,0,B),(P-=B)===0){B===V.length?(++J,U.next?this.head=U.next:this.head=this.tail=null):(this.head=U,U.data=V.slice(B));break}++J}return this.length-=J,M}},{key:k,value:function(P,M){return x(this,b(b({},M),{},{depth:0,customInspect:!1}))}}]),T})()},80376:E=>{E.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80631:(E,C,s)=>{var h=s(28077),b=s(49326);E.exports=function(w,m){return w!=null&&b(w,m,h)}},80909:(E,C,s)=>{var h=s(30641),b=s(38329)(h);E.exports=b},80945:(E,C,s)=>{var h=s(80079),b=s(68223),f=s(53661);E.exports=function(m,g){var x=this.__data__;if(x instanceof h){var k=x.__data__;if(!b||k.length<199)return k.push([m,g]),this.size=++x.size,this;x=this.__data__=new f(k)}return x.set(m,g),this.size=x.size,this}},81042:(E,C,s)=>{var h=s(56110)(Object,"create");E.exports=h},81214:(E,C,s)=>{function h(B){return h=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(H){return typeof H}:function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},h(B)}Object.defineProperty(C,"__esModule",{value:!0}),C.DebounceInput=void 0;var b=m(s(96540)),f=m(s(20181)),w=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function m(B){return B&&B.__esModule?B:{default:B}}function g(B,H){if(B==null)return{};var Q,ne,ae=(function(ge,ke){if(ge==null)return{};var Le,Be,$e={},Ke=Object.keys(ge);for(Be=0;Be<Ke.length;Be++)Le=Ke[Be],ke.indexOf(Le)>=0||($e[Le]=ge[Le]);return $e})(B,H);if(Object.getOwnPropertySymbols){var Ce=Object.getOwnPropertySymbols(B);for(ne=0;ne<Ce.length;ne++)Q=Ce[ne],H.indexOf(Q)>=0||Object.prototype.propertyIsEnumerable.call(B,Q)&&(ae[Q]=B[Q])}return ae}function x(B,H){var Q=Object.keys(B);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(B);H&&(ne=ne.filter((function(ae){return Object.getOwnPropertyDescriptor(B,ae).enumerable}))),Q.push.apply(Q,ne)}return Q}function k(B){for(var H=1;H<arguments.length;H++){var Q=arguments[H]!=null?arguments[H]:{};H%2?x(Object(Q),!0).forEach((function(ne){J(B,ne,Q[ne])})):Object.getOwnPropertyDescriptors?Object.defineProperties(B,Object.getOwnPropertyDescriptors(Q)):x(Object(Q)).forEach((function(ne){Object.defineProperty(B,ne,Object.getOwnPropertyDescriptor(Q,ne))}))}return B}function T(B,H){for(var Q=0;Q<H.length;Q++){var ne=H[Q];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(B,ne.key,ne)}}function N(B,H){return N=Object.setPrototypeOf||function(ne,ae){return ne.__proto__=ae,ne},N(B,H)}function P(B){var H=(function(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(ne){return!1}})();return function(){var ne,ae=U(B);if(H){var Ce=U(this).constructor;ne=Reflect.construct(ae,arguments,Ce)}else ne=ae.apply(this,arguments);return(function(ge,ke){if(ke&&(h(ke)==="object"||typeof ke=="function"))return ke;if(ke!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M(ge)})(this,ne)}}function M(B){if(B===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return B}function U(B){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(Q){return Q.__proto__||Object.getPrototypeOf(Q)},U(B)}function J(B,H,Q){return H in B?Object.defineProperty(B,H,{value:Q,enumerable:!0,configurable:!0,writable:!0}):B[H]=Q,B}var V=(function(B){(function(ae,Ce){if(typeof Ce!="function"&&Ce!==null)throw new TypeError("Super expression must either be null or a function");ae.prototype=Object.create(Ce&&Ce.prototype,{constructor:{value:ae,writable:!0,configurable:!0}}),Object.defineProperty(ae,"prototype",{writable:!1}),Ce&&N(ae,Ce)})(Q,B);var H=P(Q);function Q(ne){var ae;(function(ge,ke){if(!(ge instanceof ke))throw new TypeError("Cannot call a class as a function")})(this,Q),J(M(ae=H.call(this,ne)),"onChange",(function(he){he.persist();var ge=ae.state.value,ke=ae.props.minLength;ae.setState({value:he.target.value},(function(){var Le=ae.state.value;Le.length>=ke?ae.notify(he):ge.length>Le.length&&ae.notify(k(k({},he),{},{target:k(k({},he.target),{},{value:""})}))}))})),J(M(ae),"onKeyDown",(function(he){he.key==="Enter"&&ae.forceNotify(he);var ge=ae.props.onKeyDown;ge&&(he.persist(),ge(he))})),J(M(ae),"onBlur",(function(he){ae.forceNotify(he);var ge=ae.props.onBlur;ge&&(he.persist(),ge(he))})),J(M(ae),"createNotifier",(function(he){if(he<0)ae.notify=function(){return null};else if(he===0)ae.notify=ae.doNotify;else{var ge=(0,f.default)((function(ke){ae.isDebouncing=!1,ae.doNotify(ke)}),he);ae.notify=function(ke){ae.isDebouncing=!0,ge(ke)},ae.flush=function(){return ge.flush()},ae.cancel=function(){ae.isDebouncing=!1,ge.cancel()}}})),J(M(ae),"doNotify",(function(){ae.props.onChange.apply(void 0,arguments)})),J(M(ae),"forceNotify",(function(he){var ge=ae.props.debounceTimeout;if(ae.isDebouncing||!(ge>0)){ae.cancel&&ae.cancel();var ke=ae.state.value,Le=ae.props.minLength;ke.length>=Le?ae.doNotify(he):ae.doNotify(k(k({},he),{},{target:k(k({},he.target),{},{value:ke})}))}})),ae.isDebouncing=!1,ae.state={value:ne.value===void 0||ne.value===null?"":ne.value};var Ce=ae.props.debounceTimeout;return ae.createNotifier(Ce),ae}return(function(ae,Ce,he){return Ce&&T(ae.prototype,Ce),Object.defineProperty(ae,"prototype",{writable:!1}),ae})(Q,[{key:"componentDidUpdate",value:function(ae){if(!this.isDebouncing){var Ce=this.props,he=Ce.value,ge=Ce.debounceTimeout,ke=ae.debounceTimeout,Le=ae.value,Be=this.state.value;he!==void 0&&Le!==he&&Be!==he&&this.setState({value:he}),ge!==ke&&this.createNotifier(ge)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var ae,Ce,he=this.props,ge=he.element,ke=(he.onChange,he.value,he.minLength,he.debounceTimeout,he.forceNotifyByEnter),Le=he.forceNotifyOnBlur,Be=he.onKeyDown,$e=he.onBlur,Ke=he.inputRef,st=g(he,w),Me=this.state.value;ae=ke?{onKeyDown:this.onKeyDown}:Be?{onKeyDown:Be}:{},Ce=Le?{onBlur:this.onBlur}:$e?{onBlur:$e}:{};var p=Ke?{ref:Ke}:{};return b.default.createElement(ge,k(k(k(k({},st),{},{onChange:this.onChange,value:Me},ae),Ce),p))}}]),Q})(b.default.PureComponent);C.DebounceInput=V,J(V,"defaultProps",{element:"input",type:"text",onKeyDown:void 0,onBlur:void 0,value:void 0,minLength:0,debounceTimeout:100,forceNotifyByEnter:!0,forceNotifyOnBlur:!0,inputRef:void 0})},81919:(E,C,s)=>{var h=s(48287).Buffer;function b(x){return x instanceof h||x instanceof Date||x instanceof RegExp}function f(x){if(x instanceof h){var k=h.alloc?h.alloc(x.length):new h(x.length);return x.copy(k),k}if(x instanceof Date)return new Date(x.getTime());if(x instanceof RegExp)return new RegExp(x);throw new Error("Unexpected situation")}function w(x){var k=[];return x.forEach((function(T,N){typeof T=="object"&&T!==null?Array.isArray(T)?k[N]=w(T):b(T)?k[N]=f(T):k[N]=g({},T):k[N]=T})),k}function m(x,k){return k==="__proto__"?void 0:x[k]}var g=E.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var x,k,T=arguments[0];return Array.prototype.slice.call(arguments,1).forEach((function(N){typeof N!="object"||N===null||Array.isArray(N)||Object.keys(N).forEach((function(P){return k=m(T,P),(x=m(N,P))===T?void 0:typeof x!="object"||x===null?void(T[P]=x):Array.isArray(x)?void(T[P]=w(x)):b(x)?void(T[P]=f(x)):typeof k!="object"||k===null||Array.isArray(k)?void(T[P]=g({},x)):void(T[P]=g(k,x))}))})),T}},82048:(E,C,s)=>{var h=s(11091),b=s(88280),f=s(15972),w=s(79192),m=s(19595),g=s(58075),x=s(61626),k=s(75817),T=s(39259),N=s(85884),P=s(24823),M=s(32096),U=s(76264)("toStringTag"),J=Error,V=[].push,B=function(ne,ae){var Ce,he=b(H,this);w?Ce=w(new J,he?f(this):H):(Ce=he?this:g(H),x(Ce,U,"Error")),ae!==void 0&&x(Ce,"message",M(ae)),N(Ce,B,Ce.stack,1),arguments.length>2&&T(Ce,arguments[2]);var ge=[];return P(ne,V,{that:ge}),x(Ce,"errors",ge),Ce};w?w(B,J):m(B,J,{name:!0});var H=B.prototype=g(J.prototype,{constructor:k(1,B),message:k(1,""),name:k(1,"AggregateError")});h({global:!0,constructor:!0,arity:2},{AggregateError:B})},82159:(E,C,s)=>{var h=s(62250),b=s(4640),f=TypeError;E.exports=function(w){if(h(w))return w;throw new f(b(w)+" is not a function")}},82199:(E,C,s)=>{var h=s(14528),b=s(56449);E.exports=function(w,m,g){var x=m(w);return b(w)?x:h(x,g(w))}},82261:(E,C,s)=>{Object.defineProperty(C,"__esModule",{value:!0});var h=f(s(9404)),b=f(s(48590));function f(w){return w&&w.__esModule?w:{default:w}}C.default=function(w,m,g){var x=Object.keys(m);if(!x.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var k=(0,b.default)(g);if(h.default.isImmutable?!h.default.isImmutable(w):!h.default.Iterable.isIterable(w))return"The "+k+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+x.join('", "')+'".';var T=w.toSeq().keySeq().toArray().filter((function(N){return!m.hasOwnProperty(N)}));return T.length>0?"Unexpected "+(T.length===1?"property":"properties")+' "'+T.join('", "')+'" found in '+k+'. Expected to find one of the known reducer property names instead: "'+x.join('", "')+'". Unexpected properties will be ignored.':null},E.exports=C.default},82682:(E,C,s)=>{var h=s(69600),b=Object.prototype.toString,f=Object.prototype.hasOwnProperty;E.exports=function(m,g,x){if(!h(g))throw new TypeError("iterator must be a function");var k;arguments.length>=3&&(k=x),(function(N){return b.call(N)==="[object Array]"})(m)?(function(N,P,M){for(var U=0,J=N.length;U<J;U++)f.call(N,U)&&(M==null?P(N[U],U,N):P.call(M,N[U],U,N))})(m,g,k):typeof m=="string"?(function(N,P,M){for(var U=0,J=N.length;U<J;U++)M==null?P(N.charAt(U),U,N):P.call(M,N.charAt(U),U,N)})(m,g,k):(function(N,P,M){for(var U in N)f.call(N,U)&&(M==null?P(N[U],U,N):P.call(M,N[U],U,N))})(m,g,k)}},82819:(E,C,s)=>{var h=s(39344),b=s(23805);E.exports=function(w){return function(){var m=arguments;switch(m.length){case 0:return new w;case 1:return new w(m[0]);case 2:return new w(m[0],m[1]);case 3:return new w(m[0],m[1],m[2]);case 4:return new w(m[0],m[1],m[2],m[3]);case 5:return new w(m[0],m[1],m[2],m[3],m[4]);case 6:return new w(m[0],m[1],m[2],m[3],m[4],m[5]);case 7:return new w(m[0],m[1],m[2],m[3],m[4],m[5],m[6])}var g=h(w.prototype),x=w.apply(g,m);return b(x)?x:g}}},82890:(E,C,s)=>{var h=s(56698),b=s(90392),f=s(92861).Buffer,w=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],m=new Array(160);function g(){this.init(),this._w=m,b.call(this,128,112)}function x(B,H,Q){return Q^B&(H^Q)}function k(B,H,Q){return B&H|Q&(B|H)}function T(B,H){return(B>>>28|H<<4)^(H>>>2|B<<30)^(H>>>7|B<<25)}function N(B,H){return(B>>>14|H<<18)^(B>>>18|H<<14)^(H>>>9|B<<23)}function P(B,H){return(B>>>1|H<<31)^(B>>>8|H<<24)^B>>>7}function M(B,H){return(B>>>1|H<<31)^(B>>>8|H<<24)^(B>>>7|H<<25)}function U(B,H){return(B>>>19|H<<13)^(H>>>29|B<<3)^B>>>6}function J(B,H){return(B>>>19|H<<13)^(H>>>29|B<<3)^(B>>>6|H<<26)}function V(B,H){return B>>>0<H>>>0?1:0}h(g,b),g.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},g.prototype._update=function(B){for(var H=this._w,Q=0|this._ah,ne=0|this._bh,ae=0|this._ch,Ce=0|this._dh,he=0|this._eh,ge=0|this._fh,ke=0|this._gh,Le=0|this._hh,Be=0|this._al,$e=0|this._bl,Ke=0|this._cl,st=0|this._dl,Me=0|this._el,p=0|this._fl,et=0|this._gl,ze=0|this._hl,xe=0;xe<32;xe+=2)H[xe]=B.readInt32BE(4*xe),H[xe+1]=B.readInt32BE(4*xe+4);for(;xe<160;xe+=2){var Ne=H[xe-30],rt=H[xe-30+1],gt=P(Ne,rt),it=M(rt,Ne),St=U(Ne=H[xe-4],rt=H[xe-4+1]),Y=J(rt,Ne),ye=H[xe-14],nt=H[xe-14+1],at=H[xe-32],Xt=H[xe-32+1],tr=it+nt|0,wt=gt+ye+V(tr,it)|0;wt=(wt=wt+St+V(tr=tr+Y|0,Y)|0)+at+V(tr=tr+Xt|0,Xt)|0,H[xe]=wt,H[xe+1]=tr}for(var Nt=0;Nt<160;Nt+=2){wt=H[Nt],tr=H[Nt+1];var Jt=k(Q,ne,ae),Et=k(Be,$e,Ke),ct=T(Q,Be),Rt=T(Be,Q),pe=N(he,Me),z=N(Me,he),W=w[Nt],ee=w[Nt+1],de=x(he,ge,ke),we=x(Me,p,et),Ie=ze+z|0,mt=Le+pe+V(Ie,ze)|0;mt=(mt=(mt=mt+de+V(Ie=Ie+we|0,we)|0)+W+V(Ie=Ie+ee|0,ee)|0)+wt+V(Ie=Ie+tr|0,tr)|0;var At=Rt+Et|0,lt=ct+Jt+V(At,Rt)|0;Le=ke,ze=et,ke=ge,et=p,ge=he,p=Me,he=Ce+mt+V(Me=st+Ie|0,st)|0,Ce=ae,st=Ke,ae=ne,Ke=$e,ne=Q,$e=Be,Q=mt+lt+V(Be=Ie+At|0,Ie)|0}this._al=this._al+Be|0,this._bl=this._bl+$e|0,this._cl=this._cl+Ke|0,this._dl=this._dl+st|0,this._el=this._el+Me|0,this._fl=this._fl+p|0,this._gl=this._gl+et|0,this._hl=this._hl+ze|0,this._ah=this._ah+Q+V(this._al,Be)|0,this._bh=this._bh+ne+V(this._bl,$e)|0,this._ch=this._ch+ae+V(this._cl,Ke)|0,this._dh=this._dh+Ce+V(this._dl,st)|0,this._eh=this._eh+he+V(this._el,Me)|0,this._fh=this._fh+ge+V(this._fl,p)|0,this._gh=this._gh+ke+V(this._gl,et)|0,this._hh=this._hh+Le+V(this._hl,ze)|0},g.prototype._hash=function(){var B=f.allocUnsafe(64);function H(Q,ne,ae){B.writeInt32BE(Q,ae),B.writeInt32BE(ne,ae+4)}return H(this._ah,this._al,0),H(this._bh,this._bl,8),H(this._ch,this._cl,16),H(this._dh,this._dl,24),H(this._eh,this._el,32),H(this._fh,this._fl,40),H(this._gh,this._gl,48),H(this._hh,this._hl,56),B},E.exports=g},83120:(E,C,s)=>{var h=s(14528),b=s(45891);E.exports=function f(w,m,g,x,k){var T=-1,N=w.length;for(g||(g=b),k||(k=[]);++T<N;){var P=w[T];m>0&&g(P)?m>1?f(P,m-1,g,x,k):h(k,P):x||(k[k.length]=P)}return k}},83141:(E,C,s)=>{var h=s(92861).Buffer,b=h.isEncoding||function(M){switch((M=""+M)&&M.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function f(M){var U;switch(this.encoding=(function(V){var B=(function(Q){if(!Q)return"utf8";for(var ne;;)switch(Q){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return Q;default:if(ne)return;Q=(""+Q).toLowerCase(),ne=!0}})(V);if(typeof B!="string"&&(h.isEncoding===b||!b(V)))throw new Error("Unknown encoding: "+V);return B||V})(M),this.encoding){case"utf16le":this.text=g,this.end=x,U=4;break;case"utf8":this.fillLast=m,U=4;break;case"base64":this.text=k,this.end=T,U=3;break;default:return this.write=N,void(this.end=P)}this.lastNeed=0,this.lastTotal=0,this.lastChar=h.allocUnsafe(U)}function w(M){return M<=127?0:M>>5==6?2:M>>4==14?3:M>>3==30?4:M>>6==2?-1:-2}function m(M){var U=this.lastTotal-this.lastNeed,J=(function(B,H,Q){if((192&H[0])!=128)return B.lastNeed=0,"<22>";if(B.lastNeed>1&&H.length>1){if((192&H[1])!=128)return B.lastNeed=1,"<22>";if(B.lastNeed>2&&H.length>2&&(192&H[2])!=128)return B.lastNeed=2,"<22>"}})(this,M);return J!==void 0?J:this.lastNeed<=M.length?(M.copy(this.lastChar,U,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,U,0,M.length),void(this.lastNeed-=M.length))}function g(M,U){if((M.length-U)%2==0){var J=M.toString("utf16le",U);if(J){var V=J.charCodeAt(J.length-1);if(V>=55296&&V<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1],J.slice(0,-1)}return J}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=M[M.length-1],M.toString("utf16le",U,M.length-1)}function x(M){var U=M&&M.length?this.write(M):"";if(this.lastNeed){var J=this.lastTotal-this.lastNeed;return U+this.lastChar.toString("utf16le",0,J)}return U}function k(M,U){var J=(M.length-U)%3;return J===0?M.toString("base64",U):(this.lastNeed=3-J,this.lastTotal=3,J===1?this.lastChar[0]=M[M.length-1]:(this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1]),M.toString("base64",U,M.length-J))}function T(M){var U=M&&M.length?this.write(M):"";return this.lastNeed?U+this.lastChar.toString("base64",0,3-this.lastNeed):U}function N(M){return M.toString(this.encoding)}function P(M){return M&&M.length?this.write(M):""}C.I=f,f.prototype.write=function(M){if(M.length===0)return"";var U,J;if(this.lastNeed){if((U=this.fillLast(M))===void 0)return"";J=this.lastNeed,this.lastNeed=0}else J=0;return J<M.length?U?U+this.text(M,J):this.text(M,J):U||""},f.prototype.end=function(U){var J=U&&U.length?this.write(U):"";return this.lastNeed?J+"<22>":J},f.prototype.text=function(U,J){var V=(function(Q,ne,ae){var Ce=ne.length-1;if(Ce<ae)return 0;var he=w(ne[Ce]);return he>=0?(he>0&&(Q.lastNeed=he-1),he):--Ce<ae||he===-2?0:(he=w(ne[Ce]),he>=0?(he>0&&(Q.lastNeed=he-2),he):--Ce<ae||he===-2?0:(he=w(ne[Ce]),he>=0?(he>0&&(he===2?he=0:Q.lastNeed=he-3),he):0))})(this,U,J);if(!this.lastNeed)return U.toString("utf8",J);this.lastTotal=V;var B=U.length-(V-this.lastNeed);return U.copy(this.lastChar,0,B),U.toString("utf8",J,B)},f.prototype.fillLast=function(M){if(this.lastNeed<=M.length)return M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);M.copy(this.lastChar,this.lastTotal-this.lastNeed,0,M.length),this.lastNeed-=M.length}},83221:E=>{E.exports=function(s){return function(h,b,f){for(var w=-1,m=Object(h),g=f(h),x=g.length;x--;){var k=g[s?x:++w];if(b(m[k],k,m)===!1)break}return h}}},83349:(E,C,s)=>{var h=s(82199),b=s(86375),f=s(37241);E.exports=function(m){return h(m,f,b)}},83488:E=>{E.exports=function(s){return s}},83693:(E,C,s)=>{var h=s(64894),b=s(40346);E.exports=function(w){return b(w)&&h(w)}},83729:E=>{E.exports=function(s,h){for(var b=-1,f=s==null?0:s.length;++b<f&&h(s[b],b,s)!==!1;);return s}},84058:(E,C,s)=>{var h=s(14792),b=s(45539)((function(f,w,m){return w=w.toLowerCase(),f+(m?h(w):w)}));E.exports=b},84195:(E,C,s)=>{var h=s(66977),b=s(38816),f=b((function(w,m){return h(w,256,void 0,void 0,void 0,m)}));E.exports=f},84247:E=>{E.exports=function(s){var h=-1,b=Array(s.size);return s.forEach((function(f){b[++h]=f})),b}},84629:E=>{E.exports={}},84851:(E,C,s)=>{E.exports=s(85401)},84977:(E,C,s)=>{Object.defineProperty(C,"__esModule",{value:!0});var h=(function(w){return w&&w.__esModule?w:{default:w}})(s(9404)),b=s(55674);C.default=function(f){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:h.default.Map,m=Object.keys(f);return function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:w(),x=arguments[1];return g.withMutations((function(k){m.forEach((function(T){var N=(0,f[T])(k.get(T),x);(0,b.validateNextState)(N,T,x),k.set(T,N)}))}))}},E.exports=C.default},85015:(E,C,s)=>{var h=s(72552),b=s(56449),f=s(40346);E.exports=function(m){return typeof m=="string"||!b(m)&&f(m)&&h(m)=="[object String]"}},85087:(E,C,s)=>{var h=s(30980),b=s(37381),f=s(62284),w=s(53758);E.exports=function(g){var x=f(g),k=w[x];if(typeof k!="function"||!(x in h.prototype))return!1;if(g===k)return!0;var T=b(k);return!!T&&g===T[0]}},85105:E=>{E.exports=class{constructor(s){this.namespace=s||new this.Namespace}serialise(s){if(!(s instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${s}\` is not an Element instance`);const h={element:s.element};s._meta&&s._meta.length>0&&(h.meta=this.serialiseObject(s.meta)),s._attributes&&s._attributes.length>0&&(h.attributes=this.serialiseObject(s.attributes));const b=this.serialiseContent(s.content);return b!==void 0&&(h.content=b),h}deserialise(s){if(!s.element)throw new Error("Given value is not an object containing an element name");const h=new(this.namespace.getElementClass(s.element));h.element!==s.element&&(h.element=s.element),s.meta&&this.deserialiseObject(s.meta,h.meta),s.attributes&&this.deserialiseObject(s.attributes,h.attributes);const b=this.deserialiseContent(s.content);return b===void 0&&h.content!==null||(h.content=b),h}serialiseContent(s){if(s instanceof this.namespace.elements.Element)return this.serialise(s);if(s instanceof this.namespace.KeyValuePair){const h={key:this.serialise(s.key)};return s.value&&(h.value=this.serialise(s.value)),h}return s&&s.map?s.length===0?void 0:s.map(this.serialise,this):s}deserialiseContent(s){if(s){if(s.element)return this.deserialise(s);if(s.key){const h=new this.namespace.KeyValuePair(this.deserialise(s.key));return s.value&&(h.value=this.deserialise(s.value)),h}if(s.map)return s.map(this.deserialise,this)}return s}serialiseObject(s){const h={};if(s.forEach(((b,f)=>{b&&(h[f.toValue()]=this.serialise(b))})),Object.keys(h).length!==0)return h}deserialiseObject(s,h){Object.keys(s).forEach((b=>{h.set(b,this.deserialise(s[b]))}))}}},85160:(E,C,s)=>{var h=s(96540);h.useSyncExternalStore,h.useRef,h.useEffect,h.useMemo,h.useDebugValue},85250:(E,C,s)=>{var h=s(37217),b=s(87805),f=s(86649),w=s(42824),m=s(23805),g=s(37241),x=s(14974);E.exports=function k(T,N,P,M,U){T!==N&&f(N,(function(J,V){if(U||(U=new h),m(J))w(T,N,V,P,k,M,U);else{var B=M?M(x(T,V),J,V+"",T,N,U):void 0;B===void 0&&(B=J),b(T,V,B)}}),g)}},85401:(E,C,s)=>{var h=s(462);E.exports=h},85463:E=>{E.exports=function(s){return s!=s}},85558:E=>{E.exports=function(s,h,b,f,w){return w(s,(function(m,g,x){b=f?(f=!1,m):h(b,m,g,x)})),b}},85582:(E,C,s)=>{var h=s(92046),b=s(45951),f=s(62250),w=function(m){return f(m)?m:void 0};E.exports=function(m,g){return arguments.length<2?w(h[m])||w(b[m]):h[m]&&h[m][g]||b[m]&&b[m][g]}},85587:(E,C,s)=>{var h=s(26311),b=f(Error);function f(w){return m.displayName=w.displayName||w.name,m;function m(g){return g&&(g=h.apply(null,arguments)),new w(g)}}E.exports=b,b.eval=f(EvalError),b.range=f(RangeError),b.reference=f(ReferenceError),b.syntax=f(SyntaxError),b.type=f(TypeError),b.uri=f(URIError),b.create=f},85762:(E,C,s)=>{var h=s(1907),b=Error,f=h("".replace),w=String(new b("zxcasd").stack),m=/\n\s*at [^:]*:[^\n]*/,g=m.test(w);E.exports=function(x,k){if(g&&typeof x=="string"&&!b.prepareStackTrace)for(;k--;)x=f(x,m,"");return x}},85816:(E,C,s)=>{var h=s(36128);E.exports=function(b,f){return h[b]||(h[b]=f||{})}},85884:(E,C,s)=>{var h=s(61626),b=s(85762),f=s(23888),w=Error.captureStackTrace;E.exports=function(m,g,x,k){f&&(w?w(m,g):h(m,"stack",b(x,k)))}},86009:(E,C,s)=>{E=s.nmd(E);var h=s(34840),b=C&&!C.nodeType&&C,f=b&&E&&!E.nodeType&&E,w=f&&f.exports===b&&h.process,m=(function(){try{var g=f&&f.require&&f.require("util").types;return g||w&&w.binding&&w.binding("util")}catch(x){}})();E.exports=m},86048:E=>{var C={};function s(b,f,w){w||(w=Error);var m=(function(g){function x(k,T,N){return g.call(this,(function(M,U,J){return typeof f=="string"?f:f(M,U,J)})(k,T,N))||this}return(function(T,N){T.prototype=Object.create(N.prototype),T.prototype.constructor=T,T.__proto__=N})(x,g),x})(w);m.prototype.name=w.name,m.prototype.code=b,C[b]=m}function h(b,f){if(Array.isArray(b)){var w=b.length;return b=b.map((function(m){return String(m)})),w>2?"one of ".concat(f," ").concat(b.slice(0,w-1).join(", "),", or ")+b[w-1]:w===2?"one of ".concat(f," ").concat(b[0]," or ").concat(b[1]):"of ".concat(f," ").concat(b[0])}return"of ".concat(f," ").concat(String(b))}s("ERR_INVALID_OPT_VALUE",(function(b,f){return'The value "'+f+'" is invalid for option "'+b+'"'}),TypeError),s("ERR_INVALID_ARG_TYPE",(function(b,f,w){var m,g;if(typeof f=="string"&&(function(T,N,P){return T.substr(0,N.length)===N})(f,"not ")?(m="must not be",f=f.replace(/^not /,"")):m="must be",(function(T,N,P){return(P===void 0||P>T.length)&&(P=T.length),T.substring(P-N.length,P)===N})(b," argument"))g="The ".concat(b," ").concat(m," ").concat(h(f,"type"));else{var x=(function(T,N,P){return typeof P!="number"&&(P=0),!(P+N.length>T.length)&&T.indexOf(N,P)!==-1})(b,".")?"property":"argument";g='The "'.concat(b,'" ').concat(x," ").concat(m," ").concat(h(f,"type"))}return g+=". Received type ".concat(typeof w)}),TypeError),s("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),s("ERR_METHOD_NOT_IMPLEMENTED",(function(b){return"The "+b+" method is not implemented"})),s("ERR_STREAM_PREMATURE_CLOSE","Premature close"),s("ERR_STREAM_DESTROYED",(function(b){return"Cannot call "+b+" after a stream was destroyed"})),s("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),s("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),s("ERR_STREAM_WRITE_AFTER_END","write after end"),s("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),s("ERR_UNKNOWN_ENCODING",(function(b){return"Unknown encoding: "+b}),TypeError),s("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),E.exports.F=C},86215:function(E,C){var s,h,b;h=[],s=(function(){var f=function(P){return P&&"getComputedStyle"in window&&window.getComputedStyle(P)["scroll-behavior"]==="smooth"};if(typeof window=="undefined"||!("document"in window))return{};var w=function(P,M,U){var J;M=M||999,U||U===0||(U=9);var V=function(he){J=he},B=function(){clearTimeout(J),V(0)},H=function(he){return Math.max(0,P.getTopOf(he)-U)},Q=function(he,ge,ke){if(B(),ge===0||ge&&ge<0||f(P.body))P.toY(he),ke&&ke();else{var Le=P.getY(),Be=Math.max(0,he)-Le,$e=new Date().getTime();ge=ge||Math.min(Math.abs(Be),M),(function Ke(){V(setTimeout((function(){var st=Math.min(1,(new Date().getTime()-$e)/ge),Me=Math.max(0,Math.floor(Le+Be*(st<.5?2*st*st:st*(4-2*st)-1)));P.toY(Me),st<1&&P.getHeight()+Me<P.body.scrollHeight?Ke():(setTimeout(B,99),ke&&ke())}),9))})()}},ne=function(he,ge,ke){Q(H(he),ge,ke)},ae=function(he,ge,ke){var Le=he.getBoundingClientRect().height,Be=P.getTopOf(he)+Le,$e=P.getHeight(),Ke=P.getY(),st=Ke+$e;H(he)<Ke||Le+U>$e?ne(he,ge,ke):Be+U>st?Q(Be-$e+U,ge,ke):ke&&ke()},Ce=function(he,ge,ke,Le){Q(Math.max(0,P.getTopOf(he)-P.getHeight()/2+(ke||he.getBoundingClientRect().height/2)),ge,Le)};return{setup:function(he,ge){return(he===0||he)&&(M=he),(ge===0||ge)&&(U=ge),{defaultDuration:M,edgeOffset:U}},to:ne,toY:Q,intoView:ae,center:Ce,stop:B,moving:function(){return!!J},getY:P.getY,getTopOf:P.getTopOf}},m=document.documentElement,g=function(){return window.scrollY||m.scrollTop},x=w({body:document.scrollingElement||document.body,toY:function(P){window.scrollTo(0,P)},getY:g,getHeight:function(){return window.innerHeight||m.clientHeight},getTopOf:function(P){return P.getBoundingClientRect().top+g()-m.offsetTop}});if(x.createScroller=function(P,M,U){return w({body:P,toY:function(J){P.scrollTop=J},getY:function(){return P.scrollTop},getHeight:function(){return Math.min(P.clientHeight,window.innerHeight||m.clientHeight)},getTopOf:function(J){return J.offsetTop}},M,U)},"addEventListener"in window&&!window.noZensmooth&&!f(document.body)){var k="history"in window&&"pushState"in history,T=k&&"scrollRestoration"in history;T&&(history.scrollRestoration="auto"),window.addEventListener("load",(function(){T&&(setTimeout((function(){history.scrollRestoration="manual"}),9),window.addEventListener("popstate",(function(P){P.state&&"zenscrollY"in P.state&&x.toY(P.state.zenscrollY)}),!1)),window.location.hash&&setTimeout((function(){var P=x.setup().edgeOffset;if(P){var M=document.getElementById(window.location.href.split("#")[1]);if(M){var U=Math.max(0,x.getTopOf(M)-P),J=x.getY()-U;0<=J&&J<9&&window.scrollTo(0,U)}}}),9)}),!1);var N=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",(function(P){for(var M=P.target;M&&M.tagName!=="A";)M=M.parentNode;if(!(!M||P.which!==1||P.shiftKey||P.metaKey||P.ctrlKey||P.altKey)){if(T){var U=history.state&&typeof history.state=="object"?history.state:{};U.zenscrollY=x.getY();try{history.replaceState(U,"")}catch(ne){}}var J=M.getAttribute("href")||"";if(J.indexOf("#")===0&&!N.test(M.className)){var V=0,B=document.getElementById(J.substring(1));if(J!=="#"){if(!B)return;V=x.getTopOf(B)}P.preventDefault();var H=function(){window.location=J},Q=x.setup().edgeOffset;Q&&(V=Math.max(0,V-Q),k&&(H=function(){history.pushState({},"",J)})),x.toY(V,null,H)}}}),!1)}return x})(),(b=typeof s=="function"?s.apply(C,h):s)===void 0||(E.exports=b)},86238:(E,C,s)=>{var h=s(86048).F.ERR_STREAM_PREMATURE_CLOSE;function b(){}E.exports=function f(w,m,g){if(typeof m=="function")return f(w,null,m);m||(m={}),g=(function(Q){var ne=!1;return function(){if(!ne){ne=!0;for(var ae=arguments.length,Ce=new Array(ae),he=0;he<ae;he++)Ce[he]=arguments[he];Q.apply(this,Ce)}}})(g||b);var x=m.readable||m.readable!==!1&&w.readable,k=m.writable||m.writable!==!1&&w.writable,T=function(){w.writable||P()},N=w._writableState&&w._writableState.finished,P=function(){k=!1,N=!0,x||g.call(w)},M=w._readableState&&w._readableState.endEmitted,U=function(){x=!1,M=!0,k||g.call(w)},J=function(Q){g.call(w,Q)},V=function(){var Q;return x&&!M?(w._readableState&&w._readableState.ended||(Q=new h),g.call(w,Q)):k&&!N?(w._writableState&&w._writableState.ended||(Q=new h),g.call(w,Q)):void 0},B=function(){w.req.on("finish",P)};return(function(Q){return Q.setHeader&&typeof Q.abort=="function"})(w)?(w.on("complete",P),w.on("abort",V),w.req?B():w.on("request",B)):k&&!w._writableState&&(w.on("end",T),w.on("close",T)),w.on("end",U),w.on("finish",P),m.error!==!1&&w.on("error",J),w.on("close",V),function(){w.removeListener("complete",P),w.removeListener("abort",V),w.removeListener("request",B),w.req&&w.req.removeListener("finish",P),w.removeListener("end",T),w.removeListener("close",T),w.removeListener("finish",P),w.removeListener("end",U),w.removeListener("error",J),w.removeListener("close",V)}}},86303:(E,C,s)=>{const h=s(10316);E.exports=class extends h{constructor(f,w,m){super(f||[],w,m),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(f){this.attributes.set("relation",f)}get href(){return this.attributes.get("href")}set href(f){this.attributes.set("href",f)}}},86375:(E,C,s)=>{var h=s(14528),b=s(28879),f=s(4664),w=s(63345),m=Object.getOwnPropertySymbols?function(g){for(var x=[];g;)h(x,f(g)),g=b(g);return x}:w;E.exports=m},86649:(E,C,s)=>{var h=s(83221)();E.exports=h},86804:(E,C,s)=>{const h=s(10316),b=s(41067),f=s(71167),w=s(40239),m=s(12242),g=s(6233),x=s(87726),k=s(61045),T=s(86303),N=s(14540),P=s(92340),M=s(10866),U=s(55973);function J(V){return V instanceof h?V:typeof V=="string"?new f(V):typeof V=="number"?new w(V):typeof V=="boolean"?new m(V):V===null?new b:Array.isArray(V)?new g(V.map(J)):typeof V=="object"?new k(V):V}h.prototype.ObjectElement=k,h.prototype.RefElement=N,h.prototype.MemberElement=x,h.prototype.refract=J,P.prototype.refract=J,E.exports={Element:h,NullElement:b,StringElement:f,NumberElement:w,BooleanElement:m,ArrayElement:g,MemberElement:x,ObjectElement:k,LinkElement:T,RefElement:N,refract:J,ArraySlice:P,ObjectSlice:M,KeyValuePair:U}},87068:(E,C,s)=>{var h=s(37217),b=s(25911),f=s(21986),w=s(50689),m=s(5861),g=s(56449),x=s(3656),k=s(37167),T="[object Arguments]",N="[object Array]",P="[object Object]",M=Object.prototype.hasOwnProperty;E.exports=function(J,V,B,H,Q,ne){var ae=g(J),Ce=g(V),he=ae?N:m(J),ge=Ce?N:m(V),ke=(he=he==T?P:he)==P,Le=(ge=ge==T?P:ge)==P,Be=he==ge;if(Be&&x(J)){if(!x(V))return!1;ae=!0,ke=!1}if(Be&&!ke)return ne||(ne=new h),ae||k(J)?b(J,V,B,H,Q,ne):f(J,V,he,B,H,Q,ne);if(!(1&B)){var $e=ke&&M.call(J,"__wrapped__"),Ke=Le&&M.call(V,"__wrapped__");if($e||Ke){var st=$e?J.value():J,Me=Ke?V.value():V;return ne||(ne=new h),Q(st,Me,B,H,ne)}}return!!Be&&(ne||(ne=new h),w(J,V,B,H,Q,ne))}},87136:E=>{E.exports=function(C){return C==null}},87170:(E,C)=>{C.f=Object.getOwnPropertySymbols},87296:(E,C,s)=>{var h,b=s(55481),f=(h=/[^.]+$/.exec(b&&b.keys&&b.keys.IE_PROTO||""))?"Symbol(src)_1."+h:"";E.exports=function(m){return!!f&&f in m}},87586:(E,C,s)=>{const h=s(6205),b=s(10023),f={0:0,t:9,n:10,v:11,f:12,r:13};C.strToChars=function(w){return w=w.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,(function(m,g,x,k,T,N,P,M){if(x)return m;var U=g?8:k?parseInt(k,16):T?parseInt(T,16):N?parseInt(N,8):P?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(P):f[M],J=String.fromCharCode(U);return/[[\]{}^$.|?*+()]/.test(J)&&(J="\\"+J),J}))},C.tokenizeClass=(w,m)=>{for(var g,x,k=[],T=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;(g=T.exec(w))!=null;)if(g[1])k.push(b.words());else if(g[2])k.push(b.ints());else if(g[3])k.push(b.whitespace());else if(g[4])k.push(b.notWords());else if(g[5])k.push(b.notInts());else if(g[6])k.push(b.notWhitespace());else if(g[7])k.push({type:h.RANGE,from:(g[8]||g[9]).charCodeAt(0),to:g[10].charCodeAt(0)});else{if(!(x=g[12]))return[k,T.lastIndex];k.push({type:h.CHAR,value:x.charCodeAt(0)})}C.error(m,"Unterminated character class")},C.error=(w,m)=>{throw new SyntaxError("Invalid regular expression: /"+w+"/: "+m)}},87726:(E,C,s)=>{const h=s(55973),b=s(10316);E.exports=class extends b{constructor(w,m,g,x){super(new h,g,x),this.element="member",this.key=w,this.value=m}get key(){return this.content.key}set key(w){this.content.key=this.refract(w)}get value(){return this.content.value}set value(w){this.content.value=this.refract(w)}}},87730:(E,C,s)=>{var h=s(29172),b=s(27301),f=s(86009),w=f&&f.isMap,m=w?b(w):h;E.exports=m},87805:(E,C,s)=>{var h=s(43360),b=s(75288);E.exports=function(w,m,g){(g!==void 0&&!b(w[m],g)||g===void 0&&!(m in w))&&h(w,m,g)}},87978:(E,C,s)=>{var h=s(60270),b=s(58156),f=s(80631),w=s(28586),m=s(30756),g=s(67197),x=s(77797);E.exports=function(T,N){return w(T)&&m(N)?g(x(T),N):function(P){var M=b(P,T);return M===void 0&&M===N?f(P,T):h(N,M,3)}}},88280:(E,C,s)=>{var h=s(1907);E.exports=h({}.isPrototypeOf)},88310:(E,C,s)=>{E.exports=b;var h=s(37007).EventEmitter;function b(){h.call(this)}s(56698)(b,h),b.Readable=s(45412),b.Writable=s(16708),b.Duplex=s(25382),b.Transform=s(74610),b.PassThrough=s(63600),b.finished=s(86238),b.pipeline=s(57758),b.Stream=b,b.prototype.pipe=function(f,w){var m=this;function g(U){f.writable&&f.write(U)===!1&&m.pause&&m.pause()}function x(){m.readable&&m.resume&&m.resume()}m.on("data",g),f.on("drain",x),f._isStdio||w&&w.end===!1||(m.on("end",T),m.on("close",N));var k=!1;function T(){k||(k=!0,f.end())}function N(){k||(k=!0,typeof f.destroy=="function"&&f.destroy())}function P(U){if(M(),h.listenerCount(this,"error")===0)throw U}function M(){m.removeListener("data",g),f.removeListener("drain",x),m.removeListener("end",T),m.removeListener("close",N),m.removeListener("error",P),f.removeListener("error",P),m.removeListener("end",M),m.removeListener("close",M),f.removeListener("close",M)}return m.on("error",P),f.on("error",P),m.on("end",M),m.on("close",M),f.on("close",M),f.emit("pipe",m),f}},88984:(E,C,s)=>{var h=s(55527),b=s(3650),f=Object.prototype.hasOwnProperty;E.exports=function(m){if(!h(m))return b(m);var g=[];for(var x in Object(m))f.call(m,x)&&x!="constructor"&&g.push(x);return g}},89353:E=>{var C=Object.prototype.toString,s=Math.max,h=function(f,w){for(var m=[],g=0;g<f.length;g+=1)m[g]=f[g];for(var x=0;x<w.length;x+=1)m[x+f.length]=w[x];return m};E.exports=function(f){var w=this;if(typeof w!="function"||C.apply(w)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+w);for(var m,g=(function(M,U){for(var J=[],V=U,B=0;V<M.length;V+=1,B+=1)J[B]=M[V];return J})(arguments,1),x=s(0,w.length-g.length),k=[],T=0;T<x;T++)k[T]="$"+T;if(m=Function("binder","return function ("+(function(P,M){for(var U="",J=0;J<P.length;J+=1)U+=P[J],J+1<P.length&&(U+=M);return U})(k,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof m){var P=w.apply(this,h(g,arguments));return Object(P)===P?P:this}return w.apply(f,h(g,arguments))})),w.prototype){var N=function(){};N.prototype=w.prototype,m.prototype=new N,N.prototype=null}return m}},89593:(E,C,s)=>{C.H=void 0;var h=(function(f){return f&&f.__esModule?f:{default:f}})(s(84977));C.H=h.default},89935:E=>{E.exports=function(){return!1}},90160:(E,C,s)=>{var h=s(73948),b=String;E.exports=function(f){if(h(f)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return b(f)}},90179:(E,C,s)=>{var h=s(34932),b=s(9999),f=s(19931),w=s(31769),m=s(21791),g=s(53138),x=s(38816),k=s(83349),T=x((function(N,P){var M={};if(N==null)return M;var U=!1;P=h(P,(function(V){return V=w(V,N),U||(U=V.length>1),V})),m(N,k(N),M),U&&(M=b(M,7,g));for(var J=P.length;J--;)f(M,P[J]);return M}));E.exports=T},90181:E=>{E.exports=function(s){var h=[];if(s!=null)for(var b in Object(s))h.push(b);return h}},90289:(E,C,s)=>{var h=s(12651);E.exports=function(f){return h(this,f).get(f)}},90392:(E,C,s)=>{var h=s(92861).Buffer,b=s(15377);function f(w,m){this._block=h.alloc(w),this._finalSize=m,this._blockSize=w,this._len=0}f.prototype.update=function(w,m){w=b(w,m||"utf8");for(var g=this._block,x=this._blockSize,k=w.length,T=this._len,N=0;N<k;){for(var P=T%x,M=Math.min(k-N,x-P),U=0;U<M;U++)g[P+U]=w[N+U];N+=M,(T+=M)%x==0&&this._update(g)}return this._len+=k,this},f.prototype.digest=function(w){var m=this._len%this._blockSize;this._block[m]=128,this._block.fill(0,m+1),m>=this._finalSize&&(this._update(this._block),this._block.fill(0));var g=8*this._len;if(g<=4294967295)this._block.writeUInt32BE(g,this._blockSize-4);else{var x=(4294967295&g)>>>0,k=(g-x)/4294967296;this._block.writeUInt32BE(k,this._blockSize-8),this._block.writeUInt32BE(x,this._blockSize-4)}this._update(this._block);var T=this._hash();return w?T.toString(w):T},f.prototype._update=function(){throw new Error("_update must be implemented by subclass")},E.exports=f},90916:(E,C,s)=>{var h=s(80909);E.exports=function(f,w){var m;return h(f,(function(g,x,k){return!(m=w(g,x,k))})),!!m}},90938:E=>{E.exports=function(s){var h=this.__data__,b=h.delete(s);return this.size=h.size,b}},91033:E=>{E.exports=function(s,h,b){switch(b.length){case 0:return s.call(h);case 1:return s.call(h,b[0]);case 2:return s.call(h,b[0],b[1]);case 3:return s.call(h,b[0],b[1],b[2])}return s.apply(h,b)}},91596:E=>{var C=Math.max;E.exports=function(h,b,f,w){for(var m=-1,g=h.length,x=f.length,k=-1,T=b.length,N=C(g-x,0),P=Array(T+N),M=!w;++k<T;)P[k]=b[k];for(;++m<x;)(M||m<g)&&(P[f[m]]=h[m]);for(;N--;)P[k++]=h[m++];return P}},91599:(E,C,s)=>{s(64502)},92046:E=>{E.exports={}},92063:E=>{E.exports=function(s,h){if(h=h.split(":")[0],!(s=+s))return!1;switch(h){case"http":case"ws":return s!==80;case"https":case"wss":return s!==443;case"ftp":return s!==21;case"gopher":return s!==70;case"file":return!1}return s!==0}},92271:(E,C,s)=>{var h=s(21791),b=s(4664);E.exports=function(w,m){return h(w,b(w),m)}},92340:(E,C,s)=>{const h=s(6048);function b(w){return typeof w=="string"?m=>m.element===w:w.constructor&&w.extend?m=>m instanceof w:w}class f{constructor(m){this.elements=m||[]}toValue(){return this.elements.map((m=>m.toValue()))}map(m,g){return this.elements.map(m,g)}flatMap(m,g){return this.map(m,g).reduce(((x,k)=>x.concat(k)),[])}compactMap(m,g){const x=[];return this.forEach((k=>{const T=m.bind(g)(k);T&&x.push(T)})),x}filter(m,g){return m=b(m),new f(this.elements.filter(m,g))}reject(m,g){return m=b(m),new f(this.elements.filter(h(m),g))}find(m,g){return m=b(m),this.elements.find(m,g)}forEach(m,g){this.elements.forEach(m,g)}reduce(m,g){return this.elements.reduce(m,g)}includes(m){return this.elements.some((g=>g.equals(m)))}shift(){return this.elements.shift()}unshift(m){this.elements.unshift(this.refract(m))}push(m){return this.elements.push(this.refract(m)),this}add(m){this.push(m)}get(m){return this.elements[m]}getValue(m){const g=this.elements[m];if(g)return g.toValue()}get length(){return this.elements.length}get isEmpty(){return this.elements.length===0}get first(){return this.elements[0]}}typeof Symbol!="undefined"&&(f.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),E.exports=f},92361:(E,C,s)=>{var h=s(45807),b=s(1907);E.exports=function(f){if(h(f)==="Function")return b(f)}},92522:(E,C,s)=>{var h=s(85816),b=s(6499),f=h("keys");E.exports=function(w){return f[w]||(f[w]=b(w))}},92861:(E,C,s)=>{var h=s(48287),b=h.Buffer;function f(m,g){for(var x in m)g[x]=m[x]}function w(m,g,x){return b(m,g,x)}b.from&&b.alloc&&b.allocUnsafe&&b.allocUnsafeSlow?E.exports=h:(f(h,C),C.Buffer=w),w.prototype=Object.create(b.prototype),f(b,w),w.from=function(m,g,x){if(typeof m=="number")throw new TypeError("Argument must not be a number");return b(m,g,x)},w.alloc=function(m,g,x){if(typeof m!="number")throw new TypeError("Argument must be a number");var k=b(m);return g!==void 0?typeof x=="string"?k.fill(g,x):k.fill(g):k.fill(0),k},w.allocUnsafe=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return b(m)},w.allocUnsafeSlow=function(m){if(typeof m!="number")throw new TypeError("Argument must be a number");return h.SlowBuffer(m)}},93243:(E,C,s)=>{var h=s(56110),b=(function(){try{var f=h(Object,"defineProperty");return f({},"",{}),f}catch(w){}})();E.exports=b},93290:(E,C,s)=>{E=s.nmd(E);var h=s(9325),b=C&&!C.nodeType&&C,f=b&&E&&!E.nodeType&&E,w=f&&f.exports===b?h.Buffer:void 0,m=w?w.allocUnsafe:void 0;E.exports=function(x,k){if(k)return x.slice();var T=x.length,N=m?m(T):new x.constructor(T);return x.copy(N),N}},93427:(E,C,s)=>{var h=s(1907);E.exports=h([].slice)},93628:(E,C,s)=>{var h=s(48648),b=s(71064),f=s(7176);E.exports=h?function(m){return h(m)}:b?function(m){if(!m||typeof m!="object"&&typeof m!="function")throw new TypeError("getProto: not an object");return b(m)}:f?function(m){return f(m)}:null},93663:(E,C,s)=>{var h=s(41799),b=s(10776),f=s(67197);E.exports=function(m){var g=b(m);return g.length==1&&g[0][2]?f(g[0][0],g[0][1]):function(x){return x===m||h(x,m,g)}}},93700:(E,C,s)=>{var h=s(19709);E.exports=h},93736:(E,C,s)=>{var h=s(51873),b=h?h.prototype:void 0,f=b?b.valueOf:void 0;E.exports=function(m){return f?Object(f.call(m)):{}}},93742:E=>{E.exports={}},94033:E=>{E.exports=function(){}},94459:E=>{E.exports=Number.isNaN||function(s){return s!=s}},94643:(E,C,s)=>{function h(b){try{if(!s.g.localStorage)return!1}catch(w){return!1}var f=s.g.localStorage[b];return f!=null&&String(f).toLowerCase()==="true"}E.exports=function(f,w){if(h("noDeprecation"))return f;var m=!1;return function(){if(!m){if(h("throwDeprecation"))throw new Error(w);h("traceDeprecation"),m=!0}return f.apply(this,arguments)}}},95089:E=>{const C="[A-Za-z$_][0-9A-Za-z$_]*",s=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],h=["true","false","null","undefined","NaN","Infinity"],b=[].concat(["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],["arguments","this","super","console","window","document","localStorage","module","global"],["Intl","DataView","Number","Math","Date","String","RegExp","Object","Function","Boolean","Error","Symbol","Set","Map","WeakSet","WeakMap","Proxy","Reflect","JSON","Promise","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Float32Array","Array","Uint8Array","Uint8ClampedArray","ArrayBuffer","BigInt64Array","BigUint64Array","BigInt"],["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function f(m){return w("(?=",m,")")}function w(...m){return m.map((g=>(function(k){return k?typeof k=="string"?k:k.source:null})(g))).join("")}E.exports=function(g){const x=C,k="<>",T="</>",N={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Le,Be)=>{const $e=Le[0].length+Le.index,Ke=Le.input[$e];Ke!=="<"?Ke===">"&&(((st,{after:Me})=>{const p="</"+st[0].slice(1);return st.input.indexOf(p,Me)!==-1})(Le,{after:$e})||Be.ignoreMatch()):Be.ignoreMatch()}},P={$pattern:C,keyword:s,literal:h,built_in:b},M="[0-9](_?[0-9])*",U=`\\.(${M})`,J="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",V={className:"number",variants:[{begin:`(\\b(${J})((${U})|\\.)?|(${U}))[eE][+-]?(${M})\\b`},{begin:`\\b(${J})\\b((${U})\\b|\\.)?|(${U})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},B={className:"subst",begin:"\\$\\{",end:"\\}",keywords:P,contains:[]},H={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[g.BACKSLASH_ESCAPE,B],subLanguage:"xml"}},Q={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[g.BACKSLASH_ESCAPE,B],subLanguage:"css"}},ne={className:"string",begin:"`",end:"`",contains:[g.BACKSLASH_ESCAPE,B]},ae={className:"comment",variants:[g.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:x+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),g.C_BLOCK_COMMENT_MODE,g.C_LINE_COMMENT_MODE]},Ce=[g.APOS_STRING_MODE,g.QUOTE_STRING_MODE,H,Q,ne,V,g.REGEXP_MODE];B.contains=Ce.concat({begin:/\{/,end:/\}/,keywords:P,contains:["self"].concat(Ce)});const he=[].concat(ae,B.contains),ge=he.concat([{begin:/\(/,end:/\)/,keywords:P,contains:["self"].concat(he)}]),ke={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:P,contains:ge};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:P,exports:{PARAMS_CONTAINS:ge},illegal:/#(?![$_A-z])/,contains:[g.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},g.APOS_STRING_MODE,g.QUOTE_STRING_MODE,H,Q,ne,ae,V,{begin:w(/[{,\n]\s*/,f(w(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,x+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:x+f("\\s*:"),relevance:0}]},{begin:"("+g.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[ae,g.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+g.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:g.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:P,contains:ge}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:k,end:T},{begin:N.begin,"on:begin":N.isTrulyOpeningTag,end:N.end}],subLanguage:"xml",contains:[{begin:N.begin,end:N.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:P,contains:["self",g.inherit(g.TITLE_MODE,{begin:x}),ke],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:g.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[ke,g.inherit(g.TITLE_MODE,{begin:x})]},{variants:[{begin:"\\."+x},{begin:"\\$"+x}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},g.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[g.inherit(g.TITLE_MODE,{begin:x}),"self",ke]},{begin:"(get|set)\\s+(?="+x+"\\()",end:/\{/,keywords:"get set",contains:[g.inherit(g.TITLE_MODE,{begin:x}),{begin:/\(\)/},ke]},{begin:/\$[(.]/}]}}},95116:(E,C,s)=>{var h,b,f,w=s(98828),m=s(62250),g=s(46285),x=s(58075),k=s(15972),T=s(68055),N=s(76264),P=s(7376),M=N("iterator"),U=!1;[].keys&&("next"in(f=[].keys())?(b=k(k(f)))!==Object.prototype&&(h=b):U=!0),!g(h)||w((function(){var J={};return h[M].call(J)!==J}))?h={}:P&&(h=x(h)),m(h[M])||T(h,M,(function(){return this})),E.exports={IteratorPrototype:h,BUGGY_SAFARI_ITERATORS:U}},95950:(E,C,s)=>{var h=s(70695),b=s(88984),f=s(64894);E.exports=function(m){return f(m)?h(m):b(m)}},96131:(E,C,s)=>{var h=s(2523),b=s(85463),f=s(76959);E.exports=function(m,g,x){return g==g?f(m,g,x):h(m,b,x)}},96540:(E,C,s)=>{E.exports=s(15287)},96605:(E,C,s)=>{var h=s(11091),b=s(45951),f=s(76024),w=s(19358),m="WebAssembly",g=b[m],x=new Error("e",{cause:7}).cause!==7,k=function(N,P){var M={};M[N]=w(N,P,x),h({global:!0,constructor:!0,arity:1,forced:x},M)},T=function(N,P){if(g&&g[N]){var M={};M[N]=w(m+"."+N,P,x),h({target:m,stat:!0,constructor:!0,arity:1,forced:x},M)}};k("Error",(function(N){return function(M){return f(N,this,arguments)}})),k("EvalError",(function(N){return function(M){return f(N,this,arguments)}})),k("RangeError",(function(N){return function(M){return f(N,this,arguments)}})),k("ReferenceError",(function(N){return function(M){return f(N,this,arguments)}})),k("SyntaxError",(function(N){return function(M){return f(N,this,arguments)}})),k("TypeError",(function(N){return function(M){return f(N,this,arguments)}})),k("URIError",(function(N){return function(M){return f(N,this,arguments)}})),T("CompileError",(function(N){return function(M){return f(N,this,arguments)}})),T("LinkError",(function(N){return function(M){return f(N,this,arguments)}})),T("RuntimeError",(function(N){return function(M){return f(N,this,arguments)}}))},96794:(E,C,s)=>{var h=s(45951).navigator,b=h&&h.userAgent;E.exports=b?String(b):""},96897:(E,C,s)=>{var h=s(70453),b=s(30041),f=s(30592)(),w=s(75795),m=s(69675),g=h("%Math.floor%");E.exports=function(k,T){if(typeof k!="function")throw new m("`fn` is not a function");if(typeof T!="number"||T<0||T>4294967295||g(T)!==T)throw new m("`length` must be a positive 32-bit integer");var N=arguments.length>2&&!!arguments[2],P=!0,M=!0;if("length"in k&&w){var U=w(k,"length");U&&!U.configurable&&(P=!1),U&&!U.writable&&(M=!1)}return(P||M||!N)&&(f?b(k,"length",T,!0,!0):b(k,"length",T)),k}},98023:(E,C,s)=>{var h=s(72552),b=s(40346);E.exports=function(w){return typeof w=="number"||b(w)&&h(w)=="[object Number]"}},98828:E=>{E.exports=function(C){try{return!!C()}catch(s){return!0}}},99363:(E,C,s)=>{var h=s(4993),b=s(42156),f=s(93742),w=s(64932),m=s(74284).f,g=s(60183),x=s(59550),k=s(7376),T=s(39447),N="Array Iterator",P=w.set,M=w.getterFor(N);E.exports=g(Array,"Array",(function(J,V){P(this,{type:N,target:h(J),index:0,kind:V})}),(function(){var J=M(this),V=J.target,B=J.index++;if(!V||B>=V.length)return J.target=null,x(void 0,!0);switch(J.kind){case"keys":return x(B,!1);case"values":return x(V[B],!1)}return x([B,V[B]],!1)}),"values");var U=f.Arguments=f.Array;if(b("keys"),b("values"),b("entries"),!k&&T&&U.name!=="values")try{m(U,"name",{value:"values"})}catch(J){}},99374:(E,C,s)=>{var h=s(54128),b=s(23805),f=s(44394),w=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,g=/^0o[0-7]+$/i,x=parseInt;E.exports=function(T){if(typeof T=="number")return T;if(f(T))return NaN;if(b(T)){var N=typeof T.valueOf=="function"?T.valueOf():T;T=b(N)?N+"":N}if(typeof T!="string")return T===0?T:+T;T=h(T);var P=m.test(T);return P||g.test(T)?x(T.slice(2),P?2:8):w.test(T)?NaN:+T}}},Pn={};function Re(E){var C=Pn[E];if(C!==void 0)return C.exports;var s=Pn[E]={id:E,loaded:!1,exports:{}};return Pr[E].call(s.exports,s,s.exports,Re),s.loaded=!0,s.exports}Re.n=E=>{var C=E&&E.__esModule?()=>E.default:()=>E;return Re.d(C,{a:C}),C},Re.d=(E,C)=>{for(var s in C)Re.o(C,s)&&!Re.o(E,s)&&Object.defineProperty(E,s,{enumerable:!0,get:C[s]})},Re.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(E){if(typeof window=="object")return window}})(),Re.o=(E,C)=>Object.prototype.hasOwnProperty.call(E,C),Re.r=E=>{typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(E,"__esModule",{value:!0})},Re.nmd=E=>(E.paths=[],E.children||(E.children=[]),E);var qo={};return(()=>{var Si,hd,dd,zA,Ep,VA,sg,JA,lg,WA,cg,HA,ug,KA;Re.d(qo,{default:()=>$U});var E={};Re.r(E),Re.d(E,{CLEAR:()=>z,CLEAR_BY:()=>W,NEW_AUTH_ERR:()=>pe,NEW_SPEC_ERR:()=>ct,NEW_SPEC_ERR_BATCH:()=>Rt,NEW_THROWN_ERR:()=>Jt,NEW_THROWN_ERR_BATCH:()=>Et,clear:()=>At,clearBy:()=>lt,newAuthErr:()=>mt,newSpecErr:()=>we,newSpecErrBatch:()=>Ie,newThrownErr:()=>ee,newThrownErrBatch:()=>de});var C={};Re.r(C),Re.d(C,{AUTHORIZE:()=>Oi,AUTHORIZE_OAUTH2:()=>Jr,CONFIGURE_AUTH:()=>rc,LOGOUT:()=>Ms,RESTORE_AUTHORIZATION:()=>nc,SHOW_AUTH_POPUP:()=>Is,authPopup:()=>ii,authorize:()=>xp,authorizeAccessCodeWithBasicAuthentication:()=>oi,authorizeAccessCodeWithFormParams:()=>ai,authorizeApplication:()=>Rs,authorizeOauth2:()=>Dn,authorizeOauth2WithPersistOption:()=>Na,authorizePassword:()=>ni,authorizeRequest:()=>ml,authorizeWithPersistOption:()=>_p,configureAuth:()=>oc,logout:()=>gn,logoutWithPersistOption:()=>ac,persistAuthorizationIfNeeded:()=>ic,preAuthorizeImplicit:()=>fl,restoreAuthorization:()=>gl,showDefinitions:()=>au});var s={};Re.r(s),Re.d(s,{authorized:()=>cc,definitionsForRequirements:()=>yl,definitionsToAuthorize:()=>Xi,getConfigs:()=>uc,getDefinitionsByNames:()=>lc,isAuthorized:()=>vl,selectAuthPath:()=>go,shownDefinitions:()=>Ci});var h={};Re.r(h),Re.d(h,{TOGGLE_CONFIGS:()=>$p,UPDATE_CONFIGS:()=>ku,downloadConfig:()=>as,getConfigByUrl:()=>Bp,loaded:()=>vg,toggle:()=>Lp,update:()=>yg});var b={};Re.r(b),Re.d(b,{get:()=>Ad});var f={};Re.r(f),Re.d(f,{transform:()=>jo});var w={};Re.r(w),Re.d(w,{transform:()=>di});var m={};Re.r(m),Re.d(m,{allErrors:()=>Up,lastError:()=>Eg});var g={};Re.r(g),Re.d(g,{SHOW:()=>Iu,UPDATE_FILTER:()=>Tu,UPDATE_LAYOUT:()=>Ks,UPDATE_MODE:()=>Nu,changeMode:()=>Tl,show:()=>Wo,updateFilter:()=>Pc,updateLayout:()=>Nd});var x={};Re.r(x),Re.d(x,{current:()=>Og,currentFilter:()=>ss,isShown:()=>ls,showSummary:()=>Ag,whatMode:()=>Md});var k={};Re.r(k),Re.d(k,{taggedOperations:()=>cs});var T={};Re.r(T),Re.d(T,{getActiveLanguage:()=>Gp,getDefaultExpanded:()=>Dd,getGenerators:()=>Kp,getSnippetGenerators:()=>Qn});var N={};Re.r(N),Re.d(N,{JsonSchemaArrayItemFile:()=>Dc,JsonSchemaArrayItemText:()=>rh,JsonSchemaForm:()=>Rg,JsonSchema_array:()=>Gd,JsonSchema_boolean:()=>Dg,JsonSchema_object:()=>Fg,JsonSchema_string:()=>Kd});var P={};Re.r(P),Re.d(P,{allowTryItOutFor:()=>Io,basePath:()=>tb,canExecuteScheme:()=>yh,consumes:()=>ps,consumesOptionsFor:()=>kf,contentTypeValues:()=>Lc,currentProducesFor:()=>ds,definitions:()=>hs,externalDocs:()=>Jg,findDefinition:()=>Hg,getOAS3RequiredRequestBodyContentType:()=>Vu,getParameter:()=>mh,hasHost:()=>_f,host:()=>Kg,info:()=>vf,isMediaTypeSchemaPropertiesEqual:()=>Of,isOAS3:()=>yf,lastError:()=>Z0,mutatedRequestFor:()=>Da,mutatedRequests:()=>en,operationScheme:()=>fs,operationWithMeta:()=>Ys,operations:()=>mi,operationsWithRootInherited:()=>Sf,operationsWithTags:()=>Yg,parameterInclusionSettingFor:()=>ha,parameterValues:()=>$c,parameterWithMeta:()=>Uu,parameterWithMetaByIdentity:()=>Gs,parametersIncludeIn:()=>Mo,parametersIncludeType:()=>zu,paths:()=>ph,produces:()=>Ef,producesOptionsFor:()=>gh,requestFor:()=>pa,requests:()=>No,responseFor:()=>Oa,responses:()=>fh,schemes:()=>Gg,security:()=>Wg,securityDefinitions:()=>Ri,semver:()=>wf,spec:()=>Ra,specJS:()=>Gt,specJson:()=>mf,specJsonWithResolvedSubtrees:()=>to,specResolved:()=>Fc,specResolvedSubtree:()=>Vg,specSource:()=>Ua,specStr:()=>uh,tagDetails:()=>xf,taggedOperations:()=>dh,tags:()=>hh,url:()=>eb,validOperationMethods:()=>ro,validateBeforeExecute:()=>vh,validationErrors:()=>ms,version:()=>bf});var M={};Re.r(M),Re.d(M,{CLEAR_REQUEST:()=>Tf,CLEAR_RESPONSE:()=>Pf,CLEAR_VALIDATE_PARAMS:()=>xh,LOG_REQUEST:()=>Gu,SET_MUTATED_REQUEST:()=>Ku,SET_REQUEST:()=>Sh,SET_RESPONSE:()=>Eh,SET_SCHEME:()=>_h,UPDATE_EMPTY_PARAM_INCLUSION:()=>Hu,UPDATE_JSON:()=>Wu,UPDATE_OPERATION_META_VALUE:()=>Yu,UPDATE_PARAM:()=>Fi,UPDATE_RESOLVED:()=>Qs,UPDATE_RESOLVED_SUBTREE:()=>ys,UPDATE_SPEC:()=>Di,UPDATE_URL:()=>wh,VALIDATE_PARAMS:()=>gs,changeConsumesValue:()=>ty,changeParam:()=>$l,changeParamByIdentity:()=>Oh,changeProducesValue:()=>Ah,clearRequest:()=>Ph,clearResponse:()=>Ff,clearValidateParams:()=>ey,execute:()=>jh,executeRequest:()=>Df,invalidateResolvedSubtreeCache:()=>If,logRequest:()=>ny,parseToJson:()=>Qg,requestResolvedSubtree:()=>kh,resolveSpec:()=>Yo,setMutatedRequest:()=>Rf,setRequest:()=>ry,setResponse:()=>Ch,setScheme:()=>ay,updateEmptyParamInclusion:()=>Mf,updateJsonSpec:()=>ab,updateResolved:()=>Xg,updateResolvedSubtree:()=>Nf,updateSpec:()=>rb,updateUrl:()=>nb,validateParams:()=>ob});var U={};Re.r(U),Re.d(U,{executeRequest:()=>sb,updateJsonSpec:()=>Xu,updateSpec:()=>ib,validateParams:()=>Nh});var J={};Re.r(J),Re.d(J,{JsonPatchError:()=>He,_areEquals:()=>Tt,applyOperation:()=>Te,applyPatch:()=>We,applyReducer:()=>dt,deepClone:()=>ht,getValueByPointer:()=>Je,validate:()=>Sr,validator:()=>Ft});var V={};Re.r(V),Re.d(V,{compare:()=>oy,generate:()=>qc,observe:()=>In,unobserve:()=>tn});var B={};Re.r(B),Re.d(B,{hasElementSourceMap:()=>qh,includesClasses:()=>Uh,includesSymbols:()=>o3,isAnnotationElement:()=>n3,isArrayElement:()=>so,isBooleanElement:()=>Yf,isCommentElement:()=>a3,isElement:()=>da,isLinkElement:()=>r2,isMemberElement:()=>Es,isNullElement:()=>Gb,isNumberElement:()=>Kb,isObjectElement:()=>on,isParseResultElement:()=>a2,isPrimitiveElement:()=>op,isRefElement:()=>n2,isStringElement:()=>wr});var H={};Re.r(H),Re.d(H,{isJSONReferenceElement:()=>n1,isJSONSchemaElement:()=>D2,isLinkDescriptionElement:()=>IP,isMediaElement:()=>F2});var Q={};Re.r(Q),Re.d(Q,{isBooleanJsonSchemaElement:()=>j4,isCallbackElement:()=>f4,isComponentsElement:()=>m4,isContactElement:()=>g4,isDiscriminatorElement:()=>M4,isExampleElement:()=>y4,isExternalDocumentationElement:()=>v4,isHeaderElement:()=>Yh,isInfoElement:()=>b4,isLicenseElement:()=>w4,isLinkElement:()=>E4,isMediaTypeElement:()=>Wy,isOpenApi3_0Element:()=>x4,isOpenapiElement:()=>S4,isOperationElement:()=>J2,isParameterElement:()=>_4,isPathItemElement:()=>u1,isPathsElement:()=>k4,isReferenceElement:()=>An,isRequestBodyElement:()=>O4,isResponseElement:()=>Jy,isResponsesElement:()=>A4,isSchemaElement:()=>C4,isSecurityRequirementElement:()=>P4,isSecuritySchemeElement:()=>T4,isServerElement:()=>N4,isServerVariableElement:()=>I4,isServersElement:()=>W2});var ne={};Re.r(ne),Re.d(ne,{isJSONReferenceElement:()=>n1,isJSONSchemaElement:()=>LI,isLinkDescriptionElement:()=>BI,isMediaElement:()=>F2});var ae={};Re.r(ae),Re.d(ae,{isJSONReferenceElement:()=>n1,isJSONSchemaElement:()=>WI,isLinkDescriptionElement:()=>HI});var Ce={};Re.r(Ce),Re.d(Ce,{isJSONSchemaElement:()=>p5,isLinkDescriptionElement:()=>h5});var he={};Re.r(he),Re.d(he,{isJSONSchemaElement:()=>w5,isLinkDescriptionElement:()=>E5});var ge={};Re.r(ge),Re.d(ge,{isBooleanJsonSchemaElement:()=>Q1,isCallbackElement:()=>r8,isComponentsElement:()=>n8,isContactElement:()=>a8,isExampleElement:()=>o8,isExternalDocumentationElement:()=>i8,isHeaderElement:()=>s8,isInfoElement:()=>l8,isJsonSchemaDialectElement:()=>kx,isLicenseElement:()=>c8,isLinkElement:()=>u8,isMediaTypeElement:()=>x8,isOpenApi3_1Element:()=>Ox,isOpenapiElement:()=>p8,isOperationElement:()=>Ax,isParameterElement:()=>h8,isPathItemElement:()=>cp,isPathItemElementExternal:()=>d8,isPathsElement:()=>f8,isReferenceElement:()=>up,isReferenceElementExternal:()=>m8,isRequestBodyElement:()=>g8,isResponseElement:()=>y8,isResponsesElement:()=>v8,isSchemaElement:()=>ks,isSecurityRequirementElement:()=>b8,isSecuritySchemeElement:()=>w8,isServerElement:()=>E8,isServerVariableElement:()=>S8});var ke={};Re.r(ke),Re.d(ke,{cookie:()=>fR,header:()=>dR,path:()=>uR,query:()=>pR});var Le={};Re.r(Le),Re.d(Le,{Button:()=>ck,Col:()=>ND,Collapse:()=>dk,Container:()=>TD,Input:()=>RD,Link:()=>pk,Row:()=>ID,Select:()=>uk,TextArea:()=>MD});var Be={};Re.r(Be),Re.d(Be,{basePath:()=>G$,consumes:()=>Y$,definitions:()=>V$,findDefinition:()=>z$,hasHost:()=>J$,host:()=>K$,produces:()=>X$,schemes:()=>Q$,securityDefinitions:()=>W$,validOperationMethods:()=>H$});var $e={};Re.r($e),Re.d($e,{definitionsToAuthorize:()=>Z$});var Ke={};Re.r(Ke),Re.d(Ke,{callbacksOperations:()=>iL,findSchema:()=>oL,isOAS3:()=>nL,isOAS30:()=>rL,isSwagger2:()=>tL,servers:()=>aL});var st={};Re.r(st),Re.d(st,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>Rv,CLEAR_REQUEST_BODY_VALUE:()=>wE,SET_REQUEST_BODY_VALIDATE_ERROR:()=>bE,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>mE,UPDATE_REQUEST_BODY_INCLUSION:()=>fE,UPDATE_REQUEST_BODY_VALUE:()=>hE,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>dE,UPDATE_REQUEST_CONTENT_TYPE:()=>gE,UPDATE_RESPONSE_CONTENT_TYPE:()=>yE,UPDATE_SELECTED_SERVER:()=>pE,UPDATE_SERVER_VARIABLE_VALUE:()=>vE,clearRequestBodyValidateError:()=>IL,clearRequestBodyValue:()=>RL,initRequestBodyValidateError:()=>ML,setActiveExamplesMember:()=>CL,setRequestBodyInclusion:()=>AL,setRequestBodyValidateError:()=>NL,setRequestBodyValue:()=>kL,setRequestContentType:()=>jL,setResponseContentType:()=>PL,setRetainRequestBodyValueFlag:()=>OL,setSelectedServer:()=>_L,setServerVariableValue:()=>TL});var Me={};Re.r(Me),Re.d(Me,{activeExamplesMember:()=>JL,hasUserEditedBody:()=>UL,requestBodyErrors:()=>VL,requestBodyInclusionSetting:()=>zL,requestBodyValue:()=>LL,requestContentType:()=>WL,responseContentType:()=>HL,selectDefaultRequestBodyValue:()=>qL,selectedServer:()=>$L,serverEffectiveValue:()=>YL,serverVariableValue:()=>KL,serverVariables:()=>GL,shouldRetainRequestBodyValue:()=>BL,validOperationMethods:()=>ZL,validateBeforeExecute:()=>XL,validateShallowRequired:()=>QL});var p=Re(96540);function et(t){return`Minified Redux error #${t}; visit https://redux.js.org/Errors?code=${t} for the full message or use the non-minified dev environment for full errors. `}var ze=typeof Symbol=="function"&&Symbol.observable||"@@observable",xe=()=>Math.random().toString(36).substring(7).split("").join("."),Ne={INIT:`@@redux/INIT${xe()}`,REPLACE:`@@redux/REPLACE${xe()}`};function rt(t){if(typeof t!="object"||t===null)return!1;let e=t;for(;Object.getPrototypeOf(e)!==null;)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e||Object.getPrototypeOf(t)===null}function gt(t,e,r){if(typeof t!="function")throw new Error(et(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(et(0));if(typeof e=="function"&&r===void 0&&(r=e,e=void 0),r!==void 0){if(typeof r!="function")throw new Error(et(1));return r(gt)(t,e)}let n=t,a=e,o=new Map,u=o,c=0,d=!1;function S(){u===o&&(u=new Map,o.forEach(((R,$)=>{u.set($,R)})))}function _(){if(d)throw new Error(et(3));return a}function O(R){if(typeof R!="function")throw new Error(et(4));if(d)throw new Error(et(5));let $=!0;S();const L=c++;return u.set(L,R),function(){if($){if(d)throw new Error(et(6));$=!1,S(),u.delete(L),o=null}}}function j(R){if(!rt(R))throw new Error(et(7));if(R.type===void 0)throw new Error(et(8));if(typeof R.type!="string")throw new Error(et(17));if(d)throw new Error(et(9));try{d=!0,a=n(a,R)}finally{d=!1}return(o=u).forEach(($=>{$()})),R}return j({type:Ne.INIT}),{dispatch:j,subscribe:O,getState:_,replaceReducer:function($){if(typeof $!="function")throw new Error(et(10));n=$,j({type:Ne.REPLACE})},[ze]:function(){const $=O;return{subscribe(L){if(typeof L!="object"||L===null)throw new Error(et(11));function q(){const X=L;X.next&&X.next(_())}return q(),{unsubscribe:$(q)}},[ze](){return this}}}}}function it(t,e){return function(...r){return e(t.apply(this,r))}}function St(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce(((e,r)=>(...n)=>e(r(...n))))}var Y=Re(9404),ye=Re.n(Y),nt=Re(81919),at=Re.n(nt),Xt=Re(89593),tr=Re(20334),wt=Re(55364),Nt=Re.n(wt);const Jt="err_new_thrown_err",Et="err_new_thrown_err_batch",ct="err_new_spec_err",Rt="err_new_spec_err_batch",pe="err_new_auth_err",z="err_clear",W="err_clear_by";function ee(t){return{type:Jt,payload:(0,tr.serializeError)(t)}}function de(t){return{type:Et,payload:t}}function we(t){return{type:ct,payload:t}}function Ie(t){return{type:Rt,payload:t}}function mt(t){return{type:pe,payload:t}}function At(t={}){return{type:z,payload:t}}function lt(t=()=>!0){return{type:W,payload:t}}const yt=(function(){var e={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if(typeof window=="undefined")return e;try{e=window;for(var r of["File","Blob","FormData"])r in window&&(e[r]=window[r])}catch(n){}return e})();Re(84058),Re(55808);var Ot=Re(50104),Ir=Re.n(Ot),$r=Re(7309),hn=Re.n($r),Lr=Re(42426),xn=Re.n(Lr),Pa=Re(75288),Dr=Re.n(Pa),Qr=Re(1882),wn=Re.n(Qr),Ka=Re(2205),Mn=Re.n(Ka),Tn=Re(53209),sa=Re.n(Tn),Uo=Re(62802),zo=Re.n(Uo);const Ht=ye().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function er(t,{isOAS3:e}={}){if(!ye().Map.isMap(t))return{schema:ye().Map(),parameterContentMediaType:null};if(!e)return t.get("in")==="body"?{schema:t.get("schema",ye().Map()),parameterContentMediaType:null}:{schema:t.filter(((r,n)=>Ht.includes(n))),parameterContentMediaType:null};if(t.get("content")){const r=t.get("content",ye().Map({})).keySeq().first();return{schema:t.getIn(["content",r,"schema"],ye().Map()),parameterContentMediaType:r}}return{schema:t.get("schema")?t.get("schema",ye().Map()):ye().Map(),parameterContentMediaType:null}}var vr=Re(48287).Buffer;const Tr="default",kr=t=>ye().Iterable.isIterable(t),Rn=t=>kr(t)?t.toJS():t;function Zr(t){return Yn(t)?Rn(t):{}}function Vr(t){if(kr(t)||t instanceof yt.File||!Yn(t))return t;if(Array.isArray(t))return ye().Seq(t).map(Vr).toList();if(wn()(t.entries)){const e=(function(n){if(!wn()(n.entries))return n;const a={},o="_**[]",u={};for(let c of n.entries())a[c[0]]||u[c[0]]&&u[c[0]].containsMultiple?(u[c[0]]||(u[c[0]]={containsMultiple:!0,length:1},a[`${c[0]}${o}${u[c[0]].length}`]=a[c[0]],delete a[c[0]]),u[c[0]].length+=1,a[`${c[0]}${o}${u[c[0]].length}`]=c[1]):a[c[0]]=c[1];return a})(t);return ye().OrderedMap(e).map(Vr)}return ye().OrderedMap(t).map(Vr)}function En(t){return Array.isArray(t)?t:[t]}function rn(t){return typeof t=="function"}function Yn(t){return!!t&&typeof t=="object"}function ra(t){return typeof t=="function"}function Ta(t){return Array.isArray(t)}const _i=Ir();function Ga(t,e){return Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n),r)),{})}function La(t,e){return Object.keys(t).reduce(((r,n)=>{let a=e(t[n],n);return a&&typeof a=="object"&&Object.assign(r,a),r}),{})}function _r(t){return({dispatch:e,getState:r})=>n=>a=>typeof a=="function"?a(t()):n(a)}function na(t,e,r,n,a){if(!e)return[];let o=[],u=e.get("nullable"),c=e.get("required"),d=e.get("maximum"),S=e.get("minimum"),_=e.get("type"),O=e.get("format"),j=e.get("maxLength"),R=e.get("minLength"),$=e.get("uniqueItems"),L=e.get("maxItems"),q=e.get("minItems"),X=e.get("pattern");const D=r||c===!0,se=t!=null,te=D||se&&_==="array"||!(!D&&!se),le=u&&t===null;if(D&&!se&&!le&&!n&&!_)return o.push("Required field is not provided"),o;if(le||!_||!te)return[];let ce=_==="string"&&t,ie=_==="array"&&Array.isArray(t)&&t.length,_e=_==="array"&&ye().List.isList(t)&&t.count();const me=[ce,ie,_e,_==="array"&&typeof t=="string"&&t,_==="file"&&t instanceof yt.File,_==="boolean"&&(t||t===!1),_==="number"&&(t||t===0),_==="integer"&&(t||t===0),_==="object"&&typeof t=="object"&&t!==null,_==="object"&&typeof t=="string"&&t].some((ue=>!!ue));if(D&&!me&&!n)return o.push("Required field is not provided"),o;if(_==="object"&&(a===null||a==="application/json")){let ue=t;if(typeof t=="string")try{ue=JSON.parse(t)}catch(ve){return o.push("Parameter string value must be valid JSON"),o}e&&e.has("required")&&ra(c.isList)&&c.isList()&&c.forEach((ve=>{ue[ve]===void 0&&o.push({propKey:ve,error:"Required property not found"})})),e&&e.has("properties")&&e.get("properties").forEach(((ve,fe)=>{const be=na(ue[fe],ve,!1,n,a);o.push(...be.map((je=>({propKey:fe,error:je}))))}))}if(X){let ue=((ve,fe)=>{if(!new RegExp(fe).test(ve))return"Value must follow pattern "+fe})(t,X);ue&&o.push(ue)}if(q&&_==="array"){let ue=((ve,fe)=>{if(!ve&&fe>=1||ve&&ve.length<fe)return`Array must contain at least ${fe} item${fe===1?"":"s"}`})(t,q);ue&&o.push(ue)}if(L&&_==="array"){let ue=((ve,fe)=>{if(ve&&ve.length>fe)return`Array must not contain more then ${fe} item${fe===1?"":"s"}`})(t,L);ue&&o.push({needRemove:!0,error:ue})}if($&&_==="array"){let ue=((ve,fe)=>{if(ve&&(fe==="true"||fe===!0)){const be=(0,Y.fromJS)(ve),je=be.toSet();if(ve.length>je.size){let qe=(0,Y.Set)();if(be.forEach(((pt,_t)=>{be.filter((It=>ra(It.equals)?It.equals(pt):It===pt)).size>1&&(qe=qe.add(_t))})),qe.size!==0)return qe.map((pt=>({index:pt,error:"No duplicates allowed."}))).toArray()}}})(t,$);ue&&o.push(...ue)}if(j||j===0){let ue=((ve,fe)=>{if(ve.length>fe)return`Value must be no longer than ${fe} character${fe!==1?"s":""}`})(t,j);ue&&o.push(ue)}if(R){let ue=((ve,fe)=>{if(ve.length<fe)return`Value must be at least ${fe} character${fe!==1?"s":""}`})(t,R);ue&&o.push(ue)}if(d||d===0){let ue=((ve,fe)=>{if(ve>fe)return`Value must be less than or equal to ${fe}`})(t,d);ue&&o.push(ue)}if(S||S===0){let ue=((ve,fe)=>{if(ve<fe)return`Value must be greater than or equal to ${fe}`})(t,S);ue&&o.push(ue)}if(_==="string"){let ue;if(ue=O==="date-time"?(ve=>{if(isNaN(Date.parse(ve)))return"Value must be a DateTime"})(t):O==="uuid"?(ve=>{if(ve=ve.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(ve))return"Value must be a Guid"})(t):(ve=>{if(ve&&typeof ve!="string")return"Value must be a string"})(t),!ue)return o;o.push(ue)}else if(_==="boolean"){let ue=(ve=>{if(ve!=="true"&&ve!=="false"&&ve!==!0&&ve!==!1)return"Value must be a boolean"})(t);if(!ue)return o;o.push(ue)}else if(_==="number"){let ue=(ve=>{if(!/^-?\d+(\.?\d+)?$/.test(ve))return"Value must be a number"})(t);if(!ue)return o;o.push(ue)}else if(_==="integer"){let ue=(ve=>{if(!/^-?\d+$/.test(ve))return"Value must be an integer"})(t);if(!ue)return o;o.push(ue)}else if(_==="array"){if(!ie&&!_e)return o;t&&t.forEach(((ue,ve)=>{const fe=na(ue,e.get("items"),!1,n,a);o.push(...fe.map((be=>({index:ve,error:be}))))}))}else if(_==="file"){let ue=(ve=>{if(ve&&!(ve instanceof yt.File))return"Value must be a file"})(t);if(!ue)return o;o.push(ue)}return o}const sr=t=>{let e;return e=t instanceof vr?t:vr.from(t.toString(),"utf-8"),e.toString("base64")},mn={operationsSorter:{alpha:(t,e)=>t.get("path").localeCompare(e.get("path")),method:(t,e)=>t.get("method").localeCompare(e.get("method"))},tagsSorter:{alpha:(t,e)=>t.localeCompare(e)}},ko=t=>{let e=[];for(let r in t){let n=t[r];n!==void 0&&n!==""&&e.push([r,"=",encodeURIComponent(n).replace(/%20/g,"+")].join(""))}return e.join("&")},Vo=(t,e,r)=>!!hn()(r,(n=>Dr()(t[n],e[n])));function Or(t){return!(!t||t.indexOf("localhost")>=0||t.indexOf("127.0.0.1")>=0||t==="none")}const Ya=t=>typeof t=="string"||t instanceof String?t.trim().replace(/\s/g,"%20"):"",Dt=t=>Mn()(Ya(t).replace(/%20/g,"_")),ar=t=>/^x-/.test(t),Zt=t=>Y.Map.isMap(t)?t.filter(((e,r)=>ar(r))):Object.keys(t).filter((e=>ar(e))),br=t=>t.filter(((e,r)=>/^pattern|maxLength|minLength|maximum|minimum/.test(r)));function zn(t,e,r=()=>!0){if(typeof t!="object"||Array.isArray(t)||t===null||!e)return t;const n=Object.assign({},t);return Object.keys(n).forEach((a=>{a===e&&r(n[a],a)?delete n[a]:n[a]=zn(n[a],e,r)})),n}function Gr(t){if(typeof t=="string")return t;if(t&&t.toJS&&(t=t.toJS()),typeof t=="object"&&t!==null)try{return JSON.stringify(t,null,2)}catch(e){return String(t)}return t==null?"":t.toString()}function fo(t,{returnAll:e=!1,allowHashes:r=!0}={}){if(!ye().Map.isMap(t))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");const n=t.get("name"),a=t.get("in");let o=[];return t&&t.hashCode&&a&&n&&r&&o.push(`${a}.${n}.hash-${t.hashCode()}`),a&&n&&o.push(`${a}.${n}`),o.push(n),e?o:o[0]||""}function mo(t,e){return fo(t,{returnAll:!0}).map((r=>e[r])).filter((r=>r!==void 0))[0]}function Vn(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const Ba=t=>!t||!(!kr(t)||!t.isEmpty()),ec=t=>t;function Sp(t,e,r){let n=[_r(r)];return gt(t,e,(yt.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||St)((function(...o){return u=>(c,d)=>{const S=u(c,d);let _=()=>{throw new Error(et(15))};const O={getState:S.getState,dispatch:(R,...$)=>_(R,...$)},j=o.map((R=>R(O)));return _=St(...j)(S.dispatch),Nr(Ge({},S),{dispatch:_})}})(...n)))}class Ns{constructor(e={}){at()(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},e),this.getSystem=this._getSystem.bind(this),this.store=(function(n,a,o){return Sp(n,a,o)})(ec,(0,Y.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(e,r=!0){var n=hl(e,this.getSystem());dl(this.system,n),r&&this.buildSystem(),Gi.call(this.system,e,this.getSystem())&&this.buildSystem()}buildSystem(e=!0){let r=this.getStore().dispatch,n=this.getStore().getState;this.boundSystem=Object.assign({},this.getRootInjects(),this.getWrappedAndBoundActions(r),this.getWrappedAndBoundSelectors(n,this.getSystem),this.getStateThunks(n),this.getFn(),this.getConfigs()),e&&this.rebuildReducer()}_getSystem(){return this.boundSystem}getRootInjects(){return Object.assign({getSystem:this.getSystem,getStore:this.getStore.bind(this),getComponents:this.getComponents.bind(this),getState:this.getStore().getState,getConfigs:this._getConfigs.bind(this),Im:ye(),React:p},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(e){this.system.configs=e}rebuildReducer(){this.store.replaceReducer((function(r,n){return(function(o,u){let c=Object.keys(o).reduce(((d,S)=>(d[S]=(function(O,j){return(R=new Y.Map,$)=>{if(!O)return R;let L=O[$.type];if(L){const q=ki(L,j)(R,$);return q===null?R:q}return R}})(o[S],u),d)),{});return Object.keys(c).length?(0,Xt.H)(c):ec})(Ga(r,(a=>a.reducers)),n)})(this.system.statePlugins,this.getSystem))}getType(e){let r=e[0].toUpperCase()+e.slice(1);return La(this.system.statePlugins,((n,a)=>{let o=n[e];if(o)return{[a+r]:o}}))}getSelectors(){return this.getType("selectors")}getActions(){return Ga(this.getType("actions"),(e=>La(e,((r,n)=>{if(rn(r))return{[n]:r}}))))}getWrappedAndBoundActions(e){return Ga(this.getBoundActions(e),((r,n)=>{let a=this.system.statePlugins[n.slice(0,-7)].wrapActions;return a?Ga(r,((o,u)=>{let c=a[u];return c?(Array.isArray(c)||(c=[c]),c.reduce(((d,S)=>{let _=(...O)=>S(d,this.getSystem())(...O);if(!rn(_))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return ki(_,this.getSystem)}),o||Function.prototype)):o})):r}))}getWrappedAndBoundSelectors(e,r){return Ga(this.getBoundSelectors(e,r),((n,a)=>{let o=[a.slice(0,-9)],u=this.system.statePlugins[o].wrapSelectors;return u?Ga(n,((c,d)=>{let S=u[d];return S?(Array.isArray(S)||(S=[S]),S.reduce(((_,O)=>{let j=(...R)=>O(_,this.getSystem())(e().getIn(o),...R);if(!rn(j))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return j}),c||Function.prototype)):c})):n}))}getStates(e){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=e.get(n),r)),{})}getStateThunks(e){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=()=>e().get(n),r)),{})}getFn(){return{fn:this.system.fn}}getComponents(e){const r=this.system.components[e];return Array.isArray(r)?r.reduce(((n,a)=>a(n,this.getSystem()))):e!==void 0?this.system.components[e]:this.system.components}getBoundSelectors(e,r){return Ga(this.getSelectors(),((n,a)=>{let o=[a.slice(0,-9)];return Ga(n,(u=>(...c)=>{let d=ki(u,this.getSystem).apply(null,[e().getIn(o),...c]);return typeof d=="function"&&(d=ki(d,this.getSystem)(r())),d}))}))}getBoundActions(e){e=e||this.getStore().dispatch;const r=this.getActions(),n=a=>typeof a!="function"?Ga(a,(o=>n(o))):(...o)=>{var u=null;try{u=a(...o)}catch(c){u={type:Jt,error:!0,payload:(0,tr.serializeError)(c)}}finally{return u}};return Ga(r,(a=>(function(u,c){if(typeof u=="function")return it(u,c);if(typeof u!="object"||u===null)throw new Error(et(16));const d={};for(const S in u){const _=u[S];typeof _=="function"&&(d[S]=it(_,c))}return d})(n(a),e)))}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(e){return r=>at()({},this.getWrappedAndBoundActions(r),this.getFn(),e)}}function hl(t,e){return Yn(t)&&!Ta(t)?Nt()({},t):ra(t)?hl(t(e),e):Ta(t)?t.map((r=>hl(r,e))).reduce(dl,{components:e.getComponents()}):{}}function Gi(t,e,{hasLoaded:r}={}){let n=r;return Yn(t)&&!Ta(t)&&typeof t.afterLoad=="function"&&(n=!0,ki(t.afterLoad,e.getSystem).call(this,e)),ra(t)?Gi.call(this,t(e),e,{hasLoaded:n}):Ta(t)?t.map((a=>Gi.call(this,a,e,{hasLoaded:n}))):n}function dl(t={},e={}){if(!Yn(t))return{};if(!Yn(e))return t;e.wrapComponents&&(Ga(e.wrapComponents,((n,a)=>{const o=t.components&&t.components[a];o&&Array.isArray(o)?(t.components[a]=o.concat([n]),delete e.wrapComponents[a]):o&&(t.components[a]=[o,n],delete e.wrapComponents[a])})),Object.keys(e.wrapComponents).length||delete e.wrapComponents);const{statePlugins:r}=t;if(Yn(r))for(let n in r){const a=r[n];if(!Yn(a))continue;const{wrapActions:o,wrapSelectors:u}=a;if(Yn(o))for(let c in o){let d=o[c];Array.isArray(d)||(d=[d],o[c]=d),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapActions&&e.statePlugins[n].wrapActions[c]&&(e.statePlugins[n].wrapActions[c]=o[c].concat(e.statePlugins[n].wrapActions[c]))}if(Yn(u))for(let c in u){let d=u[c];Array.isArray(d)||(d=[d],u[c]=d),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapSelectors&&e.statePlugins[n].wrapSelectors[c]&&(e.statePlugins[n].wrapSelectors[c]=u[c].concat(e.statePlugins[n].wrapSelectors[c]))}}return at()(t,e)}function ki(t,e,{logErrors:r=!0}={}){return typeof t!="function"?t:function(...n){try{return t.call(this,...n)}catch(a){if(r){const{uncaughtExceptionHandler:o}=e().getConfigs();typeof o=="function"&&o(a)}return null}}}var tc=Re(61160),Yi=Re.n(tc);const Is="show_popup",Oi="authorize",Ms="logout",Jr="authorize_oauth2",rc="configure_auth",nc="restore_authorization";function au(t){return{type:Is,payload:t}}function xp(t){return{type:Oi,payload:t}}const _p=t=>({authActions:e})=>{e.authorize(t),e.persistAuthorizationIfNeeded()};function gn(t){return{type:Ms,payload:t}}const ac=t=>({authActions:e})=>{e.logout(t),e.persistAuthorizationIfNeeded()},fl=t=>({authActions:e,errActions:r})=>{let{auth:n,token:a,isValid:o}=t,{schema:u,name:c}=n,d=u.get("flow");delete yt.swaggerUIRedirectOauth2,d==="accessCode"||o||r.newAuthErr({authId:c,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),a.error?r.newAuthErr({authId:c,source:"auth",level:"error",message:JSON.stringify(a)}):e.authorizeOauth2WithPersistOption({auth:n,token:a})};function Dn(t){return{type:Jr,payload:t}}const Na=t=>({authActions:e})=>{e.authorizeOauth2(t),e.persistAuthorizationIfNeeded()},ni=t=>({authActions:e})=>{let{schema:r,name:n,username:a,password:o,passwordType:u,clientId:c,clientSecret:d}=t,S={grant_type:"password",scope:t.scopes.join(" "),username:a,password:o},_={};switch(u){case"request-body":(function(j,R,$){R&&Object.assign(j,{client_id:R}),$&&Object.assign(j,{client_secret:$})})(S,c,d);break;case"basic":_.Authorization="Basic "+sr(c+":"+d);break;default:}return e.authorizeRequest({body:ko(S),url:r.get("tokenUrl"),name:n,headers:_,query:{},auth:t})},Rs=t=>({authActions:e})=>{let{schema:r,scopes:n,name:a,clientId:o,clientSecret:u}=t,c={Authorization:"Basic "+sr(o+":"+u)},d={grant_type:"client_credentials",scope:n.join(" ")};return e.authorizeRequest({body:ko(d),name:a,url:r.get("tokenUrl"),auth:t,headers:c})},ai=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:a,clientId:o,clientSecret:u,codeVerifier:c}=t,d={grant_type:"authorization_code",code:t.code,client_id:o,client_secret:u,redirect_uri:e,code_verifier:c};return r.authorizeRequest({body:ko(d),name:a,url:n.get("tokenUrl"),auth:t})},oi=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:a,clientId:o,clientSecret:u,codeVerifier:c}=t,d={Authorization:"Basic "+sr(o+":"+u)},S={grant_type:"authorization_code",code:t.code,client_id:o,redirect_uri:e,code_verifier:c};return r.authorizeRequest({body:ko(S),name:a,url:n.get("tokenUrl"),auth:t,headers:d})},ml=t=>({fn:e,getConfigs:r,authActions:n,errActions:a,oas3Selectors:o,specSelectors:u,authSelectors:c})=>{let d,{body:S,query:_={},headers:O={},name:j,url:R,auth:$}=t,{additionalQueryStringParams:L}=c.getConfigs()||{};if(u.isOAS3()){let D=o.serverEffectiveValue(o.selectedServer());d=Yi()(R,D,!0)}else d=Yi()(R,u.url(),!0);typeof L=="object"&&(d.query=Object.assign({},d.query,L));const q=d.toString();let X=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},O);e.fetch({url:q,method:"post",headers:X,query:_,body:S,requestInterceptor:r().requestInterceptor,responseInterceptor:r().responseInterceptor}).then((function(D){let se=JSON.parse(D.data),te=se&&(se.error||""),le=se&&(se.parseError||"");D.ok?te||le?a.newAuthErr({authId:j,level:"error",source:"auth",message:JSON.stringify(se)}):n.authorizeOauth2WithPersistOption({auth:$,token:se}):a.newAuthErr({authId:j,level:"error",source:"auth",message:D.statusText})})).catch((D=>{let se=new Error(D).message;if(D.response&&D.response.data){const te=D.response.data;try{const le=typeof te=="string"?JSON.parse(te):te;le.error&&(se+=`, error: ${le.error}`),le.error_description&&(se+=`, description: ${le.error_description}`)}catch(le){}}a.newAuthErr({authId:j,level:"error",source:"auth",message:se})}))};function oc(t){return{type:rc,payload:t}}function gl(t){return{type:nc,payload:t}}const ic=()=>({authSelectors:t,getConfigs:e})=>{if(!e().persistAuthorization)return;const r=t.authorized().toJS();localStorage.setItem("authorized",JSON.stringify(r))},ii=(t,e)=>()=>{yt.swaggerUIRedirectOauth2=e,yt.open(t)},ou={[Is]:(t,{payload:e})=>t.set("showDefinitions",e),[Oi]:(t,{payload:e})=>{let r=(0,Y.fromJS)(e),n=t.get("authorized")||(0,Y.Map)();return r.entrySeq().forEach((([a,o])=>{if(!ra(o.getIn))return t.set("authorized",n);let u=o.getIn(["schema","type"]);if(u==="apiKey"||u==="http")n=n.set(a,o);else if(u==="basic"){let c=o.getIn(["value","username"]),d=o.getIn(["value","password"]);n=n.setIn([a,"value"],{username:c,header:"Basic "+sr(c+":"+d)}),n=n.setIn([a,"schema"],o.get("schema"))}})),t.set("authorized",n)},[Jr]:(t,{payload:e})=>{let r,{auth:n,token:a}=e;n.token=Object.assign({},a),r=(0,Y.fromJS)(n);let o=t.get("authorized")||(0,Y.Map)();return o=o.set(r.get("name"),r),t.set("authorized",o)},[Ms]:(t,{payload:e})=>{let r=t.get("authorized").withMutations((n=>{e.forEach((a=>{n.delete(a)}))}));return t.set("authorized",r)},[rc]:(t,{payload:e})=>t.set("configs",e),[nc]:(t,{payload:e})=>t.set("authorized",(0,Y.fromJS)(e.authorized))};function Ai(t,e="expected a function, instead received "+typeof t){if(typeof t!="function")throw new TypeError(e)}var si=t=>Array.isArray(t)?t:[t];function li(t){const e=Array.isArray(t[0])?t[0]:t;return(function(n,a="expected all items to be functions, instead received the following types: "){if(!n.every((o=>typeof o=="function"))){const o=n.map((u=>typeof u=="function"?`function ${u.name||"unnamed"}()`:typeof u)).join(", ");throw new TypeError(`${a}[${o}]`)}})(e,"createSelector expects all input-selectors to be functions, but received the following types: "),e}var yn=typeof WeakRef!="undefined"?WeakRef:class{constructor(t){this.value=t}deref(){return this.value}};function Ds(t,e={}){let r={s:0,v:void 0,o:null,p:null};const{resultEqualityCheck:n}=e;let a,o=0;function u(){var O,j;let c=r;const{length:d}=arguments;for(let R=0,$=d;R<$;R++){const L=arguments[R];if(typeof L=="function"||typeof L=="object"&&L!==null){let q=c.o;q===null&&(c.o=q=new WeakMap);const X=q.get(L);X===void 0?(c={s:0,v:void 0,o:null,p:null},q.set(L,c)):c=X}else{let q=c.p;q===null&&(c.p=q=new Map);const X=q.get(L);X===void 0?(c={s:0,v:void 0,o:null,p:null},q.set(L,c)):c=X}}const S=c;let _;if(c.s===1)_=c.v;else if(_=t.apply(null,arguments),o++,n){const R=(j=(O=a==null?void 0:a.deref)==null?void 0:O.call(a))!=null?j:a;R!=null&&n(R,_)&&(_=R,o!==0&&o--),a=typeof _=="object"&&_!==null||typeof _=="function"?new yn(_):_}return S.s=1,S.v=_,_}return u.clearCache=()=>{r={s:0,v:void 0,o:null,p:null},u.resetResultsCount()},u.resultsCount=()=>o,u.resetResultsCount=()=>{o=0},u}function iu(t,...e){const r=typeof t=="function"?{memoize:t,memoizeOptions:e}:t,n=(...a)=>{let o,u=0,c=0,d={},S=a.pop();typeof S=="object"&&(d=S,S=a.pop()),Ai(S,`createSelector expects an output function after the inputs, but received: [${typeof S}]`);const _=Ge(Ge({},r),d),{memoize:O,memoizeOptions:j=[],argsMemoize:R=Ds,argsMemoizeOptions:$=[]}=_,L=si(j),q=si($),X=li(a),D=O((function(){return u++,S.apply(null,arguments)}),...L),se=R((function(){c++;const le=(function(ie,_e){const me=[],{length:ue}=ie;for(let ve=0;ve<ue;ve++)me.push(ie[ve].apply(null,_e));return me})(X,arguments);return o=D.apply(null,le),o}),...q);return Object.assign(se,{resultFunc:S,memoizedResultFunc:D,dependencies:X,dependencyRecomputations:()=>c,resetDependencyRecomputations:()=>{c=0},lastResult:()=>o,recomputations:()=>u,resetRecomputations:()=>{u=0},memoize:O,argsMemoize:R})};return Object.assign(n,{withTypes:()=>n}),n}var lr=iu(Ds),sc=Object.assign(((t,e=lr)=>{(function(a,o="expected an object, instead received "+typeof a){if(typeof a!="object")throw new TypeError(o)})(t,"createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);const r=Object.keys(t);return e(r.map((n=>t[n])),((...n)=>n.reduce(((a,o,u)=>(a[r[u]]=o,a)),{})))}),{withTypes:()=>sc});const la=t=>t,Ci=lr(la,(t=>t.get("showDefinitions"))),Xi=lr(la,(()=>({specSelectors:t})=>{let e=t.securityDefinitions()||(0,Y.Map)({}),r=(0,Y.List)();return e.entrySeq().forEach((([n,a])=>{let o=(0,Y.Map)();o=o.set(n,a),r=r.push(o)})),r})),go=(t,e)=>({specSelectors:r})=>(0,Y.List)(r.isOAS3()?["components","securitySchemes",e]:["securityDefinitions",e]),lc=(t,e)=>({specSelectors:r})=>{let n=r.securityDefinitions(),a=(0,Y.List)();return e.valueSeq().forEach((o=>{let u=(0,Y.Map)();o.entrySeq().forEach((([c,d])=>{let S,_=n.get(c);_.get("type")==="oauth2"&&d.size&&(S=_.get("scopes"),S.keySeq().forEach((O=>{d.contains(O)||(S=S.delete(O))})),_=_.set("allowedScopes",S)),u=u.set(c,_)})),a=a.push(u)})),a},yl=(t,e=(0,Y.List)())=>({authSelectors:r})=>{const n=r.definitionsToAuthorize()||(0,Y.List)();let a=(0,Y.List)();return n.forEach((o=>{let u=e.find((c=>c.get(o.keySeq().first())));u&&(o.forEach(((c,d)=>{if(c.get("type")==="oauth2"){const S=u.get(d);let _=c.get("scopes");Y.List.isList(S)&&Y.Map.isMap(_)&&(_.keySeq().forEach((O=>{S.contains(O)||(_=_.delete(O))})),o=o.set(d,c.set("scopes",_)))}})),a=a.push(o))})),a},cc=lr(la,(t=>t.get("authorized")||(0,Y.Map)())),vl=(t,e)=>({authSelectors:r})=>{let n=r.authorized();return Y.List.isList(e)?!!e.toJS().filter((a=>Object.keys(a).map((o=>!!n.get(o))).indexOf(!1)===-1)).length:null},uc=lr(la,(t=>t.get("configs"))),kp=(t,{authSelectors:e,specSelectors:r})=>({path:n,method:a,operation:o,extras:u})=>{let c={authorized:e.authorized()&&e.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()};return t(Ge({path:n,method:a,operation:o,securities:c},u))},Ia=(t,e)=>r=>{const{getConfigs:n,authActions:a}=e,o=n();if(t(r),o.persistAuthorization){const u=localStorage.getItem("authorized");u&&a.restoreAuthorization({authorized:JSON.parse(u)})}},su=(t,e)=>r=>{if(t(r),e.getConfigs().persistAuthorization)try{const[{schema:n,value:a}]=Object.values(r),o=(0,Y.fromJS)(n),u=o.get("type")==="apiKey",c=o.get("in")==="cookie";u&&c&&(document.cookie=`${o.get("name")}=${a}; SameSite=None; Secure`)}catch(n){}},pc=(t,e)=>r=>{const n=e.getConfigs(),a=e.authSelectors.authorized();try{n.persistAuthorization&&Array.isArray(r)&&r.forEach((o=>{const u=a.get(o,{}),c=u.getIn(["schema","type"])==="apiKey",d=u.getIn(["schema","in"])==="cookie";if(c&&d){const S=u.getIn(["schema","name"]);document.cookie=`${S}=; Max-Age=-99999999`}}))}catch(o){}t(r)};var bl=Re(90179),ci=Re.n(bl);class lu extends p.Component{mapStateToProps(e,r){return{state:e,ownProps:ci()(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("LockIcon");return p.createElement(n,r)}}const Fs=lu;class $s extends p.Component{mapStateToProps(e,r){return{state:e,ownProps:ci()(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("UnlockIcon");return p.createElement(n,r)}}const ji=$s;function hc(){return{afterLoad(t){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=t.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=nn.bind(null,t),this.rootInjects.preauthorizeBasic=cu.bind(null,t)},components:{LockAuthIcon:Fs,UnlockAuthIcon:ji,LockAuthOperationIcon:Fs,UnlockAuthOperationIcon:ji},statePlugins:{auth:{reducers:ou,actions:C,selectors:s,wrapActions:{authorize:su,logout:pc}},configs:{wrapActions:{loaded:Ia}},spec:{wrapActions:{execute:kp}}}}}function cu(t,e,r,n){const{authActions:{authorize:a},specSelectors:{specJson:o,isOAS3:u}}=t,c=u()?["components","securitySchemes"]:["securityDefinitions"],d=o().getIn([...c,e]);return d?a({[e]:{value:{username:r,password:n},schema:d.toJS()}}):null}function nn(t,e,r){const{authActions:{authorize:n},specSelectors:{specJson:a,isOAS3:o}}=t,u=o()?["components","securitySchemes"]:["securityDefinitions"],c=a().getIn([...u,e]);return c?n({[e]:{value:r,schema:c.toJS()}}):null}function uu(t){return t==null}var Op=function(e,r){var n,a="";for(n=0;n<r;n+=1)a+=e;return a},Ap=function(e){return e===0&&Number.NEGATIVE_INFINITY===1/e},an={isNothing:uu,isObject:function(e){return typeof e=="object"&&e!==null},toArray:function(e){return Array.isArray(e)?e:uu(e)?[]:[e]},repeat:Op,isNegativeZero:Ap,extend:function(e,r){var n,a,o,u;if(r)for(n=0,a=(u=Object.keys(r)).length;n<a;n+=1)e[o=u[n]]=r[o];return e}};function dc(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+=`
|
||
|
||
`+t.mark.snippet),n+" "+r):n}function Ls(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=dc(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Ls.prototype=Object.create(Error.prototype),Ls.prototype.constructor=Ls,Ls.prototype.toString=function(e){return this.name+": "+dc(this,e)};var Ea=Ls;function Ma(t,e,r,n,a){var o="",u="",c=Math.floor(a/2)-1;return n-e>c&&(e=n-c+(o=" ... ").length),r-n>c&&(r=n+c-(u=" ...").length),{str:o+t.slice(e,r).replace(/\t/g,"→")+u,pos:n-e+o.length}}function Jn(t,e){return an.repeat(" ",e-t.length)+t}var fc=function(e,r){if(r=Object.create(r||null),!e.buffer)return null;r.maxLength||(r.maxLength=79),typeof r.indent!="number"&&(r.indent=1),typeof r.linesBefore!="number"&&(r.linesBefore=3),typeof r.linesAfter!="number"&&(r.linesAfter=2);for(var n,a=/\r?\n|\r|\0/g,o=[0],u=[],c=-1;n=a.exec(e.buffer);)u.push(n.index),o.push(n.index+n[0].length),e.position<=n.index&&c<0&&(c=o.length-2);c<0&&(c=o.length-1);var d,S,_="",O=Math.min(e.line+r.linesAfter,u.length).toString().length,j=r.maxLength-(r.indent+O+3);for(d=1;d<=r.linesBefore&&!(c-d<0);d++)S=Ma(e.buffer,o[c-d],u[c-d],e.position-(o[c]-o[c-d]),j),_=an.repeat(" ",r.indent)+Jn((e.line-d+1).toString(),O)+" | "+S.str+`
|
||
`+_;for(S=Ma(e.buffer,o[c],u[c],e.position,j),_+=an.repeat(" ",r.indent)+Jn((e.line+1).toString(),O)+" | "+S.str+`
|
||
`,_+=an.repeat("-",r.indent+O+3+S.pos)+`^
|
||
`,d=1;d<=r.linesAfter&&!(c+d>=u.length);d++)S=Ma(e.buffer,o[c+d],u[c+d],e.position-(o[c]-o[c+d]),j),_+=an.repeat(" ",r.indent)+Jn((e.line+d+1).toString(),O)+" | "+S.str+`
|
||
`;return _.replace(/\n$/,"")},Cp=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],jp=["scalar","sequence","mapping"],ba=function(e,r){if(r=r||{},Object.keys(r).forEach((function(n){if(Cp.indexOf(n)===-1)throw new Ea('Unknown option "'+n+'" is met in definition of "'+e+'" YAML type.')})),this.options=r,this.tag=e,this.kind=r.kind||null,this.resolve=r.resolve||function(){return!0},this.construct=r.construct||function(n){return n},this.instanceOf=r.instanceOf||null,this.predicate=r.predicate||null,this.represent=r.represent||null,this.representName=r.representName||null,this.defaultStyle=r.defaultStyle||null,this.multi=r.multi||!1,this.styleAliases=(function(a){var o={};return a!==null&&Object.keys(a).forEach((function(u){a[u].forEach((function(c){o[String(c)]=u}))})),o})(r.styleAliases||null),jp.indexOf(this.kind)===-1)throw new Ea('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function Sn(t,e){var r=[];return t[e].forEach((function(n){var a=r.length;r.forEach((function(o,u){o.tag===n.tag&&o.kind===n.kind&&o.multi===n.multi&&(a=u)})),r[a]=n})),r}function wl(t){return this.extend(t)}wl.prototype.extend=function(e){var r=[],n=[];if(e instanceof ba)n.push(e);else if(Array.isArray(e))n=n.concat(e);else{if(!e||!Array.isArray(e.implicit)&&!Array.isArray(e.explicit))throw new Ea("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit))}r.forEach((function(o){if(!(o instanceof ba))throw new Ea("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(o.loadKind&&o.loadKind!=="scalar")throw new Ea("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(o.multi)throw new Ea("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(o){if(!(o instanceof ba))throw new Ea("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var a=Object.create(wl.prototype);return a.implicit=(this.implicit||[]).concat(r),a.explicit=(this.explicit||[]).concat(n),a.compiledImplicit=Sn(a,"implicit"),a.compiledExplicit=Sn(a,"explicit"),a.compiledTypeMap=(function(){var u,c,d={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function S(_){_.multi?(d.multi[_.kind].push(_),d.multi.fallback.push(_)):d[_.kind][_.tag]=d.fallback[_.tag]=_}for(u=0,c=arguments.length;u<c;u+=1)arguments[u].forEach(S);return d})(a.compiledImplicit,a.compiledExplicit),a};var pu=wl,hu=new ba("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),Sa=new ba("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),Pi=new ba("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),du=new pu({explicit:[hu,Sa,Pi]}),El=new ba("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(e){if(e===null)return!0;var r=e.length;return r===1&&e==="~"||r===4&&(e==="null"||e==="Null"||e==="NULL")},construct:function(){return null},predicate:function(e){return e===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),yo=new ba("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(e){if(e===null)return!1;var r=e.length;return r===4&&(e==="true"||e==="True"||e==="TRUE")||r===5&&(e==="false"||e==="False"||e==="FALSE")},construct:function(e){return e==="true"||e==="True"||e==="TRUE"},predicate:function(e){return Object.prototype.toString.call(e)==="[object Boolean]"},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function fu(t){return 48<=t&&t<=55}function mu(t){return 48<=t&&t<=57}var Bs=new ba("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(e===null)return!1;var r,n,a=e.length,o=0,u=!1;if(!a)return!1;if((r=e[o])!=="-"&&r!=="+"||(r=e[++o]),r==="0"){if(o+1===a)return!0;if((r=e[++o])==="b"){for(o++;o<a;o++)if((r=e[o])!=="_"){if(r!=="0"&&r!=="1")return!1;u=!0}return u&&r!=="_"}if(r==="x"){for(o++;o<a;o++)if((r=e[o])!=="_"){if(!(48<=(n=e.charCodeAt(o))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;u=!0}return u&&r!=="_"}if(r==="o"){for(o++;o<a;o++)if((r=e[o])!=="_"){if(!fu(e.charCodeAt(o)))return!1;u=!0}return u&&r!=="_"}}if(r==="_")return!1;for(;o<a;o++)if((r=e[o])!=="_"){if(!mu(e.charCodeAt(o)))return!1;u=!0}return!(!u||r==="_")},construct:function(e){var r,n=e,a=1;if(n.indexOf("_")!==-1&&(n=n.replace(/_/g,"")),(r=n[0])!=="-"&&r!=="+"||(r==="-"&&(a=-1),r=(n=n.slice(1))[0]),n==="0")return 0;if(r==="0"){if(n[1]==="b")return a*parseInt(n.slice(2),2);if(n[1]==="x")return a*parseInt(n.slice(2),16);if(n[1]==="o")return a*parseInt(n.slice(2),8)}return a*parseInt(n,10)},predicate:function(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1==0&&!an.isNegativeZero(e)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Qi=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),gu=/^[-+]?[0-9]+e/,Fn=new ba("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return e!==null&&!(!Qi.test(e)||e[e.length-1]==="_")},construct:function(e){var r,n;return n=(r=e.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,"+-".indexOf(r[0])>=0&&(r=r.slice(1)),r===".inf"?n===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:r===".nan"?NaN:n*parseFloat(r,10)},predicate:function(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!=0||an.isNegativeZero(e))},represent:function(e,r){var n;if(isNaN(e))switch(r){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(r){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(r){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(an.isNegativeZero(e))return"-0.0";return n=e.toString(10),gu.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),mc=du.extend({implicit:[El,yo,Bs,Fn]}),qs=mc,Zi=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),es=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),ui=new ba("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return e!==null&&(Zi.exec(e)!==null||es.exec(e)!==null)},construct:function(e){var r,n,a,o,u,c,d,S,_=0,O=null;if((r=Zi.exec(e))===null&&(r=es.exec(e)),r===null)throw new Error("Date resolve error");if(n=+r[1],a=+r[2]-1,o=+r[3],!r[4])return new Date(Date.UTC(n,a,o));if(u=+r[4],c=+r[5],d=+r[6],r[7]){for(_=r[7].slice(0,3);_.length<3;)_+="0";_=+_}return r[9]&&(O=6e4*(60*+r[10]+ +(r[11]||0)),r[9]==="-"&&(O=-O)),S=new Date(Date.UTC(n,a,o,u,c,d,_)),O&&S.setTime(S.getTime()-O),S},instanceOf:Date,represent:function(e){return e.toISOString()}}),gc=new ba("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return e==="<<"||e===null}}),Xa=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
||
\r`,ca=new ba("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(e===null)return!1;var r,n,a=0,o=e.length,u=Xa;for(n=0;n<o;n++)if(!((r=u.indexOf(e.charAt(n)))>64)){if(r<0)return!1;a+=6}return a%8==0},construct:function(e){var r,n,a=e.replace(/[\r\n=]/g,""),o=a.length,u=Xa,c=0,d=[];for(r=0;r<o;r++)r%4==0&&r&&(d.push(c>>16&255),d.push(c>>8&255),d.push(255&c)),c=c<<6|u.indexOf(a.charAt(r));return(n=o%4*6)===0?(d.push(c>>16&255),d.push(c>>8&255),d.push(255&c)):n===18?(d.push(c>>10&255),d.push(c>>2&255)):n===12&&d.push(c>>4&255),new Uint8Array(d)},predicate:function(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"},represent:function(e){var r,n,a="",o=0,u=e.length,c=Xa;for(r=0;r<u;r++)r%3==0&&r&&(a+=c[o>>18&63],a+=c[o>>12&63],a+=c[o>>6&63],a+=c[63&o]),o=(o<<8)+e[r];return(n=u%3)===0?(a+=c[o>>18&63],a+=c[o>>12&63],a+=c[o>>6&63],a+=c[63&o]):n===2?(a+=c[o>>10&63],a+=c[o>>4&63],a+=c[o<<2&63],a+=c[64]):n===1&&(a+=c[o>>2&63],a+=c[o<<4&63],a+=c[64],a+=c[64]),a}}),Us=Object.prototype.hasOwnProperty,Pp=Object.prototype.toString,yu=new ba("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(e===null)return!0;var r,n,a,o,u,c=[],d=e;for(r=0,n=d.length;r<n;r+=1){if(a=d[r],u=!1,Pp.call(a)!=="[object Object]")return!1;for(o in a)if(Us.call(a,o)){if(u)return!1;u=!0}if(!u||c.indexOf(o)!==-1)return!1;c.push(o)}return!0},construct:function(e){return e!==null?e:[]}}),Sl=Object.prototype.toString,vu=new ba("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(e===null)return!0;var r,n,a,o,u,c=e;for(u=new Array(c.length),r=0,n=c.length;r<n;r+=1){if(a=c[r],Sl.call(a)!=="[object Object]"||(o=Object.keys(a)).length!==1)return!1;u[r]=[o[0],a[o[0]]]}return!0},construct:function(e){if(e===null)return[];var r,n,a,o,u,c=e;for(u=new Array(c.length),r=0,n=c.length;r<n;r+=1)a=c[r],o=Object.keys(a),u[r]=[o[0],a[o[0]]];return u}}),Tp=Object.prototype.hasOwnProperty,Np=new ba("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(e===null)return!0;var r,n=e;for(r in n)if(Tp.call(n,r)&&n[r]!==null)return!1;return!0},construct:function(e){return e!==null?e:{}}}),yc=qs.extend({implicit:[ui,gc],explicit:[ca,yu,vu,Np]}),ua=Object.prototype.hasOwnProperty,xl=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,bu=/[\x85\u2028\u2029]/,y=/[,\[\]\{\}]/,I=/^(?:!|!!|![a-z\-]+!)$/i,K=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Z(t){return Object.prototype.toString.call(t)}function re(t){return t===10||t===13}function Se(t){return t===9||t===32}function Oe(t){return t===9||t===32||t===10||t===13}function Fe(t){return t===44||t===91||t===93||t===123||t===125}function ut(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function ot(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?" ":t===110?`
|
||
`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"
":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}function vt(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}function Bt(t,e,r){e==="__proto__"?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}for(var zt=new Array(256),fr=new Array(256),Er=0;Er<256;Er++)zt[Er]=ot(Er)?1:0,fr[Er]=ot(Er);function vn(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||yc,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Qa(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=fc(r),new Ea(e,r)}function Kt(t,e){throw Qa(t,e)}function Ti(t,e){t.onWarning&&t.onWarning.call(null,Qa(t,e))}var vd={YAML:function(e,r,n){var a,o,u;e.version!==null&&Kt(e,"duplication of %YAML directive"),n.length!==1&&Kt(e,"YAML directive accepts exactly one argument"),(a=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))===null&&Kt(e,"ill-formed argument of the YAML directive"),o=parseInt(a[1],10),u=parseInt(a[2],10),o!==1&&Kt(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=u<2,u!==1&&u!==2&&Ti(e,"unsupported YAML version of the document")},TAG:function(e,r,n){var a,o;n.length!==2&&Kt(e,"TAG directive accepts exactly two arguments"),a=n[0],o=n[1],I.test(a)||Kt(e,"ill-formed tag handle (first argument) of the TAG directive"),ua.call(e.tagMap,a)&&Kt(e,'there is a previously declared suffix for "'+a+'" tag handle'),K.test(o)||Kt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch(u){Kt(e,"tag prefix is malformed: "+o)}e.tagMap[a]=o}};function ts(t,e,r,n){var a,o,u,c;if(e<r){if(c=t.input.slice(e,r),n)for(a=0,o=c.length;a<o;a+=1)(u=c.charCodeAt(a))===9||32<=u&&u<=1114111||Kt(t,"expected valid JSON character");else xl.test(c)&&Kt(t,"the stream contains non-printable characters");t.result+=c}}function bd(t,e,r,n){var a,o,u,c;for(an.isObject(r)||Kt(t,"cannot merge mappings; the provided source object is unacceptable"),u=0,c=(a=Object.keys(r)).length;u<c;u+=1)o=a[u],ua.call(e,o)||(Bt(e,o,r[o]),n[o]=!0)}function Oo(t,e,r,n,a,o,u,c,d){var S,_;if(Array.isArray(a))for(S=0,_=(a=Array.prototype.slice.call(a)).length;S<_;S+=1)Array.isArray(a[S])&&Kt(t,"nested arrays are not supported inside keys"),typeof a=="object"&&Z(a[S])==="[object Object]"&&(a[S]="[object Object]");if(typeof a=="object"&&Z(a)==="[object Object]"&&(a="[object Object]"),a=String(a),e===null&&(e={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(o))for(S=0,_=o.length;S<_;S+=1)bd(t,e,o[S],r);else bd(t,e,o,r);else t.json||ua.call(r,a)||!ua.call(e,a)||(t.line=u||t.line,t.lineStart=c||t.lineStart,t.position=d||t.position,Kt(t,"duplicated mapping key")),Bt(e,a,o),delete r[a];return e}function wu(t){var e;(e=t.input.charCodeAt(t.position))===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):Kt(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function Xn(t,e,r){for(var n=0,a=t.input.charCodeAt(t.position);a!==0;){for(;Se(a);)a===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),a=t.input.charCodeAt(++t.position);if(e&&a===35)do a=t.input.charCodeAt(++t.position);while(a!==10&&a!==13&&a!==0);if(!re(a))break;for(wu(t),a=t.input.charCodeAt(t.position),n++,t.lineIndent=0;a===32;)t.lineIndent++,a=t.input.charCodeAt(++t.position)}return r!==-1&&n!==0&&t.lineIndent<r&&Ti(t,"deficient indentation"),n}function zs(t){var e,r=t.position;return!((e=t.input.charCodeAt(r))!==45&&e!==46||e!==t.input.charCodeAt(r+1)||e!==t.input.charCodeAt(r+2)||(r+=3,(e=t.input.charCodeAt(r))!==0&&!Oe(e)))}function wd(t,e){e===1?t.result+=" ":e>1&&(t.result+=an.repeat(`
|
||
`,e-1))}function Ed(t,e){var r,n,a=t.tag,o=t.anchor,u=[],c=!1;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=u),n=t.input.charCodeAt(t.position);n!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Kt(t,"tab characters must not be used in indentation")),n===45)&&Oe(t.input.charCodeAt(t.position+1));)if(c=!0,t.position++,Xn(t,!0,-1)&&t.lineIndent<=e)u.push(null),n=t.input.charCodeAt(t.position);else if(r=t.line,Vs(t,e,3,!1,!0),u.push(t.result),Xn(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&n!==0)Kt(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!c&&(t.tag=a,t.anchor=o,t.kind="sequence",t.result=u,!0)}function fg(t){var e,r,n,a,o=!1,u=!1;if((a=t.input.charCodeAt(t.position))!==33)return!1;if(t.tag!==null&&Kt(t,"duplication of a tag property"),(a=t.input.charCodeAt(++t.position))===60?(o=!0,a=t.input.charCodeAt(++t.position)):a===33?(u=!0,r="!!",a=t.input.charCodeAt(++t.position)):r="!",e=t.position,o){do a=t.input.charCodeAt(++t.position);while(a!==0&&a!==62);t.position<t.length?(n=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):Kt(t,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!Oe(a);)a===33&&(u?Kt(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),I.test(r)||Kt(t,"named tag handle cannot contain such characters"),u=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),y.test(n)&&Kt(t,"tag suffix cannot contain flow indicator characters")}n&&!K.test(n)&&Kt(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch(c){Kt(t,"tag name is malformed: "+n)}return o?t.tag=n:ua.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:r==="!"?t.tag="!"+n:r==="!!"?t.tag="tag:yaml.org,2002:"+n:Kt(t,'undeclared tag handle "'+r+'"'),!0}function Nn(t){var e,r;if((r=t.input.charCodeAt(t.position))!==38)return!1;for(t.anchor!==null&&Kt(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!Oe(r)&&!Fe(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Kt(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Vs(t,e,r,n,a){var o,u,c,d,S,_,O,j,R,$=1,L=!1,q=!1;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,o=u=c=r===4||r===3,n&&Xn(t,!0,-1)&&(L=!0,t.lineIndent>e?$=1:t.lineIndent===e?$=0:t.lineIndent<e&&($=-1)),$===1)for(;fg(t)||Nn(t);)Xn(t,!0,-1)?(L=!0,c=o,t.lineIndent>e?$=1:t.lineIndent===e?$=0:t.lineIndent<e&&($=-1)):c=!1;if(c&&(c=L||a),$!==1&&r!==4||(j=r===1||r===2?e:e+1,R=t.position-t.lineStart,$===1?c&&(Ed(t,R)||(function(D,se,te){var le,ce,ie,_e,me,ue,ve,fe=D.tag,be=D.anchor,je={},qe=Object.create(null),pt=null,_t=null,It=null,Wt=!1,or=!1;if(D.firstTabInLine!==-1)return!1;for(D.anchor!==null&&(D.anchorMap[D.anchor]=je),ve=D.input.charCodeAt(D.position);ve!==0;){if(Wt||D.firstTabInLine===-1||(D.position=D.firstTabInLine,Kt(D,"tab characters must not be used in indentation")),le=D.input.charCodeAt(D.position+1),ie=D.line,ve!==63&&ve!==58||!Oe(le)){if(_e=D.line,me=D.lineStart,ue=D.position,!Vs(D,te,2,!1,!0))break;if(D.line===ie){for(ve=D.input.charCodeAt(D.position);Se(ve);)ve=D.input.charCodeAt(++D.position);if(ve===58)Oe(ve=D.input.charCodeAt(++D.position))||Kt(D,"a whitespace character is expected after the key-value separator within a block mapping"),Wt&&(Oo(D,je,qe,pt,_t,null,_e,me,ue),pt=_t=It=null),or=!0,Wt=!1,ce=!1,pt=D.tag,_t=D.result;else{if(!or)return D.tag=fe,D.anchor=be,!0;Kt(D,"can not read an implicit mapping pair; a colon is missed")}}else{if(!or)return D.tag=fe,D.anchor=be,!0;Kt(D,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else ve===63?(Wt&&(Oo(D,je,qe,pt,_t,null,_e,me,ue),pt=_t=It=null),or=!0,Wt=!0,ce=!0):Wt?(Wt=!1,ce=!0):Kt(D,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),D.position+=1,ve=le;if((D.line===ie||D.lineIndent>se)&&(Wt&&(_e=D.line,me=D.lineStart,ue=D.position),Vs(D,se,4,!0,ce)&&(Wt?_t=D.result:It=D.result),Wt||(Oo(D,je,qe,pt,_t,It,_e,me,ue),pt=_t=It=null),Xn(D,!0,-1),ve=D.input.charCodeAt(D.position)),(D.line===ie||D.lineIndent>se)&&ve!==0)Kt(D,"bad indentation of a mapping entry");else if(D.lineIndent<se)break}return Wt&&Oo(D,je,qe,pt,_t,null,_e,me,ue),or&&(D.tag=fe,D.anchor=be,D.kind="mapping",D.result=je),or})(t,R,j))||(function(D,se){var te,le,ce,ie,_e,me,ue,ve,fe,be,je,qe,pt=!0,_t=D.tag,It=D.anchor,Wt=Object.create(null);if((qe=D.input.charCodeAt(D.position))===91)_e=93,ve=!1,ie=[];else{if(qe!==123)return!1;_e=125,ve=!0,ie={}}for(D.anchor!==null&&(D.anchorMap[D.anchor]=ie),qe=D.input.charCodeAt(++D.position);qe!==0;){if(Xn(D,!0,se),(qe=D.input.charCodeAt(D.position))===_e)return D.position++,D.tag=_t,D.anchor=It,D.kind=ve?"mapping":"sequence",D.result=ie,!0;pt?qe===44&&Kt(D,"expected the node content, but found ','"):Kt(D,"missed comma between flow collection entries"),je=null,me=ue=!1,qe===63&&Oe(D.input.charCodeAt(D.position+1))&&(me=ue=!0,D.position++,Xn(D,!0,se)),te=D.line,le=D.lineStart,ce=D.position,Vs(D,se,1,!1,!0),be=D.tag,fe=D.result,Xn(D,!0,se),qe=D.input.charCodeAt(D.position),!ue&&D.line!==te||qe!==58||(me=!0,qe=D.input.charCodeAt(++D.position),Xn(D,!0,se),Vs(D,se,1,!1,!0),je=D.result),ve?Oo(D,ie,Wt,be,fe,je,te,le,ce):me?ie.push(Oo(D,null,Wt,be,fe,je,te,le,ce)):ie.push(fe),Xn(D,!0,se),(qe=D.input.charCodeAt(D.position))===44?(pt=!0,qe=D.input.charCodeAt(++D.position)):pt=!1}Kt(D,"unexpected end of the stream within a flow collection")})(t,j)?q=!0:(u&&(function(D,se){var te,le,ce,ie,_e,me=1,ue=!1,ve=!1,fe=se,be=0,je=!1;if((ie=D.input.charCodeAt(D.position))===124)le=!1;else{if(ie!==62)return!1;le=!0}for(D.kind="scalar",D.result="";ie!==0;)if((ie=D.input.charCodeAt(++D.position))===43||ie===45)me===1?me=ie===43?3:2:Kt(D,"repeat of a chomping mode identifier");else{if(!((ce=48<=(_e=ie)&&_e<=57?_e-48:-1)>=0))break;ce===0?Kt(D,"bad explicit indentation width of a block scalar; it cannot be less than one"):ve?Kt(D,"repeat of an indentation width identifier"):(fe=se+ce-1,ve=!0)}if(Se(ie)){do ie=D.input.charCodeAt(++D.position);while(Se(ie));if(ie===35)do ie=D.input.charCodeAt(++D.position);while(!re(ie)&&ie!==0)}for(;ie!==0;){for(wu(D),D.lineIndent=0,ie=D.input.charCodeAt(D.position);(!ve||D.lineIndent<fe)&&ie===32;)D.lineIndent++,ie=D.input.charCodeAt(++D.position);if(!ve&&D.lineIndent>fe&&(fe=D.lineIndent),re(ie))be++;else{if(D.lineIndent<fe){me===3?D.result+=an.repeat(`
|
||
`,ue?1+be:be):me===1&&ue&&(D.result+=`
|
||
`);break}for(le?Se(ie)?(je=!0,D.result+=an.repeat(`
|
||
`,ue?1+be:be)):je?(je=!1,D.result+=an.repeat(`
|
||
`,be+1)):be===0?ue&&(D.result+=" "):D.result+=an.repeat(`
|
||
`,be):D.result+=an.repeat(`
|
||
`,ue?1+be:be),ue=!0,ve=!0,be=0,te=D.position;!re(ie)&&ie!==0;)ie=D.input.charCodeAt(++D.position);ts(D,te,D.position,!1)}}return!0})(t,j)||(function(D,se){var te,le,ce;if((te=D.input.charCodeAt(D.position))!==39)return!1;for(D.kind="scalar",D.result="",D.position++,le=ce=D.position;(te=D.input.charCodeAt(D.position))!==0;)if(te===39){if(ts(D,le,D.position,!0),(te=D.input.charCodeAt(++D.position))!==39)return!0;le=D.position,D.position++,ce=D.position}else re(te)?(ts(D,le,ce,!0),wd(D,Xn(D,!1,se)),le=ce=D.position):D.position===D.lineStart&&zs(D)?Kt(D,"unexpected end of the document within a single quoted scalar"):(D.position++,ce=D.position);Kt(D,"unexpected end of the stream within a single quoted scalar")})(t,j)||(function(D,se){var te,le,ce,ie,_e,me,ue;if((me=D.input.charCodeAt(D.position))!==34)return!1;for(D.kind="scalar",D.result="",D.position++,te=le=D.position;(me=D.input.charCodeAt(D.position))!==0;){if(me===34)return ts(D,te,D.position,!0),D.position++,!0;if(me===92){if(ts(D,te,D.position,!0),re(me=D.input.charCodeAt(++D.position)))Xn(D,!1,se);else if(me<256&&zt[me])D.result+=fr[me],D.position++;else if((_e=(ue=me)===120?2:ue===117?4:ue===85?8:0)>0){for(ce=_e,ie=0;ce>0;ce--)(_e=ut(me=D.input.charCodeAt(++D.position)))>=0?ie=(ie<<4)+_e:Kt(D,"expected hexadecimal character");D.result+=vt(ie),D.position++}else Kt(D,"unknown escape sequence");te=le=D.position}else re(me)?(ts(D,te,le,!0),wd(D,Xn(D,!1,se)),te=le=D.position):D.position===D.lineStart&&zs(D)?Kt(D,"unexpected end of the document within a double quoted scalar"):(D.position++,le=D.position)}Kt(D,"unexpected end of the stream within a double quoted scalar")})(t,j)?q=!0:(function(D){var se,te,le;if((le=D.input.charCodeAt(D.position))!==42)return!1;for(le=D.input.charCodeAt(++D.position),se=D.position;le!==0&&!Oe(le)&&!Fe(le);)le=D.input.charCodeAt(++D.position);return D.position===se&&Kt(D,"name of an alias node must contain at least one character"),te=D.input.slice(se,D.position),ua.call(D.anchorMap,te)||Kt(D,'unidentified alias "'+te+'"'),D.result=D.anchorMap[te],Xn(D,!0,-1),!0})(t)?(q=!0,t.tag===null&&t.anchor===null||Kt(t,"alias node should not have any properties")):(function(D,se,te){var le,ce,ie,_e,me,ue,ve,fe,be=D.kind,je=D.result;if(Oe(fe=D.input.charCodeAt(D.position))||Fe(fe)||fe===35||fe===38||fe===42||fe===33||fe===124||fe===62||fe===39||fe===34||fe===37||fe===64||fe===96||(fe===63||fe===45)&&(Oe(le=D.input.charCodeAt(D.position+1))||te&&Fe(le)))return!1;for(D.kind="scalar",D.result="",ce=ie=D.position,_e=!1;fe!==0;){if(fe===58){if(Oe(le=D.input.charCodeAt(D.position+1))||te&&Fe(le))break}else if(fe===35){if(Oe(D.input.charCodeAt(D.position-1)))break}else{if(D.position===D.lineStart&&zs(D)||te&&Fe(fe))break;if(re(fe)){if(me=D.line,ue=D.lineStart,ve=D.lineIndent,Xn(D,!1,-1),D.lineIndent>=se){_e=!0,fe=D.input.charCodeAt(D.position);continue}D.position=ie,D.line=me,D.lineStart=ue,D.lineIndent=ve;break}}_e&&(ts(D,ce,ie,!1),wd(D,D.line-me),ce=ie=D.position,_e=!1),Se(fe)||(ie=D.position+1),fe=D.input.charCodeAt(++D.position)}return ts(D,ce,ie,!1),!!D.result||(D.kind=be,D.result=je,!1)})(t,j,r===1)&&(q=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):$===0&&(q=c&&Ed(t,R))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&Kt(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),d=0,S=t.implicitTypes.length;d<S;d+=1)if((O=t.implicitTypes[d]).resolve(t.result)){t.result=O.construct(t.result),t.tag=O.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(ua.call(t.typeMap[t.kind||"fallback"],t.tag))O=t.typeMap[t.kind||"fallback"][t.tag];else for(O=null,d=0,S=(_=t.typeMap.multi[t.kind||"fallback"]).length;d<S;d+=1)if(t.tag.slice(0,_[d].tag.length)===_[d].tag){O=_[d];break}O||Kt(t,"unknown tag !<"+t.tag+">"),t.result!==null&&O.kind!==t.kind&&Kt(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+O.kind+'", not "'+t.kind+'"'),O.resolve(t.result,t.tag)?(t.result=O.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):Kt(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||q}function Ip(t){var e,r,n,a,o=t.position,u=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(a=t.input.charCodeAt(t.position))!==0&&(Xn(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0||a!==37));){for(u=!0,a=t.input.charCodeAt(++t.position),e=t.position;a!==0&&!Oe(a);)a=t.input.charCodeAt(++t.position);for(n=[],(r=t.input.slice(e,t.position)).length<1&&Kt(t,"directive name must not be less than one character in length");a!==0;){for(;Se(a);)a=t.input.charCodeAt(++t.position);if(a===35){do a=t.input.charCodeAt(++t.position);while(a!==0&&!re(a));break}if(re(a))break;for(e=t.position;a!==0&&!Oe(a);)a=t.input.charCodeAt(++t.position);n.push(t.input.slice(e,t.position))}a!==0&&wu(t),ua.call(vd,r)?vd[r](t,r,n):Ti(t,'unknown document directive "'+r+'"')}Xn(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,Xn(t,!0,-1)):u&&Kt(t,"directives end mark is expected"),Vs(t,t.lineIndent-1,4,!1,!0),Xn(t,!0,-1),t.checkLineBreaks&&bu.test(t.input.slice(o,t.position))&&Ti(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&zs(t)?t.input.charCodeAt(t.position)===46&&(t.position+=3,Xn(t,!0,-1)):t.position<t.length-1&&Kt(t,"end of the stream or a document separator is expected")}function vc(t,e){e=e||{},(t=String(t)).length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
|
||
`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new vn(t,e),n=t.indexOf("\0");for(n!==-1&&(r.position=n,Kt(r,"null byte is not allowed in input")),r.input+="\0";r.input.charCodeAt(r.position)===32;)r.lineIndent+=1,r.position+=1;for(;r.position<r.length-1;)Ip(r);return r.documents}var Sd={loadAll:function(e,r,n){r!==null&&typeof r=="object"&&n===void 0&&(n=r,r=null);var a=vc(e,n);if(typeof r!="function")return a;for(var o=0,u=a.length;o<u;o+=1)r(a[o])},load:function(e,r){var n=vc(e,r);if(n.length!==0){if(n.length===1)return n[0];throw new Ea("expected a single document in the stream, but found more")}}},Mp=Object.prototype.toString,bc=Object.prototype.hasOwnProperty,wc=65279,Ec={0:"\\0",7:"\\a",8:"\\b",9:"\\t",10:"\\n",11:"\\v",12:"\\f",13:"\\r",27:"\\e",34:'\\"',92:"\\\\",133:"\\N",160:"\\_",8232:"\\L",8233:"\\P"},mg=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],U0=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function z0(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else{if(!(t<=4294967295))throw new Ea("code point within a string may not be greater than 0xFFFFFFFF");r="U",n=8}return"\\"+r+an.repeat("0",n-e.length)+e}function gg(t){this.schema=t.schema||yc,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=an.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=(function(r,n){var a,o,u,c,d,S,_;if(n===null)return{};for(a={},u=0,c=(o=Object.keys(n)).length;u<c;u+=1)d=o[u],S=String(n[d]),d.slice(0,2)==="!!"&&(d="tag:yaml.org,2002:"+d.slice(2)),(_=r.compiledTypeMap.fallback[d])&&bc.call(_.styleAliases,S)&&(S=_.styleAliases[S]),a[d]=S;return a})(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType==='"'?2:1,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer=="function"?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Eu(t,e){for(var r,n=an.repeat(" ",e),a=0,o=-1,u="",c=t.length;a<c;)(o=t.indexOf(`
|
||
`,a))===-1?(r=t.slice(a),a=c):(r=t.slice(a,o+1),a=o+1),r.length&&r!==`
|
||
`&&(u+=n),u+=r;return u}function Sc(t,e){return`
|
||
`+an.repeat(" ",t.indent*e)}function xc(t){return t===32||t===9}function _l(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==wc||65536<=t&&t<=1114111}function Rp(t){return _l(t)&&t!==wc&&t!==13&&t!==10}function Dp(t,e,r){var n=Rp(t),a=n&&!xc(t);return(r?n:n&&t!==44&&t!==91&&t!==93&&t!==123&&t!==125)&&t!==35&&!(e===58&&!a)||Rp(e)&&!xc(e)&&t===35||e===58&&a}function Su(t,e){var r,n=t.charCodeAt(e);return n>=55296&&n<=56319&&e+1<t.length&&(r=t.charCodeAt(e+1))>=56320&&r<=57343?1024*(n-55296)+r-56320+65536:n}function xd(t){return/^\n* /.test(t)}function V0(t,e,r,n,a,o,u,c){var d,S=0,_=null,O=!1,j=!1,R=n!==-1,$=-1,L=(function(X){return _l(X)&&X!==wc&&!xc(X)&&X!==45&&X!==63&&X!==58&&X!==44&&X!==91&&X!==93&&X!==123&&X!==125&&X!==35&&X!==38&&X!==42&&X!==33&&X!==124&&X!==61&&X!==62&&X!==39&&X!==34&&X!==37&&X!==64&&X!==96})(Su(t,0))&&(function(X){return!xc(X)&&X!==58})(Su(t,t.length-1));if(e||u)for(d=0;d<t.length;S>=65536?d+=2:d++){if(!_l(S=Su(t,d)))return 5;L=L&&Dp(S,_,c),_=S}else{for(d=0;d<t.length;S>=65536?d+=2:d++){if((S=Su(t,d))===10)O=!0,R&&(j=j||d-$-1>n&&t[$+1]!==" ",$=d);else if(!_l(S))return 5;L=L&&Dp(S,_,c),_=S}j=j||R&&d-$-1>n&&t[$+1]!==" "}return O||j?r>9&&xd(t)?5:u?o===2?5:2:j?4:3:!L||u||a(t)?o===2?5:2:1}function J0(t,e,r,n,a){t.dump=(function(){if(e.length===0)return t.quotingType===2?'""':"''";if(!t.noCompatMode&&(mg.indexOf(e)!==-1||U0.test(e)))return t.quotingType===2?'"'+e+'"':"'"+e+"'";var o=t.indent*Math.max(1,r),u=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-o),c=n||t.flowLevel>-1&&r>=t.flowLevel;switch(V0(e,c,t.indent,u,(function(S){return(function(O,j){var R,$;for(R=0,$=O.implicitTypes.length;R<$;R+=1)if(O.implicitTypes[R].resolve(j))return!0;return!1})(t,S)}),t.quotingType,t.forceQuotes&&!n,a)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+Fp(e,t.indent)+rs(Eu(e,o));case 4:return">"+Fp(e,t.indent)+rs(Eu((function(S,_){for(var O,j,R=/(\n+)([^\n]*)/g,$=(q=S.indexOf(`
|
||
`),q=q!==-1?q:S.length,R.lastIndex=q,_d(S.slice(0,q),_)),L=S[0]===`
|
||
`||S[0]===" ",q;j=R.exec(S);){var X=j[1],D=j[2];O=D[0]===" ",$+=X+(L||O||D===""?"":`
|
||
`)+_d(D,_),L=O}return $})(e,u),o));case 5:return'"'+(function(S){for(var _,O="",j=0,R=0;R<S.length;j>=65536?R+=2:R++)j=Su(S,R),!(_=Ec[j])&&_l(j)?(O+=S[R],j>=65536&&(O+=S[R+1])):O+=_||z0(j);return O})(e)+'"';default:throw new Ea("impossible error: invalid scalar style")}})()}function Fp(t,e){var r=xd(t)?String(e):"",n=t[t.length-1]===`
|
||
`;return r+(n&&(t[t.length-2]===`
|
||
`||t===`
|
||
`)?"+":n?"":"-")+`
|
||
`}function rs(t){return t[t.length-1]===`
|
||
`?t.slice(0,-1):t}function _d(t,e){if(t===""||t[0]===" ")return t;for(var r,n,a=/ [^ ]/g,o=0,u=0,c=0,d="";r=a.exec(t);)(c=r.index)-o>e&&(n=u>o?u:c,d+=`
|
||
`+t.slice(o,n),o=n+1),u=c;return d+=`
|
||
`,t.length-o>e&&u>o?d+=t.slice(o,u)+`
|
||
`+t.slice(u+1):d+=t.slice(o),d.slice(1)}function kl(t,e,r,n){var a,o,u,c="",d=t.tag;for(a=0,o=r.length;a<o;a+=1)u=r[a],t.replacer&&(u=t.replacer.call(r,String(a),u)),(Ao(t,e+1,u,!0,!0,!1,!0)||u===void 0&&Ao(t,e+1,null,!0,!0,!1,!0))&&(n&&c===""||(c+=Sc(t,e)),t.dump&&t.dump.charCodeAt(0)===10?c+="-":c+="- ",c+=t.dump);t.tag=d,t.dump=c||"[]"}function pi(t,e,r){var n,a,o,u,c,d;for(o=0,u=(a=r?t.explicitTypes:t.implicitTypes).length;o<u;o+=1)if(((c=a[o]).instanceOf||c.predicate)&&(!c.instanceOf||typeof e=="object"&&e instanceof c.instanceOf)&&(!c.predicate||c.predicate(e))){if(r?c.multi&&c.representName?t.tag=c.representName(e):t.tag=c.tag:t.tag="?",c.represent){if(d=t.styleMap[c.tag]||c.defaultStyle,Mp.call(c.represent)==="[object Function]")n=c.represent(e,d);else{if(!bc.call(c.represent,d))throw new Ea("!<"+c.tag+'> tag resolver accepts not "'+d+'" style');n=c.represent[d](e,d)}t.dump=n}return!0}return!1}function Ao(t,e,r,n,a,o,u){t.tag=null,t.dump=r,pi(t,r,!1)||pi(t,r,!0);var c,d=Mp.call(t.dump),S=n;n&&(n=t.flowLevel<0||t.flowLevel>e);var _,O,j=d==="[object Object]"||d==="[object Array]";if(j&&(O=(_=t.duplicates.indexOf(r))!==-1),(t.tag!==null&&t.tag!=="?"||O||t.indent!==2&&e>0)&&(a=!1),O&&t.usedDuplicates[_])t.dump="*ref_"+_;else{if(j&&O&&!t.usedDuplicates[_]&&(t.usedDuplicates[_]=!0),d==="[object Object]")n&&Object.keys(t.dump).length!==0?((function($,L,q,X){var D,se,te,le,ce,ie,_e="",me=$.tag,ue=Object.keys(q);if($.sortKeys===!0)ue.sort();else if(typeof $.sortKeys=="function")ue.sort($.sortKeys);else if($.sortKeys)throw new Ea("sortKeys must be a boolean or a function");for(D=0,se=ue.length;D<se;D+=1)ie="",X&&_e===""||(ie+=Sc($,L)),le=q[te=ue[D]],$.replacer&&(le=$.replacer.call(q,te,le)),Ao($,L+1,te,!0,!0,!0)&&((ce=$.tag!==null&&$.tag!=="?"||$.dump&&$.dump.length>1024)&&($.dump&&$.dump.charCodeAt(0)===10?ie+="?":ie+="? "),ie+=$.dump,ce&&(ie+=Sc($,L)),Ao($,L+1,le,!0,ce)&&($.dump&&$.dump.charCodeAt(0)===10?ie+=":":ie+=": ",_e+=ie+=$.dump));$.tag=me,$.dump=_e||"{}"})(t,e,t.dump,a),O&&(t.dump="&ref_"+_+t.dump)):((function($,L,q){var X,D,se,te,le,ce="",ie=$.tag,_e=Object.keys(q);for(X=0,D=_e.length;X<D;X+=1)le="",ce!==""&&(le+=", "),$.condenseFlow&&(le+='"'),te=q[se=_e[X]],$.replacer&&(te=$.replacer.call(q,se,te)),Ao($,L,se,!1,!1)&&($.dump.length>1024&&(le+="? "),le+=$.dump+($.condenseFlow?'"':"")+":"+($.condenseFlow?"":" "),Ao($,L,te,!1,!1)&&(ce+=le+=$.dump));$.tag=ie,$.dump="{"+ce+"}"})(t,e,t.dump),O&&(t.dump="&ref_"+_+" "+t.dump));else if(d==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!u&&e>0?kl(t,e-1,t.dump,a):kl(t,e,t.dump,a),O&&(t.dump="&ref_"+_+t.dump)):((function($,L,q){var X,D,se,te="",le=$.tag;for(X=0,D=q.length;X<D;X+=1)se=q[X],$.replacer&&(se=$.replacer.call(q,String(X),se)),(Ao($,L,se,!1,!1)||se===void 0&&Ao($,L,null,!1,!1))&&(te!==""&&(te+=","+($.condenseFlow?"":" ")),te+=$.dump);$.tag=le,$.dump="["+te+"]"})(t,e,t.dump),O&&(t.dump="&ref_"+_+" "+t.dump));else{if(d!=="[object String]"){if(d==="[object Undefined]"||t.skipInvalid)return!1;throw new Ea("unacceptable kind of an object to dump "+d)}t.tag!=="?"&&J0(t,t.dump,e,o,S)}t.tag!==null&&t.tag!=="?"&&(c=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),c=t.tag[0]==="!"?"!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?"!!"+c.slice(18):"!<"+c+">",t.dump=c+" "+t.dump)}return!0}function ns(t,e){var r,n,a=[],o=[];for(xu(t,a,o),r=0,n=o.length;r<n;r+=1)e.duplicates.push(a[o[r]]);e.usedDuplicates=new Array(n)}function xu(t,e,r){var n,a,o;if(t!==null&&typeof t=="object")if((a=e.indexOf(t))!==-1)r.indexOf(a)===-1&&r.push(a);else if(e.push(t),Array.isArray(t))for(a=0,o=t.length;a<o;a+=1)xu(t[a],e,r);else for(a=0,o=(n=Object.keys(t)).length;a<o;a+=1)xu(t[n[a]],e,r)}var W0=function(e,r){var n=new gg(r=r||{});n.noRefs||ns(e,n);var a=e;return n.replacer&&(a=n.replacer.call({"":a},"",a)),Ao(n,0,a,!0,!0)?n.dump+`
|
||
`:""};function kd(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var Ol=ba,_u=pu,_c=du,Ni=mc,Od=qs,kc=yc,Js=Sd.load,$n=Sd.loadAll,_n=W0,Ws=Ea,qa={binary:ca,float:Fn,map:Pi,null:El,pairs:vu,set:Np,timestamp:ui,bool:yo,int:Bs,merge:gc,omap:yu,seq:Sa,str:hu},vo=kd("safeLoad","load"),Al=kd("safeLoadAll","loadAll"),Oc=kd("safeDump","dump"),Ln={Type:Ol,Schema:_u,FAILSAFE_SCHEMA:_c,JSON_SCHEMA:Ni,CORE_SCHEMA:Od,DEFAULT_SCHEMA:kc,load:Js,loadAll:$n,dump:_n,YAMLException:Ws,types:qa,safeLoad:vo,safeLoadAll:Al,safeDump:Oc};const ku="configs_update",$p="configs_toggle";function yg(t,e){return{type:ku,payload:{[t]:e}}}function Lp(t){return{type:$p,payload:t}}const vg=()=>()=>{},as=t=>e=>{const{fn:{fetch:r}}=e;return r(t)},Bp=(t,e)=>r=>{const{specActions:n,configsActions:a}=r;if(t)return a.downloadConfig(t).then(o,o);function o(u){u instanceof Error||u.status>=400?(n.updateLoadingStatus("failedConfig"),n.updateLoadingStatus("failedConfig"),n.updateUrl(""),e(null)):e(((c,d)=>{try{return Ln.load(c)}catch(S){return d&&d.errActions.newThrownErr(new Error(S)),{}}})(u.text,r))}},Ad=(t,e)=>t.getIn(Array.isArray(e)?e:[e]),bg={[ku]:(t,e)=>t.merge((0,Y.fromJS)(e.payload)),[$p]:(t,e)=>{const r=e.payload,n=t.get(r);return t.set(r,!n)}};function os(){return{statePlugins:{configs:{reducers:bg,actions:h,selectors:b}}}}const Hs=t=>t?history.pushState(null,null,`#${t}`):window.location.hash="";var Ac=Re(86215),qp=Re.n(Ac);const Ou="layout_scroll_to",Co="layout_clear_scroll",Jo={fn:{getScrollParent:function(e,r){const n=document.documentElement;let a=getComputedStyle(e);const o=a.position==="absolute",u=r?/(auto|scroll|hidden)/:/(auto|scroll)/;if(a.position==="fixed")return n;for(let c=e;c=c.parentElement;)if(a=getComputedStyle(c),(!o||a.position!=="static")&&u.test(a.overflow+a.overflowY+a.overflowX))return c;return n}},statePlugins:{layout:{actions:{scrollToElement:(t,e)=>r=>{try{e=e||r.fn.getScrollParent(t),qp().createScroller(e).to(t)}catch(n){}},scrollTo:t=>({type:Ou,payload:Array.isArray(t)?t:[t]}),clearScrollTo:()=>({type:Co}),readyToScroll:(t,e)=>r=>{const n=r.layoutSelectors.getScrollToKey();ye().is(n,(0,Y.fromJS)(t))&&(r.layoutActions.scrollToElement(e),r.layoutActions.clearScrollTo())},parseDeepLinkHash:t=>({layoutActions:e,layoutSelectors:r,getConfigs:n})=>{if(n().deepLinking&&t){let a=t.slice(1);a[0]==="!"&&(a=a.slice(1)),a[0]==="/"&&(a=a.slice(1));const o=a.split("/").map((_=>_||"")),u=r.isShownKeyFromUrlHashArray(o),[c,d="",S=""]=u;if(c==="operations"){const _=r.isShownKeyFromUrlHashArray([d]);d.indexOf("_")>-1&&e.show(_.map((O=>O.replace(/_/g," "))),!0),e.show(_,!0)}(d.indexOf("_")>-1||S.indexOf("_")>-1)&&e.show(u.map((_=>_.replace(/_/g," "))),!0),e.show(u,!0),e.scrollTo(u)}}},selectors:{getScrollToKey:t=>t.get("scrollToKey"),isShownKeyFromUrlHashArray(t,e){const[r,n]=e;return n?["operations",r,n]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey(t,e){let[r,n,a]=e;return r=="operations"?[n,a]:r=="operations-tag"?[n]:[]}},reducers:{[Ou]:(t,e)=>t.set("scrollToKey",ye().fromJS(e.payload)),[Co]:t=>t.delete("scrollToKey")},wrapActions:{show:(t,{getConfigs:e,layoutSelectors:r})=>(...n)=>{if(t(...n),e().deepLinking)try{let[a,o]=n;a=Array.isArray(a)?a:[a];const u=r.urlHashArrayFromIsShownKey(a);if(!u.length)return;const[c,d]=u;if(!o)return Hs("/");u.length===2?Hs(Ya(`/${encodeURIComponent(c)}/${encodeURIComponent(d)}`)):u.length===1&&Hs(Ya(`/${encodeURIComponent(c)}`))}catch(a){}}}}}};var Cl=Re(2209),hi=Re.n(Cl);const is=(t,e)=>class extends p.Component{constructor(){super(...arguments);Ee(this,"onLoad",a=>{const{operation:o}=this.props,{tag:u,operationId:c}=o.toObject();let{isShownKey:d}=o.toObject();d=d||["operations",u,c],e.layoutActions.readyToScroll(d,a)})}render(){return p.createElement("span",{ref:this.onLoad},p.createElement(t,this.props))}},jl=(t,e)=>class extends p.Component{constructor(){super(...arguments);Ee(this,"onLoad",a=>{const{tag:o}=this.props,u=["operations-tag",o];e.layoutActions.readyToScroll(u,a)})}render(){return p.createElement("span",{ref:this.onLoad},p.createElement(t,this.props))}};function Cd(){return[Jo,{statePlugins:{configs:{wrapActions:{loaded:(t,e)=>(...r)=>{t(...r);const n=decodeURIComponent(window.location.hash);e.layoutActions.parseDeepLinkHash(n)}}}},wrapComponents:{operation:is,OperationTag:jl}}]}var jd=Re(40860),Pd=Re.n(jd);function jo(t){return t.map((e=>{let r="is not of a type(s)",n=e.get("message").indexOf(r);if(n>-1){let a=e.get("message").slice(n+19).split(",");return e.set("message",e.get("message").slice(0,n)+(function(u){return u.reduce(((c,d,S,_)=>S===_.length-1&&_.length>1?c+"or "+d:_[S+1]&&_.length>2?c+d+", ":_[S+1]?c+d+" ":c+d),"should be a")})(a))}return e}))}var Po=Re(58156),kn=Re.n(Po);function di(t,{jsSpec:e}){return t}const wg=[f,w];function Cc(t){let e={jsSpec:{}};return Pd()(wg,((n,a)=>{try{return a.transform(n,e).filter((o=>!!o))}catch(o){return n}}),t).filter((n=>!!n)).map((n=>(!n.get("line")&&n.get("path"),n)))}let Au={line:0,level:"error",message:"Unknown error"};const Up=lr((t=>t),(t=>t.get("errors",(0,Y.List)()))),Eg=lr(Up,(t=>t.last()));function Cu(t){return{statePlugins:{err:{reducers:{[Jt]:(e,{payload:r})=>{let n=Object.assign(Au,r,{type:"thrown"});return e.update("errors",(a=>(a||(0,Y.List)()).push((0,Y.fromJS)(n)))).update("errors",(a=>Cc(a)))},[Et]:(e,{payload:r})=>(r=r.map((n=>(0,Y.fromJS)(Object.assign(Au,n,{type:"thrown"})))),e.update("errors",(n=>(n||(0,Y.List)()).concat((0,Y.fromJS)(r)))).update("errors",(n=>Cc(n)))),[ct]:(e,{payload:r})=>{let n=(0,Y.fromJS)(r);return n=n.set("type","spec"),e.update("errors",(a=>(a||(0,Y.List)()).push((0,Y.fromJS)(n)).sortBy((o=>o.get("line"))))).update("errors",(a=>Cc(a)))},[Rt]:(e,{payload:r})=>(r=r.map((n=>(0,Y.fromJS)(Object.assign(Au,n,{type:"spec"})))),e.update("errors",(n=>(n||(0,Y.List)()).concat((0,Y.fromJS)(r)))).update("errors",(n=>Cc(n)))),[pe]:(e,{payload:r})=>{let n=(0,Y.fromJS)(Object.assign({},r));return n=n.set("type","auth"),e.update("errors",(a=>(a||(0,Y.List)()).push((0,Y.fromJS)(n)))).update("errors",(a=>Cc(a)))},[z]:(e,{payload:r})=>{if(!r||!e.get("errors"))return e;let n=e.get("errors").filter((a=>a.keySeq().every((o=>{const u=a.get(o),c=r[o];return!c||u!==c}))));return e.merge({errors:n})},[W]:(e,{payload:r})=>{if(!r||typeof r!="function")return e;let n=e.get("errors").filter((a=>r(a)));return e.merge({errors:n})}},actions:E,selectors:m}}}}function Sg(t,e){return t.filter(((r,n)=>n.indexOf(e)!==-1))}function Pl(){return{fn:{opsFilter:Sg}}}var Td=Re(7666),Wr=Re.n(Td);const ju=a=>{var o=a,{className:t=null,width:e=20,height:r=20}=o,n=jr(o,["className","width","height"]);return p.createElement("svg",Wr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"}))},zp=a=>{var o=a,{className:t=null,width:e=20,height:r=20}=o,n=jr(o,["className","width","height"]);return p.createElement("svg",Wr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"}))},xg=a=>{var o=a,{className:t=null,width:e=20,height:r=20}=o,n=jr(o,["className","width","height"]);return p.createElement("svg",Wr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"}))},_g=a=>{var o=a,{className:t=null,width:e=20,height:r=20}=o,n=jr(o,["className","width","height"]);return p.createElement("svg",Wr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"}))},jc=a=>{var o=a,{className:t=null,width:e=15,height:r=16}=o,n=jr(o,["className","width","height"]);return p.createElement("svg",Wr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("g",{transform:"translate(2, -1)"},p.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"})))},kg=a=>{var o=a,{className:t=null,width:e=20,height:r=20}=o,n=jr(o,["className","width","height"]);return p.createElement("svg",Wr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"}))},Vp=a=>{var o=a,{className:t=null,width:e=20,height:r=20}=o,n=jr(o,["className","width","height"]);return p.createElement("svg",Wr()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"}))},Pu=()=>({components:{ArrowUpIcon:ju,ArrowDownIcon:zp,ArrowIcon:xg,CloseIcon:_g,CopyIcon:jc,LockIcon:kg,UnlockIcon:Vp}}),Ks="layout_update_layout",Tu="layout_update_filter",Nu="layout_update_mode",Iu="layout_show";function Nd(t){return{type:Ks,payload:t}}function Pc(t){return{type:Tu,payload:t}}function Wo(t,e=!0){return t=En(t),{type:Iu,payload:{thing:t,shown:e}}}function Tl(t,e=""){return t=En(t),{type:Nu,payload:{thing:t,mode:e}}}const Id={[Ks]:(t,e)=>t.set("layout",e.payload),[Tu]:(t,e)=>t.set("filter",e.payload),[Iu]:(t,e)=>{const r=e.payload.shown,n=(0,Y.fromJS)(e.payload.thing);return t.update("shown",(0,Y.fromJS)({}),(a=>a.set(n,r)))},[Nu]:(t,e)=>{let r=e.payload.thing,n=e.payload.mode;return t.setIn(["modes"].concat(r),(n||"")+"")}},Og=t=>t.get("layout"),ss=t=>t.get("filter"),ls=(t,e,r)=>(e=En(e),t.get("shown",(0,Y.fromJS)({})).get((0,Y.fromJS)(e),r)),Md=(t,e,r="")=>(e=En(e),t.getIn(["modes",...e],r)),Ag=lr((t=>t),(t=>!ls(t,"editor"))),cs=(t,e)=>(r,...n)=>{let a=t(r,...n);const{fn:o,layoutSelectors:u,getConfigs:c}=e.getSystem(),d=c(),{maxDisplayedTags:S}=d;let _=u.currentFilter();return _&&_!==!0&&(a=o.opsFilter(a,_)),S>=0&&(a=a.slice(0,S)),a};function us(){return{statePlugins:{layout:{reducers:Id,actions:g,selectors:x},spec:{wrapSelectors:k}}}}function Mu({configs:t}){const e={debug:0,info:1,log:2,warn:3,error:4},r=u=>e[u]||-1;let{logLevel:n}=t,a=r(n);function o(u,...c){r(u)>=a}return o.warn=o.bind(null,"warn"),o.error=o.bind(null,"error"),o.info=o.bind(null,"info"),o.debug=o.bind(null,"debug"),{rootInjects:{log:o}}}let Jp=!1;function Ru(){return{statePlugins:{spec:{wrapActions:{updateSpec:t=>(...e)=>(Jp=!0,t(...e)),updateJsonSpec:(t,e)=>(...r)=>{const n=e.getConfigs().onComplete;return Jp&&typeof n=="function"&&(setTimeout(n,0),Jp=!1),t(...r)}}}}}}const Rd=t=>{const e="_**[]";return t.indexOf(e)<0?t:t.split(e)[0].trim()},Du=t=>t==="-d "||/^[_\/-]/g.test(t)?t:"'"+t.replace(/'/g,"'\\''")+"'",Ii=t=>(t=t.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,`^
|
||
`))==="-d "?t.replace(/-d /g,`-d ^
|
||
`):/^[_\/-]/g.test(t)?t:'"'+t+'"',Fu=t=>t==="-d "?t:/\n/.test(t)?`@"
|
||
${t.replace(/`/g,"``").replace(/\$/g,"`$")}
|
||
"@`:/^[_\/-]/.test(t)?t:`'${t.replace(/'/g,"''")}'`,Nl=(t,e,r,n="")=>{let a=!1,o="";const u=(...R)=>o+=" "+R.map(e).join(" "),c=(...R)=>o+=R.map(e).join(" "),d=()=>o+=` ${r}`,S=(R=1)=>o+=" ".repeat(R);let _=t.get("headers");o+="curl"+n;const O=t.get("curlOptions");if(Y.List.isList(O)&&!O.isEmpty()&&u(...t.get("curlOptions")),u("-X",t.get("method")),d(),S(),c(`${t.get("url")}`),_&&_.size)for(let R of t.get("headers").entries()){d(),S();let[$,L]=R;c("-H",`${$}: ${L}`),a=a||/^content-type$/i.test($)&&/^multipart\/form-data$/i.test(L)}const j=t.get("body");if(j)if(a&&["POST","PUT","PATCH"].includes(t.get("method")))for(let[R,$]of j.entrySeq()){let L=Rd(R);d(),S(),c("-F"),$ instanceof yt.File&&typeof $.valueOf()=="string"?u(`${L}=${$.data}${$.type?`;type=${$.type}`:""}`):$ instanceof yt.File?u(`${L}=@${$.name}${$.type?`;type=${$.type}`:""}`):u(`${L}=${$}`)}else if(j instanceof yt.File)d(),S(),c(`--data-binary '@${j.name}'`);else{d(),S(),c("-d ");let R=j;Y.Map.isMap(R)?c((function(L){let q=[];for(let[X,D]of L.get("body").entrySeq()){let se=Rd(X);D instanceof yt.File?q.push(` "${se}": {
|
||
"name": "${D.name}"${D.type?`,
|
||
"type": "${D.type}"`:""}
|
||
}`):q.push(` "${se}": ${JSON.stringify(D,null,2).replace(/(\r\n|\r|\n)/g,`
|
||
`)}`)}return`{
|
||
${q.join(`,
|
||
`)}
|
||
}`})(t)):(typeof R!="string"&&(R=JSON.stringify(R)),c(R))}else j||t.get("method")!=="POST"||(d(),S(),c("-d ''"));return o},Il=t=>Nl(t,Fu,"`\n",".exe"),Wp=t=>Nl(t,Du,`\\
|
||
`),Tc=t=>Nl(t,Ii,`^
|
||
`),Hp=t=>t||(0,Y.Map)(),Kp=lr(Hp,(t=>{const e=t.get("languages"),r=t.get("generators",(0,Y.Map)());return!e||e.isEmpty()?r:r.filter(((n,a)=>e.includes(a)))})),Qn=t=>({fn:e})=>Kp(t).map(((r,n)=>{const a=(o=>e[`requestSnippetGenerator_${o}`])(n);return typeof a!="function"?null:r.set("fn",a)})).filter((r=>r)),Gp=lr(Hp,(t=>t.get("activeLanguage"))),Dd=lr(Hp,(t=>t.get("defaultExpanded")));var Fd=Re(46942),Br=Re.n(Fd),Nc=Re(59399);const Ml={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(250, 250, 250)",paddingBottom:"0",paddingTop:"0",border:"1px solid rgb(51, 51, 51)",borderRadius:"4px 4px 0 0",boxShadow:"none",borderBottom:"none"},Wn={cursor:"pointer",lineHeight:1,display:"inline-flex",backgroundColor:"rgb(51, 51, 51)",boxShadow:"none",border:"1px solid rgb(51, 51, 51)",paddingBottom:"0",paddingTop:"0",borderRadius:"4px 4px 0 0",marginTop:"-5px",marginRight:"-5px",marginLeft:"-5px",zIndex:"9999",borderBottom:"none"},xa=({request:t,requestSnippetsSelectors:e,getComponent:r})=>{var X;const n=(0,p.useRef)(null),a=r("ArrowUpIcon"),o=r("ArrowDownIcon"),u=r("SyntaxHighlighter",!0),[c,d]=(0,p.useState)((X=e.getSnippetGenerators())==null?void 0:X.keySeq().first()),[S,_]=(0,p.useState)(e==null?void 0:e.getDefaultExpanded()),O=e.getSnippetGenerators(),j=O.get(c),R=j.get("fn")(t),$=()=>{_(!S)},L=D=>D===c?Wn:Ml,q=D=>{const{target:se,deltaY:te}=D,{scrollHeight:le,offsetHeight:ce,scrollTop:ie}=se;le>ce&&(ie===0&&te<0||ce+ie>=le&&te>0)&&D.preventDefault()};return(0,p.useEffect)((()=>{}),[]),(0,p.useEffect)((()=>{const D=Array.from(n.current.childNodes).filter((se=>{var te;return!!se.nodeType&&((te=se.classList)==null?void 0:te.contains("curl-command"))}));return D.forEach((se=>se.addEventListener("mousewheel",q,{passive:!1}))),()=>{D.forEach((se=>se.removeEventListener("mousewheel",q)))}}),[t]),p.createElement("div",{className:"request-snippets",ref:n},p.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},p.createElement("h4",{onClick:()=>$(),style:{cursor:"pointer"}},"Snippets"),p.createElement("button",{onClick:()=>$(),style:{border:"none",background:"none"},title:S?"Collapse operation":"Expand operation"},S?p.createElement(o,{className:"arrow",width:"10",height:"10"}):p.createElement(a,{className:"arrow",width:"10",height:"10"}))),S&&p.createElement("div",{className:"curl-command"},p.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},O.entrySeq().map((([D,se])=>p.createElement("div",{className:Br()("btn",{active:D===c}),style:L(D),key:D,onClick:()=>(te=>{c!==te&&d(te)})(D)},p.createElement("h4",{style:D===c?{color:"white"}:{}},se.get("title")))))),p.createElement("div",{className:"copy-to-clipboard"},p.createElement(Nc.CopyToClipboard,{text:R},p.createElement("button",null))),p.createElement("div",null,p.createElement(u,{language:j.get("syntax"),className:"curl microlight",renderPlainText:({children:D,PlainTextViewer:se})=>p.createElement(se,{className:"curl"},D)},R))))},wa=()=>({components:{RequestSnippets:xa},fn:{requestSnippetGenerator_curl_bash:Wp,requestSnippetGenerator_curl_cmd:Tc,requestSnippetGenerator_curl_powershell:Il},statePlugins:{requestSnippets:{selectors:T}}}),Gv=class Gv extends p.Component{constructor(r,n){super(r,n);Ee(this,"toggleCollapsed",()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})});Ee(this,"onLoad",r=>{if(r&&this.props.layoutSelectors){const n=this.props.layoutSelectors.getScrollToKey();ye().is(n,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,r.parentElement)}});let{expanded:a,collapsedContent:o}=this.props;this.state={expanded:a,collapsedContent:o||Gv.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:r,expanded:n,modelName:a}=this.props;r&&n&&this.props.onToggle(a,n)}UNSAFE_componentWillReceiveProps(r){this.props.expanded!==r.expanded&&this.setState({expanded:r.expanded})}render(){const{title:r,classes:n}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?p.createElement("span",{className:n||""},this.props.children):p.createElement("span",{className:n||"",ref:this.onLoad},p.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},r&&p.createElement("span",{className:"pointer"},r),p.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&p.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}};Ee(Gv,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:ye().List([])});let Ic=Gv;const $u=({initialTab:t,isExecute:e,schema:r,example:n})=>{const a=(0,p.useMemo)((()=>({example:"example",model:"model"})),[]),o=(0,p.useMemo)((()=>Object.keys(a)),[a]).includes(t)&&r&&!e?t:a.example,u=(_=>{const O=(0,p.useRef)();return(0,p.useEffect)((()=>{O.current=_})),O.current})(e),[c,d]=(0,p.useState)(o),S=(0,p.useCallback)((_=>{d(_.target.dataset.name)}),[]);return(0,p.useEffect)((()=>{u&&!e&&n&&d(a.example)}),[u,e,n]),{activeTab:c,onTabChange:S,tabs:a}},Lu=({schema:t,example:e,isExecute:r=!1,specPath:n,includeWriteOnly:a=!1,includeReadOnly:o=!1,getComponent:u,getConfigs:c,specSelectors:d})=>{const{defaultModelRendering:S,defaultModelExpandDepth:_}=c(),O=u("ModelWrapper"),j=u("HighlightCode",!0),R=sa()(5).toString("base64"),$=sa()(5).toString("base64"),L=sa()(5).toString("base64"),q=sa()(5).toString("base64"),X=d.isOAS3(),{activeTab:D,tabs:se,onTabChange:te}=$u({initialTab:S,isExecute:r,schema:t,example:e});return p.createElement("div",{className:"model-example"},p.createElement("ul",{className:"tab",role:"tablist"},p.createElement("li",{className:Br()("tabitem",{active:D===se.example}),role:"presentation"},p.createElement("button",{"aria-controls":$,"aria-selected":D===se.example,className:"tablinks","data-name":"example",id:R,onClick:te,role:"tab"},r?"Edit Value":"Example Value")),t&&p.createElement("li",{className:Br()("tabitem",{active:D===se.model}),role:"presentation"},p.createElement("button",{"aria-controls":q,"aria-selected":D===se.model,className:Br()("tablinks",{inactive:r}),"data-name":"model",id:L,onClick:te,role:"tab"},X?"Schema":"Model"))),D===se.example&&p.createElement("div",{"aria-hidden":D!==se.example,"aria-labelledby":R,"data-name":"examplePanel",id:$,role:"tabpanel",tabIndex:"0"},e||p.createElement(j,null,"(no example available")),D===se.model&&p.createElement("div",{className:"model-container","aria-hidden":D===se.example,"aria-labelledby":L,"data-name":"modelPanel",id:q,role:"tabpanel",tabIndex:"0"},p.createElement(O,{schema:t,getComponent:u,getConfigs:c,specSelectors:d,expandDepth:_,specPath:n,includeReadOnly:o,includeWriteOnly:a})))};class H0 extends p.Component{constructor(){super(...arguments);Ee(this,"onToggle",(r,n)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,n)})}render(){let{getComponent:r,getConfigs:n}=this.props;const a=r("Model");let o;return this.props.layoutSelectors&&(o=this.props.layoutSelectors.isShown(this.props.fullPath)),p.createElement("div",{className:"model-box"},p.createElement(a,Wr()({},this.props,{getConfigs:n,expanded:o,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}function _a(t){return _a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_a(t)}function $d(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Ld(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Yp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),r.push.apply(r,n)}return r}function Ho(t){return Ho=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Ho(t)}function bo(t,e){return bo=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},bo(t,e)}function Bu(t,e){return!e||typeof e!="object"&&typeof e!="function"?(function(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n})(t):e}var Xp={};function Bd(t,e,r){return(function(a){return a==null})(t)?r:(function(a){return a!==null&&_a(a)==="object"&&typeof a.get=="function"&&typeof a.has=="function"})(t)?t.has(e)?t.get(e):r:hasOwnProperty.call(t,e)?t[e]:r}function qd(t,e,r){for(var n=0;n!==e.length;)if((t=Bd(t,e[n++],Xp))===Xp)return r;return t}function Ud(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(function(u,c){return function(d){if(typeof d=="string")return(0,Y.is)(c[d],u[d]);if(Array.isArray(d))return(0,Y.is)(qd(c,d),qd(u,d));throw new TypeError("Invalid key: expected Array or string: "+d)}})(e,r),a=t||Object.keys((function(u){for(var c=1;c<arguments.length;c++){var d=arguments[c]!=null?arguments[c]:{};c%2?Yp(d,!0).forEach((function(S){Ld(u,S,d[S])})):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(d)):Yp(d).forEach((function(S){Object.defineProperty(u,S,Object.getOwnPropertyDescriptor(d,S))}))}return u})({},r,{},e));return a.every(n)}const Cg=(function(t){function e(){return(function(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")})(this,e),Bu(this,Ho(e).apply(this,arguments))}return(function(n,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(a&&a.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),a&&bo(n,a)})(e,t),(function(n,a,o){return a&&$d(n.prototype,a),n})(e,[{key:"shouldComponentUpdate",value:function(n){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!Ud(this.updateOnProps,this.props,n,"updateOnProps")||!Ud(this.updateOnStates,this.state,a,"updateOnStates")}}]),e})(p.Component);var zd,jg=Re(5556),Za=Re.n(jg);function Qp(){return Qp=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Qp.apply(null,arguments)}const Vd=t=>p.createElement("svg",Qp({xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"rolling-load_svg__lds-rolling",preserveAspectRatio:"xMidYMid",style:{backgroundImage:"none",backgroundPosition:"initial initial",backgroundRepeat:"initial initial"},viewBox:"0 0 100 100"},t),zd||(zd=p.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},p.createElement("animateTransform",{attributeName:"transform",begin:"0s",calcMode:"linear",dur:"1s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 50 50;360 50 50"})))),Mc=t=>{const e=t.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(e)}catch(r){return e}};class Jd extends Cg{constructor(){super(...arguments);Ee(this,"getModelName",r=>r.indexOf("#/definitions/")!==-1?Mc(r.replace(/^.*#\/definitions\//,"")):r.indexOf("#/components/schemas/")!==-1?Mc(r.replace(/^.*#\/components\/schemas\//,"")):void 0);Ee(this,"getRefSchema",r=>{let{specSelectors:n}=this.props;return n.findDefinition(r)})}render(){let{getComponent:r,getConfigs:n,specSelectors:a,schema:o,required:u,name:c,isRef:d,specPath:S,displayName:_,includeReadOnly:O,includeWriteOnly:j}=this.props;const R=r("ObjectModel"),$=r("ArrayModel"),L=r("PrimitiveModel");let q="object",X=o&&o.get("$$ref"),D=o&&o.get("$ref");if(!c&&X&&(c=this.getModelName(X)),D){const te=this.getModelName(D),le=this.getRefSchema(te);Y.Map.isMap(le)?(o=le.mergeDeep(o),X||(o=o.set("$$ref",D),X=D)):Y.Map.isMap(o)&&o.size===1&&(o=null,c=D)}if(!o)return p.createElement("span",{className:"model model-title"},p.createElement("span",{className:"model-title__text"},_||c),!D&&p.createElement(Vd,{height:"20px",width:"20px"}));const se=a.isOAS3()&&o.get("deprecated");switch(d=d!==void 0?d:!!X,q=o&&o.get("type")||q,q){case"object":return p.createElement(R,Wr()({className:"object"},this.props,{specPath:S,getConfigs:n,schema:o,name:c,deprecated:se,isRef:d,includeReadOnly:O,includeWriteOnly:j}));case"array":return p.createElement($,Wr()({className:"array"},this.props,{getConfigs:n,schema:o,name:c,deprecated:se,required:u,includeReadOnly:O,includeWriteOnly:j}));default:return p.createElement(L,Wr()({},this.props,{getComponent:r,getConfigs:n,schema:o,name:c,deprecated:se,required:u}))}}}Ee(Jd,"propTypes",{schema:hi().map.isRequired,getComponent:Za().func.isRequired,getConfigs:Za().func.isRequired,specSelectors:Za().object.isRequired,name:Za().string,displayName:Za().string,isRef:Za().bool,required:Za().bool,expandDepth:Za().number,depth:Za().number,specPath:hi().list.isRequired,includeReadOnly:Za().bool,includeWriteOnly:Za().bool});class Zp extends p.Component{constructor(){super(...arguments);Ee(this,"getSchemaBasePath",()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]);Ee(this,"getCollapsedContent",()=>" ");Ee(this,"handleToggle",(r,n)=>{const{layoutActions:a}=this.props;a.show([...this.getSchemaBasePath(),r],n),n&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),r])});Ee(this,"onLoadModels",r=>{r&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),r)});Ee(this,"onLoadModel",r=>{if(r){const n=r.getAttribute("data-name");this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),n],r)}})}render(){let{specSelectors:r,getComponent:n,layoutSelectors:a,layoutActions:o,getConfigs:u}=this.props,c=r.definitions(),{docExpansion:d,defaultModelsExpandDepth:S}=u();if(!c.size||S<0)return null;const _=this.getSchemaBasePath();let O=a.isShown(_,S>0&&d!=="none");const j=r.isOAS3(),R=n("ModelWrapper"),$=n("Collapse"),L=n("ModelCollapse"),q=n("JumpToPath",!0),X=n("ArrowUpIcon"),D=n("ArrowDownIcon");return p.createElement("section",{className:O?"models is-open":"models",ref:this.onLoadModels},p.createElement("h4",null,p.createElement("button",{"aria-expanded":O,className:"models-control",onClick:()=>o.show(_,!O)},p.createElement("span",null,j?"Schemas":"Models"),O?p.createElement(X,null):p.createElement(D,null))),p.createElement($,{isOpened:O},c.entrySeq().map((([se])=>{const te=[..._,se],le=ye().List(te),ce=r.specResolvedSubtree(te),ie=r.specJson().getIn(te),_e=Y.Map.isMap(ce)?ce:ye().Map(),me=Y.Map.isMap(ie)?ie:ye().Map(),ue=_e.get("title")||me.get("title")||se,ve=a.isShown(te,!1);ve&&_e.size===0&&me.size>0&&this.props.specActions.requestResolvedSubtree(te);const fe=p.createElement(R,{name:se,expandDepth:S,schema:_e||ye().Map(),displayName:ue,fullPath:te,specPath:le,getComponent:n,specSelectors:r,getConfigs:u,layoutSelectors:a,layoutActions:o,includeReadOnly:!0,includeWriteOnly:!0}),be=p.createElement("span",{className:"model-box"},p.createElement("span",{className:"model model-title"},ue));return p.createElement("div",{id:`model-${se}`,className:"model-container",key:`models-section-${se}`,"data-name":se,ref:this.onLoadModel},p.createElement("span",{className:"models-jump-to-path"},p.createElement(q,{path:le})),p.createElement(L,{classes:"model-box",collapsedContent:this.getCollapsedContent(se),onToggle:this.handleToggle,title:be,displayName:ue,modelName:se,specPath:le,layoutSelectors:a,layoutActions:o,hideSelfOnExpand:!0,expanded:S>0&&ve},fe))})).toArray()))}}const eh=({value:t,getComponent:e})=>{let r=e("ModelCollapse"),n=p.createElement("span",null,"Array [ ",t.count()," ]");return p.createElement("span",{className:"prop-enum"},"Enum:",p.createElement("br",null),p.createElement(r,{collapsedContent:n},"[ ",t.map(String).join(", ")," ]"))};function th(t){return t.match(/^(?:[a-z]+:)?\/\//i)}function Wd(t,e){return t?th(t)?(function(n){return n.match(/^\/\//i)?`${window.location.protocol}${n}`:n})(t):new URL(t,e).href:e}function Ko(t,e,{selectedServer:r=""}={}){try{return(function(a,o,{selectedServer:u=""}={}){if(!a)return;if(th(a))return a;const c=Wd(u,o);return th(c)?new URL(a,c).href:new URL(a,window.location.href).href})(t,e,{selectedServer:r})}catch(n){return}}function Hn(t){if(typeof t!="string"||t.trim()==="")return"";const e=t.trim(),r="about:blank";try{const n=`https://base${String(Math.random()).slice(2)}`,a=new URL(e,n),o=a.protocol.slice(0,-1);return["javascript","data","vbscript"].includes(o.toLowerCase())?r:a.origin===n?e.startsWith("/")?`${a.pathname}${a.search}${a.hash}`:e.startsWith("./")||e.startsWith("../")?`${e.match(/^(\.\.?\/)+/)[0]}${a.pathname.substring(1)}${a.search}${a.hash}`:`${a.pathname.substring(1)}${a.search}${a.hash}`:String(a)}catch(n){return r}}class Pg extends p.Component{render(){let Vt=this.props,{schema:e,name:r,displayName:n,isRef:a,getComponent:o,getConfigs:u,depth:c,onToggle:d,expanded:S,specPath:_}=Vt,O=jr(Vt,["schema","name","displayName","isRef","getComponent","getConfigs","depth","onToggle","expanded","specPath"]),{specSelectors:j,expandDepth:R,includeReadOnly:$,includeWriteOnly:L}=O;const{isOAS3:q}=j,X=c>2||c===2&&_.last()!=="items";if(!e)return null;const{showExtensions:D}=u(),se=D?Zt(e):(0,Y.List)();let te=e.get("description"),le=e.get("properties"),ce=e.get("additionalProperties"),ie=e.get("title")||n||r,_e=e.get("required"),me=e.filter(((rr,pr)=>["maxProperties","minProperties","nullable","example"].indexOf(pr)!==-1)),ue=e.get("deprecated"),ve=e.getIn(["externalDocs","url"]),fe=e.getIn(["externalDocs","description"]);const be=o("JumpToPath",!0),je=o("Markdown",!0),qe=o("Model"),pt=o("ModelCollapse"),_t=o("Property"),It=o("Link"),Wt=o("ModelExtensions"),or=()=>p.createElement("span",{className:"model-jump-to-path"},p.createElement(be,{path:_})),ir=p.createElement("span",null,p.createElement("span",null,"{"),"...",p.createElement("span",null,"}"),a?p.createElement(or,null):""),Ut=j.isOAS3()?e.get("allOf"):null,Ye=j.isOAS3()?e.get("anyOf"):null,Xe=j.isOAS3()?e.get("oneOf"):null,Mt=j.isOAS3()?e.get("not"):null,kt=ie&&p.createElement("span",{className:"model-title"},a&&e.get("$$ref")&&p.createElement("span",{className:Br()("model-hint",{"model-hint--embedded":X})},e.get("$$ref")),p.createElement("span",{className:"model-title__text"},ie));return p.createElement("span",{className:"model"},p.createElement(pt,{modelName:r,title:kt,onToggle:d,expanded:!!S||c<=R,collapsedContent:ir},p.createElement("span",{className:"brace-open object"},"{"),a?p.createElement(or,null):null,p.createElement("span",{className:"inner-object"},p.createElement("table",{className:"model"},p.createElement("tbody",null,te?p.createElement("tr",{className:"description"},p.createElement("td",null,"description:"),p.createElement("td",null,p.createElement(je,{source:te}))):null,ve&&p.createElement("tr",{className:"external-docs"},p.createElement("td",null,"externalDocs:"),p.createElement("td",null,p.createElement(It,{target:"_blank",href:Hn(ve)},fe||ve))),ue?p.createElement("tr",{className:"property"},p.createElement("td",null,"deprecated:"),p.createElement("td",null,"true")):null,le&&le.size?le.entrySeq().filter((([,rr])=>(!rr.get("readOnly")||$)&&(!rr.get("writeOnly")||L))).map((([rr,pr])=>{let Rr=q()&&pr.get("deprecated"),xr=Y.List.isList(_e)&&_e.contains(rr),hr=["property-row"];return Rr&&hr.push("deprecated"),xr&&hr.push("required"),p.createElement("tr",{key:rr,className:hr.join(" ")},p.createElement("td",null,rr,xr&&p.createElement("span",{className:"star"},"*")),p.createElement("td",null,p.createElement(qe,Wr()({key:`object-${r}-${rr}_${pr}`},O,{required:xr,getComponent:o,specPath:_.push("properties",rr),getConfigs:u,schema:pr,depth:c+1}))))})).toArray():null,se.size===0?null:p.createElement(p.Fragment,null,p.createElement("tr",null,p.createElement("td",null," ")),p.createElement(Wt,{extensions:se,propClass:"extension"})),ce&&ce.size?p.createElement("tr",null,p.createElement("td",null,"< * >:"),p.createElement("td",null,p.createElement(qe,Wr()({},O,{required:!1,getComponent:o,specPath:_.push("additionalProperties"),getConfigs:u,schema:ce,depth:c+1})))):null,Ut?p.createElement("tr",null,p.createElement("td",null,"allOf ->"),p.createElement("td",null,Ut.map(((rr,pr)=>p.createElement("div",{key:pr},p.createElement(qe,Wr()({},O,{required:!1,getComponent:o,specPath:_.push("allOf",pr),getConfigs:u,schema:rr,depth:c+1}))))))):null,Ye?p.createElement("tr",null,p.createElement("td",null,"anyOf ->"),p.createElement("td",null,Ye.map(((rr,pr)=>p.createElement("div",{key:pr},p.createElement(qe,Wr()({},O,{required:!1,getComponent:o,specPath:_.push("anyOf",pr),getConfigs:u,schema:rr,depth:c+1}))))))):null,Xe?p.createElement("tr",null,p.createElement("td",null,"oneOf ->"),p.createElement("td",null,Xe.map(((rr,pr)=>p.createElement("div",{key:pr},p.createElement(qe,Wr()({},O,{required:!1,getComponent:o,specPath:_.push("oneOf",pr),getConfigs:u,schema:rr,depth:c+1}))))))):null,Mt?p.createElement("tr",null,p.createElement("td",null,"not ->"),p.createElement("td",null,p.createElement("div",null,p.createElement(qe,Wr()({},O,{required:!1,getComponent:o,specPath:_.push("not"),getConfigs:u,schema:Mt,depth:c+1}))))):null))),p.createElement("span",{className:"brace-close"},"}")),me.size?me.entrySeq().map((([rr,pr])=>p.createElement(_t,{key:`${rr}-${pr}`,propKey:rr,propVal:pr,propClass:"property"}))):null)}}class Tg extends p.Component{render(){let{getComponent:e,getConfigs:r,schema:n,depth:a,expandDepth:o,name:u,displayName:c,specPath:d}=this.props,S=n.get("description"),_=n.get("items"),O=n.get("title")||c||u,j=n.filter(((le,ce)=>["type","items","description","$$ref","externalDocs"].indexOf(ce)===-1)),R=n.getIn(["externalDocs","url"]),$=n.getIn(["externalDocs","description"]);const L=e("Markdown",!0),q=e("ModelCollapse"),X=e("Model"),D=e("Property"),se=e("Link"),te=O&&p.createElement("span",{className:"model-title"},p.createElement("span",{className:"model-title__text"},O));return p.createElement("span",{className:"model"},p.createElement(q,{title:te,expanded:a<=o,collapsedContent:"[...]"},"[",j.size?j.entrySeq().map((([le,ce])=>p.createElement(D,{key:`${le}-${ce}`,propKey:le,propVal:ce,propClass:"property"}))):null,S?p.createElement(L,{source:S}):j.size?p.createElement("div",{className:"markdown"}):null,R&&p.createElement("div",{className:"external-docs"},p.createElement(se,{target:"_blank",href:Hn(R)},$||R)),p.createElement("span",null,p.createElement(X,Wr()({},this.props,{getConfigs:r,specPath:d.push("items"),name:null,schema:_,required:!1,depth:a+1}))),"]"))}}const Rc="property primitive";class Ng extends p.Component{render(){let{schema:e,getComponent:r,getConfigs:n,name:a,displayName:o,depth:u,expandDepth:c}=this.props;const{showExtensions:d}=n();if(!e||!e.get)return p.createElement("div",null);let S=e.get("type"),_=e.get("format"),O=e.get("xml"),j=e.get("enum"),R=e.get("title")||o||a,$=e.get("description");const L=Zt(e);let q=e.filter(((ue,ve)=>["enum","type","format","description","$$ref","externalDocs"].indexOf(ve)===-1)).filterNot(((ue,ve)=>L.has(ve))),X=e.getIn(["externalDocs","url"]),D=e.getIn(["externalDocs","description"]);const se=r("Markdown",!0),te=r("EnumModel"),le=r("Property"),ce=r("ModelCollapse"),ie=r("Link"),_e=r("ModelExtensions"),me=R&&p.createElement("span",{className:"model-title"},p.createElement("span",{className:"model-title__text"},R));return p.createElement("span",{className:"model"},p.createElement(ce,{title:me,expanded:u<=c,collapsedContent:"[...]"},p.createElement("span",{className:"prop"},a&&u>1&&p.createElement("span",{className:"prop-name"},R),p.createElement("span",{className:"prop-type"},S),_&&p.createElement("span",{className:"prop-format"},"($",_,")"),q.size?q.entrySeq().map((([ue,ve])=>p.createElement(le,{key:`${ue}-${ve}`,propKey:ue,propVal:ve,propClass:Rc}))):null,d&&L.size>0?p.createElement(_e,{extensions:L,propClass:`${Rc} extension`}):null,$?p.createElement(se,{source:$}):null,X&&p.createElement("div",{className:"external-docs"},p.createElement(ie,{target:"_blank",href:Hn(X)},D||X)),O&&O.size?p.createElement("span",null,p.createElement("br",null),p.createElement("span",{className:Rc},"xml:"),O.entrySeq().map((([ue,ve])=>p.createElement("span",{key:`${ue}-${ve}`,className:Rc},p.createElement("br",null)," ",ue,": ",String(ve)))).toArray()):null,j&&p.createElement(te,{value:j,getComponent:r}))))}}class Ig extends p.Component{constructor(){super(...arguments);Ee(this,"onChange",r=>{this.setScheme(r.target.value)});Ee(this,"setScheme",r=>{let{path:n,method:a,specActions:o}=this.props;o.setScheme(r,n,a)})}UNSAFE_componentWillMount(){let{schemes:r}=this.props;this.setScheme(r.first())}UNSAFE_componentWillReceiveProps(r){this.props.currentScheme&&r.schemes.includes(this.props.currentScheme)||this.setScheme(r.schemes.first())}render(){let{schemes:r,currentScheme:n}=this.props;return p.createElement("label",{htmlFor:"schemes"},p.createElement("span",{className:"schemes-title"},"Schemes"),p.createElement("select",{onChange:this.onChange,value:n,id:"schemes"},r.valueSeq().map((a=>p.createElement("option",{value:a,key:a},a))).toArray()))}}class Mg extends p.Component{render(){const{specActions:e,specSelectors:r,getComponent:n}=this.props,a=r.operationScheme(),o=r.schemes(),u=n("schemes");return o&&o.size?p.createElement(u,{currentScheme:a,schemes:o,specActions:e}):null}}var K0=Re(24677),Hd=Re.n(K0);const Rl={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,Y.List)()};class Rg extends p.Component{componentDidMount(){const{dispatchInitialValue:e,value:r,onChange:n}=this.props;e?n(r):e===!1&&n("")}render(){let{schema:e,errors:r,value:n,onChange:a,getComponent:o,fn:u,disabled:c}=this.props;const d=e&&e.get?e.get("format"):null,S=e&&e.get?e.get("type"):null,_=u.getSchemaObjectType(e),O=u.isFileUploadIntended(e);let j=$=>o($,!1,{failSilently:!0}),R=S?j(d?`JsonSchema_${S}_${d}`:`JsonSchema_${S}`):o("JsonSchema_string");return O||!Y.List.isList(S)||_!=="array"&&_!=="object"||(R=o("JsonSchema_object")),R||(R=o("JsonSchema_string")),p.createElement(R,Wr()({},this.props,{errors:r,fn:u,getComponent:o,value:n,onChange:a,schema:e,disabled:c}))}}Ee(Rg,"defaultProps",Rl);class Kd extends p.Component{constructor(){super(...arguments);Ee(this,"onChange",r=>{const n=this.props.schema&&this.props.schema.get("type")==="file"?r.target.files[0]:r.target.value;this.props.onChange(n,this.props.keyName)});Ee(this,"onEnumChange",r=>this.props.onChange(r))}render(){let{getComponent:r,value:n,schema:a,errors:o,required:u,description:c,disabled:d}=this.props;const S=a&&a.get?a.get("enum"):null,_=a&&a.get?a.get("format"):null,O=a&&a.get?a.get("type"):null,j=a&&a.get?a.get("in"):null;if(n?(kr(n)||typeof n=="object")&&(n=Gr(n)):n="",o=o.toJS?o.toJS():[],S){const L=r("Select");return p.createElement(L,{className:o.length?"invalid":"",title:o.length?o:"",allowedValues:[...S],value:n,allowEmptyValue:!u,disabled:d,onChange:this.onEnumChange})}const R=d||j&&j==="formData"&&!("FormData"in window),$=r("Input");return O&&O==="file"?p.createElement($,{type:"file",className:o.length?"invalid":"",title:o.length?o:"",onChange:this.onChange,disabled:R}):p.createElement(Hd(),{type:_&&_==="password"?"password":"text",className:o.length?"invalid":"",title:o.length?o:"",value:n,minLength:0,debounceTimeout:350,placeholder:c,onChange:this.onChange,disabled:R})}}Ee(Kd,"defaultProps",Rl);class Gd extends p.PureComponent{constructor(r,n){super(r,n);Ee(this,"onChange",()=>{this.props.onChange(this.state.value)});Ee(this,"onItemChange",(r,n)=>{this.setState((({value:a})=>({value:a.set(n,r)})),this.onChange)});Ee(this,"removeItem",r=>{this.setState((({value:n})=>({value:n.delete(r)})),this.onChange)});Ee(this,"addItem",()=>{const{fn:r}=this.props;let n=To(this.state.value);this.setState((()=>({value:n.push(r.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))})),this.onChange)});Ee(this,"onEnumChange",r=>{this.setState((()=>({value:r})),this.onChange)});this.state={value:To(r.value),schema:r.schema}}UNSAFE_componentWillReceiveProps(r){const n=To(r.value);n!==this.state.value&&this.setState({value:n}),r.schema!==this.state.schema&&this.setState({schema:r.schema})}render(){let{getComponent:r,required:n,schema:a,errors:o,fn:u,disabled:c}=this.props;o=o.toJS?o.toJS():Array.isArray(o)?o:[];const d=o.filter((ce=>typeof ce=="string")),S=o.filter((ce=>ce.needRemove!==void 0)).map((ce=>ce.error)),_=this.state.value,O=!!(_&&_.count&&_.count()>0),j=a.getIn(["items","enum"]),R=a.get("items"),$=u.getSchemaObjectType(R),L=u.getSchemaObjectTypeLabel(R),q=a.getIn(["items","format"]),X=a.get("items");let D,se=!1,te=$==="file"||$==="string"&&q==="binary";if($&&q?D=r(`JsonSchema_${$}_${q}`):$!=="boolean"&&$!=="array"&&$!=="object"||(D=r(`JsonSchema_${$}`)),!Y.List.isList(R==null?void 0:R.get("type"))||$!=="array"&&$!=="object"||(D=r("JsonSchema_object")),D||te||(se=!0),j){const ce=r("Select");return p.createElement(ce,{className:o.length?"invalid":"",title:o.length?o:"",multiple:!0,value:_,disabled:c,allowedValues:j,allowEmptyValue:!n,onChange:this.onEnumChange})}const le=r("Button");return p.createElement("div",{className:"json-schema-array"},O?_.map(((ce,ie)=>{const _e=(0,Y.fromJS)([...o.filter((me=>me.index===ie)).map((me=>me.error))]);return p.createElement("div",{key:ie,className:"json-schema-form-item"},te?p.createElement(Dc,{value:ce,onChange:me=>this.onItemChange(me,ie),disabled:c,errors:_e,getComponent:r}):se?p.createElement(rh,{value:ce,onChange:me=>this.onItemChange(me,ie),disabled:c,errors:_e}):p.createElement(D,Wr()({},this.props,{value:ce,onChange:me=>this.onItemChange(me,ie),disabled:c,errors:_e,schema:X,getComponent:r,fn:u})),c?null:p.createElement(le,{className:`btn btn-sm json-schema-form-item-remove ${S.length?"invalid":null}`,title:S.length?S:"",onClick:()=>this.removeItem(ie)}," - "))})):null,c?null:p.createElement(le,{className:`btn btn-sm json-schema-form-item-add ${d.length?"invalid":null}`,title:d.length?d:"",onClick:this.addItem},"Add ",L," item"))}}Ee(Gd,"defaultProps",Rl);class rh extends p.Component{constructor(){super(...arguments);Ee(this,"onChange",r=>{const n=r.target.value;this.props.onChange(n,this.props.keyName)})}render(){let{value:r,errors:n,description:a,disabled:o}=this.props;return r?(kr(r)||typeof r=="object")&&(r=Gr(r)):r="",n=n.toJS?n.toJS():[],p.createElement(Hd(),{type:"text",className:n.length?"invalid":"",title:n.length?n:"",value:r,minLength:0,debounceTimeout:350,placeholder:a,onChange:this.onChange,disabled:o})}}Ee(rh,"defaultProps",Rl);class Dc extends p.Component{constructor(){super(...arguments);Ee(this,"onFileChange",r=>{const n=r.target.files[0];this.props.onChange(n,this.props.keyName)})}render(){let{getComponent:r,errors:n,disabled:a}=this.props;const o=r("Input"),u=a||!("FormData"in window);return p.createElement(o,{type:"file",className:n.length?"invalid":"",title:n.length?n:"",onChange:this.onFileChange,disabled:u})}}Ee(Dc,"defaultProps",Rl);class Dg extends p.Component{constructor(){super(...arguments);Ee(this,"onEnumChange",r=>this.props.onChange(r))}render(){let{getComponent:r,value:n,errors:a,schema:o,required:u,disabled:c}=this.props;a=a.toJS?a.toJS():[];let d=o&&o.get?o.get("enum"):null,S=!d||!u,_=!d&&["true","false"];const O=r("Select");return p.createElement(O,{className:a.length?"invalid":"",title:a.length?a:"",value:String(n),disabled:c,allowedValues:d?[...d]:_,allowEmptyValue:S,onChange:this.onEnumChange})}}Ee(Dg,"defaultProps",Rl);const G0=t=>t.map((e=>{const r=e.propKey!==void 0?e.propKey:e.index;let n=typeof e=="string"?e:typeof e.error=="string"?e.error:null;if(!r&&n)return n;let a=e.error,o=`/${e.propKey}`;for(;typeof a=="object";){const u=a.propKey!==void 0?a.propKey:a.index;if(u===void 0||(o+=`/${u}`,!a.error))break;a=a.error}return`${o}: ${a}`}));class Fg extends p.PureComponent{constructor(){super();Ee(this,"onChange",r=>{this.props.onChange(r)});Ee(this,"handleOnChange",r=>{const n=r.target.value;this.onChange(n)})}render(){let{getComponent:r,value:n,errors:a,disabled:o}=this.props;const u=r("TextArea");return a=a.toJS?a.toJS():Array.isArray(a)?a:[],p.createElement("div",null,p.createElement(u,{className:Br()({invalid:a.length}),title:a.length?G0(a).join(", "):"",value:Gr(n),disabled:o,onChange:this.handleOnChange}))}}Ee(Fg,"defaultProps",Rl);function To(t){return Y.List.isList(t)?t:Array.isArray(t)?(0,Y.fromJS)(t):(0,Y.List)()}const Yd=({extensions:t,propClass:e=""})=>t.entrySeq().map((([r,n])=>{var o;const a=(o=Rn(n))!=null?o:null;return p.createElement("tr",{key:r,className:e},p.createElement("td",null,r),p.createElement("td",null,JSON.stringify(a)))})).toArray();var nh=Re(11331),Mi=Re.n(nh);const $g=(t,e)=>{const r=Y.Map.isMap(t);if(!r&&!Mi()(t))return!1;const n=r?t.get("type"):t.type;return e===n||Array.isArray(e)&&e.includes(n)},Xd=(t,e=new WeakSet)=>{if(t==null||e.has(t))return"any";e.add(t);const{type:r,items:n}=t;return Object.hasOwn(t,"items")?n?`array<${Xd(n,e)}>`:"array<any>":r},Qd=t=>Xd(Rn(t)),Dl=()=>({components:Ge({modelExample:Lu,ModelWrapper:H0,ModelCollapse:Ic,Model:Jd,Models:Zp,EnumModel:eh,ObjectModel:Pg,ArrayModel:Tg,PrimitiveModel:Ng,ModelExtensions:Yd,schemes:Ig,SchemesContainer:Mg},N),fn:{hasSchemaType:$g,getSchemaObjectTypeLabel:Qd}});var Zd=Re(19123),Y0=Re.n(Zd),X0=Re(41859),ef=Re.n(X0),Lg=Re(62193),fi=Re.n(Lg);const ah=t=>e=>Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(((r,n)=>r===e[n])),Bg=(...t)=>t;class Q0 extends Map{delete(e){const r=Array.from(this.keys()).find(ah(e));return super.delete(r)}get(e){const r=Array.from(this.keys()).find(ah(e));return super.get(r)}has(e){return Array.from(this.keys()).findIndex(ah(e))!==-1}}const ka=(t,e=Bg)=>{const{Cache:r}=Ir();Ir().Cache=Q0;const n=Ir()(t,e);return Ir().Cache=r,n},eo={string:t=>t.pattern?(e=>{try{const r=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),n=e.replace(r,"100"),a=new(ef())(n);return a.max=100,a.gen()}catch(r){return"string"}})(t.pattern):"string",string_email:()=>"user@example.com","string_date-time":()=>new Date().toISOString(),string_date:()=>new Date().toISOString().substring(0,10),string_time:()=>new Date().toISOString().substring(11),string_uuid:()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",string_hostname:()=>"example.com",string_ipv4:()=>"198.51.100.42",string_ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",number:()=>0,number_float:()=>0,integer:()=>0,boolean:t=>typeof t.default!="boolean"||t.default},tf=t=>{t=Zr(t);let{type:e,format:r}=t,n=eo[`${e}_${r}`]||eo[e];return ra(n)?n(t):"Unknown Type: "+t.type},qg=t=>zn(t,"$$ref",(e=>typeof e=="string"&&e.indexOf("#")>-1)),rf=["maxProperties","minProperties"],nf=["minItems","maxItems"],af=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],of=["minLength","maxLength"],Fl=(t,e,r={})=>{const n=Ge({},t);if(["example","default","enum","xml","type",...rf,...nf,...af,...of].forEach((a=>(o=>{n[o]===void 0&&e[o]!==void 0&&(n[o]=e[o])})(a))),e.required!==void 0&&Array.isArray(e.required)&&(n.required!==void 0&&n.required.length||(n.required=[]),e.required.forEach((a=>{n.required.includes(a)||n.required.push(a)}))),e.properties){n.properties||(n.properties={});let a=Zr(e.properties);for(let o in a)Object.prototype.hasOwnProperty.call(a,o)&&(a[o]&&a[o].deprecated||a[o]&&a[o].readOnly&&!r.includeReadOnly||a[o]&&a[o].writeOnly&&!r.includeWriteOnly||n.properties[o]||(n.properties[o]=a[o],!e.required&&Array.isArray(e.required)&&e.required.indexOf(o)!==-1&&(n.required?n.required.push(o):n.required=[o])))}return e.items&&(n.items||(n.items={}),n.items=Fl(n.items,e.items,r)),n},wo=(t,e={},r=void 0,n=!1)=>{t&&ra(t.toJS)&&(t=t.toJS());let a=r!==void 0||t&&t.example!==void 0||t&&t.default!==void 0;const o=!a&&t&&t.oneOf&&t.oneOf.length>0,u=!a&&t&&t.anyOf&&t.anyOf.length>0;if(!a&&(o||u)){const be=Zr(o?t.oneOf[0]:t.anyOf[0]);if(!(t=Fl(t,be,e)).xml&&be.xml&&(t.xml=be.xml),t.example!==void 0&&be.example!==void 0)a=!0;else if(be.properties){t.properties||(t.properties={});let je=Zr(be.properties);for(let qe in je)Object.prototype.hasOwnProperty.call(je,qe)&&(je[qe]&&je[qe].deprecated||je[qe]&&je[qe].readOnly&&!e.includeReadOnly||je[qe]&&je[qe].writeOnly&&!e.includeWriteOnly||t.properties[qe]||(t.properties[qe]=je[qe],!be.required&&Array.isArray(be.required)&&be.required.indexOf(qe)!==-1&&(t.required?t.required.push(qe):t.required=[qe])))}}const c={};let{xml:d,type:S,example:_,properties:O,additionalProperties:j,items:R}=t||{},{includeReadOnly:$,includeWriteOnly:L}=e;d=d||{};let q,{name:X,prefix:D,namespace:se}=d,te={};n&&(X=X||"notagname",q=(D?D+":":"")+X,se)&&(c[D?"xmlns:"+D:"xmlns"]=se),n&&(te[q]=[]);const le=be=>be.some((je=>Object.prototype.hasOwnProperty.call(t,je)));t&&!S&&(O||j||le(rf)?S="object":R||le(nf)?S="array":le(af)?(S="number",t.type="number"):a||t.enum||(S="string",t.type="string"));const ce=be=>{if((t==null?void 0:t.maxItems)!=null&&(be=be.slice(0,t==null?void 0:t.maxItems)),(t==null?void 0:t.minItems)!=null){let je=0;for(;be.length<(t==null?void 0:t.minItems);)be.push(be[je++%be.length])}return be},ie=Zr(O);let _e,me=0;const ue=()=>t&&t.maxProperties!==null&&t.maxProperties!==void 0&&me>=t.maxProperties,ve=be=>!t||t.maxProperties===null||t.maxProperties===void 0||!ue()&&(!(je=>!(t&&t.required&&t.required.length&&t.required.includes(je)))(be)||t.maxProperties-me-(()=>{if(!t||!t.required)return 0;let je=0;return n?t.required.forEach((qe=>je+=te[qe]===void 0?0:1)):t.required.forEach((qe=>{var pt;return je+=((pt=te[q])==null?void 0:pt.find((_t=>_t[qe]!==void 0)))===void 0?0:1})),t.required.length-je})()>0);if(_e=n?(be,je=void 0)=>{if(t&&ie[be]){if(ie[be].xml=ie[be].xml||{},ie[be].xml.attribute){const pt=Array.isArray(ie[be].enum)?ie[be].enum[0]:void 0,_t=ie[be].example,It=ie[be].default;return void(c[ie[be].xml.name||be]=_t!==void 0?_t:It!==void 0?It:pt!==void 0?pt:tf(ie[be]))}ie[be].xml.name=ie[be].xml.name||be}else ie[be]||j===!1||(ie[be]={xml:{name:be}});let qe=wo(t&&ie[be]||void 0,e,je,n);ve(be)&&(me++,Array.isArray(qe)?te[q]=te[q].concat(qe):te[q].push(qe))}:(be,je)=>{if(ve(be)){if(Object.prototype.hasOwnProperty.call(t,"discriminator")&&t.discriminator&&Object.prototype.hasOwnProperty.call(t.discriminator,"mapping")&&t.discriminator.mapping&&Object.prototype.hasOwnProperty.call(t,"$$ref")&&t.$$ref&&t.discriminator.propertyName===be){for(let qe in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[qe])!==-1){te[be]=qe;break}}else te[be]=wo(ie[be],e,je,n);me++}},a){let be;if(be=qg(r!==void 0?r:_!==void 0?_:t.default),!n){if(typeof be=="number"&&S==="string")return`${be}`;if(typeof be!="string"||S==="string")return be;try{return JSON.parse(be)}catch(je){return be}}if(t||(S=Array.isArray(be)?"array":typeof be),S==="array"){if(!Array.isArray(be)){if(typeof be=="string")return be;be=[be]}const je=t?t.items:void 0;je&&(je.xml=je.xml||d||{},je.xml.name=je.xml.name||d.name);let qe=be.map((pt=>wo(je,e,pt,n)));return qe=ce(qe),d.wrapped?(te[q]=qe,fi()(c)||te[q].push({_attr:c})):te=qe,te}if(S==="object"){if(typeof be=="string")return be;for(let je in be)Object.prototype.hasOwnProperty.call(be,je)&&(t&&ie[je]&&ie[je].readOnly&&!$||t&&ie[je]&&ie[je].writeOnly&&!L||(t&&ie[je]&&ie[je].xml&&ie[je].xml.attribute?c[ie[je].xml.name||je]=be[je]:_e(je,be[je])));return fi()(c)||te[q].push({_attr:c}),te}return te[q]=fi()(c)?be:[{_attr:c},be],te}if(S==="object"){for(let be in ie)Object.prototype.hasOwnProperty.call(ie,be)&&(ie[be]&&ie[be].deprecated||ie[be]&&ie[be].readOnly&&!$||ie[be]&&ie[be].writeOnly&&!L||_e(be));if(n&&c&&te[q].push({_attr:c}),ue())return te;if(j===!0)n?te[q].push({additionalProp:"Anything can be here"}):te.additionalProp1={},me++;else if(j){const be=Zr(j),je=wo(be,e,void 0,n);if(n&&be.xml&&be.xml.name&&be.xml.name!=="notagname")te[q].push(je);else{const qe=be["x-additionalPropertiesName"]||"additionalProp",pt=t.minProperties!==null&&t.minProperties!==void 0&&me<t.minProperties?t.minProperties-me:3;for(let _t=1;_t<=pt;_t++){if(ue())return te;if(n){const It={};It[qe+_t]=je.notagname,te[q].push(It)}else te[qe+_t]=je;me++}}}return te}if(S==="array"){if(!R)return;let be;if(n&&(R.xml=R.xml||(t==null?void 0:t.xml)||{},R.xml.name=R.xml.name||d.name),Array.isArray(R.anyOf))be=R.anyOf.map((je=>wo(Fl(je,R,e),e,void 0,n)));else if(Array.isArray(R.oneOf))be=R.oneOf.map((je=>wo(Fl(je,R,e),e,void 0,n)));else{if(!(!n||n&&d.wrapped))return wo(R,e,void 0,n);be=[wo(R,e,void 0,n)]}return be=ce(be),n&&d.wrapped?(te[q]=be,fi()(c)||te[q].push({_attr:c}),te):be}let fe;if(t&&Array.isArray(t.enum))fe=En(t.enum)[0];else{if(!t)return;if(fe=tf(t),typeof fe=="number"){let be=t.minimum;be!=null&&(t.exclusiveMinimum&&be++,fe=be);let je=t.maximum;je!=null&&(t.exclusiveMaximum&&je--,fe=je)}if(typeof fe=="string"&&(t.maxLength!==null&&t.maxLength!==void 0&&(fe=fe.slice(0,t.maxLength)),t.minLength!==null&&t.minLength!==void 0)){let be=0;for(;fe.length<t.minLength;)fe+=fe[be++%fe.length]}}if(S!=="file")return n?(te[q]=fi()(c)?fe:[{_attr:c},fe],te):fe},sf=t=>(t.schema&&(t=t.schema),t.properties&&(t.type="object"),t),oh=(t,e,r)=>{const n=wo(t,e,r,!0);if(n)return typeof n=="string"?n:Y0()(n,{declaration:!0,indent:" "})},ih=(t,e,r)=>wo(t,e,r,!1),sh=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],lf=ka(oh,sh),cf=ka(ih,sh),uf=t=>{var e,r;return(r=(e=Rn(t))==null?void 0:e.type)!=null?r:"string"},pf=[{when:/json/,shouldStringifyTypes:["string"]}],Ug=["object"],hf=t=>(e,r,n,a)=>{const{fn:o}=t(),u=o.memoizedSampleFromSchema(e,r,a),c=typeof u,d=pf.reduce(((S,_)=>_.when.test(n)?[...S,..._.shouldStringifyTypes]:S),Ug);return xn()(d,(S=>S===c))?JSON.stringify(u,null,2):u},lh=t=>(e,r,n,a)=>{const{fn:o}=t(),u=o.getJsonSampleSchema(e,r,n,a);let c;try{c=Ln.dump(Ln.load(u),{lineWidth:-1},{schema:Ni}),c[c.length-1]===`
|
||
`&&(c=c.slice(0,c.length-1))}catch(d){return"error: could not generate yaml example"}return c.replace(/\t/g," ")},zg=t=>(e,r,n)=>{const{fn:a}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let o=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=o[1]}}return a.memoizedCreateXMLExample(e,r,n)},df=t=>(e,r="",n={},a=void 0)=>{const{fn:o}=t();return typeof(e==null?void 0:e.toJS)=="function"&&(e=e.toJS()),typeof(a==null?void 0:a.toJS)=="function"&&(a=a.toJS()),/xml/.test(r)?o.getXmlSampleSchema(e,n,a):/(yaml|yml)/.test(r)?o.getYamlSampleSchema(e,n,r,a):o.getJsonSampleSchema(e,n,r,a)},ff=({getSystem:t})=>{const e=hf(t),r=lh(t),n=zg(t),a=df(t);return{fn:{jsonSchema5:{inferSchema:sf,sampleFromSchema:ih,sampleFromSchemaGeneric:wo,createXMLExample:oh,memoizedSampleFromSchema:cf,memoizedCreateXMLExample:lf,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:a,mergeJsonSchema:Fl},inferSchema:sf,sampleFromSchema:ih,sampleFromSchemaGeneric:wo,createXMLExample:oh,memoizedSampleFromSchema:cf,memoizedCreateXMLExample:lf,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:a,mergeJsonSchema:Fl,getSchemaObjectType:uf}}};var ch=Re(37334),Go=Re.n(ch);const qu=["get","put","post","delete","options","head","patch","trace"],Bn=t=>t||(0,Y.Map)(),Z0=lr(Bn,(t=>t.get("lastError"))),eb=lr(Bn,(t=>t.get("url"))),uh=lr(Bn,(t=>t.get("spec")||"")),Ua=lr(Bn,(t=>t.get("specSource")||"not-editor")),mf=lr(Bn,(t=>t.get("json",(0,Y.Map)()))),Gt=lr(mf,(t=>t.toJS())),Fc=lr(Bn,(t=>t.get("resolved",(0,Y.Map)()))),Vg=(t,e)=>t.getIn(["resolvedSubtrees",...e],void 0),gf=(t,e)=>Y.Map.isMap(t)&&Y.Map.isMap(e)?e.get("$$ref")?e:(0,Y.OrderedMap)().mergeWith(gf,t,e):e,to=lr(Bn,(t=>(0,Y.OrderedMap)().mergeWith(gf,t.get("json"),t.get("resolvedSubtrees")))),Ra=t=>mf(t),yf=lr(Ra,(()=>!1)),vf=lr(Ra,(t=>Ju(t&&t.get("info")))),Jg=lr(Ra,(t=>Ju(t&&t.get("externalDocs")))),bf=lr(vf,(t=>t&&t.get("version"))),wf=lr(bf,(t=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(t).slice(1))),ph=lr(to,(t=>t.get("paths"))),ro=Go()(["get","put","post","delete","options","head","patch"]),mi=lr(ph,(t=>{let e=(0,Y.List)();return!Y.Map.isMap(t)||t.isEmpty()||t.forEach(((r,n)=>{if(!r||!r.forEach)return{};r.forEach(((a,o)=>{qu.indexOf(o)<0||(e=e.push((0,Y.fromJS)({path:n,method:o,operation:a,id:`${o}-${n}`})))}))})),e})),ps=lr(Ra,(t=>(0,Y.Set)(t.get("consumes")))),Ef=lr(Ra,(t=>(0,Y.Set)(t.get("produces")))),Wg=lr(Ra,(t=>t.get("security",(0,Y.List)()))),Ri=lr(Ra,(t=>t.get("securityDefinitions"))),Hg=(t,e)=>{const r=t.getIn(["resolvedSubtrees","definitions",e],null),n=t.getIn(["json","definitions",e],null);return r||n||null},hs=lr(Ra,(t=>{const e=t.get("definitions");return Y.Map.isMap(e)?e:(0,Y.Map)()})),tb=lr(Ra,(t=>t.get("basePath"))),Kg=lr(Ra,(t=>t.get("host"))),Gg=lr(Ra,(t=>t.get("schemes",(0,Y.Map)()))),Sf=lr([mi,ps,Ef],((t,e,r)=>t.map((n=>n.update("operation",(a=>Y.Map.isMap(a)?a.withMutations((o=>(o.get("consumes")||o.update("consumes",(u=>(0,Y.Set)(u).merge(e))),o.get("produces")||o.update("produces",(u=>(0,Y.Set)(u).merge(r))),o))):(0,Y.Map)())))))),hh=lr(Ra,(t=>{const e=t.get("tags",(0,Y.List)());return Y.List.isList(e)?e.filter((r=>Y.Map.isMap(r))):(0,Y.List)()})),xf=(t,e)=>(hh(t)||(0,Y.List)()).filter(Y.Map.isMap).find((r=>r.get("name")===e),(0,Y.Map)()),Yg=lr(Sf,hh,((t,e)=>t.reduce(((r,n)=>{let a=(0,Y.Set)(n.getIn(["operation","tags"]));return a.count()<1?r.update("default",(0,Y.List)(),(o=>o.push(n))):a.reduce(((o,u)=>o.update(u,(0,Y.List)(),(c=>c.push(n)))),r)}),e.reduce(((r,n)=>r.set(n.get("name"),(0,Y.List)())),(0,Y.OrderedMap)())))),dh=t=>({getConfigs:e})=>{let{tagsSorter:r,operationsSorter:n}=e();return Yg(t).sortBy(((a,o)=>o),((a,o)=>{let u=typeof r=="function"?r:mn.tagsSorter[r];return u?u(a,o):null})).map(((a,o)=>{let u=typeof n=="function"?n:mn.operationsSorter[n],c=u?a.sort(u):a;return(0,Y.Map)({tagDetails:xf(t,o),operations:c})}))},fh=lr(Bn,(t=>t.get("responses",(0,Y.Map)()))),No=lr(Bn,(t=>t.get("requests",(0,Y.Map)()))),en=lr(Bn,(t=>t.get("mutatedRequests",(0,Y.Map)()))),Oa=(t,e,r)=>fh(t).getIn([e,r],null),pa=(t,e,r)=>No(t).getIn([e,r],null),Da=(t,e,r)=>en(t).getIn([e,r],null),Io=()=>!0,Gs=(t,e,r)=>{const n=to(t).getIn(["paths",...e,"parameters"],(0,Y.OrderedMap)()),a=t.getIn(["meta","paths",...e,"parameters"],(0,Y.OrderedMap)());return n.map((o=>{const u=a.get(`${r.get("in")}.${r.get("name")}`),c=a.get(`${r.get("in")}.${r.get("name")}.hash-${r.hashCode()}`);return(0,Y.OrderedMap)().merge(o,u,c)})).find((o=>o.get("in")===r.get("in")&&o.get("name")===r.get("name")),(0,Y.OrderedMap)())},ha=(t,e,r,n)=>{const a=`${n}.${r}`;return t.getIn(["meta","paths",...e,"parameter_inclusions",a],!1)},Uu=(t,e,r,n)=>{const a=to(t).getIn(["paths",...e,"parameters"],(0,Y.OrderedMap)()).find((o=>o.get("in")===n&&o.get("name")===r),(0,Y.OrderedMap)());return Gs(t,e,a)},Ys=(t,e,r)=>{const n=to(t).getIn(["paths",e,r],(0,Y.OrderedMap)()),a=t.getIn(["meta","paths",e,r],(0,Y.OrderedMap)()),o=n.get("parameters",(0,Y.List)()).map((u=>Gs(t,[e,r],u)));return(0,Y.OrderedMap)().merge(n,a).set("parameters",o)};function mh(t,e,r,n){return e=e||[],t.getIn(["meta","paths",...e,"parameters"],(0,Y.fromJS)([])).find((a=>Y.Map.isMap(a)&&a.get("name")===r&&a.get("in")===n))||(0,Y.Map)()}const _f=lr(Ra,(t=>{const e=t.get("host");return typeof e=="string"&&e.length>0&&e[0]!=="/"}));function $c(t,e,r){return e=e||[],Ys(t,...e).get("parameters",(0,Y.List)()).reduce(((n,a)=>{let o=r&&a.get("in")==="body"?a.get("value_xml"):a.get("value");return Y.List.isList(o)&&(o=o.filter((u=>u!==""))),n.set(fo(a,{allowHashes:!1}),o)}),(0,Y.fromJS)({}))}function Mo(t,e=""){if(Y.List.isList(t))return t.some((r=>Y.Map.isMap(r)&&r.get("in")===e))}function zu(t,e=""){if(Y.List.isList(t))return t.some((r=>Y.Map.isMap(r)&&r.get("type")===e))}function Lc(t,e){e=e||[];let r=to(t).getIn(["paths",...e],(0,Y.fromJS)({})),n=t.getIn(["meta","paths",...e],(0,Y.fromJS)({})),a=ds(t,e);const o=r.get("parameters")||new Y.List,u=n.get("consumes_value")?n.get("consumes_value"):zu(o,"file")?"multipart/form-data":zu(o,"formData")?"application/x-www-form-urlencoded":void 0;return(0,Y.fromJS)({requestContentType:u,responseContentType:a})}function ds(t,e){e=e||[];const r=to(t).getIn(["paths",...e],null);if(r===null)return;const n=t.getIn(["meta","paths",...e,"produces_value"],null),a=r.getIn(["produces",0],null);return n||a||"application/json"}function gh(t,e){e=e||[];const r=to(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[a]=e,o=n.get("produces",null),u=r.getIn(["paths",a,"produces"],null),c=r.getIn(["produces"],null);return o||u||c}function kf(t,e){e=e||[];const r=to(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[a]=e,o=n.get("consumes",null),u=r.getIn(["paths",a,"consumes"],null),c=r.getIn(["consumes"],null);return o||u||c}const fs=(t,e,r)=>{let n=t.get("url").match(/^([a-z][a-z0-9+\-.]*):/),a=Array.isArray(n)?n[1]:null;return t.getIn(["scheme",e,r])||t.getIn(["scheme","_defaultScheme"])||a||""},yh=(t,e,r)=>["http","https"].indexOf(fs(t,e,r))>-1,ms=(t,e)=>{e=e||[];const r=t.getIn(["meta","paths",...e,"parameters"],(0,Y.fromJS)([])),n=[];if(r.length===0)return n;const a=(o,u=[])=>{const c=(d,S)=>{const _=[...S,d.get("propKey")||d.get("index")];return Y.Map.isMap(d.get("error"))?a(d.get("error"),_):{error:d.get("error"),path:_}};return Y.List.isList(o)?o.map((d=>Y.Map.isMap(d)?c(d,u):{error:d,path:u})):c(o,u)};return r.forEach(((o,u)=>{const c=u.split(".").slice(1,-1).join("."),d=o.get("errors");d&&d.count()&&a(d).forEach((({error:S,path:_})=>{n.push(((O,j,R)=>`For '${R}'${(j=j.reduce((($,L)=>typeof L=="number"?`${$}[${L}]`:$?`${$}.${L}`:L),""))?` at path '${j}'`:""}: ${O}.`)(S,_,c))}))})),n},vh=(t,e)=>ms(t,e).length===0,Vu=(t,e)=>{let r={requestBody:!1,requestContentType:{}},n=t.getIn(["resolvedSubtrees","paths",...e,"requestBody"],(0,Y.fromJS)([]));return n.size<1||(n.getIn(["required"])&&(r.requestBody=n.getIn(["required"])),n.getIn(["content"]).entrySeq().forEach((a=>{const o=a[0];if(a[1].getIn(["schema","required"])){const u=a[1].getIn(["schema","required"]).toJS();r.requestContentType[o]=u}}))),r},Of=(t,e,r,n)=>{if((r||n)&&r===n)return!0;let a=t.getIn(["resolvedSubtrees","paths",...e,"requestBody","content"],(0,Y.fromJS)([]));if(a.size<2||!r||!n)return!1;let o=a.getIn([r,"schema","properties"],(0,Y.fromJS)([])),u=a.getIn([n,"schema","properties"],(0,Y.fromJS)([]));return!!o.equals(u)};function Ju(t){return Y.Map.isMap(t)?t:new Y.Map}var bh=Re(85015),no=Re.n(bh),Xs=Re(38221),gi=Re.n(Xs),Eo=Re(63560),Af=Re.n(Eo),Cf=Re(56367),jf=Re.n(Cf);const Di="spec_update_spec",wh="spec_update_url",Wu="spec_update_json",Fi="spec_update_param",Hu="spec_update_empty_param_inclusion",gs="spec_validate_param",Eh="spec_set_response",Sh="spec_set_request",Ku="spec_set_mutated_request",Gu="spec_log_request",Pf="spec_clear_response",Tf="spec_clear_request",xh="spec_clear_validate_param",Yu="spec_update_operation_meta_value",Qs="spec_update_resolved",ys="spec_update_resolved_subtree",_h="set_scheme",Zn=t=>no()(t)?t:"";function rb(t){const e=Zn(t).replace(/\t/g," ");if(typeof t=="string")return{type:Di,payload:e}}function Xg(t){return{type:Qs,payload:t}}function nb(t){return{type:wh,payload:t}}function ab(t){return{type:Wu,payload:t}}const Qg=t=>({specActions:e,specSelectors:r,errActions:n})=>{let{specStr:a}=r,o=null;try{t=t||a(),n.clear({source:"parser"}),o=Ln.load(t,{schema:Ni})}catch(u){return n.newSpecErr({source:"parser",level:"error",message:u.reason,line:u.mark&&u.mark.line?u.mark.line+1:void 0})}return o&&typeof o=="object"?e.updateJsonSpec(o):e.updateJsonSpec({})};let Zg=!1;const Yo=(t,e)=>({specActions:r,specSelectors:n,errActions:a,fn:{fetch:o,resolve:u,AST:c={}},getConfigs:d})=>{Zg||(Zg=!0);const{modelPropertyMacro:S,parameterMacro:_,requestInterceptor:O,responseInterceptor:j}=d();t===void 0&&(t=n.specJson()),e===void 0&&(e=n.url());let R=c.getLineNumberForPath?c.getLineNumberForPath:()=>{},$=n.specStr();return u({fetch:o,spec:t,baseDoc:String(new URL(e,document.baseURI)),modelPropertyMacro:S,parameterMacro:_,requestInterceptor:O,responseInterceptor:j}).then((({spec:L,errors:q})=>{if(a.clear({type:"thrown"}),Array.isArray(q)&&q.length>0){let X=q.map((D=>(D.line=D.fullPath?R($,D.fullPath):null,D.path=D.fullPath?D.fullPath.join("."):null,D.level="error",D.type="thrown",D.source="resolver",Object.defineProperty(D,"message",{enumerable:!0,value:D.message}),D)));a.newThrownErrBatch(X)}return r.updateResolved(L)}))};let Bc=[];const Zs=gi()((()=>{const t=Bc.reduce(((e,{path:r,system:n})=>(e.has(n)||e.set(n,[]),e.get(n).push(r),e)),new Map);Bc=[],t.forEach(((e,r)=>nr(null,null,function*(){var q;if(!r||!r.fn.resolveSubtree)return;const{errActions:n,errSelectors:a,fn:{resolveSubtree:o,fetch:u,AST:c={}},specSelectors:d,specActions:S}=r,_=(q=c.getLineNumberForPath)!=null?q:Go()(void 0),O=d.specStr(),{modelPropertyMacro:j,parameterMacro:R,requestInterceptor:$,responseInterceptor:L}=r.getConfigs();try{const X=yield e.reduce(((D,se)=>nr(null,null,function*(){let{resultMap:te,specWithCurrentSubtrees:le}=yield D;const{errors:ce,spec:ie}=yield o(le,se,{baseDoc:String(new URL(d.url(),document.baseURI)),modelPropertyMacro:j,parameterMacro:R,requestInterceptor:$,responseInterceptor:L});if(a.allErrors().size&&n.clearBy((_e=>{var me;return _e.get("type")!=="thrown"||_e.get("source")!=="resolver"||!((me=_e.get("fullPath"))!=null&&me.every(((ue,ve)=>ue===se[ve]||se[ve]===void 0)))})),Array.isArray(ce)&&ce.length>0){let _e=ce.map((me=>(me.line=me.fullPath?_(O,me.fullPath):null,me.path=me.fullPath?me.fullPath.join("."):null,me.level="error",me.type="thrown",me.source="resolver",Object.defineProperty(me,"message",{enumerable:!0,value:me.message}),me)));n.newThrownErrBatch(_e)}return ie&&d.isOAS3()&&se[0]==="components"&&se[1]==="securitySchemes"&&(yield Promise.all(Object.values(ie).filter((_e=>(_e==null?void 0:_e.type)==="openIdConnect")).map((_e=>nr(null,null,function*(){const me={url:_e.openIdConnectUrl,requestInterceptor:$,responseInterceptor:L};try{const ue=yield u(me);ue instanceof Error||ue.status>=400||(_e.openIdConnectData=JSON.parse(ue.text))}catch(ue){}}))))),Af()(te,se,ie),le=jf()(se,ie,le),{resultMap:te,specWithCurrentSubtrees:le}})),Promise.resolve({resultMap:(d.specResolvedSubtree([])||(0,Y.Map)()).toJS(),specWithCurrentSubtrees:d.specJS()}));S.updateResolvedSubtree([],X.resultMap)}catch(X){}})))}),35),kh=t=>e=>{Bc.find((({path:r,system:n})=>n===e&&r.toString()===t.toString()))||(Bc.push({path:t,system:e}),Zs())};function $l(t,e,r,n,a){return{type:Fi,payload:{path:t,value:n,paramName:e,paramIn:r,isXml:a}}}function Oh(t,e,r,n){return{type:Fi,payload:{path:t,param:e,value:r,isXml:n}}}const Nf=(t,e)=>({type:ys,payload:{path:t,value:e}}),If=()=>({type:ys,payload:{path:[],value:(0,Y.Map)()}}),ob=(t,e)=>({type:gs,payload:{pathMethod:t,isOAS3:e}}),Mf=(t,e,r,n)=>({type:Hu,payload:{pathMethod:t,paramName:e,paramIn:r,includeEmptyValue:n}});function ey(t){return{type:xh,payload:{pathMethod:t}}}function ty(t,e){return{type:Yu,payload:{path:t,value:e,key:"consumes_value"}}}function Ah(t,e){return{type:Yu,payload:{path:t,value:e,key:"produces_value"}}}const Ch=(t,e,r)=>({payload:{path:t,method:e,res:r},type:Eh}),ry=(t,e,r)=>({payload:{path:t,method:e,req:r},type:Sh}),Rf=(t,e,r)=>({payload:{path:t,method:e,req:r},type:Ku}),ny=t=>({payload:t,type:Gu}),Df=t=>({fn:e,specActions:r,specSelectors:n,getConfigs:a,oas3Selectors:o})=>{let{pathName:u,method:c,operation:d}=t,{requestInterceptor:S,responseInterceptor:_}=a(),O=d.toJS();if(d&&d.get("parameters")&&d.get("parameters").filter(($=>$&&$.get("allowEmptyValue")===!0)).forEach(($=>{if(n.parameterInclusionSettingFor([u,c],$.get("name"),$.get("in"))){t.parameters=t.parameters||{};const L=mo($,t.parameters);(!L||L&&L.size===0)&&(t.parameters[$.get("name")]="")}})),t.contextUrl=Yi()(n.url()).toString(),O&&O.operationId?t.operationId=O.operationId:O&&u&&c&&(t.operationId=e.opId(O,u,c)),n.isOAS3()){const $=`${u}:${c}`;t.server=o.selectedServer($)||o.selectedServer();const L=o.serverVariables({server:t.server,namespace:$}).toJS(),q=o.serverVariables({server:t.server}).toJS();t.serverVariables=Object.keys(L).length?L:q,t.requestContentType=o.requestContentType(u,c),t.responseContentType=o.responseContentType(u,c)||"*/*";const X=o.requestBodyValue(u,c),D=o.requestBodyInclusionSetting(u,c);X&&X.toJS?t.requestBody=X.map((se=>Y.Map.isMap(se)?se.get("value"):se)).filter(((se,te)=>(Array.isArray(se)?se.length!==0:!Ba(se))||D.get(te))).toJS():t.requestBody=X}let j=Object.assign({},t);j=e.buildRequest(j),r.setRequest(t.pathName,t.method,j),t.requestInterceptor=$=>nr(null,null,function*(){let L=yield S.apply(void 0,[$]),q=Object.assign({},L);return r.setMutatedRequest(t.pathName,t.method,q),L}),t.responseInterceptor=_;const R=Date.now();return e.execute(t).then(($=>{$.duration=Date.now()-R,r.setResponse(t.pathName,t.method,$)})).catch(($=>{$.message==="Failed to fetch"&&($.name="",$.message=`**Failed to fetch.**
|
||
**Possible Reasons:**
|
||
- CORS
|
||
- Network Failure
|
||
- URL scheme must be "http" or "https" for CORS request.`),r.setResponse(t.pathName,t.method,{error:!0,err:$})}))},jh=(n={})=>{var a=n,{path:t,method:e}=a,r=jr(a,["path","method"]);return o=>{let{fn:{fetch:u},specSelectors:c,specActions:d}=o,S=c.specJsonWithResolvedSubtrees().toJS(),_=c.operationScheme(t,e),{requestContentType:O,responseContentType:j}=c.contentTypeValues([t,e]).toJS(),R=/xml/i.test(O),$=c.parameterValues([t,e],R).toJS();return d.executeRequest(Nr(Ge({},r),{fetch:u,spec:S,pathName:t,method:e,parameters:$,requestContentType:O,scheme:_,responseContentType:j}))}};function Ff(t,e){return{type:Pf,payload:{path:t,method:e}}}function Ph(t,e){return{type:Tf,payload:{path:t,method:e}}}function ay(t,e,r){return{type:_h,payload:{scheme:t,path:e,method:r}}}const Th={[Di]:(t,e)=>typeof e.payload=="string"?t.set("spec",e.payload):t,[wh]:(t,e)=>t.set("url",e.payload+""),[Wu]:(t,e)=>t.set("json",Vr(e.payload)),[Qs]:(t,e)=>t.setIn(["resolved"],Vr(e.payload)),[ys]:(t,e)=>{const{value:r,path:n}=e.payload;return t.setIn(["resolvedSubtrees",...n],Vr(r))},[Fi]:(t,{payload:e})=>{let{path:r,paramName:n,paramIn:a,param:o,value:u,isXml:c}=e,d=o?fo(o):`${a}.${n}`;const S=c?"value_xml":"value";return t.setIn(["meta","paths",...r,"parameters",d,S],(0,Y.fromJS)(u))},[Hu]:(t,{payload:e})=>{let{pathMethod:r,paramName:n,paramIn:a,includeEmptyValue:o}=e;if(!n||!a)return t;const u=`${a}.${n}`;return t.setIn(["meta","paths",...r,"parameter_inclusions",u],o)},[gs]:(t,{payload:{pathMethod:e,isOAS3:r}})=>{const n=to(t).getIn(["paths",...e]),a=$c(t,e).toJS();return t.updateIn(["meta","paths",...e,"parameters"],(0,Y.fromJS)({}),(o=>n.get("parameters",(0,Y.List)()).reduce(((u,c)=>{const d=mo(c,a),S=ha(t,e,c.get("name"),c.get("in")),_=((O,j,{isOAS3:R=!1,bypassRequiredCheck:$=!1}={})=>{let L=O.get("required"),{schema:q,parameterContentMediaType:X}=er(O,{isOAS3:R});return na(j,q,L,$,X)})(c,d,{bypassRequiredCheck:S,isOAS3:r});return u.setIn([fo(c),"errors"],(0,Y.fromJS)(_))}),o)))},[xh]:(t,{payload:{pathMethod:e}})=>t.updateIn(["meta","paths",...e,"parameters"],(0,Y.fromJS)([]),(r=>r.map((n=>n.set("errors",(0,Y.fromJS)([])))))),[Eh]:(t,{payload:{res:e,path:r,method:n}})=>{let a;a=e.error?Object.assign({error:!0,name:e.err.name,message:e.err.message,statusCode:e.err.statusCode},e.err.response):e,a.headers=a.headers||{};let o=t.setIn(["responses",r,n],Vr(a));return yt.Blob&&a.data instanceof yt.Blob&&(o=o.setIn(["responses",r,n,"text"],a.data)),o},[Sh]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["requests",r,n],Vr(e)),[Ku]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["mutatedRequests",r,n],Vr(e)),[Yu]:(t,{payload:{path:e,value:r,key:n}})=>{let a=["paths",...e],o=["meta","paths",...e];return t.getIn(["json",...a])||t.getIn(["resolved",...a])||t.getIn(["resolvedSubtrees",...a])?t.setIn([...o,n],(0,Y.fromJS)(r)):t},[Pf]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["responses",e,r]),[Tf]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["requests",e,r]),[_h]:(t,{payload:{scheme:e,path:r,method:n}})=>r&&n?t.setIn(["scheme",r,n],e):r||n?void 0:t.setIn(["scheme","_defaultScheme"],e)},ib=(t,{specActions:e})=>(...r)=>{t(...r),e.parseToJson(...r)},Xu=(t,{specActions:e})=>(...r)=>{t(...r),e.invalidateResolvedSubtreeCache();const[n]=r,a=kn()(n,["paths"])||{};Object.keys(a).forEach((o=>{const u=kn()(a,[o]);Mi()(u)&&u.$ref&&e.requestResolvedSubtree(["paths",o])})),e.requestResolvedSubtree(["components","securitySchemes"])},sb=(t,{specActions:e})=>r=>(e.logRequest(r),t(r)),Nh=(t,{specSelectors:e})=>r=>t(r,e.isOAS3()),i=()=>({statePlugins:{spec:{wrapActions:Ge({},U),reducers:Ge({},Th),actions:Ge({},M),selectors:Ge({},P)}}});var l=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)a.hasOwnProperty(o)&&(n[o]=a[o])},t(e,r)};return function(e,r){function n(){this.constructor=e}t(e,r),e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),v=Object.prototype.hasOwnProperty;function A(t,e){return v.call(t,e)}function F(t){if(Array.isArray(t)){for(var e=new Array(t.length),r=0;r<e.length;r++)e[r]=""+r;return e}if(Object.keys)return Object.keys(t);var n=[];for(var a in t)A(t,a)&&n.push(a);return n}function G(t){switch(typeof t){case"object":return JSON.parse(JSON.stringify(t));case"undefined":return null;default:return t}}function oe(t){for(var e,r=0,n=t.length;r<n;){if(!((e=t.charCodeAt(r))>=48&&e<=57))return!1;r++}return!0}function Ae(t){return t.indexOf("/")===-1&&t.indexOf("~")===-1?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function Pe(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function De(t){if(t===void 0)return!0;if(t){if(Array.isArray(t)){for(var e=0,r=t.length;e<r;e++)if(De(t[e]))return!0}else if(typeof t=="object"){for(var n=F(t),a=n.length,o=0;o<a;o++)if(De(t[n[o]]))return!0}}return!1}function Qe(t,e){var r=[t];for(var n in e){var a=typeof e[n]=="object"?JSON.stringify(e[n],null,2):e[n];a!==void 0&&r.push(n+": "+a)}return r.join(`
|
||
`)}var Ze=(function(t){function e(r,n,a,o,u){var c=this.constructor,d=t.call(this,Qe(r,{name:n,index:a,operation:o,tree:u}))||this;return d.name=n,d.index=a,d.operation=o,d.tree=u,Object.setPrototypeOf(d,c.prototype),d.message=Qe(r,{name:n,index:a,operation:o,tree:u}),d}return l(e,t),e})(Error),He=Ze,ht=G,xt={add:function(t,e,r){return t[e]=this.value,{newDocument:r}},remove:function(t,e,r){var n=t[e];return delete t[e],{newDocument:r,removed:n}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:function(t,e,r){var n=Je(r,this.path);n&&(n=G(n));var a=Te(r,{op:"remove",path:this.from}).removed;return Te(r,{op:"add",path:this.path,value:a}),{newDocument:r,removed:n}},copy:function(t,e,r){var n=Je(r,this.from);return Te(r,{op:"add",path:this.path,value:G(n)}),{newDocument:r}},test:function(t,e,r){return{newDocument:r,test:Tt(t[e],this.value)}},_get:function(t,e,r){return this.value=t[e],{newDocument:r}}},bt={add:function(t,e,r){return oe(e)?t.splice(e,0,this.value):t[e]=this.value,{newDocument:r,index:e}},remove:function(t,e,r){return{newDocument:r,removed:t.splice(e,1)[0]}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:xt.move,copy:xt.copy,test:xt.test,_get:xt._get};function Je(t,e){if(e=="")return t;var r={op:"_get",path:e};return Te(t,r),r.value}function Te(t,e,r,n,a,o){if(r===void 0&&(r=!1),n===void 0&&(n=!0),a===void 0&&(a=!0),o===void 0&&(o=0),r&&(typeof r=="function"?r(e,0,t,e.path):Ft(e,0)),e.path===""){var u={newDocument:t};if(e.op==="add")return u.newDocument=e.value,u;if(e.op==="replace")return u.newDocument=e.value,u.removed=t,u;if(e.op==="move"||e.op==="copy")return u.newDocument=Je(t,e.from),e.op==="move"&&(u.removed=t),u;if(e.op==="test"){if(u.test=Tt(t,e.value),u.test===!1)throw new He("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return u.newDocument=t,u}if(e.op==="remove")return u.removed=t,u.newDocument=null,u;if(e.op==="_get")return e.value=t,u;if(r)throw new He("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",o,e,t);return u}n||(t=G(t));var c=(e.path||"").split("/"),d=t,S=1,_=c.length,O=void 0,j=void 0,R=void 0;for(R=typeof r=="function"?r:Ft;;){if((j=c[S])&&j.indexOf("~")!=-1&&(j=Pe(j)),a&&(j=="__proto__"||j=="prototype"&&S>0&&c[S-1]=="constructor"))throw new TypeError("JSON-Patch: modifying `__proto__` or `constructor/prototype` prop is banned for security reasons, if this was on purpose, please set `banPrototypeModifications` flag false and pass it to this function. More info in fast-json-patch README");if(r&&O===void 0&&(d[j]===void 0?O=c.slice(0,S).join("/"):S==_-1&&(O=e.path),O!==void 0&&R(e,0,t,O)),S++,Array.isArray(d)){if(j==="-")j=d.length;else{if(r&&!oe(j))throw new He("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index","OPERATION_PATH_ILLEGAL_ARRAY_INDEX",o,e,t);oe(j)&&(j=~~j)}if(S>=_){if(r&&e.op==="add"&&j>d.length)throw new He("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",o,e,t);if((u=bt[e.op].call(e,d,j,t)).test===!1)throw new He("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return u}}else if(S>=_){if((u=xt[e.op].call(e,d,j,t)).test===!1)throw new He("Test operation failed","TEST_OPERATION_FAILED",o,e,t);return u}if(d=d[j],r&&S<_&&(!d||typeof d!="object"))throw new He("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",o,e,t)}}function We(t,e,r,n,a){if(n===void 0&&(n=!0),a===void 0&&(a=!0),r&&!Array.isArray(e))throw new He("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(t=G(t));for(var o=new Array(e.length),u=0,c=e.length;u<c;u++)o[u]=Te(t,e[u],r,!0,a,u),t=o[u].newDocument;return o.newDocument=t,o}function dt(t,e,r){var n=Te(t,e);if(n.test===!1)throw new He("Test operation failed","TEST_OPERATION_FAILED",r,e,t);return n.newDocument}function Ft(t,e,r,n){if(typeof t!="object"||t===null||Array.isArray(t))throw new He("Operation is not an object","OPERATION_NOT_AN_OBJECT",e,t,r);if(!xt[t.op])throw new He("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",e,t,r);if(typeof t.path!="string")throw new He("Operation `path` property is not a string","OPERATION_PATH_INVALID",e,t,r);if(t.path.indexOf("/")!==0&&t.path.length>0)throw new He('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",e,t,r);if((t.op==="move"||t.op==="copy")&&typeof t.from!="string")throw new He("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",e,t,r);if((t.op==="add"||t.op==="replace"||t.op==="test")&&t.value===void 0)throw new He("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",e,t,r);if((t.op==="add"||t.op==="replace"||t.op==="test")&&De(t.value))throw new He("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",e,t,r);if(r){if(t.op=="add"){var a=t.path.split("/").length,o=n.split("/").length;if(a!==o+1&&a!==o)throw new He("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",e,t,r)}else if(t.op==="replace"||t.op==="remove"||t.op==="_get"){if(t.path!==n)throw new He("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",e,t,r)}else if(t.op==="move"||t.op==="copy"){var u=Sr([{op:"_get",path:t.from,value:void 0}],r);if(u&&u.name==="OPERATION_PATH_UNRESOLVABLE")throw new He("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",e,t,r)}}}function Sr(t,e,r){try{if(!Array.isArray(t))throw new He("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(e)We(G(e),G(t),r||!0);else{r=r||Ft;for(var n=0;n<t.length;n++)r(t[n],n,e,void 0)}}catch(a){if(a instanceof He)return a;throw a}}function Tt(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r,n,a,o=Array.isArray(t),u=Array.isArray(e);if(o&&u){if((n=t.length)!=e.length)return!1;for(r=n;r--!=0;)if(!Tt(t[r],e[r]))return!1;return!0}if(o!=u)return!1;var c=Object.keys(t);if((n=c.length)!==Object.keys(e).length)return!1;for(r=n;r--!=0;)if(!e.hasOwnProperty(c[r]))return!1;for(r=n;r--!=0;)if(!Tt(t[a=c[r]],e[a]))return!1;return!0}return t!=t&&e!=e}var yr=new WeakMap,Hr=function(e){this.observers=new Map,this.obj=e},Kr=function(e,r){this.callback=e,this.observer=r};function tn(t,e){e.unobserve()}function In(t,e){var r,n=(function(d){return yr.get(d)})(t);if(n){var a=(function(d,S){return d.observers.get(S)})(n,e);r=a&&a.observer}else n=new Hr(t),yr.set(t,n);if(r)return r;if(r={},n.value=G(t),e){r.callback=e,r.next=null;var o=function(){qc(r)},u=function(){clearTimeout(r.next),r.next=setTimeout(o)};typeof window!="undefined"&&(window.addEventListener("mouseup",u),window.addEventListener("keyup",u),window.addEventListener("mousedown",u),window.addEventListener("keydown",u),window.addEventListener("change",u))}return r.patches=[],r.object=t,r.unobserve=function(){qc(r),clearTimeout(r.next),(function(d,S){d.observers.delete(S.callback)})(n,r),typeof window!="undefined"&&(window.removeEventListener("mouseup",u),window.removeEventListener("keyup",u),window.removeEventListener("mousedown",u),window.removeEventListener("keydown",u),window.removeEventListener("change",u))},n.observers.set(e,new Kr(e,r)),r}function qc(t,e){e===void 0&&(e=!1);var r=yr.get(t.object);Ll(r.value,t.object,t.patches,"",e),t.patches.length&&We(r.value,t.patches);var n=t.patches;return n.length>0&&(t.patches=[],t.callback&&t.callback(n)),n}function Ll(t,e,r,n,a){if(e!==t){typeof e.toJSON=="function"&&(e=e.toJSON());for(var o=F(e),u=F(t),c=!1,d=u.length-1;d>=0;d--){var S=t[O=u[d]];if(!A(e,O)||e[O]===void 0&&S!==void 0&&Array.isArray(e)===!1)Array.isArray(t)===Array.isArray(e)?(a&&r.push({op:"test",path:n+"/"+Ae(O),value:G(S)}),r.push({op:"remove",path:n+"/"+Ae(O)}),c=!0):(a&&r.push({op:"test",path:n,value:t}),r.push({op:"replace",path:n,value:e}));else{var _=e[O];typeof S=="object"&&S!=null&&typeof _=="object"&&_!=null&&Array.isArray(S)===Array.isArray(_)?Ll(S,_,r,n+"/"+Ae(O),a):S!==_&&(a&&r.push({op:"test",path:n+"/"+Ae(O),value:G(S)}),r.push({op:"replace",path:n+"/"+Ae(O),value:G(_)}))}}if(c||o.length!=u.length)for(d=0;d<o.length;d++){var O;A(t,O=o[d])||e[O]===void 0||r.push({op:"add",path:n+"/"+Ae(O),value:G(e[O])})}}}function oy(t,e,r){r===void 0&&(r=!1);var n=[];return Ll(t,e,n,"",r),n}Object.assign({},J,V,{JsonPatchError:Ze,deepClone:G,escapePathComponent:Ae,unescapePathComponent:Pe});var lb=Re(14744),$f=Re.n(lb);const cn={add:function(e,r){return{op:"add",path:e,value:r}},replace:Qu,remove:function(e){return{op:"remove",path:e}},merge:function(e,r){return{type:"mutation",op:"merge",path:e,value:r}},mergeDeep:function(e,r){return{type:"mutation",op:"mergeDeep",path:e,value:r}},context:function(e,r){return{type:"context",path:e,value:r}},getIn:function(e,r){return r.reduce(((n,a)=>a!==void 0&&n?n[a]:n),e)},applyPatch:function(e,r,n){if(n=n||{},(r=Nr(Ge({},r),{path:r.path&&Bl(r.path)})).op==="merge"){const a=pb(e,r.path);Object.assign(a,r.value),We(e,[Qu(r.path,a)])}else if(r.op==="mergeDeep"){const a=pb(e,r.path),o=$f()(a,r.value,{customMerge:u=>{if(u==="enum")return(c,d)=>Array.isArray(c)&&Array.isArray(d)?[...new Set([...c,...d])]:$f()(c,d)}});e=We(e,[Qu(r.path,o)]).newDocument}else if(r.op==="add"&&r.path===""&&Zu(r.value))We(e,Object.keys(r.value).reduce(((a,o)=>(a.push({op:"add",path:`/${Bl(o)}`,value:r.value[o]}),a)),[]));else if(r.op==="replace"&&r.path===""){let{value:a}=r;n.allowMetaPatches&&r.meta&&iy(r)&&(Array.isArray(r.value)||Zu(r.value))&&(a=Ge(Ge({},a),r.meta)),e=a}else if(We(e,[r]),n.allowMetaPatches&&r.meta&&iy(r)&&(Array.isArray(r.value)||Zu(r.value))){const a=Ge(Ge({},pb(e,r.path)),r.meta);We(e,[Qu(r.path,a)])}return e},parentPathMatch:function(e,r){if(!Array.isArray(r))return!1;for(let n=0,a=r.length;n<a;n+=1)if(r[n]!==e[n])return!1;return!0},flatten:Lf,fullyNormalizeArray:function(e){return JE(Lf(VE(e)))},normalizeArray:VE,isPromise:function(e){return Zu(e)&&WE(e.then)},forEachNew:function(e,r){try{return zE(e,ub,r)}catch(n){return n}},forEachNewPrimitive:function(e,r){try{return zE(e,cb,r)}catch(n){return n}},isJsonPatch:HE,isContextPatch:function(e){return sy(e)&&e.type==="context"},isPatch:sy,isMutation:KE,isAdditiveMutation:iy,isGenerator:function(e){return Object.prototype.toString.call(e)==="[object GeneratorFunction]"},isFunction:WE,isObject:Zu,isError:function(e){return e instanceof Error}};function Bl(t){return Array.isArray(t)?t.length<1?"":`/${t.map((e=>(e+"").replace(/~/g,"~0").replace(/\//g,"~1"))).join("/")}`:t}function Qu(t,e,r){return{op:"replace",path:t,value:e,meta:r}}function zE(t,e,r){return JE(Lf(t.filter(iy).map((n=>e(n.value,r,n.path)))||[]))}function cb(t,e,r){return r=r||[],Array.isArray(t)?t.map(((n,a)=>cb(n,e,r.concat(a)))):Zu(t)?Object.keys(t).map((n=>cb(t[n],e,r.concat(n)))):e(t,r[r.length-1],r)}function ub(t,e,r){let n=[];if((r=r||[]).length>0){const a=e(t,r[r.length-1],r);a&&(n=n.concat(a))}if(Array.isArray(t)){const a=t.map(((o,u)=>ub(o,e,r.concat(u))));a&&(n=n.concat(a))}else if(Zu(t)){const a=Object.keys(t).map((o=>ub(t[o],e,r.concat(o))));a&&(n=n.concat(a))}return n=Lf(n),n}function VE(t){return Array.isArray(t)?t:[t]}function Lf(t){return[].concat(...t.map((e=>Array.isArray(e)?Lf(e):e)))}function JE(t){return t.filter((e=>e!==void 0))}function Zu(t){return t&&typeof t=="object"}function WE(t){return t&&typeof t=="function"}function HE(t){if(sy(t)){const{op:e}=t;return e==="add"||e==="remove"||e==="replace"}return!1}function KE(t){return HE(t)||sy(t)&&t.type==="mutation"}function iy(t){return KE(t)&&(t.op==="add"||t.op==="replace"||t.op==="merge"||t.op==="mergeDeep")}function sy(t){return t&&typeof t=="object"}function pb(t,e){try{return Je(t,e)}catch(r){return{}}}var dC=Re(48675);const fC=class extends dC{constructor(e,r,n){if(super(e,r,n),this.name=this.constructor.name,typeof r=="string"&&(this.message=r),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(r).stack,n!=null&&typeof n=="object"&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:a}=n;this.cause=a,a instanceof Error&&"stack"in a&&(this.stack=`${this.stack}
|
||
CAUSE: ${a.stack}`)}}};class mC extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(fC,e)}constructor(e,r){if(super(e,r),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,r!=null&&typeof r=="object"&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:n}=r;this.cause=n,n instanceof Error&&"stack"in n&&(this.stack=`${this.stack}
|
||
CAUSE: ${n.stack}`)}}}const aa=mC,el=class extends aa{constructor(e,r){if(super(e,r),r!=null&&typeof r=="object"){const n=r,{cause:a}=n,o=jr(n,["cause"]);Object.assign(this,o)}}};var ly=Re(65606);function Kn(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function bn(t){return function e(r){return arguments.length===0||Kn(r)?e:t.apply(this,arguments)}}function Ar(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return Kn(r)?e:bn((function(a){return t(r,a)}));default:return Kn(r)&&Kn(n)?e:Kn(r)?bn((function(a){return t(a,n)})):Kn(n)?bn((function(a){return t(r,a)})):t(r,n)}}}function So(t){return function e(r,n,a){switch(arguments.length){case 0:return e;case 1:return Kn(r)?e:Ar((function(o,u){return t(r,o,u)}));case 2:return Kn(r)&&Kn(n)?e:Kn(r)?Ar((function(o,u){return t(o,n,u)})):Kn(n)?Ar((function(o,u){return t(r,o,u)})):bn((function(o){return t(r,n,o)}));default:return Kn(r)&&Kn(n)&&Kn(a)?e:Kn(r)&&Kn(n)?Ar((function(o,u){return t(o,u,a)})):Kn(r)&&Kn(a)?Ar((function(o,u){return t(o,n,u)})):Kn(n)&&Kn(a)?Ar((function(o,u){return t(r,o,u)})):Kn(r)?bn((function(o){return t(o,n,a)})):Kn(n)?bn((function(o){return t(r,o,a)})):Kn(a)?bn((function(o){return t(r,n,o)})):t(r,n,a)}}}const Ih=Number.isInteger||function(e){return(e|0)===e};function hb(t){return Object.prototype.toString.call(t)==="[object String]"}function cy(t,e){var r=t<0?e.length+t:t;return hb(e)?e.charAt(r):e[r]}function db(t,e){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;var a=t[n];r=Ih(a)?cy(a,r):r[a]}return r}const uy=So((function(e,r,n){return e(db(r,n))}));function GE(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function YE(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function py(t,e,r){for(var n=0,a=r.length;n<a;){if(t(e,r[n]))return!0;n+=1}return!1}function $i(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const Bf=typeof Object.is=="function"?Object.is:function(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r};var XE=Object.prototype.toString;const QE=(function(){return XE.call(arguments)==="[object Arguments]"?function(e){return XE.call(e)==="[object Arguments]"}:function(e){return $i("callee",e)}})();var gC=!{toString:null}.propertyIsEnumerable("toString"),ZE=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],eS=(function(){return arguments.propertyIsEnumerable("length")})(),yC=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},vC=bn(typeof Object.keys!="function"||eS?(function(e){if(Object(e)!==e)return[];var r,n,a=[],o=eS&&QE(e);for(r in e)!$i(r,e)||o&&r==="length"||(a[a.length]=r);if(gC)for(n=ZE.length-1;n>=0;)$i(r=ZE[n],e)&&!yC(a,r)&&(a[a.length]=r),n-=1;return a}):(function(e){return Object(e)!==e?[]:Object.keys(e)}));const ep=vC,vs=bn((function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function tS(t,e,r,n){var a=YE(t);function o(u,c){return fb(u,c,r.slice(),n.slice())}return!py((function(u,c){return!py(o,c,u)}),YE(e),a)}function fb(t,e,r,n){if(Bf(t,e))return!0;var a=vs(t);if(a!==vs(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&(function(O){var j=String(O).match(/^function (\w*)/);return j==null?"":j[1]})(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!Bf(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!Bf(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(t.source!==e.source||t.global!==e.global||t.ignoreCase!==e.ignoreCase||t.multiline!==e.multiline||t.sticky!==e.sticky||t.unicode!==e.unicode)return!1}for(var o=r.length-1;o>=0;){if(r[o]===t)return n[o]===e;o-=1}switch(a){case"Map":return t.size===e.size&&tS(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&tS(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=ep(t);if(u.length!==ep(e).length)return!1;var c=r.concat([t]),d=n.concat([e]);for(o=u.length-1;o>=0;){var S=u[o];if(!$i(S,e)||!fb(e[S],t[S],c,d))return!1;o-=1}return!0}const Uc=Ar((function(e,r){return fb(e,r,[],[])}));function hy(t,e){return(function(n,a,o){var u,c;if(typeof n.indexOf=="function")switch(typeof a){case"number":if(a===0){for(u=1/a;o<n.length;){if((c=n[o])===0&&1/c===u)return o;o+=1}return-1}if(a!=a){for(;o<n.length;){if(typeof(c=n[o])=="number"&&c!=c)return o;o+=1}return-1}return n.indexOf(a,o);case"string":case"boolean":case"function":case"undefined":return n.indexOf(a,o);case"object":if(a===null)return n.indexOf(a,o)}for(;o<n.length;){if(Uc(n[o],a))return o;o+=1}return-1})(e,t,0)>=0}function dy(t,e){for(var r=0,n=e.length,a=Array(n);r<n;)a[r]=t(e[r]),r+=1;return a}function mb(t){return'"'+t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}var qf=function(e){return(e<10?"0":"")+e};const bC=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+qf(e.getUTCMonth()+1)+"-"+qf(e.getUTCDate())+"T"+qf(e.getUTCHours())+":"+qf(e.getUTCMinutes())+":"+qf(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function rS(t){return function(){return!t.apply(this,arguments)}}function Uf(t,e,r){for(var n=0,a=r.length;n<a;)e=t(e,r[n]),n+=1;return e}const tp=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function zc(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!tp(n)){for(var a=0;a<t.length;){if(typeof n[t[a]]=="function")return n[t[a]].apply(n,Array.prototype.slice.call(arguments,0,-1));a+=1}if((function(u){return u!=null&&typeof u["@@transducer/step"]=="function"})(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function fy(t){return Object.prototype.toString.call(t)==="[object Object]"}const Vc=function(){return this.xf["@@transducer/init"]()},zf=function(t){return this.xf["@@transducer/result"](t)};var wC=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=zf,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t})();function EC(t){return function(e){return new wC(t,e)}}var SC=Ar(zc(["fantasy-land/filter","filter"],EC,(function(t,e){return fy(e)?Uf((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},ep(e)):(function(n,a){for(var o=0,u=a.length,c=[];o<u;)n(a[o])&&(c[c.length]=a[o]),o+=1;return c})(t,e)})));const xC=SC,_C=Ar((function(e,r){return xC(rS(e),r)}));function nS(t,e){var r=function(u){var c=e.concat([t]);return hy(u,c)?"<Circular>":nS(u,c)},n=function(o,u){return dy((function(c){return mb(c)+": "+r(o[c])}),u.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+dy(r,t).join(", ")+"))";case"[object Array]":return"["+dy(r,t).concat(n(t,_C((function(o){return/^\d+$/.test(o)}),ep(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):mb(bC(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":mb(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+n(t,ep(t)).join(", ")+"}"}}const Mh=bn((function(e){return nS(e,[])}));var kC=Ar((function(e,r){if(!(function(a){return Object.prototype.toString.call(a)==="[object RegExp]"})(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+Mh(e));return GE(e).test(r)}));const OC=kC;function my(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,a){return e.apply(this,arguments)};case 4:return function(r,n,a,o){return e.apply(this,arguments)};case 5:return function(r,n,a,o,u){return e.apply(this,arguments)};case 6:return function(r,n,a,o,u,c){return e.apply(this,arguments)};case 7:return function(r,n,a,o,u,c,d){return e.apply(this,arguments)};case 8:return function(r,n,a,o,u,c,d,S){return e.apply(this,arguments)};case 9:return function(r,n,a,o,u,c,d,S,_){return e.apply(this,arguments)};case 10:return function(r,n,a,o,u,c,d,S,_,O){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function AC(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const CC=bn((function(e){return!!tp(e)||!!e&&typeof e=="object"&&!hb(e)&&(e.length===0||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}));var aS=typeof Symbol!="undefined"?Symbol.iterator:"@@iterator";function oS(t,e,r){return function(a,o,u){if(CC(u))return t(a,o,u);if(u==null)return o;if(typeof u["fantasy-land/reduce"]=="function")return e(a,o,u,"fantasy-land/reduce");if(u[aS]!=null)return r(a,o,u[aS]());if(typeof u.next=="function")return r(a,o,u);if(typeof u.reduce=="function")return e(a,o,u,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function jC(t,e,r){for(var n=0,a=r.length;n<a;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const iS=Ar((function(e,r){return my(e.length,(function(){return e.apply(r,arguments)}))}));function PC(t,e,r){for(var n=r.next();!n.done;){if((e=t["@@transducer/step"](e,n.value))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function TC(t,e,r,n){return t["@@transducer/result"](r[n](iS(t["@@transducer/step"],t),e))}const gb=oS(jC,TC,PC);var NC=(function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t})();function sS(t){return new NC(t)}var IC=So((function(t,e,r){return gb(typeof t=="function"?sS(t):t,e,r)}));const Rh=IC;function yb(t,e){return function(){var r=arguments.length;if(r===0)return e();var n=arguments[r-1];return tp(n)||typeof n[t]!="function"?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var MC=So(yb("slice",(function(e,r,n){return Array.prototype.slice.call(n,e,r)})));const Vf=MC,RC=bn(yb("tail",Vf(1,1/0)));function ao(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return my(arguments[0].length,Rh(AC,arguments[0],RC(arguments)))}const Dh=Ar((function(e,r){return r==null||r!=r?e:r})),Jf=Ar((function(e,r){if(r!=null)return Ih(e)?cy(e,r):r[e]})),gy=So((function(e,r,n){return Dh(e,Jf(r,n))}));var DC=bn((function(t){return cy(-1,t)}));const yy=DC;function vb(t,e,r){return function(){for(var n=[],a=0,o=t,u=0,c=!1;u<e.length||a<arguments.length;){var d;u<e.length&&(!Kn(e[u])||a>=arguments.length)?d=e[u]:(d=arguments[a],a+=1),n[u]=d,Kn(d)?c=!0:o-=1,u+=1}return!c&&o<=0?r.apply(this,n):my(Math.max(0,o),vb(t,n,r))}}const Aa=Ar((function(e,r){return e===1?bn(r):my(e,vb(e,[],r))})),bb=bn((function(e){return Aa(e.length,e)}));function wb(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}const Eb=Ar((function(e,r){return Aa(e+1,(function(){var n=arguments[e];if(n!=null&&wb(n[r]))return n[r].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(Mh(n)+' does not have a method named "'+r+'"')}))})),lS=Eb(1,"split");function FC(t,e){for(var r=e.length-1;r>=0&&t(e[r]);)r-=1;return Vf(0,r+1,e)}var $C=(function(){function t(e,r){this.f=e,this.retained=[],this.xf=r}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.retain(e,r):this.flush(e,r)},t.prototype.flush=function(e,r){return e=gb(this.xf,e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,r)},t.prototype.retain=function(e,r){return this.retained.push(r),e},t})();function LC(t){return function(e){return new $C(t,e)}}const BC=Ar(zc([],LC,FC)),cS=Eb(1,"join"),vy=bn((function(e){return Aa(e.length,(function(r,n){var a=Array.prototype.slice.call(arguments,0);return a[0]=n,a[1]=r,e.apply(this,a)}))}))(Ar(hy)),qC=bb((function(t,e){return ao(lS(""),BC(vy(t)),cS(""))(e)}));function UC(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function zC(t,e,r,n){return r[n](t,e)}const VC=oS(Uf,zC,UC);var JC=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=zf,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t})();const by=Ar(zc(["fantasy-land/map","map"],(function(e){return function(r){return new JC(e,r)}}),(function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return Aa(r.length,(function(){return e.call(this,r.apply(this,arguments))}));case"[object Object]":return Uf((function(n,a){return n[a]=e(r[a]),n}),{},ep(r));default:return dy(e,r)}}))),WC=Ar((function(e,r){return typeof r["fantasy-land/ap"]=="function"?r["fantasy-land/ap"](e):typeof e.ap=="function"?e.ap(r):typeof e=="function"?function(n){return e(n)(r(n))}:VC((function(n,a){return(function(u,c){var d;c=c||[];var S=(u=u||[]).length,_=c.length,O=[];for(d=0;d<S;)O[O.length]=u[d],d+=1;for(d=0;d<_;)O[O.length]=c[d],d+=1;return O})(n,by(a,r))}),[],e)})),HC=Ar((function(e,r){var n=Aa(e,r);return Aa(e,(function(){return Uf(WC,by(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))})),Sb=bn((function(e){return HC(e.length,e)})),Wf=Sb(bn((function(e){return!e}))),gr=bn((function(e){return function(){return e}})),wy=gr(void 0),Jc=Uc(wy()),uS=Wf(Jc),pS=Ar((function(e,r){if(e===r)return r;function n(d,S){if(d>S!=S>d)return S>d?S:d}var a=n(e,r);if(a!==void 0)return a;var o=n(typeof e,typeof r);if(o!==void 0)return o===typeof e?e:r;var u=Mh(e),c=n(u,Mh(r));return c!==void 0&&c===u?e:r}));var KC=Ar((function(e,r){return by(Jf(e),r)}));const hS=KC,GC=bn((function(e){return Aa(Rh(pS,0,hS("length",e)),(function(){for(var r=0,n=e.length;r<n;){if(e[r].apply(this,arguments))return!0;r+=1}return!1}))}));var dS=function(t,e){switch(arguments.length){case 0:return dS;case 1:return function r(n){return arguments.length===0?r:Bf(t,n)};default:return Bf(t,e)}};const rp=dS,YC=Aa(1,ao(vs,rp("GeneratorFunction"))),XC=Aa(1,ao(vs,rp("AsyncFunction"))),np=GC([ao(vs,rp("Function")),YC,XC]);var QC=So((function(e,r,n){return n.replace(e,r)}));const fS=QC,ZC=Aa(1,ao(vs,rp("RegExp"))),ej=So((function(e,r,n){return e(n)?r(n):n})),ap=Aa(1,ao(vs,rp("String"))),tj=ej(ap,fS(/[.*+?^${}()|[\]\\-]/g,"\\$&"));var mS=function(e,r){if(typeof e!="string"&&!(e instanceof String))throw TypeError("`".concat(r,"` must be a string"))},rj=Aa(3,function(e,r,n){(function(u,c,d){if(d==null||u==null||c==null)throw TypeError("Input values must not be `null` or `undefined`")})(e,r,n),mS(n,"str"),mS(r,"replaceValue"),(function(u){if(!(typeof u=="string"||u instanceof String||u instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")})(e);var a=new RegExp(ZC(e)?e:tj(e),"g");return fS(a,r,n)}),nj=Eb(2,"replaceAll");const aj=np(String.prototype.replaceAll)?nj:rj,xb=()=>uy(OC(/^win/),["platform"],ly),_b=t=>{try{const e=new URL(t);return qC(":",e.protocol)}catch(e){return}},gS=(ao(_b,uS),t=>{if(ly.browser)return!1;const e=_b(t);return Jc(e)||e==="file"||/^[a-zA-Z]$/.test(e)}),kb=t=>{const e=_b(t);return e==="http"||e==="https"},yS=(t,e)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=gy(!1,"keepFileProtocol",e),a=gy(xb,"isWindows",e);let o=decodeURI(t);for(let c=0;c<r.length;c+=2)o=o.replace(r[c],r[c+1]);let u=o.substring(0,7).toLowerCase()==="file://";return u&&(o=o[7]==="/"?o.substring(8):o.substring(7),a()&&o[1]==="/"&&(o=`${o[0]}:${o.substring(1)}`),n?o=`file:///${o}`:(u=!1,o=a()?o:`/${o}`)),a()&&!u&&(o=aj("/","\\",o),o.substring(1,3)===":\\"&&(o=o[0].toUpperCase()+o.substring(1))),o},vS=t=>{const e=t.indexOf("#");return e!==-1?t.substring(e):"#"},On=t=>{const e=t.indexOf("#");let r=t;return e>=0&&(r=t.substring(0,e)),r},Ob=()=>{if(ly.browser)return On(globalThis.location.href);const t=ly.cwd(),e=yy(t);return["/","\\"].includes(e)?t:t+(xb()?"\\":"/")},oo=(t,e)=>{const r=new URL(e,new URL(t,"resolve://"));if(r.protocol==="resolve:"){const{pathname:n,search:a,hash:o}=r;return n+a+o}return r.toString()},Ey=t=>{if(gS(t))return(e=>{const r=[/\?/g,"%3F",/#/g,"%23"];let n=e;xb()&&(n=n.replace(/\\/g,"/")),n=encodeURI(n);for(let a=0;a<r.length;a+=2)n=n.replace(r[a],r[a+1]);return n})(yS(t));try{return new URL(t).toString()}catch(e){return encodeURI(decodeURI(t)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},tl=t=>gS(t)?yS(t):decodeURI(t),{fetch:oj,Response:ij,Headers:sj,Request:lj,FormData:cj,File:uj,Blob:pj}=globalThis;function bS(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function hj(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wS(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function dj(t,e){return(function(n){if(Array.isArray(n))return n})(t)||(function(n,a){var o=n==null?null:typeof Symbol!="undefined"&&n[Symbol.iterator]||n["@@iterator"];if(o!=null){var u,c,d=[],S=!0,_=!1;try{for(o=o.call(n);!(S=(u=o.next()).done)&&(d.push(u.value),!a||d.length!==a);S=!0);}catch(O){_=!0,c=O}finally{try{S||o.return==null||o.return()}finally{if(_)throw c}}return d}})(t,e)||(function(n,a){if(n){if(typeof n=="string")return bS(n,a);var o=Object.prototype.toString.call(n).slice(8,-1);if(o==="Object"&&n.constructor&&(o=n.constructor.name),o==="Map"||o==="Set")return Array.from(o);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return bS(n,a)}})(t,e)||(function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")})()}function Fh(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}globalThis.fetch===void 0&&(globalThis.fetch=oj),globalThis.Headers===void 0&&(globalThis.Headers=sj),globalThis.Request===void 0&&(globalThis.Request=lj),globalThis.Response===void 0&&(globalThis.Response=ij),globalThis.FormData===void 0&&(globalThis.FormData=cj),globalThis.File===void 0&&(globalThis.File=uj),globalThis.Blob===void 0&&(globalThis.Blob=pj);var ES=function(t){throw TypeError(t)},SS=function(t,e,r){return e.has(t)||ES("Cannot "+r)},Ro=function(t,e,r){return SS(t,e,"read from private field"),r?r.call(t):e.get(t)},xS=function(t,e,r){return e.has(t)?ES("Cannot add the same private member more than once"):wS(e,WeakSet)?e.add(t):e.set(t,r)},Ab=function(t,e,r,n){return SS(t,e,"write to private field"),e.set(t,r),r},$h=function(t){return Object.prototype.toString.call(t)},_S=function(t){return ArrayBuffer.isView(t)&&!wS(t,DataView)},kS=Array.isArray,fj=Object.getOwnPropertyDescriptor,mj=Object.prototype.propertyIsEnumerable,gj=Object.getOwnPropertySymbols,Sy=Object.prototype.hasOwnProperty;function Cb(t){for(var e=Object.keys(t),r=gj(t),n=0;n<r.length;n++)mj.call(t,r[n])&&e.push(r[n]);return e}function yj(t,e){var r;return!(!((r=fj(t,e))===null||r===void 0)&&r.writable)}function OS(t,e){if((t===void 0?"undefined":Fh(t))==="object"&&t!==null){var r;if(kS(t))r=[];else if($h(t)==="[object Date]")r=new Date(t.getTime?t.getTime():t);else if((function(_){return $h(_)==="[object RegExp]"})(t))r=new RegExp(t);else if((function(_){return $h(_)==="[object Error]"})(t))r={message:t.message};else if((function(_){return $h(_)==="[object Boolean]"})(t)||(function(_){return $h(_)==="[object Number]"})(t)||(function(_){return $h(_)==="[object String]"})(t))r=Object(t);else{if(_S(t))return t.slice();r=Object.create(Object.getPrototypeOf(t))}var n=e.includeSymbols?Cb:Object.keys,a=!0,o=!1,u=void 0;try{for(var c,d=n(t)[Symbol.iterator]();!(a=(c=d.next()).done);a=!0){var S=c.value;r[S]=t[S]}}catch(_){o=!0,u=_}finally{try{a||d.return==null||d.return()}finally{if(o)throw u}}return r}return t}var Xo,Wc,AS={includeSymbols:!1,immutable:!1};function CS(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:AS,n=[],a=[],o=!0,u=r.includeSymbols?Cb:Object.keys,c=!!r.immutable;return(function d(S){var _=c?OS(S,r):S,O={},j=!0,R={node:_,node_:S,path:[].concat(n),parent:a[a.length-1],parents:a,key:n[n.length-1],isRoot:n.length===0,level:n.length,circular:void 0,isLeaf:!1,notLeaf:!0,notRoot:!0,isFirst:!1,isLast:!1,update:function(fe){var be=arguments.length>1&&arguments[1]!==void 0&&arguments[1];R.isRoot||(R.parent.node[R.key]=fe),R.node=fe,be&&(j=!1)},delete:function(fe){delete R.parent.node[R.key],fe&&(j=!1)},remove:function(fe){kS(R.parent.node)?R.parent.node.splice(R.key,1):delete R.parent.node[R.key],fe&&(j=!1)},keys:null,before:function(fe){O.before=fe},after:function(fe){O.after=fe},pre:function(fe){O.pre=fe},post:function(fe){O.post=fe},stop:function(){o=!1},block:function(){j=!1}};if(!o)return R;function $(){if(Fh(R.node)==="object"&&R.node!==null){R.keys&&R.node_===R.node||(R.keys=u(R.node)),R.isLeaf=R.keys.length===0;for(var ve=0;ve<a.length;ve++)if(a[ve].node_===S){R.circular=a[ve];break}}else R.isLeaf=!0,R.keys=null;R.notLeaf=!R.isLeaf,R.notRoot=!R.isRoot}$();var L=e.call(R,R.node);if(L!==void 0&&R.update&&R.update(L),O.before&&O.before.call(R,R.node),!j)return R;if(Fh(R.node)==="object"&&R.node!==null&&!R.circular){var q;a.push(R),$();var X=!0,D=!1,se=void 0;try{for(var te,le=Object.entries((q=R.keys)!==null&&q!==void 0?q:[])[Symbol.iterator]();!(X=(te=le.next()).done);X=!0){var ce,ie=dj(te.value,2),_e=ie[0],me=ie[1];n.push(me),O.pre&&O.pre.call(R,R.node[me],me);var ue=d(R.node[me]);c&&Sy.call(R.node,me)&&!yj(R.node,me)&&(R.node[me]=ue.node),ue.isLast=!!(!((ce=R.keys)===null||ce===void 0)&&ce.length)&&+_e==R.keys.length-1,ue.isFirst=+_e==0,O.post&&O.post.call(R,ue),n.pop()}}catch(ve){D=!0,se=ve}finally{try{X||le.return==null||le.return()}finally{if(D)throw se}}a.pop()}return O.after&&O.after.call(R,R.node),R})(t).node}var rl=(function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:AS;(function(a,o){if(!(a instanceof o))throw new TypeError("Cannot call a class as a function")})(this,t),xS(this,Xo),xS(this,Wc),Ab(this,Xo,e),Ab(this,Wc,r)}return(function(r,n,a){return n&&hj(r.prototype,n),r})(t,[{key:"get",value:function(r){for(var n=Ro(this,Xo),a=0;n&&a<r.length;a++){var o=r[a];if(!Sy.call(n,o)||!Ro(this,Wc).includeSymbols&&(o===void 0?"undefined":Fh(o))==="symbol")return;n=n[o]}return n}},{key:"has",value:function(r){for(var n=Ro(this,Xo),a=0;n&&a<r.length;a++){var o=r[a];if(!Sy.call(n,o)||!Ro(this,Wc).includeSymbols&&(o===void 0?"undefined":Fh(o))==="symbol")return!1;n=n[o]}return!0}},{key:"set",value:function(r,n){var a=Ro(this,Xo),o=0;for(o=0;o<r.length-1;o++){var u=r[o];Sy.call(a,u)||(a[u]={}),a=a[u]}return a[r[o]]=n,n}},{key:"map",value:function(r){return CS(Ro(this,Xo),r,{immutable:!0,includeSymbols:!!Ro(this,Wc).includeSymbols})}},{key:"forEach",value:function(r){return Ab(this,Xo,CS(Ro(this,Xo),r,Ro(this,Wc))),Ro(this,Xo)}},{key:"reduce",value:function(r,n){var a=arguments.length===1,o=a?Ro(this,Xo):n;return this.forEach((function(u){this.isRoot&&a||(o=r.call(this,o,u))})),o}},{key:"paths",value:function(){var r=[];return this.forEach((function(){r.push(this.path)})),r}},{key:"nodes",value:function(){var r=[];return this.forEach((function(){r.push(this.node)})),r}},{key:"clone",value:function(){var r=[],n=[],a=Ro(this,Wc);return _S(Ro(this,Xo))?Ro(this,Xo).slice():(function o(u){for(var c=0;c<r.length;c++)if(r[c]===u)return n[c];if((u===void 0?"undefined":Fh(u))==="object"&&u!==null){var d=OS(u,a);r.push(u),n.push(d);var S=a.includeSymbols?Cb:Object.keys,_=!0,O=!1,j=void 0;try{for(var R,$=S(u)[Symbol.iterator]();!(_=(R=$.next()).done);_=!0){var L=R.value;d[L]=o(u[L])}}catch(q){O=!0,j=q}finally{try{_||$.return==null||$.return()}finally{if(O)throw j}}return r.pop(),n.pop(),d}return u})(Ro(this,Xo))}}]),t})();Xo=new WeakMap,Wc=new WeakMap;var nl=function(t,e){return new rl(t,e)};nl.get=function(t,e,r){return new rl(t,r).get(e)},nl.set=function(t,e,r,n){return new rl(t,n).set(e,r)},nl.has=function(t,e,r){return new rl(t,r).has(e)},nl.map=function(t,e,r){return new rl(t,r).map(e)},nl.forEach=function(t,e,r){return new rl(t,r).forEach(e)},nl.reduce=function(t,e,r,n){return new rl(t,n).reduce(e,r)},nl.paths=function(t,e){return new rl(t,e).paths()},nl.nodes=function(t,e){return new rl(t,e).nodes()},nl.clone=function(t,e){return new rl(t,e).clone()};var vj=nl;const jS="application/json, application/yaml",xy="https://swagger.io",bj=Object.freeze({url:"/"}),PS=3e3,wj=["properties"],Ej=["properties"],Sj=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],xj=["schema/example","items/example"];function TS(t){const e=t[t.length-1],r=t[t.length-2],n=t.join("/");return wj.indexOf(e)>-1&&Ej.indexOf(r)===-1||Sj.indexOf(n)>-1||xj.some((a=>n.indexOf(a)>-1))}function jb(t,e){const[r,n]=t.split("#"),a=e!=null?e:"",o=r!=null?r:"";let u;if(kb(a))u=oo(a,o);else{const c=oo(xy,a),d=oo(c,o).replace(xy,"");u=o.startsWith("/")?d:d.substring(1)}return n?`${u}#${n}`:u}const _j=/^([a-z]+:\/\/|\/\/)/i;class Lh extends el{}const ql={},NS=new WeakMap,kj=[t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="examples",t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="content"&&t[7]==="example",t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="content"&&t[7]==="examples"&&t[9]==="value",t=>t[0]==="paths"&&t[3]==="requestBody"&&t[4]==="content"&&t[6]==="example",t=>t[0]==="paths"&&t[3]==="requestBody"&&t[4]==="content"&&t[6]==="examples"&&t[8]==="value",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="example",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="example",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="examples"&&t[6]==="value",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="examples"&&t[7]==="value",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="content"&&t[6]==="example",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="content"&&t[6]==="examples"&&t[8]==="value",t=>t[0]==="paths"&&t[3]==="parameters"&&t[4]==="content"&&t[7]==="example",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="content"&&t[7]==="examples"&&t[9]==="value"],Oj={key:"$ref",plugin:(t,e,r,n)=>{const a=n.getInstance(),o=r.slice(0,-1);if(TS(o)||(L=>kj.some((q=>q(L))))(o))return;const{baseDoc:u}=n.getContext(r);if(typeof t!="string")return new Lh("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:u,fullPath:r});const c=DS(t),d=c[0],S=c[1]||"";let _,O,j;try{_=u||d?RS(d,u):null}catch(L){return Pb(L,{pointer:S,$ref:t,basePath:_,fullPath:r})}if((function(q,X,D,se){let te=NS.get(se);te||(te={},NS.set(se,te));const le=(function(fe){return fe.length===0?"":`/${fe.map(BS).join("/")}`})(D),ce=`${X||"<specmap-base>"}#${q}`,ie=le.replace(/allOf\/\d+\/?/g,""),_e=se.contextTree.get([]).baseDoc;if(X===_e&&Ib(ie,q))return!0;let me="";return D.some((ve=>(me=`${me}/${BS(ve)}`,te[me]&&te[me].some((fe=>Ib(fe,ce)||Ib(ce,fe))))))?!0:void(te[ie]=(te[ie]||[]).concat(ce))})(S,_,o,n)&&!a.useCircularStructures){const L=jb(t,_);return t===L?null:cn.replace(r,L)}if(_==null?(j=Nb(S),O=n.get(j),O===void 0&&(O=new Lh(`Could not resolve reference: ${t}`,{pointer:S,$ref:t,baseDoc:u,fullPath:r}))):(O=FS(_,S),O=O.__value!=null?O.__value:O.catch((L=>{throw Pb(L,{pointer:S,$ref:t,baseDoc:u,fullPath:r})}))),O instanceof Error)return[cn.remove(r),O];const R=jb(t,_),$=cn.replace(o,O,{$$ref:R});if(_&&_!==u)return[$,cn.context(o,{baseDoc:_})];try{if(!(function(q,X){const D=[q];return X.path.reduce(((te,le)=>(D.push(te[le]),te[le])),q),se(X.value);function se(te){return cn.isObject(te)&&(D.indexOf(te)>=0||Object.keys(te).some((le=>se(te[le]))))}})(n.state,$)||a.useCircularStructures)return $}catch(L){return null}}},IS=Object.assign(Oj,{docCache:ql,absoluteify:RS,clearCache:function(e){e!==void 0?delete ql[e]:Object.keys(ql).forEach((r=>{delete ql[r]}))},JSONRefError:Lh,wrapError:Pb,getDoc:$S,split:DS,extractFromDoc:FS,fetchJSON:function(e){return fetch(e,{headers:{Accept:jS},loadSpec:!0}).then((r=>r.text())).then((r=>Ln.load(r)))},extract:Tb,jsonPointerToArray:Nb,unescapeJsonPointerToken:LS}),MS=IS;function RS(t,e){if(!_j.test(t)){if(!e)throw new Lh(`Tried to resolve a relative URL, without having a basePath. path: '${t}' basePath: '${e}'`);return oo(e,t)}return t}function Pb(t,e){let r;return r=t&&t.response&&t.response.body?`${t.response.body.code} ${t.response.body.message}`:t.message,new Lh(`Could not resolve reference: ${r}`,Nr(Ge({},e),{cause:t}))}function DS(t){return(t+"").split("#")}function FS(t,e){const r=ql[t];if(r&&!cn.isPromise(r))try{const n=Tb(e,r);return Object.assign(Promise.resolve(n),{__value:n})}catch(n){return Promise.reject(n)}return $S(t).then((n=>Tb(e,n)))}function $S(t){const e=ql[t];return e?cn.isPromise(e)?e:Promise.resolve(e):(ql[t]=IS.fetchJSON(t).then((r=>(ql[t]=r,r))),ql[t])}function Tb(t,e){const r=Nb(t);if(r.length<1)return e;const n=cn.getIn(e,r);if(n===void 0)throw new Lh(`Could not resolve pointer: ${t} does not exist in document`,{pointer:t});return n}function Nb(t){if(typeof t!="string")throw new TypeError("Expected a string, got a "+typeof t);return t[0]==="/"&&(t=t.substr(1)),t===""?[]:t.split("/").map(LS)}function LS(t){return typeof t!="string"?t:new URLSearchParams(`=${t.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function BS(t){return new URLSearchParams([["",t.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const Aj=t=>!t||t==="/"||t==="#";function Ib(t,e){if(Aj(e))return!0;const r=t.charAt(e.length),n=e.slice(-1);return t.indexOf(e)===0&&(!r||r==="/"||r==="#")&&n!=="#"}const Cj={key:"allOf",plugin:(t,e,r,n,a)=>{if(a.meta&&a.meta.$$ref)return;const o=r.slice(0,-1);if(TS(o))return;if(!Array.isArray(t)){const S=new TypeError("allOf must be an array");return S.fullPath=r,S}let u=!1,c=a.value;if(o.forEach((S=>{c&&(c=c[S])})),c=Ge({},c),Object.keys(c).length===0)return;delete c.allOf;const d=[];return d.push(n.replace(o,{})),t.forEach(((S,_)=>{if(!n.isObject(S)){if(u)return null;u=!0;const j=new TypeError("Elements in allOf must be objects");return j.fullPath=r,d.push(j)}d.push(n.mergeDeep(o,S));const O=(function(R,$,{specmap:L,getBaseUrlForNodePath:q=D=>L.getContext([...$,...D]).baseDoc,targetKeys:X=["$ref","$$ref"]}={}){const D=[];return vj(R).forEach((function(){if(X.includes(this.key)&&typeof this.node=="string"){const te=this.path,le=$.concat(this.path),ce=jb(this.node,q(te));D.push(L.replace(le,ce))}})),D})(S,r.slice(0,-1),{getBaseUrlForNodePath:j=>n.getContext([...r,_,...j]).baseDoc,specmap:n});d.push(...O)})),c.example&&d.push(n.remove([].concat(o,"example"))),d.push(n.mergeDeep(o,c)),c.$$ref||d.push(n.remove([].concat(o,"$$ref"))),d}},jj={key:"parameters",plugin:(t,e,r,n)=>{if(Array.isArray(t)&&t.length){const a=Object.assign([],t),o=r.slice(0,-1),u=Ge({},cn.getIn(n.spec,o));for(let c=0;c<t.length;c+=1){const d=t[c];try{a[c].default=n.parameterMacro(u,d)}catch(S){const _=new Error(S);return _.fullPath=r,_}}return cn.replace(r,a)}return cn.replace(r,t)}},Pj={key:"properties",plugin:(t,e,r,n)=>{const a=Ge({},t);for(const o in t)try{a[o].default=n.modelPropertyMacro(a[o])}catch(u){const c=new Error(u);return c.fullPath=r,c}return cn.replace(r,a)}};class Tj{constructor(e){this.root=Mb(e||{})}set(e,r){const n=this.getParent(e,!0);if(!n)return void _y(this.root,r,null);const a=e[e.length-1],{children:o}=n;o[a]?_y(o[a],r,n):o[a]=Mb(r,n)}get(e){if((e=e||[]).length<1)return this.root.value;let r,n,a=this.root;for(let o=0;o<e.length&&(n=e[o],r=a.children,r[n]);o+=1)a=r[n];return a&&a.protoValue}getParent(e,r){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce(((n,a)=>{if(!n)return n;const{children:o}=n;return!o[a]&&r&&(o[a]=Mb(null,n)),o[a]}),this.root)}}function Mb(t,e){return _y({children:{}},t,e)}function _y(t,e,r){return t.value=e||{},t.protoValue=r?Ge(Ge({},r.protoValue),t.value):t.value,Object.keys(t.children).forEach((n=>{const a=t.children[n];t.children[n]=_y(a,a.value,t)})),t}const qS=()=>{};class Nj{static getPluginName(e){return e.pluginName}static getPatchesOfType(e,r){return e.filter(r)}constructor(e){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new Tj,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),cn,{getInstance:()=>this}),allowMetaPatches:!1},e),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(cn.isFunction),this.patches.push(cn.add([],this.spec)),this.patches.push(cn.context([],this.context)),this.updatePatches(this.patches)}debug(e,...r){this.debugLevel}verbose(e,...r){this.debugLevel}wrapPlugin(e,r){const{pathDiscriminator:n}=this;let a,o=null;return e[this.pluginProp]?(o=e,a=e[this.pluginProp]):cn.isFunction(e)?a=e:cn.isObject(e)&&(a=(function(c){const d=(S,_)=>!Array.isArray(S)||S.every(((O,j)=>O===_[j]));return function*(_,O){const j={};for(const[$,L]of _.filter(cn.isAdditiveMutation).entries()){if(!($<PS))return;yield*B0(R(L.value,L.path,L))}function*R($,L,q){if(cn.isObject($)){const X=L.length-1,D=L[X],se=L.indexOf("properties"),te=D==="properties"&&X===se,le=O.allowMetaPatches&&j[$.$$ref];for(const ce of Object.keys($)){const ie=$[ce],_e=L.concat(ce),me=cn.isObject(ie),ue=$.$$ref;if(le||me&&(O.allowMetaPatches&&ue&&d(n,_e)&&(j[ue]=!0),yield*B0(R(ie,_e,q))),!te&&ce===c.key){const ve=d(n,L);n&&!ve||(yield c.plugin(ie,ce,_e,O,q))}}}else c.key===L[L.length-1]&&(yield c.plugin($,c.key,L,O))}}})(e)),Object.assign(a.bind(o),{pluginName:e.name||r,isGenerator:cn.isGenerator(a)})}nextPlugin(){return this.wrappedPlugins.find((e=>this.getMutationsForPlugin(e).length>0))}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map((e=>e.value)))}getPluginHistory(e){const r=this.constructor.getPluginName(e);return this.pluginHistory[r]||[]}getPluginRunCount(e){return this.getPluginHistory(e).length}getPluginHistoryTip(e){const r=this.getPluginHistory(e);return r&&r[r.length-1]||{}}getPluginMutationIndex(e){const r=this.getPluginHistoryTip(e).mutationIndex;return typeof r!="number"?-1:r}updatePluginHistory(e,r){const n=this.constructor.getPluginName(e);this.pluginHistory[n]=this.pluginHistory[n]||[],this.pluginHistory[n].push(r)}updatePatches(e){cn.normalizeArray(e).forEach((r=>{if(r instanceof Error)this.errors.push(r);else try{if(!cn.isObject(r))return void this.debug("updatePatches","Got a non-object patch",r);if(this.showDebug&&this.allPatches.push(r),cn.isPromise(r.value))return this.promisedPatches.push(r),void this.promisedPatchThen(r);if(cn.isContextPatch(r))return void this.setContext(r.path,r.value);cn.isMutation(r)&&this.updateMutations(r)}catch(n){this.errors.push(n)}}))}updateMutations(e){typeof e.value=="object"&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value=Ge({},e.value));const r=cn.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});r&&(this.mutations.push(e),this.state=r)}removePromisedPatch(e){const r=this.promisedPatches.indexOf(e);r<0?this.debug("Tried to remove a promisedPatch that isn't there!"):this.promisedPatches.splice(r,1)}promisedPatchThen(e){return e.value=e.value.then((r=>{const n=Nr(Ge({},e),{value:r});this.removePromisedPatch(e),this.updatePatches(n)})).catch((r=>{this.removePromisedPatch(e),this.updatePatches(r)})),e.value}getMutations(e,r){return e=e||0,typeof r!="number"&&(r=this.mutations.length),this.mutations.slice(e,r)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(e){const r=this.getPluginMutationIndex(e);return this.getMutations(r+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(e){return cn.getIn(this.state,e)}_getContext(e){return this.contextTree.get(e)}setContext(e,r){return this.contextTree.set(e,r)}_hasRun(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}dispatch(){const e=this,r=this.nextPlugin();if(!r){const a=this.nextPromisedPatch();if(a)return a.then((()=>this.dispatch())).catch((()=>this.dispatch()));const o={spec:this.state,errors:this.errors};return this.showDebug&&(o.patches=this.allPatches),Promise.resolve(o)}if(e.pluginCount=e.pluginCount||new WeakMap,e.pluginCount.set(r,(e.pluginCount.get(r)||0)+1),e.pluginCount[r]>100)return Promise.resolve({spec:e.state,errors:e.errors.concat(new Error("We've reached a hard limit of 100 plugin runs"))});if(r!==this.currentPlugin&&this.promisedPatches.length){const a=this.promisedPatches.map((o=>o.value));return Promise.all(a.map((o=>o.then(qS,qS)))).then((()=>this.dispatch()))}return(function(){e.currentPlugin=r;const o=e.getCurrentMutations(),u=e.mutations.length-1;try{if(r.isGenerator)for(const c of r(o,e.getLib()))n(c);else n(r(o,e.getLib()))}catch(c){n([Object.assign(Object.create(c),{plugin:r})])}finally{e.updatePluginHistory(r,{mutationIndex:u})}return e.dispatch()})();function n(a){a&&(a=cn.fullyNormalizeArray(a),e.updatePatches(a,r))}}}const Bh={refs:MS,allOf:Cj,parameters:jj,properties:Pj};function US(t,e={}){const{requestInterceptor:r,responseInterceptor:n}=e,a=t.withCredentials?"include":"same-origin";return o=>t({url:o,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:jS},credentials:a}).then((u=>u.body))}function Rb(t,e){return e||typeof navigator=="undefined"||(e=navigator),e&&e.product==="ReactNative"?!(!t||typeof t!="object"||typeof t.uri!="string"):typeof File!="undefined"&&t instanceof File||typeof Blob!="undefined"&&t instanceof Blob||!!ArrayBuffer.isView(t)||t!==null&&typeof t=="object"&&typeof t.pipe=="function"}function zS(t,e){return Array.isArray(t)&&t.some((r=>Rb(r,e)))}class Db extends File{constructor(e,r="",n={}){super([e],r,n),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const Ij=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,Mj=t=>/^[a-z0-9\-._~]+$/i.test(t);function VS(t,e="reserved"){return[...t].map((r=>{if(Mj(r)||Ij(r)&&e==="unsafe")return r;const n=new TextEncoder;return Array.from(n.encode(r)).map((a=>`0${a.toString(16).toUpperCase()}`.slice(-2))).map((a=>`%${a}`)).join("")})).join("")}function Fb(t){const{value:e}=t;return Array.isArray(e)?(function({key:n,value:a,style:o,explode:u,escape:c}){if(o==="simple")return a.map((d=>io(d,c))).join(",");if(o==="label")return`.${a.map((d=>io(d,c))).join(".")}`;if(o==="matrix")return a.map((d=>io(d,c))).reduce(((d,S)=>!d||u?`${d||""};${n}=${S}`:`${d},${S}`),"");if(o==="form"){const d=u?`&${n}=`:",";return a.map((S=>io(S,c))).join(d)}if(o==="spaceDelimited"){const d=u?`${n}=`:"";return a.map((S=>io(S,c))).join(` ${d}`)}if(o==="pipeDelimited"){const d=u?`${n}=`:"";return a.map((S=>io(S,c))).join(`|${d}`)}})(t):typeof e=="object"?(function({key:n,value:a,style:o,explode:u,escape:c}){const d=Object.keys(a);if(o==="simple")return d.reduce(((S,_)=>{const O=io(a[_],c);return`${S?`${S},`:""}${_}${u?"=":","}${O}`}),"");if(o==="label")return d.reduce(((S,_)=>{const O=io(a[_],c);return`${S?`${S}.`:"."}${_}${u?"=":"."}${O}`}),"");if(o==="matrix"&&u)return d.reduce(((S,_)=>`${S?`${S};`:";"}${_}=${io(a[_],c)}`),"");if(o==="matrix")return d.reduce(((S,_)=>{const O=io(a[_],c);return`${S?`${S},`:`;${n}=`}${_},${O}`}),"");if(o==="form")return d.reduce(((S,_)=>{const O=io(a[_],c);return`${S?`${S}${u?"&":","}`:""}${_}${u?"=":","}${O}`}),"")})(t):(function({key:n,value:a,style:o,escape:u}){if(o==="simple")return io(a,u);if(o==="label")return`.${io(a,u)}`;if(o==="matrix")return`;${n}=${io(a,u)}`;if(o==="form"||o==="deepObject")return io(a,u)})(t)}function io(t,e=!1){return Array.isArray(t)||t!==null&&typeof t=="object"?t=JSON.stringify(t):typeof t!="number"&&typeof t!="boolean"||(t=String(t)),e&&typeof t=="string"&&t.length>0?VS(t,e):t!=null?t:""}const Rj={form:",",spaceDelimited:"%20",pipeDelimited:"|"},Dj={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function JS(t,e,r=!1){const{collectionFormat:n,allowEmptyValue:a,serializationOption:o,encoding:u}=e,c=typeof e!="object"||Array.isArray(e)?e:e.value,d=r?_=>_.toString():_=>encodeURIComponent(_),S=d(t);if(c===void 0&&a)return[[S,""]];if(Rb(c)||zS(c))return[[S,c]];if(o)return WS(t,c,r,o);if(u){if([typeof u.style,typeof u.explode,typeof u.allowReserved].some((_=>_!=="undefined"))){const{style:_,explode:O,allowReserved:j}=u;return WS(t,c,r,{style:_,explode:O,allowReserved:j})}if(typeof u.contentType=="string"){if(u.contentType.startsWith("application/json")){const O=d(typeof c=="string"?c:JSON.stringify(c));return[[S,new Db(O,"blob",{type:u.contentType})]]}const _=d(String(c));return[[S,new Db(_,"blob",{type:u.contentType})]]}return typeof c!="object"?[[S,d(c)]]:Array.isArray(c)&&c.every((_=>typeof _!="object"))?[[S,c.map(d).join(",")]]:[[S,d(JSON.stringify(c))]]}return typeof c!="object"?[[S,d(c)]]:Array.isArray(c)?n==="multi"?[[S,c.map(d)]]:[[S,c.map(d).join(Dj[n||"csv"])]]:[[S,""]]}function WS(t,e,r,n){const a=n.style||"form",o=n.explode===void 0?a==="form":n.explode,u=!r&&(n&&n.allowReserved?"unsafe":"reserved"),c=S=>io(S,u),d=r?S=>S:S=>c(S);return typeof e!="object"?[[d(t),c(e)]]:Array.isArray(e)?o?[[d(t),e.map(c)]]:[[d(t),e.map(c).join(Rj[a])]]:a==="deepObject"?Object.keys(e).map((S=>[d(`${t}[${S}]`),c(e[S])])):o?Object.keys(e).map((S=>[d(S),c(e[S])])):[[d(t),Object.keys(e).map((S=>[`${d(S)},${c(e[S])}`])).join(",")]]}function HS(t){return((e,{encode:r=!0}={})=>{const n=(u,c,d)=>(Array.isArray(d)?d.reduce(((S,_)=>n(u,c,_)),u):d instanceof Date?u.append(c,d.toISOString()):typeof d=="object"?Object.entries(d).reduce(((S,[_,O])=>n(u,`${c}[${_}]`,O)),u):u.append(c,d),u),a=Object.entries(e).reduce(((u,[c,d])=>n(u,c,d)),new URLSearchParams),o=String(a);return r?o:decodeURIComponent(o)})(Object.keys(t).reduce(((e,r)=>{for(const[n,a]of JS(r,t[r]))e[n]=a instanceof Db?a.valueOf():a;return e}),{}),{encode:!1})}function $b(t={}){const{url:e="",query:r,form:n}=t;if(n){const a=Object.keys(n).some((u=>{const{value:c}=n[u];return Rb(c)||zS(c)})),o=t.headers["content-type"]||t.headers["Content-Type"];if(a||/multipart\/form-data/i.test(o)){const u=(function(d){return Object.entries(d).reduce(((S,[_,O])=>{for(const[j,R]of JS(_,O,!0))if(Array.isArray(R))for(const $ of R)if(ArrayBuffer.isView($)){const L=new Blob([$]);S.append(j,L)}else S.append(j,$);else if(ArrayBuffer.isView(R)){const $=new Blob([R]);S.append(j,$)}else S.append(j,R);return S}),new FormData)})(t.form);t.formdata=u,t.body=u}else t.body=HS(n);delete t.form}if(r){const[a,o]=e.split("?");let u="";if(o){const d=new URLSearchParams(o);Object.keys(r).forEach((S=>d.delete(S))),u=String(d)}const c=((...d)=>{const S=d.filter((_=>_)).join("&");return S?`?${S}`:""})(u,HS(r));t.url=a+c,delete t.query}return t}function Fj(t={}){return typeof t.entries!="function"?{}:Array.from(t.entries()).reduce(((e,[r,n])=>(e[r]=(function(o){return o.includes(", ")?o.split(", "):o})(n),e)),{})}function KS(t,e,{loadSpec:r=!1}={}){const n={ok:t.ok,url:t.url||e,status:t.status,statusText:t.statusText,headers:Fj(t.headers)},a=n.headers["content-type"],o=r||((u="")=>/(json|xml|yaml|text)\b/.test(u))(a);return(o?t.text:t.blob||t.buffer).call(t).then((u=>{if(n.text=u,n.data=u,o)try{const c=(function(S,_){if(_){if(_.indexOf("application/json")===0||_.indexOf("+json")>0)return JSON.parse(S);if(_.indexOf("application/xml")===0||_.indexOf("+xml")>0)return S}return Ln.load(S)})(u,a);n.body=c,n.obj=c}catch(c){n.parseError=c}return n}))}function Hf(r){return nr(this,arguments,function*(t,e={}){typeof t=="object"&&(t=(e=t).url),e.headers=e.headers||{},(e=$b(e)).headers&&Object.keys(e.headers).forEach((o=>{const u=e.headers[o];typeof u=="string"&&(e.headers[o]=u.replace(/\n+/g," "))})),e.requestInterceptor&&(e=(yield e.requestInterceptor(e))||e);const n=e.headers["content-type"]||e.headers["Content-Type"];let a;/multipart\/form-data/i.test(n)&&(delete e.headers["content-type"],delete e.headers["Content-Type"]);try{a=yield(e.userFetch||fetch)(e.url,e),a=yield KS(a,t,e),e.responseInterceptor&&(a=(yield e.responseInterceptor(a))||a)}catch(o){if(!a)throw o;const u=new Error(a.statusText||`response status is ${a.status}`);throw u.status=a.status,u.statusCode=a.status,u.responseError=o,u}if(!a.ok){const o=new Error(a.statusText||`response status is ${a.status}`);throw o.status=a.status,o.statusCode=a.status,o.response=a,o}return a})}const Lb=t=>{var e,r;const{baseDoc:n,url:a}=t,o=(e=n!=null?n:a)!==null&&e!==void 0?e:"";return typeof((r=globalThis.document)===null||r===void 0?void 0:r.baseURI)=="string"?String(new URL(o,globalThis.document.baseURI)):o},GS=t=>{const{fetch:e,http:r}=t;return e||r||Hf};function Bb(t){return nr(this,null,function*(){const{spec:e,mode:r,allowMetaPatches:n=!0,pathDiscriminator:a,modelPropertyMacro:o,parameterMacro:u,requestInterceptor:c,responseInterceptor:d,skipNormalization:S=!1,useCircularStructures:_,strategies:O}=t,j=Lb(t),R=GS(t),$=O.find((L=>L.match(e)));return(function(q){return nr(this,null,function*(){j&&(Bh.refs.docCache[j]=q),Bh.refs.fetchJSON=US(R,{requestInterceptor:c,responseInterceptor:d});const X=[Bh.refs];typeof u=="function"&&X.push(Bh.parameters),typeof o=="function"&&X.push(Bh.properties),r!=="strict"&&X.push(Bh.allOf);const D=yield(function(te){return new Nj(te).dispatch()})({spec:q,context:{baseDoc:j},plugins:X,allowMetaPatches:n,pathDiscriminator:a,parameterMacro:u,modelPropertyMacro:o,useCircularStructures:_});return S||(D.spec=$.normalize(D.spec)),D})})(e)})}const $j=Ar((function(e,r){return e&&r})),Kf=Ar((function(e,r){return wb(e)?function(){return e.apply(this,arguments)&&r.apply(this,arguments)}:Sb($j)(e,r)})),YS=Uc(null),XS=Wf(YS);function qb(t){return qb=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},qb(t)}const QS=function(e){return qb(e)==="object"},Lj=Aa(1,Kf(XS,QS));var Bj=ao(vs,rp("Object")),qj=ao(Mh,Uc(Mh(Object))),Uj=uy(Kf(np,qj),["constructor"]),zj=Aa(1,(function(t){if(!Lj(t)||!Bj(t))return!1;var e=Object.getPrototypeOf(t);return!!YS(e)||Uj(e)}));const bs=zj,ZS=t=>t.replace(/\W/gi,"_");function Gf(t,e,r="",{v2OperationIdCompatibilityMode:n}={}){return!t||typeof t!="object"?null:(t.operationId||"").replace(/\s/g,"").length?ZS(t.operationId):(function(o,u,{v2OperationIdCompatibilityMode:c}={}){if(c){let d=`${u.toLowerCase()}_${o}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return d=d||`${o.substring(1)}_${u}`,d.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${u.toLowerCase()}${ZS(o)}`})(e,r,{v2OperationIdCompatibilityMode:n})}function Ub(t){const{spec:e}=t,{paths:r}=e,n={};if(!r||e.$$normalized)return t;for(const a in r){const o=r[a];if(o==null||!["object","function"].includes(typeof o))continue;const u=o.parameters;for(const c in o){const d=o[c];if(d==null||!["object","function"].includes(typeof d))continue;const S=Gf(d,a,c);if(S){n[S]?n[S].push(d):n[S]=[d];const _=n[S];if(_.length>1)_.forEach(((O,j)=>{O.__originalOperationId=O.__originalOperationId||O.operationId,O.operationId=`${S}${j+1}`}));else if(d.operationId!==void 0){const O=_[0];O.__originalOperationId=O.__originalOperationId||d.operationId,O.operationId=S}}if(c!=="parameters"){const _=[],O={};for(const j in e)j!=="produces"&&j!=="consumes"&&j!=="security"||(O[j]=e[j],_.push(O));if(u&&(O.parameters=u,_.push(O)),_.length)for(const j of _)for(const R in j)if(Array.isArray(d[R])){if(R==="parameters")for(const $ of j[R])d[R].some((L=>!(!bs(L)&&!bs($))&&(L===$||["name","$ref","$$ref"].some((q=>typeof L[q]=="string"&&typeof $[q]=="string"&&L[q]===$[q])))))||d[R].push($)}else d[R]=j[R]}}}return e.$$normalized=!0,t}const Vj={name:"generic",match:()=>!0,normalize(t){const{spec:e}=Ub({spec:t});return e},resolve:t=>nr(null,null,function*(){return Bb(t)})},zb=Vj,e2=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(e)}catch(e){return!1}},Vb=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)}catch(e){return!1}},t2=t=>e2(t)||Vb(t),Jj={name:"openapi-2",match:t=>(e=>{try{const{swagger:r}=e;return r==="2.0"}catch(r){return!1}})(t),normalize(t){const{spec:e}=Ub({spec:t});return e},resolve:t=>nr(null,null,function*(){return(function(r){return nr(this,null,function*(){return Bb(r)})})(t)})},Jb=Jj,Wj={name:"openapi-3-0",match:t=>e2(t),normalize(t){const{spec:e}=Ub({spec:t});return e},resolve:t=>nr(null,null,function*(){return(function(r){return nr(this,null,function*(){return Bb(r)})})(t)})},Wb=Wj;var Ve=Re(34035);function ky(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var Hj=(function(){function t(e,r){this.xf=r,this.f=e,this.all=!0}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.f(r)||(this.all=!1,e=ky(this.xf["@@transducer/step"](e,!1))),e},t})();function Kj(t){return function(e){return new Hj(t,e)}}var Gj=Ar(zc(["all"],Kj,(function(e,r){for(var n=0;n<r.length;){if(!e(r[n]))return!1;n+=1}return!0})));const Hb=Gj;class Yj extends Ve.Om{constructor(e,r,n){super(e,r,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}const Oy=Yj;class Xj extends Ve.Om{constructor(e,r,n){super(e,r,n),this.element="comment"}}const Ay=Xj;class Qj extends Ve.wE{constructor(e,r,n){super(e,r,n),this.element="parseResult"}get api(){return this.children.filter((e=>e.classes.contains("api"))).first}get results(){return this.children.filter((e=>e.classes.contains("result")))}get result(){return this.results.first}get annotations(){return this.children.filter((e=>e.element==="annotation"))}get warnings(){return this.children.filter((e=>e.element==="annotation"&&e.classes.contains("warning")))}get errors(){return this.children.filter((e=>e.element==="annotation"&&e.classes.contains("error")))}get isEmpty(){return this.children.reject((e=>e.element==="annotation")).isEmpty}replaceResult(e){const{result:r}=this;if(Jc(r))return!1;const n=this.content.findIndex((a=>a===r));return n!==-1&&(this.content[n]=e,!0)}}const ws=Qj,Zj=(t,e)=>typeof e=="object"&&e!==null&&t in e&&typeof e[t]=="function",e3=t=>typeof t=="object"&&t!=null&&"_storedElement"in t&&typeof t._storedElement=="string"&&"_content"in t,t3=(t,e)=>typeof e=="object"&&e!==null&&"primitive"in e&&typeof e.primitive=="function"&&e.primitive()===t,r3=(t,e)=>typeof e=="object"&&e!==null&&"classes"in e&&(Array.isArray(e.classes)||e.classes instanceof Ve.wE)&&e.classes.includes(t),Hc=(t,e)=>typeof e=="object"&&e!==null&&"element"in e&&e.element===t,$t=t=>t({hasMethod:Zj,hasBasicElementProps:e3,primitiveEq:t3,isElementType:Hc,hasClass:r3}),da=$t((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ve.Hg||t(r)&&e(void 0,r))),wr=$t((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ve.Om||t(r)&&e("string",r))),Kb=$t((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ve.kT||t(r)&&e("number",r))),Gb=$t((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ve.Os||t(r)&&e("null",r))),Yf=$t((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof Ve.bd||t(r)&&e("boolean",r))),on=$t((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Ve.Sh||t(n)&&e("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),so=$t((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof Ve.wE&&!(n instanceof Ve.Sh)||t(n)&&e("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),Es=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ve.Pr||t(n)&&e("member",n)&&r(void 0,n))),r2=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ve.Ft||t(n)&&e("link",n)&&r(void 0,n))),n2=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ve.sI||t(n)&&e("ref",n)&&r(void 0,n))),n3=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Oy||t(n)&&e("annotation",n)&&r("array",n))),a3=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ay||t(n)&&e("comment",n)&&r("string",n))),a2=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ws||t(n)&&e("parseResult",n)&&r("array",n))),op=t=>Hc("object",t)||Hc("array",t)||Hc("boolean",t)||Hc("number",t)||Hc("string",t)||Hc("null",t)||Hc("member",t),qh=t=>!!da(t)&&Number.isInteger(t.startPositionRow)&&Number.isInteger(t.startPositionColumn)&&Number.isInteger(t.startIndex)&&Number.isInteger(t.endPositionRow)&&Number.isInteger(t.endPositionColumn)&&Number.isInteger(t.endIndex),o3=(t,e)=>{if(t.length===0)return!0;const r=e.attributes.get("symbols");return!!so(r)&&Hb(vy(r.toValue()),t)},Uh=(t,e)=>t.length===0||Hb(vy(e.classes.toValue()),t),Ul=function(){return!0},Yb=function(){return!1},Cy=(t,e,r)=>{const n=t[e];if(n!=null){if(!r&&typeof n=="function")return n;const a=r?n.leave:n.enter;if(typeof a=="function")return a}else{const a=r?t.leave:t.enter;if(a!=null){if(typeof a=="function")return a;const o=a[e];if(typeof o=="function")return o}}return null},Ur={},Xf=t=>t==null?void 0:t.type,o2=t=>typeof Xf(t)=="string",Xb=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),jy=(t,{visitFnGetter:e=Cy,nodeTypeGetter:r=Xf,breakSymbol:n=Ur,deleteNodeSymbol:a=null,skipVisitingNodeSymbol:o=!1,exposeEdits:u=!1}={})=>{const c=Symbol("skip"),d=new Array(t.length).fill(c);return{enter(S,_,O,j,R,$){let L=S,q=!1;const X=Nr(Ge({},$),{replaceWith(D,se){$.replaceWith(D,se),L=D}});for(let D=0;D<t.length;D+=1)if(d[D]===c){const se=e(t[D],r(L),!1);if(typeof se=="function"){const te=se.call(t[D],L,_,O,j,R,X);if(typeof(te==null?void 0:te.then)=="function")throw new el("Async visitor not supported in sync mode",{visitor:t[D],visitFn:se});if(te===o)d[D]=L;else if(te===n)d[D]=n;else{if(te===a)return te;if(te!==void 0){if(!u)return te;L=te,q=!0}}}}return q?L:void 0},leave(S,_,O,j,R,$){let L=S;const q=Nr(Ge({},$),{replaceWith(X,D){$.replaceWith(X,D),L=X}});for(let X=0;X<t.length;X+=1)if(d[X]===c){const D=e(t[X],r(L),!0);if(typeof D=="function"){const se=D.call(t[X],L,_,O,j,R,q);if(typeof(se==null?void 0:se.then)=="function")throw new el("Async visitor not supported in sync mode",{visitor:t[X],visitFn:D});if(se===n)d[X]=n;else if(se!==void 0&&se!==o)return se}}else d[X]===L&&(d[X]=c)}}};jy[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=Cy,nodeTypeGetter:r=Xf,breakSymbol:n=Ur,deleteNodeSymbol:a=null,skipVisitingNodeSymbol:o=!1,exposeEdits:u=!1}={})=>{const c=Symbol("skip"),d=new Array(t.length).fill(c);return{enter(_,O,j,R,$,L){return nr(this,null,function*(){let q=_,X=!1;const D=Nr(Ge({},L),{replaceWith(se,te){L.replaceWith(se,te),q=se}});for(let se=0;se<t.length;se+=1)if(d[se]===c){const te=e(t[se],r(q),!1);if(typeof te=="function"){const le=yield te.call(t[se],q,O,j,R,$,D);if(le===o)d[se]=q;else if(le===n)d[se]=n;else{if(le===a)return le;if(le!==void 0){if(!u)return le;q=le,X=!0}}}}return X?q:void 0})},leave(_,O,j,R,$,L){return nr(this,null,function*(){let q=_;const X=Nr(Ge({},L),{replaceWith(D,se){L.replaceWith(D,se),q=D}});for(let D=0;D<t.length;D+=1)if(d[D]===c){const se=e(t[D],r(q),!0);if(typeof se=="function"){const te=yield se.call(t[D],q,O,j,R,$,X);if(te===n)d[D]=n;else if(te!==void 0&&te!==o)return te}}else d[D]===q&&(d[D]=c)})}}};const Qb=(t,e,{keyMap:r=null,state:n={},breakSymbol:a=Ur,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:u=!1,visitFnGetter:c=Cy,nodeTypeGetter:d=Xf,nodePredicate:S=o2,nodeCloneFn:_=Xb,detectCycles:O=!0,detectCyclesCallback:j=null}={})=>{const R=r||{};let $,L,q=Array.isArray(t),X=[t],D=-1,se=[],te=t;const le=[],ce=[];do{D+=1;const me=D===X.length;let ue;const ve=me&&se.length!==0;if(me){if(ue=ce.length===0?void 0:le.pop(),te=L,L=ce.pop(),ve)if(q){te=te.slice();let be=0;for(const[je,qe]of se){const pt=je-be;qe===o?(te.splice(pt,1),be+=1):te[pt]=qe}}else{te=_(te);for(const[be,je]of se)te[be]=je}D=$.index,X=$.keys,se=$.edits,q=$.inArray,$=$.prev}else if(L!==o&&L!==void 0){if(ue=q?D:X[D],te=L[ue],te===o||te===void 0)continue;le.push(ue)}let fe;if(!Array.isArray(te)){var ie;if(!S(te))throw new el(`Invalid AST Node: ${String(te)}`,{node:te});if(O&&ce.includes(te)){typeof j=="function"&&j(te,ue,L,le,ce),le.pop();continue}const be=c(e,d(te),me);if(be){for(const[qe,pt]of Object.entries(n))e[qe]=pt;const je={replaceWith(qe,pt){typeof pt=="function"?pt(qe,te,ue,L,le,ce):L&&(L[ue]=qe),me||(te=qe)}};fe=be.call(e,te,ue,L,le,ce,je)}if(typeof((ie=fe)===null||ie===void 0?void 0:ie.then)=="function")throw new el("Async visitor not supported in sync mode",{visitor:e,visitFn:be});if(fe===a)break;if(fe===u){if(!me){le.pop();continue}}else if(fe!==void 0&&(se.push([ue,fe]),!me)){if(!S(fe)){le.pop();continue}te=fe}}var _e;fe===void 0&&ve&&se.push([ue,te]),!me&&($={inArray:q,index:D,keys:X,edits:se,prev:$},q=Array.isArray(te),X=q?te:(_e=R[d(te)])!==null&&_e!==void 0?_e:[],D=-1,se=[],L!==o&&L!==void 0&&ce.push(L),L=te)}while($!==void 0);return se.length!==0?se[se.length-1][1]:t};Qb[Symbol.for("nodejs.util.promisify.custom")]=(R,$,...L)=>nr(null,[R,$,...L],function*(t,e,{keyMap:r=null,state:n={},breakSymbol:a=Ur,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:u=!1,visitFnGetter:c=Cy,nodeTypeGetter:d=Xf,nodePredicate:S=o2,nodeCloneFn:_=Xb,detectCycles:O=!0,detectCyclesCallback:j=null}={}){const q=r||{};let X,D,se=Array.isArray(t),te=[t],le=-1,ce=[],ie=t;const _e=[],me=[];do{le+=1;const ve=le===te.length;let fe;const be=ve&&ce.length!==0;if(ve){if(fe=me.length===0?void 0:_e.pop(),ie=D,D=me.pop(),be)if(se){ie=ie.slice();let qe=0;for(const[pt,_t]of ce){const It=pt-qe;_t===o?(ie.splice(It,1),qe+=1):ie[It]=_t}}else{ie=_(ie);for(const[qe,pt]of ce)ie[qe]=pt}le=X.index,te=X.keys,ce=X.edits,se=X.inArray,X=X.prev}else if(D!==o&&D!==void 0){if(fe=se?le:te[le],ie=D[fe],ie===o||ie===void 0)continue;_e.push(fe)}let je;if(!Array.isArray(ie)){if(!S(ie))throw new el(`Invalid AST Node: ${String(ie)}`,{node:ie});if(O&&me.includes(ie)){typeof j=="function"&&j(ie,fe,D,_e,me),_e.pop();continue}const qe=c(e,d(ie),ve);if(qe){for(const[_t,It]of Object.entries(n))e[_t]=It;const pt={replaceWith(_t,It){typeof It=="function"?It(_t,ie,fe,D,_e,me):D&&(D[fe]=_t),ve||(ie=_t)}};je=yield qe.call(e,ie,fe,D,_e,me,pt)}if(je===a)break;if(je===u){if(!ve){_e.pop();continue}}else if(je!==void 0&&(ce.push([fe,je]),!ve)){if(!S(je)){_e.pop();continue}ie=je}}var ue;je===void 0&&be&&ce.push([fe,ie]),!ve&&(X={inArray:se,index:le,keys:te,edits:ce,prev:X},se=Array.isArray(ie),te=se?ie:(ue=q[d(ie)])!==null&&ue!==void 0?ue:[],le=-1,ce=[],D!==o&&D!==void 0&&me.push(D),D=ie)}while(X!==void 0);return ce.length!==0?ce[ce.length-1][1]:t});const i2=class extends el{constructor(r,n){super(r,n);Ee(this,"value");n!==void 0&&(this.value=n.value)}},i3=class extends i2{},s3=class extends i2{},l3=Ar((function(e,r){return Uf((function(n,a){return n[a]=e(r[a],a,r),n}),{},ep(r))})),Py=bn((function(e){return e==null}));var c3=Ar((function(e,r){if(e.length===0||Py(r))return!1;for(var n=r,a=0;a<e.length;){if(Py(n)||!$i(e[a],n))return!1;n=n[e[a]],a+=1}return!0}));const u3=c3;var p3=Ar((function(e,r){return u3([e],r)}));const Qf=p3,h3=So((function(e,r,n){return e(Jf(r,n))})),za=Ar(db);var d3=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=zf,t.prototype["@@transducer/step"]=function(e,r){if(this.f){if(this.f(r))return e;this.f=null}return this.xf["@@transducer/step"](e,r)},t})();function f3(t){return function(e){return new d3(t,e)}}const m3=Ar(zc(["dropWhile"],f3,(function(e,r){for(var n=0,a=r.length;n<a&&e(r[n]);)n+=1;return Vf(n,1/0,r)}))),s2=bb((function(t,e){return ao(lS(""),m3(vy(t)),cS(""))(e)})),Kc=(t,e)=>{const r=Dh(t,e);return l3((n=>{if(bs(n)&&Qf("$ref",n)&&h3(ap,"$ref",n)){const a=za(["$ref"],n),o=s2("#/",a);return za(o.split("/"),r)}return bs(n)?Kc(n,r):n}),t)},Zb=(t,e)=>(t.startPositionRow=e==null?void 0:e.startPositionRow,t.startPositionColumn=e==null?void 0:e.startPositionColumn,t.startIndex=e==null?void 0:e.startIndex,t.endPositionRow=e==null?void 0:e.endPositionRow,t.endPositionColumn=e==null?void 0:e.endPositionColumn,t.endIndex=e==null?void 0:e.endIndex,t),Yt=(t,e={})=>{const{visited:r=new WeakMap}=e,n=Nr(Ge({},e),{visited:r});if(r.has(t))return r.get(t);if(t instanceof Ve.KeyValuePair){const{key:a,value:o}=t,u=da(a)?Yt(a,n):a,c=da(o)?Yt(o,n):o,d=new Ve.KeyValuePair(u,c);return r.set(t,d),d}if(t instanceof Ve.ot){const a=c=>Yt(c,n),o=[...t].map(a),u=new Ve.ot(o);return r.set(t,u),u}if(t instanceof Ve.G6){const a=c=>Yt(c,n),o=[...t].map(a),u=new Ve.G6(o);return r.set(t,u),u}if(da(t)){const a=Va(t);if(r.set(t,a),t.content)if(da(t.content))a.content=Yt(t.content,n);else if(t.content instanceof Ve.KeyValuePair)a.content=Yt(t.content,n);else if(Array.isArray(t.content)){const o=u=>Yt(u,n);a.content=t.content.map(o)}else a.content=t.content;else a.content=t.content;return a}throw new i3("Value provided to cloneDeep function couldn't be cloned",{value:t})};Yt.safe=t=>{try{return Yt(t)}catch(e){return t}};const l2=t=>{const{key:e,value:r}=t;return new Ve.KeyValuePair(e,r)},c2=t=>{const e=new t.constructor;if(e.element=t.element,qh(t)&&Zb(e,t),t.meta.length>0&&(e._meta=Yt(t.meta)),t.attributes.length>0&&(e._attributes=Yt(t.attributes)),da(t.content)){const r=t.content;e.content=c2(r)}else Array.isArray(t.content)?e.content=[...t.content]:t.content instanceof Ve.KeyValuePair?e.content=l2(t.content):e.content=t.content;return e},Va=t=>{if(t instanceof Ve.KeyValuePair)return l2(t);if(t instanceof Ve.ot)return(e=>{const r=[...e];return new Ve.ot(r)})(t);if(t instanceof Ve.G6)return(e=>{const r=[...e];return new Ve.G6(r)})(t);if(da(t))return c2(t);throw new s3("Value provided to cloneShallow function couldn't be cloned",{value:t})};Va.safe=t=>{try{return Va(t)}catch(e){return t}};const zh=t=>on(t)?"ObjectElement":so(t)?"ArrayElement":Es(t)?"MemberElement":wr(t)?"StringElement":Yf(t)?"BooleanElement":Kb(t)?"NumberElement":Gb(t)?"NullElement":r2(t)?"LinkElement":n2(t)?"RefElement":void 0,u2=t=>da(t)?Va(t):Xb(t),p2=ao(zh,ap),al={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"]};class h2{constructor({predicate:e=Yb,returnOnTrue:r,returnOnFalse:n}={}){Ee(this,"result");Ee(this,"predicate");Ee(this,"returnOnTrue");Ee(this,"returnOnFalse");this.result=[],this.predicate=e,this.returnOnTrue=r,this.returnOnFalse=n}enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}const Ca=(t,e,a={})=>{var o=a,{keyMap:r=al}=o,n=jr(o,["keyMap"]);return Qb(t,e,Ge({keyMap:r,nodeTypeGetter:zh,nodePredicate:p2,nodeCloneFn:u2},n))};Ca[Symbol.for("nodejs.util.promisify.custom")]=(u,c,...d)=>nr(null,[u,c,...d],function*(t,e,a={}){var o=a,{keyMap:r=al}=o,n=jr(o,["keyMap"]);return Qb[Symbol.for("nodejs.util.promisify.custom")](t,e,Ge({keyMap:r,nodeTypeGetter:zh,nodePredicate:p2,nodeCloneFn:u2},n))});const d2=t=>typeof(t==null?void 0:t.type)=="string"?t.type:zh(t),f2=Ge({EphemeralObject:["content"],EphemeralArray:["content"]},al),m2=(t,e,a={})=>{var o=a,{keyMap:r=f2}=o,n=jr(o,["keyMap"]);return Ca(t,e,Ge({keyMap:r,nodeTypeGetter:d2,nodePredicate:Ul,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node")},n))};m2[Symbol.for("nodejs.util.promisify.custom")]=(o,...u)=>nr(null,[o,...u],function*(t,n={}){var a=n,{keyMap:e=f2}=a,r=jr(a,["keyMap"]);return Ca[Symbol.for("nodejs.util.promisify.custom")](t,visitor,Ge({keyMap:e,nodeTypeGetter:d2,nodePredicate:Ul,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node")},r))});const g3=class{constructor(e){Ee(this,"type","EphemeralArray");Ee(this,"content",[]);Ee(this,"reference");this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}},y3=class{constructor(e){Ee(this,"type","EphemeralObject");Ee(this,"content",[]);Ee(this,"reference");this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class v3{constructor(){Ee(this,"ObjectElement",{enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new y3(e.content);return this.references.set(e,r),r}});Ee(this,"EphemeralObject",{leave:e=>e.toObject()});Ee(this,"MemberElement",{enter:e=>[e.key,e.value]});Ee(this,"ArrayElement",{enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new g3(e.content);return this.references.set(e,r),r}});Ee(this,"EphemeralArray",{leave:e=>e.toArray()});Ee(this,"references",new WeakMap)}BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}RefElement(e,...r){var n;const a=r[3];return((n=a[a.length-1])===null||n===void 0?void 0:n.type)==="EphemeralObject"?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return wr(e.href)?e.href.toValue():""}}const ft=t=>da(t)?wr(t)||Kb(t)||Yf(t)||Gb(t)?t.toValue():m2(t,new v3):t,b3=So((function(e,r,n){var a,o={};for(a in n=n||{},r=r||{})$i(a,r)&&(o[a]=$i(a,n)?e(a,r[a],n[a]):r[a]);for(a in n)$i(a,n)&&!$i(a,o)&&(o[a]=n[a]);return o})),w3=So((function t(e,r,n){return b3((function(a,o,u){return fy(o)&&fy(u)?t(e,o,u):e(a,o,u)}),r,n)})),Ty=Ar((function(e,r){return w3((function(n,a,o){return o}),e,r)})),E3=Vf(0,-1),S3=Ar((function(e,r){return e.apply(this,r)})),x3=Wf(np);var _3=bn((function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():tp(e)?[]:hb(e)?"":fy(e)?{}:QE(e)?(function(){return arguments})():(function(n){var a=Object.prototype.toString.call(n);return a==="[object Uint8ClampedArray]"||a==="[object Int8Array]"||a==="[object Uint8Array]"||a==="[object Int16Array]"||a==="[object Uint16Array]"||a==="[object Int32Array]"||a==="[object Uint32Array]"||a==="[object Float32Array]"||a==="[object Float64Array]"||a==="[object BigInt64Array]"||a==="[object BigUint64Array]"})(e)?e.constructor.from(""):void 0}));const k3=_3,Zf=bn((function(e){return e!=null&&Uc(e,k3(e))})),g2=Aa(1,np(Array.isArray)?Array.isArray:ao(vs,rp("Array"))),O3=Kf(g2,Zf);var A3=Aa(3,(function(t,e,r){var n=za(t,r),a=za(E3(t),r);if(!x3(n)&&!O3(t)){var o=iS(n,a);return S3(o,e)}}));const em=A3;class y2 extends Ve.g${constructor(){super(),this.register("annotation",Oy),this.register("comment",Ay),this.register("parseResult",ws)}}const C3=new y2,zl=t=>{const e=new y2;return bs(t)&&e.use(t),e},v2=C3,b2=()=>({predicates:Ge({},B),namespace:v2}),w2={toolboxCreator:b2,visitorOptions:{nodeTypeGetter:zh,exposeEdits:!0}},ol=(t,e,r={})=>{if(e.length===0)return t;const n=Ty(w2,r),{toolboxCreator:a,visitorOptions:o}=n,u=a(),c=e.map((_=>_(u))),d=jy(c.map(gy({},"visitor")),Ge({},o));c.forEach(em(["pre"],[]));const S=Ca(t,d,o);return c.forEach(em(["post"],[])),S};ol[Symbol.for("nodejs.util.promisify.custom")]=(n,a,...o)=>nr(null,[n,a,...o],function*(t,e,r={}){if(e.length===0)return t;const u=Ty(w2,r),{toolboxCreator:c,visitorOptions:d}=u,S=c(),_=e.map((L=>L(S))),O=jy[Symbol.for("nodejs.util.promisify.custom")],j=Ca[Symbol.for("nodejs.util.promisify.custom")],R=O(_.map(gy({},"visitor")),Ge({},d));yield Promise.allSettled(_.map(em(["pre"],[])));const $=yield j(t,R,d);return yield Promise.allSettled(_.map(em(["post"],[]))),$});const j3=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return da(t)&&(t.meta.length>0&&(n.meta=Yt(t.meta)),t.attributes.length>0&&(n.attributes=Yt(t.attributes))),ol(n,r,{toolboxCreator:b2,visitorOptions:{nodeTypeGetter:zh}})},Ss=t=>(e,r={})=>j3(e,Nr(Ge({},r),{Type:t}));Ve.Sh.refract=Ss(Ve.Sh),Ve.wE.refract=Ss(Ve.wE),Ve.Om.refract=Ss(Ve.Om),Ve.bd.refract=Ss(Ve.bd),Ve.Os.refract=Ss(Ve.Os),Ve.kT.refract=Ss(Ve.kT),Ve.Ft.refract=Ss(Ve.Ft),Ve.sI.refract=Ss(Ve.sI),Oy.refract=Ss(Oy),Ay.refract=Ss(Ay),ws.refract=Ss(ws);const Ny=(t,e=new WeakMap)=>(Es(t)?(e.set(t.key,t),Ny(t.key,e),e.set(t.value,t),Ny(t.value,e)):t.children.forEach((r=>{e.set(r,t),Ny(r,e)})),e),P3=class{constructor({element:e}){Ee(this,"element");Ee(this,"edges");this.element=e}transclude(e,r){var n;if(e===this.element)return r;if(e===r)return this.element;this.edges=(n=this.edges)!==null&&n!==void 0?n:Ny(this.element);const a=this.edges.get(e);return Jc(a)?void 0:(on(a)?((o,u,c)=>{const d=c.get(o);on(d)&&(d.content=d.map(((S,_,O)=>O===o?(c.delete(o),c.set(u,d),u):O)))})(e,r,this.edges):so(a)?((o,u,c)=>{const d=c.get(o);so(d)&&(d.content=d.map((S=>S===o?(c.delete(o),c.set(u,d),u):S)))})(e,r,this.edges):Es(a)&&((o,u,c)=>{const d=c.get(o);Es(d)&&(d.key===o&&(d.key=u,c.delete(o),c.set(u,d)),d.value===o&&(d.value=u,c.delete(o),c.set(u,d)))})(e,r,this.edges),this.element)}},Li=t=>{const e=t.indexOf("#");return(r=>{try{const n=r.startsWith("#")?r.slice(1):r;return decodeURIComponent(n)}catch(n){return r}})(e===-1?"#":t.substring(e))},Bi=function(){const e=Cr,r=yi,n=this,a="parser.js: Parser(): ";n.ast=void 0,n.stats=void 0,n.trace=void 0,n.callbacks=[];let o,u,c,d,S,_,O,j=0,R=0,$=0,L=0,q=0,X=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};n.parse=(le,ce,ie,_e)=>{const me=`${a}parse(): `;j=0,R=0,$=0,L=0,q=0,o=void 0,u=void 0,c=void 0,d=void 0,X.refresh(),S=void 0,_=void 0,O=void 0,d=r.stringToChars(ie),o=le.rules,u=le.udts;const ue=ce.toLowerCase();let ve;for(const be in o)if(o.hasOwnProperty(be)&&ue===o[be].lower){ve=o[be].index;break}if(ve===void 0)throw new Error(`${me}start rule name '${startRule}' not recognized`);(()=>{const be=`${a}initializeCallbacks(): `;let je,qe;for(S=[],_=[],je=0;je<o.length;je+=1)S[je]=void 0;for(je=0;je<u.length;je+=1)_[je]=void 0;const pt=[];for(je=0;je<o.length;je+=1)pt.push(o[je].lower);for(je=0;je<u.length;je+=1)pt.push(u[je].lower);for(const _t in n.callbacks)if(n.callbacks.hasOwnProperty(_t)){if(je=pt.indexOf(_t.toLowerCase()),je<0)throw new Error(`${be}syntax callback '${_t}' not a rule or udt name`);if(qe=n.callbacks[_t]?n.callbacks[_t]:void 0,typeof qe!="function"&&qe!==void 0)throw new Error(`${be}syntax callback[${_t}] must be function reference or falsy)`);je<o.length?S[je]=qe:_[je-o.length]=qe}})(),n.trace&&n.trace.init(o,u,d),n.stats&&n.stats.init(o,u),n.ast&&n.ast.init(o,u,d),O=_e,c=[{type:e.RNM,index:ve}],te(0,0),c=void 0;let fe=!1;switch(X.state){case e.ACTIVE:throw new Error(`${me}final state should never be 'ACTIVE'`);case e.NOMATCH:fe=!1;break;case e.EMPTY:case e.MATCH:fe=X.phraseLength===d.length;break;default:throw new Error("unrecognized state")}return{success:fe,state:X.state,stateName:e.idName(X.state),length:d.length,matched:X.phraseLength,maxMatched:q,maxTreeDepth:$,nodeHits:L}};const D=(le,ce,ie,_e)=>{if(ce.phraseLength>ie){let me=`${a}opRNM(${le.name}): callback function error: `;throw me+=`sysData.phraseLength: ${ce.phraseLength}`,me+=` must be <= remaining chars: ${ie}`,new Error(me)}switch(ce.state){case e.ACTIVE:if(!_e)throw new Error(`${a}opRNM(${le.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:ce.phraseLength=0;break;case e.MATCH:ce.phraseLength===0&&(ce.state=e.EMPTY);break;case e.NOMATCH:ce.phraseLength=0;break;default:throw new Error(`${a}opRNM(${le.name}): callback function return error. Unrecognized return state: ${ce.state}`)}},se=(le,ce)=>{let ie,_e,me;const ue=c[le],ve=u[ue.index];X.UdtIndex=ve.index,j||(me=n.ast&&n.ast.udtDefined(ue.index),me&&(_e=o.length+ue.index,ie=n.ast.getLength(),n.ast.down(_e,ve.name)));const fe=d.length-ce;_[ue.index](X,d,ce,O),((be,je,qe)=>{if(je.phraseLength>qe){let pt=`${a}opUDT(${be.name}): callback function error: `;throw pt+=`sysData.phraseLength: ${je.phraseLength}`,pt+=` must be <= remaining chars: ${qe}`,new Error(pt)}switch(je.state){case e.ACTIVE:throw new Error(`${a}opUDT(${be.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(!be.empty)throw new Error(`${a}opUDT(${be.name}) may not return EMPTY.`);je.phraseLength=0;break;case e.MATCH:if(je.phraseLength===0){if(!be.empty)throw new Error(`${a}opUDT(${be.name}) may not return EMPTY.`);je.state=e.EMPTY}break;case e.NOMATCH:je.phraseLength=0;break;default:throw new Error(`${a}opUDT(${be.name}): callback function return error. Unrecognized return state: ${je.state}`)}})(ve,X,fe),j||me&&(X.state===e.NOMATCH?n.ast.setLength(ie):n.ast.up(_e,ve.name,ce,X.phraseLength))},te=(le,ce)=>{const ie=`${a}opExecute(): `,_e=c[le];switch(L+=1,R>$&&($=R),R+=1,X.refresh(),n.trace&&n.trace.down(_e,ce),_e.type){case e.ALT:((me,ue)=>{const ve=c[me];for(let fe=0;fe<ve.children.length&&(te(ve.children[fe],ue),X.state===e.NOMATCH);fe+=1);})(le,ce);break;case e.CAT:((me,ue)=>{let ve,fe,be,je;const qe=c[me];n.ast&&(fe=n.ast.getLength()),ve=!0,be=ue,je=0;for(let pt=0;pt<qe.children.length;pt+=1){if(te(qe.children[pt],be),X.state===e.NOMATCH){ve=!1;break}be+=X.phraseLength,je+=X.phraseLength}ve?(X.state=je===0?e.EMPTY:e.MATCH,X.phraseLength=je):(X.state=e.NOMATCH,X.phraseLength=0,n.ast&&n.ast.setLength(fe))})(le,ce);break;case e.REP:((me,ue)=>{let ve,fe,be,je;const qe=c[me];if(qe.max===0)return X.state=e.EMPTY,void(X.phraseLength=0);for(fe=ue,be=0,je=0,n.ast&&(ve=n.ast.getLength());!(fe>=d.length)&&(te(me+1,fe),X.state!==e.NOMATCH)&&X.state!==e.EMPTY&&(je+=1,be+=X.phraseLength,fe+=X.phraseLength,je!==qe.max););X.state===e.EMPTY||je>=qe.min?(X.state=be===0?e.EMPTY:e.MATCH,X.phraseLength=be):(X.state=e.NOMATCH,X.phraseLength=0,n.ast&&n.ast.setLength(ve))})(le,ce);break;case e.RNM:((me,ue)=>{let ve,fe,be;const je=c[me],qe=o[je.index],pt=S[qe.index];if(j||(fe=n.ast&&n.ast.ruleDefined(je.index),fe&&(ve=n.ast.getLength(),n.ast.down(je.index,o[je.index].name))),pt){const _t=d.length-ue;pt(X,d,ue,O),D(qe,X,_t,!0),X.state===e.ACTIVE&&(be=c,c=qe.opcodes,te(0,ue),c=be,pt(X,d,ue,O),D(qe,X,_t,!1))}else be=c,c=qe.opcodes,te(0,ue),c=be;j||fe&&(X.state===e.NOMATCH?n.ast.setLength(ve):n.ast.up(je.index,qe.name,ue,X.phraseLength))})(le,ce);break;case e.TRG:((me,ue)=>{const ve=c[me];X.state=e.NOMATCH,ue<d.length&&ve.min<=d[ue]&&d[ue]<=ve.max&&(X.state=e.MATCH,X.phraseLength=1)})(le,ce);break;case e.TBS:((me,ue)=>{const ve=c[me],fe=ve.string.length;if(X.state=e.NOMATCH,ue+fe<=d.length){for(let be=0;be<fe;be+=1)if(d[ue+be]!==ve.string[be])return;X.state=e.MATCH,X.phraseLength=fe}})(le,ce);break;case e.TLS:((me,ue)=>{let ve;const fe=c[me];X.state=e.NOMATCH;const be=fe.string.length;if(be!==0){if(ue+be<=d.length){for(let je=0;je<be;je+=1)if(ve=d[ue+je],ve>=65&&ve<=90&&(ve+=32),ve!==fe.string[je])return;X.state=e.MATCH,X.phraseLength=be}}else X.state=e.EMPTY})(le,ce);break;case e.UDT:se(le,ce);break;case e.AND:((me,ue)=>{switch(j+=1,te(me+1,ue),j-=1,X.phraseLength=0,X.state){case e.EMPTY:case e.MATCH:X.state=e.EMPTY;break;case e.NOMATCH:X.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${X.state}`)}})(le,ce);break;case e.NOT:((me,ue)=>{switch(j+=1,te(me+1,ue),j-=1,X.phraseLength=0,X.state){case e.EMPTY:case e.MATCH:X.state=e.NOMATCH;break;case e.NOMATCH:X.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${X.state}`)}})(le,ce);break;default:throw new Error(`${ie}unrecognized operator`)}j||ce+X.phraseLength>q&&(q=ce+X.phraseLength),n.stats&&n.stats.collect(_e,X),n.trace&&n.trace.up(_e,X.state,ce,X.phraseLength),R-=1}},e1=function(){const e=Cr,r=yi,n=this;let a,o,u,c=0;const d=[],S=[],_=[];function O(j){let R="";for(;j-- >0;)R+=" ";return R}n.callbacks=[],n.init=(j,R,$)=>{let L;S.length=0,_.length=0,c=0,a=j,o=R,u=$;const q=[];for(L=0;L<a.length;L+=1)q.push(a[L].lower);for(L=0;L<o.length;L+=1)q.push(o[L].lower);for(c=a.length+o.length,L=0;L<c;L+=1)d[L]=void 0;for(const X in n.callbacks)if(n.callbacks.hasOwnProperty(X)){const D=X.toLowerCase();if(L=q.indexOf(D),L<0)throw new Error(`parser.js: Ast()): init: node '${X}' not a rule or udt name`);d[L]=n.callbacks[X]}},n.ruleDefined=j=>!!d[j],n.udtDefined=j=>!!d[a.length+j],n.down=(j,R)=>{const $=_.length;return S.push($),_.push({name:R,thisIndex:$,thatIndex:void 0,state:e.SEM_PRE,callbackIndex:j,phraseIndex:void 0,phraseLength:void 0,stack:S.length}),$},n.up=(j,R,$,L)=>{const q=_.length,X=S.pop();return _.push({name:R,thisIndex:q,thatIndex:X,state:e.SEM_POST,callbackIndex:j,phraseIndex:$,phraseLength:L,stack:S.length}),_[X].thatIndex=q,_[X].phraseIndex=$,_[X].phraseLength=L,q},n.translate=j=>{let R,$;for(let L=0;L<_.length;L+=1)$=_[L],R=d[$.callbackIndex],R&&($.state===e.SEM_PRE?R(e.SEM_PRE,u,$.phraseIndex,$.phraseLength,j):R&&R(e.SEM_POST,u,$.phraseIndex,$.phraseLength,j))},n.setLength=j=>{_.length=j,S.length=j>0?_[j-1].stack:0},n.getLength=()=>_.length,n.toXml=()=>{let j="",R=0;return j+=`<?xml version="1.0" encoding="utf-8"?>
|
||
`,j+=`<root nodes="${_.length/2}" characters="${u.length}">
|
||
`,j+=`<!-- input string -->
|
||
`,j+=O(R+2),j+=r.charsToString(u),j+=`
|
||
`,_.forEach(($=>{$.state===e.SEM_PRE?(R+=1,j+=O(R),j+=`<node name="${$.name}" index="${$.phraseIndex}" length="${$.phraseLength}">
|
||
`,j+=O(R+2),j+=r.charsToString(u,$.phraseIndex,$.phraseLength),j+=`
|
||
`):(j+=O(R),j+=`</node><!-- name="${$.name}" -->
|
||
`,R-=1)})),j+=`</root>
|
||
`,j}},T3=function(){const e=Cr,r=yi,n="parser.js: Trace(): ";let a,o,u,c="",d=0;const S=this,_=j=>{let R="",$=0;if(j>=0)for(;j--;)$+=1,$===5?(R+="|",$=0):R+=".";return R};S.init=(j,R,$)=>{o=j,u=R,a=$};const O=j=>{let R;switch(j.type){case e.ALT:R="ALT";break;case e.CAT:R="CAT";break;case e.REP:R=j.max===1/0?`REP(${j.min},inf)`:`REP(${j.min},${j.max})`;break;case e.RNM:R=`RNM(${o[j.index].name})`;break;case e.TRG:R=`TRG(${j.min},${j.max})`;break;case e.TBS:R=j.string.length>6?`TBS(${r.charsToString(j.string,0,3)}...)`:`TBS(${r.charsToString(j.string,0,6)})`;break;case e.TLS:R=j.string.length>6?`TLS(${r.charsToString(j.string,0,3)}...)`:`TLS(${r.charsToString(j.string,0,6)})`;break;case e.UDT:R=`UDT(${u[j.index].name})`;break;case e.AND:R="AND";break;case e.NOT:R="NOT";break;default:throw new Error(`${n}Trace: opName: unrecognized opcode`)}return R};S.down=(j,R)=>{const $=_(d),L=Math.min(100,a.length-R);let q=r.charsToString(a,R,L);L<a.length-R&&(q+="..."),q=`${$}|-|[${O(j)}]${q}
|
||
`,c+=q,d+=1},S.up=(j,R,$,L)=>{const q=`${n}trace.up: `;d-=1;const X=_(d);let D,se,te;switch(R){case e.EMPTY:te="|E|",se="''";break;case e.MATCH:te="|M|",D=Math.min(100,L),se=D<L?`'${r.charsToString(a,$,D)}...'`:`'${r.charsToString(a,$,D)}'`;break;case e.NOMATCH:te="|N|",se="";break;default:throw new Error(`${q} unrecognized state`)}se=`${X}${te}[${O(j)}]${se}
|
||
`,c+=se},S.displayTrace=()=>c},N3=function(){const e=Cr;let r,n,a;const o=[],u=[],c=[];this.init=(L,q)=>{r=L,n=q,R()},this.collect=(L,q)=>{$(a,q.state,q.phraseLength),$(o[L.type],q.state,q.phraseLength),L.type===e.RNM&&$(u[L.index],q.state,q.phraseLength),L.type===e.UDT&&$(c[L.index],q.state,q.phraseLength)},this.displayStats=()=>{let L="";const q={match:0,empty:0,nomatch:0,total:0},X=(D,se,te,le,ce)=>(q.match+=se,q.empty+=te,q.nomatch+=le,q.total+=ce,`${D} | ${d(se)} | ${d(te)} | ${d(le)} | ${d(ce)} |
|
||
`);return L+=` OPERATOR STATS
|
||
`,L+=` | MATCH | EMPTY | NOMATCH | TOTAL |
|
||
`,L+=X(" ALT",o[e.ALT].match,o[e.ALT].empty,o[e.ALT].nomatch,o[e.ALT].total),L+=X(" CAT",o[e.CAT].match,o[e.CAT].empty,o[e.CAT].nomatch,o[e.CAT].total),L+=X(" REP",o[e.REP].match,o[e.REP].empty,o[e.REP].nomatch,o[e.REP].total),L+=X(" RNM",o[e.RNM].match,o[e.RNM].empty,o[e.RNM].nomatch,o[e.RNM].total),L+=X(" TRG",o[e.TRG].match,o[e.TRG].empty,o[e.TRG].nomatch,o[e.TRG].total),L+=X(" TBS",o[e.TBS].match,o[e.TBS].empty,o[e.TBS].nomatch,o[e.TBS].total),L+=X(" TLS",o[e.TLS].match,o[e.TLS].empty,o[e.TLS].nomatch,o[e.TLS].total),L+=X(" UDT",o[e.UDT].match,o[e.UDT].empty,o[e.UDT].nomatch,o[e.UDT].total),L+=X(" AND",o[e.AND].match,o[e.AND].empty,o[e.AND].nomatch,o[e.AND].total),L+=X(" NOT",o[e.NOT].match,o[e.NOT].empty,o[e.NOT].nomatch,o[e.NOT].total),L+=X("TOTAL",q.match,q.empty,q.nomatch,q.total),L},this.displayHits=L=>{let q="";const X=(D,se,te,le,ce)=>(a.match+=D,a.empty+=se,a.nomatch+=te,a.total+=le,`| ${d(D)} | ${d(se)} | ${d(te)} | ${d(le)} | ${ce}
|
||
`);typeof L=="string"&&L.toLowerCase()[0]==="a"?(u.sort(S),c.sort(S),q+=` RULES/UDTS ALPHABETICALLY
|
||
`):typeof L=="string"&&L.toLowerCase()[0]==="i"?(u.sort(O),c.sort(O),q+=` RULES/UDTS BY INDEX
|
||
`):(u.sort(_),c.sort(_),q+=` RULES/UDTS BY HIT COUNT
|
||
`),q+=`| MATCH | EMPTY | NOMATCH | TOTAL | NAME
|
||
`;for(let D=0;D<u.length;D+=1){let se=u[D];se.total&&(q+=X(se.match,se.empty,se.nomatch,se.total,se.name))}for(let D=0;D<c.length;D+=1){let se=c[D];se.total&&(q+=X(se.match,se.empty,se.nomatch,se.total,se.name))}return q};const d=L=>L<10?` ${L}`:L<100?` ${L}`:L<1e3?` ${L}`:L<1e4?` ${L}`:L<1e5?` ${L}`:L<1e6?` ${L}`:`${L}`,S=(L,q)=>L.lower<q.lower?-1:L.lower>q.lower?1:0,_=(L,q)=>L.total<q.total?1:L.total>q.total?-1:S(L,q),O=(L,q)=>L.index<q.index?-1:L.index>q.index?1:0,j=function(){this.empty=0,this.match=0,this.nomatch=0,this.total=0},R=()=>{o.length=0,a=new j,o[e.ALT]=new j,o[e.CAT]=new j,o[e.REP]=new j,o[e.RNM]=new j,o[e.TRG]=new j,o[e.TBS]=new j,o[e.TLS]=new j,o[e.UDT]=new j,o[e.AND]=new j,o[e.NOT]=new j,u.length=0;for(let L=0;L<r.length;L+=1)u.push({empty:0,match:0,nomatch:0,total:0,name:r[L].name,lower:r[L].lower,index:r[L].index});if(n.length>0){c.length=0;for(let L=0;L<n.length;L+=1)c.push({empty:0,match:0,nomatch:0,total:0,name:n[L].name,lower:n[L].lower,index:n[L].index})}},$=(L,q)=>{switch(L.total+=1,q){case e.EMPTY:L.empty+=1;break;case e.MATCH:L.match+=1;break;case e.NOMATCH:L.nomatch+=1;break;default:throw new Error(`parser.js: Stats(): collect(): incStat(): unrecognized state: ${q}`)}}},yi={stringToChars:t=>[...t].map((e=>e.codePointAt(0))),charsToString:(t,e,r)=>{let n=t;for(;!(e===void 0||e<0);){if(r===void 0){n=t.slice(e);break}if(r<=0)return"";n=t.slice(e,e+r);break}return String.fromCodePoint(...n)}},Cr={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:t=>{switch(t){case Cr.ALT:return"ALT";case Cr.CAT:return"CAT";case Cr.REP:return"REP";case Cr.RNM:return"RNM";case Cr.TRG:return"TRG";case Cr.TBS:return"TBS";case Cr.TLS:return"TLS";case Cr.UDT:return"UDT";case Cr.AND:return"AND";case Cr.NOT:return"NOT";case Cr.ACTIVE:return"ACTIVE";case Cr.EMPTY:return"EMPTY";case Cr.MATCH:return"MATCH";case Cr.NOMATCH:return"NOMATCH";case Cr.SEM_PRE:return"SEM_PRE";case Cr.SEM_POST:return"SEM_POST";case Cr.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};function tm(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"json-pointer",lower:"json-pointer",index:0,isBkr:!1},this.rules[1]={name:"reference-token",lower:"reference-token",index:1,isBkr:!1},this.rules[2]={name:"unescaped",lower:"unescaped",index:2,isBkr:!1},this.rules[3]={name:"escaped",lower:"escaped",index:3,isBkr:!1},this.rules[4]={name:"array-location",lower:"array-location",index:4,isBkr:!1},this.rules[5]={name:"array-index",lower:"array-index",index:5,isBkr:!1},this.rules[6]={name:"array-dash",lower:"array-dash",index:6,isBkr:!1},this.rules[7]={name:"slash",lower:"slash",index:7,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:0,max:1/0},this.rules[0].opcodes[1]={type:2,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:7},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:0,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:1,children:[1,2,3]},this.rules[2].opcodes[1]={type:5,min:0,max:46},this.rules[2].opcodes[2]={type:5,min:48,max:125},this.rules[2].opcodes[3]={type:5,min:127,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2]},this.rules[3].opcodes[1]={type:7,string:[126]},this.rules[3].opcodes[2]={type:1,children:[3,4]},this.rules[3].opcodes[3]={type:7,string:[48]},this.rules[3].opcodes[4]={type:7,string:[49]},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:4,index:5},this.rules[4].opcodes[2]={type:4,index:6},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2]},this.rules[5].opcodes[1]={type:6,string:[48]},this.rules[5].opcodes[2]={type:2,children:[3,4]},this.rules[5].opcodes[3]={type:5,min:49,max:57},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:5,min:48,max:57},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:7,string:[45]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:7,string:[47]},this.toString=function(){return`; JavaScript Object Notation (JSON) Pointer ABNF syntax
|
||
; https://datatracker.ietf.org/doc/html/rfc6901
|
||
json-pointer = *( slash reference-token ) ; MODIFICATION: surrogate text rule used
|
||
reference-token = *( unescaped / escaped )
|
||
unescaped = %x00-2E / %x30-7D / %x7F-10FFFF
|
||
; %x2F ('/') and %x7E ('~') are excluded from 'unescaped'
|
||
escaped = "~" ( "0" / "1" )
|
||
; representing '~' and '/', respectively
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc6901#section-4
|
||
array-location = array-index / array-dash
|
||
array-index = %x30 / ( %x31-39 *(%x30-39) )
|
||
; "0", or digits without a leading "0"
|
||
array-dash = "-"
|
||
|
||
; Surrogate named rules
|
||
slash = "/"
|
||
`}}class I3 extends Error{constructor(e,r=void 0){if(super(e,r),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,r!=null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,"cause")&&!("cause"in this)){const{cause:a}=r;this.cause=a,a instanceof Error&&"stack"in a&&(this.stack=`${this.stack}
|
||
CAUSE: ${a.stack}`)}if(r!=null&&typeof r=="object"){const n=r,{cause:a}=n,o=jr(n,["cause"]);Object.assign(this,o)}}}const Gc=I3,E2=class extends Gc{},t1=t=>(e,r,n,a,o)=>{if(typeof o!="object"||o===null||Array.isArray(o))throw new E2("parser's user data must be an object");if(e===Cr.SEM_PRE){const u={type:t,text:yi.charsToString(r,n,a),start:n,length:a,children:[]};o.stack.length>0?o.stack[o.stack.length-1].children.push(u):o.root=u,o.stack.push(u)}e===Cr.SEM_POST&&o.stack.pop()},M3=class extends e1{constructor(){super(),this.callbacks["json-pointer"]=t1("json-pointer"),this.callbacks["reference-token"]=t1("reference-token"),this.callbacks.slash=t1("text")}getTree(){const e={stack:[],root:null};return this.translate(e),delete e.stack,e}},R3=t=>{if(typeof t!="string")throw new TypeError("Reference token must be a string");return t.replace(/~1/g,"/").replace(/~0/g,"~")},D3=class extends M3{getTree(){const{root:e}=super.getTree();return e.children.filter((({type:r})=>r==="reference-token")).map((({text:r})=>R3(r)))}},F3=class extends Array{toString(){return this.map((e=>`"${String(e)}"`)).join(", ")}},$3=class extends T3{inferExpectations(){const e=this.displayTrace().split(`
|
||
`),r=new Set;let n=-1;for(let a=0;a<e.length;a++){const o=e[a];if(o.includes("M|")){const u=o.match(/]'(.*)'$/);u&&u[1]&&(n=a)}if(a>n){const u=o.match(/N\|\[TLS\(([^)]+)\)]/);u&&r.add(u[1])}}return new F3(...r)}},L3=new tm,B3=(t,{translator:e=new D3,stats:r=!1,trace:n=!1}={})=>{if(typeof t!="string")throw new TypeError("JSON Pointer must be a string");try{const a=new Bi;e&&(a.ast=e),r&&(a.stats=new N3),n&&(a.trace=new $3);const o=a.parse(L3,"json-pointer",t);return{result:o,tree:o.success&&e?a.ast.getTree():void 0,stats:a.stats,trace:a.trace}}catch(a){throw new E2("Unexpected error during JSON Pointer parsing",{cause:a,jsonPointer:t})}};new tm,new Bi,new tm,new Bi;const q3=new tm,U3=new Bi,z3=t=>{if(typeof t!="string")return!1;try{return U3.parse(q3,"array-index",t).success}catch(e){return!1}},V3=new tm,J3=new Bi,W3=t=>{if(typeof t!="string")return!1;try{return J3.parse(V3,"array-dash",t).success}catch(e){return!1}},H3=t=>{if(typeof t!="string"&&typeof t!="number")throw new TypeError("Reference token must be a string or number");return String(t).replace(/~/g,"~0").replace(/\//g,"~1")},K3=class extends Gc{},S2=t=>{if(!Array.isArray(t))throw new TypeError("Reference tokens must be a list of strings or numbers");try{return t.length===0?"":`/${t.map((e=>{if(typeof e!="string"&&typeof e!="number")throw new TypeError("Reference token must be a string or number");return H3(String(e))})).join("/")}`}catch(e){throw new K3("Unexpected error during JSON Pointer compilation",{cause:e,referenceTokens:t})}},G3=(zA=class{constructor(e,r={}){Zl(this,Si);Zl(this,hd);Zl(this,dd);yd(this,Si,e),ta(this,Si).steps=[],ta(this,Si).failed=!1,ta(this,Si).failedAt=-1,ta(this,Si).message=`JSON Pointer "${r.jsonPointer}" was successfully evaluated against the provided value`,ta(this,Si).context=Nr(Ge({},r),{realm:r.realm.name}),yd(this,hd,[]),yd(this,dd,r.realm)}step({referenceToken:e,input:r,output:n,success:a=!0,reason:o}){const u=ta(this,hd).length;ta(this,hd).push(e);const c={referenceToken:e,referenceTokenPosition:u,input:r,inputType:ta(this,dd).isObject(r)?"object":ta(this,dd).isArray(r)?"array":"unrecognized",output:n,success:a};o&&(c.reason=o),ta(this,Si).steps.push(c),a||(ta(this,Si).failed=!0,ta(this,Si).failedAt=u,ta(this,Si).message=o)}},Si=new WeakMap,hd=new WeakMap,dd=new WeakMap,zA),x2=class{constructor(){Ee(this,"name","")}isArray(e){throw new Gc("Realm.isArray(node) must be implemented in a subclass")}isObject(e){throw new Gc("Realm.isObject(node) must be implemented in a subclass")}sizeOf(e){throw new Gc("Realm.sizeOf(node) must be implemented in a subclass")}has(e,r){throw new Gc("Realm.has(node) must be implemented in a subclass")}evaluate(e,r){throw new Gc("Realm.evaluate(node) must be implemented in a subclass")}},ip=class extends Gc{},Vh=class extends ip{},Y3=class extends x2{constructor(){super(...arguments);Ee(this,"name","json")}isArray(r){return Array.isArray(r)}isObject(r){return typeof r=="object"&&r!==null&&!this.isArray(r)}sizeOf(r){return this.isArray(r)?r.length:this.isObject(r)?Object.keys(r).length:0}has(r,n){if(this.isArray(r)){const a=Number(n),o=a>>>0;if(a!==o)throw new Vh(`Invalid array index "${n}": index must be an unsinged 32-bit integer`,{referenceToken:n,currentValue:r,realm:this.name});return o<this.sizeOf(r)&&Object.prototype.hasOwnProperty.call(r,a)}return!!this.isObject(r)&&Object.prototype.hasOwnProperty.call(r,n)}evaluate(r,n){return this.isArray(r)?r[Number(n)]:r[n]}},X3=class extends ip{},_2=class extends ip{},Q3=(t,e,{strictArrays:r=!0,strictObjects:n=!0,realm:a=new Y3,trace:o=!0}={})=>{const{result:u,tree:c,trace:d}=B3(e,{trace:!!o}),S=typeof o=="object"&&o!==null?new G3(o,{jsonPointer:e,referenceTokens:c,strictArrays:r,strictObjects:n,realm:a,value:t}):null;try{let _;if(!u.success){let O=`Invalid JSON Pointer: "${e}". Syntax error at position ${u.maxMatched}`;throw O+=d?`, expected ${d.inferExpectations()}`:"",new ip(O,{jsonPointer:e,currentValue:t,realm:a.name})}return c.reduce(((O,j,R)=>{if(a.isArray(O)){if(W3(j)){if(r)throw new Vh(`Invalid array index "-" at position ${R} in "${e}". The "-" token always refers to a nonexistent element during evaluation`,{jsonPointer:e,referenceTokens:c,referenceToken:j,referenceTokenPosition:R,currentValue:O,realm:a.name});return _=a.evaluate(O,String(a.sizeOf(O))),S==null||S.step({referenceToken:j,input:O,output:_}),_}if(!z3(j))throw new Vh(`Invalid array index "${j}" at position ${R} in "${e}": index MUST be "0", or digits without a leading "0"`,{jsonPointer:e,referenceTokens:c,referenceToken:j,referenceTokenPosition:R,currentValue:O,realm:a.name});const $=Number(j);if(!Number.isSafeInteger($))throw new Vh(`Invalid array index "${j}" at position ${R} in "${e}": index must be a safe integer`,{jsonPointer:e,referenceTokens:c,referenceToken:j,referenceTokenPosition:R,currentValue:O,realm:a.name});if(!a.has(O,j)&&r)throw new Vh(`Invalid array index "${j}" at position ${R} in "${e}": index not found in array`,{jsonPointer:e,referenceTokens:c,referenceToken:j,referenceTokenPosition:R,currentValue:O,realm:a.name});return _=a.evaluate(O,j),S==null||S.step({referenceToken:j,input:O,output:_}),_}if(a.isObject(O)){if(!a.has(O,j)&&n)throw new _2(`Invalid object key "${j}" at position ${R} in "${e}": key not found in object`,{jsonPointer:e,referenceTokens:c,referenceToken:j,referenceTokenPosition:R,currentValue:O,realm:a.name});return _=a.evaluate(O,j),S==null||S.step({referenceToken:j,input:O,output:_}),_}throw new X3(`Invalid reference token "${j}" at position ${R} in "${e}": cannot be applied to a non-object/non-array value`,{jsonPointer:e,referenceTokens:c,referenceToken:j,referenceTokenPosition:R,currentValue:O,realm:a.name})}),t)}catch(_){throw S==null||S.step({referenceToken:_.referenceToken,input:_.currentValue,success:!1,reason:_.message}),_ instanceof ip?_:new ip("Unexpected error during JSON Pointer evaluation",{cause:_,jsonPointer:e,referenceTokens:c})}},Z3=class extends x2{constructor(){super(...arguments);Ee(this,"name","apidom")}isArray(r){return so(r)}isObject(r){return on(r)}sizeOf(r){return this.isArray(r)||this.isObject(r)?r.length:0}has(r,n){if(this.isArray(r)){const a=Number(n),o=a>>>0;if(a!==o)throw new Vh(`Invalid array index "${n}": index must be an unsinged 32-bit integer`,{referenceToken:n,currentValue:r,realm:this.name});return o<this.sizeOf(r)}if(this.isObject(r)){const a=r.keys(),o=new Set(a);if(a.length!==o.size)throw new _2(`Object key "${n}" is not unique — JSON Pointer requires unique member names`,{referenceToken:n,currentValue:r,realm:this.name});return r.hasKey(n)}return!1}evaluate(r,n){return this.isArray(r)?r.get(Number(n)):r.get(n)}},xs=(t,e,r={})=>Q3(t,e,Nr(Ge({},r),{realm:new Z3}));class eP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="callback"}}const rm=eP;class tP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}}const nm=tP;class rP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}}const am=rP;class nP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}}const om=nP;class aP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}}const Iy=aP;class oP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}}const im=oP;class iP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const sm=iP;class k2 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new Ve.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ve.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(k2.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});const lm=k2;class sP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}}const cm=sP;class lP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}}const um=lP;class cP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){var e,r;return wr(this.operationRef)?(e=this.operationRef)===null||e===void 0?void 0:e.meta.get("operation"):wr(this.operationId)?(r=this.operationId)===null||r===void 0?void 0:r.meta.get("operation"):void 0}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}}const pm=cP;class uP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}}const hm=uP;class pP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}}const My=pP;class hP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}}const Ry=hP;class dP extends Ve.Om{constructor(e,r,n){super(e,r,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const dm=dP;class fP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const Dy=fP;class mP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ve.bd(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}}const fm=mP;class O2 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new Ve.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new Ve.bd(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}}Object.defineProperty(O2.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});const mm=O2;class gP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}}const gm=gP;class yP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="paths"}}const ym=yP;class vP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const vm=vP;class bP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new Ve.bd(!1)}set required(e){this.set("required",e)}}const bm=bP;class wP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}}const wm=wP;class EP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}}const Em=EP,qr=class extends aa{};class SP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}}const Jh=SP;class xP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}const Wh=xP;class _P extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}const Sm=_P;class kP extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}const xm=kP,Fy=t=>{const e=t.meta.length>0?Yt(t.meta):void 0,r=t.attributes.length>0?Yt(t.attributes):void 0;return new t.constructor(void 0,e,r)},$y=(t,e)=>e.clone&&e.isMergeableElement(t)?Hh(Fy(t),t,e):t,Ly={clone:!0,isMergeableElement:t=>on(t)||so(t),arrayElementMerge:(t,e,r)=>t.concat(e)["fantasy-land/map"]((n=>$y(n,r))),objectElementMerge:(t,e,r)=>{const n=on(t)?Fy(t):Fy(e);return on(t)&&t.forEach(((a,o,u)=>{const c=Va(u);c.value=$y(a,r),n.content.push(c)})),e.forEach(((a,o,u)=>{const c=ft(o);let d;if(on(t)&&t.hasKey(c)&&r.isMergeableElement(a)){const S=t.get(c);d=Va(u),d.value=((_,O)=>{if(typeof O.customMerge!="function")return Hh;const j=O.customMerge(_,O);return typeof j=="function"?j:Hh})(o,r)(S,a,r)}else d=Va(u),d.value=$y(a,r);n.remove(c),n.content.push(d)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Hh=(t,e,r)=>{var n,a,o;const u=Ge(Ge({},Ly),r);u.isMergeableElement=(n=u.isMergeableElement)!==null&&n!==void 0?n:Ly.isMergeableElement,u.arrayElementMerge=(a=u.arrayElementMerge)!==null&&a!==void 0?a:Ly.arrayElementMerge,u.objectElementMerge=(o=u.objectElementMerge)!==null&&o!==void 0?o:Ly.objectElementMerge;const c=so(e);if(c!==so(t))return $y(e,u);const d=c&&typeof u.arrayElementMerge=="function"?u.arrayElementMerge(t,e,u):u.objectElementMerge(t,e,u);return d.meta=(S=>typeof S.customMetaMerge!="function"?_=>Yt(_):S.customMetaMerge)(u)(t.meta,e.meta),d.attributes=(S=>typeof S.customAttributesMerge!="function"?_=>Yt(_):S.customAttributesMerge)(u)(t.attributes,e.attributes),d};Hh.all=(t,e)=>{if(!Array.isArray(t))throw new TypeError("First argument of deepmerge should be an array.");return t.length===0?new Ve.Sh:t.reduce(((r,n)=>Hh(r,n,e)),Fy(t[0]))};const sp=Hh,A2=class{constructor(e){Ee(this,"element");Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=sp(r.meta,e.meta)),qh(e)&&Zb(r,e),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=sp(r.attributes,e.attributes))}},sn=class extends A2{enter(e){return this.element=Yt(e),Ur}},C2=(t,e,r=[])=>{const n=Object.getOwnPropertyDescriptors(e);for(let a of r)delete n[a];Object.defineProperties(t,n)},_m=(t,e=[t])=>{const r=Object.getPrototypeOf(t);return r===null?e:_m(r,[...e,r])},j2=(t,e,r=[])=>{var n;const a=(n=((...c)=>{if(c.length===0)return;let d;const S=c.map((_=>_m(_)));for(;S.every((_=>_.length>0));){const _=S.map((j=>j.pop())),O=_[0];if(!_.every((j=>j===O)))break;d=O}return d})(...t))!==null&&n!==void 0?n:Object.prototype,o=Object.create(a),u=_m(a);for(let c of t){let d=_m(c);for(let S=d.length-1;S>=0;S--){let _=d[S];u.indexOf(_)===-1&&(C2(o,_,["constructor",...r]),u.push(_))}}return o.constructor=e,o},r1=t=>t.filter(((e,r)=>t.indexOf(e)==r)),P2=new WeakMap,OP=t=>P2.get(t),T2=(t,e)=>{var r,n;const a=r1([...Object.getOwnPropertyNames(t),...Object.getOwnPropertyNames(e)]),o={};for(let u of a)o[u]=r1([...(r=t==null?void 0:t[u])!==null&&r!==void 0?r:[],...(n=e==null?void 0:e[u])!==null&&n!==void 0?n:[]]);return o},N2=(t,e)=>{var r,n,a,o;return{property:T2((r=t==null?void 0:t.property)!==null&&r!==void 0?r:{},(n=e==null?void 0:e.property)!==null&&n!==void 0?n:{}),method:T2((a=t==null?void 0:t.method)!==null&&a!==void 0?a:{},(o=e==null?void 0:e.method)!==null&&o!==void 0?o:{})}},AP=(t,e)=>{var r,n,a,o,u,c;return{class:r1([...(r=t==null?void 0:t.class)!==null&&r!==void 0?r:[],...(n=e==null?void 0:e.class)!==null&&n!==void 0?n:[]]),static:N2((a=t==null?void 0:t.static)!==null&&a!==void 0?a:{},(o=e==null?void 0:e.static)!==null&&o!==void 0?o:{}),instance:N2((u=t==null?void 0:t.instance)!==null&&u!==void 0?u:{},(c=e==null?void 0:e.instance)!==null&&c!==void 0?c:{})}},CP=new Map,jP=(...t)=>{const e=((...r)=>{var n;const a=new Set,o=new Set([...r]);for(;o.size>0;)for(let u of o){const c=_m(u.prototype).map((S=>S.constructor)),d=[...c,...(n=OP(u))!==null&&n!==void 0?n:[]].filter((S=>!a.has(S)));for(let S of d)o.add(S);a.add(u),o.delete(u)}return[...a]})(...t).map((r=>CP.get(r))).filter((r=>!!r));return e.length==0?{}:e.length==1?e[0]:e.reduce(((r,n)=>AP(r,n)))};function Ct(...t){var e,r,n;const a=t.map((S=>S.prototype));function o(...S){for(const _ of t)C2(this,new _(...S))}o.prototype=j2(a,o),Object.setPrototypeOf(o,j2(t,null,["prototype"]));let u=o;{const S=jP(...t);for(let _ of(e=S==null?void 0:S.class)!==null&&e!==void 0?e:[]){const O=_(u);O&&(u=O)}I2((r=S==null?void 0:S.static)!==null&&r!==void 0?r:{},u),I2((n=S==null?void 0:S.instance)!==null&&n!==void 0?n:{},u.prototype)}var c,d;return c=u,d=t,P2.set(c,d),u}const I2=(t,e)=>{const r=t.property,n=t.method;if(r)for(let a in r)for(let o of r[a])o(e,a);if(n)for(let a in n)for(let o of n[a])o(e,a,Object.getOwnPropertyDescriptor(e,a))},PP=bn((function(e){return Aa(Rh(pS,0,hS("length",e)),(function(){for(var r=0,n=e.length;r<n;){if(!e[r].apply(this,arguments))return!1;r+=1}return!0}))})),M2=bn((function(e){return!Zf(e)})),TP=Ar((function(e,r){return e||r}));var NP=Wf(Aa(1,Kf(XS,Ar((function(e,r){return wb(e)?function(){return e.apply(this,arguments)||r.apply(this,arguments)}:Sb(TP)(e,r)}))(QS,np))));const By=PP([ap,NP,M2]),R2=Ar((function(e,r){for(var n={},a=0;a<e.length;)e[a]in r&&(n[e[a]]=r[e[a]]),a+=1;return n})),vi=class extends A2{constructor(a){var o=a,{specObj:r}=o,n=jr(o,["specObj"]);super(Ge({},n));Ee(this,"specObj");Ee(this,"passingOptionsNames",["specObj","parent"]);this.specObj=r}retrievePassingOptions(){return R2(this.passingOptionsNames,this)}retrieveFixedFields(r){const n=za(["visitors",...r,"fixedFields"],this.specObj);return typeof n=="object"&&n!==null?Object.keys(n):[]}retrieveVisitor(r){return uy(np,["visitors",...r],this.specObj)?za(["visitors",...r],this.specObj):za(["visitors",...r,"$visitor"],this.specObj)}retrieveVisitorInstance(r,n={}){const a=this.retrievePassingOptions();return new(this.retrieveVisitor(r))(Ge(Ge({},a),n))}toRefractedElement(r,n,a={}){const o=this.retrieveVisitorInstance(r,a);return o instanceof sn&&(o==null?void 0:o.constructor)===sn?Yt(n):(Ca(n,o,a),o.element)}},lp=class extends vi{constructor(o){var u=o,{specPath:r,ignoredFields:n}=u,a=jr(u,["specPath","ignoredFields"]);super(Ge({},a));Ee(this,"specPath");Ee(this,"ignoredFields");this.specPath=r,this.ignoredFields=n||[]}ObjectElement(r){const n=this.specPath(r),a=this.retrieveFixedFields(n);return r.forEach(((o,u,c)=>{if(wr(u)&&a.includes(ft(u))&&!this.ignoredFields.includes(ft(u))){const d=this.toRefractedElement([...n,"fixedFields",ft(u)],o),S=new Ve.Pr(Yt(u),d);this.copyMetaAndAttributes(c,S),S.classes.push("fixed-field"),this.element.content.push(S)}else this.ignoredFields.includes(ft(u))||this.element.content.push(Yt(c))})),this.copyMetaAndAttributes(r,this.element),Ur}},ja=class{constructor({parent:e}){Ee(this,"parent");this.parent=e}},D2=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Jh||t(n)&&e("JSONSchemaDraft4",n)&&r("object",n))),n1=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Wh||t(n)&&e("JSONReference",n)&&r("object",n))),F2=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Sm||t(n)&&e("media",n)&&r("object",n))),IP=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof xm||t(n)&&e("linkDescription",n)&&r("object",n)));class MP extends Ct(lp,ja,sn){constructor(e){super(e),this.element=new Jh,this.specPath=gr(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){return this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element,lp.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(Jc(this.parent)&&!wr(e.get("$schema")))this.element.setMetaProperty("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(D2(this.parent)&&!wr(e.get("$schema"))){const r=Dh(ft(this.parent.meta.get("inheritedDialectIdentifier")),ft(this.parent.$schema));this.element.setMetaProperty("inheritedDialectIdentifier",r)}}handleSchemaIdentifier(e,r="id"){const n=this.parent!==void 0?Yt(this.parent.getMetaProperty("ancestorsSchemaIdentifiers",[])):new Ve.wE,a=ft(e.get(r));By(a)&&n.push(a),this.element.setMetaProperty("ancestorsSchemaIdentifiers",n)}}const $2=MP,il=t=>on(t)&&t.hasKey("$ref");class RP extends Ct(vi,ja,sn){ObjectElement(e){const r=il(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(r,e),Ur}ArrayElement(e){return this.element=new Ve.wE,this.element.classes.push("json-schema-items"),e.forEach((r=>{const n=il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const L2=RP,DP=class extends sn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-required"),r}},FP=class extends vi{constructor(u){var c=u,{specPath:r,ignoredFields:n,fieldPatternPredicate:a}=c,o=jr(c,["specPath","ignoredFields","fieldPatternPredicate"]);super(Ge({},o));Ee(this,"specPath");Ee(this,"ignoredFields");Ee(this,"fieldPatternPredicate",Yb);this.specPath=r,this.ignoredFields=n||[],typeof a=="function"&&(this.fieldPatternPredicate=a)}ObjectElement(r){return r.forEach(((n,a,o)=>{if(!this.ignoredFields.includes(ft(a))&&this.fieldPatternPredicate(ft(a))){const u=this.specPath(n),c=this.toRefractedElement(u,n),d=new Ve.Pr(Yt(a),c);this.copyMetaAndAttributes(o,d),d.classes.push("patterned-field"),this.element.content.push(d)}else this.ignoredFields.includes(ft(a))||this.element.content.push(Yt(o))})),this.copyMetaAndAttributes(r,this.element),Ur}},Yc=class extends FP{constructor(e){super(e),this.fieldPatternPredicate=By}};class $P extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-properties"),this.specPath=r=>il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const LP=$P;class BP extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=r=>il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const qP=BP;class UP extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=r=>il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const zP=UP,VP=class extends sn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-enum"),r}},JP=class extends sn{StringElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-type"),r}ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-type"),r}};class WP extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((r=>{const n=il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const HP=WP;class KP extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((r=>{const n=il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const GP=KP;class YP extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((r=>{const n=il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const XP=YP;class QP extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=r=>il(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const ZP=QP;class e6 extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","LinkDescription"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ur}}const t6=e6;class r6 extends Ct(lp,sn){constructor(e){super(e),this.element=new Wh,this.specPath=gr(["document","objects","JSONReference"])}ObjectElement(e){const r=lp.prototype.ObjectElement.call(this,e);return wr(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const n6=r6,a6=class extends sn{StringElement(e){const r=this.enter(e);return this.element.classes.push("reference-value"),r}},a1=So((function(e,r,n){return Aa(Math.max(e.length,r.length,n.length),(function(){return e.apply(this,arguments)?r.apply(this,arguments):n.apply(this,arguments)}))})),o6=bn((function(e){return function(r,n){return e(r,n)?-1:e(n,r)?1:0}}));var i6=Ar((function(e,r){return Array.prototype.slice.call(r,0).sort(e)}));const s6=i6;var l6=bn((function(t){return cy(0,t)}));const c6=l6,u6=bn(ky),p6=Wf(Py),h6=Kf(g2,M2);function d6(t){return(function(r){if(Array.isArray(r))return o1(r)})(t)||(function(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)})(t)||(function(r,n){if(r){if(typeof r=="string")return o1(r,n);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?o1(r,n):void 0}})(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function o1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var f6=ao(s6(o6((function(t,e){return t.length>e.length}))),c6,Jf("length")),m6=bb((function(t,e,r){var n=r.apply(void 0,d6(t));return p6(n)?u6(n):e}));const B2=a1(h6,(function(e){var r=f6(e);return Aa(r,(function(){for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return Rh(m6(a),void 0,e)}))}),wy),g6=class extends vi{constructor(a){var o=a,{alternator:r}=o,n=jr(o,["alternator"]);super(Ge({},n));Ee(this,"alternator");this.alternator=r}enter(r){const n=this.alternator.map((({predicate:o,specPath:u})=>a1(o,gr(u),wy))),a=B2(n)(r);return this.element=this.toRefractedElement(a,r),Ur}},Kh=class extends g6{constructor(e){super(e),this.alternator=[{predicate:il,specPath:["document","objects","JSONReference"]},{predicate:Ul,specPath:["document","objects","JSONSchema"]}]}};class y6 extends Ct(lp,sn){constructor(e){super(e),this.element=new Sm,this.specPath=gr(["document","objects","Media"])}}const v6=y6;class b6 extends Ct(lp,sn){constructor(e){super(e),this.element=new xm,this.specPath=gr(["document","objects","LinkDescription"])}}const q2=b6,lo={visitors:{value:sn,JSONSchemaOrJSONReferenceVisitor:Kh,document:{objects:{JSONSchema:{$visitor:$2,fixedFields:{id:{$ref:"#/visitors/value"},$schema:{$ref:"#/visitors/value"},multipleOf:{$ref:"#/visitors/value"},maximum:{$ref:"#/visitors/value"},exclusiveMaximum:{$ref:"#/visitors/value"},minimum:{$ref:"#/visitors/value"},exclusiveMinimum:{$ref:"#/visitors/value"},maxLength:{$ref:"#/visitors/value"},minLength:{$ref:"#/visitors/value"},pattern:{$ref:"#/visitors/value"},additionalItems:Kh,items:L2,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:DP,properties:LP,additionalProperties:Kh,patternProperties:qP,dependencies:zP,enum:VP,type:JP,allOf:HP,anyOf:GP,oneOf:XP,not:Kh,definitions:ZP,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:t6,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:n6,fixedFields:{$ref:a6}},Media:{$visitor:v6,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:q2,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Kh,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Kh}}}}}},km=t=>{if(da(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},w6=Ge({JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},al),E6={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft4",Jh),e.register("jSONReference",Wh),e.register("media",Sm),e.register("linkDescription",xm),e}},S6=E6,x6=()=>{const t=zl(S6);return{predicates:Nr(Ge({},H),{isStringElement:wr}),namespace:t}},_6=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=lo}={})=>{const a=(0,Ve.e)(t),o=Kc(n),u=new(za(e,o))({specObj:o});return Ca(a,u),ol(u.element,r,{toolboxCreator:x6,visitorOptions:{keyMap:w6,nodeTypeGetter:km}})},qy=t=>(e,r={})=>_6(e,Ge({specPath:t},r));Jh.refract=qy(["visitors","document","objects","JSONSchema","$visitor"]),Wh.refract=qy(["visitors","document","objects","JSONReference","$visitor"]),Sm.refract=qy(["visitors","document","objects","Media","$visitor"]),xm.refract=qy(["visitors","document","objects","LinkDescription","$visitor"]);const Uy=class extends Jh{constructor(e,r,n){super(e,r,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new qr("idProp getter in Schema class is not not supported.")}set idProp(e){throw new qr("idProp setter in Schema class is not not supported.")}get $schema(){throw new qr("$schema getter in Schema class is not not supported.")}set $schema(e){throw new qr("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new qr("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new qr("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new qr("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new qr("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new qr("definitions getter in Schema class is not not supported.")}set definitions(e){throw new qr("definitions setter in Schema class is not not supported.")}get base(){throw new qr("base getter in Schema class is not not supported.")}set base(e){throw new qr("base setter in Schema class is not not supported.")}get links(){throw new qr("links getter in Schema class is not not supported.")}set links(e){throw new qr("links setter in Schema class is not not supported.")}get media(){throw new qr("media getter in Schema class is not not supported.")}set media(e){throw new qr("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}};class k6 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="securityRequirement"}}const Om=k6;class O6 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}}const Am=O6;class A6 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}set variables(e){this.set("variables",e)}}const Cm=A6;class C6 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}}const jm=C6;class j6 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}const zy=j6;class P6 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}}const Vy=P6,U2=class{constructor(e={}){Ee(this,"element");Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=sp(r.meta,e.meta)),qh(e)&&Zb(r,e),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=sp(r.attributes,e.attributes))}},qt=class extends U2{enter(e){return this.element=Yt(e),Ur}},_s=class extends U2{constructor(c){var d=c,{specObj:r,passingOptionsNames:n,openApiGenericElement:a,openApiSemanticElement:o}=d,u=jr(d,["specObj","passingOptionsNames","openApiGenericElement","openApiSemanticElement"]);super(Ge({},u));Ee(this,"specObj");Ee(this,"passingOptionsNames",["specObj","openApiGenericElement","openApiSemanticElement"]);Ee(this,"openApiGenericElement");Ee(this,"openApiSemanticElement");this.specObj=r,this.openApiGenericElement=a,this.openApiSemanticElement=o,Array.isArray(n)&&(this.passingOptionsNames=n)}retrievePassingOptions(){return R2(this.passingOptionsNames,this)}retrieveFixedFields(r){const n=za(["visitors",...r,"fixedFields"],this.specObj);return typeof n=="object"&&n!==null?Object.keys(n):[]}retrieveVisitor(r){return uy(np,["visitors",...r],this.specObj)?za(["visitors",...r],this.specObj):za(["visitors",...r,"$visitor"],this.specObj)}retrieveVisitorInstance(r,n={}){const a=this.retrievePassingOptions();return new(this.retrieveVisitor(r))(Ge(Ge({},a),n))}toRefractedElement(r,n,a={}){const o=this.retrieveVisitorInstance(r,a);return o instanceof qt&&(o==null?void 0:o.constructor)===qt?Yt(n):(Ca(n,o,a),o.element)}};var T6=(function(){function t(e,r){this.xf=r,this.n=e,this.i=0}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=zf,t.prototype["@@transducer/step"]=function(e,r){this.i+=1;var n=this.n===0?e:this.xf["@@transducer/step"](e,r);return this.n>=0&&this.i>=this.n?ky(n):n},t})();function N6(t){return function(e){return new T6(t,e)}}const I6=Ar(zc(["take"],N6,(function(e,r){return Vf(0,e<0?1/0:e,r)})));var M6=Ar((function(t,e){return Uc(I6(t.length,e),t)}));const R6=M6,qn=t=>on(t)&&t.hasKey("$ref"),D6=on,F6=on,z2=t=>wr(t.key)&&R6("x-",ft(t.key)),Fr=class extends _s{constructor(c){var d=c,{specPath:r,ignoredFields:n,canSupportSpecificationExtensions:a,specificationExtensionPredicate:o}=d,u=jr(d,["specPath","ignoredFields","canSupportSpecificationExtensions","specificationExtensionPredicate"]);super(Ge({},u));Ee(this,"specPath");Ee(this,"ignoredFields");Ee(this,"canSupportSpecificationExtensions",!0);Ee(this,"specificationExtensionPredicate",z2);this.specPath=r,this.ignoredFields=n||[],typeof a=="boolean"&&(this.canSupportSpecificationExtensions=a),typeof o=="function"&&(this.specificationExtensionPredicate=o)}ObjectElement(r){const n=this.specPath(r),a=this.retrieveFixedFields(n);return r.forEach(((o,u,c)=>{if(wr(u)&&a.includes(ft(u))&&!this.ignoredFields.includes(ft(u))){const d=this.toRefractedElement([...n,"fixedFields",ft(u)],o),S=new Ve.Pr(Yt(u),d);this.copyMetaAndAttributes(c,S),S.classes.push("fixed-field"),this.element.content.push(S)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(c)){const d=this.toRefractedElement(["document","extension"],c);this.element.content.push(d)}else this.ignoredFields.includes(ft(u))||this.element.content.push(Yt(c))})),this.copyMetaAndAttributes(r,this.element),Ur}};class $6 extends Ct(Fr,qt){constructor(e){super(e),this.element=new Dy,this.specPath=gr(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return Fr.prototype.ObjectElement.call(this,e)}}const L6=$6;class B6 extends Ct(_s,qt){StringElement(e){const r=new dm(ft(e));return this.copyMetaAndAttributes(e,r),this.element=r,Ur}}const q6=B6,U6=class extends _s{MemberElement(e){return this.element=Yt(e),this.element.classes.push("specification-extension"),Ur}};class z6 extends Ct(Fr,qt){constructor(e){super(e),this.element=new cm,this.specPath=gr(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const V6=z6,J6=class extends qt{StringElement(e){const r=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),r}};class W6 extends Ct(Fr,qt){constructor(e){super(e),this.element=new am,this.specPath=gr(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const H6=W6;class K6 extends Ct(Fr,qt){constructor(e){super(e),this.element=new um,this.specPath=gr(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const G6=K6;class Y6 extends Ct(Fr,qt){constructor(e){super(e),this.element=new pm,this.specPath=gr(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return(wr(this.element.operationId)||wr(this.element.operationRef))&&this.element.classes.push("reference-element"),r}}const X6=Y6,Q6=class extends qt{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},Z6=class extends qt{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},Gh=class extends _s{constructor(d){var S=d,{specPath:r,ignoredFields:n,fieldPatternPredicate:a,canSupportSpecificationExtensions:o,specificationExtensionPredicate:u}=S,c=jr(S,["specPath","ignoredFields","fieldPatternPredicate","canSupportSpecificationExtensions","specificationExtensionPredicate"]);super(Ge({},c));Ee(this,"specPath");Ee(this,"ignoredFields");Ee(this,"fieldPatternPredicate",Yb);Ee(this,"canSupportSpecificationExtensions",!1);Ee(this,"specificationExtensionPredicate",z2);this.specPath=r,this.ignoredFields=n||[],typeof a=="function"&&(this.fieldPatternPredicate=a),typeof o=="boolean"&&(this.canSupportSpecificationExtensions=o),typeof u=="function"&&(this.specificationExtensionPredicate=u)}ObjectElement(r){return r.forEach(((n,a,o)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(o)){const u=this.toRefractedElement(["document","extension"],o);this.element.content.push(u)}else if(!this.ignoredFields.includes(ft(a))&&this.fieldPatternPredicate(ft(a))){const u=this.specPath(n),c=this.toRefractedElement(u,n),d=new Ve.Pr(Yt(a),c);this.copyMetaAndAttributes(o,d),d.classes.push("patterned-field"),this.element.content.push(d)}else this.ignoredFields.includes(ft(a))||this.element.content.push(Yt(o))})),this.copyMetaAndAttributes(r,this.element),Ur}},Mr=class extends Gh{constructor(e){super(e),this.fieldPatternPredicate=By}},Yv=class Yv extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(Yv.primaryClass)}};Ee(Yv,"primaryClass","link-parameters");let i1=Yv;const e4=i1;class t4 extends Ct(Mr,qt){constructor(e){super(e),this.element=new e4,this.specPath=gr(["value"])}}const r4=t4;class n4 extends Ct(Fr,qt){constructor(e){super(e),this.element=new Cm,this.specPath=gr(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const a4=n4,o4=class extends qt{StringElement(e){const r=super.enter(e);return this.element.classes.push("server-url"),r}},Xv=class Xv extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(Xv.primaryClass)}};Ee(Xv,"primaryClass","servers");let s1=Xv;const V2=s1;class i4 extends Ct(_s,qt){constructor(e){super(e),this.element=new V2}ArrayElement(e){return e.forEach((r=>{const n=D6(r)?["document","objects","Server"]:["value"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const l1=i4;class s4 extends Ct(Fr,qt){constructor(e){super(e),this.element=new jm,this.specPath=gr(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const l4=s4,Qv=class Qv extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(Qv.primaryClass)}};Ee(Qv,"primaryClass","server-variables");let c1=Qv;const c4=c1;class u4 extends Ct(Mr,qt){constructor(e){super(e),this.element=new c4,this.specPath=gr(["document","objects","ServerVariable"])}}const p4=u4;class h4 extends Ct(Fr,qt){constructor(e){super(e),this.element=new hm,this.specPath=gr(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}const d4=h4,sl=class extends _s{constructor(a){var o=a,{alternator:r}=o,n=jr(o,["alternator"]);super(Ge({},n));Ee(this,"alternator");this.alternator=r||[]}enter(r){const n=this.alternator.map((({predicate:o,specPath:u})=>a1(o,gr(u),wy))),a=B2(n)(r);return this.element=this.toRefractedElement(a,r),Ur}},f4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof rm||t(n)&&e("callback",n)&&r("object",n))),m4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof nm||t(n)&&e("components",n)&&r("object",n))),g4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof am||t(n)&&e("contact",n)&&r("object",n))),y4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof im||t(n)&&e("example",n)&&r("object",n))),v4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sm||t(n)&&e("externalDocumentation",n)&&r("object",n))),Yh=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof lm||t(n)&&e("header",n)&&r("object",n))),b4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof cm||t(n)&&e("info",n)&&r("object",n))),w4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof um||t(n)&&e("license",n)&&r("object",n))),E4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pm||t(n)&&e("link",n)&&r("object",n))),S4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof dm||t(n)&&e("openapi",n)&&r("string",n))),x4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>a=>a instanceof Dy||t(a)&&e("openApi3_0",a)&&r("object",a)&&n("api",a))),J2=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fm||t(n)&&e("operation",n)&&r("object",n))),_4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof mm||t(n)&&e("parameter",n)&&r("object",n))),u1=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof gm||t(n)&&e("pathItem",n)&&r("object",n))),k4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ym||t(n)&&e("paths",n)&&r("object",n))),An=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof vm||t(n)&&e("reference",n)&&r("object",n))),O4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof bm||t(n)&&e("requestBody",n)&&r("object",n))),Jy=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof wm||t(n)&&e("response",n)&&r("object",n))),A4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Em||t(n)&&e("responses",n)&&r("object",n))),C4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Uy||t(n)&&e("schema",n)&&r("object",n))),j4=t=>Yf(t)&&t.classes.includes("boolean-json-schema"),P4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Om||t(n)&&e("securityRequirement",n)&&r("object",n))),T4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Am||t(n)&&e("securityScheme",n)&&r("object",n))),N4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Cm||t(n)&&e("server",n)&&r("object",n))),I4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof jm||t(n)&&e("serverVariable",n)&&r("object",n))),Wy=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof hm||t(n)&&e("mediaType",n)&&r("object",n))),W2=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>a=>a instanceof V2||t(a)&&e("array",a)&&r("array",a)&&n("servers",a))),M4=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof om||t(n)&&e("discriminator",n)&&r("object",n)));class R4 extends Ct(sl,qt){constructor(e){super(e),this.alternator=[{predicate:qn,specPath:["document","objects","Reference"]},{predicate:Ul,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=sl.prototype.enter.call(this,e);return An(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const D4=R4;class F4 extends Ct(Mr,qt){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("examples"),this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","example")})),r}}const p1=F4,Zv=class Zv extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(Zv.primaryClass),this.classes.push("examples")}};Ee(Zv,"primaryClass","media-type-examples");let h1=Zv;const $4=h1,L4=class extends p1{constructor(e){super(e),this.element=new $4}},e0=class e0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(e0.primaryClass)}};Ee(e0,"primaryClass","media-type-encoding");let d1=e0;const B4=d1;class q4 extends Ct(Mr,qt){constructor(e){super(e),this.element=new B4,this.specPath=gr(["document","objects","Encoding"])}}const U4=q4;class z4 extends Ct(Mr,qt){constructor(e){super(e),this.element=new Om,this.specPath=gr(["value"])}}const V4=z4,t0=class t0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(t0.primaryClass)}};Ee(t0,"primaryClass","security");let f1=t0;const J4=f1;class W4 extends Ct(_s,qt){constructor(e){super(e),this.element=new J4}ArrayElement(e){return e.forEach((r=>{if(on(r)){const n=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(n)}else this.element.push(Yt(r))})),this.copyMetaAndAttributes(e,this.element),Ur}}const H4=W4;class K4 extends Ct(Fr,qt){constructor(e){super(e),this.element=new nm,this.specPath=gr(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const G4=K4;class Y4 extends Ct(Fr,qt){constructor(e){super(e),this.element=new zy,this.specPath=gr(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const X4=Y4;class Q4 extends Ct(Fr,qt){constructor(e){super(e),this.element=new vm,this.specPath=gr(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return wr(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const Z4=Q4,eT=class extends qt{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class tT extends Ct(Fr,qt){constructor(e){super(e),this.element=new mm,this.specPath=gr(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return on(this.element.contentProp)&&this.element.contentProp.filter(Wy).forEach(((n,a)=>{n.setMetaProperty("media-type",ft(a))})),r}}const rT=tT;class nT extends Ct(sl,qt){constructor(e){super(e),this.alternator=[{predicate:qn,specPath:["document","objects","Reference"]},{predicate:Ul,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=sl.prototype.enter.call(this,e);return An(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const aT=nT;class oT extends Ct(Fr,qt){constructor(e){super(e),this.element=new lm,this.specPath=gr(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const iT=oT;class sT extends Ct(sl,qt){constructor(e){super(e),this.alternator=[{predicate:qn,specPath:["document","objects","Reference"]},{predicate:Ul,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=sl.prototype.enter.call(this,e);return An(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const lT=sT,r0=class r0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(r0.primaryClass),this.classes.push("examples")}};Ee(r0,"primaryClass","header-examples");let m1=r0;const cT=m1,uT=class extends p1{constructor(e){super(e),this.element=new cT}};class pT extends Ct(Mr,qt){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("content"),this.specPath=gr(["document","objects","MediaType"])}}const Hy=pT,n0=class n0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(n0.primaryClass),this.classes.push("content")}};Ee(n0,"primaryClass","header-content");let g1=n0;const hT=g1,dT=class extends Hy{constructor(e){super(e),this.element=new hT}};class fT extends Ct(Fr,qt){constructor(e){super(e),this.element=new Uy,this.specPath=gr(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const mT=fT,H2=lo.visitors.document.objects.JSONSchema.fixedFields.allOf,gT=class extends H2{ArrayElement(e){const r=H2.prototype.ArrayElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},K2=lo.visitors.document.objects.JSONSchema.fixedFields.anyOf,yT=class extends K2{ArrayElement(e){const r=K2.prototype.ArrayElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},G2=lo.visitors.document.objects.JSONSchema.fixedFields.oneOf,vT=class extends G2{ArrayElement(e){const r=G2.prototype.ArrayElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},Y2=lo.visitors.document.objects.JSONSchema.fixedFields.items,bT=class extends Y2{ObjectElement(e){const r=Y2.prototype.ObjectElement.call(this,e);return An(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}ArrayElement(e){return this.enter(e)}},X2=lo.visitors.document.objects.JSONSchema.fixedFields.properties,wT=class extends X2{ObjectElement(e){const r=X2.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},ET=lo.visitors.document.objects.JSONSchema.fixedFields.type,ST=class extends ET{ArrayElement(e){return this.enter(e)}},Q2=lo.visitors.JSONSchemaOrJSONReferenceVisitor,Z2=class extends Q2{ObjectElement(e){const r=Q2.prototype.enter.call(this,e);return An(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}};class xT extends Ct(Fr,qt){constructor(e){super(e),this.element=new om,this.specPath=gr(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}const _T=xT,a0=class a0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(a0.primaryClass)}};Ee(a0,"primaryClass","discriminator-mapping");let y1=a0;const kT=y1;class OT extends Ct(Mr,qt){constructor(e){super(e),this.element=new kT,this.specPath=gr(["value"])}}const AT=OT;class CT extends Ct(Fr,qt){constructor(e){super(e),this.element=new Vy,this.specPath=gr(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const jT=CT,o0=class o0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(o0.primaryClass),this.classes.push("examples")}};Ee(o0,"primaryClass","parameter-examples");let v1=o0;const PT=v1,TT=class extends p1{constructor(e){super(e),this.element=new PT}},i0=class i0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(i0.primaryClass),this.classes.push("content")}};Ee(i0,"primaryClass","parameter-content");let b1=i0;const NT=b1,IT=class extends Hy{constructor(e){super(e),this.element=new NT}},s0=class s0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(s0.primaryClass)}};Ee(s0,"primaryClass","components-schemas");let w1=s0;const ex=w1;class MT extends Ct(Mr,qt){constructor(e){super(e),this.element=new ex,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}}const RT=MT,l0=class l0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(l0.primaryClass)}};Ee(l0,"primaryClass","components-responses");let E1=l0;const DT=E1;class FT extends Ct(Mr,qt){constructor(e){super(e),this.element=new DT,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","response")})),this.element.filter(Jy).forEach(((n,a)=>{n.setMetaProperty("http-status-code",ft(a))})),r}}const $T=FT,c0=class c0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(c0.primaryClass),this.classes.push("parameters")}};Ee(c0,"primaryClass","components-parameters");let S1=c0;const LT=S1;class BT extends Ct(Mr,qt){constructor(e){super(e),this.element=new LT,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","parameter")})),r}}const qT=BT,u0=class u0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(u0.primaryClass),this.classes.push("examples")}};Ee(u0,"primaryClass","components-examples");let x1=u0;const UT=x1;class zT extends Ct(Mr,qt){constructor(e){super(e),this.element=new UT,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","example")})),r}}const VT=zT,p0=class p0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(p0.primaryClass)}};Ee(p0,"primaryClass","components-request-bodies");let _1=p0;const JT=_1;class WT extends Ct(Mr,qt){constructor(e){super(e),this.element=new JT,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","requestBody")})),r}}const HT=WT,h0=class h0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(h0.primaryClass)}};Ee(h0,"primaryClass","components-headers");let k1=h0;const KT=k1;class GT extends Ct(Mr,qt){constructor(e){super(e),this.element=new KT,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.filter(Yh).forEach(((n,a)=>{n.setMetaProperty("header-name",ft(a))})),r}}const YT=GT,d0=class d0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(d0.primaryClass)}};Ee(d0,"primaryClass","components-security-schemes");let O1=d0;const XT=O1;class QT extends Ct(Mr,qt){constructor(e){super(e),this.element=new XT,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","securityScheme")})),r}}const ZT=QT,f0=class f0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(f0.primaryClass)}};Ee(f0,"primaryClass","components-links");let A1=f0;const eN=A1;class tN extends Ct(Mr,qt){constructor(e){super(e),this.element=new eN,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","link")})),r}}const rN=tN,m0=class m0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(m0.primaryClass)}};Ee(m0,"primaryClass","components-callbacks");let C1=m0;const nN=C1;class aN extends Ct(Mr,qt){constructor(e){super(e),this.element=new nN,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","callback")})),r}}const oN=aN;class iN extends Ct(Fr,qt){constructor(e){super(e),this.element=new im,this.specPath=gr(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return wr(this.element.externalValue)&&this.element.classes.push("reference-element"),r}}const sN=iN,lN=class extends qt{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class cN extends Ct(Fr,qt){constructor(e){super(e),this.element=new sm,this.specPath=gr(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const uN=cN;class pN extends Ct(Fr,qt){constructor(e){super(e),this.element=new Iy,this.specPath=gr(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return on(this.element.headers)&&this.element.headers.filter(Yh).forEach(((n,a)=>{n.setMetaProperty("header-name",ft(a))})),r}}const hN=pN,g0=class g0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(g0.primaryClass)}};Ee(g0,"primaryClass","encoding-headers");let j1=g0;const dN=j1;class fN extends Ct(Mr,qt){constructor(e){super(e),this.element=new dN,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.forEach(((n,a)=>{if(!Yh(n))return;const o=ft(a);n.setMetaProperty("headerName",o)})),r}}const mN=fN;class gN extends Ct(Gh,qt){constructor(e){super(e),this.element=new ym,this.specPath=gr(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=Ul}ObjectElement(e){const r=Gh.prototype.ObjectElement.call(this,e);return this.element.filter(u1).forEach(((n,a)=>{a.classes.push("openapi-path-template"),a.classes.push("path-template"),n.setMetaProperty("path",Yt(a))})),r}}const yN=gN;class vN extends Ct(Fr,qt){constructor(e){super(e),this.element=new bm,this.specPath=gr(["document","objects","RequestBody"])}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return on(this.element.contentProp)&&this.element.contentProp.filter(Wy).forEach(((n,a)=>{n.setMetaProperty("media-type",ft(a))})),r}}const bN=vN,y0=class y0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(y0.primaryClass),this.classes.push("content")}};Ee(y0,"primaryClass","request-body-content");let P1=y0;const wN=P1,EN=class extends Hy{constructor(e){super(e),this.element=new wN}};class SN extends Ct(Gh,qt){constructor(e){super(e),this.element=new rm,this.specPath=gr(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>new RegExp("{(?<expression>[^}]{1,2083})}").test(String(r))}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(u1).forEach(((n,a)=>{n.setMetaProperty("runtime-expression",ft(a))})),r}}const xN=SN;class _N extends Ct(Fr,qt){constructor(e){super(e),this.element=new wm,this.specPath=gr(["document","objects","Response"])}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return on(this.element.contentProp)&&this.element.contentProp.filter(Wy).forEach(((n,a)=>{n.setMetaProperty("media-type",ft(a))})),on(this.element.headers)&&this.element.headers.filter(Yh).forEach(((n,a)=>{n.setMetaProperty("header-name",ft(a))})),r}}const kN=_N,v0=class v0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(v0.primaryClass)}};Ee(v0,"primaryClass","response-headers");let T1=v0;const ON=T1;class AN extends Ct(Mr,qt){constructor(e){super(e),this.element=new ON,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.forEach(((n,a)=>{if(!Yh(n))return;const o=ft(a);n.setMetaProperty("header-name",o)})),r}}const CN=AN,b0=class b0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(b0.primaryClass),this.classes.push("content")}};Ee(b0,"primaryClass","response-content");let N1=b0;const jN=N1,PN=class extends Hy{constructor(e){super(e),this.element=new jN}},w0=class w0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(w0.primaryClass)}};Ee(w0,"primaryClass","response-links");let I1=w0;const TN=I1;class NN extends Ct(Mr,qt){constructor(e){super(e),this.element=new TN,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","link")})),r}}const IN=NN;function tx(t){return Object.prototype.toString.call(t)==="[object Number]"}var MN=Ar((function(e,r){if(!tx(e)||!tx(r))throw new TypeError("Both arguments to range must be numbers");for(var n=Array(e<r?r-e:0),a=e<0?r+Math.abs(e):r-e,o=0;o<a;)n[o]=o+e,o+=1;return n}));const RN=MN;function rx(t,e,r){var n,a=typeof t;switch(a){case"string":case"number":return t===0&&1/t==-1/0?!!r._items["-0"]||(e&&(r._items["-0"]=!0),!1):r._nativeSet!==null?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):a in r._items?t in r._items[a]||(e&&(r._items[a][t]=!0),!1):(e&&(r._items[a]={},r._items[a][t]=!0),!1);case"boolean":if(a in r._items){var o=t?1:0;return!!r._items[a][o]||(e&&(r._items[a][o]=!0),!1)}return e&&(r._items[a]=t?[!1,!0]:[!0,!1]),!1;case"function":return r._nativeSet!==null?e?(n=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===n):r._nativeSet.has(t):a in r._items?!!hy(t,r._items[a])||(e&&r._items[a].push(t),!1):(e&&(r._items[a]=[t]),!1);case"undefined":return!!r._items[a]||(e&&(r._items[a]=!0),!1);case"object":if(t===null)return!!r._items.null||(e&&(r._items.null=!0),!1);default:return(a=Object.prototype.toString.call(t))in r._items?!!hy(t,r._items[a])||(e&&r._items[a].push(t),!1):(e&&(r._items[a]=[t]),!1)}}const DN=(function(){function t(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return t.prototype.add=function(e){return!rx(e,!0,this)},t.prototype.has=function(e){return rx(e,!1,this)},t})();var FN=Ar((function(e,r){for(var n=[],a=0,o=e.length,u=r.length,c=new DN,d=0;d<u;d+=1)c.add(r[d]);for(;a<o;)c.add(e[a])&&(n[n.length]=e[a]),a+=1;return n}));const $N=FN;class LN extends Ct(Fr,Gh){constructor(o){var u=o,{specPathFixedFields:r,specPathPatternedFields:n}=u,a=jr(u,["specPathFixedFields","specPathPatternedFields"]);super(Ge({},a));Ee(this,"specPathFixedFields");Ee(this,"specPathPatternedFields");this.specPathFixedFields=r,this.specPathPatternedFields=n}ObjectElement(r){const{specPath:n,ignoredFields:a}=this;try{this.specPath=this.specPathFixedFields;const o=this.retrieveFixedFields(this.specPath(r));this.ignoredFields=[...a,...$N(r.keys(),o)],Fr.prototype.ObjectElement.call(this,r),this.specPath=this.specPathPatternedFields,this.ignoredFields=o,Gh.prototype.ObjectElement.call(this,r)}catch(o){throw this.specPath=n,o}return Ur}}const nx=LN;class BN extends Ct(nx,qt){constructor(e){super(e),this.element=new Em,this.specPathFixedFields=gr(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>qn(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${RN(100,600).join("|")})$`).test(String(r))}ObjectElement(e){const r=nx.prototype.ObjectElement.call(this,e);return this.element.filter(An).forEach((n=>{n.setMetaProperty("referenced-element","response")})),this.element.filter(Jy).forEach(((n,a)=>{const o=Yt(a);this.fieldPatternPredicate(ft(o))&&n.setMetaProperty("http-status-code",o)})),r}}const qN=BN;class UN extends Ct(sl,qt){constructor(e){super(e),this.alternator=[{predicate:qn,specPath:["document","objects","Reference"]},{predicate:Ul,specPath:["document","objects","Response"]}]}ObjectElement(e){const r=sl.prototype.enter.call(this,e);return An(this.element)?this.element.setMetaProperty("referenced-element","response"):Jy(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}const zN=UN;class VN extends Ct(Fr,qt){constructor(e){super(e),this.element=new fm,this.specPath=gr(["document","objects","Operation"])}}const JN=VN,E0=class E0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(E0.primaryClass)}};Ee(E0,"primaryClass","operation-tags");let M1=E0;const WN=M1,HN=class extends qt{constructor(e){super(e),this.element=new WN}ArrayElement(e){return this.element=this.element.concat(Yt(e)),Ur}},S0=class S0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(S0.primaryClass),this.classes.push("parameters")}};Ee(S0,"primaryClass","operation-parameters");let R1=S0;const ax=R1;class KN extends Ct(_s,qt){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("parameters")}ArrayElement(e){return e.forEach((r=>{const n=qn(r)?["document","objects","Reference"]:["document","objects","Parameter"],a=this.toRefractedElement(n,r);An(a)&&a.setMetaProperty("referenced-element","parameter"),this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const ox=KN,GN=class extends ox{constructor(e){super(e),this.element=new ax}},YN=class extends sl{constructor(e){super(e),this.alternator=[{predicate:qn,specPath:["document","objects","Reference"]},{predicate:Ul,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const r=sl.prototype.enter.call(this,e);return An(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),r}},x0=class x0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(x0.primaryClass)}};Ee(x0,"primaryClass","operation-callbacks");let D1=x0;const XN=D1;class QN extends Ct(Mr,qt){constructor(r){super(r);Ee(this,"specPath");this.element=new XN,this.specPath=n=>qn(n)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(r){const n=Mr.prototype.ObjectElement.call(this,r);return this.element.filter(An).forEach((a=>{a.setMetaProperty("referenced-element","callback")})),n}}const ZN=QN,_0=class _0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(_0.primaryClass),this.classes.push("security")}};Ee(_0,"primaryClass","operation-security");let F1=_0;const ix=F1;class eI extends Ct(_s,qt){constructor(e){super(e),this.element=new ix}ArrayElement(e){return e.forEach((r=>{const n=on(r)?["document","objects","SecurityRequirement"]:["value"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const tI=eI,k0=class k0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(k0.primaryClass),this.classes.push("servers")}};Ee(k0,"primaryClass","operation-servers");let $1=k0;const rI=$1,nI=class extends l1{constructor(e){super(e),this.element=new rI}};class aI extends Ct(Fr,qt){constructor(e){super(e),this.element=new gm,this.specPath=gr(["document","objects","PathItem"])}ObjectElement(e){const r=Fr.prototype.ObjectElement.call(this,e);return this.element.filter(J2).forEach(((n,a)=>{const o=Yt(a);o.content=ft(o).toUpperCase(),n.setMetaProperty("http-method",o)})),wr(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const oI=aI,iI=class extends qt{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},O0=class O0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(O0.primaryClass),this.classes.push("servers")}};Ee(O0,"primaryClass","path-item-servers");let L1=O0;const sI=L1,lI=class extends l1{constructor(e){super(e),this.element=new sI}},A0=class A0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(A0.primaryClass),this.classes.push("parameters")}};Ee(A0,"primaryClass","path-item-parameters");let B1=A0;const cI=B1,uI=class extends ox{constructor(e){super(e),this.element=new cI}};class pI extends Ct(Fr,qt){constructor(e){super(e),this.element=new Am,this.specPath=gr(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const hI=pI;class dI extends Ct(Fr,qt){constructor(e){super(e),this.element=new Ry,this.specPath=gr(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const fI=dI;class mI extends Ct(Fr,qt){constructor(e){super(e),this.element=new My,this.specPath=gr(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const gI=mI,C0=class C0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(C0.primaryClass)}};Ee(C0,"primaryClass","oauth-flow-scopes");let q1=C0;const yI=q1;class vI extends Ct(Mr,qt){constructor(e){super(e),this.element=new yI,this.specPath=gr(["value"])}}const bI=vI,j0=class j0 extends Ve.wE{constructor(e,r,n){super(e,r,n),this.classes.push(j0.primaryClass)}};Ee(j0,"primaryClass","tags");let U1=j0;const wI=U1;class EI extends Ct(_s,qt){constructor(e){super(e),this.element=new wI}ArrayElement(e){return e.forEach((r=>{const n=F6(r)?["document","objects","Tag"]:["value"],a=this.toRefractedElement(n,r);this.element.push(a)})),this.copyMetaAndAttributes(e,this.element),Ur}}const SI=EI,{fixedFields:Fa}=lo.visitors.document.objects.JSONSchema,tt={visitors:{value:qt,document:{objects:{OpenApi:{$visitor:L6,fixedFields:{openapi:q6,info:{$ref:"#/visitors/document/objects/Info"},servers:l1,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:H4,tags:SI,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:V6,fixedFields:{title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},termsOfService:{$ref:"#/visitors/value"},contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:J6}},Contact:{$visitor:H6,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:G6,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:a4,fixedFields:{url:o4,description:{$ref:"#/visitors/value"},variables:p4}},ServerVariable:{$visitor:l4,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:G4,fixedFields:{schemas:RT,responses:$T,parameters:qT,examples:VT,requestBodies:HT,headers:YT,securitySchemes:ZT,links:rN,callbacks:oN}},Paths:{$visitor:yN},PathItem:{$visitor:oI,fixedFields:{$ref:iI,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:lI,parameters:uI}},Operation:{$visitor:JN,fixedFields:{tags:HN,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:GN,requestBody:YN,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:ZN,deprecated:{$ref:"#/visitors/value"},security:tI,servers:nI}},ExternalDocumentation:{$visitor:uN,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:rT,fixedFields:{name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:aT,example:{$ref:"#/visitors/value"},examples:TT,content:IT}},RequestBody:{$visitor:bN,fixedFields:{description:{$ref:"#/visitors/value"},content:EN,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:d4,fixedFields:{schema:D4,example:{$ref:"#/visitors/value"},examples:L4,encoding:U4}},Encoding:{$visitor:hN,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:mN,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:qN,fixedFields:{default:zN}},Response:{$visitor:kN,fixedFields:{description:{$ref:"#/visitors/value"},headers:CN,content:PN,links:IN}},Callback:{$visitor:xN},Example:{$visitor:sN,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:lN}},Link:{$visitor:X6,fixedFields:{operationRef:Q6,operationId:Z6,parameters:r4,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:iT,fixedFields:{description:{$ref:"#/visitors/value"},required:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"},allowEmptyValue:{$ref:"#/visitors/value"},style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"},schema:lT,example:{$ref:"#/visitors/value"},examples:uT,content:dT}},Tag:{$visitor:X4,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Z4,fixedFields:{$ref:eT}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:mT,fixedFields:{title:Fa.title,multipleOf:Fa.multipleOf,maximum:Fa.maximum,exclusiveMaximum:Fa.exclusiveMaximum,minimum:Fa.minimum,exclusiveMinimum:Fa.exclusiveMinimum,maxLength:Fa.maxLength,minLength:Fa.minLength,pattern:Fa.pattern,maxItems:Fa.maxItems,minItems:Fa.minItems,uniqueItems:Fa.uniqueItems,maxProperties:Fa.maxProperties,minProperties:Fa.minProperties,required:Fa.required,enum:Fa.enum,type:ST,allOf:gT,anyOf:yT,oneOf:vT,not:Z2,items:bT,properties:wT,additionalProperties:Z2,description:Fa.description,format:Fa.format,default:Fa.default,nullable:{$ref:"#/visitors/value"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},writeOnly:{$ref:"#/visitors/value"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"},deprecated:{$ref:"#/visitors/value"}}},Discriminator:{$visitor:_T,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:AT}},XML:{$visitor:jT,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:hI,fixedFields:{type:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},name:{$ref:"#/visitors/value"},in:{$ref:"#/visitors/value"},scheme:{$ref:"#/visitors/value"},bearerFormat:{$ref:"#/visitors/value"},flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:{$ref:"#/visitors/value"}}},OAuthFlows:{$visitor:fI,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:gI,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:bI}},SecurityRequirement:{$visitor:V4}},extension:{$visitor:U6}}}},xI=t=>{if(da(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},_I=Ge({CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_0Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"]},al),kI={namespace:t=>{const{base:e}=t;return e.register("callback",rm),e.register("components",nm),e.register("contact",am),e.register("discriminator",om),e.register("encoding",Iy),e.register("example",im),e.register("externalDocumentation",sm),e.register("header",lm),e.register("info",cm),e.register("license",um),e.register("link",pm),e.register("mediaType",hm),e.register("oAuthFlow",My),e.register("oAuthFlows",Ry),e.register("openapi",dm),e.register("openApi3_0",Dy),e.register("operation",fm),e.register("parameter",mm),e.register("pathItem",gm),e.register("paths",ym),e.register("reference",vm),e.register("requestBody",bm),e.register("response",wm),e.register("responses",Em),e.register("schema",Uy),e.register("securityRequirement",Om),e.register("securityScheme",Am),e.register("server",Cm),e.register("serverVariable",jm),e.register("tag",zy),e.register("xml",Vy),e}},OI=kI,AI=()=>{const t=zl(OI);return{predicates:Nr(Ge({},Q),{isElement:da,isStringElement:wr,isArrayElement:so,isObjectElement:on,isMemberElement:Es,includesClasses:Uh,hasElementSourceMap:qh}),namespace:t}},CI=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Ve.e)(t),a=Kc(tt),o=new(za(e,a))({specObj:a});return Ca(n,o),ol(o.element,r,{toolboxCreator:AI,visitorOptions:{keyMap:_I,nodeTypeGetter:xI}})},dn=t=>(e,r={})=>CI(e,Ge({specPath:t},r));rm.refract=dn(["visitors","document","objects","Callback","$visitor"]),nm.refract=dn(["visitors","document","objects","Components","$visitor"]),am.refract=dn(["visitors","document","objects","Contact","$visitor"]),im.refract=dn(["visitors","document","objects","Example","$visitor"]),om.refract=dn(["visitors","document","objects","Discriminator","$visitor"]),Iy.refract=dn(["visitors","document","objects","Encoding","$visitor"]),sm.refract=dn(["visitors","document","objects","ExternalDocumentation","$visitor"]),lm.refract=dn(["visitors","document","objects","Header","$visitor"]),cm.refract=dn(["visitors","document","objects","Info","$visitor"]),um.refract=dn(["visitors","document","objects","License","$visitor"]),pm.refract=dn(["visitors","document","objects","Link","$visitor"]),hm.refract=dn(["visitors","document","objects","MediaType","$visitor"]),My.refract=dn(["visitors","document","objects","OAuthFlow","$visitor"]),Ry.refract=dn(["visitors","document","objects","OAuthFlows","$visitor"]),dm.refract=dn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Dy.refract=dn(["visitors","document","objects","OpenApi","$visitor"]),fm.refract=dn(["visitors","document","objects","Operation","$visitor"]),mm.refract=dn(["visitors","document","objects","Parameter","$visitor"]),gm.refract=dn(["visitors","document","objects","PathItem","$visitor"]),ym.refract=dn(["visitors","document","objects","Paths","$visitor"]),vm.refract=dn(["visitors","document","objects","Reference","$visitor"]),bm.refract=dn(["visitors","document","objects","RequestBody","$visitor"]),wm.refract=dn(["visitors","document","objects","Response","$visitor"]),Em.refract=dn(["visitors","document","objects","Responses","$visitor"]),Uy.refract=dn(["visitors","document","objects","Schema","$visitor"]),Om.refract=dn(["visitors","document","objects","SecurityRequirement","$visitor"]),Am.refract=dn(["visitors","document","objects","SecurityScheme","$visitor"]),Cm.refract=dn(["visitors","document","objects","Server","$visitor"]),jm.refract=dn(["visitors","document","objects","ServerVariable","$visitor"]),zy.refract=dn(["visitors","document","objects","Tag","$visitor"]),Vy.refract=dn(["visitors","document","objects","XML","$visitor"]);const Ky=class extends rm{},Gy=class extends nm{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}},Yy=class extends am{},z1=class extends om{},V1=class extends Iy{},Xy=class extends im{},Qy=class extends sm{},Zy=class extends lm{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},ev=class extends cm{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}},P0=class P0 extends Ve.Om{constructor(e,r,n){super(e,r,n),this.element="jsonSchemaDialect"}};Ee(P0,"default",new P0("https://spec.openapis.org/oas/3.1/dialect/base"));let J1=P0;const Pm=J1,tv=class extends um{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},rv=class extends pm{},nv=class extends hm{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},W1=class extends My{},H1=class extends Ry{},K1=class extends dm{};class jI extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}const Xc=jI,Tm=class extends fm{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}},av=class extends mm{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},Qc=class extends gm{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}},ov=class extends ym{};class G1 extends vm{}Object.defineProperty(G1.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0}),Object.defineProperty(G1.prototype,"summary",{get(){return this.get("summary")},set(t){this.set("summary",t)},enumerable:!0});const Xh=G1,iv=class extends bm{},sv=class extends wm{},lv=class extends Em{},Nm=class extends Jh{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft6"}get idProp(){throw new qr("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new qr("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}},Im=class extends xm{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new qr("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new qr("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new qr("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new qr("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new qr("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new qr("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};var PI=So((function t(e,r,n){if(e.length===0)return r;var a=e[0];if(e.length>1){var o=!Py(n)&&$i(a,n)&&typeof n[a]=="object"?n[a]:Ih(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,o)}return(function(c,d,S){if(Ih(c)&&tp(S)){var _=[].concat(S);return _[c]=d,_}var O={};for(var j in S)O[j]=S[j];return O[c]=d,O})(a,r,n)}));const Pt=PI;var TI=So((function(e,r,n){var a=Array.prototype.slice.call(n,0);return a.splice(e,r),a}));const NI=TI;var II=So((function(e,r,n){return Pt([e],r,n)}));const MI=II;var RI=Ar((function t(e,r){if(r==null)return r;switch(e.length){case 0:return r;case 1:return(function(u,c){if(c==null)return c;if(Ih(u)&&tp(c))return NI(u,1,c);var d={};for(var S in c)d[S]=c[S];return delete d[u],d})(e[0],r);default:var n=e[0],a=Array.prototype.slice.call(e,1);return r[n]==null?(function(u,c){if(Ih(u)&&tp(c))return[].concat(c);var d={};for(var S in c)d[S]=c[S];return d})(n,r):MI(n,t(a,r[n]),r)}}));const bi=RI,sx=class extends $2{constructor(e){super(e),this.element=new Nm}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){const r=this.enter(e);return this.element.classes.push("boolean-json-schema"),r}handleSchemaIdentifier(e,r="$id"){return super.handleSchemaIdentifier(e,r)}},DI=class extends L2{BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ur}},FI=class extends sn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-examples"),r}},lx=class extends q2{constructor(e){super(e),this.element=new Im}},co=ao(Pt(["visitors","document","objects","JSONSchema","$visitor"],sx),bi(["visitors","document","objects","JSONSchema","fixedFields","id"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","$id"],lo.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","contains"],lo.visitors.JSONSchemaOrJSONReferenceVisitor),Pt(["visitors","document","objects","JSONSchema","fixedFields","items"],DI),Pt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],lo.visitors.JSONSchemaOrJSONReferenceVisitor),Pt(["visitors","document","objects","JSONSchema","fixedFields","const"],lo.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","examples"],FI),Pt(["visitors","document","objects","LinkDescription","$visitor"],lx),Pt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],lo.visitors.JSONSchemaOrJSONReferenceVisitor),bi(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Pt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],lo.visitors.JSONSchemaOrJSONReferenceVisitor),bi(["visitors","document","objects","LinkDescription","fixedFields","method"]),bi(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Pt(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],lo.visitors.value))(lo),$I=Ge({JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"]},al),LI=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Nm||t(n)&&e("JSONSchemaDraft6",n)&&r("object",n))),BI=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Im||t(n)&&e("linkDescription",n)&&r("object",n))),qI={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft6",Nm),e.register("jSONReference",Wh),e.register("media",Sm),e.register("linkDescription",Im),e}},UI=qI,zI=()=>{const t=zl(UI);return{predicates:Nr(Ge({},ne),{isStringElement:wr}),namespace:t}},VI=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=co}={})=>{const a=(0,Ve.e)(t),o=Kc(n),u=new(za(e,o))({specObj:o});return Ca(a,u),ol(u.element,r,{toolboxCreator:zI,visitorOptions:{keyMap:$I,nodeTypeGetter:km}})},cx=t=>(e,r={})=>VI(e,Ge({specPath:t},r));Nm.refract=cx(["visitors","document","objects","JSONSchema","$visitor"]),Im.refract=cx(["visitors","document","objects","LinkDescription","$visitor"]);const Mm=class extends Nm{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}get media(){throw new qr('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new qr('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}},Rm=class extends Im{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new qr("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new qr("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new qr("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new qr("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},ux=class extends sx{constructor(e){super(e),this.element=new Mm}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}},px=class extends lx{constructor(e){super(e),this.element=new Rm}},Zc=ao(Pt(["visitors","document","objects","JSONSchema","$visitor"],ux),Pt(["visitors","document","objects","JSONSchema","fixedFields","$comment"],co.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","if"],co.visitors.JSONSchemaOrJSONReferenceVisitor),Pt(["visitors","document","objects","JSONSchema","fixedFields","then"],co.visitors.JSONSchemaOrJSONReferenceVisitor),Pt(["visitors","document","objects","JSONSchema","fixedFields","else"],co.visitors.JSONSchemaOrJSONReferenceVisitor),bi(["visitors","document","objects","JSONSchema","fixedFields","media"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],co.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],co.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],co.visitors.value),Pt(["visitors","document","objects","LinkDescription","$visitor"],px),Pt(["visitors","document","objects","LinkDescription","fixedFields","anchor"],co.visitors.value),Pt(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],co.visitors.value),bi(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Pt(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],co.visitors.value),Pt(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],co.visitors.value),Pt(["visitors","document","objects","LinkDescription","fixedFields","description"],co.visitors.value),Pt(["visitors","document","objects","LinkDescription","fixedFields","$comment"],co.visitors.value),Pt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],co.visitors.JSONSchemaOrJSONReferenceVisitor),bi(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Pt(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],co.visitors.value))(co),JI=Ge({JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"]},al),WI=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Mm||t(n)&&e("JSONSchemaDraft7",n)&&r("object",n))),HI=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Rm||t(n)&&e("linkDescription",n)&&r("object",n))),KI={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft7",Mm),e.register("jSONReference",Wh),e.register("linkDescription",Rm),e}},GI=KI,YI=()=>{const t=zl(GI);return{predicates:Nr(Ge({},ae),{isStringElement:wr}),namespace:t}},XI=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Zc}={})=>{const a=(0,Ve.e)(t),o=Kc(n),u=new(za(e,o))({specObj:o});return Ca(a,u),ol(u.element,r,{toolboxCreator:YI,visitorOptions:{keyMap:JI,nodeTypeGetter:km}})},hx=t=>(e,r={})=>XI(e,Ge({specPath:t},r));Mm.refract=hx(["visitors","document","objects","JSONSchema","$visitor"]),Rm.refract=hx(["visitors","document","objects","LinkDescription","$visitor"]);const Dm=class extends Mm{constructor(e,r,n){super(e,r,n),this.element="JSONSchema201909"}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $recursiveAnchor(){return this.get("$recursiveAnchor")}set $recursiveAnchor(e){this.set("$recursiveAnchor",e)}get $recursiveRef(){return this.get("$recursiveRef")}set $recursiveRef(e){this.set("$recursiveRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get definitions(){throw new qr("definitions keyword from Validation vocabulary has been renamed to $defs.")}set definitions(e){throw new qr("definitions keyword from Validation vocabulary has been renamed to $defs.")}get not(){return this.get("not")}set not(e){this.set("not",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get dependencies(){throw new qr("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}set dependencies(e){throw new qr("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",e)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}},Fm=class extends Rm{get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}},uo=class extends ux{constructor(e){super(e),this.element=new Dm}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2019-09/schema"}ObjectElement(e){this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element;const r=lp.prototype.ObjectElement.call(this,e);return wr(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}},QI=class extends sn{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),r}},ZI=class extends sn{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class e5 extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=gr(["document","objects","JSONSchema"])}}const dx=e5;class t5 extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ur}}const fx=t5;class r5 extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ur}}const mx=r5;class n5 extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ur}}const gx=n5;class a5 extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=gr(["document","objects","JSONSchema"])}}const yx=a5;class o5 extends Ct(vi,ja,sn){ObjectElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ur}ArrayElement(e){return this.element=new Ve.wE,this.element.classes.push("json-schema-items"),e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ur}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Ur}}const i5=o5;class s5 extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-properties"),this.specPath=gr(["document","objects","JSONSchema"])}}const vx=s5;class l5 extends Ct(Yc,ja,sn){constructor(e){super(e),this.element=new Ve.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=gr(["document","objects","JSONSchema"])}}const bx=l5,c5=class extends sn{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),r}},wx=class extends px{constructor(e){super(e),this.element=new Fm}},cv=ao(Pt(["visitors","document","objects","JSONSchema","$visitor"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","$vocabulary"],QI),Pt(["visitors","document","objects","JSONSchema","fixedFields","$anchor"],Zc.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"],Zc.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"],Zc.visitors.value),bi(["visitors","document","objects","JSONReference","$visitor"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","$ref"],ZI),bi(["visitors","document","objects","JSONSchema","fixedFields","definitions"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","$defs"],dx),Pt(["visitors","document","objects","JSONSchema","fixedFields","allOf"],fx),Pt(["visitors","document","objects","JSONSchema","fixedFields","anyOf"],mx),Pt(["visitors","document","objects","JSONSchema","fixedFields","oneOf"],gx),Pt(["visitors","document","objects","JSONSchema","fixedFields","not"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","if"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","then"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","else"],uo),bi(["visitors","document","objects","JSONSchema","fixedFields","dependencies"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","dependentSchemas"],yx),Pt(["visitors","document","objects","JSONSchema","fixedFields","items"],i5),Pt(["visitors","document","objects","JSONSchema","fixedFields","contains"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","properties"],vx),Pt(["visitors","document","objects","JSONSchema","fixedFields","patternProperties"],bx),Pt(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],uo),Pt(["visitors","document","objects","JSONSchema","fixedFields","maxContains"],Zc.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","minContains"],Zc.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","dependentRequired"],c5),Pt(["visitors","document","objects","JSONSchema","fixedFields","deprecated"],Zc.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],uo),Pt(["visitors","document","objects","LinkDescription","$visitor"],wx),Pt(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],uo),Pt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],uo),Pt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],uo),Pt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],uo))(Zc),u5=Ge({JSONSchema201909Element:["content"],LinkDescriptionElement:["content"]},al),p5=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Dm||t(n)&&e("JSONSchema201909",n)&&r("object",n))),h5=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Fm||t(n)&&e("linkDescription",n)&&r("object",n))),d5={namespace:t=>{const{base:e}=t;return e.register("jSONSchema201909",Dm),e.register("linkDescription",Fm),e}},f5=d5,m5=()=>{const t=zl(f5);return{predicates:Nr(Ge({},Ce),{isStringElement:wr}),namespace:t}},g5=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=cv}={})=>{const a=(0,Ve.e)(t),o=Kc(n),u=new(za(e,o))({specObj:o});return Ca(a,u),ol(u.element,r,{toolboxCreator:m5,visitorOptions:{keyMap:u5,nodeTypeGetter:km}})},Ex=t=>(e,r={})=>g5(e,Ge({specPath:t},r));Dm.refract=Ex(["visitors","document","objects","JSONSchema","$visitor"]),Fm.refract=Ex(["visitors","document","objects","LinkDescription","$visitor"]);const $m=class extends Dm{constructor(e,r,n){super(e,r,n),this.element="JSONSchema202012"}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}get $recursiveAnchor(){throw new qr("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}set $recursiveAnchor(e){throw new qr("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $recursiveRef(){throw new qr("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}set $recursiveRef(e){throw new qr("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}},uv=class extends Fm{get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}},$a=class extends uo{constructor(e){super(e),this.element=new $m}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2020-12/schema"}};class y5 extends Ct(vi,ja,sn){constructor(e){super(e),this.element=new Ve.wE,this.element.classes.push("json-schema-prefixItems")}ArrayElement(e){return e.forEach((r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)})),this.copyMetaAndAttributes(e,this.element),Ur}}const Sx=y5,v5=class extends wx{constructor(e){super(e),this.element=new uv}},xx=ao(Pt(["visitors","document","objects","JSONSchema","$visitor"],$a),bi(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","$dynamicAnchor"],cv.visitors.value),bi(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","$dynamicRef"],cv.visitors.value),Pt(["visitors","document","objects","JSONSchema","fixedFields","not"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","if"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","then"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","else"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","prefixItems"],Sx),Pt(["visitors","document","objects","JSONSchema","fixedFields","items"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","contains"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],$a),bi(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"]),Pt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],$a),Pt(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],$a),Pt(["visitors","document","objects","LinkDescription","$visitor"],v5),Pt(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],$a),Pt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],$a),Pt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],$a),Pt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],$a))(cv),b5=Ge({JSONSchema202012Element:["content"],LinkDescriptionElement:["content"]},al),w5=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof $m||t(n)&&e("JSONSchema202012",n)&&r("object",n))),E5=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof uv||t(n)&&e("linkDescription",n)&&r("object",n))),S5={namespace:t=>{const{base:e}=t;return e.register("jSONSchema202012",$m),e.register("linkDescription",uv),e}},x5=S5,_5=()=>{const t=zl(x5);return{predicates:Nr(Ge({},he),{isStringElement:wr}),namespace:t}},k5=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=xx}={})=>{const a=(0,Ve.e)(t),o=Kc(n),u=new(za(e,o))({specObj:o});return Ca(a,u),ol(u.element,r,{toolboxCreator:_5,visitorOptions:{keyMap:b5,nodeTypeGetter:km}})},_x=t=>(e,r={})=>k5(e,Ge({specPath:t},r));$m.refract=_x(["visitors","document","objects","JSONSchema","$visitor"]),uv.refract=_x(["visitors","document","objects","LinkDescription","$visitor"]);const eu=class extends $m{constructor(e,r,n){super(e,r,n),this.element="schema"}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}},pv=class extends Om{},hv=class extends Am{},dv=class extends Cm{},fv=class extends jm{},Y1=class extends zy{},X1=class extends Vy{};class O5 extends Ct(Fr,qt){constructor(e){super(e),this.element=new Xc,this.specPath=gr(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(e){return this.openApiGenericElement=e,Fr.prototype.ObjectElement.call(this,e)}}const A5=O5,C5=tt.visitors.document.objects.Info.$visitor,j5=class extends C5{constructor(e){super(e),this.element=new ev}},P5=tt.visitors.document.objects.Contact.$visitor,T5=class extends P5{constructor(e){super(e),this.element=new Yy}},N5=tt.visitors.document.objects.License.$visitor,I5=class extends N5{constructor(e){super(e),this.element=new tv}},M5=tt.visitors.document.objects.Link.$visitor,R5=class extends M5{constructor(e){super(e),this.element=new rv}};class D5 extends Ct(_s,qt){StringElement(e){const r=new Pm(ft(e));return this.copyMetaAndAttributes(e,r),this.element=r,Ur}}const F5=D5,$5=tt.visitors.document.objects.Server.$visitor,L5=class extends $5{constructor(e){super(e),this.element=new dv}},B5=tt.visitors.document.objects.ServerVariable.$visitor,q5=class extends B5{constructor(e){super(e),this.element=new fv}},U5=tt.visitors.document.objects.MediaType.$visitor,z5=class extends U5{constructor(e){super(e),this.element=new nv}},V5=tt.visitors.document.objects.SecurityRequirement.$visitor,J5=class extends V5{constructor(e){super(e),this.element=new pv}},W5=tt.visitors.document.objects.Components.$visitor,H5=class extends W5{constructor(e){super(e),this.element=new Gy}},K5=tt.visitors.document.objects.Tag.$visitor,G5=class extends K5{constructor(e){super(e),this.element=new Y1}},Y5=tt.visitors.document.objects.Reference.$visitor,X5=class extends Y5{constructor(e){super(e),this.element=new Xh}},Q5=tt.visitors.document.objects.Parameter.$visitor,Z5=class extends Q5{constructor(e){super(e),this.element=new av}},e8=tt.visitors.document.objects.Header.$visitor,t8=class extends e8{constructor(e){super(e),this.element=new Zy}},r8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ky||t(n)&&e("callback",n)&&r("object",n))),n8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Gy||t(n)&&e("components",n)&&r("object",n))),a8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Yy||t(n)&&e("contact",n)&&r("object",n))),o8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xy||t(n)&&e("example",n)&&r("object",n))),i8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Qy||t(n)&&e("externalDocumentation",n)&&r("object",n))),s8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Zy||t(n)&&e("header",n)&&r("object",n))),l8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ev||t(n)&&e("info",n)&&r("object",n))),kx=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Pm||t(n)&&e("jsonSchemaDialect",n)&&r("string",n))),c8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof tv||t(n)&&e("license",n)&&r("object",n))),u8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof rv||t(n)&&e("link",n)&&r("object",n))),p8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof K1||t(n)&&e("openapi",n)&&r("string",n))),Ox=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>a=>a instanceof Xc||t(a)&&e("openApi3_1",a)&&r("object",a)&&n("api",a))),Ax=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Tm||t(n)&&e("operation",n)&&r("object",n))),h8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof av||t(n)&&e("parameter",n)&&r("object",n))),cp=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Qc||t(n)&&e("pathItem",n)&&r("object",n))),d8=t=>{if(!cp(t)||!wr(t.$ref))return!1;const e=ft(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},f8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ov||t(n)&&e("paths",n)&&r("object",n))),up=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xh||t(n)&&e("reference",n)&&r("object",n))),m8=t=>{if(!up(t)||!wr(t.$ref))return!1;const e=ft(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},g8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof iv||t(n)&&e("requestBody",n)&&r("object",n))),y8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sv||t(n)&&e("response",n)&&r("object",n))),v8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof lv||t(n)&&e("responses",n)&&r("object",n))),ks=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof eu||t(n)&&e("schema",n)&&r("object",n))),Q1=t=>Yf(t)&&t.classes.includes("boolean-json-schema"),b8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pv||t(n)&&e("securityRequirement",n)&&r("object",n))),w8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof hv||t(n)&&e("securityScheme",n)&&r("object",n))),E8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof dv||t(n)&&e("server",n)&&r("object",n))),S8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fv||t(n)&&e("serverVariable",n)&&r("object",n))),x8=$t((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof nv||t(n)&&e("mediaType",n)&&r("object",n)));class _8 extends Ct(Fr,ja,qt){constructor(e){super(e),this.element=new eu,this.specPath=gr(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=Pm.default,this.passingOptionsNames.push("parent")}ObjectElement(e){this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element;const r=Fr.prototype.ObjectElement.call(this,e);return wr(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(e){return $a.prototype.BooleanElement.call(this,e)}get defaultDialectIdentifier(){let e;return e=this.openApiSemanticElement!==void 0&&kx(this.openApiSemanticElement.jsonSchemaDialect)?ft(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&wr(this.openApiGenericElement.get("jsonSchemaDialect"))?ft(this.openApiGenericElement.get("jsonSchemaDialect")):ft(this.jsonSchemaDefaultDialect),e}handleDialectIdentifier(e){return $a.prototype.handleDialectIdentifier.call(this,e)}handleSchemaIdentifier(e){return $a.prototype.handleSchemaIdentifier.call(this,e)}}const k8=_8,O8=class extends dx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},A8=class extends fx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},C8=class extends mx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},j8=class extends gx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},P8=class extends yx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},T8=class extends Sx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},N8=class extends vx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},I8=class extends bx{constructor(e){super(e),this.passingOptionsNames.push("parent")}},M8=tt.visitors.document.objects.Discriminator.$visitor,R8=class extends M8{constructor(e){super(e),this.element=new z1,this.canSupportSpecificationExtensions=!0}},D8=tt.visitors.document.objects.XML.$visitor,F8=class extends D8{constructor(e){super(e),this.element=new X1}};class $8 extends Ct(Mr,qt){constructor(e){super(e),this.element=new ex,this.specPath=gr(["document","objects","Schema"])}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(ks).forEach(((n,a)=>{n.setMetaProperty("schemaName",ft(a))})),r}}const L8=$8,T0=class T0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(T0.primaryClass)}};Ee(T0,"primaryClass","components-path-items");let Z1=T0;const B8=Z1;class q8 extends Ct(Mr,qt){constructor(e){super(e),this.element=new B8,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(up).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),r}}const U8=q8,z8=tt.visitors.document.objects.Example.$visitor,V8=class extends z8{constructor(e){super(e),this.element=new Xy}},J8=tt.visitors.document.objects.ExternalDocumentation.$visitor,W8=class extends J8{constructor(e){super(e),this.element=new Qy}},H8=tt.visitors.document.objects.Encoding.$visitor,K8=class extends H8{constructor(e){super(e),this.element=new V1}},G8=tt.visitors.document.objects.Paths.$visitor,Y8=class extends G8{constructor(e){super(e),this.element=new ov}},X8=tt.visitors.document.objects.RequestBody.$visitor,Q8=class extends X8{constructor(e){super(e),this.element=new iv}},Cx=tt.visitors.document.objects.Callback.$visitor,Z8=class extends Cx{constructor(e){super(e),this.element=new Ky,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=Cx.prototype.ObjectElement.call(this,e);return this.element.filter(up).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),r}},e9=tt.visitors.document.objects.Response.$visitor,t9=class extends e9{constructor(e){super(e),this.element=new sv}},r9=tt.visitors.document.objects.Responses.$visitor,n9=class extends r9{constructor(e){super(e),this.element=new lv}},a9=tt.visitors.document.objects.Operation.$visitor,o9=class extends a9{constructor(e){super(e),this.element=new Tm}},i9=tt.visitors.document.objects.PathItem.$visitor,s9=class extends i9{constructor(e){super(e),this.element=new Qc}},l9=tt.visitors.document.objects.SecurityScheme.$visitor,c9=class extends l9{constructor(e){super(e),this.element=new hv}},u9=tt.visitors.document.objects.OAuthFlows.$visitor,p9=class extends u9{constructor(e){super(e),this.element=new H1}},h9=tt.visitors.document.objects.OAuthFlow.$visitor,d9=class extends h9{constructor(e){super(e),this.element=new W1}},N0=class N0 extends Ve.Sh{constructor(e,r,n){super(e,r,n),this.classes.push(N0.primaryClass)}};Ee(N0,"primaryClass","webhooks");let ew=N0;const f9=ew;class m9 extends Ct(Mr,qt){constructor(e){super(e),this.element=new f9,this.specPath=r=>qn(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=Mr.prototype.ObjectElement.call(this,e);return this.element.filter(up).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),this.element.filter(cp).forEach(((n,a)=>{n.setMetaProperty("webhook-name",ft(a))})),r}}const g9=m9,{JSONSchema:y9,LinkDescription:v9}=xx.visitors.document.objects,b9={visitors:{value:tt.visitors.value,document:{objects:{OpenApi:{$visitor:A5,fixedFields:{openapi:tt.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:F5,servers:tt.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:g9,components:{$ref:"#/visitors/document/objects/Components"},security:tt.visitors.document.objects.OpenApi.fixedFields.security,tags:tt.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:j5,fixedFields:{title:tt.visitors.document.objects.Info.fixedFields.title,description:tt.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:tt.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:tt.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:T5,fixedFields:{name:tt.visitors.document.objects.Contact.fixedFields.name,url:tt.visitors.document.objects.Contact.fixedFields.url,email:tt.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:I5,fixedFields:{name:tt.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:tt.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:L5,fixedFields:{url:tt.visitors.document.objects.Server.fixedFields.url,description:tt.visitors.document.objects.Server.fixedFields.description,variables:tt.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:q5,fixedFields:{enum:tt.visitors.document.objects.ServerVariable.fixedFields.enum,default:tt.visitors.document.objects.ServerVariable.fixedFields.default,description:tt.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:H5,fixedFields:{schemas:L8,responses:tt.visitors.document.objects.Components.fixedFields.responses,parameters:tt.visitors.document.objects.Components.fixedFields.parameters,examples:tt.visitors.document.objects.Components.fixedFields.examples,requestBodies:tt.visitors.document.objects.Components.fixedFields.requestBodies,headers:tt.visitors.document.objects.Components.fixedFields.headers,securitySchemes:tt.visitors.document.objects.Components.fixedFields.securitySchemes,links:tt.visitors.document.objects.Components.fixedFields.links,callbacks:tt.visitors.document.objects.Components.fixedFields.callbacks,pathItems:U8}},Paths:{$visitor:Y8},PathItem:{$visitor:s9,fixedFields:{$ref:tt.visitors.document.objects.PathItem.fixedFields.$ref,summary:tt.visitors.document.objects.PathItem.fixedFields.summary,description:tt.visitors.document.objects.PathItem.fixedFields.description,get:{$ref:"#/visitors/document/objects/Operation"},put:{$ref:"#/visitors/document/objects/Operation"},post:{$ref:"#/visitors/document/objects/Operation"},delete:{$ref:"#/visitors/document/objects/Operation"},options:{$ref:"#/visitors/document/objects/Operation"},head:{$ref:"#/visitors/document/objects/Operation"},patch:{$ref:"#/visitors/document/objects/Operation"},trace:{$ref:"#/visitors/document/objects/Operation"},servers:tt.visitors.document.objects.PathItem.fixedFields.servers,parameters:tt.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:o9,fixedFields:{tags:tt.visitors.document.objects.Operation.fixedFields.tags,summary:tt.visitors.document.objects.Operation.fixedFields.summary,description:tt.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:tt.visitors.document.objects.Operation.fixedFields.operationId,parameters:tt.visitors.document.objects.Operation.fixedFields.parameters,requestBody:tt.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:tt.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:tt.visitors.document.objects.Operation.fixedFields.deprecated,security:tt.visitors.document.objects.Operation.fixedFields.security,servers:tt.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:W8,fixedFields:{description:tt.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:tt.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:Z5,fixedFields:{name:tt.visitors.document.objects.Parameter.fixedFields.name,in:tt.visitors.document.objects.Parameter.fixedFields.in,description:tt.visitors.document.objects.Parameter.fixedFields.description,required:tt.visitors.document.objects.Parameter.fixedFields.required,deprecated:tt.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:tt.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:tt.visitors.document.objects.Parameter.fixedFields.style,explode:tt.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:tt.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:tt.visitors.document.objects.Parameter.fixedFields.example,examples:tt.visitors.document.objects.Parameter.fixedFields.examples,content:tt.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:Q8,fixedFields:{description:tt.visitors.document.objects.RequestBody.fixedFields.description,content:tt.visitors.document.objects.RequestBody.fixedFields.content,required:tt.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:z5,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:tt.visitors.document.objects.MediaType.fixedFields.example,examples:tt.visitors.document.objects.MediaType.fixedFields.examples,encoding:tt.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:K8,fixedFields:{contentType:tt.visitors.document.objects.Encoding.fixedFields.contentType,headers:tt.visitors.document.objects.Encoding.fixedFields.headers,style:tt.visitors.document.objects.Encoding.fixedFields.style,explode:tt.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:tt.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:n9,fixedFields:{default:tt.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:t9,fixedFields:{description:tt.visitors.document.objects.Response.fixedFields.description,headers:tt.visitors.document.objects.Response.fixedFields.headers,content:tt.visitors.document.objects.Response.fixedFields.content,links:tt.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:Z8},Example:{$visitor:V8,fixedFields:{summary:tt.visitors.document.objects.Example.fixedFields.summary,description:tt.visitors.document.objects.Example.fixedFields.description,value:tt.visitors.document.objects.Example.fixedFields.value,externalValue:tt.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:R5,fixedFields:{operationRef:tt.visitors.document.objects.Link.fixedFields.operationRef,operationId:tt.visitors.document.objects.Link.fixedFields.operationId,parameters:tt.visitors.document.objects.Link.fixedFields.parameters,requestBody:tt.visitors.document.objects.Link.fixedFields.requestBody,description:tt.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:t8,fixedFields:{description:tt.visitors.document.objects.Header.fixedFields.description,required:tt.visitors.document.objects.Header.fixedFields.required,deprecated:tt.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:tt.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:tt.visitors.document.objects.Header.fixedFields.style,explode:tt.visitors.document.objects.Header.fixedFields.explode,allowReserved:tt.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:tt.visitors.document.objects.Header.fixedFields.example,examples:tt.visitors.document.objects.Header.fixedFields.examples,content:tt.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:G5,fixedFields:{name:tt.visitors.document.objects.Tag.fixedFields.name,description:tt.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:X5,fixedFields:{$ref:tt.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},LinkDescription:Ge({},v9),Schema:{$visitor:k8,fixedFields:Nr(Ge({},y9.fixedFields),{$defs:O8,allOf:A8,anyOf:C8,oneOf:j8,not:{$ref:"#/visitors/document/objects/Schema"},if:{$ref:"#/visitors/document/objects/Schema"},then:{$ref:"#/visitors/document/objects/Schema"},else:{$ref:"#/visitors/document/objects/Schema"},dependentSchemas:P8,prefixItems:T8,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:N8,patternProperties:I8,additionalProperties:{$ref:"#/visitors/document/objects/Schema"},propertyNames:{$ref:"#/visitors/document/objects/Schema"},unevaluatedItems:{$ref:"#/visitors/document/objects/Schema"},unevaluatedProperties:{$ref:"#/visitors/document/objects/Schema"},contentSchema:{$ref:"#/visitors/document/objects/Schema"},discriminator:{$ref:"#/visitors/document/objects/Discriminator"},xml:{$ref:"#/visitors/document/objects/XML"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},example:{$ref:"#/visitors/value"}})},Discriminator:{$visitor:R8,fixedFields:{propertyName:tt.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:tt.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:F8,fixedFields:{name:tt.visitors.document.objects.XML.fixedFields.name,namespace:tt.visitors.document.objects.XML.fixedFields.namespace,prefix:tt.visitors.document.objects.XML.fixedFields.prefix,attribute:tt.visitors.document.objects.XML.fixedFields.attribute,wrapped:tt.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:c9,fixedFields:{type:tt.visitors.document.objects.SecurityScheme.fixedFields.type,description:tt.visitors.document.objects.SecurityScheme.fixedFields.description,name:tt.visitors.document.objects.SecurityScheme.fixedFields.name,in:tt.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:tt.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:tt.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:tt.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:p9,fixedFields:{implicit:{$ref:"#/visitors/document/objects/OAuthFlow"},password:{$ref:"#/visitors/document/objects/OAuthFlow"},clientCredentials:{$ref:"#/visitors/document/objects/OAuthFlow"},authorizationCode:{$ref:"#/visitors/document/objects/OAuthFlow"}}},OAuthFlow:{$visitor:d9,fixedFields:{authorizationUrl:tt.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:tt.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:tt.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:tt.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:J5}},extension:{$visitor:tt.visitors.document.extension.$visitor}}}},qi=t=>{if(da(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Os=Ge({CallbackElement:["content"],ComponentsElement:["content"],ContactElement:["content"],DiscriminatorElement:["content"],Encoding:["content"],Example:["content"],ExternalDocumentationElement:["content"],HeaderElement:["content"],InfoElement:["content"],LicenseElement:["content"],MediaTypeElement:["content"],OAuthFlowElement:["content"],OAuthFlowsElement:["content"],OpenApi3_1Element:["content"],OperationElement:["content"],ParameterElement:["content"],PathItemElement:["content"],PathsElement:["content"],ReferenceElement:["content"],RequestBodyElement:["content"],ResponseElement:["content"],ResponsesElement:["content"],SchemaElement:["content"],SecurityRequirementElement:["content"],SecuritySchemeElement:["content"],ServerElement:["content"],ServerVariableElement:["content"],TagElement:["content"]},al),w9={namespace:t=>{const{base:e}=t;return e.register("callback",Ky),e.register("components",Gy),e.register("contact",Yy),e.register("discriminator",z1),e.register("encoding",V1),e.register("example",Xy),e.register("externalDocumentation",Qy),e.register("header",Zy),e.register("info",ev),e.register("jsonSchemaDialect",Pm),e.register("license",tv),e.register("link",rv),e.register("mediaType",nv),e.register("oAuthFlow",W1),e.register("oAuthFlows",H1),e.register("openapi",K1),e.register("openApi3_1",Xc),e.register("operation",Tm),e.register("parameter",av),e.register("pathItem",Qc),e.register("paths",ov),e.register("reference",Xh),e.register("requestBody",iv),e.register("response",sv),e.register("responses",lv),e.register("schema",eu),e.register("securityRequirement",pv),e.register("securityScheme",hv),e.register("server",dv),e.register("serverVariable",fv),e.register("tag",Y1),e.register("xml",X1),e}},tw=w9,E9=t=>{const e=t.reduce(((r,n,a)=>{if(Es(n)){const o=String(ft(n.key));r.push(o)}else if(so(t[a-2])){const o=String(t[a-2].content.indexOf(n));r.push(o)}return r}),[]);return S2(e)},jx=()=>{const t=zl(tw);return{predicates:Nr(Ge({},ge),{isElement:da,isStringElement:wr,isArrayElement:so,isObjectElement:on,isMemberElement:Es,isServersElement:W2,includesClasses:Uh,hasElementSourceMap:qh}),ancestorLineageToJSONPointer:E9,namespace:t}},S9=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,Ve.e)(t),a=Kc(b9),o=new(za(e,a))({specObj:a});return Ca(n,o),ol(o.element,r,{toolboxCreator:jx,visitorOptions:{keyMap:Os,nodeTypeGetter:qi}})},un=t=>(e,r={})=>S9(e,Ge({specPath:t},r));Ky.refract=un(["visitors","document","objects","Callback","$visitor"]),Gy.refract=un(["visitors","document","objects","Components","$visitor"]),Yy.refract=un(["visitors","document","objects","Contact","$visitor"]),Xy.refract=un(["visitors","document","objects","Example","$visitor"]),z1.refract=un(["visitors","document","objects","Discriminator","$visitor"]),V1.refract=un(["visitors","document","objects","Encoding","$visitor"]),Qy.refract=un(["visitors","document","objects","ExternalDocumentation","$visitor"]),Zy.refract=un(["visitors","document","objects","Header","$visitor"]),ev.refract=un(["visitors","document","objects","Info","$visitor"]),Pm.refract=un(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),tv.refract=un(["visitors","document","objects","License","$visitor"]),rv.refract=un(["visitors","document","objects","Link","$visitor"]),nv.refract=un(["visitors","document","objects","MediaType","$visitor"]),W1.refract=un(["visitors","document","objects","OAuthFlow","$visitor"]),H1.refract=un(["visitors","document","objects","OAuthFlows","$visitor"]),K1.refract=un(["visitors","document","objects","OpenApi","fixedFields","openapi"]),Xc.refract=un(["visitors","document","objects","OpenApi","$visitor"]),Tm.refract=un(["visitors","document","objects","Operation","$visitor"]),av.refract=un(["visitors","document","objects","Parameter","$visitor"]),Qc.refract=un(["visitors","document","objects","PathItem","$visitor"]),ov.refract=un(["visitors","document","objects","Paths","$visitor"]),Xh.refract=un(["visitors","document","objects","Reference","$visitor"]),iv.refract=un(["visitors","document","objects","RequestBody","$visitor"]),sv.refract=un(["visitors","document","objects","Response","$visitor"]),lv.refract=un(["visitors","document","objects","Responses","$visitor"]),eu.refract=un(["visitors","document","objects","Schema","$visitor"]),pv.refract=un(["visitors","document","objects","SecurityRequirement","$visitor"]),hv.refract=un(["visitors","document","objects","SecurityScheme","$visitor"]),dv.refract=un(["visitors","document","objects","Server","$visitor"]),fv.refract=un(["visitors","document","objects","ServerVariable","$visitor"]),Y1.refract=un(["visitors","document","objects","Tag","$visitor"]),X1.refract=un(["visitors","document","objects","XML","$visitor"]);const rw=class extends qr{},x9=class extends Array{constructor(){super(...arguments);Ee(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new rw("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new rw("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new rw("latest method in MediaTypes class is not yet implemented.")}};class nw extends x9{filterByFormat(e="generic"){const r=e==="generic"?"openapi;version":e;return this.filter((n=>n.includes(r)))}findBy(e="3.1.0",r="generic"){const n=r==="generic"?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${r};version=${e}`;return this.find((a=>a.includes(n)))||this.unknownMediaType}latest(e="generic"){return yy(this.filterByFormat(e))}}const Qh=new nw("application/vnd.oai.openapi;version=3.1.0","application/vnd.oai.openapi+json;version=3.1.0","application/vnd.oai.openapi+yaml;version=3.1.0"),Vl=class{constructor({uri:e,depth:r=0,refSet:n,value:a}){Ee(this,"uri");Ee(this,"depth");Ee(this,"value");Ee(this,"refSet");Ee(this,"errors");this.uri=e,this.value=a,this.depth=r,this.refSet=n,this.errors=[]}},Zh=class{constructor({refs:e=[],circular:r=!1}={}){Ee(this,"rootRef");Ee(this,"refs");Ee(this,"circular");this.refs=[],this.circular=r,e.forEach(this.add.bind(this))}get size(){return this.refs.length}add(e){return this.has(e)||(this.refs.push(e),this.rootRef=this.rootRef===void 0?e:this.rootRef,e.refSet=this),this}merge(e){for(const r of e.values())this.add(r);return this}has(e){const r=ap(e)?e:e.uri;return uS(this.find((n=>n.uri===r)))}find(e){return this.refs.find(e)}*values(){yield*B0(this.refs)}clean(){this.refs.forEach((e=>{e.refSet=void 0})),this.rootRef=void 0,this.refs.length=0}};function _9(t){return t}const Px=bn(_9),Tx={parse:{mediaType:"text/plain",parsers:[],parserOpts:{}},resolve:{baseURI:"",resolvers:[],resolverOpts:{},strategies:[],strategyOpts:{},internal:!0,external:!0,maxDepth:1/0},dereference:{strategies:[],strategyOpts:{},refSet:null,maxDepth:1/0,circular:"ignore",circularReplacer:Px,immutable:!0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},k9=Ar((function(e,r){return function(n){return function(a){return by((function(o){return r(o,a)}),n(e(a)))}}}));var Nx=function(t){return{value:t,map:function(e){return Nx(e(t))}}},O9=So((function(e,r,n){return e((function(a){return Nx(r(a))}))(n).value}));const A9=O9,C9=Uc(""),j9=k9(za(["resolve","baseURI"]),Pt(["resolve","baseURI"])),P9=t=>C9(t)?Ob():t,Ix=(t,e)=>{const r=Ty(t,e);return A9(j9,P9,r)},Lm=class{constructor({uri:e,mediaType:r="text/plain",data:n,parseResult:a}){Ee(this,"uri");Ee(this,"mediaType");Ee(this,"data");Ee(this,"parseResult");this.uri=e,this.mediaType=r,this.data=n,this.parseResult=a}get extension(){return ap(this.uri)?(e=>{const r=e.lastIndexOf(".");return r>=0?e.substring(r).toLowerCase():""})(this.uri):""}toString(){return typeof this.data=="string"?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(vs(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}},T9=class extends aa{constructor(r,n){super(r,{cause:n.cause});Ee(this,"plugin");this.plugin=n.plugin}},aw=(t,e,r)=>nr(null,null,function*(){const n=yield Promise.all(r.map(em([t],e)));return r.filter(((a,o)=>n[o]))}),ow=(t,e,r)=>nr(null,null,function*(){let n;for(const a of r)try{const o=yield a[t].call(a,...e);return{plugin:a,result:o}}catch(o){n=new T9("Error while running plugin",{cause:o,plugin:a})}return Promise.reject(n)}),iw=class extends aa{},Mx=class extends iw{},N9=(t,e)=>nr(null,null,function*(){let r=t,n=!1;if(!a2(t)){const u=Va(t);u.classes.push("result"),r=new ws([u]),n=!0}const a=new Lm({uri:e.resolve.baseURI,parseResult:r,mediaType:e.parse.mediaType}),o=yield aw("canDereference",[a,e],e.dereference.strategies);if(Zf(o))throw new Mx(a.uri);try{const{result:u}=yield ow("dereference",[a,e],o);return n?u.get(0):u}catch(u){throw new iw(`Error while dereferencing file "${a.uri}"`,{cause:u})}}),sw=class extends aa{},Jl=class extends sw{},Bm=class{constructor({name:e,allowEmpty:r=!0,sourceMap:n=!1,fileExtensions:a=[],mediaTypes:o=[]}){Ee(this,"name");Ee(this,"allowEmpty");Ee(this,"sourceMap");Ee(this,"fileExtensions");Ee(this,"mediaTypes");this.name=e,this.allowEmpty=r,this.sourceMap=n,this.fileExtensions=a,this.mediaTypes=o}},I9=class extends Bm{constructor(e){super(Nr(Ge({},e!=null?e:{}),{name:"binary"}))}canParse(e){return this.fileExtensions.length===0||this.fileExtensions.includes(e.extension)}parse(e){try{const r=unescape(encodeURIComponent(e.toString())),n=btoa(r),a=new ws;if(n.length!==0){const o=new Ve.Om(n);o.classes.push("result"),a.push(o)}return a}catch(r){throw new Jl(`Error parsing "${e.uri}"`,{cause:r})}}},M9=class{constructor({name:e}){Ee(this,"name");this.name=e}},R9=class extends M9{constructor(e){super(Nr(Ge({},e!=null?e:{}),{name:"openapi-3-1"}))}canResolve(e,r){const n=r.dereference.strategies.find((a=>a.name==="openapi-3-1"));return n!==void 0&&n.canDereference(e,r)}resolve(e,r){return nr(this,null,function*(){const n=r.dereference.strategies.find((u=>u.name==="openapi-3-1"));if(n===void 0)throw new Mx('"openapi-3-1" dereference strategy is not available.');const a=new Zh,o=Ix(r,{resolve:{internal:!1},dereference:{refSet:a}});return yield n.dereference(e,o),a})}},D9=class{constructor({name:e}){Ee(this,"name");this.name=e}},F9=class extends D9{constructor(r){const{name:n="http-resolver",timeout:a=5e3,redirects:o=5,withCredentials:u=!1}=r!=null?r:{};super({name:n});Ee(this,"timeout");Ee(this,"redirects");Ee(this,"withCredentials");this.timeout=a,this.redirects=o,this.withCredentials=u}canRead(r){return kb(r.uri)}},lw=class extends aa{},Rx=class extends lw{},{AbortController:$9,AbortSignal:L9}=globalThis;globalThis.AbortController===void 0&&(globalThis.AbortController=$9),globalThis.AbortSignal===void 0&&(globalThis.AbortSignal=L9);const B9=class extends F9{constructor(o={}){var u=o,{swaggerHTTPClient:r=Hf,swaggerHTTPClientConfig:n={}}=u,a=jr(u,["swaggerHTTPClient","swaggerHTTPClientConfig"]);super(Nr(Ge({},a),{name:"http-swagger-client"}));Ee(this,"swaggerHTTPClient",Hf);Ee(this,"swaggerHTTPClientConfig");this.swaggerHTTPClient=r,this.swaggerHTTPClientConfig=n}getHttpClient(){return this.swaggerHTTPClient}read(r){return nr(this,null,function*(){const n=this.getHttpClient(),a=new AbortController,{signal:o}=a,u=setTimeout((()=>{a.abort()}),this.timeout),c=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",d=this.redirects===0?"error":"follow",S=this.redirects>0?this.redirects:void 0;try{return(yield n(Ge({url:r.uri,signal:o,userFetch:(_,O)=>nr(this,null,function*(){let j=yield fetch(_,O);try{j.headers.delete("Content-Type")}catch(R){j=new Response(j.body,Nr(Ge({},j),{headers:new Headers(j.headers)})),j.headers.delete("Content-Type")}return j}),credentials:c,redirect:d,follow:S},this.swaggerHTTPClientConfig))).text.arrayBuffer()}catch(_){throw new Rx(`Error downloading "${r.uri}"`,{cause:_})}finally{clearTimeout(u)}})}},Dx=(t,e=v2)=>{if(ap(t))try{return e.fromRefract(JSON.parse(t))}catch(r){}return bs(t)&&Qf("element",t)?e.fromRefract(t):e.toElement(t)},q9=class extends Bm{constructor(e={}){super(Ge({name:"json-swagger-client",mediaTypes:["application/json"]},e))}canParse(e){return nr(this,null,function*(){const r=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),n=this.mediaTypes.includes(e.mediaType);if(!r)return!1;if(n)return!0;if(!n)try{return JSON.parse(e.toString()),!0}catch(a){return!1}return!1})}parse(e){return nr(this,null,function*(){if(this.sourceMap)throw new Jl("json-swagger-client parser plugin doesn't support sourceMaps option");const r=new ws,n=e.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const a=Dx(JSON.parse(n));return a.classes.push("result"),r.push(a),r}catch(a){throw new Jl(`Error parsing "${e.uri}"`,{cause:a})}})}},U9=class extends Bm{constructor(e={}){super(Ge({name:"yaml-1-2-swagger-client",mediaTypes:["text/yaml","application/yaml"]},e))}canParse(e){return nr(this,null,function*(){const r=this.fileExtensions.length===0||this.fileExtensions.includes(e.extension),n=this.mediaTypes.includes(e.mediaType);if(!r)return!1;if(n)return!0;if(!n)try{return Ln.load(e.toString(),{schema:Ni}),!0}catch(a){return!1}return!1})}parse(e){return nr(this,null,function*(){if(this.sourceMap)throw new Jl("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const r=new ws,n=e.toString();try{const a=Ln.load(n,{schema:Ni});if(this.allowEmpty&&a===void 0)return r;const o=Dx(a);return o.classes.push("result"),r.push(o),r}catch(a){throw new Jl(`Error parsing "${e.uri}"`,{cause:a})}})}},z9=class extends Bm{constructor(r={}){super(Ge({name:"openapi-json-3-1-swagger-client",mediaTypes:new nw(...Qh.filterByFormat("generic"),...Qh.filterByFormat("json"))},r));Ee(this,"detectionRegExp",new RegExp('"openapi"\\s*:\\s*"(?<version_json>3\\.1\\.(?:[1-9]\\d*|0))"'))}canParse(r){return nr(this,null,function*(){const n=this.fileExtensions.length===0||this.fileExtensions.includes(r.extension),a=this.mediaTypes.includes(r.mediaType);if(!n)return!1;if(a)return!0;if(!a)try{const o=r.toString();return JSON.parse(o),this.detectionRegExp.test(o)}catch(o){return!1}return!1})}parse(r){return nr(this,null,function*(){if(this.sourceMap)throw new Jl("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const n=new ws,a=r.toString();if(this.allowEmpty&&a.trim()==="")return n;try{const o=JSON.parse(a),u=Xc.refract(o,this.refractorOpts);return u.classes.push("result"),n.push(u),n}catch(o){throw new Jl(`Error parsing "${r.uri}"`,{cause:o})}})}},V9=class extends Bm{constructor(r={}){super(Ge({name:"openapi-yaml-3-1-swagger-client",mediaTypes:new nw(...Qh.filterByFormat("generic"),...Qh.filterByFormat("yaml"))},r));Ee(this,"detectionRegExp",new RegExp(`(?<YAML>^(["']?)openapi\\2\\s*:\\s*(["']?)(?<version_yaml>3\\.1\\.(?:[1-9]\\d*|0))\\3(?:\\s+|$))|(?<JSON>"openapi"\\s*:\\s*"(?<version_json>3\\.1\\.(?:[1-9]\\d*|0))")`,"m"))}canParse(r){return nr(this,null,function*(){const n=this.fileExtensions.length===0||this.fileExtensions.includes(r.extension),a=this.mediaTypes.includes(r.mediaType);if(!n)return!1;if(a)return!0;if(!a)try{const o=r.toString();return Ln.load(o),this.detectionRegExp.test(o)}catch(o){return!1}return!1})}parse(r){return nr(this,null,function*(){if(this.sourceMap)throw new Jl("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const n=new ws,a=r.toString();try{const o=Ln.load(a,{schema:Ni});if(this.allowEmpty&&o===void 0)return n;const u=Xc.refract(o,this.refractorOpts);return u.classes.push("result"),n.push(u),n}catch(o){throw new Jl(`Error parsing "${r.uri}"`,{cause:o})}})}},Fx=So((function(e,r,n){return Uc(e,Jf(r,n))})),J9=class{constructor({name:e}){Ee(this,"name");this.name=e}},W9=Ar((function(e,r){return Hb(rS(e),r)}));var H9=Re(8068);const K9=class extends el{constructor(r,n){super(r,n);Ee(this,"value");n!==void 0&&(this.value=n.value)}};class cw{constructor({length:e=6}={}){Ee(this,"uuid");Ee(this,"identityMap");this.uuid=new H9({length:e}),this.identityMap=new WeakMap}identify(e){if(!da(e))throw new K9("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&wr(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);const r=new Ve.Om(this.generateId());return this.identityMap.set(e,r),r}forget(e){return!!this.identityMap.has(e)&&(this.identityMap.delete(e),!0)}generateId(){return this.uuid.randomUUID()}}new cw;const $x=So((function(e,r,n){return Dh(e,db(r,n))})),Lx=(t,e)=>{const r=new h2({predicate:t,returnOnTrue:Ur});return Ca(e,r),$x(void 0,[0],r.result)},Bx=class extends aa{},G9=class extends Bx{},Y9=class extends Bx{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}},mv=t=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(t),ed=t=>{const e=vS(t);return s2("#",e)},uw=(t,e)=>{const r=(a=>{if(!mv(a))throw new Y9(a);return a})(t),n=Lx((a=>ks(a)&&ft(a.$anchor)===r),e);if(Jc(n))throw new G9(`Evaluation failed on token: "${r}"`);return n},X9=(t,e)=>{const r=new h2({predicate:t});return Ca(e,r),new Ve.G6(r.result)},Q9=class extends aa{},pw=class extends Q9{},qx=(t,e)=>{if(e.$ref===void 0)return;const r=vS(ft(e.$ref)),n=ft(e.meta.get("ancestorsSchemaIdentifiers"));return`${Rh(((o,u)=>oo(o,Ey(On(u)))),t,[...n,ft(e.$ref)])}${r==="#"?"":r}`},qm=t=>{if(qm.cache.has(t))return qm.cache.get(t);const e=eu.refract(t);return qm.cache.set(t,e),e};qm.cache=new WeakMap;const xo=t=>op(t)?qm(t):t,gv=(t,e)=>{const{cache:r}=gv,n=On(t),a=u=>ks(u)&&u.$id!==void 0;if(!r.has(e)){const u=X9(a,e);r.set(e,Array.from(u))}const o=r.get(e).find((u=>((d,S)=>{if(S.$id===void 0)return;const _=ft(S.meta.get("ancestorsSchemaIdentifiers"));return Rh(((O,j)=>oo(O,Ey(On(j)))),d,_)})(n,u)===n));if(Jc(o))throw new pw(`Evaluation failed on URI: "${t}"`);return mv(ed(t))?uw(ed(t),o):xs(o,Li(t))};gv.cache=new WeakMap;const td=class extends iw{},Z9=class extends lw{},Ux=class extends Rx{},eM=(t,e)=>nr(null,null,function*(){const r=new Lm({uri:Ey(On(t)),mediaType:e.parse.mediaType}),n=yield((a,o)=>nr(null,null,function*(){const u=o.resolve.resolvers.map((d=>{const S=Object.create(d);return Object.assign(S,o.resolve.resolverOpts)})),c=yield aw("canRead",[a,o],u);if(Zf(c))throw new Ux(a.uri);try{const{result:d}=yield ow("read",[a],c);return d}catch(d){throw new lw(`Error while reading file "${a.uri}"`,{cause:d})}}))(r,e);return((a,o)=>nr(null,null,function*(){const u=o.parse.parsers.map((d=>{const S=Object.create(d);return Object.assign(S,o.parse.parserOpts)})),c=yield aw("canParse",[a,o],u);if(Zf(c))throw new Ux(a.uri);try{const{plugin:d,result:S}=yield ow("parse",[a,o],c);return!d.allowEmpty&&S.isEmpty?Promise.reject(new sw(`Error while parsing file "${a.uri}". File is empty.`)):S}catch(d){throw new sw(`Error while parsing file "${a.uri}"`,{cause:d})}}))(new Lm(Nr(Ge({},r),{data:n})),e)});class hw extends Array{includesCycle(e){return this.filter((r=>r.has(e))).length>1}includes(e,r){return e instanceof Set?super.includes(e,r):this.some((n=>n.has(e)))}findItem(e){for(const r of this)for(const n of r)if(da(n)&&e(n))return n}}const yv=Ca[Symbol.for("nodejs.util.promisify.custom")],po=new cw,Ui=(t,e,r,n)=>{Es(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class rd{constructor({reference:e,namespace:r,options:n,indirections:a=[],ancestors:o=new hw,refractCache:u=new Map,allOfDiscriminatorMapping:c=new Map}){Ee(this,"indirections");Ee(this,"namespace");Ee(this,"reference");Ee(this,"options");Ee(this,"ancestors");Ee(this,"refractCache");Ee(this,"allOfDiscriminatorMapping");Ee(this,"OpenApi3_1Element",{leave:(e,r,n,a,o,u)=>{var c;if((c=this.options.dereference.strategyOpts["openapi-3-1"])===null||c===void 0||!c.dereferenceDiscriminatorMapping)return;const d=Va(e);return d.setMetaProperty("allOfDiscriminatorMapping",Object.fromEntries(this.allOfDiscriminatorMapping)),u.replaceWith(d,Ui),n?void 0:d}});this.indirections=a,this.namespace=r,this.reference=e,this.options=n,this.ancestors=new hw(...o),this.refractCache=u,this.allOfDiscriminatorMapping=c}toBaseURI(e){return oo(this.reference.uri,Ey(On(e)))}toReference(e){return nr(this,null,function*(){if(this.reference.depth>=this.options.resolve.maxDepth)throw new Z9(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const r=this.toBaseURI(e),{refSet:n}=this.reference;if(n.has(r))return n.find(Fx(r,"uri"));const a=yield eM(tl(r),Nr(Ge({},this.options),{parse:Nr(Ge({},this.options.parse),{mediaType:"text/plain"})})),o=new Vl({uri:r,value:Yt(a),depth:this.reference.depth+1});if(n.add(o),this.options.dereference.immutable){const u=new Vl({uri:`immutable://${r}`,value:a,depth:this.reference.depth+1});n.add(u)}return o})}toAncestorLineage(e){const r=new Set(e.filter(da));return[new hw(...this.ancestors,r),r]}ReferenceElement(e,r,n,a,o,u){return nr(this,null,function*(){if(this.indirections.includes(e))return!1;const[c,d]=this.toAncestorLineage([...o,n]),S=this.toBaseURI(ft(e.$ref)),_=On(this.reference.uri)===S,O=!_;if(!this.options.resolve.internal&&_||!this.options.resolve.external&&O)return!1;const j=yield this.toReference(ft(e.$ref)),R=oo(S,ft(e.$ref));this.indirections.push(e);const $=Li(R);let L=xs(j.value.result,$);if(L.id=po.identify(L),op(L)){const le=ft(e.meta.get("referenced-element")),ce=`${le}-${ft(po.identify(L))}`;this.refractCache.has(ce)?L=this.refractCache.get(ce):qn(L)?(L=Xh.refract(L),L.setMetaProperty("referenced-element",le),this.refractCache.set(ce,L)):(L=this.namespace.getElementClass(le).refract(L),this.refractCache.set(ce,L))}if(e===L)throw new aa("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new td(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(c.includes(L)){if(j.refSet.circular=!0,this.options.dereference.circular==="error")throw new aa("Circular reference detected");if(this.options.dereference.circular==="replace"){var q,X;const le=new Ve.sI(L.id,{type:"reference",uri:j.uri,$ref:ft(e.$ref)}),ce=((q=(X=this.options.dereference.strategyOpts["openapi-3-1"])===null||X===void 0?void 0:X.circularReplacer)!==null&&q!==void 0?q:this.options.dereference.circularReplacer)(le);return u.replaceWith(ce,Ui),!n&&ce}}const D=On(j.refSet.rootRef.uri)!==j.uri,se=["error","replace"].includes(this.options.dereference.circular);if((O||D||up(L)||se)&&!c.includesCycle(L)){d.add(e);const le=new rd({reference:j,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:c,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});L=yield yv(L,le,{keyMap:Os,nodeTypeGetter:qi}),d.delete(e)}this.indirections.pop();const te=Va(L);return te.setMetaProperty("id",po.generateId()),te.setMetaProperty("ref-fields",{$ref:ft(e.$ref),description:ft(e.description),summary:ft(e.summary)}),te.setMetaProperty("ref-origin",j.uri),te.setMetaProperty("ref-referencing-element-id",Yt(po.identify(e))),on(L)&&on(te)&&(e.hasKey("description")&&"description"in L&&(te.remove("description"),te.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in L&&(te.remove("summary"),te.set("summary",e.get("summary")))),u.replaceWith(te,Ui),!n&&te})}PathItemElement(e,r,n,a,o,u){return nr(this,null,function*(){if(!wr(e.$ref))return;if(this.indirections.includes(e))return!1;const[c,d]=this.toAncestorLineage([...o,n]),S=this.toBaseURI(ft(e.$ref)),_=On(this.reference.uri)===S,O=!_;if(!this.options.resolve.internal&&_||!this.options.resolve.external&&O)return;const j=yield this.toReference(ft(e.$ref)),R=oo(S,ft(e.$ref));this.indirections.push(e);const $=Li(R);let L=xs(j.value.result,$);if(L.id=po.identify(L),op(L)){const te=`path-item-${ft(po.identify(L))}`;this.refractCache.has(te)?L=this.refractCache.get(te):(L=Qc.refract(L),this.refractCache.set(te,L))}if(e===L)throw new aa("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new td(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(c.includes(L)){if(j.refSet.circular=!0,this.options.dereference.circular==="error")throw new aa("Circular reference detected");if(this.options.dereference.circular==="replace"){var q,X;const te=new Ve.sI(L.id,{type:"path-item",uri:j.uri,$ref:ft(e.$ref)}),le=((q=(X=this.options.dereference.strategyOpts["openapi-3-1"])===null||X===void 0?void 0:X.circularReplacer)!==null&&q!==void 0?q:this.options.dereference.circularReplacer)(te);return u.replaceWith(le,Ui),!n&&le}}const D=On(j.refSet.rootRef.uri)!==j.uri,se=["error","replace"].includes(this.options.dereference.circular);if((O||D||cp(L)&&wr(L.$ref)||se)&&!c.includesCycle(L)){d.add(e);const te=new rd({reference:j,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:c,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});L=yield yv(L,te,{keyMap:Os,nodeTypeGetter:qi}),d.delete(e)}if(this.indirections.pop(),cp(L)){const te=new Qc([...L.content],Yt(L.meta),Yt(L.attributes));te.setMetaProperty("id",po.generateId()),e.forEach(((le,ce,ie)=>{te.remove(ft(ce)),te.content.push(ie)})),te.remove("$ref"),te.setMetaProperty("ref-fields",{$ref:ft(e.$ref)}),te.setMetaProperty("ref-origin",j.uri),te.setMetaProperty("ref-referencing-element-id",Yt(po.identify(e))),L=te}return u.replaceWith(L,Ui),n?void 0:L})}LinkElement(e,r,n,a,o,u){return nr(this,null,function*(){if(!wr(e.operationRef)&&!wr(e.operationId))return;if(wr(e.operationRef)&&wr(e.operationId))throw new aa("LinkElement operationRef and operationId fields are mutually exclusive.");let c;if(wr(e.operationRef)){var d;const _=Li(ft(e.operationRef)),O=this.toBaseURI(ft(e.operationRef)),j=On(this.reference.uri)===O,R=!j;if(!this.options.resolve.internal&&j||!this.options.resolve.external&&R)return;const $=yield this.toReference(ft(e.operationRef));if(c=xs($.value.result,_),op(c)){const q=`operation-${ft(po.identify(c))}`;this.refractCache.has(q)?c=this.refractCache.get(q):(c=Tm.refract(c),this.refractCache.set(q,c))}c=Va(c),c.setMetaProperty("ref-origin",$.uri);const L=Va(e);return(d=L.operationRef)===null||d===void 0||d.meta.set("operation",c),u.replaceWith(L,Ui),n?void 0:L}if(wr(e.operationId)){var S;const _=ft(e.operationId),O=yield this.toReference(tl(this.reference.uri));if(c=Lx((R=>Ax(R)&&da(R.operationId)&&R.operationId.equals(_)),O.value.result),Jc(c))throw new aa(`OperationElement(operationId=${_}) not found.`);const j=Va(e);return(S=j.operationId)===null||S===void 0||S.meta.set("operation",c),u.replaceWith(j,Ui),n?void 0:j}})}ExampleElement(e,r,n,a,o,u){return nr(this,null,function*(){if(!wr(e.externalValue))return;if(e.hasKey("value")&&wr(e.externalValue))throw new aa("ExampleElement value and externalValue fields are mutually exclusive.");const c=this.toBaseURI(ft(e.externalValue)),d=On(this.reference.uri)===c,S=!d;if(!this.options.resolve.internal&&d||!this.options.resolve.external&&S)return;const _=yield this.toReference(ft(e.externalValue)),O=Va(_.value.result);O.setMetaProperty("ref-origin",_.uri);const j=Va(e);return j.value=O,u.replaceWith(j,Ui),n?void 0:j})}MemberElement(e,r,n,a,o,u){return nr(this,null,function*(){var c;const d=o[o.length-1];if(!on(d)||!d.classes.contains("discriminator-mapping"))return;if((c=this.options.dereference.strategyOpts["openapi-3-1"])===null||c===void 0||!c.dereferenceDiscriminatorMapping||!wr(e.key)||!wr(e.value)||this.indirections.includes(e))return!1;this.indirections.push(e);const[S,_]=this.toAncestorLineage([...o,n]),O=[..._].findLast(ks),j=Yt(O.getMetaProperty("ancestorsSchemaIdentifiers")),R=ft(e.value),$=/^[a-zA-Z0-9\\.\\-_]+$/.test(R)?`#/components/schemas/${R}`:R,L=new eu({$ref:$});L.setMetaProperty("ancestorsSchemaIdentifiers",j),_.add(L);const q=new rd({reference:this.reference,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:S,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping}),X=yield yv(L,q,{keyMap:Os,nodeTypeGetter:qi});_.delete(L),this.indirections.pop();const D=Va(e);return D.value.setMetaProperty("ref-schema",X),u.replaceWith(D,Ui),n?void 0:D})}SchemaElement(e,r,n,a,o,u){return nr(this,null,function*(){if(!wr(e.$ref))return;if(this.indirections.includes(e))return!1;const[c,d]=this.toAncestorLineage([...o,n]);let S=yield this.toReference(tl(this.reference.uri)),{uri:_}=S;const O=qx(_,e),j=On(O),R=new Lm({uri:j}),$=W9((ue=>ue.canRead(R)),this.options.resolve.resolvers),L=!$;let q,X=On(this.reference.uri)===O,D=!X;this.indirections.push(e);try{if($||L){_=this.toBaseURI(O);const ue=O,ve=xo(S.value.result);if(q=gv(ue,ve),q=xo(q),q.id=po.identify(q),!this.options.resolve.internal&&X||!this.options.resolve.external&&D)return}else{if(_=this.toBaseURI(O),X=On(this.reference.uri)===_,D=!X,!this.options.resolve.internal&&X||!this.options.resolve.external&&D)return;S=yield this.toReference(tl(O));const ue=Li(O),ve=xo(S.value.result);q=xs(ve,ue),q=xo(q),q.id=po.identify(q)}}catch(ue){if(!(L&&ue instanceof pw))throw ue;if(mv(ed(O))){if(X=On(this.reference.uri)===_,D=!X,!this.options.resolve.internal&&X||!this.options.resolve.external&&D)return;S=yield this.toReference(tl(O));const ve=ed(O),fe=xo(S.value.result);q=uw(ve,fe),q=xo(q),q.id=po.identify(q)}else{if(_=this.toBaseURI(O),X=On(this.reference.uri)===_,D=!X,!this.options.resolve.internal&&X||!this.options.resolve.external&&D)return;S=yield this.toReference(tl(O));const ve=Li(O),fe=xo(S.value.result);q=xs(fe,ve),q=xo(q),q.id=po.identify(q)}}if(e===q)throw new aa("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new td(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(c.includes(q)){if(S.refSet.circular=!0,this.options.dereference.circular==="error")throw new aa("Circular reference detected");if(this.options.dereference.circular==="replace"){var se,te;const ue=new Ve.sI(q.id,{type:"json-schema",uri:S.uri,$ref:ft(e.$ref)}),ve=((se=(te=this.options.dereference.strategyOpts["openapi-3-1"])===null||te===void 0?void 0:te.circularReplacer)!==null&&se!==void 0?se:this.options.dereference.circularReplacer)(ue);return u.replaceWith(ve,Ui),!n&&ve}}const le=On(S.refSet.rootRef.uri)!==S.uri,ce=["error","replace"].includes(this.options.dereference.circular);if((D||le||ks(q)&&wr(q.$ref)||ce)&&!c.includesCycle(q)){d.add(e);const ue=new rd({reference:S,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:c,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});q=yield yv(q,ue,{keyMap:Os,nodeTypeGetter:qi}),d.delete(e)}if(this.indirections.pop(),Q1(q)){const ue=Yt(q);return ue.setMetaProperty("id",po.generateId()),ue.setMetaProperty("ref-fields",{$ref:ft(e.$ref),$refBaseURI:O}),ue.setMetaProperty("ref-origin",S.uri),ue.setMetaProperty("ref-referencing-element-id",Yt(po.identify(e))),u.replaceWith(ue,Ui),!n&&ue}if(ks(q)){var ie;const ue=new eu([...q.content],Yt(q.meta),Yt(q.attributes));if(ue.setMetaProperty("id",po.generateId()),e.forEach(((ve,fe,be)=>{ue.remove(ft(fe)),ue.content.push(be)})),ue.remove("$ref"),ue.setMetaProperty("ref-fields",{$ref:ft(e.$ref),$refBaseURI:O}),ue.setMetaProperty("ref-origin",S.uri),ue.setMetaProperty("ref-referencing-element-id",Yt(po.identify(e))),(ie=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&ie!==void 0&&ie.dereferenceDiscriminatorMapping){var _e;const ve=o[o.length-1],fe=[...d].findLast(ks),be=fe==null?void 0:fe.getMetaProperty("schemaName"),je=ft(ue.getMetaProperty("schemaName"));if(je&&be&&ve!=null&&(_e=ve.classes)!==null&&_e!==void 0&&_e.contains("json-schema-allOf")){var me;const qe=(me=this.allOfDiscriminatorMapping.get(je))!==null&&me!==void 0?me:[];qe.push(fe),this.allOfDiscriminatorMapping.set(je,qe)}}q=ue}return u.replaceWith(q,Ui),n?void 0:q})}}const zx=rd,tM=Ca[Symbol.for("nodejs.util.promisify.custom")],rM=class extends J9{constructor(e){super(Nr(Ge({},e!=null?e:{}),{name:"openapi-3-1"}))}canDereference(e){var r;return e.mediaType!=="text/plain"?Qh.includes(e.mediaType):Ox((r=e.parseResult)===null||r===void 0?void 0:r.result)}dereference(e,r){return nr(this,null,function*(){var n;const a=zl(tw),o=(n=r.dereference.refSet)!==null&&n!==void 0?n:new Zh,u=new Zh;let c,d=o;o.has(e.uri)?c=o.find(Fx(e.uri,"uri")):(c=new Vl({uri:e.uri,value:e.parseResult}),o.add(c)),r.dereference.immutable&&(o.refs.map((O=>new Vl(Nr(Ge({},O),{value:Yt(O.value)})))).forEach((O=>u.add(O))),c=u.find((O=>O.uri===e.uri)),d=u);const S=new zx({reference:c,namespace:a,options:r}),_=yield tM(d.rootRef.value,S,{keyMap:Os,nodeTypeGetter:qi});return r.dereference.immutable&&u.refs.filter((O=>O.uri.startsWith("immutable://"))).map((O=>new Vl(Nr(Ge({},O),{uri:O.uri.replace(/^immutable:\/\//,"")})))).forEach((O=>o.add(O))),r.dereference.refSet===null&&o.clean(),u.clean(),_})}},As=t=>{const e=(r=>r.slice(2))(t);return e.reduce(((r,n,a)=>{if(Es(n)){const o=String(ft(n.key));r.push(o)}else if(so(e[a-2])){const o=e[a-2].content.indexOf(n);r.push(o)}return r}),[])},nM=class{constructor({modelPropertyMacro:e,options:r}){Ee(this,"modelPropertyMacro");Ee(this,"options");Ee(this,"SchemaElement",{leave:(e,r,n,a,o)=>{e.properties!==void 0&&on(e.properties)&&e.properties.forEach((u=>{if(on(u))try{const S=this.modelPropertyMacro(ft(u));u.set("default",S)}catch(S){var c,d;const _=new Error(S,{cause:S});_.fullPath=[...As([...o,n,e]),"properties"],(c=this.options.dereference.dereferenceOpts)===null||c===void 0||(c=c.errors)===null||c===void 0||(d=c.push)===null||d===void 0||d.call(c,_)}}))}});this.modelPropertyMacro=e,this.options=r}};var aM=(function(){function t(e,r){this.xf=r,this.pred=e,this.items=[]}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=zf,t.prototype["@@transducer/step"]=function(e,r){return py(this.pred,r,this.items)?e:(this.items.push(r),this.xf["@@transducer/step"](e,r))},t})();function oM(t){return function(e){return new aM(t,e)}}var iM=Ar(zc([],oM,(function(t,e){for(var r,n=0,a=e.length,o=[];n<a;)py(t,r=e[n],o)||(o[o.length]=r),n+=1;return o})));const Vx=iM,sM=class{constructor({options:e}){Ee(this,"options");Ee(this,"SchemaElement",{leave(e,r,n,a,o){if(e.allOf!==void 0){if(!so(e.allOf)){var u,c;const _=new TypeError("allOf must be an array");return _.fullPath=[...As([...o,n,e]),"allOf"],void((u=this.options.dereference.dereferenceOpts)===null||u===void 0||(u=u.errors)===null||u===void 0||(c=u.push)===null||c===void 0||c.call(u,_))}if(e.allOf.isEmpty)return void e.remove("allOf");if(!e.allOf.content.every(ks)){var d,S;const _=new TypeError("Elements in allOf must be objects");return _.fullPath=[...As([...o,n,e]),"allOf"],void((d=this.options.dereference.dereferenceOpts)===null||d===void 0||(d=d.errors)===null||d===void 0||(S=d.push)===null||S===void 0||S.call(d,_))}for(;e.hasKey("allOf");){const{allOf:_}=e;e.remove("allOf");const O=sp.all([..._.content,e],{customMerge:j=>ft(j)==="enum"?(R,$)=>{if(Uh(["json-schema-enum"],R)&&Uh(["json-schema-enum"],$)){const L=(X,D)=>!(so(X)||so(D)||on(X)||on(D))&&X.equals(ft(D)),q=Va(R);return q.content=Vx(L)([...R.content,...$.content]),q}return sp(R,$)}:sp});if(e.hasKey("$$ref")||O.remove("$$ref"),e.hasKey("example")){const j=O.getMember("example");j&&(j.value=e.get("example"))}if(e.hasKey("examples")){const j=O.getMember("examples");j&&(j.value=e.get("examples"))}e.content=O.content}}}});this.options=e}},lM=(VA=class{constructor({parameterMacro:e,options:r}){Ee(this,"parameterMacro");Ee(this,"options");Zl(this,Ep);Ee(this,"OperationElement",{enter:e=>{yd(this,Ep,e)},leave:()=>{yd(this,Ep,void 0)}});Ee(this,"ParameterElement",{leave:(e,r,n,a,o)=>{const u=ta(this,Ep)?ft(ta(this,Ep)):null,c=ft(e);try{const _=this.parameterMacro(u,c);e.set("default",_)}catch(_){var d,S;const O=new Error(_,{cause:_});O.fullPath=As([...o,n]),(d=this.options.dereference.dereferenceOpts)===null||d===void 0||(d=d.errors)===null||d===void 0||(S=d.push)===null||S===void 0||S.call(d,O)}}});this.parameterMacro=e,this.options=r}},Ep=new WeakMap,VA),vv=t=>{if(t.cause==null)return t;let{cause:e}=t;for(;e.cause!=null;)e=e.cause;return e},cM=class extends el{},{wrapError:dw}=MS,fw=Ca[Symbol.for("nodejs.util.promisify.custom")],zi=new cw,pp=(t,e,r,n)=>{Es(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class nd extends zx{constructor(u){var c=u,{allowMetaPatches:r=!0,useCircularStructures:n=!1,basePath:a=null}=c,o=jr(c,["allowMetaPatches","useCircularStructures","basePath"]);super(o);Ee(this,"useCircularStructures");Ee(this,"allowMetaPatches");Ee(this,"basePath");this.allowMetaPatches=r,this.useCircularStructures=n,this.basePath=a}ReferenceElement(r,n,a,o,u,c){return nr(this,null,function*(){try{if(this.indirections.includes(r))return!1;const[$,L]=this.toAncestorLineage([...u,a]),q=this.toBaseURI(ft(r.$ref)),X=On(this.reference.uri)===q,D=!X;if(!this.options.resolve.internal&&X||!this.options.resolve.external&&D)return!1;const se=yield this.toReference(ft(r.$ref)),te=oo(q,ft(r.$ref));this.indirections.push(r);const le=Li(te);let ce=xs(se.value.result,le);if(ce.id=zi.identify(ce),op(ce)){const ue=ft(r.meta.get("referenced-element")),ve=`${ue}-${ft(zi.identify(ce))}`;this.refractCache.has(ve)?ce=this.refractCache.get(ve):qn(ce)?(ce=Xh.refract(ce),ce.setMetaProperty("referenced-element",ue),this.refractCache.set(ve,ce)):(ce=this.namespace.getElementClass(ue).refract(ce),this.refractCache.set(ve,ce))}if(r===ce)throw new aa("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new td(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if($.includes(ce)){if(se.refSet.circular=!0,this.options.dereference.circular==="error")throw new aa("Circular reference detected");if(this.options.dereference.circular==="replace"){var d,S;const ue=new Ve.sI(ce.id,{type:"reference",uri:se.uri,$ref:ft(r.$ref),baseURI:te,referencingElement:r}),ve=((d=(S=this.options.dereference.strategyOpts["openapi-3-1"])===null||S===void 0?void 0:S.circularReplacer)!==null&&d!==void 0?d:this.options.dereference.circularReplacer)(ue);return c.replaceWith(ue,pp),!a&&ve}}const ie=On(se.refSet.rootRef.uri)!==se.uri,_e=["error","replace"].includes(this.options.dereference.circular);if((D||ie||up(ce)||_e)&&!$.includesCycle(ce)){var _;L.add(r);const ue=new nd({reference:se,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:$,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(_=this.basePath)!==null&&_!==void 0?_:[...As([...u,a,r]),"$ref"]});ce=yield fw(ce,ue,{keyMap:Os,nodeTypeGetter:qi}),L.delete(r)}this.indirections.pop();const me=Va(ce);if(me.setMetaProperty("ref-fields",{$ref:ft(r.$ref),description:ft(r.description),summary:ft(r.summary)}),me.setMetaProperty("ref-origin",se.uri),me.setMetaProperty("ref-referencing-element-id",Yt(zi.identify(r))),on(ce)&&(r.hasKey("description")&&"description"in ce&&(me.remove("description"),me.set("description",r.get("description"))),r.hasKey("summary")&&"summary"in ce&&(me.remove("summary"),me.set("summary",r.get("summary")))),this.allowMetaPatches&&on(me)&&!me.hasKey("$$ref")){const ue=oo(q,te);me.set("$$ref",ue)}return c.replaceWith(me,pp),!a&&me}catch($){var O,j,R;const L=vv($),q=dw(L,{baseDoc:this.reference.uri,$ref:ft(r.$ref),pointer:Li(ft(r.$ref)),fullPath:(O=this.basePath)!==null&&O!==void 0?O:[...As([...u,a,r]),"$ref"]});return void((j=this.options.dereference.dereferenceOpts)===null||j===void 0||(j=j.errors)===null||j===void 0||(R=j.push)===null||R===void 0||R.call(j,q))}})}PathItemElement(r,n,a,o,u,c){return nr(this,null,function*(){try{if(!wr(r.$ref))return;if(this.indirections.includes(r)||Uh(["cycle"],r.$ref))return!1;const[$,L]=this.toAncestorLineage([...u,a]),q=this.toBaseURI(ft(r.$ref)),X=On(this.reference.uri)===q,D=!X;if(!this.options.resolve.internal&&X||!this.options.resolve.external&&D)return;const se=yield this.toReference(ft(r.$ref)),te=oo(q,ft(r.$ref));this.indirections.push(r);const le=Li(te);let ce=xs(se.value.result,le);if(ce.id=zi.identify(ce),op(ce)){const me=`path-item-${ft(zi.identify(ce))}`;this.refractCache.has(me)?ce=this.refractCache.get(me):(ce=Qc.refract(ce),this.refractCache.set(me,ce))}if(r===ce)throw new aa("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new td(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if($.includes(ce)){if(se.refSet.circular=!0,this.options.dereference.circular==="error")throw new aa("Circular reference detected");if(this.options.dereference.circular==="replace"){var d,S;const me=new Ve.sI(ce.id,{type:"path-item",uri:se.uri,$ref:ft(r.$ref),baseURI:te,referencingElement:r}),ue=((d=(S=this.options.dereference.strategyOpts["openapi-3-1"])===null||S===void 0?void 0:S.circularReplacer)!==null&&d!==void 0?d:this.options.dereference.circularReplacer)(me);return c.replaceWith(me,pp),!a&&ue}}const ie=On(se.refSet.rootRef.uri)!==se.uri,_e=["error","replace"].includes(this.options.dereference.circular);if((D||ie||cp(ce)&&wr(ce.$ref)||_e)&&!$.includesCycle(ce)){var _;L.add(r);const me=new nd({reference:se,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:$,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(_=this.basePath)!==null&&_!==void 0?_:[...As([...u,a,r]),"$ref"]});ce=yield fw(ce,me,{keyMap:Os,nodeTypeGetter:qi}),L.delete(r)}if(this.indirections.pop(),cp(ce)){const me=new Qc([...ce.content],Yt(ce.meta),Yt(ce.attributes));if(r.forEach(((ue,ve,fe)=>{me.remove(ft(ve)),me.content.push(fe)})),me.remove("$ref"),me.setMetaProperty("ref-fields",{$ref:ft(r.$ref)}),me.setMetaProperty("ref-origin",se.uri),me.setMetaProperty("ref-referencing-element-id",Yt(zi.identify(r))),this.allowMetaPatches&&me.get("$$ref")===void 0){const ue=oo(q,te);me.set("$$ref",ue)}ce=me}return c.replaceWith(ce,pp),a?void 0:ce}catch($){var O,j,R;const L=vv($),q=dw(L,{baseDoc:this.reference.uri,$ref:ft(r.$ref),pointer:Li(ft(r.$ref)),fullPath:(O=this.basePath)!==null&&O!==void 0?O:[...As([...u,a,r]),"$ref"]});return void((j=this.options.dereference.dereferenceOpts)===null||j===void 0||(j=j.errors)===null||j===void 0||(R=j.push)===null||R===void 0||R.call(j,q))}})}SchemaElement(r,n,a,o,u,c){return nr(this,null,function*(){try{if(!wr(r.$ref))return;if(this.indirections.includes(r))return!1;const[$,L]=this.toAncestorLineage([...u,a]);let q=yield this.toReference(tl(this.reference.uri)),{uri:X}=q;const D=qx(X,r),se=On(D),te=new Lm({uri:se}),le=!this.options.resolve.resolvers.some((fe=>fe.canRead(te))),ce=!le;let ie,_e=On(this.reference.uri)===D,me=!_e;this.indirections.push(r);try{if(le||ce){X=this.toBaseURI(D);const fe=D,be=xo(q.value.result);if(ie=gv(fe,be),ie=xo(ie),ie.id=zi.identify(ie),!this.options.resolve.internal&&_e||!this.options.resolve.external&&me)return}else{if(X=this.toBaseURI(D),_e=On(this.reference.uri)===X,me=!_e,!this.options.resolve.internal&&_e||!this.options.resolve.external&&me)return;q=yield this.toReference(tl(D));const fe=Li(D),be=xo(q.value.result);ie=xs(be,fe),ie=xo(ie),ie.id=zi.identify(ie)}}catch(fe){if(!(ce&&fe instanceof pw))throw fe;if(mv(ed(D))){if(_e=On(this.reference.uri)===X,me=!_e,!this.options.resolve.internal&&_e||!this.options.resolve.external&&me)return;q=yield this.toReference(tl(D));const be=ed(D),je=xo(q.value.result);ie=uw(be,je),ie=xo(ie),ie.id=zi.identify(ie)}else{if(X=this.toBaseURI(ft(D)),_e=On(this.reference.uri)===X,me=!_e,!this.options.resolve.internal&&_e||!this.options.resolve.external&&me)return;q=yield this.toReference(tl(D));const be=Li(D),je=xo(q.value.result);ie=xs(je,be),ie=xo(ie),ie.id=zi.identify(ie)}}if(r===ie)throw new aa("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new td(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if($.includes(ie)){if(q.refSet.circular=!0,this.options.dereference.circular==="error")throw new aa("Circular reference detected");if(this.options.dereference.circular==="replace"){var d,S;const fe=new Ve.sI(ie.id,{type:"json-schema",uri:q.uri,$ref:ft(r.$ref),baseURI:oo(X,D),referencingElement:r}),be=((d=(S=this.options.dereference.strategyOpts["openapi-3-1"])===null||S===void 0?void 0:S.circularReplacer)!==null&&d!==void 0?d:this.options.dereference.circularReplacer)(fe);return c.replaceWith(be,pp),!a&&be}}const ue=On(q.refSet.rootRef.uri)!==q.uri,ve=["error","replace"].includes(this.options.dereference.circular);if((me||ue||ks(ie)&&wr(ie.$ref)||ve)&&!$.includesCycle(ie)){var _;L.add(r);const fe=new nd({reference:q,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:$,basePath:(_=this.basePath)!==null&&_!==void 0?_:[...As([...u,a,r]),"$ref"]});ie=yield fw(ie,fe,{keyMap:Os,nodeTypeGetter:qi}),L.delete(r)}if(this.indirections.pop(),Q1(ie)){const fe=Yt(ie);return fe.setMetaProperty("ref-fields",{$ref:ft(r.$ref)}),fe.setMetaProperty("ref-origin",q.uri),fe.setMetaProperty("ref-referencing-element-id",Yt(zi.identify(r))),c.replaceWith(fe,pp),!a&&fe}if(ks(ie)){const fe=new eu([...ie.content],Yt(ie.meta),Yt(ie.attributes));if(r.forEach(((be,je,qe)=>{fe.remove(ft(je)),fe.content.push(qe)})),fe.remove("$ref"),fe.setMetaProperty("ref-fields",{$ref:ft(r.$ref)}),fe.setMetaProperty("ref-origin",q.uri),fe.setMetaProperty("ref-referencing-element-id",Yt(zi.identify(r))),this.allowMetaPatches&&fe.get("$$ref")===void 0){const be=oo(X,D);fe.set("$$ref",be)}ie=fe}return c.replaceWith(ie,pp),a?void 0:ie}catch($){var O,j,R;const L=vv($),q=new cM(`Could not resolve reference: ${L.message}`,{baseDoc:this.reference.uri,$ref:ft(r.$ref),fullPath:(O=this.basePath)!==null&&O!==void 0?O:[...As([...u,a,r]),"$ref"],cause:L});return void((j=this.options.dereference.dereferenceOpts)===null||j===void 0||(j=j.errors)===null||j===void 0||(R=j.push)===null||R===void 0||R.call(j,q))}})}LinkElement(){return nr(this,null,function*(){})}ExampleElement(r,n,a,o,u,c){return nr(this,null,function*(){try{return yield pC(nd.prototype,this,"ExampleElement").call(this,r,n,a,o,u,c)}catch(O){var d,S,_;const j=vv(O),R=dw(j,{baseDoc:this.reference.uri,externalValue:ft(r.externalValue),fullPath:(d=this.basePath)!==null&&d!==void 0?d:[...As([...u,a,r]),"externalValue"]});return void((S=this.options.dereference.dereferenceOpts)===null||S===void 0||(S=S.errors)===null||S===void 0||(_=S.push)===null||_===void 0||_.call(S,R))}})}}const uM=nd,pM=jy[Symbol.for("nodejs.util.promisify.custom")],hM=class{constructor(u){var c=u,{parameterMacro:e,modelPropertyMacro:r,mode:n,options:a}=c,o=jr(c,["parameterMacro","modelPropertyMacro","mode","options"]);const d=[];d.push(new uM(Nr(Ge({},o),{options:a}))),typeof r=="function"&&d.push(new nM({modelPropertyMacro:r,options:a})),n!=="strict"&&d.push(new sM({options:a})),typeof e=="function"&&d.push(new lM({parameterMacro:e,options:a}));const S=pM(d,{nodeTypeGetter:qi});Object.assign(this,S)}},dM=Ca[Symbol.for("nodejs.util.promisify.custom")],fM=class extends rM{constructor(d={}){var S=d,{allowMetaPatches:r=!1,parameterMacro:n=null,modelPropertyMacro:a=null,mode:o="non-strict",ancestors:u=[]}=S,c=jr(S,["allowMetaPatches","parameterMacro","modelPropertyMacro","mode","ancestors"]);super(Ge({},c));Ee(this,"allowMetaPatches");Ee(this,"parameterMacro");Ee(this,"modelPropertyMacro");Ee(this,"mode");Ee(this,"ancestors");this.name="openapi-3-1-swagger-client",this.allowMetaPatches=r,this.parameterMacro=n,this.modelPropertyMacro=a,this.mode=o,this.ancestors=[...u]}dereference(r,n){return nr(this,null,function*(){var a;const o=zl(tw),u=(a=n.dereference.refSet)!==null&&a!==void 0?a:new Zh,c=new Zh;let d,S=u;u.has(r.uri)?d=u.find((j=>j.uri===r.uri)):(d=new Vl({uri:r.uri,value:r.parseResult}),u.add(d)),n.dereference.immutable&&(u.refs.map((j=>new Vl(Nr(Ge({},j),{value:Yt(j.value)})))).forEach((j=>c.add(j))),d=c.find((j=>j.uri===r.uri)),S=c);const _=new hM({reference:d,namespace:o,options:n,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors,modelPropertyMacro:this.modelPropertyMacro,mode:this.mode,parameterMacro:this.parameterMacro}),O=yield dM(S.rootRef.value,_,{keyMap:Os,nodeTypeGetter:qi});return n.dereference.immutable&&c.refs.filter((j=>j.uri.startsWith("immutable://"))).map((j=>new Vl(Nr(Ge({},j),{uri:j.uri.replace(/^immutable:\/\//,"")})))).forEach((j=>u.add(j))),n.dereference.refSet===null&&u.clean(),c.clean(),O})}},mM=t=>{const e=ft(t.meta.get("baseURI")),r=t.meta.get("referencingElement");return new Ve.Sh({$ref:e},Yt(r.meta),Yt(r.attributes))},mw=t=>nr(null,null,function*(){const{spec:e,timeout:r,redirects:n,requestInterceptor:a,responseInterceptor:o,pathDiscriminator:u=[],allowMetaPatches:c=!1,useCircularStructures:d=!1,skipNormalization:S=!1,parameterMacro:_=null,modelPropertyMacro:O=null,mode:j="non-strict",strategies:R}=t;try{const{cache:$}=mw,L=R.find((qe=>qe.match(e))),q=kb(Ob())?Ob():xy,X=Lb(t),D=oo(q,X);let se;$.has(e)?se=$.get(e):(se=Xc.refract(e),se.classes.push("result"),$.set(e,se));const te=new ws([se]),le=S2(u),ce=le===""?"":`#${le}`,ie=xs(se,le),_e=new Vl({uri:D,value:te}),me=new Zh({refs:[_e]});le!==""&&(me.rootRef=void 0);const ue=[new Set([ie])],ve=[],fe=yield((_t,...It)=>nr(null,[_t,...It],function*(qe,pt={}){const Wt=Ix(Tx,pt);return N9(qe,Wt)}))(ie,{resolve:{baseURI:`${D}${ce}`,resolvers:[new B9({timeout:r||1e4,redirects:n||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:a,responseInterceptor:o}},strategies:[new R9]},parse:{mediaType:Qh.latest(),parsers:[new z9({allowEmpty:!1,sourceMap:!1}),new V9({allowEmpty:!1,sourceMap:!1}),new q9({allowEmpty:!1,sourceMap:!1}),new U9({allowEmpty:!1,sourceMap:!1}),new I9({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[new fM({allowMetaPatches:c,useCircularStructures:d,parameterMacro:_,modelPropertyMacro:O,mode:j,ancestors:ue})],refSet:me,dereferenceOpts:{errors:ve},immutable:!1,circular:d?"ignore":"replace",circularReplacer:d?Tx.dereference.circularReplacer:mM}}),be=((qe,pt,_t)=>new P3({element:_t}).transclude(qe,pt))(ie,fe,se),je=S?be:L.normalize(be);return{spec:ft(je),errors:ve}}catch($){if($ instanceof ip)return{spec:e,errors:[]};throw $}});mw.cache=new WeakMap;const Jx=mw;function Wx(t,e,r){if(r||(r=new gM),(function(o){var u=typeof o;return o==null||u!="object"&&u!="function"})(t))return t;var n=function(o){var u=r.get(t);if(u)return u;for(var c in r.set(t,o),t)Object.prototype.hasOwnProperty.call(t,c)&&(o[c]=t[c]);return o};switch(vs(t)){case"Object":return n(Object.create(Object.getPrototypeOf(t)));case"Array":return n(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return GE(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}var gM=(function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){var n=this.hash(e),a=this.map[n];a||(this.map[n]=a=[]),a.push([e,r]),this.length+=1},t.prototype.hash=function(e){var r=[];for(var n in e)r.push(Object.prototype.toString.call(e[n]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(var r in this.map)for(var n=this.map[r],a=0;a<n.length;a+=1)if((u=n[a])[0]===e)return u[1]}else{var o=this.hash(e);if(n=this.map[o])for(a=0;a<n.length;a+=1){var u;if((u=n[a])[0]===e)return u[1]}}},t})(),yM=(function(){function t(e,r,n,a){this.valueFn=e,this.valueAcc=r,this.keyFn=n,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=Vc,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if($i(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]))["@@transducer/reduced"]){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,Wx(this.valueAcc)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),e},t})();function vM(t,e,r){return function(n){return new yM(t,e,r,n)}}var bM=vb(4,[],zc([],vM,(function(e,r,n,a){var o=sS((function(u,c){var d=n(c),S=e($i(d,u)?u[d]:Wx(r),c);return S&&S["@@transducer/reduced"]?ky(u):(u[d]=S,u)}));return gb(o,{},a)})));const wM=Ar(yb("groupBy",bM((function(t,e){return t.push(e),t}),[]))),Um=class{constructor(e,r,n){Ee(this,"internalStore");this.storageElement=e,this.storageField=r,this.storageSubField=n}get store(){if(!this.internalStore){let e=this.storageElement.get(this.storageField);on(e)||(e=new Ve.Sh,this.storageElement.set(this.storageField,e));let r=e.get(this.storageSubField);so(r)||(r=new Ve.wE,e.set(this.storageSubField,r)),this.internalStore=r}return this.internalStore}append(e){this.includes(e)||this.store.push(e)}includes(e){return this.store.includes(e)}},gw=t=>t.replace(/\s/g,""),yw=t=>t.replace(/\W/gi,"_"),EM=(t,e,r)=>{const n=gw(t);return n.length>0?yw(n):((a,o)=>`${yw(gw(o.toLowerCase()))}${yw(gw(a))}`)(e,r)},SM=({storageField:t="x-normalized",operationIdNormalizer:e=EM}={})=>r=>{const{predicates:n,ancestorLineageToJSONPointer:a,namespace:o}=r,u=[],c=[],d=[];let S;return{visitor:{OpenApi3_1Element:{enter(_){S=new Um(_,t,"operation-ids")},leave(){const _=wM((O=>ft(O.operationId)),c);Object.entries(_).forEach((([O,j])=>{Array.isArray(j)&&(j.length<=1||j.forEach(((R,$)=>{const L=`${O}${$+1}`;R.operationId=new o.elements.String(L)})))})),d.forEach((O=>{if(O.operationId===void 0)return;const j=String(ft(O.operationId)),R=c.find(($=>ft($.meta.get("originalOperationId"))===j));R!==void 0&&(O.operationId=Yt.safe(R.operationId),O.meta.set("originalOperationId",j),O.set("__originalOperationId",j))})),c.length=0,d.length=0,S=void 0}},PathItemElement:{enter(_){const O=Dh("path",ft(_.meta.get("path")));u.push(O)},leave(){u.pop()}},OperationElement:{enter(_,O,j,R,$){if(_.operationId===void 0)return;const L=a([...$,j,_]);if(S.includes(L))return;const q=String(ft(_.operationId)),X=yy(u),D=Dh("method",ft(_.meta.get("http-method"))),se=e(q,X,D);q!==se&&(_.operationId=new o.elements.String(se),_.set("__originalOperationId",q),_.meta.set("originalOperationId",q),c.push(_),S.append(L))}},LinkElement:{leave(_){n.isLinkElement(_)&&_.operationId!==void 0&&d.push(_)}}}}},xM=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e,a=(c,d)=>!!r.isParameterElement(c)&&!!r.isParameterElement(d)&&!!r.isStringElement(c.name)&&!!r.isStringElement(c.in)&&!!r.isStringElement(d.name)&&!!r.isStringElement(d.in)&&ft(c.name)===ft(d.name)&&ft(c.in)===ft(d.in),o=[];let u;return{visitor:{OpenApi3_1Element:{enter(c){u=new Um(c,t,"parameters")},leave(){u=void 0}},PathItemElement:{enter(c,d,S,_,O){if(O.some(r.isComponentsElement))return;const{parameters:j}=c;r.isArrayElement(j)?o.push([...j.content]):o.push([])},leave(){o.pop()}},OperationElement:{leave(c,d,S,_,O){const j=yy(o);if(!Array.isArray(j)||j.length===0)return;const R=n([...O,S,c]);if(u.includes(R))return;const $=$x([],["parameters","content"],c),L=Vx(a,[...$,...j]);c.parameters=new ax(L),u.append(R)}}}}},_M=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let a,o;return{visitor:{OpenApi3_1Element:{enter(u){o=new Um(u,t,"security-requirements"),r.isArrayElement(u.security)&&(a=u.security)},leave(){o=void 0,a=void 0}},OperationElement:{leave(u,c,d,S,_){if(_.some(r.isComponentsElement))return;const O=n([..._,d,u]);if(!o.includes(O)){var j;u.security===void 0&&a!==void 0&&(u.security=new ix((j=a)===null||j===void 0?void 0:j.content),o.append(O))}}}}}},kM=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let a;return{visitor:{OpenApi3_1Element:{enter(o){a=new Um(o,t,"parameter-examples")},leave(){a=void 0}},ParameterElement:{leave(o,u,c,d,S){var _,O;if(S.some(r.isComponentsElement)||o.schema===void 0||!r.isSchemaElement(o.schema)||((_=o.schema)===null||_===void 0?void 0:_.example)===void 0&&((O=o.schema)===null||O===void 0?void 0:O.examples)===void 0)return;const j=n([...S,c,o]);if(!a.includes(j)){if(o.examples!==void 0&&r.isObjectElement(o.examples)){const R=o.examples.map(($=>Yt.safe($.value)));return o.schema.examples!==void 0&&(o.schema.set("examples",R),a.append(j)),void(o.schema.example!==void 0&&(o.schema.set("example",R[0]),a.append(j)))}o.example!==void 0&&(o.schema.examples!==void 0&&(o.schema.set("examples",[Yt(o.example)]),a.append(j)),o.schema.example!==void 0&&(o.schema.set("example",Yt(o.example)),a.append(j)))}}}}}},OM=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let a;return{visitor:{OpenApi3_1Element:{enter(o){a=new Um(o,t,"header-examples")},leave(){a=void 0}},HeaderElement:{leave(o,u,c,d,S){var _,O;if(S.some(r.isComponentsElement)||o.schema===void 0||!r.isSchemaElement(o.schema)||((_=o.schema)===null||_===void 0?void 0:_.example)===void 0&&((O=o.schema)===null||O===void 0?void 0:O.examples)===void 0)return;const j=n([...S,c,o]);if(!a.includes(j)){if(o.examples!==void 0&&r.isObjectElement(o.examples)){const R=o.examples.map(($=>Yt.safe($.value)));return o.schema.examples!==void 0&&(o.schema.set("examples",R),a.append(j)),void(o.schema.example!==void 0&&(o.schema.set("example",R[0]),a.append(j)))}o.example!==void 0&&(o.schema.examples!==void 0&&(o.schema.set("examples",[Yt(o.example)]),a.append(j)),o.schema.example!==void 0&&(o.schema.set("example",Yt(o.example)),a.append(j)))}}}}}},Hx=t=>{if(!on(t))return t;const e=[SM({operationIdNormalizer:(r,n,a)=>Gf({operationId:r},n,a,{v2OperationIdCompatibilityMode:!1})}),xM(),_M(),kM(),OM()];return ol(t,e,{toolboxCreator:jx,visitorOptions:{keyMap:Os,nodeTypeGetter:qi}})},AM={name:"openapi-3-1-apidom",match:t=>Vb(t),normalize(t){if(!da(t)&&bs(t)&&!t.$$normalized){const r=(e=Hx,n=>{const a=Xc.refract(n);a.classes.push("result");const o=e(a),u=ft(o);return Jx.cache.set(u,o),ft(o)})(t);return r.$$normalized=!0,r}var e;return da(t)?Hx(t):t},resolve:t=>nr(null,null,function*(){return Jx(t)})},Kx=AM,Gx=t=>e=>nr(null,null,function*(){return(r=>nr(null,null,function*(){const{spec:n,requestInterceptor:a,responseInterceptor:o}=r,u=Lb(r),c=GS(r),d=n||(yield US(c,{requestInterceptor:a,responseInterceptor:o})(u)),S=Nr(Ge({},r),{spec:d});return r.strategies.find((_=>_.match(d))).resolve(S)}))(Ge(Ge({},t),e))}),CM=Gx({strategies:[Wb,Jb,zb]}),jM=(t,e,r,n,a)=>{if(t===Cr.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["server-url-template",yi.charsToString(e,r,n)])}return Cr.SEM_OK},PM=(t,e,r,n,a)=>{if(t===Cr.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["server-variable",yi.charsToString(e,r,n)])}return Cr.SEM_OK},TM=(t,e,r,n,a)=>{if(t===Cr.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["server-variable-name",yi.charsToString(e,r,n)])}return Cr.SEM_OK},NM=(t,e,r,n,a)=>{if(t===Cr.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["literals",yi.charsToString(e,r,n)])}return Cr.SEM_OK},IM=new function(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"server-url-template",lower:"server-url-template",index:0,isBkr:!1},this.rules[1]={name:"server-variable",lower:"server-variable",index:1,isBkr:!1},this.rules[2]={name:"server-variable-name",lower:"server-variable-name",index:2,isBkr:!1},this.rules[3]={name:"literals",lower:"literals",index:3,isBkr:!1},this.rules[4]={name:"DIGIT",lower:"digit",index:4,isBkr:!1},this.rules[5]={name:"HEXDIG",lower:"hexdig",index:5,isBkr:!1},this.rules[6]={name:"pct-encoded",lower:"pct-encoded",index:6,isBkr:!1},this.rules[7]={name:"ucschar",lower:"ucschar",index:7,isBkr:!1},this.rules[8]={name:"iprivate",lower:"iprivate",index:8,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:3,min:1,max:1/0},this.rules[0].opcodes[1]={type:1,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:3},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:2,children:[1,2,3]},this.rules[1].opcodes[1]={type:7,string:[123]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:7,string:[125]},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:3,min:1,max:1/0},this.rules[2].opcodes[1]={type:1,children:[2,3,4]},this.rules[2].opcodes[2]={type:5,min:0,max:122},this.rules[2].opcodes[3]={type:6,string:[124]},this.rules[2].opcodes[4]={type:5,min:126,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:1,children:[2,3,4,5,6,7,8,9,10,11,12,13]},this.rules[3].opcodes[2]={type:6,string:[33]},this.rules[3].opcodes[3]={type:5,min:35,max:36},this.rules[3].opcodes[4]={type:5,min:38,max:59},this.rules[3].opcodes[5]={type:6,string:[61]},this.rules[3].opcodes[6]={type:5,min:63,max:91},this.rules[3].opcodes[7]={type:6,string:[93]},this.rules[3].opcodes[8]={type:6,string:[95]},this.rules[3].opcodes[9]={type:5,min:97,max:122},this.rules[3].opcodes[10]={type:6,string:[126]},this.rules[3].opcodes[11]={type:4,index:7},this.rules[3].opcodes[12]={type:4,index:8},this.rules[3].opcodes[13]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:5,min:48,max:57},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[5].opcodes[1]={type:4,index:4},this.rules[5].opcodes[2]={type:7,string:[97]},this.rules[5].opcodes[3]={type:7,string:[98]},this.rules[5].opcodes[4]={type:7,string:[99]},this.rules[5].opcodes[5]={type:7,string:[100]},this.rules[5].opcodes[6]={type:7,string:[101]},this.rules[5].opcodes[7]={type:7,string:[102]},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,3]},this.rules[6].opcodes[1]={type:7,string:[37]},this.rules[6].opcodes[2]={type:4,index:5},this.rules[6].opcodes[3]={type:4,index:5},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[7].opcodes[1]={type:5,min:160,max:55295},this.rules[7].opcodes[2]={type:5,min:63744,max:64975},this.rules[7].opcodes[3]={type:5,min:65008,max:65519},this.rules[7].opcodes[4]={type:5,min:65536,max:131069},this.rules[7].opcodes[5]={type:5,min:131072,max:196605},this.rules[7].opcodes[6]={type:5,min:196608,max:262141},this.rules[7].opcodes[7]={type:5,min:262144,max:327677},this.rules[7].opcodes[8]={type:5,min:327680,max:393213},this.rules[7].opcodes[9]={type:5,min:393216,max:458749},this.rules[7].opcodes[10]={type:5,min:458752,max:524285},this.rules[7].opcodes[11]={type:5,min:524288,max:589821},this.rules[7].opcodes[12]={type:5,min:589824,max:655357},this.rules[7].opcodes[13]={type:5,min:655360,max:720893},this.rules[7].opcodes[14]={type:5,min:720896,max:786429},this.rules[7].opcodes[15]={type:5,min:786432,max:851965},this.rules[7].opcodes[16]={type:5,min:851968,max:917501},this.rules[7].opcodes[17]={type:5,min:921600,max:983037},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:57344,max:63743},this.rules[8].opcodes[2]={type:5,min:983040,max:1048573},this.rules[8].opcodes[3]={type:5,min:1048576,max:1114109},this.toString=function(){return`; OpenAPI Server URL templating ABNF syntax
|
||
server-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2
|
||
server-variable = "{" server-variable-name "}"
|
||
server-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)
|
||
|
||
; https://www.rfc-editor.org/rfc/rfc6570#section-2.1
|
||
; https://www.rfc-editor.org/errata/eid6937
|
||
literals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B
|
||
/ %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate
|
||
/ pct-encoded)
|
||
; any Unicode character except: CTL, SP,
|
||
; DQUOTE, "%" (aside from pct-encoded),
|
||
; "<", ">", "\\", "^", "\`", "{", "|", "}"
|
||
|
||
; https://www.rfc-editor.org/rfc/rfc6570#section-1.5
|
||
DIGIT = %x30-39 ; 0-9
|
||
HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive
|
||
|
||
pct-encoded = "%" HEXDIG HEXDIG
|
||
|
||
ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF
|
||
/ %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD
|
||
/ %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD
|
||
/ %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD
|
||
/ %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD
|
||
/ %xD0000-DFFFD / %xE1000-EFFFD
|
||
|
||
iprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD
|
||
`}},Yx=t=>{const e=new Bi;return e.ast=new e1,e.ast.callbacks["server-url-template"]=jM,e.ast.callbacks["server-variable"]=PM,e.ast.callbacks["server-variable-name"]=TM,e.ast.callbacks.literals=NM,{result:e.parse(IM,"server-url-template",t),ast:e.ast}},MM=(t,{strict:e=!1}={})=>{try{const r=Yx(t);if(!r.result.success)return!1;const n=[];r.ast.translate(n);const a=n.some((([o])=>o==="server-variable"));if(!e&&!a)try{return new URL(t,"https://vladimirgorej.com"),!0}catch(o){return!1}return!e||a}catch(r){return!1}},RM=t=>(e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch(r){return!1}})(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),DM=["literals","server-variable-name"],FM=(t,e,r={})=>{const n=Ge({encoder:RM},r),a=Yx(t);if(!a.result.success)return t;const o=[];return a.ast.translate(o),o.filter((([c])=>DM.includes(c))).map((([c,d])=>c==="server-variable-name"?Object.hasOwn(e,d)?n.encoder(e[d],d):`{${d}}`:d)).join("")};function Xx(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"path-template",lower:"path-template",index:0,isBkr:!1},this.rules[1]={name:"path-segment",lower:"path-segment",index:1,isBkr:!1},this.rules[2]={name:"slash",lower:"slash",index:2,isBkr:!1},this.rules[3]={name:"path-literal",lower:"path-literal",index:3,isBkr:!1},this.rules[4]={name:"template-expression",lower:"template-expression",index:4,isBkr:!1},this.rules[5]={name:"template-expression-param-name",lower:"template-expression-param-name",index:5,isBkr:!1},this.rules[6]={name:"pchar",lower:"pchar",index:6,isBkr:!1},this.rules[7]={name:"unreserved",lower:"unreserved",index:7,isBkr:!1},this.rules[8]={name:"pct-encoded",lower:"pct-encoded",index:8,isBkr:!1},this.rules[9]={name:"sub-delims",lower:"sub-delims",index:9,isBkr:!1},this.rules[10]={name:"ALPHA",lower:"alpha",index:10,isBkr:!1},this.rules[11]={name:"DIGIT",lower:"digit",index:11,isBkr:!1},this.rules[12]={name:"HEXDIG",lower:"hexdig",index:12,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2,6]},this.rules[0].opcodes[1]={type:4,index:2},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5]},this.rules[0].opcodes[4]={type:4,index:1},this.rules[0].opcodes[5]={type:4,index:2},this.rules[0].opcodes[6]={type:3,min:0,max:1},this.rules[0].opcodes[7]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:1,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:3},this.rules[1].opcodes[3]={type:4,index:4},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:7,string:[47]},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:3,min:1,max:1/0},this.rules[3].opcodes[1]={type:4,index:6},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:2,children:[1,2,3]},this.rules[4].opcodes[1]={type:7,string:[123]},this.rules[4].opcodes[2]={type:4,index:5},this.rules[4].opcodes[3]={type:7,string:[125]},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:3,min:1,max:1/0},this.rules[5].opcodes[1]={type:1,children:[2,3,4]},this.rules[5].opcodes[2]={type:5,min:0,max:122},this.rules[5].opcodes[3]={type:6,string:[124]},this.rules[5].opcodes[4]={type:5,min:126,max:1114111},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[6].opcodes[1]={type:4,index:7},this.rules[6].opcodes[2]={type:4,index:8},this.rules[6].opcodes[3]={type:4,index:9},this.rules[6].opcodes[4]={type:7,string:[58]},this.rules[6].opcodes[5]={type:7,string:[64]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2,3,4,5,6]},this.rules[7].opcodes[1]={type:4,index:10},this.rules[7].opcodes[2]={type:4,index:11},this.rules[7].opcodes[3]={type:7,string:[45]},this.rules[7].opcodes[4]={type:7,string:[46]},this.rules[7].opcodes[5]={type:7,string:[95]},this.rules[7].opcodes[6]={type:7,string:[126]},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:2,children:[1,2,3]},this.rules[8].opcodes[1]={type:7,string:[37]},this.rules[8].opcodes[2]={type:4,index:12},this.rules[8].opcodes[3]={type:4,index:12},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11]},this.rules[9].opcodes[1]={type:7,string:[33]},this.rules[9].opcodes[2]={type:7,string:[36]},this.rules[9].opcodes[3]={type:7,string:[38]},this.rules[9].opcodes[4]={type:7,string:[39]},this.rules[9].opcodes[5]={type:7,string:[40]},this.rules[9].opcodes[6]={type:7,string:[41]},this.rules[9].opcodes[7]={type:7,string:[42]},this.rules[9].opcodes[8]={type:7,string:[43]},this.rules[9].opcodes[9]={type:7,string:[44]},this.rules[9].opcodes[10]={type:7,string:[59]},this.rules[9].opcodes[11]={type:7,string:[61]},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:1,children:[1,2]},this.rules[10].opcodes[1]={type:5,min:65,max:90},this.rules[10].opcodes[2]={type:5,min:97,max:122},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:5,min:48,max:57},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,2,3,4,5,6,7]},this.rules[12].opcodes[1]={type:4,index:11},this.rules[12].opcodes[2]={type:7,string:[97]},this.rules[12].opcodes[3]={type:7,string:[98]},this.rules[12].opcodes[4]={type:7,string:[99]},this.rules[12].opcodes[5]={type:7,string:[100]},this.rules[12].opcodes[6]={type:7,string:[101]},this.rules[12].opcodes[7]={type:7,string:[102]},this.toString=function(){return`; OpenAPI Path Templating ABNF syntax
|
||
; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3
|
||
path-template = slash *( path-segment slash ) [ path-segment ]
|
||
path-segment = 1*( path-literal / template-expression )
|
||
slash = "/"
|
||
path-literal = 1*pchar
|
||
template-expression = "{" template-expression-param-name "}"
|
||
template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3
|
||
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
|
||
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
|
||
; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
|
||
pct-encoded = "%" HEXDIG HEXDIG
|
||
; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1
|
||
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
|
||
/ "*" / "+" / "," / ";" / "="
|
||
; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1
|
||
ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
|
||
DIGIT = %x30-39 ; 0-9
|
||
HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
|
||
`}}const $M=(t,e,r,n,a)=>(t===Cr.SEM_PRE?a.push(["slash",yi.charsToString(e,r,n)]):Cr.SEM_POST,Cr.SEM_OK),LM=(t,e,r,n,a)=>{if(t===Cr.SEM_PRE){if(Array.isArray(a)===!1)throw new Error("parser's user data must be an array");a.push(["path-template",yi.charsToString(e,r,n)])}return Cr.SEM_OK},BM=(t,e,r,n,a)=>(t===Cr.SEM_PRE?a.push(["path-literal",yi.charsToString(e,r,n)]):Cr.SEM_POST,Cr.SEM_OK),qM=(t,e,r,n,a)=>(t===Cr.SEM_PRE?a.push(["template-expression",yi.charsToString(e,r,n)]):Cr.SEM_POST,Cr.SEM_OK),UM=(t,e,r,n,a)=>(t===Cr.SEM_PRE?a.push(["template-expression-param-name",yi.charsToString(e,r,n)]):Cr.SEM_POST,Cr.SEM_OK),zM=new Xx,VM=t=>{const e=new Bi;return e.ast=new e1,e.ast.callbacks["path-template"]=LM,e.ast.callbacks.slash=$M,e.ast.callbacks["path-literal"]=BM,e.ast.callbacks["template-expression"]=qM,e.ast.callbacks["template-expression-param-name"]=UM,{result:e.parse(zM,"path-template",t),ast:e.ast}},JM=t=>(e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch(r){return!1}})(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),WM=["slash","path-literal","template-expression-param-name"],vw=(t,e,r={})=>{const n=Ge({encoder:JM},r),a=VM(t);if(!a.result.success)return t;const o=[];return a.ast.translate(o),o.filter((([c])=>WM.includes(c))).map((([c,d])=>c==="template-expression-param-name"?Object.prototype.hasOwnProperty.call(e,d)?n.encoder(e[d],d):`{${d}}`:d)).join("")},HM=(new Xx,new Bi,{body:function({req:e,value:r}){r!==void 0&&(e.body=r)},header:function({req:e,parameter:r,value:n}){e.headers=e.headers||{},n!==void 0&&(e.headers[r.name]=n)},query:function({req:e,value:r,parameter:n}){if(e.query=e.query||{},r===!1&&n.type==="boolean"&&(r="false"),r===0&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)e.query[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&r!==void 0){const a=n.name;e.query[a]=e.query[a]||{},e.query[a].allowEmptyValue=!0}},path:function({req:e,value:r,parameter:n,baseURL:a}){if(r!==void 0){const o=e.url.replace(a,""),u=vw(o,{[n.name]:r});e.url=a+u}},formData:function({req:e,value:r,parameter:n}){if(r===!1&&n.type==="boolean"&&(r="false"),r===0&&["number","integer"].indexOf(n.type)>-1&&(r="0"),r)e.form=e.form||{},e.form[n.name]={collectionFormat:n.collectionFormat,value:r};else if(n.allowEmptyValue&&r!==void 0){e.form=e.form||{};const a=n.name;e.form[a]=e.form[a]||{},e.form[a].allowEmptyValue=!0}}});function bv(t,e){return e.includes("application/json")?typeof t=="string"?t:(Array.isArray(t)&&(t=t.map((r=>{try{return JSON.parse(r)}catch(n){return r}}))),JSON.stringify(t)):String(t)}function zm(){this.grammarObject="grammarObject",this.rules=[],this.rules[0]={name:"lenient-cookie-string",lower:"lenient-cookie-string",index:0,isBkr:!1},this.rules[1]={name:"lenient-cookie-entry",lower:"lenient-cookie-entry",index:1,isBkr:!1},this.rules[2]={name:"lenient-cookie-pair",lower:"lenient-cookie-pair",index:2,isBkr:!1},this.rules[3]={name:"lenient-cookie-pair-invalid",lower:"lenient-cookie-pair-invalid",index:3,isBkr:!1},this.rules[4]={name:"lenient-cookie-name",lower:"lenient-cookie-name",index:4,isBkr:!1},this.rules[5]={name:"lenient-cookie-value",lower:"lenient-cookie-value",index:5,isBkr:!1},this.rules[6]={name:"lenient-quoted-value",lower:"lenient-quoted-value",index:6,isBkr:!1},this.rules[7]={name:"lenient-quoted-char",lower:"lenient-quoted-char",index:7,isBkr:!1},this.rules[8]={name:"lenient-cookie-octet",lower:"lenient-cookie-octet",index:8,isBkr:!1},this.rules[9]={name:"cookie-string",lower:"cookie-string",index:9,isBkr:!1},this.rules[10]={name:"cookie-pair",lower:"cookie-pair",index:10,isBkr:!1},this.rules[11]={name:"cookie-name",lower:"cookie-name",index:11,isBkr:!1},this.rules[12]={name:"cookie-value",lower:"cookie-value",index:12,isBkr:!1},this.rules[13]={name:"cookie-octet",lower:"cookie-octet",index:13,isBkr:!1},this.rules[14]={name:"OWS",lower:"ows",index:14,isBkr:!1},this.rules[15]={name:"token",lower:"token",index:15,isBkr:!1},this.rules[16]={name:"tchar",lower:"tchar",index:16,isBkr:!1},this.rules[17]={name:"CHAR",lower:"char",index:17,isBkr:!1},this.rules[18]={name:"CTL",lower:"ctl",index:18,isBkr:!1},this.rules[19]={name:"separators",lower:"separators",index:19,isBkr:!1},this.rules[20]={name:"SP",lower:"sp",index:20,isBkr:!1},this.rules[21]={name:"HT",lower:"ht",index:21,isBkr:!1},this.rules[22]={name:"ALPHA",lower:"alpha",index:22,isBkr:!1},this.rules[23]={name:"DIGIT",lower:"digit",index:23,isBkr:!1},this.rules[24]={name:"DQUOTE",lower:"dquote",index:24,isBkr:!1},this.rules[25]={name:"WSP",lower:"wsp",index:25,isBkr:!1},this.rules[26]={name:"HTAB",lower:"htab",index:26,isBkr:!1},this.rules[27]={name:"CRLF",lower:"crlf",index:27,isBkr:!1},this.rules[28]={name:"CR",lower:"cr",index:28,isBkr:!1},this.rules[29]={name:"LF",lower:"lf",index:29,isBkr:!1},this.udts=[],this.rules[0].opcodes=[],this.rules[0].opcodes[0]={type:2,children:[1,2]},this.rules[0].opcodes[1]={type:4,index:1},this.rules[0].opcodes[2]={type:3,min:0,max:1/0},this.rules[0].opcodes[3]={type:2,children:[4,5,6]},this.rules[0].opcodes[4]={type:7,string:[59]},this.rules[0].opcodes[5]={type:4,index:14},this.rules[0].opcodes[6]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:1,children:[1,2]},this.rules[1].opcodes[1]={type:4,index:2},this.rules[1].opcodes[2]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:2,children:[1,2,3,4,5,6,7]},this.rules[2].opcodes[1]={type:4,index:14},this.rules[2].opcodes[2]={type:4,index:4},this.rules[2].opcodes[3]={type:4,index:14},this.rules[2].opcodes[4]={type:7,string:[61]},this.rules[2].opcodes[5]={type:4,index:14},this.rules[2].opcodes[6]={type:4,index:5},this.rules[2].opcodes[7]={type:4,index:14},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2,4]},this.rules[3].opcodes[1]={type:4,index:14},this.rules[3].opcodes[2]={type:3,min:1,max:1/0},this.rules[3].opcodes[3]={type:4,index:16},this.rules[3].opcodes[4]={type:4,index:14},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:3,min:1,max:1/0},this.rules[4].opcodes[1]={type:1,children:[2,3,4]},this.rules[4].opcodes[2]={type:5,min:33,max:58},this.rules[4].opcodes[3]={type:6,string:[60]},this.rules[4].opcodes[4]={type:5,min:62,max:126},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,6]},this.rules[5].opcodes[1]={type:2,children:[2,3]},this.rules[5].opcodes[2]={type:4,index:6},this.rules[5].opcodes[3]={type:3,min:0,max:1},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:4,index:8},this.rules[5].opcodes[6]={type:3,min:0,max:1/0},this.rules[5].opcodes[7]={type:4,index:8},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:2,children:[1,2,4]},this.rules[6].opcodes[1]={type:4,index:24},this.rules[6].opcodes[2]={type:3,min:0,max:1/0},this.rules[6].opcodes[3]={type:4,index:7},this.rules[6].opcodes[4]={type:4,index:24},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:1,children:[1,2]},this.rules[7].opcodes[1]={type:5,min:32,max:33},this.rules[7].opcodes[2]={type:5,min:35,max:126},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:33,max:43},this.rules[8].opcodes[2]={type:5,min:45,max:58},this.rules[8].opcodes[3]={type:5,min:60,max:126},this.rules[9].opcodes=[],this.rules[9].opcodes[0]={type:2,children:[1,2]},this.rules[9].opcodes[1]={type:4,index:10},this.rules[9].opcodes[2]={type:3,min:0,max:1/0},this.rules[9].opcodes[3]={type:2,children:[4,5,6]},this.rules[9].opcodes[4]={type:7,string:[59]},this.rules[9].opcodes[5]={type:4,index:20},this.rules[9].opcodes[6]={type:4,index:10},this.rules[10].opcodes=[],this.rules[10].opcodes[0]={type:2,children:[1,2,3]},this.rules[10].opcodes[1]={type:4,index:11},this.rules[10].opcodes[2]={type:7,string:[61]},this.rules[10].opcodes[3]={type:4,index:12},this.rules[11].opcodes=[],this.rules[11].opcodes[0]={type:4,index:15},this.rules[12].opcodes=[],this.rules[12].opcodes[0]={type:1,children:[1,6]},this.rules[12].opcodes[1]={type:2,children:[2,3,5]},this.rules[12].opcodes[2]={type:4,index:24},this.rules[12].opcodes[3]={type:3,min:0,max:1/0},this.rules[12].opcodes[4]={type:4,index:13},this.rules[12].opcodes[5]={type:4,index:24},this.rules[12].opcodes[6]={type:3,min:0,max:1/0},this.rules[12].opcodes[7]={type:4,index:13},this.rules[13].opcodes=[],this.rules[13].opcodes[0]={type:1,children:[1,2,3,4,5]},this.rules[13].opcodes[1]={type:6,string:[33]},this.rules[13].opcodes[2]={type:5,min:35,max:43},this.rules[13].opcodes[3]={type:5,min:45,max:58},this.rules[13].opcodes[4]={type:5,min:60,max:91},this.rules[13].opcodes[5]={type:5,min:93,max:126},this.rules[14].opcodes=[],this.rules[14].opcodes[0]={type:3,min:0,max:1/0},this.rules[14].opcodes[1]={type:2,children:[2,4]},this.rules[14].opcodes[2]={type:3,min:0,max:1},this.rules[14].opcodes[3]={type:4,index:27},this.rules[14].opcodes[4]={type:4,index:25},this.rules[15].opcodes=[],this.rules[15].opcodes[0]={type:3,min:1,max:1/0},this.rules[15].opcodes[1]={type:4,index:16},this.rules[16].opcodes=[],this.rules[16].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]},this.rules[16].opcodes[1]={type:7,string:[33]},this.rules[16].opcodes[2]={type:7,string:[35]},this.rules[16].opcodes[3]={type:7,string:[36]},this.rules[16].opcodes[4]={type:7,string:[37]},this.rules[16].opcodes[5]={type:7,string:[38]},this.rules[16].opcodes[6]={type:7,string:[39]},this.rules[16].opcodes[7]={type:7,string:[42]},this.rules[16].opcodes[8]={type:7,string:[43]},this.rules[16].opcodes[9]={type:7,string:[45]},this.rules[16].opcodes[10]={type:7,string:[46]},this.rules[16].opcodes[11]={type:7,string:[94]},this.rules[16].opcodes[12]={type:7,string:[95]},this.rules[16].opcodes[13]={type:7,string:[96]},this.rules[16].opcodes[14]={type:7,string:[124]},this.rules[16].opcodes[15]={type:7,string:[126]},this.rules[16].opcodes[16]={type:4,index:23},this.rules[16].opcodes[17]={type:4,index:22},this.rules[17].opcodes=[],this.rules[17].opcodes[0]={type:5,min:1,max:127},this.rules[18].opcodes=[],this.rules[18].opcodes[0]={type:1,children:[1,2]},this.rules[18].opcodes[1]={type:5,min:0,max:31},this.rules[18].opcodes[2]={type:6,string:[127]},this.rules[19].opcodes=[],this.rules[19].opcodes[0]={type:1,children:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]},this.rules[19].opcodes[1]={type:7,string:[40]},this.rules[19].opcodes[2]={type:7,string:[41]},this.rules[19].opcodes[3]={type:7,string:[60]},this.rules[19].opcodes[4]={type:7,string:[62]},this.rules[19].opcodes[5]={type:7,string:[64]},this.rules[19].opcodes[6]={type:7,string:[44]},this.rules[19].opcodes[7]={type:7,string:[59]},this.rules[19].opcodes[8]={type:7,string:[58]},this.rules[19].opcodes[9]={type:7,string:[92]},this.rules[19].opcodes[10]={type:6,string:[34]},this.rules[19].opcodes[11]={type:7,string:[47]},this.rules[19].opcodes[12]={type:7,string:[91]},this.rules[19].opcodes[13]={type:7,string:[93]},this.rules[19].opcodes[14]={type:7,string:[63]},this.rules[19].opcodes[15]={type:7,string:[61]},this.rules[19].opcodes[16]={type:7,string:[123]},this.rules[19].opcodes[17]={type:7,string:[125]},this.rules[19].opcodes[18]={type:4,index:20},this.rules[19].opcodes[19]={type:4,index:21},this.rules[20].opcodes=[],this.rules[20].opcodes[0]={type:6,string:[32]},this.rules[21].opcodes=[],this.rules[21].opcodes[0]={type:6,string:[9]},this.rules[22].opcodes=[],this.rules[22].opcodes[0]={type:1,children:[1,2]},this.rules[22].opcodes[1]={type:5,min:65,max:90},this.rules[22].opcodes[2]={type:5,min:97,max:122},this.rules[23].opcodes=[],this.rules[23].opcodes[0]={type:5,min:48,max:57},this.rules[24].opcodes=[],this.rules[24].opcodes[0]={type:6,string:[34]},this.rules[25].opcodes=[],this.rules[25].opcodes[0]={type:1,children:[1,2]},this.rules[25].opcodes[1]={type:4,index:20},this.rules[25].opcodes[2]={type:4,index:26},this.rules[26].opcodes=[],this.rules[26].opcodes[0]={type:6,string:[9]},this.rules[27].opcodes=[],this.rules[27].opcodes[0]={type:2,children:[1,2]},this.rules[27].opcodes[1]={type:4,index:28},this.rules[27].opcodes[2]={type:4,index:29},this.rules[28].opcodes=[],this.rules[28].opcodes[0]={type:6,string:[13]},this.rules[29].opcodes=[],this.rules[29].opcodes[0]={type:6,string:[10]},this.toString=function(){return`; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1
|
||
lenient-cookie-string = lenient-cookie-entry *( ";" OWS lenient-cookie-entry )
|
||
lenient-cookie-entry = lenient-cookie-pair / lenient-cookie-pair-invalid
|
||
lenient-cookie-pair = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS
|
||
lenient-cookie-pair-invalid = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored
|
||
lenient-cookie-name = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "="
|
||
lenient-cookie-value = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet
|
||
lenient-quoted-value = DQUOTE *( lenient-quoted-char ) DQUOTE
|
||
lenient-quoted-char = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE
|
||
lenient-cookie-octet = %x21-2B / %x2D-3A / %x3C-7E
|
||
; Allow all printable characters except CTLs, semicolon and SP
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1
|
||
cookie-string = cookie-pair *( ";" SP cookie-pair )
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1
|
||
; https://www.rfc-editor.org/errata/eid5518
|
||
cookie-pair = cookie-name "=" cookie-value
|
||
cookie-name = token
|
||
cookie-value = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet
|
||
; https://www.rfc-editor.org/errata/eid8242
|
||
cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
|
||
; US-ASCII characters excluding CTLs,
|
||
; whitespace, DQUOTE, comma, semicolon,
|
||
; and backslash
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2
|
||
OWS = *( [ CRLF ] WSP ) ; "optional" whitespace
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2
|
||
token = 1*(tchar)
|
||
tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*"
|
||
/ "+" / "-" / "." / "^" / "_" / "\`" / "|" / "~"
|
||
/ DIGIT / ALPHA
|
||
; any VCHAR, except delimiters
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2
|
||
CHAR = %x01-7F ; any US-ASCII character (octets 0 - 127)
|
||
CTL = %x00-1F / %x7F ; any US-ASCII control character
|
||
separators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT
|
||
SP = %x20 ; US-ASCII SP, space (32)
|
||
HT = %x09 ; US-ASCII HT, horizontal-tab (9)
|
||
|
||
; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1
|
||
ALPHA = %x41-5A / %x61-7A ; A-Z / a-z
|
||
DIGIT = %x30-39 ; 0-9
|
||
DQUOTE = %x22 ; " (Double Quote)
|
||
WSP = SP / HTAB ; white space
|
||
HTAB = %x09 ; horizontal tab
|
||
CRLF = CR LF ; Internet standard newline
|
||
CR = %x0D ; carriage return
|
||
LF = %x0A ; linefeed
|
||
`}}new zm;const KM=t=>{if(typeof t!="string"||[...t].length!==1)throw new TypeError("Input must be a single character string.");const e=t.codePointAt(0);return e<=127?`%${e.toString(16).toUpperCase().padStart(2,"0")}`:encodeURIComponent(t)},wv=t=>t.length>=2&&t.startsWith('"')&&t.endsWith('"'),Qx=t=>wv(t)?t.slice(1,-1):t,Zx=t=>`"${t}"`,e_=t=>t,GM=new Bi,YM=new zm,bw=(t,{strict:e=!0,quoted:r=null}={})=>{try{const n=e?"cookie-value":"lenient-cookie-value",a=GM.parse(YM,n,t);return typeof r=="boolean"?a.success&&r===wv(t):a.success}catch(n){return!1}},t_=t=>{const e=new TextEncoder().encode(t).reduce(((r,n)=>r+String.fromCharCode(n)),"");return btoa(e)},XM=(t,e=t_)=>{const r=String(t);if(bw(r))return r;const n=wv(r),a=e(n?Qx(r):r);return n?Zx(a):a},QM=t=>(e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,""))(t_(t)),ZM=t=>XM(t,QM),eR=new Bi,tR=new zm,r_=(t,{strict:e=!0}={})=>{try{const r=e?"cookie-name":"lenient-cookie-name";return eR.parse(tR,r,t).success}catch(r){return!1}},rR=t=>{if(!r_(t))throw new TypeError(`Invalid cookie name: ${t}`)},n_=t=>{if(!bw(t))throw new TypeError(`Invalid cookie value: ${t}`)},a_={encoders:{name:e_,value:ZM},validators:{name:rR,value:n_}},nR=(t,e,r={})=>{const n=Nr(Ge({},r),{encoders:Ge(Ge({},a_.encoders),r.encoders),validators:Ge(Ge({},a_.validators),r.validators)}),a=n.encoders.name(t),o=n.encoders.value(e);return n.validators.name(a),n.validators.value(o),`${a}=${o}`},aR=(t,e={})=>(Array.isArray(t)?t:typeof t=="object"&&t!==null?Object.entries(t):[]).map((([r,n])=>nR(r,n,e))).join("; "),oR=new Bi,iR=new zm,sR=t=>{const e=String(t);if(bw(e))return e;const r=wv(e),n=r?Qx(e):e;let a="";for(const o of n)a+=oR.parse(iR,"cookie-octet",o).success?o:KM(o);return r?Zx(a):a},lR=(new Bi,new zm,t=>{if(!r_(t,{strict:!1}))throw new TypeError(`Invalid cookie name: ${t}`)}),cR=t=>sR(t).replace(/[=&]/gu,(e=>e==="="?"%3D":"%26")),ww=(t,e={})=>aR(t,Ty({encoders:{name:e_,value:cR},validators:{name:lR,value:n_}},e));function uR({req:t,value:e,parameter:r,baseURL:n}){const{name:a,style:o,explode:u,content:c}=r;if(e===void 0)return;const d=t.url.replace(n,"");let S;if(c){const _=Object.keys(c)[0];S=vw(d,{[a]:e},{encoder:O=>VS(bv(O,_))})}else S=vw(d,{[a]:e},{encoder:_=>Fb({key:r.name,value:_,style:o||"simple",explode:u!=null&&u,escape:"reserved"})});t.url=n+S}function pR({req:t,value:e,parameter:r}){if(t.query=t.query||{},e!==void 0&&r.content){const n=bv(e,Object.keys(r.content)[0]);if(n)t.query[r.name]=n;else if(r.allowEmptyValue){const a=r.name;t.query[a]=t.query[a]||{},t.query[a].allowEmptyValue=!0}}else if(e===!1&&(e="false"),e===0&&(e="0"),e){const{style:n,explode:a,allowReserved:o}=r;t.query[r.name]={value:e,serializationOption:{style:n,explode:a,allowReserved:o}}}else if(r.allowEmptyValue&&e!==void 0){const n=r.name;t.query[n]=t.query[n]||{},t.query[n].allowEmptyValue=!0}}const hR=["accept","authorization","content-type"];function dR({req:t,parameter:e,value:r}){if(t.headers=t.headers||{},!(hR.indexOf(e.name.toLowerCase())>-1))if(r!==void 0&&e.content){const n=Object.keys(e.content)[0];t.headers[e.name]=bv(r,n)}else r===void 0||Array.isArray(r)&&r.length===0||(t.headers[e.name]=Fb({key:e.name,value:r,style:e.style||"simple",explode:e.explode!==void 0&&e.explode,escape:!1}))}function fR({req:t,parameter:e,value:r}){const{name:n}=e;if(t.headers=t.headers||{},r!==void 0&&e.content){const o=bv(r,Object.keys(e.content)[0]);t.headers.Cookie=ww({[n]:o})}else if(r!==void 0&&(!Array.isArray(r)||r.length!==0)){var a;const o=Fb({key:e.name,value:r,escape:!1,style:e.style||"form",explode:(a=e.explode)!==null&&a!==void 0&&a}),u=Array.isArray(r)&&e.explode?`${n}=${o}`:o;t.headers.Cookie=ww({[n]:u})}}const mR=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:window,{btoa:gR}=mR,o_=gR;function yR(t,e){const{operation:r,requestBody:n,securities:a,spec:o,attachContentTypeForEmptyPayload:u}=t;let{requestContentType:c}=t;e=(function({request:q,securities:X={},operation:D={},spec:se}){var te;const le=Ge({},q),{authorized:ce={}}=X,ie=D.security||se.security||[],_e=ce&&!!Object.keys(ce).length,me=(se==null||(te=se.components)===null||te===void 0?void 0:te.securitySchemes)||{};return le.headers=le.headers||{},le.query=le.query||{},!Object.keys(X).length||!_e||!ie||Array.isArray(D.security)&&!D.security.length?q:(ie.forEach((ue=>{Object.keys(ue).forEach((ve=>{const fe=ce[ve],be=me[ve];if(!fe)return;const je=fe.value||fe,{type:qe}=be;if(fe){if(qe==="apiKey")be.in==="query"&&(le.query[be.name]=je),be.in==="header"&&(le.headers[be.name]=je),be.in==="cookie"&&(le.cookies[be.name]=je);else if(qe==="http"){if(/^basic$/i.test(be.scheme)){const pt=je.username||"",_t=je.password||"",It=o_(`${pt}:${_t}`);le.headers.Authorization=`Basic ${It}`}/^bearer$/i.test(be.scheme)&&(le.headers.Authorization=`Bearer ${je}`)}else if(qe==="oauth2"||qe==="openIdConnect"){const pt=fe.token||{},_t=pt[be["x-tokenName"]||"access_token"];let It=pt.token_type;It&&It.toLowerCase()!=="bearer"||(It="Bearer"),le.headers.Authorization=`${It} ${_t}`}}}))})),le)})({request:e,securities:a,operation:r,spec:o});const d=r.requestBody||{},S=Object.keys(d.content||{}),_=c&&S.indexOf(c)>-1;if(n||u){if(c&&_)e.headers["Content-Type"]=c;else if(!c){const L=S[0];L&&(e.headers["Content-Type"]=L,c=L)}}else c&&_&&(e.headers["Content-Type"]=c);if(!t.responseContentType&&r.responses){const L=Object.entries(r.responses).filter((([q,X])=>{const D=parseInt(q,10);return D>=200&&D<300&&bs(X.content)})).reduce(((q,[,X])=>q.concat(Object.keys(X.content))),[]);L.length>0&&(e.headers.accept=L.join(", "))}if(n)if(c){if(S.indexOf(c)>-1)if(c==="application/x-www-form-urlencoded"||c==="multipart/form-data")if(typeof n=="object"){var O,j;const L=(O=(j=d.content[c])===null||j===void 0?void 0:j.encoding)!==null&&O!==void 0?O:{};e.form={},Object.keys(n).forEach((q=>{let X;try{X=JSON.parse(n[q])}catch(D){X=n[q]}e.form[q]={value:X,encoding:L[q]||{}}}))}else if(typeof n=="string"){var R,$;const L=(R=($=d.content[c])===null||$===void 0?void 0:$.encoding)!==null&&R!==void 0?R:{};try{e.form={};const q=JSON.parse(n);Object.entries(q).forEach((([X,D])=>{e.form[X]={value:D,encoding:L[X]||{}}}))}catch(q){e.form=n}}else e.form=n;else e.body=n}else e.body=n;return e}function vR(t,e){const{spec:r,operation:n,securities:a,requestContentType:o,responseContentType:u,attachContentTypeForEmptyPayload:c}=t;if(e=(function({request:S,securities:_={},operation:O={},spec:j}){const R=Ge({},S),{authorized:$={},specSecurity:L=[]}=_,q=O.security||L,X=$&&!!Object.keys($).length,D=j.securityDefinitions;return R.headers=R.headers||{},R.query=R.query||{},!Object.keys(_).length||!X||!q||Array.isArray(O.security)&&!O.security.length?S:(q.forEach((se=>{Object.keys(se).forEach((te=>{const le=$[te];if(!le)return;const{token:ce}=le,ie=le.value||le,_e=D[te],{type:me}=_e,ue=_e["x-tokenName"]||"access_token",ve=ce&&ce[ue];let fe=ce&&ce.token_type;if(le)if(me==="apiKey"){const be=_e.in==="query"?"query":"headers";R[be]=R[be]||{},R[be][_e.name]=ie}else if(me==="basic")if(ie.header)R.headers.authorization=ie.header;else{const be=ie.username||"",je=ie.password||"";ie.base64=o_(`${be}:${je}`),R.headers.authorization=`Basic ${ie.base64}`}else me==="oauth2"&&ve&&(fe=fe&&fe.toLowerCase()!=="bearer"?fe:"Bearer",R.headers.authorization=`${fe} ${ve}`)}))})),R)})({request:e,securities:a,operation:n,spec:r}),e.body||e.form||c)o?e.headers["Content-Type"]=o:Array.isArray(n.consumes)?[e.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[e.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter((d=>d.type==="file")).length?e.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter((d=>d.in==="formData")).length&&(e.headers["Content-Type"]="application/x-www-form-urlencoded");else if(o){const d=n.parameters&&n.parameters.filter((_=>_.in==="body")).length>0,S=n.parameters&&n.parameters.filter((_=>_.in==="formData")).length>0;(d||S)&&(e.headers["Content-Type"]=o)}return!u&&Array.isArray(n.produces)&&n.produces.length>0&&(e.headers.accept=n.produces.join(", ")),e}function i_(t,e){return`${e.toLowerCase()}-${t}`}const s_=t=>Array.isArray(t)?t:[],Vm=(t,{recurse:e=!0,depth:r=1}={})=>{if(bs(t)){if(t.type==="object"||t.type==="array"||Array.isArray(t.type)&&(t.type.includes("object")||t.type.includes("array")))return t;if(!(r>PS)&&e){const n=Array.isArray(t.oneOf)?t.oneOf.find((o=>Vm(o,{recurse:e,depth:r+1}))):void 0;if(n)return n;const a=Array.isArray(t.anyOf)?t.anyOf.find((o=>Vm(o,{recurse:e,depth:r+1}))):void 0;if(a)return a}}},l_=({value:t,silentFail:e=!1})=>{try{const r=JSON.parse(t);if(bs(r)||Array.isArray(r))return r;if(!e)throw new Error("Expected JSON serialized object or array")}catch(r){if(!e)throw new Error("Could not parse parameter value string as JSON Object or JSON Array")}return t},Ew=t=>{try{return new URL(t)}catch(e){const r=new URL(t,xy),n=String(t).startsWith("/")?r.pathname:r.pathname.substring(1);return{hash:r.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:n,port:"",protocol:"",search:r.search,searchParams:r.searchParams}}};class bR extends el{}const wR={buildRequest:c_};function ER(S){var _=S,{http:t,fetch:e,spec:r,operationId:n,pathName:a,method:o,parameters:u,securities:c}=_,d=jr(_,["http","fetch","spec","operationId","pathName","method","parameters","securities"]);const O=t||e||Hf;a&&o&&!n&&(n=i_(a,o));const j=wR.buildRequest(Ge({spec:r,operationId:n,parameters:u,securities:c,http:O},d));return j.body&&(bs(j.body)||Array.isArray(j.body))&&(j.body=JSON.stringify(j.body)),O(j)}function c_(t){const{spec:e,operationId:r,responseContentType:n,scheme:a,requestInterceptor:o,responseInterceptor:u,contextUrl:c,userFetch:d,server:S,serverVariables:_,http:O,signal:j,serverVariableEncoder:R}=t;let{parameters:$,parameterBuilders:L,baseURL:q}=t;const X=t2(e);L||(L=X?ke:HM);let D={url:"",credentials:O&&O.withCredentials?"include":"same-origin",headers:{},cookies:{}};j&&(D.signal=j),o&&(D.requestInterceptor=o),u&&(D.responseInterceptor=u),d&&(D.userFetch=d);const se=(function(ve,fe){return ve&&ve.paths?(function(je,qe){return(function(_t,It,Wt){if(!_t||typeof _t!="object"||!_t.paths||typeof _t.paths!="object")return null;const{paths:or}=_t;for(const ir in or)for(const Ut in or[ir]){if(Ut.toUpperCase()==="PARAMETERS")continue;const Ye=or[ir][Ut];if(!Ye||typeof Ye!="object")continue;const Xe={spec:_t,pathName:ir,method:Ut.toUpperCase(),operation:Ye};if(It(Xe))return Xe}})(je,qe)||null})(ve,(({pathName:be,method:je,operation:qe})=>{if(!qe||typeof qe!="object")return!1;const pt=qe.operationId;return[Gf(qe,be,je),i_(be,je),pt].some((_t=>_t&&_t===fe))})):null})(e,r);if(!se)throw new bR(`Operation ${r} not found`);const{operation:te={},method:le,pathName:ce}=se;if(q=q!=null?q:(function(ve){return t2(ve.spec)?(function({spec:je,pathName:qe,method:pt,server:_t,contextUrl:It,serverVariables:Wt={},serverVariableEncoder:or}){var ir,Ut;let Ye,Xe=[],Mt="";const kt=je==null||(ir=je.paths)===null||ir===void 0||(ir=ir[qe])===null||ir===void 0||(ir=ir[(pt||"").toLowerCase()])===null||ir===void 0?void 0:ir.servers,Vt=je==null||(Ut=je.paths)===null||Ut===void 0||(Ut=Ut[qe])===null||Ut===void 0?void 0:Ut.servers,rr=je==null?void 0:je.servers;if(Xe=xw(kt)?kt:xw(Vt)?Vt:xw(rr)?rr:[bj],_t&&(Ye=Xe.find((pr=>pr.url===_t)),Ye&&(Mt=_t)),Mt||([Ye]=Xe,Mt=Ye.url),MM(Mt,{strict:!0})){const pr=Object.entries(Ge({},Ye.variables)).reduce(((Rr,[xr,hr])=>(Rr[xr]=hr.default,Rr)),{});Mt=FM(Mt,Ge(Ge({},pr),Wt),{encoder:typeof or=="function"?or:Px})}return(function(Rr="",xr=""){const hr=Ew(Rr&&xr?oo(xr,Rr):Rr),pn=Ew(xr),Yr=Sw(hr.protocol)||Sw(pn.protocol),ln=hr.host||pn.host,oa=hr.pathname;let fn;return fn=Yr&&ln?`${Yr}://${ln+oa}`:oa,fn[fn.length-1]==="/"?fn.slice(0,-1):fn})(Mt,It)})(ve):(function({spec:je,scheme:qe,contextUrl:pt=""}){const _t=Ew(pt),It=Array.isArray(je.schemes)?je.schemes[0]:null,Wt=qe||It||Sw(_t.protocol)||"http",or=je.host||_t.host||"",ir=je.basePath||"";let Ut;return Ut=or?`${Wt}://${or+ir}`:ir,Ut[Ut.length-1]==="/"?Ut.slice(0,-1):Ut})(ve)})({spec:e,scheme:a,contextUrl:c,server:S,serverVariables:_,pathName:ce,method:le,serverVariableEncoder:R}),D.url+=q,!r)return delete D.cookies,D;D.url+=ce,D.method=`${le}`.toUpperCase(),$=$||{};const ie=e.paths[ce]||{};n&&(D.headers.accept=n);const _e=(ue=>{const ve={};ue.forEach((be=>{ve[be.in]||(ve[be.in]={}),ve[be.in][be.name]=be}));const fe=[];return Object.keys(ve).forEach((be=>{Object.keys(ve[be]).forEach((je=>{fe.push(ve[be][je])}))})),fe})([].concat(s_(te.parameters)).concat(s_(ie.parameters)));_e.forEach((ue=>{const ve=L[ue.in];let fe;if(ue.in==="body"&&ue.schema&&ue.schema.properties&&(fe=$),fe=ue&&ue.name&&$[ue.name],fe===void 0?fe=ue&&ue.name&&$[`${ue.in}.${ue.name}`]:((be,je)=>je.filter((qe=>qe.name===be)))(ue.name,_e).length>1,fe!==null){if(ue.default!==void 0&&fe===void 0&&(fe=ue.default),fe===void 0&&ue.required&&!ue.allowEmptyValue)throw new Error(`Required parameter ${ue.name} is not provided`);X&&typeof fe=="string"&&(Qf("type",ue.schema)&&typeof ue.schema.type=="string"&&Vm(ue.schema,{recurse:!1})?fe=l_({value:fe,silentFail:!1}):(Qf("type",ue.schema)&&Array.isArray(ue.schema.type)&&Vm(ue.schema,{recurse:!1})||!Qf("type",ue.schema)&&Vm(ue.schema,{recurse:!0}))&&(fe=l_({value:fe,silentFail:!0}))),ve&&ve({req:D,parameter:ue,value:fe,operation:te,spec:e,baseURL:q})}}));const me=Nr(Ge({},t),{operation:te});if(D=X?yR(me,D):vR(me,D),D.cookies&&Object.keys(D.cookies).length>0){const ue=ww(D.cookies);By(D.headers.Cookie)?D.headers.Cookie+=`; ${ue}`:D.headers.Cookie=ue}return D.cookies&&delete D.cookies,$b(D)}const Sw=t=>t?t.replace(/\W/g,""):null,xw=t=>Array.isArray(t)&&t.length>0,SR=t=>(a,o,...u)=>nr(null,[a,o,...u],function*(e,r,n={}){return((_,O,...j)=>nr(null,[_,O,...j],function*(c,d,S={}){const{returnEntireTree:R,baseDoc:$,requestInterceptor:L,responseInterceptor:q,parameterMacro:X,modelPropertyMacro:D,useCircularStructures:se,strategies:te}=S,le={spec:c,pathDiscriminator:d,baseDoc:$,requestInterceptor:L,responseInterceptor:q,parameterMacro:X,modelPropertyMacro:D,useCircularStructures:se,strategies:te},ce=te.find((_e=>_e.match(c))).normalize(c),ie=yield CM(Nr(Ge({spec:ce},le),{allowMetaPatches:!0,skipNormalization:!Vb(c)}));return!R&&Array.isArray(d)&&d.length&&(ie.spec=d.reduce(((_e,me)=>_e==null?void 0:_e[me]),ie.spec)||null),ie}))(e,r,Ge(Ge({},t),n))}),xR=((t,e)=>(...r)=>{t(...r);const n=e.getConfigs().withCredentials;e.fn.fetch.withCredentials=n});function u_({configs:t,getConfigs:e}){return{fn:{fetch:(r=Hf,n=t.preFetch,a=t.postFetch,a=a||(o=>o),n=n||(o=>o),o=>(typeof o=="string"&&(o={url:o}),o=$b(o),o=n(o),a(r(o)))),buildRequest:c_,execute:ER,resolve:Gx({strategies:[Kx,Wb,Jb,zb]}),resolveSubtree:(d,S,..._)=>nr(null,[d,S,..._],function*(o,u,c={}){const O=e(),j={modelPropertyMacro:O.modelPropertyMacro,parameterMacro:O.parameterMacro,requestInterceptor:O.requestInterceptor,responseInterceptor:O.responseInterceptor,strategies:[Kx,Wb,Jb,zb]};return SR(j)(o,u,c)}),serializeRes:KS,opId:Gf},statePlugins:{configs:{wrapActions:{loaded:xR}}}};var r,n,a}function p_(){return{fn:{shallowEqualKeys:Vo,sanitizeUrl:Hn}}}var h_=Re(40961),_R=(Re(78418),p.version.startsWith("19")),kR=Symbol.for(_R?"react.transitional.element":"react.element"),OR=Symbol.for("react.portal"),AR=Symbol.for("react.fragment"),CR=Symbol.for("react.strict_mode"),jR=Symbol.for("react.profiler"),PR=Symbol.for("react.consumer"),TR=Symbol.for("react.context"),d_=Symbol.for("react.forward_ref"),NR=Symbol.for("react.suspense"),IR=Symbol.for("react.suspense_list"),_w=Symbol.for("react.memo"),MR=Symbol.for("react.lazy"),RR=d_,DR=_w;function FR(t){if(typeof t=="object"&&t!==null){const{$$typeof:e}=t;switch(e){case kR:switch(t=t.type){case AR:case jR:case CR:case NR:case IR:return t;default:switch(t=t&&t.$$typeof){case TR:case d_:case MR:case _w:case PR:return t;default:return e}}case OR:return e}}}function $R(t,e,r,n,{areStatesEqual:a,areOwnPropsEqual:o,areStatePropsEqual:u}){let c,d,S,_,O,j=!1;function R($,L){const q=!o(L,d),X=!a($,c,L,d);return c=$,d=L,q&&X?(function(){return S=t(c,d),e.dependsOnOwnProps&&(_=e(n,d)),O=r(S,_,d),O})():q?(function(){return t.dependsOnOwnProps&&(S=t(c,d)),e.dependsOnOwnProps&&(_=e(n,d)),O=r(S,_,d),O})():X?(function(){const se=t(c,d),te=!u(se,S);return S=se,te&&(O=r(S,_,d)),O})():O}return function(L,q){return j?R(L,q):(function(D,se){return c=D,d=se,S=t(c,d),_=e(n,d),O=r(S,_,d),j=!0,O})(L,q)}}function f_(t){return function(r){const n=t(r);function a(){return n}return a.dependsOnOwnProps=!1,a}}function m_(t){return t.dependsOnOwnProps?!!t.dependsOnOwnProps:t.length!==1}function LR(t,e){return function(n,{displayName:a}){const o=function(c,d){return o.dependsOnOwnProps?o.mapToProps(c,d):o.mapToProps(c,void 0)};return o.dependsOnOwnProps=!0,o.mapToProps=function(c,d){o.mapToProps=t,o.dependsOnOwnProps=m_(t);let S=o(c,d);return typeof S=="function"&&(o.mapToProps=S,o.dependsOnOwnProps=m_(S),S=o(c,d)),S},o}}function BR(t,e){return(r,n)=>{throw new Error(`Invalid value of type ${typeof t} for ${e} argument when connecting component ${n.wrappedComponentName}.`)}}function qR(t,e,r){return Ge(Ge(Ge({},r),t),e)}function UR(t){t()}var g_={notify(){},get:()=>[]};function y_(t,e){let r,n=g_,a=0,o=!1;function u(){S.onStateChange&&S.onStateChange()}function c(){a++,r||(r=e?e.addNestedSub(u):t.subscribe(u),n=(function(){let O=null,j=null;return{clear(){O=null,j=null},notify(){UR((()=>{let R=O;for(;R;)R.callback(),R=R.next}))},get(){const R=[];let $=O;for(;$;)R.push($),$=$.next;return R},subscribe(R){let $=!0;const L=j={callback:R,next:null,prev:j};return L.prev?L.prev.next=L:O=L,function(){$&&O!==null&&($=!1,L.next?L.next.prev=L.prev:j=L.prev,L.prev?L.prev.next=L.next:O=L.next)}}}})())}function d(){a--,r&&a===0&&(r(),r=void 0,n.clear(),n=g_)}const S={addNestedSub:function(O){c();const j=n.subscribe(O);let R=!1;return()=>{R||(R=!0,j(),d())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:u,isSubscribed:function(){return o},trySubscribe:function(){o||(o=!0,c())},tryUnsubscribe:function(){o&&(o=!1,d())},getListeners:()=>n};return S}var zR=!(typeof window=="undefined"||window.document===void 0||window.document.createElement===void 0),VR=typeof navigator!="undefined"&&navigator.product==="ReactNative",Ev=zR||VR?p.useLayoutEffect:p.useEffect;function v_(t,e){return t===e?t!==0||e!==0||1/t==1/e:t!=t&&e!=e}function kw(t,e){if(v_(t,e))return!0;if(typeof t!="object"||t===null||typeof e!="object"||e===null)return!1;const r=Object.keys(t),n=Object.keys(e);if(r.length!==n.length)return!1;for(let a=0;a<r.length;a++)if(!Object.prototype.hasOwnProperty.call(e,r[a])||!v_(t[r[a]],e[r[a]]))return!1;return!0}var JR={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},WR={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},b_={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},HR={[RR]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[DR]:b_};function w_(t){return(function(r){return FR(r)===_w})(t)?b_:HR[t.$$typeof]||JR}var KR=Object.defineProperty,GR=Object.getOwnPropertyNames,E_=Object.getOwnPropertySymbols,YR=Object.getOwnPropertyDescriptor,XR=Object.getPrototypeOf,S_=Object.prototype;function Ow(t,e){if(typeof e!="string"){if(S_){const o=XR(e);o&&o!==S_&&Ow(t,o)}let r=GR(e);E_&&(r=r.concat(E_(e)));const n=w_(t),a=w_(e);for(let o=0;o<r.length;++o){const u=r[o];if(!(WR[u]||a&&a[u]||n&&n[u])){const c=YR(e,u);try{KR(t,u,c)}catch(d){}}}}return t}var Aw=Symbol.for("react-redux-context"),Cw=typeof globalThis!="undefined"?globalThis:{};function QR(){var r;if(!p.createContext)return{};const t=(r=Cw[Aw])!=null?r:Cw[Aw]=new Map;let e=t.get(p.createContext);return e||(e=p.createContext(null),t.set(p.createContext,e)),e}var x_=QR(),ZR=[null,null];function e7(t,e,r,n,a,o){t.current=n,r.current=!1,a.current&&(a.current=null,o())}function t7(t,e){return t===e}var r7=function(e,r,n,{pure:a,areStatesEqual:o=t7,areOwnPropsEqual:u=kw,areStatePropsEqual:c=kw,areMergedPropsEqual:d=kw,forwardRef:S=!1,context:_=x_}={}){const O=_,j=(function(X){return X?typeof X=="function"?LR(X):BR(X,"mapStateToProps"):f_((()=>({})))})(e),R=(function(X){return f_((D=>({dispatch:D})))})(),$=(function(X){return()=>qR})(),L=!!e;return q=>{const X=q.displayName||q.name||"Component",D=`Connect(${X})`,se={shouldHandleStateChanges:L,displayName:D,wrappedComponentName:X,WrappedComponent:q,initMapStateToProps:j,initMapDispatchToProps:R,initMergeProps:$,areStatesEqual:o,areStatePropsEqual:c,areOwnPropsEqual:u,areMergedPropsEqual:d};function te(ce){const[ie,_e,me]=p.useMemo((()=>{const hr=ce,{reactReduxForwardedRef:Rr}=hr,xr=jr(hr,["reactReduxForwardedRef"]);return[ce.context,Rr,xr]}),[ce]),ue=p.useMemo((()=>O),[ie,O]),ve=p.useContext(ue),fe=!!ce.store&&!!ce.store.getState&&!!ce.store.dispatch,be=!!ve&&!!ve.store,je=fe?ce.store:ve.store,qe=be?ve.getServerState:je.getState,pt=p.useMemo((()=>(function(xr,oa){var fn=oa,{initMapStateToProps:hr,initMapDispatchToProps:pn,initMergeProps:Yr}=fn,ln=jr(fn,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]);return $R(hr(xr,ln),pn(xr,ln),Yr(xr,ln),xr,ln)})(je.dispatch,se)),[je]),[_t,It]=p.useMemo((()=>{if(!L)return ZR;const Rr=y_(je,fe?void 0:ve.subscription),xr=Rr.notifyNestedSubs.bind(Rr);return[Rr,xr]}),[je,fe,ve]),Wt=p.useMemo((()=>fe?ve:Nr(Ge({},ve),{subscription:_t})),[fe,ve,_t]),or=p.useRef(void 0),ir=p.useRef(me),Ut=p.useRef(void 0),Ye=p.useRef(!1),Xe=p.useRef(!1),Mt=p.useRef(void 0);Ev((()=>(Xe.current=!0,()=>{Xe.current=!1})),[]);const kt=p.useMemo((()=>()=>Ut.current&&me===ir.current?Ut.current:pt(je.getState(),me)),[je,me]),Vt=p.useMemo((()=>Rr=>_t?(function(hr,pn,Yr,ln,oa,fn,ga,ya,Un,ei,ti){if(!hr)return()=>{};let Ts=!1,Bo=null;const ri=()=>{if(Ts||!ya.current)return;const xi=pn.getState();let va,Wa;try{va=ln(xi,oa.current)}catch(nu){Wa=nu,Bo=nu}Wa||(Bo=null),va===fn.current?ga.current||ei():(fn.current=va,Un.current=va,ga.current=!0,ti())};return Yr.onStateChange=ri,Yr.trySubscribe(),ri(),()=>{if(Ts=!0,Yr.tryUnsubscribe(),Yr.onStateChange=null,Bo)throw Bo}})(L,je,_t,pt,ir,or,Ye,Xe,Ut,It,Rr):()=>{}),[_t]);let rr;(function(xr,hr,pn){Ev((()=>xr(...hr)),pn)})(e7,[ir,or,Ye,me,Ut,It]);try{rr=p.useSyncExternalStore(Vt,kt,qe?()=>pt(qe(),me):kt)}catch(Rr){throw Mt.current&&(Rr.message+=`
|
||
The error may be correlated with this previous error:
|
||
${Mt.current.stack}
|
||
|
||
`),Rr}Ev((()=>{Mt.current=void 0,Ut.current=void 0,or.current=rr}));const pr=p.useMemo((()=>p.createElement(q,Nr(Ge({},rr),{ref:_e}))),[_e,q,rr]);return p.useMemo((()=>L?p.createElement(ue.Provider,{value:Wt},pr):pr),[ue,pr,Wt])}const le=p.memo(te);if(le.WrappedComponent=q,le.displayName=te.displayName=D,S){const ce=p.forwardRef((function(_e,me){return p.createElement(le,Nr(Ge({},_e),{reactReduxForwardedRef:me}))}));return ce.displayName=D,ce.WrappedComponent=q,Ow(ce,q)}return Ow(le,q)}},n7=function(e){const{children:r,context:n,serverState:a,store:o}=e,u=p.useMemo((()=>{const S=y_(o);return{store:o,subscription:S,getServerState:a?()=>a:void 0}}),[o,a]),c=p.useMemo((()=>o.getState()),[o]);Ev((()=>{const{subscription:S}=u;return S.onStateChange=S.notifyNestedSubs,S.trySubscribe(),c!==o.getState()&&S.notifyNestedSubs(),()=>{S.tryUnsubscribe(),S.onStateChange=void 0}}),[u,c]);const d=n||x_;return p.createElement(d.Provider,{value:u},r)},a7=Re(83488),__=Re.n(a7);const o7=t=>e=>{const{fn:r}=t();class n extends p.Component{render(){return p.createElement(e,Wr()({},t(),this.props,this.context))}}return n.displayName=`WithSystem(${r.getDisplayName(e)})`,n},i7=(t,e)=>r=>{const{fn:n}=t();class a extends p.Component{render(){return p.createElement(n7,{store:e},p.createElement(r,Wr()({},this.props,this.context)))}}return a.displayName=`WithRoot(${n.getDisplayName(r)})`,a},k_=(t,e,r)=>St(r?i7(t,r):__(),r7(((n,a)=>{var c;const o=Ge(Ge({},a),t());return(((c=e.prototype)==null?void 0:c.mapStateToProps)||(d=>({state:d})))(n,o)})),o7(t))(e),O_=(t,e,r,n)=>{for(const a in e){const o=e[a];typeof o=="function"&&o(r[a],n[a],t())}},s7=(t,e,r)=>(n,a)=>{const{fn:o}=t(),u=r(n,"root");class c extends p.Component{constructor(S,_){super(S,_),O_(t,a,S,{})}UNSAFE_componentWillReceiveProps(S){O_(t,a,S,this.props)}render(){const S=ci()(this.props,a?Object.keys(a):[]);return p.createElement(u,S)}}return c.displayName=`WithMappedContainer(${o.getDisplayName(u)})`,c},l7=(t,e,r,n)=>a=>{const o=r(t,e,n)("App","root"),{createRoot:u}=h_;u(a).render(p.createElement(o,null))},jw=(t,e,r)=>(n,a,o={})=>{if(typeof n!="string")throw new TypeError("Need a string, to fetch a component. Was given a "+typeof n);const u=r(n);return u?a?a==="root"?k_(t,u,e()):k_(t,u):u:(o.failSilently||t().log.warn("Could not find component:",n),null)},c7=t=>t.displayName||t.name||"Component",A_=({getComponents:t,getStore:e,getSystem:r})=>{const n=(a=jw(r,e,t),_i(a,((...u)=>JSON.stringify(u))));var a;const o=(u=>ka(u,((...c)=>c)))(s7(r,0,n));return{rootInjects:{getComponent:n,makeMappedContainer:o,render:l7(r,e,jw,t)},fn:{getDisplayName:c7}}},C_=({React:t,getSystem:e,getStore:r,getComponents:n})=>{const a={},o=parseInt(t==null?void 0:t.version,10);return o>=16&&o<18&&(a.render=((u,c,d,S)=>_=>{const O=d(u,c,S)("App","root");h_.render(p.createElement(O,null),_)})(e,r,jw,n)),{rootInjects:a}};function j_(t){let{fn:e}=t;const r={download:a=>({errActions:o,specSelectors:u,specActions:c,getConfigs:d})=>{let{fetch:S}=e;const _=d();function O(j){if(j instanceof Error||j.status>=400)return c.updateLoadingStatus("failed"),o.newThrownErr(Object.assign(new Error((j.message||j.statusText)+" "+a),{source:"fetch"})),void(!j.status&&j instanceof Error&&(function(){try{let $;if("URL"in yt?$=new URL(a):($=document.createElement("a"),$.href=a),$.protocol!=="https:"&&yt.location.protocol==="https:"){const L=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${$.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void o.newThrownErr(L)}if($.origin!==yt.location.origin){const L=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${$.origin}) does not match the page (${yt.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});o.newThrownErr(L)}}catch($){return}})());c.updateLoadingStatus("success"),c.updateSpec(j.text),u.url()!==a&&c.updateUrl(a)}a=a||u.url(),c.updateLoadingStatus("loading"),o.clear({source:"fetch"}),S({url:a,loadSpec:!0,requestInterceptor:_.requestInterceptor||(j=>j),responseInterceptor:_.responseInterceptor||(j=>j),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(O,O)},updateLoadingStatus:a=>([null,"loading","failed","success","failedConfig"].indexOf(a),{type:"spec_update_loading_status",payload:a})};let n={loadingStatus:lr((a=>a||(0,Y.Map)()),(a=>a.get("loadingStatus")||null))};return{statePlugins:{spec:{actions:r,reducers:{spec_update_loading_status:(a,o)=>typeof o.payload=="string"?a.set("loadingStatus",o.payload):a},selectors:n}}}}function Pw(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function Tw(t){return(function(r){if(Array.isArray(r))return Pw(r)})(t)||(function(r){if(typeof Symbol!="undefined"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)})(t)||(function(r,n){if(r){if(typeof r=="string")return Pw(r,n);var a={}.toString.call(r).slice(8,-1);return a==="Object"&&r.constructor&&(a=r.constructor.name),a==="Map"||a==="Set"?Array.from(r):a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?Pw(r,n):void 0}})(t)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function Jm(t){return Jm=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Jm(t)}function u7(t){var e=(function(n,a){if(Jm(n)!="object"||!n)return n;var o=n[Symbol.toPrimitive];if(o!==void 0){var u=o.call(n,a);if(Jm(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(n)})(t,"string");return Jm(e)=="symbol"?e:e+""}function P_(t,e,r){return(e=u7(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Nw(){return Nw=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Nw.apply(null,arguments)}function T_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),r.push.apply(r,n)}return r}function ad(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?T_(Object(r),!0).forEach((function(n){P_(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):T_(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var Iw={};function p7(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return(function(a){if(a.length===0||a.length===1)return a;var o=a.join(".");return Iw[o]||(Iw[o]=(function(c){var d=c.length;return d===0||d===1?c:d===2?[c[0],c[1],"".concat(c[0],".").concat(c[1]),"".concat(c[1],".").concat(c[0])]:d===3?[c[0],c[1],c[2],"".concat(c[0],".").concat(c[1]),"".concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[0]),"".concat(c[1],".").concat(c[2]),"".concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[1],".").concat(c[0])]:d>=4?[c[0],c[1],c[2],c[3],"".concat(c[0],".").concat(c[1]),"".concat(c[0],".").concat(c[2]),"".concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[0]),"".concat(c[1],".").concat(c[2]),"".concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[1]),"".concat(c[2],".").concat(c[3]),"".concat(c[3],".").concat(c[0]),"".concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[0]),"".concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[0],".").concat(c[1],".").concat(c[2],".").concat(c[3]),"".concat(c[0],".").concat(c[1],".").concat(c[3],".").concat(c[2]),"".concat(c[0],".").concat(c[2],".").concat(c[1],".").concat(c[3]),"".concat(c[0],".").concat(c[2],".").concat(c[3],".").concat(c[1]),"".concat(c[0],".").concat(c[3],".").concat(c[1],".").concat(c[2]),"".concat(c[0],".").concat(c[3],".").concat(c[2],".").concat(c[1]),"".concat(c[1],".").concat(c[0],".").concat(c[2],".").concat(c[3]),"".concat(c[1],".").concat(c[0],".").concat(c[3],".").concat(c[2]),"".concat(c[1],".").concat(c[2],".").concat(c[0],".").concat(c[3]),"".concat(c[1],".").concat(c[2],".").concat(c[3],".").concat(c[0]),"".concat(c[1],".").concat(c[3],".").concat(c[0],".").concat(c[2]),"".concat(c[1],".").concat(c[3],".").concat(c[2],".").concat(c[0]),"".concat(c[2],".").concat(c[0],".").concat(c[1],".").concat(c[3]),"".concat(c[2],".").concat(c[0],".").concat(c[3],".").concat(c[1]),"".concat(c[2],".").concat(c[1],".").concat(c[0],".").concat(c[3]),"".concat(c[2],".").concat(c[1],".").concat(c[3],".").concat(c[0]),"".concat(c[2],".").concat(c[3],".").concat(c[0],".").concat(c[1]),"".concat(c[2],".").concat(c[3],".").concat(c[1],".").concat(c[0]),"".concat(c[3],".").concat(c[0],".").concat(c[1],".").concat(c[2]),"".concat(c[3],".").concat(c[0],".").concat(c[2],".").concat(c[1]),"".concat(c[3],".").concat(c[1],".").concat(c[0],".").concat(c[2]),"".concat(c[3],".").concat(c[1],".").concat(c[2],".").concat(c[0]),"".concat(c[3],".").concat(c[2],".").concat(c[0],".").concat(c[1]),"".concat(c[3],".").concat(c[2],".").concat(c[1],".").concat(c[0])]:void 0})(a)),Iw[o]})(t.filter((function(n){return n!=="token"}))).reduce((function(n,a){return ad(ad({},n),r[a])}),e)}function N_(t){return t.join(" ")}function I_(t){var e=t.node,r=t.stylesheet,n=t.style,a=n===void 0?{}:n,o=t.useInlineStyles,u=t.key,c=e.properties,d=e.type,S=e.tagName,_=e.value;if(d==="text")return _;if(S){var O,j=(function(D,se){var te=0;return function(le){return te+=1,le.map((function(ce,ie){return I_({node:ce,stylesheet:D,useInlineStyles:se,key:"code-segment-".concat(te,"-").concat(ie)})}))}})(r,o);if(o){var R=Object.keys(r).reduce((function(X,D){return D.split(".").forEach((function(se){X.includes(se)||X.push(se)})),X}),[]),$=c.className&&c.className.includes("token")?["token"]:[],L=c.className&&$.concat(c.className.filter((function(X){return!R.includes(X)})));O=ad(ad({},c),{},{className:N_(L)||void 0,style:p7(c.className,Object.assign({},c.style,a),r)})}else O=ad(ad({},c),{},{className:N_(c.className)});var q=j(e.children);return p.createElement(S,Nw({key:u},O),q)}}var h7=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function M_(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable}))),r.push.apply(r,n)}return r}function hp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?M_(Object(r),!0).forEach((function(n){P_(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):M_(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var d7=/\n/g;function f7(t){var e=t.codeString,r=t.codeStyle,n=t.containerStyle,a=n===void 0?{float:"left",paddingRight:"10px"}:n,o=t.numberStyle,u=o===void 0?{}:o,c=t.startingLineNumber;return p.createElement("code",{style:Object.assign({},r,a)},(function(S){var _=S.lines,O=S.startingLineNumber,j=S.style;return _.map((function(R,$){var L=$+O;return p.createElement("span",{key:"line-".concat($),className:"react-syntax-highlighter-line-number",style:typeof j=="function"?j(L):j},"".concat(L,`
|
||
`))}))})({lines:e.replace(/\n$/,"").split(`
|
||
`),style:u,startingLineNumber:c}))}function R_(t,e){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(t),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:e},children:[{type:"text",value:t}]}}function D_(t,e,r){var n,a={display:"inline-block",minWidth:(n=r,"".concat(n.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},o=typeof t=="function"?t(e):t;return hp(hp({},a),o)}function Sv(t){var e=t.children,r=t.lineNumber,n=t.lineNumberStyle,a=t.largestLineNumber,o=t.showInlineLineNumbers,u=t.lineProps,c=u===void 0?{}:u,d=t.className,S=d===void 0?[]:d,_=t.showLineNumbers,O=t.wrapLongLines,j=t.wrapLines,R=j!==void 0&&j?hp({},typeof c=="function"?c(r):c):{};if(R.className=R.className?[].concat(Tw(R.className.trim().split(/\s+/)),Tw(S)):S,r&&o){var $=D_(n,r,a);e.unshift(R_(r,$))}return O&_&&(R.style=hp({display:"flex"},R.style)),{type:"element",tagName:"span",properties:R,children:e}}function F_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];t.length===void 0&&(t=[t]);for(var n=0;n<t.length;n++){var a=t[n];if(a.type==="text")r.push(Sv({children:[a],className:Tw(new Set(e))}));else if(a.children){var o,u=e.concat(((o=a.properties)===null||o===void 0?void 0:o.className)||[]);F_(a.children,u).forEach((function(c){return r.push(c)}))}}return r}function m7(t,e,r,n,a,o,u,c,d){var S,_=F_(t.value),O=[],j=-1,R=0;function $(D,se){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return e||te.length>0?(function(ce,ie){return Sv({children:ce,lineNumber:ie,lineNumberStyle:c,largestLineNumber:u,showInlineLineNumbers:a,lineProps:r,className:arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],showLineNumbers:n,wrapLongLines:d,wrapLines:e})})(D,se,te):(function(ce,ie){if(n&&ie&&a){var _e=D_(c,ie,u);ce.unshift(R_(ie,_e))}return ce})(D,se)}for(var L=function(){var se=_[R],te=se.children[0].value,le=(function(_e){return _e.match(d7)})(te);if(le){var ce=te.split(`
|
||
`);ce.forEach((function(ie,_e){var me=n&&O.length+o,ue={type:"text",value:"".concat(ie,`
|
||
`)};if(_e===0){var ve=$(_.slice(j+1,R).concat(Sv({children:[ue],className:se.properties.className})),me);O.push(ve)}else if(_e===ce.length-1){var fe=_[R+1]&&_[R+1].children&&_[R+1].children[0],be={type:"text",value:"".concat(ie)};if(fe){var je=Sv({children:[be],className:se.properties.className});_.splice(R+1,0,je)}else{var qe=$([be],me,se.properties.className);O.push(qe)}}else{var pt=$([ue],me,se.properties.className);O.push(pt)}})),j=R}R++};R<_.length;)L();if(j!==_.length-1){var q=_.slice(j+1,_.length);if(q&&q.length){var X=$(q,n&&O.length+o);O.push(X)}}return e?O:(S=[]).concat.apply(S,O)}function g7(t){var e=t.rows,r=t.stylesheet,n=t.useInlineStyles;return e.map((function(a,o){return I_({node:a,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(o)})}))}function $_(t){return t&&t.highlightAuto!==void 0}var L_=Re(43768),B_=(function(e,r){return function(a){var o,u,c=a.language,d=a.children,S=a.style,_=S===void 0?r:S,O=a.customStyle,j=O===void 0?{}:O,R=a.codeTagProps,$=R===void 0?{className:c?"language-".concat(c):void 0,style:hp(hp({},_['code[class*="language-"]']),_['code[class*="language-'.concat(c,'"]')])}:R,L=a.useInlineStyles,q=L===void 0||L,X=a.showLineNumbers,D=X!==void 0&&X,se=a.showInlineLineNumbers,te=se===void 0||se,le=a.startingLineNumber,ce=le===void 0?1:le,ie=a.lineNumberContainerStyle,_e=a.lineNumberStyle,me=_e===void 0?{}:_e,ue=a.wrapLines,ve=a.wrapLongLines,fe=ve!==void 0&&ve,be=a.lineProps,je=be===void 0?{}:be,qe=a.renderer,pt=a.PreTag,_t=pt===void 0?"pre":pt,It=a.CodeTag,Wt=It===void 0?"code":It,or=a.code,ir=or===void 0?(Array.isArray(d)?d[0]:d)||"":or,Ut=a.astGenerator,Ye=(function(hr,pn){if(hr==null)return{};var Yr,ln,oa=(function(ya,Un){if(ya==null)return{};var ei={};for(var ti in ya)if({}.hasOwnProperty.call(ya,ti)){if(Un.indexOf(ti)!==-1)continue;ei[ti]=ya[ti]}return ei})(hr,pn);if(Object.getOwnPropertySymbols){var fn=Object.getOwnPropertySymbols(hr);for(ln=0;ln<fn.length;ln++)Yr=fn[ln],pn.indexOf(Yr)===-1&&{}.propertyIsEnumerable.call(hr,Yr)&&(oa[Yr]=hr[Yr])}return oa})(a,h7);Ut=Ut||e;var Xe=D?p.createElement(f7,{containerStyle:ie,codeStyle:$.style||{},numberStyle:me,startingLineNumber:ce,codeString:ir}):null,Mt=_.hljs||_['pre[class*="language-"]']||{backgroundColor:"#fff"},kt=$_(Ut)?"hljs":"prismjs",Vt=q?Object.assign({},Ye,{style:Object.assign({},Mt,j)}):Object.assign({},Ye,{className:Ye.className?"".concat(kt," ").concat(Ye.className):kt,style:Object.assign({},j)});if($.style=hp(fe?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"},$.style),!Ut)return p.createElement(_t,Vt,Xe,p.createElement(Wt,$,ir));(ue===void 0&&qe||fe)&&(ue=!0),qe=qe||g7;var rr=[{type:"text",value:ir}],pr=(function(hr){var pn=hr.astGenerator,Yr=hr.language,ln=hr.code,oa=hr.defaultCodeValue;if($_(pn)){var fn=(function(ga,ya){return ga.listLanguages().indexOf(ya)!==-1})(pn,Yr);return Yr==="text"?{value:oa,language:"text"}:fn?pn.highlight(Yr,ln):pn.highlightAuto(ln)}try{return Yr&&Yr!=="text"?{value:pn.highlight(ln,Yr)}:{value:oa}}catch(ga){return{value:oa}}})({astGenerator:Ut,language:c,code:ir,defaultCodeValue:rr});pr.language===null&&(pr.value=rr);var Rr=m7(pr,ue,je,D,te,ce,ce+((o=(u=ir.match(/\n/g))===null||u===void 0?void 0:u.length)!==null&&o!==void 0?o:0),me,fe);return p.createElement(_t,Vt,p.createElement(Wt,$,!te&&Xe,qe({rows:Rr,stylesheet:_,useInlineStyles:q})))}})(L_,{});B_.registerLanguage=L_.registerLanguage;const Wl=B_;var y7=Re(95089);const q_=Re.n(y7)();var v7=Re(65772);const b7=Re.n(v7)();var w7=Re(17285);const E7=Re.n(w7)();var S7=Re(35344);const x7=Re.n(S7)();var _7=Re(17533);const k7=Re.n(_7)();var O7=Re(73402);const A7=Re.n(O7)();var C7=Re(26571);const j7=Re.n(C7)(),P7=()=>{Wl.registerLanguage("json",b7),Wl.registerLanguage("js",q_),Wl.registerLanguage("xml",E7),Wl.registerLanguage("yaml",k7),Wl.registerLanguage("http",A7),Wl.registerLanguage("bash",x7),Wl.registerLanguage("powershell",j7),Wl.registerLanguage("javascript",q_)},U_={hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#333",color:"white"},"hljs-name":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-code":{fontStyle:"italic",color:"#888"},"hljs-emphasis":{fontStyle:"italic"},"hljs-tag":{color:"#62c8f3"},"hljs-variable":{color:"#ade5fc"},"hljs-template-variable":{color:"#ade5fc"},"hljs-selector-id":{color:"#ade5fc"},"hljs-selector-class":{color:"#ade5fc"},"hljs-string":{color:"#a2fca2"},"hljs-bullet":{color:"#d36363"},"hljs-type":{color:"#ffa"},"hljs-title":{color:"#ffa"},"hljs-section":{color:"#ffa"},"hljs-attribute":{color:"#ffa"},"hljs-quote":{color:"#ffa"},"hljs-built_in":{color:"#ffa"},"hljs-builtin-name":{color:"#ffa"},"hljs-number":{color:"#d36363"},"hljs-symbol":{color:"#d36363"},"hljs-keyword":{color:"#fcc28c"},"hljs-selector-tag":{color:"#fcc28c"},"hljs-literal":{color:"#fcc28c"},"hljs-comment":{color:"#888"},"hljs-deletion":{color:"#333",backgroundColor:"#fc9b9b"},"hljs-regexp":{color:"#c6b4f0"},"hljs-link":{color:"#c6b4f0"},"hljs-meta":{color:"#fc9b9b"},"hljs-addition":{backgroundColor:"#a2fca2",color:"#333"}},T7={agate:U_,arta:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#222",color:"#aaa"},"hljs-subst":{color:"#aaa"},"hljs-section":{color:"#fff",fontWeight:"bold"},"hljs-comment":{color:"#444"},"hljs-quote":{color:"#444"},"hljs-meta":{color:"#444"},"hljs-string":{color:"#ffcc33"},"hljs-symbol":{color:"#ffcc33"},"hljs-bullet":{color:"#ffcc33"},"hljs-regexp":{color:"#ffcc33"},"hljs-number":{color:"#00cc66"},"hljs-addition":{color:"#00cc66"},"hljs-built_in":{color:"#32aaee"},"hljs-builtin-name":{color:"#32aaee"},"hljs-literal":{color:"#32aaee"},"hljs-type":{color:"#32aaee"},"hljs-template-variable":{color:"#32aaee"},"hljs-attribute":{color:"#32aaee"},"hljs-link":{color:"#32aaee"},"hljs-keyword":{color:"#6644aa"},"hljs-selector-tag":{color:"#6644aa"},"hljs-name":{color:"#6644aa"},"hljs-selector-id":{color:"#6644aa"},"hljs-selector-class":{color:"#6644aa"},"hljs-title":{color:"#bb1166"},"hljs-variable":{color:"#bb1166"},"hljs-deletion":{color:"#bb1166"},"hljs-template-tag":{color:"#bb1166"},"hljs-doctag":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"},"hljs-emphasis":{fontStyle:"italic"}},monokai:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#272822",color:"#ddd"},"hljs-tag":{color:"#f92672"},"hljs-keyword":{color:"#f92672",fontWeight:"bold"},"hljs-selector-tag":{color:"#f92672",fontWeight:"bold"},"hljs-literal":{color:"#f92672",fontWeight:"bold"},"hljs-strong":{color:"#f92672"},"hljs-name":{color:"#f92672"},"hljs-code":{color:"#66d9ef"},"hljs-class .hljs-title":{color:"white"},"hljs-attribute":{color:"#bf79db"},"hljs-symbol":{color:"#bf79db"},"hljs-regexp":{color:"#bf79db"},"hljs-link":{color:"#bf79db"},"hljs-string":{color:"#a6e22e"},"hljs-bullet":{color:"#a6e22e"},"hljs-subst":{color:"#a6e22e"},"hljs-title":{color:"#a6e22e",fontWeight:"bold"},"hljs-section":{color:"#a6e22e",fontWeight:"bold"},"hljs-emphasis":{color:"#a6e22e"},"hljs-type":{color:"#a6e22e",fontWeight:"bold"},"hljs-built_in":{color:"#a6e22e"},"hljs-builtin-name":{color:"#a6e22e"},"hljs-selector-attr":{color:"#a6e22e"},"hljs-selector-pseudo":{color:"#a6e22e"},"hljs-addition":{color:"#a6e22e"},"hljs-variable":{color:"#a6e22e"},"hljs-template-tag":{color:"#a6e22e"},"hljs-template-variable":{color:"#a6e22e"},"hljs-comment":{color:"#75715e"},"hljs-quote":{color:"#75715e"},"hljs-deletion":{color:"#75715e"},"hljs-meta":{color:"#75715e"},"hljs-doctag":{fontWeight:"bold"},"hljs-selector-id":{fontWeight:"bold"}},nord:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#2E3440",color:"#D8DEE9"},"hljs-subst":{color:"#D8DEE9"},"hljs-selector-tag":{color:"#81A1C1"},"hljs-selector-id":{color:"#8FBCBB",fontWeight:"bold"},"hljs-selector-class":{color:"#8FBCBB"},"hljs-selector-attr":{color:"#8FBCBB"},"hljs-selector-pseudo":{color:"#88C0D0"},"hljs-addition":{backgroundColor:"rgba(163, 190, 140, 0.5)"},"hljs-deletion":{backgroundColor:"rgba(191, 97, 106, 0.5)"},"hljs-built_in":{color:"#8FBCBB"},"hljs-type":{color:"#8FBCBB"},"hljs-class":{color:"#8FBCBB"},"hljs-function":{color:"#88C0D0"},"hljs-function > .hljs-title":{color:"#88C0D0"},"hljs-keyword":{color:"#81A1C1"},"hljs-literal":{color:"#81A1C1"},"hljs-symbol":{color:"#81A1C1"},"hljs-number":{color:"#B48EAD"},"hljs-regexp":{color:"#EBCB8B"},"hljs-string":{color:"#A3BE8C"},"hljs-title":{color:"#8FBCBB"},"hljs-params":{color:"#D8DEE9"},"hljs-bullet":{color:"#81A1C1"},"hljs-code":{color:"#8FBCBB"},"hljs-emphasis":{fontStyle:"italic"},"hljs-formula":{color:"#8FBCBB"},"hljs-strong":{fontWeight:"bold"},"hljs-link:hover":{textDecoration:"underline"},"hljs-quote":{color:"#4C566A"},"hljs-comment":{color:"#4C566A"},"hljs-doctag":{color:"#8FBCBB"},"hljs-meta":{color:"#5E81AC"},"hljs-meta-keyword":{color:"#5E81AC"},"hljs-meta-string":{color:"#A3BE8C"},"hljs-attr":{color:"#8FBCBB"},"hljs-attribute":{color:"#D8DEE9"},"hljs-builtin-name":{color:"#81A1C1"},"hljs-name":{color:"#81A1C1"},"hljs-section":{color:"#88C0D0"},"hljs-tag":{color:"#81A1C1"},"hljs-variable":{color:"#D8DEE9"},"hljs-template-variable":{color:"#D8DEE9"},"hljs-template-tag":{color:"#5E81AC"},"abnf .hljs-attribute":{color:"#88C0D0"},"abnf .hljs-symbol":{color:"#EBCB8B"},"apache .hljs-attribute":{color:"#88C0D0"},"apache .hljs-section":{color:"#81A1C1"},"arduino .hljs-built_in":{color:"#88C0D0"},"aspectj .hljs-meta":{color:"#D08770"},"aspectj > .hljs-title":{color:"#88C0D0"},"bnf .hljs-attribute":{color:"#8FBCBB"},"clojure .hljs-name":{color:"#88C0D0"},"clojure .hljs-symbol":{color:"#EBCB8B"},"coq .hljs-built_in":{color:"#88C0D0"},"cpp .hljs-meta-string":{color:"#8FBCBB"},"css .hljs-built_in":{color:"#88C0D0"},"css .hljs-keyword":{color:"#D08770"},"diff .hljs-meta":{color:"#8FBCBB"},"ebnf .hljs-attribute":{color:"#8FBCBB"},"glsl .hljs-built_in":{color:"#88C0D0"},"groovy .hljs-meta:not(:first-child)":{color:"#D08770"},"haxe .hljs-meta":{color:"#D08770"},"java .hljs-meta":{color:"#D08770"},"ldif .hljs-attribute":{color:"#8FBCBB"},"lisp .hljs-name":{color:"#88C0D0"},"lua .hljs-built_in":{color:"#88C0D0"},"moonscript .hljs-built_in":{color:"#88C0D0"},"nginx .hljs-attribute":{color:"#88C0D0"},"nginx .hljs-section":{color:"#5E81AC"},"pf .hljs-built_in":{color:"#88C0D0"},"processing .hljs-built_in":{color:"#88C0D0"},"scss .hljs-keyword":{color:"#81A1C1"},"stylus .hljs-keyword":{color:"#81A1C1"},"swift .hljs-meta":{color:"#D08770"},"vim .hljs-built_in":{color:"#88C0D0",fontStyle:"italic"},"yaml .hljs-meta":{color:"#D08770"}},obsidian:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",background:"#282b2e",color:"#e0e2e4"},"hljs-keyword":{color:"#93c763",fontWeight:"bold"},"hljs-selector-tag":{color:"#93c763",fontWeight:"bold"},"hljs-literal":{color:"#93c763",fontWeight:"bold"},"hljs-selector-id":{color:"#93c763"},"hljs-number":{color:"#ffcd22"},"hljs-attribute":{color:"#668bb0"},"hljs-code":{color:"white"},"hljs-class .hljs-title":{color:"white"},"hljs-section":{color:"white",fontWeight:"bold"},"hljs-regexp":{color:"#d39745"},"hljs-link":{color:"#d39745"},"hljs-meta":{color:"#557182"},"hljs-tag":{color:"#8cbbad"},"hljs-name":{color:"#8cbbad",fontWeight:"bold"},"hljs-bullet":{color:"#8cbbad"},"hljs-subst":{color:"#8cbbad"},"hljs-emphasis":{color:"#8cbbad"},"hljs-type":{color:"#8cbbad",fontWeight:"bold"},"hljs-built_in":{color:"#8cbbad"},"hljs-selector-attr":{color:"#8cbbad"},"hljs-selector-pseudo":{color:"#8cbbad"},"hljs-addition":{color:"#8cbbad"},"hljs-variable":{color:"#8cbbad"},"hljs-template-tag":{color:"#8cbbad"},"hljs-template-variable":{color:"#8cbbad"},"hljs-string":{color:"#ec7600"},"hljs-symbol":{color:"#ec7600"},"hljs-comment":{color:"#818e96"},"hljs-quote":{color:"#818e96"},"hljs-deletion":{color:"#818e96"},"hljs-selector-class":{color:"#A082BD"},"hljs-doctag":{fontWeight:"bold"},"hljs-title":{fontWeight:"bold"},"hljs-strong":{fontWeight:"bold"}},"tomorrow-night":{"hljs-comment":{color:"#969896"},"hljs-quote":{color:"#969896"},"hljs-variable":{color:"#cc6666"},"hljs-template-variable":{color:"#cc6666"},"hljs-tag":{color:"#cc6666"},"hljs-name":{color:"#cc6666"},"hljs-selector-id":{color:"#cc6666"},"hljs-selector-class":{color:"#cc6666"},"hljs-regexp":{color:"#cc6666"},"hljs-deletion":{color:"#cc6666"},"hljs-number":{color:"#de935f"},"hljs-built_in":{color:"#de935f"},"hljs-builtin-name":{color:"#de935f"},"hljs-literal":{color:"#de935f"},"hljs-type":{color:"#de935f"},"hljs-params":{color:"#de935f"},"hljs-meta":{color:"#de935f"},"hljs-link":{color:"#de935f"},"hljs-attribute":{color:"#f0c674"},"hljs-string":{color:"#b5bd68"},"hljs-symbol":{color:"#b5bd68"},"hljs-bullet":{color:"#b5bd68"},"hljs-addition":{color:"#b5bd68"},"hljs-title":{color:"#81a2be"},"hljs-section":{color:"#81a2be"},"hljs-keyword":{color:"#b294bb"},"hljs-selector-tag":{color:"#b294bb"},hljs:{display:"block",overflowX:"auto",background:"#1d1f21",color:"#c5c8c6",padding:"0.5em"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}},idea:{hljs:{display:"block",overflowX:"auto",padding:"0.5em",color:"#000",background:"#fff"},"hljs-subst":{fontWeight:"normal",color:"#000"},"hljs-title":{fontWeight:"normal",color:"#000"},"hljs-comment":{color:"#808080",fontStyle:"italic"},"hljs-quote":{color:"#808080",fontStyle:"italic"},"hljs-meta":{color:"#808000"},"hljs-tag":{background:"#efefef"},"hljs-section":{fontWeight:"bold",color:"#000080"},"hljs-name":{fontWeight:"bold",color:"#000080"},"hljs-literal":{fontWeight:"bold",color:"#000080"},"hljs-keyword":{fontWeight:"bold",color:"#000080"},"hljs-selector-tag":{fontWeight:"bold",color:"#000080"},"hljs-type":{fontWeight:"bold",color:"#000080"},"hljs-selector-id":{fontWeight:"bold",color:"#000080"},"hljs-selector-class":{fontWeight:"bold",color:"#000080"},"hljs-attribute":{fontWeight:"bold",color:"#0000ff"},"hljs-number":{fontWeight:"normal",color:"#0000ff"},"hljs-regexp":{fontWeight:"normal",color:"#0000ff"},"hljs-link":{fontWeight:"normal",color:"#0000ff"},"hljs-string":{color:"#008000",fontWeight:"bold"},"hljs-symbol":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-bullet":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-formula":{color:"#000",background:"#d0eded",fontStyle:"italic"},"hljs-doctag":{textDecoration:"underline"},"hljs-variable":{color:"#660e7a"},"hljs-template-variable":{color:"#660e7a"},"hljs-addition":{background:"#baeeba"},"hljs-deletion":{background:"#ffc8bd"},"hljs-emphasis":{fontStyle:"italic"},"hljs-strong":{fontWeight:"bold"}}},N7=U_,I7=({language:t,className:e="",getConfigs:r,syntaxHighlighting:n={},children:a=""})=>{var S;const o=r().syntaxHighlight.theme,{styles:u,defaultStyle:c}=n,d=(S=u==null?void 0:u[o])!=null?S:c;return p.createElement(Wl,{language:t,className:e,style:d},a)};var M7=Re(5419),R7=Re.n(M7);const D7=({fileName:t="response.txt",className:e,downloadable:r,getComponent:n,canCopy:a,language:o,children:u})=>{const c=(0,p.useRef)(null),d=n("SyntaxHighlighter",!0),S=_=>{const{target:O,deltaY:j}=_,{scrollHeight:R,offsetHeight:$,scrollTop:L}=O;R>$&&(L===0&&j<0||$+L>=R&&j>0)&&_.preventDefault()};return(0,p.useEffect)((()=>{const _=Array.from(c.current.childNodes).filter((O=>!!O.nodeType&&O.classList.contains("microlight")));return _.forEach((O=>O.addEventListener("mousewheel",S,{passive:!1}))),()=>{_.forEach((O=>O.removeEventListener("mousewheel",S)))}}),[u,e,o]),p.createElement("div",{className:"highlight-code",ref:c},a&&p.createElement("div",{className:"copy-to-clipboard"},p.createElement(Nc.CopyToClipboard,{text:u},p.createElement("button",null))),r?p.createElement("button",{className:"download-contents",onClick:()=>{R7()(u,t)}},"Download"):null,p.createElement(d,{language:o,className:Br()(e,"microlight"),renderPlainText:({children:_,PlainTextViewer:O})=>p.createElement(O,{className:e},_)},u))},F7=({className:t="",children:e})=>p.createElement("pre",{className:Br()("microlight",t)},e),$7=(t,e)=>o=>{var u=o,{renderPlainText:r,children:n}=u,a=jr(u,["renderPlainText","children"]);const c=e.getConfigs().syntaxHighlight.activated,d=e.getComponent("PlainTextViewer");return c||typeof r!="function"?c?p.createElement(t,a,n):p.createElement(d,null,n):r({children:n,PlainTextViewer:d})},L7=()=>({afterLoad:P7,rootInjects:{syntaxHighlighting:{styles:T7,defaultStyle:N7}},components:{SyntaxHighlighter:I7,HighlightCode:D7,PlainTextViewer:F7}}),B7=()=>({wrapComponents:{SyntaxHighlighter:$7}}),z_=()=>[L7,B7],q7=()=>{const{GIT_DIRTY:t,GIT_COMMIT:e,PACKAGE_VERSION:r,BUILD_TIME:n}={PACKAGE_VERSION:"5.31.0",GIT_COMMIT:"gcf11271c",GIT_DIRTY:!0,BUILD_TIME:"Thu, 11 Dec 2025 15:56:57 GMT"};yt.versions=yt.versions||{},yt.versions.swaggerUI={version:r,gitRevision:e,gitDirty:t,buildTimestamp:n}},V_=()=>({afterLoad:q7});var U7=Re(47248),z7=Re.n(U7);const J_=console.error,V7=t=>e=>{const{getComponent:r,fn:n}=t(),a=r("ErrorBoundary"),o=n.getDisplayName(e);class u extends p.Component{render(){return p.createElement(a,{targetName:o,getComponent:r,fn:n},p.createElement(e,Wr()({},this.props,this.context)))}}var c;return u.displayName=`WithErrorBoundary(${o})`,(c=e).prototype&&c.prototype.isReactComponent&&(u.prototype.mapStateToProps=e.prototype.mapStateToProps),u},W_=({name:t})=>p.createElement("div",{className:"fallback"},"😱 ",p.createElement("i",null,"Could not render ",t==="t"?"this component":t,", see the console."));class H_ extends p.Component{static getDerivedStateFromError(e){return{hasError:!0,error:e}}constructor(...e){super(...e),this.state={hasError:!1,error:null}}componentDidCatch(e,r){this.props.fn.componentDidCatch(e,r)}render(){const{getComponent:e,targetName:r,children:n}=this.props;if(this.state.hasError){const a=e("Fallback");return p.createElement(a,{name:r})}return n}}Ee(H_,"defaultProps",{targetName:"this component",getComponent:()=>W_,fn:{componentDidCatch:J_},children:null});const J7=H_,K_=({componentList:t=[],fullOverride:e=!1}={})=>({getSystem:r})=>{const n=e?t:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...t],a=z7()(n,Array(n.length).fill(((o,{fn:u})=>u.withErrorBoundary(o))));return{fn:{componentDidCatch:J_,withErrorBoundary:V7(r)},components:{ErrorBoundary:J7,Fallback:W_},wrapComponents:a}};class W7 extends p.Component{getLayout(){const{getComponent:e,layoutSelectors:r}=this.props,n=r.current();return e(n,!0)||(()=>p.createElement("h1",null,' No layout defined for "',n,'" '))}render(){const e=this.getLayout();return p.createElement(e,null)}}const H7=W7;class K7 extends p.Component{constructor(){super(...arguments);Ee(this,"close",()=>{let{authActions:r}=this.props;r.showDefinitions(!1)})}render(){let{authSelectors:r,authActions:n,getComponent:a,errSelectors:o,specSelectors:u,fn:{AST:c={}}}=this.props,d=r.shownDefinitions();const S=a("auths"),_=a("CloseIcon");return p.createElement("div",{className:"dialog-ux"},p.createElement("div",{className:"backdrop-ux"}),p.createElement("div",{className:"modal-ux"},p.createElement("div",{className:"modal-dialog-ux"},p.createElement("div",{className:"modal-ux-inner"},p.createElement("div",{className:"modal-ux-header"},p.createElement("h3",null,"Available authorizations"),p.createElement("button",{type:"button",className:"close-modal",onClick:this.close},p.createElement(_,null))),p.createElement("div",{className:"modal-ux-content"},d.valueSeq().map(((O,j)=>p.createElement(S,{key:j,AST:c,definitions:O,getComponent:a,errSelectors:o,authSelectors:r,authActions:n,specSelectors:u}))))))))}}class G7 extends p.Component{render(){let{isAuthorized:e,showPopup:r,onClick:n,getComponent:a}=this.props;const o=a("authorizationPopup",!0),u=a("LockAuthIcon",!0),c=a("UnlockAuthIcon",!0);return p.createElement("div",{className:"auth-wrapper"},p.createElement("button",{className:e?"btn authorize locked":"btn authorize unlocked",onClick:n},p.createElement("span",null,"Authorize"),e?p.createElement(u,null):p.createElement(c,null)),r&&p.createElement(o,null))}}class Y7 extends p.Component{render(){const{authActions:e,authSelectors:r,specSelectors:n,getComponent:a}=this.props,o=n.securityDefinitions(),u=r.definitionsToAuthorize(),c=a("authorizeBtn");return o?p.createElement(c,{onClick:()=>e.showDefinitions(u),isAuthorized:!!r.authorized().size,showPopup:!!r.shownDefinitions(),getComponent:a}):null}}class X7 extends p.Component{constructor(){super(...arguments);Ee(this,"onClick",r=>{r.stopPropagation();let{onClick:n}=this.props;n&&n()})}render(){let{isAuthorized:r,getComponent:n}=this.props;const a=n("LockAuthOperationIcon",!0),o=n("UnlockAuthOperationIcon",!0);return p.createElement("button",{className:"authorization__btn","aria-label":r?"authorization button locked":"authorization button unlocked",onClick:this.onClick},r?p.createElement(a,{className:"locked"}):p.createElement(o,{className:"unlocked"}))}}class Q7 extends p.Component{constructor(r,n){super(r,n);Ee(this,"onAuthChange",r=>{let{name:n}=r;this.setState({[n]:r})});Ee(this,"submitAuth",r=>{r.preventDefault();let{authActions:n}=this.props;n.authorizeWithPersistOption(this.state)});Ee(this,"logoutClick",r=>{r.preventDefault();let{authActions:n,definitions:a}=this.props,o=a.map(((u,c)=>c)).toArray();this.setState(o.reduce(((u,c)=>(u[c]="",u)),{})),n.logoutWithPersistOption(o)});Ee(this,"close",r=>{r.preventDefault();let{authActions:n}=this.props;n.showDefinitions(!1)});this.state={}}render(){let{definitions:r,getComponent:n,authSelectors:a,errSelectors:o}=this.props;const u=n("AuthItem"),c=n("oauth2",!0),d=n("Button");let S=a.authorized(),_=r.filter(((R,$)=>!!S.get($))),O=r.filter((R=>R.get("type")!=="oauth2")),j=r.filter((R=>R.get("type")==="oauth2"));return p.createElement("div",{className:"auth-container"},!!O.size&&p.createElement("form",{onSubmit:this.submitAuth},O.map(((R,$)=>p.createElement(u,{key:$,schema:R,name:$,getComponent:n,onAuthChange:this.onAuthChange,authorized:S,errSelectors:o,authSelectors:a}))).toArray(),p.createElement("div",{className:"auth-btn-wrapper"},O.size===_.size?p.createElement(d,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):p.createElement(d,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),p.createElement(d,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),j&&j.size?p.createElement("div",null,p.createElement("div",{className:"scope-def"},p.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),p.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),r.filter((R=>R.get("type")==="oauth2")).map(((R,$)=>p.createElement("div",{key:$},p.createElement(c,{authorized:S,schema:R,name:$})))).toArray()):null)}}class Z7 extends p.Component{render(){let{schema:e,name:r,getComponent:n,onAuthChange:a,authorized:o,errSelectors:u,authSelectors:c}=this.props;const d=n("apiKeyAuth"),S=n("basicAuth");let _;const O=e.get("type");switch(O){case"apiKey":_=p.createElement(d,{key:r,schema:e,name:r,errSelectors:u,authorized:o,getComponent:n,onChange:a,authSelectors:c});break;case"basic":_=p.createElement(S,{key:r,schema:e,name:r,errSelectors:u,authorized:o,getComponent:n,onChange:a,authSelectors:c});break;default:_=p.createElement("div",{key:r},"Unknown security definition type ",O)}return p.createElement("div",{key:`${r}-jump`},_)}}class eD extends p.Component{render(){let{error:e}=this.props,r=e.get("level"),n=e.get("message"),a=e.get("source");return p.createElement("div",{className:"errors"},p.createElement("b",null,a," ",r),p.createElement("span",null,n))}}class tD extends p.Component{constructor(r,n){super(r,n);Ee(this,"onChange",r=>{let{onChange:n}=this.props,a=r.target.value,o=Object.assign({},this.state,{value:a});this.setState(o),n(o)});let{name:a,schema:o}=this.props,u=this.getValue();this.state={name:a,schema:o,value:u}}getValue(){let{name:r,authorized:n}=this.props;return n&&n.getIn([r,"value"])}render(){let{schema:r,getComponent:n,errSelectors:a,name:o,authSelectors:u}=this.props;const c=n("Input"),d=n("Row"),S=n("Col"),_=n("authError"),O=n("Markdown",!0),j=n("JumpToPath",!0),R=u.selectAuthPath(o);let $=this.getValue(),L=a.allErrors().filter((q=>q.get("authId")===o));return p.createElement("div",null,p.createElement("h4",null,p.createElement("code",null,o||r.get("name"))," (apiKey)",p.createElement(j,{path:R})),$&&p.createElement("h6",null,"Authorized"),p.createElement(d,null,p.createElement(O,{source:r.get("description")})),p.createElement(d,null,p.createElement("p",null,"Name: ",p.createElement("code",null,r.get("name")))),p.createElement(d,null,p.createElement("p",null,"In: ",p.createElement("code",null,r.get("in")))),p.createElement(d,null,p.createElement("label",{htmlFor:"api_key_value"},"Value:"),$?p.createElement("code",null," ****** "):p.createElement(S,null,p.createElement(c,{id:"api_key_value",type:"text",onChange:this.onChange,autoFocus:!0}))),L.valueSeq().map(((q,X)=>p.createElement(_,{error:q,key:X}))))}}class rD extends p.Component{constructor(r,n){super(r,n);Ee(this,"onChange",r=>{let{onChange:n}=this.props,{value:a,name:o}=r.target,u=this.state.value;u[o]=a,this.setState({value:u}),n(this.state)});let{schema:a,name:o}=this.props,u=this.getValue().username;this.state={name:o,schema:a,value:u?{username:u}:{}}}getValue(){let{authorized:r,name:n}=this.props;return r&&r.getIn([n,"value"])||{}}render(){let{schema:r,getComponent:n,name:a,errSelectors:o,authSelectors:u}=this.props;const c=n("Input"),d=n("Row"),S=n("Col"),_=n("authError"),O=n("JumpToPath",!0),j=n("Markdown",!0),R=u.selectAuthPath(a);let $=this.getValue().username,L=o.allErrors().filter((q=>q.get("authId")===a));return p.createElement("div",null,p.createElement("h4",null,"Basic authorization",p.createElement(O,{path:R})),$&&p.createElement("h6",null,"Authorized"),p.createElement(d,null,p.createElement(j,{source:r.get("description")})),p.createElement(d,null,p.createElement("label",{htmlFor:"auth_username"},"Username:"),$?p.createElement("code",null," ",$," "):p.createElement(S,null,p.createElement(c,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),p.createElement(d,null,p.createElement("label",{htmlFor:"auth_password"},"Password:"),$?p.createElement("code",null," ****** "):p.createElement(S,null,p.createElement(c,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),L.valueSeq().map(((q,X)=>p.createElement(_,{error:q,key:X}))))}}function nD(t){const{example:e,showValue:r,getComponent:n}=t,a=n("Markdown",!0),o=n("HighlightCode",!0);return e&&Y.Map.isMap(e)?p.createElement("div",{className:"example"},e.get("description")?p.createElement("section",{className:"example__section"},p.createElement("div",{className:"example__section-header"},"Example Description"),p.createElement("p",null,p.createElement(a,{source:e.get("description")}))):null,r&&e.has("value")?p.createElement("section",{className:"example__section"},p.createElement("div",{className:"example__section-header"},"Example Value"),p.createElement(o,null,Gr(e.get("value")))):null):null}class G_ extends p.PureComponent{constructor(){super(...arguments);Ee(this,"_onSelect",(r,{isSyntheticChange:n=!1}={})=>{typeof this.props.onSelect=="function"&&this.props.onSelect(r,{isSyntheticChange:n})});Ee(this,"_onDomSelect",r=>{if(typeof this.props.onSelect=="function"){const n=r.target.selectedOptions[0].getAttribute("value");this._onSelect(n,{isSyntheticChange:!1})}});Ee(this,"getCurrentExample",()=>{const{examples:r,currentExampleKey:n}=this.props,a=r.get(n),o=r.keySeq().first(),u=r.get(o);return a||u||(0,Y.Map)({})})}componentDidMount(){const{onSelect:r,examples:n}=this.props;if(typeof r=="function"){const a=n.first(),o=n.keyOf(a);this._onSelect(o,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(r){const{currentExampleKey:n,examples:a}=r;if(a!==this.props.examples&&!a.has(n)){const o=a.first(),u=a.keyOf(o);this._onSelect(u,{isSyntheticChange:!0})}}render(){const{examples:r,currentExampleKey:n,isValueModified:a,isModifiedValueAvailable:o,showLabels:u}=this.props;return p.createElement("div",{className:"examples-select"},u?p.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,p.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:o&&a?"__MODIFIED__VALUE__":n||""},o?p.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,r.map(((c,d)=>p.createElement("option",{key:d,value:d},Y.Map.isMap(c)&&c.get("summary")||d))).valueSeq()))}}Ee(G_,"defaultProps",{examples:(0,Y.Map)({}),onSelect:(...r)=>{},currentExampleKey:null,showLabels:!0});const Mw=t=>Y.List.isList(t)?t:Gr(t);class Y_ extends p.PureComponent{constructor(r){super(r);Ee(this,"_getStateForCurrentNamespace",()=>{const{currentNamespace:r}=this.props;return(this.state[r]||(0,Y.Map)()).toObject()});Ee(this,"_setStateForCurrentNamespace",r=>{const{currentNamespace:n}=this.props;return this._setStateForNamespace(n,r)});Ee(this,"_setStateForNamespace",(r,n)=>{const a=(this.state[r]||(0,Y.Map)()).mergeDeep(n);return this.setState({[r]:a})});Ee(this,"_isCurrentUserInputSameAsExampleValue",()=>{const{currentUserInputValue:r}=this.props;return this._getCurrentExampleValue()===r});Ee(this,"_getValueForExample",(r,n)=>{const{examples:a}=n||this.props;return Mw((a||(0,Y.Map)({})).getIn([r,"value"]))});Ee(this,"_getCurrentExampleValue",r=>{const{currentKey:n}=r||this.props;return this._getValueForExample(n,r||this.props)});Ee(this,"_onExamplesSelect",(r,{isSyntheticChange:n}={},...a)=>{const{onSelect:o,updateValue:u,currentUserInputValue:c,userHasEditedBody:d}=this.props,{lastUserEditedValue:S}=this._getStateForCurrentNamespace(),_=this._getValueForExample(r);if(r==="__MODIFIED__VALUE__")return u(Mw(S)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0});typeof o=="function"&&o(r,{isSyntheticChange:n},...a),this._setStateForCurrentNamespace({lastDownstreamValue:_,isModifiedValueSelected:n&&d||!!c&&c!==_}),n||typeof u=="function"&&u(Mw(_))});const n=this._getCurrentExampleValue();this.state={[r.currentNamespace]:(0,Y.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:n,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==n})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}UNSAFE_componentWillReceiveProps(r){const{currentUserInputValue:n,examples:a,onSelect:o,userHasEditedBody:u}=r,{lastUserEditedValue:c,lastDownstreamValue:d}=this._getStateForCurrentNamespace(),S=this._getValueForExample(r.currentKey,r),_=a.filter((O=>Y.Map.isMap(O)&&(O.get("value")===n||Gr(O.get("value"))===n)));if(_.size){let O;O=_.has(r.currentKey)?r.currentKey:_.keySeq().first(),o(O,{isSyntheticChange:!0})}else n!==this.props.currentUserInputValue&&n!==c&&n!==d&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(r.currentNamespace,{lastUserEditedValue:r.currentUserInputValue,isModifiedValueSelected:u||n!==S}))}render(){const{currentUserInputValue:r,examples:n,currentKey:a,getComponent:o,userHasEditedBody:u}=this.props,{lastDownstreamValue:c,lastUserEditedValue:d,isModifiedValueSelected:S}=this._getStateForCurrentNamespace(),_=o("ExamplesSelect");return p.createElement(_,{examples:n,currentExampleKey:a,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!d&&d!==c,isValueModified:r!==void 0&&S&&r!==this._getCurrentExampleValue()||u})}}Ee(Y_,"defaultProps",{userHasEditedBody:!1,examples:(0,Y.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:(...r)=>{},updateValue:(...r)=>{}});function aD({auth:t,authActions:e,errActions:r,configs:n,authConfigs:a={},currentServer:o}){let{schema:u,scopes:c,name:d,clientId:S}=t,_=u.get("flow"),O=[];switch(_){case"password":return void e.authorizePassword(t);case"application":case"clientCredentials":case"client_credentials":return void e.authorizeApplication(t);case"accessCode":case"authorizationCode":case"authorization_code":O.push("response_type=code");break;case"implicit":O.push("response_type=token")}typeof S=="string"&&O.push("client_id="+encodeURIComponent(S));let j=n.oauth2RedirectUrl;if(j===void 0)return void r.newAuthErr({authId:d,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});O.push("redirect_uri="+encodeURIComponent(j));let R=[];if(Array.isArray(c)?R=c:ye().List.isList(c)&&(R=c.toArray()),R.length>0){let te=a.scopeSeparator||" ";O.push("scope="+encodeURIComponent(R.join(te)))}let $=sr(new Date);if(O.push("state="+encodeURIComponent($)),a.realm!==void 0&&O.push("realm="+encodeURIComponent(a.realm)),(_==="authorizationCode"||_==="authorization_code"||_==="accessCode")&&a.usePkceWithAuthorizationCodeGrant){const te=(function(){return Vn(sa()(32).toString("base64"))})(),le=(function(ie){return Vn(zo()("sha256").update(ie).digest("base64"))})(te);O.push("code_challenge="+le),O.push("code_challenge_method=S256"),t.codeVerifier=te}let{additionalQueryStringParams:L}=a;for(let te in L)L[te]!==void 0&&O.push([te,L[te]].map(encodeURIComponent).join("="));const q=u.get("authorizationUrl");let X;X=o?Yi()(Hn(q),o,!0).toString():Hn(q);let D,se=[X,O.join("&")].join(typeof q!="string"||q.includes("?")?"&":"?");D=_==="implicit"?e.preAuthorizeImplicit:a.useBasicAuthenticationWithAccessCodeGrant?e.authorizeAccessCodeWithBasicAuthentication:e.authorizeAccessCodeWithFormParams,e.authPopup(se,{auth:t,state:$,redirectUrl:j,callback:D,errCb:r.newAuthErr})}class oD extends p.Component{constructor(r,n){super(r,n);Ee(this,"close",r=>{r.preventDefault();let{authActions:n}=this.props;n.showDefinitions(!1)});Ee(this,"authorize",()=>{let{authActions:r,errActions:n,getConfigs:a,authSelectors:o,oas3Selectors:u}=this.props,c=a(),d=o.getConfigs();n.clear({authId:name,type:"auth",source:"auth"}),aD({auth:this.state,currentServer:u.serverEffectiveValue(u.selectedServer()),authActions:r,errActions:n,configs:c,authConfigs:d})});Ee(this,"onScopeChange",r=>{let{target:n}=r,{checked:a}=n,o=n.dataset.value;if(a&&this.state.scopes.indexOf(o)===-1){let u=this.state.scopes.concat([o]);this.setState({scopes:u})}else!a&&this.state.scopes.indexOf(o)>-1&&this.setState({scopes:this.state.scopes.filter((u=>u!==o))})});Ee(this,"onInputChange",r=>{let{target:{dataset:{name:n},value:a}}=r,o={[n]:a};this.setState(o)});Ee(this,"selectScopes",r=>{r.target.dataset.all?this.setState({scopes:Array.from((this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).keys())}):this.setState({scopes:[]})});Ee(this,"logout",r=>{r.preventDefault();let{authActions:n,errActions:a,name:o}=this.props;a.clear({authId:o,type:"auth",source:"auth"}),n.logoutWithPersistOption([o])});let{name:a,schema:o,authorized:u,authSelectors:c}=this.props,d=u&&u.get(a),S=c.getConfigs()||{},_=d&&d.get("username")||"",O=d&&d.get("clientId")||S.clientId||"",j=d&&d.get("clientSecret")||S.clientSecret||"",R=d&&d.get("passwordType")||"basic",$=d&&d.get("scopes")||S.scopes||[];typeof $=="string"&&($=$.split(S.scopeSeparator||" ")),this.state={appName:S.appName,name:a,schema:o,scopes:$,clientId:O,clientSecret:j,username:_,password:"",passwordType:R}}render(){let{schema:r,getComponent:n,authSelectors:a,errSelectors:o,name:u,specSelectors:c}=this.props;const d=n("Input"),S=n("Row"),_=n("Col"),O=n("Button"),j=n("authError"),R=n("JumpToPath",!0),$=n("Markdown",!0),L=n("InitializedInput"),{isOAS3:q}=c;let X=q()?r.get("openIdConnectUrl"):null;const D="implicit",se="password",te=q()?X?"authorization_code":"authorizationCode":"accessCode",le=q()?X?"client_credentials":"clientCredentials":"application",ce=a.selectAuthPath(u);let ie=!!(a.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,_e=r.get("flow"),me=_e===te&&ie?_e+" with PKCE":_e,ue=r.get("allowedScopes")||r.get("scopes"),ve=!!a.authorized().get(u),fe=o.allErrors().filter((qe=>qe.get("authId")===u)),be=!fe.filter((qe=>qe.get("source")==="validation")).size,je=r.get("description");return p.createElement("div",null,p.createElement("h4",null,u," (OAuth2, ",me,") ",p.createElement(R,{path:ce})),this.state.appName?p.createElement("h5",null,"Application: ",this.state.appName," "):null,je&&p.createElement($,{source:r.get("description")}),ve&&p.createElement("h6",null,"Authorized"),X&&p.createElement("p",null,"OpenID Connect URL: ",p.createElement("code",null,X)),(_e===D||_e===te)&&p.createElement("p",null,"Authorization URL: ",p.createElement("code",null,r.get("authorizationUrl"))),(_e===se||_e===te||_e===le)&&p.createElement("p",null,"Token URL:",p.createElement("code",null," ",r.get("tokenUrl"))),p.createElement("p",{className:"flow"},"Flow: ",p.createElement("code",null,me)),_e!==se?null:p.createElement(S,null,p.createElement(S,null,p.createElement("label",{htmlFor:"oauth_username"},"username:"),ve?p.createElement("code",null," ",this.state.username," "):p.createElement(_,{tablet:10,desktop:10},p.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),p.createElement(S,null,p.createElement("label",{htmlFor:"oauth_password"},"password:"),ve?p.createElement("code",null," ****** "):p.createElement(_,{tablet:10,desktop:10},p.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),p.createElement(S,null,p.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),ve?p.createElement("code",null," ",this.state.passwordType," "):p.createElement(_,{tablet:10,desktop:10},p.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},p.createElement("option",{value:"basic"},"Authorization header"),p.createElement("option",{value:"request-body"},"Request body"))))),(_e===le||_e===D||_e===te||_e===se)&&(!ve||ve&&this.state.clientId)&&p.createElement(S,null,p.createElement("label",{htmlFor:`client_id_${_e}`},"client_id:"),ve?p.createElement("code",null," ****** "):p.createElement(_,{tablet:10,desktop:10},p.createElement(L,{id:`client_id_${_e}`,type:"text",required:_e===se,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(_e===le||_e===te||_e===se)&&p.createElement(S,null,p.createElement("label",{htmlFor:`client_secret_${_e}`},"client_secret:"),ve?p.createElement("code",null," ****** "):p.createElement(_,{tablet:10,desktop:10},p.createElement(L,{id:`client_secret_${_e}`,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!ve&&ue&&ue.size?p.createElement("div",{className:"scopes"},p.createElement("h2",null,"Scopes:",p.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),p.createElement("a",{onClick:this.selectScopes},"select none")),ue.map(((qe,pt)=>p.createElement(S,{key:pt},p.createElement("div",{className:"checkbox"},p.createElement(d,{"data-value":pt,id:`${pt}-${_e}-checkbox-${this.state.name}`,disabled:ve,checked:this.state.scopes.includes(pt),type:"checkbox",onChange:this.onScopeChange}),p.createElement("label",{htmlFor:`${pt}-${_e}-checkbox-${this.state.name}`},p.createElement("span",{className:"item"}),p.createElement("div",{className:"text"},p.createElement("p",{className:"name"},pt),p.createElement("p",{className:"description"},qe))))))).toArray()):null,fe.valueSeq().map(((qe,pt)=>p.createElement(j,{error:qe,key:pt}))),p.createElement("div",{className:"auth-btn-wrapper"},be&&(ve?p.createElement(O,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):p.createElement(O,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),p.createElement(O,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class iD extends p.Component{constructor(){super(...arguments);Ee(this,"onClick",()=>{let{specActions:r,path:n,method:a}=this.props;r.clearResponse(n,a),r.clearRequest(n,a)})}render(){return p.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const sD=({headers:t})=>p.createElement("div",null,p.createElement("h5",null,"Response headers"),p.createElement("pre",{className:"microlight"},t)),lD=({duration:t})=>p.createElement("div",null,p.createElement("h5",null,"Request duration"),p.createElement("pre",{className:"microlight"},t," ms"));class cD extends p.Component{shouldComponentUpdate(e){return this.props.response!==e.response||this.props.path!==e.path||this.props.method!==e.method||this.props.displayRequestDuration!==e.displayRequestDuration}render(){const{response:e,getComponent:r,getConfigs:n,displayRequestDuration:a,specSelectors:o,path:u,method:c}=this.props,{showMutatedRequest:d,requestSnippetsEnabled:S}=n(),_=d?o.mutatedRequestFor(u,c):o.requestFor(u,c),O=e.get("status"),j=_.get("url"),R=e.get("headers").toJS(),$=e.get("notDocumented"),L=e.get("error"),q=e.get("text"),X=e.get("duration"),D=Object.keys(R),se=R["content-type"]||R["Content-Type"],te=r("responseBody"),le=D.map((ue=>{var ve=Array.isArray(R[ue])?R[ue].join():R[ue];return p.createElement("span",{className:"headerline",key:ue}," ",ue,": ",ve," ")})),ce=le.length!==0,ie=r("Markdown",!0),_e=r("RequestSnippets",!0),me=r("curl",!0);return p.createElement("div",null,_&&S?p.createElement(_e,{request:_}):p.createElement(me,{request:_}),j&&p.createElement("div",null,p.createElement("div",{className:"request-url"},p.createElement("h4",null,"Request URL"),p.createElement("pre",{className:"microlight"},j))),p.createElement("h4",null,"Server response"),p.createElement("table",{className:"responses-table live-responses-table"},p.createElement("thead",null,p.createElement("tr",{className:"responses-header"},p.createElement("td",{className:"col_header response-col_status"},"Code"),p.createElement("td",{className:"col_header response-col_description"},"Details"))),p.createElement("tbody",null,p.createElement("tr",{className:"response"},p.createElement("td",{className:"response-col_status"},O,$?p.createElement("div",{className:"response-undocumented"},p.createElement("i",null," Undocumented ")):null),p.createElement("td",{className:"response-col_description"},L?p.createElement(ie,{source:`${e.get("name")!==""?`${e.get("name")}: `:""}${e.get("message")}`}):null,q?p.createElement(te,{content:q,contentType:se,url:j,headers:R,getConfigs:n,getComponent:r}):null,ce?p.createElement(sD,{headers:le}):null,a&&X?p.createElement(lD,{duration:X}):null)))))}}class X_ extends p.Component{constructor(r,n){super(r,n);Ee(this,"getDefinitionUrl",()=>{let{specSelectors:r}=this.props;return new(Yi())(r.url(),yt.location).toString()});let{getConfigs:a}=r,{validatorUrl:o}=a();this.state={url:this.getDefinitionUrl(),validatorUrl:o===void 0?"https://validator.swagger.io/validator":o}}UNSAFE_componentWillReceiveProps(r){let{getConfigs:n}=r,{validatorUrl:a}=n();this.setState({url:this.getDefinitionUrl(),validatorUrl:a===void 0?"https://validator.swagger.io/validator":a})}render(){let{getConfigs:r}=this.props,{spec:n}=r(),a=Hn(this.state.validatorUrl);return typeof n=="object"&&Object.keys(n).length?null:this.state.url&&Or(this.state.validatorUrl)&&Or(this.state.url)?p.createElement("span",{className:"float-right"},p.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${a}/debug?url=${encodeURIComponent(this.state.url)}`},p.createElement(uD,{src:`${a}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class uD extends p.Component{constructor(e){super(e),this.state={loaded:!1,error:!1}}componentDidMount(){const e=new Image;e.onload=()=>{this.setState({loaded:!0})},e.onerror=()=>{this.setState({error:!0})},e.src=this.props.src}UNSAFE_componentWillReceiveProps(e){if(e.src!==this.props.src){const r=new Image;r.onload=()=>{this.setState({loaded:!0})},r.onerror=()=>{this.setState({error:!0})},r.src=e.src}}render(){return this.state.error?p.createElement("img",{alt:"Error"}):this.state.loaded?p.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class pD extends p.Component{constructor(){super(...arguments);Ee(this,"renderOperationTag",(r,n)=>{const{specSelectors:a,getComponent:o,oas3Selectors:u,layoutSelectors:c,layoutActions:d,getConfigs:S}=this.props,_=a.validOperationMethods(),O=o("OperationContainer",!0),j=o("OperationTag"),R=r.get("operations");return p.createElement(j,{key:"operation-"+n,tagObj:r,tag:n,oas3Selectors:u,layoutSelectors:c,layoutActions:d,getConfigs:S,getComponent:o,specUrl:a.url()},p.createElement("div",{className:"operation-tag-content"},R.map(($=>{const L=$.get("path"),q=$.get("method"),X=ye().List(["paths",L,q]);return _.indexOf(q)===-1?null:p.createElement(O,{key:`${L}-${q}`,specPath:X,op:$,path:L,method:q,tag:n})})).toArray()))})}render(){let{specSelectors:r}=this.props;const n=r.taggedOperations();return n.size===0?p.createElement("h3",null," No operations defined in spec!"):p.createElement("div",null,n.map(this.renderOperationTag).toArray(),n.size<1?p.createElement("h3",null," No operations defined in spec! "):null)}}class Q_ extends p.Component{render(){const{tagObj:e,tag:r,children:n,oas3Selectors:a,layoutSelectors:o,layoutActions:u,getConfigs:c,getComponent:d,specUrl:S}=this.props;let{docExpansion:_,deepLinking:O}=c();const j=d("Collapse"),R=d("Markdown",!0),$=d("DeepLink"),L=d("Link"),q=d("ArrowUpIcon"),X=d("ArrowDownIcon");let D,se=e.getIn(["tagDetails","description"],null),te=e.getIn(["tagDetails","externalDocs","description"]),le=e.getIn(["tagDetails","externalDocs","url"]);D=ra(a)&&ra(a.selectedServer)?Ko(le,S,{selectedServer:a.selectedServer()}):le;let ce=["operations-tag",r],ie=o.isShown(ce,_==="full"||_==="list");return p.createElement("div",{className:ie?"opblock-tag-section is-open":"opblock-tag-section"},p.createElement("h3",{onClick:()=>u.show(ce,!ie),className:se?"opblock-tag":"opblock-tag no-desc",id:ce.map((_e=>Dt(_e))).join("-"),"data-tag":r,"data-is-open":ie},p.createElement($,{enabled:O,isShown:ie,path:Ya(r),text:r}),se?p.createElement("small",null,p.createElement(R,{source:se})):p.createElement("small",null),D?p.createElement("div",{className:"info__externaldocs"},p.createElement("small",null,p.createElement(L,{href:Hn(D),onClick:_e=>_e.stopPropagation(),target:"_blank"},te||D))):null,p.createElement("button",{"aria-expanded":ie,className:"expand-operation",title:ie?"Collapse operation":"Expand operation",onClick:()=>u.show(ce,!ie)},ie?p.createElement(q,{className:"arrow"}):p.createElement(X,{className:"arrow"}))),p.createElement(j,{isOpened:ie},n))}}Ee(Q_,"defaultProps",{tagObj:ye().fromJS({}),tag:""});class Z_ extends p.PureComponent{render(){let{specPath:e,response:r,request:n,toggleShown:a,onTryoutClick:o,onResetClick:u,onCancelClick:c,onExecute:d,fn:S,getComponent:_,getConfigs:O,specActions:j,specSelectors:R,authActions:$,authSelectors:L,oas3Actions:q,oas3Selectors:X}=this.props,D=this.props.operation,{deprecated:se,isShown:te,path:le,method:ce,op:ie,tag:_e,operationId:me,allowTryItOut:ue,displayRequestDuration:ve,tryItOutEnabled:fe,executeInProgress:be}=D.toJS(),{description:je,externalDocs:qe,schemes:pt}=ie;const _t=qe?Ko(qe.url,R.url(),{selectedServer:X.selectedServer()}):"";let It=D.getIn(["op"]),Wt=It.get("responses"),or=(function(ya,Un){if(!ye().Iterable.isIterable(ya))return ye().List();let ei=ya.getIn(Array.isArray(Un)?Un:[Un]);return ye().List.isList(ei)?ei:ye().List()})(It,["parameters"]),ir=R.operationScheme(le,ce),Ut=["operations",_e,me],Ye=Zt(It);const Xe=_("responses"),Mt=_("parameters"),kt=_("execute"),Vt=_("clear"),rr=_("Collapse"),pr=_("Markdown",!0),Rr=_("schemes"),xr=_("OperationServers"),hr=_("OperationExt"),pn=_("OperationSummary"),Yr=_("Link"),{showExtensions:ln}=O();if(Wt&&r&&r.size>0){let ga=!Wt.get(String(r.get("status")))&&!Wt.get("default");r=r.set("notDocumented",ga)}let oa=[le,ce];const fn=R.validationErrors([le,ce]);return p.createElement("div",{className:se?"opblock opblock-deprecated":te?`opblock opblock-${ce} is-open`:`opblock opblock-${ce}`,id:Dt(Ut.join("-"))},p.createElement(pn,{operationProps:D,isShown:te,toggleShown:a,getComponent:_,authActions:$,authSelectors:L,specPath:e}),p.createElement(rr,{isOpened:te},p.createElement("div",{className:"opblock-body"},It&&It.size||It===null?null:p.createElement(Vd,{height:"32px",width:"32px",className:"opblock-loading-animation"}),se&&p.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),je&&p.createElement("div",{className:"opblock-description-wrapper"},p.createElement("div",{className:"opblock-description"},p.createElement(pr,{source:je}))),_t?p.createElement("div",{className:"opblock-external-docs-wrapper"},p.createElement("h4",{className:"opblock-title_normal"},"Find more details"),p.createElement("div",{className:"opblock-external-docs"},qe.description&&p.createElement("span",{className:"opblock-external-docs__description"},p.createElement(pr,{source:qe.description})),p.createElement(Yr,{target:"_blank",className:"opblock-external-docs__link",href:Hn(_t)},_t))):null,It&&It.size?p.createElement(Mt,{parameters:or,specPath:e.push("parameters"),operation:It,onChangeKey:oa,onTryoutClick:o,onResetClick:u,onCancelClick:c,tryItOutEnabled:fe,allowTryItOut:ue,fn:S,getComponent:_,specActions:j,specSelectors:R,pathMethod:[le,ce],getConfigs:O,oas3Actions:q,oas3Selectors:X}):null,fe?p.createElement(xr,{getComponent:_,path:le,method:ce,operationServers:It.get("servers"),pathServers:R.paths().getIn([le,"servers"]),getSelectedServer:X.selectedServer,setSelectedServer:q.setSelectedServer,setServerVariableValue:q.setServerVariableValue,getServerVariable:X.serverVariableValue,getEffectiveServerValue:X.serverEffectiveValue}):null,fe&&ue&&pt&&pt.size?p.createElement("div",{className:"opblock-schemes"},p.createElement(Rr,{schemes:pt,path:le,method:ce,specActions:j,currentScheme:ir})):null,!fe||!ue||fn.length<=0?null:p.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",p.createElement("ul",null,fn.map(((ga,ya)=>p.createElement("li",{key:ya}," ",ga," "))))),p.createElement("div",{className:fe&&r&&ue?"btn-group":"execute-wrapper"},fe&&ue?p.createElement(kt,{operation:It,specActions:j,specSelectors:R,oas3Selectors:X,oas3Actions:q,path:le,method:ce,onExecute:d,disabled:be}):null,fe&&r&&ue?p.createElement(Vt,{specActions:j,path:le,method:ce}):null),be?p.createElement("div",{className:"loading-container"},p.createElement("div",{className:"loading"})):null,Wt?p.createElement(Xe,{responses:Wt,request:n,tryItOutResponse:r,getComponent:_,getConfigs:O,specSelectors:R,oas3Actions:q,oas3Selectors:X,specActions:j,produces:R.producesOptionsFor([le,ce]),producesValue:R.currentProducesFor([le,ce]),specPath:e.push("responses"),path:le,method:ce,displayRequestDuration:ve,fn:S}):null,ln&&Ye.size?p.createElement(hr,{extensions:Ye,getComponent:_}):null)))}}Ee(Z_,"defaultProps",{operation:null,response:null,request:null,specPath:(0,Y.List)(),summary:""});class ek extends p.PureComponent{constructor(r,n){super(r,n);Ee(this,"toggleShown",()=>{let{layoutActions:r,tag:n,operationId:a,isShown:o}=this.props;const u=this.getResolvedSubtree();o||u!==void 0||this.requestResolvedSubtree(),r.show(["operations",n,a],!o)});Ee(this,"onCancelClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})});Ee(this,"onTryoutClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})});Ee(this,"onResetClick",r=>{const n=this.props.oas3Selectors.selectDefaultRequestBodyValue(...r),a=this.props.oas3Selectors.requestContentType(...r);if(a==="application/x-www-form-urlencoded"||a==="multipart/form-data"){const o=JSON.parse(n);Object.entries(o).forEach((([u,c])=>{Array.isArray(c)?o[u]=o[u].map((d=>typeof d=="object"?JSON.stringify(d,null,2):d)):typeof c=="object"&&(o[u]=JSON.stringify(o[u],null,2))})),this.props.oas3Actions.setRequestBodyValue({value:(0,Y.fromJS)(o),pathMethod:r})}else this.props.oas3Actions.setRequestBodyValue({value:n,pathMethod:r})});Ee(this,"onExecute",()=>{this.setState({executeInProgress:!0})});Ee(this,"getResolvedSubtree",()=>{const{specSelectors:r,path:n,method:a,specPath:o}=this.props;return o?r.specResolvedSubtree(o.toJS()):r.specResolvedSubtree(["paths",n,a])});Ee(this,"requestResolvedSubtree",()=>{const{specActions:r,path:n,method:a,specPath:o}=this.props;return o?r.requestResolvedSubtree(o.toJS()):r.requestResolvedSubtree(["paths",n,a])});const{tryItOutEnabled:a}=r.getConfigs();this.state={tryItOutEnabled:a,executeInProgress:!1}}mapStateToProps(r,n){const{op:a,layoutSelectors:o,getConfigs:u}=n,{docExpansion:c,deepLinking:d,displayOperationId:S,displayRequestDuration:_,supportedSubmitMethods:O}=u(),j=o.showSummary(),R=a.getIn(["operation","__originalOperationId"])||a.getIn(["operation","operationId"])||Gf(a.get("operation"),n.path,n.method)||a.get("id"),$=["operations",n.tag,R],L=O.indexOf(n.method)>=0&&(n.allowTryItOut===void 0?n.specSelectors.allowTryItOutFor(n.path,n.method):n.allowTryItOut),q=a.getIn(["operation","security"])||n.specSelectors.security();return{operationId:R,isDeepLinkingEnabled:d,showSummary:j,displayOperationId:S,displayRequestDuration:_,allowTryItOut:L,security:q,isAuthorized:n.authSelectors.isAuthorized(q),isShown:o.isShown($,c==="full"),jumpToKey:`paths.${n.path}.${n.method}`,response:n.specSelectors.responseFor(n.path,n.method),request:n.specSelectors.requestFor(n.path,n.method)}}componentDidMount(){const{isShown:r}=this.props,n=this.getResolvedSubtree();r&&n===void 0&&this.requestResolvedSubtree()}componentDidUpdate(r){const{response:n,isShown:a}=this.props,o=this.getResolvedSubtree();n!==r.response&&this.setState({executeInProgress:!1}),a&&o===void 0&&!r.isShown&&this.requestResolvedSubtree()}render(){let{op:r,tag:n,path:a,method:o,security:u,isAuthorized:c,operationId:d,showSummary:S,isShown:_,jumpToKey:O,allowTryItOut:j,response:R,request:$,displayOperationId:L,displayRequestDuration:q,isDeepLinkingEnabled:X,specPath:D,specSelectors:se,specActions:te,getComponent:le,getConfigs:ce,layoutSelectors:ie,layoutActions:_e,authActions:me,authSelectors:ue,oas3Actions:ve,oas3Selectors:fe,fn:be}=this.props;const je=le("operation"),qe=this.getResolvedSubtree()||(0,Y.Map)(),pt=(0,Y.fromJS)({op:qe,tag:n,path:a,summary:r.getIn(["operation","summary"])||"",deprecated:qe.get("deprecated")||r.getIn(["operation","deprecated"])||!1,method:o,security:u,isAuthorized:c,operationId:d,originalOperationId:qe.getIn(["operation","__originalOperationId"]),showSummary:S,isShown:_,jumpToKey:O,allowTryItOut:j,request:$,displayOperationId:L,displayRequestDuration:q,isDeepLinkingEnabled:X,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return p.createElement(je,{operation:pt,response:R,request:$,isShown:_,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:D,specActions:te,specSelectors:se,oas3Actions:ve,oas3Selectors:fe,layoutActions:_e,layoutSelectors:ie,authActions:me,authSelectors:ue,getComponent:le,getConfigs:ce,fn:be})}}Ee(ek,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1});var hD=Re(13222),dD=Re.n(hD);class tk extends p.PureComponent{render(){let{isShown:e,toggleShown:r,getComponent:n,authActions:a,authSelectors:o,operationProps:u,specPath:c}=this.props,{summary:d,isAuthorized:S,method:_,op:O,showSummary:j,path:R,operationId:$,originalOperationId:L,displayOperationId:q}=u.toJS(),{summary:X}=O,D=u.get("security");const se=n("authorizeOperationBtn",!0),te=n("OperationSummaryMethod"),le=n("OperationSummaryPath"),ce=n("JumpToPath",!0),ie=n("CopyToClipboardBtn",!0),_e=n("ArrowUpIcon"),me=n("ArrowDownIcon"),ue=D&&!!D.count(),ve=ue&&D.size===1&&D.first().isEmpty(),fe=!ue||ve;return p.createElement("div",{className:`opblock-summary opblock-summary-${_}`},p.createElement("button",{"aria-expanded":e,className:"opblock-summary-control",onClick:r},p.createElement(te,{method:_}),p.createElement("div",{className:"opblock-summary-path-description-wrapper"},p.createElement(le,{getComponent:n,operationProps:u,specPath:c}),j?p.createElement("div",{className:"opblock-summary-description"},dD()(X||d)):null),q&&(L||$)?p.createElement("span",{className:"opblock-summary-operation-id"},L||$):null),p.createElement(ie,{textToCopy:`${c.get(1)}`}),fe?null:p.createElement(se,{isAuthorized:S,onClick:()=>{const be=o.definitionsForRequirements(D);a.showDefinitions(be)}}),p.createElement(ce,{path:c}),p.createElement("button",{"aria-label":`${_} ${R.replace(/\//g,"/")}`,className:"opblock-control-arrow","aria-expanded":e,tabIndex:"-1",onClick:r},e?p.createElement(_e,{className:"arrow"}):p.createElement(me,{className:"arrow"})))}}Ee(tk,"defaultProps",{operationProps:null,specPath:(0,Y.List)(),summary:""});class rk extends p.PureComponent{render(){let{method:e}=this.props;return p.createElement("span",{className:"opblock-summary-method"},e.toUpperCase())}}Ee(rk,"defaultProps",{operationProps:null});class fD extends p.PureComponent{render(){let{getComponent:e,operationProps:r}=this.props,{deprecated:n,isShown:a,path:o,tag:u,operationId:c,isDeepLinkingEnabled:d}=r.toJS();const S=o.split(/(?=\/)/g);for(let O=1;O<S.length;O+=2)S.splice(O,0,p.createElement("wbr",{key:O}));const _=e("DeepLink");return p.createElement("span",{className:n?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":o},p.createElement(_,{enabled:d,isShown:a,path:Ya(`${u}/${c}`),text:S}))}}const mD=({extensions:t,getComponent:e})=>{let r=e("OperationExtRow");return p.createElement("div",{className:"opblock-section"},p.createElement("div",{className:"opblock-section-header"},p.createElement("h4",null,"Extensions")),p.createElement("div",{className:"table-container"},p.createElement("table",null,p.createElement("thead",null,p.createElement("tr",null,p.createElement("td",{className:"col_header"},"Field"),p.createElement("td",{className:"col_header"},"Value"))),p.createElement("tbody",null,t.entrySeq().map((([n,a])=>p.createElement(r,{key:`${n}-${a}`,xKey:n,xVal:a})))))))},gD=({xKey:t,xVal:e})=>{const r=e?e.toJS?e.toJS():e:null;return p.createElement("tr",null,p.createElement("td",null,t),p.createElement("td",null,JSON.stringify(r)))};function Rw(t,e="_"){return t.replace(/[^\w-]/g,e)}const I0=class I0 extends p.Component{constructor(){super(...arguments);Ee(this,"onChangeProducesWrapper",r=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],r));Ee(this,"onResponseContentTypeChange",({controlsAcceptHeader:r,value:n})=>{const{oas3Actions:a,path:o,method:u}=this.props;r&&a.setResponseContentType({value:n,path:o,method:u})})}render(){let{responses:r,tryItOutResponse:n,getComponent:a,getConfigs:o,specSelectors:u,fn:c,producesValue:d,displayRequestDuration:S,specPath:_,path:O,method:j,oas3Selectors:R,oas3Actions:$}=this.props,L=(function(me){let ue=me.keySeq();return ue.contains(Tr)?Tr:ue.filter((ve=>(ve+"")[0]==="2")).sort().first()})(r);const q=a("contentType"),X=a("liveResponse"),D=a("response");let se=this.props.produces&&this.props.produces.size?this.props.produces:I0.defaultProps.produces;const te=u.isOAS3()?(function(me){if(!ye().OrderedMap.isOrderedMap(me)||!me.size)return null;const ue=me.find(((be,je)=>je.startsWith("2")&&Object.keys(be.get("content")||{}).length>0)),ve=me.get("default")||ye().OrderedMap(),fe=(ve.get("content")||ye().OrderedMap()).keySeq().toJS().length?ve:null;return ue||fe})(r):null,le=r.filter(((_e,me)=>!ar(me))),ce=Rw(`${j}${O}_responses`),ie=`${ce}_select`;return le&&le.size?p.createElement("div",{className:"responses-wrapper"},p.createElement("div",{className:"opblock-section-header"},p.createElement("h4",null,"Responses"),u.isOAS3()?null:p.createElement("label",{htmlFor:ie},p.createElement("span",null,"Response content type"),p.createElement(q,{value:d,ariaControls:ce,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:se,controlId:ie,onChange:this.onChangeProducesWrapper}))),p.createElement("div",{className:"responses-inner"},n?p.createElement("div",null,p.createElement(X,{response:n,getComponent:a,getConfigs:o,specSelectors:u,path:this.props.path,method:this.props.method,displayRequestDuration:S}),p.createElement("h4",null,"Responses")):null,p.createElement("table",{"aria-live":"polite",className:"responses-table",id:ce,role:"region"},p.createElement("thead",null,p.createElement("tr",{className:"responses-header"},p.createElement("td",{className:"col_header response-col_status"},"Code"),p.createElement("td",{className:"col_header response-col_description"},"Description"),u.isOAS3()?p.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),p.createElement("tbody",null,le.entrySeq().map((([_e,me])=>{let ue=n&&n.get("status")==_e?"response_current":"";return p.createElement(D,{key:_e,path:O,method:j,specPath:_.push(_e),isDefault:L===_e,fn:c,className:ue,code:_e,response:me,specSelectors:u,controlsAcceptHeader:me===te,onContentTypeChange:this.onResponseContentTypeChange,contentType:d,getConfigs:o,activeExamplesKey:R.activeExamplesMember(O,j,"responses",_e),oas3Actions:$,getComponent:a})})).toArray())))):null}};Ee(I0,"defaultProps",{tryItOutResponse:null,produces:(0,Y.fromJS)(["application/json"]),displayRequestDuration:!1});let Dw=I0;function xv(t){return(function(n){try{return!!JSON.parse(n)}catch(a){return null}})(t)?"json":null}class nk extends p.Component{constructor(r,n){super(r,n);Ee(this,"_onContentTypeChange",r=>{const{onContentTypeChange:n,controlsAcceptHeader:a}=this.props;this.setState({responseContentType:r}),n({value:r,controlsAcceptHeader:a})});Ee(this,"getTargetExamplesKey",()=>{const{response:r,contentType:n,activeExamplesKey:a}=this.props,o=this.state.responseContentType||n,u=r.getIn(["content",o],(0,Y.Map)({})).get("examples",null).keySeq().first();return a||u});this.state={responseContentType:""}}render(){var Mt;let{path:r,method:n,code:a,response:o,className:u,specPath:c,fn:d,getComponent:S,getConfigs:_,specSelectors:O,contentType:j,controlsAcceptHeader:R,oas3Actions:$}=this.props,{inferSchema:L,getSampleSchema:q}=d,X=O.isOAS3();const{showExtensions:D}=_();let se=D?Zt(o):null,te=o.get("headers"),le=o.get("links");const ce=S("ResponseExtension"),ie=S("headers"),_e=S("HighlightCode",!0),me=S("modelExample"),ue=S("Markdown",!0),ve=S("operationLink"),fe=S("contentType"),be=S("ExamplesSelect"),je=S("Example");var qe,pt;const _t=this.state.responseContentType||j,It=o.getIn(["content",_t],(0,Y.Map)({})),Wt=It.get("examples",null);if(X){const kt=It.get("schema");qe=kt?L(kt.toJS()):null,pt=kt?c.push("content",this.state.responseContentType,"schema"):c}else qe=o.get("schema"),pt=o.has("schema")?c.push("schema"):c;let or,ir,Ut=!1,Ye={includeReadOnly:!0};if(X)if(ir=(Mt=It.get("schema"))==null?void 0:Mt.toJS(),Y.Map.isMap(Wt)&&!Wt.isEmpty()){const kt=this.getTargetExamplesKey(),Vt=rr=>Y.Map.isMap(rr)?rr.get("value"):void 0;or=Vt(Wt.get(kt,(0,Y.Map)({}))),or===void 0&&(or=Vt(Wt.values().next().value)),Ut=!0}else It.get("example")!==void 0&&(or=It.get("example"),Ut=!0);else{ir=qe,Ye=Nr(Ge({},Ye),{includeWriteOnly:!0});const kt=o.getIn(["examples",_t]);kt&&(or=kt,Ut=!0)}const Xe=((kt,Vt)=>{if(kt==null)return null;const rr=xv(kt)?"json":null;return p.createElement("div",null,p.createElement(Vt,{className:"example",language:rr},Gr(kt)))})(q(ir,_t,Ye,Ut?or:void 0),_e);return p.createElement("tr",{className:"response "+(u||""),"data-code":a},p.createElement("td",{className:"response-col_status"},a),p.createElement("td",{className:"response-col_description"},p.createElement("div",{className:"response-col_description__inner"},p.createElement(ue,{source:o.get("description")})),D&&se.size?se.entrySeq().map((([kt,Vt])=>p.createElement(ce,{key:`${kt}-${Vt}`,xKey:kt,xVal:Vt}))):null,X&&o.get("content")?p.createElement("section",{className:"response-controls"},p.createElement("div",{className:Br()("response-control-media-type",{"response-control-media-type--accept-controller":R})},p.createElement("small",{className:"response-control-media-type__title"},"Media type"),p.createElement(fe,{value:this.state.responseContentType,contentTypes:o.get("content")?o.get("content").keySeq():(0,Y.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),R?p.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",p.createElement("code",null,"Accept")," header."):null),Y.Map.isMap(Wt)&&!Wt.isEmpty()?p.createElement("div",{className:"response-control-examples"},p.createElement("small",{className:"response-control-examples__title"},"Examples"),p.createElement(be,{examples:Wt,currentExampleKey:this.getTargetExamplesKey(),onSelect:kt=>$.setActiveExamplesMember({name:kt,pathMethod:[r,n],contextType:"responses",contextName:a}),showLabels:!1})):null):null,Xe||qe?p.createElement(me,{specPath:pt,getComponent:S,getConfigs:_,specSelectors:O,schema:Vr(qe),example:Xe,includeReadOnly:!0}):null,X&&Wt?p.createElement(je,{example:Wt.get(this.getTargetExamplesKey(),(0,Y.Map)({})),getComponent:S,getConfigs:_,omitValue:!0}):null,te?p.createElement(ie,{headers:te,getComponent:S}):null),X?p.createElement("td",{className:"response-col_links"},le?le.toSeq().entrySeq().map((([kt,Vt])=>p.createElement(ve,{key:kt,name:kt,link:Vt,getComponent:S}))):p.createElement("i",null,"No links")):null)}}Ee(nk,"defaultProps",{response:(0,Y.fromJS)({}),onContentTypeChange:()=>{}});const yD=({xKey:t,xVal:e})=>p.createElement("div",{className:"response__extension"},t,": ",String(e));var vD=Re(26657),bD=Re.n(vD),wD=Re(80218),ak=Re.n(wD);class ED extends p.PureComponent{constructor(){super(...arguments);Ee(this,"state",{parsedContent:null});Ee(this,"updateParsedContent",r=>{const{content:n}=this.props;if(r!==n)if(n&&n instanceof Blob){var a=new FileReader;a.onload=()=>{this.setState({parsedContent:a.result})},a.readAsText(n)}else this.setState({parsedContent:n.toString()})})}componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(r){this.updateParsedContent(r.content)}render(){let{content:r,contentType:n,url:a,headers:o={},getComponent:u}=this.props;const{parsedContent:c}=this.state,d=u("HighlightCode",!0),S="response_"+new Date().getTime();let _,O;if(a=a||"",(/^application\/octet-stream/i.test(n)||o["Content-Disposition"]&&/attachment/i.test(o["Content-Disposition"])||o["content-disposition"]&&/attachment/i.test(o["content-disposition"])||o["Content-Description"]&&/File Transfer/i.test(o["Content-Description"])||o["content-description"]&&/File Transfer/i.test(o["content-description"]))&&(r.size>0||r.length>0))if("Blob"in window){let j=n||"text/html",R=r instanceof Blob?r:new Blob([r],{type:j}),$=window.URL.createObjectURL(R),L=[j,a.substr(a.lastIndexOf("/")+1),$].join(":"),q=o["content-disposition"]||o["Content-Disposition"];if(q!==void 0){let X=(function(se){let te;if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some((le=>(te=le.exec(se),te!==null))),te!==null&&te.length>1)try{return decodeURIComponent(te[1])}catch(le){}return null})(q);X!==null&&(L=X)}O=yt.navigator&&yt.navigator.msSaveOrOpenBlob?p.createElement("div",null,p.createElement("a",{href:$,onClick:()=>yt.navigator.msSaveOrOpenBlob(R,L)},"Download file")):p.createElement("div",null,p.createElement("a",{href:$,download:L},"Download file"))}else O=p.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(n)){let j=null;xv(r)&&(j="json");try{_=JSON.stringify(JSON.parse(r),null," ")}catch(R){_=`can't parse JSON. Raw result:
|
||
|
||
`+r}O=p.createElement(d,{language:j,downloadable:!0,fileName:`${S}.json`,canCopy:!0},_)}else/xml/i.test(n)?(_=bD()(r,{textNodesOnSameLine:!0,indentor:" "}),O=p.createElement(d,{downloadable:!0,fileName:`${S}.xml`,canCopy:!0},_)):O=ak()(n)==="text/html"||/text\/plain/.test(n)?p.createElement(d,{downloadable:!0,fileName:`${S}.html`,canCopy:!0},r):ak()(n)==="text/csv"||/text\/csv/.test(n)?p.createElement(d,{downloadable:!0,fileName:`${S}.csv`,canCopy:!0},r):/^image\//i.test(n)?n.includes("svg")?p.createElement("div",null," ",r," "):p.createElement("img",{src:window.URL.createObjectURL(r)}):/^audio\//i.test(n)?p.createElement("pre",{className:"microlight"},p.createElement("audio",{controls:!0,key:a},p.createElement("source",{src:a,type:n}))):typeof r=="string"?p.createElement(d,{downloadable:!0,fileName:`${S}.txt`,canCopy:!0},r):r.size>0?c?p.createElement("div",null,p.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),p.createElement(d,{downloadable:!0,fileName:`${S}.txt`,canCopy:!0},c)):p.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return O?p.createElement("div",null,p.createElement("h5",null,"Response body"),O):null}}class ok extends p.Component{constructor(r){super(r);Ee(this,"onChange",(r,n,a)=>{let{specActions:{changeParamByIdentity:o},onChangeKey:u}=this.props;o(u,r,n,a)});Ee(this,"onChangeConsumesWrapper",r=>{let{specActions:{changeConsumesValue:n},onChangeKey:a}=this.props;n(a,r)});Ee(this,"toggleTab",r=>r==="parameters"?this.setState({parametersVisible:!0,callbackVisible:!1}):r==="callbacks"?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0);Ee(this,"onChangeMediaType",({value:r,pathMethod:n})=>{let{specActions:a,oas3Selectors:o,oas3Actions:u}=this.props;const c=o.hasUserEditedBody(...n),d=o.shouldRetainRequestBodyValue(...n);u.setRequestContentType({value:r,pathMethod:n}),u.initRequestBodyValidateError({pathMethod:n}),c||(d||u.setRequestBodyValue({value:void 0,pathMethod:n}),a.clearResponse(...n),a.clearRequest(...n),a.clearValidateParams(n))});this.state={callbackVisible:!1,parametersVisible:!0}}render(){let{onTryoutClick:r,onResetClick:n,parameters:a,allowTryItOut:o,tryItOutEnabled:u,specPath:c,fn:d,getComponent:S,getConfigs:_,specSelectors:O,specActions:j,pathMethod:R,oas3Actions:$,oas3Selectors:L,operation:q}=this.props;const X=S("parameterRow"),D=S("TryItOutButton"),se=S("contentType"),te=S("Callbacks",!0),le=S("RequestBody",!0),ce=u&&o,ie=O.isOAS3(),_e=`${Rw(`${R[1]}${R[0]}_requests`)}_select`,me=q.get("requestBody"),ue=Object.values(a.reduce(((ve,fe)=>{var be;if(Y.Map.isMap(fe)){const je=fe.get("in");(be=ve[je])!=null||(ve[je]=[]),ve[je].push(fe)}return ve}),{})).reduce(((ve,fe)=>ve.concat(fe)),[]);return p.createElement("div",{className:"opblock-section"},p.createElement("div",{className:"opblock-section-header"},ie?p.createElement("div",{className:"tab-header"},p.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},p.createElement("h4",{className:"opblock-title"},p.createElement("span",null,"Parameters"))),q.get("callbacks")?p.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},p.createElement("h4",{className:"opblock-title"},p.createElement("span",null,"Callbacks"))):null):p.createElement("div",{className:"tab-header"},p.createElement("h4",{className:"opblock-title"},"Parameters")),o?p.createElement(D,{isOAS3:O.isOAS3(),hasUserEditedBody:L.hasUserEditedBody(...R),enabled:u,onCancelClick:this.props.onCancelClick,onTryoutClick:r,onResetClick:()=>n(R)}):null),this.state.parametersVisible?p.createElement("div",{className:"parameters-container"},ue.length?p.createElement("div",{className:"table-container"},p.createElement("table",{className:"parameters"},p.createElement("thead",null,p.createElement("tr",null,p.createElement("th",{className:"col_header parameters-col_name"},"Name"),p.createElement("th",{className:"col_header parameters-col_description"},"Description"))),p.createElement("tbody",null,ue.map(((ve,fe)=>p.createElement(X,{fn:d,specPath:c.push(fe.toString()),getComponent:S,getConfigs:_,rawParam:ve,param:O.parameterWithMetaByIdentity(R,ve),key:`${ve.get("in")}.${ve.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:O,specActions:j,oas3Actions:$,oas3Selectors:L,pathMethod:R,isExecute:ce})))))):p.createElement("div",{className:"opblock-description-wrapper"},p.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?p.createElement("div",{className:"callbacks-container opblock-description-wrapper"},p.createElement(te,{callbacks:(0,Y.Map)(q.get("callbacks")),specPath:c.slice(0,-1).push("callbacks")})):null,ie&&me&&this.state.parametersVisible&&p.createElement("div",{className:"opblock-section opblock-section-request-body"},p.createElement("div",{className:"opblock-section-header"},p.createElement("h4",{className:`opblock-title parameter__name ${me.get("required")&&"required"}`},"Request body"),p.createElement("label",{id:_e},p.createElement(se,{value:L.requestContentType(...R),contentTypes:me.get("content",(0,Y.List)()).keySeq(),onChange:ve=>{this.onChangeMediaType({value:ve,pathMethod:R})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:_e}))),p.createElement("div",{className:"opblock-description-wrapper"},p.createElement(le,{setRetainRequestBodyValueFlag:ve=>$.setRetainRequestBodyValueFlag({value:ve,pathMethod:R}),userHasEditedBody:L.hasUserEditedBody(...R),specPath:c.slice(0,-1).push("requestBody"),requestBody:me,requestBodyValue:L.requestBodyValue(...R),requestBodyInclusionSetting:L.requestBodyInclusionSetting(...R),requestBodyErrors:L.requestBodyErrors(...R),isExecute:ce,getConfigs:_,activeExamplesKey:L.activeExamplesMember(...R,"requestBody","requestBody"),updateActiveExamplesKey:ve=>{this.props.oas3Actions.setActiveExamplesMember({name:ve,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(ve,fe)=>{if(fe){const be=L.requestBodyValue(...R),je=Y.Map.isMap(be)?be:(0,Y.Map)();return $.setRequestBodyValue({pathMethod:R,value:je.setIn(fe,ve)})}$.setRequestBodyValue({value:ve,pathMethod:R})},onChangeIncludeEmpty:(ve,fe)=>{$.setRequestBodyInclusion({pathMethod:R,value:fe,name:ve})},contentType:L.requestContentType(...R)}))))}}Ee(ok,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]});const SD=({xKey:t,xVal:e})=>p.createElement("div",{className:"parameter__extension"},t,": ",String(e)),xD={onChange:()=>{},isIncludedOptions:{}};class ik extends p.Component{constructor(){super(...arguments);Ee(this,"onCheckboxChange",r=>{const{onChange:n}=this.props;n(r.target.checked)})}componentDidMount(){const{isIncludedOptions:r,onChange:n}=this.props,{shouldDispatchInit:a,defaultValue:o}=r;a&&n(o)}render(){let{isIncluded:r,isDisabled:n}=this.props;return p.createElement("div",null,p.createElement("label",{htmlFor:"include_empty_value",className:Br()("parameter__empty_value_toggle",{disabled:n})},p.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:n,checked:!n&&r,onChange:this.onCheckboxChange}),"Send empty value"))}}Ee(ik,"defaultProps",xD);class _D extends p.Component{constructor(r,n){super(r,n);Ee(this,"onChangeWrapper",(r,n=!1)=>{let a,{onChange:o,rawParam:u}=this.props;return a=r===""||r&&r.size===0?null:r,o(u,a,n)});Ee(this,"_onExampleSelect",r=>{this.props.oas3Actions.setActiveExamplesMember({name:r,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})});Ee(this,"onChangeIncludeEmpty",r=>{let{specActions:n,param:a,pathMethod:o}=this.props;const u=a.get("name"),c=a.get("in");return n.updateEmptyParamInclusion(o,u,c,r)});Ee(this,"setDefaultValue",()=>{let{specSelectors:r,pathMethod:n,rawParam:a,oas3Selectors:o,fn:u}=this.props;const c=r.parameterWithMetaByIdentity(n,a)||(0,Y.Map)();let{schema:d}=er(c,{isOAS3:r.isOAS3()});const S=c.get("content",(0,Y.Map)()).keySeq().first(),_=d?u.getSampleSchema(d.toJS(),S,{includeWriteOnly:!0}):null;if(c&&c.get("value")===void 0&&c.get("in")!=="body"){let O;if(r.isSwagger2())O=c.get("x-example")!==void 0?c.get("x-example"):c.getIn(["schema","example"])!==void 0?c.getIn(["schema","example"]):d&&d.getIn(["default"]);else if(r.isOAS3()){d=this.composeJsonSchema(d);const $=o.activeExamplesMember(...n,"parameters",this.getParamKey());O=c.getIn(["examples",$,"value"])!==void 0?c.getIn(["examples",$,"value"]):c.getIn(["content",S,"example"])!==void 0?c.getIn(["content",S,"example"]):c.get("example")!==void 0?c.get("example"):(d&&d.get("example"))!==void 0?d&&d.get("example"):(d&&d.get("default"))!==void 0?d&&d.get("default"):c.get("default")}O===void 0||Y.List.isList(O)||(O=Gr(O));const j=u.getSchemaObjectType(d),R=u.getSchemaObjectType(d==null?void 0:d.get("items"));O!==void 0?this.onChangeWrapper(O):j==="object"&&_&&!c.get("examples")?this.onChangeWrapper(Y.List.isList(_)?_:Gr(_)):j==="array"&&R==="object"&&_&&!c.get("examples")&&this.onChangeWrapper(Y.List.isList(_)?_:(0,Y.List)(JSON.parse(_)))}});this.setDefaultValue()}UNSAFE_componentWillReceiveProps(r){let n,{specSelectors:a,pathMethod:o,rawParam:u}=r,c=a.isOAS3(),d=a.parameterWithMetaByIdentity(o,u)||new Y.Map;if(d=d.isEmpty()?u:d,c){let{schema:O}=er(d,{isOAS3:c});n=O?O.get("enum"):void 0}else n=d?d.get("enum"):void 0;let S,_=d?d.get("value"):void 0;_!==void 0?S=_:u.get("required")&&n&&n.size&&(S=n.first()),S!==void 0&&S!==_&&this.onChangeWrapper((function(j){return typeof j=="number"?j.toString():j})(S)),this.setDefaultValue()}getParamKey(){const{param:r}=this.props;return r?`${r.get("name")}-${r.get("in")}`:null}composeJsonSchema(r){var u,c,d,S,_;const{fn:n}=this.props,a=(c=(u=r.get("oneOf"))==null?void 0:u.get(0))==null?void 0:c.toJS(),o=(S=(d=r.get("anyOf"))==null?void 0:d.get(0))==null?void 0:S.toJS();return(0,Y.fromJS)(n.mergeJsonSchema(r.toJS(),(_=a!=null?a:o)!=null?_:{}))}render(){let{param:r,rawParam:n,getComponent:a,getConfigs:o,isExecute:u,fn:c,onChangeConsumes:d,specSelectors:S,pathMethod:_,specPath:O,oas3Selectors:j}=this.props,R=S.isOAS3();const{showExtensions:$,showCommonExtensions:L}=o();if(r||(r=n),!n)return null;const q=a("JsonSchemaForm"),X=a("ParamBody");let D=r.get("in"),se=D!=="body"?null:p.createElement(X,{getComponent:a,getConfigs:o,fn:c,param:r,consumes:S.consumesOptionsFor(_),consumesValue:S.contentTypeValues(_).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:d,isExecute:u,specSelectors:S,pathMethod:_});const te=a("modelExample"),le=a("Markdown",!0),ce=a("ParameterExt"),ie=a("ParameterIncludeEmpty"),_e=a("ExamplesSelectValueRetainer"),me=a("Example");let{schema:ue}=er(r,{isOAS3:R}),ve=S.parameterWithMetaByIdentity(_,n)||(0,Y.Map)();const fe=ve.get("content",(0,Y.Map)()).keySeq().first();R&&(ue=this.composeJsonSchema(ue));let be=ue?ue.get("format"):null,je=D==="formData",qe="FormData"in yt,pt=r.get("required");const _t=c.getSchemaObjectType(ue),It=c.getSchemaObjectType(ue==null?void 0:ue.get("items")),Wt=c.getSchemaObjectTypeLabel(ue),or=!se&&_t==="object",ir=!se&&It==="object";let Ut,Ye,Xe,Mt,kt=ve?ve.get("value"):"",Vt=L?br(ue):null,rr=$?Zt(r):null,pr=!1;r!==void 0&&ue&&(Ut=ue.get("items")),Ut!==void 0?(Ye=Ut.get("enum"),Xe=Ut.get("default")):ue&&(Ye=ue.get("enum")),Ye&&Ye.size&&Ye.size>0&&(pr=!0),r!==void 0&&(ue&&(Xe=ue.get("default")),Xe===void 0&&(Xe=r.get("default")),Mt=r.get("example"),Mt===void 0&&(Mt=r.get("x-example")));const Rr=se?null:p.createElement(q,{fn:c,getComponent:a,value:kt,required:pt,disabled:!u,description:r.get("name"),onChange:this.onChangeWrapper,errors:ve.get("errors"),schema:ue});return p.createElement("tr",{"data-param-name":r.get("name"),"data-param-in":r.get("in")},p.createElement("td",{className:"parameters-col_name"},p.createElement("div",{className:pt?"parameter__name required":"parameter__name"},r.get("name"),pt?p.createElement("span",null," *"):null),p.createElement("div",{className:"parameter__type"},Wt,be&&p.createElement("span",{className:"prop-format"},"($",be,")")),p.createElement("div",{className:"parameter__deprecated"},R&&r.get("deprecated")?"deprecated":null),p.createElement("div",{className:"parameter__in"},"(",r.get("in"),")")),p.createElement("td",{className:"parameters-col_description"},r.get("description")?p.createElement(le,{source:r.get("description")}):null,!se&&u||!pr?null:p.createElement(le,{className:"parameter__enum",source:"<i>Available values</i> : "+Ye.map((function(xr){return xr})).toArray().map(String).join(", ")}),!se&&u||Xe===void 0?null:p.createElement(le,{className:"parameter__default",source:"<i>Default value</i> : "+Xe}),!se&&u||Mt===void 0?null:p.createElement(le,{source:"<i>Example</i> : "+Mt}),je&&!qe&&p.createElement("div",null,"Error: your browser does not support FormData"),R&&r.get("examples")?p.createElement("section",{className:"parameter-controls"},p.createElement(_e,{examples:r.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:a,defaultToFirstExample:!0,currentKey:j.activeExamplesMember(..._,"parameters",this.getParamKey()),currentUserInputValue:kt})):null,or||ir?p.createElement(te,{getComponent:a,specPath:fe?O.push("content",fe,"schema"):O.push("schema"),getConfigs:o,isExecute:u,specSelectors:S,schema:ue,example:Rr}):Rr,se&&ue?p.createElement(te,{getComponent:a,specPath:O.push("schema"),getConfigs:o,isExecute:u,specSelectors:S,schema:ue,example:se,includeWriteOnly:!0}):null,!se&&u&&r.get("allowEmptyValue")?p.createElement(ie,{onChange:this.onChangeIncludeEmpty,isIncluded:S.parameterInclusionSettingFor(_,r.get("name"),r.get("in")),isDisabled:!Ba(kt)}):null,R&&r.get("examples")?p.createElement(me,{example:r.getIn(["examples",j.activeExamplesMember(..._,"parameters",this.getParamKey())]),getComponent:a,getConfigs:o}):null,L&&Vt.size?Vt.entrySeq().map((([xr,hr])=>p.createElement(ce,{key:`${xr}-${hr}`,xKey:xr,xVal:hr}))):null,$&&rr.size?rr.entrySeq().map((([xr,hr])=>p.createElement(ce,{key:`${xr}-${hr}`,xKey:xr,xVal:hr}))):null))}}class kD extends p.Component{constructor(){super(...arguments);Ee(this,"handleValidateParameters",()=>{let{specSelectors:r,specActions:n,path:a,method:o}=this.props;return n.validateParams([a,o]),r.validateBeforeExecute([a,o])});Ee(this,"handleValidateRequestBody",()=>{let{path:r,method:n,specSelectors:a,oas3Selectors:o,oas3Actions:u}=this.props,c={missingBodyValue:!1,missingRequiredKeys:[]};u.clearRequestBodyValidateError({path:r,method:n});let d=a.getOAS3RequiredRequestBodyContentType([r,n]),S=o.requestBodyValue(r,n),_=o.validateBeforeExecute([r,n]),O=o.requestContentType(r,n);if(!_)return c.missingBodyValue=!0,u.setRequestBodyValidateError({path:r,method:n,validationErrors:c}),!1;if(!d)return!0;let j=o.validateShallowRequired({oas3RequiredRequestBodyContentType:d,oas3RequestContentType:O,oas3RequestBodyValue:S});return!j||j.length<1||(j.forEach((R=>{c.missingRequiredKeys.push(R)})),u.setRequestBodyValidateError({path:r,method:n,validationErrors:c}),!1)});Ee(this,"handleValidationResultPass",()=>{let{specActions:r,operation:n,path:a,method:o}=this.props;this.props.onExecute&&this.props.onExecute(),r.execute({operation:n,path:a,method:o})});Ee(this,"handleValidationResultFail",()=>{let{specActions:r,path:n,method:a}=this.props;r.clearValidateParams([n,a]),setTimeout((()=>{r.validateParams([n,a])}),40)});Ee(this,"handleValidationResult",r=>{r?this.handleValidationResultPass():this.handleValidationResultFail()});Ee(this,"onClick",()=>{let r=this.handleValidateParameters(),n=this.handleValidateRequestBody(),a=r&&n;this.handleValidationResult(a)});Ee(this,"onChangeProducesWrapper",r=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],r))}render(){const{disabled:r}=this.props;return p.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:r},"Execute")}}class OD extends p.Component{render(){let{headers:e,getComponent:r}=this.props;const n=r("Property"),a=r("Markdown",!0);return e&&e.size?p.createElement("div",{className:"headers-wrapper"},p.createElement("h4",{className:"headers__title"},"Headers:"),p.createElement("table",{className:"headers"},p.createElement("thead",null,p.createElement("tr",{className:"header-row"},p.createElement("th",{className:"header-col"},"Name"),p.createElement("th",{className:"header-col"},"Description"),p.createElement("th",{className:"header-col"},"Type"))),p.createElement("tbody",null,e.entrySeq().map((([o,u])=>{if(!ye().Map.isMap(u))return null;const c=u.get("description"),d=u.getIn(["schema"])?u.getIn(["schema","type"]):u.getIn(["type"]),S=u.getIn(["schema","example"]);return p.createElement("tr",{key:o},p.createElement("td",{className:"header-col"},o),p.createElement("td",{className:"header-col"},c?p.createElement(a,{source:c}):null),p.createElement("td",{className:"header-col"},d," ",S?p.createElement(n,{propKey:"Example",propVal:S,propClass:"header-example"}):null))})).toArray()))):null}}class AD extends p.Component{render(){let{editorActions:e,errSelectors:r,layoutSelectors:n,layoutActions:a,getComponent:o}=this.props;const u=o("Collapse");if(e&&e.jumpToLine)var c=e.jumpToLine;let d=r.allErrors().filter((O=>O.get("type")==="thrown"||O.get("level")==="error"));if(!d||d.count()<1)return null;let S=n.isShown(["errorPane"],!0),_=d.sortBy((O=>O.get("line")));return p.createElement("pre",{className:"errors-wrapper"},p.createElement("hgroup",{className:"error"},p.createElement("h4",{className:"errors__title"},"Errors"),p.createElement("button",{className:"btn errors__clear-btn",onClick:()=>a.show(["errorPane"],!S)},S?"Hide":"Show")),p.createElement(u,{isOpened:S,animated:!0},p.createElement("div",{className:"errors"},_.map(((O,j)=>{let R=O.get("type");return R==="thrown"||R==="auth"?p.createElement(CD,{key:j,error:O.get("error")||O,jumpToLine:c}):R==="spec"?p.createElement(jD,{key:j,error:O,jumpToLine:c}):void 0})))))}}const CD=({error:t,jumpToLine:e})=>{if(!t)return null;let r=t.get("line");return p.createElement("div",{className:"error-wrapper"},t?p.createElement("div",null,p.createElement("h4",null,t.get("source")&&t.get("level")?sk(t.get("source"))+" "+t.get("level"):"",t.get("path")?p.createElement("small",null," at ",t.get("path")):null),p.createElement("span",{className:"message thrown"},t.get("message")),p.createElement("div",{className:"error-line"},r&&e?p.createElement("a",{onClick:e.bind(null,r)},"Jump to line ",r):null)):null)},jD=({error:t,jumpToLine:e=null})=>{let r=null;return t.get("path")?r=Y.List.isList(t.get("path"))?p.createElement("small",null,"at ",t.get("path").join(".")):p.createElement("small",null,"at ",t.get("path")):t.get("line")&&!e&&(r=p.createElement("small",null,"on line ",t.get("line"))),p.createElement("div",{className:"error-wrapper"},t?p.createElement("div",null,p.createElement("h4",null,sk(t.get("source"))+" "+t.get("level")," ",r),p.createElement("span",{className:"message"},t.get("message")),p.createElement("div",{className:"error-line"},e?p.createElement("a",{onClick:e.bind(null,t.get("line"))},"Jump to line ",t.get("line")):null)):null)};function sk(t){return(t||"").split(" ").map((e=>e[0].toUpperCase()+e.slice(1))).join(" ")}const PD=()=>{};class lk extends p.Component{constructor(){super(...arguments);Ee(this,"onChangeWrapper",r=>this.props.onChange(r.target.value))}componentDidMount(){const{contentTypes:r,onChange:n}=this.props;r&&r.size&&n(r.first())}componentDidUpdate(){const{contentTypes:r,value:n,onChange:a}=this.props;r&&r.size&&(r.includes(n)||a(r.first()))}render(){let{ariaControls:r,ariaLabel:n,className:a,contentTypes:o,controlId:u,value:c}=this.props;return o&&o.size?p.createElement("div",{className:"content-type-wrapper "+(a||"")},p.createElement("select",{"aria-controls":r,"aria-label":n,className:"content-type",id:u,onChange:this.onChangeWrapper,value:c||""},o.map((d=>p.createElement("option",{key:d,value:d},d))).toArray())):null}}Ee(lk,"defaultProps",{onChange:PD,value:null,contentTypes:(0,Y.fromJS)(["application/json"])});function Wm(...t){return t.filter((e=>!!e)).join(" ").trim()}class TD extends p.Component{render(){let o=this.props,{fullscreen:e,full:r}=o,n=jr(o,["fullscreen","full"]);if(e)return p.createElement("section",n);let a="swagger-container"+(r?"-full":"");return p.createElement("section",Wr()({},n,{className:Wm(n.className,a)}))}}const Fw={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class ND extends p.Component{render(){const _=this.props,{hide:e,keepContents:r,mobile:n,tablet:a,desktop:o,large:u}=_,c=jr(_,["hide","keepContents","mobile","tablet","desktop","large"]);if(e&&!r)return p.createElement("span",null);let d=[];for(let O in Fw){if(!Object.prototype.hasOwnProperty.call(Fw,O))continue;let j=Fw[O];if(O in this.props){let R=this.props[O];if(R<1){d.push("none"+j);continue}d.push("block"+j),d.push("col-"+R+j)}}e&&d.push("hidden");let S=Wm(c.className,...d);return p.createElement("section",Wr()({},c,{className:S}))}}class ID extends p.Component{render(){return p.createElement("div",Wr()({},this.props,{className:Wm(this.props.className,"wrapper")}))}}class ck extends p.Component{render(){return p.createElement("button",Wr()({},this.props,{className:Wm(this.props.className,"button")}))}}Ee(ck,"defaultProps",{className:""});const MD=t=>p.createElement("textarea",t),RD=t=>p.createElement("input",t);class uk extends p.Component{constructor(r,n){let a;super(r,n);Ee(this,"onChange",r=>{let n,{onChange:a,multiple:o}=this.props,u=[].slice.call(r.target.options);n=o?u.filter((function(c){return c.selected})).map((function(c){return c.value})):r.target.value,this.setState({value:n}),a&&a(n)});a=r.value?r.value:r.multiple?[""]:"",this.state={value:a}}UNSAFE_componentWillReceiveProps(r){r.value!==this.props.value&&this.setState({value:r.value})}render(){var c,d;let{allowedValues:r,multiple:n,allowEmptyValue:a,disabled:o}=this.props,u=((d=(c=this.state.value)==null?void 0:c.toJS)==null?void 0:d.call(c))||this.state.value;return p.createElement("select",{className:this.props.className,multiple:n,value:u,onChange:this.onChange,disabled:o},a?p.createElement("option",{value:""},"--"):null,r.map((function(S,_){return p.createElement("option",{key:_,value:String(S)},String(S))})))}}Ee(uk,"defaultProps",{multiple:!1,allowEmptyValue:!0});class pk extends p.Component{render(){return p.createElement("a",Wr()({},this.props,{rel:"noopener noreferrer",className:Wm(this.props.className,"link")}))}}const hk=({children:t})=>p.createElement("div",{className:"no-margin"}," ",t," ");class dk extends p.Component{renderNotAnimated(){return this.props.isOpened?p.createElement(hk,null,this.props.children):p.createElement("noscript",null)}render(){let{animated:e,isOpened:r,children:n}=this.props;return e?(n=r?n:null,p.createElement(hk,null,n)):this.renderNotAnimated()}}Ee(dk,"defaultProps",{isOpened:!1,animated:!1});class DD extends p.Component{constructor(...e){super(...e),this.setTagShown=this._setTagShown.bind(this)}_setTagShown(e,r){this.props.layoutActions.show(e,r)}showOp(e,r){let{layoutActions:n}=this.props;n.show(e,r)}render(){let{specSelectors:e,layoutSelectors:r,layoutActions:n,getComponent:a}=this.props,o=e.taggedOperations();const u=a("Collapse");return p.createElement("div",null,p.createElement("h4",{className:"overview-title"},"Overview"),o.map(((c,d)=>{let S=c.get("operations"),_=["overview-tags",d],O=r.isShown(_,!0);return p.createElement("div",{key:"overview-"+d},p.createElement("h4",{onClick:()=>n.show(_,!O),className:"link overview-tag"}," ",O?"-":"+",d),p.createElement(u,{isOpened:O,animated:!0},S.map((j=>{let{path:R,method:$,id:L}=j.toObject(),q="operations",X=L,D=r.isShown([q,X]);return p.createElement(FD,{key:L,path:R,method:$,id:R+"-"+$,shown:D,showOpId:X,showOpIdPrefix:q,href:`#operation-${X}`,onClick:n.show})})).toArray()))})).toArray(),o.size<1&&p.createElement("h3",null," No operations defined in spec! "))}}class FD extends p.Component{constructor(e){super(e),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:e,showOpIdPrefix:r,onClick:n,shown:a}=this.props;n([r,e],!a)}render(){let{id:e,method:r,shown:n,href:a}=this.props;return p.createElement(pk,{href:a,onClick:this.onClick,className:"block opblock-link "+(n?"shown":"")},p.createElement("div",null,p.createElement("small",{className:`bold-label-${r}`},r.toUpperCase()),p.createElement("span",{className:"bold-label"},e)))}}class $D extends p.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const o=this.props,{value:e,defaultValue:r,initialValue:n}=o,a=jr(o,["value","defaultValue","initialValue"]);return p.createElement("input",Wr()({},a,{ref:u=>this.inputRef=u}))}}class LD extends p.Component{render(){const{host:e,basePath:r}=this.props;return p.createElement("pre",{className:"base-url"},"[ Base URL: ",e,r," ]")}}class BD extends p.PureComponent{render(){const{url:e,getComponent:r}=this.props,n=r("Link");return p.createElement(n,{target:"_blank",href:Hn(e)},p.createElement("span",{className:"url"}," ",e))}}class qD extends p.Component{render(){const{info:e,url:r,host:n,basePath:a,getComponent:o,externalDocs:u,selectedServer:c,url:d}=this.props,S=e.get("version"),_=e.get("description"),O=e.get("title"),j=Ko(e.get("termsOfService"),d,{selectedServer:c}),R=e.get("contact"),$=e.get("license"),L=Ko(u&&u.get("url"),d,{selectedServer:c}),q=u&&u.get("description"),X=o("Markdown",!0),D=o("Link"),se=o("VersionStamp"),te=o("OpenAPIVersion"),le=o("InfoUrl"),ce=o("InfoBasePath"),ie=o("License"),_e=o("Contact");return p.createElement("div",{className:"info"},p.createElement("hgroup",{className:"main"},p.createElement("h1",{className:"title"},O,p.createElement("span",null,S&&p.createElement(se,{version:S}),p.createElement(te,{oasVersion:"2.0"}))),n||a?p.createElement(ce,{host:n,basePath:a}):null,r&&p.createElement(le,{getComponent:o,url:r})),p.createElement("div",{className:"description"},p.createElement(X,{source:_})),j&&p.createElement("div",{className:"info__tos"},p.createElement(D,{target:"_blank",href:Hn(j)},"Terms of service")),(R==null?void 0:R.size)>0&&p.createElement(_e,{getComponent:o,data:R,selectedServer:c,url:r}),($==null?void 0:$.size)>0&&p.createElement(ie,{getComponent:o,license:$,selectedServer:c,url:r}),L?p.createElement(D,{className:"info__extdocs",target:"_blank",href:Hn(L)},q||L):null)}}const UD=qD;class zD extends p.Component{render(){const{specSelectors:e,getComponent:r,oas3Selectors:n}=this.props,a=e.info(),o=e.url(),u=e.basePath(),c=e.host(),d=e.externalDocs(),S=n.selectedServer(),_=r("info");return p.createElement("div",null,a&&a.count()?p.createElement(_,{info:a,url:o,host:c,basePath:u,externalDocs:d,getComponent:r,selectedServer:S}):null)}}class VD extends p.Component{render(){const{data:e,getComponent:r,selectedServer:n,url:a}=this.props,o=e.get("name","the developer"),u=Ko(e.get("url"),a,{selectedServer:n}),c=e.get("email"),d=r("Link");return p.createElement("div",{className:"info__contact"},u&&p.createElement("div",null,p.createElement(d,{href:Hn(u),target:"_blank"},o," - Website")),c&&p.createElement(d,{href:Hn(`mailto:${c}`)},u?`Send email to ${o}`:`Contact ${o}`))}}const JD=VD;class WD extends p.Component{render(){const{license:e,getComponent:r,selectedServer:n,url:a}=this.props,o=e.get("name","License"),u=Ko(e.get("url"),a,{selectedServer:n}),c=r("Link");return p.createElement("div",{className:"info__license"},u?p.createElement("div",{className:"info__license__url"},p.createElement(c,{target:"_blank",href:Hn(u)},o)):p.createElement("span",null,o))}}const HD=WD;class KD extends p.Component{render(){return null}}class GD extends p.Component{render(){let{getComponent:e}=this.props;const r=e("CopyIcon");return p.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},p.createElement(Nc.CopyToClipboard,{text:this.props.textToCopy},p.createElement(r,null)))}}class YD extends p.Component{render(){return p.createElement("div",{className:"footer"})}}class XD extends p.Component{constructor(){super(...arguments);Ee(this,"onFilterChange",r=>{const{target:{value:n}}=r;this.props.layoutActions.updateFilter(n)})}render(){const{specSelectors:r,layoutSelectors:n,getComponent:a}=this.props,o=a("Col"),u=r.loadingStatus()==="loading",c=r.loadingStatus()==="failed",d=n.currentFilter(),S=["operation-filter-input"];return c&&S.push("failed"),u&&S.push("loading"),p.createElement("div",null,d===!1?null:p.createElement("div",{className:"filter-container"},p.createElement(o,{className:"filter wrapper",mobile:12},p.createElement("input",{className:S.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:typeof d=="string"?d:"",disabled:u}))))}}const $w=Function.prototype,M0=class M0 extends p.PureComponent{constructor(r,n){super(r,n);Ee(this,"updateValues",r=>{let{param:n,isExecute:a,consumesValue:o=""}=r,u=/xml/i.test(o),c=/json/i.test(o),d=u?n.get("value_xml"):n.get("value");if(d!==void 0){let S=!d&&c?"{}":d;this.setState({value:S}),this.onChange(S,{isXml:u,isEditBox:a})}else u?this.onChange(this.sample("xml"),{isXml:u,isEditBox:a}):this.onChange(this.sample(),{isEditBox:a})});Ee(this,"sample",r=>{let{param:n,fn:a}=this.props,o=a.inferSchema(n.toJS());return a.getSampleSchema(o,r,{includeWriteOnly:!0})});Ee(this,"onChange",(r,{isEditBox:n,isXml:a})=>{this.setState({value:r,isEditBox:n}),this._onChange(r,a)});Ee(this,"_onChange",(r,n)=>{(this.props.onChange||$w)(r,n)});Ee(this,"handleOnChange",r=>{const{consumesValue:n}=this.props,a=/xml/i.test(n),o=r.target.value;this.onChange(o,{isXml:a,isEditBox:this.state.isEditBox})});Ee(this,"toggleIsEditBox",()=>this.setState((r=>({isEditBox:!r.isEditBox}))));this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(r){this.updateValues.call(this,r)}render(){let{onChangeConsumes:r,param:n,isExecute:a,specSelectors:o,pathMethod:u,getComponent:c}=this.props;const d=c("Button"),S=c("TextArea"),_=c("HighlightCode",!0),O=c("contentType");let j=(o?o.parameterWithMetaByIdentity(u,n):n).get("errors",(0,Y.List)()),R=o.contentTypeValues(u).get("requestContentType"),$=this.props.consumes&&this.props.consumes.size?this.props.consumes:M0.defaultProp.consumes,{value:L,isEditBox:q}=this.state,X=null;xv(L)&&(X="json");const D=`${Rw(`${u[1]}${u[0]}_parameters`)}_select`;return p.createElement("div",{className:"body-param","data-param-name":n.get("name"),"data-param-in":n.get("in")},q&&a?p.createElement(S,{className:"body-param__text"+(j.count()?" invalid":""),value:L,onChange:this.handleOnChange}):L&&p.createElement(_,{className:"body-param__example",language:X},L),p.createElement("div",{className:"body-param-options"},a?p.createElement("div",{className:"body-param-edit"},p.createElement(d,{className:q?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},q?"Cancel":"Edit")):null,p.createElement("label",{htmlFor:D},p.createElement("span",null,"Parameter content type"),p.createElement(O,{value:R,contentTypes:$,onChange:r,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:D}))))}};Ee(M0,"defaultProp",{consumes:(0,Y.fromJS)(["application/json"]),param:(0,Y.fromJS)({}),onChange:$w,onChangeConsumes:$w});let Lw=M0;class QD extends p.Component{render(){const{request:e,getComponent:r}=this.props,n=Wp(e),a=r("SyntaxHighlighter",!0);return p.createElement("div",{className:"curl-command"},p.createElement("h4",null,"Curl"),p.createElement("div",{className:"copy-to-clipboard"},p.createElement(Nc.CopyToClipboard,{text:n},p.createElement("button",null))),p.createElement("div",null,p.createElement(a,{language:"bash",className:"curl microlight",renderPlainText:({children:o,PlainTextViewer:u})=>p.createElement(u,{className:"curl"},o)},n)))}}const ZD=({propKey:t,propVal:e,propClass:r})=>p.createElement("span",{className:r},p.createElement("br",null),t,": ",Gr(e));class fk extends p.Component{render(){const{onTryoutClick:e,onCancelClick:r,onResetClick:n,enabled:a,hasUserEditedBody:o,isOAS3:u}=this.props,c=u&&o;return p.createElement("div",{className:c?"try-out btn-group":"try-out"},a?p.createElement("button",{className:"btn try-out__btn cancel",onClick:r},"Cancel"):p.createElement("button",{className:"btn try-out__btn",onClick:e},"Try it out "),c&&p.createElement("button",{className:"btn try-out__btn reset",onClick:n},"Reset"))}}Ee(fk,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1});class mk extends p.PureComponent{render(){const{bypass:e,isSwagger2:r,isOAS3:n,alsoShow:a}=this.props;return e?p.createElement("div",null,this.props.children):r&&n?p.createElement("div",{className:"version-pragma"},a,p.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,p.createElement("code",null,"swagger")," and ",p.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),p.createElement("p",null,"Supported version fields are ",p.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",p.createElement("code",null,"openapi: 3.0.n")," (for example, ",p.createElement("code",null,"openapi: 3.0.4"),").")))):r||n?p.createElement("div",null,this.props.children):p.createElement("div",{className:"version-pragma"},a,p.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,"The provided definition does not specify a valid version field."),p.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",p.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",p.createElement("code",null,"openapi: 3.0.n")," (for example, ",p.createElement("code",null,"openapi: 3.0.4"),")."))))}}Ee(mk,"defaultProps",{alsoShow:null,children:null,bypass:!1});const eF=({version:t})=>p.createElement("small",null,p.createElement("pre",{className:"version"}," ",t," ")),tF=({oasVersion:t})=>p.createElement("small",{className:"version-stamp"},p.createElement("pre",{className:"version"},"OAS ",t)),rF=({enabled:t,path:e,text:r})=>p.createElement("a",{className:"nostyle",onClick:t?n=>n.preventDefault():null,href:t?`#/${e}`:null},p.createElement("span",null,r)),nF=()=>p.createElement("div",null,p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},p.createElement("defs",null,p.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},p.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},p.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},p.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},p.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),p.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},p.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),p.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},p.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),p.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},p.createElement("g",{transform:"translate(2, -1)"},p.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"}))))));var Bw;function gk(t){return(Bw=Bw||document.createElement("textarea")).innerHTML="&"+t+";",Bw.value}var aF=Object.prototype.hasOwnProperty;function oF(t,e){return!!t&&aF.call(t,e)}function yk(t){return[].slice.call(arguments,1).forEach((function(e){if(e){if(typeof e!="object")throw new TypeError(e+"must be object");Object.keys(e).forEach((function(r){t[r]=e[r]}))}})),t}var iF=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Hm(t){return t.indexOf("\\")<0?t:t.replace(iF,"$1")}function vk(t){return!(t>=55296&&t<=57343)&&!(t>=64976&&t<=65007)&&!!(65535&~t&&(65535&t)!=65534)&&!(t>=0&&t<=8)&&t!==11&&!(t>=14&&t<=31)&&!(t>=127&&t<=159)&&!(t>1114111)}function qw(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}var sF=/&([a-z#][a-z0-9]{1,31});/gi,lF=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function cF(t,e){var r=0,n=gk(e);return e!==n?n:e.charCodeAt(0)===35&&lF.test(e)&&vk(r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?qw(r):t}function dp(t){return t.indexOf("&")<0?t:t.replace(sF,cF)}var uF=/[&<>"]/,pF=/[&<>"]/g,hF={"&":"&","<":"<",">":">",'"':"""};function dF(t){return hF[t]}function wi(t){return uF.test(t)?t.replace(pF,dF):t}var Qt={};function bk(t,e){return++e>=t.length-2?e:t[e].type==="paragraph_open"&&t[e].tight&&t[e+1].type==="inline"&&t[e+1].content.length===0&&t[e+2].type==="paragraph_close"&&t[e+2].tight?bk(t,e+2):e}Qt.blockquote_open=function(){return`<blockquote>
|
||
`},Qt.blockquote_close=function(t,e){return"</blockquote>"+fp(t,e)},Qt.code=function(t,e){return t[e].block?"<pre><code>"+wi(t[e].content)+"</code></pre>"+fp(t,e):"<code>"+wi(t[e].content)+"</code>"},Qt.fence=function(t,e,r,n,a){var o,u,c=t[e],d="",S=r.langPrefix;if(c.params){if(u=(o=c.params.split(/\s+/g)).join(" "),oF(a.rules.fence_custom,o[0]))return a.rules.fence_custom[o[0]](t,e,r,n,a);d=' class="'+S+wi(dp(Hm(u)))+'"'}return"<pre><code"+d+">"+(r.highlight&&r.highlight.apply(r.highlight,[c.content].concat(o))||wi(c.content))+"</code></pre>"+fp(t,e)},Qt.fence_custom={},Qt.heading_open=function(t,e){return"<h"+t[e].hLevel+">"},Qt.heading_close=function(t,e){return"</h"+t[e].hLevel+`>
|
||
`},Qt.hr=function(t,e,r){return(r.xhtmlOut?"<hr />":"<hr>")+fp(t,e)},Qt.bullet_list_open=function(){return`<ul>
|
||
`},Qt.bullet_list_close=function(t,e){return"</ul>"+fp(t,e)},Qt.list_item_open=function(){return"<li>"},Qt.list_item_close=function(){return`</li>
|
||
`},Qt.ordered_list_open=function(t,e){var r=t[e];return"<ol"+(r.order>1?' start="'+r.order+'"':"")+`>
|
||
`},Qt.ordered_list_close=function(t,e){return"</ol>"+fp(t,e)},Qt.paragraph_open=function(t,e){return t[e].tight?"":"<p>"},Qt.paragraph_close=function(t,e){var r=!(t[e].tight&&e&&t[e-1].type==="inline"&&!t[e-1].content);return(t[e].tight?"":"</p>")+(r?fp(t,e):"")},Qt.link_open=function(t,e,r){var n=t[e].title?' title="'+wi(dp(t[e].title))+'"':"",a=r.linkTarget?' target="'+r.linkTarget+'"':"";return'<a href="'+wi(t[e].href)+'"'+n+a+">"},Qt.link_close=function(){return"</a>"},Qt.image=function(t,e,r){var n=' src="'+wi(t[e].src)+'"',a=t[e].title?' title="'+wi(dp(t[e].title))+'"':"";return"<img"+n+(' alt="'+(t[e].alt?wi(dp(Hm(t[e].alt))):"")+'"')+a+(r.xhtmlOut?" /":"")+">"},Qt.table_open=function(){return`<table>
|
||
`},Qt.table_close=function(){return`</table>
|
||
`},Qt.thead_open=function(){return`<thead>
|
||
`},Qt.thead_close=function(){return`</thead>
|
||
`},Qt.tbody_open=function(){return`<tbody>
|
||
`},Qt.tbody_close=function(){return`</tbody>
|
||
`},Qt.tr_open=function(){return"<tr>"},Qt.tr_close=function(){return`</tr>
|
||
`},Qt.th_open=function(t,e){var r=t[e];return"<th"+(r.align?' style="text-align:'+r.align+'"':"")+">"},Qt.th_close=function(){return"</th>"},Qt.td_open=function(t,e){var r=t[e];return"<td"+(r.align?' style="text-align:'+r.align+'"':"")+">"},Qt.td_close=function(){return"</td>"},Qt.strong_open=function(){return"<strong>"},Qt.strong_close=function(){return"</strong>"},Qt.em_open=function(){return"<em>"},Qt.em_close=function(){return"</em>"},Qt.del_open=function(){return"<del>"},Qt.del_close=function(){return"</del>"},Qt.ins_open=function(){return"<ins>"},Qt.ins_close=function(){return"</ins>"},Qt.mark_open=function(){return"<mark>"},Qt.mark_close=function(){return"</mark>"},Qt.sub=function(t,e){return"<sub>"+wi(t[e].content)+"</sub>"},Qt.sup=function(t,e){return"<sup>"+wi(t[e].content)+"</sup>"},Qt.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`},Qt.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`},Qt.text=function(t,e){return wi(t[e].content)},Qt.htmlblock=function(t,e){return t[e].content},Qt.htmltag=function(t,e){return t[e].content},Qt.abbr_open=function(t,e){return'<abbr title="'+wi(dp(t[e].title))+'">'},Qt.abbr_close=function(){return"</abbr>"},Qt.footnote_ref=function(t,e){var r=Number(t[e].id+1).toString(),n="fnref"+r;return t[e].subId>0&&(n+=":"+t[e].subId),'<sup class="footnote-ref"><a href="#fn'+r+'" id="'+n+'">['+r+"]</a></sup>"},Qt.footnote_block_open=function(t,e,r){return(r.xhtmlOut?`<hr class="footnotes-sep" />
|
||
`:`<hr class="footnotes-sep">
|
||
`)+`<section class="footnotes">
|
||
<ol class="footnotes-list">
|
||
`},Qt.footnote_block_close=function(){return`</ol>
|
||
</section>
|
||
`},Qt.footnote_open=function(t,e){return'<li id="fn'+Number(t[e].id+1).toString()+'" class="footnote-item">'},Qt.footnote_close=function(){return`</li>
|
||
`},Qt.footnote_anchor=function(t,e){var r="fnref"+Number(t[e].id+1).toString();return t[e].subId>0&&(r+=":"+t[e].subId),' <a href="#'+r+'" class="footnote-backref">↩</a>'},Qt.dl_open=function(){return`<dl>
|
||
`},Qt.dt_open=function(){return"<dt>"},Qt.dd_open=function(){return"<dd>"},Qt.dl_close=function(){return`</dl>
|
||
`},Qt.dt_close=function(){return`</dt>
|
||
`},Qt.dd_close=function(){return`</dd>
|
||
`};var fp=Qt.getBreak=function(e,r){return(r=bk(e,r))<e.length&&e[r].type==="list_item_close"?"":`
|
||
`};function Uw(){this.rules=yk({},Qt),this.getBreak=Qt.getBreak}function Ei(){this.__rules__=[],this.__cache__=null}function mp(t,e,r,n,a){this.src=t,this.env=n,this.options=r,this.parser=e,this.tokens=a,this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache=[],this.isInLabel=!1,this.linkLevel=0,this.linkContent="",this.labelUnmatchedScopes=0}function Km(t,e){var r,n,a,o=-1,u=t.posMax,c=t.pos,d=t.isInLabel;if(t.isInLabel)return-1;if(t.labelUnmatchedScopes)return t.labelUnmatchedScopes--,-1;for(t.pos=e+1,t.isInLabel=!0,r=1;t.pos<u;){if((a=t.src.charCodeAt(t.pos))===91)r++;else if(a===93&&--r===0){n=!0;break}t.parser.skipToken(t)}return n?(o=t.pos,t.labelUnmatchedScopes=0):t.labelUnmatchedScopes=r-1,t.pos=c,t.isInLabel=d,o}function fF(t,e,r,n){var a,o,u,c,d,S;if(t.charCodeAt(0)!==42||t.charCodeAt(1)!==91||t.indexOf("]:")===-1||(o=Km(a=new mp(t,e,r,n,[]),1))<0||t.charCodeAt(o+1)!==58)return-1;for(c=a.posMax,u=o+2;u<c&&a.src.charCodeAt(u)!==10;u++);return d=t.slice(2,o),(S=t.slice(o+2,u).trim()).length===0?-1:(n.abbreviations||(n.abbreviations={}),n.abbreviations[":"+d]===void 0&&(n.abbreviations[":"+d]=S),u)}function zw(t){var e=dp(t);try{e=decodeURI(e)}catch(r){}return encodeURI(e)}function wk(t,e){var r,n,a,o=e,u=t.posMax;if(t.src.charCodeAt(e)===60){for(e++;e<u;){if((r=t.src.charCodeAt(e))===10)return!1;if(r===62)return a=zw(Hm(t.src.slice(o+1,e))),!!t.parser.validateLink(a)&&(t.pos=e+1,t.linkContent=a,!0);r===92&&e+1<u?e+=2:e++}return!1}for(n=0;e<u&&(r=t.src.charCodeAt(e))!==32&&!(r<32||r===127);)if(r===92&&e+1<u)e+=2;else{if(r===40&&++n>1||r===41&&--n<0)break;e++}return o!==e&&(a=Hm(t.src.slice(o,e)),!!t.parser.validateLink(a)&&(t.linkContent=a,t.pos=e,!0))}function Ek(t,e){var r,n=e,a=t.posMax,o=t.src.charCodeAt(e);if(o!==34&&o!==39&&o!==40)return!1;for(e++,o===40&&(o=41);e<a;){if((r=t.src.charCodeAt(e))===o)return t.pos=e+1,t.linkContent=Hm(t.src.slice(n+1,e)),!0;r===92&&e+1<a?e+=2:e++}return!1}function Sk(t){return t.trim().replace(/\s+/g," ").toUpperCase()}function mF(t,e,r,n){var a,o,u,c,d,S,_,O,j;if(t.charCodeAt(0)!==91||t.indexOf("]:")===-1||(o=Km(a=new mp(t,e,r,n,[]),0))<0||t.charCodeAt(o+1)!==58)return-1;for(c=a.posMax,u=o+2;u<c&&((d=a.src.charCodeAt(u))===32||d===10);u++);if(!wk(a,u))return-1;for(_=a.linkContent,S=u=a.pos,u+=1;u<c&&((d=a.src.charCodeAt(u))===32||d===10);u++);for(u<c&&S!==u&&Ek(a,u)?(O=a.linkContent,u=a.pos):(O="",u=S);u<c&&a.src.charCodeAt(u)===32;)u++;return u<c&&a.src.charCodeAt(u)!==10?-1:(j=Sk(t.slice(1,o)),n.references[j]===void 0&&(n.references[j]={title:O,href:_}),u)}Uw.prototype.renderInline=function(t,e,r){for(var n=this.rules,a=t.length,o=0,u="";a--;)u+=n[t[o].type](t,o++,e,r,this);return u},Uw.prototype.render=function(t,e,r){for(var n=this.rules,a=t.length,o=-1,u="";++o<a;)t[o].type==="inline"?u+=this.renderInline(t[o].children,e,r):u+=n[t[o].type](t,o,e,r,this);return u},Ei.prototype.__find__=function(t){for(var e=this.__rules__.length,r=-1;e--;)if(this.__rules__[++r].name===t)return r;return-1},Ei.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach((function(r){r.enabled&&r.alt.forEach((function(n){e.indexOf(n)<0&&e.push(n)}))})),t.__cache__={},e.forEach((function(r){t.__cache__[r]=[],t.__rules__.forEach((function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||t.__cache__[r].push(n.fn))}))}))},Ei.prototype.at=function(t,e,r){var n=this.__find__(t),a=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=a.alt||[],this.__cache__=null},Ei.prototype.before=function(t,e,r,n){var a=this.__find__(t),o=n||{};if(a===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(a,0,{name:e,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},Ei.prototype.after=function(t,e,r,n){var a=this.__find__(t),o=n||{};if(a===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(a+1,0,{name:e,enabled:!0,fn:r,alt:o.alt||[]}),this.__cache__=null},Ei.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},Ei.prototype.enable=function(t,e){t=Array.isArray(t)?t:[t],e&&this.__rules__.forEach((function(r){r.enabled=!1})),t.forEach((function(r){var n=this.__find__(r);if(n<0)throw new Error("Rules manager: invalid rule name "+r);this.__rules__[n].enabled=!0}),this),this.__cache__=null},Ei.prototype.disable=function(t){(t=Array.isArray(t)?t:[t]).forEach((function(e){var r=this.__find__(e);if(r<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[r].enabled=!1}),this),this.__cache__=null},Ei.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]},mp.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},mp.prototype.push=function(t){this.pending&&this.pushPending(),this.tokens.push(t),this.pendingLevel=this.level},mp.prototype.cacheSet=function(t,e){for(var r=this.cache.length;r<=t;r++)this.cache.push(0);this.cache[t]=e},mp.prototype.cacheGet=function(t){return t<this.cache.length?this.cache[t]:0};var xk=`
|
||
()[]'".,!?-`;function Vw(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var gF=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,yF=/\((c|tm|r|p)\)/gi,vF={c:"©",r:"®",p:"§",tm:"™"};function bF(t){return t.indexOf("(")<0?t:t.replace(yF,(function(e,r){return vF[r.toLowerCase()]}))}var wF=/['"]/,_k=/['"]/g,EF=/[-\s()\[\]]/;function kk(t,e){return!(e<0||e>=t.length)&&!EF.test(t[e])}function od(t,e,r){return t.substr(0,e)+r+t.substr(e+1)}var Jw=[["block",function(e){e.inlineMode?e.tokens.push({type:"inline",content:e.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):e.block.parse(e.src,e.options,e.env,e.tokens)}],["abbr",function(e){var r,n,a,o,u=e.tokens;if(!e.inlineMode){for(r=1,n=u.length-1;r<n;r++)if(u[r-1].type==="paragraph_open"&&u[r].type==="inline"&&u[r+1].type==="paragraph_close"){for(a=u[r].content;a.length&&!((o=fF(a,e.inline,e.options,e.env))<0);)a=a.slice(o).trim();u[r].content=a,a.length||(u[r-1].tight=!0,u[r+1].tight=!0)}}}],["references",function(e){var r,n,a,o,u=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode){for(r=1,n=u.length-1;r<n;r++)if(u[r].type==="inline"&&u[r-1].type==="paragraph_open"&&u[r+1].type==="paragraph_close"){for(a=u[r].content;a.length&&!((o=mF(a,e.inline,e.options,e.env))<0);)a=a.slice(o).trim();u[r].content=a,a.length||(u[r-1].tight=!0,u[r+1].tight=!0)}}}],["inline",function(e){var r,n,a,o=e.tokens;for(n=0,a=o.length;n<a;n++)(r=o[n]).type==="inline"&&e.inline.parse(r.content,e.options,e.env,r.children)}],["footnote_tail",function(e){var r,n,a,o,u,c,d,S,_,O=0,j=!1,R={};if(e.env.footnotes&&(e.tokens=e.tokens.filter((function($){return $.type==="footnote_reference_open"?(j=!0,S=[],_=$.label,!1):$.type==="footnote_reference_close"?(j=!1,R[":"+_]=S,!1):(j&&S.push($),!j)})),e.env.footnotes.list)){for(c=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:O++}),r=0,n=c.length;r<n;r++){for(e.tokens.push({type:"footnote_open",id:r,level:O++}),c[r].tokens?((d=[]).push({type:"paragraph_open",tight:!1,level:O++}),d.push({type:"inline",content:"",level:O,children:c[r].tokens}),d.push({type:"paragraph_close",tight:!1,level:--O})):c[r].label&&(d=R[":"+c[r].label]),e.tokens=e.tokens.concat(d),u=e.tokens[e.tokens.length-1].type==="paragraph_close"?e.tokens.pop():null,o=c[r].count>0?c[r].count:1,a=0;a<o;a++)e.tokens.push({type:"footnote_anchor",id:r,subId:a,level:O});u&&e.tokens.push(u),e.tokens.push({type:"footnote_close",level:--O})}e.tokens.push({type:"footnote_block_close",level:--O})}}],["abbr2",function(e){var r,n,a,o,u,c,d,S,_,O,j,R,$=e.tokens;if(e.env.abbreviations){for(e.env.abbrRegExp||(R="(^|["+xk.split("").map(Vw).join("")+"])("+Object.keys(e.env.abbreviations).map((function(L){return L.substr(1)})).sort((function(L,q){return q.length-L.length})).map(Vw).join("|")+")($|["+xk.split("").map(Vw).join("")+"])",e.env.abbrRegExp=new RegExp(R,"g")),O=e.env.abbrRegExp,n=0,a=$.length;n<a;n++)if($[n].type==="inline"){for(r=(o=$[n].children).length-1;r>=0;r--)if((u=o[r]).type==="text"){for(S=0,c=u.content,O.lastIndex=0,_=u.level,d=[];j=O.exec(c);)O.lastIndex>S&&d.push({type:"text",content:c.slice(S,j.index+j[1].length),level:_}),d.push({type:"abbr_open",title:e.env.abbreviations[":"+j[2]],level:_++}),d.push({type:"text",content:j[2],level:_}),d.push({type:"abbr_close",level:--_}),S=O.lastIndex-j[3].length;d.length&&(S<c.length&&d.push({type:"text",content:c.slice(S),level:_}),$[n].children=o=[].concat(o.slice(0,r),d,o.slice(r+1)))}}}}],["replacements",function(e){var r,n,a,o,u;if(e.options.typographer){for(u=e.tokens.length-1;u>=0;u--)if(e.tokens[u].type==="inline")for(r=(o=e.tokens[u].children).length-1;r>=0;r--)(n=o[r]).type==="text"&&(a=bF(a=n.content),gF.test(a)&&(a=a.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),n.content=a)}}],["smartquotes",function(e){var r,n,a,o,u,c,d,S,_,O,j,R,$,L,q,X,D;if(e.options.typographer){for(D=[],q=e.tokens.length-1;q>=0;q--)if(e.tokens[q].type==="inline"){for(X=e.tokens[q].children,D.length=0,r=0;r<X.length;r++)if((n=X[r]).type==="text"&&!wF.test(n.text)){for(d=X[r].level,$=D.length-1;$>=0&&!(D[$].level<=d);$--);D.length=$+1,u=0,c=(a=n.content).length;e:for(;u<c&&(_k.lastIndex=u,o=_k.exec(a));)if(S=!kk(a,o.index-1),u=o.index+1,L=o[0]==="'",(_=!kk(a,u))||S){if(j=!_,R=!S){for($=D.length-1;$>=0&&(O=D[$],!(D[$].level<d));$--)if(O.single===L&&D[$].level===d){O=D[$],L?(X[O.token].content=od(X[O.token].content,O.pos,e.options.quotes[2]),n.content=od(n.content,o.index,e.options.quotes[3])):(X[O.token].content=od(X[O.token].content,O.pos,e.options.quotes[0]),n.content=od(n.content,o.index,e.options.quotes[1])),D.length=$;continue e}}j?D.push({token:r,pos:o.index,single:L,level:d}):R&&L&&(n.content=od(n.content,o.index,"’"))}else L&&(n.content=od(n.content,o.index,"’"))}}}}]];function Ok(){this.options={},this.ruler=new Ei;for(var t=0;t<Jw.length;t++)this.ruler.push(Jw[t][0],Jw[t][1])}function gp(t,e,r,n,a){var o,u,c,d,S,_,O;for(this.src=t,this.parser=e,this.options=r,this.env=n,this.tokens=a,this.bMarks=[],this.eMarks=[],this.tShift=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.parentType="root",this.ddIndent=-1,this.level=0,this.result="",_=0,O=!1,c=d=_=0,S=(u=this.src).length;d<S;d++){if(o=u.charCodeAt(d),!O){if(o===32){_++;continue}O=!0}o!==10&&d!==S-1||(o!==10&&d++,this.bMarks.push(c),this.eMarks.push(d),this.tShift.push(_),O=!1,_=0,c=d+1)}this.bMarks.push(u.length),this.eMarks.push(u.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function Ak(t,e){var r,n,a;return(n=t.bMarks[e]+t.tShift[e])>=(a=t.eMarks[e])||(r=t.src.charCodeAt(n++))!==42&&r!==45&&r!==43||n<a&&t.src.charCodeAt(n)!==32?-1:n}function Ck(t,e){var r,n=t.bMarks[e]+t.tShift[e],a=t.eMarks[e];if(n+1>=a||(r=t.src.charCodeAt(n++))<48||r>57)return-1;for(;;){if(n>=a)return-1;if(!((r=t.src.charCodeAt(n++))>=48&&r<=57)){if(r===41||r===46)break;return-1}}return n<a&&t.src.charCodeAt(n)!==32?-1:n}Ok.prototype.process=function(t){var e,r,n;for(e=0,r=(n=this.ruler.getRules("")).length;e<r;e++)n[e](t)},gp.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},gp.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},gp.prototype.skipSpaces=function(e){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===32;e++);return e},gp.prototype.skipChars=function(e,r){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e},gp.prototype.skipCharsBack=function(e,r,n){if(e<=n)return e;for(;e>n;)if(r!==this.src.charCodeAt(--e))return e+1;return e},gp.prototype.getLines=function(e,r,n,a){var o,u,c,d,S,_=e;if(e>=r)return"";if(_+1===r)return u=this.bMarks[_]+Math.min(this.tShift[_],n),c=a?this.eMarks[_]+1:this.eMarks[_],this.src.slice(u,c);for(d=new Array(r-e),o=0;_<r;_++,o++)(S=this.tShift[_])>n&&(S=n),S<0&&(S=0),u=this.bMarks[_]+S,c=_+1<r||a?this.eMarks[_]+1:this.eMarks[_],d[o]=this.src.slice(u,c);return d.join("")};var jk={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach((function(t){jk[t]=!0}));var SF=/^<([a-zA-Z]{1,15})[\s\/>]/,xF=/^<\/([a-zA-Z]{1,15})[\s>]/;function Ww(t,e){var r=t.bMarks[e]+t.blkIndent,n=t.eMarks[e];return t.src.substr(r,n-r)}function _v(t,e){var r,n,a=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];return a>=o||(n=t.src.charCodeAt(a++))!==126&&n!==58||a===(r=t.skipSpaces(a))||r>=o?-1:r}var kv=[["code",function(e,r,n){var a,o;if(e.tShift[r]-e.blkIndent<4)return!1;for(o=a=r+1;a<n;)if(e.isEmpty(a))a++;else{if(!(e.tShift[a]-e.blkIndent>=4))break;o=++a}return e.line=a,e.tokens.push({type:"code",content:e.getLines(r,o,4+e.blkIndent,!0),block:!0,lines:[r,e.line],level:e.level}),!0}],["fences",function(e,r,n,a){var o,u,c,d,S,_=!1,O=e.bMarks[r]+e.tShift[r],j=e.eMarks[r];if(O+3>j||(o=e.src.charCodeAt(O))!==126&&o!==96||(S=O,(u=(O=e.skipChars(O,o))-S)<3)||(c=e.src.slice(O,j).trim()).indexOf("`")>=0)return!1;if(a)return!0;for(d=r;!(++d>=n)&&!((O=S=e.bMarks[d]+e.tShift[d])<(j=e.eMarks[d])&&e.tShift[d]<e.blkIndent);)if(e.src.charCodeAt(O)===o&&!(e.tShift[d]-e.blkIndent>=4||(O=e.skipChars(O,o))-S<u||(O=e.skipSpaces(O))<j)){_=!0;break}return u=e.tShift[r],e.line=d+(_?1:0),e.tokens.push({type:"fence",params:c,content:e.getLines(r+1,d,u,!0),lines:[r,e.line],level:e.level}),!0},["paragraph","blockquote","list"]],["blockquote",function(e,r,n,a){var o,u,c,d,S,_,O,j,R,$,L,q=e.bMarks[r]+e.tShift[r],X=e.eMarks[r];if(q>X||e.src.charCodeAt(q++)!==62||e.level>=e.options.maxNesting)return!1;if(a)return!0;for(e.src.charCodeAt(q)===32&&q++,S=e.blkIndent,e.blkIndent=0,d=[e.bMarks[r]],e.bMarks[r]=q,u=(q=q<X?e.skipSpaces(q):q)>=X,c=[e.tShift[r]],e.tShift[r]=q-e.bMarks[r],j=e.parser.ruler.getRules("blockquote"),o=r+1;o<n&&!((q=e.bMarks[o]+e.tShift[o])>=(X=e.eMarks[o]));o++)if(e.src.charCodeAt(q++)!==62){if(u)break;for(L=!1,R=0,$=j.length;R<$;R++)if(j[R](e,o,n,!0)){L=!0;break}if(L)break;d.push(e.bMarks[o]),c.push(e.tShift[o]),e.tShift[o]=-1337}else e.src.charCodeAt(q)===32&&q++,d.push(e.bMarks[o]),e.bMarks[o]=q,u=(q=q<X?e.skipSpaces(q):q)>=X,c.push(e.tShift[o]),e.tShift[o]=q-e.bMarks[o];for(_=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:O=[r,0],level:e.level++}),e.parser.tokenize(e,r,o),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=_,O[1]=e.line,R=0;R<c.length;R++)e.bMarks[R+r]=d[R],e.tShift[R+r]=c[R];return e.blkIndent=S,!0},["paragraph","blockquote","list"]],["hr",function(e,r,n,a){var o,u,c,d=e.bMarks[r],S=e.eMarks[r];if((d+=e.tShift[r])>S||(o=e.src.charCodeAt(d++))!==42&&o!==45&&o!==95)return!1;for(u=1;d<S;){if((c=e.src.charCodeAt(d++))!==o&&c!==32)return!1;c===o&&u++}return!(u<3)&&(a||(e.line=r+1,e.tokens.push({type:"hr",lines:[r,e.line],level:e.level})),!0)},["paragraph","blockquote","list"]],["list",function(e,r,n,a){var o,u,c,d,S,_,O,j,R,$,L,q,X,D,se,te,le,ce,ie,_e,me,ue=!0;if((j=Ck(e,r))>=0)q=!0;else{if(!((j=Ak(e,r))>=0))return!1;q=!1}if(e.level>=e.options.maxNesting)return!1;if(L=e.src.charCodeAt(j-1),a)return!0;for(D=e.tokens.length,q?(O=e.bMarks[r]+e.tShift[r],$=Number(e.src.substr(O,j-O-1)),e.tokens.push({type:"ordered_list_open",order:$,lines:te=[r,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:te=[r,0],level:e.level++}),o=r,se=!1,ce=e.parser.ruler.getRules("list");!(!(o<n)||((R=(X=e.skipSpaces(j))>=e.eMarks[o]?1:X-j)>4&&(R=1),R<1&&(R=1),u=j-e.bMarks[o]+R,e.tokens.push({type:"list_item_open",lines:le=[r,0],level:e.level++}),d=e.blkIndent,S=e.tight,c=e.tShift[r],_=e.parentType,e.tShift[r]=X-e.bMarks[r],e.blkIndent=u,e.tight=!0,e.parentType="list",e.parser.tokenize(e,r,n,!0),e.tight&&!se||(ue=!1),se=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=d,e.tShift[r]=c,e.tight=S,e.parentType=_,e.tokens.push({type:"list_item_close",level:--e.level}),o=r=e.line,le[1]=o,X=e.bMarks[r],o>=n)||e.isEmpty(o)||e.tShift[o]<e.blkIndent);){for(me=!1,ie=0,_e=ce.length;ie<_e;ie++)if(ce[ie](e,o,n,!0)){me=!0;break}if(me)break;if(q){if((j=Ck(e,o))<0)break}else if((j=Ak(e,o))<0)break;if(L!==e.src.charCodeAt(j-1))break}return e.tokens.push({type:q?"ordered_list_close":"bullet_list_close",level:--e.level}),te[1]=o,e.line=o,ue&&(function(fe,be){var je,qe,pt=fe.level+2;for(je=be+2,qe=fe.tokens.length-2;je<qe;je++)fe.tokens[je].level===pt&&fe.tokens[je].type==="paragraph_open"&&(fe.tokens[je+2].tight=!0,fe.tokens[je].tight=!0,je+=2)})(e,D),!0},["paragraph","blockquote"]],["footnote",function(e,r,n,a){var o,u,c,d,S,_=e.bMarks[r]+e.tShift[r],O=e.eMarks[r];if(_+4>O||e.src.charCodeAt(_)!==91||e.src.charCodeAt(_+1)!==94||e.level>=e.options.maxNesting)return!1;for(d=_+2;d<O;d++){if(e.src.charCodeAt(d)===32)return!1;if(e.src.charCodeAt(d)===93)break}return d!==_+2&&!(d+1>=O||e.src.charCodeAt(++d)!==58)&&(a||(d++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),S=e.src.slice(_+2,d-2),e.env.footnotes.refs[":"+S]=-1,e.tokens.push({type:"footnote_reference_open",label:S,level:e.level++}),o=e.bMarks[r],u=e.tShift[r],c=e.parentType,e.tShift[r]=e.skipSpaces(d)-d,e.bMarks[r]=d,e.blkIndent+=4,e.parentType="footnote",e.tShift[r]<e.blkIndent&&(e.tShift[r]+=e.blkIndent,e.bMarks[r]-=e.blkIndent),e.parser.tokenize(e,r,n,!0),e.parentType=c,e.blkIndent-=4,e.tShift[r]=u,e.bMarks[r]=o,e.tokens.push({type:"footnote_reference_close",level:--e.level})),!0)},["paragraph"]],["heading",function(e,r,n,a){var o,u,c,d=e.bMarks[r]+e.tShift[r],S=e.eMarks[r];if(d>=S||(o=e.src.charCodeAt(d))!==35||d>=S)return!1;for(u=1,o=e.src.charCodeAt(++d);o===35&&d<S&&u<=6;)u++,o=e.src.charCodeAt(++d);return!(u>6||d<S&&o!==32)&&(a||(S=e.skipCharsBack(S,32,d),(c=e.skipCharsBack(S,35,d))>d&&e.src.charCodeAt(c-1)===32&&(S=c),e.line=r+1,e.tokens.push({type:"heading_open",hLevel:u,lines:[r,e.line],level:e.level}),d<S&&e.tokens.push({type:"inline",content:e.src.slice(d,S).trim(),level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:u,level:e.level})),!0)},["paragraph","blockquote"]],["lheading",function(e,r,n){var a,o,u,c=r+1;return!(c>=n)&&!(e.tShift[c]<e.blkIndent)&&!(e.tShift[c]-e.blkIndent>3)&&!((o=e.bMarks[c]+e.tShift[c])>=(u=e.eMarks[c]))&&((a=e.src.charCodeAt(o))===45||a===61)&&(o=e.skipChars(o,a),!((o=e.skipSpaces(o))<u)&&(o=e.bMarks[r]+e.tShift[r],e.line=c+1,e.tokens.push({type:"heading_open",hLevel:a===61?1:2,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(o,e.eMarks[r]).trim(),level:e.level+1,lines:[r,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:a===61?1:2,level:e.level}),!0))}],["htmlblock",function(e,r,n,a){var o,u,c,d=e.bMarks[r],S=e.eMarks[r],_=e.tShift[r];if(d+=_,!e.options.html||_>3||d+2>=S||e.src.charCodeAt(d)!==60)return!1;if((o=e.src.charCodeAt(d+1))===33||o===63){if(a)return!0}else{if(o!==47&&!(function(j){var R=32|j;return R>=97&&R<=122})(o))return!1;if(o===47){if(!(u=e.src.slice(d,S).match(xF)))return!1}else if(!(u=e.src.slice(d,S).match(SF)))return!1;if(jk[u[1].toLowerCase()]!==!0)return!1;if(a)return!0}for(c=r+1;c<e.lineMax&&!e.isEmpty(c);)c++;return e.line=c,e.tokens.push({type:"htmlblock",level:e.level,lines:[r,e.line],content:e.getLines(r,c,0,!0)}),!0},["paragraph","blockquote"]],["table",function(e,r,n,a){var o,u,c,d,S,_,O,j,R,$,L;if(r+2>n||(S=r+1,e.tShift[S]<e.blkIndent)||(c=e.bMarks[S]+e.tShift[S])>=e.eMarks[S]||(o=e.src.charCodeAt(c))!==124&&o!==45&&o!==58||(u=Ww(e,r+1),!/^[-:| ]+$/.test(u))||(_=u.split("|"))<=2)return!1;for(j=[],d=0;d<_.length;d++){if(!(R=_[d].trim())){if(d===0||d===_.length-1)continue;return!1}if(!/^:?-+:?$/.test(R))return!1;R.charCodeAt(R.length-1)===58?j.push(R.charCodeAt(0)===58?"center":"right"):R.charCodeAt(0)===58?j.push("left"):j.push("")}if((u=Ww(e,r).trim()).indexOf("|")===-1||(_=u.replace(/^\||\|$/g,"").split("|"),j.length!==_.length))return!1;if(a)return!0;for(e.tokens.push({type:"table_open",lines:$=[r,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[r,r+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[r,r+1],level:e.level++}),d=0;d<_.length;d++)e.tokens.push({type:"th_open",align:j[d],lines:[r,r+1],level:e.level++}),e.tokens.push({type:"inline",content:_[d].trim(),lines:[r,r+1],level:e.level,children:[]}),e.tokens.push({type:"th_close",level:--e.level});for(e.tokens.push({type:"tr_close",level:--e.level}),e.tokens.push({type:"thead_close",level:--e.level}),e.tokens.push({type:"tbody_open",lines:L=[r+2,0],level:e.level++}),S=r+2;S<n&&!(e.tShift[S]<e.blkIndent)&&(u=Ww(e,S).trim()).indexOf("|")!==-1;S++){for(_=u.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),d=0;d<_.length;d++)e.tokens.push({type:"td_open",align:j[d],level:e.level++}),O=_[d].substring(_[d].charCodeAt(0)===124?1:0,_[d].charCodeAt(_[d].length-1)===124?_[d].length-1:_[d].length).trim(),e.tokens.push({type:"inline",content:O,level:e.level,children:[]}),e.tokens.push({type:"td_close",level:--e.level});e.tokens.push({type:"tr_close",level:--e.level})}return e.tokens.push({type:"tbody_close",level:--e.level}),e.tokens.push({type:"table_close",level:--e.level}),$[1]=L[1]=S,e.line=S,!0},["paragraph"]],["deflist",function(e,r,n,a){var o,u,c,d,S,_,O,j,R,$,L,q,X,D;if(a)return!(e.ddIndent<0)&&_v(e,r)>=0;if(O=r+1,e.isEmpty(O)&&++O>n||e.tShift[O]<e.blkIndent||(o=_v(e,O))<0||e.level>=e.options.maxNesting)return!1;_=e.tokens.length,e.tokens.push({type:"dl_open",lines:S=[r,0],level:e.level++}),c=r,u=O;e:for(;;){for(D=!0,X=!1,e.tokens.push({type:"dt_open",lines:[c,c],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(c,c+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[c,c],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:d=[O,0],level:e.level++}),q=e.tight,R=e.ddIndent,j=e.blkIndent,L=e.tShift[u],$=e.parentType,e.blkIndent=e.ddIndent=e.tShift[u]+2,e.tShift[u]=o-e.bMarks[u],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,u,n,!0),e.tight&&!X||(D=!1),X=e.line-u>1&&e.isEmpty(e.line-1),e.tShift[u]=L,e.tight=q,e.parentType=$,e.blkIndent=j,e.ddIndent=R,e.tokens.push({type:"dd_close",level:--e.level}),d[1]=O=e.line,O>=n||e.tShift[O]<e.blkIndent)break e;if((o=_v(e,O))<0)break;u=O}if(O>=n||(c=O,e.isEmpty(c))||e.tShift[c]<e.blkIndent||(u=c+1)>=n||(e.isEmpty(u)&&u++,u>=n)||e.tShift[u]<e.blkIndent||(o=_v(e,u))<0)break}return e.tokens.push({type:"dl_close",level:--e.level}),S[1]=O,e.line=O,D&&(function(te,le){var ce,ie,_e=te.level+2;for(ce=le+2,ie=te.tokens.length-2;ce<ie;ce++)te.tokens[ce].level===_e&&te.tokens[ce].type==="paragraph_open"&&(te.tokens[ce+2].tight=!0,te.tokens[ce].tight=!0,ce+=2)})(e,_),!0},["paragraph"]],["paragraph",function(e,r){var n,a,o,u,c,d,S=r+1;if(S<(n=e.lineMax)&&!e.isEmpty(S)){for(d=e.parser.ruler.getRules("paragraph");S<n&&!e.isEmpty(S);S++)if(!(e.tShift[S]-e.blkIndent>3)){for(o=!1,u=0,c=d.length;u<c;u++)if(d[u](e,S,n,!0)){o=!0;break}if(o)break}}return a=e.getLines(r,S,e.blkIndent,!1).trim(),e.line=S,a.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:a,level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}]];function Hw(){this.ruler=new Ei;for(var t=0;t<kv.length;t++)this.ruler.push(kv[t][0],kv[t][1],{alt:(kv[t][2]||[]).slice()})}Hw.prototype.tokenize=function(t,e,r){for(var n,a=this.ruler.getRules(""),o=a.length,u=e,c=!1;u<r&&(t.line=u=t.skipEmptyLines(u),!(u>=r))&&!(t.tShift[u]<t.blkIndent);){for(n=0;n<o&&!a[n](t,u,r,!1);n++);if(t.tight=!c,t.isEmpty(t.line-1)&&(c=!0),(u=t.line)<r&&t.isEmpty(u)){if(c=!0,++u<r&&t.parentType==="list"&&t.isEmpty(u))break;t.line=u}}};var _F=/[\n\t]/g,kF=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,OF=/\u00a0/g;function AF(t){switch(t){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}Hw.prototype.parse=function(t,e,r,n){var a,o=0,u=0;if(!t)return[];(t=(t=t.replace(OF," ")).replace(kF,`
|
||
`)).indexOf(" ")>=0&&(t=t.replace(_F,(function(c,d){var S;return t.charCodeAt(d)===10?(o=d+1,u=0,c):(S=" ".slice((d-o-u)%4),u=d-o+1,S)}))),a=new gp(t,this,e,r,n),this.tokenize(a,a.line,a.lineMax)};for(var Kw=[],Pk=0;Pk<256;Pk++)Kw.push(0);function Tk(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function Nk(t,e){var r,n,a,o=e,u=!0,c=!0,d=t.posMax,S=t.src.charCodeAt(e);for(r=e>0?t.src.charCodeAt(e-1):-1;o<d&&t.src.charCodeAt(o)===S;)o++;return o>=d&&(u=!1),(a=o-e)>=4?u=c=!1:((n=o<d?t.src.charCodeAt(o):-1)!==32&&n!==10||(u=!1),r!==32&&r!==10||(c=!1),S===95&&(Tk(r)&&(u=!1),Tk(n)&&(c=!1))),{can_open:u,can_close:c,delims:a}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(t){Kw[t.charCodeAt(0)]=1}));var CF=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,jF=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,PF=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],TF=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,NF=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function Ov(t,e){return t=t.source,e=e||"",function r(n,a){return n?(a=a.source||a,t=t.replace(n,a),r):new RegExp(t,e)}}var IF=Ov(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),MF=Ov(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",IF)(),RF=Ov(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",MF)(),DF=Ov(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",RF)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),FF=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,$F=/^&([a-z][a-z0-9]{1,31});/i,Gw=[["text",function(e,r){for(var n=e.pos;n<e.posMax&&!AF(e.src.charCodeAt(n));)n++;return n!==e.pos&&(r||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}],["newline",function(e,r){var n,a,o=e.pos;if(e.src.charCodeAt(o)!==10)return!1;if(n=e.pending.length-1,a=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(var u=n-2;u>=0;u--)if(e.pending.charCodeAt(u)!==32){e.pending=e.pending.substring(0,u+1);break}e.push({type:"hardbreak",level:e.level})}else e.pending=e.pending.slice(0,-1),e.push({type:"softbreak",level:e.level});else e.push({type:"softbreak",level:e.level});for(o++;o<a&&e.src.charCodeAt(o)===32;)o++;return e.pos=o,!0}],["escape",function(e,r){var n,a=e.pos,o=e.posMax;if(e.src.charCodeAt(a)!==92)return!1;if(++a<o){if((n=e.src.charCodeAt(a))<256&&Kw[n]!==0)return r||(e.pending+=e.src[a]),e.pos+=2,!0;if(n===10){for(r||e.push({type:"hardbreak",level:e.level}),a++;a<o&&e.src.charCodeAt(a)===32;)a++;return e.pos=a,!0}}return r||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,r){var n,a,o,u,c,d=e.pos;if(e.src.charCodeAt(d)!==96)return!1;for(n=d,d++,a=e.posMax;d<a&&e.src.charCodeAt(d)===96;)d++;for(o=e.src.slice(n,d),u=c=d;(u=e.src.indexOf("`",c))!==-1;){for(c=u+1;c<a&&e.src.charCodeAt(c)===96;)c++;if(c-u===o.length)return r||e.push({type:"code",content:e.src.slice(d,u).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=c,!0}return r||(e.pending+=o),e.pos+=o.length,!0}],["del",function(e,r){var n,a,o,u,c,d=e.posMax,S=e.pos;if(e.src.charCodeAt(S)!==126||r||S+4>=d||e.src.charCodeAt(S+1)!==126||e.level>=e.options.maxNesting||(u=S>0?e.src.charCodeAt(S-1):-1,c=e.src.charCodeAt(S+2),u===126)||c===126||c===32||c===10)return!1;for(a=S+2;a<d&&e.src.charCodeAt(a)===126;)a++;if(a>S+3)return e.pos+=a-S,r||(e.pending+=e.src.slice(S,a)),!0;for(e.pos=S+2,o=1;e.pos+1<d;){if(e.src.charCodeAt(e.pos)===126&&e.src.charCodeAt(e.pos+1)===126&&(u=e.src.charCodeAt(e.pos-1),(c=e.pos+2<d?e.src.charCodeAt(e.pos+2):-1)!==126&&u!==126&&(u!==32&&u!==10?o--:c!==32&&c!==10&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=S+2,r||(e.push({type:"del_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"del_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=d,!0):(e.pos=S,!1)}],["ins",function(e,r){var n,a,o,u,c,d=e.posMax,S=e.pos;if(e.src.charCodeAt(S)!==43||r||S+4>=d||e.src.charCodeAt(S+1)!==43||e.level>=e.options.maxNesting||(u=S>0?e.src.charCodeAt(S-1):-1,c=e.src.charCodeAt(S+2),u===43)||c===43||c===32||c===10)return!1;for(a=S+2;a<d&&e.src.charCodeAt(a)===43;)a++;if(a!==S+2)return e.pos+=a-S,r||(e.pending+=e.src.slice(S,a)),!0;for(e.pos=S+2,o=1;e.pos+1<d;){if(e.src.charCodeAt(e.pos)===43&&e.src.charCodeAt(e.pos+1)===43&&(u=e.src.charCodeAt(e.pos-1),(c=e.pos+2<d?e.src.charCodeAt(e.pos+2):-1)!==43&&u!==43&&(u!==32&&u!==10?o--:c!==32&&c!==10&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=S+2,r||(e.push({type:"ins_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"ins_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=d,!0):(e.pos=S,!1)}],["mark",function(e,r){var n,a,o,u,c,d=e.posMax,S=e.pos;if(e.src.charCodeAt(S)!==61||r||S+4>=d||e.src.charCodeAt(S+1)!==61||e.level>=e.options.maxNesting||(u=S>0?e.src.charCodeAt(S-1):-1,c=e.src.charCodeAt(S+2),u===61)||c===61||c===32||c===10)return!1;for(a=S+2;a<d&&e.src.charCodeAt(a)===61;)a++;if(a!==S+2)return e.pos+=a-S,r||(e.pending+=e.src.slice(S,a)),!0;for(e.pos=S+2,o=1;e.pos+1<d;){if(e.src.charCodeAt(e.pos)===61&&e.src.charCodeAt(e.pos+1)===61&&(u=e.src.charCodeAt(e.pos-1),(c=e.pos+2<d?e.src.charCodeAt(e.pos+2):-1)!==61&&u!==61&&(u!==32&&u!==10?o--:c!==32&&c!==10&&o++,o<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=S+2,r||(e.push({type:"mark_open",level:e.level++}),e.parser.tokenize(e),e.push({type:"mark_close",level:--e.level})),e.pos=e.posMax+2,e.posMax=d,!0):(e.pos=S,!1)}],["emphasis",function(e,r){var n,a,o,u,c,d,S,_=e.posMax,O=e.pos,j=e.src.charCodeAt(O);if(j!==95&&j!==42||r)return!1;if(n=(S=Nk(e,O)).delims,!S.can_open)return e.pos+=n,r||(e.pending+=e.src.slice(O,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=O+n,d=[n];e.pos<_;)if(e.src.charCodeAt(e.pos)!==j)e.parser.skipToken(e);else{if(a=(S=Nk(e,e.pos)).delims,S.can_close){for(u=d.pop(),c=a;u!==c;){if(c<u){d.push(u-c);break}if(c-=u,d.length===0)break;e.pos+=u,u=d.pop()}if(d.length===0){n=u,o=!0;break}e.pos+=a;continue}S.can_open&&d.push(a),e.pos+=a}return o?(e.posMax=e.pos,e.pos=O+n,r||(n!==2&&n!==3||e.push({type:"strong_open",level:e.level++}),n!==1&&n!==3||e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),n!==1&&n!==3||e.push({type:"em_close",level:--e.level}),n!==2&&n!==3||e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+n,e.posMax=_,!0):(e.pos=O,!1)}],["sub",function(e,r){var n,a,o=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==126||r||u+2>=o||e.level>=e.options.maxNesting)return!1;for(e.pos=u+1;e.pos<o;){if(e.src.charCodeAt(e.pos)===126){n=!0;break}e.parser.skipToken(e)}return n&&u+1!==e.pos?(a=e.src.slice(u+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=u,!1):(e.posMax=e.pos,e.pos=u+1,r||e.push({type:"sub",level:e.level,content:a.replace(CF,"$1")}),e.pos=e.posMax+1,e.posMax=o,!0):(e.pos=u,!1)}],["sup",function(e,r){var n,a,o=e.posMax,u=e.pos;if(e.src.charCodeAt(u)!==94||r||u+2>=o||e.level>=e.options.maxNesting)return!1;for(e.pos=u+1;e.pos<o;){if(e.src.charCodeAt(e.pos)===94){n=!0;break}e.parser.skipToken(e)}return n&&u+1!==e.pos?(a=e.src.slice(u+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=u,!1):(e.posMax=e.pos,e.pos=u+1,r||e.push({type:"sup",level:e.level,content:a.replace(jF,"$1")}),e.pos=e.posMax+1,e.posMax=o,!0):(e.pos=u,!1)}],["links",function(e,r){var n,a,o,u,c,d,S,_,O=!1,j=e.pos,R=e.posMax,$=e.pos,L=e.src.charCodeAt($);if(L===33&&(O=!0,L=e.src.charCodeAt(++$)),L!==91||e.level>=e.options.maxNesting||(n=$+1,(a=Km(e,$))<0))return!1;if((d=a+1)<R&&e.src.charCodeAt(d)===40){for(d++;d<R&&((_=e.src.charCodeAt(d))===32||_===10);d++);if(d>=R)return!1;for($=d,wk(e,d)?(u=e.linkContent,d=e.pos):u="",$=d;d<R&&((_=e.src.charCodeAt(d))===32||_===10);d++);if(d<R&&$!==d&&Ek(e,d))for(c=e.linkContent,d=e.pos;d<R&&((_=e.src.charCodeAt(d))===32||_===10);d++);else c="";if(d>=R||e.src.charCodeAt(d)!==41)return e.pos=j,!1;d++}else{if(e.linkLevel>0)return!1;for(;d<R&&((_=e.src.charCodeAt(d))===32||_===10);d++);if(d<R&&e.src.charCodeAt(d)===91&&($=d+1,(d=Km(e,d))>=0?o=e.src.slice($,d++):d=$-1),o||(o===void 0&&(d=a+1),o=e.src.slice(n,a)),!(S=e.env.references[Sk(o)]))return e.pos=j,!1;u=S.href,c=S.title}return r||(e.pos=n,e.posMax=a,O?e.push({type:"image",src:u,title:c,alt:e.src.substr(n,a-n),level:e.level}):(e.push({type:"link_open",href:u,title:c,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=d,e.posMax=R,!0}],["footnote_inline",function(e,r){var n,a,o,u,c=e.posMax,d=e.pos;return!(d+2>=c)&&e.src.charCodeAt(d)===94&&e.src.charCodeAt(d+1)===91&&!(e.level>=e.options.maxNesting)&&(n=d+2,!((a=Km(e,d+1))<0)&&(r||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),o=e.env.footnotes.list.length,e.pos=n,e.posMax=a,e.push({type:"footnote_ref",id:o,level:e.level}),e.linkLevel++,u=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[o]={tokens:e.tokens.splice(u)},e.linkLevel--),e.pos=a+1,e.posMax=c,!0))}],["footnote_ref",function(e,r){var n,a,o,u,c=e.posMax,d=e.pos;if(d+3>c||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(d)!==91||e.src.charCodeAt(d+1)!==94||e.level>=e.options.maxNesting)return!1;for(a=d+2;a<c;a++){if(e.src.charCodeAt(a)===32||e.src.charCodeAt(a)===10)return!1;if(e.src.charCodeAt(a)===93)break}return a!==d+2&&!(a>=c)&&(a++,n=e.src.slice(d+2,a-1),e.env.footnotes.refs[":"+n]!==void 0&&(r||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(o=e.env.footnotes.list.length,e.env.footnotes.list[o]={label:n,count:0},e.env.footnotes.refs[":"+n]=o):o=e.env.footnotes.refs[":"+n],u=e.env.footnotes.list[o].count,e.env.footnotes.list[o].count++,e.push({type:"footnote_ref",id:o,subId:u,level:e.level})),e.pos=a,e.posMax=c,!0))}],["autolink",function(e,r){var n,a,o,u,c,d=e.pos;return e.src.charCodeAt(d)===60&&!((n=e.src.slice(d)).indexOf(">")<0)&&((a=n.match(NF))?!(PF.indexOf(a[1].toLowerCase())<0)&&(c=zw(u=a[0].slice(1,-1)),!!e.parser.validateLink(u)&&(r||(e.push({type:"link_open",href:c,level:e.level}),e.push({type:"text",content:u,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=a[0].length,!0)):!!(o=n.match(TF))&&(c=zw("mailto:"+(u=o[0].slice(1,-1))),!!e.parser.validateLink(c)&&(r||(e.push({type:"link_open",href:c,level:e.level}),e.push({type:"text",content:u,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=o[0].length,!0)))}],["htmltag",function(e,r){var n,a,o,u=e.pos;return!!e.options.html&&(o=e.posMax,!(e.src.charCodeAt(u)!==60||u+2>=o)&&!((n=e.src.charCodeAt(u+1))!==33&&n!==63&&n!==47&&!(function(d){var S=32|d;return S>=97&&S<=122})(n))&&!!(a=e.src.slice(u).match(DF))&&(r||e.push({type:"htmltag",content:e.src.slice(u,u+a[0].length),level:e.level}),e.pos+=a[0].length,!0))}],["entity",function(e,r){var n,a,o=e.pos,u=e.posMax;if(e.src.charCodeAt(o)!==38)return!1;if(o+1<u){if(e.src.charCodeAt(o+1)===35){if(a=e.src.slice(o).match(FF))return r||(n=a[1][0].toLowerCase()==="x"?parseInt(a[1].slice(1),16):parseInt(a[1],10),e.pending+=vk(n)?qw(n):qw(65533)),e.pos+=a[0].length,!0}else if(a=e.src.slice(o).match($F)){var c=gk(a[1]);if(a[1]!==c)return r||(e.pending+=c),e.pos+=a[0].length,!0}}return r||(e.pending+="&"),e.pos++,!0}]];function Av(){this.ruler=new Ei;for(var t=0;t<Gw.length;t++)this.ruler.push(Gw[t][0],Gw[t][1]);this.validateLink=LF}function LF(t){var e=t.trim().toLowerCase();return(e=dp(e)).indexOf(":")===-1||["vbscript","javascript","file","data"].indexOf(e.split(":")[0])===-1}Av.prototype.skipToken=function(t){var e,r,n=this.ruler.getRules(""),a=n.length,o=t.pos;if((r=t.cacheGet(o))>0)t.pos=r;else{for(e=0;e<a;e++)if(n[e](t,!0))return void t.cacheSet(o,t.pos);t.pos++,t.cacheSet(o,t.pos)}},Av.prototype.tokenize=function(t){for(var e,r,n=this.ruler.getRules(""),a=n.length,o=t.posMax;t.pos<o;){for(r=0;r<a&&!(e=n[r](t,!1));r++);if(e){if(t.pos>=o)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Av.prototype.parse=function(t,e,r,n){var a=new mp(t,this,e,r,n);this.tokenize(a)};var BF={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},full:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}}};function Ik(t,e,r){this.src=e,this.env=r,this.options=t.options,this.tokens=[],this.inlineMode=!1,this.inline=t.inline,this.block=t.block,this.renderer=t.renderer,this.typographer=t.typographer}function Hl(t,e){typeof t!="string"&&(e=t,t="default"),e&&e.linkify!=null,this.inline=new Av,this.block=new Hw,this.core=new Ok,this.renderer=new Uw,this.ruler=new Ei,this.options={},this.configure(BF[t]),this.set(e||{})}Hl.prototype.set=function(t){yk(this.options,t)},Hl.prototype.configure=function(t){var e=this;if(!t)throw new Error("Wrong `remarkable` preset, check name/content");t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach((function(r){t.components[r].rules&&e[r].ruler.enable(t.components[r].rules,!0)}))},Hl.prototype.use=function(t,e){return t(this,e),this},Hl.prototype.parse=function(t,e){var r=new Ik(this,t,e);return this.core.process(r),r.tokens},Hl.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Hl.prototype.parseInline=function(t,e){var r=new Ik(this,t,e);return r.inlineMode=!0,this.core.process(r),r.tokens},Hl.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};function Mk(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function yp(t,e){for(var r=t.length-1;r>=0;r--)e(t[r])===!0&&t.splice(r,1)}function Yw(t){throw new Error("Unhandled case for value: '".concat(t,"'"))}var Xw=(function(){function t(e){e===void 0&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return t.prototype.setTagName=function(e){return this.tagName=e,this},t.prototype.getTagName=function(){return this.tagName||""},t.prototype.setAttr=function(e,r){return this.getAttrs()[e]=r,this},t.prototype.getAttr=function(e){return this.getAttrs()[e]},t.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},t.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},t.prototype.setClass=function(e){return this.setAttr("class",e)},t.prototype.addClass=function(e){for(var r,n=this.getClass(),a=this.whitespaceRegex,o=n?n.split(a):[],u=e.split(a);r=u.shift();)Mk(o,r)===-1&&o.push(r);return this.getAttrs().class=o.join(" "),this},t.prototype.removeClass=function(e){for(var r,n=this.getClass(),a=this.whitespaceRegex,o=n?n.split(a):[],u=e.split(a);o.length&&(r=u.shift());){var c=Mk(o,r);c!==-1&&o.splice(c,1)}return this.getAttrs().class=o.join(" "),this},t.prototype.getClass=function(){return this.getAttrs().class||""},t.prototype.hasClass=function(e){return(" "+this.getClass()+" ").indexOf(" "+e+" ")!==-1},t.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},t.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},t.prototype.getInnerHTML=function(){return this.innerHTML||""},t.prototype.getInnerHtml=function(){return this.getInnerHTML()},t.prototype.toAnchorString=function(){var e=this.getTagName(),r=this.buildAttrsStr();return["<",e,r=r?" "+r:"",">",this.getInnerHtml(),"</",e,">"].join("")},t.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),r=[];for(var n in e)e.hasOwnProperty(n)&&r.push(n+'="'+e[n]+'"');return r.join(" ")},t})(),Rk=(function(){function t(e){e===void 0&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return t.prototype.build=function(e){return new Xw({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},t.prototype.createAttrs=function(e){var r={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(r.class=n),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(r.title=e.getAnchorHref()),r},t.prototype.createCssClass=function(e){var r=this.className;if(r){for(var n=[r],a=e.getCssClassSuffixes(),o=0,u=a.length;o<u;o++)n.push(r+"-"+a[o]);return n.join(" ")}return""},t.prototype.processAnchorText=function(e){return e=this.doTruncate(e)},t.prototype.doTruncate=function(e){var r=this.truncate;if(!r||!r.length)return e;var n=r.length,a=r.location;return a==="smart"?(function(u,c,d){var S,_;d==null?(d="…",_=3,S=8):(_=d.length,S=d.length);var O=function(le){var ce="";return le.scheme&&le.host&&(ce+=le.scheme+"://"),le.host&&(ce+=le.host),le.path&&(ce+="/"+le.path),le.query&&(ce+="?"+le.query),le.fragment&&(ce+="#"+le.fragment),ce},j=function(le,ce){var ie=ce/2,_e=Math.ceil(ie),me=-1*Math.floor(ie),ue="";return me<0&&(ue=le.substr(me)),le.substr(0,_e)+d+ue};if(u.length<=c)return u;var R=c-_,$=(function(le){var ce={},ie=le,_e=ie.match(/^([a-z]+):\/\//i);return _e&&(ce.scheme=_e[1],ie=ie.substr(_e[0].length)),(_e=ie.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(ce.host=_e[1],ie=ie.substr(_e[0].length)),(_e=ie.match(/^\/(.*?)(?=(\?|#|$))/i))&&(ce.path=_e[1],ie=ie.substr(_e[0].length)),(_e=ie.match(/^\?(.*?)(?=(#|$))/i))&&(ce.query=_e[1],ie=ie.substr(_e[0].length)),(_e=ie.match(/^#(.*?)$/i))&&(ce.fragment=_e[1]),ce})(u);if($.query){var L=$.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);L&&($.query=$.query.substr(0,L[1].length),u=O($))}if(u.length<=c||($.host&&($.host=$.host.replace(/^www\./,""),u=O($)),u.length<=c))return u;var q="";if($.host&&(q+=$.host),q.length>=R)return $.host.length==c?($.host.substr(0,c-_)+d).substr(0,R+S):j(q,R).substr(0,R+S);var X="";if($.path&&(X+="/"+$.path),$.query&&(X+="?"+$.query),X){if((q+X).length>=R)return(q+X).length==c?(q+X).substr(0,c):(q+j(X,R-q.length)).substr(0,R+S);q+=X}if($.fragment){var D="#"+$.fragment;if((q+D).length>=R)return(q+D).length==c?(q+D).substr(0,c):(q+j(D,R-q.length)).substr(0,R+S);q+=D}if($.scheme&&$.host){var se=$.scheme+"://";if((q+se).length<R)return(se+q).substr(0,c)}if(q.length<=c)return q;var te="";return R>0&&(te=q.substr(-1*Math.floor(R/2))),(q.substr(0,Math.ceil(R/2))+d+te).substr(0,R+S)})(e,n):a==="middle"?(function(u,c,d){if(u.length<=c)return u;var S,_;d==null?(d="…",S=8,_=3):(S=d.length,_=d.length);var O=c-_,j="";return O>0&&(j=u.substr(-1*Math.floor(O/2))),(u.substr(0,Math.ceil(O/2))+d+j).substr(0,O+S)})(e,n):(function(u,c,d){return(function(_,O,j){var R;return _.length>O&&(j==null?(j="…",R=3):R=j.length,_=_.substring(0,O-R)+j),_})(u,c,d)})(e,n)},t})(),id=(function(){function t(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return t.prototype.getMatchedText=function(){return this.matchedText},t.prototype.setOffset=function(e){this.offset=e},t.prototype.getOffset=function(){return this.offset},t.prototype.getCssClassSuffixes=function(){return[this.getType()]},t.prototype.buildTag=function(){return this.tagBuilder.build(this)},t})(),Qw=function(t,e){return Qw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},Qw(t,e)};function ll(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Qw(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var fa=function(){return fa=Object.assign||function(e){for(var r,n=1,a=arguments.length;n<a;n++)for(var o in r=arguments[n])Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o]);return e},fa.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var Dk,Fk=(function(t){function e(r){var n=t.call(this,r)||this;return n.email="",n.email=r.email,n}return ll(e,t),e.prototype.getType=function(){return"email"},e.prototype.getEmail=function(){return this.email},e.prototype.getAnchorHref=function(){return"mailto:"+this.email},e.prototype.getAnchorText=function(){return this.email},e})(id),$k=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="",n.hashtag="",n.serviceName=r.serviceName,n.hashtag=r.hashtag,n}return ll(e,t),e.prototype.getType=function(){return"hashtag"},e.prototype.getServiceName=function(){return this.serviceName},e.prototype.getHashtag=function(){return this.hashtag},e.prototype.getAnchorHref=function(){var r=this.serviceName,n=this.hashtag;switch(r){case"twitter":return"https://twitter.com/hashtag/"+n;case"facebook":return"https://www.facebook.com/hashtag/"+n;case"instagram":return"https://instagram.com/explore/tags/"+n;case"tiktok":return"https://www.tiktok.com/tag/"+n;default:throw new Error("Unknown service name to point hashtag to: "+r)}},e.prototype.getAnchorText=function(){return"#"+this.hashtag},e})(id),Lk=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.mention="",n.mention=r.mention,n.serviceName=r.serviceName,n}return ll(e,t),e.prototype.getType=function(){return"mention"},e.prototype.getMention=function(){return this.mention},e.prototype.getServiceName=function(){return this.serviceName},e.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},e.prototype.getAnchorText=function(){return"@"+this.mention},e.prototype.getCssClassSuffixes=function(){var r=t.prototype.getCssClassSuffixes.call(this),n=this.getServiceName();return n&&r.push(n),r},e})(id),Bk=(function(t){function e(r){var n=t.call(this,r)||this;return n.number="",n.plusSign=!1,n.number=r.number,n.plusSign=r.plusSign,n}return ll(e,t),e.prototype.getType=function(){return"phone"},e.prototype.getPhoneNumber=function(){return this.number},e.prototype.getNumber=function(){return this.getPhoneNumber()},e.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},e.prototype.getAnchorText=function(){return this.matchedText},e})(id),qk=(function(t){function e(r){var n=t.call(this,r)||this;return n.url="",n.urlMatchType="scheme",n.protocolUrlMatch=!1,n.protocolRelativeMatch=!1,n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.schemePrefixRegex=/^(https?:\/\/)?/i,n.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,n.protocolRelativeRegex=/^\/\//,n.protocolPrepended=!1,n.urlMatchType=r.urlMatchType,n.url=r.url,n.protocolUrlMatch=r.protocolUrlMatch,n.protocolRelativeMatch=r.protocolRelativeMatch,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return ll(e,t),e.prototype.getType=function(){return"url"},e.prototype.getUrlMatchType=function(){return this.urlMatchType},e.prototype.getUrl=function(){var r=this.url;return this.protocolRelativeMatch||this.protocolUrlMatch||this.protocolPrepended||(r=this.url="http://"+r,this.protocolPrepended=!0),r},e.prototype.getAnchorHref=function(){return this.getUrl().replace(/&/g,"&")},e.prototype.getAnchorText=function(){var r=this.getMatchedText();return this.protocolRelativeMatch&&(r=this.stripProtocolRelativePrefix(r)),this.stripPrefix.scheme&&(r=this.stripSchemePrefix(r)),this.stripPrefix.www&&(r=this.stripWwwPrefix(r)),this.stripTrailingSlash&&(r=this.removeTrailingSlash(r)),this.decodePercentEncoding&&(r=this.removePercentEncoding(r)),r},e.prototype.stripSchemePrefix=function(r){return r.replace(this.schemePrefixRegex,"")},e.prototype.stripWwwPrefix=function(r){return r.replace(this.wwwPrefixRegex,"$1")},e.prototype.stripProtocolRelativePrefix=function(r){return r.replace(this.protocolRelativeRegex,"")},e.prototype.removeTrailingSlash=function(r){return r.charAt(r.length-1)==="/"&&(r=r.slice(0,-1)),r},e.prototype.removePercentEncoding=function(r){var n=r.replace(/%22/gi,""").replace(/%26/gi,"&").replace(/%27/gi,"'").replace(/%3C/gi,"<").replace(/%3E/gi,">");try{return decodeURIComponent(n)}catch(a){return n}},e})(id),sd=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},Zw=/[A-Za-z]/,qF=/[\d]/,UF=/[\D]/,vp=/\s/,eE=/['"]/,zF=/[\x00-\x1F\x7F]/,Uk=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC/.source,zk=Uk+/\u2700-\u27bf\udde6-\uddff\ud800-\udbff\udc00-\udfff\ufe0e\ufe0f\u0300-\u036f\ufe20-\ufe23\u20d0-\u20f0\ud83c\udffb-\udfff\u200d\u3299\u3297\u303d\u3030\u24c2\ud83c\udd70-\udd71\udd7e-\udd7f\udd8e\udd91-\udd9a\udde6-\uddff\ude01-\ude02\ude1a\ude2f\ude32-\ude3a\ude50-\ude51\u203c\u2049\u25aa-\u25ab\u25b6\u25c0\u25fb-\u25fe\u00a9\u00ae\u2122\u2139\udc04\u2600-\u26FF\u2b05\u2b06\u2b07\u2b1b\u2b1c\u2b50\u2b55\u231a\u231b\u2328\u23cf\u23e9-\u23f3\u23f8-\u23fa\udccf\u2935\u2934\u2190-\u21ff/.source+/\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D4-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F/.source,Cv=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,VF=zk+Cv,ma=zk+Cv,Gm=new RegExp("[".concat(ma,"]")),JF="(?:["+Cv+"]{1,3}\\.){3}["+Cv+"]{1,3}",WF="["+ma+"](?:["+ma+"\\-_]{0,61}["+ma+"])?",Vk=function(t){return"(?=("+WF+"))\\"+t},tE=function(t){return"(?:"+Vk(t)+"(?:\\."+Vk(t+1)+"){0,126}|"+JF+")"},jv=Gm,Jk=/(?:xn--vermgensberatung-pwb|xn--vermgensberater-ctb|xn--clchc0ea0b2g2a9gcd|xn--w4r85el8fhu5dnra|northwesternmutual|travelersinsurance|vermögensberatung|xn--5su34j936bgsg|xn--bck1b9a5dre4c|xn--mgbah1a3hjkrd|xn--mgbai9azgqp6j|xn--mgberp4a5d4ar|xn--xkc2dl3a5ee0h|vermögensberater|xn--fzys8d69uvgm|xn--mgba7c0bbn0a|xn--mgbcpq6gpa1a|xn--xkc2al3hye2a|americanexpress|kerryproperties|sandvikcoromant|xn--i1b6b1a6a2e|xn--kcrx77d1x4a|xn--lgbbat1ad8j|xn--mgba3a4f16a|xn--mgbaakc7dvf|xn--mgbc0a9azcg|xn--nqv7fs00ema|americanfamily|bananarepublic|cancerresearch|cookingchannel|kerrylogistics|weatherchannel|xn--54b7fta0cc|xn--6qq986b3xl|xn--80aqecdr1a|xn--b4w605ferd|xn--fiq228c5hs|xn--h2breg3eve|xn--jlq480n2rg|xn--jlq61u9w7b|xn--mgba3a3ejt|xn--mgbaam7a8h|xn--mgbayh7gpa|xn--mgbbh1a71e|xn--mgbca7dzdo|xn--mgbi4ecexp|xn--mgbx4cd0ab|xn--rvc1e0am3e|international|lifeinsurance|travelchannel|wolterskluwer|xn--cckwcxetd|xn--eckvdtc9d|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--h2brj9c8c|xn--tiq49xqyj|xn--yfro4i67o|xn--ygbi2ammx|construction|lplfinancial|scholarships|versicherung|xn--3e0b707e|xn--45br5cyl|xn--4dbrk0ce|xn--80adxhks|xn--80asehdb|xn--8y0a063a|xn--gckr3f0f|xn--mgb9awbf|xn--mgbab2bd|xn--mgbgu82a|xn--mgbpl2fh|xn--mgbt3dhd|xn--mk1bu44c|xn--ngbc5azd|xn--ngbe9e0a|xn--ogbpf8fl|xn--qcka1pmc|accountants|barclaycard|blackfriday|blockbuster|bridgestone|calvinklein|contractors|creditunion|engineering|enterprises|foodnetwork|investments|kerryhotels|lamborghini|motorcycles|olayangroup|photography|playstation|productions|progressive|redumbrella|williamhill|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--3bst00m|xn--3ds443g|xn--3hcrj9c|xn--42c2d9a|xn--45brj9c|xn--55qw42g|xn--6frz82g|xn--80ao21a|xn--9krt00a|xn--cck2b3b|xn--czr694b|xn--d1acj3b|xn--efvy88h|xn--fct429k|xn--fjq720a|xn--flw351e|xn--g2xx48c|xn--gecrj9c|xn--gk3at1e|xn--h2brj9c|xn--hxt814e|xn--imr513n|xn--j6w193g|xn--jvr189m|xn--kprw13d|xn--kpry57d|xn--mgbbh1a|xn--mgbtx2b|xn--mix891f|xn--nyqy26a|xn--otu796d|xn--pgbs0dh|xn--q9jyb4c|xn--rhqv96g|xn--rovu88b|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--vuq861b|xn--w4rs40l|xn--xhq521b|xn--zfr164b|சிங்கப்பூர்|accountant|apartments|associates|basketball|bnpparibas|boehringer|capitalone|consulting|creditcard|cuisinella|eurovision|extraspace|foundation|healthcare|immobilien|industries|management|mitsubishi|nextdirect|properties|protection|prudential|realestate|republican|restaurant|schaeffler|tatamotors|technology|university|vlaanderen|volkswagen|xn--30rr7y|xn--3pxu8k|xn--45q11c|xn--4gbrim|xn--55qx5d|xn--5tzm5g|xn--80aswg|xn--90a3ac|xn--9dbq2a|xn--9et52u|xn--c2br7g|xn--cg4bki|xn--czrs0t|xn--czru2d|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--io0a7i|xn--kput3i|xn--mxtq1m|xn--o3cw4h|xn--pssy2u|xn--q7ce6a|xn--unup4y|xn--wgbh1c|xn--wgbl6a|xn--y9a3aq|accenture|alfaromeo|allfinanz|amsterdam|analytics|aquarelle|barcelona|bloomberg|christmas|community|directory|education|equipment|fairwinds|financial|firestone|fresenius|frontdoor|furniture|goldpoint|hisamitsu|homedepot|homegoods|homesense|institute|insurance|kuokgroup|lancaster|landrover|lifestyle|marketing|marshalls|melbourne|microsoft|panasonic|passagens|pramerica|richardli|shangrila|solutions|statebank|statefarm|stockholm|travelers|vacations|xn--90ais|xn--c1avg|xn--d1alf|xn--e1a4c|xn--fhbei|xn--j1aef|xn--j1amh|xn--l1acc|xn--ngbrx|xn--nqv7f|xn--p1acf|xn--qxa6a|xn--tckwe|xn--vhquv|yodobashi|موريتانيا|abudhabi|airforce|allstate|attorney|barclays|barefoot|bargains|baseball|boutique|bradesco|broadway|brussels|builders|business|capetown|catering|catholic|cipriani|cityeats|cleaning|clinique|clothing|commbank|computer|delivery|deloitte|democrat|diamonds|discount|discover|download|engineer|ericsson|etisalat|exchange|feedback|fidelity|firmdale|football|frontier|goodyear|grainger|graphics|guardian|hdfcbank|helsinki|holdings|hospital|infiniti|ipiranga|istanbul|jpmorgan|lighting|lundbeck|marriott|maserati|mckinsey|memorial|merckmsd|mortgage|observer|partners|pharmacy|pictures|plumbing|property|redstone|reliance|saarland|samsclub|security|services|shopping|showtime|softbank|software|stcgroup|supplies|training|vanguard|ventures|verisign|woodside|xn--90ae|xn--node|xn--p1ai|xn--qxam|yokohama|السعودية|abogado|academy|agakhan|alibaba|android|athleta|auction|audible|auspost|avianca|banamex|bauhaus|bentley|bestbuy|booking|brother|bugatti|capital|caravan|careers|channel|charity|chintai|citadel|clubmed|college|cologne|comcast|company|compare|contact|cooking|corsica|country|coupons|courses|cricket|cruises|dentist|digital|domains|exposed|express|farmers|fashion|ferrari|ferrero|finance|fishing|fitness|flights|florist|flowers|forsale|frogans|fujitsu|gallery|genting|godaddy|grocery|guitars|hamburg|hangout|hitachi|holiday|hosting|hoteles|hotmail|hyundai|ismaili|jewelry|juniper|kitchen|komatsu|lacaixa|lanxess|lasalle|latrobe|leclerc|limited|lincoln|markets|monster|netbank|netflix|network|neustar|okinawa|oldnavy|organic|origins|philips|pioneer|politie|realtor|recipes|rentals|reviews|rexroth|samsung|sandvik|schmidt|schwarz|science|shiksha|singles|staples|storage|support|surgery|systems|temasek|theater|theatre|tickets|tiffany|toshiba|trading|walmart|wanggou|watches|weather|website|wedding|whoswho|windows|winners|xfinity|yamaxun|youtube|zuerich|католик|اتصالات|البحرين|الجزائر|العليان|پاکستان|كاثوليك|இந்தியா|abarth|abbott|abbvie|africa|agency|airbus|airtel|alipay|alsace|alstom|amazon|anquan|aramco|author|bayern|beauty|berlin|bharti|bostik|boston|broker|camera|career|casino|center|chanel|chrome|church|circle|claims|clinic|coffee|comsec|condos|coupon|credit|cruise|dating|datsun|dealer|degree|dental|design|direct|doctor|dunlop|dupont|durban|emerck|energy|estate|events|expert|family|flickr|futbol|gallup|garden|george|giving|global|google|gratis|health|hermes|hiphop|hockey|hotels|hughes|imamat|insure|intuit|jaguar|joburg|juegos|kaufen|kinder|kindle|kosher|lancia|latino|lawyer|lefrak|living|locker|london|luxury|madrid|maison|makeup|market|mattel|mobile|monash|mormon|moscow|museum|mutual|nagoya|natura|nissan|nissay|norton|nowruz|office|olayan|online|oracle|orange|otsuka|pfizer|photos|physio|pictet|quebec|racing|realty|reisen|repair|report|review|rocher|rogers|ryukyu|safety|sakura|sanofi|school|schule|search|secure|select|shouji|soccer|social|stream|studio|supply|suzuki|swatch|sydney|taipei|taobao|target|tattoo|tennis|tienda|tjmaxx|tkmaxx|toyota|travel|unicom|viajes|viking|villas|virgin|vision|voting|voyage|vuelos|walter|webcam|xihuan|yachts|yandex|zappos|москва|онлайн|ابوظبي|ارامكو|الاردن|المغرب|امارات|فلسطين|مليسيا|भारतम्|இலங்கை|ファッション|actor|adult|aetna|amfam|amica|apple|archi|audio|autos|azure|baidu|beats|bible|bingo|black|boats|bosch|build|canon|cards|chase|cheap|cisco|citic|click|cloud|coach|codes|crown|cymru|dabur|dance|deals|delta|drive|dubai|earth|edeka|email|epson|faith|fedex|final|forex|forum|gallo|games|gifts|gives|glass|globo|gmail|green|gripe|group|gucci|guide|homes|honda|horse|house|hyatt|ikano|irish|jetzt|koeln|kyoto|lamer|lease|legal|lexus|lilly|linde|lipsy|loans|locus|lotte|lotto|macys|mango|media|miami|money|movie|music|nexus|nikon|ninja|nokia|nowtv|omega|osaka|paris|parts|party|phone|photo|pizza|place|poker|praxi|press|prime|promo|quest|radio|rehab|reise|ricoh|rocks|rodeo|rugby|salon|sener|seven|sharp|shell|shoes|skype|sling|smart|smile|solar|space|sport|stada|store|study|style|sucks|swiss|tatar|tires|tirol|tmall|today|tokyo|tools|toray|total|tours|trade|trust|tunes|tushu|ubank|vegas|video|vodka|volvo|wales|watch|weber|weibo|works|world|xerox|yahoo|ישראל|ایران|بازار|بھارت|سودان|سورية|همراه|भारोत|संगठन|বাংলা|భారత్|ഭാരതം|嘉里大酒店|aarp|able|adac|aero|akdn|ally|amex|arab|army|arpa|arte|asda|asia|audi|auto|baby|band|bank|bbva|beer|best|bike|bing|blog|blue|bofa|bond|book|buzz|cafe|call|camp|care|cars|casa|case|cash|cbre|cern|chat|citi|city|club|cool|coop|cyou|data|date|dclk|deal|dell|desi|diet|dish|docs|dvag|erni|fage|fail|fans|farm|fast|fiat|fido|film|fire|fish|flir|food|ford|free|fund|game|gbiz|gent|ggee|gift|gmbh|gold|golf|goog|guge|guru|hair|haus|hdfc|help|here|hgtv|host|hsbc|icbc|ieee|imdb|immo|info|itau|java|jeep|jobs|jprs|kddi|kids|kiwi|kpmg|kred|land|lego|lgbt|lidl|life|like|limo|link|live|loan|loft|love|ltda|luxe|maif|meet|meme|menu|mini|mint|mobi|moda|moto|name|navy|news|next|nico|nike|ollo|open|page|pars|pccw|pics|ping|pink|play|plus|pohl|porn|post|prod|prof|qpon|read|reit|rent|rest|rich|room|rsvp|ruhr|safe|sale|sarl|save|saxo|scot|seat|seek|sexy|shaw|shia|shop|show|silk|sina|site|skin|sncf|sohu|song|sony|spot|star|surf|talk|taxi|team|tech|teva|tiaa|tips|town|toys|tube|vana|visa|viva|vivo|vote|voto|wang|weir|wien|wiki|wine|work|xbox|yoga|zara|zero|zone|дети|сайт|بارت|بيتك|ڀارت|تونس|شبكة|عراق|عمان|موقع|भारत|ভারত|ভাৰত|ਭਾਰਤ|ભારત|ଭାରତ|ಭಾರತ|ලංකා|アマゾン|グーグル|クラウド|ポイント|组织机构|電訊盈科|香格里拉|aaa|abb|abc|aco|ads|aeg|afl|aig|anz|aol|app|art|aws|axa|bar|bbc|bbt|bcg|bcn|bet|bid|bio|biz|bms|bmw|bom|boo|bot|box|buy|bzh|cab|cal|cam|car|cat|cba|cbn|cbs|ceo|cfa|cfd|com|cpa|crs|dad|day|dds|dev|dhl|diy|dnp|dog|dot|dtv|dvr|eat|eco|edu|esq|eus|fan|fit|fly|foo|fox|frl|ftr|fun|fyi|gal|gap|gay|gdn|gea|gle|gmo|gmx|goo|gop|got|gov|hbo|hiv|hkt|hot|how|ibm|ice|icu|ifm|inc|ing|ink|int|ist|itv|jcb|jio|jll|jmp|jnj|jot|joy|kfh|kia|kim|kpn|krd|lat|law|lds|llc|llp|lol|lpl|ltd|man|map|mba|med|men|mil|mit|mlb|mls|mma|moe|moi|mom|mov|msd|mtn|mtr|nab|nba|nec|net|new|nfl|ngo|nhk|now|nra|nrw|ntt|nyc|obi|one|ong|onl|ooo|org|ott|ovh|pay|pet|phd|pid|pin|pnc|pro|pru|pub|pwc|red|ren|ril|rio|rip|run|rwe|sap|sas|sbi|sbs|sca|scb|ses|sew|sex|sfr|ski|sky|soy|spa|srl|stc|tab|tax|tci|tdk|tel|thd|tjx|top|trv|tui|tvs|ubs|uno|uol|ups|vet|vig|vin|vip|wed|win|wme|wow|wtc|wtf|xin|xxx|xyz|you|yun|zip|бел|ком|қаз|мкд|мон|орг|рус|срб|укр|հայ|קום|عرب|قطر|كوم|مصر|कॉम|नेट|คอม|ไทย|ລາວ|ストア|セール|みんな|中文网|亚马逊|天主教|我爱你|新加坡|淡马锡|诺基亚|飞利浦|ac|ad|ae|af|ag|ai|al|am|ao|aq|ar|as|at|au|aw|ax|az|ba|bb|bd|be|bf|bg|bh|bi|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|ch|ci|ck|cl|cm|cn|co|cr|cu|cv|cw|cx|cy|cz|de|dj|dk|dm|do|dz|ec|ee|eg|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|gd|ge|gf|gg|gh|gi|gl|gm|gn|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|hr|ht|hu|id|ie|il|im|in|io|iq|ir|is|it|je|jm|jo|jp|ke|kg|kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|ma|mc|md|me|mg|mh|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|mv|mw|mx|my|mz|na|nc|ne|nf|ng|ni|nl|no|np|nr|nu|nz|om|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|ps|pt|pw|py|qa|re|ro|rs|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|ss|st|su|sv|sx|sy|sz|tc|td|tf|tg|th|tj|tk|tl|tm|tn|to|tr|tt|tv|tw|tz|ua|ug|uk|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|za|zm|zw|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,HF=new RegExp("[".concat(ma,"!#$%&'*+/=?^_`{|}~-]")),KF=new RegExp("^".concat(Jk.source,"$")),Wk=(function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.localPartCharRegex=HF,r.strictTldRegex=KF,r}return ll(e,t),e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,a=this.localPartCharRegex,o=this.strictTldRegex,u=[],c=r.length,d=new Pv,S={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},_=0,O=0,j=d;_<c;){var R=r.charAt(_);switch(O){case 0:$(R);break;case 1:L(r.charAt(_-1),R);break;case 2:q(R);break;case 3:X(R);break;case 4:D(R);break;case 5:se(R);break;case 6:te(R);break;case 7:le(R);break;default:Yw(O)}_++}return _e(),u;function $(me){me==="m"?ce(1):a.test(me)&&ce()}function L(me,ue){me===":"?a.test(ue)?(O=2,j=new Pv(fa(fa({},j),{hasMailtoPrefix:!0}))):ie():S[me]===ue||(a.test(ue)?O=2:ue==="."?O=3:ue==="@"?O=4:ie())}function q(me){me==="."?O=3:me==="@"?O=4:a.test(me)||ie()}function X(me){me==="."||me==="@"?ie():a.test(me)?O=2:ie()}function D(me){jv.test(me)?O=5:ie()}function se(me){me==="."?O=7:me==="-"?O=6:jv.test(me)||_e()}function te(me){me==="-"||me==="."?_e():jv.test(me)?O=5:_e()}function le(me){me==="."||me==="-"?_e():jv.test(me)?(O=5,j=new Pv(fa(fa({},j),{hasDomainDot:!0}))):_e()}function ce(me){me===void 0&&(me=2),O=me,j=new Pv({idx:_})}function ie(){O=0,j=d}function _e(){if(j.hasDomainDot){var me=r.slice(j.idx,_);/[-.]$/.test(me)&&(me=me.slice(0,-1));var ue=j.hasMailtoPrefix?me.slice(7):me;(function(fe){var be=fe.split(".").pop()||"",je=be.toLowerCase();return o.test(je)})(ue)&&u.push(new Fk({tagBuilder:n,matchedText:me,offset:j.idx,email:ue}))}ie()}},e})(sd),Pv=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},GF=(function(){function t(){}return t.isValid=function(e,r){return!(r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(e,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,r)&&!this.isValidIpAddress(e)||this.containsMultipleDots(e))},t.isValidIpAddress=function(e){var r=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source);return e.match(r)!==null},t.containsMultipleDots=function(e){var r=e;return this.hasFullProtocolRegex.test(e)&&(r=e.split("://")[1]),r.split("/")[0].indexOf("..")>-1},t.isValidUriScheme=function(e){var r=e.match(this.uriSchemeRegex),n=r&&r[0].toLowerCase();return n!=="javascript:"&&n!=="vbscript:"},t.urlMatchDoesNotHaveProtocolOrDot=function(e,r){return!(!e||r&&this.hasFullProtocolRegex.test(r)||e.indexOf(".")!==-1)},t.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,r){return!(!e||!r)&&!this.hasFullProtocolRegex.test(r)&&!this.hasWordCharAfterProtocolRegex.test(e)},t.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,t.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,t.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+Uk+"]"),t.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,t})(),YF=(Dk=new RegExp("[/?#](?:["+ma+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+ma+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,tE(2),")","|","(","(//)?",/(?:www\.)/.source,tE(6),")","|","(","(//)?",tE(10)+"\\.",Jk.source,"(?![-"+VF+"])",")",")","(?::[0-9]+)?","(?:"+Dk.source+")?"].join(""),"gi")),XF=new RegExp("["+ma+"]"),Hk=(function(t){function e(r){var n=t.call(this,r)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=YF,n.wordCharRegExp=XF,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return ll(e,t),e.prototype.parseMatches=function(r){for(var n,a=this.matcherRegex,o=this.stripPrefix,u=this.stripTrailingSlash,c=this.decodePercentEncoding,d=this.tagBuilder,S=[],_=function(){var j=n[0],R=n[1],$=n[4],L=n[5],q=n[9],X=n.index,D=L||q,se=r.charAt(X-1);if(!GF.isValid(j,R)||X>0&&se==="@"||X>0&&D&&O.wordCharRegExp.test(se))return"continue";if(/\?$/.test(j)&&(j=j.substr(0,j.length-1)),O.matchHasUnbalancedClosingParen(j))j=j.substr(0,j.length-1);else{var te=O.matchHasInvalidCharAfterTld(j,R);te>-1&&(j=j.substr(0,te))}var le=["http://","https://"].find((function(me){return!!R&&R.indexOf(me)!==-1}));if(le){var ce=j.indexOf(le);j=j.substr(ce),R=R.substr(ce),X+=ce}var ie=R?"scheme":$?"www":"tld",_e=!!R;S.push(new qk({tagBuilder:d,matchedText:j,offset:X,urlMatchType:ie,url:j,protocolUrlMatch:_e,protocolRelativeMatch:!!D,stripPrefix:o,stripTrailingSlash:u,decodePercentEncoding:c}))},O=this;(n=a.exec(r))!==null;)_();return S},e.prototype.matchHasUnbalancedClosingParen=function(r){var n,a=r.charAt(r.length-1);if(a===")")n="(";else if(a==="]")n="[";else{if(a!=="}")return!1;n="{"}for(var o=0,u=0,c=r.length-1;u<c;u++){var d=r.charAt(u);d===n?o++:d===a&&(o=Math.max(o-1,0))}return o===0},e.prototype.matchHasInvalidCharAfterTld=function(r,n){if(!r)return-1;var a=0;n&&(a=r.indexOf(":"),r=r.slice(a));var o=new RegExp("^((.?//)?[-."+ma+"]*[-"+ma+"]\\.[-"+ma+"]+)").exec(r);return o===null?-1:(a+=o[1].length,r=r.slice(o[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(r)?a:-1)},e})(sd),Kk=new RegExp("[_".concat(ma,"]")),Gk=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.serviceName=r.serviceName,n}return ll(e,t),e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,a=this.serviceName,o=[],u=r.length,c=0,d=-1,S=0;c<u;){var _=r.charAt(c);switch(S){case 0:O(_);break;case 1:j(_);break;case 2:R(_);break;case 3:$(_);break;default:Yw(S)}c++}return L(),o;function O(q){q==="#"?(S=2,d=c):Gm.test(q)&&(S=1)}function j(q){Gm.test(q)||(S=0)}function R(q){S=Kk.test(q)?3:Gm.test(q)?1:0}function $(q){Kk.test(q)||(L(),d=-1,S=Gm.test(q)?1:0)}function L(){if(d>-1&&c-d<=140){var q=r.slice(d,c),X=new $k({tagBuilder:n,matchedText:q,offset:d,serviceName:a,hashtag:q.slice(1)});o.push(X)}}},e})(sd),QF=["twitter","facebook","instagram","tiktok"],ZF=new RegExp("".concat(/(?:(?:(?:(\+)?\d{1,3}[-\040.]?)?\(?\d{3}\)?[-\040.]?\d{3}[-\040.]?\d{4})|(?:(\+)(?:9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)[-\040.]?(?:\d[-\040.]?){6,12}\d+))([,;]+[0-9]+#?)*/.source,"|").concat(/(0([1-9]{1}-?[1-9]\d{3}|[1-9]{2}-?\d{3}|[1-9]{2}\d{1}-?\d{2}|[1-9]{2}\d{2}-?\d{1})-?\d{4}|0[789]0-?\d{4}-?\d{4}|050-?\d{4}-?\d{4})/.source),"g"),Yk=(function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.matcherRegex=ZF,r}return ll(e,t),e.prototype.parseMatches=function(r){for(var n,a=this.matcherRegex,o=this.tagBuilder,u=[];(n=a.exec(r))!==null;){var c=n[0],d=c.replace(/[^0-9,;#]/g,""),S=!(!n[1]&&!n[2]),_=n.index==0?"":r.substr(n.index-1,1),O=r.substr(n.index+c.length,1),j=!_.match(/\d/)&&!O.match(/\d/);this.testMatch(n[3])&&this.testMatch(c)&&j&&u.push(new Bk({tagBuilder:o,matchedText:c,offset:n.index,number:d,plusSign:S}))}return u},e.prototype.testMatch=function(r){return UF.test(r)},e})(sd),e$=new RegExp("@[_".concat(ma,"]{1,50}(?![_").concat(ma,"])"),"g"),t$=new RegExp("@[_.".concat(ma,"]{1,30}(?![_").concat(ma,"])"),"g"),r$=new RegExp("@[-_.".concat(ma,"]{1,50}(?![-_").concat(ma,"])"),"g"),n$=new RegExp("@[_.".concat(ma,"]{1,23}[_").concat(ma,"](?![_").concat(ma,"])"),"g"),a$=new RegExp("[^"+ma+"]"),Xk=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.matcherRegexes={twitter:e$,instagram:t$,soundcloud:r$,tiktok:n$},n.nonWordCharRegex=a$,n.serviceName=r.serviceName,n}return ll(e,t),e.prototype.parseMatches=function(r){var n,a=this.serviceName,o=this.matcherRegexes[this.serviceName],u=this.nonWordCharRegex,c=this.tagBuilder,d=[];if(!o)return d;for(;(n=o.exec(r))!==null;){var S=n.index,_=r.charAt(S-1);if(S===0||u.test(_)){var O=n[0].replace(/\.+$/g,""),j=O.slice(1);d.push(new Lk({tagBuilder:c,matchedText:O,offset:S,serviceName:a,mention:j}))}}return d},e})(sd);function o$(t,e){for(var r=e.onOpenTag,n=e.onCloseTag,a=e.onText,o=e.onComment,u=e.onDoctype,c=new cl,d=0,S=t.length,_=0,O=0,j=c;d<S;){var R=t.charAt(d);switch(_){case 0:$(R);break;case 1:L(R);break;case 2:X(R);break;case 3:q(R);break;case 4:D(R);break;case 5:se(R);break;case 6:te(R);break;case 7:le(R);break;case 8:ce(R);break;case 9:ie(R);break;case 10:_e(R);break;case 11:me(R);break;case 12:ue(R);break;case 13:ve();break;case 14:fe(R);break;case 15:be(R);break;case 16:je(R);break;case 17:qe(R);break;case 18:pt(R);break;case 19:_t(R);break;case 20:It(R);break;default:Yw(_)}d++}function $(Ye){Ye==="<"&&or()}function L(Ye){Ye==="!"?_=13:Ye==="/"?(_=2,j=new cl(fa(fa({},j),{isClosing:!0}))):Ye==="<"?or():Zw.test(Ye)?(_=3,j=new cl(fa(fa({},j),{isOpening:!0}))):(_=0,j=c)}function q(Ye){vp.test(Ye)?(j=new cl(fa(fa({},j),{name:Ut()})),_=4):Ye==="<"?or():Ye==="/"?(j=new cl(fa(fa({},j),{name:Ut()})),_=12):Ye===">"?(j=new cl(fa(fa({},j),{name:Ut()})),ir()):Zw.test(Ye)||qF.test(Ye)||Ye===":"||Wt()}function X(Ye){Ye===">"?Wt():Zw.test(Ye)?_=3:Wt()}function D(Ye){vp.test(Ye)||(Ye==="/"?_=12:Ye===">"?ir():Ye==="<"?or():Ye==="="||eE.test(Ye)||zF.test(Ye)?Wt():_=5)}function se(Ye){vp.test(Ye)?_=6:Ye==="/"?_=12:Ye==="="?_=7:Ye===">"?ir():Ye==="<"?or():eE.test(Ye)&&Wt()}function te(Ye){vp.test(Ye)||(Ye==="/"?_=12:Ye==="="?_=7:Ye===">"?ir():Ye==="<"?or():eE.test(Ye)?Wt():_=5)}function le(Ye){vp.test(Ye)||(Ye==='"'?_=8:Ye==="'"?_=9:/[>=`]/.test(Ye)?Wt():Ye==="<"?or():_=10)}function ce(Ye){Ye==='"'&&(_=11)}function ie(Ye){Ye==="'"&&(_=11)}function _e(Ye){vp.test(Ye)?_=4:Ye===">"?ir():Ye==="<"&&or()}function me(Ye){vp.test(Ye)?_=4:Ye==="/"?_=12:Ye===">"?ir():Ye==="<"?or():(_=4,(function(){d--})())}function ue(Ye){Ye===">"?(j=new cl(fa(fa({},j),{isClosing:!0})),ir()):_=4}function ve(Ye){t.substr(d,2)==="--"?(d+=2,j=new cl(fa(fa({},j),{type:"comment"})),_=14):t.substr(d,7).toUpperCase()==="DOCTYPE"?(d+=7,j=new cl(fa(fa({},j),{type:"doctype"})),_=20):Wt()}function fe(Ye){Ye==="-"?_=15:Ye===">"?Wt():_=16}function be(Ye){Ye==="-"?_=18:Ye===">"?Wt():_=16}function je(Ye){Ye==="-"&&(_=17)}function qe(Ye){_=Ye==="-"?18:16}function pt(Ye){Ye===">"?ir():Ye==="!"?_=19:Ye==="-"||(_=16)}function _t(Ye){Ye==="-"?_=17:Ye===">"?ir():_=16}function It(Ye){Ye===">"?ir():Ye==="<"&&or()}function Wt(){_=0,j=c}function or(){_=1,j=new cl({idx:d})}function ir(){var Ye=t.slice(O,j.idx);Ye&&a(Ye,O),j.type==="comment"?o(j.idx):j.type==="doctype"?u(j.idx):(j.isOpening&&r(j.name,j.idx),j.isClosing&&n(j.name,j.idx)),Wt(),O=d+1}function Ut(){var Ye=j.idx+(j.isClosing?2:1);return t.slice(Ye,d).toLowerCase()}O<d&&(function(){var Xe=t.slice(O,d);a(Xe,O),O=d+1})()}var cl=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing},i$=(function(){function t(e){e===void 0&&(e={}),this.version=t.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(e.urls),this.email=typeof e.email=="boolean"?e.email:this.email,this.phone=typeof e.phone=="boolean"?e.phone:this.phone,this.hashtag=e.hashtag||this.hashtag,this.mention=e.mention||this.mention,this.newWindow=typeof e.newWindow=="boolean"?e.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(e.stripPrefix),this.stripTrailingSlash=typeof e.stripTrailingSlash=="boolean"?e.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=typeof e.decodePercentEncoding=="boolean"?e.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=e.sanitizeHtml||!1;var r=this.mention;if(r!==!1&&["twitter","instagram","soundcloud","tiktok"].indexOf(r)===-1)throw new Error("invalid `mention` cfg '".concat(r,"' - see docs"));var n=this.hashtag;if(n!==!1&&QF.indexOf(n)===-1)throw new Error("invalid `hashtag` cfg '".concat(n,"' - see docs"));this.truncate=this.normalizeTruncateCfg(e.truncate),this.className=e.className||this.className,this.replaceFn=e.replaceFn||this.replaceFn,this.context=e.context||this}return t.link=function(e,r){return new t(r).link(e)},t.parse=function(e,r){return new t(r).parse(e)},t.prototype.normalizeUrlsCfg=function(e){return e==null&&(e=!0),typeof e=="boolean"?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:typeof e.schemeMatches!="boolean"||e.schemeMatches,wwwMatches:typeof e.wwwMatches!="boolean"||e.wwwMatches,tldMatches:typeof e.tldMatches!="boolean"||e.tldMatches}},t.prototype.normalizeStripPrefixCfg=function(e){return e==null&&(e=!0),typeof e=="boolean"?{scheme:e,www:e}:{scheme:typeof e.scheme!="boolean"||e.scheme,www:typeof e.www!="boolean"||e.www}},t.prototype.normalizeTruncateCfg=function(e){return typeof e=="number"?{length:e,location:"end"}:(function(n,a){for(var o in a)a.hasOwnProperty(o)&&n[o]===void 0&&(n[o]=a[o]);return n})(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})},t.prototype.parse=function(e){var r=this,n=["a","style","script"],a=0,o=[];return o$(e,{onOpenTag:function(u){n.indexOf(u)>=0&&a++},onText:function(u,c){if(a===0){var d=(function(O,j){if(!j.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var R,$=[],L=0;R=j.exec(O);)$.push(O.substring(L,R.index)),$.push(R[0]),L=R.index+R[0].length;return $.push(O.substring(L)),$})(u,/( | |<|<|>|>|"|"|')/gi),S=c;d.forEach((function(_,O){if(O%2==0){var j=r.parseText(_,S);o.push.apply(o,j)}S+=_.length}))}},onCloseTag:function(u){n.indexOf(u)>=0&&(a=Math.max(a-1,0))},onComment:function(u){},onDoctype:function(u){}}),o=this.compactMatches(o),o=this.removeUnwantedMatches(o)},t.prototype.compactMatches=function(e){e.sort((function(d,S){return d.getOffset()-S.getOffset()}));for(var r=0;r<e.length-1;){var n=e[r],a=n.getOffset(),o=n.getMatchedText().length,u=a+o;if(r+1<e.length){if(e[r+1].getOffset()===a){var c=e[r+1].getMatchedText().length>o?r:r+1;e.splice(c,1);continue}if(e[r+1].getOffset()<u){e.splice(r+1,1);continue}}r++}return e},t.prototype.removeUnwantedMatches=function(e){return this.hashtag||yp(e,(function(r){return r.getType()==="hashtag"})),this.email||yp(e,(function(r){return r.getType()==="email"})),this.phone||yp(e,(function(r){return r.getType()==="phone"})),this.mention||yp(e,(function(r){return r.getType()==="mention"})),this.urls.schemeMatches||yp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"})),this.urls.wwwMatches||yp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="www"})),this.urls.tldMatches||yp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="tld"})),e},t.prototype.parseText=function(e,r){r===void 0&&(r=0),r=r||0;for(var n=this.getMatchers(),a=[],o=0,u=n.length;o<u;o++){for(var c=n[o].parseMatches(e),d=0,S=c.length;d<S;d++)c[d].setOffset(r+c[d].getOffset());a.push.apply(a,c)}return a},t.prototype.link=function(e){if(!e)return"";this.sanitizeHtml&&(e=e.replace(/</g,"<").replace(/>/g,">"));for(var r=this.parse(e),n=[],a=0,o=0,u=r.length;o<u;o++){var c=r[o];n.push(e.substring(a,c.getOffset())),n.push(this.createMatchReturnVal(c)),a=c.getOffset()+c.getMatchedText().length}return n.push(e.substring(a)),n.join("")},t.prototype.createMatchReturnVal=function(e){var r;return this.replaceFn&&(r=this.replaceFn.call(this.context,e)),typeof r=="string"?r:r===!1?e.getMatchedText():r instanceof Xw?r.toAnchorString():e.buildTag().toAnchorString()},t.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var e=this.getTagBuilder(),r=[new Gk({tagBuilder:e,serviceName:this.hashtag}),new Wk({tagBuilder:e}),new Yk({tagBuilder:e}),new Xk({tagBuilder:e,serviceName:this.mention}),new Hk({tagBuilder:e,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=r},t.prototype.getTagBuilder=function(){var e=this.tagBuilder;return e||(e=this.tagBuilder=new Rk({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),e},t.version="3.16.2",t.AnchorTagBuilder=Rk,t.HtmlTag=Xw,t.matcher={Email:Wk,Hashtag:Gk,Matcher:sd,Mention:Xk,Phone:Yk,Url:Hk},t.match={Email:Fk,Hashtag:$k,Match:id,Mention:Lk,Phone:Bk,Url:qk},t})();const s$=i$;var l$=/www|@|\:\/\//;function c$(t){return/^<a[>\s]/i.test(t)}function u$(t){return/^<\/a\s*>/i.test(t)}function p$(){var t=[],e=new s$({stripPrefix:!1,url:!0,email:!0,replaceFn:function(r){switch(r.getType()){case"url":t.push({text:r.matchedText,url:r.getUrl()});break;case"email":t.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")})}return!1}});return{links:t,autolinker:e}}function h$(t){var e,r,n,a,o,u,c,d,S,_,O,j,R,$=t.tokens,L=null;for(r=0,n=$.length;r<n;r++)if($[r].type==="inline")for(O=0,e=(a=$[r].children).length-1;e>=0;e--)if((o=a[e]).type!=="link_close"){if(o.type==="htmltag"&&(c$(o.content)&&O>0&&O--,u$(o.content)&&O++),!(O>0)&&o.type==="text"&&l$.test(o.content)){if(L||(j=(L=p$()).links,R=L.autolinker),u=o.content,j.length=0,R.link(u),!j.length)continue;for(c=[],_=o.level,d=0;d<j.length;d++)t.inline.validateLink(j[d].url)&&((S=u.indexOf(j[d].text))&&c.push({type:"text",content:u.slice(0,S),level:_}),c.push({type:"link_open",href:j[d].url,title:"",level:_++}),c.push({type:"text",content:j[d].text,level:_}),c.push({type:"link_close",level:--_}),u=u.slice(S+j[d].text.length));u.length&&c.push({type:"text",content:u,level:_}),$[r].children=a=[].concat(a.slice(0,e),c,a.slice(e+1))}}else for(e--;a[e].level!==o.level&&a[e].type!=="link_open";)e--}function d$(t){t.core.ruler.push("linkify",h$)}const{entries:Qk,setPrototypeOf:Zk,isFrozen:f$,getPrototypeOf:m$,getOwnPropertyDescriptor:g$}=Object;let{freeze:Do,seal:Vi,create:eO}=Object,{apply:rE,construct:nE}=typeof Reflect!="undefined"&&Reflect;Do||(Do=function(e){return e}),Vi||(Vi=function(e){return e}),rE||(rE=function(e,r,n){return e.apply(r,n)}),nE||(nE=function(e,r){return new e(...r)});const Tv=$o(Array.prototype.forEach),y$=$o(Array.prototype.lastIndexOf),tO=$o(Array.prototype.pop),Ym=$o(Array.prototype.push),v$=$o(Array.prototype.splice),Nv=$o(String.prototype.toLowerCase),aE=$o(String.prototype.toString),rO=$o(String.prototype.match),Xm=$o(String.prototype.replace),b$=$o(String.prototype.indexOf),w$=$o(String.prototype.trim),Cs=$o(Object.prototype.hasOwnProperty),Fo=$o(RegExp.prototype.test),Qm=(function(e){return function(){for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return nE(e,n)}})(TypeError);function $o(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return rE(t,e,n)}}function zr(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nv;Zk&&Zk(t,null);let n=e.length;for(;n--;){let a=e[n];if(typeof a=="string"){const o=r(a);o!==a&&(f$(e)||(e[n]=o),a=o)}t[a]=!0}return t}function E$(t){for(let e=0;e<t.length;e++)Cs(t,e)||(t[e]=null);return t}function Kl(t){const e=eO(null);for(const[r,n]of Qk(t))Cs(t,r)&&(Array.isArray(n)?e[r]=E$(n):n&&typeof n=="object"&&n.constructor===Object?e[r]=Kl(n):e[r]=n);return e}function Zm(t,e){for(;t!==null;){const r=g$(t,e);if(r){if(r.get)return $o(r.get);if(typeof r.value=="function")return $o(r.value)}t=m$(t)}return function(){return null}}const nO=Do(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),oE=Do(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),iE=Do(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),S$=Do(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),sE=Do(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),x$=Do(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),aO=Do(["#text"]),oO=Do(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),lE=Do(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),iO=Do(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Iv=Do(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),_$=Vi(/\{\{[\w\W]*|[\w\W]*\}\}/gm),k$=Vi(/<%[\w\W]*|[\w\W]*%>/gm),O$=Vi(/\$\{[\w\W]*/gm),A$=Vi(/^data-[\-\w.\u00B7-\uFFFF]+$/),C$=Vi(/^aria-[\-\w]+$/),sO=Vi(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j$=Vi(/^(?:\w+script|data):/i),P$=Vi(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),lO=Vi(/^html$/i),T$=Vi(/^[a-z][.\w]*(-[.\w]+)+$/i);var cO=Object.freeze({__proto__:null,ARIA_ATTR:C$,ATTR_WHITESPACE:P$,CUSTOM_ELEMENT:T$,DATA_ATTR:A$,DOCTYPE_NAME:lO,ERB_EXPR:k$,IS_ALLOWED_URI:sO,IS_SCRIPT_OR_DATA:j$,MUSTACHE_EXPR:_$,TMPLIT_EXPR:O$});const N$=1,I$=3,M$=7,R$=8,D$=9,F$=function(){return typeof window=="undefined"?null:window};var cE=(function t(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:F$();const r=mr=>t(mr);if(r.version="3.2.6",r.removed=[],!e||!e.document||e.document.nodeType!==D$||!e.Element)return r.isSupported=!1,r;let{document:n}=e;const a=n,o=a.currentScript,{DocumentFragment:u,HTMLTemplateElement:c,Node:d,Element:S,NodeFilter:_,NamedNodeMap:O=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:j,DOMParser:R,trustedTypes:$}=e,L=S.prototype,q=Zm(L,"cloneNode"),X=Zm(L,"remove"),D=Zm(L,"nextSibling"),se=Zm(L,"childNodes"),te=Zm(L,"parentNode");if(typeof c=="function"){const mr=n.createElement("template");mr.content&&mr.content.ownerDocument&&(n=mr.content.ownerDocument)}let le,ce="";const{implementation:ie,createNodeIterator:_e,createDocumentFragment:me,getElementsByTagName:ue}=n,{importNode:ve}=a;let fe={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported=typeof Qk=="function"&&typeof te=="function"&&ie&&ie.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:be,ERB_EXPR:je,TMPLIT_EXPR:qe,DATA_ATTR:pt,ARIA_ATTR:_t,IS_SCRIPT_OR_DATA:It,ATTR_WHITESPACE:Wt,CUSTOM_ELEMENT:or}=cO;let{IS_ALLOWED_URI:ir}=cO,Ut=null;const Ye=zr({},[...nO,...oE,...iE,...sE,...aO]);let Xe=null;const Mt=zr({},[...oO,...lE,...iO,...Iv]);let kt=Object.seal(eO(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Vt=null,rr=null,pr=!0,Rr=!0,xr=!1,hr=!0,pn=!1,Yr=!0,ln=!1,oa=!1,fn=!1,ga=!1,ya=!1,Un=!1,ei=!0,ti=!1,Ts=!0,Bo=!1,ri={},xi=null;const va=zr({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Wa=null;const nu=zr({},["audio","video","img","source","image","track"]);let ME=null;const GA=zr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),R0="http://www.w3.org/1998/Math/MathML",D0="http://www.w3.org/2000/svg",Yl="http://www.w3.org/1999/xhtml";let fd=Yl,RE=!1,DE=null;const LU=zr({},[R0,D0,Yl],aE);let F0=zr({},["mi","mo","mn","ms","mtext"]),$0=zr({},["annotation-xml"]);const BU=zr({},["title","style","font","a","script"]);let pg=null;const qU=["application/xhtml+xml","text/html"];let Ha=null,md=null;const UU=n.createElement("form"),YA=function(Ue){return Ue instanceof RegExp||Ue instanceof Function},FE=function(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!md||md!==Ue){if(Ue&&typeof Ue=="object"||(Ue={}),Ue=Kl(Ue),pg=qU.indexOf(Ue.PARSER_MEDIA_TYPE)===-1?"text/html":Ue.PARSER_MEDIA_TYPE,Ha=pg==="application/xhtml+xml"?aE:Nv,Ut=Cs(Ue,"ALLOWED_TAGS")?zr({},Ue.ALLOWED_TAGS,Ha):Ye,Xe=Cs(Ue,"ALLOWED_ATTR")?zr({},Ue.ALLOWED_ATTR,Ha):Mt,DE=Cs(Ue,"ALLOWED_NAMESPACES")?zr({},Ue.ALLOWED_NAMESPACES,aE):LU,ME=Cs(Ue,"ADD_URI_SAFE_ATTR")?zr(Kl(GA),Ue.ADD_URI_SAFE_ATTR,Ha):GA,Wa=Cs(Ue,"ADD_DATA_URI_TAGS")?zr(Kl(nu),Ue.ADD_DATA_URI_TAGS,Ha):nu,xi=Cs(Ue,"FORBID_CONTENTS")?zr({},Ue.FORBID_CONTENTS,Ha):va,Vt=Cs(Ue,"FORBID_TAGS")?zr({},Ue.FORBID_TAGS,Ha):Kl({}),rr=Cs(Ue,"FORBID_ATTR")?zr({},Ue.FORBID_ATTR,Ha):Kl({}),ri=!!Cs(Ue,"USE_PROFILES")&&Ue.USE_PROFILES,pr=Ue.ALLOW_ARIA_ATTR!==!1,Rr=Ue.ALLOW_DATA_ATTR!==!1,xr=Ue.ALLOW_UNKNOWN_PROTOCOLS||!1,hr=Ue.ALLOW_SELF_CLOSE_IN_ATTR!==!1,pn=Ue.SAFE_FOR_TEMPLATES||!1,Yr=Ue.SAFE_FOR_XML!==!1,ln=Ue.WHOLE_DOCUMENT||!1,ga=Ue.RETURN_DOM||!1,ya=Ue.RETURN_DOM_FRAGMENT||!1,Un=Ue.RETURN_TRUSTED_TYPE||!1,fn=Ue.FORCE_BODY||!1,ei=Ue.SANITIZE_DOM!==!1,ti=Ue.SANITIZE_NAMED_PROPS||!1,Ts=Ue.KEEP_CONTENT!==!1,Bo=Ue.IN_PLACE||!1,ir=Ue.ALLOWED_URI_REGEXP||sO,fd=Ue.NAMESPACE||Yl,F0=Ue.MATHML_TEXT_INTEGRATION_POINTS||F0,$0=Ue.HTML_INTEGRATION_POINTS||$0,kt=Ue.CUSTOM_ELEMENT_HANDLING||{},Ue.CUSTOM_ELEMENT_HANDLING&&YA(Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(kt.tagNameCheck=Ue.CUSTOM_ELEMENT_HANDLING.tagNameCheck),Ue.CUSTOM_ELEMENT_HANDLING&&YA(Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(kt.attributeNameCheck=Ue.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),Ue.CUSTOM_ELEMENT_HANDLING&&typeof Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(kt.allowCustomizedBuiltInElements=Ue.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),pn&&(Rr=!1),ya&&(ga=!0),ri&&(Ut=zr({},aO),Xe=[],ri.html===!0&&(zr(Ut,nO),zr(Xe,oO)),ri.svg===!0&&(zr(Ut,oE),zr(Xe,lE),zr(Xe,Iv)),ri.svgFilters===!0&&(zr(Ut,iE),zr(Xe,lE),zr(Xe,Iv)),ri.mathMl===!0&&(zr(Ut,sE),zr(Xe,iO),zr(Xe,Iv))),Ue.ADD_TAGS&&(Ut===Ye&&(Ut=Kl(Ut)),zr(Ut,Ue.ADD_TAGS,Ha)),Ue.ADD_ATTR&&(Xe===Mt&&(Xe=Kl(Xe)),zr(Xe,Ue.ADD_ATTR,Ha)),Ue.ADD_URI_SAFE_ATTR&&zr(ME,Ue.ADD_URI_SAFE_ATTR,Ha),Ue.FORBID_CONTENTS&&(xi===va&&(xi=Kl(xi)),zr(xi,Ue.FORBID_CONTENTS,Ha)),Ts&&(Ut["#text"]=!0),ln&&zr(Ut,["html","head","body"]),Ut.table&&(zr(Ut,["tbody"]),delete Vt.tbody),Ue.TRUSTED_TYPES_POLICY){if(typeof Ue.TRUSTED_TYPES_POLICY.createHTML!="function")throw Qm('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Ue.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Qm('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');le=Ue.TRUSTED_TYPES_POLICY,ce=le.createHTML("")}else le===void 0&&(le=(function(ur,ia){if(typeof ur!="object"||typeof ur.createPolicy!="function")return null;let jn=null;const Xr="data-tt-policy-suffix";ia&&ia.hasAttribute(Xr)&&(jn=ia.getAttribute(Xr));const Gn="dompurify"+(jn?"#"+jn:"");try{return ur.createPolicy(Gn,{createHTML:ho=>ho,createScriptURL:ho=>ho})}catch(ho){return null}})($,o)),le!==null&&typeof ce=="string"&&(ce=le.createHTML(""));Do&&Do(Ue),md=Ue}},XA=zr({},[...oE,...iE,...S$]),QA=zr({},[...sE,...x$]),pl=function(Ue){Ym(r.removed,{element:Ue});try{te(Ue).removeChild(Ue)}catch(Lt){X(Ue)}},gd=function(Ue,Lt){try{Ym(r.removed,{attribute:Lt.getAttributeNode(Ue),from:Lt})}catch(ur){Ym(r.removed,{attribute:null,from:Lt})}if(Lt.removeAttribute(Ue),Ue==="is")if(ga||ya)try{pl(Lt)}catch(ur){}else try{Lt.setAttribute(Ue,"")}catch(ur){}},ZA=function(Ue){let Lt=null,ur=null;if(fn)Ue="<remove></remove>"+Ue;else{const Xr=rO(Ue,/^[\r\n\t ]+/);ur=Xr&&Xr[0]}pg==="application/xhtml+xml"&&fd===Yl&&(Ue='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Ue+"</body></html>");const ia=le?le.createHTML(Ue):Ue;if(fd===Yl)try{Lt=new R().parseFromString(ia,pg)}catch(Xr){}if(!Lt||!Lt.documentElement){Lt=ie.createDocument(fd,"template",null);try{Lt.documentElement.innerHTML=RE?ce:ia}catch(Xr){}}const jn=Lt.body||Lt.documentElement;return Ue&&ur&&jn.insertBefore(n.createTextNode(ur),jn.childNodes[0]||null),fd===Yl?ue.call(Lt,ln?"html":"body")[0]:ln?Lt.documentElement:jn},eC=function(Ue){return _e.call(Ue.ownerDocument||Ue,Ue,_.SHOW_ELEMENT|_.SHOW_COMMENT|_.SHOW_TEXT|_.SHOW_PROCESSING_INSTRUCTION|_.SHOW_CDATA_SECTION,null)},$E=function(Ue){return Ue instanceof j&&(typeof Ue.nodeName!="string"||typeof Ue.textContent!="string"||typeof Ue.removeChild!="function"||!(Ue.attributes instanceof O)||typeof Ue.removeAttribute!="function"||typeof Ue.setAttribute!="function"||typeof Ue.namespaceURI!="string"||typeof Ue.insertBefore!="function"||typeof Ue.hasChildNodes!="function")},tC=function(Ue){return typeof d=="function"&&Ue instanceof d};function Xl(mr,Ue,Lt){Tv(mr,(ur=>{ur.call(r,Ue,Lt,md)}))}const rC=function(Ue){let Lt=null;if(Xl(fe.beforeSanitizeElements,Ue,null),$E(Ue))return pl(Ue),!0;const ur=Ha(Ue.nodeName);if(Xl(fe.uponSanitizeElement,Ue,{tagName:ur,allowedTags:Ut}),Yr&&Ue.hasChildNodes()&&!tC(Ue.firstElementChild)&&Fo(/<[/\w!]/g,Ue.innerHTML)&&Fo(/<[/\w!]/g,Ue.textContent)||Ue.nodeType===M$||Yr&&Ue.nodeType===R$&&Fo(/<[/\w]/g,Ue.data))return pl(Ue),!0;if(!Ut[ur]||Vt[ur]){if(!Vt[ur]&&aC(ur)&&(kt.tagNameCheck instanceof RegExp&&Fo(kt.tagNameCheck,ur)||kt.tagNameCheck instanceof Function&&kt.tagNameCheck(ur)))return!1;if(Ts&&!xi[ur]){const ia=te(Ue)||Ue.parentNode,jn=se(Ue)||Ue.childNodes;if(jn&&ia)for(let Xr=jn.length-1;Xr>=0;--Xr){const Gn=q(jn[Xr],!0);Gn.__removalCount=(Ue.__removalCount||0)+1,ia.insertBefore(Gn,D(Ue))}}return pl(Ue),!0}return Ue instanceof S&&!(function(jn){let Xr=te(jn);Xr&&Xr.tagName||(Xr={namespaceURI:fd,tagName:"template"});const Gn=Nv(jn.tagName),ho=Nv(Xr.tagName);return!!DE[jn.namespaceURI]&&(jn.namespaceURI===D0?Xr.namespaceURI===Yl?Gn==="svg":Xr.namespaceURI===R0?Gn==="svg"&&(ho==="annotation-xml"||F0[ho]):!!XA[Gn]:jn.namespaceURI===R0?Xr.namespaceURI===Yl?Gn==="math":Xr.namespaceURI===D0?Gn==="math"&&$0[ho]:!!QA[Gn]:jn.namespaceURI===Yl?!(Xr.namespaceURI===D0&&!$0[ho])&&!(Xr.namespaceURI===R0&&!F0[ho])&&!QA[Gn]&&(BU[Gn]||!XA[Gn]):!(pg!=="application/xhtml+xml"||!DE[jn.namespaceURI]))})(Ue)?(pl(Ue),!0):ur!=="noscript"&&ur!=="noembed"&&ur!=="noframes"||!Fo(/<\/no(script|embed|frames)/i,Ue.innerHTML)?(pn&&Ue.nodeType===I$&&(Lt=Ue.textContent,Tv([be,je,qe],(ia=>{Lt=Xm(Lt,ia," ")})),Ue.textContent!==Lt&&(Ym(r.removed,{element:Ue.cloneNode()}),Ue.textContent=Lt)),Xl(fe.afterSanitizeElements,Ue,null),!1):(pl(Ue),!0)},nC=function(Ue,Lt,ur){if(ei&&(Lt==="id"||Lt==="name")&&(ur in n||ur in UU))return!1;if(!(Rr&&!rr[Lt]&&Fo(pt,Lt))){if(!(pr&&Fo(_t,Lt))){if(!Xe[Lt]||rr[Lt]){if(!(aC(Ue)&&(kt.tagNameCheck instanceof RegExp&&Fo(kt.tagNameCheck,Ue)||kt.tagNameCheck instanceof Function&&kt.tagNameCheck(Ue))&&(kt.attributeNameCheck instanceof RegExp&&Fo(kt.attributeNameCheck,Lt)||kt.attributeNameCheck instanceof Function&&kt.attributeNameCheck(Lt))||Lt==="is"&&kt.allowCustomizedBuiltInElements&&(kt.tagNameCheck instanceof RegExp&&Fo(kt.tagNameCheck,ur)||kt.tagNameCheck instanceof Function&&kt.tagNameCheck(ur))))return!1}else if(!ME[Lt]){if(!Fo(ir,Xm(ur,Wt,""))){if((Lt!=="src"&&Lt!=="xlink:href"&&Lt!=="href"||Ue==="script"||b$(ur,"data:")!==0||!Wa[Ue])&&!(xr&&!Fo(It,Xm(ur,Wt,"")))){if(ur)return!1}}}}}return!0},aC=function(Ue){return Ue!=="annotation-xml"&&rO(Ue,or)},oC=function(Ue){Xl(fe.beforeSanitizeAttributes,Ue,null);const{attributes:Lt}=Ue;if(!Lt||$E(Ue))return;const ur={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Xe,forceKeepAttr:void 0};let ia=Lt.length;for(;ia--;){const jn=Lt[ia],{name:Xr,namespaceURI:Gn,value:ho}=jn,hg=Ha(Xr),LE=ho;let _o=Xr==="value"?LE:w$(LE);if(ur.attrName=hg,ur.attrValue=_o,ur.keepAttr=!0,ur.forceKeepAttr=void 0,Xl(fe.uponSanitizeAttribute,Ue,ur),_o=ur.attrValue,!ti||hg!=="id"&&hg!=="name"||(gd(Xr,Ue),_o="user-content-"+_o),Yr&&Fo(/((--!?|])>)|<\/(style|title)/i,_o)){gd(Xr,Ue);continue}if(ur.forceKeepAttr)continue;if(!ur.keepAttr){gd(Xr,Ue);continue}if(!hr&&Fo(/\/>/i,_o)){gd(Xr,Ue);continue}pn&&Tv([be,je,qe],(sC=>{_o=Xm(_o,sC," ")}));const iC=Ha(Ue.nodeName);if(nC(iC,hg,_o)){if(le&&typeof $=="object"&&typeof $.getAttributeType=="function"&&!Gn)switch($.getAttributeType(iC,hg)){case"TrustedHTML":_o=le.createHTML(_o);break;case"TrustedScriptURL":_o=le.createScriptURL(_o)}if(_o!==LE)try{Gn?Ue.setAttributeNS(Gn,Xr,_o):Ue.setAttribute(Xr,_o),$E(Ue)?pl(Ue):tO(r.removed)}catch(sC){gd(Xr,Ue)}}else gd(Xr,Ue)}Xl(fe.afterSanitizeAttributes,Ue,null)},zU=function mr(Ue){let Lt=null;const ur=eC(Ue);for(Xl(fe.beforeSanitizeShadowDOM,Ue,null);Lt=ur.nextNode();)Xl(fe.uponSanitizeShadowNode,Lt,null),rC(Lt),oC(Lt),Lt.content instanceof u&&mr(Lt.content);Xl(fe.afterSanitizeShadowDOM,Ue,null)};return r.sanitize=function(mr){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Lt=null,ur=null,ia=null,jn=null;if(RE=!mr,RE&&(mr="<!-->"),typeof mr!="string"&&!tC(mr)){if(typeof mr.toString!="function")throw Qm("toString is not a function");if(typeof(mr=mr.toString())!="string")throw Qm("dirty is not a string, aborting")}if(!r.isSupported)return mr;if(oa||FE(Ue),r.removed=[],typeof mr=="string"&&(Bo=!1),Bo){if(mr.nodeName){const ho=Ha(mr.nodeName);if(!Ut[ho]||Vt[ho])throw Qm("root node is forbidden and cannot be sanitized in-place")}}else if(mr instanceof d)Lt=ZA("<!---->"),ur=Lt.ownerDocument.importNode(mr,!0),ur.nodeType===N$&&ur.nodeName==="BODY"||ur.nodeName==="HTML"?Lt=ur:Lt.appendChild(ur);else{if(!ga&&!pn&&!ln&&mr.indexOf("<")===-1)return le&&Un?le.createHTML(mr):mr;if(Lt=ZA(mr),!Lt)return ga?null:Un?ce:""}Lt&&fn&&pl(Lt.firstChild);const Xr=eC(Bo?mr:Lt);for(;ia=Xr.nextNode();)rC(ia),oC(ia),ia.content instanceof u&&zU(ia.content);if(Bo)return mr;if(ga){if(ya)for(jn=me.call(Lt.ownerDocument);Lt.firstChild;)jn.appendChild(Lt.firstChild);else jn=Lt;return(Xe.shadowroot||Xe.shadowrootmode)&&(jn=ve.call(a,jn,!0)),jn}let Gn=ln?Lt.outerHTML:Lt.innerHTML;return ln&&Ut["!doctype"]&&Lt.ownerDocument&&Lt.ownerDocument.doctype&&Lt.ownerDocument.doctype.name&&Fo(lO,Lt.ownerDocument.doctype.name)&&(Gn="<!DOCTYPE "+Lt.ownerDocument.doctype.name+`>
|
||
`+Gn),pn&&Tv([be,je,qe],(ho=>{Gn=Xm(Gn,ho," ")})),le&&Un?le.createHTML(Gn):Gn},r.setConfig=function(){FE(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),oa=!0},r.clearConfig=function(){md=null,oa=!1},r.isValidAttribute=function(mr,Ue,Lt){md||FE({});const ur=Ha(mr),ia=Ha(Ue);return nC(ur,ia,Lt)},r.addHook=function(mr,Ue){typeof Ue=="function"&&Ym(fe[mr],Ue)},r.removeHook=function(mr,Ue){if(Ue!==void 0){const Lt=y$(fe[mr],Ue);return Lt===-1?void 0:v$(fe[mr],Lt,1)[0]}return tO(fe[mr])},r.removeHooks=function(mr){fe[mr]=[]},r.removeAllHooks=function(){fe={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r})();cE.addHook&&cE.addHook("beforeSanitizeElements",(function(t){return t.href&&t.setAttribute("rel","noopener noreferrer"),t}));const $$=function({source:e,className:r="",getConfigs:n=()=>({useUnsafeMarkdown:!1})}){if(typeof e!="string")return null;const a=new Hl({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(d$);a.core.ruler.disable(["replacements","smartquotes"]);const{useUnsafeMarkdown:o}=n(),u=a.render(e),c=eg(u,{useUnsafeMarkdown:o});return e&&u&&c?p.createElement("div",{className:Br()(r,"markdown"),dangerouslySetInnerHTML:{__html:c}}):null};function eg(t,{useUnsafeMarkdown:e=!1}={}){const r=e,n=e?[]:["style","class"];return e&&!eg.hasWarnedAboutDeprecation&&(eg.hasWarnedAboutDeprecation=!0),cE.sanitize(t,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}eg.hasWarnedAboutDeprecation=!1;class L$ extends p.Component{render(){const{errSelectors:e,specSelectors:r,getComponent:n}=this.props,a=n("SvgAssets"),o=n("InfoContainer",!0),u=n("VersionPragmaFilter"),c=n("operations",!0),d=n("Models",!0),S=n("Webhooks",!0),_=n("Row"),O=n("Col"),j=n("errors",!0),R=n("ServersContainer",!0),$=n("SchemesContainer",!0),L=n("AuthorizeBtnContainer",!0),q=n("FilterContainer",!0),X=r.isSwagger2(),D=r.isOAS3(),se=r.isOAS31(),te=!r.specStr(),le=r.loadingStatus();let ce=null;if(le==="loading"&&(ce=p.createElement("div",{className:"info"},p.createElement("div",{className:"loading-container"},p.createElement("div",{className:"loading"})))),le==="failed"&&(ce=p.createElement("div",{className:"info"},p.createElement("div",{className:"loading-container"},p.createElement("h4",{className:"title"},"Failed to load API definition."),p.createElement(j,null)))),le==="failedConfig"){const fe=e.lastError(),be=fe?fe.get("message"):"";ce=p.createElement("div",{className:"info failed-config"},p.createElement("div",{className:"loading-container"},p.createElement("h4",{className:"title"},"Failed to load remote configuration."),p.createElement("p",null,be)))}if(!ce&&te&&(ce=p.createElement("h4",null,"No API definition provided.")),ce)return p.createElement("div",{className:"swagger-ui"},p.createElement("div",{className:"loading-container"},ce));const ie=r.servers(),_e=r.schemes(),me=ie&&ie.size,ue=_e&&_e.size,ve=!!r.securityDefinitions();return p.createElement("div",{className:"swagger-ui"},p.createElement(a,null),p.createElement(u,{isSwagger2:X,isOAS3:D,alsoShow:p.createElement(j,null)},p.createElement(j,null),p.createElement(_,{className:"information-container"},p.createElement(O,{mobile:12},p.createElement(o,null))),me||ue||ve?p.createElement("div",{className:"scheme-container"},p.createElement(O,{className:"schemes wrapper",mobile:12},me||ue?p.createElement("div",{className:"schemes-server-container"},me?p.createElement(R,null):null,ue?p.createElement($,null):null):null,ve?p.createElement(L,null):null)):null,p.createElement(q,null),p.createElement(_,null,p.createElement(O,{mobile:12,desktop:12},p.createElement(c,null))),se&&p.createElement(_,{className:"webhooks-container"},p.createElement(O,{mobile:12,desktop:12},p.createElement(S,null))),p.createElement(_,null,p.createElement(O,{mobile:12,desktop:12},p.createElement(d,null)))))}}const B$=()=>({components:{App:H7,authorizationPopup:K7,authorizeBtn:G7,AuthorizeBtnContainer:Y7,authorizeOperationBtn:X7,auths:Q7,AuthItem:Z7,authError:eD,oauth2:oD,apiKeyAuth:tD,basicAuth:rD,clear:iD,liveResponse:cD,InitializedInput:$D,info:UD,InfoContainer:zD,InfoUrl:BD,InfoBasePath:LD,Contact:JD,License:HD,JumpToPath:KD,CopyToClipboardBtn:GD,onlineValidatorBadge:X_,operations:pD,operation:Z_,OperationSummary:tk,OperationSummaryMethod:rk,OperationSummaryPath:fD,responses:Dw,response:nk,ResponseExtension:yD,responseBody:ED,parameters:ok,parameterRow:_D,execute:kD,headers:OD,errors:AD,contentType:lk,overview:DD,footer:YD,FilterContainer:XD,ParamBody:Lw,curl:QD,Property:ZD,TryItOutButton:fk,Markdown:$$,BaseLayout:L$,VersionPragmaFilter:mk,VersionStamp:eF,OperationExt:mD,OperationExtRow:gD,ParameterExt:SD,ParameterIncludeEmpty:ik,OperationTag:Q_,OperationContainer:ek,OpenAPIVersion:tF,DeepLink:rF,SvgAssets:nF,Example:nD,ExamplesSelect:G_,ExamplesSelectValueRetainer:Y_}}),q$=()=>({components:Ge({},Le)}),uO=()=>[os,p_,Mu,A_,C_,i,Cu,Pu,us,Dl,ff,B$,q$,u_,hc,j_,Cd,Pl,Ru,wa,z_,V_,K_()],U$=(0,Y.Map)();function tg(t){return(e,r)=>(...n)=>{if(r.getSystem().specSelectors.isOAS3()){const a=t(...n);return typeof a=="function"?a(r):a}return e(...n)}}const rg=tg(Go()(null)),z$=tg(((t,e)=>r=>r.getSystem().specSelectors.findSchema(e))),V$=tg((()=>t=>{const e=t.getSystem().specSelectors.specJson().getIn(["components","schemas"]);return Y.Map.isMap(e)?e:U$})),J$=tg((()=>t=>t.getSystem().specSelectors.specJson().hasIn(["servers",0]))),W$=tg(lr(to,(t=>t.getIn(["components","securitySchemes"])||null))),H$=(t,e)=>(r,...n)=>e.specSelectors.isOAS3()?e.oas3Selectors.validOperationMethods():t(...n),K$=rg,G$=rg,Y$=rg,X$=rg,Q$=rg,Z$=(function(e){return(r,n)=>(...a)=>{if(n.getSystem().specSelectors.isOAS3()){let o=n.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return e(n,o,...a)}return r(...a)}})(lr((t=>t),(({specSelectors:t})=>t.securityDefinitions()),((t,e)=>{let r=(0,Y.List)();return e&&e.entrySeq().forEach((([n,a])=>{const o=a==null?void 0:a.get("type");if(o==="oauth2"&&a.get("flows").entrySeq().forEach((([u,c])=>{let d=(0,Y.fromJS)({flow:u,authorizationUrl:c.get("authorizationUrl"),tokenUrl:c.get("tokenUrl"),scopes:c.get("scopes"),type:a.get("type"),description:a.get("description")});r=r.push(new Y.Map({[n]:d.filter((S=>S!==void 0))}))})),o!=="http"&&o!=="apiKey"||(r=r.push(new Y.Map({[n]:a}))),o==="openIdConnect"&&a.get("openIdConnectData")){let u=a.get("openIdConnectData");(u.get("grant_types_supported")||["authorization_code","implicit"]).forEach((c=>{let d=u.get("scopes_supported")&&u.get("scopes_supported").reduce(((_,O)=>_.set(O,"")),new Y.Map),S=(0,Y.fromJS)({flow:c,authorizationUrl:u.get("authorization_endpoint"),tokenUrl:u.get("token_endpoint"),scopes:d,type:"oauth2",openIdConnectUrl:a.get("openIdConnectUrl")});r=r.push(new Y.Map({[n]:S.filter((_=>_!==void 0))}))}))}})),r})));function ng(t){return(e,r)=>n=>{var a;return typeof((a=r.specSelectors)==null?void 0:a.isOAS3)=="function"?r.specSelectors.isOAS3()?p.createElement(t,Wr()({},n,r,{Ori:e})):p.createElement(e,n):null}}const eL=(0,Y.Map)(),tL=()=>t=>(function(r){const n=r.get("swagger");return typeof n=="string"&&n==="2.0"})(t.getSystem().specSelectors.specJson()),rL=()=>t=>(function(r){const n=r.get("openapi");return typeof n=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(n)})(t.getSystem().specSelectors.specJson()),nL=()=>t=>t.getSystem().specSelectors.isOAS30();function pO(t){return(e,...r)=>n=>{if(n.specSelectors.isOAS3()){const a=t(e,...r);return typeof a=="function"?a(n):a}return null}}const aL=pO((()=>t=>t.specSelectors.specJson().get("servers",eL))),oL=(t,e)=>{const r=t.getIn(["resolvedSubtrees","components","schemas",e],null),n=t.getIn(["json","components","schemas",e],null);return r||n||null},iL=pO(((t,{callbacks:e,specPath:r})=>n=>{const a=n.specSelectors.validOperationMethods();return Y.Map.isMap(e)?e.reduce(((o,u,c)=>{if(!Y.Map.isMap(u))return o;const d=u.reduce(((S,_,O)=>{if(!Y.Map.isMap(_))return S;const j=_.entrySeq().filter((([R])=>a.includes(R))).map((([R,$])=>({operation:(0,Y.Map)({operation:$}),method:R,path:O,callbackName:c,specPath:r.concat([c,O,R])})));return S.concat(j)}),(0,Y.List)());return o.concat(d)}),(0,Y.List)()).groupBy((o=>o.callbackName)).map((o=>o.toArray())).toObject():{}})),sL=({callbacks:t,specPath:e,specSelectors:r,getComponent:n})=>{const a=r.callbacksOperations({callbacks:t,specPath:e}),o=Object.keys(a),u=n("OperationContainer",!0);return o.length===0?p.createElement("span",null,"No callbacks"):p.createElement("div",null,o.map((c=>p.createElement("div",{key:`${c}`},p.createElement("h2",null,c),a[c].map((d=>p.createElement(u,{key:`${c}-${d.path}-${d.method}`,op:d.operation,tag:"callbacks",method:d.method,path:d.path,specPath:d.specPath,allowTryItOut:!1})))))))},Mv=(t,e,r,n)=>{var S;const a=(S=t.getIn(["content",e]))!=null?S:(0,Y.OrderedMap)(),o=a.get("schema",(0,Y.OrderedMap)()).toJS(),u=a.get("examples")!==void 0,c=a.get("example"),d=u?a.getIn(["examples",r,"value"]):c;return Gr(n.getSampleSchema(o,e,{includeWriteOnly:!0},d))},lL=({userHasEditedBody:t,requestBody:e,requestBodyValue:r,requestBodyInclusionSetting:n,requestBodyErrors:a,getComponent:o,getConfigs:u,specSelectors:c,fn:d,contentType:S,isExecute:_,specPath:O,onChange:j,onChangeIncludeEmpty:R,activeExamplesKey:$,updateActiveExamplesKey:L,setRetainRequestBodyValueFlag:q})=>{var or,ir,Ut;const X=Ye=>{j(Ye.target.files[0])},D=Ye=>{let Xe={key:Ye,shouldDispatchInit:!1,defaultValue:!0};return n.get(Ye,"no value")==="no value"&&(Xe.shouldDispatchInit=!0),Xe},se=o("Markdown",!0),te=o("modelExample"),le=o("RequestBodyEditor"),ce=o("HighlightCode",!0),ie=o("ExamplesSelectValueRetainer"),_e=o("Example"),me=o("ParameterIncludeEmpty"),{showCommonExtensions:ue}=u(),ve=(or=e==null?void 0:e.get("description"))!=null?or:null,fe=(ir=e==null?void 0:e.get("content"))!=null?ir:new Y.OrderedMap;S=S||fe.keySeq().first()||"";const be=(Ut=fe.get(S))!=null?Ut:(0,Y.OrderedMap)(),je=be.get("schema",(0,Y.OrderedMap)()),qe=be.get("examples",null),pt=qe==null?void 0:qe.map(((Ye,Xe)=>{const Mt=Ye==null?void 0:Ye.get("value",null);return Mt&&(Ye=Ye.set("value",Mv(e,S,Xe,d),Mt)),Ye}));if(a=Y.List.isList(a)?a:(0,Y.List)(),d.isFileUploadIntended(be==null?void 0:be.get("schema"),S)){const Ye=o("Input");return _?p.createElement(Ye,{type:"file",onChange:X}):p.createElement("i",null,"Example values are not available for ",p.createElement("code",null,S)," media types.")}if(!be.size)return null;if(d.hasSchemaType(be.get("schema"),"object")&&(S==="application/x-www-form-urlencoded"||S.indexOf("multipart/")===0)&&je.get("properties",(0,Y.OrderedMap)()).size>0){const Ye=o("JsonSchemaForm"),Xe=o("ParameterExt"),Mt=je.get("properties",(0,Y.OrderedMap)());return r=Y.Map.isMap(r)?r:(0,Y.OrderedMap)(),p.createElement("div",{className:"table-container"},ve&&p.createElement(se,{source:ve}),p.createElement("table",null,p.createElement("tbody",null,Y.Map.isMap(Mt)&&Mt.entrySeq().map((([kt,Vt])=>{var Ts,Bo,ri,xi,va;if(Vt.get("readOnly"))return;const rr=(Bo=(Ts=Vt.get("oneOf"))==null?void 0:Ts.get(0))==null?void 0:Bo.toJS(),pr=(xi=(ri=Vt.get("anyOf"))==null?void 0:ri.get(0))==null?void 0:xi.toJS();Vt=(0,Y.fromJS)(d.mergeJsonSchema(Vt.toJS(),(va=rr!=null?rr:pr)!=null?va:{}));let Rr=ue?br(Vt):null;const xr=je.get("required",(0,Y.List)()).includes(kt),hr=d.getSchemaObjectType(Vt),pn=d.getSchemaObjectTypeLabel(Vt),Yr=d.getSchemaObjectType(Vt==null?void 0:Vt.get("items")),ln=Vt.get("format"),oa=Vt.get("description"),fn=r.getIn([kt,"value"]),ga=r.getIn([kt,"errors"])||a,ya=n.get(kt)||!1;let Un=d.getSampleSchema(Vt,!1,{includeWriteOnly:!0});Un===!1&&(Un="false"),Un===0&&(Un="0"),typeof Un!="string"&&hr==="object"&&(Un=Gr(Un)),typeof Un=="string"&&hr==="array"&&(Un=JSON.parse(Un));const ei=d.isFileUploadIntended(Vt),ti=p.createElement(Ye,{fn:d,dispatchInitialValue:!ei,schema:Vt,description:kt,getComponent:o,value:fn===void 0?Un:fn,required:xr,errors:ga,onChange:Wa=>{j(Wa,[kt])}});return p.createElement("tr",{key:kt,className:"parameters","data-property-name":kt},p.createElement("td",{className:"parameters-col_name"},p.createElement("div",{className:xr?"parameter__name required":"parameter__name"},kt,xr?p.createElement("span",null," *"):null),p.createElement("div",{className:"parameter__type"},pn,ln&&p.createElement("span",{className:"prop-format"},"($",ln,")"),ue&&Rr.size?Rr.entrySeq().map((([Wa,nu])=>p.createElement(Xe,{key:`${Wa}-${nu}`,xKey:Wa,xVal:nu}))):null),p.createElement("div",{className:"parameter__deprecated"},Vt.get("deprecated")?"deprecated":null)),p.createElement("td",{className:"parameters-col_description"},p.createElement(se,{source:oa}),_?p.createElement("div",null,hr==="object"||Yr==="object"?p.createElement(te,{getComponent:o,specPath:O.push("schema"),getConfigs:u,isExecute:_,specSelectors:c,schema:Vt,example:ti}):ti,xr?null:p.createElement(me,{onChange:Wa=>R(kt,Wa),isIncluded:ya,isIncludedOptions:D(kt),isDisabled:Array.isArray(fn)?fn.length!==0:!Ba(fn)})):null))})))))}const _t=Mv(e,S,$,d);let It=null;xv(_t)&&(It="json");const Wt=_?p.createElement(le,{value:r,errors:a,defaultValue:_t,onChange:j,getComponent:o}):p.createElement(ce,{className:"body-param__example",language:It},Gr(r)||_t);return p.createElement("div",null,ve&&p.createElement(se,{source:ve}),pt?p.createElement(ie,{userHasEditedBody:t,examples:pt,currentKey:$,currentUserInputValue:r,onSelect:Ye=>{L(Ye)},updateValue:j,defaultToFirstExample:!0,getComponent:o,setRetainRequestBodyValueFlag:q}):null,p.createElement(te,{getComponent:o,getConfigs:u,specSelectors:c,expandDepth:1,isExecute:_,schema:be.get("schema"),specPath:O.push("content",S,"schema"),example:Wt,includeWriteOnly:!0}),pt?p.createElement(_e,{example:pt.get($),getComponent:o,getConfigs:u}):null)};class cL extends p.Component{render(){const{link:e,name:r,getComponent:n}=this.props,a=n("Markdown",!0);let o=e.get("operationId")||e.get("operationRef"),u=e.get("parameters")&&e.get("parameters").toJS(),c=e.get("description");return p.createElement("div",{className:"operation-link"},p.createElement("div",{className:"description"},p.createElement("b",null,p.createElement("code",null,r)),c?p.createElement(a,{source:c}):null),p.createElement("pre",null,"Operation `",o,"`",p.createElement("br",null),p.createElement("br",null),"Parameters ",(function(S,_){return typeof _!="string"?"":_.split(`
|
||
`).map(((O,j)=>j>0?Array(S+1).join(" ")+O:O)).join(`
|
||
`)})(0,JSON.stringify(u,null,2))||"{}",p.createElement("br",null)))}}const uL=cL,pL=({servers:t,currentServer:e,setSelectedServer:r,setServerVariableValue:n,getServerVariable:a,getEffectiveServerValue:o})=>{const u=(t.find((_=>_.get("url")===e))||(0,Y.OrderedMap)()).get("variables")||(0,Y.OrderedMap)(),c=u.size!==0;(0,p.useEffect)((()=>{var _;e||r((_=t.first())==null?void 0:_.get("url"))}),[]),(0,p.useEffect)((()=>{const _=t.find((O=>O.get("url")===e));if(!_)return void r(t.first().get("url"));(_.get("variables")||(0,Y.OrderedMap)()).map(((O,j)=>{n({server:e,key:j,val:O.get("default")||""})}))}),[e,t]);const d=(0,p.useCallback)((_=>{r(_.target.value)}),[r]),S=(0,p.useCallback)((_=>{const O=_.target.getAttribute("data-variable"),j=_.target.value;n({server:e,key:O,val:j})}),[n,e]);return p.createElement("div",{className:"servers"},p.createElement("label",{htmlFor:"servers"},p.createElement("select",{onChange:d,value:e,id:"servers"},t.valueSeq().map((_=>p.createElement("option",{value:_.get("url"),key:_.get("url")},_.get("url"),_.get("description")&&` - ${_.get("description")}`))).toArray())),c&&p.createElement("div",null,p.createElement("div",{className:"computed-url"},"Computed URL:",p.createElement("code",null,o(e))),p.createElement("h4",null,"Server variables"),p.createElement("table",null,p.createElement("tbody",null,u.entrySeq().map((([_,O])=>p.createElement("tr",{key:_},p.createElement("td",null,_),p.createElement("td",null,O.get("enum")?p.createElement("select",{"data-variable":_,onChange:S},O.get("enum").map((j=>p.createElement("option",{selected:j===a(e,_),key:j,value:j},j)))):p.createElement("input",{type:"text",value:a(e,_)||"",onChange:S,"data-variable":_})))))))))};class hL extends p.Component{render(){const{specSelectors:e,oas3Selectors:r,oas3Actions:n,getComponent:a}=this.props,o=e.servers(),u=a("Servers");return o&&o.size?p.createElement("div",null,p.createElement("span",{className:"servers-title"},"Servers"),p.createElement(u,{servers:o,currentServer:r.selectedServer(),setSelectedServer:n.setSelectedServer,setServerVariableValue:n.setServerVariableValue,getServerVariable:r.serverVariableValue,getEffectiveServerValue:r.serverEffectiveValue})):null}}const dL=Function.prototype;class hO extends p.PureComponent{constructor(r,n){super(r,n);Ee(this,"applyDefaultValue",r=>{const{onChange:n,defaultValue:a}=r||this.props;return this.setState({value:a}),n(a)});Ee(this,"onChange",r=>{this.props.onChange(Gr(r))});Ee(this,"onDomChange",r=>{const n=r.target.value;this.setState({value:n},(()=>this.onChange(n)))});this.state={value:Gr(r.value)||r.defaultValue},r.onChange(r.value)}UNSAFE_componentWillReceiveProps(r){this.props.value!==r.value&&r.value!==this.state.value&&this.setState({value:Gr(r.value)}),!r.value&&r.defaultValue&&this.state.value&&this.applyDefaultValue(r)}render(){let{getComponent:r,errors:n}=this.props,{value:a}=this.state,o=n.size>0;const u=r("TextArea");return p.createElement("div",{className:"body-param"},p.createElement(u,{className:Br()("body-param__text",{invalid:o}),title:n.size?n.join(", "):"",value:a,onChange:this.onDomChange}))}}Ee(hO,"defaultProps",{onChange:dL,userHasEditedBody:!1});class fL extends p.Component{constructor(r,n){super(r,n);Ee(this,"onChange",r=>{let{onChange:n}=this.props,{value:a,name:o}=r.target,u=Object.assign({},this.state.value);o?u[o]=a:u=a,this.setState({value:u},(()=>n(this.state)))});let{name:a,schema:o}=this.props,u=this.getValue();this.state={name:a,schema:o,value:u}}getValue(){let{name:r,authorized:n}=this.props;return n&&n.getIn([r,"value"])}render(){let{schema:r,getComponent:n,errSelectors:a,name:o,authSelectors:u}=this.props;const c=n("Input"),d=n("Row"),S=n("Col"),_=n("authError"),O=n("Markdown",!0),j=n("JumpToPath",!0),R=(r.get("scheme")||"").toLowerCase(),$=u.selectAuthPath(o);let L=this.getValue(),q=a.allErrors().filter((X=>X.get("authId")===o));if(R==="basic"){let X=L?L.get("username"):null;return p.createElement("div",null,p.createElement("h4",null,p.createElement("code",null,o)," (http, Basic)",p.createElement(j,{path:$})),X&&p.createElement("h6",null,"Authorized"),p.createElement(d,null,p.createElement(O,{source:r.get("description")})),p.createElement(d,null,p.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),X?p.createElement("code",null," ",X," "):p.createElement(S,null,p.createElement(c,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),p.createElement(d,null,p.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),X?p.createElement("code",null," ****** "):p.createElement(S,null,p.createElement(c,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),q.valueSeq().map(((D,se)=>p.createElement(_,{error:D,key:se}))))}return R==="bearer"?p.createElement("div",null,p.createElement("h4",null,p.createElement("code",null,o)," (http, Bearer)",p.createElement(j,{path:$})),L&&p.createElement("h6",null,"Authorized"),p.createElement(d,null,p.createElement(O,{source:r.get("description")})),p.createElement(d,null,p.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),L?p.createElement("code",null," ****** "):p.createElement(S,null,p.createElement(c,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),q.valueSeq().map(((X,D)=>p.createElement(_,{error:X,key:D})))):p.createElement("div",null,p.createElement("em",null,p.createElement("b",null,o)," HTTP authentication: unsupported scheme ",`'${R}'`))}}class mL extends p.Component{constructor(){super(...arguments);Ee(this,"setSelectedServer",r=>{const{path:n,method:a}=this.props;return this.forceUpdate(),this.props.setSelectedServer(r,`${n}:${a}`)});Ee(this,"setServerVariableValue",r=>{const{path:n,method:a}=this.props;return this.forceUpdate(),this.props.setServerVariableValue(Nr(Ge({},r),{namespace:`${n}:${a}`}))});Ee(this,"getSelectedServer",()=>{const{path:r,method:n}=this.props;return this.props.getSelectedServer(`${r}:${n}`)});Ee(this,"getServerVariable",(r,n)=>{const{path:a,method:o}=this.props;return this.props.getServerVariable({namespace:`${a}:${o}`,server:r},n)});Ee(this,"getEffectiveServerValue",r=>{const{path:n,method:a}=this.props;return this.props.getEffectiveServerValue({server:r,namespace:`${n}:${a}`})})}render(){const{operationServers:r,pathServers:n,getComponent:a}=this.props;if(!r&&!n)return null;const o=a("Servers"),u=r||n,c=r?"operation":"path";return p.createElement("div",{className:"opblock-section operation-servers"},p.createElement("div",{className:"opblock-section-header"},p.createElement("div",{className:"tab-header"},p.createElement("h4",{className:"opblock-title"},"Servers"))),p.createElement("div",{className:"opblock-description-wrapper"},p.createElement("h4",{className:"message"},"These ",c,"-level options override the global server options."),p.createElement(o,{servers:u,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}const gL={Callbacks:sL,HttpAuth:fL,RequestBody:lL,Servers:pL,ServersContainer:hL,RequestBodyEditor:hO,OperationServers:mL,operationLink:uL},uE=new Hl("commonmark");uE.block.ruler.enable(["table"]),uE.set({linkTarget:"_blank"});const yL=ng((({source:t,className:e="",getConfigs:r=()=>({useUnsafeMarkdown:!1})})=>{if(typeof t!="string")return null;if(t){const{useUnsafeMarkdown:n}=r(),a=eg(uE.render(t),{useUnsafeMarkdown:n});let o;return typeof a=="string"&&(o=a.trim()),p.createElement("div",{dangerouslySetInnerHTML:{__html:o},className:Br()(e,"renderedMarkdown")})}return null})),vL=ng((r=>{var n=r,{Ori:t}=n,e=jr(n,["Ori"]);const{schema:a,getComponent:o,errSelectors:u,authorized:c,onAuthChange:d,name:S,authSelectors:_}=e,O=o("HttpAuth");return a.get("type")==="http"?p.createElement(O,{key:S,schema:a,name:S,errSelectors:u,authorized:c,getComponent:o,onChange:d,authSelectors:_}):p.createElement(t,e)})),bL=ng(X_);class wL extends p.Component{render(){let{getConfigs:e,schema:r,Ori:n}=this.props,a=["model-box"],o=null;return r.get("deprecated")===!0&&(a.push("deprecated"),o=p.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),p.createElement("div",{className:a.join(" ")},o,p.createElement(n,Wr()({},this.props,{getConfigs:e,depth:1,expandDepth:this.props.expandDepth||0})))}}const EL=ng(wL),SL=ng((r=>{var n=r,{Ori:t}=n,e=jr(n,["Ori"]);const{schema:a,getComponent:o,errors:u,onChange:c,fn:d}=e,S=d.isFileUploadIntended(a),_=o("Input");return S?p.createElement(_,{type:"file",className:u.length?"invalid":"",title:u.length?u:"",onChange:O=>{c(O.target.files[0])},disabled:t.isDisabled}):p.createElement(t,e)})),xL={Markdown:yL,AuthItem:vL,OpenAPIVersion:(function(e){return(r,n)=>a=>{var o;return typeof((o=n.specSelectors)==null?void 0:o.isOAS30)=="function"?n.specSelectors.isOAS30()?p.createElement(e,Wr()({},a,n,{Ori:r})):p.createElement(r,a):null}})((t=>{const{Ori:e}=t;return p.createElement(e,{oasVersion:"3.0"})})),JsonSchema_string:SL,model:EL,onlineValidatorBadge:bL},pE="oas3_set_servers",hE="oas3_set_request_body_value",dE="oas3_set_request_body_retain_flag",fE="oas3_set_request_body_inclusion",mE="oas3_set_active_examples_member",gE="oas3_set_request_content_type",yE="oas3_set_response_content_type",vE="oas3_set_server_variable_value",bE="oas3_set_request_body_validate_error",Rv="oas3_clear_request_body_validate_error",wE="oas3_clear_request_body_value";function _L(t,e){return{type:pE,payload:{selectedServerUrl:t,namespace:e}}}function kL({value:t,pathMethod:e}){return{type:hE,payload:{value:t,pathMethod:e}}}const OL=({value:t,pathMethod:e})=>({type:dE,payload:{value:t,pathMethod:e}});function AL({value:t,pathMethod:e,name:r}){return{type:fE,payload:{value:t,pathMethod:e,name:r}}}function CL({name:t,pathMethod:e,contextType:r,contextName:n}){return{type:mE,payload:{name:t,pathMethod:e,contextType:r,contextName:n}}}function jL({value:t,pathMethod:e}){return{type:gE,payload:{value:t,pathMethod:e}}}function PL({value:t,path:e,method:r}){return{type:yE,payload:{value:t,path:e,method:r}}}function TL({server:t,namespace:e,key:r,val:n}){return{type:vE,payload:{server:t,namespace:e,key:r,val:n}}}const NL=({path:t,method:e,validationErrors:r})=>({type:bE,payload:{path:t,method:e,validationErrors:r}}),IL=({path:t,method:e})=>({type:Rv,payload:{path:t,method:e}}),ML=({pathMethod:t})=>({type:Rv,payload:{path:t[0],method:t[1]}}),RL=({pathMethod:t})=>({type:wE,payload:{pathMethod:t}});var DL=Re(60680),FL=Re.n(DL);const Ji=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS3()){const a=t(e,...r);return typeof a=="function"?a(n):a}return null},$L=Ji(((t,e)=>{const r=e?[e,"selectedServer"]:["selectedServer"];return t.getIn(r)||""})),LL=Ji(((t,e,r)=>t.getIn(["requestData",e,r,"bodyValue"])||null)),BL=Ji(((t,e,r)=>t.getIn(["requestData",e,r,"retainBodyValue"])||!1)),qL=(t,e,r)=>n=>{const{oas3Selectors:a,specSelectors:o,fn:u}=n.getSystem();if(o.isOAS3()){const c=a.requestContentType(e,r);if(c)return Mv(o.specResolvedSubtree(["paths",e,r,"requestBody"]),c,a.activeExamplesMember(e,r,"requestBody","requestBody"),u)}return null},UL=Ji(((t,e,r)=>n=>{const{oas3Selectors:a,specSelectors:o,fn:u}=n;let c=!1;const d=a.requestContentType(e,r);let S=a.requestBodyValue(e,r);const _=o.specResolvedSubtree(["paths",e,r,"requestBody"]);if(!_)return!1;if(Y.Map.isMap(S)&&(S=Gr(S.mapEntries((O=>Y.Map.isMap(O[1])?[O[0],O[1].get("value")]:O)).toJS())),Y.List.isList(S)&&(S=Gr(S)),d){const O=Mv(_,d,a.activeExamplesMember(e,r,"requestBody","requestBody"),u);c=!!S&&S!==O}return c})),zL=Ji(((t,e,r)=>t.getIn(["requestData",e,r,"bodyInclusion"])||(0,Y.Map)())),VL=Ji(((t,e,r)=>t.getIn(["requestData",e,r,"errors"])||null)),JL=Ji(((t,e,r,n,a)=>t.getIn(["examples",e,r,n,a,"activeExample"])||null)),WL=Ji(((t,e,r)=>t.getIn(["requestData",e,r,"requestContentType"])||null)),HL=Ji(((t,e,r)=>t.getIn(["requestData",e,r,"responseContentType"])||null)),KL=Ji(((t,e,r)=>{let n;if(typeof e!="string"){const{server:a,namespace:o}=e;n=o?[o,"serverVariableValues",a,r]:["serverVariableValues",a,r]}else n=["serverVariableValues",e,r];return t.getIn(n)||null})),GL=Ji(((t,e)=>{let r;if(typeof e!="string"){const{server:n,namespace:a}=e;r=a?[a,"serverVariableValues",n]:["serverVariableValues",n]}else r=["serverVariableValues",e];return t.getIn(r)||(0,Y.OrderedMap)()})),YL=Ji(((t,e)=>{var r,n;if(typeof e!="string"){const{server:o,namespace:u}=e;n=o,r=u?t.getIn([u,"serverVariableValues",n]):t.getIn(["serverVariableValues",n])}else n=e,r=t.getIn(["serverVariableValues",n]);r=r||(0,Y.OrderedMap)();let a=n;return r.map(((o,u)=>{a=a.replace(new RegExp(`{${FL()(u)}}`,"g"),o)})),a})),XL=(function(e){return(...r)=>n=>{const a=n.getSystem().specSelectors.specJson();let o=[...r][1]||[];return!a.getIn(["paths",...o,"requestBody","required"])||e(...r)}})(((t,e)=>((r,n)=>(n=n||[],!!r.getIn(["requestData",...n,"bodyValue"])))(t,e))),QL=(t,{oas3RequiredRequestBodyContentType:e,oas3RequestContentType:r,oas3RequestBodyValue:n})=>{let a=[];if(!Y.Map.isMap(n))return a;let o=[];return Object.keys(e.requestContentType).forEach((u=>{u===r&&e.requestContentType[u].forEach((c=>{o.indexOf(c)<0&&o.push(c)}))})),o.forEach((u=>{n.getIn([u,"value"])||a.push(u)})),a},ZL=Go()(["get","put","post","delete","options","head","patch","trace"]),eB={[pE]:(t,{payload:{selectedServerUrl:e,namespace:r}})=>{const n=r?[r,"selectedServer"]:["selectedServer"];return t.setIn(n,e)},[hE]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,a]=r;if(!Y.Map.isMap(e))return t.setIn(["requestData",n,a,"bodyValue"],e);let o=t.getIn(["requestData",n,a,"bodyValue"])||(0,Y.Map)();Y.Map.isMap(o)||(o=(0,Y.Map)());let u=o;const[...c]=e.keys();return c.forEach((d=>{let S=e.getIn([d]);u.has(d)&&Y.Map.isMap(S)||(u=u.setIn([d,"value"],S))})),t.setIn(["requestData",n,a,"bodyValue"],u)},[dE]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,a]=r;return t.setIn(["requestData",n,a,"retainBodyValue"],e)},[fE]:(t,{payload:{value:e,pathMethod:r,name:n}})=>{let[a,o]=r;return t.setIn(["requestData",a,o,"bodyInclusion",n],e)},[mE]:(t,{payload:{name:e,pathMethod:r,contextType:n,contextName:a}})=>{let[o,u]=r;return t.setIn(["examples",o,u,n,a,"activeExample"],e)},[gE]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,a]=r;return t.setIn(["requestData",n,a,"requestContentType"],e)},[yE]:(t,{payload:{value:e,path:r,method:n}})=>t.setIn(["requestData",r,n,"responseContentType"],e),[vE]:(t,{payload:{server:e,namespace:r,key:n,val:a}})=>{const o=r?[r,"serverVariableValues",e,n]:["serverVariableValues",e,n];return t.setIn(o,a)},[bE]:(t,{payload:{path:e,method:r,validationErrors:n}})=>{let a=[];if(a.push("Required field is not provided"),n.missingBodyValue)return t.setIn(["requestData",e,r,"errors"],(0,Y.fromJS)(a));if(n.missingRequiredKeys&&n.missingRequiredKeys.length>0){const{missingRequiredKeys:o}=n;return t.updateIn(["requestData",e,r,"bodyValue"],(0,Y.fromJS)({}),(u=>o.reduce(((c,d)=>c.setIn([d,"errors"],(0,Y.fromJS)(a))),u)))}return t},[Rv]:(t,{payload:{path:e,method:r}})=>{const n=t.getIn(["requestData",e,r,"bodyValue"]);if(!Y.Map.isMap(n))return t.setIn(["requestData",e,r,"errors"],(0,Y.fromJS)([]));const[...a]=n.keys();return a?t.updateIn(["requestData",e,r,"bodyValue"],(0,Y.fromJS)({}),(o=>a.reduce(((u,c)=>u.setIn([c,"errors"],(0,Y.fromJS)([]))),o))):t},[wE]:(t,{payload:{pathMethod:e}})=>{let[r,n]=e;const a=t.getIn(["requestData",r,n,"bodyValue"]);return a?Y.Map.isMap(a)?t.setIn(["requestData",r,n,"bodyValue"],(0,Y.Map)()):t.setIn(["requestData",r,n,"bodyValue"],""):t}};function EE({getSystem:t}){const e=(r=>(n,a=null)=>{const{getConfigs:o,fn:u}=r(),{fileUploadMediaTypes:c}=o();if(typeof a=="string"&&c.some((_=>a.startsWith(_))))return!0;const d=Y.Map.isMap(n);if(!d&&!Mi()(n))return!1;const S=d?n.get("format"):n.format;return u.hasSchemaType(n,"string")&&["binary","byte"].includes(S)})(t);return{components:gL,wrapComponents:xL,statePlugins:{spec:{wrapSelectors:Be,selectors:Ke},auth:{wrapSelectors:$e},oas3:{actions:Ge({},st),reducers:eB,selectors:Ge({},Me)}},fn:{isFileUploadIntended:e,isFileUploadIntendedOAS30:e}}}const tB=({specSelectors:t,getComponent:e})=>{const r=t.selectWebhooksOperations();if(!r)return null;const n=Object.keys(r),a=e("OperationContainer",!0);return n.length===0?null:p.createElement("div",{className:"webhooks"},p.createElement("h2",null,"Webhooks"),n.map((o=>p.createElement("div",{key:`${o}-webhook`},r[o].map((u=>p.createElement(a,{key:`${o}-${u.method}-webhook`,op:u.operation,tag:"webhooks",method:u.method,path:o,specPath:(0,Y.List)(u.specPath),allowTryItOut:!1})))))))},rB=({getComponent:t,specSelectors:e})=>{const r=e.selectLicenseNameField(),n=e.selectLicenseUrl(),a=t("Link");return p.createElement("div",{className:"info__license"},n?p.createElement("div",{className:"info__license__url"},p.createElement(a,{target:"_blank",href:Hn(n)},r)):p.createElement("span",null,r))},nB=({getComponent:t,specSelectors:e})=>{const r=e.selectContactNameField(),n=e.selectContactUrl(),a=e.selectContactEmailField(),o=t("Link");return p.createElement("div",{className:"info__contact"},n&&p.createElement("div",null,p.createElement(o,{href:Hn(n),target:"_blank"},r," - Website")),a&&p.createElement(o,{href:Hn(`mailto:${a}`)},n?`Send email to ${r}`:`Contact ${r}`))},aB=({getComponent:t,specSelectors:e})=>{const r=e.version(),n=e.url(),a=e.basePath(),o=e.host(),u=e.selectInfoSummaryField(),c=e.selectInfoDescriptionField(),d=e.selectInfoTitleField(),S=e.selectInfoTermsOfServiceUrl(),_=e.selectExternalDocsUrl(),O=e.selectExternalDocsDescriptionField(),j=e.contact(),R=e.license(),$=t("Markdown",!0),L=t("Link"),q=t("VersionStamp"),X=t("OpenAPIVersion"),D=t("InfoUrl"),se=t("InfoBasePath"),te=t("License",!0),le=t("Contact",!0),ce=t("JsonSchemaDialect",!0);return p.createElement("div",{className:"info"},p.createElement("hgroup",{className:"main"},p.createElement("h1",{className:"title"},d,p.createElement("span",null,r&&p.createElement(q,{version:r}),p.createElement(X,{oasVersion:"3.1"}))),(o||a)&&p.createElement(se,{host:o,basePath:a}),n&&p.createElement(D,{getComponent:t,url:n})),u&&p.createElement("p",{className:"info__summary"},u),p.createElement("div",{className:"info__description description"},p.createElement($,{source:c})),S&&p.createElement("div",{className:"info__tos"},p.createElement(L,{target:"_blank",href:Hn(S)},"Terms of service")),j.size>0&&p.createElement(le,null),R.size>0&&p.createElement(te,null),_&&p.createElement(L,{className:"info__extdocs",target:"_blank",href:Hn(_)},O||_),p.createElement(ce,null))},oB=({getComponent:t,specSelectors:e})=>{const r=e.selectJsonSchemaDialectField(),n=e.selectJsonSchemaDialectDefault(),a=t("Link");return p.createElement(p.Fragment,null,r&&r===n&&p.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",p.createElement(a,{target:"_blank",href:Hn(r)},r)),r&&r!==n&&p.createElement("div",{className:"error-wrapper"},p.createElement("div",{className:"no-margin"},p.createElement("div",{className:"errors"},p.createElement("div",{className:"errors-wrapper"},p.createElement("h4",{className:"center"},"Warning"),p.createElement("p",{className:"message"},p.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",p.createElement(a,{target:"_blank",href:n},n),". Values different from the default one are currently not supported. Please either omit the field or provide it with the default value."))))))},iB=({bypass:t,isSwagger2:e,isOAS3:r,isOAS31:n,alsoShow:a,children:o})=>t?p.createElement("div",null,o):e&&(r||n)?p.createElement("div",{className:"version-pragma"},a,p.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,p.createElement("code",null,"swagger")," and ",p.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),p.createElement("p",null,"Supported version fields are ",p.createElement("code",null,'swagger: "2.0"')," and those that match ",p.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",p.createElement("code",null,"openapi: 3.1.0"),").")))):e||r||n?p.createElement("div",null,o):p.createElement("div",{className:"version-pragma"},a,p.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,"The provided definition does not specify a valid version field."),p.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",p.createElement("code",null,'swagger: "2.0"')," and those that match ",p.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",p.createElement("code",null,"openapi: 3.1.0"),").")))),sB=t=>typeof t=="string"&&t.includes("#/components/schemas/")?(e=>{const r=e.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(r)}catch(n){return r}})(t.replace(/^.*#\/components\/schemas\//,"")):null,lB=(0,p.forwardRef)((({schema:t,getComponent:e,onToggle:r=()=>{},specPath:n},a)=>{const o=e("JSONSchema202012"),u=sB(t.get("$$ref")),c=(0,p.useCallback)(((d,S)=>{r(u,S)}),[u,r]);return p.createElement(o,{name:u,schema:t.toJS(),ref:a,onExpand:c,identifier:n.toJS().join("_")})})),cB=lB,uB=({specActions:t,specSelectors:e,layoutSelectors:r,layoutActions:n,getComponent:a,getConfigs:o,fn:u})=>{const c=e.selectSchemas(),d=Object.keys(c).length>0,S=["components","schemas"],{docExpansion:_,defaultModelsExpandDepth:O}=o(),j=O>0&&_!=="none",R=r.isShown(S,j),$=a("Collapse"),L=a("JSONSchema202012"),q=a("ArrowUpIcon"),X=a("ArrowDownIcon"),{getTitle:D}=u.jsonSchema202012.useFn();(0,p.useEffect)((()=>{const ie=Object.entries(c).some((([ue])=>r.isShown([...S,ue],!1))),_e=R&&(O>1||ie),me=e.specResolvedSubtree(S)!=null;_e&&!me&&t.requestResolvedSubtree(S)}),[R,O]);const se=(0,p.useCallback)((()=>{n.show(S,!R)}),[R]),te=(0,p.useCallback)((ie=>{ie!==null&&n.readyToScroll(S,ie)}),[]),le=ie=>_e=>{_e!==null&&n.readyToScroll([...S,ie],_e)},ce=ie=>(_e,me)=>{const ue=[...S,ie];me?(e.specResolvedSubtree(ue)!=null||t.requestResolvedSubtree([...S,ie]),n.show(ue,!0)):n.show(ue,!1)};return!d||O<0?null:p.createElement("section",{className:Br()("models",{"is-open":R}),ref:te},p.createElement("h4",null,p.createElement("button",{"aria-expanded":R,className:"models-control",onClick:se},p.createElement("span",null,"Schemas"),R?p.createElement(q,null):p.createElement(X,null))),p.createElement($,{isOpened:R},Object.entries(c).map((([ie,_e])=>{const me=D(_e,{lookup:"basic"})||ie;return p.createElement(L,{key:ie,ref:le(ie),schema:_e,name:me,onExpand:ce(ie)})}))))},pB=({schema:t,getComponent:e,name:r,authSelectors:n})=>{const a=e("JumpToPath",!0),o=n.selectAuthPath(r);return p.createElement("div",null,p.createElement("h4",null,r," (mutualTLS) ",p.createElement(a,{path:o})),p.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),p.createElement("p",null,t.get("description")))};class hB extends p.Component{constructor(r,n){super(r,n);Ee(this,"onAuthChange",r=>{let{name:n}=r;this.setState({[n]:r})});Ee(this,"submitAuth",r=>{r.preventDefault();let{authActions:n}=this.props;n.authorizeWithPersistOption(this.state)});Ee(this,"logoutClick",r=>{r.preventDefault();let{authActions:n,definitions:a}=this.props,o=a.map(((u,c)=>c)).toArray();this.setState(o.reduce(((u,c)=>(u[c]="",u)),{})),n.logoutWithPersistOption(o)});Ee(this,"close",r=>{r.preventDefault();let{authActions:n}=this.props;n.showDefinitions(!1)});this.state={}}render(){let{definitions:r,getComponent:n,authSelectors:a,errSelectors:o}=this.props;const u=n("AuthItem"),c=n("oauth2",!0),d=n("Button"),S=a.authorized(),_=r.filter((($,L)=>!!S.get(L))),O=r.filter(($=>$.get("type")!=="oauth2"&&$.get("type")!=="mutualTLS")),j=r.filter(($=>$.get("type")==="oauth2")),R=r.filter(($=>$.get("type")==="mutualTLS"));return p.createElement("div",{className:"auth-container"},O.size>0&&p.createElement("form",{onSubmit:this.submitAuth},O.map((($,L)=>p.createElement(u,{key:L,schema:$,name:L,getComponent:n,onAuthChange:this.onAuthChange,authorized:S,errSelectors:o,authSelectors:a}))).toArray(),p.createElement("div",{className:"auth-btn-wrapper"},O.size===_.size?p.createElement(d,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):p.createElement(d,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),p.createElement(d,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),j.size>0?p.createElement("div",null,p.createElement("div",{className:"scope-def"},p.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),p.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),r.filter(($=>$.get("type")==="oauth2")).map((($,L)=>p.createElement("div",{key:L},p.createElement(c,{authorized:S,schema:$,name:L})))).toArray()):null,R.size>0&&p.createElement("div",null,R.map((($,L)=>p.createElement(u,{key:L,schema:$,name:L,getComponent:n,onAuthChange:this.onAuthChange,authorized:S,errSelectors:o,authSelectors:a}))).toArray()))}}const dB=hB,dO=t=>{const e=t.get("openapi");return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)},fO=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS31()){const a=t(e,...r);return typeof a=="function"?a(n):a}return null},mO=t=>(e,r)=>(n,...a)=>{if(r.getSystem().specSelectors.isOAS31()){const o=t(n,...a);return typeof o=="function"?o(e,r):o}return e(...a)},gO=t=>(e,...r)=>n=>{const a=t(e,n,...r);return typeof a=="function"?a(n):a},ul=t=>(e,r)=>n=>r.specSelectors.isOAS31()?p.createElement(t,Wr()({},n,{originalComponent:e,getSystem:r.getSystem})):p.createElement(e,n),SE=(t,e)=>{const{fn:r,specSelectors:n}=e;return Object.fromEntries(Object.entries(t).map((([a,o])=>{const u=r[a];return[a,(...c)=>n.isOAS31()?o(...c):typeof u=="function"?u(...c):void 0]})))},fB=ul((({getSystem:t})=>{const e=t().getComponent("OAS31License",!0);return p.createElement(e,null)})),mB=ul((({getSystem:t})=>{const e=t().getComponent("OAS31Contact",!0);return p.createElement(e,null)})),gB=ul((({getSystem:t})=>{const e=t().getComponent("OAS31Info",!0);return p.createElement(e,null)})),yB=(t,{includeReadOnly:e,includeWriteOnly:r})=>{if(!(t!=null&&t.properties))return{};const n=Object.entries(t.properties).filter((([,a])=>((a==null?void 0:a.readOnly)!==!0||e)&&((a==null?void 0:a.writeOnly)!==!0||r)));return Object.fromEntries(n)},yO=t=>{if(typeof t!="function")return null;const e=t();return()=>[...e,"discriminator","xml","externalDocs","example","$$ref"]},ag=ul((r=>{var n=r,{getSystem:t}=n,e=jr(n,["getSystem"]);var O;const a=t(),{getComponent:o,fn:u,getConfigs:c}=a,d=c(),S=o("OAS31Model"),_=o("withJSONSchema202012SystemContext");return(O=ag.ModelWithJSONSchemaContext)!=null||(ag.ModelWithJSONSchemaContext=_(S,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:d.defaultModelExpandDepth,includeReadOnly:e.includeReadOnly,includeWriteOnly:e.includeWriteOnly},fn:{getProperties:u.jsonSchema202012.getProperties,isExpandable:u.jsonSchema202012.isExpandable,getSchemaKeywords:yO(u.jsonSchema202012.getSchemaKeywords)}})),p.createElement(ag.ModelWithJSONSchemaContext,e)})),vB=ag,tu=ul((({getSystem:t})=>{var c;const{getComponent:e,fn:r,getConfigs:n}=t(),a=n();if(tu.ModelsWithJSONSchemaContext)return p.createElement(tu.ModelsWithJSONSchemaContext,null);const o=e("OAS31Models",!0),u=e("withJSONSchema202012SystemContext");return(c=tu.ModelsWithJSONSchemaContext)!=null||(tu.ModelsWithJSONSchemaContext=u(o,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:a.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},fn:{getProperties:r.jsonSchema202012.getProperties,isExpandable:r.jsonSchema202012.isExpandable,getSchemaKeywords:yO(r.jsonSchema202012.getSchemaKeywords)}})),p.createElement(tu.ModelsWithJSONSchemaContext,null)}));tu.ModelsWithJSONSchemaContext=null;const bB=tu,wB=(t,e)=>r=>{const n=e.specSelectors.isOAS31(),a=e.getComponent("OAS31VersionPragmaFilter");return p.createElement(a,Wr()({isOAS31:n},r))},EB=ul((r=>{var n=r,{originalComponent:t}=n,e=jr(n,["originalComponent"]);const{getComponent:a,schema:o,name:u}=e,c=a("MutualTLSAuth",!0);return o.get("type")==="mutualTLS"?p.createElement(c,{schema:o,name:u}):p.createElement(t,e)})),SB=EB,xB=ul((r=>{var n=r,{getSystem:t}=n,e=jr(n,["getSystem"]);const a=t().getComponent("OAS31Auths",!0);return p.createElement(a,e)})),xE=(0,Y.Map)(),_B=lr(((t,e)=>e.specSelectors.specJson()),dO),kB=()=>t=>{const e=t.specSelectors.specJson().get("webhooks");return Y.Map.isMap(e)?e:xE},OB=lr([(t,e)=>e.specSelectors.webhooks(),(t,e)=>e.specSelectors.validOperationMethods(),(t,e)=>e.specSelectors.specResolvedSubtree(["webhooks"])],((t,e)=>t.reduce(((r,n,a)=>{if(!Y.Map.isMap(n))return r;const o=n.entrySeq().filter((([u])=>e.includes(u))).map((([u,c])=>({operation:(0,Y.Map)({operation:c}),method:u,path:a,specPath:["webhooks",a,u]})));return r.concat(o)}),(0,Y.List)()).groupBy((r=>r.path)).map((r=>r.toArray())).toObject())),AB=()=>t=>{const e=t.specSelectors.info().get("license");return Y.Map.isMap(e)?e:xE},CB=()=>t=>t.specSelectors.license().get("name","License"),jB=()=>t=>t.specSelectors.license().get("url"),PB=lr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField()],((t,e,r)=>{if(r)return Ko(r,t,{selectedServer:e})})),TB=()=>t=>t.specSelectors.license().get("identifier"),NB=()=>t=>{const e=t.specSelectors.info().get("contact");return Y.Map.isMap(e)?e:xE},IB=()=>t=>t.specSelectors.contact().get("name","the developer"),MB=()=>t=>t.specSelectors.contact().get("email"),RB=()=>t=>t.specSelectors.contact().get("url"),DB=lr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectContactUrlField()],((t,e,r)=>{if(r)return Ko(r,t,{selectedServer:e})})),FB=()=>t=>t.specSelectors.info().get("title"),$B=()=>t=>t.specSelectors.info().get("summary"),LB=()=>t=>t.specSelectors.info().get("description"),BB=()=>t=>t.specSelectors.info().get("termsOfService"),qB=lr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectInfoTermsOfServiceField()],((t,e,r)=>{if(r)return Ko(r,t,{selectedServer:e})})),UB=()=>t=>t.specSelectors.externalDocs().get("description"),zB=()=>t=>t.specSelectors.externalDocs().get("url"),VB=lr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectExternalDocsUrlField()],((t,e,r)=>{if(r)return Ko(r,t,{selectedServer:e})})),JB=()=>t=>t.specSelectors.specJson().get("jsonSchemaDialect"),WB=()=>"https://spec.openapis.org/oas/3.1/dialect/base",HB=lr(((t,e)=>e.specSelectors.definitions()),((t,e)=>e.specSelectors.specResolvedSubtree(["components","schemas"])),((t,e)=>Y.Map.isMap(t)?Y.Map.isMap(e)?Object.entries(t.toJS()).reduce(((r,[n,a])=>{const o=e.get(n);return r[n]=(o==null?void 0:o.toJS())||a,r}),{}):t.toJS():{})),KB=(t,e)=>(r,...n)=>e.specSelectors.isOAS31()||t(...n),GB=mO((()=>(t,e)=>e.oas31Selectors.selectLicenseUrl())),YB=mO((()=>(t,e)=>{const r=e.specSelectors.securityDefinitions();let n=t();return r&&r.entrySeq().forEach((([a,o])=>{(o==null?void 0:o.get("type"))==="mutualTLS"&&(n=n.push(new Y.Map({[a]:o})))})),n})),XB=lr([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField(),(t,e)=>e.specSelectors.selectLicenseIdentifierField()],((t,e,r,n)=>r?Ko(r,t,{selectedServer:e}):n?`https://spdx.org/licenses/${n}.html`:void 0)),QB=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{hasKeyword:a}=r.jsonSchema202012.useFn(),o=n("JSONSchema202012JSONViewer");return a(t,"example")?p.createElement(o,{name:"Example",value:t.example,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"}):null},ZB=({schema:t,getSystem:e})=>{const r=(t==null?void 0:t.xml)||{},{fn:n,getComponent:a,getConfigs:o}=e(),{showExtensions:u}=o(),{useComponent:c,useIsExpanded:d,usePath:S,useLevel:_}=n.jsonSchema202012,{path:O}=S("xml"),{isExpanded:j,setExpanded:R,setCollapsed:$}=d("xml"),[L,q]=_(),X=u?Zt(r):[],D=!!(r.name||r.namespace||r.prefix||X.length>0),se=c("Accordion"),te=c("ExpandDeepButton"),le=a("OpenAPI31Extensions"),ce=a("JSONSchema202012PathContext")(),ie=a("JSONSchema202012LevelContext")(),_e=(0,p.useCallback)((()=>{j?$():R()}),[j,R,$]),me=(0,p.useCallback)(((ue,ve)=>{ve?R({deep:!0}):$({deep:!0})}),[R,$]);return Object.keys(r).length===0?null:p.createElement(ce.Provider,{value:O},p.createElement(ie.Provider,{value:q},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml","data-json-schema-level":L},D?p.createElement(p.Fragment,null,p.createElement(se,{expanded:j,onChange:_e},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),p.createElement(te,{expanded:j,onClick:me})):p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),r.attribute===!0&&p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),r.wrapped===!0&&p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!j})},j&&p.createElement(p.Fragment,null,r.name&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.name))),r.namespace&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.namespace))),r.prefix&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.prefix)))),X.length>0&&p.createElement(le,{openAPISpecObj:r,openAPIExtensions:X,getSystem:e})))))},eq=({discriminator:t})=>{const e=(t==null?void 0:t.mapping)||{};return Object.keys(e).length===0?null:Object.entries(e).map((([r,n])=>p.createElement("div",{key:`${r}-${n}`,className:"json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},r),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},n))))},tq=({schema:t,getSystem:e})=>{const r=(t==null?void 0:t.discriminator)||{},{fn:n,getComponent:a,getConfigs:o}=e(),{showExtensions:u}=o(),{useComponent:c,useIsExpanded:d,usePath:S,useLevel:_}=n.jsonSchema202012,O="discriminator",{path:j}=S(O),{isExpanded:R,setExpanded:$,setCollapsed:L}=d(O),[q,X]=_(),D=u?Zt(r):[],se=!!(r.mapping||D.length>0),te=c("Accordion"),le=c("ExpandDeepButton"),ce=a("OpenAPI31Extensions"),ie=a("JSONSchema202012PathContext")(),_e=a("JSONSchema202012LevelContext")(),me=(0,p.useCallback)((()=>{R?L():$()}),[R,$,L]),ue=(0,p.useCallback)(((ve,fe)=>{fe?$({deep:!0}):L({deep:!0})}),[$,L]);return Object.keys(r).length===0?null:p.createElement(ie.Provider,{value:j},p.createElement(_e.Provider,{value:X},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator","data-json-schema-level":q},se?p.createElement(p.Fragment,null,p.createElement(te,{expanded:R,onChange:me},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator")),p.createElement(le,{expanded:R,onClick:ue})):p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),r.propertyName&&p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},r.propertyName),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!R})},R&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement(eq,{discriminator:r})),D.length>0&&p.createElement(ce,{openAPISpecObj:r,openAPIExtensions:D,getSystem:e})))))},rq=({openAPISpecObj:t,getSystem:e,openAPIExtensions:r})=>{const{fn:n}=e(),{useComponent:a}=n.jsonSchema202012,o=a("JSONViewer");return r.map((u=>p.createElement(o,{key:u,name:u,value:t[u],className:"json-schema-2020-12-json-viewer-extension-keyword"})))},nq=({schema:t,getSystem:e})=>{const r=(t==null?void 0:t.externalDocs)||{},{fn:n,getComponent:a,getConfigs:o}=e(),{showExtensions:u}=o(),{useComponent:c,useIsExpanded:d,usePath:S,useLevel:_}=n.jsonSchema202012,O="externalDocs",{path:j}=S(O),{isExpanded:R,setExpanded:$,setCollapsed:L}=d(O),[q,X]=_(),D=u?Zt(r):[],se=!!(r.description||r.url||D.length>0),te=c("Accordion"),le=c("ExpandDeepButton"),ce=a("JSONSchema202012KeywordDescription"),ie=a("Link"),_e=a("OpenAPI31Extensions"),me=a("JSONSchema202012PathContext")(),ue=a("JSONSchema202012LevelContext")(),ve=(0,p.useCallback)((()=>{R?L():$()}),[R,$,L]),fe=(0,p.useCallback)(((be,je)=>{je?$({deep:!0}):L({deep:!0})}),[$,L]);return Object.keys(r).length===0?null:p.createElement(me.Provider,{value:j},p.createElement(ue.Provider,{value:X},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs","data-json-schema-level":q},se?p.createElement(p.Fragment,null,p.createElement(te,{expanded:R,onChange:ve},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),p.createElement(le,{expanded:R,onClick:fe})):p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!R})},R&&p.createElement(p.Fragment,null,r.description&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement(ce,{schema:r,getSystem:e})),r.url&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},p.createElement(ie,{target:"_blank",href:Hn(r.url)},r.url))))),D.length>0&&p.createElement(_e,{openAPISpecObj:r,openAPIExtensions:D,getSystem:e})))))},aq=({schema:t,getSystem:e})=>{if(!(t!=null&&t.description))return null;const{getComponent:r}=e(),n=r("Markdown");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},p.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},p.createElement(n,{source:t.description})))},oq=ul(aq),iq=ul((({schema:t,getSystem:e,originalComponent:r})=>{const{getComponent:n}=e(),a=n("JSONSchema202012KeywordDiscriminator"),o=n("JSONSchema202012KeywordXml"),u=n("JSONSchema202012KeywordExample"),c=n("JSONSchema202012KeywordExternalDocs");return p.createElement(p.Fragment,null,p.createElement(r,{schema:t}),p.createElement(a,{schema:t,getSystem:e}),p.createElement(o,{schema:t,getSystem:e}),p.createElement(c,{schema:t,getSystem:e}),p.createElement(u,{schema:t,getSystem:e}))})),sq=iq,lq=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{useComponent:a,usePath:o}=r.jsonSchema202012,{getDependentRequired:u,getProperties:c}=r.jsonSchema202012.useFn(),d=r.jsonSchema202012.useConfig(),S=Array.isArray(t==null?void 0:t.required)?t.required:[],{path:_}=o("properties"),O=a("JSONSchema"),j=n("JSONSchema202012PathContext")(),R=c(t,d);return Object.keys(R).length===0?null:p.createElement(j.Provider,{value:_},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},p.createElement("ul",null,Object.entries(R).map((([$,L])=>{const q=S.includes($),X=u($,t);return p.createElement("li",{key:$,className:Br()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":q})},p.createElement(O,{name:$,schema:L,dependentRequired:X}))})))))},cq=ul(lq),uq=function({fn:e,getSystem:r}){if(e.jsonSchema202012){const o=((u,c)=>{const{fn:d}=c();if(typeof u!="function")return null;const{hasKeyword:S}=d.jsonSchema202012;return _=>u(_)||S(_,"example")||(_==null?void 0:_.xml)||(_==null?void 0:_.discriminator)||(_==null?void 0:_.externalDocs)})(e.jsonSchema202012.isExpandable,r);Object.assign(this.fn.jsonSchema202012,{isExpandable:o,getProperties:yB})}if(typeof e.sampleFromSchema=="function"&&e.jsonSchema202012){const o=SE({sampleFromSchema:e.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:e.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:e.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:e.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:e.jsonSchema202012.memoizedCreateXMLExample,getJsonSampleSchema:e.jsonSchema202012.getJsonSampleSchema,getYamlSampleSchema:e.jsonSchema202012.getYamlSampleSchema,getXmlSampleSchema:e.jsonSchema202012.getXmlSampleSchema,getSampleSchema:e.jsonSchema202012.getSampleSchema,mergeJsonSchema:e.jsonSchema202012.mergeJsonSchema,getSchemaObjectTypeLabel:u=>e.jsonSchema202012.getType(Rn(u)),getSchemaObjectType:u=>{var c;return e.jsonSchema202012.foldType((c=Rn(u))==null?void 0:c.type)}},r());Object.assign(this.fn,o)}const n=(o=>(u,c=null)=>{const{fn:d}=o();if(d.isFileUploadIntendedOAS30(u,c))return!0;const S=Y.Map.isMap(u);if(!S&&!Mi()(u))return!1;const _=S?u.get("contentMediaType"):u.contentMediaType,O=S?u.get("contentEncoding"):u.contentEncoding;return typeof _=="string"&&_!==""||typeof O=="string"&&O!==""})(r),{isFileUploadIntended:a}=SE({isFileUploadIntended:n},r());if(this.fn.isFileUploadIntended=a,this.fn.isFileUploadIntendedOAS31=n,e.jsonSchema202012){const{hasSchemaType:o}=SE({hasSchemaType:e.jsonSchema202012.hasSchemaType},r());this.fn.hasSchemaType=o}},pq=({fn:t})=>{const e=t.createSystemSelector||gO,r=t.createOnlyOAS31Selector||fO;return{afterLoad:uq,fn:{isOAS31:dO,createSystemSelector:gO,createOnlyOAS31Selector:fO},components:{Webhooks:tB,JsonSchemaDialect:oB,MutualTLSAuth:pB,OAS31Info:aB,OAS31License:rB,OAS31Contact:nB,OAS31VersionPragmaFilter:iB,OAS31Model:cB,OAS31Models:uB,OAS31Auths:dB,JSONSchema202012KeywordExample:QB,JSONSchema202012KeywordXml:ZB,JSONSchema202012KeywordDiscriminator:tq,JSONSchema202012KeywordExternalDocs:nq,OpenAPI31Extensions:rq},wrapComponents:{InfoContainer:gB,License:fB,Contact:mB,VersionPragmaFilter:wB,Model:vB,Models:bB,AuthItem:SB,auths:xB,JSONSchema202012KeywordDescription:oq,JSONSchema202012KeywordExamples:sq,JSONSchema202012KeywordProperties:cq},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:YB}},spec:{selectors:{isOAS31:e(_B),license:AB,selectLicenseNameField:CB,selectLicenseUrlField:jB,selectLicenseIdentifierField:r(TB),selectLicenseUrl:e(PB),contact:NB,selectContactNameField:IB,selectContactEmailField:MB,selectContactUrlField:RB,selectContactUrl:e(DB),selectInfoTitleField:FB,selectInfoSummaryField:r($B),selectInfoDescriptionField:LB,selectInfoTermsOfServiceField:BB,selectInfoTermsOfServiceUrl:e(qB),selectExternalDocsDescriptionField:UB,selectExternalDocsUrlField:zB,selectExternalDocsUrl:e(VB),webhooks:r(kB),selectWebhooksOperations:r(e(OB)),selectJsonSchemaDialectField:JB,selectJsonSchemaDialectDefault:WB,selectSchemas:e(HB)},wrapSelectors:{isOAS3:KB,selectLicenseUrl:GB}},oas31:{selectors:{selectLicenseUrl:r(e(XB))}}}}},hq=Za().object,dq=Za().bool,bp=(Za().oneOfType([hq,dq]),(0,p.createContext)(null));bp.displayName="JSONSchemaContext";const Wi=(0,p.createContext)(0);Wi.displayName="JSONSchemaLevelContext";const _E=(0,p.createContext)(new Set),Qo=(0,p.createContext)([]);class Zo{}Ee(Zo,"Collapsed","collapsed"),Ee(Zo,"Expanded","expanded"),Ee(Zo,"DeeplyExpanded","deeply-expanded");const kE=()=>{const{config:t}=(0,p.useContext)(bp);return t},jt=t=>{const{components:e}=(0,p.useContext)(bp);return e[t]||null},Cn=(t=void 0)=>{const{fn:e}=(0,p.useContext)(bp);return t!==void 0?e[t]:e},vO=()=>{const[,t]=(0,p.useState)(null),{state:e}=(0,p.useContext)(bp);return{state:e,setState:r=>{r(e),t({})}}},Hi=()=>{const t=(0,p.useContext)(Wi);return[t,t+1]},Lo=t=>{const e=(0,p.useContext)(Qo),{setState:r}=vO(),n=typeof t=="string"?[...e,t]:e;return{path:n,pathMutator:(a,o={deep:!1})=>{const u=n.toString(),c=S=>{S.paths[u]=a,a===Zo.Collapsed&&Object.keys(S.paths).forEach((_=>{_.startsWith(u)&&S.paths[_]===Zo.DeeplyExpanded&&(S.paths[_]=Zo.Expanded)}))},d=S=>{Object.keys(S.paths).forEach((_=>{_.startsWith(u)&&(S.paths[_]=a)}))};o.deep?r(d):r(c)}}},js=t=>{var O;const[e]=Hi(),{defaultExpandedLevels:r}=kE(),{path:n,pathMutator:a}=Lo(t),{path:o}=Lo(),{state:u}=vO(),c=u.paths[n.toString()],d=(O=u.paths[o.toString()])!=null?O:u.paths[o.slice(0,-1).toString()],S=c!=null?c:r-e>0?Zo.Expanded:Zo.Collapsed,_=S!==Zo.Collapsed;return(0,p.useEffect)((()=>{a(d===Zo.DeeplyExpanded?Zo.DeeplyExpanded:S)}),[d]),{isExpanded:_,setExpanded:(0,p.useCallback)(((j={deep:!1})=>{a(j.deep?Zo.DeeplyExpanded:Zo.Expanded)}),[]),setCollapsed:(0,p.useCallback)(((j={deep:!1})=>{a(Zo.Collapsed,j)}),[])}},bO=(t=void 0)=>{if(t===void 0)return(0,p.useContext)(_E);const e=(0,p.useContext)(_E);return new Set([...e,t])},fq=(0,p.forwardRef)((({schema:t,name:e="",dependentRequired:r=[],onExpand:n=()=>{},identifier:a=""},o)=>{const u=Cn(),c=a||(t==null?void 0:t.$id)||e,{path:d}=Lo(c),{isExpanded:S,setExpanded:_,setCollapsed:O}=js(c),[j,R]=Hi(),$=(()=>{const[va]=Hi();return va>0})(),L=u.isExpandable(t)||r.length>0,q=(va=>bO().has(va))(t),X=bO(t),D=u.stringifyConstraints(t),se=jt("Accordion"),te=jt("Keyword$schema"),le=jt("Keyword$vocabulary"),ce=jt("Keyword$id"),ie=jt("Keyword$anchor"),_e=jt("Keyword$dynamicAnchor"),me=jt("Keyword$ref"),ue=jt("Keyword$dynamicRef"),ve=jt("Keyword$defs"),fe=jt("Keyword$comment"),be=jt("KeywordAllOf"),je=jt("KeywordAnyOf"),qe=jt("KeywordOneOf"),pt=jt("KeywordNot"),_t=jt("KeywordIf"),It=jt("KeywordThen"),Wt=jt("KeywordElse"),or=jt("KeywordDependentSchemas"),ir=jt("KeywordPrefixItems"),Ut=jt("KeywordItems"),Ye=jt("KeywordContains"),Xe=jt("KeywordProperties"),Mt=jt("KeywordPatternProperties"),kt=jt("KeywordAdditionalProperties"),Vt=jt("KeywordPropertyNames"),rr=jt("KeywordUnevaluatedItems"),pr=jt("KeywordUnevaluatedProperties"),Rr=jt("KeywordType"),xr=jt("KeywordEnum"),hr=jt("KeywordConst"),pn=jt("KeywordConstraint"),Yr=jt("KeywordDependentRequired"),ln=jt("KeywordContentSchema"),oa=jt("KeywordTitle"),fn=jt("KeywordDescription"),ga=jt("KeywordDefault"),ya=jt("KeywordDeprecated"),Un=jt("KeywordReadOnly"),ei=jt("KeywordWriteOnly"),ti=jt("KeywordExamples"),Ts=jt("ExtensionKeywords"),Bo=jt("ExpandDeepButton"),ri=(0,p.useCallback)(((va,Wa)=>{Wa?_():O(),n(va,Wa,!1)}),[n,_,O]),xi=(0,p.useCallback)(((va,Wa)=>{Wa?_({deep:!0}):O({deep:!0}),n(va,Wa,!0)}),[n,_,O]);return p.createElement(Qo.Provider,{value:d},p.createElement(Wi.Provider,{value:R},p.createElement(_E.Provider,{value:X},p.createElement("article",{ref:o,"data-json-schema-level":j,className:Br()("json-schema-2020-12",{"json-schema-2020-12--embedded":$,"json-schema-2020-12--circular":q})},p.createElement("div",{className:"json-schema-2020-12-head"},L&&!q?p.createElement(p.Fragment,null,p.createElement(se,{expanded:S,onChange:ri},p.createElement(oa,{title:e,schema:t})),p.createElement(Bo,{expanded:S,onClick:xi})):p.createElement(oa,{title:e,schema:t}),p.createElement(ya,{schema:t}),p.createElement(Un,{schema:t}),p.createElement(ei,{schema:t}),p.createElement(Rr,{schema:t,isCircular:q}),D.length>0&&D.map((va=>p.createElement(pn,{key:`${va.scope}-${va.value}`,constraint:va})))),p.createElement("div",{className:Br()("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!S})},S&&p.createElement(p.Fragment,null,p.createElement(fn,{schema:t}),!q&&L&&p.createElement(p.Fragment,null,p.createElement(Xe,{schema:t}),p.createElement(Mt,{schema:t}),p.createElement(kt,{schema:t}),p.createElement(pr,{schema:t}),p.createElement(Vt,{schema:t}),p.createElement(be,{schema:t}),p.createElement(je,{schema:t}),p.createElement(qe,{schema:t}),p.createElement(pt,{schema:t}),p.createElement(_t,{schema:t}),p.createElement(It,{schema:t}),p.createElement(Wt,{schema:t}),p.createElement(or,{schema:t}),p.createElement(ir,{schema:t}),p.createElement(Ut,{schema:t}),p.createElement(rr,{schema:t}),p.createElement(Ye,{schema:t}),p.createElement(ln,{schema:t})),p.createElement(xr,{schema:t}),p.createElement(hr,{schema:t}),p.createElement(Yr,{schema:t,dependentRequired:r}),p.createElement(ga,{schema:t}),p.createElement(ti,{schema:t}),p.createElement(te,{schema:t}),p.createElement(le,{schema:t}),p.createElement(ce,{schema:t}),p.createElement(ie,{schema:t}),p.createElement(_e,{schema:t}),p.createElement(me,{schema:t}),!q&&L&&p.createElement(ve,{schema:t}),p.createElement(ue,{schema:t}),p.createElement(fe,{schema:t}),p.createElement(Ts,{schema:t})))))))})),wO=fq,EO=({schema:t})=>t!=null&&t.$schema?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$schema)):null,SO=({schema:t})=>{const e="$vocabulary",{path:r}=Lo(e),{isExpanded:n,setExpanded:a,setCollapsed:o}=js(e),u=jt("Accordion"),c=(0,p.useCallback)((()=>{n?o():a()}),[n,a,o]);return t!=null&&t.$vocabulary?typeof t.$vocabulary!="object"?null:p.createElement(Qo.Provider,{value:r},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},p.createElement(u,{expanded:n,onChange:c},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",null,n&&Object.entries(t.$vocabulary).map((([d,S])=>p.createElement("li",{key:d,className:Br()("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!S})},p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},d))))))):null},xO=({schema:t})=>t!=null&&t.$id?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$id)):null,_O=({schema:t})=>t!=null&&t.$anchor?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$anchor)):null,kO=({schema:t})=>t!=null&&t.$dynamicAnchor?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicAnchor)):null,OO=({schema:t})=>t!=null&&t.$ref?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$ref)):null,AO=({schema:t})=>t!=null&&t.$dynamicRef?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicRef)):null,CO=({schema:t})=>{const e=(t==null?void 0:t.$defs)||{},r="$defs",{path:n}=Lo(r),{isExpanded:a,setExpanded:o,setCollapsed:u}=js(r),[c,d]=Hi(),S=jt("Accordion"),_=jt("ExpandDeepButton"),O=jt("JSONSchema"),j=(0,p.useCallback)((()=>{a?u():o()}),[a,o,u]),R=(0,p.useCallback)((($,L)=>{L?o({deep:!0}):u({deep:!0})}),[o,u]);return Object.keys(e).length===0?null:p.createElement(Qo.Provider,{value:n},p.createElement(Wi.Provider,{value:d},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs","data-json-schema-level":c},p.createElement(S,{expanded:a,onChange:j},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),p.createElement(_,{expanded:a,onClick:R}),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!a})},a&&p.createElement(p.Fragment,null,Object.entries(e).map((([$,L])=>p.createElement("li",{key:$,className:"json-schema-2020-12-property"},p.createElement(O,{name:$,schema:L})))))))))},jO=({schema:t})=>t!=null&&t.$comment?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$comment)):null,PO=({schema:t})=>{const e=(t==null?void 0:t.allOf)||[],r=Cn(),n="allOf",{path:a}=Lo(n),{isExpanded:o,setExpanded:u,setCollapsed:c}=js(n),[d,S]=Hi(),_=jt("Accordion"),O=jt("ExpandDeepButton"),j=jt("JSONSchema"),R=jt("KeywordType"),$=(0,p.useCallback)((()=>{o?c():u()}),[o,u,c]),L=(0,p.useCallback)(((q,X)=>{X?u({deep:!0}):c({deep:!0})}),[u,c]);return Array.isArray(e)&&e.length!==0?p.createElement(Qo.Provider,{value:a},p.createElement(Wi.Provider,{value:S},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf","data-json-schema-level":d},p.createElement(_,{expanded:o,onChange:$},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),p.createElement(O,{expanded:o,onClick:L}),p.createElement(R,{schema:{allOf:e}}),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&p.createElement(p.Fragment,null,e.map(((q,X)=>p.createElement("li",{key:`#${X}`,className:"json-schema-2020-12-property"},p.createElement(j,{name:`#${X} ${r.getTitle(q)}`,schema:q}))))))))):null},TO=({schema:t})=>{const e=(t==null?void 0:t.anyOf)||[],r=Cn(),n="anyOf",{path:a}=Lo(n),{isExpanded:o,setExpanded:u,setCollapsed:c}=js(n),[d,S]=Hi(),_=jt("Accordion"),O=jt("ExpandDeepButton"),j=jt("JSONSchema"),R=jt("KeywordType"),$=(0,p.useCallback)((()=>{o?c():u()}),[o,u,c]),L=(0,p.useCallback)(((q,X)=>{X?u({deep:!0}):c({deep:!0})}),[u,c]);return Array.isArray(e)&&e.length!==0?p.createElement(Qo.Provider,{value:a},p.createElement(Wi.Provider,{value:S},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf","data-json-schema-level":d},p.createElement(_,{expanded:o,onChange:$},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),p.createElement(O,{expanded:o,onClick:L}),p.createElement(R,{schema:{anyOf:e}}),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&p.createElement(p.Fragment,null,e.map(((q,X)=>p.createElement("li",{key:`#${X}`,className:"json-schema-2020-12-property"},p.createElement(j,{name:`#${X} ${r.getTitle(q)}`,schema:q}))))))))):null},NO=({schema:t})=>{const e=(t==null?void 0:t.oneOf)||[],r=Cn(),n="oneOf",{path:a}=Lo(n),{isExpanded:o,setExpanded:u,setCollapsed:c}=js(n),[d,S]=Hi(),_=jt("Accordion"),O=jt("ExpandDeepButton"),j=jt("JSONSchema"),R=jt("KeywordType"),$=(0,p.useCallback)((()=>{o?c():u()}),[o,u,c]),L=(0,p.useCallback)(((q,X)=>{X?u({deep:!0}):c({deep:!0})}),[u,c]);return Array.isArray(e)&&e.length!==0?p.createElement(Qo.Provider,{value:a},p.createElement(Wi.Provider,{value:S},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf","data-json-schema-level":d},p.createElement(_,{expanded:o,onChange:$},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),p.createElement(O,{expanded:o,onClick:L}),p.createElement(R,{schema:{oneOf:e}}),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&p.createElement(p.Fragment,null,e.map(((q,X)=>p.createElement("li",{key:`#${X}`,className:"json-schema-2020-12-property"},p.createElement(j,{name:`#${X} ${r.getTitle(q)}`,schema:q}))))))))):null},IO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"not"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},p.createElement(r,{name:n,schema:t.not,identifier:"not"}))},MO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"if"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},p.createElement(r,{name:n,schema:t.if,identifier:"if"}))},RO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"then"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},p.createElement(r,{name:n,schema:t.then,identifier:"then"}))},DO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"else"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},p.createElement(r,{name:n,schema:t.else,identifier:"else"}))},FO=({schema:t})=>{const e=(t==null?void 0:t.dependentSchemas)||[],r="dependentSchemas",{path:n}=Lo(r),{isExpanded:a,setExpanded:o,setCollapsed:u}=js(r),[c,d]=Hi(),S=jt("Accordion"),_=jt("ExpandDeepButton"),O=jt("JSONSchema"),j=(0,p.useCallback)((()=>{a?u():o()}),[a,o,u]),R=(0,p.useCallback)((($,L)=>{L?o({deep:!0}):u({deep:!0})}),[o,u]);return typeof e!="object"||Object.keys(e).length===0?null:p.createElement(Qo.Provider,{value:n},p.createElement(Wi.Provider,{value:d},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas","data-json-schema-level":c},p.createElement(S,{expanded:a,onChange:j},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),p.createElement(_,{expanded:a,onClick:R}),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!a})},a&&p.createElement(p.Fragment,null,Object.entries(e).map((([$,L])=>p.createElement("li",{key:$,className:"json-schema-2020-12-property"},p.createElement(O,{name:$,schema:L})))))))))},$O=({schema:t})=>{const e=(t==null?void 0:t.prefixItems)||[],r=Cn(),n="prefixItems",{path:a}=Lo(n),{isExpanded:o,setExpanded:u,setCollapsed:c}=js(n),[d,S]=Hi(),_=jt("Accordion"),O=jt("ExpandDeepButton"),j=jt("JSONSchema"),R=jt("KeywordType"),$=(0,p.useCallback)((()=>{o?c():u()}),[o,u,c]),L=(0,p.useCallback)(((q,X)=>{X?u({deep:!0}):c({deep:!0})}),[u,c]);return Array.isArray(e)&&e.length!==0?p.createElement(Qo.Provider,{value:a},p.createElement(Wi.Provider,{value:S},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems","data-json-schema-level":d},p.createElement(_,{expanded:o,onChange:$},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),p.createElement(O,{expanded:o,onClick:L}),p.createElement(R,{schema:{prefixItems:e}}),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&p.createElement(p.Fragment,null,e.map(((q,X)=>p.createElement("li",{key:`#${X}`,className:"json-schema-2020-12-property"},p.createElement(j,{name:`#${X} ${r.getTitle(q)}`,schema:q}))))))))):null},LO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"items"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},p.createElement(r,{name:n,schema:t.items,identifier:"items"}))},BO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"contains"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},p.createElement(r,{name:n,schema:t.contains,identifier:"contains"}))},qO=({schema:t})=>{const e=Cn(),r=(t==null?void 0:t.properties)||{},n=Array.isArray(t==null?void 0:t.required)?t.required:[],a=jt("JSONSchema"),{path:o}=Lo("properties");return Object.keys(r).length===0?null:p.createElement(Qo.Provider,{value:o},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},p.createElement("ul",null,Object.entries(r).map((([u,c])=>{const d=n.includes(u),S=e.getDependentRequired(u,t);return p.createElement("li",{key:u,className:Br()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":d})},p.createElement(a,{name:u,schema:c,dependentRequired:S}))})))))},UO=({schema:t})=>{const e=(t==null?void 0:t.patternProperties)||{},r=jt("JSONSchema"),{path:n}=Lo("patternProperties");return Object.keys(e).length===0?null:p.createElement(Qo.Provider,{value:n},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},p.createElement("ul",null,Object.entries(e).map((([a,o])=>p.createElement("li",{key:a,className:"json-schema-2020-12-property"},p.createElement(r,{name:a,schema:o})))))))},zO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"additionalProperties"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},t.additionalProperties===!0?p.createElement(p.Fragment,null,n,p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):t.additionalProperties===!1?p.createElement(p.Fragment,null,n,p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):p.createElement(r,{name:n,schema:t.additionalProperties,identifier:"additionalProperties"}))},VO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema"),n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names");return e.hasKeyword(t,"propertyNames")?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},p.createElement(r,{name:n,schema:t.propertyNames,identifier:"propertyNames"})):null},JO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"unevaluatedItems"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},p.createElement(r,{name:n,schema:t.unevaluatedItems,identifier:"unevaluatedItems"}))},WO=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"unevaluatedProperties"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},p.createElement(r,{name:n,schema:t.unevaluatedProperties,identifier:"unevaluatedProperties"}))},HO=({schema:t,isCircular:e=!1})=>{const r=Cn().getType(t),n=e?" [circular]":"";return p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},`${r}${n}`)},KO=({schema:t})=>{const e=jt("JSONViewer");return Array.isArray(t==null?void 0:t.enum)?p.createElement(e,{name:"Enum",value:t.enum,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"}):null},GO=({schema:t})=>{const e=Cn(),r=jt("JSONViewer");return e.hasKeyword(t,"const")?p.createElement(r,{name:"Const",value:t.const,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"}):null},YO=t=>typeof t=="string"?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:t,XO=t=>(e,{lookup:r="extended"}={})=>{const n=t();if((e==null?void 0:e.title)!=null)return n.upperFirst(String(e.title));if(r==="extended"){if((e==null?void 0:e.$anchor)!=null)return n.upperFirst(String(e.$anchor));if((e==null?void 0:e.$id)!=null)return String(e.$id)}return""},QO=t=>{const e=(r,n=new WeakSet)=>{const a=t();if(r==null)return"any";if(a.isBooleanJSONSchema(r))return r?"any":"never";if(typeof r!="object"||n.has(r))return"any";n.add(r);const{type:o,prefixItems:u,items:c}=r,d=()=>{if(Array.isArray(u)){const O=u.map((R=>e(R,n))),j=c?e(c,n):"any";return`array<[${O.join(", ")}], ${j}>`}return c?`array<${e(c,n)}>`:"array<any>"};if(r.not&&e(r.not)==="any")return"never";const S=(O,j)=>Array.isArray(r[O])?`(${r[O].map((R=>e(R,n))).join(j)})`:null,_=[Array.isArray(o)?o.map((O=>O==="array"?d():O)).join(" | "):o==="array"?d():["null","boolean","object","array","number","integer","string"].includes(o)?o:(()=>{if(Object.hasOwn(r,"prefixItems")||Object.hasOwn(r,"items")||Object.hasOwn(r,"contains"))return d();if(Object.hasOwn(r,"properties")||Object.hasOwn(r,"additionalProperties")||Object.hasOwn(r,"patternProperties"))return"object";if(["int32","int64"].includes(r.format))return"integer";if(["float","double"].includes(r.format))return"number";if(Object.hasOwn(r,"minimum")||Object.hasOwn(r,"maximum")||Object.hasOwn(r,"exclusiveMinimum")||Object.hasOwn(r,"exclusiveMaximum")||Object.hasOwn(r,"multipleOf"))return"number | integer";if(Object.hasOwn(r,"pattern")||Object.hasOwn(r,"format")||Object.hasOwn(r,"minLength")||Object.hasOwn(r,"maxLength")||Object.hasOwn(r,"contentEncoding")||Object.hasOwn(r,"contentMediaType"))return"string";if(r.const!==void 0){if(r.const===null)return"null";if(typeof r.const=="boolean")return"boolean";if(typeof r.const=="number")return Number.isInteger(r.const)?"integer":"number";if(typeof r.const=="string")return"string";if(Array.isArray(r.const))return"array<any>";if(typeof r.const=="object")return"object"}return null})(),S("oneOf"," | "),S("anyOf"," | "),S("allOf"," & ")].filter(Boolean).join(" | ");return n.delete(r),_||"any"};return e},ZO=t=>typeof t=="boolean",eA=(t,e)=>t!==null&&typeof t=="object"&&Object.hasOwn(t,e),tA=t=>e=>{const r=t();return(e==null?void 0:e.$schema)||(e==null?void 0:e.$vocabulary)||(e==null?void 0:e.$id)||(e==null?void 0:e.$anchor)||(e==null?void 0:e.$dynamicAnchor)||(e==null?void 0:e.$ref)||(e==null?void 0:e.$dynamicRef)||(e==null?void 0:e.$defs)||(e==null?void 0:e.$comment)||(e==null?void 0:e.allOf)||(e==null?void 0:e.anyOf)||(e==null?void 0:e.oneOf)||r.hasKeyword(e,"not")||r.hasKeyword(e,"if")||r.hasKeyword(e,"then")||r.hasKeyword(e,"else")||(e==null?void 0:e.dependentSchemas)||(e==null?void 0:e.prefixItems)||r.hasKeyword(e,"items")||r.hasKeyword(e,"contains")||(e==null?void 0:e.properties)||(e==null?void 0:e.patternProperties)||r.hasKeyword(e,"additionalProperties")||r.hasKeyword(e,"propertyNames")||r.hasKeyword(e,"unevaluatedItems")||r.hasKeyword(e,"unevaluatedProperties")||(e==null?void 0:e.description)||(e==null?void 0:e.enum)||r.hasKeyword(e,"const")||r.hasKeyword(e,"contentSchema")||r.hasKeyword(e,"default")||(e==null?void 0:e.examples)||r.getExtensionKeywords(e).length>0},rA=t=>t===null||["number","bigint","boolean"].includes(typeof t)?String(t):Array.isArray(t)?`[${t.map(rA).join(", ")}]`:JSON.stringify(t),Dv=(t,e,r)=>{const n=typeof e=="number",a=typeof r=="number";return n&&a?e===r?`${e} ${t}`:`[${e}, ${r}] ${t}`:n?`≥ ${e} ${t}`:a?`≤ ${r} ${t}`:null},mq=t=>{const e=[],r=(d=>{if(typeof(d==null?void 0:d.multipleOf)!="number"||d.multipleOf<=0||d.multipleOf===1)return null;const{multipleOf:S}=d;if(Number.isInteger(S))return`multiple of ${S}`;const _=Ql(10,S.toString().split(".")[1].length);return`multiple of ${S*_}/${_}`})(t);r!==null&&e.push({scope:"number",value:r});const n=(d=>{const S=d==null?void 0:d.minimum,_=d==null?void 0:d.maximum,O=d==null?void 0:d.exclusiveMinimum,j=d==null?void 0:d.exclusiveMaximum,R=typeof S=="number",$=typeof _=="number",L=typeof O=="number",q=typeof j=="number",X=L&&(!R||S<O),D=q&&(!$||_>j);return(R||L)&&($||q)?`${X?"(":"["}${X?O:S}, ${D?j:_}${D?")":"]"}`:R||L?`${X?">":"≥"} ${X?O:S}`:$||q?`${D?"<":"≤"} ${D?j:_}`:null})(t);n!==null&&e.push({scope:"number",value:n}),t!=null&&t.format&&e.push({scope:"string",value:t.format});const a=Dv("characters",t==null?void 0:t.minLength,t==null?void 0:t.maxLength);a!==null&&e.push({scope:"string",value:a}),t!=null&&t.pattern&&e.push({scope:"string",value:`matches ${t==null?void 0:t.pattern}`}),t!=null&&t.contentMediaType&&e.push({scope:"string",value:`media type: ${t.contentMediaType}`}),t!=null&&t.contentEncoding&&e.push({scope:"string",value:`encoding: ${t.contentEncoding}`});const o=Dv(t!=null&&t.uniqueItems?"unique items":"items",t==null?void 0:t.minItems,t==null?void 0:t.maxItems);o!==null&&e.push({scope:"array",value:o}),t!=null&&t.uniqueItems&&!o&&e.push({scope:"array",value:"unique"});const u=Dv("contained items",t==null?void 0:t.minContains,t==null?void 0:t.maxContains);u!==null&&e.push({scope:"array",value:u});const c=Dv("properties",t==null?void 0:t.minProperties,t==null?void 0:t.maxProperties);return c!==null&&e.push({scope:"object",value:c}),e},gq=(t,e)=>e!=null&&e.dependentRequired?Array.from(Object.entries(e.dependentRequired).reduce(((r,[n,a])=>(Array.isArray(a)&&a.includes(t)&&r.add(n),r)),new Set)):[],Fv=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)&&(Object.getPrototypeOf(t)===null||Object.getPrototypeOf(t)===Object.prototype),nA=()=>["$schema","$vocabulary","$id","$anchor","$dynamicAnchor","$dynamicRef","$ref","$defs","$comment","allOf","anyOf","oneOf","not","if","then","else","dependentSchemas","prefixItems","items","contains","properties","patternProperties","additionalProperties","propertyNames","unevaluatedItems","unevaluatedProperties","type","enum","const","multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","maxContains","minContains","maxProperties","minProperties","required","dependentRequired","title","description","default","deprecated","readOnly","writeOnly","examples","format","contentEncoding","contentMediaType","contentSchema"],aA=t=>e=>{const r=t().getSchemaKeywords();return Fv(e)?((n,a)=>{const o=new Set(a);return n.filter((u=>!o.has(u)))})(Object.keys(e),r):[]},yq=(t,e)=>{const r=Y.Map.isMap(t);if(!r&&!Fv(t))return!1;const n=o=>e===o||Array.isArray(e)&&e.includes(o),a=r?t.get("type"):t.type;return Y.List.isList(a)||Array.isArray(a)?a.some((o=>n(o))):n(a)},vq=({constraint:t})=>Fv(t)&&typeof t.scope=="string"&&typeof t.value=="string"?p.createElement("span",{className:`json-schema-2020-12__constraint json-schema-2020-12__constraint--${t.scope}`},t.value):null,oA=p.memo(vq),iA=({dependentRequired:t})=>Array.isArray(t)&&t.length!==0?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),p.createElement("ul",null,t.map((e=>p.createElement("li",{key:e},p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},e)))))):null,sA=({schema:t})=>{const e=Cn(),r=jt("JSONSchema");if(!e.hasKeyword(t,"contentSchema"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},p.createElement(r,{name:n,schema:t.contentSchema,identifier:"contentSchema"}))},lA=({title:t="",schema:e})=>{const r=Cn(),n=t||r.getTitle(e);return n?p.createElement("div",{className:"json-schema-2020-12__title"},n):null},cA=({schema:t})=>t!=null&&t.description?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},p.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},t.description)):null,uA=({schema:t})=>{const e=Cn(),r=jt("JSONViewer");return e.hasKeyword(t,"default")?p.createElement(r,{name:"Default",value:t.default,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"}):null},pA=({schema:t})=>(t==null?void 0:t.deprecated)!==!0?null:p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),hA=({schema:t})=>(t==null?void 0:t.readOnly)!==!0?null:p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),dA=({schema:t})=>(t==null?void 0:t.writeOnly)!==!0?null:p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),fA=({schema:t})=>{const e=(t==null?void 0:t.examples)||[],r=jt("JSONViewer");return Array.isArray(e)&&e.length!==0?p.createElement(r,{name:"Examples",value:t.examples,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--examples"}):null},mA=({schema:t})=>{const e=Cn(),r="ExtensionKeywords",{path:n}=Lo(r),{isExpanded:a,setExpanded:o,setCollapsed:u}=js(r),[c,d]=Hi(),S=jt("Accordion"),_=jt("ExpandDeepButton"),O=jt("JSONViewer"),{showExtensionKeywords:j}=kE(),R=e.getExtensionKeywords(t),$=(0,p.useCallback)((()=>{a?u():o()}),[a,o,u]),L=(0,p.useCallback)(((q,X)=>{X?o({deep:!0}):u({deep:!0})}),[o,u]);return j&&R.length!==0?p.createElement(Qo.Provider,{value:n},p.createElement(Wi.Provider,{value:d},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--extension-keywords","data-json-schema-level":c},p.createElement(S,{expanded:a,onChange:$},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--extension"},"Extension Keywords")),p.createElement(_,{expanded:a,onClick:L}),p.createElement("ul",{className:Br()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!a})},a&&p.createElement(p.Fragment,null,R.map((q=>p.createElement(O,{key:q,name:q,value:t[q],className:"json-schema-2020-12-json-viewer-extension-keyword"})))))))):null},OE=({name:t,value:e,className:r})=>{const n=Cn(),{path:a}=Lo(t),{isExpanded:o,setExpanded:u,setCollapsed:c}=js(t),[d,S]=Hi(),_=jt("Accordion"),O=jt("ExpandDeepButton"),j=typeof e=="string"||typeof e=="number"||typeof e=="bigint"||typeof e=="boolean"||typeof e=="symbol"||e==null,R=(q=>Fv(q)&&Object.keys(q).length===0)(e)||(q=>Array.isArray(q)&&q.length===0)(e),$=(0,p.useCallback)((()=>{o?c():u()}),[o,u,c]),L=(0,p.useCallback)(((q,X)=>{X?u({deep:!0}):c({deep:!0})}),[u,c]);return j?p.createElement("div",{className:Br()("json-schema-2020-12-json-viewer",r)},p.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),p.createElement("span",{className:"json-schema-2020-12-json-viewer__value json-schema-2020-12-json-viewer__value--secondary"},n.stringify(e))):R?p.createElement("div",{className:Br()("json-schema-2020-12-json-viewer",r)},p.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"empty array":"empty object")):p.createElement(Qo.Provider,{value:a},p.createElement(Wi.Provider,{value:S},p.createElement("div",{className:Br()("json-schema-2020-12-json-viewer",r),"data-json-schema-level":d},p.createElement(_,{expanded:o,onChange:$},p.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t)),p.createElement(O,{expanded:o,onClick:L}),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"array":"object"),p.createElement("ul",{className:Br()("json-schema-2020-12-json-viewer__children",{"json-schema-2020-12-json-viewer__children--collapsed":!o})},o&&p.createElement(p.Fragment,null,Array.isArray(e)?e.map(((q,X)=>p.createElement("li",{key:`#${X}`,className:"json-schema-2020-12-property"},p.createElement(OE,{name:`#${X}`,value:q,className:r})))):Object.entries(e).map((([q,X])=>p.createElement("li",{key:q,className:"json-schema-2020-12-property"},p.createElement(OE,{name:q,value:X,className:r})))))))))},gA=OE,yA=({expanded:t=!1,children:e,onChange:r})=>{const n=jt("ChevronRightIcon"),a=(0,p.useCallback)((o=>{r(o,!t)}),[t,r]);return p.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:a},p.createElement("div",{className:"json-schema-2020-12-accordion__children"},e),p.createElement("span",{className:Br()("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":t,"json-schema-2020-12-accordion__icon--collapsed":!t})},p.createElement(n,null)))},vA=({expanded:t,onClick:e})=>{const r=(0,p.useCallback)((n=>{e(n,!t)}),[t,e]);return p.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:r},t?"Collapse all":"Expand all")},bA=()=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},p.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),wA=(t,e={})=>{const r={components:Ge({JSONSchema:wO,Keyword$schema:EO,Keyword$vocabulary:SO,Keyword$id:xO,Keyword$anchor:_O,Keyword$dynamicAnchor:kO,Keyword$ref:OO,Keyword$dynamicRef:AO,Keyword$defs:CO,Keyword$comment:jO,KeywordAllOf:PO,KeywordAnyOf:TO,KeywordOneOf:NO,KeywordNot:IO,KeywordIf:MO,KeywordThen:RO,KeywordElse:DO,KeywordDependentSchemas:FO,KeywordPrefixItems:$O,KeywordItems:LO,KeywordContains:BO,KeywordProperties:qO,KeywordPatternProperties:UO,KeywordAdditionalProperties:zO,KeywordPropertyNames:VO,KeywordUnevaluatedItems:JO,KeywordUnevaluatedProperties:WO,KeywordType:HO,KeywordEnum:KO,KeywordConst:GO,KeywordConstraint:oA,KeywordDependentRequired:iA,KeywordContentSchema:sA,KeywordTitle:lA,KeywordDescription:cA,KeywordDefault:uA,KeywordDeprecated:pA,KeywordReadOnly:hA,KeywordWriteOnly:dA,KeywordExamples:fA,ExtensionKeywords:mA,JSONViewer:gA,Accordion:yA,ExpandDeepButton:vA,ChevronRightIcon:bA},e.components),config:Ge({default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,showExtensionKeywords:!0},e.config),fn:Ge({upperFirst:YO,getTitle:XO(Cn),getType:QO(Cn),isBooleanJSONSchema:ZO,hasKeyword:eA,isExpandable:tA(Cn),stringify:rA,stringifyConstraints:mq,getDependentRequired:gq,getSchemaKeywords:nA,getExtensionKeywords:aA(Cn)},e.fn),state:{paths:{}}},n=a=>p.createElement(bp.Provider,{value:r},p.createElement(t,a));return n.contexts={JSONSchemaContext:bp},n.displayName=t.displayName,n},bq=({getSystem:t})=>(e,r={})=>{const{getComponent:n,getConfigs:a}=t(),o=a(),u=n("JSONSchema202012"),c=n("JSONSchema202012Keyword$schema"),d=n("JSONSchema202012Keyword$vocabulary"),S=n("JSONSchema202012Keyword$id"),_=n("JSONSchema202012Keyword$anchor"),O=n("JSONSchema202012Keyword$dynamicAnchor"),j=n("JSONSchema202012Keyword$ref"),R=n("JSONSchema202012Keyword$dynamicRef"),$=n("JSONSchema202012Keyword$defs"),L=n("JSONSchema202012Keyword$comment"),q=n("JSONSchema202012KeywordAllOf"),X=n("JSONSchema202012KeywordAnyOf"),D=n("JSONSchema202012KeywordOneOf"),se=n("JSONSchema202012KeywordNot"),te=n("JSONSchema202012KeywordIf"),le=n("JSONSchema202012KeywordThen"),ce=n("JSONSchema202012KeywordElse"),ie=n("JSONSchema202012KeywordDependentSchemas"),_e=n("JSONSchema202012KeywordPrefixItems"),me=n("JSONSchema202012KeywordItems"),ue=n("JSONSchema202012KeywordContains"),ve=n("JSONSchema202012KeywordProperties"),fe=n("JSONSchema202012KeywordPatternProperties"),be=n("JSONSchema202012KeywordAdditionalProperties"),je=n("JSONSchema202012KeywordPropertyNames"),qe=n("JSONSchema202012KeywordUnevaluatedItems"),pt=n("JSONSchema202012KeywordUnevaluatedProperties"),_t=n("JSONSchema202012KeywordType"),It=n("JSONSchema202012KeywordEnum"),Wt=n("JSONSchema202012KeywordConst"),or=n("JSONSchema202012KeywordConstraint"),ir=n("JSONSchema202012KeywordDependentRequired"),Ut=n("JSONSchema202012KeywordContentSchema"),Ye=n("JSONSchema202012KeywordTitle"),Xe=n("JSONSchema202012KeywordDescription"),Mt=n("JSONSchema202012KeywordDefault"),kt=n("JSONSchema202012KeywordDeprecated"),Vt=n("JSONSchema202012KeywordReadOnly"),rr=n("JSONSchema202012KeywordWriteOnly"),pr=n("JSONSchema202012KeywordExamples"),Rr=n("JSONSchema202012ExtensionKeywords"),xr=n("JSONSchema202012JSONViewer"),hr=n("JSONSchema202012Accordion"),pn=n("JSONSchema202012ExpandDeepButton"),Yr=n("JSONSchema202012ChevronRightIcon");return wA(e,{components:Ge({JSONSchema:u,Keyword$schema:c,Keyword$vocabulary:d,Keyword$id:S,Keyword$anchor:_,Keyword$dynamicAnchor:O,Keyword$ref:j,Keyword$dynamicRef:R,Keyword$defs:$,Keyword$comment:L,KeywordAllOf:q,KeywordAnyOf:X,KeywordOneOf:D,KeywordNot:se,KeywordIf:te,KeywordThen:le,KeywordElse:ce,KeywordDependentSchemas:ie,KeywordPrefixItems:_e,KeywordItems:me,KeywordContains:ue,KeywordProperties:ve,KeywordPatternProperties:fe,KeywordAdditionalProperties:be,KeywordPropertyNames:je,KeywordUnevaluatedItems:qe,KeywordUnevaluatedProperties:pt,KeywordType:_t,KeywordEnum:It,KeywordConst:Wt,KeywordConstraint:or,KeywordDependentRequired:ir,KeywordContentSchema:Ut,KeywordTitle:Ye,KeywordDescription:Xe,KeywordDefault:Mt,KeywordDeprecated:kt,KeywordReadOnly:Vt,KeywordWriteOnly:rr,KeywordExamples:pr,ExtensionKeywords:Rr,JSONViewer:xr,Accordion:hr,ExpandDeepButton:pn,ChevronRightIcon:Yr},r.components),config:Ge({showExtensionKeywords:o.showExtensions},r.config),fn:Ge({},r.fn)})},EA=({getSystem:t,fn:e})=>{const r=()=>Ge({upperFirst:e.upperFirst},e.jsonSchema202012);return{components:{JSONSchema202012:wO,JSONSchema202012Keyword$schema:EO,JSONSchema202012Keyword$vocabulary:SO,JSONSchema202012Keyword$id:xO,JSONSchema202012Keyword$anchor:_O,JSONSchema202012Keyword$dynamicAnchor:kO,JSONSchema202012Keyword$ref:OO,JSONSchema202012Keyword$dynamicRef:AO,JSONSchema202012Keyword$defs:CO,JSONSchema202012Keyword$comment:jO,JSONSchema202012KeywordAllOf:PO,JSONSchema202012KeywordAnyOf:TO,JSONSchema202012KeywordOneOf:NO,JSONSchema202012KeywordNot:IO,JSONSchema202012KeywordIf:MO,JSONSchema202012KeywordThen:RO,JSONSchema202012KeywordElse:DO,JSONSchema202012KeywordDependentSchemas:FO,JSONSchema202012KeywordPrefixItems:$O,JSONSchema202012KeywordItems:LO,JSONSchema202012KeywordContains:BO,JSONSchema202012KeywordProperties:qO,JSONSchema202012KeywordPatternProperties:UO,JSONSchema202012KeywordAdditionalProperties:zO,JSONSchema202012KeywordPropertyNames:VO,JSONSchema202012KeywordUnevaluatedItems:JO,JSONSchema202012KeywordUnevaluatedProperties:WO,JSONSchema202012KeywordType:HO,JSONSchema202012KeywordEnum:KO,JSONSchema202012KeywordConst:GO,JSONSchema202012KeywordConstraint:oA,JSONSchema202012KeywordDependentRequired:iA,JSONSchema202012KeywordContentSchema:sA,JSONSchema202012KeywordTitle:lA,JSONSchema202012KeywordDescription:cA,JSONSchema202012KeywordDefault:uA,JSONSchema202012KeywordDeprecated:pA,JSONSchema202012KeywordReadOnly:hA,JSONSchema202012KeywordWriteOnly:dA,JSONSchema202012KeywordExamples:fA,JSONSchema202012ExtensionKeywords:mA,JSONSchema202012JSONViewer:gA,JSONSchema202012Accordion:yA,JSONSchema202012ExpandDeepButton:vA,JSONSchema202012ChevronRightIcon:bA,withJSONSchema202012Context:wA,withJSONSchema202012SystemContext:bq(t()),JSONSchema202012PathContext:()=>Qo,JSONSchema202012LevelContext:()=>Wi},fn:{upperFirst:YO,jsonSchema202012:{getTitle:XO(r),getType:QO(r),isExpandable:tA(r),isBooleanJSONSchema:ZO,hasKeyword:eA,useFn:Cn,useConfig:kE,useComponent:jt,useIsExpanded:js,usePath:Lo,useLevel:Hi,getSchemaKeywords:nA,getExtensionKeywords:aA(r),hasSchemaType:yq}}}},wq=(t,{sample:e=[]}={})=>((r,n={})=>{const{minItems:a,maxItems:o,uniqueItems:u}=n,{contains:c,minContains:d,maxContains:S}=n;let _=[...r];if(c!=null&&typeof c=="object"&&Number.isInteger(d)&&d>1){const O=_.at(0);for(let j=1;j<d;j+=1)_.unshift(O)}if(Number.isInteger(o)&&o>0&&(_=r.slice(0,o)),Number.isInteger(a)&&a>0)for(let O=0;_.length<a;O+=1)_.push(_[O%_.length]);return u===!0&&(_=Array.from(new Set(_))),_})(e,t),Eq=()=>{throw new Error("Not implemented")},$v=t=>sa()(t),Lv=t=>t.at(0),wp=t=>typeof t=="boolean",Ps=t=>Mi()(t),Gl=t=>wp(t)||Ps(t),Bv=class{constructor(){Ee(this,"data",{})}register(e,r){this.data[e]=r}unregister(e){e===void 0?this.data={}:delete this.data[e]}get(e){return this.data[e]}},SA=()=>0,xA=()=>0,Sq=()=>.1,xq=()=>.1,_q=()=>"user@example.com",kq=()=>"실례@example.com",Oq=()=>"example.com",Aq=()=>"실례.com",Cq=()=>"198.51.100.42",jq=()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",Pq=()=>"https://example.com/",Tq=()=>"path/index.html",Nq=()=>"https://실례.com/",Iq=()=>"path/실례.html",Mq=()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",Rq=()=>"https://example.com/dictionary/{term:1}/{term}",Dq=()=>"/a/b/c",Fq=()=>"1/0",$q=()=>new Date().toISOString(),Lq=()=>new Date().toISOString().substring(0,10),Bq=()=>new Date().toISOString().substring(11),qq=()=>"P3D",Uq=()=>"********",zq=()=>"^[a-z]+$",qv=new(JA=class extends Bv{constructor(){super(...arguments);Zl(this,sg,{int32:SA,int64:xA,float:Sq,double:xq,email:_q,"idn-email":kq,hostname:Oq,"idn-hostname":Aq,ipv4:Cq,ipv6:jq,uri:Pq,"uri-reference":Tq,iri:Nq,"iri-reference":Iq,uuid:Mq,"uri-template":Rq,"json-pointer":Dq,"relative-json-pointer":Fq,"date-time":$q,date:Lq,time:Bq,duration:qq,password:Uq,regex:zq});Ee(this,"data",Ge({},ta(this,sg)))}get defaults(){return Ge({},ta(this,sg))}},sg=new WeakMap,JA),_A=(t,e)=>typeof e=="function"?qv.register(t,e):e===null?qv.unregister(t):qv.get(t);_A.getDefaults=()=>qv.defaults;const Uv=_A;var Vq=Re(48287).Buffer;const Jq=t=>Vq.from(t).toString("ascii");var Wq=Re(48287).Buffer;const Hq=t=>Wq.from(t).toString("utf8");var Kq=Re(48287).Buffer;const Gq=t=>Kq.from(t).toString("binary"),Yq=t=>{let e="";for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);if(n===61)e+="=3D";else if(n>=33&&n<=60||n>=62&&n<=126||n===9||n===32)e+=t.charAt(r);else if(n===13||n===10)e+=`\r
|
||
`;else if(n>126){const a=unescape(encodeURIComponent(t.charAt(r)));for(let o=0;o<a.length;o++)e+="="+("0"+a.charCodeAt(o).toString(16)).slice(-2).toUpperCase()}else e+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return e};var Xq=Re(48287).Buffer;const Qq=t=>Xq.from(t).toString("hex");var Zq=Re(48287).Buffer;const eU=t=>{const e=Zq.from(t).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let n=0,a="",o=0,u=0;for(let c=0;c<e.length;c++)for(o=o<<8|e.charCodeAt(c),u+=8;u>=5;)a+=r.charAt(o>>>u-5&31),u-=5;u>0&&(a+=r.charAt(o<<5-u&31),n=(8-8*e.length%5)%5);for(let c=0;c<n;c++)a+="=";return a};var tU=Re(48287).Buffer;const rU=t=>tU.from(t).toString("base64");var nU=Re(48287).Buffer;const aU=t=>nU.from(t).toString("base64url"),zv=new(WA=class extends Bv{constructor(){super(...arguments);Zl(this,lg,{"7bit":Jq,"8bit":Hq,binary:Gq,"quoted-printable":Yq,base16:Qq,base32:eU,base64:rU,base64url:aU});Ee(this,"data",Ge({},ta(this,lg)))}get defaults(){return Ge({},ta(this,lg))}},lg=new WeakMap,WA),kA=(t,e)=>typeof e=="function"?zv.register(t,e):e===null?zv.unregister(t):zv.get(t);kA.getDefaults=()=>zv.defaults;const OA=kA,oU={"text/plain":()=>"string","text/css":()=>".selector { border: 1px solid red }","text/csv":()=>"value1,value2,value3","text/html":()=>"<p>content</p>","text/calendar":()=>"BEGIN:VCALENDAR","text/javascript":()=>"console.dir('Hello world!');","text/xml":()=>'<person age="30">John Doe</person>',"text/*":()=>"string"},iU={"image/*":()=>$v(25).toString("binary")},sU={"audio/*":()=>$v(25).toString("binary")},lU={"video/*":()=>$v(25).toString("binary")},cU={"application/json":()=>'{"key":"value"}',"application/ld+json":()=>'{"name": "John Doe"}',"application/x-httpd-php":()=>"<?php echo '<p>Hello World!</p>'; ?>","application/rtf":()=>String.raw`{\rtf1\adeflang1025\ansi\ansicpg1252\uc1`,"application/x-sh":()=>'echo "Hello World!"',"application/xhtml+xml":()=>"<p>content</p>","application/*":()=>$v(25).toString("binary")},ld=new(HA=class extends Bv{constructor(){super(...arguments);Zl(this,cg,Ge(Ge(Ge(Ge(Ge({},oU),iU),sU),lU),cU));Ee(this,"data",Ge({},ta(this,cg)))}get defaults(){return Ge({},ta(this,cg))}},cg=new WeakMap,HA),AA=(t,e)=>{if(typeof e=="function")return ld.register(t,e);if(e===null)return ld.unregister(t);const r=t.split(";").at(0),n=`${r.split("/").at(0)}/*`;return ld.get(t)||ld.get(r)||ld.get(n)};AA.getDefaults=()=>ld.defaults;const CA=AA,AE=(t,e={})=>{const{maxLength:r,minLength:n}=e;let a=t;if(Number.isInteger(r)&&r>0&&(a=a.slice(0,r)),Number.isInteger(n)&&n>0){let o=0;for(;a.length<n;)a+=a[o++%a.length]}return a},uU=(t,{sample:e}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:a}=t,{pattern:o,format:u}=t,c=OA(r)||__();let d;return d=typeof o=="string"?AE((S=>{try{const _=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),O=S.replace(_,"100"),j=new(ef())(O);return j.max=100,j.gen()}catch(_){return"string"}})(o),t):typeof u=="string"?(S=>{const{format:_}=S,O=Uv(_);return typeof O=="function"?O(S):"string"})(t):Gl(a)&&typeof n=="string"&&e!==void 0?Array.isArray(e)||typeof e=="object"?JSON.stringify(e):AE(String(e),t):typeof n=="string"?(S=>{const{contentMediaType:_}=S,O=CA(_);return typeof O=="function"?O(S):"string"})(t):AE("string",t),c(d)},jA=(t,e={})=>{const{minimum:r,maximum:n,exclusiveMinimum:a,exclusiveMaximum:o}=e,{multipleOf:u}=e,c=Number.isInteger(t)?1:Number.EPSILON;let d=typeof r=="number"?r:null,S=typeof n=="number"?n:null,_=t;if(typeof a=="number"&&(d=d!==null?Math.max(d,a+c):a+c),typeof o=="number"&&(S=S!==null?Math.min(S,o-c):o-c),_=d>S&&t||d||S||_,typeof u=="number"&&u>0){const O=_%u;_=O===0?_:_+u-O}return _},pU=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:a}=n,o=Uv(a);return typeof o=="function"?o(n):0})(t):0,jA(r,t)},hU=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:a}=n,o=Uv(a);if(typeof o=="function")return o(n);switch(a){case"int32":return SA();case"int64":return xA()}return 0})(t):0,jA(r,t)},dU=t=>typeof t.default!="boolean"||t.default,Vv=new Proxy({array:wq,object:Eq,string:uU,number:pU,integer:hU,boolean:dU,null:()=>null},{get:(t,e)=>typeof e=="string"&&Object.hasOwn(t,e)?t[e]:()=>`Unknown Type: ${e}`}),PA=["array","object","number","integer","string","boolean","null"],og=t=>{if(!Ps(t))return!1;const{examples:e,example:r,default:n}=t;return!!(Array.isArray(e)&&e.length>=1)||n!==void 0||r!==void 0},CE=t=>{if(!Ps(t))return null;const{examples:e,example:r,default:n}=t;return Array.isArray(e)&&e.length>=1?e.at(0):n!==void 0?n:r!==void 0?r:void 0},Jv={array:["items","prefixItems","contains","maxContains","minContains","maxItems","minItems","uniqueItems","unevaluatedItems"],object:["properties","additionalProperties","patternProperties","propertyNames","minProperties","maxProperties","required","dependentSchemas","dependentRequired","unevaluatedProperties"],string:["pattern","format","minLength","maxLength","contentEncoding","contentMediaType","contentSchema"],integer:["minimum","maximum","exclusiveMinimum","exclusiveMaximum","multipleOf"]};Jv.number=Jv.integer;const jE="string",TA=t=>t===void 0?null:t===null?"null":Array.isArray(t)?"array":Number.isInteger(t)?"integer":typeof t,Wv=t=>{if(Array.isArray(t)&&t.length>=1){if(t.includes("array"))return"array";if(t.includes("object"))return"object";{const e=t.filter((n=>n!=="null")),r=Lv(e.length>0?e:t);if(PA.includes(r))return r}}return PA.includes(t)?t:null},PE=(t,e=new WeakSet)=>{if(!Ps(t)||e.has(t))return jE;e.add(t);let{type:r,const:n}=t;if(r=Wv(r),typeof r!="string"){const a=Object.keys(Jv);e:for(let o=0;o<a.length;o+=1){const u=a[o],c=Jv[u];for(let d=0;d<c.length;d+=1){const S=c[d];if(Object.hasOwn(t,S)){r=u;break e}}}}if(typeof r!="string"&&n!==void 0){const a=TA(n);r=typeof a=="string"?a:r}if(typeof r!="string"){const a=S=>{if(Array.isArray(t[S])){const _=t[S].map((O=>PE(O,e)));return Wv(_)}return null},o=a("allOf"),u=a("anyOf"),c=a("oneOf"),d=t.not?PE(t.not,e):null;(o||u||c||d)&&(r=Wv([o,u,c,d].filter(Boolean)))}if(typeof r!="string"&&og(t)){const a=CE(t),o=TA(a);r=typeof o=="string"?o:r}return e.delete(t),r||jE},NA=t=>PE(t),TE=t=>wp(t)?(e=>e===!1?{not:{}}:{})(t):Ps(t)?t:{},ig=(t,e,r={})=>{if(wp(t)&&t===!0)return!0;if(wp(t)&&t===!1)return!1;if(wp(e)&&e===!0)return!0;if(wp(e)&&e===!1)return!1;if(!Gl(t))return e;if(!Gl(e))return t;const n=Ge(Ge({},e),t);if(e.type&&t.type&&Array.isArray(e.type)&&typeof e.type=="string"){const a=En(e.type).concat(t.type);n.type=Array.from(new Set(a))}if(Array.isArray(e.required)&&Array.isArray(t.required)&&(n.required=[...new Set([...t.required,...e.required])]),e.properties&&t.properties){const a=new Set([...Object.keys(e.properties),...Object.keys(t.properties)]);n.properties={};for(const o of a){const u=e.properties[o]||{},c=t.properties[o]||{};u.readOnly&&!r.includeReadOnly||u.writeOnly&&!r.includeWriteOnly?n.required=(n.required||[]).filter((d=>d!==o)):n.properties[o]=ig(c,u,r)}}return Gl(e.items)&&Gl(t.items)&&(n.items=ig(t.items,e.items,r)),Gl(e.contains)&&Gl(t.contains)&&(n.contains=ig(t.contains,e.contains,r)),Gl(e.contentSchema)&&Gl(t.contentSchema)&&(n.contentSchema=ig(t.contentSchema,e.contentSchema,r)),n},cd=ig,Ja=(t,e={},r=void 0,n=!1)=>{var ve,fe,be,je,Wt,or,ir,Ut,Ye;if(t==null&&r===void 0)return;typeof(t==null?void 0:t.toJS)=="function"&&(t=t.toJS()),t=TE(t);let a=r!==void 0||og(t);const o=!a&&Array.isArray(t.oneOf)&&t.oneOf.length>0,u=!a&&Array.isArray(t.anyOf)&&t.anyOf.length>0;if(!a&&(o||u)){const Xe=TE(Lv(o?t.oneOf:t.anyOf));!(t=cd(t,Xe,e)).xml&&Xe.xml&&(t.xml=Xe.xml),og(t)&&og(Xe)&&(a=!0)}const c={};let{xml:d,properties:S,additionalProperties:_,items:O,contains:j}=t||{},R=NA(t),{includeReadOnly:$,includeWriteOnly:L}=e;d=d||{};let q,{name:X,prefix:D,namespace:se}=d,te={};Object.hasOwn(t,"type")||(t.type=R),n&&(X=X||"notagname",q=(D?`${D}:`:"")+X,se)&&(c[D?`xmlns:${D}`:"xmlns"]=se),n&&(te[q]=[]);const le=Zr(S);let ce,ie=0;const _e=()=>Number.isInteger(t.maxProperties)&&t.maxProperties>0&&ie>=t.maxProperties,me=Xe=>!(Number.isInteger(t.maxProperties)&&t.maxProperties>0)||!_e()&&(!(Mt=>!Array.isArray(t.required)||t.required.length===0||!t.required.includes(Mt))(Xe)||t.maxProperties-ie-(()=>{if(!Array.isArray(t.required)||t.required.length===0)return 0;let Mt=0;return n?t.required.forEach((kt=>Mt+=te[kt]===void 0?0:1)):t.required.forEach((kt=>{var Vt;Mt+=((Vt=te[q])==null?void 0:Vt.find((rr=>rr[kt]!==void 0)))===void 0?0:1})),t.required.length-Mt})()>0);if(ce=n?(Xe,Mt=void 0)=>{if(t&&le[Xe]){if(le[Xe].xml=le[Xe].xml||{},le[Xe].xml.attribute){const Vt=Array.isArray(le[Xe].enum)?Lv(le[Xe].enum):void 0;if(og(le[Xe]))c[le[Xe].xml.name||Xe]=CE(le[Xe]);else if(Vt!==void 0)c[le[Xe].xml.name||Xe]=Vt;else{const rr=TE(le[Xe]),pr=NA(rr),Rr=le[Xe].xml.name||Xe;if(pr==="array"){const xr=Ja(le[Xe],e,Mt,!1);c[Rr]=xr.map((hr=>Mi()(hr)?"UnknownTypeObject":Array.isArray(hr)?"UnknownTypeArray":hr)).join(" ")}else c[Rr]=pr==="object"?"UnknownTypeObject":Vv[pr](rr)}return}le[Xe].xml.name=le[Xe].xml.name||Xe}else le[Xe]||_===!1||(le[Xe]={xml:{name:Xe}});let kt=Ja(le[Xe],e,Mt,n);me(Xe)&&(ie++,Array.isArray(kt)?te[q]=te[q].concat(kt):te[q].push(kt))}:(Xe,Mt)=>{var kt;if(me(Xe)){if(Mi()((kt=t.discriminator)==null?void 0:kt.mapping)&&t.discriminator.propertyName===Xe&&typeof t.$$ref=="string"){for(const Vt in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[Vt])!==-1){te[Xe]=Vt;break}}else te[Xe]=Ja(le[Xe],e,Mt,n);ie++}},a){let Xe;if(Xe=r!==void 0?r:CE(t),!n){if(typeof Xe=="number"&&R==="string")return`${Xe}`;if(typeof Xe!="string"||R==="string")return Xe;try{return JSON.parse(Xe)}catch(Mt){return Xe}}if(R==="array"){if(!Array.isArray(Xe)){if(typeof Xe=="string")return Xe;Xe=[Xe]}let Mt=[];return Ps(O)&&(O.xml=O.xml||d||{},O.xml.name=O.xml.name||d.name,Mt=Xe.map((kt=>Ja(O,e,kt,n)))),Ps(j)&&(j.xml=j.xml||d||{},j.xml.name=j.xml.name||d.name,Mt=[Ja(j,e,void 0,n),...Mt]),Mt=Vv.array(t,{sample:Mt}),d.wrapped?(te[q]=Mt,fi()(c)||te[q].push({_attr:c})):te=Mt,te}if(R==="object"){if(typeof Xe=="string")return Xe;for(const Mt in Xe)Object.hasOwn(Xe,Mt)&&((ve=le[Mt])!=null&&ve.readOnly&&!$||(fe=le[Mt])!=null&&fe.writeOnly&&!L||((je=(be=le[Mt])==null?void 0:be.xml)!=null&&je.attribute?c[le[Mt].xml.name||Mt]=Xe[Mt]:ce(Mt,Xe[Mt])));return fi()(c)||te[q].push({_attr:c}),te}return te[q]=fi()(c)?Xe:[{_attr:c},Xe],te}if(R==="array"){let Xe=[];if(Ps(j))if(n&&(j.xml=j.xml||t.xml||{},j.xml.name=j.xml.name||d.name),Array.isArray(j.anyOf)){const qe=O,{anyOf:Mt}=qe,kt=jr(qe,["anyOf"]);Xe.push(...j.anyOf.map((Vt=>Ja(cd(Vt,kt,e),e,void 0,n))))}else if(Array.isArray(j.oneOf)){const pt=O,{oneOf:Mt}=pt,kt=jr(pt,["oneOf"]);Xe.push(...j.oneOf.map((Vt=>Ja(cd(Vt,kt,e),e,void 0,n))))}else{if(!(!n||n&&d.wrapped))return Ja(j,e,void 0,n);Xe.push(Ja(j,e,void 0,n))}if(Ps(O))if(n&&(O.xml=O.xml||t.xml||{},O.xml.name=O.xml.name||d.name),Array.isArray(O.anyOf)){const _t=O,{anyOf:Mt}=_t,kt=jr(_t,["anyOf"]);Xe.push(...O.anyOf.map((Vt=>Ja(cd(Vt,kt,e),e,void 0,n))))}else if(Array.isArray(O.oneOf)){const It=O,{oneOf:Mt}=It,kt=jr(It,["oneOf"]);Xe.push(...O.oneOf.map((Vt=>Ja(cd(Vt,kt,e),e,void 0,n))))}else{if(!(!n||n&&d.wrapped))return Ja(O,e,void 0,n);Xe.push(Ja(O,e,void 0,n))}return Xe=Vv.array(t,{sample:Xe}),n&&d.wrapped?(te[q]=Xe,fi()(c)||te[q].push({_attr:c}),te):Xe}if(R==="object"){for(let Xe in le)Object.hasOwn(le,Xe)&&((Wt=le[Xe])!=null&&Wt.deprecated||(or=le[Xe])!=null&&or.readOnly&&!$||(ir=le[Xe])!=null&&ir.writeOnly&&!L||ce(Xe));if(n&&c&&te[q].push({_attr:c}),_e())return te;if(wp(_)&&_)n?te[q].push({additionalProp:"Anything can be here"}):te.additionalProp1={},ie++;else if(Ps(_)){const Xe=_,Mt=Ja(Xe,e,void 0,n);if(n&&typeof((Ut=Xe==null?void 0:Xe.xml)==null?void 0:Ut.name)=="string"&&((Ye=Xe==null?void 0:Xe.xml)==null?void 0:Ye.name)!=="notagname")te[q].push(Mt);else{const kt=(Xe==null?void 0:Xe["x-additionalPropertiesName"])||"additionalProp",Vt=Number.isInteger(t.minProperties)&&t.minProperties>0&&ie<t.minProperties?t.minProperties-ie:3;for(let rr=1;rr<=Vt;rr++){if(_e())return te;if(n){const pr={};pr[kt+rr]=Mt.notagname,te[q].push(pr)}else te[kt+rr]=Mt;ie++}}}return te}let ue;if(t.const!==void 0)ue=t.const;else if(t&&Array.isArray(t.enum))ue=Lv(En(t.enum));else{const Xe=Ps(t.contentSchema)?Ja(t.contentSchema,e,void 0,n):void 0;ue=Vv[R](t,{sample:Xe})}return n?(te[q]=fi()(c)?ue:[{_attr:c},ue],te):ue},IA=(t,e,r)=>{const n=Ja(t,e,r,!0);if(n)return typeof n=="string"?n:Y0()(n,{declaration:!0,indent:" "})},MA=(t,e,r)=>Ja(t,e,r,!1),RA=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],fU=ka(IA,RA),mU=ka(MA,RA),DA=new(KA=class extends Bv{constructor(){super(...arguments);Zl(this,ug,{});Ee(this,"data",Ge({},ta(this,ug)))}get defaults(){return Ge({},ta(this,ug))}},ug=new WeakMap,KA),gU=(t,e)=>(e!==void 0&&DA.register(t,e),DA.get(t)),yU=[{when:/json/,shouldStringifyTypes:["string"]}],vU=["object"],bU=t=>(e,r,n,a)=>{const{fn:o}=t(),u=o.jsonSchema202012.memoizedSampleFromSchema(e,r,a),c=typeof u,d=yU.reduce(((S,_)=>_.when.test(n)?[...S,..._.shouldStringifyTypes]:S),vU);return xn()(d,(S=>S===c))?JSON.stringify(u,null,2):u},wU=t=>(e,r,n,a)=>{const{fn:o}=t(),u=o.jsonSchema202012.getJsonSampleSchema(e,r,n,a);let c;try{c=Ln.dump(Ln.load(u),{lineWidth:-1},{schema:Ni}),c[c.length-1]===`
|
||
`&&(c=c.slice(0,c.length-1))}catch(d){return"error: could not generate yaml example"}return c.replace(/\t/g," ")},EU=t=>(e,r,n)=>{const{fn:a}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
|
||
<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let o=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=o[1]}}return a.jsonSchema202012.memoizedCreateXMLExample(e,r,n)},SU=t=>(e,r="",n={},a=void 0)=>{const{fn:o}=t();return typeof(e==null?void 0:e.toJS)=="function"&&(e=e.toJS()),typeof(a==null?void 0:a.toJS)=="function"&&(a=a.toJS()),/xml/.test(r)?o.jsonSchema202012.getXmlSampleSchema(e,n,a):/(yaml|yml)/.test(r)?o.jsonSchema202012.getYamlSampleSchema(e,n,r,a):o.jsonSchema202012.getJsonSampleSchema(e,n,r,a)},FA=({getSystem:t})=>{const e=bU(t),r=wU(t),n=EU(t),a=SU(t);return{fn:{jsonSchema202012:{sampleFromSchema:MA,sampleFromSchemaGeneric:Ja,sampleOptionAPI:gU,sampleEncoderAPI:OA,sampleFormatAPI:Uv,sampleMediaTypeAPI:CA,createXMLExample:IA,memoizedSampleFromSchema:mU,memoizedCreateXMLExample:fU,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:a,mergeJsonSchema:cd,foldType:Wv}}}};function $A(){return[uO,EE,EA,FA,pq]}const xU=t=>()=>({fn:t.fn,components:t.components}),_U=t=>{const e=at()({layout:{layout:t.layout,filter:t.filter},spec:{spec:"",url:t.url},requestSnippets:t.requestSnippets},t.initialState);if(t.initialState)for(const[r,n]of Object.entries(t.initialState))n===void 0&&delete e[r];return{system:{configs:t.configs},plugins:t.presets,state:e}},kU=()=>t=>{const e=t.queryConfigEnabled?(()=>{const r=new URLSearchParams(yt.location.search);return Object.fromEntries(r)})():{};return Object.entries(e).reduce(((r,[n,a])=>(n==="config"?r.configUrl=a:n==="urls.primaryName"?r[n]=a:r=Af()(r,n,a),r)),{})},OU=({url:t,system:e})=>r=>nr(null,null,function*(){var a;if(!t)return{};if(typeof((a=e.configsActions)==null?void 0:a.getConfigByUrl)!="function")return{};const n=(()=>{const o={};return o.promise=new Promise(((u,c)=>{o.resolve=u,o.reject=c})),o})();return e.configsActions.getConfigByUrl({url:t,loadRemoteConfig:!0,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor},(o=>{n.resolve(o)})),n.promise}),AU=()=>()=>{const t={};return globalThis.location&&(t.oauth2RedirectUrl=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname.substring(0,globalThis.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`),t},ea=Object.freeze({dom_id:null,domNode:null,spec:{},url:"",urls:null,configUrl:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:-1,filter:!1,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:void 0,persistAuthorization:!1,configs:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:t=>(t.curlOptions=[],t),responseInterceptor:t=>t,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:!1,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[$A],plugins:[],initialState:{},fn:{},components:{},syntaxHighlight:{activated:!0,theme:"agate"},operationsSorter:null,tagsSorter:null,onComplete:null,modelPropertyMacro:null,parameterMacro:null,fileUploadMediaTypes:["application/octet-stream","image/","audio/","video/"],uncaughtExceptionHandler:null});var CU=Re(61448),jU=Re.n(CU),PU=Re(77731),TU=Re.n(PU);const Hv=(t,e=[])=>Array.isArray(t)?t:e,Ki=(t,e=!1)=>t===!0||t==="true"||t===1||t==="1"||t!==!1&&t!=="false"&&t!==0&&t!=="0"&&e,NU=t=>t===null||t==="null"?null:t,IU=t=>{const e=String(t);return Ki(t,e)},LA=(t,e)=>typeof t=="function"?t:e,MU=t=>Array.isArray(t)?t:null,Kv=t=>typeof t=="function"?t:null,NE=t=>t===null||t==="null"?null:String(t),IE=(t,e=-1)=>{const r=parseInt(t,10);return Number.isNaN(r)?e:r},ud=(t,e={})=>Mi()(t)?t:e,BA=t=>typeof t=="function"||typeof t=="string"?t:null,pd=t=>String(t),RU=(t,e)=>Mi()(t)?t:t===!1||t==="false"||t===0||t==="0"?{activated:!1}:e,DU=t=>t===void 0||t==="undefined"?void 0:String(t),qA={components:{typeCaster:ud},configs:{typeCaster:ud},configUrl:{typeCaster:NE},deepLinking:{typeCaster:Ki,defaultValue:ea.deepLinking},defaultModelExpandDepth:{typeCaster:IE,defaultValue:ea.defaultModelExpandDepth},defaultModelRendering:{typeCaster:pd},defaultModelsExpandDepth:{typeCaster:IE,defaultValue:ea.defaultModelsExpandDepth},displayOperationId:{typeCaster:Ki,defaultValue:ea.displayOperationId},displayRequestDuration:{typeCaster:Ki,defaultValue:ea.displayRequestDuration},docExpansion:{typeCaster:pd},dom_id:{typeCaster:NE},domNode:{typeCaster:NU},fileUploadMediaTypes:{typeCaster:Hv,defaultValue:ea.fileUploadMediaTypes},filter:{typeCaster:IU},fn:{typeCaster:ud},initialState:{typeCaster:ud},layout:{typeCaster:pd},maxDisplayedTags:{typeCaster:IE,defaultValue:ea.maxDisplayedTags},modelPropertyMacro:{typeCaster:Kv},oauth2RedirectUrl:{typeCaster:DU},onComplete:{typeCaster:Kv},operationsSorter:{typeCaster:BA},paramaterMacro:{typeCaster:Kv},persistAuthorization:{typeCaster:Ki,defaultValue:ea.persistAuthorization},plugins:{typeCaster:Hv,defaultValue:ea.plugins},presets:{typeCaster:Hv,defaultValue:ea.presets},requestInterceptor:{typeCaster:LA,defaultValue:ea.requestInterceptor},requestSnippets:{typeCaster:ud,defaultValue:ea.requestSnippets},requestSnippetsEnabled:{typeCaster:Ki,defaultValue:ea.requestSnippetsEnabled},responseInterceptor:{typeCaster:LA,defaultValue:ea.responseInterceptor},showCommonExtensions:{typeCaster:Ki,defaultValue:ea.showCommonExtensions},showExtensions:{typeCaster:Ki,defaultValue:ea.showExtensions},showMutatedRequest:{typeCaster:Ki,defaultValue:ea.showMutatedRequest},spec:{typeCaster:ud,defaultValue:ea.spec},supportedSubmitMethods:{typeCaster:Hv,defaultValue:ea.supportedSubmitMethods},syntaxHighlight:{typeCaster:RU,defaultValue:ea.syntaxHighlight},"syntaxHighlight.activated":{typeCaster:Ki,defaultValue:ea.syntaxHighlight.activated},"syntaxHighlight.theme":{typeCaster:pd},tagsSorter:{typeCaster:BA},tryItOutEnabled:{typeCaster:Ki,defaultValue:ea.tryItOutEnabled},url:{typeCaster:pd},urls:{typeCaster:MU},"urls.primaryName":{typeCaster:pd},validatorUrl:{typeCaster:NE},withCredentials:{typeCaster:Ki,defaultValue:ea.withCredentials},uncaughtExceptionHandler:{typeCaster:Kv}},UA=t=>Object.entries(qA).reduce(((e,[r,{typeCaster:n,defaultValue:a}])=>{if(jU()(e,r)){const o=n(kn()(e,r),a);e=TU()(r,o,e)}return e}),Ge({},t)),FU=(t,...e)=>{let r=Symbol.for("domNode"),n=Symbol.for("primaryName");const a=[];for(const u of e){const c=Ge({},u);Object.hasOwn(c,"domNode")&&(r=c.domNode,delete c.domNode),Object.hasOwn(c,"urls.primaryName")?(n=c["urls.primaryName"],delete c["urls.primaryName"]):Array.isArray(c.urls)&&Object.hasOwn(c.urls,"primaryName")&&(n=c.urls.primaryName,delete c.urls.primaryName),a.push(c)}const o=at()(t,...a);return r!==Symbol.for("domNode")&&(o.domNode=r),n!==Symbol.for("primaryName")&&Array.isArray(o.urls)&&(o.urls.primaryName=n),UA(o)};function ru(t){const e=kU()(t),r=AU()(),n=ru.config.merge({},ru.config.defaults,r,t,e),a=_U(n),o=xU(n),u=new Ns(a);u.register([n.plugins,o]);const c=u.getSystem(),d=O=>{u.setConfigs(O),c.configsActions.loaded()},S=O=>{!e.url&&typeof O.spec=="object"&&Object.keys(O.spec).length>0?(c.specActions.updateUrl(""),c.specActions.updateLoadingStatus("success"),c.specActions.updateSpec(JSON.stringify(O.spec))):typeof c.specActions.download=="function"&&O.url&&!O.urls&&(c.specActions.updateUrl(O.url),c.specActions.download(O.url))},_=O=>{if(O.domNode)c.render(O.domNode,"App");else if(O.dom_id){const j=document.querySelector(O.dom_id);c.render(j,"App")}else O.dom_id===null||O.domNode};return n.configUrl?(nr(null,null,function*(){const{configUrl:O}=n,j=yield OU({url:O,system:c})(n),R=ru.config.merge({},n,j,e);d(R),j!==null&&S(R),_(R)}),c):(d(n),S(n),_(n),c)}ru.System=Ns,ru.config={defaults:ea,merge:FU,typeCast:UA,typeCastMappings:qA},ru.presets={base:uO,apis:$A},ru.plugins={Auth:hc,Configs:os,DeepLining:Cd,Err:Cu,Filter:Pl,Icons:Pu,JSONSchema5:Dl,JSONSchema5Samples:ff,JSONSchema202012:EA,JSONSchema202012Samples:FA,Layout:us,Logs:Mu,OpenAPI30:EE,OpenAPI31:EE,OnComplete:Ru,RequestSnippets:wa,Spec:i,SwaggerClient:u_,Util:p_,View:A_,ViewLegacy:C_,DownloadUrl:j_,SyntaxHighlighting:z_,Versions:V_,SafeRender:K_};const $U=ru})(),qo=qo.default})()))})(q0)),q0.exports}var iz=oz();const sz=YU(iz),lz=QU({__name:"SwaggerUI",setup(dr){const cr=ez(null);return ZU(()=>nr(null,null,function*(){try{const Pn=yield XU();cr.value&&sz({domNode:cr.value,spec:Pn})}catch(Pr){}})),(Pr,Pn)=>(rz(),tz("div",{ref_key:"swaggerUiRef",ref:cr,style:{height:"100%"}},null,512))}}),yH=nz(lz,[["__scopeId","data-v-77241198"]]);export{yH as default};
|