301 lines
1.5 MiB
301 lines
1.5 MiB
import{a as DU}from"./_commonjsHelpers-DaWZu8wl.js";var Xf={},D0={exports:{}};var BU=D0.exports,T4;function FU(){return T4||(T4=1,(function(mu,F0){(function(gu,qe){mu.exports=qe()})(BU,(()=>(()=>{var Qf={251:(m,A)=>{A.read=function(a,c,v,d,y){var f,p,w=8*y-d-1,x=(1<<w)-1,O=x>>1,j=-7,I=v?y-1:0,M=v?-1:1,$=a[c+I];for(I+=M,f=$&(1<<-j)-1,$>>=-j,j+=w;j>0;f=256*f+a[c+I],I+=M,j-=8);for(p=f&(1<<-j)-1,f>>=-j,j+=d;j>0;p=256*p+a[c+I],I+=M,j-=8);if(f===0)f=1-O;else{if(f===x)return p?NaN:1/0*($?-1:1);p+=Math.pow(2,d),f-=O}return($?-1:1)*p*Math.pow(2,f-d)},A.write=function(a,c,v,d,y,f){var p,w,x,O=8*f-y-1,j=(1<<O)-1,I=j>>1,M=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,$=d?0:f-1,W=d?1:-1,q=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(w=isNaN(c)?1:0,p=j):(p=Math.floor(Math.log(c)/Math.LN2),c*(x=Math.pow(2,-p))<1&&(p--,x*=2),(c+=p+I>=1?M/x:M*Math.pow(2,1-I))*x>=2&&(p++,x/=2),p+I>=j?(w=0,p=j):p+I>=1?(w=(c*x-1)*Math.pow(2,y),p+=I):(w=c*Math.pow(2,I-1)*Math.pow(2,y),p=0));y>=8;a[v+$]=255&w,$+=W,w/=256,y-=8);for(p=p<<y|w,O+=y;O>0;a[v+$]=255&p,$+=W,p/=256,O-=8);a[v+$-W]|=128*q}},462:(m,A,a)=>{var c=a(40975);m.exports=c},659:(m,A,a)=>{var c=a(51873),v=Object.prototype,d=v.hasOwnProperty,y=v.toString,f=c?c.toStringTag:void 0;m.exports=function(w){var x=d.call(w,f),O=w[f];try{w[f]=void 0;var j=!0}catch{}var I=y.call(w);return j&&(x?w[f]=O:delete w[f]),I}},694:(m,A,a)=>{a(91599);var c=a(37257);a(12560),m.exports=c},953:(m,A,a)=>{m.exports=a(53375)},1733:m=>{var A=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;m.exports=function(c){return c.match(A)||[]}},1882:(m,A,a)=>{var c=a(72552),v=a(23805);m.exports=function(y){if(!v(y))return!1;var f=c(y);return f=="[object Function]"||f=="[object GeneratorFunction]"||f=="[object AsyncFunction]"||f=="[object Proxy]"}},1907:(m,A,a)=>{var c=a(41505),v=Function.prototype,d=v.call,y=c&&v.bind.bind(d,d);m.exports=c?y:function(f){return function(){return d.apply(f,arguments)}}},2205:function(m,A,a){var c;c=a.g!==void 0?a.g:this,m.exports=(function(v){if(v.CSS&&v.CSS.escape)return v.CSS.escape;var d=function(y){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var f,p=String(y),w=p.length,x=-1,O="",j=p.charCodeAt(0);++x<w;)(f=p.charCodeAt(x))!=0?O+=f>=1&&f<=31||f==127||x==0&&f>=48&&f<=57||x==1&&f>=48&&f<=57&&j==45?"\\"+f.toString(16)+" ":x==0&&w==1&&f==45||!(f>=128||f==45||f==95||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122)?"\\"+p.charAt(x):p.charAt(x):O+="<22>";return O};return v.CSS||(v.CSS={}),v.CSS.escape=d,d})(c)},2209:(m,A,a)=>{var c,v=a(9404),d=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};d.isRequired=d;var y=function(){return d};function f(x){var O=typeof x;return Array.isArray(x)?"array":x instanceof RegExp?"object":x instanceof v.Iterable?"Immutable."+x.toSource().split(" ")[0]:O}function p(x){function O(I,M,$,W,q,U){for(var H=arguments.length,Q=Array(H>6?H-6:0),se=6;se<H;se++)Q[se-6]=arguments[se];return U=U||$,W=W||"<<anonymous>>",M[$]!=null?x.apply(void 0,[M,$,W,q,U].concat(Q)):I?new Error("Required "+q+" `"+U+"` was not specified in `"+W+"`."):void 0}var j=O.bind(null,!1);return j.isRequired=O.bind(null,!0),j}function w(x,O){return(function(I,M){return p((function(W,q,U,H,Q){var se=W[q];if(!M(se)){var le=f(se);return new Error("Invalid "+H+" `"+Q+"` of type `"+le+"` supplied to `"+U+"`, expected `"+I+"`.")}return null}))})("Iterable."+x,(function(j){return v.Iterable.isIterable(j)&&O(j)}))}(c={listOf:y,mapOf:y,orderedMapOf:y,setOf:y,orderedSetOf:y,stackOf:y,iterableOf:y,recordOf:y,shape:y,contains:y,mapContains:y,orderedMapContains:y,list:d,map:d,orderedMap:d,set:d,orderedSet:d,stack:d,seq:d,record:d,iterable:d}).iterable.indexed=w("Indexed",v.Iterable.isIndexed),c.iterable.keyed=w("Keyed",v.Iterable.isKeyed),m.exports=c},2404:(m,A,a)=>{var c=a(60270);m.exports=function(d,y){return c(d,y)}},2523:m=>{m.exports=function(a,c,v,d){for(var y=a.length,f=v+(d?1:-1);d?f--:++f<y;)if(c(a[f],f,a))return f;return-1}},2532:(m,A,a)=>{var c=a(45951),v=Object.defineProperty;m.exports=function(d,y){try{v(c,d,{value:y,configurable:!0,writable:!0})}catch{c[d]=y}return y}},2694:(m,A,a)=>{var c=a(6925);function v(){}function d(){}d.resetWarningCache=v,m.exports=function(){function y(w,x,O,j,I,M){if(M!==c){var $=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 $.name="Invariant Violation",$}}function f(){return y}y.isRequired=y;var p={array:y,bigint:y,bool:y,func:y,number:y,object:y,string:y,symbol:y,any:y,arrayOf:f,element:y,elementType:y,instanceOf:f,node:y,objectOf:f,oneOf:f,oneOfType:f,shape:f,exact:f,checkPropTypes:d,resetWarningCache:v};return p.PropTypes=p,p}},2874:m=>{m.exports={}},2875:(m,A,a)=>{var c=a(23045),v=a(80376);m.exports=Object.keys||function(y){return c(y,v)}},2955:(m,A,a)=>{var c,v=a(65606);function d(H,Q,se){return(Q=(function(Pe){var he=(function(Ce,Je){if(typeof Ce!="object"||Ce===null)return Ce;var ze=Ce[Symbol.toPrimitive];if(ze!==void 0){var Ve=ze.call(Ce,Je);if(typeof Ve!="object")return Ve;throw new TypeError("@@toPrimitive must return a primitive value.")}return(Je==="string"?String:Number)(Ce)})(Pe,"string");return typeof he=="symbol"?he:String(he)})(Q))in H?Object.defineProperty(H,Q,{value:se,enumerable:!0,configurable:!0,writable:!0}):H[Q]=se,H}var y=a(86238),f=Symbol("lastResolve"),p=Symbol("lastReject"),w=Symbol("error"),x=Symbol("ended"),O=Symbol("lastPromise"),j=Symbol("handlePromise"),I=Symbol("stream");function M(H,Q){return{value:H,done:Q}}function $(H){var Q=H[f];if(Q!==null){var se=H[I].read();se!==null&&(H[O]=null,H[f]=null,H[p]=null,Q(M(se,!1)))}}function W(H){v.nextTick($,H)}var q=Object.getPrototypeOf((function(){})),U=Object.setPrototypeOf((d(c={get stream(){return this[I]},next:function(){var Q=this,se=this[w];if(se!==null)return Promise.reject(se);if(this[x])return Promise.resolve(M(void 0,!0));if(this[I].destroyed)return new Promise((function(ge,Ce){v.nextTick((function(){Q[w]?Ce(Q[w]):ge(M(void 0,!0))}))}));var le,Pe=this[O];if(Pe)le=new Promise((function(Ce,Je){return function(ze,Ve){Ce.then((function(){Je[x]?ze(M(void 0,!0)):Je[j](ze,Ve)}),Ve)}})(Pe,this));else{var he=this[I].read();if(he!==null)return Promise.resolve(M(he,!1));le=new Promise(this[j])}return this[O]=le,le}},Symbol.asyncIterator,(function(){return this})),d(c,"return",(function(){var Q=this;return new Promise((function(se,le){Q[I].destroy(null,(function(Pe){Pe?le(Pe):se(M(void 0,!0))}))}))})),c),q);m.exports=function(Q){var se,le=Object.create(U,(d(se={},I,{value:Q,writable:!0}),d(se,f,{value:null,writable:!0}),d(se,p,{value:null,writable:!0}),d(se,w,{value:null,writable:!0}),d(se,x,{value:Q._readableState.endEmitted,writable:!0}),d(se,j,{value:function(he,ge){var Ce=le[I].read();Ce?(le[O]=null,le[f]=null,le[p]=null,he(M(Ce,!1))):(le[f]=he,le[p]=ge)},writable:!0}),se));return le[O]=null,y(Q,(function(Pe){if(Pe&&Pe.code!=="ERR_STREAM_PREMATURE_CLOSE"){var he=le[p];return he!==null&&(le[O]=null,le[f]=null,le[p]=null,he(Pe)),void(le[w]=Pe)}var ge=le[f];ge!==null&&(le[O]=null,le[f]=null,le[p]=null,ge(M(void 0,!0))),le[x]=!0})),Q.on("readable",W.bind(null,le)),le}},3110:(m,A,a)=>{const c=a(5187),v=a(85015),d=a(98023),y=a(53812),f=a(23805),p=a(85105),w=a(86804);class x{constructor(j){this.elementMap={},this.elementDetection=[],this.Element=w.Element,this.KeyValuePair=w.KeyValuePair,j&&j.noDefault||this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(j){return j.namespace&&j.namespace({base:this}),j.load&&j.load({base:this}),this}useDefault(){return this.register("null",w.NullElement).register("string",w.StringElement).register("number",w.NumberElement).register("boolean",w.BooleanElement).register("array",w.ArrayElement).register("object",w.ObjectElement).register("member",w.MemberElement).register("ref",w.RefElement).register("link",w.LinkElement),this.detect(c,w.NullElement,!1).detect(v,w.StringElement,!1).detect(d,w.NumberElement,!1).detect(y,w.BooleanElement,!1).detect(Array.isArray,w.ArrayElement,!1).detect(f,w.ObjectElement,!1),this}register(j,I){return this._elements=void 0,this.elementMap[j]=I,this}unregister(j){return this._elements=void 0,delete this.elementMap[j],this}detect(j,I,M){return M===void 0||M?this.elementDetection.unshift([j,I]):this.elementDetection.push([j,I]),this}toElement(j){if(j instanceof this.Element)return j;let I;for(let M=0;M<this.elementDetection.length;M+=1){const $=this.elementDetection[M][0],W=this.elementDetection[M][1];if($(j)){I=new W(j);break}}return I}getElementClass(j){const I=this.elementMap[j];return I===void 0?this.Element:I}fromRefract(j){return this.serialiser.deserialise(j)}toRefract(j){return this.serialiser.serialise(j)}get elements(){return this._elements===void 0&&(this._elements={Element:this.Element},Object.keys(this.elementMap).forEach((j=>{const I=j[0].toUpperCase()+j.substr(1);this._elements[I]=this.elementMap[j]}))),this._elements}get serialiser(){return new p(this)}}p.prototype.Namespace=x,m.exports=x},3121:(m,A,a)=>{var c=a(65482),v=Math.min;m.exports=function(d){var y=c(d);return y>0?v(y,9007199254740991):0}},3209:(m,A,a)=>{var c=a(91596),v=a(53320),d=a(36306),y="__lodash_placeholder__",f=128,p=Math.min;m.exports=function(x,O){var j=x[1],I=O[1],M=j|I,$=M<131,W=I==f&&j==8||I==f&&j==256&&x[7].length<=O[8]||I==384&&O[7].length<=O[8]&&j==8;if(!$&&!W)return x;1&I&&(x[2]=O[2],M|=1&j?0:4);var q=O[3];if(q){var U=x[3];x[3]=U?c(U,q,O[4]):q,x[4]=U?d(x[3],y):O[4]}return(q=O[5])&&(U=x[5],x[5]=U?v(U,q,O[6]):q,x[6]=U?d(x[5],y):O[6]),(q=O[7])&&(x[7]=q),I&f&&(x[8]=x[8]==null?O[8]:p(x[8],O[8])),x[9]==null&&(x[9]=O[9]),x[0]=O[0],x[1]=M,x}},3650:(m,A,a)=>{var c=a(74335)(Object.keys,Object);m.exports=c},3656:(m,A,a)=>{m=a.nmd(m);var c=a(9325),v=a(89935),d=A&&!A.nodeType&&A,y=d&&m&&!m.nodeType&&m,f=y&&y.exports===d?c.Buffer:void 0,p=(f?f.isBuffer:void 0)||v;m.exports=p},4509:(m,A,a)=>{var c=a(12651);m.exports=function(d){return c(this,d).has(d)}},4640:m=>{var A=String;m.exports=function(a){try{return A(a)}catch{return"Object"}}},4664:(m,A,a)=>{var c=a(79770),v=a(63345),d=Object.prototype.propertyIsEnumerable,y=Object.getOwnPropertySymbols,f=y?function(p){return p==null?[]:(p=Object(p),c(y(p),(function(w){return d.call(p,w)})))}:v;m.exports=f},4901:(m,A,a)=>{var c=a(72552),v=a(30294),d=a(40346),y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y["[object Arguments]"]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y["[object Function]"]=y["[object Map]"]=y["[object Number]"]=y["[object Object]"]=y["[object RegExp]"]=y["[object Set]"]=y["[object String]"]=y["[object WeakMap]"]=!1,m.exports=function(p){return d(p)&&v(p.length)&&!!y[c(p)]}},4993:(m,A,a)=>{var c=a(16946),v=a(74239);m.exports=function(d){return c(v(d))}},5187:m=>{m.exports=function(a){return a===null}},5419:m=>{m.exports=function(A,a,c,v){var d=new Blob(v!==void 0?[v,A]:[A],{type:c||"application/octet-stream"});if(window.navigator.msSaveBlob!==void 0)window.navigator.msSaveBlob(d,a);else{var y=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(d):window.webkitURL.createObjectURL(d),f=document.createElement("a");f.style.display="none",f.href=y,f.setAttribute("download",a),f.download===void 0&&f.setAttribute("target","_blank"),document.body.appendChild(f),f.click(),setTimeout((function(){document.body.removeChild(f),window.URL.revokeObjectURL(y)}),200)}}},5556:(m,A,a)=>{m.exports=a(2694)()},5861:(m,A,a)=>{var c=a(55580),v=a(68223),d=a(32804),y=a(76545),f=a(28303),p=a(72552),w=a(47473),x="[object Map]",O="[object Promise]",j="[object Set]",I="[object WeakMap]",M="[object DataView]",$=w(c),W=w(v),q=w(d),U=w(y),H=w(f),Q=p;(c&&Q(new c(new ArrayBuffer(1)))!=M||v&&Q(new v)!=x||d&&Q(d.resolve())!=O||y&&Q(new y)!=j||f&&Q(new f)!=I)&&(Q=function(se){var le=p(se),Pe=le=="[object Object]"?se.constructor:void 0,he=Pe?w(Pe):"";if(he)switch(he){case $:return M;case W:return x;case q:return O;case U:return j;case H:return I}return le}),m.exports=Q},6048:m=>{m.exports=function(a){if(typeof a!="function")throw new TypeError("Expected a function");return function(){var c=arguments;switch(c.length){case 0:return!a.call(this);case 1:return!a.call(this,c[0]);case 2:return!a.call(this,c[0],c[1]);case 3:return!a.call(this,c[0],c[1],c[2])}return!a.apply(this,c)}}},6188:m=>{m.exports=Math.max},6205:m=>{m.exports={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}},6233:(m,A,a)=>{const c=a(6048),v=a(10316),d=a(92340);class y extends v{constructor(p,w,x){super(p||[],w,x),this.element="array"}primitive(){return"array"}get(p){return this.content[p]}getValue(p){const w=this.get(p);if(w)return w.toValue()}getIndex(p){return this.content[p]}set(p,w){return this.content[p]=this.refract(w),this}remove(p){const w=this.content.splice(p,1);return w.length?w[0]:null}map(p,w){return this.content.map(p,w)}flatMap(p,w){return this.map(p,w).reduce(((x,O)=>x.concat(O)),[])}compactMap(p,w){const x=[];return this.forEach((O=>{const j=p.bind(w)(O);j&&x.push(j)})),x}filter(p,w){return new d(this.content.filter(p,w))}reject(p,w){return this.filter(c(p),w)}reduce(p,w){let x,O;w!==void 0?(x=0,O=this.refract(w)):(x=1,O=this.primitive()==="object"?this.first.value:this.first);for(let j=x;j<this.length;j+=1){const I=this.content[j];O=this.primitive()==="object"?this.refract(p(O,I.value,I.key,I,this)):this.refract(p(O,I,j,this))}return O}forEach(p,w){this.content.forEach(((x,O)=>{p.bind(w)(x,this.refract(O))}))}shift(){return this.content.shift()}unshift(p){this.content.unshift(this.refract(p))}push(p){return this.content.push(this.refract(p)),this}add(p){this.push(p)}findElements(p,w){const x=w||{},O=!!x.recursive,j=x.results===void 0?[]:x.results;return this.forEach(((I,M,$)=>{O&&I.findElements!==void 0&&I.findElements(p,{results:j,recursive:O}),p(I,M,$)&&j.push(I)})),j}find(p){return new d(this.findElements(p,{recursive:!0}))}findByElement(p){return this.find((w=>w.element===p))}findByClass(p){return this.find((w=>w.classes.includes(p)))}getById(p){return this.find((w=>w.id.toValue()===p)).first}includes(p){return this.content.some((w=>w.equals(p)))}contains(p){return this.includes(p)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(p){return new this.constructor(this.content.concat(p.content))}"fantasy-land/concat"(p){return this.concat(p)}"fantasy-land/map"(p){return new this.constructor(this.map(p))}"fantasy-land/chain"(p){return this.map((w=>p(w)),this).reduce(((w,x)=>w.concat(x)),this.empty())}"fantasy-land/filter"(p){return new this.constructor(this.content.filter(p))}"fantasy-land/reduce"(p,w){return this.content.reduce(p,w)}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)}}y.empty=function(){return new this},y["fantasy-land/empty"]=y.empty,typeof Symbol<"u"&&(y.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),m.exports=y},6499:(m,A,a)=>{var c=a(1907),v=0,d=Math.random(),y=c(1 .toString);m.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+y(++v+d,36)}},6549:m=>{m.exports=Object.getOwnPropertyDescriptor},6925:m=>{m.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7057:(m,A,a)=>{var c=a(11470).charAt,v=a(90160),d=a(64932),y=a(60183),f=a(59550),p="String Iterator",w=d.set,x=d.getterFor(p);y(String,"String",(function(O){w(this,{type:p,string:v(O),index:0})}),(function(){var j,I=x(this),M=I.string,$=I.index;return $>=M.length?f(void 0,!0):(j=c(M,$),I.index+=j.length,f(j,!1))}))},7176:(m,A,a)=>{var c,v=a(73126),d=a(75795);try{c=[].__proto__===Array.prototype}catch(w){if(!w||typeof w!="object"||!("code"in w)||w.code!=="ERR_PROTO_ACCESS")throw w}var y=!!c&&d&&d(Object.prototype,"__proto__"),f=Object,p=f.getPrototypeOf;m.exports=y&&typeof y.get=="function"?v([y.get]):typeof p=="function"&&function(x){return p(x==null?x:f(x))}},7309:(m,A,a)=>{var c=a(62006)(a(24713));m.exports=c},7376:m=>{m.exports=!0},7463:(m,A,a)=>{var c=a(98828),v=a(62250),d=/#|\.prototype\./,y=function(O,j){var I=p[f(O)];return I===x||I!==w&&(v(j)?c(j):!!j)},f=y.normalize=function(O){return String(O).replace(d,".").toLowerCase()},p=y.data={},w=y.NATIVE="N",x=y.POLYFILL="P";m.exports=y},7666:(m,A,a)=>{var c=a(84851),v=a(953);function d(){var y;return m.exports=d=c?v(y=c).call(y):function(f){for(var p=1;p<arguments.length;p++){var w=arguments[p];for(var x in w)({}).hasOwnProperty.call(w,x)&&(f[x]=w[x])}return f},m.exports.__esModule=!0,m.exports.default=m.exports,d.apply(null,arguments)}m.exports=d,m.exports.__esModule=!0,m.exports.default=m.exports},8048:(m,A,a)=>{const c=a(6205);A.wordBoundary=()=>({type:c.POSITION,value:"b"}),A.nonWordBoundary=()=>({type:c.POSITION,value:"B"}),A.begin=()=>({type:c.POSITION,value:"^"}),A.end=()=>({type:c.POSITION,value:"$"})},8068:m=>{var A=(()=>{var a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,v=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(q,U,H)=>U in q?a(q,U,{enumerable:!0,configurable:!0,writable:!0,value:H}):q[U]=H,w=(q,U)=>{for(var H in U||(U={}))y.call(U,H)&&p(q,H,U[H]);if(d)for(var H of d(U))f.call(U,H)&&p(q,H,U[H]);return q},x=(q,U,H)=>p(q,typeof U!="symbol"?U+"":U,H),O={};((q,U)=>{for(var H in U)a(q,H,{get:U[H],enumerable:!0})})(O,{DEFAULT_OPTIONS:()=>I,DEFAULT_UUID_LENGTH:()=>j,default:()=>W});var j=6,I={dictionary:"alphanum",shuffle:!0,debug:!1,length:j,counter:0},M=class{constructor(U={}){x(this,"counter"),x(this,"debug"),x(this,"dict"),x(this,"version"),x(this,"dictIndex",0),x(this,"dictRange",[]),x(this,"lowerBound",0),x(this,"upperBound",0),x(this,"dictLength",0),x(this,"uuidLength"),x(this,"_digit_first_ascii",48),x(this,"_digit_last_ascii",58),x(this,"_alpha_lower_first_ascii",97),x(this,"_alpha_lower_last_ascii",123),x(this,"_hex_last_ascii",103),x(this,"_alpha_upper_first_ascii",65),x(this,"_alpha_upper_last_ascii",91),x(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),x(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]}),x(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),x(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),x(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]}),x(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]}),x(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]}),x(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),x(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}),x(this,"log",((...he)=>{const ge=[...he];ge[0]="[short-unique-id] ".concat(he[0]),this.debug!==!0||typeof console>"u"||console===null||console.log(...ge)})),x(this,"_normalizeDictionary",((he,ge)=>{let Ce;if(he&&Array.isArray(he)&&he.length>1)Ce=he;else{Ce=[],this.dictIndex=0;const Je="_".concat(he,"_dict_ranges"),ze=this._dict_ranges[Je];let Ve=0;for(const[,pt]of Object.entries(ze)){const[Fe,g]=pt;Ve+=Math.abs(g-Fe)}Ce=new Array(Ve);let Qe=0;for(const[,pt]of Object.entries(ze)){this.dictRange=pt,this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1];const Fe=this.lowerBound<=this.upperBound,g=this.lowerBound,it=this.upperBound;if(Fe)for(let Ye=g;Ye<it;Ye++)Ce[Qe++]=String.fromCharCode(Ye),this.dictIndex=Ye;else for(let Ye=g;Ye>it;Ye--)Ce[Qe++]=String.fromCharCode(Ye),this.dictIndex=Ye}Ce.length=Qe}if(ge)for(let Je=Ce.length-1;Je>0;Je--){const ze=Math.floor(Math.random()*(Je+1));[Ce[Je],Ce[ze]]=[Ce[ze],Ce[Je]]}return Ce})),x(this,"setDictionary",((he,ge)=>{this.dict=this._normalizeDictionary(he,ge),this.dictLength=this.dict.length,this.setCounter(0)})),x(this,"seq",(()=>this.sequentialUUID())),x(this,"sequentialUUID",(()=>{const he=this.dictLength,ge=this.dict;let Ce=this.counter;const Je=[];do{const Ve=Ce%he;Ce=Math.trunc(Ce/he),Je.push(ge[Ve])}while(Ce!==0);const ze=Je.join("");return this.counter+=1,ze})),x(this,"rnd",((he=this.uuidLength||j)=>this.randomUUID(he))),x(this,"randomUUID",((he=this.uuidLength||j)=>{if(he==null||he<1)throw new Error("Invalid UUID Length Provided");const ge=new Array(he),Ce=this.dictLength,Je=this.dict;for(let ze=0;ze<he;ze++){const Ve=Math.floor(Math.random()*Ce);ge[ze]=Je[Ve]}return ge.join("")})),x(this,"fmt",((he,ge)=>this.formattedUUID(he,ge))),x(this,"formattedUUID",((he,ge)=>{const Ce={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return he.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(Je=>{const ze=Je.slice(0,2),Ve=Number.parseInt(Je.slice(2),10);return ze==="$s"?Ce[ze]().padStart(Ve,"0"):ze==="$t"&&ge?Ce[ze](Ve,ge):Ce[ze](Ve)}))})),x(this,"availableUUIDs",((he=this.uuidLength)=>Number.parseFloat(([...new Set(this.dict)].length**he).toFixed(0)))),x(this,"_collisionCache",new Map),x(this,"approxMaxBeforeCollision",((he=this.availableUUIDs(this.uuidLength))=>{const ge=he,Ce=this._collisionCache.get(ge);if(Ce!==void 0)return Ce;const Je=Number.parseFloat(Math.sqrt(Math.PI/2*he).toFixed(20));return this._collisionCache.set(ge,Je),Je})),x(this,"collisionProbability",((he=this.availableUUIDs(this.uuidLength),ge=this.uuidLength)=>Number.parseFloat((this.approxMaxBeforeCollision(he)/this.availableUUIDs(ge)).toFixed(20)))),x(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})),x(this,"getVersion",(()=>this.version)),x(this,"stamp",((he,ge)=>{const Ce=Math.floor(+(ge||new Date)/1e3).toString(16);if(typeof he=="number"&&he===0)return Ce;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 Je=he-9,ze=Math.round(Math.random()*(Je>15?15:Je)),Ve=this.randomUUID(Je);return"".concat(Ve.substring(0,ze)).concat(Ce).concat(Ve.substring(ze)).concat(ze.toString(16))})),x(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 Ce=ge?ge.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,(ze=>{const Ve={$r:Fe=>[...Array(Fe)].map((()=>"r")).join(""),$s:Fe=>[...Array(Fe)].map((()=>"s")).join(""),$t:Fe=>[...Array(Fe)].map((()=>"t")).join("")},Qe=ze.slice(0,2),pt=Number.parseInt(ze.slice(2),10);return Ve[Qe](pt)})).replace(/^(.*?)(t{8,})(.*)$/g,((ze,Ve,Qe)=>he.substring(Ve.length,Ve.length+Qe.length))):he;if(Ce.length===8)return new Date(1e3*Number.parseInt(Ce,16));if(Ce.length<10)throw new Error("Stamp length invalid");const Je=Number.parseInt(Ce.substring(Ce.length-1),16);return new Date(1e3*Number.parseInt(Ce.substring(Je,Je+8),16))})),x(this,"setCounter",(he=>{this.counter=he})),x(this,"validate",((he,ge)=>{const Ce=ge?this._normalizeDictionary(ge):this.dict;return he.split("").every((Je=>Ce.includes(Je)))}));const H=w(w({},I),U);this.counter=0,this.debug=!1,this.dict=[],this.version="5.3.2";const{dictionary:Q,shuffle:se,length:le,counter:Pe}=H;this.uuidLength=le,this.setDictionary(Q,se),this.setCounter(Pe),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)}};x(M,"default",M);var $,W=M;return $=O,((q,U,H,Q)=>{if(U&&typeof U=="object"||typeof U=="function")for(let se of v(U))y.call(q,se)||se===H||a(q,se,{get:()=>U[se],enumerable:!(Q=c(U,se))||Q.enumerable});return q})(a({},"__esModule",{value:!0}),$)})();m.exports=A.default,typeof window<"u"&&(A=A.default)},9325:(m,A,a)=>{var c=a(34840),v=typeof self=="object"&&self&&self.Object===Object&&self,d=c||v||Function("return this")();m.exports=d},9404:function(m){m.exports=(function(){var A=Array.prototype.slice;function a(i,_){_&&(i.prototype=Object.create(_.prototype)),i.prototype.constructor=i}function c(i){return f(i)?i:lt(i)}function v(i){return p(i)?i:xt(i)}function d(i){return w(i)?i:Mt(i)}function y(i){return f(i)&&!x(i)?i:_t(i)}function f(i){return!(!i||!i[j])}function p(i){return!(!i||!i[I])}function w(i){return!(!i||!i[M])}function x(i){return p(i)||w(i)}function O(i){return!(!i||!i[$])}a(v,c),a(d,c),a(y,c),c.isIterable=f,c.isKeyed=p,c.isIndexed=w,c.isAssociative=x,c.isOrdered=O,c.Keyed=v,c.Indexed=d,c.Set=y;var j="@@__IMMUTABLE_ITERABLE__@@",I="@@__IMMUTABLE_KEYED__@@",M="@@__IMMUTABLE_INDEXED__@@",$="@@__IMMUTABLE_ORDERED__@@",W="delete",q=5,U=1<<q,H=U-1,Q={},se={value:!1},le={value:!1};function Pe(i){return i.value=!1,i}function he(i){i&&(i.value=!0)}function ge(){}function Ce(i,_){_=_||0;for(var P=Math.max(0,i.length-_),D=new Array(P),L=0;L<P;L++)D[L]=i[L+_];return D}function Je(i){return i.size===void 0&&(i.size=i.__iterate(Ve)),i.size}function ze(i,_){if(typeof _!="number"){var P=_>>>0;if(""+P!==_||P===4294967295)return NaN;_=P}return _<0?Je(i)+_:_}function Ve(){return!0}function Qe(i,_,P){return(i===0||P!==void 0&&i<=-P)&&(_===void 0||P!==void 0&&_>=P)}function pt(i,_){return g(i,_,0)}function Fe(i,_){return g(i,_,_)}function g(i,_,P){return i===void 0?P:i<0?Math.max(0,_+i):_===void 0?i:Math.min(_,i)}var it=0,Ye=1,ue=2,Te=typeof Symbol=="function"&&Symbol.iterator,et="@@iterator",ft=Te||et;function Ke(i){this.next=i}function dt(i,_,P,D){var L=i===0?_:i===1?P:[_,P];return D?D.value=L:D={value:L,done:!1},D}function ee(){return{value:void 0,done:!0}}function _e(i){return!!Ut(i)}function nt(i){return i&&typeof i.next=="function"}function st(i){var _=Ut(i);return _&&_.call(i)}function Ut(i){var _=i&&(Te&&i[Te]||i[et]);if(typeof _=="function")return _}function qt(i){return i&&typeof i.length=="number"}function lt(i){return i==null?Ze():f(i)?i.toSeq():yt(i)}function xt(i){return i==null?Ze().toKeyedSeq():f(i)?p(i)?i.toSeq():i.fromEntrySeq():St(i)}function Mt(i){return i==null?Ze():f(i)?p(i)?i.entrySeq():i.toIndexedSeq():ut(i)}function _t(i){return(i==null?Ze():f(i)?p(i)?i.entrySeq():i:ut(i)).toSetSeq()}Ke.prototype.toString=function(){return"[Iterator]"},Ke.KEYS=it,Ke.VALUES=Ye,Ke.ENTRIES=ue,Ke.prototype.inspect=Ke.prototype.toSource=function(){return this.toString()},Ke.prototype[ft]=function(){return this},a(lt,c),lt.of=function(){return lt(arguments)},lt.prototype.toSeq=function(){return this},lt.prototype.toString=function(){return this.__toString("Seq {","}")},lt.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},lt.prototype.__iterate=function(i,_){return Fr(this,i,_,!0)},lt.prototype.__iterator=function(i,_){return Ur(this,i,_,!0)},a(xt,lt),xt.prototype.toKeyedSeq=function(){return this},a(Mt,lt),Mt.of=function(){return Mt(arguments)},Mt.prototype.toIndexedSeq=function(){return this},Mt.prototype.toString=function(){return this.__toString("Seq [","]")},Mt.prototype.__iterate=function(i,_){return Fr(this,i,_,!1)},Mt.prototype.__iterator=function(i,_){return Ur(this,i,_,!1)},a(_t,lt),_t.of=function(){return _t(arguments)},_t.prototype.toSetSeq=function(){return this},lt.isSeq=be,lt.Keyed=xt,lt.Set=_t,lt.Indexed=Mt;var ht,Lt,Y,C="@@__IMMUTABLE_SEQ__@@";function N(i){this._array=i,this.size=i.length}function J(i){var _=Object.keys(i);this._object=i,this._keys=_,this.size=_.length}function ne(i){this._iterable=i,this.size=i.length||i.size}function ce(i){this._iterator=i,this._iteratorCache=[]}function be(i){return!(!i||!i[C])}function Ze(){return ht||(ht=new N([]))}function St(i){var _=Array.isArray(i)?new N(i).fromEntrySeq():nt(i)?new ce(i).fromEntrySeq():_e(i)?new ne(i).fromEntrySeq():typeof i=="object"?new J(i):void 0;if(!_)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+i);return _}function ut(i){var _=kt(i);if(!_)throw new TypeError("Expected Array or iterable object of values: "+i);return _}function yt(i){var _=kt(i)||typeof i=="object"&&new J(i);if(!_)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+i);return _}function kt(i){return qt(i)?new N(i):nt(i)?new ce(i):_e(i)?new ne(i):void 0}function Fr(i,_,P,D){var L=i._cache;if(L){for(var re=L.length-1,ie=0;ie<=re;ie++){var ve=L[P?re-ie:ie];if(_(ve[1],D?ve[0]:ie,i)===!1)return ie+1}return ie}return i.__iterateUncached(_,P)}function Ur(i,_,P,D){var L=i._cache;if(L){var re=L.length-1,ie=0;return new Ke((function(){var ve=L[P?re-ie:ie];return ie++>re?ee():dt(_,D?ve[0]:ie-1,ve[1])}))}return i.__iteratorUncached(_,P)}function bn(i,_){return _?Xr(_,i,"",{"":i}):kn(i)}function Xr(i,_,P,D){return Array.isArray(_)?i.call(D,P,Mt(_).map((function(L,re){return Xr(i,L,re,_)}))):_a(_)?i.call(D,P,xt(_).map((function(L,re){return Xr(i,L,re,_)}))):_}function kn(i){return Array.isArray(i)?Mt(i).map(kn).toList():_a(i)?xt(i).map(kn).toMap():i}function _a(i){return i&&(i.constructor===Object||i.constructor===void 0)}function xr(i,_){if(i===_||i!=i&&_!=_)return!0;if(!i||!_)return!1;if(typeof i.valueOf=="function"&&typeof _.valueOf=="function"){if((i=i.valueOf())===(_=_.valueOf())||i!=i&&_!=_)return!0;if(!i||!_)return!1}return!(typeof i.equals!="function"||typeof _.equals!="function"||!i.equals(_))}function mn(i,_){if(i===_)return!0;if(!f(_)||i.size!==void 0&&_.size!==void 0&&i.size!==_.size||i.__hash!==void 0&&_.__hash!==void 0&&i.__hash!==_.__hash||p(i)!==p(_)||w(i)!==w(_)||O(i)!==O(_))return!1;if(i.size===0&&_.size===0)return!0;var P=!x(i);if(O(i)){var D=i.entries();return _.every((function($e,Re){var We=D.next().value;return We&&xr(We[1],$e)&&(P||xr(We[0],Re))}))&&D.next().done}var L=!1;if(i.size===void 0)if(_.size===void 0)typeof i.cacheResult=="function"&&i.cacheResult();else{L=!0;var re=i;i=_,_=re}var ie=!0,ve=_.__iterate((function($e,Re){if(P?!i.has($e):L?!xr($e,i.get(Re,Q)):!xr(i.get(Re,Q),$e))return ie=!1,!1}));return ie&&i.size===ve}function Vr(i,_){if(!(this instanceof Vr))return new Vr(i,_);if(this._value=i,this.size=_===void 0?1/0:Math.max(0,_),this.size===0){if(Lt)return Lt;Lt=this}}function Oa(i,_){if(!i)throw new Error(_)}function Qr(i,_,P){if(!(this instanceof Qr))return new Qr(i,_,P);if(Oa(P!==0,"Cannot step a Range by 0"),i=i||0,_===void 0&&(_=1/0),P=P===void 0?1:Math.abs(P),_<i&&(P=-P),this._start=i,this._end=_,this._step=P,this.size=Math.max(0,Math.ceil((_-i)/P-1)+1),this.size===0){if(Y)return Y;Y=this}}function _n(){throw TypeError("Abstract")}function Zn(){}function Da(){}function za(){}lt.prototype[C]=!0,a(N,Mt),N.prototype.get=function(i,_){return this.has(i)?this._array[ze(this,i)]:_},N.prototype.__iterate=function(i,_){for(var P=this._array,D=P.length-1,L=0;L<=D;L++)if(i(P[_?D-L:L],L,this)===!1)return L+1;return L},N.prototype.__iterator=function(i,_){var P=this._array,D=P.length-1,L=0;return new Ke((function(){return L>D?ee():dt(i,L,P[_?D-L++:L++])}))},a(J,xt),J.prototype.get=function(i,_){return _===void 0||this.has(i)?this._object[i]:_},J.prototype.has=function(i){return this._object.hasOwnProperty(i)},J.prototype.__iterate=function(i,_){for(var P=this._object,D=this._keys,L=D.length-1,re=0;re<=L;re++){var ie=D[_?L-re:re];if(i(P[ie],ie,this)===!1)return re+1}return re},J.prototype.__iterator=function(i,_){var P=this._object,D=this._keys,L=D.length-1,re=0;return new Ke((function(){var ie=D[_?L-re:re];return re++>L?ee():dt(i,ie,P[ie])}))},J.prototype[$]=!0,a(ne,Mt),ne.prototype.__iterateUncached=function(i,_){if(_)return this.cacheResult().__iterate(i,_);var P=st(this._iterable),D=0;if(nt(P))for(var L;!(L=P.next()).done&&i(L.value,D++,this)!==!1;);return D},ne.prototype.__iteratorUncached=function(i,_){if(_)return this.cacheResult().__iterator(i,_);var P=st(this._iterable);if(!nt(P))return new Ke(ee);var D=0;return new Ke((function(){var L=P.next();return L.done?L:dt(i,D++,L.value)}))},a(ce,Mt),ce.prototype.__iterateUncached=function(i,_){if(_)return this.cacheResult().__iterate(i,_);for(var P,D=this._iterator,L=this._iteratorCache,re=0;re<L.length;)if(i(L[re],re++,this)===!1)return re;for(;!(P=D.next()).done;){var ie=P.value;if(L[re]=ie,i(ie,re++,this)===!1)break}return re},ce.prototype.__iteratorUncached=function(i,_){if(_)return this.cacheResult().__iterator(i,_);var P=this._iterator,D=this._iteratorCache,L=0;return new Ke((function(){if(L>=D.length){var re=P.next();if(re.done)return re;D[L]=re.value}return dt(i,L,D[L++])}))},a(Vr,Mt),Vr.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Vr.prototype.get=function(i,_){return this.has(i)?this._value:_},Vr.prototype.includes=function(i){return xr(this._value,i)},Vr.prototype.slice=function(i,_){var P=this.size;return Qe(i,_,P)?this:new Vr(this._value,Fe(_,P)-pt(i,P))},Vr.prototype.reverse=function(){return this},Vr.prototype.indexOf=function(i){return xr(this._value,i)?0:-1},Vr.prototype.lastIndexOf=function(i){return xr(this._value,i)?this.size:-1},Vr.prototype.__iterate=function(i,_){for(var P=0;P<this.size;P++)if(i(this._value,P,this)===!1)return P+1;return P},Vr.prototype.__iterator=function(i,_){var P=this,D=0;return new Ke((function(){return D<P.size?dt(i,D++,P._value):ee()}))},Vr.prototype.equals=function(i){return i instanceof Vr?xr(this._value,i._value):mn(i)},a(Qr,Mt),Qr.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},Qr.prototype.get=function(i,_){return this.has(i)?this._start+ze(this,i)*this._step:_},Qr.prototype.includes=function(i){var _=(i-this._start)/this._step;return _>=0&&_<this.size&&_===Math.floor(_)},Qr.prototype.slice=function(i,_){return Qe(i,_,this.size)?this:(i=pt(i,this.size),(_=Fe(_,this.size))<=i?new Qr(0,0):new Qr(this.get(i,this._end),this.get(_,this._end),this._step))},Qr.prototype.indexOf=function(i){var _=i-this._start;if(_%this._step==0){var P=_/this._step;if(P>=0&&P<this.size)return P}return-1},Qr.prototype.lastIndexOf=function(i){return this.indexOf(i)},Qr.prototype.__iterate=function(i,_){for(var P=this.size-1,D=this._step,L=_?this._start+P*D:this._start,re=0;re<=P;re++){if(i(L,re,this)===!1)return re+1;L+=_?-D:D}return re},Qr.prototype.__iterator=function(i,_){var P=this.size-1,D=this._step,L=_?this._start+P*D:this._start,re=0;return new Ke((function(){var ie=L;return L+=_?-D:D,re>P?ee():dt(i,re++,ie)}))},Qr.prototype.equals=function(i){return i instanceof Qr?this._start===i._start&&this._end===i._end&&this._step===i._step:mn(this,i)},a(_n,c),a(Zn,_n),a(Da,_n),a(za,_n),_n.Keyed=Zn,_n.Indexed=Da,_n.Set=za;var tr=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(_,P){var D=65535&(_|=0),L=65535&(P|=0);return D*L+((_>>>16)*L+D*(P>>>16)<<16>>>0)|0};function br(i){return i>>>1&1073741824|3221225471&i}function Ar(i){if(i===!1||i==null||typeof i.valueOf=="function"&&((i=i.valueOf())===!1||i==null))return 0;if(i===!0)return 1;var _=typeof i;if(_==="number"){if(i!=i||i===1/0)return 0;var P=0|i;for(P!==i&&(P^=4294967295*i);i>4294967295;)P^=i/=4294967295;return br(P)}if(_==="string")return i.length>$o?Wr(i):Lr(i);if(typeof i.hashCode=="function")return i.hashCode();if(_==="object")return Xn(i);if(typeof i.toString=="function")return Lr(i.toString());throw new Error("Value type "+_+" cannot be hashed.")}function Wr(i){var _=kr[i];return _===void 0&&(_=Lr(i),ka===Ka&&(ka=0,kr={}),ka++,kr[i]=_),_}function Lr(i){for(var _=0,P=0;P<i.length;P++)_=31*_+i.charCodeAt(P)|0;return br(_)}function Xn(i){var _;if(ea&&(_=nn.get(i))!==void 0||(_=i[oa])!==void 0||!pn&&((_=i.propertyIsEnumerable&&i.propertyIsEnumerable[oa])!==void 0||(_=Dn(i))!==void 0))return _;if(_=++aa,1073741824&aa&&(aa=0),ea)nn.set(i,_);else{if(wn!==void 0&&wn(i)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(pn)Object.defineProperty(i,oa,{enumerable:!1,configurable:!1,writable:!1,value:_});else if(i.propertyIsEnumerable!==void 0&&i.propertyIsEnumerable===i.constructor.prototype.propertyIsEnumerable)i.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},i.propertyIsEnumerable[oa]=_;else{if(i.nodeType===void 0)throw new Error("Unable to set a non-enumerable property on object.");i[oa]=_}}return _}var wn=Object.isExtensible,pn=(function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}})();function Dn(i){if(i&&i.nodeType>0)switch(i.nodeType){case 1:return i.uniqueID;case 9:return i.documentElement&&i.documentElement.uniqueID}}var nn,ea=typeof WeakMap=="function";ea&&(nn=new WeakMap);var aa=0,oa="__immutablehash__";typeof Symbol=="function"&&(oa=Symbol(oa));var $o=16,Ka=255,ka=0,kr={};function an(i){Oa(i!==1/0,"Cannot perform this action with an infinite size.")}function Rt(i){return i==null?vn():gn(i)&&!O(i)?i:vn().withMutations((function(_){var P=v(i);an(P.size),P.forEach((function(D,L){return _.set(L,D)}))}))}function gn(i){return!(!i||!i[lo])}a(Rt,Zn),Rt.of=function(){var i=A.call(arguments,0);return vn().withMutations((function(_){for(var P=0;P<i.length;P+=2){if(P+1>=i.length)throw new Error("Missing value for key: "+i[P]);_.set(i[P],i[P+1])}}))},Rt.prototype.toString=function(){return this.__toString("Map {","}")},Rt.prototype.get=function(i,_){return this._root?this._root.get(0,void 0,i,_):_},Rt.prototype.set=function(i,_){return fa(this,i,_)},Rt.prototype.setIn=function(i,_){return this.updateIn(i,Q,(function(){return _}))},Rt.prototype.remove=function(i){return fa(this,i,Q)},Rt.prototype.deleteIn=function(i){return this.updateIn(i,(function(){return Q}))},Rt.prototype.update=function(i,_,P){return arguments.length===1?i(this):this.updateIn([i],_,P)},Rt.prototype.updateIn=function(i,_,P){P||(P=_,_=void 0);var D=Io(this,cr(i),_,P);return D===Q?void 0:D},Rt.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()},Rt.prototype.merge=function(){return _o(this,void 0,arguments)},Rt.prototype.mergeWith=function(i){return _o(this,i,A.call(arguments,1))},Rt.prototype.mergeIn=function(i){var _=A.call(arguments,1);return this.updateIn(i,vn(),(function(P){return typeof P.merge=="function"?P.merge.apply(P,_):_[_.length-1]}))},Rt.prototype.mergeDeep=function(){return _o(this,jo,arguments)},Rt.prototype.mergeDeepWith=function(i){var _=A.call(arguments,1);return _o(this,fi(i),_)},Rt.prototype.mergeDeepIn=function(i){var _=A.call(arguments,1);return this.updateIn(i,vn(),(function(P){return typeof P.mergeDeep=="function"?P.mergeDeep.apply(P,_):_[_.length-1]}))},Rt.prototype.sort=function(i){return Nr(V(this,i))},Rt.prototype.sortBy=function(i,_){return Nr(V(this,_,i))},Rt.prototype.withMutations=function(i){var _=this.asMutable();return i(_),_.wasAltered()?_.__ensureOwner(this.__ownerID):this},Rt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new ge)},Rt.prototype.asImmutable=function(){return this.__ensureOwner()},Rt.prototype.wasAltered=function(){return this.__altered},Rt.prototype.__iterator=function(i,_){return new Ht(this,i,_)},Rt.prototype.__iterate=function(i,_){var P=this,D=0;return this._root&&this._root.iterate((function(L){return D++,i(L[1],L[0],P)}),_),D},Rt.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?ia(this.size,this._root,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Rt.isMap=gn;var so,lo="@@__IMMUTABLE_MAP__@@",Gt=Rt.prototype;function wa(i,_){this.ownerID=i,this.entries=_}function Wt(i,_,P){this.ownerID=i,this.bitmap=_,this.nodes=P}function fr(i,_,P){this.ownerID=i,this.count=_,this.nodes=P}function dr(i,_,P){this.ownerID=i,this.keyHash=_,this.entries=P}function Cr(i,_,P){this.ownerID=i,this.keyHash=_,this.entry=P}function Ht(i,_,P){this._type=_,this._reverse=P,this._stack=i._root&&Ga(i._root)}function cn(i,_){return dt(i,_[0],_[1])}function Ga(i,_){return{node:i,index:0,__prev:_}}function ia(i,_,P,D){var L=Object.create(Gt);return L.size=i,L._root=_,L.__ownerID=P,L.__hash=D,L.__altered=!1,L}function vn(){return so||(so=ia(0))}function fa(i,_,P){var D,L;if(i._root){var re=Pe(se),ie=Pe(le);if(D=ui(i._root,i.__ownerID,0,void 0,_,P,re,ie),!ie.value)return i;L=i.size+(re.value?P===Q?-1:1:0)}else{if(P===Q)return i;L=1,D=new wa(i.__ownerID,[[_,P]])}return i.__ownerID?(i.size=L,i._root=D,i.__hash=void 0,i.__altered=!0,i):D?ia(L,D):vn()}function ui(i,_,P,D,L,re,ie,ve){return i?i.update(_,P,D,L,re,ie,ve):re===Q?i:(he(ve),he(ie),new Cr(_,D,[L,re]))}function ta(i){return i.constructor===Cr||i.constructor===dr}function bo(i,_,P,D,L){if(i.keyHash===D)return new dr(_,D,[i.entry,L]);var re,ie=(P===0?i.keyHash:i.keyHash>>>P)&H,ve=(P===0?D:D>>>P)&H;return new Wt(_,1<<ie|1<<ve,ie===ve?[bo(i,_,P+q,D,L)]:(re=new Cr(_,D,L),ie<ve?[i,re]:[re,i]))}function Ei(i,_,P,D){i||(i=new ge);for(var L=new Cr(i,Ar(P),[P,D]),re=0;re<_.length;re++){var ie=_[re];L=L.update(i,0,void 0,ie[0],ie[1])}return L}function pi(i,_,P,D){for(var L=0,re=0,ie=new Array(P),ve=0,$e=1,Re=_.length;ve<Re;ve++,$e<<=1){var We=_[ve];We!==void 0&&ve!==D&&(L|=$e,ie[re++]=We)}return new Wt(i,L,ie)}function rs(i,_,P,D,L){for(var re=0,ie=new Array(U),ve=0;P!==0;ve++,P>>>=1)ie[ve]=1&P?_[re++]:void 0;return ie[D]=L,new fr(i,re+1,ie)}function _o(i,_,P){for(var D=[],L=0;L<P.length;L++){var re=P[L],ie=v(re);f(re)||(ie=ie.map((function(ve){return bn(ve)}))),D.push(ie)}return hi(i,_,D)}function jo(i,_,P){return i&&i.mergeDeep&&f(_)?i.mergeDeep(_):xr(i,_)?i:_}function fi(i){return function(_,P,D){if(_&&_.mergeDeepWith&&f(P))return _.mergeDeepWith(i,P);var L=i(_,P,D);return xr(_,L)?_:L}}function hi(i,_,P){return(P=P.filter((function(D){return D.size!==0}))).length===0?i:i.size!==0||i.__ownerID||P.length!==1?i.withMutations((function(D){for(var L=_?function(ie,ve){D.update(ve,Q,(function($e){return $e===Q?ie:_($e,ie,ve)}))}:function(ie,ve){D.set(ve,ie)},re=0;re<P.length;re++)P[re].forEach(L)})):i.constructor(P[0])}function Io(i,_,P,D){var L=i===Q,re=_.next();if(re.done){var ie=L?P:i,ve=D(ie);return ve===ie?i:ve}Oa(L||i&&i.set,"invalid keyPath");var $e=re.value,Re=L?Q:i.get($e,Q),We=Io(Re,_,P,D);return We===Re?i:We===Q?i.remove($e):(L?vn():i).set($e,We)}function di(i){return i=(i=(858993459&(i-=i>>1&1431655765))+(i>>2&858993459))+(i>>4)&252645135,i+=i>>8,127&(i+=i>>16)}function fn(i,_,P,D){var L=D?i:Ce(i);return L[_]=P,L}function Di(i,_,P,D){var L=i.length+1;if(D&&_+1===L)return i[_]=P,i;for(var re=new Array(L),ie=0,ve=0;ve<L;ve++)ve===_?(re[ve]=P,ie=-1):re[ve]=i[ve+ie];return re}function vs(i,_,P){var D=i.length-1;if(P&&_===D)return i.pop(),i;for(var L=new Array(D),re=0,ie=0;ie<D;ie++)ie===_&&(re=1),L[ie]=i[ie+re];return L}Gt[lo]=!0,Gt[W]=Gt.remove,Gt.removeIn=Gt.deleteIn,wa.prototype.get=function(i,_,P,D){for(var L=this.entries,re=0,ie=L.length;re<ie;re++)if(xr(P,L[re][0]))return L[re][1];return D},wa.prototype.update=function(i,_,P,D,L,re,ie){for(var ve=L===Q,$e=this.entries,Re=0,We=$e.length;Re<We&&!xr(D,$e[Re][0]);Re++);var Et=Re<We;if(Et?$e[Re][1]===L:ve)return this;if(he(ie),(ve||!Et)&&he(re),!ve||$e.length!==1){if(!Et&&!ve&&$e.length>=zs)return Ei(i,$e,D,L);var Ct=i&&i===this.ownerID,Bt=Ct?$e:Ce($e);return Et?ve?Re===We-1?Bt.pop():Bt[Re]=Bt.pop():Bt[Re]=[D,L]:Bt.push([D,L]),Ct?(this.entries=Bt,this):new wa(i,Bt)}},Wt.prototype.get=function(i,_,P,D){_===void 0&&(_=Ar(P));var L=1<<((i===0?_:_>>>i)&H),re=this.bitmap;return re&L?this.nodes[di(re&L-1)].get(i+q,_,P,D):D},Wt.prototype.update=function(i,_,P,D,L,re,ie){P===void 0&&(P=Ar(D));var ve=(_===0?P:P>>>_)&H,$e=1<<ve,Re=this.bitmap,We=!!(Re&$e);if(!We&&L===Q)return this;var Et=di(Re&$e-1),Ct=this.nodes,Bt=We?Ct[Et]:void 0,Qt=ui(Bt,i,_+q,P,D,L,re,ie);if(Qt===Bt)return this;if(!We&&Qt&&Ct.length>=_l)return rs(i,Ct,Re,ve,Qt);if(We&&!Qt&&Ct.length===2&&ta(Ct[1^Et]))return Ct[1^Et];if(We&&Qt&&Ct.length===1&&ta(Qt))return Qt;var Rr=i&&i===this.ownerID,Zt=We?Qt?Re:Re^$e:Re|$e,ca=We?Qt?fn(Ct,Et,Qt,Rr):vs(Ct,Et,Rr):Di(Ct,Et,Qt,Rr);return Rr?(this.bitmap=Zt,this.nodes=ca,this):new Wt(i,Zt,ca)},fr.prototype.get=function(i,_,P,D){_===void 0&&(_=Ar(P));var L=(i===0?_:_>>>i)&H,re=this.nodes[L];return re?re.get(i+q,_,P,D):D},fr.prototype.update=function(i,_,P,D,L,re,ie){P===void 0&&(P=Ar(D));var ve=(_===0?P:P>>>_)&H,$e=L===Q,Re=this.nodes,We=Re[ve];if($e&&!We)return this;var Et=ui(We,i,_+q,P,D,L,re,ie);if(Et===We)return this;var Ct=this.count;if(We){if(!Et&&--Ct<wl)return pi(i,Re,Ct,ve)}else Ct++;var Bt=i&&i===this.ownerID,Qt=fn(Re,ve,Et,Bt);return Bt?(this.count=Ct,this.nodes=Qt,this):new fr(i,Ct,Qt)},dr.prototype.get=function(i,_,P,D){for(var L=this.entries,re=0,ie=L.length;re<ie;re++)if(xr(P,L[re][0]))return L[re][1];return D},dr.prototype.update=function(i,_,P,D,L,re,ie){P===void 0&&(P=Ar(D));var ve=L===Q;if(P!==this.keyHash)return ve?this:(he(ie),he(re),bo(this,i,_,P,[D,L]));for(var $e=this.entries,Re=0,We=$e.length;Re<We&&!xr(D,$e[Re][0]);Re++);var Et=Re<We;if(Et?$e[Re][1]===L:ve)return this;if(he(ie),(ve||!Et)&&he(re),ve&&We===2)return new Cr(i,this.keyHash,$e[1^Re]);var Ct=i&&i===this.ownerID,Bt=Ct?$e:Ce($e);return Et?ve?Re===We-1?Bt.pop():Bt[Re]=Bt.pop():Bt[Re]=[D,L]:Bt.push([D,L]),Ct?(this.entries=Bt,this):new dr(i,this.keyHash,Bt)},Cr.prototype.get=function(i,_,P,D){return xr(P,this.entry[0])?this.entry[1]:D},Cr.prototype.update=function(i,_,P,D,L,re,ie){var ve=L===Q,$e=xr(D,this.entry[0]);return($e?L===this.entry[1]:ve)?this:(he(ie),ve?void he(re):$e?i&&i===this.ownerID?(this.entry[1]=L,this):new Cr(i,this.keyHash,[D,L]):(he(re),bo(this,i,_,Ar(D),[D,L])))},wa.prototype.iterate=dr.prototype.iterate=function(i,_){for(var P=this.entries,D=0,L=P.length-1;D<=L;D++)if(i(P[_?L-D:D])===!1)return!1},Wt.prototype.iterate=fr.prototype.iterate=function(i,_){for(var P=this.nodes,D=0,L=P.length-1;D<=L;D++){var re=P[_?L-D:D];if(re&&re.iterate(i,_)===!1)return!1}},Cr.prototype.iterate=function(i,_){return i(this.entry)},a(Ht,Ke),Ht.prototype.next=function(){for(var i=this._type,_=this._stack;_;){var P,D=_.node,L=_.index++;if(D.entry){if(L===0)return cn(i,D.entry)}else if(D.entries){if(L<=(P=D.entries.length-1))return cn(i,D.entries[this._reverse?P-L:L])}else if(L<=(P=D.nodes.length-1)){var re=D.nodes[this._reverse?P-L:L];if(re){if(re.entry)return cn(i,re.entry);_=this._stack=Ga(re,_)}continue}_=this._stack=this._stack.__prev}return ee()};var zs=U/4,_l=U/2,wl=U/4;function Pr(i){var _=Fi();if(i==null)return _;if(Bi(i))return i;var P=d(i),D=P.size;return D===0?_:(an(D),D>0&&D<U?Uo(0,D,q,null,new Ln(P.toArray())):_.withMutations((function(L){L.setSize(D),P.forEach((function(re,ie){return L.set(ie,re)}))})))}function Bi(i){return!(!i||!i[mi])}a(Pr,Da),Pr.of=function(){return this(arguments)},Pr.prototype.toString=function(){return this.__toString("List [","]")},Pr.prototype.get=function(i,_){if((i=ze(this,i))>=0&&i<this.size){var P=ns(this,i+=this._origin);return P&&P.array[i&H]}return _},Pr.prototype.set=function(i,_){return Li(this,i,_)},Pr.prototype.remove=function(i){return this.has(i)?i===0?this.shift():i===this.size-1?this.pop():this.splice(i,1):this},Pr.prototype.insert=function(i,_){return this.splice(i,0,_)},Pr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=q,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Fi()},Pr.prototype.push=function(){var i=arguments,_=this.size;return this.withMutations((function(P){Ba(P,0,_+i.length);for(var D=0;D<i.length;D++)P.set(_+D,i[D])}))},Pr.prototype.pop=function(){return Ba(this,0,-1)},Pr.prototype.unshift=function(){var i=arguments;return this.withMutations((function(_){Ba(_,-i.length);for(var P=0;P<i.length;P++)_.set(P,i[P])}))},Pr.prototype.shift=function(){return Ba(this,1)},Pr.prototype.merge=function(){return ha(this,void 0,arguments)},Pr.prototype.mergeWith=function(i){return ha(this,i,A.call(arguments,1))},Pr.prototype.mergeDeep=function(){return ha(this,jo,arguments)},Pr.prototype.mergeDeepWith=function(i){var _=A.call(arguments,1);return ha(this,fi(i),_)},Pr.prototype.setSize=function(i){return Ba(this,0,i)},Pr.prototype.slice=function(i,_){var P=this.size;return Qe(i,_,P)?this:Ba(this,pt(i,P),Fe(_,P))},Pr.prototype.__iterator=function(i,_){var P=0,D=Eo(this,_);return new Ke((function(){var L=D();return L===Ca?ee():dt(i,P++,L)}))},Pr.prototype.__iterate=function(i,_){for(var P,D=0,L=Eo(this,_);(P=L())!==Ca&&i(P,D++,this)!==!1;);return D},Pr.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?Uo(this._origin,this._capacity,this._level,this._root,this._tail,i,this.__hash):(this.__ownerID=i,this)},Pr.isList=Bi;var mi="@@__IMMUTABLE_LIST__@@",en=Pr.prototype;function Ln(i,_){this.array=i,this.ownerID=_}en[mi]=!0,en[W]=en.remove,en.setIn=Gt.setIn,en.deleteIn=en.removeIn=Gt.removeIn,en.update=Gt.update,en.updateIn=Gt.updateIn,en.mergeIn=Gt.mergeIn,en.mergeDeepIn=Gt.mergeDeepIn,en.withMutations=Gt.withMutations,en.asMutable=Gt.asMutable,en.asImmutable=Gt.asImmutable,en.wasAltered=Gt.wasAltered,Ln.prototype.removeBefore=function(i,_,P){if(P===_?1<<_:this.array.length===0)return this;var D=P>>>_&H;if(D>=this.array.length)return new Ln([],i);var L,re=D===0;if(_>0){var ie=this.array[D];if((L=ie&&ie.removeBefore(i,_-q,P))===ie&&re)return this}if(re&&!L)return this;var ve=Va(this,i);if(!re)for(var $e=0;$e<D;$e++)ve.array[$e]=void 0;return L&&(ve.array[D]=L),ve},Ln.prototype.removeAfter=function(i,_,P){if(P===(_?1<<_:0)||this.array.length===0)return this;var D,L=P-1>>>_&H;if(L>=this.array.length)return this;if(_>0){var re=this.array[L];if((D=re&&re.removeAfter(i,_-q,P))===re&&L===this.array.length-1)return this}var ie=Va(this,i);return ie.array.splice(L+1),D&&(ie.array[L]=D),ie};var wo,gi,Ca={};function Eo(i,_){var P=i._origin,D=i._capacity,L=to(D),re=i._tail;return ie(i._root,i._level,0);function ie(Re,We,Et){return We===0?ve(Re,Et):$e(Re,We,Et)}function ve(Re,We){var Et=We===L?re&&re.array:Re&&Re.array,Ct=We>P?0:P-We,Bt=D-We;return Bt>U&&(Bt=U),function(){if(Ct===Bt)return Ca;var Qt=_?--Bt:Ct++;return Et&&Et[Qt]}}function $e(Re,We,Et){var Ct,Bt=Re&&Re.array,Qt=Et>P?0:P-Et>>We,Rr=1+(D-Et>>We);return Rr>U&&(Rr=U),function(){for(;;){if(Ct){var Zt=Ct();if(Zt!==Ca)return Zt;Ct=null}if(Qt===Rr)return Ca;var ca=_?--Rr:Qt++;Ct=ie(Bt&&Bt[ca],We-q,Et+(ca<<We))}}}}function Uo(i,_,P,D,L,re,ie){var ve=Object.create(en);return ve.size=_-i,ve._origin=i,ve._capacity=_,ve._level=P,ve._root=D,ve._tail=L,ve.__ownerID=re,ve.__hash=ie,ve.__altered=!1,ve}function Fi(){return wo||(wo=Uo(0,0,q))}function Li(i,_,P){if((_=ze(i,_))!=_)return i;if(_>=i.size||_<0)return i.withMutations((function(ie){_<0?Ba(ie,_).set(0,P):Ba(ie,0,_+1).set(_,P)}));_+=i._origin;var D=i._tail,L=i._root,re=Pe(le);return _>=to(i._capacity)?D=Si(D,i.__ownerID,0,_,P,re):L=Si(L,i.__ownerID,i._level,_,P,re),re.value?i.__ownerID?(i._root=L,i._tail=D,i.__hash=void 0,i.__altered=!0,i):Uo(i._origin,i._capacity,i._level,L,D):i}function Si(i,_,P,D,L,re){var ie,ve=D>>>P&H,$e=i&&ve<i.array.length;if(!$e&&L===void 0)return i;if(P>0){var Re=i&&i.array[ve],We=Si(Re,_,P-q,D,L,re);return We===Re?i:((ie=Va(i,_)).array[ve]=We,ie)}return $e&&i.array[ve]===L?i:(he(re),ie=Va(i,_),L===void 0&&ve===ie.array.length-1?ie.array.pop():ie.array[ve]=L,ie)}function Va(i,_){return _&&i&&_===i.ownerID?i:new Ln(i?i.array.slice():[],_)}function ns(i,_){if(_>=to(i._capacity))return i._tail;if(_<1<<i._level+q){for(var P=i._root,D=i._level;P&&D>0;)P=P.array[_>>>D&H],D-=q;return P}}function Ba(i,_,P){_!==void 0&&(_|=0),P!==void 0&&(P|=0);var D=i.__ownerID||new ge,L=i._origin,re=i._capacity,ie=L+_,ve=P===void 0?re:P<0?re+P:L+P;if(ie===L&&ve===re)return i;if(ie>=ve)return i.clear();for(var $e=i._level,Re=i._root,We=0;ie+We<0;)Re=new Ln(Re&&Re.array.length?[void 0,Re]:[],D),We+=1<<($e+=q);We&&(ie+=We,L+=We,ve+=We,re+=We);for(var Et=to(re),Ct=to(ve);Ct>=1<<$e+q;)Re=new Ln(Re&&Re.array.length?[Re]:[],D),$e+=q;var Bt=i._tail,Qt=Ct<Et?ns(i,ve-1):Ct>Et?new Ln([],D):Bt;if(Bt&&Ct>Et&&ie<re&&Bt.array.length){for(var Rr=Re=Va(Re,D),Zt=$e;Zt>q;Zt-=q){var ca=Et>>>Zt&H;Rr=Rr.array[ca]=Va(Rr.array[ca],D)}Rr.array[Et>>>q&H]=Bt}if(ve<re&&(Qt=Qt&&Qt.removeAfter(D,0,ve)),ie>=Ct)ie-=Ct,ve-=Ct,$e=q,Re=null,Qt=Qt&&Qt.removeBefore(D,0,ie);else if(ie>L||Ct<Et){for(We=0;Re;){var Oi=ie>>>$e&H;if(Oi!==Ct>>>$e&H)break;Oi&&(We+=(1<<$e)*Oi),$e-=q,Re=Re.array[Oi]}Re&&ie>L&&(Re=Re.removeBefore(D,$e,ie-We)),Re&&Ct<Et&&(Re=Re.removeAfter(D,$e,Ct-We)),We&&(ie-=We,ve-=We)}return i.__ownerID?(i.size=ve-ie,i._origin=ie,i._capacity=ve,i._level=$e,i._root=Re,i._tail=Qt,i.__hash=void 0,i.__altered=!0,i):Uo(ie,ve,$e,Re,Qt)}function ha(i,_,P){for(var D=[],L=0,re=0;re<P.length;re++){var ie=P[re],ve=d(ie);ve.size>L&&(L=ve.size),f(ie)||(ve=ve.map((function($e){return bn($e)}))),D.push(ve)}return L>i.size&&(i=i.setSize(L)),hi(i,_,D)}function to(i){return i<U?0:i-1>>>q<<q}function Nr(i){return i==null?_r():qo(i)?i:_r().withMutations((function(_){var P=v(i);an(P.size),P.forEach((function(D,L){return _.set(L,D)}))}))}function qo(i){return gn(i)&&O(i)}function as(i,_,P,D){var L=Object.create(Nr.prototype);return L.size=i?i.size:0,L._map=i,L._list=_,L.__ownerID=P,L.__hash=D,L}function _r(){return gi||(gi=as(vn(),Fi()))}function xi(i,_,P){var D,L,re=i._map,ie=i._list,ve=re.get(_),$e=ve!==void 0;if(P===Q){if(!$e)return i;ie.size>=U&&ie.size>=2*re.size?(D=(L=ie.filter((function(Re,We){return Re!==void 0&&ve!==We}))).toKeyedSeq().map((function(Re){return Re[0]})).flip().toMap(),i.__ownerID&&(D.__ownerID=L.__ownerID=i.__ownerID)):(D=re.remove(_),L=ve===ie.size-1?ie.pop():ie.set(ve,void 0))}else if($e){if(P===ie.get(ve)[1])return i;D=re,L=ie.set(ve,[_,P])}else D=re.set(_,ie.size),L=ie.set(ie.size,[_,P]);return i.__ownerID?(i.size=D.size,i._map=D,i._list=L,i.__hash=void 0,i):as(D,L)}function Cn(i,_){this._iter=i,this._useKeys=_,this.size=i.size}function ro(i){this._iter=i,this.size=i.size}function co(i){this._iter=i,this.size=i.size}function ja(i){this._iter=i,this.size=i.size}function os(i){var _=vt(i);return _._iter=i,_.size=i.size,_.flip=function(){return i},_.reverse=function(){var P=i.reverse.apply(this);return P.flip=function(){return i.reverse()},P},_.has=function(P){return i.includes(P)},_.includes=function(P){return i.has(P)},_.cacheResult=Xt,_.__iterateUncached=function(P,D){var L=this;return i.__iterate((function(re,ie){return P(ie,re,L)!==!1}),D)},_.__iteratorUncached=function(P,D){if(P===ue){var L=i.__iterator(P,D);return new Ke((function(){var re=L.next();if(!re.done){var ie=re.value[0];re.value[0]=re.value[1],re.value[1]=ie}return re}))}return i.__iterator(P===Ye?it:Ye,D)},_}function $i(i,_,P){var D=vt(i);return D.size=i.size,D.has=function(L){return i.has(L)},D.get=function(L,re){var ie=i.get(L,Q);return ie===Q?re:_.call(P,ie,L,i)},D.__iterateUncached=function(L,re){var ie=this;return i.__iterate((function(ve,$e,Re){return L(_.call(P,ve,$e,Re),$e,ie)!==!1}),re)},D.__iteratorUncached=function(L,re){var ie=i.__iterator(ue,re);return new Ke((function(){var ve=ie.next();if(ve.done)return ve;var $e=ve.value,Re=$e[0];return dt(L,Re,_.call(P,$e[1],Re,i),ve)}))},D}function Ui(i,_){var P=vt(i);return P._iter=i,P.size=i.size,P.reverse=function(){return i},i.flip&&(P.flip=function(){var D=os(i);return D.reverse=function(){return i.flip()},D}),P.get=function(D,L){return i.get(_?D:-1-D,L)},P.has=function(D){return i.has(_?D:-1-D)},P.includes=function(D){return i.includes(D)},P.cacheResult=Xt,P.__iterate=function(D,L){var re=this;return i.__iterate((function(ie,ve){return D(ie,ve,re)}),!L)},P.__iterator=function(D,L){return i.__iterator(D,!L)},P}function qi(i,_,P,D){var L=vt(i);return D&&(L.has=function(re){var ie=i.get(re,Q);return ie!==Q&&!!_.call(P,ie,re,i)},L.get=function(re,ie){var ve=i.get(re,Q);return ve!==Q&&_.call(P,ve,re,i)?ve:ie}),L.__iterateUncached=function(re,ie){var ve=this,$e=0;return i.__iterate((function(Re,We,Et){if(_.call(P,Re,We,Et))return $e++,re(Re,D?We:$e-1,ve)}),ie),$e},L.__iteratorUncached=function(re,ie){var ve=i.__iterator(ue,ie),$e=0;return new Ke((function(){for(;;){var Re=ve.next();if(Re.done)return Re;var We=Re.value,Et=We[0],Ct=We[1];if(_.call(P,Ct,Et,i))return dt(re,D?Et:$e++,Ct,Re)}}))},L}function bs(i,_,P){var D=Rt().asMutable();return i.__iterate((function(L,re){D.update(_.call(P,L,re,i),0,(function(ie){return ie+1}))})),D.asImmutable()}function El(i,_,P){var D=p(i),L=(O(i)?Nr():Rt()).asMutable();i.__iterate((function(ie,ve){L.update(_.call(P,ie,ve,i),(function($e){return($e=$e||[]).push(D?[ve,ie]:ie),$e}))}));var re=mt(i);return L.map((function(ie){return je(i,re(ie))}))}function Ia(i,_,P,D){var L=i.size;if(_!==void 0&&(_|=0),P!==void 0&&(P===1/0?P=L:P|=0),Qe(_,P,L))return i;var re=pt(_,L),ie=Fe(P,L);if(re!=re||ie!=ie)return Ia(i.toSeq().cacheResult(),_,P,D);var ve,$e=ie-re;$e==$e&&(ve=$e<0?0:$e);var Re=vt(i);return Re.size=ve===0?ve:i.size&&ve||void 0,!D&&be(i)&&ve>=0&&(Re.get=function(We,Et){return(We=ze(this,We))>=0&&We<ve?i.get(We+re,Et):Et}),Re.__iterateUncached=function(We,Et){var Ct=this;if(ve===0)return 0;if(Et)return this.cacheResult().__iterate(We,Et);var Bt=0,Qt=!0,Rr=0;return i.__iterate((function(Zt,ca){if(!Qt||!(Qt=Bt++<re))return Rr++,We(Zt,D?ca:Rr-1,Ct)!==!1&&Rr!==ve})),Rr},Re.__iteratorUncached=function(We,Et){if(ve!==0&&Et)return this.cacheResult().__iterator(We,Et);var Ct=ve!==0&&i.__iterator(We,Et),Bt=0,Qt=0;return new Ke((function(){for(;Bt++<re;)Ct.next();if(++Qt>ve)return ee();var Rr=Ct.next();return D||We===Ye?Rr:dt(We,Qt-1,We===it?void 0:Rr.value[1],Rr)}))},Re}function _s(i,_,P){var D=vt(i);return D.__iterateUncached=function(L,re){var ie=this;if(re)return this.cacheResult().__iterate(L,re);var ve=0;return i.__iterate((function($e,Re,We){return _.call(P,$e,Re,We)&&++ve&&L($e,Re,ie)})),ve},D.__iteratorUncached=function(L,re){var ie=this;if(re)return this.cacheResult().__iterator(L,re);var ve=i.__iterator(ue,re),$e=!0;return new Ke((function(){if(!$e)return ee();var Re=ve.next();if(Re.done)return Re;var We=Re.value,Et=We[0],Ct=We[1];return _.call(P,Ct,Et,ie)?L===ue?Re:dt(L,Et,Ct,Re):($e=!1,ee())}))},D}function is(i,_,P,D){var L=vt(i);return L.__iterateUncached=function(re,ie){var ve=this;if(ie)return this.cacheResult().__iterate(re,ie);var $e=!0,Re=0;return i.__iterate((function(We,Et,Ct){if(!$e||!($e=_.call(P,We,Et,Ct)))return Re++,re(We,D?Et:Re-1,ve)})),Re},L.__iteratorUncached=function(re,ie){var ve=this;if(ie)return this.cacheResult().__iterator(re,ie);var $e=i.__iterator(ue,ie),Re=!0,We=0;return new Ke((function(){var Et,Ct,Bt;do{if((Et=$e.next()).done)return D||re===Ye?Et:dt(re,We++,re===it?void 0:Et.value[1],Et);var Qt=Et.value;Ct=Qt[0],Bt=Qt[1],Re&&(Re=_.call(P,Bt,Ct,ve))}while(Re);return re===ue?Et:dt(re,Ct,Bt,Et)}))},L}function zi(i,_){var P=p(i),D=[i].concat(_).map((function(ie){return f(ie)?P&&(ie=v(ie)):ie=P?St(ie):ut(Array.isArray(ie)?ie:[ie]),ie})).filter((function(ie){return ie.size!==0}));if(D.length===0)return i;if(D.length===1){var L=D[0];if(L===i||P&&p(L)||w(i)&&w(L))return L}var re=new N(D);return P?re=re.toKeyedSeq():w(i)||(re=re.toSetSeq()),(re=re.flatten(!0)).size=D.reduce((function(ie,ve){if(ie!==void 0){var $e=ve.size;if($e!==void 0)return ie+$e}}),0),re}function Po(i,_,P){var D=vt(i);return D.__iterateUncached=function(L,re){var ie=0,ve=!1;function $e(Re,We){var Et=this;Re.__iterate((function(Ct,Bt){return(!_||We<_)&&f(Ct)?$e(Ct,We+1):L(Ct,P?Bt:ie++,Et)===!1&&(ve=!0),!ve}),re)}return $e(i,0),ie},D.__iteratorUncached=function(L,re){var ie=i.__iterator(L,re),ve=[],$e=0;return new Ke((function(){for(;ie;){var Re=ie.next();if(Re.done===!1){var We=Re.value;if(L===ue&&(We=We[1]),_&&!(ve.length<_)||!f(We))return P?Re:dt(L,$e++,We,Re);ve.push(ie),ie=We.__iterator(L,re)}else ie=ve.pop()}return ee()}))},D}function Vs(i,_,P){var D=mt(i);return i.toSeq().map((function(L,re){return D(_.call(P,L,re,i))})).flatten(!0)}function Vi(i,_){var P=vt(i);return P.size=i.size&&2*i.size-1,P.__iterateUncached=function(D,L){var re=this,ie=0;return i.__iterate((function(ve,$e){return(!ie||D(_,ie++,re)!==!1)&&D(ve,ie++,re)!==!1}),L),ie},P.__iteratorUncached=function(D,L){var re,ie=i.__iterator(Ye,L),ve=0;return new Ke((function(){return(!re||ve%2)&&(re=ie.next()).done?re:ve%2?dt(D,ve++,_):dt(D,ve++,re.value,re)}))},P}function V(i,_,P){_||(_=ar);var D=p(i),L=0,re=i.toSeq().map((function(ie,ve){return[ve,ie,L++,P?P(ie,ve,i):ie]})).toArray();return re.sort((function(ie,ve){return _(ie[3],ve[3])||ie[2]-ve[2]})).forEach(D?function(ie,ve){re[ve].length=2}:function(ie,ve){re[ve]=ie[1]}),D?xt(re):w(i)?Mt(re):_t(re)}function pe(i,_,P){if(_||(_=ar),P){var D=i.toSeq().map((function(L,re){return[L,P(L,re,i)]})).reduce((function(L,re){return Ee(_,L[1],re[1])?re:L}));return D&&D[0]}return i.reduce((function(L,re){return Ee(_,L,re)?re:L}))}function Ee(i,_,P){var D=i(P,_);return D===0&&P!==_&&(P==null||P!=P)||D>0}function Be(i,_,P){var D=vt(i);return D.size=new N(P).map((function(L){return L.size})).min(),D.__iterate=function(L,re){for(var ie,ve=this.__iterator(Ye,re),$e=0;!(ie=ve.next()).done&&L(ie.value,$e++,this)!==!1;);return $e},D.__iteratorUncached=function(L,re){var ie=P.map((function(Re){return Re=c(Re),st(re?Re.reverse():Re)})),ve=0,$e=!1;return new Ke((function(){var Re;return $e||(Re=ie.map((function(We){return We.next()})),$e=Re.some((function(We){return We.done}))),$e?ee():dt(L,ve++,_.apply(null,Re.map((function(We){return We.value}))))}))},D}function je(i,_){return be(i)?_:i.constructor(_)}function Ge(i){if(i!==Object(i))throw new TypeError("Expected [K, V] tuple: "+i)}function bt(i){return an(i.size),Je(i)}function mt(i){return p(i)?v:w(i)?d:y}function vt(i){return Object.create((p(i)?xt:w(i)?Mt:_t).prototype)}function Xt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):lt.prototype.cacheResult.call(this)}function ar(i,_){return i>_?1:i<_?-1:0}function cr(i){var _=st(i);if(!_){if(!qt(i))throw new TypeError("Expected iterable or array-like: "+i);_=st(c(i))}return _}function hr(i,_){var P,D=function(ie){if(ie instanceof D)return ie;if(!(this instanceof D))return new D(ie);if(!P){P=!0;var ve=Object.keys(i);Tn(L,ve),L.size=ve.length,L._name=_,L._keys=ve,L._defaultValues=i}this._map=Rt(ie)},L=D.prototype=Object.create(ur);return L.constructor=D,D}a(Nr,Rt),Nr.of=function(){return this(arguments)},Nr.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Nr.prototype.get=function(i,_){var P=this._map.get(i);return P!==void 0?this._list.get(P)[1]:_},Nr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):_r()},Nr.prototype.set=function(i,_){return xi(this,i,_)},Nr.prototype.remove=function(i){return xi(this,i,Q)},Nr.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Nr.prototype.__iterate=function(i,_){var P=this;return this._list.__iterate((function(D){return D&&i(D[1],D[0],P)}),_)},Nr.prototype.__iterator=function(i,_){return this._list.fromEntrySeq().__iterator(i,_)},Nr.prototype.__ensureOwner=function(i){if(i===this.__ownerID)return this;var _=this._map.__ensureOwner(i),P=this._list.__ensureOwner(i);return i?as(_,P,i,this.__hash):(this.__ownerID=i,this._map=_,this._list=P,this)},Nr.isOrderedMap=qo,Nr.prototype[$]=!0,Nr.prototype[W]=Nr.prototype.remove,a(Cn,xt),Cn.prototype.get=function(i,_){return this._iter.get(i,_)},Cn.prototype.has=function(i){return this._iter.has(i)},Cn.prototype.valueSeq=function(){return this._iter.valueSeq()},Cn.prototype.reverse=function(){var i=this,_=Ui(this,!0);return this._useKeys||(_.valueSeq=function(){return i._iter.toSeq().reverse()}),_},Cn.prototype.map=function(i,_){var P=this,D=$i(this,i,_);return this._useKeys||(D.valueSeq=function(){return P._iter.toSeq().map(i,_)}),D},Cn.prototype.__iterate=function(i,_){var P,D=this;return this._iter.__iterate(this._useKeys?function(L,re){return i(L,re,D)}:(P=_?bt(this):0,function(L){return i(L,_?--P:P++,D)}),_)},Cn.prototype.__iterator=function(i,_){if(this._useKeys)return this._iter.__iterator(i,_);var P=this._iter.__iterator(Ye,_),D=_?bt(this):0;return new Ke((function(){var L=P.next();return L.done?L:dt(i,_?--D:D++,L.value,L)}))},Cn.prototype[$]=!0,a(ro,Mt),ro.prototype.includes=function(i){return this._iter.includes(i)},ro.prototype.__iterate=function(i,_){var P=this,D=0;return this._iter.__iterate((function(L){return i(L,D++,P)}),_)},ro.prototype.__iterator=function(i,_){var P=this._iter.__iterator(Ye,_),D=0;return new Ke((function(){var L=P.next();return L.done?L:dt(i,D++,L.value,L)}))},a(co,_t),co.prototype.has=function(i){return this._iter.includes(i)},co.prototype.__iterate=function(i,_){var P=this;return this._iter.__iterate((function(D){return i(D,D,P)}),_)},co.prototype.__iterator=function(i,_){var P=this._iter.__iterator(Ye,_);return new Ke((function(){var D=P.next();return D.done?D:dt(i,D.value,D.value,D)}))},a(ja,xt),ja.prototype.entrySeq=function(){return this._iter.toSeq()},ja.prototype.__iterate=function(i,_){var P=this;return this._iter.__iterate((function(D){if(D){Ge(D);var L=f(D);return i(L?D.get(1):D[1],L?D.get(0):D[0],P)}}),_)},ja.prototype.__iterator=function(i,_){var P=this._iter.__iterator(Ye,_);return new Ke((function(){for(;;){var D=P.next();if(D.done)return D;var L=D.value;if(L){Ge(L);var re=f(L);return dt(i,re?L.get(0):L[0],re?L.get(1):L[1],D)}}}))},ro.prototype.cacheResult=Cn.prototype.cacheResult=co.prototype.cacheResult=ja.prototype.cacheResult=Xt,a(hr,Zn),hr.prototype.toString=function(){return this.__toString(Un(this)+" {","}")},hr.prototype.has=function(i){return this._defaultValues.hasOwnProperty(i)},hr.prototype.get=function(i,_){if(!this.has(i))return _;var P=this._defaultValues[i];return this._map?this._map.get(i,P):P},hr.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var i=this.constructor;return i._empty||(i._empty=Kt(this,vn()))},hr.prototype.set=function(i,_){if(!this.has(i))throw new Error('Cannot set unknown key "'+i+'" on '+Un(this));if(this._map&&!this._map.has(i)&&_===this._defaultValues[i])return this;var P=this._map&&this._map.set(i,_);return this.__ownerID||P===this._map?this:Kt(this,P)},hr.prototype.remove=function(i){if(!this.has(i))return this;var _=this._map&&this._map.remove(i);return this.__ownerID||_===this._map?this:Kt(this,_)},hr.prototype.wasAltered=function(){return this._map.wasAltered()},hr.prototype.__iterator=function(i,_){var P=this;return v(this._defaultValues).map((function(D,L){return P.get(L)})).__iterator(i,_)},hr.prototype.__iterate=function(i,_){var P=this;return v(this._defaultValues).map((function(D,L){return P.get(L)})).__iterate(i,_)},hr.prototype.__ensureOwner=function(i){if(i===this.__ownerID)return this;var _=this._map&&this._map.__ensureOwner(i);return i?Kt(this,_,i):(this.__ownerID=i,this._map=_,this)};var ur=hr.prototype;function Kt(i,_,P){var D=Object.create(Object.getPrototypeOf(i));return D._map=_,D.__ownerID=P,D}function Un(i){return i._name||i.constructor.name||"Record"}function Tn(i,_){try{_.forEach(mr.bind(void 0,i))}catch{}}function mr(i,_){Object.defineProperty(i,_,{get:function(){return this.get(_)},set:function(P){Oa(this.__ownerID,"Cannot set on an immutable record."),this.set(_,P)}})}function Oe(i){return i==null?Kr():Dr(i)&&!O(i)?i:Kr().withMutations((function(_){var P=y(i);an(P.size),P.forEach((function(D){return _.add(D)}))}))}function Dr(i){return!(!i||!i[jr])}ur[W]=ur.remove,ur.deleteIn=ur.removeIn=Gt.removeIn,ur.merge=Gt.merge,ur.mergeWith=Gt.mergeWith,ur.mergeIn=Gt.mergeIn,ur.mergeDeep=Gt.mergeDeep,ur.mergeDeepWith=Gt.mergeDeepWith,ur.mergeDeepIn=Gt.mergeDeepIn,ur.setIn=Gt.setIn,ur.update=Gt.update,ur.updateIn=Gt.updateIn,ur.withMutations=Gt.withMutations,ur.asMutable=Gt.asMutable,ur.asImmutable=Gt.asImmutable,a(Oe,za),Oe.of=function(){return this(arguments)},Oe.fromKeys=function(i){return this(v(i).keySeq())},Oe.prototype.toString=function(){return this.__toString("Set {","}")},Oe.prototype.has=function(i){return this._map.has(i)},Oe.prototype.add=function(i){return or(this,this._map.set(i,!0))},Oe.prototype.remove=function(i){return or(this,this._map.remove(i))},Oe.prototype.clear=function(){return or(this,this._map.clear())},Oe.prototype.union=function(){var i=A.call(arguments,0);return(i=i.filter((function(_){return _.size!==0}))).length===0?this:this.size!==0||this.__ownerID||i.length!==1?this.withMutations((function(_){for(var P=0;P<i.length;P++)y(i[P]).forEach((function(D){return _.add(D)}))})):this.constructor(i[0])},Oe.prototype.intersect=function(){var i=A.call(arguments,0);if(i.length===0)return this;i=i.map((function(P){return y(P)}));var _=this;return this.withMutations((function(P){_.forEach((function(D){i.every((function(L){return L.includes(D)}))||P.remove(D)}))}))},Oe.prototype.subtract=function(){var i=A.call(arguments,0);if(i.length===0)return this;i=i.map((function(P){return y(P)}));var _=this;return this.withMutations((function(P){_.forEach((function(D){i.some((function(L){return L.includes(D)}))&&P.remove(D)}))}))},Oe.prototype.merge=function(){return this.union.apply(this,arguments)},Oe.prototype.mergeWith=function(i){var _=A.call(arguments,1);return this.union.apply(this,_)},Oe.prototype.sort=function(i){return Tr(V(this,i))},Oe.prototype.sortBy=function(i,_){return Tr(V(this,_,i))},Oe.prototype.wasAltered=function(){return this._map.wasAltered()},Oe.prototype.__iterate=function(i,_){var P=this;return this._map.__iterate((function(D,L){return i(L,L,P)}),_)},Oe.prototype.__iterator=function(i,_){return this._map.map((function(P,D){return D})).__iterator(i,_)},Oe.prototype.__ensureOwner=function(i){if(i===this.__ownerID)return this;var _=this._map.__ensureOwner(i);return i?this.__make(_,i):(this.__ownerID=i,this._map=_,this)},Oe.isSet=Dr;var Mr,jr="@@__IMMUTABLE_SET__@@",gr=Oe.prototype;function or(i,_){return i.__ownerID?(i.size=_.size,i._map=_,i):_===i._map?i:_.size===0?i.__empty():i.__make(_)}function hn(i,_){var P=Object.create(gr);return P.size=i?i.size:0,P._map=i,P.__ownerID=_,P}function Kr(){return Mr||(Mr=hn(vn()))}function Tr(i){return i==null?sa():Sn(i)?i:sa().withMutations((function(_){var P=y(i);an(P.size),P.forEach((function(D){return _.add(D)}))}))}function Sn(i){return Dr(i)&&O(i)}gr[jr]=!0,gr[W]=gr.remove,gr.mergeDeep=gr.merge,gr.mergeDeepWith=gr.mergeWith,gr.withMutations=Gt.withMutations,gr.asMutable=Gt.asMutable,gr.asImmutable=Gt.asImmutable,gr.__empty=Kr,gr.__make=hn,a(Tr,Oe),Tr.of=function(){return this(arguments)},Tr.fromKeys=function(i){return this(v(i).keySeq())},Tr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Tr.isOrderedSet=Sn;var Jr,jn=Tr.prototype;function Hn(i,_){var P=Object.create(jn);return P.size=i?i.size:0,P._map=i,P.__ownerID=_,P}function sa(){return Jr||(Jr=Hn(_r()))}function Ir(i){return i==null?ws():Wa(i)?i:ws().unshiftAll(i)}function Wa(i){return!(!i||!i[la])}jn[$]=!0,jn.__empty=sa,jn.__make=Hn,a(Ir,Da),Ir.of=function(){return this(arguments)},Ir.prototype.toString=function(){return this.__toString("Stack [","]")},Ir.prototype.get=function(i,_){var P=this._head;for(i=ze(this,i);P&&i--;)P=P.next;return P?P.value:_},Ir.prototype.peek=function(){return this._head&&this._head.value},Ir.prototype.push=function(){if(arguments.length===0)return this;for(var i=this.size+arguments.length,_=this._head,P=arguments.length-1;P>=0;P--)_={value:arguments[P],next:_};return this.__ownerID?(this.size=i,this._head=_,this.__hash=void 0,this.__altered=!0,this):So(i,_)},Ir.prototype.pushAll=function(i){if((i=d(i)).size===0)return this;an(i.size);var _=this.size,P=this._head;return i.reverse().forEach((function(D){_++,P={value:D,next:P}})),this.__ownerID?(this.size=_,this._head=P,this.__hash=void 0,this.__altered=!0,this):So(_,P)},Ir.prototype.pop=function(){return this.slice(1)},Ir.prototype.unshift=function(){return this.push.apply(this,arguments)},Ir.prototype.unshiftAll=function(i){return this.pushAll(i)},Ir.prototype.shift=function(){return this.pop.apply(this,arguments)},Ir.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):ws()},Ir.prototype.slice=function(i,_){if(Qe(i,_,this.size))return this;var P=pt(i,this.size);if(Fe(_,this.size)!==this.size)return Da.prototype.slice.call(this,i,_);for(var D=this.size-P,L=this._head;P--;)L=L.next;return this.__ownerID?(this.size=D,this._head=L,this.__hash=void 0,this.__altered=!0,this):So(D,L)},Ir.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?So(this.size,this._head,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Ir.prototype.__iterate=function(i,_){if(_)return this.reverse().__iterate(i);for(var P=0,D=this._head;D&&i(D.value,P++,this)!==!1;)D=D.next;return P},Ir.prototype.__iterator=function(i,_){if(_)return this.reverse().__iterator(i);var P=0,D=this._head;return new Ke((function(){if(D){var L=D.value;return D=D.next,dt(i,P++,L)}return ee()}))},Ir.isStack=Wa;var no,la="@@__IMMUTABLE_STACK__@@",Pa=Ir.prototype;function So(i,_,P,D){var L=Object.create(Pa);return L.size=i,L._head=_,L.__ownerID=P,L.__hash=D,L.__altered=!1,L}function ws(){return no||(no=So(0))}function da(i,_){var P=function(D){i.prototype[D]=_[D]};return Object.keys(_).forEach(P),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(_).forEach(P),i}Pa[la]=!0,Pa.withMutations=Gt.withMutations,Pa.asMutable=Gt.asMutable,Pa.asImmutable=Gt.asImmutable,Pa.wasAltered=Gt.wasAltered,c.Iterator=Ke,da(c,{toArray:function(){an(this.size);var i=new Array(this.size||0);return this.valueSeq().__iterate((function(_,P){i[P]=_})),i},toIndexedSeq:function(){return new ro(this)},toJS:function(){return this.toSeq().map((function(i){return i&&typeof i.toJS=="function"?i.toJS():i})).__toJS()},toJSON:function(){return this.toSeq().map((function(i){return i&&typeof i.toJSON=="function"?i.toJSON():i})).__toJS()},toKeyedSeq:function(){return new Cn(this,!0)},toMap:function(){return Rt(this.toKeyedSeq())},toObject:function(){an(this.size);var i={};return this.__iterate((function(_,P){i[P]=_})),i},toOrderedMap:function(){return Nr(this.toKeyedSeq())},toOrderedSet:function(){return Tr(p(this)?this.valueSeq():this)},toSet:function(){return Oe(p(this)?this.valueSeq():this)},toSetSeq:function(){return new co(this)},toSeq:function(){return w(this)?this.toIndexedSeq():p(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ir(p(this)?this.valueSeq():this)},toList:function(){return Pr(p(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(i,_){return this.size===0?i+_:i+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+_},concat:function(){return je(this,zi(this,A.call(arguments,0)))},includes:function(i){return this.some((function(_){return xr(_,i)}))},entries:function(){return this.__iterator(ue)},every:function(i,_){an(this.size);var P=!0;return this.__iterate((function(D,L,re){if(!i.call(_,D,L,re))return P=!1,!1})),P},filter:function(i,_){return je(this,qi(this,i,_,!0))},find:function(i,_,P){var D=this.findEntry(i,_);return D?D[1]:P},forEach:function(i,_){return an(this.size),this.__iterate(_?i.bind(_):i)},join:function(i){an(this.size),i=i!==void 0?""+i:",";var _="",P=!0;return this.__iterate((function(D){P?P=!1:_+=i,_+=D!=null?D.toString():""})),_},keys:function(){return this.__iterator(it)},map:function(i,_){return je(this,$i(this,i,_))},reduce:function(i,_,P){var D,L;return an(this.size),arguments.length<2?L=!0:D=_,this.__iterate((function(re,ie,ve){L?(L=!1,D=re):D=i.call(P,D,re,ie,ve)})),D},reduceRight:function(i,_,P){var D=this.toKeyedSeq().reverse();return D.reduce.apply(D,arguments)},reverse:function(){return je(this,Ui(this,!0))},slice:function(i,_){return je(this,Ia(this,i,_,!0))},some:function(i,_){return!this.every(Wi(i),_)},sort:function(i){return je(this,V(this,i))},values:function(){return this.__iterator(Ye)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some((function(){return!0}))},count:function(i,_){return Je(i?this.toSeq().filter(i,_):this)},countBy:function(i,_){return bs(this,i,_)},equals:function(i){return mn(this,i)},entrySeq:function(){var i=this;if(i._cache)return new N(i._cache);var _=i.toSeq().map(ec).toIndexedSeq();return _.fromEntrySeq=function(){return i.toSeq()},_},filterNot:function(i,_){return this.filter(Wi(i),_)},findEntry:function(i,_,P){var D=P;return this.__iterate((function(L,re,ie){if(i.call(_,L,re,ie))return D=[re,L],!1})),D},findKey:function(i,_){var P=this.findEntry(i,_);return P&&P[0]},findLast:function(i,_,P){return this.toKeyedSeq().reverse().find(i,_,P)},findLastEntry:function(i,_,P){return this.toKeyedSeq().reverse().findEntry(i,_,P)},findLastKey:function(i,_){return this.toKeyedSeq().reverse().findKey(i,_)},first:function(){return this.find(Ve)},flatMap:function(i,_){return je(this,Vs(this,i,_))},flatten:function(i){return je(this,Po(this,i,!0))},fromEntrySeq:function(){return new ja(this)},get:function(i,_){return this.find((function(P,D){return xr(D,i)}),void 0,_)},getIn:function(i,_){for(var P,D=this,L=cr(i);!(P=L.next()).done;){var re=P.value;if((D=D&&D.get?D.get(re,Q):Q)===Q)return _}return D},groupBy:function(i,_){return El(this,i,_)},has:function(i){return this.get(i,Q)!==Q},hasIn:function(i){return this.getIn(i,Q)!==Q},isSubset:function(i){return i=typeof i.includes=="function"?i:c(i),this.every((function(_){return i.includes(_)}))},isSuperset:function(i){return(i=typeof i.isSubset=="function"?i:c(i)).isSubset(this)},keyOf:function(i){return this.findKey((function(_){return xr(_,i)}))},keySeq:function(){return this.toSeq().map(Pc).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(i){return this.toKeyedSeq().reverse().keyOf(i)},max:function(i){return pe(this,i)},maxBy:function(i,_){return pe(this,_,i)},min:function(i){return pe(this,i?Sl(i):Ws)},minBy:function(i,_){return pe(this,_?Sl(_):Ws,i)},rest:function(){return this.slice(1)},skip:function(i){return this.slice(Math.max(0,i))},skipLast:function(i){return je(this,this.toSeq().reverse().skip(i).reverse())},skipWhile:function(i,_){return je(this,is(this,i,_,!0))},skipUntil:function(i,_){return this.skipWhile(Wi(i),_)},sortBy:function(i,_){return je(this,V(this,_,i))},take:function(i){return this.slice(0,Math.max(0,i))},takeLast:function(i){return je(this,this.toSeq().reverse().take(i).reverse())},takeWhile:function(i,_){return je(this,_s(this,i,_))},takeUntil:function(i,_){return this.takeWhile(Wi(i),_)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=Fa(this))}});var xn=c.prototype;xn[j]=!0,xn[ft]=xn.values,xn.__toJS=xn.toArray,xn.__toStringMapper=tc,xn.inspect=xn.toSource=function(){return this.toString()},xn.chain=xn.flatMap,xn.contains=xn.includes,da(v,{flip:function(){return je(this,os(this))},mapEntries:function(i,_){var P=this,D=0;return je(this,this.toSeq().map((function(L,re){return i.call(_,[re,L],D++,P)})).fromEntrySeq())},mapKeys:function(i,_){var P=this;return je(this,this.toSeq().flip().map((function(D,L){return i.call(_,D,L,P)})).flip())}});var Ai=v.prototype;function Pc(i,_){return _}function ec(i,_){return[_,i]}function Wi(i){return function(){return!i.apply(this,arguments)}}function Sl(i){return function(){return-i.apply(this,arguments)}}function tc(i){return typeof i=="string"?JSON.stringify(i):String(i)}function Tc(){return Ce(arguments)}function Ws(i,_){return i<_?1:i>_?-1:0}function Fa(i){if(i.size===1/0)return 0;var _=O(i),P=p(i),D=_?1:0;return Js(i.__iterate(P?_?function(L,re){D=31*D+xl(Ar(L),Ar(re))|0}:function(L,re){D=D+xl(Ar(L),Ar(re))|0}:_?function(L){D=31*D+Ar(L)|0}:function(L){D=D+Ar(L)|0}),D)}function Js(i,_){return _=tr(_,3432918353),_=tr(_<<15|_>>>-15,461845907),_=tr(_<<13|_>>>-13,5),_=tr((_=_+3864292196^i)^_>>>16,2246822507),_=br((_=tr(_^_>>>13,3266489909))^_>>>16)}function xl(i,_){return i^_+2654435769+(i<<6)+(i>>2)}return Ai[I]=!0,Ai[ft]=xn.entries,Ai.__toJS=xn.toObject,Ai.__toStringMapper=function(i,_){return JSON.stringify(_)+": "+tc(i)},da(d,{toKeyedSeq:function(){return new Cn(this,!1)},filter:function(i,_){return je(this,qi(this,i,_,!1))},findIndex:function(i,_){var P=this.findEntry(i,_);return P?P[0]:-1},indexOf:function(i){var _=this.keyOf(i);return _===void 0?-1:_},lastIndexOf:function(i){var _=this.lastKeyOf(i);return _===void 0?-1:_},reverse:function(){return je(this,Ui(this,!1))},slice:function(i,_){return je(this,Ia(this,i,_,!1))},splice:function(i,_){var P=arguments.length;if(_=Math.max(0|_,0),P===0||P===2&&!_)return this;i=pt(i,i<0?this.count():this.size);var D=this.slice(0,i);return je(this,P===1?D:D.concat(Ce(arguments,2),this.slice(i+_)))},findLastIndex:function(i,_){var P=this.findLastEntry(i,_);return P?P[0]:-1},first:function(){return this.get(0)},flatten:function(i){return je(this,Po(this,i,!1))},get:function(i,_){return(i=ze(this,i))<0||this.size===1/0||this.size!==void 0&&i>this.size?_:this.find((function(P,D){return D===i}),void 0,_)},has:function(i){return(i=ze(this,i))>=0&&(this.size!==void 0?this.size===1/0||i<this.size:this.indexOf(i)!==-1)},interpose:function(i){return je(this,Vi(this,i))},interleave:function(){var i=[this].concat(Ce(arguments)),_=Be(this.toSeq(),Mt.of,i),P=_.flatten(!0);return _.size&&(P.size=_.size*i.length),je(this,P)},keySeq:function(){return Qr(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(i,_){return je(this,is(this,i,_,!1))},zip:function(){return je(this,Be(this,Tc,[this].concat(Ce(arguments))))},zipWith:function(i){var _=Ce(arguments);return _[0]=this,je(this,Be(this,i,_))}}),d.prototype[M]=!0,d.prototype[$]=!0,da(y,{get:function(i,_){return this.has(i)?i:_},includes:function(i){return this.has(i)},keySeq:function(){return this.valueSeq()}}),y.prototype.has=xn.includes,y.prototype.contains=y.prototype.includes,da(xt,v.prototype),da(Mt,d.prototype),da(_t,y.prototype),da(Zn,v.prototype),da(Da,d.prototype),da(za,y.prototype),{Iterable:c,Seq:lt,Collection:_n,Map:Rt,OrderedMap:Nr,List:Pr,Stack:Ir,Set:Oe,OrderedSet:Tr,Record:hr,Range:Qr,Repeat:Vr,is:xr,fromJS:bn}})()},9748:(m,A,a)=>{a(71340);var c=a(92046);m.exports=c.Object.assign},9957:(m,A,a)=>{var c=Function.prototype.call,v=Object.prototype.hasOwnProperty,d=a(66743);m.exports=d.call(c,v)},9999:(m,A,a)=>{var c=a(37217),v=a(83729),d=a(16547),y=a(74733),f=a(43838),p=a(93290),w=a(23007),x=a(92271),O=a(48948),j=a(50002),I=a(83349),M=a(5861),$=a(76189),W=a(77199),q=a(35529),U=a(56449),H=a(3656),Q=a(87730),se=a(23805),le=a(38440),Pe=a(95950),he=a(37241),ge="[object Arguments]",Ce="[object Function]",Je="[object Object]",ze={};ze[ge]=ze["[object Array]"]=ze["[object ArrayBuffer]"]=ze["[object DataView]"]=ze["[object Boolean]"]=ze["[object Date]"]=ze["[object Float32Array]"]=ze["[object Float64Array]"]=ze["[object Int8Array]"]=ze["[object Int16Array]"]=ze["[object Int32Array]"]=ze["[object Map]"]=ze["[object Number]"]=ze[Je]=ze["[object RegExp]"]=ze["[object Set]"]=ze["[object String]"]=ze["[object Symbol]"]=ze["[object Uint8Array]"]=ze["[object Uint8ClampedArray]"]=ze["[object Uint16Array]"]=ze["[object Uint32Array]"]=!0,ze["[object Error]"]=ze[Ce]=ze["[object WeakMap]"]=!1,m.exports=function Ve(Qe,pt,Fe,g,it,Ye){var ue,Te=1&pt,et=2&pt,ft=4&pt;if(Fe&&(ue=it?Fe(Qe,g,it,Ye):Fe(Qe)),ue!==void 0)return ue;if(!se(Qe))return Qe;var Ke=U(Qe);if(Ke){if(ue=$(Qe),!Te)return w(Qe,ue)}else{var dt=M(Qe),ee=dt==Ce||dt=="[object GeneratorFunction]";if(H(Qe))return p(Qe,Te);if(dt==Je||dt==ge||ee&&!it){if(ue=et||ee?{}:q(Qe),!Te)return et?O(Qe,f(ue,Qe)):x(Qe,y(ue,Qe))}else{if(!ze[dt])return it?Qe:{};ue=W(Qe,dt,Te)}}Ye||(Ye=new c);var _e=Ye.get(Qe);if(_e)return _e;Ye.set(Qe,ue),le(Qe)?Qe.forEach((function(st){ue.add(Ve(st,pt,Fe,st,Qe,Ye))})):Q(Qe)&&Qe.forEach((function(st,Ut){ue.set(Ut,Ve(st,pt,Fe,Ut,Qe,Ye))}));var nt=Ke?void 0:(ft?et?I:j:et?he:Pe)(Qe);return v(nt||Qe,(function(st,Ut){nt&&(st=Qe[Ut=st]),d(ue,Ut,Ve(st,pt,Fe,Ut,Qe,Ye))})),ue}},10023:(m,A,a)=>{const c=a(6205),v=()=>[{type:c.RANGE,from:48,to:57}],d=()=>[{type:c.CHAR,value:95},{type:c.RANGE,from:97,to:122},{type:c.RANGE,from:65,to:90}].concat(v()),y=()=>[{type:c.CHAR,value:9},{type:c.CHAR,value:10},{type:c.CHAR,value:11},{type:c.CHAR,value:12},{type:c.CHAR,value:13},{type:c.CHAR,value:32},{type:c.CHAR,value:160},{type:c.CHAR,value:5760},{type:c.RANGE,from:8192,to:8202},{type:c.CHAR,value:8232},{type:c.CHAR,value:8233},{type:c.CHAR,value:8239},{type:c.CHAR,value:8287},{type:c.CHAR,value:12288},{type:c.CHAR,value:65279}];A.words=()=>({type:c.SET,set:d(),not:!1}),A.notWords=()=>({type:c.SET,set:d(),not:!0}),A.ints=()=>({type:c.SET,set:v(),not:!1}),A.notInts=()=>({type:c.SET,set:v(),not:!0}),A.whitespace=()=>({type:c.SET,set:y(),not:!1}),A.notWhitespace=()=>({type:c.SET,set:y(),not:!0}),A.anyChar=()=>({type:c.SET,set:[{type:c.CHAR,value:10},{type:c.CHAR,value:13},{type:c.CHAR,value:8232},{type:c.CHAR,value:8233}],not:!0})},10043:(m,A,a)=>{var c=a(54018),v=String,d=TypeError;m.exports=function(y){if(c(y))return y;throw new d("Can't set "+v(y)+" as a prototype")}},10076:m=>{m.exports=Function.prototype.call},10124:(m,A,a)=>{var c=a(9325);m.exports=function(){return c.Date.now()}},10300:(m,A,a)=>{var c=a(13930),v=a(82159),d=a(36624),y=a(4640),f=a(73448),p=TypeError;m.exports=function(w,x){var O=arguments.length<2?f(w):x;if(v(O))return d(c(O,w));throw new p(y(w)+" is not iterable")}},10316:(m,A,a)=>{const c=a(2404),v=a(55973),d=a(92340);class y{constructor(p,w,x){w&&(this.meta=w),x&&(this.attributes=x),this.content=p}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((p=>{p.parent=this,p.freeze()}),this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const p=new this.constructor;return p.element=this.element,this.meta.length&&(p._meta=this.meta.clone()),this.attributes.length&&(p._attributes=this.attributes.clone()),this.content?this.content.clone?p.content=this.content.clone():Array.isArray(this.content)?p.content=this.content.map((w=>w.clone())):p.content=this.content:p.content=this.content,p}toValue(){return this.content instanceof y?this.content.toValue():this.content instanceof v?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map((p=>p.toValue()),this):this.content}toRef(p){if(this.id.toValue()==="")throw Error("Cannot create reference to an element that does not contain an ID");const w=new this.RefElement(this.id.toValue());return p&&(w.path=p),w}findRecursive(...p){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 w=p.pop();let x=new d;const O=(I,M)=>(I.push(M),I),j=(I,M)=>{M.element===w&&I.push(M);const $=M.findRecursive(w);return $&&$.reduce(O,I),M.content instanceof v&&(M.content.key&&j(I,M.content.key),M.content.value&&j(I,M.content.value)),I};return this.content&&(this.content.element&&j(x,this.content),Array.isArray(this.content)&&this.content.reduce(j,x)),p.isEmpty||(x=x.filter((I=>{let M=I.parents.map(($=>$.element));for(const $ in p){const W=p[$],q=M.indexOf(W);if(q===-1)return!1;M=M.splice(0,q)}return!0}))),x}set(p){return this.content=p,this}equals(p){return c(this.toValue(),p)}getMetaProperty(p,w){if(!this.meta.hasKey(p)){if(this.isFrozen){const x=this.refract(w);return x.freeze(),x}this.meta.set(p,w)}return this.meta.get(p)}setMetaProperty(p,w){this.meta.set(p,w)}get element(){return this._storedElement||"element"}set element(p){this._storedElement=p}get content(){return this._content}set content(p){if(p instanceof y)this._content=p;else if(p instanceof d)this.content=p.elements;else if(typeof p=="string"||typeof p=="number"||typeof p=="boolean"||p==="null"||p==null)this._content=p;else if(p instanceof v)this._content=p;else if(Array.isArray(p))this._content=p.map(this.refract);else{if(typeof p!="object")throw new Error("Cannot set content to given value");this._content=Object.keys(p).map((w=>new this.MemberElement(w,p[w])))}}get meta(){if(!this._meta){if(this.isFrozen){const p=new this.ObjectElement;return p.freeze(),p}this._meta=new this.ObjectElement}return this._meta}set meta(p){p instanceof this.ObjectElement?this._meta=p:this.meta.set(p||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const p=new this.ObjectElement;return p.freeze(),p}this._attributes=new this.ObjectElement}return this._attributes}set attributes(p){p instanceof this.ObjectElement?this._attributes=p:this.attributes.set(p||{})}get id(){return this.getMetaProperty("id","")}set id(p){this.setMetaProperty("id",p)}get classes(){return this.getMetaProperty("classes",[])}set classes(p){this.setMetaProperty("classes",p)}get title(){return this.getMetaProperty("title","")}set title(p){this.setMetaProperty("title",p)}get description(){return this.getMetaProperty("description","")}set description(p){this.setMetaProperty("description",p)}get links(){return this.getMetaProperty("links",[])}set links(p){this.setMetaProperty("links",p)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:p}=this;const w=new d;for(;p;)w.push(p),p=p.parent;return w}get children(){if(Array.isArray(this.content))return new d(this.content);if(this.content instanceof v){const p=new d([this.content.key]);return this.content.value&&p.push(this.content.value),p}return this.content instanceof y?new d([this.content]):new d}get recursiveChildren(){const p=new d;return this.children.forEach((w=>{p.push(w),w.recursiveChildren.forEach((x=>{p.push(x)}))})),p}}m.exports=y},10392:m=>{m.exports=function(a,c){return a?.[c]}},10487:(m,A,a)=>{var c=a(96897),v=a(30655),d=a(73126),y=a(12205);m.exports=function(p){var w=d(arguments),x=p.length-(arguments.length-1);return c(w,1+(x>0?x:0),!0)},v?v(m.exports,"apply",{value:y}):m.exports.apply=y},10776:(m,A,a)=>{var c=a(30756),v=a(95950);m.exports=function(y){for(var f=v(y),p=f.length;p--;){var w=f[p],x=y[w];f[p]=[w,x,c(x)]}return f}},10866:(m,A,a)=>{const c=a(6048),v=a(92340);class d extends v{map(f,p){return this.elements.map((w=>f.bind(p)(w.value,w.key,w)))}filter(f,p){return new d(this.elements.filter((w=>f.bind(p)(w.value,w.key,w))))}reject(f,p){return this.filter(c(f.bind(p)))}forEach(f,p){return this.elements.forEach(((w,x)=>{f.bind(p)(w.value,w.key,w,x)}))}keys(){return this.map(((f,p)=>p.toValue()))}values(){return this.map((f=>f.toValue()))}}m.exports=d},11002:m=>{m.exports=Function.prototype.apply},11042:(m,A,a)=>{var c=a(85582),v=a(1907),d=a(24443),y=a(87170),f=a(36624),p=v([].concat);m.exports=c("Reflect","ownKeys")||function(x){var O=d.f(f(x)),j=y.f;return j?p(O,j(x)):O}},11091:(m,A,a)=>{var c=a(45951),v=a(76024),d=a(92361),y=a(62250),f=a(13846).f,p=a(7463),w=a(92046),x=a(28311),O=a(61626),j=a(49724);a(36128);var I=function(M){var $=function(W,q,U){if(this instanceof $){switch(arguments.length){case 0:return new M;case 1:return new M(W);case 2:return new M(W,q)}return new M(W,q,U)}return v(M,this,arguments)};return $.prototype=M.prototype,$};m.exports=function(M,$){var W,q,U,H,Q,se,le,Pe,he,ge=M.target,Ce=M.global,Je=M.stat,ze=M.proto,Ve=Ce?c:Je?c[ge]:c[ge]&&c[ge].prototype,Qe=Ce?w:w[ge]||O(w,ge,{})[ge],pt=Qe.prototype;for(H in $)q=!(W=p(Ce?H:ge+(Je?".":"#")+H,M.forced))&&Ve&&j(Ve,H),se=Qe[H],q&&(le=M.dontCallGetSet?(he=f(Ve,H))&&he.value:Ve[H]),Q=q&&le?le:$[H],(W||ze||typeof se!=typeof Q)&&(Pe=M.bind&&q?x(Q,c):M.wrap&&q?I(Q):ze&&y(Q)?d(Q):Q,(M.sham||Q&&Q.sham||se&&se.sham)&&O(Pe,"sham",!0),O(Qe,H,Pe),ze&&(j(w,U=ge+"Prototype")||O(w,U,{}),O(w[U],H,Q),M.real&&pt&&(W||!pt[H])&&O(pt,H,Q)))}},11287:m=>{m.exports=function(a){return a.placeholder}},11331:(m,A,a)=>{var c=a(72552),v=a(28879),d=a(40346),y=Function.prototype,f=Object.prototype,p=y.toString,w=f.hasOwnProperty,x=p.call(Object);m.exports=function(j){if(!d(j)||c(j)!="[object Object]")return!1;var I=v(j);if(I===null)return!0;var M=w.call(I,"constructor")&&I.constructor;return typeof M=="function"&&M instanceof M&&p.call(M)==x}},11470:(m,A,a)=>{var c=a(1907),v=a(65482),d=a(90160),y=a(74239),f=c("".charAt),p=c("".charCodeAt),w=c("".slice),x=function(O){return function(j,I){var M,$,W=d(y(j)),q=v(I),U=W.length;return q<0||q>=U?O?"":void 0:(M=p(W,q))<55296||M>56319||q+1===U||($=p(W,q+1))<56320||$>57343?O?f(W,q):M:O?w(W,q,q+2):$-56320+(M-55296<<10)+65536}};m.exports={codeAt:x(!1),charAt:x(!0)}},11842:(m,A,a)=>{var c=a(82819),v=a(9325);m.exports=function(y,f,p){var w=1&f,x=c(y);return function O(){return(this&&this!==v&&this instanceof O?x:y).apply(w?p:this,arguments)}}},12205:(m,A,a)=>{var c=a(66743),v=a(11002),d=a(13144);m.exports=function(){return d(c,v,arguments)}},12242:(m,A,a)=>{const c=a(10316);m.exports=class extends c{constructor(d,y,f){super(d,y,f),this.element="boolean"}primitive(){return"boolean"}}},12507:(m,A,a)=>{var c=a(28754),v=a(49698),d=a(63912),y=a(13222);m.exports=function(p){return function(w){w=y(w);var x=v(w)?d(w):void 0,O=x?x[0]:w.charAt(0),j=x?c(x,1).join(""):w.slice(1);return O[p]()+j}}},12560:(m,A,a)=>{a(99363);var c=a(19287),v=a(45951),d=a(14840),y=a(93742);for(var f in c)d(v[f],f),y[f]=y.Array},12651:(m,A,a)=>{var c=a(74218);m.exports=function(d,y){var f=d.__data__;return c(y)?f[typeof y=="string"?"string":"hash"]:f.map}},12749:(m,A,a)=>{var c=a(81042),v=Object.prototype.hasOwnProperty;m.exports=function(y){var f=this.__data__;return c?f[y]!==void 0:v.call(f,y)}},13144:(m,A,a)=>{var c=a(66743),v=a(11002),d=a(10076),y=a(47119);m.exports=y||c.call(d,v)},13222:(m,A,a)=>{var c=a(77556);m.exports=function(d){return d==null?"":c(d)}},13846:(m,A,a)=>{var c=a(39447),v=a(13930),d=a(22574),y=a(75817),f=a(4993),p=a(70470),w=a(49724),x=a(73648),O=Object.getOwnPropertyDescriptor;A.f=c?O:function(I,M){if(I=f(I),M=p(M),x)try{return O(I,M)}catch{}if(w(I,M))return y(!v(d.f,I,M),I[M])}},13930:(m,A,a)=>{var c=a(41505),v=Function.prototype.call;m.exports=c?v.bind(v):function(){return v.apply(v,arguments)}},14248:m=>{m.exports=function(a,c){for(var v=-1,d=a==null?0:a.length;++v<d;)if(c(a[v],v,a))return!0;return!1}},14528:m=>{m.exports=function(a,c){for(var v=-1,d=c.length,y=a.length;++v<d;)a[y+v]=c[v];return a}},14540:(m,A,a)=>{const c=a(10316);m.exports=class extends c{constructor(d,y,f){super(d||[],y,f),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(d){this.attributes.set("path",d)}}},14744:m=>{var A=function(O){return(function(I){return!!I&&typeof I=="object"})(O)&&!(function(I){var M=Object.prototype.toString.call(I);return M==="[object RegExp]"||M==="[object Date]"||(function(W){return W.$$typeof===a})(I)})(O)},a=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.element"):60103;function c(x,O){return O.clone!==!1&&O.isMergeableObject(x)?p((function(I){return Array.isArray(I)?[]:{}})(x),x,O):x}function v(x,O,j){return x.concat(O).map((function(I){return c(I,j)}))}function d(x){return Object.keys(x).concat((function(j){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(j).filter((function(I){return Object.propertyIsEnumerable.call(j,I)})):[]})(x))}function y(x,O){try{return O in x}catch{return!1}}function f(x,O,j){var I={};return j.isMergeableObject(x)&&d(x).forEach((function(M){I[M]=c(x[M],j)})),d(O).forEach((function(M){(function(W,q){return y(W,q)&&!(Object.hasOwnProperty.call(W,q)&&Object.propertyIsEnumerable.call(W,q))})(x,M)||(y(x,M)&&j.isMergeableObject(O[M])?I[M]=(function(W,q){if(!q.customMerge)return p;var U=q.customMerge(W);return typeof U=="function"?U:p})(M,j)(x[M],O[M],j):I[M]=c(O[M],j))})),I}function p(x,O,j){(j=j||{}).arrayMerge=j.arrayMerge||v,j.isMergeableObject=j.isMergeableObject||A,j.cloneUnlessOtherwiseSpecified=c;var I=Array.isArray(O);return I===Array.isArray(x)?I?j.arrayMerge(x,O,j):f(x,O,j):c(O,j)}p.all=function(O,j){if(!Array.isArray(O))throw new Error("first argument should be an array");return O.reduce((function(I,M){return p(I,M,j)}),{})};var w=p;m.exports=w},14792:(m,A,a)=>{var c=a(13222),v=a(55808);m.exports=function(y){return v(c(y).toLowerCase())}},14840:(m,A,a)=>{var c=a(52623),v=a(74284).f,d=a(61626),y=a(49724),f=a(54878),p=a(76264)("toStringTag");m.exports=function(w,x,O,j){var I=O?w:w&&w.prototype;I&&(y(I,p)||v(I,p,{configurable:!0,value:x}),j&&!c&&d(I,"toString",f))}},14974:m=>{m.exports=function(a,c){if((c!=="constructor"||typeof a[c]!="function")&&c!="__proto__")return a[c]}},15287:(m,A)=>{var a=Symbol.for("react.element"),c=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),p=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),O=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),I=Symbol.iterator,M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,W={};function q(ue,Te,et){this.props=ue,this.context=Te,this.refs=W,this.updater=et||M}function U(){}function H(ue,Te,et){this.props=ue,this.context=Te,this.refs=W,this.updater=et||M}q.prototype.isReactComponent={},q.prototype.setState=function(ue,Te){if(typeof ue!="object"&&typeof ue!="function"&&ue!=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,ue,Te,"setState")},q.prototype.forceUpdate=function(ue){this.updater.enqueueForceUpdate(this,ue,"forceUpdate")},U.prototype=q.prototype;var Q=H.prototype=new U;Q.constructor=H,$(Q,q.prototype),Q.isPureReactComponent=!0;var se=Array.isArray,le=Object.prototype.hasOwnProperty,Pe={current:null},he={key:!0,ref:!0,__self:!0,__source:!0};function ge(ue,Te,et){var ft,Ke={},dt=null,ee=null;if(Te!=null)for(ft in Te.ref!==void 0&&(ee=Te.ref),Te.key!==void 0&&(dt=""+Te.key),Te)le.call(Te,ft)&&!he.hasOwnProperty(ft)&&(Ke[ft]=Te[ft]);var _e=arguments.length-2;if(_e===1)Ke.children=et;else if(1<_e){for(var nt=Array(_e),st=0;st<_e;st++)nt[st]=arguments[st+2];Ke.children=nt}if(ue&&ue.defaultProps)for(ft in _e=ue.defaultProps)Ke[ft]===void 0&&(Ke[ft]=_e[ft]);return{$$typeof:a,type:ue,key:dt,ref:ee,props:Ke,_owner:Pe.current}}function Ce(ue){return typeof ue=="object"&&ue!==null&&ue.$$typeof===a}var Je=/\/+/g;function ze(ue,Te){return typeof ue=="object"&&ue!==null&&ue.key!=null?(function(ft){var Ke={"=":"=0",":":"=2"};return"$"+ft.replace(/[=:]/g,(function(dt){return Ke[dt]}))})(""+ue.key):Te.toString(36)}function Ve(ue,Te,et,ft,Ke){var dt=typeof ue;dt!=="undefined"&&dt!=="boolean"||(ue=null);var ee=!1;if(ue===null)ee=!0;else switch(dt){case"string":case"number":ee=!0;break;case"object":switch(ue.$$typeof){case a:case c:ee=!0}}if(ee)return Ke=Ke(ee=ue),ue=ft===""?"."+ze(ee,0):ft,se(Ke)?(et="",ue!=null&&(et=ue.replace(Je,"$&/")+"/"),Ve(Ke,Te,et,"",(function(st){return st}))):Ke!=null&&(Ce(Ke)&&(Ke=(function(Ut,qt){return{$$typeof:a,type:Ut.type,key:qt,ref:Ut.ref,props:Ut.props,_owner:Ut._owner}})(Ke,et+(!Ke.key||ee&&ee.key===Ke.key?"":(""+Ke.key).replace(Je,"$&/")+"/")+ue)),Te.push(Ke)),1;if(ee=0,ft=ft===""?".":ft+":",se(ue))for(var _e=0;_e<ue.length;_e++){var nt=ft+ze(dt=ue[_e],_e);ee+=Ve(dt,Te,et,nt,Ke)}else if(nt=(function(Ut){return Ut===null||typeof Ut!="object"?null:typeof(Ut=I&&Ut[I]||Ut["@@iterator"])=="function"?Ut:null})(ue),typeof nt=="function")for(ue=nt.call(ue),_e=0;!(dt=ue.next()).done;)ee+=Ve(dt=dt.value,Te,et,nt=ft+ze(dt,_e++),Ke);else if(dt==="object")throw Te=String(ue),Error("Objects are not valid as a React child (found: "+(Te==="[object Object]"?"object with keys {"+Object.keys(ue).join(", ")+"}":Te)+"). If you meant to render a collection of children, use an array instead.");return ee}function Qe(ue,Te,et){if(ue==null)return ue;var ft=[],Ke=0;return Ve(ue,ft,"","",(function(dt){return Te.call(et,dt,Ke++)})),ft}function pt(ue){if(ue._status===-1){var Te=ue._result;(Te=Te()).then((function(et){ue._status!==0&&ue._status!==-1||(ue._status=1,ue._result=et)}),(function(et){ue._status!==0&&ue._status!==-1||(ue._status=2,ue._result=et)})),ue._status===-1&&(ue._status=0,ue._result=Te)}if(ue._status===1)return ue._result.default;throw ue._result}var Fe={current:null},g={transition:null},it={ReactCurrentDispatcher:Fe,ReactCurrentBatchConfig:g,ReactCurrentOwner:Pe};function Ye(){throw Error("act(...) is not supported in production builds of React.")}A.Children={map:Qe,forEach:function(ue,Te,et){Qe(ue,(function(){Te.apply(this,arguments)}),et)},count:function(ue){var Te=0;return Qe(ue,(function(){Te++})),Te},toArray:function(ue){return Qe(ue,(function(Te){return Te}))||[]},only:function(ue){if(!Ce(ue))throw Error("React.Children.only expected to receive a single React element child.");return ue}},A.Component=q,A.Fragment=v,A.Profiler=y,A.PureComponent=H,A.StrictMode=d,A.Suspense=x,A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=it,A.act=Ye,A.cloneElement=function(ue,Te,et){if(ue==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+ue+".");var ft=$({},ue.props),Ke=ue.key,dt=ue.ref,ee=ue._owner;if(Te!=null){if(Te.ref!==void 0&&(dt=Te.ref,ee=Pe.current),Te.key!==void 0&&(Ke=""+Te.key),ue.type&&ue.type.defaultProps)var _e=ue.type.defaultProps;for(nt in Te)le.call(Te,nt)&&!he.hasOwnProperty(nt)&&(ft[nt]=Te[nt]===void 0&&_e!==void 0?_e[nt]:Te[nt])}var nt=arguments.length-2;if(nt===1)ft.children=et;else if(1<nt){_e=Array(nt);for(var st=0;st<nt;st++)_e[st]=arguments[st+2];ft.children=_e}return{$$typeof:a,type:ue.type,key:Ke,ref:dt,props:ft,_owner:ee}},A.createContext=function(ue){return(ue={$$typeof:p,_currentValue:ue,_currentValue2:ue,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:f,_context:ue},ue.Consumer=ue},A.createElement=ge,A.createFactory=function(ue){var Te=ge.bind(null,ue);return Te.type=ue,Te},A.createRef=function(){return{current:null}},A.forwardRef=function(ue){return{$$typeof:w,render:ue}},A.isValidElement=Ce,A.lazy=function(ue){return{$$typeof:j,_payload:{_status:-1,_result:ue},_init:pt}},A.memo=function(ue,Te){return{$$typeof:O,type:ue,compare:Te===void 0?null:Te}},A.startTransition=function(ue){var Te=g.transition;g.transition={};try{ue()}finally{g.transition=Te}},A.unstable_act=Ye,A.useCallback=function(ue,Te){return Fe.current.useCallback(ue,Te)},A.useContext=function(ue){return Fe.current.useContext(ue)},A.useDebugValue=function(){},A.useDeferredValue=function(ue){return Fe.current.useDeferredValue(ue)},A.useEffect=function(ue,Te){return Fe.current.useEffect(ue,Te)},A.useId=function(){return Fe.current.useId()},A.useImperativeHandle=function(ue,Te,et){return Fe.current.useImperativeHandle(ue,Te,et)},A.useInsertionEffect=function(ue,Te){return Fe.current.useInsertionEffect(ue,Te)},A.useLayoutEffect=function(ue,Te){return Fe.current.useLayoutEffect(ue,Te)},A.useMemo=function(ue,Te){return Fe.current.useMemo(ue,Te)},A.useReducer=function(ue,Te,et){return Fe.current.useReducer(ue,Te,et)},A.useRef=function(ue){return Fe.current.useRef(ue)},A.useState=function(ue){return Fe.current.useState(ue)},A.useSyncExternalStore=function(ue,Te,et){return Fe.current.useSyncExternalStore(ue,Te,et)},A.useTransition=function(){return Fe.current.useTransition()},A.version="18.3.1"},15325:(m,A,a)=>{var c=a(96131);m.exports=function(d,y){return!!(d!=null&&d.length)&&c(d,y,0)>-1}},15340:()=>{},15377:(m,A,a)=>{var c=a(92861).Buffer,v=a(64634),d=a(74372),y=ArrayBuffer.isView||function(O){try{return d(O),!0}catch{return!1}},f=typeof Uint8Array<"u",p=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",w=p&&(c.prototype instanceof Uint8Array||c.TYPED_ARRAY_SUPPORT);m.exports=function(O,j){if(O instanceof c)return O;if(typeof O=="string")return c.from(O,j);if(p&&y(O)){if(O.byteLength===0)return c.alloc(0);if(w){var I=c.from(O.buffer,O.byteOffset,O.byteLength);if(I.byteLength===O.byteLength)return I}var M=O instanceof Uint8Array?O:new Uint8Array(O.buffer,O.byteOffset,O.byteLength),$=c.from(M);if($.length===O.byteLength)return $}if(f&&O instanceof Uint8Array)return c.from(O);var W=v(O);if(W)for(var q=0;q<O.length;q+=1){var U=O[q];if(typeof U!="number"||U<0||U>255||~~U!==U)throw new RangeError("Array items must be numbers in the range 0-255.")}if(W||c.isBuffer(O)&&O.constructor&&typeof O.constructor.isBuffer=="function"&&O.constructor.isBuffer(O))return c.from(O);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},15389:(m,A,a)=>{var c=a(93663),v=a(87978),d=a(83488),y=a(56449),f=a(50583);m.exports=function(w){return typeof w=="function"?w:w==null?d:typeof w=="object"?y(w)?v(w[0],w[1]):c(w):f(w)}},15972:(m,A,a)=>{var c=a(49724),v=a(62250),d=a(39298),y=a(92522),f=a(57382),p=y("IE_PROTO"),w=Object,x=w.prototype;m.exports=f?w.getPrototypeOf:function(O){var j=d(O);if(c(j,p))return j[p];var I=j.constructor;return v(I)&&j instanceof I?I.prototype:j instanceof w?x:null}},16038:(m,A,a)=>{var c=a(5861),v=a(40346);m.exports=function(y){return v(y)&&c(y)=="[object Set]"}},16426:m=>{m.exports=function(){var A=document.getSelection();if(!A.rangeCount)return function(){};for(var a=document.activeElement,c=[],v=0;v<A.rangeCount;v++)c.push(A.getRangeAt(v));switch(a.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":a.blur();break;default:a=null}return A.removeAllRanges(),function(){A.type==="Caret"&&A.removeAllRanges(),A.rangeCount||c.forEach((function(d){A.addRange(d)})),a&&a.focus()}}},16547:(m,A,a)=>{var c=a(43360),v=a(75288),d=Object.prototype.hasOwnProperty;m.exports=function(f,p,w){var x=f[p];d.call(f,p)&&v(x,w)&&(w!==void 0||p in f)||c(f,p,w)}},16708:(m,A,a)=>{var c,v=a(65606);function d(Fe){var g=this;this.next=null,this.entry=null,this.finish=function(){(function(Ye,ue,Te){var et=Ye.entry;for(Ye.entry=null;et;){var ft=et.callback;ue.pendingcb--,ft(Te),et=et.next}ue.corkedRequestsFree.next=Ye})(g,Fe)}}m.exports=ge,ge.WritableState=he;var y={deprecate:a(94643)},f=a(40345),p=a(48287).Buffer,w=(a.g!==void 0?a.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},x,O=a(75896),j=a(65291).getHighWaterMark,I=a(86048).F,M=I.ERR_INVALID_ARG_TYPE,$=I.ERR_METHOD_NOT_IMPLEMENTED,W=I.ERR_MULTIPLE_CALLBACK,q=I.ERR_STREAM_CANNOT_PIPE,U=I.ERR_STREAM_DESTROYED,H=I.ERR_STREAM_NULL_VALUES,Q=I.ERR_STREAM_WRITE_AFTER_END,se=I.ERR_UNKNOWN_ENCODING,le=O.errorOrDestroy;function Pe(){}function he(Fe,g,it){c=c||a(25382),Fe=Fe||{},typeof it!="boolean"&&(it=g instanceof c),this.objectMode=!!Fe.objectMode,it&&(this.objectMode=this.objectMode||!!Fe.writableObjectMode),this.highWaterMark=j(this,Fe,"writableHighWaterMark",it),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Ye=Fe.decodeStrings===!1;this.decodeStrings=!Ye,this.defaultEncoding=Fe.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ue){(function(et,ft){var Ke=et._writableState,dt=Ke.sync,ee=Ke.writecb;if(typeof ee!="function")throw new W;if((function(st){st.writing=!1,st.writecb=null,st.length-=st.writelen,st.writelen=0})(Ke),ft)(function(st,Ut,qt,lt,xt){--Ut.pendingcb,qt?(v.nextTick(xt,lt),v.nextTick(pt,st,Ut),st._writableState.errorEmitted=!0,le(st,lt)):(xt(lt),st._writableState.errorEmitted=!0,le(st,lt),pt(st,Ut))})(et,Ke,dt,ft,ee);else{var _e=Ve(Ke)||et.destroyed;_e||Ke.corked||Ke.bufferProcessing||!Ke.bufferedRequest||ze(et,Ke),dt?v.nextTick(Je,et,Ke,_e,ee):Je(et,Ke,_e,ee)}})(g,ue)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Fe.emitClose!==!1,this.autoDestroy=!!Fe.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new d(this)}function ge(Fe){var g=this instanceof(c=c||a(25382));if(!g&&!x.call(ge,this))return new ge(Fe);this._writableState=new he(Fe,this,g),this.writable=!0,Fe&&(typeof Fe.write=="function"&&(this._write=Fe.write),typeof Fe.writev=="function"&&(this._writev=Fe.writev),typeof Fe.destroy=="function"&&(this._destroy=Fe.destroy),typeof Fe.final=="function"&&(this._final=Fe.final)),f.call(this)}function Ce(Fe,g,it,Ye,ue,Te,et){g.writelen=Ye,g.writecb=et,g.writing=!0,g.sync=!0,g.destroyed?g.onwrite(new U("write")):it?Fe._writev(ue,g.onwrite):Fe._write(ue,Te,g.onwrite),g.sync=!1}function Je(Fe,g,it,Ye){it||(function(Te,et){et.length===0&&et.needDrain&&(et.needDrain=!1,Te.emit("drain"))})(Fe,g),g.pendingcb--,Ye(),pt(Fe,g)}function ze(Fe,g){g.bufferProcessing=!0;var it=g.bufferedRequest;if(Fe._writev&&it&&it.next){var Ye=g.bufferedRequestCount,ue=new Array(Ye),Te=g.corkedRequestsFree;Te.entry=it;for(var et=0,ft=!0;it;)ue[et]=it,it.isBuf||(ft=!1),it=it.next,et+=1;ue.allBuffers=ft,Ce(Fe,g,!0,g.length,ue,"",Te.finish),g.pendingcb++,g.lastBufferedRequest=null,Te.next?(g.corkedRequestsFree=Te.next,Te.next=null):g.corkedRequestsFree=new d(g),g.bufferedRequestCount=0}else{for(;it;){var Ke=it.chunk,dt=it.encoding,ee=it.callback;if(Ce(Fe,g,!1,g.objectMode?1:Ke.length,Ke,dt,ee),it=it.next,g.bufferedRequestCount--,g.writing)break}it===null&&(g.lastBufferedRequest=null)}g.bufferedRequest=it,g.bufferProcessing=!1}function Ve(Fe){return Fe.ending&&Fe.length===0&&Fe.bufferedRequest===null&&!Fe.finished&&!Fe.writing}function Qe(Fe,g){Fe._final((function(it){g.pendingcb--,it&&le(Fe,it),g.prefinished=!0,Fe.emit("prefinish"),pt(Fe,g)}))}function pt(Fe,g){var it=Ve(g);if(it&&((function(Te,et){et.prefinished||et.finalCalled||(typeof Te._final!="function"||et.destroyed?(et.prefinished=!0,Te.emit("prefinish")):(et.pendingcb++,et.finalCalled=!0,v.nextTick(Qe,Te,et)))})(Fe,g),g.pendingcb===0&&(g.finished=!0,Fe.emit("finish"),g.autoDestroy))){var Ye=Fe._readableState;(!Ye||Ye.autoDestroy&&Ye.endEmitted)&&Fe.destroy()}return it}a(56698)(ge,f),he.prototype.getBuffer=function(){for(var g=this.bufferedRequest,it=[];g;)it.push(g),g=g.next;return it},(function(){try{Object.defineProperty(he.prototype,"buffer",{get:y.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})(),typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(x=Function.prototype[Symbol.hasInstance],Object.defineProperty(ge,Symbol.hasInstance,{value:function(g){return!!x.call(this,g)||this===ge&&g&&g._writableState instanceof he}})):x=function(g){return g instanceof this},ge.prototype.pipe=function(){le(this,new q)},ge.prototype.write=function(Fe,g,it){var Ye=this._writableState,ue=!1,Te=!Ye.objectMode&&(function(ft){return p.isBuffer(ft)||ft instanceof w})(Fe);return Te&&!p.isBuffer(Fe)&&(Fe=(function(ft){return p.from(ft)})(Fe)),typeof g=="function"&&(it=g,g=null),Te?g="buffer":g||(g=Ye.defaultEncoding),typeof it!="function"&&(it=Pe),Ye.ending?(function(ft,Ke){var dt=new Q;le(ft,dt),v.nextTick(Ke,dt)})(this,it):(Te||(function(ft,Ke,dt,ee){var _e;return dt===null?_e=new H:typeof dt=="string"||Ke.objectMode||(_e=new M("chunk",["string","Buffer"],dt)),!_e||(le(ft,_e),v.nextTick(ee,_e),!1)})(this,Ye,Fe,it))&&(Ye.pendingcb++,ue=(function(ft,Ke,dt,ee,_e,nt){if(!dt){var st=(function(Mt,_t,ht){return Mt.objectMode||Mt.decodeStrings===!1||typeof _t!="string"||(_t=p.from(_t,ht)),_t})(Ke,ee,_e);ee!==st&&(dt=!0,_e="buffer",ee=st)}var Ut=Ke.objectMode?1:ee.length;Ke.length+=Ut;var qt=Ke.length<Ke.highWaterMark;if(qt||(Ke.needDrain=!0),Ke.writing||Ke.corked){var lt=Ke.lastBufferedRequest;Ke.lastBufferedRequest={chunk:ee,encoding:_e,isBuf:dt,callback:nt,next:null},lt?lt.next=Ke.lastBufferedRequest:Ke.bufferedRequest=Ke.lastBufferedRequest,Ke.bufferedRequestCount+=1}else Ce(ft,Ke,!1,Ut,ee,_e,nt);return qt})(this,Ye,Te,Fe,g,it)),ue},ge.prototype.cork=function(){this._writableState.corked++},ge.prototype.uncork=function(){var Fe=this._writableState;Fe.corked&&(Fe.corked--,Fe.writing||Fe.corked||Fe.bufferProcessing||!Fe.bufferedRequest||ze(this,Fe))},ge.prototype.setDefaultEncoding=function(g){if(typeof g=="string"&&(g=g.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((g+"").toLowerCase())>-1))throw new se(g);return this._writableState.defaultEncoding=g,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(Fe,g,it){it(new $("_write()"))},ge.prototype._writev=null,ge.prototype.end=function(Fe,g,it){var Ye=this._writableState;return typeof Fe=="function"?(it=Fe,Fe=null,g=null):typeof g=="function"&&(it=g,g=null),Fe!=null&&this.write(Fe,g),Ye.corked&&(Ye.corked=1,this.uncork()),Ye.ending||(function(Te,et,ft){et.ending=!0,pt(Te,et),ft&&(et.finished?v.nextTick(ft):Te.once("finish",ft)),et.ended=!0,Te.writable=!1})(this,Ye,it),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(g){this._writableState&&(this._writableState.destroyed=g)}}),ge.prototype.destroy=O.destroy,ge.prototype._undestroy=O.undestroy,ge.prototype._destroy=function(Fe,g){g(Fe)}},16946:(m,A,a)=>{var c=a(1907),v=a(98828),d=a(45807),y=Object,f=c("".split);m.exports=v((function(){return!y("z").propertyIsEnumerable(0)}))?function(p){return d(p)==="String"?f(p,""):y(p)}:y},16962:(m,A)=>{A.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"},A.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"]},A.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},A.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},A.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},A.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]},A.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}},A.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}},A.realToAlias=(function(){var a=Object.prototype.hasOwnProperty,c=A.aliasToReal,v={};for(var d in c){var y=c[d];a.call(v,y)?v[y].push(d):v[y]=[d]}return v})(),A.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"},A.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},A.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:(m,A,a)=>{var c=a(47422);m.exports=function(d){return function(y){return c(y,d)}}},17285:m=>{function A(d){return d?typeof d=="string"?d:d.source:null}function a(d){return c("(?=",d,")")}function c(...d){return d.map((y=>A(y))).join("")}function v(...d){return"("+d.map((y=>A(y))).join("|")+")"}m.exports=function(y){const f=c(/[A-Z_]/,(function($){return c("(",$,")?")})(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),p={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},w={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},x=y.inherit(w,{begin:/\(/,end:/\)/}),O=y.inherit(y.APOS_STRING_MODE,{className:"meta-string"}),j=y.inherit(y.QUOTE_STRING_MODE,{className:"meta-string"}),I={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:[p]},{begin:/'/,end:/'/,contains:[p]},{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:[w,j,O,x,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[w,x,j,O]}]}]},y.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},p,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[I],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[I],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:c(/</,a(c(f,v(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:f,relevance:0,starts:I}]},{className:"tag",begin:c(/<\//,a(c(f,/>/))),contains:[{className:"name",begin:f,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}},17400:(m,A,a)=>{var c=a(99374),v=1/0;m.exports=function(y){return y?(y=c(y))===v||y===-1/0?17976931348623157e292*(y<0?-1:1):y==y?y:0:y===0?y:0}},17533:m=>{m.exports=function(a){var c="true false yes no null",v="[\\w#;/?:@&=+$,.~*'()[\\]]+",d={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[a.BACKSLASH_ESCAPE,{className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},y=a.inherit(d,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),f={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"},p={end:",",endsWithParent:!0,excludeEnd:!0,keywords:c,relevance:0},w={begin:/\{/,end:/\}/,contains:[p],illegal:"\\n",relevance:0},x={begin:"\\[",end:"\\]",contains:[p],illegal:"\\n",relevance:0},O=[{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+!"+v},{className:"type",begin:"!<"+v+">"},{className:"type",begin:"!"+v},{className:"type",begin:"!!"+v},{className:"meta",begin:"&"+a.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+a.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},a.HASH_COMMENT_MODE,{beginKeywords:c,keywords:{literal:c}},f,{className:"number",begin:a.C_NUMBER_RE+"\\b",relevance:0},w,x,d],j=[...O];return j.pop(),j.push(y),p.contains=j,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:O}}},17670:(m,A,a)=>{var c=a(12651);m.exports=function(d){var y=c(this,d).delete(d);return this.size-=y?1:0,y}},17965:(m,A,a)=>{var c=a(16426),v={"text/plain":"Text","text/html":"Url",default:"Text"};m.exports=function(y,f){var p,w,x,O,j,I,M=!1;f||(f={}),p=f.debug||!1;try{if(x=c(),O=document.createRange(),j=document.getSelection(),(I=document.createElement("span")).textContent=y,I.ariaHidden="true",I.style.all="unset",I.style.position="fixed",I.style.top=0,I.style.clip="rect(0, 0, 0, 0)",I.style.whiteSpace="pre",I.style.webkitUserSelect="text",I.style.MozUserSelect="text",I.style.msUserSelect="text",I.style.userSelect="text",I.addEventListener("copy",(function($){if($.stopPropagation(),f.format)if($.preventDefault(),$.clipboardData===void 0){p&&console.warn("unable to use e.clipboardData"),p&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var W=v[f.format]||v.default;window.clipboardData.setData(W,y)}else $.clipboardData.clearData(),$.clipboardData.setData(f.format,y);f.onCopy&&($.preventDefault(),f.onCopy($.clipboardData))})),document.body.appendChild(I),O.selectNodeContents(I),j.addRange(O),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");M=!0}catch($){p&&console.error("unable to copy using execCommand: ",$),p&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(f.format||"text",y),f.onCopy&&f.onCopy(window.clipboardData),M=!0}catch(W){p&&console.error("unable to copy using clipboardData: ",W),p&&console.error("falling back to prompt"),w=(function(U){var H=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return U.replace(/#{\s*key\s*}/g,H)})("message"in f?f.message:"Copy to clipboard: #{key}, Enter"),window.prompt(w,y)}}finally{j&&(typeof j.removeRange=="function"?j.removeRange(O):j.removeAllRanges()),I&&document.body.removeChild(I),x()}return M}},18073:(m,A,a)=>{var c=a(85087),v=a(54641),d=a(70981);m.exports=function(f,p,w,x,O,j,I,M,$,W){var q=8&p;p|=q?32:64,4&(p&=~(q?64:32))||(p&=-4);var U=[f,p,O,q?j:void 0,q?I:void 0,q?void 0:j,q?void 0:I,M,$,W],H=w.apply(void 0,U);return c(f)&&v(H,U),H.placeholder=x,d(H,f,p)}},19123:(m,A,a)=>{var c=a(65606),v=a(31499),d=a(88310).Stream;function y(p,w,x){var O,j=(function(H,Q){return new Array(Q||0).join(H||"")})(w,x=x||0),I=p;if(typeof p=="object"&&(I=p[O=Object.keys(p)[0]])&&I._elem)return I._elem.name=O,I._elem.icount=x,I._elem.indent=w,I._elem.indents=j,I._elem.interrupt=I,I._elem;var M,$=[],W=[];function q(U){Object.keys(U).forEach((function(H){$.push((function(se,le){return se+'="'+v(le)+'"'})(H,U[H]))}))}switch(typeof I){case"object":if(I===null)break;I._attr&&q(I._attr),I._cdata&&W.push(("<![CDATA["+I._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),I.forEach&&(M=!1,W.push(""),I.forEach((function(U){typeof U=="object"?Object.keys(U)[0]=="_attr"?q(U._attr):W.push(y(U,w,x+1)):(W.pop(),M=!0,W.push(v(U)))})),M||W.push(""));break;default:W.push(v(I))}return{name:O,interrupt:!1,attributes:$,content:W,icount:x,indents:j,indent:w}}function f(p,w,x){if(typeof w!="object")return p(!1,w);var O=w.interrupt?1:w.content.length;function j(){for(;w.content.length;){var M=w.content.shift();if(M!==void 0){if(I(M))return;f(p,M)}}p(!1,(O>1?w.indents:"")+(w.name?"</"+w.name+">":"")+(w.indent&&!x?`
|
||
`:"")),x&&x()}function I(M){return!!M.interrupt&&(M.interrupt.append=p,M.interrupt.end=j,M.interrupt=!1,p(!0),!0)}if(p(!1,w.indents+(w.name?"<"+w.name:"")+(w.attributes.length?" "+w.attributes.join(" "):"")+(O?w.name?">":"":w.name?"/>":"")+(w.indent&&O>1?`
|
||
`:"")),!O)return p(!1,w.indent?`
|
||
`:"");I(w)||j()}m.exports=function(w,x){typeof x!="object"&&(x={indent:x});var O=x.stream?new d:null,j="",I=!1,M=x.indent?x.indent===!0?" ":x.indent:"",$=!0;function W(Q){$?c.nextTick(Q):Q()}function q(Q,se){if(se!==void 0&&(j+=se),Q&&!I&&(O=O||new d,I=!0),Q&&I){var le=j;W((function(){O.emit("data",le)})),j=""}}function U(Q,se){f(q,y(Q,M,M?1:0),se)}function H(){if(O){var Q=j;W((function(){O.emit("data",Q),O.emit("end"),O.readable=!1,O.emit("close")}))}}return W((function(){$=!1})),x.declaration&&(function(se){var le={version:"1.0",encoding:se.encoding||"UTF-8"};se.standalone&&(le.standalone=se.standalone),U({"?xml":{_attr:le}}),j=j.replace("/>","?>")})(x.declaration),w&&w.forEach?w.forEach((function(Q,se){var le;se+1===w.length&&(le=H),U(Q,le)})):U(w,H),O?(O.readable=!0,O):j},m.exports.element=m.exports.Element=function(){var w={_elem:y(Array.prototype.slice.call(arguments)),push:function(x){if(!this.append)throw new Error("not assigned to a parent!");var O=this,j=this._elem.indent;f(this.append,y(x,j,this._elem.icount+(j?1:0)),(function(){O.append(!0)}))},close:function(x){x!==void 0&&this.push(x),this.end&&this.end()}};return w}},19219:m=>{m.exports=function(a,c){return a.has(c)}},19287:m=>{m.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:(m,A,a)=>{var c=a(85582),v=a(49724),d=a(61626),y=a(88280),f=a(79192),p=a(19595),w=a(54829),x=a(34084),O=a(32096),j=a(39259),I=a(85884),M=a(39447),$=a(7376);m.exports=function(W,q,U,H){var Q="stackTraceLimit",se=H?2:1,le=W.split("."),Pe=le[le.length-1],he=c.apply(null,le);if(he){var ge=he.prototype;if(!$&&v(ge,"cause")&&delete ge.cause,!U)return he;var Ce=c("Error"),Je=q((function(ze,Ve){var Qe=O(H?Ve:ze,void 0),pt=H?new he(ze):new he;return Qe!==void 0&&d(pt,"message",Qe),I(pt,Je,pt.stack,2),this&&y(ge,this)&&x(pt,this,Je),arguments.length>se&&j(pt,arguments[se]),pt}));if(Je.prototype=ge,Pe!=="Error"?f?f(Je,Ce):p(Je,Ce,{name:!0}):M&&Q in he&&(w(Je,he,Q),w(Je,he,"prepareStackTrace")),p(Je,he),!$)try{ge.name!==Pe&&d(ge,"name",Pe),ge.constructor=Je}catch{}return Je}}},19570:(m,A,a)=>{var c=a(37334),v=a(93243),d=a(83488),y=v?function(f,p){return v(f,"toString",{configurable:!0,enumerable:!1,value:c(p),writable:!0})}:d;m.exports=y},19595:(m,A,a)=>{var c=a(49724),v=a(11042),d=a(13846),y=a(74284);m.exports=function(f,p,w){for(var x=v(p),O=y.f,j=d.f,I=0;I<x.length;I++){var M=x[I];c(f,M)||w&&c(w,M)||O(f,M,j(p,M))}}},19709:(m,A,a)=>{var c=a(23034);m.exports=c},19846:(m,A,a)=>{var c=a(20798),v=a(98828),d=a(45951).String;m.exports=!!Object.getOwnPropertySymbols&&!v((function(){var y=Symbol("symbol detection");return!d(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&c&&c<41}))},19931:(m,A,a)=>{var c=a(31769),v=a(68090),d=a(68969),y=a(77797);m.exports=function(p,w){return w=c(w,p),(p=d(p,w))==null||delete p[y(v(w))]}},20181:(m,A,a)=>{var c=/^\s+|\s+$/g,v=/^[-+]0x[0-9a-f]+$/i,d=/^0b[01]+$/i,y=/^0o[0-7]+$/i,f=parseInt,p=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g,w=typeof self=="object"&&self&&self.Object===Object&&self,x=p||w||Function("return this")(),O=Object.prototype.toString,j=Math.max,I=Math.min,M=function(){return x.Date.now()};function $(q){var U=typeof q;return!!q&&(U=="object"||U=="function")}function W(q){if(typeof q=="number")return q;if((function(se){return typeof se=="symbol"||(function(Pe){return!!Pe&&typeof Pe=="object"})(se)&&O.call(se)=="[object Symbol]"})(q))return NaN;if($(q)){var U=typeof q.valueOf=="function"?q.valueOf():q;q=$(U)?U+"":U}if(typeof q!="string")return q===0?q:+q;q=q.replace(c,"");var H=d.test(q);return H||y.test(q)?f(q.slice(2),H?2:8):v.test(q)?NaN:+q}m.exports=function(U,H,Q){var se,le,Pe,he,ge,Ce,Je=0,ze=!1,Ve=!1,Qe=!0;if(typeof U!="function")throw new TypeError("Expected a function");function pt(ue){var Te=se,et=le;return se=le=void 0,Je=ue,he=U.apply(et,Te)}function Fe(ue){var Te=ue-Ce;return Ce===void 0||Te>=H||Te<0||Ve&&ue-Je>=Pe}function g(){var ue=M();if(Fe(ue))return it(ue);ge=setTimeout(g,(function(et){var ft=H-(et-Ce);return Ve?I(ft,Pe-(et-Je)):ft})(ue))}function it(ue){return ge=void 0,Qe&&se?pt(ue):(se=le=void 0,he)}function Ye(){var ue=M(),Te=Fe(ue);if(se=arguments,le=this,Ce=ue,Te){if(ge===void 0)return(function(ft){return Je=ft,ge=setTimeout(g,H),ze?pt(ft):he})(Ce);if(Ve)return ge=setTimeout(g,H),pt(Ce)}return ge===void 0&&(ge=setTimeout(g,H)),he}return H=W(H)||0,$(Q)&&(ze=!!Q.leading,Pe=(Ve="maxWait"in Q)?j(W(Q.maxWait)||0,H):Pe,Qe="trailing"in Q?!!Q.trailing:Qe),Ye.cancel=function(){ge!==void 0&&clearTimeout(ge),Je=0,se=Ce=le=ge=void 0},Ye.flush=function(){return ge===void 0?he:it(M())},Ye}},20317:m=>{m.exports=function(a){var c=-1,v=Array(a.size);return a.forEach((function(d,y){v[++c]=[y,d]})),v}},20334:(m,A,a)=>{var c=a(48287).Buffer;class v extends Error{constructor(w){super(v._prepareSuperMessage(w)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,v)}static _prepareSuperMessage(w){try{return JSON.stringify(w)}catch{return String(w)}}}const d=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],y=Symbol(".toJSON called"),f=({from:p,seen:w,to_:x,forceEnumerable:O,maxDepth:j,depth:I})=>{const M=x||(Array.isArray(p)?[]:{});if(w.push(p),I>=j)return M;if(typeof p.toJSON=="function"&&p[y]!==!0)return($=>{$[y]=!0;const W=$.toJSON();return delete $[y],W})(p);for(const[$,W]of Object.entries(p))typeof c=="function"&&c.isBuffer(W)?M[$]="[object Buffer]":typeof W!="function"&&(W&&typeof W=="object"?w.includes(p[$])?M[$]="[Circular]":(I++,M[$]=f({from:p[$],seen:w.slice(),forceEnumerable:O,maxDepth:j,depth:I})):M[$]=W);for(const{property:$,enumerable:W}of d)typeof p[$]=="string"&&Object.defineProperty(M,$,{value:p[$],enumerable:!!O||W,configurable:!0,writable:!0});return M};m.exports={serializeError:(p,w={})=>{const{maxDepth:x=Number.POSITIVE_INFINITY}=w;return typeof p=="object"&&p!==null?f({from:p,seen:[],forceEnumerable:!0,maxDepth:x,depth:0}):typeof p=="function"?`[Function: ${p.name||"anonymous"}]`:p},deserializeError:(p,w={})=>{const{maxDepth:x=Number.POSITIVE_INFINITY}=w;if(p instanceof Error)return p;if(typeof p=="object"&&p!==null&&!Array.isArray(p)){const O=new Error;return f({from:p,seen:[],to_:O,maxDepth:x,depth:0}),O}return new v(p)}}},20426:m=>{var A=Object.prototype.hasOwnProperty;m.exports=function(c,v){return c!=null&&A.call(c,v)}},20575:(m,A,a)=>{var c=a(3121);m.exports=function(v){return c(v.length)}},20798:(m,A,a)=>{var c,v,d=a(45951),y=a(96794),f=d.process,p=d.Deno,w=f&&f.versions||p&&p.version,x=w&&w.v8;x&&(v=(c=x.split("."))[0]>0&&c[0]<4?1:+(c[0]+c[1])),!v&&y&&(!(c=y.match(/Edge\/(\d+)/))||c[1]>=74)&&(c=y.match(/Chrome\/(\d+)/))&&(v=+c[1]),m.exports=v},20850:(m,A,a)=>{m.exports=a(46076)},20999:(m,A,a)=>{var c=a(69302),v=a(36800);m.exports=function(y){return c((function(f,p){var w=-1,x=p.length,O=x>1?p[x-1]:void 0,j=x>2?p[2]:void 0;for(O=y.length>3&&typeof O=="function"?(x--,O):void 0,j&&v(p[0],p[1],j)&&(O=x<3?void 0:O,x=1),f=Object(f);++w<x;){var I=p[w];I&&y(f,I,w,O)}return f}))}},21549:(m,A,a)=>{var c=a(22032),v=a(63862),d=a(66721),y=a(12749),f=a(35749);function p(w){var x=-1,O=w==null?0:w.length;for(this.clear();++x<O;){var j=w[x];this.set(j[0],j[1])}}p.prototype.clear=c,p.prototype.delete=v,p.prototype.get=d,p.prototype.has=y,p.prototype.set=f,m.exports=p},21791:(m,A,a)=>{var c=a(16547),v=a(43360);m.exports=function(y,f,p,w){var x=!p;p||(p={});for(var O=-1,j=f.length;++O<j;){var I=f[O],M=w?w(p[I],y[I],I,p,y):void 0;M===void 0&&(M=y[I]),x?v(p,I,M):c(p,I,M)}return p}},21986:(m,A,a)=>{var c=a(51873),v=a(37828),d=a(75288),y=a(25911),f=a(20317),p=a(84247),w=c?c.prototype:void 0,x=w?w.valueOf:void 0;m.exports=function(j,I,M,$,W,q,U){switch(M){case"[object DataView]":if(j.byteLength!=I.byteLength||j.byteOffset!=I.byteOffset)return!1;j=j.buffer,I=I.buffer;case"[object ArrayBuffer]":return!(j.byteLength!=I.byteLength||!q(new v(j),new v(I)));case"[object Boolean]":case"[object Date]":case"[object Number]":return d(+j,+I);case"[object Error]":return j.name==I.name&&j.message==I.message;case"[object RegExp]":case"[object String]":return j==I+"";case"[object Map]":var H=f;case"[object Set]":var Q=1&$;if(H||(H=p),j.size!=I.size&&!Q)return!1;var se=U.get(j);if(se)return se==I;$|=2,U.set(j,I);var le=y(H(j),H(I),$,W,q,U);return U.delete(j),le;case"[object Symbol]":if(x)return x.call(j)==x.call(I)}return!1}},22032:(m,A,a)=>{var c=a(81042);m.exports=function(){this.__data__=c?c(null):{},this.size=0}},22225:m=>{var A="\\ud800-\\udfff",a="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",v="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\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",y="["+d+"]",f="\\d+",p="["+a+"]",w="["+c+"]",x="[^"+A+d+f+a+c+v+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",I="["+v+"]",M="(?:"+w+"|"+x+")",$="(?:"+I+"|"+x+")",W="(?:['’](?:d|ll|m|re|s|t|ve))?",q="(?:['’](?:D|LL|M|RE|S|T|VE))?",U="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",H="[\\ufe0e\\ufe0f]?",Q=H+U+("(?:\\u200d(?:"+["[^"+A+"]",O,j].join("|")+")"+H+U+")*"),se="(?:"+[p,O,j].join("|")+")"+Q,le=RegExp([I+"?"+w+"+"+W+"(?="+[y,I,"$"].join("|")+")",$+"+"+q+"(?="+[y,I+M,"$"].join("|")+")",I+"?"+M+"+"+W,I+"+"+q,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",f,se].join("|"),"g");m.exports=function(he){return he.match(le)||[]}},22551:(m,A,a)=>{var c=a(96540),v=a(69982);function d(l){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+l,S=1;S<arguments.length;S++)u+="&args[]="+encodeURIComponent(arguments[S]);return"Minified React error #"+l+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y=new Set,f={};function p(l,u){w(l,u),w(l+"Capture",u)}function w(l,u){for(f[l]=u,l=0;l<u.length;l++)y.add(u[l])}var x=!(typeof window>"u"||window.document===void 0||window.document.createElement===void 0),O=Object.prototype.hasOwnProperty,j=/^[: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]*$/,I={},M={};function $(l,u,S,B,G,oe,de){this.acceptsBooleans=u===2||u===3||u===4,this.attributeName=B,this.attributeNamespace=G,this.mustUseProperty=S,this.propertyName=l,this.type=u,this.sanitizeURL=oe,this.removeEmptyString=de}var W={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(l){W[l]=new $(l,0,!1,l,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(l){var u=l[0];W[u]=new $(u,1,!1,l[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(l){W[l]=new $(l,2,!1,l.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(l){W[l]=new $(l,2,!1,l,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(l){W[l]=new $(l,3,!1,l.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(l){W[l]=new $(l,3,!0,l,null,!1,!1)})),["capture","download"].forEach((function(l){W[l]=new $(l,4,!1,l,null,!1,!1)})),["cols","rows","size","span"].forEach((function(l){W[l]=new $(l,6,!1,l,null,!1,!1)})),["rowSpan","start"].forEach((function(l){W[l]=new $(l,5,!1,l.toLowerCase(),null,!1,!1)}));var q=/[\-:]([a-z])/g;function U(l){return l[1].toUpperCase()}function H(l,u,S,B){var G=W.hasOwnProperty(u)?W[u]:null;(G!==null?G.type!==0:B||!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&((function(de,Le,Ue,Xe){if(Le==null||(function(ct,Ot,It,Ft){if(It!==null&&It.type===0)return!1;switch(typeof Ot){case"function":case"symbol":return!0;case"boolean":return!Ft&&(It!==null?!It.acceptsBooleans:(ct=ct.toLowerCase().slice(0,5))!=="data-"&&ct!=="aria-");default:return!1}})(de,Le,Ue,Xe))return!0;if(Xe)return!1;if(Ue!==null)switch(Ue.type){case 3:return!Le;case 4:return Le===!1;case 5:return isNaN(Le);case 6:return isNaN(Le)||1>Le}return!1})(u,S,G,B)&&(S=null),B||G===null?(function(de){return!!O.call(M,de)||!O.call(I,de)&&(j.test(de)?M[de]=!0:(I[de]=!0,!1))})(u)&&(S===null?l.removeAttribute(u):l.setAttribute(u,""+S)):G.mustUseProperty?l[G.propertyName]=S===null?G.type!==3&&"":S:(u=G.attributeName,B=G.attributeNamespace,S===null?l.removeAttribute(u):(S=(G=G.type)===3||G===4&&S===!0?"":""+S,B?l.setAttributeNS(B,u,S):l.setAttribute(u,S))))}"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(l){var u=l.replace(q,U);W[u]=new $(u,1,!1,l,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(l){var u=l.replace(q,U);W[u]=new $(u,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(l){var u=l.replace(q,U);W[u]=new $(u,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(l){W[l]=new $(l,1,!1,l.toLowerCase(),null,!1,!1)})),W.xlinkHref=new $("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(l){W[l]=new $(l,1,!1,l.toLowerCase(),null,!0,!0)}));var Q=c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,se=Symbol.for("react.element"),le=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),he=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),Ce=Symbol.for("react.provider"),Je=Symbol.for("react.context"),ze=Symbol.for("react.forward_ref"),Ve=Symbol.for("react.suspense"),Qe=Symbol.for("react.suspense_list"),pt=Symbol.for("react.memo"),Fe=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),it=Symbol.iterator;function Ye(l){return l===null||typeof l!="object"?null:typeof(l=it&&l[it]||l["@@iterator"])=="function"?l:null}var ue,Te=Object.assign;function et(l){if(ue===void 0)try{throw Error()}catch(S){var u=S.stack.trim().match(/\n( *(at )?)/);ue=u&&u[1]||""}return`
|
||
`+ue+l}var ft=!1;function Ke(l,u){if(!l||ft)return"";ft=!0;var S=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(u)if(u=function(){throw Error()},Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(Xe){var B=Xe}Reflect.construct(l,[],u)}else{try{u.call()}catch(Xe){B=Xe}l.call(u.prototype)}else{try{throw Error()}catch(Xe){B=Xe}l()}}catch(Xe){if(Xe&&B&&typeof Xe.stack=="string"){for(var G=Xe.stack.split(`
|
||
`),oe=B.stack.split(`
|
||
`),de=G.length-1,Le=oe.length-1;1<=de&&0<=Le&&G[de]!==oe[Le];)Le--;for(;1<=de&&0<=Le;de--,Le--)if(G[de]!==oe[Le]){if(de!==1||Le!==1)do if(de--,0>--Le||G[de]!==oe[Le]){var Ue=`
|
||
`+G[de].replace(" at new "," at ");return l.displayName&&Ue.includes("<anonymous>")&&(Ue=Ue.replace("<anonymous>",l.displayName)),Ue}while(1<=de&&0<=Le);break}}}finally{ft=!1,Error.prepareStackTrace=S}return(l=l?l.displayName||l.name:"")?et(l):""}function dt(l){switch(l.tag){case 5:return et(l.type);case 16:return et("Lazy");case 13:return et("Suspense");case 19:return et("SuspenseList");case 0:case 2:case 15:return l=Ke(l.type,!1);case 11:return l=Ke(l.type.render,!1);case 1:return l=Ke(l.type,!0);default:return""}}function ee(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case Pe:return"Fragment";case le:return"Portal";case ge:return"Profiler";case he:return"StrictMode";case Ve:return"Suspense";case Qe:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case Je:return(l.displayName||"Context")+".Consumer";case Ce:return(l._context.displayName||"Context")+".Provider";case ze:var u=l.render;return(l=l.displayName)||(l=(l=u.displayName||u.name||"")!==""?"ForwardRef("+l+")":"ForwardRef"),l;case pt:return(u=l.displayName||null)!==null?u:ee(l.type)||"Memo";case Fe:u=l._payload,l=l._init;try{return ee(l(u))}catch{}}return null}function _e(l){var u=l.type;switch(l.tag){case 24:return"Cache";case 9:return(u.displayName||"Context")+".Consumer";case 10:return(u._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=(l=u.render).displayName||l.name||"",u.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return u;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ee(u);case 8:return u===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 u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u}return null}function nt(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":case"object":return l;default:return""}}function st(l){var u=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Ut(l){l._valueTracker||(l._valueTracker=(function(S){var B=st(S)?"checked":"value",G=Object.getOwnPropertyDescriptor(S.constructor.prototype,B),oe=""+S[B];if(!S.hasOwnProperty(B)&&G!==void 0&&typeof G.get=="function"&&typeof G.set=="function"){var de=G.get,Le=G.set;return Object.defineProperty(S,B,{configurable:!0,get:function(){return de.call(this)},set:function(Ue){oe=""+Ue,Le.call(this,Ue)}}),Object.defineProperty(S,B,{enumerable:G.enumerable}),{getValue:function(){return oe},setValue:function(Ue){oe=""+Ue},stopTracking:function(){S._valueTracker=null,delete S[B]}}}})(l))}function qt(l){if(!l)return!1;var u=l._valueTracker;if(!u)return!0;var S=u.getValue(),B="";return l&&(B=st(l)?l.checked?"true":"false":l.value),(l=B)!==S&&(u.setValue(l),!0)}function lt(l){if((l=l||(typeof document<"u"?document:void 0))===void 0)return null;try{return l.activeElement||l.body}catch{return l.body}}function xt(l,u){var S=u.checked;return Te({},u,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:S??l._wrapperState.initialChecked})}function Mt(l,u){var S=u.defaultValue==null?"":u.defaultValue,B=u.checked!=null?u.checked:u.defaultChecked;S=nt(u.value!=null?u.value:S),l._wrapperState={initialChecked:B,initialValue:S,controlled:u.type==="checkbox"||u.type==="radio"?u.checked!=null:u.value!=null}}function _t(l,u){(u=u.checked)!=null&&H(l,"checked",u,!1)}function ht(l,u){_t(l,u);var S=nt(u.value),B=u.type;if(S!=null)B==="number"?(S===0&&l.value===""||l.value!=S)&&(l.value=""+S):l.value!==""+S&&(l.value=""+S);else if(B==="submit"||B==="reset")return void l.removeAttribute("value");u.hasOwnProperty("value")?Y(l,u.type,S):u.hasOwnProperty("defaultValue")&&Y(l,u.type,nt(u.defaultValue)),u.checked==null&&u.defaultChecked!=null&&(l.defaultChecked=!!u.defaultChecked)}function Lt(l,u,S){if(u.hasOwnProperty("value")||u.hasOwnProperty("defaultValue")){var B=u.type;if(!(B!=="submit"&&B!=="reset"||u.value!==void 0&&u.value!==null))return;u=""+l._wrapperState.initialValue,S||u===l.value||(l.value=u),l.defaultValue=u}(S=l.name)!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,S!==""&&(l.name=S)}function Y(l,u,S){u==="number"&<(l.ownerDocument)===l||(S==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+S&&(l.defaultValue=""+S))}var C=Array.isArray;function N(l,u,S,B){if(l=l.options,u){u={};for(var G=0;G<S.length;G++)u["$"+S[G]]=!0;for(S=0;S<l.length;S++)G=u.hasOwnProperty("$"+l[S].value),l[S].selected!==G&&(l[S].selected=G),G&&B&&(l[S].defaultSelected=!0)}else{for(S=""+nt(S),u=null,G=0;G<l.length;G++){if(l[G].value===S)return l[G].selected=!0,void(B&&(l[G].defaultSelected=!0));u!==null||l[G].disabled||(u=l[G])}u!==null&&(u.selected=!0)}}function J(l,u){if(u.dangerouslySetInnerHTML!=null)throw Error(d(91));return Te({},u,{value:void 0,defaultValue:void 0,children:""+l._wrapperState.initialValue})}function ne(l,u){var S=u.value;if(S==null){if(S=u.children,u=u.defaultValue,S!=null){if(u!=null)throw Error(d(92));if(C(S)){if(1<S.length)throw Error(d(93));S=S[0]}u=S}u==null&&(u=""),S=u}l._wrapperState={initialValue:nt(S)}}function ce(l,u){var S=nt(u.value),B=nt(u.defaultValue);S!=null&&((S=""+S)!==l.value&&(l.value=S),u.defaultValue==null&&l.defaultValue!==S&&(l.defaultValue=S)),B!=null&&(l.defaultValue=""+B)}function be(l){var u=l.textContent;u===l._wrapperState.initialValue&&u!==""&&u!==null&&(l.value=u)}function Ze(l){switch(l){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 St(l,u){return l==null||l==="http://www.w3.org/1999/xhtml"?Ze(u):l==="http://www.w3.org/2000/svg"&&u==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var ut,yt,kt=(yt=function(l,u){if(l.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in l)l.innerHTML=u;else{for((ut=ut||document.createElement("div")).innerHTML="<svg>"+u.valueOf().toString()+"</svg>",u=ut.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;u.firstChild;)l.appendChild(u.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(l,u,S,B){MSApp.execUnsafeLocalFunction((function(){return yt(l,u)}))}:yt);function Fr(l,u){if(u){var S=l.firstChild;if(S&&S===l.lastChild&&S.nodeType===3)return void(S.nodeValue=u)}l.textContent=u}var Ur={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},bn=["Webkit","ms","Moz","O"];function Xr(l,u,S){return u==null||typeof u=="boolean"||u===""?"":S||typeof u!="number"||u===0||Ur.hasOwnProperty(l)&&Ur[l]?(""+u).trim():u+"px"}function kn(l,u){for(var S in l=l.style,u)if(u.hasOwnProperty(S)){var B=S.indexOf("--")===0,G=Xr(S,u[S],B);S==="float"&&(S="cssFloat"),B?l.setProperty(S,G):l[S]=G}}Object.keys(Ur).forEach((function(l){bn.forEach((function(u){u=u+l.charAt(0).toUpperCase()+l.substring(1),Ur[u]=Ur[l]}))}));var _a=Te({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 xr(l,u){if(u){if(_a[l]&&(u.children!=null||u.dangerouslySetInnerHTML!=null))throw Error(d(137,l));if(u.dangerouslySetInnerHTML!=null){if(u.children!=null)throw Error(d(60));if(typeof u.dangerouslySetInnerHTML!="object"||!("__html"in u.dangerouslySetInnerHTML))throw Error(d(61))}if(u.style!=null&&typeof u.style!="object")throw Error(d(62))}}function mn(l,u){if(l.indexOf("-")===-1)return typeof u.is=="string";switch(l){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 Vr=null;function Oa(l){return(l=l.target||l.srcElement||window).correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var Qr=null,_n=null,Zn=null;function Da(l){if(l=_u(l)){if(typeof Qr!="function")throw Error(d(280));var u=l.stateNode;u&&(u=_p(u),Qr(l.stateNode,l.type,u))}}function za(l){_n?Zn?Zn.push(l):Zn=[l]:_n=l}function tr(){if(_n){var l=_n,u=Zn;if(Zn=_n=null,Da(l),u)for(l=0;l<u.length;l++)Da(u[l])}}function br(l,u){return l(u)}function Ar(){}var Wr=!1;function Lr(l,u,S){if(Wr)return l(u,S);Wr=!0;try{return br(l,u,S)}finally{Wr=!1,(_n!==null||Zn!==null)&&(Ar(),tr())}}function Xn(l,u){var S=l.stateNode;if(S===null)return null;var B=_p(S);if(B===null)return null;S=B[u];e:switch(u){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(B=!B.disabled)||(B=!((l=l.type)==="button"||l==="input"||l==="select"||l==="textarea")),l=!B;break e;default:l=!1}if(l)return null;if(S&&typeof S!="function")throw Error(d(231,u,typeof S));return S}var wn=!1;if(x)try{var pn={};Object.defineProperty(pn,"passive",{get:function(){wn=!0}}),window.addEventListener("test",pn,pn),window.removeEventListener("test",pn,pn)}catch{wn=!1}function Dn(l,u,S,B,G,oe,de,Le,Ue){var Xe=Array.prototype.slice.call(arguments,3);try{u.apply(S,Xe)}catch(wt){this.onError(wt)}}var nn=!1,ea=null,aa=!1,oa=null,$o={onError:function(l){nn=!0,ea=l}};function Ka(l,u,S,B,G,oe,de,Le,Ue){nn=!1,ea=null,Dn.apply($o,arguments)}function ka(l){var u=l,S=l;if(l.alternate)for(;u.return;)u=u.return;else{l=u;do 4098&(u=l).flags&&(S=u.return),l=u.return;while(l)}return u.tag===3?S:null}function kr(l){if(l.tag===13){var u=l.memoizedState;if(u===null&&(l=l.alternate)!==null&&(u=l.memoizedState),u!==null)return u.dehydrated}return null}function an(l){if(ka(l)!==l)throw Error(d(188))}function Rt(l){return(l=(function(S){var B=S.alternate;if(!B){if((B=ka(S))===null)throw Error(d(188));return B!==S?null:S}for(var G=S,oe=B;;){var de=G.return;if(de===null)break;var Le=de.alternate;if(Le===null){if((oe=de.return)!==null){G=oe;continue}break}if(de.child===Le.child){for(Le=de.child;Le;){if(Le===G)return an(de),S;if(Le===oe)return an(de),B;Le=Le.sibling}throw Error(d(188))}if(G.return!==oe.return)G=de,oe=Le;else{for(var Ue=!1,Xe=de.child;Xe;){if(Xe===G){Ue=!0,G=de,oe=Le;break}if(Xe===oe){Ue=!0,oe=de,G=Le;break}Xe=Xe.sibling}if(!Ue){for(Xe=Le.child;Xe;){if(Xe===G){Ue=!0,G=Le,oe=de;break}if(Xe===oe){Ue=!0,oe=Le,G=de;break}Xe=Xe.sibling}if(!Ue)throw Error(d(189))}}if(G.alternate!==oe)throw Error(d(190))}if(G.tag!==3)throw Error(d(188));return G.stateNode.current===G?S:B})(l))!==null?gn(l):null}function gn(l){if(l.tag===5||l.tag===6)return l;for(l=l.child;l!==null;){var u=gn(l);if(u!==null)return u;l=l.sibling}return null}var so=v.unstable_scheduleCallback,lo=v.unstable_cancelCallback,Gt=v.unstable_shouldYield,wa=v.unstable_requestPaint,Wt=v.unstable_now,fr=v.unstable_getCurrentPriorityLevel,dr=v.unstable_ImmediatePriority,Cr=v.unstable_UserBlockingPriority,Ht=v.unstable_NormalPriority,cn=v.unstable_LowPriority,Ga=v.unstable_IdlePriority,ia=null,vn=null,fa=Math.clz32?Math.clz32:function(u){return u>>>=0,u===0?32:31-(ui(u)/ta|0)|0},ui=Math.log,ta=Math.LN2,bo=64,Ei=4194304;function pi(l){switch(l&-l){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&l;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&l;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function rs(l,u){var S=l.pendingLanes;if(S===0)return 0;var B=0,G=l.suspendedLanes,oe=l.pingedLanes,de=268435455&S;if(de!==0){var Le=de&~G;Le!==0?B=pi(Le):(oe&=de)!==0&&(B=pi(oe))}else(de=S&~G)!==0?B=pi(de):oe!==0&&(B=pi(oe));if(B===0)return 0;if(u!==0&&u!==B&&!(u&G)&&((G=B&-B)>=(oe=u&-u)||G===16&&4194240&oe))return u;if(4&B&&(B|=16&S),(u=l.entangledLanes)!==0)for(l=l.entanglements,u&=B;0<u;)G=1<<(S=31-fa(u)),B|=l[S],u&=~G;return B}function _o(l,u){switch(l){case 1:case 2:case 4:return u+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 u+5e3;default:return-1}}function jo(l){return(l=-1073741825&l.pendingLanes)!==0?l:1073741824&l?1073741824:0}function fi(){var l=bo;return!(4194240&(bo<<=1))&&(bo=64),l}function hi(l){for(var u=[],S=0;31>S;S++)u.push(l);return u}function Io(l,u,S){l.pendingLanes|=u,u!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),(l=l.eventTimes)[u=31-fa(u)]=S}function di(l,u){var S=l.entangledLanes|=u;for(l=l.entanglements;S;){var B=31-fa(S),G=1<<B;G&u|l[B]&u&&(l[B]|=u),S&=~G}}var fn=0;function Di(l){return 1<(l&=-l)?4<l?268435455&l?16:536870912:4:1}var vs,zs,_l,wl,Pr,Bi=!1,mi=[],en=null,Ln=null,wo=null,gi=new Map,Ca=new Map,Eo=[],Uo="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 Fi(l,u){switch(l){case"focusin":case"focusout":en=null;break;case"dragenter":case"dragleave":Ln=null;break;case"mouseover":case"mouseout":wo=null;break;case"pointerover":case"pointerout":gi.delete(u.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ca.delete(u.pointerId)}}function Li(l,u,S,B,G,oe){return l===null||l.nativeEvent!==oe?(l={blockedOn:u,domEventName:S,eventSystemFlags:B,nativeEvent:oe,targetContainers:[G]},u!==null&&(u=_u(u))!==null&&zs(u),l):(l.eventSystemFlags|=B,u=l.targetContainers,G!==null&&u.indexOf(G)===-1&&u.push(G),l)}function Si(l){var u=cc(l.target);if(u!==null){var S=ka(u);if(S!==null){if((u=S.tag)===13){if((u=kr(S))!==null)return l.blockedOn=u,void Pr(l.priority,(function(){_l(S)}))}else if(u===3&&S.stateNode.current.memoizedState.isDehydrated)return void(l.blockedOn=S.tag===3?S.stateNode.containerInfo:null)}}l.blockedOn=null}function Va(l){if(l.blockedOn!==null)return!1;for(var u=l.targetContainers;0<u.length;){var S=ro(l.domEventName,l.eventSystemFlags,u[0],l.nativeEvent);if(S!==null)return(u=_u(S))!==null&&zs(u),l.blockedOn=S,!1;var B=new(S=l.nativeEvent).constructor(S.type,S);Vr=B,S.target.dispatchEvent(B),Vr=null,u.shift()}return!0}function ns(l,u,S){Va(l)&&S.delete(u)}function Ba(){Bi=!1,en!==null&&Va(en)&&(en=null),Ln!==null&&Va(Ln)&&(Ln=null),wo!==null&&Va(wo)&&(wo=null),gi.forEach(ns),Ca.forEach(ns)}function ha(l,u){l.blockedOn===u&&(l.blockedOn=null,Bi||(Bi=!0,v.unstable_scheduleCallback(v.unstable_NormalPriority,Ba)))}function to(l){function u(G){return ha(G,l)}if(0<mi.length){ha(mi[0],l);for(var S=1;S<mi.length;S++){var B=mi[S];B.blockedOn===l&&(B.blockedOn=null)}}for(en!==null&&ha(en,l),Ln!==null&&ha(Ln,l),wo!==null&&ha(wo,l),gi.forEach(u),Ca.forEach(u),S=0;S<Eo.length;S++)(B=Eo[S]).blockedOn===l&&(B.blockedOn=null);for(;0<Eo.length&&(S=Eo[0]).blockedOn===null;)Si(S),S.blockedOn===null&&Eo.shift()}var Nr=Q.ReactCurrentBatchConfig,qo=!0;function as(l,u,S,B){var G=fn,oe=Nr.transition;Nr.transition=null;try{fn=1,xi(l,u,S,B)}finally{fn=G,Nr.transition=oe}}function _r(l,u,S,B){var G=fn,oe=Nr.transition;Nr.transition=null;try{fn=4,xi(l,u,S,B)}finally{fn=G,Nr.transition=oe}}function xi(l,u,S,B){if(qo){var G=ro(l,u,S,B);if(G===null)mp(l,u,B,Cn,S),Fi(l,B);else if((function(Le,Ue,Xe,wt,ct){switch(Ue){case"focusin":return en=Li(en,Le,Ue,Xe,wt,ct),!0;case"dragenter":return Ln=Li(Ln,Le,Ue,Xe,wt,ct),!0;case"mouseover":return wo=Li(wo,Le,Ue,Xe,wt,ct),!0;case"pointerover":var Ot=ct.pointerId;return gi.set(Ot,Li(gi.get(Ot)||null,Le,Ue,Xe,wt,ct)),!0;case"gotpointercapture":return Ot=ct.pointerId,Ca.set(Ot,Li(Ca.get(Ot)||null,Le,Ue,Xe,wt,ct)),!0}return!1})(G,l,u,S,B))B.stopPropagation();else if(Fi(l,B),4&u&&-1<Uo.indexOf(l)){for(;G!==null;){var oe=_u(G);if(oe!==null&&vs(oe),(oe=ro(l,u,S,B))===null&&mp(l,u,B,Cn,S),oe===G)break;G=oe}G!==null&&B.stopPropagation()}else mp(l,u,B,null,S)}}var Cn=null;function ro(l,u,S,B){if(Cn=null,(l=cc(l=Oa(B)))!==null)if((u=ka(l))===null)l=null;else if((S=u.tag)===13){if((l=kr(u))!==null)return l;l=null}else if(S===3){if(u.stateNode.current.memoizedState.isDehydrated)return u.tag===3?u.stateNode.containerInfo:null;l=null}else u!==l&&(l=null);return Cn=l,null}function co(l){switch(l){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(fr()){case dr:return 1;case Cr:return 4;case Ht:case cn:return 16;case Ga:return 536870912;default:return 16}default:return 16}}var ja=null,os=null,$i=null;function Ui(){if($i)return $i;var l,u,S=os,B=S.length,G="value"in ja?ja.value:ja.textContent,oe=G.length;for(l=0;l<B&&S[l]===G[l];l++);var de=B-l;for(u=1;u<=de&&S[B-u]===G[oe-u];u++);return $i=G.slice(l,1<u?1-u:void 0)}function qi(l){var u=l.keyCode;return"charCode"in l?(l=l.charCode)===0&&u===13&&(l=13):l=u,l===10&&(l=13),32<=l||l===13?l:0}function bs(){return!0}function El(){return!1}function Ia(l){function u(S,B,G,oe,de){for(var Le in this._reactName=S,this._targetInst=G,this.type=B,this.nativeEvent=oe,this.target=de,this.currentTarget=null,l)l.hasOwnProperty(Le)&&(S=l[Le],this[Le]=S?S(oe):oe[Le]);return this.isDefaultPrevented=(oe.defaultPrevented!=null?oe.defaultPrevented:oe.returnValue===!1)?bs:El,this.isPropagationStopped=El,this}return Te(u.prototype,{preventDefault:function(){this.defaultPrevented=!0;var S=this.nativeEvent;S&&(S.preventDefault?S.preventDefault():typeof S.returnValue!="unknown"&&(S.returnValue=!1),this.isDefaultPrevented=bs)},stopPropagation:function(){var S=this.nativeEvent;S&&(S.stopPropagation?S.stopPropagation():typeof S.cancelBubble!="unknown"&&(S.cancelBubble=!0),this.isPropagationStopped=bs)},persist:function(){},isPersistent:bs}),u}var _s,is,zi,Po={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Vs=Ia(Po),Vi=Te({},Po,{view:0,detail:0}),V=Ia(Vi),pe=Te({},Vi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ur,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==zi&&(zi&&l.type==="mousemove"?(_s=l.screenX-zi.screenX,is=l.screenY-zi.screenY):is=_s=0,zi=l),_s)},movementY:function(l){return"movementY"in l?l.movementY:is}}),Ee=Ia(pe),Be=Ia(Te({},pe,{dataTransfer:0})),je=Ia(Te({},Vi,{relatedTarget:0})),Ge=Ia(Te({},Po,{animationName:0,elapsedTime:0,pseudoElement:0})),bt=Te({},Po,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),mt=Ia(bt),vt=Ia(Te({},Po,{data:0})),Xt={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ar={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"},cr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hr(l){var u=this.nativeEvent;return u.getModifierState?u.getModifierState(l):!!(l=cr[l])&&!!u[l]}function ur(){return hr}var Kt=Te({},Vi,{key:function(l){if(l.key){var u=Xt[l.key]||l.key;if(u!=="Unidentified")return u}return l.type==="keypress"?(l=qi(l))===13?"Enter":String.fromCharCode(l):l.type==="keydown"||l.type==="keyup"?ar[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ur,charCode:function(l){return l.type==="keypress"?qi(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?qi(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),Un=Ia(Kt),Tn=Ia(Te({},pe,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),mr=Ia(Te({},Vi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ur})),Oe=Ia(Te({},Po,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dr=Te({},pe,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),Mr=Ia(Dr),jr=[9,13,27,32],gr=x&&"CompositionEvent"in window,or=null;x&&"documentMode"in document&&(or=document.documentMode);var hn=x&&"TextEvent"in window&&!or,Kr=x&&(!gr||or&&8<or&&11>=or),Tr=" ",Sn=!1;function Jr(l,u){switch(l){case"keyup":return jr.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function jn(l){return typeof(l=l.detail)=="object"&&"data"in l?l.data:null}var Hn=!1,sa={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 Ir(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u==="input"?!!sa[l.type]:u==="textarea"}function Wa(l,u,S,B){za(B),0<(u=gp(u,"onChange")).length&&(S=new Vs("onChange","change",null,S,B),l.push({event:S,listeners:u}))}var no=null,la=null;function Pa(l){Um(l,0)}function So(l){if(qt(Ji(l)))return l}function ws(l,u){if(l==="change")return u}var da=!1;if(x){var xn;if(x){var Ai="oninput"in document;if(!Ai){var Pc=document.createElement("div");Pc.setAttribute("oninput","return;"),Ai=typeof Pc.oninput=="function"}xn=Ai}else xn=!1;da=xn&&(!document.documentMode||9<document.documentMode)}function ec(){no&&(no.detachEvent("onpropertychange",Wi),la=no=null)}function Wi(l){if(l.propertyName==="value"&&So(la)){var u=[];Wa(u,la,l,Oa(l)),Lr(Pa,u)}}function Sl(l,u,S){l==="focusin"?(ec(),la=S,(no=u).attachEvent("onpropertychange",Wi)):l==="focusout"&&ec()}function tc(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return So(la)}function Tc(l,u){if(l==="click")return So(u)}function Ws(l,u){if(l==="input"||l==="change")return So(u)}var Fa=typeof Object.is=="function"?Object.is:function(u,S){return u===S&&(u!==0||1/u==1/S)||u!=u&&S!=S};function Js(l,u){if(Fa(l,u))return!0;if(typeof l!="object"||l===null||typeof u!="object"||u===null)return!1;var S=Object.keys(l),B=Object.keys(u);if(S.length!==B.length)return!1;for(B=0;B<S.length;B++){var G=S[B];if(!O.call(u,G)||!Fa(l[G],u[G]))return!1}return!0}function xl(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function i(l,u){var S,B=xl(l);for(l=0;B;){if(B.nodeType===3){if(S=l+B.textContent.length,l<=u&&S>=u)return{node:B,offset:u-l};l=S}e:{for(;B;){if(B.nextSibling){B=B.nextSibling;break e}B=B.parentNode}B=void 0}B=xl(B)}}function _(l,u){return!(!l||!u)&&(l===u||(!l||l.nodeType!==3)&&(u&&u.nodeType===3?_(l,u.parentNode):"contains"in l?l.contains(u):!!l.compareDocumentPosition&&!!(16&l.compareDocumentPosition(u))))}function P(){for(var l=window,u=lt();u instanceof l.HTMLIFrameElement;){try{var S=typeof u.contentWindow.location.href=="string"}catch{S=!1}if(!S)break;u=lt((l=u.contentWindow).document)}return u}function D(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u&&(u==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||u==="textarea"||l.contentEditable==="true")}function L(l){var u=P(),S=l.focusedElem,B=l.selectionRange;if(u!==S&&S&&S.ownerDocument&&_(S.ownerDocument.documentElement,S)){if(B!==null&&D(S)){if(u=B.start,(l=B.end)===void 0&&(l=u),"selectionStart"in S)S.selectionStart=u,S.selectionEnd=Math.min(l,S.value.length);else if((l=(u=S.ownerDocument||document)&&u.defaultView||window).getSelection){l=l.getSelection();var G=S.textContent.length,oe=Math.min(B.start,G);B=B.end===void 0?oe:Math.min(B.end,G),!l.extend&&oe>B&&(G=B,B=oe,oe=G),G=i(S,oe);var de=i(S,B);G&&de&&(l.rangeCount!==1||l.anchorNode!==G.node||l.anchorOffset!==G.offset||l.focusNode!==de.node||l.focusOffset!==de.offset)&&((u=u.createRange()).setStart(G.node,G.offset),l.removeAllRanges(),oe>B?(l.addRange(u),l.extend(de.node,de.offset)):(u.setEnd(de.node,de.offset),l.addRange(u)))}}for(u=[],l=S;l=l.parentNode;)l.nodeType===1&&u.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<u.length;S++)(l=u[S]).element.scrollLeft=l.left,l.element.scrollTop=l.top}}var re=x&&"documentMode"in document&&11>=document.documentMode,ie=null,ve=null,$e=null,Re=!1;function We(l,u,S){var B=S.window===S?S.document:S.nodeType===9?S:S.ownerDocument;Re||ie==null||ie!==lt(B)||("selectionStart"in(B=ie)&&D(B)?B={start:B.selectionStart,end:B.selectionEnd}:B={anchorNode:(B=(B.ownerDocument&&B.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:B.anchorOffset,focusNode:B.focusNode,focusOffset:B.focusOffset},$e&&Js($e,B)||($e=B,0<(B=gp(ve,"onSelect")).length&&(u=new Vs("onSelect","select",null,u,S),l.push({event:u,listeners:B}),u.target=ie)))}function Et(l,u){var S={};return S[l.toLowerCase()]=u.toLowerCase(),S["Webkit"+l]="webkit"+u,S["Moz"+l]="moz"+u,S}var Ct={animationend:Et("Animation","AnimationEnd"),animationiteration:Et("Animation","AnimationIteration"),animationstart:Et("Animation","AnimationStart"),transitionend:Et("Transition","TransitionEnd")},Bt={},Qt={};function Rr(l){if(Bt[l])return Bt[l];if(!Ct[l])return l;var u,S=Ct[l];for(u in S)if(S.hasOwnProperty(u)&&u in Qt)return Bt[l]=S[u];return l}x&&(Qt=document.createElement("div").style,"AnimationEvent"in window||(delete Ct.animationend.animation,delete Ct.animationiteration.animation,delete Ct.animationstart.animation),"TransitionEvent"in window||delete Ct.transitionend.transition);var Zt=Rr("animationend"),ca=Rr("animationiteration"),Oi=Rr("animationstart"),Hs=Rr("transitionend"),eh=new Map,rc="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 Es(l,u){eh.set(l,u),p(u,[l])}for(var La=0;La<rc.length;La++){var Nc=rc[La];Es(Nc.toLowerCase(),"on"+(Nc[0].toUpperCase()+Nc.slice(1)))}Es(Zt,"onAnimationEnd"),Es(ca,"onAnimationIteration"),Es(Oi,"onAnimationStart"),Es("dblclick","onDoubleClick"),Es("focusin","onFocus"),Es("focusout","onBlur"),Es(Hs,"onTransitionEnd"),w("onMouseEnter",["mouseout","mouseover"]),w("onMouseLeave",["mouseout","mouseover"]),w("onPointerEnter",["pointerout","pointerover"]),w("onPointerLeave",["pointerout","pointerover"]),p("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),p("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),p("onBeforeInput",["compositionend","keypress","textInput","paste"]),p("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),p("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nc="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(" "),Lm=new Set("cancel close invalid load scroll toggle".split(" ").concat(nc));function $m(l,u,S){var B=l.type||"unknown-event";l.currentTarget=S,(function(oe,de,Le,Ue,Xe,wt,ct,Ot,It){if(Ka.apply(this,arguments),nn){if(!nn)throw Error(d(198));var Ft=ea;nn=!1,ea=null,aa||(aa=!0,oa=Ft)}})(B,u,void 0,l),l.currentTarget=null}function Um(l,u){u=!!(4&u);for(var S=0;S<l.length;S++){var B=l[S],G=B.event;B=B.listeners;e:{var oe=void 0;if(u)for(var de=B.length-1;0<=de;de--){var Le=B[de],Ue=Le.instance,Xe=Le.currentTarget;if(Le=Le.listener,Ue!==oe&&G.isPropagationStopped())break e;$m(G,Le,Xe),oe=Ue}else for(de=0;de<B.length;de++){if(Ue=(Le=B[de]).instance,Xe=Le.currentTarget,Le=Le.listener,Ue!==oe&&G.isPropagationStopped())break e;$m(G,Le,Xe),oe=Ue}}}if(aa)throw l=oa,aa=!1,oa=null,l}function Kn(l,u){var S=u[oh];S===void 0&&(S=u[oh]=new Set);var B=l+"__bubble";S.has(B)||(rh(u,l,2,!1),S.add(B))}function th(l,u,S){var B=0;u&&(B|=4),rh(S,l,B,u)}var vu="_reactListening"+Math.random().toString(36).slice(2);function Mc(l){if(!l[vu]){l[vu]=!0,y.forEach((function(S){S!=="selectionchange"&&(Lm.has(S)||th(S,!1,l),th(S,!0,l))}));var u=l.nodeType===9?l:l.ownerDocument;u===null||u[vu]||(u[vu]=!0,th("selectionchange",!1,u))}}function rh(l,u,S,B){switch(co(u)){case 1:var G=as;break;case 4:G=_r;break;default:G=xi}S=G.bind(null,u,S,l),G=void 0,!wn||u!=="touchstart"&&u!=="touchmove"&&u!=="wheel"||(G=!0),B?G!==void 0?l.addEventListener(u,S,{capture:!0,passive:G}):l.addEventListener(u,S,!0):G!==void 0?l.addEventListener(u,S,{passive:G}):l.addEventListener(u,S,!1)}function mp(l,u,S,B,G){var oe=B;if(!(1&u||2&u||B===null))e:for(;;){if(B===null)return;var de=B.tag;if(de===3||de===4){var Le=B.stateNode.containerInfo;if(Le===G||Le.nodeType===8&&Le.parentNode===G)break;if(de===4)for(de=B.return;de!==null;){var Ue=de.tag;if((Ue===3||Ue===4)&&((Ue=de.stateNode.containerInfo)===G||Ue.nodeType===8&&Ue.parentNode===G))return;de=de.return}for(;Le!==null;){if((de=cc(Le))===null)return;if((Ue=de.tag)===5||Ue===6){B=oe=de;continue e}Le=Le.parentNode}}B=B.return}Lr((function(){var Xe=oe,wt=Oa(S),ct=[];e:{var Ot=eh.get(l);if(Ot!==void 0){var It=Vs,Ft=l;switch(l){case"keypress":if(qi(S)===0)break e;case"keydown":case"keyup":It=Un;break;case"focusin":Ft="focus",It=je;break;case"focusout":Ft="blur",It=je;break;case"beforeblur":case"afterblur":It=je;break;case"click":if(S.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":It=Ee;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":It=Be;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":It=mr;break;case Zt:case ca:case Oi:It=Ge;break;case Hs:It=Oe;break;case"scroll":It=V;break;case"wheel":It=Mr;break;case"copy":case"cut":case"paste":It=mt;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":It=Tn}var Nt=!!(4&u),ot=!Nt&&l==="scroll",He=Nt?Ot!==null?Ot+"Capture":null:Ot;Nt=[];for(var gt,Pt=Xe;Pt!==null;){var sr=(gt=Pt).stateNode;if(gt.tag===5&&sr!==null&&(gt=sr,He!==null&&(sr=Xn(Pt,He))!=null&&Nt.push(ac(Pt,sr,gt))),ot)break;Pt=Pt.return}0<Nt.length&&(Ot=new It(Ot,Ft,null,S,wt),ct.push({event:Ot,listeners:Nt}))}}if(!(7&u)){if(It=l==="mouseout"||l==="pointerout",(!(Ot=l==="mouseover"||l==="pointerover")||S===Vr||!(Ft=S.relatedTarget||S.fromElement)||!cc(Ft)&&!Ft[ss])&&(It||Ot)&&(Ot=wt.window===wt?wt:(Ot=wt.ownerDocument)?Ot.defaultView||Ot.parentWindow:window,It?(It=Xe,(Ft=(Ft=S.relatedTarget||S.toElement)?cc(Ft):null)!==null&&(Ft!==(ot=ka(Ft))||Ft.tag!==5&&Ft.tag!==6)&&(Ft=null)):(It=null,Ft=Xe),It!==Ft)){if(Nt=Ee,sr="onMouseLeave",He="onMouseEnter",Pt="mouse",l!=="pointerout"&&l!=="pointerover"||(Nt=Tn,sr="onPointerLeave",He="onPointerEnter",Pt="pointer"),ot=It==null?Ot:Ji(It),gt=Ft==null?Ot:Ji(Ft),(Ot=new Nt(sr,Pt+"leave",It,S,wt)).target=ot,Ot.relatedTarget=gt,sr=null,cc(wt)===Xe&&((Nt=new Nt(He,Pt+"enter",Ft,S,wt)).target=gt,Nt.relatedTarget=ot,sr=Nt),ot=sr,It&&Ft)e:{for(He=Ft,Pt=0,gt=Nt=It;gt;gt=Rc(gt))Pt++;for(gt=0,sr=He;sr;sr=Rc(sr))gt++;for(;0<Pt-gt;)Nt=Rc(Nt),Pt--;for(;0<gt-Pt;)He=Rc(He),gt--;for(;Pt--;){if(Nt===He||He!==null&&Nt===He.alternate)break e;Nt=Rc(Nt),He=Rc(He)}Nt=null}else Nt=null;It!==null&&qm(ct,Ot,It,Nt,!1),Ft!==null&&ot!==null&&qm(ct,ot,Ft,Nt,!0)}if((It=(Ot=Xe?Ji(Xe):window).nodeName&&Ot.nodeName.toLowerCase())==="select"||It==="input"&&Ot.type==="file")var qr=ws;else if(Ir(Ot))if(da)qr=Ws;else{qr=tc;var er=Sl}else(It=Ot.nodeName)&&It.toLowerCase()==="input"&&(Ot.type==="checkbox"||Ot.type==="radio")&&(qr=Tc);switch(qr&&(qr=qr(l,Xe))?Wa(ct,qr,S,wt):(er&&er(l,Ot,Xe),l==="focusout"&&(er=Ot._wrapperState)&&er.controlled&&Ot.type==="number"&&Y(Ot,"number",Ot.value)),er=Xe?Ji(Xe):window,l){case"focusin":(Ir(er)||er.contentEditable==="true")&&(ie=er,ve=Xe,$e=null);break;case"focusout":$e=ve=ie=null;break;case"mousedown":Re=!0;break;case"contextmenu":case"mouseup":case"dragend":Re=!1,We(ct,S,wt);break;case"selectionchange":if(re)break;case"keydown":case"keyup":We(ct,S,wt)}var tn;if(gr)e:{switch(l){case"compositionstart":var Nn="onCompositionStart";break e;case"compositionend":Nn="onCompositionEnd";break e;case"compositionupdate":Nn="onCompositionUpdate";break e}Nn=void 0}else Hn?Jr(l,S)&&(Nn="onCompositionEnd"):l==="keydown"&&S.keyCode===229&&(Nn="onCompositionStart");Nn&&(Kr&&S.locale!=="ko"&&(Hn||Nn!=="onCompositionStart"?Nn==="onCompositionEnd"&&Hn&&(tn=Ui()):(os="value"in(ja=wt)?ja.value:ja.textContent,Hn=!0)),0<(er=gp(Xe,Nn)).length&&(Nn=new vt(Nn,l,null,S,wt),ct.push({event:Nn,listeners:er}),(tn||(tn=jn(S))!==null)&&(Nn.data=tn))),(tn=hn?(function($n,ua){switch($n){case"compositionend":return jn(ua);case"keypress":return ua.which!==32?null:(Sn=!0,Tr);case"textInput":return($n=ua.data)===Tr&&Sn?null:$n;default:return null}})(l,S):(function($n,ua){if(Hn)return $n==="compositionend"||!gr&&Jr($n,ua)?($n=Ui(),$i=os=ja=null,Hn=!1,$n):null;switch($n){case"paste":default:return null;case"keypress":if(!(ua.ctrlKey||ua.altKey||ua.metaKey)||ua.ctrlKey&&ua.altKey){if(ua.char&&1<ua.char.length)return ua.char;if(ua.which)return String.fromCharCode(ua.which)}return null;case"compositionend":return Kr&&ua.locale!=="ko"?null:ua.data}})(l,S))&&0<(Xe=gp(Xe,"onBeforeInput")).length&&(wt=new vt("onBeforeInput","beforeinput",null,S,wt),ct.push({event:wt,listeners:Xe}),wt.data=tn)}Um(ct,u)}))}function ac(l,u,S){return{instance:l,listener:u,currentTarget:S}}function gp(l,u){for(var S=u+"Capture",B=[];l!==null;){var G=l,oe=G.stateNode;G.tag===5&&oe!==null&&(G=oe,(oe=Xn(l,S))!=null&&B.unshift(ac(l,oe,G)),(oe=Xn(l,u))!=null&&B.push(ac(l,oe,G))),l=l.return}return B}function Rc(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5);return l||null}function qm(l,u,S,B,G){for(var oe=u._reactName,de=[];S!==null&&S!==B;){var Le=S,Ue=Le.alternate,Xe=Le.stateNode;if(Ue!==null&&Ue===B)break;Le.tag===5&&Xe!==null&&(Le=Xe,G?(Ue=Xn(S,oe))!=null&&de.unshift(ac(S,Ue,Le)):G||(Ue=Xn(S,oe))!=null&&de.push(ac(S,Ue,Le))),S=S.return}de.length!==0&&l.push({event:u,listeners:de})}var L0=/\r\n?/g,$0=/\u0000|\uFFFD/g;function nh(l){return(typeof l=="string"?l:""+l).replace(L0,`
|
||
`).replace($0,"")}function Dc(l,u,S){if(u=nh(u),nh(l)!==u&&S)throw Error(d(425))}function oc(){}var ic=null,yp=null;function vp(l,u){return l==="textarea"||l==="noscript"||typeof u.children=="string"||typeof u.children=="number"||typeof u.dangerouslySetInnerHTML=="object"&&u.dangerouslySetInnerHTML!==null&&u.dangerouslySetInnerHTML.__html!=null}var sc=typeof setTimeout=="function"?setTimeout:void 0,zm=typeof clearTimeout=="function"?clearTimeout:void 0,Vm=typeof Promise=="function"?Promise:void 0,U0=typeof queueMicrotask=="function"?queueMicrotask:Vm!==void 0?function(l){return Vm.resolve(null).then(l).catch(Wm)}:sc;function Wm(l){setTimeout((function(){throw l}))}function bp(l,u){var S=u,B=0;do{var G=S.nextSibling;if(l.removeChild(S),G&&G.nodeType===8)if((S=G.data)==="/$"){if(B===0)return l.removeChild(G),void to(u);B--}else S!=="$"&&S!=="$?"&&S!=="$!"||B++;S=G}while(S);to(u)}function Ks(l){for(;l!=null;l=l.nextSibling){var u=l.nodeType;if(u===1||u===3)break;if(u===8){if((u=l.data)==="$"||u==="$!"||u==="$?")break;if(u==="/$")return null}}return l}function ah(l){l=l.previousSibling;for(var u=0;l;){if(l.nodeType===8){var S=l.data;if(S==="$"||S==="$!"||S==="$?"){if(u===0)return l;u--}else S==="/$"&&u++}l=l.previousSibling}return null}var lc=Math.random().toString(36).slice(2),uo="__reactFiber$"+lc,bu="__reactProps$"+lc,ss="__reactContainer$"+lc,oh="__reactEvents$"+lc,ih="__reactListeners$"+lc,q0="__reactHandles$"+lc;function cc(l){var u=l[uo];if(u)return u;for(var S=l.parentNode;S;){if(u=S[ss]||S[uo]){if(S=u.alternate,u.child!==null||S!==null&&S.child!==null)for(l=ah(l);l!==null;){if(S=l[uo])return S;l=ah(l)}return u}S=(l=S).parentNode}return null}function _u(l){return!(l=l[uo]||l[ss])||l.tag!==5&&l.tag!==6&&l.tag!==13&&l.tag!==3?null:l}function Ji(l){if(l.tag===5||l.tag===6)return l.stateNode;throw Error(d(33))}function _p(l){return l[bu]||null}var sh=[],Bc=-1;function Al(l){return{current:l}}function Ea(l){0>Bc||(l.current=sh[Bc],sh[Bc]=null,Bc--)}function ma(l,u){Bc++,sh[Bc]=l.current,l.current=u}var Ol={},To=Al(Ol),yi=Al(!1),uc=Ol;function xo(l,u){var S=l.type.contextTypes;if(!S)return Ol;var B=l.stateNode;if(B&&B.__reactInternalMemoizedUnmaskedChildContext===u)return B.__reactInternalMemoizedMaskedChildContext;var G,oe={};for(G in S)oe[G]=u[G];return B&&((l=l.stateNode).__reactInternalMemoizedUnmaskedChildContext=u,l.__reactInternalMemoizedMaskedChildContext=oe),oe}function zo(l){return(l=l.childContextTypes)!=null}function wu(){Ea(yi),Ea(To)}function Jm(l,u,S){if(To.current!==Ol)throw Error(d(168));ma(To,u),ma(yi,S)}function Hm(l,u,S){var B=l.stateNode;if(u=u.childContextTypes,typeof B.getChildContext!="function")return S;for(var G in B=B.getChildContext())if(!(G in u))throw Error(d(108,_e(l)||"Unknown",G));return Te({},S,B)}function wp(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Ol,uc=To.current,ma(To,l),ma(yi,yi.current),!0}function Km(l,u,S){var B=l.stateNode;if(!B)throw Error(d(169));S?(l=Hm(l,u,uc),B.__reactInternalMemoizedMergedChildContext=l,Ea(yi),Ea(To),ma(To,l)):Ea(yi),ma(yi,S)}var Gs=null,Ep=!1,lh=!1;function ch(l){Gs===null?Gs=[l]:Gs.push(l)}function Ss(){if(!lh&&Gs!==null){lh=!0;var l=0,u=fn;try{var S=Gs;for(fn=1;l<S.length;l++){var B=S[l];do B=B(!0);while(B!==null)}Gs=null,Ep=!1}catch(G){throw Gs!==null&&(Gs=Gs.slice(l+1)),so(dr,Ss),G}finally{fn=u,lh=!1}}return null}var Fc=[],Lc=0,Eu=null,Su=0,Hi=[],Ki=0,kl=null,xs=1,Ys="";function Cl(l,u){Fc[Lc++]=Su,Fc[Lc++]=Eu,Eu=l,Su=u}function Gm(l,u,S){Hi[Ki++]=xs,Hi[Ki++]=Ys,Hi[Ki++]=kl,kl=l;var B=xs;l=Ys;var G=32-fa(B)-1;B&=~(1<<G),S+=1;var oe=32-fa(u)+G;if(30<oe){var de=G-G%5;oe=(B&(1<<de)-1).toString(32),B>>=de,G-=de,xs=1<<32-fa(u)+G|S<<G|B,Ys=oe+l}else xs=1<<oe|S<<G|B,Ys=l}function uh(l){l.return!==null&&(Cl(l,1),Gm(l,1,0))}function ph(l){for(;l===Eu;)Eu=Fc[--Lc],Fc[Lc]=null,Su=Fc[--Lc],Fc[Lc]=null;for(;l===kl;)kl=Hi[--Ki],Hi[Ki]=null,Ys=Hi[--Ki],Hi[Ki]=null,xs=Hi[--Ki],Hi[Ki]=null}var ki=null,Vo=null,Sa=!1,ls=null;function $c(l,u){var S=Qo(5,null,null,0);S.elementType="DELETED",S.stateNode=u,S.return=l,(u=l.deletions)===null?(l.deletions=[S],l.flags|=16):u.push(S)}function Sp(l,u){switch(l.tag){case 5:var S=l.type;return(u=u.nodeType!==1||S.toLowerCase()!==u.nodeName.toLowerCase()?null:u)!==null&&(l.stateNode=u,ki=l,Vo=Ks(u.firstChild),!0);case 6:return(u=l.pendingProps===""||u.nodeType!==3?null:u)!==null&&(l.stateNode=u,ki=l,Vo=null,!0);case 13:return(u=u.nodeType!==8?null:u)!==null&&(S=kl!==null?{id:xs,overflow:Ys}:null,l.memoizedState={dehydrated:u,treeContext:S,retryLane:1073741824},(S=Qo(18,null,null,0)).stateNode=u,S.return=l,l.child=S,ki=l,Vo=null,!0);default:return!1}}function xp(l){return!(!(1&l.mode)||128&l.flags)}function fh(l){if(Sa){var u=Vo;if(u){var S=u;if(!Sp(l,u)){if(xp(l))throw Error(d(418));u=Ks(S.nextSibling);var B=ki;u&&Sp(l,u)?$c(B,S):(l.flags=-4097&l.flags|2,Sa=!1,ki=l)}}else{if(xp(l))throw Error(d(418));l.flags=-4097&l.flags|2,Sa=!1,ki=l}}}function hh(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;ki=l}function Ap(l){if(l!==ki)return!1;if(!Sa)return hh(l),Sa=!0,!1;var u;if((u=l.tag!==3)&&!(u=l.tag!==5)&&(u=(u=l.type)!=="head"&&u!=="body"&&!vp(l.type,l.memoizedProps)),u&&(u=Vo)){if(xp(l))throw dh(),Error(d(418));for(;u;)$c(l,u),u=Ks(u.nextSibling)}if(hh(l),l.tag===13){if(!(l=(l=l.memoizedState)!==null?l.dehydrated:null))throw Error(d(317));e:{for(l=l.nextSibling,u=0;l;){if(l.nodeType===8){var S=l.data;if(S==="/$"){if(u===0){Vo=Ks(l.nextSibling);break e}u--}else S!=="$"&&S!=="$!"&&S!=="$?"||u++}l=l.nextSibling}Vo=null}}else Vo=ki?Ks(l.stateNode.nextSibling):null;return!0}function dh(){for(var l=Vo;l;)l=Ks(l.nextSibling)}function Uc(){Vo=ki=null,Sa=!1}function An(l){ls===null?ls=[l]:ls.push(l)}var z0=Q.ReactCurrentBatchConfig;function xu(l,u,S){if((l=S.ref)!==null&&typeof l!="function"&&typeof l!="object"){if(S._owner){if(S=S._owner){if(S.tag!==1)throw Error(d(309));var B=S.stateNode}if(!B)throw Error(d(147,l));var G=B,oe=""+l;return u!==null&&u.ref!==null&&typeof u.ref=="function"&&u.ref._stringRef===oe?u.ref:(u=function(de){var Le=G.refs;de===null?delete Le[oe]:Le[oe]=de},u._stringRef=oe,u)}if(typeof l!="string")throw Error(d(284));if(!S._owner)throw Error(d(290,l))}return l}function Op(l,u){throw l=Object.prototype.toString.call(u),Error(d(31,l==="[object Object]"?"object with keys {"+Object.keys(u).join(", ")+"}":l))}function Ym(l){return(0,l._init)(l._payload)}function Zm(l){function u(ot,He){if(l){var gt=ot.deletions;gt===null?(ot.deletions=[He],ot.flags|=16):gt.push(He)}}function S(ot,He){if(!l)return null;for(;He!==null;)u(ot,He),He=He.sibling;return null}function B(ot,He){for(ot=new Map;He!==null;)He.key!==null?ot.set(He.key,He):ot.set(He.index,He),He=He.sibling;return ot}function G(ot,He){return(ot=$l(ot,He)).index=0,ot.sibling=null,ot}function oe(ot,He,gt){return ot.index=gt,l?(gt=ot.alternate)!==null?(gt=gt.index)<He?(ot.flags|=2,He):gt:(ot.flags|=2,He):(ot.flags|=1048576,He)}function de(ot){return l&&ot.alternate===null&&(ot.flags|=2),ot}function Le(ot,He,gt,Pt){return He===null||He.tag!==6?((He=od(gt,ot.mode,Pt)).return=ot,He):((He=G(He,gt)).return=ot,He)}function Ue(ot,He,gt,Pt){var sr=gt.type;return sr===Pe?wt(ot,He,gt.props.children,Pt,gt.key):He!==null&&(He.elementType===sr||typeof sr=="object"&&sr!==null&&sr.$$typeof===Fe&&Ym(sr)===He.type)?((Pt=G(He,gt.props)).ref=xu(ot,He,gt),Pt.return=ot,Pt):((Pt=cf(gt.type,gt.key,gt.props,null,ot.mode,Pt)).ref=xu(ot,He,gt),Pt.return=ot,Pt)}function Xe(ot,He,gt,Pt){return He===null||He.tag!==4||He.stateNode.containerInfo!==gt.containerInfo||He.stateNode.implementation!==gt.implementation?((He=id(gt,ot.mode,Pt)).return=ot,He):((He=G(He,gt.children||[])).return=ot,He)}function wt(ot,He,gt,Pt,sr){return He===null||He.tag!==7?((He=bc(gt,ot.mode,Pt,sr)).return=ot,He):((He=G(He,gt)).return=ot,He)}function ct(ot,He,gt){if(typeof He=="string"&&He!==""||typeof He=="number")return(He=od(""+He,ot.mode,gt)).return=ot,He;if(typeof He=="object"&&He!==null){switch(He.$$typeof){case se:return(gt=cf(He.type,He.key,He.props,null,ot.mode,gt)).ref=xu(ot,null,He),gt.return=ot,gt;case le:return(He=id(He,ot.mode,gt)).return=ot,He;case Fe:return ct(ot,(0,He._init)(He._payload),gt)}if(C(He)||Ye(He))return(He=bc(He,ot.mode,gt,null)).return=ot,He;Op(ot,He)}return null}function Ot(ot,He,gt,Pt){var sr=He!==null?He.key:null;if(typeof gt=="string"&>!==""||typeof gt=="number")return sr!==null?null:Le(ot,He,""+gt,Pt);if(typeof gt=="object"&>!==null){switch(gt.$$typeof){case se:return gt.key===sr?Ue(ot,He,gt,Pt):null;case le:return gt.key===sr?Xe(ot,He,gt,Pt):null;case Fe:return Ot(ot,He,(sr=gt._init)(gt._payload),Pt)}if(C(gt)||Ye(gt))return sr!==null?null:wt(ot,He,gt,Pt,null);Op(ot,gt)}return null}function It(ot,He,gt,Pt,sr){if(typeof Pt=="string"&&Pt!==""||typeof Pt=="number")return Le(He,ot=ot.get(gt)||null,""+Pt,sr);if(typeof Pt=="object"&&Pt!==null){switch(Pt.$$typeof){case se:return Ue(He,ot=ot.get(Pt.key===null?gt:Pt.key)||null,Pt,sr);case le:return Xe(He,ot=ot.get(Pt.key===null?gt:Pt.key)||null,Pt,sr);case Fe:return It(ot,He,gt,(0,Pt._init)(Pt._payload),sr)}if(C(Pt)||Ye(Pt))return wt(He,ot=ot.get(gt)||null,Pt,sr,null);Op(He,Pt)}return null}function Ft(ot,He,gt,Pt){for(var sr=null,qr=null,er=He,tn=He=0,Nn=null;er!==null&&tn<gt.length;tn++){er.index>tn?(Nn=er,er=null):Nn=er.sibling;var Mn=Ot(ot,er,gt[tn],Pt);if(Mn===null){er===null&&(er=Nn);break}l&&er&&Mn.alternate===null&&u(ot,er),He=oe(Mn,He,tn),qr===null?sr=Mn:qr.sibling=Mn,qr=Mn,er=Nn}if(tn===gt.length)return S(ot,er),Sa&&Cl(ot,tn),sr;if(er===null){for(;tn<gt.length;tn++)(er=ct(ot,gt[tn],Pt))!==null&&(He=oe(er,He,tn),qr===null?sr=er:qr.sibling=er,qr=er);return Sa&&Cl(ot,tn),sr}for(er=B(ot,er);tn<gt.length;tn++)(Nn=It(er,ot,tn,gt[tn],Pt))!==null&&(l&&Nn.alternate!==null&&er.delete(Nn.key===null?tn:Nn.key),He=oe(Nn,He,tn),qr===null?sr=Nn:qr.sibling=Nn,qr=Nn);return l&&er.forEach((function($n){return u(ot,$n)})),Sa&&Cl(ot,tn),sr}function Nt(ot,He,gt,Pt){var sr=Ye(gt);if(typeof sr!="function")throw Error(d(150));if((gt=sr.call(gt))==null)throw Error(d(151));for(var qr=sr=null,er=He,tn=He=0,Nn=null,Mn=gt.next();er!==null&&!Mn.done;tn++,Mn=gt.next()){er.index>tn?(Nn=er,er=null):Nn=er.sibling;var $n=Ot(ot,er,Mn.value,Pt);if($n===null){er===null&&(er=Nn);break}l&&er&&$n.alternate===null&&u(ot,er),He=oe($n,He,tn),qr===null?sr=$n:qr.sibling=$n,qr=$n,er=Nn}if(Mn.done)return S(ot,er),Sa&&Cl(ot,tn),sr;if(er===null){for(;!Mn.done;tn++,Mn=gt.next())(Mn=ct(ot,Mn.value,Pt))!==null&&(He=oe(Mn,He,tn),qr===null?sr=Mn:qr.sibling=Mn,qr=Mn);return Sa&&Cl(ot,tn),sr}for(er=B(ot,er);!Mn.done;tn++,Mn=gt.next())(Mn=It(er,ot,tn,Mn.value,Pt))!==null&&(l&&Mn.alternate!==null&&er.delete(Mn.key===null?tn:Mn.key),He=oe(Mn,He,tn),qr===null?sr=Mn:qr.sibling=Mn,qr=Mn);return l&&er.forEach((function(ua){return u(ot,ua)})),Sa&&Cl(ot,tn),sr}return function ot(He,gt,Pt,sr){if(typeof Pt=="object"&&Pt!==null&&Pt.type===Pe&&Pt.key===null&&(Pt=Pt.props.children),typeof Pt=="object"&&Pt!==null){switch(Pt.$$typeof){case se:e:{for(var qr=Pt.key,er=gt;er!==null;){if(er.key===qr){if((qr=Pt.type)===Pe){if(er.tag===7){S(He,er.sibling),(gt=G(er,Pt.props.children)).return=He,He=gt;break e}}else if(er.elementType===qr||typeof qr=="object"&&qr!==null&&qr.$$typeof===Fe&&Ym(qr)===er.type){S(He,er.sibling),(gt=G(er,Pt.props)).ref=xu(He,er,Pt),gt.return=He,He=gt;break e}S(He,er);break}u(He,er),er=er.sibling}Pt.type===Pe?((gt=bc(Pt.props.children,He.mode,sr,Pt.key)).return=He,He=gt):((sr=cf(Pt.type,Pt.key,Pt.props,null,He.mode,sr)).ref=xu(He,gt,Pt),sr.return=He,He=sr)}return de(He);case le:e:{for(er=Pt.key;gt!==null;){if(gt.key===er){if(gt.tag===4&>.stateNode.containerInfo===Pt.containerInfo&>.stateNode.implementation===Pt.implementation){S(He,gt.sibling),(gt=G(gt,Pt.children||[])).return=He,He=gt;break e}S(He,gt);break}u(He,gt),gt=gt.sibling}(gt=id(Pt,He.mode,sr)).return=He,He=gt}return de(He);case Fe:return ot(He,gt,(er=Pt._init)(Pt._payload),sr)}if(C(Pt))return Ft(He,gt,Pt,sr);if(Ye(Pt))return Nt(He,gt,Pt,sr);Op(He,Pt)}return typeof Pt=="string"&&Pt!==""||typeof Pt=="number"?(Pt=""+Pt,gt!==null&>.tag===6?(S(He,gt.sibling),(gt=G(gt,Pt)).return=He,He=gt):(S(He,gt),(gt=od(Pt,He.mode,sr)).return=He,He=gt),de(He)):S(He,gt)}}var qc=Zm(!0),Xm=Zm(!1),Au=Al(null),zc=null,jl=null,Ou=null;function ku(){Ou=jl=zc=null}function mh(l){var u=Au.current;Ea(Au),l._currentValue=u}function gh(l,u,S){for(;l!==null;){var B=l.alternate;if((l.childLanes&u)!==u?(l.childLanes|=u,B!==null&&(B.childLanes|=u)):B!==null&&(B.childLanes&u)!==u&&(B.childLanes|=u),l===S)break;l=l.return}}function Vc(l,u){zc=l,Ou=jl=null,(l=l.dependencies)!==null&&l.firstContext!==null&&(l.lanes&u&&(Jo=!0),l.firstContext=null)}function Gi(l){var u=l._currentValue;if(Ou!==l)if(l={context:l,memoizedValue:u,next:null},jl===null){if(zc===null)throw Error(d(308));jl=l,zc.dependencies={lanes:0,firstContext:l}}else jl=jl.next=l;return u}var pc=null;function yh(l){pc===null?pc=[l]:pc.push(l)}function Qm(l,u,S,B){var G=u.interleaved;return G===null?(S.next=S,yh(u)):(S.next=G.next,G.next=S),u.interleaved=S,As(l,B)}function As(l,u){l.lanes|=u;var S=l.alternate;for(S!==null&&(S.lanes|=u),S=l,l=l.return;l!==null;)l.childLanes|=u,(S=l.alternate)!==null&&(S.childLanes|=u),S=l,l=l.return;return S.tag===3?S.stateNode:null}var Il=!1;function vh(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function eg(l,u){l=l.updateQueue,u.updateQueue===l&&(u.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function Os(l,u){return{eventTime:l,lane:u,tag:0,payload:null,callback:null,next:null}}function Zs(l,u,S){var B=l.updateQueue;if(B===null)return null;if(B=B.shared,2&qn){var G=B.pending;return G===null?u.next=u:(u.next=G.next,G.next=u),B.pending=u,As(l,S)}return(G=B.interleaved)===null?(u.next=u,yh(B)):(u.next=G.next,G.next=u),B.interleaved=u,As(l,S)}function Wc(l,u,S){if((u=u.updateQueue)!==null&&(u=u.shared,4194240&S)){var B=u.lanes;S|=B&=l.pendingLanes,u.lanes=S,di(l,S)}}function bh(l,u){var S=l.updateQueue,B=l.alternate;if(B!==null&&S===(B=B.updateQueue)){var G=null,oe=null;if((S=S.firstBaseUpdate)!==null){do{var de={eventTime:S.eventTime,lane:S.lane,tag:S.tag,payload:S.payload,callback:S.callback,next:null};oe===null?G=oe=de:oe=oe.next=de,S=S.next}while(S!==null);oe===null?G=oe=u:oe=oe.next=u}else G=oe=u;return S={baseState:B.baseState,firstBaseUpdate:G,lastBaseUpdate:oe,shared:B.shared,effects:B.effects},void(l.updateQueue=S)}(l=S.lastBaseUpdate)===null?S.firstBaseUpdate=u:l.next=u,S.lastBaseUpdate=u}function Cu(l,u,S,B){var G=l.updateQueue;Il=!1;var oe=G.firstBaseUpdate,de=G.lastBaseUpdate,Le=G.shared.pending;if(Le!==null){G.shared.pending=null;var Ue=Le,Xe=Ue.next;Ue.next=null,de===null?oe=Xe:de.next=Xe,de=Ue;var wt=l.alternate;wt!==null&&(Le=(wt=wt.updateQueue).lastBaseUpdate)!==de&&(Le===null?wt.firstBaseUpdate=Xe:Le.next=Xe,wt.lastBaseUpdate=Ue)}if(oe!==null){var ct=G.baseState;for(de=0,wt=Xe=Ue=null,Le=oe;;){var Ot=Le.lane,It=Le.eventTime;if((B&Ot)===Ot){wt!==null&&(wt=wt.next={eventTime:It,lane:0,tag:Le.tag,payload:Le.payload,callback:Le.callback,next:null});e:{var Ft=l,Nt=Le;switch(Ot=u,It=S,Nt.tag){case 1:if(typeof(Ft=Nt.payload)=="function"){ct=Ft.call(It,ct,Ot);break e}ct=Ft;break e;case 3:Ft.flags=-65537&Ft.flags|128;case 0:if((Ot=typeof(Ft=Nt.payload)=="function"?Ft.call(It,ct,Ot):Ft)==null)break e;ct=Te({},ct,Ot);break e;case 2:Il=!0}}Le.callback!==null&&Le.lane!==0&&(l.flags|=64,(Ot=G.effects)===null?G.effects=[Le]:Ot.push(Le))}else It={eventTime:It,lane:Ot,tag:Le.tag,payload:Le.payload,callback:Le.callback,next:null},wt===null?(Xe=wt=It,Ue=ct):wt=wt.next=It,de|=Ot;if((Le=Le.next)===null){if((Le=G.shared.pending)===null)break;Le=(Ot=Le).next,Ot.next=null,G.lastBaseUpdate=Ot,G.shared.pending=null}}if(wt===null&&(Ue=ct),G.baseState=Ue,G.firstBaseUpdate=Xe,G.lastBaseUpdate=wt,(u=G.shared.interleaved)!==null){G=u;do de|=G.lane,G=G.next;while(G!==u)}else oe===null&&(G.shared.lanes=0);yc|=de,l.lanes=de,l.memoizedState=ct}}function tg(l,u,S){if(l=u.effects,u.effects=null,l!==null)for(u=0;u<l.length;u++){var B=l[u],G=B.callback;if(G!==null){if(B.callback=null,B=S,typeof G!="function")throw Error(d(191,G));G.call(B)}}}var ju={},ks=Al(ju),fc=Al(ju),Iu=Al(ju);function Pl(l){if(l===ju)throw Error(d(174));return l}function _h(l,u){switch(ma(Iu,u),ma(fc,l),ma(ks,ju),l=u.nodeType){case 9:case 11:u=(u=u.documentElement)?u.namespaceURI:St(null,"");break;default:u=St(u=(l=l===8?u.parentNode:u).namespaceURI||null,l=l.tagName)}Ea(ks),ma(ks,u)}function Tl(){Ea(ks),Ea(fc),Ea(Iu)}function wh(l){Pl(Iu.current);var u=Pl(ks.current),S=St(u,l.type);u!==S&&(ma(fc,l),ma(ks,S))}function Eh(l){fc.current===l&&(Ea(ks),Ea(fc))}var $a=Al(0);function kp(l){for(var u=l;u!==null;){if(u.tag===13){var S=u.memoizedState;if(S!==null&&((S=S.dehydrated)===null||S.data==="$?"||S.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(128&u.flags)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var Sh=[];function On(){for(var l=0;l<Sh.length;l++)Sh[l]._workInProgressVersionPrimary=null;Sh.length=0}var hc=Q.ReactCurrentDispatcher,xh=Q.ReactCurrentBatchConfig,dc=0,Ta=null,ao=null,Ya=null,Cp=!1,Pu=!1,Tu=0,Ah=0;function No(){throw Error(d(321))}function Oh(l,u){if(u===null)return!1;for(var S=0;S<u.length&&S<l.length;S++)if(!Fa(l[S],u[S]))return!1;return!0}function jp(l,u,S,B,G,oe){if(dc=oe,Ta=u,u.memoizedState=null,u.updateQueue=null,u.lanes=0,hc.current=l===null||l.memoizedState===null?J0:H0,l=S(B,G),Pu){oe=0;do{if(Pu=!1,Tu=0,25<=oe)throw Error(d(301));oe+=1,Ya=ao=null,u.updateQueue=null,hc.current=Rh,l=S(B,G)}while(Pu)}if(hc.current=Np,u=ao!==null&&ao.next!==null,dc=0,Ya=ao=Ta=null,Cp=!1,u)throw Error(d(300));return l}function Nu(){var l=Tu!==0;return Tu=0,l}function Yi(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ya===null?Ta.memoizedState=Ya=l:Ya=Ya.next=l,Ya}function Zi(){if(ao===null){var l=Ta.alternate;l=l!==null?l.memoizedState:null}else l=ao.next;var u=Ya===null?Ta.memoizedState:Ya.next;if(u!==null)Ya=u,ao=l;else{if(l===null)throw Error(d(310));l={memoizedState:(ao=l).memoizedState,baseState:ao.baseState,baseQueue:ao.baseQueue,queue:ao.queue,next:null},Ya===null?Ta.memoizedState=Ya=l:Ya=Ya.next=l}return Ya}function Jc(l,u){return typeof u=="function"?u(l):u}function kh(l){var u=Zi(),S=u.queue;if(S===null)throw Error(d(311));S.lastRenderedReducer=l;var B=ao,G=B.baseQueue,oe=S.pending;if(oe!==null){if(G!==null){var de=G.next;G.next=oe.next,oe.next=de}B.baseQueue=G=oe,S.pending=null}if(G!==null){oe=G.next,B=B.baseState;var Le=de=null,Ue=null,Xe=oe;do{var wt=Xe.lane;if((dc&wt)===wt)Ue!==null&&(Ue=Ue.next={lane:0,action:Xe.action,hasEagerState:Xe.hasEagerState,eagerState:Xe.eagerState,next:null}),B=Xe.hasEagerState?Xe.eagerState:l(B,Xe.action);else{var ct={lane:wt,action:Xe.action,hasEagerState:Xe.hasEagerState,eagerState:Xe.eagerState,next:null};Ue===null?(Le=Ue=ct,de=B):Ue=Ue.next=ct,Ta.lanes|=wt,yc|=wt}Xe=Xe.next}while(Xe!==null&&Xe!==oe);Ue===null?de=B:Ue.next=Le,Fa(B,u.memoizedState)||(Jo=!0),u.memoizedState=B,u.baseState=de,u.baseQueue=Ue,S.lastRenderedState=B}if((l=S.interleaved)!==null){G=l;do oe=G.lane,Ta.lanes|=oe,yc|=oe,G=G.next;while(G!==l)}else G===null&&(S.lanes=0);return[u.memoizedState,S.dispatch]}function Ip(l){var u=Zi(),S=u.queue;if(S===null)throw Error(d(311));S.lastRenderedReducer=l;var B=S.dispatch,G=S.pending,oe=u.memoizedState;if(G!==null){S.pending=null;var de=G=G.next;do oe=l(oe,de.action),de=de.next;while(de!==G);Fa(oe,u.memoizedState)||(Jo=!0),u.memoizedState=oe,u.baseQueue===null&&(u.baseState=oe),S.lastRenderedState=oe}return[oe,B]}function Ch(){}function rg(l,u){var S=Ta,B=Zi(),G=u(),oe=!Fa(B.memoizedState,G);if(oe&&(B.memoizedState=G,Jo=!0),B=B.queue,Ci(Wo.bind(null,S,B,l),[l]),B.getSnapshot!==u||oe||Ya!==null&&1&Ya.memoizedState.tag){if(S.flags|=2048,Mu(9,ng.bind(null,S,B,G,u),void 0,null),ho===null)throw Error(d(349));30&dc||jh(S,u,G)}return G}function jh(l,u,S){l.flags|=16384,l={getSnapshot:u,value:S},(u=Ta.updateQueue)===null?(u={lastEffect:null,stores:null},Ta.updateQueue=u,u.stores=[l]):(S=u.stores)===null?u.stores=[l]:S.push(l)}function ng(l,u,S,B){u.value=S,u.getSnapshot=B,Pp(u)&&Ih(l)}function Wo(l,u,S){return S((function(){Pp(u)&&Ih(l)}))}function Pp(l){var u=l.getSnapshot;l=l.value;try{var S=u();return!Fa(l,S)}catch{return!0}}function Ih(l){var u=As(l,1);u!==null&&fs(u,l,1,-1)}function Ph(l){var u=Yi();return typeof l=="function"&&(l=l()),u.memoizedState=u.baseState=l,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Jc,lastRenderedState:l},u.queue=l,l=l.dispatch=W0.bind(null,Ta,l),[u.memoizedState,l]}function Mu(l,u,S,B){return l={tag:l,create:u,destroy:S,deps:B,next:null},(u=Ta.updateQueue)===null?(u={lastEffect:null,stores:null},Ta.updateQueue=u,u.lastEffect=l.next=l):(S=u.lastEffect)===null?u.lastEffect=l.next=l:(B=S.next,S.next=l,l.next=B,u.lastEffect=l),l}function ag(){return Zi().memoizedState}function Tp(l,u,S,B){var G=Yi();Ta.flags|=l,G.memoizedState=Mu(1|u,S,void 0,B===void 0?null:B)}function Hc(l,u,S,B){var G=Zi();B=B===void 0?null:B;var oe=void 0;if(ao!==null){var de=ao.memoizedState;if(oe=de.destroy,B!==null&&Oh(B,de.deps))return void(G.memoizedState=Mu(u,S,oe,B))}Ta.flags|=l,G.memoizedState=Mu(1|u,S,oe,B)}function og(l,u){return Tp(8390656,8,l,u)}function Ci(l,u){return Hc(2048,8,l,u)}function Na(l,u){return Hc(4,2,l,u)}function ig(l,u){return Hc(4,4,l,u)}function sg(l,u){return typeof u=="function"?(l=l(),u(l),function(){u(null)}):u!=null?(l=l(),u.current=l,function(){u.current=null}):void 0}function Ru(l,u,S){return S=S!=null?S.concat([l]):null,Hc(4,4,sg.bind(null,u,l),S)}function Th(){}function lg(l,u){var S=Zi();u=u===void 0?null:u;var B=S.memoizedState;return B!==null&&u!==null&&Oh(u,B[1])?B[0]:(S.memoizedState=[l,u],l)}function cg(l,u){var S=Zi();u=u===void 0?null:u;var B=S.memoizedState;return B!==null&&u!==null&&Oh(u,B[1])?B[0]:(l=l(),S.memoizedState=[l,u],l)}function ug(l,u,S){return 21&dc?(Fa(S,u)||(S=fi(),Ta.lanes|=S,yc|=S,l.baseState=!0),u):(l.baseState&&(l.baseState=!1,Jo=!0),l.memoizedState=S)}function pg(l,u){var S=fn;fn=S!==0&&4>S?S:4,l(!0);var B=xh.transition;xh.transition={};try{l(!1),u()}finally{fn=S,xh.transition=B}}function Nl(){return Zi().memoizedState}function V0(l,u,S){var B=Fl(l);S={lane:B,action:S,hasEagerState:!1,eagerState:null,next:null},fg(l)?Nh(u,S):(S=Qm(l,u,S,B))!==null&&(fs(S,l,B,Zo()),Mh(S,u,B))}function W0(l,u,S){var B=Fl(l),G={lane:B,action:S,hasEagerState:!1,eagerState:null,next:null};if(fg(l))Nh(u,G);else{var oe=l.alternate;if(l.lanes===0&&(oe===null||oe.lanes===0)&&(oe=u.lastRenderedReducer)!==null)try{var de=u.lastRenderedState,Le=oe(de,S);if(G.hasEagerState=!0,G.eagerState=Le,Fa(Le,de)){var Ue=u.interleaved;return Ue===null?(G.next=G,yh(u)):(G.next=Ue.next,Ue.next=G),void(u.interleaved=G)}}catch{}(S=Qm(l,u,G,B))!==null&&(fs(S,l,B,G=Zo()),Mh(S,u,B))}}function fg(l){var u=l.alternate;return l===Ta||u!==null&&u===Ta}function Nh(l,u){Pu=Cp=!0;var S=l.pending;S===null?u.next=u:(u.next=S.next,S.next=u),l.pending=u}function Mh(l,u,S){if(4194240&S){var B=u.lanes;S|=B&=l.pendingLanes,u.lanes=S,di(l,S)}}var Np={readContext:Gi,useCallback:No,useContext:No,useEffect:No,useImperativeHandle:No,useInsertionEffect:No,useLayoutEffect:No,useMemo:No,useReducer:No,useRef:No,useState:No,useDebugValue:No,useDeferredValue:No,useTransition:No,useMutableSource:No,useSyncExternalStore:No,useId:No,unstable_isNewReconciler:!1},J0={readContext:Gi,useCallback:function(l,u){return Yi().memoizedState=[l,u===void 0?null:u],l},useContext:Gi,useEffect:og,useImperativeHandle:function(l,u,S){return S=S!=null?S.concat([l]):null,Tp(4194308,4,sg.bind(null,u,l),S)},useLayoutEffect:function(l,u){return Tp(4194308,4,l,u)},useInsertionEffect:function(l,u){return Tp(4,2,l,u)},useMemo:function(l,u){var S=Yi();return u=u===void 0?null:u,l=l(),S.memoizedState=[l,u],l},useReducer:function(l,u,S){var B=Yi();return u=S!==void 0?S(u):u,B.memoizedState=B.baseState=u,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:u},B.queue=l,l=l.dispatch=V0.bind(null,Ta,l),[B.memoizedState,l]},useRef:function(l){return l={current:l},Yi().memoizedState=l},useState:Ph,useDebugValue:Th,useDeferredValue:function(l){return Yi().memoizedState=l},useTransition:function(){var l=Ph(!1),u=l[0];return l=pg.bind(null,l[1]),Yi().memoizedState=l,[u,l]},useMutableSource:function(){},useSyncExternalStore:function(l,u,S){var B=Ta,G=Yi();if(Sa){if(S===void 0)throw Error(d(407));S=S()}else{if(S=u(),ho===null)throw Error(d(349));30&dc||jh(B,u,S)}G.memoizedState=S;var oe={value:S,getSnapshot:u};return G.queue=oe,og(Wo.bind(null,B,oe,l),[l]),B.flags|=2048,Mu(9,ng.bind(null,B,oe,S,u),void 0,null),S},useId:function(){var l=Yi(),u=ho.identifierPrefix;if(Sa){var S=Ys;u=":"+u+"R"+(S=(xs&~(1<<32-fa(xs)-1)).toString(32)+S),0<(S=Tu++)&&(u+="H"+S.toString(32)),u+=":"}else u=":"+u+"r"+(S=Ah++).toString(32)+":";return l.memoizedState=u},unstable_isNewReconciler:!1},H0={readContext:Gi,useCallback:lg,useContext:Gi,useEffect:Ci,useImperativeHandle:Ru,useInsertionEffect:Na,useLayoutEffect:ig,useMemo:cg,useReducer:kh,useRef:ag,useState:function(){return kh(Jc)},useDebugValue:Th,useDeferredValue:function(l){return ug(Zi(),ao.memoizedState,l)},useTransition:function(){return[kh(Jc)[0],Zi().memoizedState]},useMutableSource:Ch,useSyncExternalStore:rg,useId:Nl,unstable_isNewReconciler:!1},Rh={readContext:Gi,useCallback:lg,useContext:Gi,useEffect:Ci,useImperativeHandle:Ru,useInsertionEffect:Na,useLayoutEffect:ig,useMemo:cg,useReducer:Ip,useRef:ag,useState:function(){return Ip(Jc)},useDebugValue:Th,useDeferredValue:function(l){var u=Zi();return ao===null?u.memoizedState=l:ug(u,ao.memoizedState,l)},useTransition:function(){return[Ip(Jc)[0],Zi().memoizedState]},useMutableSource:Ch,useSyncExternalStore:rg,useId:Nl,unstable_isNewReconciler:!1};function cs(l,u){if(l&&l.defaultProps){for(var S in u=Te({},u),l=l.defaultProps)u[S]===void 0&&(u[S]=l[S]);return u}return u}function Dh(l,u,S,B){S=(S=S(B,u=l.memoizedState))==null?u:Te({},u,S),l.memoizedState=S,l.lanes===0&&(l.updateQueue.baseState=S)}var Xi={isMounted:function(l){return!!(l=l._reactInternals)&&ka(l)===l},enqueueSetState:function(l,u,S){l=l._reactInternals;var B=Zo(),G=Fl(l),oe=Os(B,G);oe.payload=u,S!=null&&(oe.callback=S),(u=Zs(l,oe,G))!==null&&(fs(u,l,G,B),Wc(u,l,G))},enqueueReplaceState:function(l,u,S){l=l._reactInternals;var B=Zo(),G=Fl(l),oe=Os(B,G);oe.tag=1,oe.payload=u,S!=null&&(oe.callback=S),(u=Zs(l,oe,G))!==null&&(fs(u,l,G,B),Wc(u,l,G))},enqueueForceUpdate:function(l,u){l=l._reactInternals;var S=Zo(),B=Fl(l),G=Os(S,B);G.tag=2,u!=null&&(G.callback=u),(u=Zs(l,G,B))!==null&&(fs(u,l,B,S),Wc(u,l,B))}};function hg(l,u,S,B,G,oe,de){return typeof(l=l.stateNode).shouldComponentUpdate=="function"?l.shouldComponentUpdate(B,oe,de):!u.prototype||!u.prototype.isPureReactComponent||!Js(S,B)||!Js(G,oe)}function Bh(l,u,S){var B=!1,G=Ol,oe=u.contextType;return typeof oe=="object"&&oe!==null?oe=Gi(oe):(G=zo(u)?uc:To.current,oe=(B=(B=u.contextTypes)!=null)?xo(l,G):Ol),u=new u(S,oe),l.memoizedState=u.state!==null&&u.state!==void 0?u.state:null,u.updater=Xi,l.stateNode=u,u._reactInternals=l,B&&((l=l.stateNode).__reactInternalMemoizedUnmaskedChildContext=G,l.__reactInternalMemoizedMaskedChildContext=oe),u}function dg(l,u,S,B){l=u.state,typeof u.componentWillReceiveProps=="function"&&u.componentWillReceiveProps(S,B),typeof u.UNSAFE_componentWillReceiveProps=="function"&&u.UNSAFE_componentWillReceiveProps(S,B),u.state!==l&&Xi.enqueueReplaceState(u,u.state,null)}function Mp(l,u,S,B){var G=l.stateNode;G.props=S,G.state=l.memoizedState,G.refs={},vh(l);var oe=u.contextType;typeof oe=="object"&&oe!==null?G.context=Gi(oe):(oe=zo(u)?uc:To.current,G.context=xo(l,oe)),G.state=l.memoizedState,typeof(oe=u.getDerivedStateFromProps)=="function"&&(Dh(l,u,oe,S),G.state=l.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof G.getSnapshotBeforeUpdate=="function"||typeof G.UNSAFE_componentWillMount!="function"&&typeof G.componentWillMount!="function"||(u=G.state,typeof G.componentWillMount=="function"&&G.componentWillMount(),typeof G.UNSAFE_componentWillMount=="function"&&G.UNSAFE_componentWillMount(),u!==G.state&&Xi.enqueueReplaceState(G,G.state,null),Cu(l,S,G,B),G.state=l.memoizedState),typeof G.componentDidMount=="function"&&(l.flags|=4194308)}function Kc(l,u){try{var S="",B=u;do S+=dt(B),B=B.return;while(B);var G=S}catch(oe){G=`
|
||
Error generating stack: `+oe.message+`
|
||
`+oe.stack}return{value:l,source:u,stack:G,digest:null}}function Rp(l,u,S){return{value:l,source:null,stack:S??null,digest:u??null}}function Fh(l,u){try{console.error(u.value)}catch(S){setTimeout((function(){throw S}))}}var mg=typeof WeakMap=="function"?WeakMap:Map;function gg(l,u,S){(S=Os(-1,S)).tag=3,S.payload={element:null};var B=u.value;return S.callback=function(){Zp||(Zp=!0,Xp=B),Fh(0,u)},S}function us(l,u,S){(S=Os(-1,S)).tag=3;var B=l.type.getDerivedStateFromError;if(typeof B=="function"){var G=u.value;S.payload=function(){return B(G)},S.callback=function(){Fh(0,u)}}var oe=l.stateNode;return oe!==null&&typeof oe.componentDidCatch=="function"&&(S.callback=function(){Fh(0,u),typeof B!="function"&&(Dl===null?Dl=new Set([this]):Dl.add(this));var de=u.stack;this.componentDidCatch(u.value,{componentStack:de!==null?de:""})}),S}function Dp(l,u,S){var B=l.pingCache;if(B===null){B=l.pingCache=new mg;var G=new Set;B.set(u,G)}else(G=B.get(u))===void 0&&(G=new Set,B.set(u,G));G.has(S)||(G.add(S),l=Q0.bind(null,l,u,S),u.then(l,l))}function yg(l){do{var u;if((u=l.tag===13)&&(u=(u=l.memoizedState)===null||u.dehydrated!==null),u)return l;l=l.return}while(l!==null);return null}function vg(l,u,S,B,G){return 1&l.mode?(l.flags|=65536,l.lanes=G,l):(l===u?l.flags|=65536:(l.flags|=128,S.flags|=131072,S.flags&=-52805,S.tag===1&&(S.alternate===null?S.tag=17:((u=Os(-1,1)).tag=2,Zs(S,u,1))),S.lanes|=1),l)}var Du=Q.ReactCurrentOwner,Jo=!1;function Ho(l,u,S,B){u.child=l===null?Xm(u,null,S,B):qc(u,l.child,S,B)}function bg(l,u,S,B,G){S=S.render;var oe=u.ref;return Vc(u,G),B=jp(l,u,S,B,oe,G),S=Nu(),l===null||Jo?(Sa&&S&&uh(u),u.flags|=1,Ho(l,u,B,G),u.child):(u.updateQueue=l.updateQueue,u.flags&=-2053,l.lanes&=~G,Xs(l,u,G))}function Lh(l,u,S,B,G){if(l===null){var oe=S.type;return typeof oe!="function"||ad(oe)||oe.defaultProps!==void 0||S.compare!==null||S.defaultProps!==void 0?((l=cf(S.type,null,B,u,u.mode,G)).ref=u.ref,l.return=u,u.child=l):(u.tag=15,u.type=oe,$h(l,u,oe,B,G))}if(oe=l.child,!(l.lanes&G)){var de=oe.memoizedProps;if((S=(S=S.compare)!==null?S:Js)(de,B)&&l.ref===u.ref)return Xs(l,u,G)}return u.flags|=1,(l=$l(oe,B)).ref=u.ref,l.return=u,u.child=l}function $h(l,u,S,B,G){if(l!==null){var oe=l.memoizedProps;if(Js(oe,B)&&l.ref===u.ref){if(Jo=!1,u.pendingProps=B=oe,!(l.lanes&G))return u.lanes=l.lanes,Xs(l,u,G);131072&l.flags&&(Jo=!0)}}return Ml(l,u,S,B,G)}function Uh(l,u,S){var B=u.pendingProps,G=B.children,oe=l!==null?l.memoizedState:null;if(B.mode==="hidden")if(1&u.mode){if(!(1073741824&S))return l=oe!==null?oe.baseLanes|S:S,u.lanes=u.childLanes=1073741824,u.memoizedState={baseLanes:l,cachePool:null,transitions:null},u.updateQueue=null,ma(gc,Go),Go|=l,null;u.memoizedState={baseLanes:0,cachePool:null,transitions:null},B=oe!==null?oe.baseLanes:S,ma(gc,Go),Go|=B}else u.memoizedState={baseLanes:0,cachePool:null,transitions:null},ma(gc,Go),Go|=S;else oe!==null?(B=oe.baseLanes|S,u.memoizedState=null):B=S,ma(gc,Go),Go|=B;return Ho(l,u,G,S),u.child}function _g(l,u){var S=u.ref;(l===null&&S!==null||l!==null&&l.ref!==S)&&(u.flags|=512,u.flags|=2097152)}function Ml(l,u,S,B,G){var oe=zo(S)?uc:To.current;return oe=xo(u,oe),Vc(u,G),S=jp(l,u,S,B,oe,G),B=Nu(),l===null||Jo?(Sa&&B&&uh(u),u.flags|=1,Ho(l,u,S,G),u.child):(u.updateQueue=l.updateQueue,u.flags&=-2053,l.lanes&=~G,Xs(l,u,G))}function ji(l,u,S,B,G){if(zo(S)){var oe=!0;wp(u)}else oe=!1;if(Vc(u,G),u.stateNode===null)mc(l,u),Bh(u,S,B),Mp(u,S,B,G),B=!0;else if(l===null){var de=u.stateNode,Le=u.memoizedProps;de.props=Le;var Ue=de.context,Xe=S.contextType;typeof Xe=="object"&&Xe!==null?Xe=Gi(Xe):Xe=xo(u,Xe=zo(S)?uc:To.current);var wt=S.getDerivedStateFromProps,ct=typeof wt=="function"||typeof de.getSnapshotBeforeUpdate=="function";ct||typeof de.UNSAFE_componentWillReceiveProps!="function"&&typeof de.componentWillReceiveProps!="function"||(Le!==B||Ue!==Xe)&&dg(u,de,B,Xe),Il=!1;var Ot=u.memoizedState;de.state=Ot,Cu(u,B,de,G),Ue=u.memoizedState,Le!==B||Ot!==Ue||yi.current||Il?(typeof wt=="function"&&(Dh(u,S,wt,B),Ue=u.memoizedState),(Le=Il||hg(u,S,Le,B,Ot,Ue,Xe))?(ct||typeof de.UNSAFE_componentWillMount!="function"&&typeof de.componentWillMount!="function"||(typeof de.componentWillMount=="function"&&de.componentWillMount(),typeof de.UNSAFE_componentWillMount=="function"&&de.UNSAFE_componentWillMount()),typeof de.componentDidMount=="function"&&(u.flags|=4194308)):(typeof de.componentDidMount=="function"&&(u.flags|=4194308),u.memoizedProps=B,u.memoizedState=Ue),de.props=B,de.state=Ue,de.context=Xe,B=Le):(typeof de.componentDidMount=="function"&&(u.flags|=4194308),B=!1)}else{de=u.stateNode,eg(l,u),Le=u.memoizedProps,Xe=u.type===u.elementType?Le:cs(u.type,Le),de.props=Xe,ct=u.pendingProps,Ot=de.context,typeof(Ue=S.contextType)=="object"&&Ue!==null?Ue=Gi(Ue):Ue=xo(u,Ue=zo(S)?uc:To.current);var It=S.getDerivedStateFromProps;(wt=typeof It=="function"||typeof de.getSnapshotBeforeUpdate=="function")||typeof de.UNSAFE_componentWillReceiveProps!="function"&&typeof de.componentWillReceiveProps!="function"||(Le!==ct||Ot!==Ue)&&dg(u,de,B,Ue),Il=!1,Ot=u.memoizedState,de.state=Ot,Cu(u,B,de,G);var Ft=u.memoizedState;Le!==ct||Ot!==Ft||yi.current||Il?(typeof It=="function"&&(Dh(u,S,It,B),Ft=u.memoizedState),(Xe=Il||hg(u,S,Xe,B,Ot,Ft,Ue)||!1)?(wt||typeof de.UNSAFE_componentWillUpdate!="function"&&typeof de.componentWillUpdate!="function"||(typeof de.componentWillUpdate=="function"&&de.componentWillUpdate(B,Ft,Ue),typeof de.UNSAFE_componentWillUpdate=="function"&&de.UNSAFE_componentWillUpdate(B,Ft,Ue)),typeof de.componentDidUpdate=="function"&&(u.flags|=4),typeof de.getSnapshotBeforeUpdate=="function"&&(u.flags|=1024)):(typeof de.componentDidUpdate!="function"||Le===l.memoizedProps&&Ot===l.memoizedState||(u.flags|=4),typeof de.getSnapshotBeforeUpdate!="function"||Le===l.memoizedProps&&Ot===l.memoizedState||(u.flags|=1024),u.memoizedProps=B,u.memoizedState=Ft),de.props=B,de.state=Ft,de.context=Ue,B=Xe):(typeof de.componentDidUpdate!="function"||Le===l.memoizedProps&&Ot===l.memoizedState||(u.flags|=4),typeof de.getSnapshotBeforeUpdate!="function"||Le===l.memoizedProps&&Ot===l.memoizedState||(u.flags|=1024),B=!1)}return Bp(l,u,S,B,oe,G)}function Bp(l,u,S,B,G,oe){_g(l,u);var de=!!(128&u.flags);if(!B&&!de)return G&&Km(u,S,!1),Xs(l,u,oe);B=u.stateNode,Du.current=u;var Le=de&&typeof S.getDerivedStateFromError!="function"?null:B.render();return u.flags|=1,l!==null&&de?(u.child=qc(u,l.child,null,oe),u.child=qc(u,null,Le,oe)):Ho(l,u,Le,oe),u.memoizedState=B.state,G&&Km(u,S,!0),u.child}function Fp(l){var u=l.stateNode;u.pendingContext?Jm(0,u.pendingContext,u.pendingContext!==u.context):u.context&&Jm(0,u.context,!1),_h(l,u.containerInfo)}function Lp(l,u,S,B,G){return Uc(),An(G),u.flags|=256,Ho(l,u,S,B),u.child}var qh,$p,zh,wg,Vh={dehydrated:null,treeContext:null,retryLane:0};function Wh(l){return{baseLanes:l,cachePool:null,transitions:null}}function Eg(l,u,S){var B,G=u.pendingProps,oe=$a.current,de=!1,Le=!!(128&u.flags);if((B=Le)||(B=(l===null||l.memoizedState!==null)&&!!(2&oe)),B?(de=!0,u.flags&=-129):l!==null&&l.memoizedState===null||(oe|=1),ma($a,1&oe),l===null)return fh(u),(l=u.memoizedState)!==null&&(l=l.dehydrated)!==null?(1&u.mode?l.data==="$!"?u.lanes=8:u.lanes=1073741824:u.lanes=1,null):(Le=G.children,l=G.fallback,de?(G=u.mode,de=u.child,Le={mode:"hidden",children:Le},1&G||de===null?de=uf(Le,G,0,null):(de.childLanes=0,de.pendingProps=Le),l=bc(l,G,S,null),de.return=u,l.return=u,de.sibling=l,u.child=de,u.child.memoizedState=Wh(S),u.memoizedState=Vh,l):Jh(u,Le));if((oe=l.memoizedState)!==null&&(B=oe.dehydrated)!==null)return(function(wt,ct,Ot,It,Ft,Nt,ot){if(Ot)return 256&ct.flags?(ct.flags&=-257,Up(wt,ct,ot,It=Rp(Error(d(422))))):ct.memoizedState!==null?(ct.child=wt.child,ct.flags|=128,null):(Nt=It.fallback,Ft=ct.mode,It=uf({mode:"visible",children:It.children},Ft,0,null),(Nt=bc(Nt,Ft,ot,null)).flags|=2,It.return=ct,Nt.return=ct,It.sibling=Nt,ct.child=It,1&ct.mode&&qc(ct,wt.child,null,ot),ct.child.memoizedState=Wh(ot),ct.memoizedState=Vh,Nt);if(!(1&ct.mode))return Up(wt,ct,ot,null);if(Ft.data==="$!"){if(It=Ft.nextSibling&&Ft.nextSibling.dataset)var He=It.dgst;return It=He,Up(wt,ct,ot,It=Rp(Nt=Error(d(419)),It,void 0))}if(He=!!(ot&wt.childLanes),Jo||He){if((It=ho)!==null){switch(ot&-ot){case 4:Ft=2;break;case 16:Ft=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:Ft=32;break;case 536870912:Ft=268435456;break;default:Ft=0}(Ft=Ft&(It.suspendedLanes|ot)?0:Ft)!==0&&Ft!==Nt.retryLane&&(Nt.retryLane=Ft,As(wt,Ft),fs(It,wt,Ft,-1))}return sf(),Up(wt,ct,ot,It=Rp(Error(d(421))))}return Ft.data==="$?"?(ct.flags|=128,ct.child=wt.child,ct=ev.bind(null,wt),Ft._reactRetry=ct,null):(wt=Nt.treeContext,Vo=Ks(Ft.nextSibling),ki=ct,Sa=!0,ls=null,wt!==null&&(Hi[Ki++]=xs,Hi[Ki++]=Ys,Hi[Ki++]=kl,xs=wt.id,Ys=wt.overflow,kl=ct),ct=Jh(ct,It.children),ct.flags|=4096,ct)})(l,u,Le,G,B,oe,S);if(de){de=G.fallback,Le=u.mode,B=(oe=l.child).sibling;var Ue={mode:"hidden",children:G.children};return 1&Le||u.child===oe?(G=$l(oe,Ue)).subtreeFlags=14680064&oe.subtreeFlags:((G=u.child).childLanes=0,G.pendingProps=Ue,u.deletions=null),B!==null?de=$l(B,de):(de=bc(de,Le,S,null)).flags|=2,de.return=u,G.return=u,G.sibling=de,u.child=G,G=de,de=u.child,Le=(Le=l.child.memoizedState)===null?Wh(S):{baseLanes:Le.baseLanes|S,cachePool:null,transitions:Le.transitions},de.memoizedState=Le,de.childLanes=l.childLanes&~S,u.memoizedState=Vh,G}return l=(de=l.child).sibling,G=$l(de,{mode:"visible",children:G.children}),!(1&u.mode)&&(G.lanes=S),G.return=u,G.sibling=null,l!==null&&((S=u.deletions)===null?(u.deletions=[l],u.flags|=16):S.push(l)),u.child=G,u.memoizedState=null,G}function Jh(l,u){return(u=uf({mode:"visible",children:u},l.mode,0,null)).return=l,l.child=u}function Up(l,u,S,B){return B!==null&&An(B),qc(u,l.child,null,S),(l=Jh(u,u.pendingProps.children)).flags|=2,u.memoizedState=null,l}function Sg(l,u,S){l.lanes|=u;var B=l.alternate;B!==null&&(B.lanes|=u),gh(l.return,u,S)}function qp(l,u,S,B,G){var oe=l.memoizedState;oe===null?l.memoizedState={isBackwards:u,rendering:null,renderingStartTime:0,last:B,tail:S,tailMode:G}:(oe.isBackwards=u,oe.rendering=null,oe.renderingStartTime=0,oe.last=B,oe.tail=S,oe.tailMode=G)}function xg(l,u,S){var B=u.pendingProps,G=B.revealOrder,oe=B.tail;if(Ho(l,u,B.children,S),2&(B=$a.current))B=1&B|2,u.flags|=128;else{if(l!==null&&128&l.flags)e:for(l=u.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&Sg(l,S,u);else if(l.tag===19)Sg(l,S,u);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}B&=1}if(ma($a,B),1&u.mode)switch(G){case"forwards":for(S=u.child,G=null;S!==null;)(l=S.alternate)!==null&&kp(l)===null&&(G=S),S=S.sibling;(S=G)===null?(G=u.child,u.child=null):(G=S.sibling,S.sibling=null),qp(u,!1,G,S,oe);break;case"backwards":for(S=null,G=u.child,u.child=null;G!==null;){if((l=G.alternate)!==null&&kp(l)===null){u.child=G;break}l=G.sibling,G.sibling=S,S=G,G=l}qp(u,!0,S,null,oe);break;case"together":qp(u,!1,null,null,void 0);break;default:u.memoizedState=null}else u.memoizedState=null;return u.child}function mc(l,u){!(1&u.mode)&&l!==null&&(l.alternate=null,u.alternate=null,u.flags|=2)}function Xs(l,u,S){if(l!==null&&(u.dependencies=l.dependencies),yc|=u.lanes,!(S&u.childLanes))return null;if(l!==null&&u.child!==l.child)throw Error(d(153));if(u.child!==null){for(S=$l(l=u.child,l.pendingProps),u.child=S,S.return=u;l.sibling!==null;)l=l.sibling,(S=S.sibling=$l(l,l.pendingProps)).return=u;S.sibling=null}return u.child}function vi(l,u){if(!Sa)switch(l.tailMode){case"hidden":u=l.tail;for(var S=null;u!==null;)u.alternate!==null&&(S=u),u=u.sibling;S===null?l.tail=null:S.sibling=null;break;case"collapsed":S=l.tail;for(var B=null;S!==null;)S.alternate!==null&&(B=S),S=S.sibling;B===null?u||l.tail===null?l.tail=null:l.tail.sibling=null:B.sibling=null}}function Ko(l){var u=l.alternate!==null&&l.alternate.child===l.child,S=0,B=0;if(u)for(var G=l.child;G!==null;)S|=G.lanes|G.childLanes,B|=14680064&G.subtreeFlags,B|=14680064&G.flags,G.return=l,G=G.sibling;else for(G=l.child;G!==null;)S|=G.lanes|G.childLanes,B|=G.subtreeFlags,B|=G.flags,G.return=l,G=G.sibling;return l.subtreeFlags|=B,l.childLanes=S,u}function K0(l,u,S){var B=u.pendingProps;switch(ph(u),u.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ko(u),null;case 1:case 17:return zo(u.type)&&wu(),Ko(u),null;case 3:return B=u.stateNode,Tl(),Ea(yi),Ea(To),On(),B.pendingContext&&(B.context=B.pendingContext,B.pendingContext=null),l!==null&&l.child!==null||(Ap(u)?u.flags|=4:l===null||l.memoizedState.isDehydrated&&!(256&u.flags)||(u.flags|=1024,ls!==null&&(Uu(ls),ls=null))),$p(l,u),Ko(u),null;case 5:Eh(u);var G=Pl(Iu.current);if(S=u.type,l!==null&&u.stateNode!=null)zh(l,u,S,B,G),l.ref!==u.ref&&(u.flags|=512,u.flags|=2097152);else{if(!B){if(u.stateNode===null)throw Error(d(166));return Ko(u),null}if(l=Pl(ks.current),Ap(u)){B=u.stateNode,S=u.type;var oe=u.memoizedProps;switch(B[uo]=u,B[bu]=oe,l=!!(1&u.mode),S){case"dialog":Kn("cancel",B),Kn("close",B);break;case"iframe":case"object":case"embed":Kn("load",B);break;case"video":case"audio":for(G=0;G<nc.length;G++)Kn(nc[G],B);break;case"source":Kn("error",B);break;case"img":case"image":case"link":Kn("error",B),Kn("load",B);break;case"details":Kn("toggle",B);break;case"input":Mt(B,oe),Kn("invalid",B);break;case"select":B._wrapperState={wasMultiple:!!oe.multiple},Kn("invalid",B);break;case"textarea":ne(B,oe),Kn("invalid",B)}for(var de in xr(S,oe),G=null,oe)if(oe.hasOwnProperty(de)){var Le=oe[de];de==="children"?typeof Le=="string"?B.textContent!==Le&&(oe.suppressHydrationWarning!==!0&&Dc(B.textContent,Le,l),G=["children",Le]):typeof Le=="number"&&B.textContent!==""+Le&&(oe.suppressHydrationWarning!==!0&&Dc(B.textContent,Le,l),G=["children",""+Le]):f.hasOwnProperty(de)&&Le!=null&&de==="onScroll"&&Kn("scroll",B)}switch(S){case"input":Ut(B),Lt(B,oe,!0);break;case"textarea":Ut(B),be(B);break;case"select":case"option":break;default:typeof oe.onClick=="function"&&(B.onclick=oc)}B=G,u.updateQueue=B,B!==null&&(u.flags|=4)}else{de=G.nodeType===9?G:G.ownerDocument,l==="http://www.w3.org/1999/xhtml"&&(l=Ze(S)),l==="http://www.w3.org/1999/xhtml"?S==="script"?((l=de.createElement("div")).innerHTML="<script><\/script>",l=l.removeChild(l.firstChild)):typeof B.is=="string"?l=de.createElement(S,{is:B.is}):(l=de.createElement(S),S==="select"&&(de=l,B.multiple?de.multiple=!0:B.size&&(de.size=B.size))):l=de.createElementNS(l,S),l[uo]=u,l[bu]=B,qh(l,u,!1,!1),u.stateNode=l;e:{switch(de=mn(S,B),S){case"dialog":Kn("cancel",l),Kn("close",l),G=B;break;case"iframe":case"object":case"embed":Kn("load",l),G=B;break;case"video":case"audio":for(G=0;G<nc.length;G++)Kn(nc[G],l);G=B;break;case"source":Kn("error",l),G=B;break;case"img":case"image":case"link":Kn("error",l),Kn("load",l),G=B;break;case"details":Kn("toggle",l),G=B;break;case"input":Mt(l,B),G=xt(l,B),Kn("invalid",l);break;case"option":default:G=B;break;case"select":l._wrapperState={wasMultiple:!!B.multiple},G=Te({},B,{value:void 0}),Kn("invalid",l);break;case"textarea":ne(l,B),G=J(l,B),Kn("invalid",l)}for(oe in xr(S,G),Le=G)if(Le.hasOwnProperty(oe)){var Ue=Le[oe];oe==="style"?kn(l,Ue):oe==="dangerouslySetInnerHTML"?(Ue=Ue?Ue.__html:void 0)!=null&&kt(l,Ue):oe==="children"?typeof Ue=="string"?(S!=="textarea"||Ue!=="")&&Fr(l,Ue):typeof Ue=="number"&&Fr(l,""+Ue):oe!=="suppressContentEditableWarning"&&oe!=="suppressHydrationWarning"&&oe!=="autoFocus"&&(f.hasOwnProperty(oe)?Ue!=null&&oe==="onScroll"&&Kn("scroll",l):Ue!=null&&H(l,oe,Ue,de))}switch(S){case"input":Ut(l),Lt(l,B,!1);break;case"textarea":Ut(l),be(l);break;case"option":B.value!=null&&l.setAttribute("value",""+nt(B.value));break;case"select":l.multiple=!!B.multiple,(oe=B.value)!=null?N(l,!!B.multiple,oe,!1):B.defaultValue!=null&&N(l,!!B.multiple,B.defaultValue,!0);break;default:typeof G.onClick=="function"&&(l.onclick=oc)}switch(S){case"button":case"input":case"select":case"textarea":B=!!B.autoFocus;break e;case"img":B=!0;break e;default:B=!1}}B&&(u.flags|=4)}u.ref!==null&&(u.flags|=512,u.flags|=2097152)}return Ko(u),null;case 6:if(l&&u.stateNode!=null)wg(l,u,l.memoizedProps,B);else{if(typeof B!="string"&&u.stateNode===null)throw Error(d(166));if(S=Pl(Iu.current),Pl(ks.current),Ap(u)){if(B=u.stateNode,S=u.memoizedProps,B[uo]=u,(oe=B.nodeValue!==S)&&(l=ki)!==null)switch(l.tag){case 3:Dc(B.nodeValue,S,!!(1&l.mode));break;case 5:l.memoizedProps.suppressHydrationWarning!==!0&&Dc(B.nodeValue,S,!!(1&l.mode))}oe&&(u.flags|=4)}else(B=(S.nodeType===9?S:S.ownerDocument).createTextNode(B))[uo]=u,u.stateNode=B}return Ko(u),null;case 13:if(Ea($a),B=u.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(Sa&&Vo!==null&&1&u.mode&&!(128&u.flags))dh(),Uc(),u.flags|=98560,oe=!1;else if(oe=Ap(u),B!==null&&B.dehydrated!==null){if(l===null){if(!oe)throw Error(d(318));if(!(oe=(oe=u.memoizedState)!==null?oe.dehydrated:null))throw Error(d(317));oe[uo]=u}else Uc(),!(128&u.flags)&&(u.memoizedState=null),u.flags|=4;Ko(u),oe=!1}else ls!==null&&(Uu(ls),ls=null),oe=!0;if(!oe)return 65536&u.flags?u:null}return 128&u.flags?(u.lanes=S,u):((B=B!==null)!=(l!==null&&l.memoizedState!==null)&&B&&(u.child.flags|=8192,1&u.mode&&(l===null||1&$a.current?oo===0&&(oo=3):sf())),u.updateQueue!==null&&(u.flags|=4),Ko(u),null);case 4:return Tl(),$p(l,u),l===null&&Mc(u.stateNode.containerInfo),Ko(u),null;case 10:return mh(u.type._context),Ko(u),null;case 19:if(Ea($a),(oe=u.memoizedState)===null)return Ko(u),null;if(B=!!(128&u.flags),(de=oe.rendering)===null)if(B)vi(oe,!1);else{if(oo!==0||l!==null&&128&l.flags)for(l=u.child;l!==null;){if((de=kp(l))!==null){for(u.flags|=128,vi(oe,!1),(B=de.updateQueue)!==null&&(u.updateQueue=B,u.flags|=4),u.subtreeFlags=0,B=S,S=u.child;S!==null;)l=B,(oe=S).flags&=14680066,(de=oe.alternate)===null?(oe.childLanes=0,oe.lanes=l,oe.child=null,oe.subtreeFlags=0,oe.memoizedProps=null,oe.memoizedState=null,oe.updateQueue=null,oe.dependencies=null,oe.stateNode=null):(oe.childLanes=de.childLanes,oe.lanes=de.lanes,oe.child=de.child,oe.subtreeFlags=0,oe.deletions=null,oe.memoizedProps=de.memoizedProps,oe.memoizedState=de.memoizedState,oe.updateQueue=de.updateQueue,oe.type=de.type,l=de.dependencies,oe.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),S=S.sibling;return ma($a,1&$a.current|2),u.child}l=l.sibling}oe.tail!==null&&Wt()>vc&&(u.flags|=128,B=!0,vi(oe,!1),u.lanes=4194304)}else{if(!B)if((l=kp(de))!==null){if(u.flags|=128,B=!0,(S=l.updateQueue)!==null&&(u.updateQueue=S,u.flags|=4),vi(oe,!0),oe.tail===null&&oe.tailMode==="hidden"&&!de.alternate&&!Sa)return Ko(u),null}else 2*Wt()-oe.renderingStartTime>vc&&S!==1073741824&&(u.flags|=128,B=!0,vi(oe,!1),u.lanes=4194304);oe.isBackwards?(de.sibling=u.child,u.child=de):((S=oe.last)!==null?S.sibling=de:u.child=de,oe.last=de)}return oe.tail!==null?(u=oe.tail,oe.rendering=u,oe.tail=u.sibling,oe.renderingStartTime=Wt(),u.sibling=null,S=$a.current,ma($a,B?1&S|2:1&S),u):(Ko(u),null);case 22:case 23:return qu(),B=u.memoizedState!==null,l!==null&&l.memoizedState!==null!==B&&(u.flags|=8192),B&&1&u.mode?1073741824&Go&&(Ko(u),6&u.subtreeFlags&&(u.flags|=8192)):Ko(u),null;case 24:case 25:return null}throw Error(d(156,u.tag))}function G0(l,u){switch(ph(u),u.tag){case 1:return zo(u.type)&&wu(),65536&(l=u.flags)?(u.flags=-65537&l|128,u):null;case 3:return Tl(),Ea(yi),Ea(To),On(),65536&(l=u.flags)&&!(128&l)?(u.flags=-65537&l|128,u):null;case 5:return Eh(u),null;case 13:if(Ea($a),(l=u.memoizedState)!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(d(340));Uc()}return 65536&(l=u.flags)?(u.flags=-65537&l|128,u):null;case 19:return Ea($a),null;case 4:return Tl(),null;case 10:return mh(u.type._context),null;case 22:case 23:return qu(),null;default:return null}}qh=function(l,u){for(var S=u.child;S!==null;){if(S.tag===5||S.tag===6)l.appendChild(S.stateNode);else if(S.tag!==4&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===u)break;for(;S.sibling===null;){if(S.return===null||S.return===u)return;S=S.return}S.sibling.return=S.return,S=S.sibling}},$p=function(){},zh=function(l,u,S,B){var G=l.memoizedProps;if(G!==B){l=u.stateNode,Pl(ks.current);var oe,de=null;switch(S){case"input":G=xt(l,G),B=xt(l,B),de=[];break;case"select":G=Te({},G,{value:void 0}),B=Te({},B,{value:void 0}),de=[];break;case"textarea":G=J(l,G),B=J(l,B),de=[];break;default:typeof G.onClick!="function"&&typeof B.onClick=="function"&&(l.onclick=oc)}for(Xe in xr(S,B),S=null,G)if(!B.hasOwnProperty(Xe)&&G.hasOwnProperty(Xe)&&G[Xe]!=null)if(Xe==="style"){var Le=G[Xe];for(oe in Le)Le.hasOwnProperty(oe)&&(S||(S={}),S[oe]="")}else Xe!=="dangerouslySetInnerHTML"&&Xe!=="children"&&Xe!=="suppressContentEditableWarning"&&Xe!=="suppressHydrationWarning"&&Xe!=="autoFocus"&&(f.hasOwnProperty(Xe)?de||(de=[]):(de=de||[]).push(Xe,null));for(Xe in B){var Ue=B[Xe];if(Le=G?.[Xe],B.hasOwnProperty(Xe)&&Ue!==Le&&(Ue!=null||Le!=null))if(Xe==="style")if(Le){for(oe in Le)!Le.hasOwnProperty(oe)||Ue&&Ue.hasOwnProperty(oe)||(S||(S={}),S[oe]="");for(oe in Ue)Ue.hasOwnProperty(oe)&&Le[oe]!==Ue[oe]&&(S||(S={}),S[oe]=Ue[oe])}else S||(de||(de=[]),de.push(Xe,S)),S=Ue;else Xe==="dangerouslySetInnerHTML"?(Ue=Ue?Ue.__html:void 0,Le=Le?Le.__html:void 0,Ue!=null&&Le!==Ue&&(de=de||[]).push(Xe,Ue)):Xe==="children"?typeof Ue!="string"&&typeof Ue!="number"||(de=de||[]).push(Xe,""+Ue):Xe!=="suppressContentEditableWarning"&&Xe!=="suppressHydrationWarning"&&(f.hasOwnProperty(Xe)?(Ue!=null&&Xe==="onScroll"&&Kn("scroll",l),de||Le===Ue||(de=[])):(de=de||[]).push(Xe,Ue))}S&&(de=de||[]).push("style",S);var Xe=de;(u.updateQueue=Xe)&&(u.flags|=4)}},wg=function(l,u,S,B){S!==B&&(u.flags|=4)};var zp=!1,po=!1,Y0=typeof WeakSet=="function"?WeakSet:Set,wr=null;function Gc(l,u){var S=l.ref;if(S!==null)if(typeof S=="function")try{S(null)}catch(B){Ua(l,u,B)}else S.current=null}function Hh(l,u,S){try{S()}catch(B){Ua(l,u,B)}}var Qi=!1;function fo(l,u,S){var B=u.updateQueue;if((B=B!==null?B.lastEffect:null)!==null){var G=B=B.next;do{if((G.tag&l)===l){var oe=G.destroy;G.destroy=void 0,oe!==void 0&&Hh(u,S,oe)}G=G.next}while(G!==B)}}function Vp(l,u){if((u=(u=u.updateQueue)!==null?u.lastEffect:null)!==null){var S=u=u.next;do{if((S.tag&l)===l){var B=S.create;S.destroy=B()}S=S.next}while(S!==u)}}function Wp(l){var u=l.ref;if(u!==null){var S=l.stateNode;l.tag,l=S,typeof u=="function"?u(l):u.current=l}}function Ag(l){var u=l.alternate;u!==null&&(l.alternate=null,Ag(u)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(u=l.stateNode)!==null&&(delete u[uo],delete u[bu],delete u[oh],delete u[ih],delete u[q0]),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function Kh(l){return l.tag===5||l.tag===3||l.tag===4}function Og(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||Kh(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(2&l.flags||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(2&l.flags))return l.stateNode}}function Jp(l,u,S){var B=l.tag;if(B===5||B===6)l=l.stateNode,u?S.nodeType===8?S.parentNode.insertBefore(l,u):S.insertBefore(l,u):(S.nodeType===8?(u=S.parentNode).insertBefore(l,S):(u=S).appendChild(l),(S=S._reactRootContainer)!=null||u.onclick!==null||(u.onclick=oc));else if(B!==4&&(l=l.child)!==null)for(Jp(l,u,S),l=l.sibling;l!==null;)Jp(l,u,S),l=l.sibling}function Gh(l,u,S){var B=l.tag;if(B===5||B===6)l=l.stateNode,u?S.insertBefore(l,u):S.appendChild(l);else if(B!==4&&(l=l.child)!==null)for(Gh(l,u,S),l=l.sibling;l!==null;)Gh(l,u,S),l=l.sibling}var Mo=null,ps=!1;function Qs(l,u,S){for(S=S.child;S!==null;)kg(l,u,S),S=S.sibling}function kg(l,u,S){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(ia,S)}catch{}switch(S.tag){case 5:po||Gc(S,u);case 6:var B=Mo,G=ps;Mo=null,Qs(l,u,S),ps=G,(Mo=B)!==null&&(ps?(l=Mo,S=S.stateNode,l.nodeType===8?l.parentNode.removeChild(S):l.removeChild(S)):Mo.removeChild(S.stateNode));break;case 18:Mo!==null&&(ps?(l=Mo,S=S.stateNode,l.nodeType===8?bp(l.parentNode,S):l.nodeType===1&&bp(l,S),to(l)):bp(Mo,S.stateNode));break;case 4:B=Mo,G=ps,Mo=S.stateNode.containerInfo,ps=!0,Qs(l,u,S),Mo=B,ps=G;break;case 0:case 11:case 14:case 15:if(!po&&(B=S.updateQueue)!==null&&(B=B.lastEffect)!==null){G=B=B.next;do{var oe=G,de=oe.destroy;oe=oe.tag,de!==void 0&&(2&oe||4&oe)&&Hh(S,u,de),G=G.next}while(G!==B)}Qs(l,u,S);break;case 1:if(!po&&(Gc(S,u),typeof(B=S.stateNode).componentWillUnmount=="function"))try{B.props=S.memoizedProps,B.state=S.memoizedState,B.componentWillUnmount()}catch(Le){Ua(S,u,Le)}Qs(l,u,S);break;case 21:Qs(l,u,S);break;case 22:1&S.mode?(po=(B=po)||S.memoizedState!==null,Qs(l,u,S),po=B):Qs(l,u,S);break;default:Qs(l,u,S)}}function Cg(l){var u=l.updateQueue;if(u!==null){l.updateQueue=null;var S=l.stateNode;S===null&&(S=l.stateNode=new Y0),u.forEach((function(B){var G=tv.bind(null,l,B);S.has(B)||(S.add(B),B.then(G,G))}))}}function Cs(l,u){var S=u.deletions;if(S!==null)for(var B=0;B<S.length;B++){var G=S[B];try{var oe=l,de=u,Le=de;e:for(;Le!==null;){switch(Le.tag){case 5:Mo=Le.stateNode,ps=!1;break e;case 3:case 4:Mo=Le.stateNode.containerInfo,ps=!0;break e}Le=Le.return}if(Mo===null)throw Error(d(160));kg(oe,de,G),Mo=null,ps=!1;var Ue=G.alternate;Ue!==null&&(Ue.return=null),G.return=null}catch(Xe){Ua(G,u,Xe)}}if(12854&u.subtreeFlags)for(u=u.child;u!==null;)jg(u,l),u=u.sibling}function jg(l,u){var S=l.alternate,B=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:if(Cs(u,l),el(l),4&B){try{fo(3,l,l.return),Vp(3,l)}catch(Nt){Ua(l,l.return,Nt)}try{fo(5,l,l.return)}catch(Nt){Ua(l,l.return,Nt)}}break;case 1:Cs(u,l),el(l),512&B&&S!==null&&Gc(S,S.return);break;case 5:if(Cs(u,l),el(l),512&B&&S!==null&&Gc(S,S.return),32&l.flags){var G=l.stateNode;try{Fr(G,"")}catch(Nt){Ua(l,l.return,Nt)}}if(4&B&&(G=l.stateNode)!=null){var oe=l.memoizedProps,de=S!==null?S.memoizedProps:oe,Le=l.type,Ue=l.updateQueue;if(l.updateQueue=null,Ue!==null)try{Le==="input"&&oe.type==="radio"&&oe.name!=null&&_t(G,oe),mn(Le,de);var Xe=mn(Le,oe);for(de=0;de<Ue.length;de+=2){var wt=Ue[de],ct=Ue[de+1];wt==="style"?kn(G,ct):wt==="dangerouslySetInnerHTML"?kt(G,ct):wt==="children"?Fr(G,ct):H(G,wt,ct,Xe)}switch(Le){case"input":ht(G,oe);break;case"textarea":ce(G,oe);break;case"select":var Ot=G._wrapperState.wasMultiple;G._wrapperState.wasMultiple=!!oe.multiple;var It=oe.value;It!=null?N(G,!!oe.multiple,It,!1):Ot!==!!oe.multiple&&(oe.defaultValue!=null?N(G,!!oe.multiple,oe.defaultValue,!0):N(G,!!oe.multiple,oe.multiple?[]:"",!1))}G[bu]=oe}catch(Nt){Ua(l,l.return,Nt)}}break;case 6:if(Cs(u,l),el(l),4&B){if(l.stateNode===null)throw Error(d(162));G=l.stateNode,oe=l.memoizedProps;try{G.nodeValue=oe}catch(Nt){Ua(l,l.return,Nt)}}break;case 3:if(Cs(u,l),el(l),4&B&&S!==null&&S.memoizedState.isDehydrated)try{to(u.containerInfo)}catch(Nt){Ua(l,l.return,Nt)}break;case 4:default:Cs(u,l),el(l);break;case 13:Cs(u,l),el(l),8192&(G=l.child).flags&&(oe=G.memoizedState!==null,G.stateNode.isHidden=oe,!oe||G.alternate!==null&&G.alternate.memoizedState!==null||(Qh=Wt())),4&B&&Cg(l);break;case 22:if(wt=S!==null&&S.memoizedState!==null,1&l.mode?(po=(Xe=po)||wt,Cs(u,l),po=Xe):Cs(u,l),el(l),8192&B){if(Xe=l.memoizedState!==null,(l.stateNode.isHidden=Xe)&&!wt&&1&l.mode)for(wr=l,wt=l.child;wt!==null;){for(ct=wr=wt;wr!==null;){switch(It=(Ot=wr).child,Ot.tag){case 0:case 11:case 14:case 15:fo(4,Ot,Ot.return);break;case 1:Gc(Ot,Ot.return);var Ft=Ot.stateNode;if(typeof Ft.componentWillUnmount=="function"){B=Ot,S=Ot.return;try{u=B,Ft.props=u.memoizedProps,Ft.state=u.memoizedState,Ft.componentWillUnmount()}catch(Nt){Ua(B,S,Nt)}}break;case 5:Gc(Ot,Ot.return);break;case 22:if(Ot.memoizedState!==null){Hp(ct);continue}}It!==null?(It.return=Ot,wr=It):Hp(ct)}wt=wt.sibling}e:for(wt=null,ct=l;;){if(ct.tag===5){if(wt===null){wt=ct;try{G=ct.stateNode,Xe?typeof(oe=G.style).setProperty=="function"?oe.setProperty("display","none","important"):oe.display="none":(Le=ct.stateNode,de=(Ue=ct.memoizedProps.style)!=null&&Ue.hasOwnProperty("display")?Ue.display:null,Le.style.display=Xr("display",de))}catch(Nt){Ua(l,l.return,Nt)}}}else if(ct.tag===6){if(wt===null)try{ct.stateNode.nodeValue=Xe?"":ct.memoizedProps}catch(Nt){Ua(l,l.return,Nt)}}else if((ct.tag!==22&&ct.tag!==23||ct.memoizedState===null||ct===l)&&ct.child!==null){ct.child.return=ct,ct=ct.child;continue}if(ct===l)break e;for(;ct.sibling===null;){if(ct.return===null||ct.return===l)break e;wt===ct&&(wt=null),ct=ct.return}wt===ct&&(wt=null),ct.sibling.return=ct.return,ct=ct.sibling}}break;case 19:Cs(u,l),el(l),4&B&&Cg(l);case 21:}}function el(l){var u=l.flags;if(2&u){try{e:{for(var S=l.return;S!==null;){if(Kh(S)){var B=S;break e}S=S.return}throw Error(d(160))}switch(B.tag){case 5:var G=B.stateNode;32&B.flags&&(Fr(G,""),B.flags&=-33),Gh(l,Og(l),G);break;case 3:case 4:var oe=B.stateNode.containerInfo;Jp(l,Og(l),oe);break;default:throw Error(d(161))}}catch(de){Ua(l,l.return,de)}l.flags&=-3}4096&u&&(l.flags&=-4097)}function Z0(l,u,S){wr=l,Ig(l)}function Ig(l,u,S){for(var B=!!(1&l.mode);wr!==null;){var G=wr,oe=G.child;if(G.tag===22&&B){var de=G.memoizedState!==null||zp;if(!de){var Le=G.alternate,Ue=Le!==null&&Le.memoizedState!==null||po;Le=zp;var Xe=po;if(zp=de,(po=Ue)&&!Xe)for(wr=G;wr!==null;)Ue=(de=wr).child,de.tag===22&&de.memoizedState!==null?Zh(G):Ue!==null?(Ue.return=de,wr=Ue):Zh(G);for(;oe!==null;)wr=oe,Ig(oe),oe=oe.sibling;wr=G,zp=Le,po=Xe}Yh(l)}else 8772&G.subtreeFlags&&oe!==null?(oe.return=G,wr=oe):Yh(l)}}function Yh(l){for(;wr!==null;){var u=wr;if(8772&u.flags){var S=u.alternate;try{if(8772&u.flags)switch(u.tag){case 0:case 11:case 15:po||Vp(5,u);break;case 1:var B=u.stateNode;if(4&u.flags&&!po)if(S===null)B.componentDidMount();else{var G=u.elementType===u.type?S.memoizedProps:cs(u.type,S.memoizedProps);B.componentDidUpdate(G,S.memoizedState,B.__reactInternalSnapshotBeforeUpdate)}var oe=u.updateQueue;oe!==null&&tg(u,oe,B);break;case 3:var de=u.updateQueue;if(de!==null){if(S=null,u.child!==null)switch(u.child.tag){case 5:case 1:S=u.child.stateNode}tg(u,de,S)}break;case 5:var Le=u.stateNode;if(S===null&&4&u.flags){S=Le;var Ue=u.memoizedProps;switch(u.type){case"button":case"input":case"select":case"textarea":Ue.autoFocus&&S.focus();break;case"img":Ue.src&&(S.src=Ue.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(u.memoizedState===null){var Xe=u.alternate;if(Xe!==null){var wt=Xe.memoizedState;if(wt!==null){var ct=wt.dehydrated;ct!==null&&to(ct)}}}break;default:throw Error(d(163))}po||512&u.flags&&Wp(u)}catch(Ot){Ua(u,u.return,Ot)}}if(u===l){wr=null;break}if((S=u.sibling)!==null){S.return=u.return,wr=S;break}wr=u.return}}function Hp(l){for(;wr!==null;){var u=wr;if(u===l){wr=null;break}var S=u.sibling;if(S!==null){S.return=u.return,wr=S;break}wr=u.return}}function Zh(l){for(;wr!==null;){var u=wr;try{switch(u.tag){case 0:case 11:case 15:var S=u.return;try{Vp(4,u)}catch(Ue){Ua(u,S,Ue)}break;case 1:var B=u.stateNode;if(typeof B.componentDidMount=="function"){var G=u.return;try{B.componentDidMount()}catch(Ue){Ua(u,G,Ue)}}var oe=u.return;try{Wp(u)}catch(Ue){Ua(u,oe,Ue)}break;case 5:var de=u.return;try{Wp(u)}catch(Ue){Ua(u,de,Ue)}}}catch(Ue){Ua(u,u.return,Ue)}if(u===l){wr=null;break}var Le=u.sibling;if(Le!==null){Le.return=u.return,wr=Le;break}wr=u.return}}var Xh,X0=Math.ceil,Bu=Q.ReactCurrentDispatcher,Kp=Q.ReactCurrentOwner,Ii=Q.ReactCurrentBatchConfig,qn=0,ho=null,Za=null,Ao=0,Go=0,gc=Al(0),oo=0,Yc=null,yc=0,Gp=0,Yp=0,Fu=null,Yo=null,Qh=0,vc=1/0,Rl=null,Zp=!1,Xp=null,Dl=null,Lu=!1,Bl=null,Qp=0,$u=0,ef=null,tf=-1,rf=0;function Zo(){return 6&qn?Wt():tf!==-1?tf:tf=Wt()}function Fl(l){return 1&l.mode?2&qn&&Ao!==0?Ao&-Ao:z0.transition!==null?(rf===0&&(rf=fi()),rf):(l=fn)!==0?l:l=(l=window.event)===void 0?16:co(l.type):1}function fs(l,u,S,B){if(50<$u)throw $u=0,ef=null,Error(d(185));Io(l,S,B),2&qn&&l===ho||(l===ho&&(!(2&qn)&&(Gp|=S),oo===4&&js(l,Ao)),Xo(l,B),S===1&&qn===0&&!(1&u.mode)&&(vc=Wt()+500,Ep&&Ss()))}function Xo(l,u){var S=l.callbackNode;(function(oe,de){for(var Le=oe.suspendedLanes,Ue=oe.pingedLanes,Xe=oe.expirationTimes,wt=oe.pendingLanes;0<wt;){var ct=31-fa(wt),Ot=1<<ct,It=Xe[ct];It===-1?Ot&Le&&!(Ot&Ue)||(Xe[ct]=_o(Ot,de)):It<=de&&(oe.expiredLanes|=Ot),wt&=~Ot}})(l,u);var B=rs(l,l===ho?Ao:0);if(B===0)S!==null&&lo(S),l.callbackNode=null,l.callbackPriority=0;else if(u=B&-B,l.callbackPriority!==u){if(S!=null&&lo(S),u===1)l.tag===0?(function(oe){Ep=!0,ch(oe)})(nf.bind(null,l)):ch(nf.bind(null,l)),U0((function(){!(6&qn)&&Ss()})),S=null;else{switch(Di(B)){case 1:S=dr;break;case 4:S=Cr;break;case 16:default:S=Ht;break;case 536870912:S=Ga}S=nd(S,Pg.bind(null,l))}l.callbackPriority=u,l.callbackNode=S}}function Pg(l,u){if(tf=-1,rf=0,6&qn)throw Error(d(327));var S=l.callbackNode;if(Ll()&&l.callbackNode!==S)return null;var B=rs(l,l===ho?Ao:0);if(B===0)return null;if(30&B||B&l.expiredLanes||u)u=Xc(l,B);else{u=B;var G=qn;qn|=2;var oe=of();for(ho===l&&Ao===u||(Rl=null,vc=Wt()+500,rl(l,u));;)try{rd();break}catch(Le){af(l,Le)}ku(),Bu.current=oe,qn=G,Za!==null?u=0:(ho=null,Ao=0,u=oo)}if(u!==0){if(u===2&&(G=jo(l))!==0&&(B=G,u=ed(l,G)),u===1)throw S=Yc,rl(l,0),js(l,B),Xo(l,Wt()),S;if(u===6)js(l,B);else{if(G=l.current.alternate,!(30&B||(function(Ue){for(var Xe=Ue;;){if(16384&Xe.flags){var wt=Xe.updateQueue;if(wt!==null&&(wt=wt.stores)!==null)for(var ct=0;ct<wt.length;ct++){var Ot=wt[ct],It=Ot.getSnapshot;Ot=Ot.value;try{if(!Fa(It(),Ot))return!1}catch{return!1}}}if(wt=Xe.child,16384&Xe.subtreeFlags&&wt!==null)wt.return=Xe,Xe=wt;else{if(Xe===Ue)break;for(;Xe.sibling===null;){if(Xe.return===null||Xe.return===Ue)return!0;Xe=Xe.return}Xe.sibling.return=Xe.return,Xe=Xe.sibling}}return!0})(G)||(u=Xc(l,B),u===2&&(oe=jo(l),oe!==0&&(B=oe,u=ed(l,oe))),u!==1)))throw S=Yc,rl(l,0),js(l,B),Xo(l,Wt()),S;switch(l.finishedWork=G,l.finishedLanes=B,u){case 0:case 1:throw Error(d(345));case 2:case 5:nl(l,Yo,Rl);break;case 3:if(js(l,B),(130023424&B)===B&&10<(u=Qh+500-Wt())){if(rs(l,0)!==0)break;if(((G=l.suspendedLanes)&B)!==B){Zo(),l.pingedLanes|=l.suspendedLanes&G;break}l.timeoutHandle=sc(nl.bind(null,l,Yo,Rl),u);break}nl(l,Yo,Rl);break;case 4:if(js(l,B),(4194240&B)===B)break;for(u=l.eventTimes,G=-1;0<B;){var de=31-fa(B);oe=1<<de,(de=u[de])>G&&(G=de),B&=~oe}if(B=G,10<(B=(120>(B=Wt()-B)?120:480>B?480:1080>B?1080:1920>B?1920:3e3>B?3e3:4320>B?4320:1960*X0(B/1960))-B)){l.timeoutHandle=sc(nl.bind(null,l,Yo,Rl),B);break}nl(l,Yo,Rl);break;default:throw Error(d(329))}}}return Xo(l,Wt()),l.callbackNode===S?Pg.bind(null,l):null}function ed(l,u){var S=Fu;return l.current.memoizedState.isDehydrated&&(rl(l,u).flags|=256),(l=Xc(l,u))!==2&&(u=Yo,Yo=S,u!==null&&Uu(u)),l}function Uu(l){Yo===null?Yo=l:Yo.push.apply(Yo,l)}function js(l,u){for(u&=~Yp,u&=~Gp,l.suspendedLanes|=u,l.pingedLanes&=~u,l=l.expirationTimes;0<u;){var S=31-fa(u),B=1<<S;l[S]=-1,u&=~B}}function nf(l){if(6&qn)throw Error(d(327));Ll();var u=rs(l,0);if(!(1&u))return Xo(l,Wt()),null;var S=Xc(l,u);if(l.tag!==0&&S===2){var B=jo(l);B!==0&&(u=B,S=ed(l,B))}if(S===1)throw S=Yc,rl(l,0),js(l,u),Xo(l,Wt()),S;if(S===6)throw Error(d(345));return l.finishedWork=l.current.alternate,l.finishedLanes=u,nl(l,Yo,Rl),Xo(l,Wt()),null}function Zc(l,u){var S=qn;qn|=1;try{return l(u)}finally{(qn=S)===0&&(vc=Wt()+500,Ep&&Ss())}}function tl(l){Bl!==null&&Bl.tag===0&&!(6&qn)&&Ll();var u=qn;qn|=1;var S=Ii.transition,B=fn;try{if(Ii.transition=null,fn=1,l)return l()}finally{fn=B,Ii.transition=S,!(6&(qn=u))&&Ss()}}function qu(){Go=gc.current,Ea(gc)}function rl(l,u){l.finishedWork=null,l.finishedLanes=0;var S=l.timeoutHandle;if(S!==-1&&(l.timeoutHandle=-1,zm(S)),Za!==null)for(S=Za.return;S!==null;){var B=S;switch(ph(B),B.tag){case 1:(B=B.type.childContextTypes)!=null&&wu();break;case 3:Tl(),Ea(yi),Ea(To),On();break;case 5:Eh(B);break;case 4:Tl();break;case 13:case 19:Ea($a);break;case 10:mh(B.type._context);break;case 22:case 23:qu()}S=S.return}if(ho=l,Za=l=$l(l.current,null),Ao=Go=u,oo=0,Yc=null,Yp=Gp=yc=0,Yo=Fu=null,pc!==null){for(u=0;u<pc.length;u++)if((B=(S=pc[u]).interleaved)!==null){S.interleaved=null;var G=B.next,oe=S.pending;if(oe!==null){var de=oe.next;oe.next=G,B.next=de}S.pending=B}pc=null}return l}function af(l,u){for(;;){var S=Za;try{if(ku(),hc.current=Np,Cp){for(var B=Ta.memoizedState;B!==null;){var G=B.queue;G!==null&&(G.pending=null),B=B.next}Cp=!1}if(dc=0,Ya=ao=Ta=null,Pu=!1,Tu=0,Kp.current=null,S===null||S.return===null){oo=1,Yc=u,Za=null;break}e:{var oe=l,de=S.return,Le=S,Ue=u;if(u=Ao,Le.flags|=32768,Ue!==null&&typeof Ue=="object"&&typeof Ue.then=="function"){var Xe=Ue,wt=Le,ct=wt.tag;if(!(1&wt.mode||ct!==0&&ct!==11&&ct!==15)){var Ot=wt.alternate;Ot?(wt.updateQueue=Ot.updateQueue,wt.memoizedState=Ot.memoizedState,wt.lanes=Ot.lanes):(wt.updateQueue=null,wt.memoizedState=null)}var It=yg(de);if(It!==null){It.flags&=-257,vg(It,de,Le,0,u),1&It.mode&&Dp(oe,Xe,u),Ue=Xe;var Ft=(u=It).updateQueue;if(Ft===null){var Nt=new Set;Nt.add(Ue),u.updateQueue=Nt}else Ft.add(Ue);break e}if(!(1&u)){Dp(oe,Xe,u),sf();break e}Ue=Error(d(426))}else if(Sa&&1&Le.mode){var ot=yg(de);if(ot!==null){!(65536&ot.flags)&&(ot.flags|=256),vg(ot,de,Le,0,u),An(Kc(Ue,Le));break e}}oe=Ue=Kc(Ue,Le),oo!==4&&(oo=2),Fu===null?Fu=[oe]:Fu.push(oe),oe=de;do{switch(oe.tag){case 3:oe.flags|=65536,u&=-u,oe.lanes|=u,bh(oe,gg(0,Ue,u));break e;case 1:Le=Ue;var He=oe.type,gt=oe.stateNode;if(!(128&oe.flags||typeof He.getDerivedStateFromError!="function"&&(gt===null||typeof gt.componentDidCatch!="function"||Dl!==null&&Dl.has(gt)))){oe.flags|=65536,u&=-u,oe.lanes|=u,bh(oe,us(oe,Le,u));break e}}oe=oe.return}while(oe!==null)}lf(S)}catch(Pt){u=Pt,Za===S&&S!==null&&(Za=S=S.return);continue}break}}function of(){var l=Bu.current;return Bu.current=Np,l===null?Np:l}function sf(){oo!==0&&oo!==3&&oo!==2||(oo=4),ho===null||!(268435455&yc)&&!(268435455&Gp)||js(ho,Ao)}function Xc(l,u){var S=qn;qn|=2;var B=of();for(ho===l&&Ao===u||(Rl=null,rl(l,u));;)try{td();break}catch(G){af(l,G)}if(ku(),qn=S,Bu.current=B,Za!==null)throw Error(d(261));return ho=null,Ao=0,oo}function td(){for(;Za!==null;)zu(Za)}function rd(){for(;Za!==null&&!Gt();)zu(Za)}function zu(l){var u=Xh(l.alternate,l,Go);l.memoizedProps=l.pendingProps,u===null?lf(l):Za=u,Kp.current=null}function lf(l){var u=l;do{var S=u.alternate;if(l=u.return,32768&u.flags){if((S=G0(S,u))!==null)return S.flags&=32767,void(Za=S);if(l===null)return oo=6,void(Za=null);l.flags|=32768,l.subtreeFlags=0,l.deletions=null}else if((S=K0(S,u,Go))!==null)return void(Za=S);if((u=u.sibling)!==null)return void(Za=u);Za=u=l}while(u!==null);oo===0&&(oo=5)}function nl(l,u,S){var B=fn,G=Ii.transition;try{Ii.transition=null,fn=1,(function(de,Le,Ue,Xe){do Ll();while(Bl!==null);if(6&qn)throw Error(d(327));Ue=de.finishedWork;var wt=de.finishedLanes;if(Ue===null)return null;if(de.finishedWork=null,de.finishedLanes=0,Ue===de.current)throw Error(d(177));de.callbackNode=null,de.callbackPriority=0;var ct=Ue.lanes|Ue.childLanes;if((function(Nt,ot){var He=Nt.pendingLanes&~ot;Nt.pendingLanes=ot,Nt.suspendedLanes=0,Nt.pingedLanes=0,Nt.expiredLanes&=ot,Nt.mutableReadLanes&=ot,Nt.entangledLanes&=ot,ot=Nt.entanglements;var gt=Nt.eventTimes;for(Nt=Nt.expirationTimes;0<He;){var Pt=31-fa(He),sr=1<<Pt;ot[Pt]=0,gt[Pt]=-1,Nt[Pt]=-1,He&=~sr}})(de,ct),de===ho&&(Za=ho=null,Ao=0),!(2064&Ue.subtreeFlags)&&!(2064&Ue.flags)||Lu||(Lu=!0,nd(Ht,(function(){return Ll(),null}))),ct=!!(15990&Ue.flags),!!(15990&Ue.subtreeFlags)||ct){ct=Ii.transition,Ii.transition=null;var Ot=fn;fn=1;var It=qn;qn|=4,Kp.current=null,(function(Nt,ot){if(ic=qo,D(Nt=P())){if("selectionStart"in Nt)var He={start:Nt.selectionStart,end:Nt.selectionEnd};else e:{var gt=(He=(He=Nt.ownerDocument)&&He.defaultView||window).getSelection&&He.getSelection();if(gt&>.rangeCount!==0){He=gt.anchorNode;var Pt=gt.anchorOffset,sr=gt.focusNode;gt=gt.focusOffset;try{He.nodeType,sr.nodeType}catch{He=null;break e}var qr=0,er=-1,tn=-1,Nn=0,Mn=0,$n=Nt,ua=null;t:for(;;){for(var Qc;$n!==He||Pt!==0&&$n.nodeType!==3||(er=qr+Pt),$n!==sr||gt!==0&&$n.nodeType!==3||(tn=qr+gt),$n.nodeType===3&&(qr+=$n.nodeValue.length),(Qc=$n.firstChild)!==null;)ua=$n,$n=Qc;for(;;){if($n===Nt)break t;if(ua===He&&++Nn===Pt&&(er=qr),ua===sr&&++Mn===gt&&(tn=qr),(Qc=$n.nextSibling)!==null)break;ua=($n=ua).parentNode}$n=Qc}He=er===-1||tn===-1?null:{start:er,end:tn}}else He=null}He=He||{start:0,end:0}}else He=null;for(yp={focusedElem:Nt,selectionRange:He},qo=!1,wr=ot;wr!==null;)if(Nt=(ot=wr).child,1028&ot.subtreeFlags&&Nt!==null)Nt.return=ot,wr=Nt;else for(;wr!==null;){ot=wr;try{var Ju=ot.alternate;if(1024&ot.flags)switch(ot.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(Ju!==null){var Lg=Ju.memoizedProps,$g=Ju.memoizedState,zn=ot.stateNode,Ug=zn.getSnapshotBeforeUpdate(ot.elementType===ot.type?Lg:cs(ot.type,Lg),$g);zn.__reactInternalSnapshotBeforeUpdate=Ug}break;case 3:var al=ot.stateNode.containerInfo;al.nodeType===1?al.textContent="":al.nodeType===9&&al.documentElement&&al.removeChild(al.documentElement);break;default:throw Error(d(163))}}catch(pd){Ua(ot,ot.return,pd)}if((Nt=ot.sibling)!==null){Nt.return=ot.return,wr=Nt;break}wr=ot.return}return Ju=Qi,Qi=!1,Ju})(de,Ue),jg(Ue,de),L(yp),qo=!!ic,yp=ic=null,de.current=Ue,Z0(Ue,de,wt),wa(),qn=It,fn=Ot,Ii.transition=ct}else de.current=Ue;if(Lu&&(Lu=!1,Bl=de,Qp=wt),ct=de.pendingLanes,ct===0&&(Dl=null),(function(Nt){if(vn&&typeof vn.onCommitFiberRoot=="function")try{vn.onCommitFiberRoot(ia,Nt,void 0,!(128&~Nt.current.flags))}catch{}})(Ue.stateNode),Xo(de,Wt()),Le!==null)for(Xe=de.onRecoverableError,Ue=0;Ue<Le.length;Ue++)wt=Le[Ue],Xe(wt.value,{componentStack:wt.stack,digest:wt.digest});if(Zp)throw Zp=!1,de=Xp,Xp=null,de;return 1&Qp&&de.tag!==0&&Ll(),ct=de.pendingLanes,1&ct?de===ef?$u++:($u=0,ef=de):$u=0,Ss(),null})(l,u,S,B)}finally{Ii.transition=G,fn=B}return null}function Ll(){if(Bl!==null){var l=Di(Qp),u=Ii.transition,S=fn;try{if(Ii.transition=null,fn=16>l?16:l,Bl===null)var B=!1;else{if(l=Bl,Bl=null,Qp=0,6&qn)throw Error(d(331));var G=qn;for(qn|=4,wr=l.current;wr!==null;){var oe=wr,de=oe.child;if(16&wr.flags){var Le=oe.deletions;if(Le!==null){for(var Ue=0;Ue<Le.length;Ue++){var Xe=Le[Ue];for(wr=Xe;wr!==null;){var wt=wr;switch(wt.tag){case 0:case 11:case 15:fo(8,wt,oe)}var ct=wt.child;if(ct!==null)ct.return=wt,wr=ct;else for(;wr!==null;){var Ot=(wt=wr).sibling,It=wt.return;if(Ag(wt),wt===Xe){wr=null;break}if(Ot!==null){Ot.return=It,wr=Ot;break}wr=It}}}var Ft=oe.alternate;if(Ft!==null){var Nt=Ft.child;if(Nt!==null){Ft.child=null;do{var ot=Nt.sibling;Nt.sibling=null,Nt=ot}while(Nt!==null)}}wr=oe}}if(2064&oe.subtreeFlags&&de!==null)de.return=oe,wr=de;else e:for(;wr!==null;){if(2048&(oe=wr).flags)switch(oe.tag){case 0:case 11:case 15:fo(9,oe,oe.return)}var He=oe.sibling;if(He!==null){He.return=oe.return,wr=He;break e}wr=oe.return}}var gt=l.current;for(wr=gt;wr!==null;){var Pt=(de=wr).child;if(2064&de.subtreeFlags&&Pt!==null)Pt.return=de,wr=Pt;else e:for(de=gt;wr!==null;){if(2048&(Le=wr).flags)try{switch(Le.tag){case 0:case 11:case 15:Vp(9,Le)}}catch(qr){Ua(Le,Le.return,qr)}if(Le===de){wr=null;break e}var sr=Le.sibling;if(sr!==null){sr.return=Le.return,wr=sr;break e}wr=Le.return}}if(qn=G,Ss(),vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(ia,l)}catch{}B=!0}return B}finally{fn=S,Ii.transition=u}}return!1}function Tg(l,u,S){l=Zs(l,u=gg(0,u=Kc(S,u),1),1),u=Zo(),l!==null&&(Io(l,1,u),Xo(l,u))}function Ua(l,u,S){if(l.tag===3)Tg(l,l,S);else for(;u!==null;){if(u.tag===3){Tg(u,l,S);break}if(u.tag===1){var B=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof B.componentDidCatch=="function"&&(Dl===null||!Dl.has(B))){u=Zs(u,l=us(u,l=Kc(S,l),1),1),l=Zo(),u!==null&&(Io(u,1,l),Xo(u,l));break}}u=u.return}}function Q0(l,u,S){var B=l.pingCache;B!==null&&B.delete(u),u=Zo(),l.pingedLanes|=l.suspendedLanes&S,ho===l&&(Ao&S)===S&&(oo===4||oo===3&&(130023424&Ao)===Ao&&500>Wt()-Qh?rl(l,0):Yp|=S),Xo(l,u)}function Ng(l,u){u===0&&(1&l.mode?(u=Ei,!(130023424&(Ei<<=1))&&(Ei=4194304)):u=1);var S=Zo();(l=As(l,u))!==null&&(Io(l,u,S),Xo(l,S))}function ev(l){var u=l.memoizedState,S=0;u!==null&&(S=u.retryLane),Ng(l,S)}function tv(l,u){var S=0;switch(l.tag){case 13:var B=l.stateNode,G=l.memoizedState;G!==null&&(S=G.retryLane);break;case 19:B=l.stateNode;break;default:throw Error(d(314))}B!==null&&B.delete(u),Ng(l,S)}function nd(l,u){return so(l,u)}function rv(l,u,S,B){this.tag=l,this.key=S,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=u,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=B,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Qo(l,u,S,B){return new rv(l,u,S,B)}function ad(l){return!(!(l=l.prototype)||!l.isReactComponent)}function $l(l,u){var S=l.alternate;return S===null?((S=Qo(l.tag,u,l.key,l.mode)).elementType=l.elementType,S.type=l.type,S.stateNode=l.stateNode,S.alternate=l,l.alternate=S):(S.pendingProps=u,S.type=l.type,S.flags=0,S.subtreeFlags=0,S.deletions=null),S.flags=14680064&l.flags,S.childLanes=l.childLanes,S.lanes=l.lanes,S.child=l.child,S.memoizedProps=l.memoizedProps,S.memoizedState=l.memoizedState,S.updateQueue=l.updateQueue,u=l.dependencies,S.dependencies=u===null?null:{lanes:u.lanes,firstContext:u.firstContext},S.sibling=l.sibling,S.index=l.index,S.ref=l.ref,S}function cf(l,u,S,B,G,oe){var de=2;if(B=l,typeof l=="function")ad(l)&&(de=1);else if(typeof l=="string")de=5;else e:switch(l){case Pe:return bc(S.children,G,oe,u);case he:de=8,G|=8;break;case ge:return(l=Qo(12,S,u,2|G)).elementType=ge,l.lanes=oe,l;case Ve:return(l=Qo(13,S,u,G)).elementType=Ve,l.lanes=oe,l;case Qe:return(l=Qo(19,S,u,G)).elementType=Qe,l.lanes=oe,l;case g:return uf(S,G,oe,u);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case Ce:de=10;break e;case Je:de=9;break e;case ze:de=11;break e;case pt:de=14;break e;case Fe:de=16,B=null;break e}throw Error(d(130,l==null?l:typeof l,""))}return(u=Qo(de,S,u,G)).elementType=l,u.type=B,u.lanes=oe,u}function bc(l,u,S,B){return(l=Qo(7,l,B,u)).lanes=S,l}function uf(l,u,S,B){return(l=Qo(22,l,B,u)).elementType=g,l.lanes=S,l.stateNode={isHidden:!1},l}function od(l,u,S){return(l=Qo(6,l,null,u)).lanes=S,l}function id(l,u,S){return(u=Qo(4,l.children!==null?l.children:[],l.key,u)).lanes=S,u.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},u}function nv(l,u,S,B,G){this.tag=u,this.containerInfo=l,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=hi(0),this.expirationTimes=hi(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=hi(0),this.identifierPrefix=B,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function sd(l,u,S,B,G,oe,de,Le,Ue){return l=new nv(l,u,S,Le,Ue),u===1?(u=1,oe===!0&&(u|=8)):u=0,oe=Qo(3,null,null,u),l.current=oe,oe.stateNode=l,oe.memoizedState={element:B,isDehydrated:S,cache:null,transitions:null,pendingSuspenseBoundaries:null},vh(oe),l}function Mg(l){if(!l)return Ol;e:{if(ka(l=l._reactInternals)!==l||l.tag!==1)throw Error(d(170));var u=l;do{switch(u.tag){case 3:u=u.stateNode.context;break e;case 1:if(zo(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break e}}u=u.return}while(u!==null);throw Error(d(171))}if(l.tag===1){var S=l.type;if(zo(S))return Hm(l,S,u)}return u}function Rg(l,u,S,B,G,oe,de,Le,Ue){return(l=sd(S,B,!0,l,0,oe,0,Le,Ue)).context=Mg(null),S=l.current,(oe=Os(B=Zo(),G=Fl(S))).callback=u??null,Zs(S,oe,G),l.current.lanes=G,Io(l,G,B),Xo(l,B),l}function pf(l,u,S,B){var G=u.current,oe=Zo(),de=Fl(G);return S=Mg(S),u.context===null?u.context=S:u.pendingContext=S,(u=Os(oe,de)).payload={element:l},(B=B===void 0?null:B)!==null&&(u.callback=B),(l=Zs(G,u,de))!==null&&(fs(l,G,de,oe),Wc(l,G,de)),de}function ff(l){return(l=l.current).child?(l.child.tag,l.child.stateNode):null}function Dg(l,u){if((l=l.memoizedState)!==null&&l.dehydrated!==null){var S=l.retryLane;l.retryLane=S!==0&&S<u?S:u}}function ld(l,u){Dg(l,u),(l=l.alternate)&&Dg(l,u)}Xh=function(l,u,S){if(l!==null)if(l.memoizedProps!==u.pendingProps||yi.current)Jo=!0;else{if(!(l.lanes&S||128&u.flags))return Jo=!1,(function(Ot,It,Ft){switch(It.tag){case 3:Fp(It),Uc();break;case 5:wh(It);break;case 1:zo(It.type)&&wp(It);break;case 4:_h(It,It.stateNode.containerInfo);break;case 10:var Nt=It.type._context,ot=It.memoizedProps.value;ma(Au,Nt._currentValue),Nt._currentValue=ot;break;case 13:if((Nt=It.memoizedState)!==null)return Nt.dehydrated!==null?(ma($a,1&$a.current),It.flags|=128,null):Ft&It.child.childLanes?Eg(Ot,It,Ft):(ma($a,1&$a.current),(Ot=Xs(Ot,It,Ft))!==null?Ot.sibling:null);ma($a,1&$a.current);break;case 19:if(Nt=!!(Ft&It.childLanes),128&Ot.flags){if(Nt)return xg(Ot,It,Ft);It.flags|=128}if((ot=It.memoizedState)!==null&&(ot.rendering=null,ot.tail=null,ot.lastEffect=null),ma($a,$a.current),Nt)break;return null;case 22:case 23:return It.lanes=0,Uh(Ot,It,Ft)}return Xs(Ot,It,Ft)})(l,u,S);Jo=!!(131072&l.flags)}else Jo=!1,Sa&&1048576&u.flags&&Gm(u,Su,u.index);switch(u.lanes=0,u.tag){case 2:var B=u.type;mc(l,u),l=u.pendingProps;var G=xo(u,To.current);Vc(u,S),G=jp(null,u,B,l,G,S);var oe=Nu();return u.flags|=1,typeof G=="object"&&G!==null&&typeof G.render=="function"&&G.$$typeof===void 0?(u.tag=1,u.memoizedState=null,u.updateQueue=null,zo(B)?(oe=!0,wp(u)):oe=!1,u.memoizedState=G.state!==null&&G.state!==void 0?G.state:null,vh(u),G.updater=Xi,u.stateNode=G,G._reactInternals=u,Mp(u,B,l,S),u=Bp(null,u,B,!0,oe,S)):(u.tag=0,Sa&&oe&&uh(u),Ho(null,u,G,S),u=u.child),u;case 16:B=u.elementType;e:{switch(mc(l,u),l=u.pendingProps,B=(G=B._init)(B._payload),u.type=B,G=u.tag=(function(Ot){if(typeof Ot=="function")return ad(Ot)?1:0;if(Ot!=null){if((Ot=Ot.$$typeof)===ze)return 11;if(Ot===pt)return 14}return 2})(B),l=cs(B,l),G){case 0:u=Ml(null,u,B,l,S);break e;case 1:u=ji(null,u,B,l,S);break e;case 11:u=bg(null,u,B,l,S);break e;case 14:u=Lh(null,u,B,cs(B.type,l),S);break e}throw Error(d(306,B,""))}return u;case 0:return B=u.type,G=u.pendingProps,Ml(l,u,B,G=u.elementType===B?G:cs(B,G),S);case 1:return B=u.type,G=u.pendingProps,ji(l,u,B,G=u.elementType===B?G:cs(B,G),S);case 3:e:{if(Fp(u),l===null)throw Error(d(387));B=u.pendingProps,G=(oe=u.memoizedState).element,eg(l,u),Cu(u,B,null,S);var de=u.memoizedState;if(B=de.element,oe.isDehydrated){if(oe={element:B,isDehydrated:!1,cache:de.cache,pendingSuspenseBoundaries:de.pendingSuspenseBoundaries,transitions:de.transitions},u.updateQueue.baseState=oe,u.memoizedState=oe,256&u.flags){u=Lp(l,u,B,S,G=Kc(Error(d(423)),u));break e}if(B!==G){u=Lp(l,u,B,S,G=Kc(Error(d(424)),u));break e}for(Vo=Ks(u.stateNode.containerInfo.firstChild),ki=u,Sa=!0,ls=null,S=Xm(u,null,B,S),u.child=S;S;)S.flags=-3&S.flags|4096,S=S.sibling}else{if(Uc(),B===G){u=Xs(l,u,S);break e}Ho(l,u,B,S)}u=u.child}return u;case 5:return wh(u),l===null&&fh(u),B=u.type,G=u.pendingProps,oe=l!==null?l.memoizedProps:null,de=G.children,vp(B,G)?de=null:oe!==null&&vp(B,oe)&&(u.flags|=32),_g(l,u),Ho(l,u,de,S),u.child;case 6:return l===null&&fh(u),null;case 13:return Eg(l,u,S);case 4:return _h(u,u.stateNode.containerInfo),B=u.pendingProps,l===null?u.child=qc(u,null,B,S):Ho(l,u,B,S),u.child;case 11:return B=u.type,G=u.pendingProps,bg(l,u,B,G=u.elementType===B?G:cs(B,G),S);case 7:return Ho(l,u,u.pendingProps,S),u.child;case 8:case 12:return Ho(l,u,u.pendingProps.children,S),u.child;case 10:e:{if(B=u.type._context,G=u.pendingProps,oe=u.memoizedProps,de=G.value,ma(Au,B._currentValue),B._currentValue=de,oe!==null)if(Fa(oe.value,de)){if(oe.children===G.children&&!yi.current){u=Xs(l,u,S);break e}}else for((oe=u.child)!==null&&(oe.return=u);oe!==null;){var Le=oe.dependencies;if(Le!==null){de=oe.child;for(var Ue=Le.firstContext;Ue!==null;){if(Ue.context===B){if(oe.tag===1){(Ue=Os(-1,S&-S)).tag=2;var Xe=oe.updateQueue;if(Xe!==null){var wt=(Xe=Xe.shared).pending;wt===null?Ue.next=Ue:(Ue.next=wt.next,wt.next=Ue),Xe.pending=Ue}}oe.lanes|=S,(Ue=oe.alternate)!==null&&(Ue.lanes|=S),gh(oe.return,S,u),Le.lanes|=S;break}Ue=Ue.next}}else if(oe.tag===10)de=oe.type===u.type?null:oe.child;else if(oe.tag===18){if((de=oe.return)===null)throw Error(d(341));de.lanes|=S,(Le=de.alternate)!==null&&(Le.lanes|=S),gh(de,S,u),de=oe.sibling}else de=oe.child;if(de!==null)de.return=oe;else for(de=oe;de!==null;){if(de===u){de=null;break}if((oe=de.sibling)!==null){oe.return=de.return,de=oe;break}de=de.return}oe=de}Ho(l,u,G.children,S),u=u.child}return u;case 9:return G=u.type,B=u.pendingProps.children,Vc(u,S),B=B(G=Gi(G)),u.flags|=1,Ho(l,u,B,S),u.child;case 14:return G=cs(B=u.type,u.pendingProps),Lh(l,u,B,G=cs(B.type,G),S);case 15:return $h(l,u,u.type,u.pendingProps,S);case 17:return B=u.type,G=u.pendingProps,G=u.elementType===B?G:cs(B,G),mc(l,u),u.tag=1,zo(B)?(l=!0,wp(u)):l=!1,Vc(u,S),Bh(u,B,G),Mp(u,B,G,S),Bp(null,u,B,!0,l,S);case 19:return xg(l,u,S);case 22:return Uh(l,u,S)}throw Error(d(156,u.tag))};var Bg=typeof reportError=="function"?reportError:function(l){console.error(l)};function cd(l){this._internalRoot=l}function hf(l){this._internalRoot=l}function ud(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function df(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11&&(l.nodeType!==8||l.nodeValue!==" react-mount-point-unstable "))}function Fg(){}function mf(l,u,S,B,G){var oe=S._reactRootContainer;if(oe){var de=oe;if(typeof G=="function"){var Le=G;G=function(){var Ue=ff(de);Le.call(Ue)}}pf(u,de,l,G)}else de=(function(Xe,wt,ct,Ot,It){if(It){if(typeof Ot=="function"){var Ft=Ot;Ot=function(){var gt=ff(Nt);Ft.call(gt)}}var Nt=Rg(wt,Ot,Xe,0,null,!1,0,"",Fg);return Xe._reactRootContainer=Nt,Xe[ss]=Nt.current,Mc(Xe.nodeType===8?Xe.parentNode:Xe),tl(),Nt}for(;It=Xe.lastChild;)Xe.removeChild(It);if(typeof Ot=="function"){var ot=Ot;Ot=function(){var gt=ff(He);ot.call(gt)}}var He=sd(Xe,0,!1,null,0,!1,0,"",Fg);return Xe._reactRootContainer=He,Xe[ss]=He.current,Mc(Xe.nodeType===8?Xe.parentNode:Xe),tl((function(){pf(wt,He,ct,Ot)})),He})(S,u,l,G,B);return ff(de)}hf.prototype.render=cd.prototype.render=function(l){var u=this._internalRoot;if(u===null)throw Error(d(409));pf(l,u,null,null)},hf.prototype.unmount=cd.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var u=l.containerInfo;tl((function(){pf(null,l,null,null)})),u[ss]=null}},hf.prototype.unstable_scheduleHydration=function(l){if(l){var u=wl();l={blockedOn:null,target:l,priority:u};for(var S=0;S<Eo.length&&u!==0&&u<Eo[S].priority;S++);Eo.splice(S,0,l),S===0&&Si(l)}},vs=function(l){switch(l.tag){case 3:var u=l.stateNode;if(u.current.memoizedState.isDehydrated){var S=pi(u.pendingLanes);S!==0&&(di(u,1|S),Xo(u,Wt()),!(6&qn)&&(vc=Wt()+500,Ss()))}break;case 13:tl((function(){var B=As(l,1);if(B!==null){var G=Zo();fs(B,l,1,G)}})),ld(l,1)}},zs=function(l){if(l.tag===13){var u=As(l,134217728);u!==null&&fs(u,l,134217728,Zo()),ld(l,134217728)}},_l=function(l){if(l.tag===13){var u=Fl(l),S=As(l,u);S!==null&&fs(S,l,u,Zo()),ld(l,u)}},wl=function(){return fn},Pr=function(l,u){var S=fn;try{return fn=l,u()}finally{fn=S}},Qr=function(l,u,S){switch(u){case"input":if(ht(l,S),u=S.name,S.type==="radio"&&u!=null){for(S=l;S.parentNode;)S=S.parentNode;for(S=S.querySelectorAll("input[name="+JSON.stringify(""+u)+'][type="radio"]'),u=0;u<S.length;u++){var B=S[u];if(B!==l&&B.form===l.form){var G=_p(B);if(!G)throw Error(d(90));qt(B),ht(B,G)}}}break;case"textarea":ce(l,S);break;case"select":(u=S.value)!=null&&N(l,!!S.multiple,u,!1)}},br=Zc,Ar=tl;var av={usingClientEntryPoint:!1,Events:[_u,Ji,_p,za,tr,Zc]},Vu={findFiberByHostInstance:cc,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ov={bundleType:Vu.bundleType,version:Vu.version,rendererPackageName:Vu.rendererPackageName,rendererConfig:Vu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.ReactCurrentDispatcher,findHostInstanceByFiber:function(l){return(l=Rt(l))===null?null:l.stateNode},findFiberByHostInstance:Vu.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__<"u"){var Wu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wu.isDisabled&&Wu.supportsFiber)try{ia=Wu.inject(ov),vn=Wu}catch{}}A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=av,A.createPortal=function(l,u){var S=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!ud(u))throw Error(d(200));return(function(G,oe,de){var Le=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:le,key:Le==null?null:""+Le,children:G,containerInfo:oe,implementation:de}})(l,u,null,S)},A.createRoot=function(l,u){if(!ud(l))throw Error(d(299));var S=!1,B="",G=Bg;return u!=null&&(u.unstable_strictMode===!0&&(S=!0),u.identifierPrefix!==void 0&&(B=u.identifierPrefix),u.onRecoverableError!==void 0&&(G=u.onRecoverableError)),u=sd(l,1,!1,null,0,S,0,B,G),l[ss]=u.current,Mc(l.nodeType===8?l.parentNode:l),new cd(u)},A.findDOMNode=function(l){if(l==null)return null;if(l.nodeType===1)return l;var u=l._reactInternals;if(u===void 0)throw typeof l.render=="function"?Error(d(188)):(l=Object.keys(l).join(","),Error(d(268,l)));return l=(l=Rt(u))===null?null:l.stateNode},A.flushSync=function(l){return tl(l)},A.hydrate=function(l,u,S){if(!df(u))throw Error(d(200));return mf(null,l,u,!0,S)},A.hydrateRoot=function(l,u,S){if(!ud(l))throw Error(d(405));var B=S!=null&&S.hydratedSources||null,G=!1,oe="",de=Bg;if(S!=null&&(S.unstable_strictMode===!0&&(G=!0),S.identifierPrefix!==void 0&&(oe=S.identifierPrefix),S.onRecoverableError!==void 0&&(de=S.onRecoverableError)),u=Rg(u,null,l,1,S??null,G,0,oe,de),l[ss]=u.current,Mc(l),B)for(l=0;l<B.length;l++)G=(G=(S=B[l])._getVersion)(S._source),u.mutableSourceEagerHydrationData==null?u.mutableSourceEagerHydrationData=[S,G]:u.mutableSourceEagerHydrationData.push(S,G);return new hf(u)},A.render=function(l,u,S){if(!df(u))throw Error(d(200));return mf(null,l,u,!1,S)},A.unmountComponentAtNode=function(l){if(!df(l))throw Error(d(40));return!!l._reactRootContainer&&(tl((function(){mf(null,null,l,!1,(function(){l._reactRootContainer=null,l[ss]=null}))})),!0)},A.unstable_batchedUpdates=Zc,A.unstable_renderSubtreeIntoContainer=function(l,u,S,B){if(!df(S))throw Error(d(200));if(l==null||l._reactInternals===void 0)throw Error(d(38));return mf(l,u,S,!1,B)},A.version="18.3.1-next-f1338f8080-20240426"},22574:(m,A)=>{var a={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,v=c&&!a.call({1:2},1);A.f=v?function(y){var f=c(this,y);return!!f&&f.enumerable}:a},23007:m=>{m.exports=function(a,c){var v=-1,d=a.length;for(c||(c=Array(d));++v<d;)c[v]=a[v];return c}},23034:(m,A,a)=>{var c=a(88280),v=a(32567),d=Function.prototype;m.exports=function(y){var f=y.bind;return y===d||c(d,y)&&f===d.bind?v:f}},23045:(m,A,a)=>{var c=a(1907),v=a(49724),d=a(4993),y=a(74436).indexOf,f=a(38530),p=c([].push);m.exports=function(w,x){var O,j=d(w),I=0,M=[];for(O in j)!v(f,O)&&v(j,O)&&p(M,O);for(;x.length>I;)v(j,O=x[I++])&&(~y(M,O)||p(M,O));return M}},23546:(m,A,a)=>{var c=a(72552),v=a(40346),d=a(11331);m.exports=function(f){if(!v(f))return!1;var p=c(f);return p=="[object Error]"||p=="[object DOMException]"||typeof f.message=="string"&&typeof f.name=="string"&&!d(f)}},23805:m=>{m.exports=function(a){var c=typeof a;return a!=null&&(c=="object"||c=="function")}},23888:(m,A,a)=>{var c=a(98828),v=a(75817);m.exports=!c((function(){var d=new Error("a");return!("stack"in d)||(Object.defineProperty(d,"stack",v(1,7)),d.stack!==7)}))},24107:(m,A,a)=>{var c=a(56698),v=a(90392),d=a(92861).Buffer,y=[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],f=new Array(64);function p(){this.init(),this._w=f,v.call(this,64,56)}function w(M,$,W){return W^M&($^W)}function x(M,$,W){return M&$|W&(M|$)}function O(M){return(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10)}function j(M){return(M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7)}function I(M){return(M>>>7|M<<25)^(M>>>18|M<<14)^M>>>3}c(p,v),p.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},p.prototype._update=function(M){for(var $,W=this._w,q=0|this._a,U=0|this._b,H=0|this._c,Q=0|this._d,se=0|this._e,le=0|this._f,Pe=0|this._g,he=0|this._h,ge=0;ge<16;++ge)W[ge]=M.readInt32BE(4*ge);for(;ge<64;++ge)W[ge]=0|((($=W[ge-2])>>>17|$<<15)^($>>>19|$<<13)^$>>>10)+W[ge-7]+I(W[ge-15])+W[ge-16];for(var Ce=0;Ce<64;++Ce){var Je=he+j(se)+w(se,le,Pe)+y[Ce]+W[Ce]|0,ze=O(q)+x(q,U,H)|0;he=Pe,Pe=le,le=se,se=Q+Je|0,Q=H,H=U,U=q,q=Je+ze|0}this._a=q+this._a|0,this._b=U+this._b|0,this._c=H+this._c|0,this._d=Q+this._d|0,this._e=se+this._e|0,this._f=le+this._f|0,this._g=Pe+this._g|0,this._h=he+this._h|0},p.prototype._hash=function(){var M=d.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},m.exports=p},24168:(m,A,a)=>{var c=a(91033),v=a(82819),d=a(9325);m.exports=function(f,p,w,x){var O=1&p,j=v(f);return function I(){for(var M=-1,$=arguments.length,W=-1,q=x.length,U=Array(q+$),H=this&&this!==d&&this instanceof I?j:f;++W<q;)U[W]=x[W];for(;$--;)U[W++]=arguments[++M];return c(H,O?w:this,U)}}},24443:(m,A,a)=>{var c=a(23045),v=a(80376).concat("length","prototype");A.f=Object.getOwnPropertyNames||function(y){return c(y,v)}},24647:(m,A,a)=>{var c=a(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"});m.exports=c},24677:(m,A,a)=>{var c=a(81214).DebounceInput;c.DebounceInput=c,m.exports=c},24713:(m,A,a)=>{var c=a(2523),v=a(15389),d=a(61489),y=Math.max;m.exports=function(p,w,x){var O=p==null?0:p.length;if(!O)return-1;var j=x==null?0:d(x);return j<0&&(j=y(O+j,0)),c(p,v(w,3),j)}},24739:(m,A,a)=>{var c=a(26025);m.exports=function(d){var y=this.__data__,f=c(y,d);return f<0?void 0:y[f][1]}},24823:(m,A,a)=>{var c=a(28311),v=a(13930),d=a(36624),y=a(4640),f=a(37812),p=a(20575),w=a(88280),x=a(10300),O=a(73448),j=a(40154),I=TypeError,M=function(W,q){this.stopped=W,this.result=q},$=M.prototype;m.exports=function(W,q,U){var H,Q,se,le,Pe,he,ge,Ce=U&&U.that,Je=!(!U||!U.AS_ENTRIES),ze=!(!U||!U.IS_RECORD),Ve=!(!U||!U.IS_ITERATOR),Qe=!(!U||!U.INTERRUPTED),pt=c(q,Ce),Fe=function(it){return H&&j(H,"normal",it),new M(!0,it)},g=function(it){return Je?(d(it),Qe?pt(it[0],it[1],Fe):pt(it[0],it[1])):Qe?pt(it,Fe):pt(it)};if(ze)H=W.iterator;else if(Ve)H=W;else{if(!(Q=O(W)))throw new I(y(W)+" is not iterable");if(f(Q)){for(se=0,le=p(W);le>se;se++)if((Pe=g(W[se]))&&w($,Pe))return Pe;return new M(!1)}H=x(W,Q)}for(he=ze?W.next:H.next;!(ge=v(he,H)).done;){try{Pe=g(ge.value)}catch(it){j(H,"throw",it)}if(typeof Pe=="object"&&Pe&&w($,Pe))return Pe}return new M(!1)}},25160:m=>{m.exports=function(a,c,v){var d=-1,y=a.length;c<0&&(c=-c>y?0:y+c),(v=v>y?y:v)<0&&(v+=y),y=c>v?0:v-c>>>0,c>>>=0;for(var f=Array(y);++d<y;)f[d]=a[d+c];return f}},25264:(m,A,a)=>{function c(U){return c=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},c(U)}Object.defineProperty(A,"__esModule",{value:!0}),A.CopyToClipboard=void 0;var v=f(a(96540)),d=f(a(17965)),y=["text","onCopy","options","children"];function f(U){return U&&U.__esModule?U:{default:U}}function p(U,H){var Q=Object.keys(U);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(U);H&&(se=se.filter((function(le){return Object.getOwnPropertyDescriptor(U,le).enumerable}))),Q.push.apply(Q,se)}return Q}function w(U){for(var H=1;H<arguments.length;H++){var Q=arguments[H]!=null?arguments[H]:{};H%2?p(Object(Q),!0).forEach((function(se){W(U,se,Q[se])})):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(Q)):p(Object(Q)).forEach((function(se){Object.defineProperty(U,se,Object.getOwnPropertyDescriptor(Q,se))}))}return U}function x(U,H){if(U==null)return{};var Q,se,le=(function(ge,Ce){if(ge==null)return{};var Je,ze,Ve={},Qe=Object.keys(ge);for(ze=0;ze<Qe.length;ze++)Je=Qe[ze],Ce.indexOf(Je)>=0||(Ve[Je]=ge[Je]);return Ve})(U,H);if(Object.getOwnPropertySymbols){var Pe=Object.getOwnPropertySymbols(U);for(se=0;se<Pe.length;se++)Q=Pe[se],H.indexOf(Q)>=0||Object.prototype.propertyIsEnumerable.call(U,Q)&&(le[Q]=U[Q])}return le}function O(U,H){for(var Q=0;Q<H.length;Q++){var se=H[Q];se.enumerable=se.enumerable||!1,se.configurable=!0,"value"in se&&(se.writable=!0),Object.defineProperty(U,se.key,se)}}function j(U,H){return j=Object.setPrototypeOf||function(se,le){return se.__proto__=le,se},j(U,H)}function I(U){var H=(function(){if(typeof Reflect>"u"||!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{return!1}})();return function(){var se,le=$(U);if(H){var Pe=$(this).constructor;se=Reflect.construct(le,arguments,Pe)}else se=le.apply(this,arguments);return(function(ge,Ce){if(Ce&&(c(Ce)==="object"||typeof Ce=="function"))return Ce;if(Ce!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M(ge)})(this,se)}}function M(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}function $(U){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(Q){return Q.__proto__||Object.getPrototypeOf(Q)},$(U)}function W(U,H,Q){return H in U?Object.defineProperty(U,H,{value:Q,enumerable:!0,configurable:!0,writable:!0}):U[H]=Q,U}var q=(function(U){(function(le,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Object.defineProperty(le,"prototype",{writable:!1}),Pe&&j(le,Pe)})(Q,U);var H=I(Q);function Q(){var se;(function(Ce,Je){if(!(Ce instanceof Je))throw new TypeError("Cannot call a class as a function")})(this,Q);for(var le=arguments.length,Pe=new Array(le),he=0;he<le;he++)Pe[he]=arguments[he];return W(M(se=H.call.apply(H,[this].concat(Pe))),"onClick",(function(ge){var Ce=se.props,Je=Ce.text,ze=Ce.onCopy,Ve=Ce.children,Qe=Ce.options,pt=v.default.Children.only(Ve),Fe=(0,d.default)(Je,Qe);ze&&ze(Je,Fe),pt&&pt.props&&typeof pt.props.onClick=="function"&&pt.props.onClick(ge)})),se}return(function(le,Pe,he){return Pe&&O(le.prototype,Pe),Object.defineProperty(le,"prototype",{writable:!1}),le})(Q,[{key:"render",value:function(){var le=this.props,Pe=(le.text,le.onCopy,le.options,le.children),he=x(le,y),ge=v.default.Children.only(Pe);return v.default.cloneElement(ge,w(w({},he),{},{onClick:this.onClick}))}}]),Q})(v.default.PureComponent);A.CopyToClipboard=q,W(q,"defaultProps",{onCopy:void 0,options:void 0})},25382:(m,A,a)=>{var c=a(65606),v=Object.keys||function(I){var M=[];for(var $ in I)M.push($);return M};m.exports=x;var d=a(45412),y=a(16708);a(56698)(x,d);for(var f=v(y.prototype),p=0;p<f.length;p++){var w=f[p];x.prototype[w]||(x.prototype[w]=y.prototype[w])}function x(I){if(!(this instanceof x))return new x(I);d.call(this,I),y.call(this,I),this.allowHalfOpen=!0,I&&(I.readable===!1&&(this.readable=!1),I.writable===!1&&(this.writable=!1),I.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",O)))}function O(){this._writableState.ended||c.nextTick(j,this)}function j(I){I.end()}Object.defineProperty(x.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(x.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(x.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(x.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:(m,A,a)=>{var c=a(85582),v=a(62250),d=a(88280),y=a(51175),f=Object;m.exports=y?function(p){return typeof p=="symbol"}:function(p){var w=c("Symbol");return v(w)&&d(w.prototype,f(p))}},25767:(m,A,a)=>{var c=a(82682),v=a(39209),d=a(10487),y=a(36556),f=a(75795),p=y("Object.prototype.toString"),w=a(49092)(),x=typeof globalThis>"u"?a.g:globalThis,O=v(),j=y("String.prototype.slice"),I=Object.getPrototypeOf,M=y("Array.prototype.indexOf",!0)||function(q,U){for(var H=0;H<q.length;H+=1)if(q[H]===U)return H;return-1},$={__proto__:null};c(O,w&&f&&I?function(W){var q=new x[W];if(Symbol.toStringTag in q){var U=I(q),H=f(U,Symbol.toStringTag);if(!H){var Q=I(U);H=f(Q,Symbol.toStringTag)}$["$"+W]=d(H.get)}}:function(W){var q=new x[W],U=q.slice||q.set;U&&($["$"+W]=d(U))}),m.exports=function(q){if(!q||typeof q!="object")return!1;if(!w){var U=j(p(q),8,-1);return M(O,U)>-1?U:U==="Object"&&(function(Q){var se=!1;return c($,(function(le,Pe){if(!se)try{le(Q),se=j(Pe,1)}catch{}})),se})(q)}return f?(function(Q){var se=!1;return c($,(function(le,Pe){if(!se)try{"$"+le(Q)===Pe&&(se=j(Pe,1))}catch{}})),se})(q):null}},25911:(m,A,a)=>{var c=a(38859),v=a(14248),d=a(19219);m.exports=function(f,p,w,x,O,j){var I=1&w,M=f.length,$=p.length;if(M!=$&&!(I&&$>M))return!1;var W=j.get(f),q=j.get(p);if(W&&q)return W==p&&q==f;var U=-1,H=!0,Q=2&w?new c:void 0;for(j.set(f,p),j.set(p,f);++U<M;){var se=f[U],le=p[U];if(x)var Pe=I?x(le,se,U,p,f,j):x(se,le,U,f,p,j);if(Pe!==void 0){if(Pe)continue;H=!1;break}if(Q){if(!v(p,(function(he,ge){if(!d(Q,ge)&&(se===he||O(se,he,w,x,j)))return Q.push(ge)}))){H=!1;break}}else if(se!==le&&!O(se,le,w,x,j)){H=!1;break}}return j.delete(f),j.delete(p),H}},26025:(m,A,a)=>{var c=a(75288);m.exports=function(d,y){for(var f=d.length;f--;)if(c(d[f][0],y))return f;return-1}},26311:m=>{(function(){var A;function a(c){for(var v,d,y,f,p=1,w=[].slice.call(arguments),x=0,O=c.length,j="",I=!1,M=!1,$=function(){return w[p++]},W=function(){for(var q="";/\d/.test(c[x]);)q+=c[x++],v=c[x];return q.length>0?parseInt(q):null};x<O;++x)if(v=c[x],I)switch(I=!1,v=="."?(M=!1,v=c[++x]):v=="0"&&c[x+1]=="."?(M=!0,v=c[x+=2]):M=!0,f=W(),v){case"b":j+=parseInt($(),10).toString(2);break;case"c":j+=typeof(d=$())=="string"||d instanceof String?d:String.fromCharCode(parseInt(d,10));break;case"d":j+=parseInt($(),10);break;case"f":y=String(parseFloat($()).toFixed(f||6)),j+=M?y:y.replace(/^0/,"");break;case"j":j+=JSON.stringify($());break;case"o":j+="0"+parseInt($(),10).toString(8);break;case"s":j+=$();break;case"x":j+="0x"+parseInt($(),10).toString(16);break;case"X":j+="0x"+parseInt($(),10).toString(16).toUpperCase();break;default:j+=v}else v==="%"?I=!0:j+=v;return j}(A=m.exports=a).format=a,A.vsprintf=function(v,d){return a.apply(null,[v].concat(d))},typeof console<"u"&&typeof console.log=="function"&&(A.printf=function(){console.log(a.apply(null,arguments))})})()},26571:m=>{m.exports=function(a){const c={$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"},v={begin:"`[\\s\\S]",relevance:0},d={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},y={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[v,d,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},f={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},p=a.inherit(a.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+/}]}]}),w={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]+")}]},x={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[a.TITLE_MODE]},O={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:[d]}]},j={begin:/using\s/,end:/$/,returnBegin:!0,contains:[y,f,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},I={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(c.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},a.inherit(a.TITLE_MODE,{endsParent:!0})]},$=[M,p,v,a.NUMBER_MODE,y,f,w,d,{className:"literal",begin:/\$(null|true|false)\b/},{className:"selector-tag",begin:/@\B/,relevance:0}],W={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",$,{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(W),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:c,contains:$.concat(x,O,j,I,W)}}},26657:(m,A,a)=>{var c=a(75208),v=function(p){return/<\/+[^>]+>/.test(p)},d=function(p){return/<[^>]+\/>/.test(p)};function y(f){return v(f)?"ClosingTag":(function(w){return(function(O){return/<[^>!]+>/.test(O)})(w)&&!v(w)&&!d(w)})(f)?"OpeningTag":d(f)?"SelfClosingTag":"Text"}m.exports=function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=p.indentor,x=p.textNodesOnSameLine,O=0,j=[];w=w||" ";var I=(function($){return(function(q){return q.split(/(<\/?[^>]+>)/g).filter((function(U){return U.trim()!==""}))})($).map((function(W){return{value:W,type:y(W)}}))})(f).map((function(M,$,W){var q=M.value,U=M.type;U==="ClosingTag"&&O--;var H=c(w,O),Q=H+q;if(U==="OpeningTag"&&O++,x){var se=W[$-1],le=W[$-2];U==="ClosingTag"&&se.type==="Text"&&le.type==="OpeningTag"&&(Q=""+H+le.value+se.value+q,j.push($-2,$-1))}return Q}));return j.forEach((function(M){return I[M]=null})),I.filter((function(M){return!!M})).join(`
|
||
`)}},26710:(m,A,a)=>{var c=a(56698),v=a(24107),d=a(90392),y=a(92861).Buffer,f=new Array(64);function p(){this.init(),this._w=f,d.call(this,64,56)}c(p,v),p.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},p.prototype._hash=function(){var w=y.allocUnsafe(28);return w.writeInt32BE(this._a,0),w.writeInt32BE(this._b,4),w.writeInt32BE(this._c,8),w.writeInt32BE(this._d,12),w.writeInt32BE(this._e,16),w.writeInt32BE(this._f,20),w.writeInt32BE(this._g,24),w},m.exports=p},27096:(m,A,a)=>{const c=a(87586),v=a(6205),d=a(10023),y=a(8048);m.exports=f=>{var p,w,x=0,O={type:v.ROOT,stack:[]},j=O,I=O.stack,M=[],$=he=>{c.error(f,"Nothing to repeat at column "+(he-1))},W=c.strToChars(f);for(p=W.length;x<p;)switch(w=W[x++]){case"\\":switch(w=W[x++]){case"b":I.push(y.wordBoundary());break;case"B":I.push(y.nonWordBoundary());break;case"w":I.push(d.words());break;case"W":I.push(d.notWords());break;case"d":I.push(d.ints());break;case"D":I.push(d.notInts());break;case"s":I.push(d.whitespace());break;case"S":I.push(d.notWhitespace());break;default:/\d/.test(w)?I.push({type:v.REFERENCE,value:parseInt(w,10)}):I.push({type:v.CHAR,value:w.charCodeAt(0)})}break;case"^":I.push(y.begin());break;case"$":I.push(y.end());break;case"[":var q;W[x]==="^"?(q=!0,x++):q=!1;var U=c.tokenizeClass(W.slice(x),f);x+=U[1],I.push({type:v.SET,set:U[0],not:q});break;case".":I.push(d.anyChar());break;case"(":var H={type:v.GROUP,stack:[],remember:!0};(w=W[x])==="?"&&(w=W[x+1],x+=2,w==="="?H.followedBy=!0:w==="!"?H.notFollowedBy=!0:w!==":"&&c.error(f,`Invalid group, character '${w}' after '?' at column `+(x-1)),H.remember=!1),I.push(H),M.push(j),j=H,I=H.stack;break;case")":M.length===0&&c.error(f,"Unmatched ) at column "+(x-1)),I=(j=M.pop()).options?j.options[j.options.length-1]:j.stack;break;case"|":j.options||(j.options=[j.stack],delete j.stack);var Q=[];j.options.push(Q),I=Q;break;case"{":var se,le,Pe=/^(\d+)(,(\d+)?)?\}/.exec(W.slice(x));Pe!==null?(I.length===0&&$(x),se=parseInt(Pe[1],10),le=Pe[2]?Pe[3]?parseInt(Pe[3],10):1/0:se,x+=Pe[0].length,I.push({type:v.REPETITION,min:se,max:le,value:I.pop()})):I.push({type:v.CHAR,value:123});break;case"?":I.length===0&&$(x),I.push({type:v.REPETITION,min:0,max:1,value:I.pop()});break;case"+":I.length===0&&$(x),I.push({type:v.REPETITION,min:1,max:1/0,value:I.pop()});break;case"*":I.length===0&&$(x),I.push({type:v.REPETITION,min:0,max:1/0,value:I.pop()});break;default:I.push({type:v.CHAR,value:w.charCodeAt(0)})}return M.length!==0&&c.error(f,"Unterminated group"),O},m.exports.types=v},27301:m=>{m.exports=function(a){return function(c){return a(c)}}},27374:(m,A)=>{Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(a,c,v){if(a===void 0)throw new Error('Reducer "'+c+'" returned undefined when handling "'+v.type+'" action. To ignore an action, you must explicitly return the previous state.')},m.exports=A.default},27534:(m,A,a)=>{var c=a(72552),v=a(40346);m.exports=function(y){return v(y)&&c(y)=="[object Arguments]"}},27816:(m,A,a)=>{var c=a(56698),v=a(90392),d=a(92861).Buffer,y=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);function p(){this.init(),this._w=f,v.call(this,64,56)}function w(O){return O<<30|O>>>2}function x(O,j,I,M){return O===0?j&I|~j&M:O===2?j&I|j&M|I&M:j^I^M}c(p,v),p.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},p.prototype._update=function(O){for(var j,I=this._w,M=0|this._a,$=0|this._b,W=0|this._c,q=0|this._d,U=0|this._e,H=0;H<16;++H)I[H]=O.readInt32BE(4*H);for(;H<80;++H)I[H]=I[H-3]^I[H-8]^I[H-14]^I[H-16];for(var Q=0;Q<80;++Q){var se=~~(Q/20),le=0|((j=M)<<5|j>>>27)+x(se,$,W,q)+U+I[Q]+y[se];U=q,q=W,W=w($),$=M,M=le}this._a=M+this._a|0,this._b=$+this._b|0,this._c=W+this._c|0,this._d=q+this._d|0,this._e=U+this._e|0},p.prototype._hash=function(){var O=d.allocUnsafe(20);return O.writeInt32BE(0|this._a,0),O.writeInt32BE(0|this._b,4),O.writeInt32BE(0|this._c,8),O.writeInt32BE(0|this._d,12),O.writeInt32BE(0|this._e,16),O},m.exports=p},28077:m=>{m.exports=function(a,c){return a!=null&&c in Object(a)}},28303:(m,A,a)=>{var c=a(56110)(a(9325),"WeakMap");m.exports=c},28311:(m,A,a)=>{var c=a(92361),v=a(82159),d=a(41505),y=c(c.bind);m.exports=function(f,p){return v(f),p===void 0?f:d?y(f,p):function(){return f.apply(p,arguments)}}},28586:(m,A,a)=>{var c=a(56449),v=a(44394),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y=/^\w*$/;m.exports=function(p,w){if(c(p))return!1;var x=typeof p;return!(x!="number"&&x!="symbol"&&x!="boolean"&&p!=null&&!v(p))||y.test(p)||!d.test(p)||w!=null&&p in Object(w)}},28754:(m,A,a)=>{var c=a(25160);m.exports=function(d,y,f){var p=d.length;return f=f===void 0?p:f,!y&&f>=p?d:c(d,y,f)}},28879:(m,A,a)=>{var c=a(74335)(Object.getPrototypeOf,Object);m.exports=c},29172:(m,A,a)=>{var c=a(5861),v=a(40346);m.exports=function(y){return v(y)&&c(y)=="[object Map]"}},29367:(m,A,a)=>{var c=a(82159),v=a(87136);m.exports=function(d,y){var f=d[y];return v(f)?void 0:c(f)}},29538:(m,A,a)=>{var c=a(39447),v=a(1907),d=a(13930),y=a(98828),f=a(2875),p=a(87170),w=a(22574),x=a(39298),O=a(16946),j=Object.assign,I=Object.defineProperty,M=v([].concat);m.exports=!j||y((function(){if(c&&j({b:1},j(I({},"a",{enumerable:!0,get:function(){I(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var $={},W={},q=Symbol("assign detection"),U="abcdefghijklmnopqrst";return $[q]=7,U.split("").forEach((function(H){W[H]=H})),j({},$)[q]!==7||f(j({},W)).join("")!==U}))?function(W,q){for(var U=x(W),H=arguments.length,Q=1,se=p.f,le=w.f;H>Q;)for(var Pe,he=O(arguments[Q++]),ge=se?M(f(he),se(he)):f(he),Ce=ge.length,Je=0;Ce>Je;)Pe=ge[Je++],c&&!d(le,he,Pe)||(U[Pe]=he[Pe]);return U}:j},29817:m=>{m.exports=function(a){return this.__data__.has(a)}},29844:(m,A)=>{function a(Ye,ue){var Te=Ye.length;Ye.push(ue);e:for(;0<Te;){var et=Te-1>>>1,ft=Ye[et];if(!(0<d(ft,ue)))break e;Ye[et]=ue,Ye[Te]=ft,Te=et}}function c(Ye){return Ye.length===0?null:Ye[0]}function v(Ye){if(Ye.length===0)return null;var ue=Ye[0],Te=Ye.pop();if(Te!==ue){Ye[0]=Te;e:for(var et=0,ft=Ye.length,Ke=ft>>>1;et<Ke;){var dt=2*(et+1)-1,ee=Ye[dt],_e=dt+1,nt=Ye[_e];if(0>d(ee,Te))_e<ft&&0>d(nt,ee)?(Ye[et]=nt,Ye[_e]=Te,et=_e):(Ye[et]=ee,Ye[dt]=Te,et=dt);else{if(!(_e<ft&&0>d(nt,Te)))break e;Ye[et]=nt,Ye[_e]=Te,et=_e}}}return ue}function d(Ye,ue){var Te=Ye.sortIndex-ue.sortIndex;return Te!==0?Te:Ye.id-ue.id}if(typeof performance=="object"&&typeof performance.now=="function"){var y=performance;A.unstable_now=function(){return y.now()}}else{var f=Date,p=f.now();A.unstable_now=function(){return f.now()-p}}var w=[],x=[],O=1,j=null,I=3,M=!1,$=!1,W=!1,q=typeof setTimeout=="function"?setTimeout:null,U=typeof clearTimeout=="function"?clearTimeout:null,H=typeof setImmediate<"u"?setImmediate:null;function Q(Ye){for(var ue=c(x);ue!==null;){if(ue.callback===null)v(x);else{if(!(ue.startTime<=Ye))break;v(x),ue.sortIndex=ue.expirationTime,a(w,ue)}ue=c(x)}}function se(Ye){if(W=!1,Q(Ye),!$)if(c(w)!==null)$=!0,g(le);else{var ue=c(x);ue!==null&&it(se,ue.startTime-Ye)}}function le(Ye,ue){$=!1,W&&(W=!1,U(Ce),Ce=-1),M=!0;var Te=I;try{for(Q(ue),j=c(w);j!==null&&(!(j.expirationTime>ue)||Ye&&!Ve());){var et=j.callback;if(typeof et=="function"){j.callback=null,I=j.priorityLevel;var ft=et(j.expirationTime<=ue);ue=A.unstable_now(),typeof ft=="function"?j.callback=ft:j===c(w)&&v(w),Q(ue)}else v(w);j=c(w)}if(j!==null)var Ke=!0;else{var dt=c(x);dt!==null&&it(se,dt.startTime-ue),Ke=!1}return Ke}finally{j=null,I=Te,M=!1}}typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var Pe,he=!1,ge=null,Ce=-1,Je=5,ze=-1;function Ve(){return!(A.unstable_now()-ze<Je)}function Qe(){if(ge!==null){var Ye=A.unstable_now();ze=Ye;var ue=!0;try{ue=ge(!0,Ye)}finally{ue?Pe():(he=!1,ge=null)}}else he=!1}if(typeof H=="function")Pe=function(){H(Qe)};else if(typeof MessageChannel<"u"){var pt=new MessageChannel,Fe=pt.port2;pt.port1.onmessage=Qe,Pe=function(){Fe.postMessage(null)}}else Pe=function(){q(Qe,0)};function g(Ye){ge=Ye,he||(he=!0,Pe())}function it(Ye,ue){Ce=q((function(){Ye(A.unstable_now())}),ue)}A.unstable_IdlePriority=5,A.unstable_ImmediatePriority=1,A.unstable_LowPriority=4,A.unstable_NormalPriority=3,A.unstable_Profiling=null,A.unstable_UserBlockingPriority=2,A.unstable_cancelCallback=function(Ye){Ye.callback=null},A.unstable_continueExecution=function(){$||M||($=!0,g(le))},A.unstable_forceFrameRate=function(Ye){0>Ye||125<Ye?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Je=0<Ye?Math.floor(1e3/Ye):5},A.unstable_getCurrentPriorityLevel=function(){return I},A.unstable_getFirstCallbackNode=function(){return c(w)},A.unstable_next=function(Ye){switch(I){case 1:case 2:case 3:var ue=3;break;default:ue=I}var Te=I;I=ue;try{return Ye()}finally{I=Te}},A.unstable_pauseExecution=function(){},A.unstable_requestPaint=function(){},A.unstable_runWithPriority=function(Ye,ue){switch(Ye){case 1:case 2:case 3:case 4:case 5:break;default:Ye=3}var Te=I;I=Ye;try{return ue()}finally{I=Te}},A.unstable_scheduleCallback=function(Ye,ue,Te){var et=A.unstable_now();switch(typeof Te=="object"&&Te!==null?Te=typeof(Te=Te.delay)=="number"&&0<Te?et+Te:et:Te=et,Ye){case 1:var ft=-1;break;case 2:ft=250;break;case 5:ft=1073741823;break;case 4:ft=1e4;break;default:ft=5e3}return Ye={id:O++,callback:ue,priorityLevel:Ye,startTime:Te,expirationTime:ft=Te+ft,sortIndex:-1},Te>et?(Ye.sortIndex=Te,a(x,Ye),c(w)===null&&Ye===c(x)&&(W?(U(Ce),Ce=-1):W=!0,it(se,Te-et))):(Ye.sortIndex=ft,a(w,Ye),$||M||($=!0,g(le))),Ye},A.unstable_shouldYield=Ve,A.unstable_wrapCallback=function(Ye){var ue=I;return function(){var Te=I;I=ue;try{return Ye.apply(this,arguments)}finally{I=Te}}}},30041:(m,A,a)=>{var c=a(30655),v=a(58068),d=a(69675),y=a(75795);m.exports=function(p,w,x){if(!p||typeof p!="object"&&typeof p!="function")throw new d("`obj` must be an object or a function`");if(typeof w!="string"&&typeof w!="symbol")throw new d("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new d("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new d("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new d("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new d("`loose`, if provided, must be a boolean");var O=arguments.length>3?arguments[3]:null,j=arguments.length>4?arguments[4]:null,I=arguments.length>5?arguments[5]:null,M=arguments.length>6&&arguments[6],$=!!y&&y(p,w);if(c)c(p,w,{configurable:I===null&&$?$.configurable:!I,enumerable:O===null&&$?$.enumerable:!O,value:x,writable:j===null&&$?$.writable:!j});else{if(!M&&(O||j||I))throw new v("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");p[w]=x}}},30294:m=>{m.exports=function(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=9007199254740991}},30361:m=>{var A=/^(?:0|[1-9]\d*)$/;m.exports=function(c,v){var d=typeof c;return!!(v=v??9007199254740991)&&(d=="number"||d!="symbol"&&A.test(c))&&c>-1&&c%1==0&&c<v}},30592:(m,A,a)=>{var c=a(30655),v=function(){return!!c};v.hasArrayLengthDefineBug=function(){if(!c)return null;try{return c([],"length",{value:1}).length!==1}catch{return!0}},m.exports=v},30641:(m,A,a)=>{var c=a(86649),v=a(95950);m.exports=function(y,f){return y&&c(y,f,v)}},30655:m=>{var A=Object.defineProperty||!1;if(A)try{A({},"a",{value:1})}catch{A=!1}m.exports=A},30756:(m,A,a)=>{var c=a(23805);m.exports=function(d){return d==d&&!c(d)}},30980:(m,A,a)=>{var c=a(39344),v=a(94033);function d(y){this.__wrapped__=y,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=4294967295,this.__views__=[]}d.prototype=c(v.prototype),d.prototype.constructor=d,m.exports=d},31175:(m,A,a)=>{var c=a(26025);m.exports=function(d,y){var f=this.__data__,p=c(f,d);return p<0?(++this.size,f.push([d,y])):f[p][1]=y,this}},31380:m=>{m.exports=function(a){return this.__data__.set(a,"__lodash_hash_undefined__"),this}},31499:m=>{var A={"&":"&",'"':""","'":"'","<":"<",">":">"};m.exports=function(c){return c&&c.replace?c.replace(/([&"<>'])/g,(function(v,d){return A[d]})):c}},31769:(m,A,a)=>{var c=a(56449),v=a(28586),d=a(61802),y=a(13222);m.exports=function(p,w){return c(p)?p:v(p,w)?[p]:d(y(p))}},31800:m=>{var A=/\s/;m.exports=function(c){for(var v=c.length;v--&&A.test(c.charAt(v)););return v}},32096:(m,A,a)=>{var c=a(90160);m.exports=function(v,d){return v===void 0?arguments.length<2?"":d:c(v)}},32567:(m,A,a)=>{a(79307);var c=a(61747);m.exports=c("Function","bind")},32629:(m,A,a)=>{var c=a(9999);m.exports=function(d){return c(d,4)}},32804:(m,A,a)=>{var c=a(56110)(a(9325),"Promise");m.exports=c},32827:(m,A,a)=>{var c=a(56698),v=a(82890),d=a(90392),y=a(92861).Buffer,f=new Array(160);function p(){this.init(),this._w=f,d.call(this,128,112)}c(p,v),p.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},p.prototype._hash=function(){var w=y.allocUnsafe(48);function x(O,j,I){w.writeInt32BE(O,I),w.writeInt32BE(j,I+4)}return x(this._ah,this._al,0),x(this._bh,this._bl,8),x(this._ch,this._cl,16),x(this._dh,this._dl,24),x(this._eh,this._el,32),x(this._fh,this._fl,40),w},m.exports=p},32865:(m,A,a)=>{var c=a(19570),v=a(51811)(c);m.exports=v},33855:(m,A,a)=>{var c=a(9999),v=a(15389);m.exports=function(y){return v(typeof y=="function"?y:c(y,1))}},34035:(m,A,a)=>{const c=a(3110),v=a(86804);A.g$=c,A.KeyValuePair=a(55973),A.G6=v.ArraySlice,A.ot=v.ObjectSlice,A.Hg=v.Element,A.Om=v.StringElement,A.kT=v.NumberElement,A.bd=v.BooleanElement,A.Os=v.NullElement,A.wE=v.ArrayElement,A.Sh=v.ObjectElement,A.Pr=v.MemberElement,A.sI=v.RefElement,A.Ft=v.LinkElement,A.e=v.refract,a(85105),a(75147)},34084:(m,A,a)=>{var c=a(62250),v=a(46285),d=a(79192);m.exports=function(y,f,p){var w,x;return d&&c(w=f.constructor)&&w!==p&&v(x=w.prototype)&&x!==p.prototype&&d(y,x),y}},34840:(m,A,a)=>{var c=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g;m.exports=c},34849:(m,A,a)=>{var c=a(65482),v=Math.max,d=Math.min;m.exports=function(y,f){var p=c(y);return p<0?v(p+f,0):d(p,f)}},34932:m=>{m.exports=function(a,c){for(var v=-1,d=a==null?0:a.length,y=Array(d);++v<d;)y[v]=c(a[v],v,a);return y}},35344:m=>{function A(...a){return a.map((c=>(function(d){return d?typeof d=="string"?d:d.source:null})(c))).join("")}m.exports=function(c){const v={},d={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[v]}]};Object.assign(v,{className:"variable",variants:[{begin:A(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},d]});const y={className:"subst",begin:/\$\(/,end:/\)/,contains:[c.BACKSLASH_ESCAPE]},f={begin:/<<-?\s*(?=\w+)/,starts:{contains:[c.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},p={className:"string",begin:/"/,end:/"/,contains:[c.BACKSLASH_ESCAPE,v,y]};y.contains.push(p);const w={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},c.NUMBER_MODE,v]},x=c.SHEBANG({binary:`(${["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"].join("|")})`,relevance:10}),O={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[c.inherit(c.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:[x,c.SHEBANG(),O,w,c.HASH_COMMENT_MODE,f,p,{className:"",begin:/\\"/},{className:"string",begin:/'/,end:/'/},v]}}},35345:m=>{m.exports=URIError},35529:(m,A,a)=>{var c=a(39344),v=a(28879),d=a(55527);m.exports=function(f){return typeof f.constructor!="function"||d(f)?{}:c(v(f))}},35680:(m,A,a)=>{var c=a(25767);m.exports=function(d){return!!c(d)}},35749:(m,A,a)=>{var c=a(81042);m.exports=function(d,y){var f=this.__data__;return this.size+=this.has(d)?0:1,f[d]=c&&y===void 0?"__lodash_hash_undefined__":y,this}},35970:(m,A,a)=>{var c=a(83120);m.exports=function(d){return d!=null&&d.length?c(d,1):[]}},36128:(m,A,a)=>{var c=a(7376),v=a(45951),d=a(2532),y="__core-js_shared__",f=m.exports=v[y]||d(y,{});(f.versions||(f.versions=[])).push({version:"3.40.0",mode:c?"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:m=>{var A="__lodash_placeholder__";m.exports=function(c,v){for(var d=-1,y=c.length,f=0,p=[];++d<y;){var w=c[d];w!==v&&w!==A||(c[d]=A,p[f++]=d)}return p}},36371:(m,A,a)=>{var c=a(11091),v=a(85582),d=a(76024),y=a(98828),f=a(19358),p="AggregateError",w=v(p),x=!y((function(){return w([1]).errors[0]!==1}))&&y((function(){return w([1],p,{cause:7}).cause!==7}));c({global:!0,constructor:!0,arity:2,forced:x},{AggregateError:f(p,(function(O){return function(I,M){return d(O,this,arguments)}}),x,!0)})},36556:(m,A,a)=>{var c=a(70453),v=a(73126),d=v([c("%String.prototype.indexOf%")]);m.exports=function(f,p){var w=c(f,!!p);return typeof w=="function"&&d(f,".prototype.")>-1?v([w]):w}},36624:(m,A,a)=>{var c=a(46285),v=String,d=TypeError;m.exports=function(y){if(c(y))return y;throw new d(v(y)+" is not an object")}},36800:(m,A,a)=>{var c=a(75288),v=a(64894),d=a(30361),y=a(23805);m.exports=function(p,w,x){if(!y(x))return!1;var O=typeof w;return!!(O=="number"?v(x)&&d(w,x.length):O=="string"&&w in x)&&c(x[w],p)}},36833:(m,A,a)=>{var c=a(39447),v=a(49724),d=Function.prototype,y=c&&Object.getOwnPropertyDescriptor,f=v(d,"name"),p=f&&function(){}.name==="something",w=f&&(!c||c&&y(d,"name").configurable);m.exports={EXISTS:f,PROPER:p,CONFIGURABLE:w}},37007:m=>{var A,a=typeof Reflect=="object"?Reflect:null,c=a&&typeof a.apply=="function"?a.apply:function(q,U,H){return Function.prototype.apply.call(q,U,H)};A=a&&typeof a.ownKeys=="function"?a.ownKeys:Object.getOwnPropertySymbols?function(q){return Object.getOwnPropertyNames(q).concat(Object.getOwnPropertySymbols(q))}:function(q){return Object.getOwnPropertyNames(q)};var v=Number.isNaN||function(q){return q!=q};function d(){d.init.call(this)}m.exports=d,m.exports.once=function(q,U){return new Promise((function(H,Q){function se(Pe){q.removeListener(U,le),Q(Pe)}function le(){typeof q.removeListener=="function"&&q.removeListener("error",se),H([].slice.call(arguments))}$(q,U,le,{once:!0}),U!=="error"&&(function(he,ge,Ce){typeof he.on=="function"&&$(he,"error",ge,Ce)})(q,se,{once:!0})}))},d.EventEmitter=d,d.prototype._events=void 0,d.prototype._eventsCount=0,d.prototype._maxListeners=void 0;var y=10;function f(W){if(typeof W!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof W)}function p(W){return W._maxListeners===void 0?d.defaultMaxListeners:W._maxListeners}function w(W,q,U,H){var Q,se,le;if(f(U),(se=W._events)===void 0?(se=W._events=Object.create(null),W._eventsCount=0):(se.newListener!==void 0&&(W.emit("newListener",q,U.listener?U.listener:U),se=W._events),le=se[q]),le===void 0)le=se[q]=U,++W._eventsCount;else if(typeof le=="function"?le=se[q]=H?[U,le]:[le,U]:H?le.unshift(U):le.push(U),(Q=p(W))>0&&le.length>Q&&!le.warned){le.warned=!0;var Pe=new Error("Possible EventEmitter memory leak detected. "+le.length+" "+String(q)+" listeners added. Use emitter.setMaxListeners() to increase limit");Pe.name="MaxListenersExceededWarning",Pe.emitter=W,Pe.type=q,Pe.count=le.length,(function(ge){console&&console.warn&&console.warn(ge)})(Pe)}return W}function x(){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 O(W,q,U){var H={fired:!1,wrapFn:void 0,target:W,type:q,listener:U},Q=x.bind(H);return Q.listener=U,H.wrapFn=Q,Q}function j(W,q,U){var H=W._events;if(H===void 0)return[];var Q=H[q];return Q===void 0?[]:typeof Q=="function"?U?[Q.listener||Q]:[Q]:U?(function(le){for(var Pe=new Array(le.length),he=0;he<Pe.length;++he)Pe[he]=le[he].listener||le[he];return Pe})(Q):M(Q,Q.length)}function I(W){var q=this._events;if(q!==void 0){var U=q[W];if(typeof U=="function")return 1;if(U!==void 0)return U.length}return 0}function M(W,q){for(var U=new Array(q),H=0;H<q;++H)U[H]=W[H];return U}function $(W,q,U,H){if(typeof W.on=="function")H.once?W.once(q,U):W.on(q,U);else{if(typeof W.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof W);W.addEventListener(q,(function Q(se){H.once&&W.removeEventListener(q,Q),U(se)}))}}Object.defineProperty(d,"defaultMaxListeners",{enumerable:!0,get:function(){return y},set:function(W){if(typeof W!="number"||W<0||v(W))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+W+".");y=W}}),d.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},d.prototype.setMaxListeners=function(q){if(typeof q!="number"||q<0||v(q))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+q+".");return this._maxListeners=q,this},d.prototype.getMaxListeners=function(){return p(this)},d.prototype.emit=function(q){for(var U=[],H=1;H<arguments.length;H++)U.push(arguments[H]);var Q=q==="error",se=this._events;if(se!==void 0)Q=Q&&se.error===void 0;else if(!Q)return!1;if(Q){var le;if(U.length>0&&(le=U[0]),le instanceof Error)throw le;var Pe=new Error("Unhandled error."+(le?" ("+le.message+")":""));throw Pe.context=le,Pe}var he=se[q];if(he===void 0)return!1;if(typeof he=="function")c(he,this,U);else{var ge=he.length,Ce=M(he,ge);for(H=0;H<ge;++H)c(Ce[H],this,U)}return!0},d.prototype.addListener=function(q,U){return w(this,q,U,!1)},d.prototype.on=d.prototype.addListener,d.prototype.prependListener=function(q,U){return w(this,q,U,!0)},d.prototype.once=function(q,U){return f(U),this.on(q,O(this,q,U)),this},d.prototype.prependOnceListener=function(q,U){return f(U),this.prependListener(q,O(this,q,U)),this},d.prototype.removeListener=function(q,U){var H,Q,se,le,Pe;if(f(U),(Q=this._events)===void 0)return this;if((H=Q[q])===void 0)return this;if(H===U||H.listener===U)--this._eventsCount==0?this._events=Object.create(null):(delete Q[q],Q.removeListener&&this.emit("removeListener",q,H.listener||U));else if(typeof H!="function"){for(se=-1,le=H.length-1;le>=0;le--)if(H[le]===U||H[le].listener===U){Pe=H[le].listener,se=le;break}if(se<0)return this;se===0?H.shift():(function(ge,Ce){for(;Ce+1<ge.length;Ce++)ge[Ce]=ge[Ce+1];ge.pop()})(H,se),H.length===1&&(Q[q]=H[0]),Q.removeListener!==void 0&&this.emit("removeListener",q,Pe||U)}return this},d.prototype.off=d.prototype.removeListener,d.prototype.removeAllListeners=function(q){var U,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[q]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete H[q]),this;if(arguments.length===0){var se,le=Object.keys(H);for(Q=0;Q<le.length;++Q)(se=le[Q])!=="removeListener"&&this.removeAllListeners(se);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(U=H[q])=="function")this.removeListener(q,U);else if(U!==void 0)for(Q=U.length-1;Q>=0;Q--)this.removeListener(q,U[Q]);return this},d.prototype.listeners=function(q){return j(this,q,!0)},d.prototype.rawListeners=function(q){return j(this,q,!1)},d.listenerCount=function(W,q){return typeof W.listenerCount=="function"?W.listenerCount(q):I.call(W,q)},d.prototype.listenerCount=I,d.prototype.eventNames=function(){return this._eventsCount>0?A(this._events):[]}},37167:(m,A,a)=>{var c=a(4901),v=a(27301),d=a(86009),y=d&&d.isTypedArray,f=y?v(y):c;m.exports=f},37217:(m,A,a)=>{var c=a(80079),v=a(51420),d=a(90938),y=a(63605),f=a(29817),p=a(80945);function w(x){var O=this.__data__=new c(x);this.size=O.size}w.prototype.clear=v,w.prototype.delete=d,w.prototype.get=y,w.prototype.has=f,w.prototype.set=p,m.exports=w},37241:(m,A,a)=>{var c=a(70695),v=a(72903),d=a(64894);m.exports=function(f){return d(f)?c(f,!0):v(f)}},37257:(m,A,a)=>{a(96605),a(64502),a(36371),a(99363),a(7057);var c=a(92046);m.exports=c.AggregateError},37334:m=>{m.exports=function(a){return function(){return a}}},37381:(m,A,a)=>{var c=a(48152),v=a(63950),d=c?function(y){return c.get(y)}:v;m.exports=d},37471:(m,A,a)=>{var c=a(91596),v=a(53320),d=a(58523),y=a(82819),f=a(18073),p=a(11287),w=a(68294),x=a(36306),O=a(9325);m.exports=function j(I,M,$,W,q,U,H,Q,se,le){var Pe=128&M,he=1&M,ge=2&M,Ce=24&M,Je=512&M,ze=ge?void 0:y(I);return function Ve(){for(var Qe=arguments.length,pt=Array(Qe),Fe=Qe;Fe--;)pt[Fe]=arguments[Fe];if(Ce)var g=p(Ve),it=d(pt,g);if(W&&(pt=c(pt,W,q,Ce)),U&&(pt=v(pt,U,H,Ce)),Qe-=it,Ce&&Qe<le){var Ye=x(pt,g);return f(I,M,j,Ve.placeholder,$,pt,Ye,Q,se,le-Qe)}var ue=he?$:this,Te=ge?ue[I]:I;return Qe=pt.length,Q?pt=w(pt,Q):Je&&Qe>1&&pt.reverse(),Pe&&se<Qe&&(pt.length=se),this&&this!==O&&this instanceof Ve&&(Te=ze||y(Te)),Te.apply(ue,pt)}}},37812:(m,A,a)=>{var c=a(76264),v=a(93742),d=c("iterator"),y=Array.prototype;m.exports=function(f){return f!==void 0&&(v.Array===f||y[d]===f)}},37828:(m,A,a)=>{var c=a(9325).Uint8Array;m.exports=c},38221:(m,A,a)=>{var c=a(23805),v=a(10124),d=a(99374),y=Math.max,f=Math.min;m.exports=function(w,x,O){var j,I,M,$,W,q,U=0,H=!1,Q=!1,se=!0;if(typeof w!="function")throw new TypeError("Expected a function");function le(Je){var ze=j,Ve=I;return j=I=void 0,U=Je,$=w.apply(Ve,ze)}function Pe(Je){var ze=Je-q;return q===void 0||ze>=x||ze<0||Q&&Je-U>=M}function he(){var Je=v();if(Pe(Je))return ge(Je);W=setTimeout(he,(function(Ve){var Qe=x-(Ve-q);return Q?f(Qe,M-(Ve-U)):Qe})(Je))}function ge(Je){return W=void 0,se&&j?le(Je):(j=I=void 0,$)}function Ce(){var Je=v(),ze=Pe(Je);if(j=arguments,I=this,q=Je,ze){if(W===void 0)return(function(Qe){return U=Qe,W=setTimeout(he,x),H?le(Qe):$})(q);if(Q)return clearTimeout(W),W=setTimeout(he,x),le(q)}return W===void 0&&(W=setTimeout(he,x)),$}return x=d(x)||0,c(O)&&(H=!!O.leading,M=(Q="maxWait"in O)?y(d(O.maxWait)||0,x):M,se="trailing"in O?!!O.trailing:se),Ce.cancel=function(){W!==void 0&&clearTimeout(W),U=0,j=q=I=W=void 0},Ce.flush=function(){return W===void 0?$:ge(v())},Ce}},38329:(m,A,a)=>{var c=a(64894);m.exports=function(d,y){return function(f,p){if(f==null)return f;if(!c(f))return d(f,p);for(var w=f.length,x=y?w:-1,O=Object(f);(y?x--:++x<w)&&p(O[x],x,O)!==!1;);return f}}},38440:(m,A,a)=>{var c=a(16038),v=a(27301),d=a(86009),y=d&&d.isSet,f=y?v(y):c;m.exports=f},38530:m=>{m.exports={}},38816:(m,A,a)=>{var c=a(35970),v=a(56757),d=a(32865);m.exports=function(f){return d(v(f,void 0,c),f+"")}},38859:(m,A,a)=>{var c=a(53661),v=a(31380),d=a(51459);function y(f){var p=-1,w=f==null?0:f.length;for(this.__data__=new c;++p<w;)this.add(f[p])}y.prototype.add=y.prototype.push=v,y.prototype.has=d,m.exports=y},39209:(m,A,a)=>{var c=a(76578),v=typeof globalThis>"u"?a.g:globalThis;m.exports=function(){for(var y=[],f=0;f<c.length;f++)typeof v[c[f]]=="function"&&(y[y.length]=c[f]);return y}},39259:(m,A,a)=>{var c=a(46285),v=a(61626);m.exports=function(d,y){c(y)&&"cause"in y&&v(d,"cause",y.cause)}},39298:(m,A,a)=>{var c=a(74239),v=Object;m.exports=function(d){return v(c(d))}},39344:(m,A,a)=>{var c=a(23805),v=Object.create,d=(function(){function y(){}return function(f){if(!c(f))return{};if(v)return v(f);y.prototype=f;var p=new y;return y.prototype=void 0,p}})();m.exports=d},39447:(m,A,a)=>{var c=a(98828);m.exports=!c((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},40154:(m,A,a)=>{var c=a(13930),v=a(36624),d=a(29367);m.exports=function(y,f,p){var w,x;v(y);try{if(!(w=d(y,"return"))){if(f==="throw")throw p;return p}w=c(w,y)}catch(O){x=!0,w=O}if(f==="throw")throw p;if(x)throw w;return v(w),p}},40239:(m,A,a)=>{const c=a(10316);m.exports=class extends c{constructor(d,y,f){super(d,y,f),this.element="number"}primitive(){return"number"}}},40345:(m,A,a)=>{m.exports=a(37007).EventEmitter},40346:m=>{m.exports=function(a){return a!=null&&typeof a=="object"}},40551:(m,A,a)=>{var c=a(45951),v=a(62250),d=c.WeakMap;m.exports=v(d)&&/native code/.test(String(d))},40860:(m,A,a)=>{var c=a(40882),v=a(80909),d=a(15389),y=a(85558),f=a(56449);m.exports=function(w,x,O){var j=f(w)?c:y,I=arguments.length<3;return j(w,d(x,4),O,I,v)}},40882:m=>{m.exports=function(a,c,v,d){var y=-1,f=a==null?0:a.length;for(d&&f&&(v=a[++y]);++y<f;)v=c(v,a[y],y,a);return v}},40961:(m,A,a)=>{(function c(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE=="function")try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(v){console.error(v)}})(),m.exports=a(22551)},40975:(m,A,a)=>{var c=a(9748);m.exports=c},41067:(m,A,a)=>{const c=a(10316);m.exports=class extends c{constructor(d,y,f){super(d||null,y,f),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}},41176:m=>{var A=Math.ceil,a=Math.floor;m.exports=Math.trunc||function(v){var d=+v;return(d>0?a:A)(d)}},41237:m=>{m.exports=EvalError},41333:m=>{m.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var a={},c=Symbol("test"),v=Object(c);if(typeof c=="string"||Object.prototype.toString.call(c)!=="[object Symbol]"||Object.prototype.toString.call(v)!=="[object Symbol]")return!1;for(var d in a[c]=42,a)return!1;if(typeof Object.keys=="function"&&Object.keys(a).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(a).length!==0)return!1;var y=Object.getOwnPropertySymbols(a);if(y.length!==1||y[0]!==c||!Object.prototype.propertyIsEnumerable.call(a,c))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(a,c);if(f.value!==42||f.enumerable!==!0)return!1}return!0}},41505:(m,A,a)=>{var c=a(98828);m.exports=!c((function(){var v=function(){}.bind();return typeof v!="function"||v.hasOwnProperty("prototype")}))},41799:(m,A,a)=>{var c=a(37217),v=a(60270);m.exports=function(y,f,p,w){var x=p.length,O=x,j=!w;if(y==null)return!O;for(y=Object(y);x--;){var I=p[x];if(j&&I[2]?I[1]!==y[I[0]]:!(I[0]in y))return!1}for(;++x<O;){var M=(I=p[x])[0],$=y[M],W=I[1];if(j&&I[2]){if($===void 0&&!(M in y))return!1}else{var q=new c;if(w)var U=w($,W,M,y,f,q);if(!(U===void 0?v(W,$,3,w,q):U))return!1}}return!0}},41859:(m,A,a)=>{const c=a(27096),v=a(78004),d=c.types;m.exports=class Fm{constructor(f,p){if(this._setDefaults(f),f instanceof RegExp)this.ignoreCase=f.ignoreCase,this.multiline=f.multiline,f=f.source;else{if(typeof f!="string")throw new Error("Expected a regexp or string");this.ignoreCase=p&&p.indexOf("i")!==-1,this.multiline=p&&p.indexOf("m")!==-1}this.tokens=c(f)}_setDefaults(f){this.max=f.max!=null?f.max:Fm.prototype.max!=null?Fm.prototype.max:100,this.defaultRange=f.defaultRange?f.defaultRange:this.defaultRange.clone(),f.randInt&&(this.randInt=f.randInt)}gen(){return this._gen(this.tokens,[])}_gen(f,p){var w,x,O,j,I;switch(f.type){case d.ROOT:case d.GROUP:if(f.followedBy||f.notFollowedBy)return"";for(f.remember&&f.groupNumber===void 0&&(f.groupNumber=p.push(null)-1),x="",j=0,I=(w=f.options?this._randSelect(f.options):f.stack).length;j<I;j++)x+=this._gen(w[j],p);return f.remember&&(p[f.groupNumber]=x),x;case d.POSITION:return"";case d.SET:var M=this._expand(f);return M.length?String.fromCharCode(this._randSelect(M)):"";case d.REPETITION:for(O=this.randInt(f.min,f.max===1/0?f.min+this.max:f.max),x="",j=0;j<O;j++)x+=this._gen(f.value,p);return x;case d.REFERENCE:return p[f.value-1]||"";case d.CHAR:var $=this.ignoreCase&&this._randBool()?this._toOtherCase(f.value):f.value;return String.fromCharCode($)}}_toOtherCase(f){return f+(97<=f&&f<=122?-32:65<=f&&f<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(f){return f instanceof v?f.index(this.randInt(0,f.length-1)):f[this.randInt(0,f.length-1)]}_expand(f){if(f.type===c.types.CHAR)return new v(f.value);if(f.type===c.types.RANGE)return new v(f.from,f.to);{let p=new v;for(let w=0;w<f.set.length;w++){let x=this._expand(f.set[w]);if(p.add(x),this.ignoreCase)for(let O=0;O<x.length;O++){let j=x.index(O),I=this._toOtherCase(j);j!==I&&p.add(I)}}return f.not?this.defaultRange.clone().subtract(p):this.defaultRange.clone().intersect(p)}}randInt(f,p){return f+Math.floor(Math.random()*(1+p-f))}get defaultRange(){return this._range=this._range||new v(32,126)}set defaultRange(f){this._range=f}static randexp(f,p){var w;return typeof f=="string"&&(f=new RegExp(f,p)),f._randexp===void 0?(w=new Fm(f,p),f._randexp=w):(w=f._randexp)._setDefaults(f),w.gen()}static sugar(){RegExp.prototype.gen=function(){return Fm.randexp(this)}}}},42054:m=>{var A="\\ud800-\\udfff",a="["+A+"]",c="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",v="\\ud83c[\\udffb-\\udfff]",d="[^"+A+"]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="(?:"+c+"|"+v+")?",w="[\\ufe0e\\ufe0f]?",x=w+p+("(?:\\u200d(?:"+[d,y,f].join("|")+")"+w+p+")*"),O="(?:"+[d+c+"?",c,y,f,a].join("|")+")",j=RegExp(v+"(?="+v+")|"+O+x,"g");m.exports=function(M){return M.match(j)||[]}},42072:(m,A,a)=>{var c=a(34932),v=a(23007),d=a(56449),y=a(44394),f=a(61802),p=a(77797),w=a(13222);m.exports=function(O){return d(O)?c(O,p):y(O)?[O]:v(f(w(O)))}},42156:m=>{m.exports=function(){}},42220:(m,A,a)=>{var c=a(39447),v=a(58661),d=a(74284),y=a(36624),f=a(4993),p=a(2875);A.f=c&&!v?Object.defineProperties:function(x,O){y(x);for(var j,I=f(O),M=p(O),$=M.length,W=0;$>W;)d.f(x,j=M[W++],I[j]);return x}},42426:(m,A,a)=>{var c=a(14248),v=a(15389),d=a(90916),y=a(56449),f=a(36800);m.exports=function(w,x,O){var j=y(w)?c:d;return O&&f(w,x,O)&&(x=void 0),j(w,v(x,3))}},42824:(m,A,a)=>{var c=a(87805),v=a(93290),d=a(71961),y=a(23007),f=a(35529),p=a(72428),w=a(56449),x=a(83693),O=a(3656),j=a(1882),I=a(23805),M=a(11331),$=a(37167),W=a(14974),q=a(69884);m.exports=function(H,Q,se,le,Pe,he,ge){var Ce=W(H,se),Je=W(Q,se),ze=ge.get(Je);if(ze)c(H,se,ze);else{var Ve=he?he(Ce,Je,se+"",H,Q,ge):void 0,Qe=Ve===void 0;if(Qe){var pt=w(Je),Fe=!pt&&O(Je),g=!pt&&!Fe&&$(Je);Ve=Je,pt||Fe||g?w(Ce)?Ve=Ce:x(Ce)?Ve=y(Ce):Fe?(Qe=!1,Ve=v(Je,!0)):g?(Qe=!1,Ve=d(Je,!0)):Ve=[]:M(Je)||p(Je)?(Ve=Ce,p(Ce)?Ve=q(Ce):I(Ce)&&!j(Ce)||(Ve=f(Je))):Qe=!1}Qe&&(ge.set(Je,Ve),Pe(Ve,Je,le,he,ge),ge.delete(Je)),c(H,se,Ve)}}},43360:(m,A,a)=>{var c=a(93243);m.exports=function(d,y,f){y=="__proto__"&&c?c(d,y,{configurable:!0,enumerable:!0,value:f,writable:!0}):d[y]=f}},43768:(m,A,a)=>{var c=a(45981),v=a(85587);A.highlight=y,A.highlightAuto=function(x,O){var j,I,M,$,W=O||{},q=W.subset||c.listLanguages();W.prefix;var U=q.length,H=-1;if(typeof x!="string")throw v("Expected `string` for value, got `%s`",x);for(I={relevance:0,language:null,value:[]},j={relevance:0,language:null,value:[]};++H<U;)$=q[H],c.getLanguage($)&&((M=y($,x,O)).language=$,M.relevance>I.relevance&&(I=M),M.relevance>j.relevance&&(I=j,j=M));return I.language&&(j.secondBest=I),j},A.registerLanguage=function(x,O){c.registerLanguage(x,O)},A.listLanguages=function(){return c.listLanguages()},A.registerAlias=function(x,O){var j,I=x;O&&((I={})[x]=O);for(j in I)c.registerAliases(I[j],{languageName:j})},f.prototype.addText=function(x){var O,j,I=this.stack;x!==""&&(O=I[I.length-1],(j=O.children[O.children.length-1])&&j.type==="text"?j.value+=x:O.children.push({type:"text",value:x}))},f.prototype.addKeyword=function(x,O){this.openNode(O),this.addText(x),this.closeNode()},f.prototype.addSublanguage=function(x,O){var j=this.stack,I=j[j.length-1],M=x.rootNode.children,$=O?{type:"element",tagName:"span",properties:{className:[O]},children:M}:M;I.children=I.children.concat($)},f.prototype.openNode=function(x){var O=this.stack,j=this.options.classPrefix+x,I=O[O.length-1],M={type:"element",tagName:"span",properties:{className:[j]},children:[]};I.children.push(M),O.push(M)},f.prototype.closeNode=function(){this.stack.pop()},f.prototype.closeAllNodes=p,f.prototype.finalize=p,f.prototype.toHTML=function(){return""};var d="hljs-";function y(w,x,O){var j,I=c.configure({}),M=(O||{}).prefix;if(typeof w!="string")throw v("Expected `string` for name, got `%s`",w);if(!c.getLanguage(w))throw v("Unknown language: `%s` is not registered",w);if(typeof x!="string")throw v("Expected `string` for value, got `%s`",x);if(M==null&&(M=d),c.configure({__emitter:f,classPrefix:M}),j=c.highlight(x,{language:w,ignoreIllegals:!0}),c.configure(I||{}),j.errorRaised)throw j.errorRaised;return{relevance:j.relevance,language:j.language,value:j.emitter.rootNode.children}}function f(w){this.options=w,this.rootNode={children:[]},this.stack=[this.rootNode]}function p(){}},43838:(m,A,a)=>{var c=a(21791),v=a(37241);m.exports=function(y,f){return y&&c(f,v(f),y)}},44394:(m,A,a)=>{var c=a(72552),v=a(40346);m.exports=function(y){return typeof y=="symbol"||v(y)&&c(y)=="[object Symbol]"}},44673:(m,A,a)=>{var c=a(1907),v=a(82159),d=a(46285),y=a(49724),f=a(93427),p=a(41505),w=Function,x=c([].concat),O=c([].join),j={};m.exports=p?w.bind:function(M){var $=v(this),W=$.prototype,q=f(arguments,1),U=function(){var Q=x(q,f(arguments));return this instanceof U?(function(se,le,Pe){if(!y(j,le)){for(var he=[],ge=0;ge<le;ge++)he[ge]="a["+ge+"]";j[le]=w("C,a","return new C("+O(he,",")+")")}return j[le](se,Pe)})($,Q.length,Q):$.apply(M,Q)};return d(W)&&(U.prototype=W),U}},45083:(m,A,a)=>{var c=a(1882),v=a(87296),d=a(23805),y=a(47473),f=/^\[object .+?Constructor\]$/,p=Function.prototype,w=Object.prototype,x=p.toString,O=w.hasOwnProperty,j=RegExp("^"+x.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");m.exports=function(M){return!(!d(M)||v(M))&&(c(M)?j:f).test(y(M))}},45412:(m,A,a)=>{var c,v=a(65606);m.exports=ge,ge.ReadableState=he,a(37007).EventEmitter;var d=function(_e,nt){return _e.listeners(nt).length},y=a(40345),f=a(48287).Buffer,p=(a.g!==void 0?a.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},w,x=a(79838);w=x&&x.debuglog?x.debuglog("stream"):function(){};var O,j,I,M=a(80345),$=a(75896),W=a(65291).getHighWaterMark,q=a(86048).F,U=q.ERR_INVALID_ARG_TYPE,H=q.ERR_STREAM_PUSH_AFTER_EOF,Q=q.ERR_METHOD_NOT_IMPLEMENTED,se=q.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;a(56698)(ge,y);var le=$.errorOrDestroy,Pe=["error","close","destroy","pause","resume"];function he(ee,_e,nt){c=c||a(25382),ee=ee||{},typeof nt!="boolean"&&(nt=_e instanceof c),this.objectMode=!!ee.objectMode,nt&&(this.objectMode=this.objectMode||!!ee.readableObjectMode),this.highWaterMark=W(this,ee,"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=ee.emitClose!==!1,this.autoDestroy=!!ee.autoDestroy,this.destroyed=!1,this.defaultEncoding=ee.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,ee.encoding&&(O||(O=a(83141).I),this.decoder=new O(ee.encoding),this.encoding=ee.encoding)}function ge(ee){if(c=c||a(25382),!(this instanceof ge))return new ge(ee);var _e=this instanceof c;this._readableState=new he(ee,this,_e),this.readable=!0,ee&&(typeof ee.read=="function"&&(this._read=ee.read),typeof ee.destroy=="function"&&(this._destroy=ee.destroy)),y.call(this)}function Ce(ee,_e,nt,st,Ut){w("readableAddChunk",_e);var qt,lt=ee._readableState;if(_e===null)lt.reading=!1,(function(Mt,_t){if(w("onEofChunk"),!_t.ended){if(_t.decoder){var ht=_t.decoder.end();ht&&ht.length&&(_t.buffer.push(ht),_t.length+=_t.objectMode?1:ht.length)}_t.ended=!0,_t.sync?Qe(Mt):(_t.needReadable=!1,_t.emittedReadable||(_t.emittedReadable=!0,pt(Mt)))}})(ee,lt);else if(Ut||(qt=(function(Mt,_t){var ht;return(function(Y){return f.isBuffer(Y)||Y instanceof p})(_t)||typeof _t=="string"||_t===void 0||Mt.objectMode||(ht=new U("chunk",["string","Buffer","Uint8Array"],_t)),ht})(lt,_e)),qt)le(ee,qt);else if(lt.objectMode||_e&&_e.length>0)if(typeof _e=="string"||lt.objectMode||Object.getPrototypeOf(_e)===f.prototype||(_e=(function(Mt){return f.from(Mt)})(_e)),st)lt.endEmitted?le(ee,new se):Je(ee,lt,_e,!0);else if(lt.ended)le(ee,new H);else{if(lt.destroyed)return!1;lt.reading=!1,lt.decoder&&!nt?(_e=lt.decoder.write(_e),lt.objectMode||_e.length!==0?Je(ee,lt,_e,!1):Fe(ee,lt)):Je(ee,lt,_e,!1)}else st||(lt.reading=!1,Fe(ee,lt));return!lt.ended&&(lt.length<lt.highWaterMark||lt.length===0)}function Je(ee,_e,nt,st){_e.flowing&&_e.length===0&&!_e.sync?(_e.awaitDrain=0,ee.emit("data",nt)):(_e.length+=_e.objectMode?1:nt.length,st?_e.buffer.unshift(nt):_e.buffer.push(nt),_e.needReadable&&Qe(ee)),Fe(ee,_e)}Object.defineProperty(ge.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(_e){this._readableState&&(this._readableState.destroyed=_e)}}),ge.prototype.destroy=$.destroy,ge.prototype._undestroy=$.undestroy,ge.prototype._destroy=function(ee,_e){_e(ee)},ge.prototype.push=function(ee,_e){var nt,st=this._readableState;return st.objectMode?nt=!0:typeof ee=="string"&&((_e=_e||st.defaultEncoding)!==st.encoding&&(ee=f.from(ee,_e),_e=""),nt=!0),Ce(this,ee,_e,!1,nt)},ge.prototype.unshift=function(ee){return Ce(this,ee,null,!0,!1)},ge.prototype.isPaused=function(){return this._readableState.flowing===!1},ge.prototype.setEncoding=function(ee){O||(O=a(83141).I);var _e=new O(ee);this._readableState.decoder=_e,this._readableState.encoding=this._readableState.decoder.encoding;for(var nt=this._readableState.buffer.head,st="";nt!==null;)st+=_e.write(nt.data),nt=nt.next;return this._readableState.buffer.clear(),st!==""&&this._readableState.buffer.push(st),this._readableState.length=st.length,this};var ze=1073741824;function Ve(ee,_e){return ee<=0||_e.length===0&&_e.ended?0:_e.objectMode?1:ee!=ee?_e.flowing&&_e.length?_e.buffer.head.data.length:_e.length:(ee>_e.highWaterMark&&(_e.highWaterMark=(function(st){return st>=ze?st=ze:(st--,st|=st>>>1,st|=st>>>2,st|=st>>>4,st|=st>>>8,st|=st>>>16,st++),st})(ee)),ee<=_e.length?ee:_e.ended?_e.length:(_e.needReadable=!0,0))}function Qe(ee){var _e=ee._readableState;w("emitReadable",_e.needReadable,_e.emittedReadable),_e.needReadable=!1,_e.emittedReadable||(w("emitReadable",_e.flowing),_e.emittedReadable=!0,v.nextTick(pt,ee))}function pt(ee){var _e=ee._readableState;w("emitReadable_",_e.destroyed,_e.length,_e.ended),_e.destroyed||!_e.length&&!_e.ended||(ee.emit("readable"),_e.emittedReadable=!1),_e.needReadable=!_e.flowing&&!_e.ended&&_e.length<=_e.highWaterMark,Te(ee)}function Fe(ee,_e){_e.readingMore||(_e.readingMore=!0,v.nextTick(g,ee,_e))}function g(ee,_e){for(;!_e.reading&&!_e.ended&&(_e.length<_e.highWaterMark||_e.flowing&&_e.length===0);){var nt=_e.length;if(w("maybeReadMore read 0"),ee.read(0),nt===_e.length)break}_e.readingMore=!1}function it(ee){var _e=ee._readableState;_e.readableListening=ee.listenerCount("readable")>0,_e.resumeScheduled&&!_e.paused?_e.flowing=!0:ee.listenerCount("data")>0&&ee.resume()}function Ye(ee){w("readable nexttick read 0"),ee.read(0)}function ue(ee,_e){w("resume",_e.reading),_e.reading||ee.read(0),_e.resumeScheduled=!1,ee.emit("resume"),Te(ee),_e.flowing&&!_e.reading&&ee.read(0)}function Te(ee){var _e=ee._readableState;for(w("flow",_e.flowing);_e.flowing&&ee.read()!==null;);}function et(ee,_e){return _e.length===0?null:(_e.objectMode?nt=_e.buffer.shift():!ee||ee>=_e.length?(nt=_e.decoder?_e.buffer.join(""):_e.buffer.length===1?_e.buffer.first():_e.buffer.concat(_e.length),_e.buffer.clear()):nt=_e.buffer.consume(ee,_e.decoder),nt);var nt}function ft(ee){var _e=ee._readableState;w("endReadable",_e.endEmitted),_e.endEmitted||(_e.ended=!0,v.nextTick(Ke,_e,ee))}function Ke(ee,_e){if(w("endReadableNT",ee.endEmitted,ee.length),!ee.endEmitted&&ee.length===0&&(ee.endEmitted=!0,_e.readable=!1,_e.emit("end"),ee.autoDestroy)){var nt=_e._writableState;(!nt||nt.autoDestroy&&nt.finished)&&_e.destroy()}}function dt(ee,_e){for(var nt=0,st=ee.length;nt<st;nt++)if(ee[nt]===_e)return nt;return-1}ge.prototype.read=function(ee){w("read",ee),ee=parseInt(ee,10);var _e=this._readableState,nt=ee;if(ee!==0&&(_e.emittedReadable=!1),ee===0&&_e.needReadable&&((_e.highWaterMark!==0?_e.length>=_e.highWaterMark:_e.length>0)||_e.ended))return w("read: emitReadable",_e.length,_e.ended),_e.length===0&&_e.ended?ft(this):Qe(this),null;if((ee=Ve(ee,_e))===0&&_e.ended)return _e.length===0&&ft(this),null;var st,Ut=_e.needReadable;return w("need readable",Ut),(_e.length===0||_e.length-ee<_e.highWaterMark)&&w("length less than watermark",Ut=!0),_e.ended||_e.reading?w("reading or ended",Ut=!1):Ut&&(w("do read"),_e.reading=!0,_e.sync=!0,_e.length===0&&(_e.needReadable=!0),this._read(_e.highWaterMark),_e.sync=!1,_e.reading||(ee=Ve(nt,_e))),(st=ee>0?et(ee,_e):null)===null?(_e.needReadable=_e.length<=_e.highWaterMark,ee=0):(_e.length-=ee,_e.awaitDrain=0),_e.length===0&&(_e.ended||(_e.needReadable=!0),nt!==ee&&_e.ended&&ft(this)),st!==null&&this.emit("data",st),st},ge.prototype._read=function(ee){le(this,new Q("_read()"))},ge.prototype.pipe=function(ee,_e){var nt=this,st=this._readableState;switch(st.pipesCount){case 0:st.pipes=ee;break;case 1:st.pipes=[st.pipes,ee];break;default:st.pipes.push(ee)}st.pipesCount+=1,w("pipe count=%d opts=%j",st.pipesCount,_e);var Ut=(!_e||_e.end!==!1)&&ee!==v.stdout&&ee!==v.stderr?lt:C;function qt(N,J){w("onunpipe"),N===nt&&J&&J.hasUnpiped===!1&&(J.hasUnpiped=!0,(function(){w("cleanup"),ee.removeListener("close",Lt),ee.removeListener("finish",Y),ee.removeListener("drain",xt),ee.removeListener("error",ht),ee.removeListener("unpipe",qt),nt.removeListener("end",lt),nt.removeListener("end",C),nt.removeListener("data",_t),Mt=!0,!st.awaitDrain||ee._writableState&&!ee._writableState.needDrain||xt()})())}function lt(){w("onend"),ee.end()}st.endEmitted?v.nextTick(Ut):nt.once("end",Ut),ee.on("unpipe",qt);var xt=(function(J){return function(){var ce=J._readableState;w("pipeOnDrain",ce.awaitDrain),ce.awaitDrain&&ce.awaitDrain--,ce.awaitDrain===0&&d(J,"data")&&(ce.flowing=!0,Te(J))}})(nt);ee.on("drain",xt);var Mt=!1;function _t(N){w("ondata");var J=ee.write(N);w("dest.write",J),J===!1&&((st.pipesCount===1&&st.pipes===ee||st.pipesCount>1&&dt(st.pipes,ee)!==-1)&&!Mt&&(w("false write response, pause",st.awaitDrain),st.awaitDrain++),nt.pause())}function ht(N){w("onerror",N),C(),ee.removeListener("error",ht),d(ee,"error")===0&&le(ee,N)}function Lt(){ee.removeListener("finish",Y),C()}function Y(){w("onfinish"),ee.removeListener("close",Lt),C()}function C(){w("unpipe"),nt.unpipe(ee)}return nt.on("data",_t),(function(J,ne,ce){if(typeof J.prependListener=="function")return J.prependListener(ne,ce);J._events&&J._events[ne]?Array.isArray(J._events[ne])?J._events[ne].unshift(ce):J._events[ne]=[ce,J._events[ne]]:J.on(ne,ce)})(ee,"error",ht),ee.once("close",Lt),ee.once("finish",Y),ee.emit("pipe",nt),st.flowing||(w("pipe resume"),nt.resume()),ee},ge.prototype.unpipe=function(ee){var _e=this._readableState,nt={hasUnpiped:!1};if(_e.pipesCount===0)return this;if(_e.pipesCount===1)return ee&&ee!==_e.pipes||(ee||(ee=_e.pipes),_e.pipes=null,_e.pipesCount=0,_e.flowing=!1,ee&&ee.emit("unpipe",this,nt)),this;if(!ee){var st=_e.pipes,Ut=_e.pipesCount;_e.pipes=null,_e.pipesCount=0,_e.flowing=!1;for(var qt=0;qt<Ut;qt++)st[qt].emit("unpipe",this,{hasUnpiped:!1});return this}var lt=dt(_e.pipes,ee);return lt===-1||(_e.pipes.splice(lt,1),_e.pipesCount-=1,_e.pipesCount===1&&(_e.pipes=_e.pipes[0]),ee.emit("unpipe",this,nt)),this},ge.prototype.on=function(ee,_e){var nt=y.prototype.on.call(this,ee,_e),st=this._readableState;return ee==="data"?(st.readableListening=this.listenerCount("readable")>0,st.flowing!==!1&&this.resume()):ee==="readable"&&(st.endEmitted||st.readableListening||(st.readableListening=st.needReadable=!0,st.flowing=!1,st.emittedReadable=!1,w("on readable",st.length,st.reading),st.length?Qe(this):st.reading||v.nextTick(Ye,this))),nt},ge.prototype.addListener=ge.prototype.on,ge.prototype.removeListener=function(ee,_e){var nt=y.prototype.removeListener.call(this,ee,_e);return ee==="readable"&&v.nextTick(it,this),nt},ge.prototype.removeAllListeners=function(ee){var _e=y.prototype.removeAllListeners.apply(this,arguments);return ee!=="readable"&&ee!==void 0||v.nextTick(it,this),_e},ge.prototype.resume=function(){var ee=this._readableState;return ee.flowing||(w("resume"),ee.flowing=!ee.readableListening,(function(nt,st){st.resumeScheduled||(st.resumeScheduled=!0,v.nextTick(ue,nt,st))})(this,ee)),ee.paused=!1,this},ge.prototype.pause=function(){return w("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(w("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},ge.prototype.wrap=function(ee){var _e=this,nt=this._readableState,st=!1;for(var Ut in ee.on("end",(function(){if(w("wrapped end"),nt.decoder&&!nt.ended){var lt=nt.decoder.end();lt&<.length&&_e.push(lt)}_e.push(null)})),ee.on("data",(function(lt){w("wrapped data"),nt.decoder&&(lt=nt.decoder.write(lt)),nt.objectMode&<==null||(nt.objectMode||lt&<.length)&&(_e.push(lt)||(st=!0,ee.pause()))})),ee)this[Ut]===void 0&&typeof ee[Ut]=="function"&&(this[Ut]=(function(xt){return function(){return ee[xt].apply(ee,arguments)}})(Ut));for(var qt=0;qt<Pe.length;qt++)ee.on(Pe[qt],this.emit.bind(this,Pe[qt]));return this._read=function(lt){w("wrapped _read",lt),st&&(st=!1,ee.resume())},this},typeof Symbol=="function"&&(ge.prototype[Symbol.asyncIterator]=function(){return j===void 0&&(j=a(2955)),j(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(_e){this._readableState&&(this._readableState.flowing=_e)}}),ge._fromList=et,Object.defineProperty(ge.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(ge.from=function(ee,_e){return I===void 0&&(I=a(55157)),I(ge,ee,_e)})},45434:m=>{var A=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;m.exports=function(c){return A.test(c)}},45539:(m,A,a)=>{var c=a(40882),v=a(50828),d=a(66645),y=RegExp("['’]","g");m.exports=function(p){return function(w){return c(d(v(w).replace(y,"")),p,"")}}},45807:(m,A,a)=>{var c=a(1907),v=c({}.toString),d=c("".slice);m.exports=function(y){return d(v(y),8,-1)}},45891:(m,A,a)=>{var c=a(51873),v=a(72428),d=a(56449),y=c?c.isConcatSpreadable:void 0;m.exports=function(p){return d(p)||v(p)||!!(y&&p&&p[y])}},45951:function(m,A,a){var c=function(v){return v&&v.Math===Math&&v};m.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof a.g=="object"&&a.g)||c(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},45981:m=>{function A(J){return J instanceof Map?J.clear=J.delete=J.set=function(){throw new Error("map is read-only")}:J instanceof Set&&(J.add=J.clear=J.delete=function(){throw new Error("set is read-only")}),Object.freeze(J),Object.getOwnPropertyNames(J).forEach((function(ne){var ce=J[ne];typeof ce!="object"||Object.isFrozen(ce)||A(ce)})),J}var a=A,c=A;a.default=c;class v{constructor(ne){ne.data===void 0&&(ne.data={}),this.data=ne.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function d(J){return J.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function y(J,...ne){const ce=Object.create(null);for(const be in J)ce[be]=J[be];return ne.forEach((function(be){for(const Ze in be)ce[Ze]=be[Ze]})),ce}const f=J=>!!J.kind;class p{constructor(ne,ce){this.buffer="",this.classPrefix=ce.classPrefix,ne.walk(this)}addText(ne){this.buffer+=d(ne)}openNode(ne){if(!f(ne))return;let ce=ne.kind;ne.sublanguage||(ce=`${this.classPrefix}${ce}`),this.span(ce)}closeNode(ne){f(ne)&&(this.buffer+="</span>")}value(){return this.buffer}span(ne){this.buffer+=`<span class="${ne}">`}}class w{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(ne){this.top.children.push(ne)}openNode(ne){const ce={kind:ne,children:[]};this.add(ce),this.stack.push(ce)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(ne){return this.constructor._walk(ne,this.rootNode)}static _walk(ne,ce){return typeof ce=="string"?ne.addText(ce):ce.children&&(ne.openNode(ce),ce.children.forEach((be=>this._walk(ne,be))),ne.closeNode(ce)),ne}static _collapse(ne){typeof ne!="string"&&ne.children&&(ne.children.every((ce=>typeof ce=="string"))?ne.children=[ne.children.join("")]:ne.children.forEach((ce=>{w._collapse(ce)})))}}class x extends w{constructor(ne){super(),this.options=ne}addKeyword(ne,ce){ne!==""&&(this.openNode(ce),this.addText(ne),this.closeNode())}addText(ne){ne!==""&&this.add(ne)}addSublanguage(ne,ce){const be=ne.root;be.kind=ce,be.sublanguage=!0,this.add(be)}toHTML(){return new p(this,this.options).value()}finalize(){return!0}}function O(J){return J?typeof J=="string"?J:J.source:null}const j=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./,I="[a-zA-Z]\\w*",M="[a-zA-Z_]\\w*",$="\\b\\d+(\\.\\d+)?",W="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",q="\\b(0b[01]+)",U={begin:"\\\\[\\s\\S]",relevance:0},H={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[U]},Q={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[U]},se={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/},le=function(J,ne,ce={}){const be=y({className:"comment",begin:J,end:ne,contains:[]},ce);return be.contains.push(se),be.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),be},Pe=le("//","$"),he=le("/\\*","\\*/"),ge=le("#","$"),Ce={className:"number",begin:$,relevance:0},Je={className:"number",begin:W,relevance:0},ze={className:"number",begin:q,relevance:0},Ve={className:"number",begin:$+"(%|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},Qe={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[U,{begin:/\[/,end:/\]/,relevance:0,contains:[U]}]}]},pt={className:"title",begin:I,relevance:0},Fe={className:"title",begin:M,relevance:0},g={begin:"\\.\\s*"+M,relevance:0};var it=Object.freeze({__proto__:null,MATCH_NOTHING_RE:/\b\B/,IDENT_RE:I,UNDERSCORE_IDENT_RE:M,NUMBER_RE:$,C_NUMBER_RE:W,BINARY_NUMBER_RE:q,RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG:(J={})=>{const ne=/^#![ ]*\//;return J.binary&&(J.begin=(function(...be){return be.map((Ze=>O(Ze))).join("")})(ne,/.*\b/,J.binary,/\b.*/)),y({className:"meta",begin:ne,end:/$/,relevance:0,"on:begin":(ce,be)=>{ce.index!==0&&be.ignoreMatch()}},J)},BACKSLASH_ESCAPE:U,APOS_STRING_MODE:H,QUOTE_STRING_MODE:Q,PHRASAL_WORDS_MODE:se,COMMENT:le,C_LINE_COMMENT_MODE:Pe,C_BLOCK_COMMENT_MODE:he,HASH_COMMENT_MODE:ge,NUMBER_MODE:Ce,C_NUMBER_MODE:Je,BINARY_NUMBER_MODE:ze,CSS_NUMBER_MODE:Ve,REGEXP_MODE:Qe,TITLE_MODE:pt,UNDERSCORE_TITLE_MODE:Fe,METHOD_GUARD:g,END_SAME_AS_BEGIN:function(J){return Object.assign(J,{"on:begin":(ne,ce)=>{ce.data._beginMatch=ne[1]},"on:end":(ne,ce)=>{ce.data._beginMatch!==ne[1]&&ce.ignoreMatch()}})}});function Ye(J,ne){J.input[J.index-1]==="."&&ne.ignoreMatch()}function ue(J,ne){ne&&J.beginKeywords&&(J.begin="\\b("+J.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",J.__beforeBegin=Ye,J.keywords=J.keywords||J.beginKeywords,delete J.beginKeywords,J.relevance===void 0&&(J.relevance=0))}function Te(J,ne){Array.isArray(J.illegal)&&(J.illegal=(function(...be){return"("+be.map((Ze=>O(Ze))).join("|")+")"})(...J.illegal))}function et(J,ne){if(J.match){if(J.begin||J.end)throw new Error("begin & end are not supported with match");J.begin=J.match,delete J.match}}function ft(J,ne){J.relevance===void 0&&(J.relevance=1)}const Ke=["of","and","for","in","not","or","if","then","parent","list","value"];function dt(J,ne,ce="keyword"){const be={};return typeof J=="string"?Ze(ce,J.split(" ")):Array.isArray(J)?Ze(ce,J):Object.keys(J).forEach((function(St){Object.assign(be,dt(J[St],ne,St))})),be;function Ze(St,ut){ne&&(ut=ut.map((yt=>yt.toLowerCase()))),ut.forEach((function(yt){const kt=yt.split("|");be[kt[0]]=[St,ee(kt[0],kt[1])]}))}}function ee(J,ne){return ne?Number(ne):(function(be){return Ke.includes(be.toLowerCase())})(J)?0:1}function _e(J,{plugins:ne}){function ce(St,ut){return new RegExp(O(St),"m"+(J.case_insensitive?"i":"")+(ut?"g":""))}class be{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(ut,yt){yt.position=this.position++,this.matchIndexes[this.matchAt]=yt,this.regexes.push([yt,ut]),this.matchAt+=(function(Fr){return new RegExp(Fr.toString()+"|").exec("").length-1})(ut)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const ut=this.regexes.map((yt=>yt[1]));this.matcherRe=ce((function(kt,Fr="|"){let Ur=0;return kt.map((bn=>{Ur+=1;const Xr=Ur;let kn=O(bn),_a="";for(;kn.length>0;){const xr=j.exec(kn);if(!xr){_a+=kn;break}_a+=kn.substring(0,xr.index),kn=kn.substring(xr.index+xr[0].length),xr[0][0]==="\\"&&xr[1]?_a+="\\"+String(Number(xr[1])+Xr):(_a+=xr[0],xr[0]==="("&&Ur++)}return _a})).map((bn=>`(${bn})`)).join(Fr)})(ut),!0),this.lastIndex=0}exec(ut){this.matcherRe.lastIndex=this.lastIndex;const yt=this.matcherRe.exec(ut);if(!yt)return null;const kt=yt.findIndex(((Ur,bn)=>bn>0&&Ur!==void 0)),Fr=this.matchIndexes[kt];return yt.splice(0,kt),Object.assign(yt,Fr)}}class Ze{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(ut){if(this.multiRegexes[ut])return this.multiRegexes[ut];const yt=new be;return this.rules.slice(ut).forEach((([kt,Fr])=>yt.addRule(kt,Fr))),yt.compile(),this.multiRegexes[ut]=yt,yt}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(ut,yt){this.rules.push([ut,yt]),yt.type==="begin"&&this.count++}exec(ut){const yt=this.getMatcher(this.regexIndex);yt.lastIndex=this.lastIndex;let kt=yt.exec(ut);if(this.resumingScanAtSamePosition()&&!(kt&&kt.index===this.lastIndex)){const Fr=this.getMatcher(0);Fr.lastIndex=this.lastIndex+1,kt=Fr.exec(ut)}return kt&&(this.regexIndex+=kt.position+1,this.regexIndex===this.count&&this.considerAll()),kt}}if(J.compilerExtensions||(J.compilerExtensions=[]),J.contains&&J.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return J.classNameAliases=y(J.classNameAliases||{}),(function St(ut,yt){const kt=ut;if(ut.isCompiled)return kt;[et].forEach((Ur=>Ur(ut,yt))),J.compilerExtensions.forEach((Ur=>Ur(ut,yt))),ut.__beforeBegin=null,[ue,Te,ft].forEach((Ur=>Ur(ut,yt))),ut.isCompiled=!0;let Fr=null;if(typeof ut.keywords=="object"&&(Fr=ut.keywords.$pattern,delete ut.keywords.$pattern),ut.keywords&&(ut.keywords=dt(ut.keywords,J.case_insensitive)),ut.lexemes&&Fr)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return Fr=Fr||ut.lexemes||/\w+/,kt.keywordPatternRe=ce(Fr,!0),yt&&(ut.begin||(ut.begin=/\B|\b/),kt.beginRe=ce(ut.begin),ut.endSameAsBegin&&(ut.end=ut.begin),ut.end||ut.endsWithParent||(ut.end=/\B|\b/),ut.end&&(kt.endRe=ce(ut.end)),kt.terminatorEnd=O(ut.end)||"",ut.endsWithParent&&yt.terminatorEnd&&(kt.terminatorEnd+=(ut.end?"|":"")+yt.terminatorEnd)),ut.illegal&&(kt.illegalRe=ce(ut.illegal)),ut.contains||(ut.contains=[]),ut.contains=[].concat(...ut.contains.map((function(Ur){return(function(Xr){return Xr.variants&&!Xr.cachedVariants&&(Xr.cachedVariants=Xr.variants.map((function(kn){return y(Xr,{variants:null},kn)}))),Xr.cachedVariants?Xr.cachedVariants:nt(Xr)?y(Xr,{starts:Xr.starts?y(Xr.starts):null}):Object.isFrozen(Xr)?y(Xr):Xr})(Ur==="self"?ut:Ur)}))),ut.contains.forEach((function(Ur){St(Ur,kt)})),ut.starts&&St(ut.starts,yt),kt.matcher=(function(bn){const Xr=new Ze;return bn.contains.forEach((kn=>Xr.addRule(kn.begin,{rule:kn,type:"begin"}))),bn.terminatorEnd&&Xr.addRule(bn.terminatorEnd,{type:"end"}),bn.illegal&&Xr.addRule(bn.illegal,{type:"illegal"}),Xr})(kt),kt})(J)}function nt(J){return!!J&&(J.endsWithParent||nt(J.starts))}function st(J){const ne={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!J.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,d(this.code);let ce={};return this.autoDetect?(ce=J.highlightAuto(this.code),this.detectedLanguage=ce.language):(ce=J.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),ce.value},autoDetect(){return!this.language||(function(be){return!!(be||be==="")})(this.autodetect)},ignoreIllegals:()=>!0},render(ce){return ce("pre",{},[ce("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:ne,VuePlugin:{install(ce){ce.component("highlightjs",ne)}}}}const Ut={"after:highlightElement":({el:J,result:ne,text:ce})=>{const be=lt(J);if(!be.length)return;const Ze=document.createElement("div");Ze.innerHTML=ne.value,ne.value=(function(ut,yt,kt){let Fr=0,Ur="";const bn=[];function Xr(){return ut.length&&yt.length?ut[0].offset!==yt[0].offset?ut[0].offset<yt[0].offset?ut:yt:yt[0].event==="start"?ut:yt:ut.length?ut:yt}function kn(mn){function Vr(Oa){return" "+Oa.nodeName+'="'+d(Oa.value)+'"'}Ur+="<"+qt(mn)+[].map.call(mn.attributes,Vr).join("")+">"}function _a(mn){Ur+="</"+qt(mn)+">"}function xr(mn){(mn.event==="start"?kn:_a)(mn.node)}for(;ut.length||yt.length;){let mn=Xr();if(Ur+=d(kt.substring(Fr,mn[0].offset)),Fr=mn[0].offset,mn===ut){bn.reverse().forEach(_a);do xr(mn.splice(0,1)[0]),mn=Xr();while(mn===ut&&mn.length&&mn[0].offset===Fr);bn.reverse().forEach(kn)}else mn[0].event==="start"?bn.push(mn[0].node):bn.pop(),xr(mn.splice(0,1)[0])}return Ur+d(kt.substr(Fr))})(be,lt(Ze),ce)}};function qt(J){return J.nodeName.toLowerCase()}function lt(J){const ne=[];return(function ce(be,Ze){for(let St=be.firstChild;St;St=St.nextSibling)St.nodeType===3?Ze+=St.nodeValue.length:St.nodeType===1&&(ne.push({event:"start",offset:Ze,node:St}),Ze=ce(St,Ze),qt(St).match(/br|hr|img|input/)||ne.push({event:"stop",offset:Ze,node:St}));return Ze})(J,0),ne}const xt={},Mt=J=>{console.error(J)},_t=(J,...ne)=>{console.log(`WARN: ${J}`,...ne)},ht=(J,ne)=>{xt[`${J}/${ne}`]||(console.log(`Deprecated as of ${J}. ${ne}`),xt[`${J}/${ne}`]=!0)},Lt=d,Y=y,C=Symbol("nomatch");var N=(function(J){const ne=Object.create(null),ce=Object.create(null),be=[];let Ze=!0;const St=/(^(<[^>]+>|\t|)+|\n)/gm,ut="Could not find the language '{}', did you forget to load/include a language module?",yt={disableAutodetect:!0,name:"Plain text",contains:[]};let kt={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:x};function Fr(tr){return kt.noHighlightRe.test(tr)}function Ur(tr,br,Ar,Wr){let Lr="",Xn="";typeof br=="object"?(Lr=tr,Ar=br.ignoreIllegals,Xn=br.language,Wr=void 0):(ht("10.7.0","highlight(lang, code, ...args) has been deprecated."),ht("10.7.0",`Please use highlight(code, options) instead.
|
||
https://github.com/highlightjs/highlight.js/issues/2277`),Xn=tr,Lr=br);const wn={code:Lr,language:Xn};za("before:highlight",wn);const pn=wn.result?wn.result:bn(wn.language,wn.code,Ar,Wr);return pn.code=wn.code,za("after:highlight",pn),pn}function bn(tr,br,Ar,Wr){function Lr(Wt,fr){const dr=$o.case_insensitive?fr[0].toLowerCase():fr[0];return Object.prototype.hasOwnProperty.call(Wt.keywords,dr)&&Wt.keywords[dr]}function Xn(){kr.subLanguage!=null?(function(){if(gn==="")return;let fr=null;if(typeof kr.subLanguage=="string"){if(!ne[kr.subLanguage])return void Rt.addText(gn);fr=bn(kr.subLanguage,gn,!0,an[kr.subLanguage]),an[kr.subLanguage]=fr.top}else fr=Xr(gn,kr.subLanguage.length?kr.subLanguage:null);kr.relevance>0&&(so+=fr.relevance),Rt.addSublanguage(fr.emitter,fr.language)})():(function(){if(!kr.keywords)return void Rt.addText(gn);let fr=0;kr.keywordPatternRe.lastIndex=0;let dr=kr.keywordPatternRe.exec(gn),Cr="";for(;dr;){Cr+=gn.substring(fr,dr.index);const Ht=Lr(kr,dr);if(Ht){const[cn,Ga]=Ht;if(Rt.addText(Cr),Cr="",so+=Ga,cn.startsWith("_"))Cr+=dr[0];else{const ia=$o.classNameAliases[cn]||cn;Rt.addKeyword(dr[0],ia)}}else Cr+=dr[0];fr=kr.keywordPatternRe.lastIndex,dr=kr.keywordPatternRe.exec(gn)}Cr+=gn.substr(fr),Rt.addText(Cr)})(),gn=""}function wn(Wt){return Wt.className&&Rt.openNode($o.classNameAliases[Wt.className]||Wt.className),kr=Object.create(Wt,{parent:{value:kr}}),kr}function pn(Wt,fr,dr){let Cr=(function(cn,Ga){const ia=cn&&cn.exec(Ga);return ia&&ia.index===0})(Wt.endRe,dr);if(Cr){if(Wt["on:end"]){const Ht=new v(Wt);Wt["on:end"](fr,Ht),Ht.isMatchIgnored&&(Cr=!1)}if(Cr){for(;Wt.endsParent&&Wt.parent;)Wt=Wt.parent;return Wt}}if(Wt.endsWithParent)return pn(Wt.parent,fr,dr)}function Dn(Wt){return kr.matcher.regexIndex===0?(gn+=Wt[0],1):(wa=!0,0)}function nn(Wt){const fr=Wt[0],dr=Wt.rule,Cr=new v(dr),Ht=[dr.__beforeBegin,dr["on:begin"]];for(const cn of Ht)if(cn&&(cn(Wt,Cr),Cr.isMatchIgnored))return Dn(fr);return dr&&dr.endSameAsBegin&&(dr.endRe=(function(Ga){return new RegExp(Ga.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")})(fr)),dr.skip?gn+=fr:(dr.excludeBegin&&(gn+=fr),Xn(),dr.returnBegin||dr.excludeBegin||(gn=fr)),wn(dr),dr.returnBegin?0:fr.length}function ea(Wt){const fr=Wt[0],dr=br.substr(Wt.index),Cr=pn(kr,Wt,dr);if(!Cr)return C;const Ht=kr;Ht.skip?gn+=fr:(Ht.returnEnd||Ht.excludeEnd||(gn+=fr),Xn(),Ht.excludeEnd&&(gn=fr));do kr.className&&Rt.closeNode(),kr.skip||kr.subLanguage||(so+=kr.relevance),kr=kr.parent;while(kr!==Cr.parent);return Cr.starts&&(Cr.endSameAsBegin&&(Cr.starts.endRe=Cr.endRe),wn(Cr.starts)),Ht.returnEnd?0:fr.length}let aa={};function oa(Wt,fr){const dr=fr&&fr[0];if(gn+=Wt,dr==null)return Xn(),0;if(aa.type==="begin"&&fr.type==="end"&&aa.index===fr.index&&dr===""){if(gn+=br.slice(fr.index,fr.index+1),!Ze){const Cr=new Error("0 width match regex");throw Cr.languageName=tr,Cr.badRule=aa.rule,Cr}return 1}if(aa=fr,fr.type==="begin")return nn(fr);if(fr.type==="illegal"&&!Ar){const Cr=new Error('Illegal lexeme "'+dr+'" for mode "'+(kr.className||"<unnamed>")+'"');throw Cr.mode=kr,Cr}if(fr.type==="end"){const Cr=ea(fr);if(Cr!==C)return Cr}if(fr.type==="illegal"&&dr==="")return 1;if(Gt>1e5&&Gt>3*fr.index)throw new Error("potential infinite loop, way more iterations than matches");return gn+=dr,dr.length}const $o=_n(tr);if(!$o)throw Mt(ut.replace("{}",tr)),new Error('Unknown language: "'+tr+'"');const Ka=_e($o,{plugins:be});let ka="",kr=Wr||Ka;const an={},Rt=new kt.__emitter(kt);(function(){const fr=[];for(let dr=kr;dr!==$o;dr=dr.parent)dr.className&&fr.unshift(dr.className);fr.forEach((dr=>Rt.openNode(dr)))})();let gn="",so=0,lo=0,Gt=0,wa=!1;try{for(kr.matcher.considerAll();;){Gt++,wa?wa=!1:kr.matcher.considerAll(),kr.matcher.lastIndex=lo;const Wt=kr.matcher.exec(br);if(!Wt)break;const fr=oa(br.substring(lo,Wt.index),Wt);lo=Wt.index+fr}return oa(br.substr(lo)),Rt.closeAllNodes(),Rt.finalize(),ka=Rt.toHTML(),{relevance:Math.floor(so),value:ka,language:tr,illegal:!1,emitter:Rt,top:kr}}catch(Wt){if(Wt.message&&Wt.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:Wt.message,context:br.slice(lo-100,lo+100),mode:Wt.mode},sofar:ka,relevance:0,value:Lt(br),emitter:Rt};if(Ze)return{illegal:!1,relevance:0,value:Lt(br),emitter:Rt,language:tr,top:kr,errorRaised:Wt};throw Wt}}function Xr(tr,br){br=br||kt.languages||Object.keys(ne);const Ar=(function(nn){const ea={relevance:0,emitter:new kt.__emitter(kt),value:Lt(nn),illegal:!1,top:yt};return ea.emitter.addText(nn),ea})(tr),Wr=br.filter(_n).filter(Da).map((Dn=>bn(Dn,tr,!1)));Wr.unshift(Ar);const Lr=Wr.sort(((Dn,nn)=>{if(Dn.relevance!==nn.relevance)return nn.relevance-Dn.relevance;if(Dn.language&&nn.language){if(_n(Dn.language).supersetOf===nn.language)return 1;if(_n(nn.language).supersetOf===Dn.language)return-1}return 0})),[Xn,wn]=Lr,pn=Xn;return pn.second_best=wn,pn}const kn={"before:highlightElement":({el:tr})=>{kt.useBR&&(tr.innerHTML=tr.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
|
||
`))},"after:highlightElement":({result:tr})=>{kt.useBR&&(tr.value=tr.value.replace(/\n/g,"<br>"))}},_a=/^(<[^>]+>|\t)+/gm,xr={"after:highlightElement":({result:tr})=>{kt.tabReplace&&(tr.value=tr.value.replace(_a,(br=>br.replace(/\t/g,kt.tabReplace))))}};function mn(tr){let br=null;const Ar=(function(wn){let pn=wn.className+" ";pn+=wn.parentNode?wn.parentNode.className:"";const Dn=kt.languageDetectRe.exec(pn);if(Dn){const nn=_n(Dn[1]);return nn||(_t(ut.replace("{}",Dn[1])),_t("Falling back to no-highlight mode for this block.",wn)),nn?Dn[1]:"no-highlight"}return pn.split(/\s+/).find((nn=>Fr(nn)||_n(nn)))})(tr);if(Fr(Ar))return;za("before:highlightElement",{el:tr,language:Ar}),br=tr;const Wr=br.textContent,Lr=Ar?Ur(Wr,{language:Ar,ignoreIllegals:!0}):Xr(Wr);za("after:highlightElement",{el:tr,result:Lr,text:Wr}),tr.innerHTML=Lr.value,(function(wn,pn,Dn){const nn=pn?ce[pn]:Dn;wn.classList.add("hljs"),nn&&wn.classList.add(nn)})(tr,Ar,Lr.language),tr.result={language:Lr.language,re:Lr.relevance,relavance:Lr.relevance},Lr.second_best&&(tr.second_best={language:Lr.second_best.language,re:Lr.second_best.relevance,relavance:Lr.second_best.relevance})}const Vr=()=>{Vr.called||(Vr.called=!0,ht("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(mn))};let Oa=!1;function Qr(){if(document.readyState==="loading")return void(Oa=!0);document.querySelectorAll("pre code").forEach(mn)}function _n(tr){return tr=(tr||"").toLowerCase(),ne[tr]||ne[ce[tr]]}function Zn(tr,{languageName:br}){typeof tr=="string"&&(tr=[tr]),tr.forEach((Ar=>{ce[Ar.toLowerCase()]=br}))}function Da(tr){const br=_n(tr);return br&&!br.disableAutodetect}function za(tr,br){const Ar=tr;be.forEach((function(Wr){Wr[Ar]&&Wr[Ar](br)}))}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){Oa&&Qr()}),!1),Object.assign(J,{highlight:Ur,highlightAuto:Xr,highlightAll:Qr,fixMarkup:function(br){return ht("10.2.0","fixMarkup will be removed entirely in v11.0"),ht("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),(function(Wr){return kt.tabReplace||kt.useBR?Wr.replace(St,(Lr=>Lr===`
|
||
`?kt.useBR?"<br>":Lr:kt.tabReplace?Lr.replace(/\t/g,kt.tabReplace):Lr)):Wr})(br)},highlightElement:mn,highlightBlock:function(br){return ht("10.7.0","highlightBlock will be removed entirely in v12.0"),ht("10.7.0","Please use highlightElement now."),mn(br)},configure:function(br){br.useBR&&(ht("10.3.0","'useBR' will be removed entirely in v11.0"),ht("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),kt=Y(kt,br)},initHighlighting:Vr,initHighlightingOnLoad:function(){ht("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Oa=!0},registerLanguage:function(br,Ar){let Wr=null;try{Wr=Ar(J)}catch(Lr){if(Mt("Language definition for '{}' could not be registered.".replace("{}",br)),!Ze)throw Lr;Mt(Lr),Wr=yt}Wr.name||(Wr.name=br),ne[br]=Wr,Wr.rawDefinition=Ar.bind(null,J),Wr.aliases&&Zn(Wr.aliases,{languageName:br})},unregisterLanguage:function(br){delete ne[br];for(const Ar of Object.keys(ce))ce[Ar]===br&&delete ce[Ar]},listLanguages:function(){return Object.keys(ne)},getLanguage:_n,registerAliases:Zn,requireLanguage:function(br){ht("10.4.0","requireLanguage will be removed entirely in v11."),ht("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Ar=_n(br);if(Ar)return Ar;throw new Error("The '{}' language is required, but not loaded.".replace("{}",br))},autoDetection:Da,inherit:Y,addPlugin:function(br){(function(Wr){Wr["before:highlightBlock"]&&!Wr["before:highlightElement"]&&(Wr["before:highlightElement"]=Lr=>{Wr["before:highlightBlock"](Object.assign({block:Lr.el},Lr))}),Wr["after:highlightBlock"]&&!Wr["after:highlightElement"]&&(Wr["after:highlightElement"]=Lr=>{Wr["after:highlightBlock"](Object.assign({block:Lr.el},Lr))})})(br),be.push(br)},vuePlugin:st(J).VuePlugin}),J.debugMode=function(){Ze=!1},J.safeMode=function(){Ze=!0},J.versionString="10.7.3";for(const tr in it)typeof it[tr]=="object"&&a(it[tr]);return Object.assign(J,it),J.addPlugin(kn),J.addPlugin(Ut),J.addPlugin(xr),J})({});m.exports=N},46028:(m,A,a)=>{var c=a(13930),v=a(46285),d=a(25594),y=a(29367),f=a(60581),p=a(76264),w=TypeError,x=p("toPrimitive");m.exports=function(O,j){if(!v(O)||d(O))return O;var I,M=y(O,x);if(M){if(j===void 0&&(j="default"),I=c(M,O,j),!v(I)||d(I))return I;throw new w("Can't convert object to primitive value")}return j===void 0&&(j="number"),f(O,j)}},46076:(m,A,a)=>{a(91599);var c=a(68623);m.exports=c},46285:(m,A,a)=>{var c=a(62250);m.exports=function(v){return typeof v=="object"?v!==null:c(v)}},46942:(m,A)=>{var a;(function(){var c={}.hasOwnProperty;function v(){for(var f="",p=0;p<arguments.length;p++){var w=arguments[p];w&&(f=y(f,d(w)))}return f}function d(f){if(typeof f=="string"||typeof f=="number")return f;if(typeof f!="object")return"";if(Array.isArray(f))return v.apply(null,f);if(f.toString!==Object.prototype.toString&&!f.toString.toString().includes("[native code]"))return f.toString();var p="";for(var w in f)c.call(f,w)&&f[w]&&(p=y(p,w));return p}function y(f,p){return p?f?f+" "+p:f+p:f}m.exports?(v.default=v,m.exports=v):(a=function(){return v}.apply(A,[]))===void 0||(m.exports=a)})()},47119:m=>{m.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},47181:(m,A,a)=>{var c=a(95116).IteratorPrototype,v=a(58075),d=a(75817),y=a(14840),f=a(93742),p=function(){return this};m.exports=function(w,x,O,j){var I=x+" Iterator";return w.prototype=v(c,{next:d(+!j,O)}),y(w,I,!1,!0),f[I]=p,w}},47237:m=>{m.exports=function(a){return function(c){return c?.[a]}}},47248:(m,A,a)=>{var c=a(16547),v=a(51234);m.exports=function(y,f){return v(y||[],f||[],c)}},47422:(m,A,a)=>{var c=a(31769),v=a(77797);m.exports=function(y,f){for(var p=0,w=(f=c(f,y)).length;y!=null&&p<w;)y=y[v(f[p++])];return p&&p==w?y:void 0}},47473:m=>{var A=Function.prototype.toString;m.exports=function(c){if(c!=null){try{return A.call(c)}catch{}try{return c+""}catch{}}return""}},47886:(m,A,a)=>{var c=a(5861),v=a(40346);m.exports=function(y){return v(y)&&c(y)=="[object WeakMap]"}},47934:(m,A,a)=>{m.exports={ary:a(64626),assign:a(74733),clone:a(32629),curry:a(49747),forEach:a(83729),isArray:a(56449),isError:a(23546),isFunction:a(1882),isWeakMap:a(47886),iteratee:a(33855),keys:a(88984),rearg:a(84195),toInteger:a(61489),toPath:a(42072)}},48152:(m,A,a)=>{var c=a(28303),v=c&&new c;m.exports=v},48287:(m,A,a)=>{const c=a(67526),v=a(251),d=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;A.Buffer=p,A.SlowBuffer=function(C){return+C!=C&&(C=0),p.alloc(+C)},A.INSPECT_MAX_BYTES=50;const y=2147483647;function f(Y){if(Y>y)throw new RangeError('The value "'+Y+'" is invalid for option "size"');const C=new Uint8Array(Y);return Object.setPrototypeOf(C,p.prototype),C}function p(Y,C,N){if(typeof Y=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Y)}return w(Y,C,N)}function w(Y,C,N){if(typeof Y=="string")return(function(be,Ze){if(typeof Ze=="string"&&Ze!==""||(Ze="utf8"),!p.isEncoding(Ze))throw new TypeError("Unknown encoding: "+Ze);const St=0|$(be,Ze);let ut=f(St);const yt=ut.write(be,Ze);return yt!==St&&(ut=ut.slice(0,yt)),ut})(Y,C);if(ArrayBuffer.isView(Y))return(function(be){if(xt(be,Uint8Array)){const Ze=new Uint8Array(be);return I(Ze.buffer,Ze.byteOffset,Ze.byteLength)}return j(be)})(Y);if(Y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y);if(xt(Y,ArrayBuffer)||Y&&xt(Y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(xt(Y,SharedArrayBuffer)||Y&&xt(Y.buffer,SharedArrayBuffer)))return I(Y,C,N);if(typeof Y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const J=Y.valueOf&&Y.valueOf();if(J!=null&&J!==Y)return p.from(J,C,N);const ne=(function(be){if(p.isBuffer(be)){const Ze=0|M(be.length),St=f(Ze);return St.length===0||be.copy(St,0,0,Ze),St}if(be.length!==void 0)return typeof be.length!="number"||Mt(be.length)?f(0):j(be);if(be.type==="Buffer"&&Array.isArray(be.data))return j(be.data)})(Y);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Y[Symbol.toPrimitive]=="function")return p.from(Y[Symbol.toPrimitive]("string"),C,N);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y)}function x(Y){if(typeof Y!="number")throw new TypeError('"size" argument must be of type number');if(Y<0)throw new RangeError('The value "'+Y+'" is invalid for option "size"')}function O(Y){return x(Y),f(Y<0?0:0|M(Y))}function j(Y){const C=Y.length<0?0:0|M(Y.length),N=f(C);for(let J=0;J<C;J+=1)N[J]=255&Y[J];return N}function I(Y,C,N){if(C<0||Y.byteLength<C)throw new RangeError('"offset" is outside of buffer bounds');if(Y.byteLength<C+(N||0))throw new RangeError('"length" is outside of buffer bounds');let J;return J=C===void 0&&N===void 0?new Uint8Array(Y):N===void 0?new Uint8Array(Y,C):new Uint8Array(Y,C,N),Object.setPrototypeOf(J,p.prototype),J}function M(Y){if(Y>=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|Y}function $(Y,C){if(p.isBuffer(Y))return Y.length;if(ArrayBuffer.isView(Y)||xt(Y,ArrayBuffer))return Y.byteLength;if(typeof Y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Y);const N=Y.length,J=arguments.length>2&&arguments[2]===!0;if(!J&&N===0)return 0;let ne=!1;for(;;)switch(C){case"ascii":case"latin1":case"binary":return N;case"utf8":case"utf-8":return Ut(Y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*N;case"hex":return N>>>1;case"base64":return qt(Y).length;default:if(ne)return J?-1:Ut(Y).length;C=(""+C).toLowerCase(),ne=!0}}function W(Y,C,N){let J=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((N===void 0||N>this.length)&&(N=this.length),N<=0)||(N>>>=0)<=(C>>>=0))return"";for(Y||(Y="utf8");;)switch(Y){case"hex":return Qe(this,C,N);case"utf8":case"utf-8":return Ce(this,C,N);case"ascii":return ze(this,C,N);case"latin1":case"binary":return Ve(this,C,N);case"base64":return ge(this,C,N);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,C,N);default:if(J)throw new TypeError("Unknown encoding: "+Y);Y=(Y+"").toLowerCase(),J=!0}}function q(Y,C,N){const J=Y[C];Y[C]=Y[N],Y[N]=J}function U(Y,C,N,J,ne){if(Y.length===0)return-1;if(typeof N=="string"?(J=N,N=0):N>2147483647?N=2147483647:N<-2147483648&&(N=-2147483648),Mt(N=+N)&&(N=ne?0:Y.length-1),N<0&&(N=Y.length+N),N>=Y.length){if(ne)return-1;N=Y.length-1}else if(N<0){if(!ne)return-1;N=0}if(typeof C=="string"&&(C=p.from(C,J)),p.isBuffer(C))return C.length===0?-1:H(Y,C,N,J,ne);if(typeof C=="number")return C&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(Y,C,N):Uint8Array.prototype.lastIndexOf.call(Y,C,N):H(Y,[C],N,J,ne);throw new TypeError("val must be string, number or Buffer")}function H(Y,C,N,J,ne){let ce,be=1,Ze=Y.length,St=C.length;if(J!==void 0&&((J=String(J).toLowerCase())==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(Y.length<2||C.length<2)return-1;be=2,Ze/=2,St/=2,N/=2}function ut(yt,kt){return be===1?yt[kt]:yt.readUInt16BE(kt*be)}if(ne){let yt=-1;for(ce=N;ce<Ze;ce++)if(ut(Y,ce)===ut(C,yt===-1?0:ce-yt)){if(yt===-1&&(yt=ce),ce-yt+1===St)return yt*be}else yt!==-1&&(ce-=ce-yt),yt=-1}else for(N+St>Ze&&(N=Ze-St),ce=N;ce>=0;ce--){let yt=!0;for(let kt=0;kt<St;kt++)if(ut(Y,ce+kt)!==ut(C,kt)){yt=!1;break}if(yt)return ce}return-1}function Q(Y,C,N,J){N=Number(N)||0;const ne=Y.length-N;J?(J=Number(J))>ne&&(J=ne):J=ne;const ce=C.length;let be;for(J>ce/2&&(J=ce/2),be=0;be<J;++be){const Ze=parseInt(C.substr(2*be,2),16);if(Mt(Ze))return be;Y[N+be]=Ze}return be}function se(Y,C,N,J){return lt(Ut(C,Y.length-N),Y,N,J)}function le(Y,C,N,J){return lt((function(ce){const be=[];for(let Ze=0;Ze<ce.length;++Ze)be.push(255&ce.charCodeAt(Ze));return be})(C),Y,N,J)}function Pe(Y,C,N,J){return lt(qt(C),Y,N,J)}function he(Y,C,N,J){return lt((function(ce,be){let Ze,St,ut;const yt=[];for(let kt=0;kt<ce.length&&!((be-=2)<0);++kt)Ze=ce.charCodeAt(kt),St=Ze>>8,ut=Ze%256,yt.push(ut),yt.push(St);return yt})(C,Y.length-N),Y,N,J)}function ge(Y,C,N){return C===0&&N===Y.length?c.fromByteArray(Y):c.fromByteArray(Y.slice(C,N))}function Ce(Y,C,N){N=Math.min(Y.length,N);const J=[];let ne=C;for(;ne<N;){const ce=Y[ne];let be=null,Ze=ce>239?4:ce>223?3:ce>191?2:1;if(ne+Ze<=N){let St,ut,yt,kt;switch(Ze){case 1:ce<128&&(be=ce);break;case 2:St=Y[ne+1],(192&St)==128&&(kt=(31&ce)<<6|63&St,kt>127&&(be=kt));break;case 3:St=Y[ne+1],ut=Y[ne+2],(192&St)==128&&(192&ut)==128&&(kt=(15&ce)<<12|(63&St)<<6|63&ut,kt>2047&&(kt<55296||kt>57343)&&(be=kt));break;case 4:St=Y[ne+1],ut=Y[ne+2],yt=Y[ne+3],(192&St)==128&&(192&ut)==128&&(192&yt)==128&&(kt=(15&ce)<<18|(63&St)<<12|(63&ut)<<6|63&yt,kt>65535&&kt<1114112&&(be=kt))}}be===null?(be=65533,Ze=1):be>65535&&(be-=65536,J.push(be>>>10&1023|55296),be=56320|1023&be),J.push(be),ne+=Ze}return(function(be){const Ze=be.length;if(Ze<=Je)return String.fromCharCode.apply(String,be);let St="",ut=0;for(;ut<Ze;)St+=String.fromCharCode.apply(String,be.slice(ut,ut+=Je));return St})(J)}A.kMaxLength=y,p.TYPED_ARRAY_SUPPORT=(function(){try{const C=new Uint8Array(1),N={foo:function(){return 42}};return Object.setPrototypeOf(N,Uint8Array.prototype),Object.setPrototypeOf(C,N),C.foo()===42}catch{return!1}})(),p.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(Y,C,N){return w(Y,C,N)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(Y,C,N){return(function(ne,ce,be){return x(ne),ne<=0?f(ne):ce!==void 0?typeof be=="string"?f(ne).fill(ce,be):f(ne).fill(ce):f(ne)})(Y,C,N)},p.allocUnsafe=function(Y){return O(Y)},p.allocUnsafeSlow=function(Y){return O(Y)},p.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==p.prototype},p.compare=function(C,N){if(xt(C,Uint8Array)&&(C=p.from(C,C.offset,C.byteLength)),xt(N,Uint8Array)&&(N=p.from(N,N.offset,N.byteLength)),!p.isBuffer(C)||!p.isBuffer(N))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===N)return 0;let J=C.length,ne=N.length;for(let ce=0,be=Math.min(J,ne);ce<be;++ce)if(C[ce]!==N[ce]){J=C[ce],ne=N[ce];break}return J<ne?-1:ne<J?1:0},p.isEncoding=function(C){switch(String(C).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}},p.concat=function(C,N){if(!Array.isArray(C))throw new TypeError('"list" argument must be an Array of Buffers');if(C.length===0)return p.alloc(0);let J;if(N===void 0)for(N=0,J=0;J<C.length;++J)N+=C[J].length;const ne=p.allocUnsafe(N);let ce=0;for(J=0;J<C.length;++J){let be=C[J];if(xt(be,Uint8Array))ce+be.length>ne.length?(p.isBuffer(be)||(be=p.from(be)),be.copy(ne,ce)):Uint8Array.prototype.set.call(ne,be,ce);else{if(!p.isBuffer(be))throw new TypeError('"list" argument must be an Array of Buffers');be.copy(ne,ce)}ce+=be.length}return ne},p.byteLength=$,p.prototype._isBuffer=!0,p.prototype.swap16=function(){const C=this.length;if(C%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let N=0;N<C;N+=2)q(this,N,N+1);return this},p.prototype.swap32=function(){const C=this.length;if(C%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let N=0;N<C;N+=4)q(this,N,N+3),q(this,N+1,N+2);return this},p.prototype.swap64=function(){const C=this.length;if(C%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let N=0;N<C;N+=8)q(this,N,N+7),q(this,N+1,N+6),q(this,N+2,N+5),q(this,N+3,N+4);return this},p.prototype.toString=function(){const C=this.length;return C===0?"":arguments.length===0?Ce(this,0,C):W.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(C){if(!p.isBuffer(C))throw new TypeError("Argument must be a Buffer");return this===C||p.compare(this,C)===0},p.prototype.inspect=function(){let C="";const N=A.INSPECT_MAX_BYTES;return C=this.toString("hex",0,N).replace(/(.{2})/g,"$1 ").trim(),this.length>N&&(C+=" ... "),"<Buffer "+C+">"},d&&(p.prototype[d]=p.prototype.inspect),p.prototype.compare=function(C,N,J,ne,ce){if(xt(C,Uint8Array)&&(C=p.from(C,C.offset,C.byteLength)),!p.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(N===void 0&&(N=0),J===void 0&&(J=C?C.length:0),ne===void 0&&(ne=0),ce===void 0&&(ce=this.length),N<0||J>C.length||ne<0||ce>this.length)throw new RangeError("out of range index");if(ne>=ce&&N>=J)return 0;if(ne>=ce)return-1;if(N>=J)return 1;if(this===C)return 0;let be=(ce>>>=0)-(ne>>>=0),Ze=(J>>>=0)-(N>>>=0);const St=Math.min(be,Ze),ut=this.slice(ne,ce),yt=C.slice(N,J);for(let kt=0;kt<St;++kt)if(ut[kt]!==yt[kt]){be=ut[kt],Ze=yt[kt];break}return be<Ze?-1:Ze<be?1:0},p.prototype.includes=function(C,N,J){return this.indexOf(C,N,J)!==-1},p.prototype.indexOf=function(C,N,J){return U(this,C,N,J,!0)},p.prototype.lastIndexOf=function(C,N,J){return U(this,C,N,J,!1)},p.prototype.write=function(C,N,J,ne){if(N===void 0)ne="utf8",J=this.length,N=0;else if(J===void 0&&typeof N=="string")ne=N,J=this.length,N=0;else{if(!isFinite(N))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");N>>>=0,isFinite(J)?(J>>>=0,ne===void 0&&(ne="utf8")):(ne=J,J=void 0)}const ce=this.length-N;if((J===void 0||J>ce)&&(J=ce),C.length>0&&(J<0||N<0)||N>this.length)throw new RangeError("Attempt to write outside buffer bounds");ne||(ne="utf8");let be=!1;for(;;)switch(ne){case"hex":return Q(this,C,N,J);case"utf8":case"utf-8":return se(this,C,N,J);case"ascii":case"latin1":case"binary":return le(this,C,N,J);case"base64":return Pe(this,C,N,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,C,N,J);default:if(be)throw new TypeError("Unknown encoding: "+ne);ne=(""+ne).toLowerCase(),be=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Je=4096;function ze(Y,C,N){let J="";N=Math.min(Y.length,N);for(let ne=C;ne<N;++ne)J+=String.fromCharCode(127&Y[ne]);return J}function Ve(Y,C,N){let J="";N=Math.min(Y.length,N);for(let ne=C;ne<N;++ne)J+=String.fromCharCode(Y[ne]);return J}function Qe(Y,C,N){const J=Y.length;(!C||C<0)&&(C=0),(!N||N<0||N>J)&&(N=J);let ne="";for(let ce=C;ce<N;++ce)ne+=_t[Y[ce]];return ne}function pt(Y,C,N){const J=Y.slice(C,N);let ne="";for(let ce=0;ce<J.length-1;ce+=2)ne+=String.fromCharCode(J[ce]+256*J[ce+1]);return ne}function Fe(Y,C,N){if(Y%1!=0||Y<0)throw new RangeError("offset is not uint");if(Y+C>N)throw new RangeError("Trying to access beyond buffer length")}function g(Y,C,N,J,ne,ce){if(!p.isBuffer(Y))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>ne||C<ce)throw new RangeError('"value" argument is out of bounds');if(N+J>Y.length)throw new RangeError("Index out of range")}function it(Y,C,N,J,ne){ee(C,J,ne,Y,N,7);let ce=Number(C&BigInt(4294967295));Y[N++]=ce,ce>>=8,Y[N++]=ce,ce>>=8,Y[N++]=ce,ce>>=8,Y[N++]=ce;let be=Number(C>>BigInt(32)&BigInt(4294967295));return Y[N++]=be,be>>=8,Y[N++]=be,be>>=8,Y[N++]=be,be>>=8,Y[N++]=be,N}function Ye(Y,C,N,J,ne){ee(C,J,ne,Y,N,7);let ce=Number(C&BigInt(4294967295));Y[N+7]=ce,ce>>=8,Y[N+6]=ce,ce>>=8,Y[N+5]=ce,ce>>=8,Y[N+4]=ce;let be=Number(C>>BigInt(32)&BigInt(4294967295));return Y[N+3]=be,be>>=8,Y[N+2]=be,be>>=8,Y[N+1]=be,be>>=8,Y[N]=be,N+8}function ue(Y,C,N,J,ne,ce){if(N+J>Y.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("Index out of range")}function Te(Y,C,N,J,ne){return C=+C,N>>>=0,ne||ue(Y,0,N,4),v.write(Y,C,N,J,23,4),N+4}function et(Y,C,N,J,ne){return C=+C,N>>>=0,ne||ue(Y,0,N,8),v.write(Y,C,N,J,52,8),N+8}p.prototype.slice=function(C,N){const J=this.length;(C=~~C)<0?(C+=J)<0&&(C=0):C>J&&(C=J),(N=N===void 0?J:~~N)<0?(N+=J)<0&&(N=0):N>J&&(N=J),N<C&&(N=C);const ne=this.subarray(C,N);return Object.setPrototypeOf(ne,p.prototype),ne},p.prototype.readUintLE=p.prototype.readUIntLE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=this[C],ce=1,be=0;for(;++be<N&&(ce*=256);)ne+=this[C+be]*ce;return ne},p.prototype.readUintBE=p.prototype.readUIntBE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=this[C+--N],ce=1;for(;N>0&&(ce*=256);)ne+=this[C+--N]*ce;return ne},p.prototype.readUint8=p.prototype.readUInt8=function(C,N){return C>>>=0,N||Fe(C,1,this.length),this[C]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(C,N){return C>>>=0,N||Fe(C,2,this.length),this[C]|this[C+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(C,N){return C>>>=0,N||Fe(C,2,this.length),this[C]<<8|this[C+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+16777216*this[C+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),16777216*this[C]+(this[C+1]<<16|this[C+2]<<8|this[C+3])},p.prototype.readBigUInt64LE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=N+256*this[++C]+65536*this[++C]+this[++C]*2**24,ce=this[++C]+256*this[++C]+65536*this[++C]+J*2**24;return BigInt(ne)+(BigInt(ce)<<BigInt(32))})),p.prototype.readBigUInt64BE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=N*2**24+65536*this[++C]+256*this[++C]+this[++C],ce=this[++C]*2**24+65536*this[++C]+256*this[++C]+J;return(BigInt(ne)<<BigInt(32))+BigInt(ce)})),p.prototype.readIntLE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=this[C],ce=1,be=0;for(;++be<N&&(ce*=256);)ne+=this[C+be]*ce;return ce*=128,ne>=ce&&(ne-=Math.pow(2,8*N)),ne},p.prototype.readIntBE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=N,ce=1,be=this[C+--ne];for(;ne>0&&(ce*=256);)be+=this[C+--ne]*ce;return ce*=128,be>=ce&&(be-=Math.pow(2,8*N)),be},p.prototype.readInt8=function(C,N){return C>>>=0,N||Fe(C,1,this.length),128&this[C]?-1*(255-this[C]+1):this[C]},p.prototype.readInt16LE=function(C,N){C>>>=0,N||Fe(C,2,this.length);const J=this[C]|this[C+1]<<8;return 32768&J?4294901760|J:J},p.prototype.readInt16BE=function(C,N){C>>>=0,N||Fe(C,2,this.length);const J=this[C+1]|this[C]<<8;return 32768&J?4294901760|J:J},p.prototype.readInt32LE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},p.prototype.readInt32BE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},p.prototype.readBigInt64LE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=this[C+4]+256*this[C+5]+65536*this[C+6]+(J<<24);return(BigInt(ne)<<BigInt(32))+BigInt(N+256*this[++C]+65536*this[++C]+this[++C]*16777216)})),p.prototype.readBigInt64BE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=(N<<24)+65536*this[++C]+256*this[++C]+this[++C];return(BigInt(ne)<<BigInt(32))+BigInt(this[++C]*16777216+65536*this[++C]+256*this[++C]+J)})),p.prototype.readFloatLE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),v.read(this,C,!0,23,4)},p.prototype.readFloatBE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),v.read(this,C,!1,23,4)},p.prototype.readDoubleLE=function(C,N){return C>>>=0,N||Fe(C,8,this.length),v.read(this,C,!0,52,8)},p.prototype.readDoubleBE=function(C,N){return C>>>=0,N||Fe(C,8,this.length),v.read(this,C,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(C,N,J,ne){C=+C,N>>>=0,J>>>=0,!ne&&g(this,C,N,J,Math.pow(2,8*J)-1,0);let ce=1,be=0;for(this[N]=255&C;++be<J&&(ce*=256);)this[N+be]=C/ce&255;return N+J},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(C,N,J,ne){C=+C,N>>>=0,J>>>=0,!ne&&g(this,C,N,J,Math.pow(2,8*J)-1,0);let ce=J-1,be=1;for(this[N+ce]=255&C;--ce>=0&&(be*=256);)this[N+ce]=C/be&255;return N+J},p.prototype.writeUint8=p.prototype.writeUInt8=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,1,255,0),this[N]=255&C,N+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,65535,0),this[N]=255&C,this[N+1]=C>>>8,N+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,65535,0),this[N]=C>>>8,this[N+1]=255&C,N+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,4294967295,0),this[N+3]=C>>>24,this[N+2]=C>>>16,this[N+1]=C>>>8,this[N]=255&C,N+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,4294967295,0),this[N]=C>>>24,this[N+1]=C>>>16,this[N+2]=C>>>8,this[N+3]=255&C,N+4},p.prototype.writeBigUInt64LE=ht((function(C,N=0){return it(this,C,N,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeBigUInt64BE=ht((function(C,N=0){return Ye(this,C,N,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeIntLE=function(C,N,J,ne){if(C=+C,N>>>=0,!ne){const St=Math.pow(2,8*J-1);g(this,C,N,J,St-1,-St)}let ce=0,be=1,Ze=0;for(this[N]=255&C;++ce<J&&(be*=256);)C<0&&Ze===0&&this[N+ce-1]!==0&&(Ze=1),this[N+ce]=(C/be|0)-Ze&255;return N+J},p.prototype.writeIntBE=function(C,N,J,ne){if(C=+C,N>>>=0,!ne){const St=Math.pow(2,8*J-1);g(this,C,N,J,St-1,-St)}let ce=J-1,be=1,Ze=0;for(this[N+ce]=255&C;--ce>=0&&(be*=256);)C<0&&Ze===0&&this[N+ce+1]!==0&&(Ze=1),this[N+ce]=(C/be|0)-Ze&255;return N+J},p.prototype.writeInt8=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,1,127,-128),C<0&&(C=255+C+1),this[N]=255&C,N+1},p.prototype.writeInt16LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,32767,-32768),this[N]=255&C,this[N+1]=C>>>8,N+2},p.prototype.writeInt16BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,32767,-32768),this[N]=C>>>8,this[N+1]=255&C,N+2},p.prototype.writeInt32LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,2147483647,-2147483648),this[N]=255&C,this[N+1]=C>>>8,this[N+2]=C>>>16,this[N+3]=C>>>24,N+4},p.prototype.writeInt32BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),this[N]=C>>>24,this[N+1]=C>>>16,this[N+2]=C>>>8,this[N+3]=255&C,N+4},p.prototype.writeBigInt64LE=ht((function(C,N=0){return it(this,C,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeBigInt64BE=ht((function(C,N=0){return Ye(this,C,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeFloatLE=function(C,N,J){return Te(this,C,N,!0,J)},p.prototype.writeFloatBE=function(C,N,J){return Te(this,C,N,!1,J)},p.prototype.writeDoubleLE=function(C,N,J){return et(this,C,N,!0,J)},p.prototype.writeDoubleBE=function(C,N,J){return et(this,C,N,!1,J)},p.prototype.copy=function(C,N,J,ne){if(!p.isBuffer(C))throw new TypeError("argument should be a Buffer");if(J||(J=0),ne||ne===0||(ne=this.length),N>=C.length&&(N=C.length),N||(N=0),ne>0&&ne<J&&(ne=J),ne===J||C.length===0||this.length===0)return 0;if(N<0)throw new RangeError("targetStart out of bounds");if(J<0||J>=this.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("sourceEnd out of bounds");ne>this.length&&(ne=this.length),C.length-N<ne-J&&(ne=C.length-N+J);const ce=ne-J;return this===C&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(N,J,ne):Uint8Array.prototype.set.call(C,this.subarray(J,ne),N),ce},p.prototype.fill=function(C,N,J,ne){if(typeof C=="string"){if(typeof N=="string"?(ne=N,N=0,J=this.length):typeof J=="string"&&(ne=J,J=this.length),ne!==void 0&&typeof ne!="string")throw new TypeError("encoding must be a string");if(typeof ne=="string"&&!p.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);if(C.length===1){const be=C.charCodeAt(0);(ne==="utf8"&&be<128||ne==="latin1")&&(C=be)}}else typeof C=="number"?C&=255:typeof C=="boolean"&&(C=Number(C));if(N<0||this.length<N||this.length<J)throw new RangeError("Out of range index");if(J<=N)return this;let ce;if(N>>>=0,J=J===void 0?this.length:J>>>0,C||(C=0),typeof C=="number")for(ce=N;ce<J;++ce)this[ce]=C;else{const be=p.isBuffer(C)?C:p.from(C,ne),Ze=be.length;if(Ze===0)throw new TypeError('The value "'+C+'" is invalid for argument "value"');for(ce=0;ce<J-N;++ce)this[ce+N]=be[ce%Ze]}return this};const ft={};function Ke(Y,C,N){ft[Y]=class extends N{constructor(){super(),Object.defineProperty(this,"message",{value:C.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Y}]`,this.stack,delete this.name}get code(){return Y}set code(ne){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ne,writable:!0})}toString(){return`${this.name} [${Y}]: ${this.message}`}}}function dt(Y){let C="",N=Y.length;const J=Y[0]==="-"?1:0;for(;N>=J+4;N-=3)C=`_${Y.slice(N-3,N)}${C}`;return`${Y.slice(0,N)}${C}`}function ee(Y,C,N,J,ne,ce){if(Y>N||Y<C){const be=typeof C=="bigint"?"n":"";let Ze;throw Ze=C===0||C===BigInt(0)?`>= 0${be} and < 2${be} ** ${8*(ce+1)}${be}`:`>= -(2${be} ** ${8*(ce+1)-1}${be}) and < 2 ** ${8*(ce+1)-1}${be}`,new ft.ERR_OUT_OF_RANGE("value",Ze,Y)}(function(Ze,St,ut){_e(St,"offset"),Ze[St]!==void 0&&Ze[St+ut]!==void 0||nt(St,Ze.length-(ut+1))})(J,ne,ce)}function _e(Y,C){if(typeof Y!="number")throw new ft.ERR_INVALID_ARG_TYPE(C,"number",Y)}function nt(Y,C,N){throw Math.floor(Y)!==Y?(_e(Y,N),new ft.ERR_OUT_OF_RANGE("offset","an integer",Y)):C<0?new ft.ERR_BUFFER_OUT_OF_BOUNDS:new ft.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${C}`,Y)}Ke("ERR_BUFFER_OUT_OF_BOUNDS",(function(Y){return Y?`${Y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),Ke("ERR_INVALID_ARG_TYPE",(function(Y,C){return`The "${Y}" argument must be of type number. Received type ${typeof C}`}),TypeError),Ke("ERR_OUT_OF_RANGE",(function(Y,C,N){let J=`The value of "${Y}" is out of range.`,ne=N;return Number.isInteger(N)&&Math.abs(N)>4294967296?ne=dt(String(N)):typeof N=="bigint"&&(ne=String(N),(N>BigInt(2)**BigInt(32)||N<-(BigInt(2)**BigInt(32)))&&(ne=dt(ne)),ne+="n"),J+=` It must be ${C}. Received ${ne}`,J}),RangeError);const st=/[^+/0-9A-Za-z-_]/g;function Ut(Y,C){let N;C=C||1/0;const J=Y.length;let ne=null;const ce=[];for(let be=0;be<J;++be){if(N=Y.charCodeAt(be),N>55295&&N<57344){if(!ne){if(N>56319){(C-=3)>-1&&ce.push(239,191,189);continue}if(be+1===J){(C-=3)>-1&&ce.push(239,191,189);continue}ne=N;continue}if(N<56320){(C-=3)>-1&&ce.push(239,191,189),ne=N;continue}N=65536+(ne-55296<<10|N-56320)}else ne&&(C-=3)>-1&&ce.push(239,191,189);if(ne=null,N<128){if((C-=1)<0)break;ce.push(N)}else if(N<2048){if((C-=2)<0)break;ce.push(N>>6|192,63&N|128)}else if(N<65536){if((C-=3)<0)break;ce.push(N>>12|224,N>>6&63|128,63&N|128)}else{if(!(N<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;ce.push(N>>18|240,N>>12&63|128,N>>6&63|128,63&N|128)}}return ce}function qt(Y){return c.toByteArray((function(N){if((N=(N=N.split("=")[0]).trim().replace(st,"")).length<2)return"";for(;N.length%4!=0;)N+="=";return N})(Y))}function lt(Y,C,N,J){let ne;for(ne=0;ne<J&&!(ne+N>=C.length||ne>=Y.length);++ne)C[ne+N]=Y[ne];return ne}function xt(Y,C){return Y instanceof C||Y!=null&&Y.constructor!=null&&Y.constructor.name!=null&&Y.constructor.name===C.name}function Mt(Y){return Y!=Y}const _t=(function(){const Y="0123456789abcdef",C=new Array(256);for(let N=0;N<16;++N){const J=16*N;for(let ne=0;ne<16;++ne)C[J+ne]=Y[N]+Y[ne]}return C})();function ht(Y){return typeof BigInt>"u"?Lt:Y}function Lt(){throw new Error("BigInt not supported")}},48590:(m,A)=>{Object.defineProperty(A,"__esModule",{value:!0}),A.default=function(a){return a&&a.type==="@@redux/INIT"?"initialState argument passed to createStore":"previous state received by the reducer"},m.exports=A.default},48648:m=>{m.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},48655:(m,A,a)=>{var c=a(26025);m.exports=function(d){return c(this.__data__,d)>-1}},48675:(m,A,a)=>{m.exports=a(20850)},48948:(m,A,a)=>{var c=a(21791),v=a(86375);m.exports=function(y,f){return c(y,v(y),f)}},49092:(m,A,a)=>{var c=a(41333);m.exports=function(){return c()&&!!Symbol.toStringTag}},49326:(m,A,a)=>{var c=a(31769),v=a(72428),d=a(56449),y=a(30361),f=a(30294),p=a(77797);m.exports=function(x,O,j){for(var I=-1,M=(O=c(O,x)).length,$=!1;++I<M;){var W=p(O[I]);if(!($=x!=null&&j(x,W)))break;x=x[W]}return $||++I!=M?$:!!(M=x==null?0:x.length)&&f(M)&&y(W,M)&&(d(x)||v(x))}},49552:(m,A,a)=>{var c=a(45951),v=a(46285),d=c.document,y=v(d)&&v(d.createElement);m.exports=function(f){return y?d.createElement(f):{}}},49653:(m,A,a)=>{var c=a(37828);m.exports=function(d){var y=new d.constructor(d.byteLength);return new c(y).set(new c(d)),y}},49698:m=>{var A=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");m.exports=function(c){return A.test(c)}},49724:(m,A,a)=>{var c=a(1907),v=a(39298),d=c({}.hasOwnProperty);m.exports=Object.hasOwn||function(f,p){return d(v(f),p)}},49747:(m,A,a)=>{var c=a(66977);function v(d,y,f){var p=c(d,8,void 0,void 0,void 0,void 0,void 0,y=f?void 0:y);return p.placeholder=v.placeholder,p}v.placeholder={},m.exports=v},50002:(m,A,a)=>{var c=a(82199),v=a(4664),d=a(95950);m.exports=function(f){return c(f,d,v)}},50104:(m,A,a)=>{var c=a(53661);function v(d,y){if(typeof d!="function"||y!=null&&typeof y!="function")throw new TypeError("Expected a function");var f=function(){var p=arguments,w=y?y.apply(this,p):p[0],x=f.cache;if(x.has(w))return x.get(w);var O=d.apply(this,p);return f.cache=x.set(w,O)||x,O};return f.cache=new(v.Cache||c),f}v.Cache=c,m.exports=v},50583:(m,A,a)=>{var c=a(47237),v=a(17255),d=a(28586),y=a(77797);m.exports=function(p){return d(p)?c(y(p)):v(p)}},50689:(m,A,a)=>{var c=a(50002),v=Object.prototype.hasOwnProperty;m.exports=function(y,f,p,w,x,O){var j=1&p,I=c(y),M=I.length;if(M!=c(f).length&&!j)return!1;for(var $=M;$--;){var W=I[$];if(!(j?W in f:v.call(f,W)))return!1}var q=O.get(y),U=O.get(f);if(q&&U)return q==f&&U==y;var H=!0;O.set(y,f),O.set(f,y);for(var Q=j;++$<M;){var se=y[W=I[$]],le=f[W];if(w)var Pe=j?w(le,se,W,f,y,O):w(se,le,W,y,f,O);if(!(Pe===void 0?se===le||x(se,le,p,w,O):Pe)){H=!1;break}Q||(Q=W=="constructor")}if(H&&!Q){var he=y.constructor,ge=f.constructor;he==ge||!("constructor"in y)||!("constructor"in f)||typeof he=="function"&&he instanceof he&&typeof ge=="function"&&ge instanceof ge||(H=!1)}return O.delete(y),O.delete(f),H}},50828:(m,A,a)=>{var c=a(24647),v=a(13222),d=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,y=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");m.exports=function(p){return(p=v(p))&&p.replace(d,c).replace(y,"")}},51175:(m,A,a)=>{var c=a(19846);m.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},51234:m=>{m.exports=function(a,c,v){for(var d=-1,y=a.length,f=c.length,p={};++d<y;){var w=d<f?c[d]:void 0;v(p,a[d],w)}return p}},51420:(m,A,a)=>{var c=a(80079);m.exports=function(){this.__data__=new c,this.size=0}},51459:m=>{m.exports=function(a){return this.__data__.has(a)}},51811:m=>{var A=Date.now;m.exports=function(c){var v=0,d=0;return function(){var y=A(),f=16-(y-d);if(d=y,f>0){if(++v>=800)return arguments[0]}else v=0;return c.apply(void 0,arguments)}}},51871:(m,A,a)=>{var c=a(1907),v=a(82159);m.exports=function(d,y,f){try{return c(v(Object.getOwnPropertyDescriptor(d,y)[f]))}catch{}}},51873:(m,A,a)=>{var c=a(9325).Symbol;m.exports=c},52623:(m,A,a)=>{var c={};c[a(76264)("toStringTag")]="z",m.exports=String(c)==="[object z]"},53138:(m,A,a)=>{var c=a(11331);m.exports=function(d){return c(d)?void 0:d}},53209:(m,A,a)=>{var c=a(65606),v=65536,d=4294967295,y=a(92861).Buffer,f=a.g.crypto||a.g.msCrypto;f&&f.getRandomValues?m.exports=function(w,x){if(w>d)throw new RangeError("requested too many random bytes");var O=y.allocUnsafe(w);if(w>0)if(w>v)for(var j=0;j<w;j+=v)f.getRandomValues(O.slice(j,j+v));else f.getRandomValues(O);return typeof x=="function"?c.nextTick((function(){x(null,O)})):O}:m.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
|
||
Use Chrome, Firefox or Internet Explorer 11`)}},53320:m=>{var A=Math.max;m.exports=function(c,v,d,y){for(var f=-1,p=c.length,w=-1,x=d.length,O=-1,j=v.length,I=A(p-x,0),M=Array(I+j),$=!y;++f<I;)M[f]=c[f];for(var W=f;++O<j;)M[W+O]=v[O];for(;++w<x;)($||f<p)&&(M[W+d[w]]=c[f++]);return M}},53375:(m,A,a)=>{var c=a(93700);m.exports=c},53661:(m,A,a)=>{var c=a(63040),v=a(17670),d=a(90289),y=a(4509),f=a(72949);function p(w){var x=-1,O=w==null?0:w.length;for(this.clear();++x<O;){var j=w[x];this.set(j[0],j[1])}}p.prototype.clear=c,p.prototype.delete=v,p.prototype.get=d,p.prototype.has=y,p.prototype.set=f,m.exports=p},53758:(m,A,a)=>{var c=a(30980),v=a(56017),d=a(94033),y=a(56449),f=a(40346),p=a(80257),w=Object.prototype.hasOwnProperty;function x(O){if(f(O)&&!y(O)&&!(O instanceof c)){if(O instanceof v)return O;if(w.call(O,"__wrapped__"))return p(O)}return new v(O)}x.prototype=d.prototype,x.prototype.constructor=x,m.exports=x},53812:(m,A,a)=>{var c=a(72552),v=a(40346);m.exports=function(y){return y===!0||y===!1||v(y)&&c(y)=="[object Boolean]"}},54018:(m,A,a)=>{var c=a(46285);m.exports=function(v){return c(v)||v===null}},54128:(m,A,a)=>{var c=a(31800),v=/^\s+/;m.exports=function(y){return y&&y.slice(0,c(y)+1).replace(v,"")}},54552:m=>{m.exports=function(a){return function(c){return a?.[c]}}},54641:(m,A,a)=>{var c=a(68882),v=a(51811)(c);m.exports=v},54829:(m,A,a)=>{var c=a(74284).f;m.exports=function(v,d,y){y in v||c(v,y,{configurable:!0,get:function(){return d[y]},set:function(f){d[y]=f}})}},54878:(m,A,a)=>{var c=a(52623),v=a(73948);m.exports=c?{}.toString:function(){return"[object "+v(this)+"]"}},55157:m=>{m.exports=function(){throw new Error("Readable.from is not available in the browser")}},55364:(m,A,a)=>{var c=a(85250),v=a(20999)((function(d,y,f){c(d,y,f)}));m.exports=v},55481:(m,A,a)=>{var c=a(9325)["__core-js_shared__"];m.exports=c},55527:m=>{var A=Object.prototype;m.exports=function(c){var v=c&&c.constructor;return c===(typeof v=="function"&&v.prototype||A)}},55580:(m,A,a)=>{var c=a(56110)(a(9325),"DataView");m.exports=c},55674:(m,A,a)=>{Object.defineProperty(A,"__esModule",{value:!0}),A.validateNextState=A.getUnexpectedInvocationParameterMessage=A.getStateName=void 0;var c=y(a(48590)),v=y(a(82261)),d=y(a(27374));function y(f){return f&&f.__esModule?f:{default:f}}A.getStateName=c.default,A.getUnexpectedInvocationParameterMessage=v.default,A.validateNextState=d.default},55808:(m,A,a)=>{var c=a(12507)("toUpperCase");m.exports=c},55973:m=>{class A{constructor(c,v){this.key=c,this.value=v}clone(){const c=new A;return this.key&&(c.key=this.key.clone()),this.value&&(c.value=this.value.clone()),c}}m.exports=A},56017:(m,A,a)=>{var c=a(39344),v=a(94033);function d(y,f){this.__wrapped__=y,this.__actions__=[],this.__chain__=!!f,this.__index__=0,this.__values__=void 0}d.prototype=c(v.prototype),d.prototype.constructor=d,m.exports=d},56110:(m,A,a)=>{var c=a(45083),v=a(10392);m.exports=function(y,f){var p=v(y,f);return c(p)?p:void 0}},56367:(m,A,a)=>{m.exports=a(77731)},56449:m=>{var A=Array.isArray;m.exports=A},56698:m=>{typeof Object.create=="function"?m.exports=function(a,c){c&&(a.super_=c,a.prototype=Object.create(c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}))}:m.exports=function(a,c){if(c){a.super_=c;var v=function(){};v.prototype=c.prototype,a.prototype=new v,a.prototype.constructor=a}}},56757:(m,A,a)=>{var c=a(91033),v=Math.max;m.exports=function(y,f,p){return f=v(f===void 0?y.length-1:f,0),function(){for(var w=arguments,x=-1,O=v(w.length-f,0),j=Array(O);++x<O;)j[x]=w[f+x];x=-1;for(var I=Array(f+1);++x<f;)I[x]=w[x];return I[f]=p(j),c(y,this,I)}}},57382:(m,A,a)=>{var c=a(98828);m.exports=!c((function(){function v(){}return v.prototype.constructor=null,Object.getPrototypeOf(new v)!==v.prototype}))},57758:(m,A,a)=>{var c,v=a(86048).F,d=v.ERR_MISSING_ARGS,y=v.ERR_STREAM_DESTROYED;function f(x){if(x)throw x}function p(x){x()}function w(x,O){return x.pipe(O)}m.exports=function(){for(var O=arguments.length,j=new Array(O),I=0;I<O;I++)j[I]=arguments[I];var M,$=(function(U){return U.length?typeof U[U.length-1]!="function"?f:U.pop():f})(j);if(Array.isArray(j[0])&&(j=j[0]),j.length<2)throw new d("streams");var W=j.map((function(q,U){var H=U<j.length-1;return(function(se,le,Pe,he){he=(function(ze){var Ve=!1;return function(){Ve||(Ve=!0,ze.apply(void 0,arguments))}})(he);var ge=!1;se.on("close",(function(){ge=!0})),c===void 0&&(c=a(86238)),c(se,{readable:le,writable:Pe},(function(Je){if(Je)return he(Je);ge=!0,he()}));var Ce=!1;return function(Je){if(!ge&&!Ce)return Ce=!0,(function(Ve){return Ve.setHeader&&typeof Ve.abort=="function"})(se)?se.abort():typeof se.destroy=="function"?se.destroy():void he(Je||new y("pipe"))}})(q,H,U>0,(function(Q){M||(M=Q),Q&&W.forEach(p),H||(W.forEach(p),$(M))}))}));return j.reduce(w)}},58068:m=>{m.exports=SyntaxError},58075:(m,A,a)=>{var c,v=a(36624),d=a(42220),y=a(80376),f=a(38530),p=a(62416),w=a(49552),x=a(92522),O="prototype",j="script",I=x("IE_PROTO"),M=function(){},$=function(U){return"<"+j+">"+U+"</"+j+">"},W=function(U){U.write($("")),U.close();var H=U.parentWindow.Object;return U=null,H},q=function(){try{c=new ActiveXObject("htmlfile")}catch{}var U,H,Q;q=typeof document<"u"?document.domain&&c?W(c):(H=w("iframe"),Q="java"+j+":",H.style.display="none",p.appendChild(H),H.src=String(Q),(U=H.contentWindow.document).open(),U.write($("document.F=Object")),U.close(),U.F):W(c);for(var se=y.length;se--;)delete q[O][y[se]];return q()};f[I]=!0,m.exports=Object.create||function(H,Q){var se;return H!==null?(M[O]=v(H),se=new M,M[O]=null,se[I]=H):se=q(),Q===void 0?se:d.f(se,Q)}},58156:(m,A,a)=>{var c=a(47422);m.exports=function(d,y,f){var p=d==null?void 0:c(d,y);return p===void 0?f:p}},58523:m=>{m.exports=function(a,c){for(var v=a.length,d=0;v--;)a[v]===c&&++d;return d}},58661:(m,A,a)=>{var c=a(39447),v=a(98828);m.exports=c&&v((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype!==42}))},58968:m=>{m.exports=Math.floor},59350:m=>{var A=Object.prototype.toString;m.exports=function(c){return A.call(c)}},59399:(m,A,a)=>{var c=a(25264).CopyToClipboard;c.CopyToClipboard=c,m.exports=c},59550:m=>{m.exports=function(A,a){return{value:A,done:a}}},60183:(m,A,a)=>{var c=a(11091),v=a(13930),d=a(7376),y=a(36833),f=a(62250),p=a(47181),w=a(15972),x=a(79192),O=a(14840),j=a(61626),I=a(68055),M=a(76264),$=a(93742),W=a(95116),q=y.PROPER,U=y.CONFIGURABLE,H=W.IteratorPrototype,Q=W.BUGGY_SAFARI_ITERATORS,se=M("iterator"),le="keys",Pe="values",he="entries",ge=function(){return this};m.exports=function(Ce,Je,ze,Ve,Qe,pt,Fe){p(ze,Je,Ve);var g,it,Ye,ue=function(_e){if(_e===Qe&&dt)return dt;if(!Q&&_e&&_e in ft)return ft[_e];switch(_e){case le:return function(){return new ze(this,_e)};case Pe:return function(){return new ze(this,_e)};case he:return function(){return new ze(this,_e)}}return function(){return new ze(this)}},Te=Je+" Iterator",et=!1,ft=Ce.prototype,Ke=ft[se]||ft["@@iterator"]||Qe&&ft[Qe],dt=!Q&&Ke||ue(Qe),ee=Je==="Array"&&ft.entries||Ke;if(ee&&(g=w(ee.call(new Ce)))!==Object.prototype&&g.next&&(d||w(g)===H||(x?x(g,H):f(g[se])||I(g,se,ge)),O(g,Te,!0,!0),d&&($[Te]=ge)),q&&Qe===Pe&&Ke&&Ke.name!==Pe&&(!d&&U?j(ft,"name",Pe):(et=!0,dt=function(){return v(Ke,this)})),Qe)if(it={values:ue(Pe),keys:pt?dt:ue(le),entries:ue(he)},Fe)for(Ye in it)(Q||et||!(Ye in ft))&&I(ft,Ye,it[Ye]);else c({target:Je,proto:!0,forced:Q||et},it);return d&&!Fe||ft[se]===dt||I(ft,se,dt,{name:Qe}),$[Je]=dt,it}},60270:(m,A,a)=>{var c=a(87068),v=a(40346);m.exports=function d(y,f,p,w,x){return y===f||(y==null||f==null||!v(y)&&!v(f)?y!=y&&f!=f:c(y,f,p,w,d,x))}},60581:(m,A,a)=>{var c=a(13930),v=a(62250),d=a(46285),y=TypeError;m.exports=function(f,p){var w,x;if(p==="string"&&v(w=f.toString)&&!d(x=c(w,f))||v(w=f.valueOf)&&!d(x=c(w,f))||p!=="string"&&v(w=f.toString)&&!d(x=c(w,f)))return x;throw new y("Can't convert object to primitive value")}},60680:(m,A,a)=>{var c=a(13222),v=/[\\^$.*+?()[\]{}|]/g,d=RegExp(v.source);m.exports=function(f){return(f=c(f))&&d.test(f)?f.replace(v,"\\$&"):f}},61045:(m,A,a)=>{const c=a(6048),v=a(23805),d=a(6233),y=a(87726),f=a(10866);m.exports=class extends d{constructor(w,x,O){super(w||[],x,O),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce(((w,x)=>(w[x.key.toValue()]=x.value?x.value.toValue():void 0,w)),{})}get(w){const x=this.getMember(w);if(x)return x.value}getMember(w){if(w!==void 0)return this.content.find((x=>x.key.toValue()===w))}remove(w){let x=null;return this.content=this.content.filter((O=>O.key.toValue()!==w||(x=O,!1))),x}getKey(w){const x=this.getMember(w);if(x)return x.key}set(w,x){if(v(w))return Object.keys(w).forEach((I=>{this.set(I,w[I])})),this;const O=w,j=this.getMember(O);return j?j.value=x:this.content.push(new y(O,x)),this}keys(){return this.content.map((w=>w.key.toValue()))}values(){return this.content.map((w=>w.value.toValue()))}hasKey(w){return this.content.some((x=>x.key.equals(w)))}items(){return this.content.map((w=>[w.key.toValue(),w.value.toValue()]))}map(w,x){return this.content.map((O=>w.bind(x)(O.value,O.key,O)))}compactMap(w,x){const O=[];return this.forEach(((j,I,M)=>{const $=w.bind(x)(j,I,M);$&&O.push($)})),O}filter(w,x){return new f(this.content).filter(w,x)}reject(w,x){return this.filter(c(w),x)}forEach(w,x){return this.content.forEach((O=>w.bind(x)(O.value,O.key,O)))}}},61074:m=>{m.exports=function(a){return a.split("")}},61160:(m,A,a)=>{var c=a(92063),v=a(73992),d=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,y=/[\n\r\t]/g,f=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,p=/:\d+$/,w=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,x=/^[a-zA-Z]:/;function O(U){return(U||"").toString().replace(d,"")}var j=[["#","hash"],["?","query"],function(H,Q){return $(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]],I={hash:1,query:1};function M(U){var H,Q=(typeof window<"u"?window:a.g!==void 0?a.g:typeof self<"u"?self:{}).location||{},se={},le=typeof(U=U||Q);if(U.protocol==="blob:")se=new q(unescape(U.pathname),{});else if(le==="string")for(H in se=new q(U,{}),I)delete se[H];else if(le==="object"){for(H in U)H in I||(se[H]=U[H]);se.slashes===void 0&&(se.slashes=f.test(U.href))}return se}function $(U){return U==="file:"||U==="ftp:"||U==="http:"||U==="https:"||U==="ws:"||U==="wss:"}function W(U,H){U=(U=O(U)).replace(y,""),H=H||{};var Q,se=w.exec(U),le=se[1]?se[1].toLowerCase():"",Pe=!!se[2],he=!!se[3],ge=0;return Pe?he?(Q=se[2]+se[3]+se[4],ge=se[2].length+se[3].length):(Q=se[2]+se[4],ge=se[2].length):he?(Q=se[3]+se[4],ge=se[3].length):Q=se[4],le==="file:"?ge>=2&&(Q=Q.slice(2)):$(le)?Q=se[4]:le?Pe&&(Q=Q.slice(2)):ge>=2&&$(H.protocol)&&(Q=se[4]),{protocol:le,slashes:Pe||$(le),slashesCount:ge,rest:Q}}function q(U,H,Q){if(U=(U=O(U)).replace(y,""),!(this instanceof q))return new q(U,H,Q);var se,le,Pe,he,ge,Ce,Je=j.slice(),ze=typeof H,Ve=this,Qe=0;for(ze!=="object"&&ze!=="string"&&(Q=H,H=null),Q&&typeof Q!="function"&&(Q=v.parse),se=!(le=W(U||"",H=M(H))).protocol&&!le.slashes,Ve.slashes=le.slashes||se&&H.slashes,Ve.protocol=le.protocol||H.protocol||"",U=le.rest,(le.protocol==="file:"&&(le.slashesCount!==2||x.test(U))||!le.slashes&&(le.protocol||le.slashesCount<2||!$(Ve.protocol)))&&(Je[3]=[/(.*)/,"pathname"]);Qe<Je.length;Qe++)typeof(he=Je[Qe])!="function"?(Pe=he[0],Ce=he[1],Pe!=Pe?Ve[Ce]=U:typeof Pe=="string"?~(ge=Pe==="@"?U.lastIndexOf(Pe):U.indexOf(Pe))&&(typeof he[2]=="number"?(Ve[Ce]=U.slice(0,ge),U=U.slice(ge+he[2])):(Ve[Ce]=U.slice(ge),U=U.slice(0,ge))):(ge=Pe.exec(U))&&(Ve[Ce]=ge[1],U=U.slice(0,ge.index)),Ve[Ce]=Ve[Ce]||se&&he[3]&&H[Ce]||"",he[4]&&(Ve[Ce]=Ve[Ce].toLowerCase())):U=he(U,Ve);Q&&(Ve.query=Q(Ve.query)),se&&H.slashes&&Ve.pathname.charAt(0)!=="/"&&(Ve.pathname!==""||H.pathname!=="")&&(Ve.pathname=(function(Fe,g){if(Fe==="")return g;for(var it=(g||"/").split("/").slice(0,-1).concat(Fe.split("/")),Ye=it.length,ue=it[Ye-1],Te=!1,et=0;Ye--;)it[Ye]==="."?it.splice(Ye,1):it[Ye]===".."?(it.splice(Ye,1),et++):et&&(Ye===0&&(Te=!0),it.splice(Ye,1),et--);return Te&&it.unshift(""),ue!=="."&&ue!==".."||it.push(""),it.join("/")})(Ve.pathname,H.pathname)),Ve.pathname.charAt(0)!=="/"&&$(Ve.protocol)&&(Ve.pathname="/"+Ve.pathname),c(Ve.port,Ve.protocol)||(Ve.host=Ve.hostname,Ve.port=""),Ve.username=Ve.password="",Ve.auth&&(~(ge=Ve.auth.indexOf(":"))?(Ve.username=Ve.auth.slice(0,ge),Ve.username=encodeURIComponent(decodeURIComponent(Ve.username)),Ve.password=Ve.auth.slice(ge+1),Ve.password=encodeURIComponent(decodeURIComponent(Ve.password))):Ve.username=encodeURIComponent(decodeURIComponent(Ve.auth)),Ve.auth=Ve.password?Ve.username+":"+Ve.password:Ve.username),Ve.origin=Ve.protocol!=="file:"&&$(Ve.protocol)&&Ve.host?Ve.protocol+"//"+Ve.host:"null",Ve.href=Ve.toString()}q.prototype={set:function(H,Q,se){var le=this;switch(H){case"query":typeof Q=="string"&&Q.length&&(Q=(se||v.parse)(Q)),le[H]=Q;break;case"port":le[H]=Q,c(Q,le.protocol)?Q&&(le.host=le.hostname+":"+Q):(le.host=le.hostname,le[H]="");break;case"hostname":le[H]=Q,le.port&&(Q+=":"+le.port),le.host=Q;break;case"host":le[H]=Q,p.test(Q)?(Q=Q.split(":"),le.port=Q.pop(),le.hostname=Q.join(":")):(le.hostname=Q,le.port="");break;case"protocol":le.protocol=Q.toLowerCase(),le.slashes=!se;break;case"pathname":case"hash":if(Q){var Pe=H==="pathname"?"/":"#";le[H]=Q.charAt(0)!==Pe?Pe+Q:Q}else le[H]=Q;break;case"username":case"password":le[H]=encodeURIComponent(Q);break;case"auth":var he=Q.indexOf(":");~he?(le.username=Q.slice(0,he),le.username=encodeURIComponent(decodeURIComponent(le.username)),le.password=Q.slice(he+1),le.password=encodeURIComponent(decodeURIComponent(le.password))):le.username=encodeURIComponent(decodeURIComponent(Q))}for(var ge=0;ge<j.length;ge++){var Ce=j[ge];Ce[4]&&(le[Ce[1]]=le[Ce[1]].toLowerCase())}return le.auth=le.password?le.username+":"+le.password:le.username,le.origin=le.protocol!=="file:"&&$(le.protocol)&&le.host?le.protocol+"//"+le.host:"null",le.href=le.toString(),le},toString:function(H){H&&typeof H=="function"||(H=v.stringify);var Q,se=this,le=se.host,Pe=se.protocol;Pe&&Pe.charAt(Pe.length-1)!==":"&&(Pe+=":");var he=Pe+(se.protocol&&se.slashes||$(se.protocol)?"//":"");return se.username?(he+=se.username,se.password&&(he+=":"+se.password),he+="@"):se.password?(he+=":"+se.password,he+="@"):se.protocol!=="file:"&&$(se.protocol)&&!le&&se.pathname!=="/"&&(he+="@"),(le[le.length-1]===":"||p.test(se.hostname)&&!se.port)&&(le+=":"),he+=le+se.pathname,(Q=typeof se.query=="object"?H(se.query):se.query)&&(he+=Q.charAt(0)!=="?"?"?"+Q:Q),se.hash&&(he+=se.hash),he}},q.extractProtocol=W,q.location=M,q.trimLeft=O,q.qs=v,m.exports=q},61448:(m,A,a)=>{var c=a(20426),v=a(49326);m.exports=function(y,f){return y!=null&&v(y,f,c)}},61489:(m,A,a)=>{var c=a(17400);m.exports=function(d){var y=c(d),f=y%1;return y==y?f?y-f:y:0}},61626:(m,A,a)=>{var c=a(39447),v=a(74284),d=a(75817);m.exports=c?function(y,f,p){return v.f(y,f,d(1,p))}:function(y,f,p){return y[f]=p,y}},61747:(m,A,a)=>{var c=a(45951),v=a(92046);m.exports=function(d,y){var f=v[d+"Prototype"],p=f&&f[y];if(p)return p;var w=c[d],x=w&&w.prototype;return x&&x[y]}},61802:(m,A,a)=>{var c=a(62224),v=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,y=c((function(f){var p=[];return f.charCodeAt(0)===46&&p.push(""),f.replace(v,(function(w,x,O,j){p.push(O?j.replace(d,"$1"):x||w)})),p}));m.exports=y},62006:(m,A,a)=>{var c=a(15389),v=a(64894),d=a(95950);m.exports=function(f){return function(p,w,x){var O=Object(p);if(!v(p)){var j=c(w,3);p=d(p),w=function(M){return j(O[M],M,O)}}var I=f(p,w,x);return I>-1?O[j?p[I]:I]:void 0}}},62060:m=>{var A=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;m.exports=function(c,v){var d=v.length;if(!d)return c;var y=d-1;return v[y]=(d>1?"& ":"")+v[y],v=v.join(d>2?", ":" "),c.replace(A,`{
|
||
/* [wrapped with `+v+`] */
|
||
`)}},62193:(m,A,a)=>{var c=a(88984),v=a(5861),d=a(72428),y=a(56449),f=a(64894),p=a(3656),w=a(55527),x=a(37167),O=Object.prototype.hasOwnProperty;m.exports=function(I){if(I==null)return!0;if(f(I)&&(y(I)||typeof I=="string"||typeof I.splice=="function"||p(I)||x(I)||d(I)))return!I.length;var M=v(I);if(M=="[object Map]"||M=="[object Set]")return!I.size;if(w(I))return!c(I).length;for(var $ in I)if(O.call(I,$))return!1;return!0}},62224:(m,A,a)=>{var c=a(50104);m.exports=function(d){var y=c(d,(function(p){return f.size===500&&f.clear(),p})),f=y.cache;return y}},62250:m=>{var A=typeof document=="object"&&document.all;m.exports=A===void 0&&A!==void 0?function(a){return typeof a=="function"||a===A}:function(a){return typeof a=="function"}},62284:(m,A,a)=>{var c=a(84629),v=Object.prototype.hasOwnProperty;m.exports=function(y){for(var f=y.name+"",p=c[f],w=v.call(c,f)?p.length:0;w--;){var x=p[w],O=x.func;if(O==null||O==y)return x.name}return f}},62416:(m,A,a)=>{var c=a(85582);m.exports=c("document","documentElement")},62802:(m,A,a)=>{m.exports=function(v){var d=v.toLowerCase(),y=m.exports[d];if(!y)throw new Error(d+" is not supported (we accept pull requests)");return new y},m.exports.sha=a(27816),m.exports.sha1=a(63737),m.exports.sha224=a(26710),m.exports.sha256=a(24107),m.exports.sha384=a(32827),m.exports.sha512=a(82890)},63040:(m,A,a)=>{var c=a(21549),v=a(80079),d=a(68223);m.exports=function(){this.size=0,this.__data__={hash:new c,map:new(d||v),string:new c}}},63345:m=>{m.exports=function(){return[]}},63560:(m,A,a)=>{var c=a(73170);m.exports=function(d,y,f){return d==null?d:c(d,y,f)}},63600:(m,A,a)=>{m.exports=v;var c=a(74610);function v(d){if(!(this instanceof v))return new v(d);c.call(this,d)}a(56698)(v,c),v.prototype._transform=function(d,y,f){f(null,d)}},63605:m=>{m.exports=function(a){return this.__data__.get(a)}},63702:m=>{m.exports=function(){this.__data__=[],this.size=0}},63737:(m,A,a)=>{var c=a(56698),v=a(90392),d=a(92861).Buffer,y=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);function p(){this.init(),this._w=f,v.call(this,64,56)}function w(j){return j<<5|j>>>27}function x(j){return j<<30|j>>>2}function O(j,I,M,$){return j===0?I&M|~I&$:j===2?I&M|I&$|M&$:I^M^$}c(p,v),p.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},p.prototype._update=function(j){for(var I,M=this._w,$=0|this._a,W=0|this._b,q=0|this._c,U=0|this._d,H=0|this._e,Q=0;Q<16;++Q)M[Q]=j.readInt32BE(4*Q);for(;Q<80;++Q)M[Q]=(I=M[Q-3]^M[Q-8]^M[Q-14]^M[Q-16])<<1|I>>>31;for(var se=0;se<80;++se){var le=~~(se/20),Pe=w($)+O(le,W,q,U)+H+M[se]+y[le]|0;H=U,U=q,q=x(W),W=$,$=Pe}this._a=$+this._a|0,this._b=W+this._b|0,this._c=q+this._c|0,this._d=U+this._d|0,this._e=H+this._e|0},p.prototype._hash=function(){var j=d.allocUnsafe(20);return j.writeInt32BE(0|this._a,0),j.writeInt32BE(0|this._b,4),j.writeInt32BE(0|this._c,8),j.writeInt32BE(0|this._d,12),j.writeInt32BE(0|this._e,16),j},m.exports=p},63862:m=>{m.exports=function(a){var c=this.has(a)&&delete this.__data__[a];return this.size-=c?1:0,c}},63912:(m,A,a)=>{var c=a(61074),v=a(49698),d=a(42054);m.exports=function(f){return v(f)?d(f):c(f)}},63950:m=>{m.exports=function(){}},64039:(m,A,a)=>{var c=typeof Symbol<"u"&&Symbol,v=a(41333);m.exports=function(){return typeof c=="function"&&typeof Symbol=="function"&&typeof c("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&v()}},64502:(m,A,a)=>{a(82048)},64626:(m,A,a)=>{var c=a(66977);m.exports=function(d,y,f){return y=f?void 0:y,y=d&&y==null?d.length:y,c(d,128,void 0,void 0,void 0,void 0,y)}},64634:m=>{var A={}.toString;m.exports=Array.isArray||function(a){return A.call(a)=="[object Array]"}},64894:(m,A,a)=>{var c=a(1882),v=a(30294);m.exports=function(y){return y!=null&&v(y.length)&&!c(y)}},64932:(m,A,a)=>{var c,v,d,y=a(40551),f=a(45951),p=a(46285),w=a(61626),x=a(49724),O=a(36128),j=a(92522),I=a(38530),M="Object already initialized",$=f.TypeError,W=f.WeakMap;if(y||O.state){var q=O.state||(O.state=new W);q.get=q.get,q.has=q.has,q.set=q.set,c=function(H,Q){if(q.has(H))throw new $(M);return Q.facade=H,q.set(H,Q),Q},v=function(H){return q.get(H)||{}},d=function(H){return q.has(H)}}else{var U=j("state");I[U]=!0,c=function(H,Q){if(x(H,U))throw new $(M);return Q.facade=H,w(H,U,Q),Q},v=function(H){return x(H,U)?H[U]:{}},d=function(H){return x(H,U)}}m.exports={set:c,get:v,has:d,enforce:function(H){return d(H)?v(H):c(H,{})},getterFor:function(H){return function(Q){var se;if(!p(Q)||(se=v(Q)).type!==H)throw new $("Incompatible receiver, "+H+" required");return se}}}},65291:(m,A,a)=>{var c=a(86048).F.ERR_INVALID_OPT_VALUE;m.exports={getHighWaterMark:function(d,y,f,p){var w=(function(O,j,I){return O.highWaterMark!=null?O.highWaterMark:j?O[I]:null})(y,p,f);if(w!=null){if(!isFinite(w)||Math.floor(w)!==w||w<0)throw new c(p?f:"highWaterMark",w);return Math.floor(w)}return d.objectMode?16:16384}}},65482:(m,A,a)=>{var c=a(41176);m.exports=function(v){var d=+v;return d!=d||d===0?0:c(d)}},65606:m=>{var A,a,c=m.exports={};function v(){throw new Error("setTimeout has not been defined")}function d(){throw new Error("clearTimeout has not been defined")}function y($){if(A===setTimeout)return setTimeout($,0);if((A===v||!A)&&setTimeout)return A=setTimeout,setTimeout($,0);try{return A($,0)}catch{try{return A.call(null,$,0)}catch{return A.call(this,$,0)}}}(function(){try{A=typeof setTimeout=="function"?setTimeout:v}catch{A=v}try{a=typeof clearTimeout=="function"?clearTimeout:d}catch{a=d}})();var f,p=[],w=!1,x=-1;function O(){w&&f&&(w=!1,f.length?p=f.concat(p):x=-1,p.length&&j())}function j(){if(!w){var $=y(O);w=!0;for(var W=p.length;W;){for(f=p,p=[];++x<W;)f&&f[x].run();x=-1,W=p.length}f=null,w=!1,(function(U){if(a===clearTimeout)return clearTimeout(U);if((a===d||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(U);try{return a(U)}catch{try{return a.call(null,U)}catch{return a.call(this,U)}}})($)}}function I($,W){this.fun=$,this.array=W}function M(){}c.nextTick=function($){var W=new Array(arguments.length-1);if(arguments.length>1)for(var q=1;q<arguments.length;q++)W[q-1]=arguments[q];p.push(new I($,W)),p.length!==1||w||y(j)},I.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=M,c.addListener=M,c.once=M,c.off=M,c.removeListener=M,c.removeAllListeners=M,c.emit=M,c.prependListener=M,c.prependOnceListener=M,c.listeners=function($){return[]},c.binding=function($){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function($){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},65772:m=>{m.exports=function(a){const c={literal:"true false null"},v=[a.C_LINE_COMMENT_MODE,a.C_BLOCK_COMMENT_MODE],d=[a.QUOTE_STRING_MODE,a.C_NUMBER_MODE],y={end:",",endsWithParent:!0,excludeEnd:!0,contains:d,keywords:c},f={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[a.BACKSLASH_ESCAPE],illegal:"\\n"},a.inherit(y,{begin:/:/})].concat(v),illegal:"\\S"},p={begin:"\\[",end:"\\]",contains:[a.inherit(y)],illegal:"\\S"};return d.push(f,p),v.forEach((function(w){d.push(w)})),{name:"JSON",contains:d,keywords:c,illegal:"\\S"}}},66645:(m,A,a)=>{var c=a(1733),v=a(45434),d=a(13222),y=a(22225);m.exports=function(p,w,x){return p=d(p),(w=x?void 0:w)===void 0?v(p)?y(p):c(p):p.match(w)||[]}},66721:(m,A,a)=>{var c=a(81042),v=Object.prototype.hasOwnProperty;m.exports=function(y){var f=this.__data__;if(c){var p=f[y];return p==="__lodash_hash_undefined__"?void 0:p}return v.call(f,y)?f[y]:void 0}},66743:(m,A,a)=>{var c=a(89353);m.exports=Function.prototype.bind||c},66977:(m,A,a)=>{var c=a(68882),v=a(11842),d=a(77078),y=a(37471),f=a(24168),p=a(37381),w=a(3209),x=a(54641),O=a(70981),j=a(61489),I=Math.max;m.exports=function($,W,q,U,H,Q,se,le){var Pe=2&W;if(!Pe&&typeof $!="function")throw new TypeError("Expected a function");var he=U?U.length:0;if(he||(W&=-97,U=H=void 0),se=se===void 0?se:I(j(se),0),le=le===void 0?le:j(le),he-=H?H.length:0,64&W){var ge=U,Ce=H;U=H=void 0}var Je=Pe?void 0:p($),ze=[$,W,q,U,H,ge,Ce,Q,se,le];if(Je&&w(ze,Je),$=ze[0],W=ze[1],q=ze[2],U=ze[3],H=ze[4],!(le=ze[9]=ze[9]===void 0?Pe?0:$.length:I(ze[9]-he,0))&&24&W&&(W&=-25),W&&W!=1)Ve=W==8||W==16?d($,W,le):W!=32&&W!=33||H.length?y.apply(void 0,ze):f($,W,q,U);else var Ve=v($,W,q);return O((Je?c:x)(Ve,ze),$,W)}},67197:m=>{m.exports=function(a,c){return function(v){return v!=null&&v[a]===c&&(c!==void 0||a in Object(v))}}},67526:(m,A)=>{A.byteLength=function(x){var O=f(x),j=O[0],I=O[1];return 3*(j+I)/4-I},A.toByteArray=function(x){var O,j,I=f(x),M=I[0],$=I[1],W=new v((function(Q,se,le){return 3*(se+le)/4-le})(0,M,$)),q=0,U=$>0?M-4:M;for(j=0;j<U;j+=4)O=c[x.charCodeAt(j)]<<18|c[x.charCodeAt(j+1)]<<12|c[x.charCodeAt(j+2)]<<6|c[x.charCodeAt(j+3)],W[q++]=O>>16&255,W[q++]=O>>8&255,W[q++]=255&O;return $===2&&(O=c[x.charCodeAt(j)]<<2|c[x.charCodeAt(j+1)]>>4,W[q++]=255&O),$===1&&(O=c[x.charCodeAt(j)]<<10|c[x.charCodeAt(j+1)]<<4|c[x.charCodeAt(j+2)]>>2,W[q++]=O>>8&255,W[q++]=255&O),W},A.fromByteArray=function(x){for(var O,j=x.length,I=j%3,M=[],$=16383,W=0,q=j-I;W<q;W+=$)M.push(p(x,W,W+$>q?q:W+$));return I===1?(O=x[j-1],M.push(a[O>>2]+a[O<<4&63]+"==")):I===2&&(O=(x[j-2]<<8)+x[j-1],M.push(a[O>>10]+a[O>>4&63]+a[O<<2&63]+"=")),M.join("")};for(var a=[],c=[],v=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)a[y]=d[y],c[d.charCodeAt(y)]=y;function f(w){var x=w.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var O=w.indexOf("=");return O===-1&&(O=x),[O,O===x?0:4-O%4]}function p(w,x,O){for(var j,I,M=[],$=x;$<O;$+=3)j=(w[$]<<16&16711680)+(w[$+1]<<8&65280)+(255&w[$+2]),M.push(a[(I=j)>>18&63]+a[I>>12&63]+a[I>>6&63]+a[63&I]);return M.join("")}c[45]=62,c[95]=63},68002:m=>{m.exports=Math.min},68055:(m,A,a)=>{var c=a(61626);m.exports=function(v,d,y,f){return f&&f.enumerable?v[d]=y:c(v,d,y),v}},68090:m=>{m.exports=function(a){var c=a==null?0:a.length;return c?a[c-1]:void 0}},68223:(m,A,a)=>{var c=a(56110)(a(9325),"Map");m.exports=c},68294:(m,A,a)=>{var c=a(23007),v=a(30361),d=Math.min;m.exports=function(f,p){for(var w=f.length,x=d(p.length,w),O=c(f);x--;){var j=p[x];f[x]=v(j,w)?O[j]:void 0}return f}},68623:(m,A,a)=>{var c=a(694);m.exports=c},68882:(m,A,a)=>{var c=a(83488),v=a(48152),d=v?function(y,f){return v.set(y,f),y}:c;m.exports=d},68969:(m,A,a)=>{var c=a(47422),v=a(25160);m.exports=function(y,f){return f.length<2?y:c(y,v(f,0,-1))}},69302:(m,A,a)=>{var c=a(83488),v=a(56757),d=a(32865);m.exports=function(f,p){return d(v(f,p,c),f+"")}},69383:m=>{m.exports=Error},69600:m=>{var A,a,c=Function.prototype.toString,v=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof v=="function"&&typeof Object.defineProperty=="function")try{A=Object.defineProperty({},"length",{get:function(){throw a}}),a={},v((function(){throw 42}),null,A)}catch(I){I!==a&&(v=null)}else v=null;var d=/^\s*class\b/,y=function(M){try{var $=c.call(M);return d.test($)}catch{return!1}},f=function(M){try{return!y(M)&&(c.call(M),!0)}catch{return!1}},p=Object.prototype.toString,w=typeof Symbol=="function"&&!!Symbol.toStringTag,x=!(0 in[,]),O=function(){return!1};if(typeof document=="object"){var j=document.all;p.call(j)===p.call(document.all)&&(O=function(M){if((x||!M)&&(M===void 0||typeof M=="object"))try{var $=p.call(M);return($==="[object HTMLAllCollection]"||$==="[object HTML document.all class]"||$==="[object HTMLCollection]"||$==="[object Object]")&&M("")==null}catch{}return!1})}m.exports=v?function(M){if(O(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;try{v(M,null,A)}catch($){if($!==a)return!1}return!y(M)&&f(M)}:function(M){if(O(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;if(w)return f(M);if(y(M))return!1;var $=p.call(M);return!($!=="[object Function]"&&$!=="[object GeneratorFunction]"&&!/^\[object HTML/.test($))&&f(M)}},69675:m=>{m.exports=TypeError},69884:(m,A,a)=>{var c=a(21791),v=a(37241);m.exports=function(y){return c(y,v(y))}},69982:(m,A,a)=>{m.exports=a(29844)},70080:(m,A,a)=>{var c=a(26025),v=Array.prototype.splice;m.exports=function(y){var f=this.__data__,p=c(f,y);return!(p<0)&&(p==f.length-1?f.pop():v.call(f,p,1),--this.size,!0)}},70414:m=>{m.exports=Math.round},70453:(m,A,a)=>{var c,v=a(79612),d=a(69383),y=a(41237),f=a(79290),p=a(79538),w=a(58068),x=a(69675),O=a(35345),j=a(71514),I=a(58968),M=a(6188),$=a(68002),W=a(75880),q=a(70414),U=a(73093),H=Function,Q=function(qt){try{return H('"use strict"; return ('+qt+").constructor;")()}catch{}},se=a(75795),le=a(30655),Pe=function(){throw new x},he=se?(function(){try{return Pe}catch{try{return se(arguments,"callee").get}catch{return Pe}}})():Pe,ge=a(64039)(),Ce=a(93628),Je=a(71064),ze=a(48648),Ve=a(11002),Qe=a(10076),pt={},Fe=typeof Uint8Array<"u"&&Ce?Ce(Uint8Array):c,g={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?c:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?c:ArrayBuffer,"%ArrayIteratorPrototype%":ge&&Ce?Ce([][Symbol.iterator]()):c,"%AsyncFromSyncIteratorPrototype%":c,"%AsyncFunction%":pt,"%AsyncGenerator%":pt,"%AsyncGeneratorFunction%":pt,"%AsyncIteratorPrototype%":pt,"%Atomics%":typeof Atomics>"u"?c:Atomics,"%BigInt%":typeof BigInt>"u"?c:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?c:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?c:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?c:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":d,"%eval%":eval,"%EvalError%":y,"%Float32Array%":typeof Float32Array>"u"?c:Float32Array,"%Float64Array%":typeof Float64Array>"u"?c:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?c:FinalizationRegistry,"%Function%":H,"%GeneratorFunction%":pt,"%Int8Array%":typeof Int8Array>"u"?c:Int8Array,"%Int16Array%":typeof Int16Array>"u"?c:Int16Array,"%Int32Array%":typeof Int32Array>"u"?c:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ge&&Ce?Ce(Ce([][Symbol.iterator]())):c,"%JSON%":typeof JSON=="object"?JSON:c,"%Map%":typeof Map>"u"?c:Map,"%MapIteratorPrototype%":typeof Map<"u"&&ge&&Ce?Ce(new Map()[Symbol.iterator]()):c,"%Math%":Math,"%Number%":Number,"%Object%":v,"%Object.getOwnPropertyDescriptor%":se,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?c:Promise,"%Proxy%":typeof Proxy>"u"?c:Proxy,"%RangeError%":f,"%ReferenceError%":p,"%Reflect%":typeof Reflect>"u"?c:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?c:Set,"%SetIteratorPrototype%":typeof Set<"u"&&ge&&Ce?Ce(new Set()[Symbol.iterator]()):c,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?c:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ge&&Ce?Ce(""[Symbol.iterator]()):c,"%Symbol%":ge?Symbol:c,"%SyntaxError%":w,"%ThrowTypeError%":he,"%TypedArray%":Fe,"%TypeError%":x,"%Uint8Array%":typeof Uint8Array>"u"?c:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?c:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?c:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?c:Uint32Array,"%URIError%":O,"%WeakMap%":typeof WeakMap>"u"?c:WeakMap,"%WeakRef%":typeof WeakRef>"u"?c:WeakRef,"%WeakSet%":typeof WeakSet>"u"?c:WeakSet,"%Function.prototype.call%":Qe,"%Function.prototype.apply%":Ve,"%Object.defineProperty%":le,"%Object.getPrototypeOf%":Je,"%Math.abs%":j,"%Math.floor%":I,"%Math.max%":M,"%Math.min%":$,"%Math.pow%":W,"%Math.round%":q,"%Math.sign%":U,"%Reflect.getPrototypeOf%":ze};if(Ce)try{null.error}catch(qt){var it=Ce(Ce(qt));g["%Error.prototype%"]=it}var Ye=function qt(lt){var xt;if(lt==="%AsyncFunction%")xt=Q("async function () {}");else if(lt==="%GeneratorFunction%")xt=Q("function* () {}");else if(lt==="%AsyncGeneratorFunction%")xt=Q("async function* () {}");else if(lt==="%AsyncGenerator%"){var Mt=qt("%AsyncGeneratorFunction%");Mt&&(xt=Mt.prototype)}else if(lt==="%AsyncIteratorPrototype%"){var _t=qt("%AsyncGenerator%");_t&&Ce&&(xt=Ce(_t.prototype))}return g[lt]=xt,xt},ue={__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"]},Te=a(66743),et=a(9957),ft=Te.call(Qe,Array.prototype.concat),Ke=Te.call(Ve,Array.prototype.splice),dt=Te.call(Qe,String.prototype.replace),ee=Te.call(Qe,String.prototype.slice),_e=Te.call(Qe,RegExp.prototype.exec),nt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,st=/\\(\\)?/g,Ut=function(lt,xt){var Mt,_t=lt;if(et(ue,_t)&&(_t="%"+(Mt=ue[_t])[0]+"%"),et(g,_t)){var ht=g[_t];if(ht===pt&&(ht=Ye(_t)),ht===void 0&&!xt)throw new x("intrinsic "+lt+" exists, but is not available. Please file an issue!");return{alias:Mt,name:_t,value:ht}}throw new w("intrinsic "+lt+" does not exist!")};m.exports=function(lt,xt){if(typeof lt!="string"||lt.length===0)throw new x("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof xt!="boolean")throw new x('"allowMissing" argument must be a boolean');if(_e(/^%?[^%]*%?$/,lt)===null)throw new w("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Mt=(function(yt){var kt=ee(yt,0,1),Fr=ee(yt,-1);if(kt==="%"&&Fr!=="%")throw new w("invalid intrinsic syntax, expected closing `%`");if(Fr==="%"&&kt!=="%")throw new w("invalid intrinsic syntax, expected opening `%`");var Ur=[];return dt(yt,nt,(function(bn,Xr,kn,_a){Ur[Ur.length]=kn?dt(_a,st,"$1"):Xr||bn})),Ur})(lt),_t=Mt.length>0?Mt[0]:"",ht=Ut("%"+_t+"%",xt),Lt=ht.name,Y=ht.value,C=!1,N=ht.alias;N&&(_t=N[0],Ke(Mt,ft([0,1],N)));for(var J=1,ne=!0;J<Mt.length;J+=1){var ce=Mt[J],be=ee(ce,0,1),Ze=ee(ce,-1);if((be==='"'||be==="'"||be==="`"||Ze==='"'||Ze==="'"||Ze==="`")&&be!==Ze)throw new w("property names with quotes must have matching quotes");if(ce!=="constructor"&&ne||(C=!0),et(g,Lt="%"+(_t+="."+ce)+"%"))Y=g[Lt];else if(Y!=null){if(!(ce in Y)){if(!xt)throw new x("base intrinsic for "+lt+" exists, but the property is not available.");return}if(se&&J+1>=Mt.length){var St=se(Y,ce);Y=(ne=!!St)&&"get"in St&&!("originalValue"in St.get)?St.get:Y[ce]}else ne=et(Y,ce),Y=Y[ce];ne&&!C&&(g[Lt]=Y)}}return Y}},70470:(m,A,a)=>{var c=a(46028),v=a(25594);m.exports=function(d){var y=c(d,"string");return v(y)?y:y+""}},70695:(m,A,a)=>{var c=a(78096),v=a(72428),d=a(56449),y=a(3656),f=a(30361),p=a(37167),w=Object.prototype.hasOwnProperty;m.exports=function(O,j){var I=d(O),M=!I&&v(O),$=!I&&!M&&y(O),W=!I&&!M&&!$&&p(O),q=I||M||$||W,U=q?c(O.length,String):[],H=U.length;for(var Q in O)!j&&!w.call(O,Q)||q&&(Q=="length"||$&&(Q=="offset"||Q=="parent")||W&&(Q=="buffer"||Q=="byteLength"||Q=="byteOffset")||f(Q,H))||U.push(Q);return U}},70981:(m,A,a)=>{var c=a(75251),v=a(62060),d=a(32865),y=a(75948);m.exports=function(p,w,x){var O=w+"";return d(p,v(O,y(c(O),x)))}},71064:(m,A,a)=>{var c=a(79612);m.exports=c.getPrototypeOf||null},71167:(m,A,a)=>{const c=a(10316);m.exports=class extends c{constructor(d,y,f){super(d,y,f),this.element="string"}primitive(){return"string"}get length(){return this.content.length}}},71340:(m,A,a)=>{var c=a(11091),v=a(29538);c({target:"Object",stat:!0,arity:2,forced:Object.assign!==v},{assign:v})},71514:m=>{m.exports=Math.abs},71961:(m,A,a)=>{var c=a(49653);m.exports=function(d,y){var f=y?c(d.buffer):d.buffer;return new d.constructor(f,d.byteOffset,d.length)}},72428:(m,A,a)=>{var c=a(27534),v=a(40346),d=Object.prototype,y=d.hasOwnProperty,f=d.propertyIsEnumerable,p=c((function(){return arguments})())?c:function(w){return v(w)&&y.call(w,"callee")&&!f.call(w,"callee")};m.exports=p},72552:(m,A,a)=>{var c=a(51873),v=a(659),d=a(59350),y=c?c.toStringTag:void 0;m.exports=function(p){return p==null?p===void 0?"[object Undefined]":"[object Null]":y&&y in Object(p)?v(p):d(p)}},72903:(m,A,a)=>{var c=a(23805),v=a(55527),d=a(90181),y=Object.prototype.hasOwnProperty;m.exports=function(p){if(!c(p))return d(p);var w=v(p),x=[];for(var O in p)(O!="constructor"||!w&&y.call(p,O))&&x.push(O);return x}},72949:(m,A,a)=>{var c=a(12651);m.exports=function(d,y){var f=c(this,d),p=f.size;return f.set(d,y),this.size+=f.size==p?0:1,this}},73093:(m,A,a)=>{var c=a(94459);m.exports=function(d){return c(d)||d===0?d:d<0?-1:1}},73126:(m,A,a)=>{var c=a(66743),v=a(69675),d=a(10076),y=a(13144);m.exports=function(p){if(p.length<1||typeof p[0]!="function")throw new v("a function is required");return y(c,d,p)}},73170:(m,A,a)=>{var c=a(16547),v=a(31769),d=a(30361),y=a(23805),f=a(77797);m.exports=function(w,x,O,j){if(!y(w))return w;for(var I=-1,M=(x=v(x,w)).length,$=M-1,W=w;W!=null&&++I<M;){var q=f(x[I]),U=O;if(q==="__proto__"||q==="constructor"||q==="prototype")return w;if(I!=$){var H=W[q];(U=j?j(H,q,W):void 0)===void 0&&(U=y(H)?H:d(x[I+1])?[]:{})}c(W,q,U),W=W[q]}return w}},73201:m=>{var A=/\w*$/;m.exports=function(c){var v=new c.constructor(c.source,A.exec(c));return v.lastIndex=c.lastIndex,v}},73402:m=>{function A(...a){return a.map((c=>(function(d){return d?typeof d=="string"?d:d.source:null})(c))).join("")}m.exports=function(c){const v="HTTP/(2|1\\.[01])",d={className:"attribute",begin:A("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},y=[d,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+v+" \\d{3})",end:/$/,contains:[{className:"meta",begin:v},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:y}},{begin:"(?=^[A-Z]+ (.*?) "+v+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:v},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:y}},c.inherit(d,{relevance:0})]}}},73424:(m,A,a)=>{var c=a(16962),v=a(2874),d=Array.prototype.push;function y(w,x){return x==2?function(O,j){return w(O,j)}:function(O){return w(O)}}function f(w){for(var x=w?w.length:0,O=Array(x);x--;)O[x]=w[x];return O}function p(w,x){return function(){var O=arguments.length;if(O){for(var j=Array(O);O--;)j[O]=arguments[O];var I=j[0]=x.apply(void 0,j);return w.apply(void 0,j),I}}}m.exports=function w(x,O,j,I){var M=typeof O=="function",$=O===Object(O);if($&&(I=j,j=O,O=void 0),j==null)throw new TypeError;I||(I={});var W=!("cap"in I)||I.cap,q=!("curry"in I)||I.curry,U=!("fixed"in I)||I.fixed,H=!("immutable"in I)||I.immutable,Q=!("rearg"in I)||I.rearg,se=M?j:v,le="curry"in I&&I.curry,Pe="fixed"in I&&I.fixed,he="rearg"in I&&I.rearg,ge=M?j.runInContext():void 0,Ce=M?j:{ary:x.ary,assign:x.assign,clone:x.clone,curry:x.curry,forEach:x.forEach,isArray:x.isArray,isError:x.isError,isFunction:x.isFunction,isWeakMap:x.isWeakMap,iteratee:x.iteratee,keys:x.keys,rearg:x.rearg,toInteger:x.toInteger,toPath:x.toPath},Je=Ce.ary,ze=Ce.assign,Ve=Ce.clone,Qe=Ce.curry,pt=Ce.forEach,Fe=Ce.isArray,g=Ce.isError,it=Ce.isFunction,Ye=Ce.isWeakMap,ue=Ce.keys,Te=Ce.rearg,et=Ce.toInteger,ft=Ce.toPath,Ke=ue(c.aryMethod),dt={castArray:function(_t){return function(){var ht=arguments[0];return Fe(ht)?_t(f(ht)):_t.apply(void 0,arguments)}},iteratee:function(_t){return function(){var ht=arguments[1],Lt=_t(arguments[0],ht),Y=Lt.length;return W&&typeof ht=="number"?(ht=ht>2?ht-2:1,Y&&Y<=ht?Lt:y(Lt,ht)):Lt}},mixin:function(_t){return function(ht){var Lt=this;if(!it(Lt))return _t(Lt,Object(ht));var Y=[];return pt(ue(ht),(function(C){it(ht[C])&&Y.push([C,Lt.prototype[C]])})),_t(Lt,Object(ht)),pt(Y,(function(C){var N=C[1];it(N)?Lt.prototype[C[0]]=N:delete Lt.prototype[C[0]]})),Lt}},nthArg:function(_t){return function(ht){var Lt=ht<0?1:et(ht)+1;return Qe(_t(ht),Lt)}},rearg:function(_t){return function(ht,Lt){var Y=Lt?Lt.length:0;return Qe(_t(ht,Lt),Y)}},runInContext:function(_t){return function(ht){return w(x,_t(ht),I)}}};function ee(_t,ht){if(W){var Lt=c.iterateeRearg[_t];if(Lt)return(function(N,J){return qt(N,(function(ne){var ce=J.length;return(function(Ze,St){return St==2?function(ut,yt){return Ze.apply(void 0,arguments)}:function(ut){return Ze.apply(void 0,arguments)}})(Te(y(ne,ce),J),ce)}))})(ht,Lt);var Y=!M&&c.iterateeAry[_t];if(Y)return(function(N,J){return qt(N,(function(ne){return typeof ne=="function"?y(ne,J):ne}))})(ht,Y)}return ht}function _e(_t,ht,Lt){if(U&&(Pe||!c.skipFixed[_t])){var Y=c.methodSpread[_t],C=Y&&Y.start;return C===void 0?Je(ht,Lt):(function(J,ne){return function(){for(var ce=arguments.length,be=ce-1,Ze=Array(ce);ce--;)Ze[ce]=arguments[ce];var St=Ze[ne],ut=Ze.slice(0,ne);return St&&d.apply(ut,St),ne!=be&&d.apply(ut,Ze.slice(ne+1)),J.apply(this,ut)}})(ht,C)}return ht}function nt(_t,ht,Lt){return Q&&Lt>1&&(he||!c.skipRearg[_t])?Te(ht,c.methodRearg[_t]||c.aryRearg[Lt]):ht}function st(_t,ht){for(var Lt=-1,Y=(ht=ft(ht)).length,C=Y-1,N=Ve(Object(_t)),J=N;J!=null&&++Lt<Y;){var ne=ht[Lt],ce=J[ne];ce==null||it(ce)||g(ce)||Ye(ce)||(J[ne]=Ve(Lt==C?ce:Object(ce))),J=J[ne]}return N}function Ut(_t,ht){var Lt=c.aliasToReal[_t]||_t,Y=c.remap[Lt]||Lt,C=I;return function(N){var J=M?ge:Ce,ne=M?ge[Y]:ht,ce=ze(ze({},C),N);return w(J,Lt,ne,ce)}}function qt(_t,ht){return function(){var Lt=arguments.length;if(!Lt)return _t();for(var Y=Array(Lt);Lt--;)Y[Lt]=arguments[Lt];var C=Q?0:Lt-1;return Y[C]=ht(Y[C]),_t.apply(void 0,Y)}}function lt(_t,ht,Lt){var Y,C=c.aliasToReal[_t]||_t,N=ht,J=dt[C];return J?N=J(ht):H&&(c.mutate.array[C]?N=p(ht,f):c.mutate.object[C]?N=p(ht,(function(ce){return function(be){return ce({},be)}})(ht)):c.mutate.set[C]&&(N=p(ht,st))),pt(Ke,(function(ne){return pt(c.aryMethod[ne],(function(ce){if(C==ce){var be=c.methodSpread[C],Ze=be&&be.afterRearg;return Y=Ze?_e(C,nt(C,N,ne),ne):nt(C,_e(C,N,ne),ne),Y=(function(ut,yt,kt){return le||q&&kt>1?Qe(yt,kt):yt})(0,Y=ee(C,Y),ne),!1}})),!Y})),Y||(Y=N),Y==ht&&(Y=le?Qe(Y,1):function(){return ht.apply(this,arguments)}),Y.convert=Ut(C,ht),Y.placeholder=ht.placeholder=Lt,Y}if(!$)return lt(O,j,se);var xt=j,Mt=[];return pt(Ke,(function(_t){pt(c.aryMethod[_t],(function(ht){var Lt=xt[c.remap[ht]||ht];Lt&&Mt.push([ht,lt(ht,Lt,xt)])}))})),pt(ue(xt),(function(_t){var ht=xt[_t];if(typeof ht=="function"){for(var Lt=Mt.length;Lt--;)if(Mt[Lt][0]==_t)return;ht.convert=Ut(_t,ht),Mt.push([_t,ht])}})),pt(Mt,(function(_t){xt[_t[0]]=_t[1]})),xt.convert=function(ht){return xt.runInContext.convert(ht)(void 0)},xt.placeholder=xt,pt(ue(xt),(function(_t){pt(c.realToAlias[_t]||[],(function(ht){xt[ht]=xt[_t]}))})),xt}},73448:(m,A,a)=>{var c=a(73948),v=a(29367),d=a(87136),y=a(93742),f=a(76264)("iterator");m.exports=function(p){if(!d(p))return v(p,f)||v(p,"@@iterator")||y[c(p)]}},73648:(m,A,a)=>{var c=a(39447),v=a(98828),d=a(49552);m.exports=!c&&!v((function(){return Object.defineProperty(d("div"),"a",{get:function(){return 7}}).a!==7}))},73948:(m,A,a)=>{var c=a(52623),v=a(62250),d=a(45807),y=a(76264)("toStringTag"),f=Object,p=d((function(){return arguments})())==="Arguments";m.exports=c?d:function(w){var x,O,j;return w===void 0?"Undefined":w===null?"Null":typeof(O=(function(I,M){try{return I[M]}catch{}})(x=f(w),y))=="string"?O:p?d(x):(j=d(x))==="Object"&&v(x.callee)?"Arguments":j}},73992:(m,A)=>{var a=Object.prototype.hasOwnProperty;function c(d){try{return decodeURIComponent(d.replace(/\+/g," "))}catch{return null}}function v(d){try{return encodeURIComponent(d)}catch{return null}}A.stringify=function(y,f){f=f||"";var p,w,x=[];for(w in typeof f!="string"&&(f="?"),y)if(a.call(y,w)){if((p=y[w])||p!=null&&!isNaN(p)||(p=""),w=v(w),p=v(p),w===null||p===null)continue;x.push(w+"="+p)}return x.length?f+x.join("&"):""},A.parse=function(y){for(var f,p=/([^=?#&]+)=?([^&]*)/g,w={};f=p.exec(y);){var x=c(f[1]),O=c(f[2]);x===null||O===null||x in w||(w[x]=O)}return w}},74218:m=>{m.exports=function(a){var c=typeof a;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?a!=="__proto__":a===null}},74239:(m,A,a)=>{var c=a(87136),v=TypeError;m.exports=function(d){if(c(d))throw new v("Can't call method on "+d);return d}},74284:(m,A,a)=>{var c=a(39447),v=a(73648),d=a(58661),y=a(36624),f=a(70470),p=TypeError,w=Object.defineProperty,x=Object.getOwnPropertyDescriptor,O="enumerable",j="configurable",I="writable";A.f=c?d?function($,W,q){if(y($),W=f(W),y(q),typeof $=="function"&&W==="prototype"&&"value"in q&&I in q&&!q[I]){var U=x($,W);U&&U[I]&&($[W]=q.value,q={configurable:j in q?q[j]:U[j],enumerable:O in q?q[O]:U[O],writable:!1})}return w($,W,q)}:w:function($,W,q){if(y($),W=f(W),y(q),v)try{return w($,W,q)}catch{}if("get"in q||"set"in q)throw new p("Accessors not supported");return"value"in q&&($[W]=q.value),$}},74335:m=>{m.exports=function(a,c){return function(v){return a(c(v))}}},74372:(m,A,a)=>{var c=a(69675),v=a(36556)("TypedArray.prototype.buffer",!0),d=a(35680);m.exports=v||function(f){if(!d(f))throw new c("Not a Typed Array");return f.buffer}},74436:(m,A,a)=>{var c=a(4993),v=a(34849),d=a(20575),y=function(f){return function(p,w,x){var O=c(p),j=d(O);if(j===0)return!f&&-1;var I,M=v(x,j);if(f&&w!=w){for(;j>M;)if((I=O[M++])!=I)return!0}else for(;j>M;M++)if((f||M in O)&&O[M]===w)return f||M||0;return!f&&-1}};m.exports={includes:y(!0),indexOf:y(!1)}},74610:(m,A,a)=>{m.exports=x;var c=a(86048).F,v=c.ERR_METHOD_NOT_IMPLEMENTED,d=c.ERR_MULTIPLE_CALLBACK,y=c.ERR_TRANSFORM_ALREADY_TRANSFORMING,f=c.ERR_TRANSFORM_WITH_LENGTH_0,p=a(25382);function w(I,M){var $=this._transformState;$.transforming=!1;var W=$.writecb;if(W===null)return this.emit("error",new d);$.writechunk=null,$.writecb=null,M!=null&&this.push(M),W(I);var q=this._readableState;q.reading=!1,(q.needReadable||q.length<q.highWaterMark)&&this._read(q.highWaterMark)}function x(I){if(!(this instanceof x))return new x(I);p.call(this,I),this._transformState={afterTransform:w.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,I&&(typeof I.transform=="function"&&(this._transform=I.transform),typeof I.flush=="function"&&(this._flush=I.flush)),this.on("prefinish",O)}function O(){var I=this;typeof this._flush!="function"||this._readableState.destroyed?j(this,null,null):this._flush((function(M,$){j(I,M,$)}))}function j(I,M,$){if(M)return I.emit("error",M);if($!=null&&I.push($),I._writableState.length)throw new f;if(I._transformState.transforming)throw new y;return I.push(null)}a(56698)(x,p),x.prototype.push=function(I,M){return this._transformState.needTransform=!1,p.prototype.push.call(this,I,M)},x.prototype._transform=function(I,M,$){$(new v("_transform()"))},x.prototype._write=function(I,M,$){var W=this._transformState;if(W.writecb=$,W.writechunk=I,W.writeencoding=M,!W.transforming){var q=this._readableState;(W.needTransform||q.needReadable||q.length<q.highWaterMark)&&this._read(q.highWaterMark)}},x.prototype._read=function(I){var M=this._transformState;M.writechunk===null||M.transforming?M.needTransform=!0:(M.transforming=!0,this._transform(M.writechunk,M.writeencoding,M.afterTransform))},x.prototype._destroy=function(I,M){p.prototype._destroy.call(this,I,(function($){M($)}))}},74733:(m,A,a)=>{var c=a(21791),v=a(95950);m.exports=function(y,f){return y&&c(f,v(f),y)}},75147:(m,A,a)=>{const c=a(85105);m.exports=class extends c{serialise(d){if(!(d instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${d}\` is not an Element instance`);let y;d._attributes&&d.attributes.get("variable")&&(y=d.attributes.get("variable"));const f={element:d.element};d._meta&&d._meta.length>0&&(f.meta=this.serialiseObject(d.meta));const p=d.element==="enum"||d.attributes.keys().indexOf("enumerations")!==-1;if(p){const w=this.enumSerialiseAttributes(d);w&&(f.attributes=w)}else if(d._attributes&&d._attributes.length>0){let{attributes:w}=d;w.get("metadata")&&(w=w.clone(),w.set("meta",w.get("metadata")),w.remove("metadata")),d.element==="member"&&y&&(w=w.clone(),w.remove("variable")),w.length>0&&(f.attributes=this.serialiseObject(w))}if(p)f.content=this.enumSerialiseContent(d,f);else if(this[`${d.element}SerialiseContent`])f.content=this[`${d.element}SerialiseContent`](d,f);else if(d.content!==void 0){let w;y&&d.content.key?(w=d.content.clone(),w.key.attributes.set("variable",y),w=this.serialiseContent(w)):w=this.serialiseContent(d.content),this.shouldSerialiseContent(d,w)&&(f.content=w)}else this.shouldSerialiseContent(d,d.content)&&d instanceof this.namespace.elements.Array&&(f.content=[]);return f}shouldSerialiseContent(d,y){return d.element==="parseResult"||d.element==="httpRequest"||d.element==="httpResponse"||d.element==="category"||d.element==="link"||y!==void 0&&(!Array.isArray(y)||y.length!==0)}refSerialiseContent(d,y){return delete y.attributes,{href:d.toValue(),path:d.path.toValue()}}sourceMapSerialiseContent(d){return d.toValue()}dataStructureSerialiseContent(d){return[this.serialiseContent(d.content)]}enumSerialiseAttributes(d){const y=d.attributes.clone(),f=y.remove("enumerations")||new this.namespace.elements.Array([]),p=y.get("default");let w=y.get("samples")||new this.namespace.elements.Array([]);if(p&&p.content&&(p.content.attributes&&p.content.attributes.remove("typeAttributes"),y.set("default",new this.namespace.elements.Array([p.content]))),w.forEach((x=>{x.content&&x.content.element&&x.content.attributes.remove("typeAttributes")})),d.content&&f.length!==0&&w.unshift(d.content),w=w.map((x=>x instanceof this.namespace.elements.Array?[x]:new this.namespace.elements.Array([x.content]))),w.length&&y.set("samples",w),y.length>0)return this.serialiseObject(y)}enumSerialiseContent(d){if(d._attributes){const y=d.attributes.get("enumerations");if(y&&y.length>0)return y.content.map((f=>{const p=f.clone();return p.attributes.remove("typeAttributes"),this.serialise(p)}))}if(d.content){const y=d.content.clone();return y.attributes.remove("typeAttributes"),[this.serialise(y)]}return[]}deserialise(d){if(typeof d=="string")return new this.namespace.elements.String(d);if(typeof d=="number")return new this.namespace.elements.Number(d);if(typeof d=="boolean")return new this.namespace.elements.Boolean(d);if(d===null)return new this.namespace.elements.Null;if(Array.isArray(d))return new this.namespace.elements.Array(d.map(this.deserialise,this));const y=this.namespace.getElementClass(d.element),f=new y;f.element!==d.element&&(f.element=d.element),d.meta&&this.deserialiseObject(d.meta,f.meta),d.attributes&&this.deserialiseObject(d.attributes,f.attributes);const p=this.deserialiseContent(d.content);if(p===void 0&&f.content!==null||(f.content=p),f.element==="enum"){f.content&&f.attributes.set("enumerations",f.content);let w=f.attributes.get("samples");if(f.attributes.remove("samples"),w){const O=w;w=new this.namespace.elements.Array,O.forEach((I=>{I.forEach((M=>{const $=new y(M);$.element=f.element,w.push($)}))}));const j=w.shift();f.content=j?j.content:void 0,f.attributes.set("samples",w)}else f.content=void 0;let x=f.attributes.get("default");if(x&&x.length>0){x=x.get(0);const O=new y(x);O.element=f.element,f.attributes.set("default",O)}}else if(f.element==="dataStructure"&&Array.isArray(f.content))[f.content]=f.content;else if(f.element==="category"){const w=f.attributes.get("meta");w&&(f.attributes.set("metadata",w),f.attributes.remove("meta"))}else f.element==="member"&&f.key&&f.key._attributes&&f.key._attributes.getValue("variable")&&(f.attributes.set("variable",f.key.attributes.get("variable")),f.key.attributes.remove("variable"));return f}serialiseContent(d){if(d instanceof this.namespace.elements.Element)return this.serialise(d);if(d instanceof this.namespace.KeyValuePair){const y={key:this.serialise(d.key)};return d.value&&(y.value=this.serialise(d.value)),y}return d&&d.map?d.map(this.serialise,this):d}deserialiseContent(d){if(d){if(d.element)return this.deserialise(d);if(d.key){const y=new this.namespace.KeyValuePair(this.deserialise(d.key));return d.value&&(y.value=this.deserialise(d.value)),y}if(d.map)return d.map(this.deserialise,this)}return d}shouldRefract(d){return!!(d._attributes&&d.attributes.keys().length||d._meta&&d.meta.keys().length)||d.element!=="enum"&&(d.element!==d.primitive()||d.element==="member")}convertKeyToRefract(d,y){return this.shouldRefract(y)?this.serialise(y):y.element==="enum"?this.serialiseEnum(y):y.element==="array"?y.map((f=>this.shouldRefract(f)||d==="default"?this.serialise(f):f.element==="array"||f.element==="object"||f.element==="enum"?f.children.map((p=>this.serialise(p))):f.toValue())):y.element==="object"?(y.content||[]).map(this.serialise,this):y.toValue()}serialiseEnum(d){return d.children.map((y=>this.serialise(y)))}serialiseObject(d){const y={};return d.forEach(((f,p)=>{if(f){const w=p.toValue();y[w]=this.convertKeyToRefract(w,f)}})),y}deserialiseObject(d,y){Object.keys(d).forEach((f=>{y.set(f,this.deserialise(d[f]))}))}}},75208:m=>{var A,a="";m.exports=function(v,d){if(typeof v!="string")throw new TypeError("expected a string");if(d===1)return v;if(d===2)return v+v;var y=v.length*d;if(A!==v||A===void 0)A=v,a="";else if(a.length>=y)return a.substr(0,y);for(;y>a.length&&d>1;)1&d&&(a+=v),d>>=1,v+=v;return a=(a+=v).substr(0,y)}},75251:m=>{var A=/\{\n\/\* \[wrapped with (.+)\] \*/,a=/,? & /;m.exports=function(v){var d=v.match(A);return d?d[1].split(a):[]}},75288:m=>{m.exports=function(a,c){return a===c||a!=a&&c!=c}},75795:(m,A,a)=>{var c=a(6549);if(c)try{c([],"length")}catch{c=null}m.exports=c},75817:m=>{m.exports=function(A,a){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:a}}},75880:m=>{m.exports=Math.pow},75896:(m,A,a)=>{var c=a(65606);function v(f,p){y(f,p),d(f)}function d(f){f._writableState&&!f._writableState.emitClose||f._readableState&&!f._readableState.emitClose||f.emit("close")}function y(f,p){f.emit("error",p)}m.exports={destroy:function(p,w){var x=this,O=this._readableState&&this._readableState.destroyed,j=this._writableState&&this._writableState.destroyed;return O||j?(w?w(p):p&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,c.nextTick(y,this,p)):c.nextTick(y,this,p)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(p||null,(function(I){!w&&I?x._writableState?x._writableState.errorEmitted?c.nextTick(d,x):(x._writableState.errorEmitted=!0,c.nextTick(v,x,I)):c.nextTick(v,x,I):w?(c.nextTick(d,x),w(I)):c.nextTick(d,x)})),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(p,w){var x=p._readableState,O=p._writableState;x&&x.autoDestroy||O&&O.autoDestroy?p.destroy(w):p.emit("error",w)}}},75948:(m,A,a)=>{var c=a(83729),v=a(15325),d=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];m.exports=function(f,p){return c(d,(function(w){var x="_."+w[0];p&w[1]&&!v(f,x)&&f.push(x)})),f.sort()}},76024:(m,A,a)=>{var c=a(41505),v=Function.prototype,d=v.apply,y=v.call;m.exports=typeof Reflect=="object"&&Reflect.apply||(c?y.bind(d):function(){return y.apply(d,arguments)})},76169:(m,A,a)=>{var c=a(49653);m.exports=function(d,y){var f=y?c(d.buffer):d.buffer;return new d.constructor(f,d.byteOffset,d.byteLength)}},76189:m=>{var A=Object.prototype.hasOwnProperty;m.exports=function(c){var v=c.length,d=new c.constructor(v);return v&&typeof c[0]=="string"&&A.call(c,"index")&&(d.index=c.index,d.input=c.input),d}},76264:(m,A,a)=>{var c=a(45951),v=a(85816),d=a(49724),y=a(6499),f=a(19846),p=a(51175),w=c.Symbol,x=v("wks"),O=p?w.for||w:w&&w.withoutSetter||y;m.exports=function(j){return d(x,j)||(x[j]=f&&d(w,j)?w[j]:O("Symbol."+j)),x[j]}},76545:(m,A,a)=>{var c=a(56110)(a(9325),"Set");m.exports=c},76578:m=>{m.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},76959:m=>{m.exports=function(a,c,v){for(var d=v-1,y=a.length;++d<y;)if(a[d]===c)return d;return-1}},77078:(m,A,a)=>{var c=a(91033),v=a(82819),d=a(37471),y=a(18073),f=a(11287),p=a(36306),w=a(9325);m.exports=function(O,j,I){var M=v(O);return function $(){for(var W=arguments.length,q=Array(W),U=W,H=f($);U--;)q[U]=arguments[U];var Q=W<3&&q[0]!==H&&q[W-1]!==H?[]:p(q,H);return(W-=Q.length)<I?y(O,j,d,$.placeholder,void 0,q,Q,void 0,void 0,I-W):c(this&&this!==w&&this instanceof $?M:O,this,q)}}},77199:(m,A,a)=>{var c=a(49653),v=a(76169),d=a(73201),y=a(93736),f=a(71961);m.exports=function(w,x,O){var j=w.constructor;switch(x){case"[object ArrayBuffer]":return c(w);case"[object Boolean]":case"[object Date]":return new j(+w);case"[object DataView]":return v(w,O);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 f(w,O);case"[object Map]":case"[object Set]":return new j;case"[object Number]":case"[object String]":return new j(w);case"[object RegExp]":return d(w);case"[object Symbol]":return y(w)}}},77556:(m,A,a)=>{var c=a(51873),v=a(34932),d=a(56449),y=a(44394),f=c?c.prototype:void 0,p=f?f.toString:void 0;m.exports=function w(x){if(typeof x=="string")return x;if(d(x))return v(x,w)+"";if(y(x))return p?p.call(x):"";var O=x+"";return O=="0"&&1/x==-1/0?"-0":O}},77731:(m,A,a)=>{var c=a(79920)("set",a(63560));c.placeholder=a(2874),m.exports=c},77797:(m,A,a)=>{var c=a(44394);m.exports=function(d){if(typeof d=="string"||c(d))return d;var y=d+"";return y=="0"&&1/d==-1/0?"-0":y}},78004:m=>{class A{constructor(v,d){this.low=v,this.high=d,this.length=1+d-v}overlaps(v){return!(this.high<v.low||this.low>v.high)}touches(v){return!(this.high+1<v.low||this.low-1>v.high)}add(v){return new A(Math.min(this.low,v.low),Math.max(this.high,v.high))}subtract(v){return v.low<=this.low&&v.high>=this.high?[]:v.low>this.low&&v.high<this.high?[new A(this.low,v.low-1),new A(v.high+1,this.high)]:v.low<=this.low?[new A(v.high+1,this.high)]:[new A(this.low,v.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class a{constructor(v,d){this.ranges=[],this.length=0,v!=null&&this.add(v,d)}_update_length(){this.length=this.ranges.reduce(((v,d)=>v+d.length),0)}add(v,d){var y=f=>{for(var p=0;p<this.ranges.length&&!f.touches(this.ranges[p]);)p++;for(var w=this.ranges.slice(0,p);p<this.ranges.length&&f.touches(this.ranges[p]);)f=f.add(this.ranges[p]),p++;w.push(f),this.ranges=w.concat(this.ranges.slice(p)),this._update_length()};return v instanceof a?v.ranges.forEach(y):(d==null&&(d=v),y(new A(v,d))),this}subtract(v,d){var y=f=>{for(var p=0;p<this.ranges.length&&!f.overlaps(this.ranges[p]);)p++;for(var w=this.ranges.slice(0,p);p<this.ranges.length&&f.overlaps(this.ranges[p]);)w=w.concat(this.ranges[p].subtract(f)),p++;this.ranges=w.concat(this.ranges.slice(p)),this._update_length()};return v instanceof a?v.ranges.forEach(y):(d==null&&(d=v),y(new A(v,d))),this}intersect(v,d){var y=[],f=p=>{for(var w=0;w<this.ranges.length&&!p.overlaps(this.ranges[w]);)w++;for(;w<this.ranges.length&&p.overlaps(this.ranges[w]);){var x=Math.max(this.ranges[w].low,p.low),O=Math.min(this.ranges[w].high,p.high);y.push(new A(x,O)),w++}};return v instanceof a?v.ranges.forEach(f):(d==null&&(d=v),f(new A(v,d))),this.ranges=y,this._update_length(),this}index(v){for(var d=0;d<this.ranges.length&&this.ranges[d].length<=v;)v-=this.ranges[d].length,d++;return this.ranges[d].low+v}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new a(this)}numbers(){return this.ranges.reduce(((v,d)=>{for(var y=d.low;y<=d.high;)v.push(y),y++;return v}),[])}subranges(){return this.ranges.map((v=>({low:v.low,high:v.high,length:1+v.high-v.low})))}}m.exports=a},78096:m=>{m.exports=function(a,c){for(var v=-1,d=Array(a);++v<a;)d[v]=c(v);return d}},78418:(m,A,a)=>{a(85160)},79192:(m,A,a)=>{var c=a(51871),v=a(46285),d=a(74239),y=a(10043);m.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var f,p=!1,w={};try{(f=c(Object.prototype,"__proto__","set"))(w,[]),p=w instanceof Array}catch{}return function(O,j){return d(O),y(j),v(O)&&(p?f(O,j):O.__proto__=j),O}})():void 0)},79290:m=>{m.exports=RangeError},79307:(m,A,a)=>{var c=a(11091),v=a(44673);c({target:"Function",proto:!0,forced:Function.bind!==v},{bind:v})},79538:m=>{m.exports=ReferenceError},79612:m=>{m.exports=Object},79770:m=>{m.exports=function(a,c){for(var v=-1,d=a==null?0:a.length,y=0,f=[];++v<d;){var p=a[v];c(p,v,a)&&(f[y++]=p)}return f}},79838:()=>{},79920:(m,A,a)=>{var c=a(73424),v=a(47934);m.exports=function(y,f,p){return c(v,y,f,p)}},80079:(m,A,a)=>{var c=a(63702),v=a(70080),d=a(24739),y=a(48655),f=a(31175);function p(w){var x=-1,O=w==null?0:w.length;for(this.clear();++x<O;){var j=w[x];this.set(j[0],j[1])}}p.prototype.clear=c,p.prototype.delete=v,p.prototype.get=d,p.prototype.has=y,p.prototype.set=f,m.exports=p},80218:(m,A,a)=>{var c=a(13222);m.exports=function(d){return c(d).toLowerCase()}},80257:(m,A,a)=>{var c=a(30980),v=a(56017),d=a(23007);m.exports=function(f){if(f instanceof c)return f.clone();var p=new v(f.__wrapped__,f.__chain__);return p.__actions__=d(f.__actions__),p.__index__=f.__index__,p.__values__=f.__values__,p}},80345:(m,A,a)=>{function c(O,j){var I=Object.keys(O);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(O);j&&(M=M.filter((function($){return Object.getOwnPropertyDescriptor(O,$).enumerable}))),I.push.apply(I,M)}return I}function v(O){for(var j=1;j<arguments.length;j++){var I=arguments[j]!=null?arguments[j]:{};j%2?c(Object(I),!0).forEach((function(M){d(O,M,I[M])})):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(I)):c(Object(I)).forEach((function(M){Object.defineProperty(O,M,Object.getOwnPropertyDescriptor(I,M))}))}return O}function d(O,j,I){return(j=f(j))in O?Object.defineProperty(O,j,{value:I,enumerable:!0,configurable:!0,writable:!0}):O[j]=I,O}function y(O,j){for(var I=0;I<j.length;I++){var M=j[I];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(O,f(M.key),M)}}function f(O){var j=(function(M,$){if(typeof M!="object"||M===null)return M;var W=M[Symbol.toPrimitive];if(W!==void 0){var q=W.call(M,$);if(typeof q!="object")return q;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(M)})(O,"string");return typeof j=="symbol"?j:String(j)}var p=a(48287).Buffer,w=a(15340).inspect,x=w&&w.custom||"inspect";m.exports=(function(){function O(){(function(I,M){if(!(I instanceof M))throw new TypeError("Cannot call a class as a function")})(this,O),this.head=null,this.tail=null,this.length=0}return(function(I,M,$){return M&&y(I.prototype,M),Object.defineProperty(I,"prototype",{writable:!1}),I})(O,[{key:"push",value:function(I){var M={data:I,next:null};this.length>0?this.tail.next=M:this.head=M,this.tail=M,++this.length}},{key:"unshift",value:function(I){var M={data:I,next:this.head};this.length===0&&(this.tail=M),this.head=M,++this.length}},{key:"shift",value:function(){if(this.length!==0){var I=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,I}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(I){if(this.length===0)return"";for(var M=this.head,$=""+M.data;M=M.next;)$+=I+M.data;return $}},{key:"concat",value:function(I){if(this.length===0)return p.alloc(0);for(var M,$,W,q=p.allocUnsafe(I>>>0),U=this.head,H=0;U;)M=U.data,$=q,W=H,p.prototype.copy.call(M,$,W),H+=U.data.length,U=U.next;return q}},{key:"consume",value:function(I,M){var $;return I<this.head.data.length?($=this.head.data.slice(0,I),this.head.data=this.head.data.slice(I)):$=I===this.head.data.length?this.shift():M?this._getString(I):this._getBuffer(I),$}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(I){var M=this.head,$=1,W=M.data;for(I-=W.length;M=M.next;){var q=M.data,U=I>q.length?q.length:I;if(U===q.length?W+=q:W+=q.slice(0,I),(I-=U)===0){U===q.length?(++$,M.next?this.head=M.next:this.head=this.tail=null):(this.head=M,M.data=q.slice(U));break}++$}return this.length-=$,W}},{key:"_getBuffer",value:function(I){var M=p.allocUnsafe(I),$=this.head,W=1;for($.data.copy(M),I-=$.data.length;$=$.next;){var q=$.data,U=I>q.length?q.length:I;if(q.copy(M,M.length-I,0,U),(I-=U)===0){U===q.length?(++W,$.next?this.head=$.next:this.head=this.tail=null):(this.head=$,$.data=q.slice(U));break}++W}return this.length-=W,M}},{key:x,value:function(I,M){return w(this,v(v({},M),{},{depth:0,customInspect:!1}))}}]),O})()},80376:m=>{m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},80631:(m,A,a)=>{var c=a(28077),v=a(49326);m.exports=function(y,f){return y!=null&&v(y,f,c)}},80909:(m,A,a)=>{var c=a(30641),v=a(38329)(c);m.exports=v},80945:(m,A,a)=>{var c=a(80079),v=a(68223),d=a(53661);m.exports=function(f,p){var w=this.__data__;if(w instanceof c){var x=w.__data__;if(!v||x.length<199)return x.push([f,p]),this.size=++w.size,this;w=this.__data__=new d(x)}return w.set(f,p),this.size=w.size,this}},81042:(m,A,a)=>{var c=a(56110)(Object,"create");m.exports=c},81214:(m,A,a)=>{function c(U){return c=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},c(U)}Object.defineProperty(A,"__esModule",{value:!0}),A.DebounceInput=void 0;var v=f(a(96540)),d=f(a(20181)),y=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function f(U){return U&&U.__esModule?U:{default:U}}function p(U,H){if(U==null)return{};var Q,se,le=(function(ge,Ce){if(ge==null)return{};var Je,ze,Ve={},Qe=Object.keys(ge);for(ze=0;ze<Qe.length;ze++)Je=Qe[ze],Ce.indexOf(Je)>=0||(Ve[Je]=ge[Je]);return Ve})(U,H);if(Object.getOwnPropertySymbols){var Pe=Object.getOwnPropertySymbols(U);for(se=0;se<Pe.length;se++)Q=Pe[se],H.indexOf(Q)>=0||Object.prototype.propertyIsEnumerable.call(U,Q)&&(le[Q]=U[Q])}return le}function w(U,H){var Q=Object.keys(U);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(U);H&&(se=se.filter((function(le){return Object.getOwnPropertyDescriptor(U,le).enumerable}))),Q.push.apply(Q,se)}return Q}function x(U){for(var H=1;H<arguments.length;H++){var Q=arguments[H]!=null?arguments[H]:{};H%2?w(Object(Q),!0).forEach((function(se){W(U,se,Q[se])})):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors(Q)):w(Object(Q)).forEach((function(se){Object.defineProperty(U,se,Object.getOwnPropertyDescriptor(Q,se))}))}return U}function O(U,H){for(var Q=0;Q<H.length;Q++){var se=H[Q];se.enumerable=se.enumerable||!1,se.configurable=!0,"value"in se&&(se.writable=!0),Object.defineProperty(U,se.key,se)}}function j(U,H){return j=Object.setPrototypeOf||function(se,le){return se.__proto__=le,se},j(U,H)}function I(U){var H=(function(){if(typeof Reflect>"u"||!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{return!1}})();return function(){var se,le=$(U);if(H){var Pe=$(this).constructor;se=Reflect.construct(le,arguments,Pe)}else se=le.apply(this,arguments);return(function(ge,Ce){if(Ce&&(c(Ce)==="object"||typeof Ce=="function"))return Ce;if(Ce!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return M(ge)})(this,se)}}function M(U){if(U===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return U}function $(U){return $=Object.setPrototypeOf?Object.getPrototypeOf:function(Q){return Q.__proto__||Object.getPrototypeOf(Q)},$(U)}function W(U,H,Q){return H in U?Object.defineProperty(U,H,{value:Q,enumerable:!0,configurable:!0,writable:!0}):U[H]=Q,U}var q=(function(U){(function(le,Pe){if(typeof Pe!="function"&&Pe!==null)throw new TypeError("Super expression must either be null or a function");le.prototype=Object.create(Pe&&Pe.prototype,{constructor:{value:le,writable:!0,configurable:!0}}),Object.defineProperty(le,"prototype",{writable:!1}),Pe&&j(le,Pe)})(Q,U);var H=I(Q);function Q(se){var le;(function(ge,Ce){if(!(ge instanceof Ce))throw new TypeError("Cannot call a class as a function")})(this,Q),W(M(le=H.call(this,se)),"onChange",(function(he){he.persist();var ge=le.state.value,Ce=le.props.minLength;le.setState({value:he.target.value},(function(){var Je=le.state.value;Je.length>=Ce?le.notify(he):ge.length>Je.length&&le.notify(x(x({},he),{},{target:x(x({},he.target),{},{value:""})}))}))})),W(M(le),"onKeyDown",(function(he){he.key==="Enter"&&le.forceNotify(he);var ge=le.props.onKeyDown;ge&&(he.persist(),ge(he))})),W(M(le),"onBlur",(function(he){le.forceNotify(he);var ge=le.props.onBlur;ge&&(he.persist(),ge(he))})),W(M(le),"createNotifier",(function(he){if(he<0)le.notify=function(){return null};else if(he===0)le.notify=le.doNotify;else{var ge=(0,d.default)((function(Ce){le.isDebouncing=!1,le.doNotify(Ce)}),he);le.notify=function(Ce){le.isDebouncing=!0,ge(Ce)},le.flush=function(){return ge.flush()},le.cancel=function(){le.isDebouncing=!1,ge.cancel()}}})),W(M(le),"doNotify",(function(){le.props.onChange.apply(void 0,arguments)})),W(M(le),"forceNotify",(function(he){var ge=le.props.debounceTimeout;if(le.isDebouncing||!(ge>0)){le.cancel&&le.cancel();var Ce=le.state.value,Je=le.props.minLength;Ce.length>=Je?le.doNotify(he):le.doNotify(x(x({},he),{},{target:x(x({},he.target),{},{value:Ce})}))}})),le.isDebouncing=!1,le.state={value:se.value===void 0||se.value===null?"":se.value};var Pe=le.props.debounceTimeout;return le.createNotifier(Pe),le}return(function(le,Pe,he){return Pe&&O(le.prototype,Pe),Object.defineProperty(le,"prototype",{writable:!1}),le})(Q,[{key:"componentDidUpdate",value:function(le){if(!this.isDebouncing){var Pe=this.props,he=Pe.value,ge=Pe.debounceTimeout,Ce=le.debounceTimeout,Je=le.value,ze=this.state.value;he!==void 0&&Je!==he&&ze!==he&&this.setState({value:he}),ge!==Ce&&this.createNotifier(ge)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var le,Pe,he=this.props,ge=he.element,Ce=(he.onChange,he.value,he.minLength,he.debounceTimeout,he.forceNotifyByEnter),Je=he.forceNotifyOnBlur,ze=he.onKeyDown,Ve=he.onBlur,Qe=he.inputRef,pt=p(he,y),Fe=this.state.value;le=Ce?{onKeyDown:this.onKeyDown}:ze?{onKeyDown:ze}:{},Pe=Je?{onBlur:this.onBlur}:Ve?{onBlur:Ve}:{};var g=Qe?{ref:Qe}:{};return v.default.createElement(ge,x(x(x(x({},pt),{},{onChange:this.onChange,value:Fe},le),Pe),g))}}]),Q})(v.default.PureComponent);A.DebounceInput=q,W(q,"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:(m,A,a)=>{var c=a(48287).Buffer;function v(w){return w instanceof c||w instanceof Date||w instanceof RegExp}function d(w){if(w instanceof c){var x=c.alloc?c.alloc(w.length):new c(w.length);return w.copy(x),x}if(w instanceof Date)return new Date(w.getTime());if(w instanceof RegExp)return new RegExp(w);throw new Error("Unexpected situation")}function y(w){var x=[];return w.forEach((function(O,j){typeof O=="object"&&O!==null?Array.isArray(O)?x[j]=y(O):v(O)?x[j]=d(O):x[j]=p({},O):x[j]=O})),x}function f(w,x){return x==="__proto__"?void 0:w[x]}var p=m.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var w,x,O=arguments[0];return Array.prototype.slice.call(arguments,1).forEach((function(j){typeof j!="object"||j===null||Array.isArray(j)||Object.keys(j).forEach((function(I){return x=f(O,I),(w=f(j,I))===O?void 0:typeof w!="object"||w===null?void(O[I]=w):Array.isArray(w)?void(O[I]=y(w)):v(w)?void(O[I]=d(w)):typeof x!="object"||x===null||Array.isArray(x)?void(O[I]=p({},w)):void(O[I]=p(x,w))}))})),O}},82048:(m,A,a)=>{var c=a(11091),v=a(88280),d=a(15972),y=a(79192),f=a(19595),p=a(58075),w=a(61626),x=a(75817),O=a(39259),j=a(85884),I=a(24823),M=a(32096),$=a(76264)("toStringTag"),W=Error,q=[].push,U=function(se,le){var Pe,he=v(H,this);y?Pe=y(new W,he?d(this):H):(Pe=he?this:p(H),w(Pe,$,"Error")),le!==void 0&&w(Pe,"message",M(le)),j(Pe,U,Pe.stack,1),arguments.length>2&&O(Pe,arguments[2]);var ge=[];return I(se,q,{that:ge}),w(Pe,"errors",ge),Pe};y?y(U,W):f(U,W,{name:!0});var H=U.prototype=p(W.prototype,{constructor:x(1,U),message:x(1,""),name:x(1,"AggregateError")});c({global:!0,constructor:!0,arity:2},{AggregateError:U})},82159:(m,A,a)=>{var c=a(62250),v=a(4640),d=TypeError;m.exports=function(y){if(c(y))return y;throw new d(v(y)+" is not a function")}},82199:(m,A,a)=>{var c=a(14528),v=a(56449);m.exports=function(y,f,p){var w=f(y);return v(y)?w:c(w,p(y))}},82261:(m,A,a)=>{Object.defineProperty(A,"__esModule",{value:!0});var c=d(a(9404)),v=d(a(48590));function d(y){return y&&y.__esModule?y:{default:y}}A.default=function(y,f,p){var w=Object.keys(f);if(!w.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var x=(0,v.default)(p);if(c.default.isImmutable?!c.default.isImmutable(y):!c.default.Iterable.isIterable(y))return"The "+x+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+w.join('", "')+'".';var O=y.toSeq().keySeq().toArray().filter((function(j){return!f.hasOwnProperty(j)}));return O.length>0?"Unexpected "+(O.length===1?"property":"properties")+' "'+O.join('", "')+'" found in '+x+'. Expected to find one of the known reducer property names instead: "'+w.join('", "')+'". Unexpected properties will be ignored.':null},m.exports=A.default},82682:(m,A,a)=>{var c=a(69600),v=Object.prototype.toString,d=Object.prototype.hasOwnProperty;m.exports=function(f,p,w){if(!c(p))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=w),(function(j){return v.call(j)==="[object Array]"})(f)?(function(j,I,M){for(var $=0,W=j.length;$<W;$++)d.call(j,$)&&(M==null?I(j[$],$,j):I.call(M,j[$],$,j))})(f,p,x):typeof f=="string"?(function(j,I,M){for(var $=0,W=j.length;$<W;$++)M==null?I(j.charAt($),$,j):I.call(M,j.charAt($),$,j)})(f,p,x):(function(j,I,M){for(var $ in j)d.call(j,$)&&(M==null?I(j[$],$,j):I.call(M,j[$],$,j))})(f,p,x)}},82819:(m,A,a)=>{var c=a(39344),v=a(23805);m.exports=function(y){return function(){var f=arguments;switch(f.length){case 0:return new y;case 1:return new y(f[0]);case 2:return new y(f[0],f[1]);case 3:return new y(f[0],f[1],f[2]);case 4:return new y(f[0],f[1],f[2],f[3]);case 5:return new y(f[0],f[1],f[2],f[3],f[4]);case 6:return new y(f[0],f[1],f[2],f[3],f[4],f[5]);case 7:return new y(f[0],f[1],f[2],f[3],f[4],f[5],f[6])}var p=c(y.prototype),w=y.apply(p,f);return v(w)?w:p}}},82890:(m,A,a)=>{var c=a(56698),v=a(90392),d=a(92861).Buffer,y=[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],f=new Array(160);function p(){this.init(),this._w=f,v.call(this,128,112)}function w(U,H,Q){return Q^U&(H^Q)}function x(U,H,Q){return U&H|Q&(U|H)}function O(U,H){return(U>>>28|H<<4)^(H>>>2|U<<30)^(H>>>7|U<<25)}function j(U,H){return(U>>>14|H<<18)^(U>>>18|H<<14)^(H>>>9|U<<23)}function I(U,H){return(U>>>1|H<<31)^(U>>>8|H<<24)^U>>>7}function M(U,H){return(U>>>1|H<<31)^(U>>>8|H<<24)^(U>>>7|H<<25)}function $(U,H){return(U>>>19|H<<13)^(H>>>29|U<<3)^U>>>6}function W(U,H){return(U>>>19|H<<13)^(H>>>29|U<<3)^(U>>>6|H<<26)}function q(U,H){return U>>>0<H>>>0?1:0}c(p,v),p.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},p.prototype._update=function(U){for(var H=this._w,Q=0|this._ah,se=0|this._bh,le=0|this._ch,Pe=0|this._dh,he=0|this._eh,ge=0|this._fh,Ce=0|this._gh,Je=0|this._hh,ze=0|this._al,Ve=0|this._bl,Qe=0|this._cl,pt=0|this._dl,Fe=0|this._el,g=0|this._fl,it=0|this._gl,Ye=0|this._hl,ue=0;ue<32;ue+=2)H[ue]=U.readInt32BE(4*ue),H[ue+1]=U.readInt32BE(4*ue+4);for(;ue<160;ue+=2){var Te=H[ue-30],et=H[ue-30+1],ft=I(Te,et),Ke=M(et,Te),dt=$(Te=H[ue-4],et=H[ue-4+1]),ee=W(et,Te),_e=H[ue-14],nt=H[ue-14+1],st=H[ue-32],Ut=H[ue-32+1],qt=Ke+nt|0,lt=ft+_e+q(qt,Ke)|0;lt=(lt=lt+dt+q(qt=qt+ee|0,ee)|0)+st+q(qt=qt+Ut|0,Ut)|0,H[ue]=lt,H[ue+1]=qt}for(var xt=0;xt<160;xt+=2){lt=H[xt],qt=H[xt+1];var Mt=x(Q,se,le),_t=x(ze,Ve,Qe),ht=O(Q,ze),Lt=O(ze,Q),Y=j(he,Fe),C=j(Fe,he),N=y[xt],J=y[xt+1],ne=w(he,ge,Ce),ce=w(Fe,g,it),be=Ye+C|0,Ze=Je+Y+q(be,Ye)|0;Ze=(Ze=(Ze=Ze+ne+q(be=be+ce|0,ce)|0)+N+q(be=be+J|0,J)|0)+lt+q(be=be+qt|0,qt)|0;var St=Lt+_t|0,ut=ht+Mt+q(St,Lt)|0;Je=Ce,Ye=it,Ce=ge,it=g,ge=he,g=Fe,he=Pe+Ze+q(Fe=pt+be|0,pt)|0,Pe=le,pt=Qe,le=se,Qe=Ve,se=Q,Ve=ze,Q=Ze+ut+q(ze=be+St|0,be)|0}this._al=this._al+ze|0,this._bl=this._bl+Ve|0,this._cl=this._cl+Qe|0,this._dl=this._dl+pt|0,this._el=this._el+Fe|0,this._fl=this._fl+g|0,this._gl=this._gl+it|0,this._hl=this._hl+Ye|0,this._ah=this._ah+Q+q(this._al,ze)|0,this._bh=this._bh+se+q(this._bl,Ve)|0,this._ch=this._ch+le+q(this._cl,Qe)|0,this._dh=this._dh+Pe+q(this._dl,pt)|0,this._eh=this._eh+he+q(this._el,Fe)|0,this._fh=this._fh+ge+q(this._fl,g)|0,this._gh=this._gh+Ce+q(this._gl,it)|0,this._hh=this._hh+Je+q(this._hl,Ye)|0},p.prototype._hash=function(){var U=d.allocUnsafe(64);function H(Q,se,le){U.writeInt32BE(Q,le),U.writeInt32BE(se,le+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),U},m.exports=p},83120:(m,A,a)=>{var c=a(14528),v=a(45891);m.exports=function d(y,f,p,w,x){var O=-1,j=y.length;for(p||(p=v),x||(x=[]);++O<j;){var I=y[O];f>0&&p(I)?f>1?d(I,f-1,p,w,x):c(x,I):w||(x[x.length]=I)}return x}},83141:(m,A,a)=>{var c=a(92861).Buffer,v=c.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 d(M){var $;switch(this.encoding=(function(q){var U=(function(Q){if(!Q)return"utf8";for(var se;;)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(se)return;Q=(""+Q).toLowerCase(),se=!0}})(q);if(typeof U!="string"&&(c.isEncoding===v||!v(q)))throw new Error("Unknown encoding: "+q);return U||q})(M),this.encoding){case"utf16le":this.text=p,this.end=w,$=4;break;case"utf8":this.fillLast=f,$=4;break;case"base64":this.text=x,this.end=O,$=3;break;default:return this.write=j,void(this.end=I)}this.lastNeed=0,this.lastTotal=0,this.lastChar=c.allocUnsafe($)}function y(M){return M<=127?0:M>>5==6?2:M>>4==14?3:M>>3==30?4:M>>6==2?-1:-2}function f(M){var $=this.lastTotal-this.lastNeed,W=(function(U,H,Q){if((192&H[0])!=128)return U.lastNeed=0,"<22>";if(U.lastNeed>1&&H.length>1){if((192&H[1])!=128)return U.lastNeed=1,"<22>";if(U.lastNeed>2&&H.length>2&&(192&H[2])!=128)return U.lastNeed=2,"<22>"}})(this,M);return W!==void 0?W:this.lastNeed<=M.length?(M.copy(this.lastChar,$,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(M.copy(this.lastChar,$,0,M.length),void(this.lastNeed-=M.length))}function p(M,$){if((M.length-$)%2==0){var W=M.toString("utf16le",$);if(W){var q=W.charCodeAt(W.length-1);if(q>=55296&&q<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=M[M.length-2],this.lastChar[1]=M[M.length-1],W.slice(0,-1)}return W}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=M[M.length-1],M.toString("utf16le",$,M.length-1)}function w(M){var $=M&&M.length?this.write(M):"";if(this.lastNeed){var W=this.lastTotal-this.lastNeed;return $+this.lastChar.toString("utf16le",0,W)}return $}function x(M,$){var W=(M.length-$)%3;return W===0?M.toString("base64",$):(this.lastNeed=3-W,this.lastTotal=3,W===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",$,M.length-W))}function O(M){var $=M&&M.length?this.write(M):"";return this.lastNeed?$+this.lastChar.toString("base64",0,3-this.lastNeed):$}function j(M){return M.toString(this.encoding)}function I(M){return M&&M.length?this.write(M):""}A.I=d,d.prototype.write=function(M){if(M.length===0)return"";var $,W;if(this.lastNeed){if(($=this.fillLast(M))===void 0)return"";W=this.lastNeed,this.lastNeed=0}else W=0;return W<M.length?$?$+this.text(M,W):this.text(M,W):$||""},d.prototype.end=function($){var W=$&&$.length?this.write($):"";return this.lastNeed?W+"<22>":W},d.prototype.text=function($,W){var q=(function(Q,se,le){var Pe=se.length-1;if(Pe<le)return 0;var he=y(se[Pe]);return he>=0?(he>0&&(Q.lastNeed=he-1),he):--Pe<le||he===-2?0:(he=y(se[Pe]),he>=0?(he>0&&(Q.lastNeed=he-2),he):--Pe<le||he===-2?0:(he=y(se[Pe]),he>=0?(he>0&&(he===2?he=0:Q.lastNeed=he-3),he):0))})(this,$,W);if(!this.lastNeed)return $.toString("utf8",W);this.lastTotal=q;var U=$.length-(q-this.lastNeed);return $.copy(this.lastChar,0,U),$.toString("utf8",W,U)},d.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:m=>{m.exports=function(a){return function(c,v,d){for(var y=-1,f=Object(c),p=d(c),w=p.length;w--;){var x=p[a?w:++y];if(v(f[x],x,f)===!1)break}return c}}},83349:(m,A,a)=>{var c=a(82199),v=a(86375),d=a(37241);m.exports=function(f){return c(f,d,v)}},83488:m=>{m.exports=function(a){return a}},83693:(m,A,a)=>{var c=a(64894),v=a(40346);m.exports=function(y){return v(y)&&c(y)}},83729:m=>{m.exports=function(a,c){for(var v=-1,d=a==null?0:a.length;++v<d&&c(a[v],v,a)!==!1;);return a}},84058:(m,A,a)=>{var c=a(14792),v=a(45539)((function(d,y,f){return y=y.toLowerCase(),d+(f?c(y):y)}));m.exports=v},84195:(m,A,a)=>{var c=a(66977),v=a(38816),d=v((function(y,f){return c(y,256,void 0,void 0,void 0,f)}));m.exports=d},84247:m=>{m.exports=function(a){var c=-1,v=Array(a.size);return a.forEach((function(d){v[++c]=d})),v}},84629:m=>{m.exports={}},84851:(m,A,a)=>{m.exports=a(85401)},84977:(m,A,a)=>{Object.defineProperty(A,"__esModule",{value:!0});var c=(function(y){return y&&y.__esModule?y:{default:y}})(a(9404)),v=a(55674);A.default=function(d){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c.default.Map,f=Object.keys(d);return function(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:y(),w=arguments[1];return p.withMutations((function(x){f.forEach((function(O){var j=(0,d[O])(x.get(O),w);(0,v.validateNextState)(j,O,w),x.set(O,j)}))}))}},m.exports=A.default},85015:(m,A,a)=>{var c=a(72552),v=a(56449),d=a(40346);m.exports=function(f){return typeof f=="string"||!v(f)&&d(f)&&c(f)=="[object String]"}},85087:(m,A,a)=>{var c=a(30980),v=a(37381),d=a(62284),y=a(53758);m.exports=function(p){var w=d(p),x=y[w];if(typeof x!="function"||!(w in c.prototype))return!1;if(p===x)return!0;var O=v(x);return!!O&&p===O[0]}},85105:m=>{m.exports=class{constructor(a){this.namespace=a||new this.Namespace}serialise(a){if(!(a instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${a}\` is not an Element instance`);const c={element:a.element};a._meta&&a._meta.length>0&&(c.meta=this.serialiseObject(a.meta)),a._attributes&&a._attributes.length>0&&(c.attributes=this.serialiseObject(a.attributes));const v=this.serialiseContent(a.content);return v!==void 0&&(c.content=v),c}deserialise(a){if(!a.element)throw new Error("Given value is not an object containing an element name");const c=new(this.namespace.getElementClass(a.element));c.element!==a.element&&(c.element=a.element),a.meta&&this.deserialiseObject(a.meta,c.meta),a.attributes&&this.deserialiseObject(a.attributes,c.attributes);const v=this.deserialiseContent(a.content);return v===void 0&&c.content!==null||(c.content=v),c}serialiseContent(a){if(a instanceof this.namespace.elements.Element)return this.serialise(a);if(a instanceof this.namespace.KeyValuePair){const c={key:this.serialise(a.key)};return a.value&&(c.value=this.serialise(a.value)),c}return a&&a.map?a.length===0?void 0:a.map(this.serialise,this):a}deserialiseContent(a){if(a){if(a.element)return this.deserialise(a);if(a.key){const c=new this.namespace.KeyValuePair(this.deserialise(a.key));return a.value&&(c.value=this.deserialise(a.value)),c}if(a.map)return a.map(this.deserialise,this)}return a}serialiseObject(a){const c={};if(a.forEach(((v,d)=>{v&&(c[d.toValue()]=this.serialise(v))})),Object.keys(c).length!==0)return c}deserialiseObject(a,c){Object.keys(a).forEach((v=>{c.set(v,this.deserialise(a[v]))}))}}},85160:(m,A,a)=>{var c=a(96540);c.useSyncExternalStore,c.useRef,c.useEffect,c.useMemo,c.useDebugValue},85250:(m,A,a)=>{var c=a(37217),v=a(87805),d=a(86649),y=a(42824),f=a(23805),p=a(37241),w=a(14974);m.exports=function x(O,j,I,M,$){O!==j&&d(j,(function(W,q){if($||($=new c),f(W))y(O,j,q,I,x,M,$);else{var U=M?M(w(O,q),W,q+"",O,j,$):void 0;U===void 0&&(U=W),v(O,q,U)}}),p)}},85401:(m,A,a)=>{var c=a(462);m.exports=c},85463:m=>{m.exports=function(a){return a!=a}},85558:m=>{m.exports=function(a,c,v,d,y){return y(a,(function(f,p,w){v=d?(d=!1,f):c(v,f,p,w)})),v}},85582:(m,A,a)=>{var c=a(92046),v=a(45951),d=a(62250),y=function(f){return d(f)?f:void 0};m.exports=function(f,p){return arguments.length<2?y(c[f])||y(v[f]):c[f]&&c[f][p]||v[f]&&v[f][p]}},85587:(m,A,a)=>{var c=a(26311),v=d(Error);function d(y){return f.displayName=y.displayName||y.name,f;function f(p){return p&&(p=c.apply(null,arguments)),new y(p)}}m.exports=v,v.eval=d(EvalError),v.range=d(RangeError),v.reference=d(ReferenceError),v.syntax=d(SyntaxError),v.type=d(TypeError),v.uri=d(URIError),v.create=d},85762:(m,A,a)=>{var c=a(1907),v=Error,d=c("".replace),y=String(new v("zxcasd").stack),f=/\n\s*at [^:]*:[^\n]*/,p=f.test(y);m.exports=function(w,x){if(p&&typeof w=="string"&&!v.prepareStackTrace)for(;x--;)w=d(w,f,"");return w}},85816:(m,A,a)=>{var c=a(36128);m.exports=function(v,d){return c[v]||(c[v]=d||{})}},85884:(m,A,a)=>{var c=a(61626),v=a(85762),d=a(23888),y=Error.captureStackTrace;m.exports=function(f,p,w,x){d&&(y?y(f,p):c(f,"stack",v(w,x)))}},86009:(m,A,a)=>{m=a.nmd(m);var c=a(34840),v=A&&!A.nodeType&&A,d=v&&m&&!m.nodeType&&m,y=d&&d.exports===v&&c.process,f=(function(){try{var p=d&&d.require&&d.require("util").types;return p||y&&y.binding&&y.binding("util")}catch{}})();m.exports=f},86048:m=>{var A={};function a(v,d,y){y||(y=Error);var f=(function(p){function w(x,O,j){return p.call(this,(function(M,$,W){return typeof d=="string"?d:d(M,$,W)})(x,O,j))||this}return(function(O,j){O.prototype=Object.create(j.prototype),O.prototype.constructor=O,O.__proto__=j})(w,p),w})(y);f.prototype.name=y.name,f.prototype.code=v,A[v]=f}function c(v,d){if(Array.isArray(v)){var y=v.length;return v=v.map((function(f){return String(f)})),y>2?"one of ".concat(d," ").concat(v.slice(0,y-1).join(", "),", or ")+v[y-1]:y===2?"one of ".concat(d," ").concat(v[0]," or ").concat(v[1]):"of ".concat(d," ").concat(v[0])}return"of ".concat(d," ").concat(String(v))}a("ERR_INVALID_OPT_VALUE",(function(v,d){return'The value "'+d+'" is invalid for option "'+v+'"'}),TypeError),a("ERR_INVALID_ARG_TYPE",(function(v,d,y){var f,p;if(typeof d=="string"&&(function(O,j,I){return O.substr(0,j.length)===j})(d,"not ")?(f="must not be",d=d.replace(/^not /,"")):f="must be",(function(O,j,I){return(I===void 0||I>O.length)&&(I=O.length),O.substring(I-j.length,I)===j})(v," argument"))p="The ".concat(v," ").concat(f," ").concat(c(d,"type"));else{var w=(function(O,j,I){return typeof I!="number"&&(I=0),!(I+j.length>O.length)&&O.indexOf(j,I)!==-1})(v,".")?"property":"argument";p='The "'.concat(v,'" ').concat(w," ").concat(f," ").concat(c(d,"type"))}return p+=". Received type ".concat(typeof y)}),TypeError),a("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),a("ERR_METHOD_NOT_IMPLEMENTED",(function(v){return"The "+v+" method is not implemented"})),a("ERR_STREAM_PREMATURE_CLOSE","Premature close"),a("ERR_STREAM_DESTROYED",(function(v){return"Cannot call "+v+" after a stream was destroyed"})),a("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),a("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),a("ERR_STREAM_WRITE_AFTER_END","write after end"),a("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),a("ERR_UNKNOWN_ENCODING",(function(v){return"Unknown encoding: "+v}),TypeError),a("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),m.exports.F=A},86215:function(m,A){var a,c,v;c=[],a=(function(){var d=function(I){return I&&"getComputedStyle"in window&&window.getComputedStyle(I)["scroll-behavior"]==="smooth"};if(typeof window>"u"||!("document"in window))return{};var y=function(I,M,$){var W;M=M||999,$||$===0||($=9);var q=function(he){W=he},U=function(){clearTimeout(W),q(0)},H=function(he){return Math.max(0,I.getTopOf(he)-$)},Q=function(he,ge,Ce){if(U(),ge===0||ge&&ge<0||d(I.body))I.toY(he),Ce&&Ce();else{var Je=I.getY(),ze=Math.max(0,he)-Je,Ve=new Date().getTime();ge=ge||Math.min(Math.abs(ze),M),(function Qe(){q(setTimeout((function(){var pt=Math.min(1,(new Date().getTime()-Ve)/ge),Fe=Math.max(0,Math.floor(Je+ze*(pt<.5?2*pt*pt:pt*(4-2*pt)-1)));I.toY(Fe),pt<1&&I.getHeight()+Fe<I.body.scrollHeight?Qe():(setTimeout(U,99),Ce&&Ce())}),9))})()}},se=function(he,ge,Ce){Q(H(he),ge,Ce)},le=function(he,ge,Ce){var Je=he.getBoundingClientRect().height,ze=I.getTopOf(he)+Je,Ve=I.getHeight(),Qe=I.getY(),pt=Qe+Ve;H(he)<Qe||Je+$>Ve?se(he,ge,Ce):ze+$>pt?Q(ze-Ve+$,ge,Ce):Ce&&Ce()},Pe=function(he,ge,Ce,Je){Q(Math.max(0,I.getTopOf(he)-I.getHeight()/2+(Ce||he.getBoundingClientRect().height/2)),ge,Je)};return{setup:function(he,ge){return(he===0||he)&&(M=he),(ge===0||ge)&&($=ge),{defaultDuration:M,edgeOffset:$}},to:se,toY:Q,intoView:le,center:Pe,stop:U,moving:function(){return!!W},getY:I.getY,getTopOf:I.getTopOf}},f=document.documentElement,p=function(){return window.scrollY||f.scrollTop},w=y({body:document.scrollingElement||document.body,toY:function(I){window.scrollTo(0,I)},getY:p,getHeight:function(){return window.innerHeight||f.clientHeight},getTopOf:function(I){return I.getBoundingClientRect().top+p()-f.offsetTop}});if(w.createScroller=function(I,M,$){return y({body:I,toY:function(W){I.scrollTop=W},getY:function(){return I.scrollTop},getHeight:function(){return Math.min(I.clientHeight,window.innerHeight||f.clientHeight)},getTopOf:function(W){return W.offsetTop}},M,$)},"addEventListener"in window&&!window.noZensmooth&&!d(document.body)){var x="history"in window&&"pushState"in history,O=x&&"scrollRestoration"in history;O&&(history.scrollRestoration="auto"),window.addEventListener("load",(function(){O&&(setTimeout((function(){history.scrollRestoration="manual"}),9),window.addEventListener("popstate",(function(I){I.state&&"zenscrollY"in I.state&&w.toY(I.state.zenscrollY)}),!1)),window.location.hash&&setTimeout((function(){var I=w.setup().edgeOffset;if(I){var M=document.getElementById(window.location.href.split("#")[1]);if(M){var $=Math.max(0,w.getTopOf(M)-I),W=w.getY()-$;0<=W&&W<9&&window.scrollTo(0,$)}}}),9)}),!1);var j=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",(function(I){for(var M=I.target;M&&M.tagName!=="A";)M=M.parentNode;if(!(!M||I.which!==1||I.shiftKey||I.metaKey||I.ctrlKey||I.altKey)){if(O){var $=history.state&&typeof history.state=="object"?history.state:{};$.zenscrollY=w.getY();try{history.replaceState($,"")}catch{}}var W=M.getAttribute("href")||"";if(W.indexOf("#")===0&&!j.test(M.className)){var q=0,U=document.getElementById(W.substring(1));if(W!=="#"){if(!U)return;q=w.getTopOf(U)}I.preventDefault();var H=function(){window.location=W},Q=w.setup().edgeOffset;Q&&(q=Math.max(0,q-Q),x&&(H=function(){history.pushState({},"",W)})),w.toY(q,null,H)}}}),!1)}return w})(),(v=typeof a=="function"?a.apply(A,c):a)===void 0||(m.exports=v)},86238:(m,A,a)=>{var c=a(86048).F.ERR_STREAM_PREMATURE_CLOSE;function v(){}m.exports=function d(y,f,p){if(typeof f=="function")return d(y,null,f);f||(f={}),p=(function(Q){var se=!1;return function(){if(!se){se=!0;for(var le=arguments.length,Pe=new Array(le),he=0;he<le;he++)Pe[he]=arguments[he];Q.apply(this,Pe)}}})(p||v);var w=f.readable||f.readable!==!1&&y.readable,x=f.writable||f.writable!==!1&&y.writable,O=function(){y.writable||I()},j=y._writableState&&y._writableState.finished,I=function(){x=!1,j=!0,w||p.call(y)},M=y._readableState&&y._readableState.endEmitted,$=function(){w=!1,M=!0,x||p.call(y)},W=function(Q){p.call(y,Q)},q=function(){var Q;return w&&!M?(y._readableState&&y._readableState.ended||(Q=new c),p.call(y,Q)):x&&!j?(y._writableState&&y._writableState.ended||(Q=new c),p.call(y,Q)):void 0},U=function(){y.req.on("finish",I)};return(function(Q){return Q.setHeader&&typeof Q.abort=="function"})(y)?(y.on("complete",I),y.on("abort",q),y.req?U():y.on("request",U)):x&&!y._writableState&&(y.on("end",O),y.on("close",O)),y.on("end",$),y.on("finish",I),f.error!==!1&&y.on("error",W),y.on("close",q),function(){y.removeListener("complete",I),y.removeListener("abort",q),y.removeListener("request",U),y.req&&y.req.removeListener("finish",I),y.removeListener("end",O),y.removeListener("close",O),y.removeListener("finish",I),y.removeListener("end",$),y.removeListener("error",W),y.removeListener("close",q)}}},86303:(m,A,a)=>{const c=a(10316);m.exports=class extends c{constructor(d,y,f){super(d||[],y,f),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(d){this.attributes.set("relation",d)}get href(){return this.attributes.get("href")}set href(d){this.attributes.set("href",d)}}},86375:(m,A,a)=>{var c=a(14528),v=a(28879),d=a(4664),y=a(63345),f=Object.getOwnPropertySymbols?function(p){for(var w=[];p;)c(w,d(p)),p=v(p);return w}:y;m.exports=f},86649:(m,A,a)=>{var c=a(83221)();m.exports=c},86804:(m,A,a)=>{const c=a(10316),v=a(41067),d=a(71167),y=a(40239),f=a(12242),p=a(6233),w=a(87726),x=a(61045),O=a(86303),j=a(14540),I=a(92340),M=a(10866),$=a(55973);function W(q){return q instanceof c?q:typeof q=="string"?new d(q):typeof q=="number"?new y(q):typeof q=="boolean"?new f(q):q===null?new v:Array.isArray(q)?new p(q.map(W)):typeof q=="object"?new x(q):q}c.prototype.ObjectElement=x,c.prototype.RefElement=j,c.prototype.MemberElement=w,c.prototype.refract=W,I.prototype.refract=W,m.exports={Element:c,NullElement:v,StringElement:d,NumberElement:y,BooleanElement:f,ArrayElement:p,MemberElement:w,ObjectElement:x,LinkElement:O,RefElement:j,refract:W,ArraySlice:I,ObjectSlice:M,KeyValuePair:$}},87068:(m,A,a)=>{var c=a(37217),v=a(25911),d=a(21986),y=a(50689),f=a(5861),p=a(56449),w=a(3656),x=a(37167),O="[object Arguments]",j="[object Array]",I="[object Object]",M=Object.prototype.hasOwnProperty;m.exports=function(W,q,U,H,Q,se){var le=p(W),Pe=p(q),he=le?j:f(W),ge=Pe?j:f(q),Ce=(he=he==O?I:he)==I,Je=(ge=ge==O?I:ge)==I,ze=he==ge;if(ze&&w(W)){if(!w(q))return!1;le=!0,Ce=!1}if(ze&&!Ce)return se||(se=new c),le||x(W)?v(W,q,U,H,Q,se):d(W,q,he,U,H,Q,se);if(!(1&U)){var Ve=Ce&&M.call(W,"__wrapped__"),Qe=Je&&M.call(q,"__wrapped__");if(Ve||Qe){var pt=Ve?W.value():W,Fe=Qe?q.value():q;return se||(se=new c),Q(pt,Fe,U,H,se)}}return!!ze&&(se||(se=new c),y(W,q,U,H,Q,se))}},87136:m=>{m.exports=function(A){return A==null}},87170:(m,A)=>{A.f=Object.getOwnPropertySymbols},87296:(m,A,a)=>{var c,v=a(55481),d=(c=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"";m.exports=function(f){return!!d&&d in f}},87586:(m,A,a)=>{const c=a(6205),v=a(10023),d={0:0,t:9,n:10,v:11,f:12,r:13};A.strToChars=function(y){return y=y.replace(/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g,(function(f,p,w,x,O,j,I,M){if(w)return f;var $=p?8:x?parseInt(x,16):O?parseInt(O,16):j?parseInt(j,8):I?"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?".indexOf(I):d[M],W=String.fromCharCode($);return/[[\]{}^$.|?*+()]/.test(W)&&(W="\\"+W),W}))},A.tokenizeClass=(y,f)=>{for(var p,w,x=[],O=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g;(p=O.exec(y))!=null;)if(p[1])x.push(v.words());else if(p[2])x.push(v.ints());else if(p[3])x.push(v.whitespace());else if(p[4])x.push(v.notWords());else if(p[5])x.push(v.notInts());else if(p[6])x.push(v.notWhitespace());else if(p[7])x.push({type:c.RANGE,from:(p[8]||p[9]).charCodeAt(0),to:p[10].charCodeAt(0)});else{if(!(w=p[12]))return[x,O.lastIndex];x.push({type:c.CHAR,value:w.charCodeAt(0)})}A.error(f,"Unterminated character class")},A.error=(y,f)=>{throw new SyntaxError("Invalid regular expression: /"+y+"/: "+f)}},87726:(m,A,a)=>{const c=a(55973),v=a(10316);m.exports=class extends v{constructor(y,f,p,w){super(new c,p,w),this.element="member",this.key=y,this.value=f}get key(){return this.content.key}set key(y){this.content.key=this.refract(y)}get value(){return this.content.value}set value(y){this.content.value=this.refract(y)}}},87730:(m,A,a)=>{var c=a(29172),v=a(27301),d=a(86009),y=d&&d.isMap,f=y?v(y):c;m.exports=f},87805:(m,A,a)=>{var c=a(43360),v=a(75288);m.exports=function(y,f,p){(p!==void 0&&!v(y[f],p)||p===void 0&&!(f in y))&&c(y,f,p)}},87978:(m,A,a)=>{var c=a(60270),v=a(58156),d=a(80631),y=a(28586),f=a(30756),p=a(67197),w=a(77797);m.exports=function(O,j){return y(O)&&f(j)?p(w(O),j):function(I){var M=v(I,O);return M===void 0&&M===j?d(I,O):c(j,M,3)}}},88280:(m,A,a)=>{var c=a(1907);m.exports=c({}.isPrototypeOf)},88310:(m,A,a)=>{m.exports=v;var c=a(37007).EventEmitter;function v(){c.call(this)}a(56698)(v,c),v.Readable=a(45412),v.Writable=a(16708),v.Duplex=a(25382),v.Transform=a(74610),v.PassThrough=a(63600),v.finished=a(86238),v.pipeline=a(57758),v.Stream=v,v.prototype.pipe=function(d,y){var f=this;function p($){d.writable&&d.write($)===!1&&f.pause&&f.pause()}function w(){f.readable&&f.resume&&f.resume()}f.on("data",p),d.on("drain",w),d._isStdio||y&&y.end===!1||(f.on("end",O),f.on("close",j));var x=!1;function O(){x||(x=!0,d.end())}function j(){x||(x=!0,typeof d.destroy=="function"&&d.destroy())}function I($){if(M(),c.listenerCount(this,"error")===0)throw $}function M(){f.removeListener("data",p),d.removeListener("drain",w),f.removeListener("end",O),f.removeListener("close",j),f.removeListener("error",I),d.removeListener("error",I),f.removeListener("end",M),f.removeListener("close",M),d.removeListener("close",M)}return f.on("error",I),d.on("error",I),f.on("end",M),f.on("close",M),d.on("close",M),d.emit("pipe",f),d}},88984:(m,A,a)=>{var c=a(55527),v=a(3650),d=Object.prototype.hasOwnProperty;m.exports=function(f){if(!c(f))return v(f);var p=[];for(var w in Object(f))d.call(f,w)&&w!="constructor"&&p.push(w);return p}},89353:m=>{var A=Object.prototype.toString,a=Math.max,c=function(d,y){for(var f=[],p=0;p<d.length;p+=1)f[p]=d[p];for(var w=0;w<y.length;w+=1)f[w+d.length]=y[w];return f};m.exports=function(d){var y=this;if(typeof y!="function"||A.apply(y)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+y);for(var f,p=(function(M,$){for(var W=[],q=$,U=0;q<M.length;q+=1,U+=1)W[U]=M[q];return W})(arguments,1),w=a(0,y.length-p.length),x=[],O=0;O<w;O++)x[O]="$"+O;if(f=Function("binder","return function ("+(function(I,M){for(var $="",W=0;W<I.length;W+=1)$+=I[W],W+1<I.length&&($+=M);return $})(x,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof f){var I=y.apply(this,c(p,arguments));return Object(I)===I?I:this}return y.apply(d,c(p,arguments))})),y.prototype){var j=function(){};j.prototype=y.prototype,f.prototype=new j,j.prototype=null}return f}},89593:(m,A,a)=>{A.H=void 0;var c=(function(d){return d&&d.__esModule?d:{default:d}})(a(84977));A.H=c.default},89935:m=>{m.exports=function(){return!1}},90160:(m,A,a)=>{var c=a(73948),v=String;m.exports=function(d){if(c(d)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return v(d)}},90179:(m,A,a)=>{var c=a(34932),v=a(9999),d=a(19931),y=a(31769),f=a(21791),p=a(53138),w=a(38816),x=a(83349),O=w((function(j,I){var M={};if(j==null)return M;var $=!1;I=c(I,(function(q){return q=y(q,j),$||($=q.length>1),q})),f(j,x(j),M),$&&(M=v(M,7,p));for(var W=I.length;W--;)d(M,I[W]);return M}));m.exports=O},90181:m=>{m.exports=function(a){var c=[];if(a!=null)for(var v in Object(a))c.push(v);return c}},90289:(m,A,a)=>{var c=a(12651);m.exports=function(d){return c(this,d).get(d)}},90392:(m,A,a)=>{var c=a(92861).Buffer,v=a(15377);function d(y,f){this._block=c.alloc(y),this._finalSize=f,this._blockSize=y,this._len=0}d.prototype.update=function(y,f){y=v(y,f||"utf8");for(var p=this._block,w=this._blockSize,x=y.length,O=this._len,j=0;j<x;){for(var I=O%w,M=Math.min(x-j,w-I),$=0;$<M;$++)p[I+$]=y[j+$];j+=M,(O+=M)%w==0&&this._update(p)}return this._len+=x,this},d.prototype.digest=function(y){var f=this._len%this._blockSize;this._block[f]=128,this._block.fill(0,f+1),f>=this._finalSize&&(this._update(this._block),this._block.fill(0));var p=8*this._len;if(p<=4294967295)this._block.writeUInt32BE(p,this._blockSize-4);else{var w=(4294967295&p)>>>0,x=(p-w)/4294967296;this._block.writeUInt32BE(x,this._blockSize-8),this._block.writeUInt32BE(w,this._blockSize-4)}this._update(this._block);var O=this._hash();return y?O.toString(y):O},d.prototype._update=function(){throw new Error("_update must be implemented by subclass")},m.exports=d},90916:(m,A,a)=>{var c=a(80909);m.exports=function(d,y){var f;return c(d,(function(p,w,x){return!(f=y(p,w,x))})),!!f}},90938:m=>{m.exports=function(a){var c=this.__data__,v=c.delete(a);return this.size=c.size,v}},91033:m=>{m.exports=function(a,c,v){switch(v.length){case 0:return a.call(c);case 1:return a.call(c,v[0]);case 2:return a.call(c,v[0],v[1]);case 3:return a.call(c,v[0],v[1],v[2])}return a.apply(c,v)}},91596:m=>{var A=Math.max;m.exports=function(c,v,d,y){for(var f=-1,p=c.length,w=d.length,x=-1,O=v.length,j=A(p-w,0),I=Array(O+j),M=!y;++x<O;)I[x]=v[x];for(;++f<w;)(M||f<p)&&(I[d[f]]=c[f]);for(;j--;)I[x++]=c[f++];return I}},91599:(m,A,a)=>{a(64502)},92046:m=>{m.exports={}},92063:m=>{m.exports=function(a,c){if(c=c.split(":")[0],!(a=+a))return!1;switch(c){case"http":case"ws":return a!==80;case"https":case"wss":return a!==443;case"ftp":return a!==21;case"gopher":return a!==70;case"file":return!1}return a!==0}},92271:(m,A,a)=>{var c=a(21791),v=a(4664);m.exports=function(y,f){return c(y,v(y),f)}},92340:(m,A,a)=>{const c=a(6048);function v(y){return typeof y=="string"?f=>f.element===y:y.constructor&&y.extend?f=>f instanceof y:y}class d{constructor(f){this.elements=f||[]}toValue(){return this.elements.map((f=>f.toValue()))}map(f,p){return this.elements.map(f,p)}flatMap(f,p){return this.map(f,p).reduce(((w,x)=>w.concat(x)),[])}compactMap(f,p){const w=[];return this.forEach((x=>{const O=f.bind(p)(x);O&&w.push(O)})),w}filter(f,p){return f=v(f),new d(this.elements.filter(f,p))}reject(f,p){return f=v(f),new d(this.elements.filter(c(f),p))}find(f,p){return f=v(f),this.elements.find(f,p)}forEach(f,p){this.elements.forEach(f,p)}reduce(f,p){return this.elements.reduce(f,p)}includes(f){return this.elements.some((p=>p.equals(f)))}shift(){return this.elements.shift()}unshift(f){this.elements.unshift(this.refract(f))}push(f){return this.elements.push(this.refract(f)),this}add(f){this.push(f)}get(f){return this.elements[f]}getValue(f){const p=this.elements[f];if(p)return p.toValue()}get length(){return this.elements.length}get isEmpty(){return this.elements.length===0}get first(){return this.elements[0]}}typeof Symbol<"u"&&(d.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),m.exports=d},92361:(m,A,a)=>{var c=a(45807),v=a(1907);m.exports=function(d){if(c(d)==="Function")return v(d)}},92522:(m,A,a)=>{var c=a(85816),v=a(6499),d=c("keys");m.exports=function(y){return d[y]||(d[y]=v(y))}},92861:(m,A,a)=>{var c=a(48287),v=c.Buffer;function d(f,p){for(var w in f)p[w]=f[w]}function y(f,p,w){return v(f,p,w)}v.from&&v.alloc&&v.allocUnsafe&&v.allocUnsafeSlow?m.exports=c:(d(c,A),A.Buffer=y),y.prototype=Object.create(v.prototype),d(v,y),y.from=function(f,p,w){if(typeof f=="number")throw new TypeError("Argument must not be a number");return v(f,p,w)},y.alloc=function(f,p,w){if(typeof f!="number")throw new TypeError("Argument must be a number");var x=v(f);return p!==void 0?typeof w=="string"?x.fill(p,w):x.fill(p):x.fill(0),x},y.allocUnsafe=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return v(f)},y.allocUnsafeSlow=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return c.SlowBuffer(f)}},93243:(m,A,a)=>{var c=a(56110),v=(function(){try{var d=c(Object,"defineProperty");return d({},"",{}),d}catch{}})();m.exports=v},93290:(m,A,a)=>{m=a.nmd(m);var c=a(9325),v=A&&!A.nodeType&&A,d=v&&m&&!m.nodeType&&m,y=d&&d.exports===v?c.Buffer:void 0,f=y?y.allocUnsafe:void 0;m.exports=function(w,x){if(x)return w.slice();var O=w.length,j=f?f(O):new w.constructor(O);return w.copy(j),j}},93427:(m,A,a)=>{var c=a(1907);m.exports=c([].slice)},93628:(m,A,a)=>{var c=a(48648),v=a(71064),d=a(7176);m.exports=c?function(f){return c(f)}:v?function(f){if(!f||typeof f!="object"&&typeof f!="function")throw new TypeError("getProto: not an object");return v(f)}:d?function(f){return d(f)}:null},93663:(m,A,a)=>{var c=a(41799),v=a(10776),d=a(67197);m.exports=function(f){var p=v(f);return p.length==1&&p[0][2]?d(p[0][0],p[0][1]):function(w){return w===f||c(w,f,p)}}},93700:(m,A,a)=>{var c=a(19709);m.exports=c},93736:(m,A,a)=>{var c=a(51873),v=c?c.prototype:void 0,d=v?v.valueOf:void 0;m.exports=function(f){return d?Object(d.call(f)):{}}},93742:m=>{m.exports={}},94033:m=>{m.exports=function(){}},94459:m=>{m.exports=Number.isNaN||function(a){return a!=a}},94643:(m,A,a)=>{function c(v){try{if(!a.g.localStorage)return!1}catch{return!1}var d=a.g.localStorage[v];return d!=null&&String(d).toLowerCase()==="true"}m.exports=function(d,y){if(c("noDeprecation"))return d;var f=!1;return function(){if(!f){if(c("throwDeprecation"))throw new Error(y);c("traceDeprecation")?console.trace(y):console.warn(y),f=!0}return d.apply(this,arguments)}}},95089:m=>{const A="[A-Za-z$_][0-9A-Za-z$_]*",a=["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"],c=["true","false","null","undefined","NaN","Infinity"],v=[].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 d(f){return y("(?=",f,")")}function y(...f){return f.map((p=>(function(x){return x?typeof x=="string"?x:x.source:null})(p))).join("")}m.exports=function(p){const w=A,x="<>",O="</>",j={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Je,ze)=>{const Ve=Je[0].length+Je.index,Qe=Je.input[Ve];Qe!=="<"?Qe===">"&&(((pt,{after:Fe})=>{const g="</"+pt[0].slice(1);return pt.input.indexOf(g,Fe)!==-1})(Je,{after:Ve})||ze.ignoreMatch()):ze.ignoreMatch()}},I={$pattern:A,keyword:a,literal:c,built_in:v},M="[0-9](_?[0-9])*",$=`\\.(${M})`,W="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",q={className:"number",variants:[{begin:`(\\b(${W})((${$})|\\.)?|(${$}))[eE][+-]?(${M})\\b`},{begin:`\\b(${W})\\b((${$})\\b|\\.)?|(${$})\\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},U={className:"subst",begin:"\\$\\{",end:"\\}",keywords:I,contains:[]},H={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[p.BACKSLASH_ESCAPE,U],subLanguage:"xml"}},Q={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[p.BACKSLASH_ESCAPE,U],subLanguage:"css"}},se={className:"string",begin:"`",end:"`",contains:[p.BACKSLASH_ESCAPE,U]},le={className:"comment",variants:[p.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:w+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),p.C_BLOCK_COMMENT_MODE,p.C_LINE_COMMENT_MODE]},Pe=[p.APOS_STRING_MODE,p.QUOTE_STRING_MODE,H,Q,se,q,p.REGEXP_MODE];U.contains=Pe.concat({begin:/\{/,end:/\}/,keywords:I,contains:["self"].concat(Pe)});const he=[].concat(le,U.contains),ge=he.concat([{begin:/\(/,end:/\)/,keywords:I,contains:["self"].concat(he)}]),Ce={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:I,contains:ge};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:I,exports:{PARAMS_CONTAINS:ge},illegal:/#(?![$_A-z])/,contains:[p.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},p.APOS_STRING_MODE,p.QUOTE_STRING_MODE,H,Q,se,le,q,{begin:y(/[{,\n]\s*/,d(y(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,w+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:w+d("\\s*:"),relevance:0}]},{begin:"("+p.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[le,p.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+p.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:p.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:I,contains:ge}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:x,end:O},{begin:j.begin,"on:begin":j.isTrulyOpeningTag,end:j.end}],subLanguage:"xml",contains:[{begin:j.begin,end:j.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:I,contains:["self",p.inherit(p.TITLE_MODE,{begin:w}),Ce],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:p.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[Ce,p.inherit(p.TITLE_MODE,{begin:w})]},{variants:[{begin:"\\."+w},{begin:"\\$"+w}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},p.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[p.inherit(p.TITLE_MODE,{begin:w}),"self",Ce]},{begin:"(get|set)\\s+(?="+w+"\\()",end:/\{/,keywords:"get set",contains:[p.inherit(p.TITLE_MODE,{begin:w}),{begin:/\(\)/},Ce]},{begin:/\$[(.]/}]}}},95116:(m,A,a)=>{var c,v,d,y=a(98828),f=a(62250),p=a(46285),w=a(58075),x=a(15972),O=a(68055),j=a(76264),I=a(7376),M=j("iterator"),$=!1;[].keys&&("next"in(d=[].keys())?(v=x(x(d)))!==Object.prototype&&(c=v):$=!0),!p(c)||y((function(){var W={};return c[M].call(W)!==W}))?c={}:I&&(c=w(c)),f(c[M])||O(c,M,(function(){return this})),m.exports={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:$}},95950:(m,A,a)=>{var c=a(70695),v=a(88984),d=a(64894);m.exports=function(f){return d(f)?c(f):v(f)}},96131:(m,A,a)=>{var c=a(2523),v=a(85463),d=a(76959);m.exports=function(f,p,w){return p==p?d(f,p,w):c(f,v,w)}},96540:(m,A,a)=>{m.exports=a(15287)},96605:(m,A,a)=>{var c=a(11091),v=a(45951),d=a(76024),y=a(19358),f="WebAssembly",p=v[f],w=new Error("e",{cause:7}).cause!==7,x=function(j,I){var M={};M[j]=y(j,I,w),c({global:!0,constructor:!0,arity:1,forced:w},M)},O=function(j,I){if(p&&p[j]){var M={};M[j]=y(f+"."+j,I,w),c({target:f,stat:!0,constructor:!0,arity:1,forced:w},M)}};x("Error",(function(j){return function(M){return d(j,this,arguments)}})),x("EvalError",(function(j){return function(M){return d(j,this,arguments)}})),x("RangeError",(function(j){return function(M){return d(j,this,arguments)}})),x("ReferenceError",(function(j){return function(M){return d(j,this,arguments)}})),x("SyntaxError",(function(j){return function(M){return d(j,this,arguments)}})),x("TypeError",(function(j){return function(M){return d(j,this,arguments)}})),x("URIError",(function(j){return function(M){return d(j,this,arguments)}})),O("CompileError",(function(j){return function(M){return d(j,this,arguments)}})),O("LinkError",(function(j){return function(M){return d(j,this,arguments)}})),O("RuntimeError",(function(j){return function(M){return d(j,this,arguments)}}))},96794:(m,A,a)=>{var c=a(45951).navigator,v=c&&c.userAgent;m.exports=v?String(v):""},96897:(m,A,a)=>{var c=a(70453),v=a(30041),d=a(30592)(),y=a(75795),f=a(69675),p=c("%Math.floor%");m.exports=function(x,O){if(typeof x!="function")throw new f("`fn` is not a function");if(typeof O!="number"||O<0||O>4294967295||p(O)!==O)throw new f("`length` must be a positive 32-bit integer");var j=arguments.length>2&&!!arguments[2],I=!0,M=!0;if("length"in x&&y){var $=y(x,"length");$&&!$.configurable&&(I=!1),$&&!$.writable&&(M=!1)}return(I||M||!j)&&(d?v(x,"length",O,!0,!0):v(x,"length",O)),x}},98023:(m,A,a)=>{var c=a(72552),v=a(40346);m.exports=function(y){return typeof y=="number"||v(y)&&c(y)=="[object Number]"}},98828:m=>{m.exports=function(A){try{return!!A()}catch{return!0}}},99363:(m,A,a)=>{var c=a(4993),v=a(42156),d=a(93742),y=a(64932),f=a(74284).f,p=a(60183),w=a(59550),x=a(7376),O=a(39447),j="Array Iterator",I=y.set,M=y.getterFor(j);m.exports=p(Array,"Array",(function(W,q){I(this,{type:j,target:c(W),index:0,kind:q})}),(function(){var W=M(this),q=W.target,U=W.index++;if(!q||U>=q.length)return W.target=null,w(void 0,!0);switch(W.kind){case"keys":return w(U,!1);case"values":return w(q[U],!1)}return w([U,q[U]],!1)}),"values");var $=d.Arguments=d.Array;if(v("keys"),v("values"),v("entries"),!x&&O&&$.name!=="values")try{f($,"name",{value:"values"})}catch{}},99374:(m,A,a)=>{var c=a(54128),v=a(23805),d=a(44394),y=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,w=parseInt;m.exports=function(O){if(typeof O=="number")return O;if(d(O))return NaN;if(v(O)){var j=typeof O.valueOf=="function"?O.valueOf():O;O=v(j)?j+"":j}if(typeof O!="string")return O===0?O:+O;O=c(O);var I=f.test(O);return I||p.test(O)?w(O.slice(2),I?2:8):y.test(O)?NaN:+O}}},gu={};function qe(m){var A=gu[m];if(A!==void 0)return A.exports;var a=gu[m]={id:m,loaded:!1,exports:{}};return Qf[m].call(a.exports,a,a.exports,qe),a.loaded=!0,a.exports}qe.n=m=>{var A=m&&m.__esModule?()=>m.default:()=>m;return qe.d(A,{a:A}),A},qe.d=(m,A)=>{for(var a in A)qe.o(A,a)&&!qe.o(m,a)&&Object.defineProperty(m,a,{enumerable:!0,get:A[a]})},qe.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),qe.o=(m,A)=>Object.prototype.hasOwnProperty.call(m,A),qe.r=m=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},qe.nmd=m=>(m.paths=[],m.children||(m.children=[]),m);var yu={};return(()=>{qe.d(yu,{default:()=>IU});var m={};qe.r(m),qe.d(m,{CLEAR:()=>C,CLEAR_BY:()=>N,NEW_AUTH_ERR:()=>Y,NEW_SPEC_ERR:()=>ht,NEW_SPEC_ERR_BATCH:()=>Lt,NEW_THROWN_ERR:()=>Mt,NEW_THROWN_ERR_BATCH:()=>_t,clear:()=>St,clearBy:()=>ut,newAuthErr:()=>Ze,newSpecErr:()=>ce,newSpecErrBatch:()=>be,newThrownErr:()=>J,newThrownErrBatch:()=>ne});var A={};qe.r(A),qe.d(A,{AUTHORIZE:()=>Io,AUTHORIZE_OAUTH2:()=>fn,CONFIGURE_AUTH:()=>Di,LOGOUT:()=>di,RESTORE_AUTHORIZATION:()=>vs,SHOW_AUTH_POPUP:()=>hi,authPopup:()=>Va,authorize:()=>_l,authorizeAccessCodeWithBasicAuthentication:()=>Eo,authorizeAccessCodeWithFormParams:()=>Ca,authorizeApplication:()=>gi,authorizeOauth2:()=>en,authorizeOauth2WithPersistOption:()=>Ln,authorizePassword:()=>wo,authorizeRequest:()=>Uo,authorizeWithPersistOption:()=>wl,configureAuth:()=>Fi,logout:()=>Pr,logoutWithPersistOption:()=>Bi,persistAuthorizationIfNeeded:()=>Si,preAuthorizeImplicit:()=>mi,restoreAuthorization:()=>Li,showDefinitions:()=>zs});var a={};qe.r(a),qe.d(a,{authorized:()=>Ui,definitionsForRequirements:()=>$i,definitionsToAuthorize:()=>co,getConfigs:()=>bs,getDefinitionsByNames:()=>os,isAuthorized:()=>qi,selectAuthPath:()=>ja,shownDefinitions:()=>ro});var c={};qe.r(c),qe.d(c,{TOGGLE_CONFIGS:()=>wu,UPDATE_CONFIGS:()=>zo,downloadConfig:()=>Km,getConfigByUrl:()=>Gs,loaded:()=>wp,toggle:()=>Hm,update:()=>Jm});var v={};qe.r(v),qe.d(v,{get:()=>Ep});var d={};qe.r(d),qe.d(d,{transform:()=>ph});var y={};qe.r(y),qe.d(y,{transform:()=>Sa});var f={};qe.r(f),qe.d(f,{allErrors:()=>xp,lastError:()=>fh});var p={};qe.r(p),qe.d(p,{SHOW:()=>ku,UPDATE_FILTER:()=>jl,UPDATE_LAYOUT:()=>zc,UPDATE_MODE:()=>Ou,changeMode:()=>Gi,show:()=>Vc,updateFilter:()=>gh,updateLayout:()=>mh});var w={};qe.r(w),qe.d(w,{current:()=>yh,currentFilter:()=>Qm,isShown:()=>As,showSummary:()=>vh,whatMode:()=>Il});var x={};qe.r(x),qe.d(x,{taggedOperations:()=>eg});var O={};qe.r(O),qe.d(O,{getActiveLanguage:()=>$a,getDefaultExpanded:()=>kp,getGenerators:()=>wh,getSnippetGenerators:()=>Eh});var j={};qe.r(j),qe.d(j,{JsonSchemaArrayItemFile:()=>Mh,JsonSchemaArrayItemText:()=>Nh,JsonSchemaForm:()=>V0,JsonSchema_array:()=>fg,JsonSchema_boolean:()=>Np,JsonSchema_object:()=>H0,JsonSchema_string:()=>W0});var I={};qe.r(I),qe.d(I,{allowTryItOutFor:()=>Ao,basePath:()=>el,canExecuteScheme:()=>Dl,consumes:()=>ps,consumesOptionsFor:()=>Zp,contentTypeValues:()=>Qh,currentProducesFor:()=>vc,definitions:()=>jg,externalDocs:()=>Ag,findDefinition:()=>Cs,getOAS3RequiredRequestBodyContentType:()=>Qp,getParameter:()=>yc,hasHost:()=>Gp,host:()=>Z0,info:()=>Wp,isMediaTypeSchemaPropertiesEqual:()=>$u,isOAS3:()=>Vp,lastError:()=>Ko,mutatedRequestFor:()=>Za,mutatedRequests:()=>Ii,operationScheme:()=>Xp,operationWithMeta:()=>Yc,operations:()=>Mo,operationsWithRootInherited:()=>Yh,operationsWithTags:()=>Xh,parameterInclusionSettingFor:()=>gc,parameterValues:()=>Yp,parameterWithMeta:()=>oo,parameterWithMetaByIdentity:()=>Go,parametersIncludeIn:()=>Fu,parametersIncludeType:()=>Yo,paths:()=>Jp,produces:()=>Qs,producesOptionsFor:()=>Rl,requestFor:()=>ho,requests:()=>Kp,responseFor:()=>qn,responses:()=>Bu,schemes:()=>Ig,security:()=>kg,securityDefinitions:()=>Cg,semver:()=>Og,spec:()=>fo,specJS:()=>Y0,specJson:()=>po,specJsonWithResolvedSubtrees:()=>Qi,specResolved:()=>wr,specResolvedSubtree:()=>Gc,specSource:()=>zp,specStr:()=>G0,tagDetails:()=>Zh,taggedOperations:()=>X0,tags:()=>Hp,url:()=>K0,validOperationMethods:()=>Gh,validateBeforeExecute:()=>Bl,validationErrors:()=>Lu,version:()=>Kh});var M={};qe.r(M),qe.d(M,{CLEAR_REQUEST:()=>td,CLEAR_RESPONSE:()=>Xc,CLEAR_VALIDATE_PARAMS:()=>rd,LOG_REQUEST:()=>sf,SET_MUTATED_REQUEST:()=>of,SET_REQUEST:()=>af,SET_RESPONSE:()=>rl,SET_SCHEME:()=>Ll,UPDATE_EMPTY_PARAM_INCLUSION:()=>tl,UPDATE_JSON:()=>nf,UPDATE_OPERATION_META_VALUE:()=>zu,UPDATE_PARAM:()=>Zc,UPDATE_RESOLVED:()=>lf,UPDATE_RESOLVED_SUBTREE:()=>nl,UPDATE_SPEC:()=>Uu,UPDATE_URL:()=>js,VALIDATE_PARAMS:()=>qu,changeConsumesValue:()=>Mg,changeParam:()=>cf,changeParamByIdentity:()=>bc,changeProducesValue:()=>Rg,clearRequest:()=>ud,clearResponse:()=>hf,clearValidateParams:()=>sd,execute:()=>cd,executeRequest:()=>Bg,invalidateResolvedSubtreeCache:()=>od,logRequest:()=>ld,parseToJson:()=>tv,requestResolvedSubtree:()=>$l,resolveSpec:()=>rv,setMutatedRequest:()=>Dg,setRequest:()=>ff,setResponse:()=>pf,setScheme:()=>df,updateEmptyParamInclusion:()=>nv,updateJsonSpec:()=>ev,updateResolved:()=>Q0,updateResolvedSubtree:()=>uf,updateSpec:()=>Ua,updateUrl:()=>Ng,validateParams:()=>id});var $={};qe.r($),qe.d($,{executeRequest:()=>Vu,updateJsonSpec:()=>av,updateSpec:()=>mf,validateParams:()=>ov});var W={};qe.r(W),qe.d(W,{JsonPatchError:()=>ct,_areEquals:()=>qr,applyOperation:()=>ot,applyPatch:()=>He,applyReducer:()=>gt,deepClone:()=>Ot,getValueByPointer:()=>Nt,validate:()=>sr,validator:()=>Pt});var q={};qe.r(q),qe.d(q,{compare:()=>Ju,generate:()=>ua,observe:()=>$n,unobserve:()=>Mn});var U={};qe.r(U),qe.d(U,{hasElementSourceMap:()=>xd,includesClasses:()=>xf,includesSymbols:()=>P6,isAnnotationElement:()=>j6,isArrayElement:()=>ni,isBooleanElement:()=>Sd,isCommentElement:()=>I6,isElement:()=>io,isLinkElement:()=>G_,isMemberElement:()=>ll,isNullElement:()=>Jv,isNumberElement:()=>Wv,isObjectElement:()=>Vn,isParseResultElement:()=>Z_,isPrimitiveElement:()=>Qu,isRefElement:()=>Y_,isSourceMapElement:()=>X_,isStringElement:()=>Gr});var H={};qe.r(H),qe.d(H,{isJSONReferenceElement:()=>Qv,isJSONSchemaElement:()=>Iw,isLinkDescriptionElement:()=>ok,isMediaElement:()=>Pw});var Q={};qe.r(Q),qe.d(Q,{isBooleanJsonSchemaElement:()=>tC,isCallbackElement:()=>$5,isComponentsElement:()=>U5,isContactElement:()=>q5,isDiscriminatorElement:()=>iC,isExampleElement:()=>z5,isExternalDocumentationElement:()=>V5,isHeaderElement:()=>Tf,isInfoElement:()=>W5,isLicenseElement:()=>J5,isLinkElement:()=>H5,isMediaTypeElement:()=>jy,isOpenApi3_0Element:()=>G5,isOpenapiElement:()=>K5,isOperationElement:()=>Lw,isParameterElement:()=>Y5,isPathItemElement:()=>ib,isPathsElement:()=>Z5,isReferenceElement:()=>ya,isRequestBodyElement:()=>X5,isResponseElement:()=>Cy,isResponsesElement:()=>Q5,isSchemaElement:()=>eC,isSecurityRequirementElement:()=>rC,isSecuritySchemeElement:()=>nC,isServerElement:()=>aC,isServerVariableElement:()=>oC,isServersElement:()=>$w});var se={};qe.r(se),qe.d(se,{isJSONReferenceElement:()=>Qv,isJSONSchemaElement:()=>p9,isLinkDescriptionElement:()=>f9,isMediaElement:()=>Pw});var le={};qe.r(le),qe.d(le,{isJSONReferenceElement:()=>Qv,isJSONSchemaElement:()=>v9,isLinkDescriptionElement:()=>b9});var Pe={};qe.r(Pe),qe.d(Pe,{isJSONSchemaElement:()=>B9,isLinkDescriptionElement:()=>F9});var he={};qe.r(he),qe.d(he,{isJSONSchemaElement:()=>J9,isLinkDescriptionElement:()=>H9});var ge={};qe.r(ge),qe.d(ge,{isBooleanJsonSchemaElement:()=>Kb,isCallbackElement:()=>C7,isComponentsElement:()=>j7,isContactElement:()=>I7,isExampleElement:()=>P7,isExternalDocumentationElement:()=>T7,isHeaderElement:()=>N7,isInfoElement:()=>M7,isJsonSchemaDialectElement:()=>bE,isLicenseElement:()=>R7,isLinkElement:()=>D7,isMediaTypeElement:()=>G7,isOpenApi3_1Element:()=>_E,isOpenapiElement:()=>B7,isOperationElement:()=>wE,isParameterElement:()=>F7,isPathItemElement:()=>np,isPathItemElementExternal:()=>L7,isPathsElement:()=>$7,isReferenceElement:()=>ap,isReferenceElementExternal:()=>U7,isRequestBodyElement:()=>q7,isResponseElement:()=>z7,isResponsesElement:()=>V7,isSchemaElement:()=>pl,isSecurityRequirementElement:()=>W7,isSecuritySchemeElement:()=>J7,isServerElement:()=>H7,isServerVariableElement:()=>K7});var Ce={};qe.r(Ce),qe.d(Ce,{cookie:()=>$T,header:()=>LT,path:()=>DT,query:()=>BT});var Je={};qe.r(Je),qe.d(Je,{Button:()=>_R,Col:()=>vR,Collapse:()=>xR,Container:()=>yR,Input:()=>ER,Link:()=>WS,Row:()=>bR,Select:()=>SR,TextArea:()=>wR});var ze={};qe.r(ze),qe.d(ze,{basePath:()=>$B,consumes:()=>UB,definitions:()=>RB,findDefinition:()=>MB,hasHost:()=>DB,host:()=>LB,produces:()=>qB,schemes:()=>zB,securityDefinitions:()=>BB,validOperationMethods:()=>FB});var Ve={};qe.r(Ve),qe.d(Ve,{definitionsToAuthorize:()=>VB});var Qe={};qe.r(Qe),qe.d(Qe,{callbacksOperations:()=>ZB,findSchema:()=>YB,isOAS3:()=>KB,isOAS30:()=>HB,isSwagger2:()=>JB,servers:()=>GB});var pt={};qe.r(pt),qe.d(pt,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:()=>v0,CLEAR_REQUEST_BODY_VALUE:()=>d2,SET_REQUEST_BODY_VALIDATE_ERROR:()=>h2,UPDATE_ACTIVE_EXAMPLES_MEMBER:()=>c2,UPDATE_REQUEST_BODY_INCLUSION:()=>l2,UPDATE_REQUEST_BODY_VALUE:()=>i2,UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:()=>s2,UPDATE_REQUEST_CONTENT_TYPE:()=>u2,UPDATE_RESPONSE_CONTENT_TYPE:()=>p2,UPDATE_SELECTED_SERVER:()=>o2,UPDATE_SERVER_VARIABLE_VALUE:()=>f2,clearRequestBodyValidateError:()=>AF,clearRequestBodyValue:()=>kF,initRequestBodyValidateError:()=>OF,setActiveExamplesMember:()=>_F,setRequestBodyInclusion:()=>bF,setRequestBodyValidateError:()=>xF,setRequestBodyValue:()=>yF,setRequestContentType:()=>wF,setResponseContentType:()=>EF,setRetainRequestBodyValueFlag:()=>vF,setSelectedServer:()=>gF,setServerVariableValue:()=>SF});var Fe={};qe.r(Fe),qe.d(Fe,{activeExamplesMember:()=>BF,hasUserEditedBody:()=>MF,requestBodyErrors:()=>DF,requestBodyInclusionSetting:()=>RF,requestBodyValue:()=>PF,requestContentType:()=>FF,responseContentType:()=>LF,selectDefaultRequestBodyValue:()=>NF,selectedServer:()=>IF,serverEffectiveValue:()=>qF,serverVariableValue:()=>$F,serverVariables:()=>UF,shouldRetainRequestBodyValue:()=>TF,validOperationMethods:()=>WF,validateBeforeExecute:()=>zF,validateShallowRequired:()=>VF});var g=qe(96540);function it(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 Ye=typeof Symbol=="function"&&Symbol.observable||"@@observable",ue=()=>Math.random().toString(36).substring(7).split("").join("."),Te={INIT:`@@redux/INIT${ue()}`,REPLACE:`@@redux/REPLACE${ue()}`};function et(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 ft(t,e,r){if(typeof t!="function")throw new Error(it(2));if(typeof e=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(it(0));if(typeof e=="function"&&r===void 0&&(r=e,e=void 0),r!==void 0){if(typeof r!="function")throw new Error(it(1));return r(ft)(t,e)}let n=t,o=e,s=new Map,b=s,h=0,E=!1;function k(){b===s&&(b=new Map,s.forEach(((z,X)=>{b.set(X,z)})))}function T(){if(E)throw new Error(it(3));return o}function R(z){if(typeof z!="function")throw new Error(it(4));if(E)throw new Error(it(5));let X=!0;k();const Z=h++;return b.set(Z,z),function(){if(X){if(E)throw new Error(it(6));X=!1,k(),b.delete(Z),s=null}}}function F(z){if(!et(z))throw new Error(it(7));if(z.type===void 0)throw new Error(it(8));if(typeof z.type!="string")throw new Error(it(17));if(E)throw new Error(it(9));try{E=!0,o=n(o,z)}finally{E=!1}return(s=b).forEach((X=>{X()})),z}return F({type:Te.INIT}),{dispatch:F,subscribe:R,getState:T,replaceReducer:function(X){if(typeof X!="function")throw new Error(it(10));n=X,F({type:Te.REPLACE})},[Ye]:function(){const X=R;return{subscribe(Z){if(typeof Z!="object"||Z===null)throw new Error(it(11));function te(){const ae=Z;ae.next&&ae.next(T())}return te(),{unsubscribe:X(te)}},[Ye](){return this}}}}}function Ke(t,e){return function(...r){return e(t.apply(this,r))}}function dt(...t){return t.length===0?e=>e:t.length===1?t[0]:t.reduce(((e,r)=>(...n)=>e(r(...n))))}var ee=qe(9404),_e=qe.n(ee),nt=qe(81919),st=qe.n(nt),Ut=qe(89593),qt=qe(20334),lt=qe(55364),xt=qe.n(lt);const Mt="err_new_thrown_err",_t="err_new_thrown_err_batch",ht="err_new_spec_err",Lt="err_new_spec_err_batch",Y="err_new_auth_err",C="err_clear",N="err_clear_by";function J(t){return{type:Mt,payload:(0,qt.serializeError)(t)}}function ne(t){return{type:_t,payload:t}}function ce(t){return{type:ht,payload:t}}function be(t){return{type:Lt,payload:t}}function Ze(t){return{type:Y,payload:t}}function St(t={}){return{type:C,payload:t}}function ut(t=()=>!0){return{type:N,payload:t}}const yt=(function(){var e={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if(typeof window>"u")return e;try{e=window;for(var r of["File","Blob","FormData"])r in window&&(e[r]=window[r])}catch(n){console.error(n)}return e})();qe(84058),qe(55808);var kt=qe(50104),Fr=qe.n(kt),Ur=qe(7309),bn=qe.n(Ur),Xr=qe(42426),kn=qe.n(Xr),_a=qe(75288),xr=qe.n(_a),mn=qe(1882),Vr=qe.n(mn),Oa=qe(2205),Qr=qe.n(Oa),_n=qe(53209),Zn=qe.n(_n),Da=qe(62802),za=qe.n(Da);const tr=_e().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function br(t,{isOAS3:e}={}){if(!_e().Map.isMap(t))return{schema:_e().Map(),parameterContentMediaType:null};if(!e)return t.get("in")==="body"?{schema:t.get("schema",_e().Map()),parameterContentMediaType:null}:{schema:t.filter(((r,n)=>tr.includes(n))),parameterContentMediaType:null};if(t.get("content")){const r=t.get("content",_e().Map({})).keySeq().first();return{schema:t.getIn(["content",r,"schema"],_e().Map()),parameterContentMediaType:r}}return{schema:t.get("schema")?t.get("schema",_e().Map()):_e().Map(),parameterContentMediaType:null}}var Ar=qe(48287).Buffer;const Wr="default",Lr=t=>_e().Iterable.isIterable(t),Xn=t=>Lr(t)?t.toJS():t;function wn(t){return ea(t)?Xn(t):{}}function pn(t){if(Lr(t)||t instanceof yt.File||!ea(t))return t;if(Array.isArray(t))return _e().Seq(t).map(pn).toList();if(Vr()(t.entries)){const e=(function(n){if(!Vr()(n.entries))return n;const o={},s="_**[]",b={};for(let h of n.entries())o[h[0]]||b[h[0]]&&b[h[0]].containsMultiple?(b[h[0]]||(b[h[0]]={containsMultiple:!0,length:1},o[`${h[0]}${s}${b[h[0]].length}`]=o[h[0]],delete o[h[0]]),b[h[0]].length+=1,o[`${h[0]}${s}${b[h[0]].length}`]=h[1]):o[h[0]]=h[1];return o})(t);return _e().OrderedMap(e).map(pn)}return _e().OrderedMap(t).map(pn)}function Dn(t){return Array.isArray(t)?t:[t]}function nn(t){return typeof t=="function"}function ea(t){return!!t&&typeof t=="object"}function aa(t){return typeof t=="function"}function oa(t){return Array.isArray(t)}const $o=Fr();function Ka(t,e){return Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n),r)),{})}function ka(t,e){return Object.keys(t).reduce(((r,n)=>{let o=e(t[n],n);return o&&typeof o=="object"&&Object.assign(r,o),r}),{})}function kr(t){return({dispatch:e,getState:r})=>n=>o=>typeof o=="function"?o(t()):n(o)}function an(t,e,r,n,o){if(!e)return[];let s=[],b=e.get("nullable"),h=e.get("required"),E=e.get("maximum"),k=e.get("minimum"),T=e.get("type"),R=e.get("format"),F=e.get("maxLength"),z=e.get("minLength"),X=e.get("uniqueItems"),Z=e.get("maxItems"),te=e.get("minItems"),ae=e.get("pattern");const K=r||h===!0,Ae=t!=null,fe=K||Ae&&T==="array"||!(!K&&!Ae),me=b&&t===null;if(K&&!Ae&&!me&&!n&&!T)return s.push("Required field is not provided"),s;if(me||!T||!fe)return[];let xe=T==="string"&&t,Se=T==="array"&&Array.isArray(t)&&t.length,Me=T==="array"&&_e().List.isList(t)&&t.count();const Ne=[xe,Se,Me,T==="array"&&typeof t=="string"&&t,T==="file"&&t instanceof yt.File,T==="boolean"&&(t||t===!1),T==="number"&&(t||t===0),T==="integer"&&(t||t===0),T==="object"&&typeof t=="object"&&t!==null,T==="object"&&typeof t=="string"&&t].some((we=>!!we));if(K&&!Ne&&!n)return s.push("Required field is not provided"),s;if(T==="object"&&(o===null||o==="application/json")){let we=t;if(typeof t=="string")try{we=JSON.parse(t)}catch{return s.push("Parameter string value must be valid JSON"),s}e&&e.has("required")&&aa(h.isList)&&h.isList()&&h.forEach((ye=>{we[ye]===void 0&&s.push({propKey:ye,error:"Required property not found"})})),e&&e.has("properties")&&e.get("properties").forEach(((ye,ke)=>{const Ie=an(we[ke],ye,!1,n,o);s.push(...Ie.map((De=>({propKey:ke,error:De}))))}))}if(ae){let we=((ye,ke)=>{if(!new RegExp(ke).test(ye))return"Value must follow pattern "+ke})(t,ae);we&&s.push(we)}if(te&&T==="array"){let we=((ye,ke)=>{if(!ye&&ke>=1||ye&&ye.length<ke)return`Array must contain at least ${ke} item${ke===1?"":"s"}`})(t,te);we&&s.push(we)}if(Z&&T==="array"){let we=((ye,ke)=>{if(ye&&ye.length>ke)return`Array must not contain more then ${ke} item${ke===1?"":"s"}`})(t,Z);we&&s.push({needRemove:!0,error:we})}if(X&&T==="array"){let we=((ye,ke)=>{if(ye&&(ke==="true"||ke===!0)){const Ie=(0,ee.fromJS)(ye),De=Ie.toSet();if(ye.length>De.size){let tt=(0,ee.Set)();if(Ie.forEach(((Dt,$t)=>{Ie.filter((lr=>aa(lr.equals)?lr.equals(Dt):lr===Dt)).size>1&&(tt=tt.add($t))})),tt.size!==0)return tt.map((Dt=>({index:Dt,error:"No duplicates allowed."}))).toArray()}}})(t,X);we&&s.push(...we)}if(F||F===0){let we=((ye,ke)=>{if(ye.length>ke)return`Value must be no longer than ${ke} character${ke!==1?"s":""}`})(t,F);we&&s.push(we)}if(z){let we=((ye,ke)=>{if(ye.length<ke)return`Value must be at least ${ke} character${ke!==1?"s":""}`})(t,z);we&&s.push(we)}if(E||E===0){let we=((ye,ke)=>{if(ye>ke)return`Value must be less than or equal to ${ke}`})(t,E);we&&s.push(we)}if(k||k===0){let we=((ye,ke)=>{if(ye<ke)return`Value must be greater than or equal to ${ke}`})(t,k);we&&s.push(we)}if(T==="string"){let we;if(we=R==="date-time"?(ye=>{if(isNaN(Date.parse(ye)))return"Value must be a DateTime"})(t):R==="uuid"?(ye=>{if(ye=ye.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(ye))return"Value must be a Guid"})(t):(ye=>{if(ye&&typeof ye!="string")return"Value must be a string"})(t),!we)return s;s.push(we)}else if(T==="boolean"){let we=(ye=>{if(ye!=="true"&&ye!=="false"&&ye!==!0&&ye!==!1)return"Value must be a boolean"})(t);if(!we)return s;s.push(we)}else if(T==="number"){let we=(ye=>{if(!/^-?\d+(\.?\d+)?$/.test(ye))return"Value must be a number"})(t);if(!we)return s;s.push(we)}else if(T==="integer"){let we=(ye=>{if(!/^-?\d+$/.test(ye))return"Value must be an integer"})(t);if(!we)return s;s.push(we)}else if(T==="array"){if(!Se&&!Me)return s;t&&t.forEach(((we,ye)=>{const ke=an(we,e.get("items"),!1,n,o);s.push(...ke.map((Ie=>({index:ye,error:Ie}))))}))}else if(T==="file"){let we=(ye=>{if(ye&&!(ye instanceof yt.File))return"Value must be a file"})(t);if(!we)return s;s.push(we)}return s}const Rt=t=>{let e;return e=t instanceof Ar?t:Ar.from(t.toString(),"utf-8"),e.toString("base64")},gn={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)}},so=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("&")},lo=(t,e,r)=>!!bn()(r,(n=>xr()(t[n],e[n])));function Gt(t){return!(!t||t.indexOf("localhost")>=0||t.indexOf("127.0.0.1")>=0||t==="none")}const wa=t=>typeof t=="string"||t instanceof String?t.trim().replace(/\s/g,"%20"):"",Wt=t=>Qr()(wa(t).replace(/%20/g,"_")),fr=t=>/^x-/.test(t),dr=t=>ee.Map.isMap(t)?t.filter(((e,r)=>fr(r))):Object.keys(t).filter((e=>fr(e))),Cr=t=>t.filter(((e,r)=>/^pattern|maxLength|minLength|maximum|minimum/.test(r)));function Ht(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((o=>{o===e&&r(n[o],o)?delete n[o]:n[o]=Ht(n[o],e,r)})),n}function cn(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{return String(t)}return t==null?"":t.toString()}function Ga(t,{returnAll:e=!1,allowHashes:r=!0}={}){if(!_e().Map.isMap(t))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");const n=t.get("name"),o=t.get("in");let s=[];return t&&t.hashCode&&o&&n&&r&&s.push(`${o}.${n}.hash-${t.hashCode()}`),o&&n&&s.push(`${o}.${n}`),s.push(n),e?s:s[0]||""}function ia(t,e){return Ga(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 fa=t=>!t||!(!Lr(t)||!t.isEmpty()),ui=t=>t;function ta(t,e,r){let n=[kr(r)];return ft(t,e,(yt.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||dt)((function(...s){return b=>(h,E)=>{const k=b(h,E);let T=()=>{throw new Error(it(15))};const R={getState:k.getState,dispatch:(z,...X)=>T(z,...X)},F=s.map((z=>z(R)));return T=dt(...F)(k.dispatch),{...k,dispatch:T}}})(...n)))}class bo{constructor(e={}){st()(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},e),this.getSystem=this._getSystem.bind(this),this.store=(function(n,o,s){return ta(n,o,s)})(ui,(0,ee.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(e,r=!0){var n=Ei(e,this.getSystem());rs(this.system,n),r&&this.buildSystem(),pi.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:_e(),React:g},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(s,b){let h=Object.keys(s).reduce(((E,k)=>(E[k]=(function(R,F){return(z=new ee.Map,X)=>{if(!R)return z;let Z=R[X.type];if(Z){const te=_o(Z,F)(z,X);return te===null?z:te}return z}})(s[k],b),E)),{});return Object.keys(h).length?(0,Ut.H)(h):ui})(Ka(r,(o=>o.reducers)),n)})(this.system.statePlugins,this.getSystem))}getType(e){let r=e[0].toUpperCase()+e.slice(1);return ka(this.system.statePlugins,((n,o)=>{let s=n[e];if(s)return{[o+r]:s}}))}getSelectors(){return this.getType("selectors")}getActions(){return Ka(this.getType("actions"),(e=>ka(e,((r,n)=>{if(nn(r))return{[n]:r}}))))}getWrappedAndBoundActions(e){return Ka(this.getBoundActions(e),((r,n)=>{let o=this.system.statePlugins[n.slice(0,-7)].wrapActions;return o?Ka(r,((s,b)=>{let h=o[b];return h?(Array.isArray(h)||(h=[h]),h.reduce(((E,k)=>{let T=(...R)=>k(E,this.getSystem())(...R);if(!nn(T))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return _o(T,this.getSystem)}),s||Function.prototype)):s})):r}))}getWrappedAndBoundSelectors(e,r){return Ka(this.getBoundSelectors(e,r),((n,o)=>{let s=[o.slice(0,-9)],b=this.system.statePlugins[s].wrapSelectors;return b?Ka(n,((h,E)=>{let k=b[E];return k?(Array.isArray(k)||(k=[k]),k.reduce(((T,R)=>{let F=(...z)=>R(T,this.getSystem())(e().getIn(s),...z);if(!nn(F))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return F}),h||Function.prototype)):h})):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,o)=>o(n,this.getSystem()))):e!==void 0?this.system.components[e]:this.system.components}getBoundSelectors(e,r){return Ka(this.getSelectors(),((n,o)=>{let s=[o.slice(0,-9)];return Ka(n,(b=>(...h)=>{let E=_o(b,this.getSystem).apply(null,[e().getIn(s),...h]);return typeof E=="function"&&(E=_o(E,this.getSystem)(r())),E}))}))}getBoundActions(e){e=e||this.getStore().dispatch;const r=this.getActions(),n=o=>typeof o!="function"?Ka(o,(s=>n(s))):(...s)=>{var b=null;try{b=o(...s)}catch(h){b={type:Mt,error:!0,payload:(0,qt.serializeError)(h)}}finally{return b}};return Ka(r,(o=>(function(b,h){if(typeof b=="function")return Ke(b,h);if(typeof b!="object"||b===null)throw new Error(it(16));const E={};for(const k in b){const T=b[k];typeof T=="function"&&(E[k]=Ke(T,h))}return E})(n(o),e)))}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(e){return r=>st()({},this.getWrappedAndBoundActions(r),this.getFn(),e)}}function Ei(t,e){return ea(t)&&!oa(t)?xt()({},t):aa(t)?Ei(t(e),e):oa(t)?t.map((r=>Ei(r,e))).reduce(rs,{components:e.getComponents()}):{}}function pi(t,e,{hasLoaded:r}={}){let n=r;return ea(t)&&!oa(t)&&typeof t.afterLoad=="function"&&(n=!0,_o(t.afterLoad,e.getSystem).call(this,e)),aa(t)?pi.call(this,t(e),e,{hasLoaded:n}):oa(t)?t.map((o=>pi.call(this,o,e,{hasLoaded:n}))):n}function rs(t={},e={}){if(!ea(t))return{};if(!ea(e))return t;e.wrapComponents&&(Ka(e.wrapComponents,((n,o)=>{const s=t.components&&t.components[o];s&&Array.isArray(s)?(t.components[o]=s.concat([n]),delete e.wrapComponents[o]):s&&(t.components[o]=[s,n],delete e.wrapComponents[o])})),Object.keys(e.wrapComponents).length||delete e.wrapComponents);const{statePlugins:r}=t;if(ea(r))for(let n in r){const o=r[n];if(!ea(o))continue;const{wrapActions:s,wrapSelectors:b}=o;if(ea(s))for(let h in s){let E=s[h];Array.isArray(E)||(E=[E],s[h]=E),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapActions&&e.statePlugins[n].wrapActions[h]&&(e.statePlugins[n].wrapActions[h]=s[h].concat(e.statePlugins[n].wrapActions[h]))}if(ea(b))for(let h in b){let E=b[h];Array.isArray(E)||(E=[E],b[h]=E),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapSelectors&&e.statePlugins[n].wrapSelectors[h]&&(e.statePlugins[n].wrapSelectors[h]=b[h].concat(e.statePlugins[n].wrapSelectors[h]))}}return st()(t,e)}function _o(t,e,{logErrors:r=!0}={}){return typeof t!="function"?t:function(...n){try{return t.call(this,...n)}catch(o){if(r){const{uncaughtExceptionHandler:s}=e().getConfigs();typeof s=="function"?s(o):console.error(o)}return null}}}var jo=qe(61160),fi=qe.n(jo);const hi="show_popup",Io="authorize",di="logout",fn="authorize_oauth2",Di="configure_auth",vs="restore_authorization";function zs(t){return{type:hi,payload:t}}function _l(t){return{type:Io,payload:t}}const wl=t=>({authActions:e})=>{e.authorize(t),e.persistAuthorizationIfNeeded()};function Pr(t){return{type:di,payload:t}}const Bi=t=>({authActions:e})=>{e.logout(t),e.persistAuthorizationIfNeeded()},mi=t=>({authActions:e,errActions:r})=>{let{auth:n,token:o,isValid:s}=t,{schema:b,name:h}=n,E=b.get("flow");delete yt.swaggerUIRedirectOauth2,E==="accessCode"||s||r.newAuthErr({authId:h,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),o.error?r.newAuthErr({authId:h,source:"auth",level:"error",message:JSON.stringify(o)}):e.authorizeOauth2WithPersistOption({auth:n,token:o})};function en(t){return{type:fn,payload:t}}const Ln=t=>({authActions:e})=>{e.authorizeOauth2(t),e.persistAuthorizationIfNeeded()},wo=t=>({authActions:e})=>{let{schema:r,name:n,username:o,password:s,passwordType:b,clientId:h,clientSecret:E}=t,k={grant_type:"password",scope:t.scopes.join(" "),username:o,password:s},T={};switch(b){case"request-body":(function(F,z,X){z&&Object.assign(F,{client_id:z}),X&&Object.assign(F,{client_secret:X})})(k,h,E);break;case"basic":T.Authorization="Basic "+Rt(h+":"+E);break;default:console.warn(`Warning: invalid passwordType ${b} was passed, not including client id and secret`)}return e.authorizeRequest({body:so(k),url:r.get("tokenUrl"),name:n,headers:T,query:{},auth:t})},gi=t=>({authActions:e})=>{let{schema:r,scopes:n,name:o,clientId:s,clientSecret:b}=t,h={Authorization:"Basic "+Rt(s+":"+b)},E={grant_type:"client_credentials",scope:n.join(" ")};return e.authorizeRequest({body:so(E),name:o,url:r.get("tokenUrl"),auth:t,headers:h})},Ca=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:o,clientId:s,clientSecret:b,codeVerifier:h}=t,E={grant_type:"authorization_code",code:t.code,client_id:s,client_secret:b,redirect_uri:e,code_verifier:h};return r.authorizeRequest({body:so(E),name:o,url:n.get("tokenUrl"),auth:t})},Eo=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:o,clientId:s,clientSecret:b,codeVerifier:h}=t,E={Authorization:"Basic "+Rt(s+":"+b)},k={grant_type:"authorization_code",code:t.code,client_id:s,redirect_uri:e,code_verifier:h};return r.authorizeRequest({body:so(k),name:o,url:n.get("tokenUrl"),auth:t,headers:E})},Uo=t=>({fn:e,getConfigs:r,authActions:n,errActions:o,oas3Selectors:s,specSelectors:b,authSelectors:h})=>{let E,{body:k,query:T={},headers:R={},name:F,url:z,auth:X}=t,{additionalQueryStringParams:Z}=h.getConfigs()||{};if(b.isOAS3()){let K=s.serverEffectiveValue(s.selectedServer());E=fi()(z,K,!0)}else E=fi()(z,b.url(),!0);typeof Z=="object"&&(E.query=Object.assign({},E.query,Z));const te=E.toString();let ae=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},R);e.fetch({url:te,method:"post",headers:ae,query:T,body:k,requestInterceptor:r().requestInterceptor,responseInterceptor:r().responseInterceptor}).then((function(K){let Ae=JSON.parse(K.data),fe=Ae&&(Ae.error||""),me=Ae&&(Ae.parseError||"");K.ok?fe||me?o.newAuthErr({authId:F,level:"error",source:"auth",message:JSON.stringify(Ae)}):n.authorizeOauth2WithPersistOption({auth:X,token:Ae}):o.newAuthErr({authId:F,level:"error",source:"auth",message:K.statusText})})).catch((K=>{let Ae=new Error(K).message;if(K.response&&K.response.data){const fe=K.response.data;try{const me=typeof fe=="string"?JSON.parse(fe):fe;me.error&&(Ae+=`, error: ${me.error}`),me.error_description&&(Ae+=`, description: ${me.error_description}`)}catch{}}o.newAuthErr({authId:F,level:"error",source:"auth",message:Ae})}))};function Fi(t){return{type:Di,payload:t}}function Li(t){return{type:vs,payload:t}}const Si=()=>({authSelectors:t,getConfigs:e})=>{if(!e().persistAuthorization)return;const r=t.authorized().toJS();localStorage.setItem("authorized",JSON.stringify(r))},Va=(t,e)=>()=>{yt.swaggerUIRedirectOauth2=e,yt.open(t)},ns={[hi]:(t,{payload:e})=>t.set("showDefinitions",e),[Io]:(t,{payload:e})=>{let r=(0,ee.fromJS)(e),n=t.get("authorized")||(0,ee.Map)();return r.entrySeq().forEach((([o,s])=>{if(!aa(s.getIn))return t.set("authorized",n);let b=s.getIn(["schema","type"]);if(b==="apiKey"||b==="http")n=n.set(o,s);else if(b==="basic"){let h=s.getIn(["value","username"]),E=s.getIn(["value","password"]);n=n.setIn([o,"value"],{username:h,header:"Basic "+Rt(h+":"+E)}),n=n.setIn([o,"schema"],s.get("schema"))}})),t.set("authorized",n)},[fn]:(t,{payload:e})=>{let r,{auth:n,token:o}=e;n.token=Object.assign({},o),r=(0,ee.fromJS)(n);let s=t.get("authorized")||(0,ee.Map)();return s=s.set(r.get("name"),r),t.set("authorized",s)},[di]:(t,{payload:e})=>{let r=t.get("authorized").withMutations((n=>{e.forEach((o=>{n.delete(o)}))}));return t.set("authorized",r)},[Di]:(t,{payload:e})=>t.set("configs",e),[vs]:(t,{payload:e})=>t.set("authorized",(0,ee.fromJS)(e.authorized))};function Ba(t,e="expected a function, instead received "+typeof t){if(typeof t!="function")throw new TypeError(e)}var ha=t=>Array.isArray(t)?t:[t];function to(t){const e=Array.isArray(t[0])?t[0]:t;return(function(n,o="expected all items to be functions, instead received the following types: "){if(!n.every((s=>typeof s=="function"))){const s=n.map((b=>typeof b=="function"?`function ${b.name||"unnamed"}()`:typeof b)).join(", ");throw new TypeError(`${o}[${s}]`)}})(e,"createSelector expects all input-selectors to be functions, but received the following types: "),e}var Nr=typeof WeakRef<"u"?WeakRef:class{constructor(t){this.value=t}deref(){return this.value}};function qo(t,e={}){let r={s:0,v:void 0,o:null,p:null};const{resultEqualityCheck:n}=e;let o,s=0;function b(){let h=r;const{length:E}=arguments;for(let R=0,F=E;R<F;R++){const z=arguments[R];if(typeof z=="function"||typeof z=="object"&&z!==null){let X=h.o;X===null&&(h.o=X=new WeakMap);const Z=X.get(z);Z===void 0?(h={s:0,v:void 0,o:null,p:null},X.set(z,h)):h=Z}else{let X=h.p;X===null&&(h.p=X=new Map);const Z=X.get(z);Z===void 0?(h={s:0,v:void 0,o:null,p:null},X.set(z,h)):h=Z}}const k=h;let T;if(h.s===1)T=h.v;else if(T=t.apply(null,arguments),s++,n){const R=o?.deref?.()??o;R!=null&&n(R,T)&&(T=R,s!==0&&s--),o=typeof T=="object"&&T!==null||typeof T=="function"?new Nr(T):T}return k.s=1,k.v=T,T}return b.clearCache=()=>{r={s:0,v:void 0,o:null,p:null},b.resetResultsCount()},b.resultsCount=()=>s,b.resetResultsCount=()=>{s=0},b}function as(t,...e){const r=typeof t=="function"?{memoize:t,memoizeOptions:e}:t,n=(...o)=>{let s,b=0,h=0,E={},k=o.pop();typeof k=="object"&&(E=k,k=o.pop()),Ba(k,`createSelector expects an output function after the inputs, but received: [${typeof k}]`);const T={...r,...E},{memoize:R,memoizeOptions:F=[],argsMemoize:z=qo,argsMemoizeOptions:X=[]}=T,Z=ha(F),te=ha(X),ae=to(o),K=R((function(){return b++,k.apply(null,arguments)}),...Z),Ae=z((function(){h++;const me=(function(Se,Me){const Ne=[],{length:we}=Se;for(let ye=0;ye<we;ye++)Ne.push(Se[ye].apply(null,Me));return Ne})(ae,arguments);return s=K.apply(null,me),s}),...te);return Object.assign(Ae,{resultFunc:k,memoizedResultFunc:K,dependencies:ae,dependencyRecomputations:()=>h,resetDependencyRecomputations:()=>{h=0},lastResult:()=>s,recomputations:()=>b,resetRecomputations:()=>{b=0},memoize:R,argsMemoize:z})};return Object.assign(n,{withTypes:()=>n}),n}var _r=as(qo),xi=Object.assign(((t,e=_r)=>{(function(o,s="expected an object, instead received "+typeof o){if(typeof o!="object")throw new TypeError(s)})(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(((o,s,b)=>(o[r[b]]=s,o)),{})))}),{withTypes:()=>xi});const Cn=t=>t,ro=_r(Cn,(t=>t.get("showDefinitions"))),co=_r(Cn,(()=>({specSelectors:t})=>{let e=t.securityDefinitions()||(0,ee.Map)({}),r=(0,ee.List)();return e.entrySeq().forEach((([n,o])=>{let s=(0,ee.Map)();s=s.set(n,o),r=r.push(s)})),r})),ja=(t,e)=>({specSelectors:r})=>(0,ee.List)(r.isOAS3()?["components","securitySchemes",e]:["securityDefinitions",e]),os=(t,e)=>({specSelectors:r})=>{console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");let n=r.securityDefinitions(),o=(0,ee.List)();return e.valueSeq().forEach((s=>{let b=(0,ee.Map)();s.entrySeq().forEach((([h,E])=>{let k,T=n.get(h);T.get("type")==="oauth2"&&E.size&&(k=T.get("scopes"),k.keySeq().forEach((R=>{E.contains(R)||(k=k.delete(R))})),T=T.set("allowedScopes",k)),b=b.set(h,T)})),o=o.push(b)})),o},$i=(t,e=(0,ee.List)())=>({authSelectors:r})=>{const n=r.definitionsToAuthorize()||(0,ee.List)();let o=(0,ee.List)();return n.forEach((s=>{let b=e.find((h=>h.get(s.keySeq().first())));b&&(s.forEach(((h,E)=>{if(h.get("type")==="oauth2"){const k=b.get(E);let T=h.get("scopes");ee.List.isList(k)&&ee.Map.isMap(T)&&(T.keySeq().forEach((R=>{k.contains(R)||(T=T.delete(R))})),s=s.set(E,h.set("scopes",T)))}})),o=o.push(s))})),o},Ui=_r(Cn,(t=>t.get("authorized")||(0,ee.Map)())),qi=(t,e)=>({authSelectors:r})=>{let n=r.authorized();return ee.List.isList(e)?!!e.toJS().filter((o=>Object.keys(o).map((s=>!!n.get(s))).indexOf(!1)===-1)).length:null},bs=_r(Cn,(t=>t.get("configs"))),El=(t,{authSelectors:e,specSelectors:r})=>({path:n,method:o,operation:s,extras:b})=>{let h={authorized:e.authorized()&&e.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()};return t({path:n,method:o,operation:s,securities:h,...b})},Ia=(t,e)=>r=>{const{getConfigs:n,authActions:o}=e,s=n();if(t(r),s.persistAuthorization){const b=localStorage.getItem("authorized");b&&o.restoreAuthorization({authorized:JSON.parse(b)})}},_s=(t,e)=>r=>{if(t(r),e.getConfigs().persistAuthorization)try{const[{schema:n,value:o}]=Object.values(r),s=(0,ee.fromJS)(n),b=s.get("type")==="apiKey",h=s.get("in")==="cookie";b&&h&&(document.cookie=`${s.get("name")}=${o}; SameSite=None; Secure`)}catch(n){console.error("Error persisting cookie based apiKey in document.cookie.",n)}},is=(t,e)=>r=>{const n=e.getConfigs(),o=e.authSelectors.authorized();try{n.persistAuthorization&&Array.isArray(r)&&r.forEach((s=>{const b=o.get(s,{}),h=b.getIn(["schema","type"])==="apiKey",E=b.getIn(["schema","in"])==="cookie";if(h&&E){const k=b.getIn(["schema","name"]);document.cookie=`${k}=; Max-Age=-99999999`}}))}catch(s){console.error("Error deleting cookie based apiKey from document.cookie.",s)}t(r)};var zi=qe(90179),Po=qe.n(zi);class Vs extends g.Component{mapStateToProps(e,r){return{state:e,ownProps:Po()(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("LockIcon");return g.createElement(n,r)}}const Vi=Vs;class V extends g.Component{mapStateToProps(e,r){return{state:e,ownProps:Po()(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("UnlockIcon");return g.createElement(n,r)}}const pe=V;function Ee(){return{afterLoad(t){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=t.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=je.bind(null,t),this.rootInjects.preauthorizeBasic=Be.bind(null,t)},components:{LockAuthIcon:Vi,UnlockAuthIcon:pe,LockAuthOperationIcon:Vi,UnlockAuthOperationIcon:pe},statePlugins:{auth:{reducers:ns,actions:A,selectors:a,wrapActions:{authorize:_s,logout:is}},configs:{wrapActions:{loaded:Ia}},spec:{wrapActions:{execute:El}}}}}function Be(t,e,r,n){const{authActions:{authorize:o},specSelectors:{specJson:s,isOAS3:b}}=t,h=b()?["components","securitySchemes"]:["securityDefinitions"],E=s().getIn([...h,e]);return E?o({[e]:{value:{username:r,password:n},schema:E.toJS()}}):null}function je(t,e,r){const{authActions:{authorize:n},specSelectors:{specJson:o,isOAS3:s}}=t,b=s()?["components","securitySchemes"]:["securityDefinitions"],h=o().getIn([...b,e]);return h?n({[e]:{value:r,schema:h.toJS()}}):null}function Ge(t){return t==null}var bt=function(e,r){var n,o="";for(n=0;n<r;n+=1)o+=e;return o},mt=function(e){return e===0&&Number.NEGATIVE_INFINITY===1/e},vt={isNothing:Ge,isObject:function(e){return typeof e=="object"&&e!==null},toArray:function(e){return Array.isArray(e)?e:Ge(e)?[]:[e]},repeat:bt,isNegativeZero:mt,extend:function(e,r){var n,o,s,b;if(r)for(n=0,o=(b=Object.keys(r)).length;n<o;n+=1)e[s=b[n]]=r[s];return e}};function Xt(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 ar(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Xt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}ar.prototype=Object.create(Error.prototype),ar.prototype.constructor=ar,ar.prototype.toString=function(e){return this.name+": "+Xt(this,e)};var cr=ar;function hr(t,e,r,n,o){var s="",b="",h=Math.floor(o/2)-1;return n-e>h&&(e=n-h+(s=" ... ").length),r-n>h&&(r=n+h-(b=" ...").length),{str:s+t.slice(e,r).replace(/\t/g,"→")+b,pos:n-e+s.length}}function ur(t,e){return vt.repeat(" ",e-t.length)+t}var Kt=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,o=/\r?\n|\r|\0/g,s=[0],b=[],h=-1;n=o.exec(e.buffer);)b.push(n.index),s.push(n.index+n[0].length),e.position<=n.index&&h<0&&(h=s.length-2);h<0&&(h=s.length-1);var E,k,T="",R=Math.min(e.line+r.linesAfter,b.length).toString().length,F=r.maxLength-(r.indent+R+3);for(E=1;E<=r.linesBefore&&!(h-E<0);E++)k=hr(e.buffer,s[h-E],b[h-E],e.position-(s[h]-s[h-E]),F),T=vt.repeat(" ",r.indent)+ur((e.line-E+1).toString(),R)+" | "+k.str+`
|
||
`+T;for(k=hr(e.buffer,s[h],b[h],e.position,F),T+=vt.repeat(" ",r.indent)+ur((e.line+1).toString(),R)+" | "+k.str+`
|
||
`,T+=vt.repeat("-",r.indent+R+3+k.pos)+`^
|
||
`,E=1;E<=r.linesAfter&&!(h+E>=b.length);E++)k=hr(e.buffer,s[h+E],b[h+E],e.position-(s[h]-s[h+E]),F),T+=vt.repeat(" ",r.indent)+ur((e.line+E+1).toString(),R)+" | "+k.str+`
|
||
`;return T.replace(/\n$/,"")},Un=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Tn=["scalar","sequence","mapping"],mr=function(e,r){if(r=r||{},Object.keys(r).forEach((function(n){if(Un.indexOf(n)===-1)throw new cr('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(o){var s={};return o!==null&&Object.keys(o).forEach((function(b){o[b].forEach((function(h){s[String(h)]=b}))})),s})(r.styleAliases||null),Tn.indexOf(this.kind)===-1)throw new cr('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')};function Oe(t,e){var r=[];return t[e].forEach((function(n){var o=r.length;r.forEach((function(s,b){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(o=b)})),r[o]=n})),r}function Dr(t){return this.extend(t)}Dr.prototype.extend=function(e){var r=[],n=[];if(e instanceof mr)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 cr("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(s){if(!(s instanceof mr))throw new cr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(s.loadKind&&s.loadKind!=="scalar")throw new cr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(s.multi)throw new cr("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(s){if(!(s instanceof mr))throw new cr("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var o=Object.create(Dr.prototype);return o.implicit=(this.implicit||[]).concat(r),o.explicit=(this.explicit||[]).concat(n),o.compiledImplicit=Oe(o,"implicit"),o.compiledExplicit=Oe(o,"explicit"),o.compiledTypeMap=(function(){var b,h,E={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function k(T){T.multi?(E.multi[T.kind].push(T),E.multi.fallback.push(T)):E[T.kind][T.tag]=E.fallback[T.tag]=T}for(b=0,h=arguments.length;b<h;b+=1)arguments[b].forEach(k);return E})(o.compiledImplicit,o.compiledExplicit),o};var Mr=Dr,jr=new mr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),gr=new mr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),or=new mr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),hn=new Mr({explicit:[jr,gr,or]}),Kr=new mr("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"}),Tr=new mr("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 Sn(t){return 48<=t&&t<=55}function Jr(t){return 48<=t&&t<=57}var jn=new mr("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(e){if(e===null)return!1;var r,n,o=e.length,s=0,b=!1;if(!o)return!1;if((r=e[s])!=="-"&&r!=="+"||(r=e[++s]),r==="0"){if(s+1===o)return!0;if((r=e[++s])==="b"){for(s++;s<o;s++)if((r=e[s])!=="_"){if(r!=="0"&&r!=="1")return!1;b=!0}return b&&r!=="_"}if(r==="x"){for(s++;s<o;s++)if((r=e[s])!=="_"){if(!(48<=(n=e.charCodeAt(s))&&n<=57||65<=n&&n<=70||97<=n&&n<=102))return!1;b=!0}return b&&r!=="_"}if(r==="o"){for(s++;s<o;s++)if((r=e[s])!=="_"){if(!Sn(e.charCodeAt(s)))return!1;b=!0}return b&&r!=="_"}}if(r==="_")return!1;for(;s<o;s++)if((r=e[s])!=="_"){if(!Jr(e.charCodeAt(s)))return!1;b=!0}return!(!b||r==="_")},construct:function(e){var r,n=e,o=1;if(n.indexOf("_")!==-1&&(n=n.replace(/_/g,"")),(r=n[0])!=="-"&&r!=="+"||(r==="-"&&(o=-1),r=(n=n.slice(1))[0]),n==="0")return 0;if(r==="0"){if(n[1]==="b")return o*parseInt(n.slice(2),2);if(n[1]==="x")return o*parseInt(n.slice(2),16);if(n[1]==="o")return o*parseInt(n.slice(2),8)}return o*parseInt(n,10)},predicate:function(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1==0&&!vt.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"]}}),Hn=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),sa=/^[-+]?[0-9]+e/,Ir=new mr("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(e){return e!==null&&!(!Hn.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||vt.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(vt.isNegativeZero(e))return"-0.0";return n=e.toString(10),sa.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),Wa=hn.extend({implicit:[Kr,Tr,jn,Ir]}),no=Wa,la=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Pa=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]))?))?$"),So=new mr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(e){return e!==null&&(la.exec(e)!==null||Pa.exec(e)!==null)},construct:function(e){var r,n,o,s,b,h,E,k,T=0,R=null;if((r=la.exec(e))===null&&(r=Pa.exec(e)),r===null)throw new Error("Date resolve error");if(n=+r[1],o=+r[2]-1,s=+r[3],!r[4])return new Date(Date.UTC(n,o,s));if(b=+r[4],h=+r[5],E=+r[6],r[7]){for(T=r[7].slice(0,3);T.length<3;)T+="0";T=+T}return r[9]&&(R=6e4*(60*+r[10]+ +(r[11]||0)),r[9]==="-"&&(R=-R)),k=new Date(Date.UTC(n,o,s,b,h,E,T)),R&&k.setTime(k.getTime()-R),k},instanceOf:Date,represent:function(e){return e.toISOString()}}),ws=new mr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(e){return e==="<<"||e===null}}),da=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
||
\r`,xn=new mr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(e){if(e===null)return!1;var r,n,o=0,s=e.length,b=da;for(n=0;n<s;n++)if(!((r=b.indexOf(e.charAt(n)))>64)){if(r<0)return!1;o+=6}return o%8==0},construct:function(e){var r,n,o=e.replace(/[\r\n=]/g,""),s=o.length,b=da,h=0,E=[];for(r=0;r<s;r++)r%4==0&&r&&(E.push(h>>16&255),E.push(h>>8&255),E.push(255&h)),h=h<<6|b.indexOf(o.charAt(r));return(n=s%4*6)===0?(E.push(h>>16&255),E.push(h>>8&255),E.push(255&h)):n===18?(E.push(h>>10&255),E.push(h>>2&255)):n===12&&E.push(h>>4&255),new Uint8Array(E)},predicate:function(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"},represent:function(e){var r,n,o="",s=0,b=e.length,h=da;for(r=0;r<b;r++)r%3==0&&r&&(o+=h[s>>18&63],o+=h[s>>12&63],o+=h[s>>6&63],o+=h[63&s]),s=(s<<8)+e[r];return(n=b%3)===0?(o+=h[s>>18&63],o+=h[s>>12&63],o+=h[s>>6&63],o+=h[63&s]):n===2?(o+=h[s>>10&63],o+=h[s>>4&63],o+=h[s<<2&63],o+=h[64]):n===1&&(o+=h[s>>2&63],o+=h[s<<4&63],o+=h[64],o+=h[64]),o}}),Ai=Object.prototype.hasOwnProperty,Pc=Object.prototype.toString,ec=new mr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(e){if(e===null)return!0;var r,n,o,s,b,h=[],E=e;for(r=0,n=E.length;r<n;r+=1){if(o=E[r],b=!1,Pc.call(o)!=="[object Object]")return!1;for(s in o)if(Ai.call(o,s)){if(b)return!1;b=!0}if(!b||h.indexOf(s)!==-1)return!1;h.push(s)}return!0},construct:function(e){return e!==null?e:[]}}),Wi=Object.prototype.toString,Sl=new mr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(e){if(e===null)return!0;var r,n,o,s,b,h=e;for(b=new Array(h.length),r=0,n=h.length;r<n;r+=1){if(o=h[r],Wi.call(o)!=="[object Object]"||(s=Object.keys(o)).length!==1)return!1;b[r]=[s[0],o[s[0]]]}return!0},construct:function(e){if(e===null)return[];var r,n,o,s,b,h=e;for(b=new Array(h.length),r=0,n=h.length;r<n;r+=1)o=h[r],s=Object.keys(o),b[r]=[s[0],o[s[0]]];return b}}),tc=Object.prototype.hasOwnProperty,Tc=new mr("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(e){if(e===null)return!0;var r,n=e;for(r in n)if(tc.call(n,r)&&n[r]!==null)return!1;return!0},construct:function(e){return e!==null?e:{}}}),Ws=no.extend({implicit:[So,ws],explicit:[xn,ec,Sl,Tc]}),Fa=Object.prototype.hasOwnProperty,Js=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,xl=/[\x85\u2028\u2029]/,i=/[,\[\]\{\}]/,_=/^(?:!|!!|![a-z\-]+!)$/i,P=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function D(t){return Object.prototype.toString.call(t)}function L(t){return t===10||t===13}function re(t){return t===9||t===32}function ie(t){return t===9||t===32||t===10||t===13}function ve(t){return t===44||t===91||t===93||t===123||t===125}function $e(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function Re(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 We(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var Et=new Array(256),Ct=new Array(256),Bt=0;Bt<256;Bt++)Et[Bt]=Re(Bt)?1:0,Ct[Bt]=Re(Bt);function Qt(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Ws,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 Rr(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=Kt(r),new cr(e,r)}function Zt(t,e){throw Rr(t,e)}function ca(t,e){t.onWarning&&t.onWarning.call(null,Rr(t,e))}var Oi={YAML:function(e,r,n){var o,s,b;e.version!==null&&Zt(e,"duplication of %YAML directive"),n.length!==1&&Zt(e,"YAML directive accepts exactly one argument"),(o=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))===null&&Zt(e,"ill-formed argument of the YAML directive"),s=parseInt(o[1],10),b=parseInt(o[2],10),s!==1&&Zt(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=b<2,b!==1&&b!==2&&ca(e,"unsupported YAML version of the document")},TAG:function(e,r,n){var o,s;n.length!==2&&Zt(e,"TAG directive accepts exactly two arguments"),o=n[0],s=n[1],_.test(o)||Zt(e,"ill-formed tag handle (first argument) of the TAG directive"),Fa.call(e.tagMap,o)&&Zt(e,'there is a previously declared suffix for "'+o+'" tag handle'),P.test(s)||Zt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{s=decodeURIComponent(s)}catch{Zt(e,"tag prefix is malformed: "+s)}e.tagMap[o]=s}};function Hs(t,e,r,n){var o,s,b,h;if(e<r){if(h=t.input.slice(e,r),n)for(o=0,s=h.length;o<s;o+=1)(b=h.charCodeAt(o))===9||32<=b&&b<=1114111||Zt(t,"expected valid JSON character");else Js.test(h)&&Zt(t,"the stream contains non-printable characters");t.result+=h}}function eh(t,e,r,n){var o,s,b,h;for(vt.isObject(r)||Zt(t,"cannot merge mappings; the provided source object is unacceptable"),b=0,h=(o=Object.keys(r)).length;b<h;b+=1)s=o[b],Fa.call(e,s)||(e[s]=r[s],n[s]=!0)}function rc(t,e,r,n,o,s,b,h,E){var k,T;if(Array.isArray(o))for(k=0,T=(o=Array.prototype.slice.call(o)).length;k<T;k+=1)Array.isArray(o[k])&&Zt(t,"nested arrays are not supported inside keys"),typeof o=="object"&&D(o[k])==="[object Object]"&&(o[k]="[object Object]");if(typeof o=="object"&&D(o)==="[object Object]"&&(o="[object Object]"),o=String(o),e===null&&(e={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(s))for(k=0,T=s.length;k<T;k+=1)eh(t,e,s[k],r);else eh(t,e,s,r);else t.json||Fa.call(r,o)||!Fa.call(e,o)||(t.line=b||t.line,t.lineStart=h||t.lineStart,t.position=E||t.position,Zt(t,"duplicated mapping key")),o==="__proto__"?Object.defineProperty(e,o,{configurable:!0,enumerable:!0,writable:!0,value:s}):e[o]=s,delete r[o];return e}function Es(t){var e;(e=t.input.charCodeAt(t.position))===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):Zt(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function La(t,e,r){for(var n=0,o=t.input.charCodeAt(t.position);o!==0;){for(;re(o);)o===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),o=t.input.charCodeAt(++t.position);if(e&&o===35)do o=t.input.charCodeAt(++t.position);while(o!==10&&o!==13&&o!==0);if(!L(o))break;for(Es(t),o=t.input.charCodeAt(t.position),n++,t.lineIndent=0;o===32;)t.lineIndent++,o=t.input.charCodeAt(++t.position)}return r!==-1&&n!==0&&t.lineIndent<r&&ca(t,"deficient indentation"),n}function Nc(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&&!ie(e)))}function nc(t,e){e===1?t.result+=" ":e>1&&(t.result+=vt.repeat(`
|
||
`,e-1))}function Lm(t,e){var r,n,o=t.tag,s=t.anchor,b=[],h=!1;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=b),n=t.input.charCodeAt(t.position);n!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,Zt(t,"tab characters must not be used in indentation")),n===45)&&ie(t.input.charCodeAt(t.position+1));)if(h=!0,t.position++,La(t,!0,-1)&&t.lineIndent<=e)b.push(null),n=t.input.charCodeAt(t.position);else if(r=t.line,Kn(t,e,3,!1,!0),b.push(t.result),La(t,!0,-1),n=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&n!==0)Zt(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!h&&(t.tag=o,t.anchor=s,t.kind="sequence",t.result=b,!0)}function $m(t){var e,r,n,o,s=!1,b=!1;if((o=t.input.charCodeAt(t.position))!==33)return!1;if(t.tag!==null&&Zt(t,"duplication of a tag property"),(o=t.input.charCodeAt(++t.position))===60?(s=!0,o=t.input.charCodeAt(++t.position)):o===33?(b=!0,r="!!",o=t.input.charCodeAt(++t.position)):r="!",e=t.position,s){do o=t.input.charCodeAt(++t.position);while(o!==0&&o!==62);t.position<t.length?(n=t.input.slice(e,t.position),o=t.input.charCodeAt(++t.position)):Zt(t,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!ie(o);)o===33&&(b?Zt(t,"tag suffix cannot contain exclamation marks"):(r=t.input.slice(e-1,t.position+1),_.test(r)||Zt(t,"named tag handle cannot contain such characters"),b=!0,e=t.position+1)),o=t.input.charCodeAt(++t.position);n=t.input.slice(e,t.position),i.test(n)&&Zt(t,"tag suffix cannot contain flow indicator characters")}n&&!P.test(n)&&Zt(t,"tag name cannot contain such characters: "+n);try{n=decodeURIComponent(n)}catch{Zt(t,"tag name is malformed: "+n)}return s?t.tag=n:Fa.call(t.tagMap,r)?t.tag=t.tagMap[r]+n:r==="!"?t.tag="!"+n:r==="!!"?t.tag="tag:yaml.org,2002:"+n:Zt(t,'undeclared tag handle "'+r+'"'),!0}function Um(t){var e,r;if((r=t.input.charCodeAt(t.position))!==38)return!1;for(t.anchor!==null&&Zt(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!ie(r)&&!ve(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&Zt(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Kn(t,e,r,n,o){var s,b,h,E,k,T,R,F,z,X=1,Z=!1,te=!1;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,s=b=h=r===4||r===3,n&&La(t,!0,-1)&&(Z=!0,t.lineIndent>e?X=1:t.lineIndent===e?X=0:t.lineIndent<e&&(X=-1)),X===1)for(;$m(t)||Um(t);)La(t,!0,-1)?(Z=!0,h=s,t.lineIndent>e?X=1:t.lineIndent===e?X=0:t.lineIndent<e&&(X=-1)):h=!1;if(h&&(h=Z||o),X!==1&&r!==4||(F=r===1||r===2?e:e+1,z=t.position-t.lineStart,X===1?h&&(Lm(t,z)||(function(K,Ae,fe){var me,xe,Se,Me,Ne,we,ye,ke=K.tag,Ie=K.anchor,De={},tt=Object.create(null),Dt=null,$t=null,lr=null,vr=!1,yr=!1;if(K.firstTabInLine!==-1)return!1;for(K.anchor!==null&&(K.anchorMap[K.anchor]=De),ye=K.input.charCodeAt(K.position);ye!==0;){if(vr||K.firstTabInLine===-1||(K.position=K.firstTabInLine,Zt(K,"tab characters must not be used in indentation")),me=K.input.charCodeAt(K.position+1),Se=K.line,ye!==63&&ye!==58||!ie(me)){if(Me=K.line,Ne=K.lineStart,we=K.position,!Kn(K,fe,2,!1,!0))break;if(K.line===Se){for(ye=K.input.charCodeAt(K.position);re(ye);)ye=K.input.charCodeAt(++K.position);if(ye===58)ie(ye=K.input.charCodeAt(++K.position))||Zt(K,"a whitespace character is expected after the key-value separator within a block mapping"),vr&&(rc(K,De,tt,Dt,$t,null,Me,Ne,we),Dt=$t=lr=null),yr=!0,vr=!1,xe=!1,Dt=K.tag,$t=K.result;else{if(!yr)return K.tag=ke,K.anchor=Ie,!0;Zt(K,"can not read an implicit mapping pair; a colon is missed")}}else{if(!yr)return K.tag=ke,K.anchor=Ie,!0;Zt(K,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else ye===63?(vr&&(rc(K,De,tt,Dt,$t,null,Me,Ne,we),Dt=$t=lr=null),yr=!0,vr=!0,xe=!0):vr?(vr=!1,xe=!0):Zt(K,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),K.position+=1,ye=me;if((K.line===Se||K.lineIndent>Ae)&&(vr&&(Me=K.line,Ne=K.lineStart,we=K.position),Kn(K,Ae,4,!0,xe)&&(vr?$t=K.result:lr=K.result),vr||(rc(K,De,tt,Dt,$t,lr,Me,Ne,we),Dt=$t=lr=null),La(K,!0,-1),ye=K.input.charCodeAt(K.position)),(K.line===Se||K.lineIndent>Ae)&&ye!==0)Zt(K,"bad indentation of a mapping entry");else if(K.lineIndent<Ae)break}return vr&&rc(K,De,tt,Dt,$t,null,Me,Ne,we),yr&&(K.tag=ke,K.anchor=Ie,K.kind="mapping",K.result=De),yr})(t,z,F))||(function(K,Ae){var fe,me,xe,Se,Me,Ne,we,ye,ke,Ie,De,tt,Dt=!0,$t=K.tag,lr=K.anchor,vr=Object.create(null);if((tt=K.input.charCodeAt(K.position))===91)Me=93,ye=!1,Se=[];else{if(tt!==123)return!1;Me=125,ye=!0,Se={}}for(K.anchor!==null&&(K.anchorMap[K.anchor]=Se),tt=K.input.charCodeAt(++K.position);tt!==0;){if(La(K,!0,Ae),(tt=K.input.charCodeAt(K.position))===Me)return K.position++,K.tag=$t,K.anchor=lr,K.kind=ye?"mapping":"sequence",K.result=Se,!0;Dt?tt===44&&Zt(K,"expected the node content, but found ','"):Zt(K,"missed comma between flow collection entries"),De=null,Ne=we=!1,tt===63&&ie(K.input.charCodeAt(K.position+1))&&(Ne=we=!0,K.position++,La(K,!0,Ae)),fe=K.line,me=K.lineStart,xe=K.position,Kn(K,Ae,1,!1,!0),Ie=K.tag,ke=K.result,La(K,!0,Ae),tt=K.input.charCodeAt(K.position),!we&&K.line!==fe||tt!==58||(Ne=!0,tt=K.input.charCodeAt(++K.position),La(K,!0,Ae),Kn(K,Ae,1,!1,!0),De=K.result),ye?rc(K,Se,vr,Ie,ke,De,fe,me,xe):Ne?Se.push(rc(K,null,vr,Ie,ke,De,fe,me,xe)):Se.push(ke),La(K,!0,Ae),(tt=K.input.charCodeAt(K.position))===44?(Dt=!0,tt=K.input.charCodeAt(++K.position)):Dt=!1}Zt(K,"unexpected end of the stream within a flow collection")})(t,F)?te=!0:(b&&(function(K,Ae){var fe,me,xe,Se,Me,Ne=1,we=!1,ye=!1,ke=Ae,Ie=0,De=!1;if((Se=K.input.charCodeAt(K.position))===124)me=!1;else{if(Se!==62)return!1;me=!0}for(K.kind="scalar",K.result="";Se!==0;)if((Se=K.input.charCodeAt(++K.position))===43||Se===45)Ne===1?Ne=Se===43?3:2:Zt(K,"repeat of a chomping mode identifier");else{if(!((xe=48<=(Me=Se)&&Me<=57?Me-48:-1)>=0))break;xe===0?Zt(K,"bad explicit indentation width of a block scalar; it cannot be less than one"):ye?Zt(K,"repeat of an indentation width identifier"):(ke=Ae+xe-1,ye=!0)}if(re(Se)){do Se=K.input.charCodeAt(++K.position);while(re(Se));if(Se===35)do Se=K.input.charCodeAt(++K.position);while(!L(Se)&&Se!==0)}for(;Se!==0;){for(Es(K),K.lineIndent=0,Se=K.input.charCodeAt(K.position);(!ye||K.lineIndent<ke)&&Se===32;)K.lineIndent++,Se=K.input.charCodeAt(++K.position);if(!ye&&K.lineIndent>ke&&(ke=K.lineIndent),L(Se))Ie++;else{if(K.lineIndent<ke){Ne===3?K.result+=vt.repeat(`
|
||
`,we?1+Ie:Ie):Ne===1&&we&&(K.result+=`
|
||
`);break}for(me?re(Se)?(De=!0,K.result+=vt.repeat(`
|
||
`,we?1+Ie:Ie)):De?(De=!1,K.result+=vt.repeat(`
|
||
`,Ie+1)):Ie===0?we&&(K.result+=" "):K.result+=vt.repeat(`
|
||
`,Ie):K.result+=vt.repeat(`
|
||
`,we?1+Ie:Ie),we=!0,ye=!0,Ie=0,fe=K.position;!L(Se)&&Se!==0;)Se=K.input.charCodeAt(++K.position);Hs(K,fe,K.position,!1)}}return!0})(t,F)||(function(K,Ae){var fe,me,xe;if((fe=K.input.charCodeAt(K.position))!==39)return!1;for(K.kind="scalar",K.result="",K.position++,me=xe=K.position;(fe=K.input.charCodeAt(K.position))!==0;)if(fe===39){if(Hs(K,me,K.position,!0),(fe=K.input.charCodeAt(++K.position))!==39)return!0;me=K.position,K.position++,xe=K.position}else L(fe)?(Hs(K,me,xe,!0),nc(K,La(K,!1,Ae)),me=xe=K.position):K.position===K.lineStart&&Nc(K)?Zt(K,"unexpected end of the document within a single quoted scalar"):(K.position++,xe=K.position);Zt(K,"unexpected end of the stream within a single quoted scalar")})(t,F)||(function(K,Ae){var fe,me,xe,Se,Me,Ne,we;if((Ne=K.input.charCodeAt(K.position))!==34)return!1;for(K.kind="scalar",K.result="",K.position++,fe=me=K.position;(Ne=K.input.charCodeAt(K.position))!==0;){if(Ne===34)return Hs(K,fe,K.position,!0),K.position++,!0;if(Ne===92){if(Hs(K,fe,K.position,!0),L(Ne=K.input.charCodeAt(++K.position)))La(K,!1,Ae);else if(Ne<256&&Et[Ne])K.result+=Ct[Ne],K.position++;else if((Me=(we=Ne)===120?2:we===117?4:we===85?8:0)>0){for(xe=Me,Se=0;xe>0;xe--)(Me=$e(Ne=K.input.charCodeAt(++K.position)))>=0?Se=(Se<<4)+Me:Zt(K,"expected hexadecimal character");K.result+=We(Se),K.position++}else Zt(K,"unknown escape sequence");fe=me=K.position}else L(Ne)?(Hs(K,fe,me,!0),nc(K,La(K,!1,Ae)),fe=me=K.position):K.position===K.lineStart&&Nc(K)?Zt(K,"unexpected end of the document within a double quoted scalar"):(K.position++,me=K.position)}Zt(K,"unexpected end of the stream within a double quoted scalar")})(t,F)?te=!0:(function(K){var Ae,fe,me;if((me=K.input.charCodeAt(K.position))!==42)return!1;for(me=K.input.charCodeAt(++K.position),Ae=K.position;me!==0&&!ie(me)&&!ve(me);)me=K.input.charCodeAt(++K.position);return K.position===Ae&&Zt(K,"name of an alias node must contain at least one character"),fe=K.input.slice(Ae,K.position),Fa.call(K.anchorMap,fe)||Zt(K,'unidentified alias "'+fe+'"'),K.result=K.anchorMap[fe],La(K,!0,-1),!0})(t)?(te=!0,t.tag===null&&t.anchor===null||Zt(t,"alias node should not have any properties")):(function(K,Ae,fe){var me,xe,Se,Me,Ne,we,ye,ke,Ie=K.kind,De=K.result;if(ie(ke=K.input.charCodeAt(K.position))||ve(ke)||ke===35||ke===38||ke===42||ke===33||ke===124||ke===62||ke===39||ke===34||ke===37||ke===64||ke===96||(ke===63||ke===45)&&(ie(me=K.input.charCodeAt(K.position+1))||fe&&ve(me)))return!1;for(K.kind="scalar",K.result="",xe=Se=K.position,Me=!1;ke!==0;){if(ke===58){if(ie(me=K.input.charCodeAt(K.position+1))||fe&&ve(me))break}else if(ke===35){if(ie(K.input.charCodeAt(K.position-1)))break}else{if(K.position===K.lineStart&&Nc(K)||fe&&ve(ke))break;if(L(ke)){if(Ne=K.line,we=K.lineStart,ye=K.lineIndent,La(K,!1,-1),K.lineIndent>=Ae){Me=!0,ke=K.input.charCodeAt(K.position);continue}K.position=Se,K.line=Ne,K.lineStart=we,K.lineIndent=ye;break}}Me&&(Hs(K,xe,Se,!1),nc(K,K.line-Ne),xe=Se=K.position,Me=!1),re(ke)||(Se=K.position+1),ke=K.input.charCodeAt(++K.position)}return Hs(K,xe,Se,!1),!!K.result||(K.kind=Ie,K.result=De,!1)})(t,F,r===1)&&(te=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):X===0&&(te=h&&Lm(t,z))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&Zt(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),E=0,k=t.implicitTypes.length;E<k;E+=1)if((R=t.implicitTypes[E]).resolve(t.result)){t.result=R.construct(t.result),t.tag=R.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(Fa.call(t.typeMap[t.kind||"fallback"],t.tag))R=t.typeMap[t.kind||"fallback"][t.tag];else for(R=null,E=0,k=(T=t.typeMap.multi[t.kind||"fallback"]).length;E<k;E+=1)if(t.tag.slice(0,T[E].tag.length)===T[E].tag){R=T[E];break}R||Zt(t,"unknown tag !<"+t.tag+">"),t.result!==null&&R.kind!==t.kind&&Zt(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+R.kind+'", not "'+t.kind+'"'),R.resolve(t.result,t.tag)?(t.result=R.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):Zt(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||te}function th(t){var e,r,n,o,s=t.position,b=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(o=t.input.charCodeAt(t.position))!==0&&(La(t,!0,-1),o=t.input.charCodeAt(t.position),!(t.lineIndent>0||o!==37));){for(b=!0,o=t.input.charCodeAt(++t.position),e=t.position;o!==0&&!ie(o);)o=t.input.charCodeAt(++t.position);for(n=[],(r=t.input.slice(e,t.position)).length<1&&Zt(t,"directive name must not be less than one character in length");o!==0;){for(;re(o);)o=t.input.charCodeAt(++t.position);if(o===35){do o=t.input.charCodeAt(++t.position);while(o!==0&&!L(o));break}if(L(o))break;for(e=t.position;o!==0&&!ie(o);)o=t.input.charCodeAt(++t.position);n.push(t.input.slice(e,t.position))}o!==0&&Es(t),Fa.call(Oi,r)?Oi[r](t,r,n):ca(t,'unknown document directive "'+r+'"')}La(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,La(t,!0,-1)):b&&Zt(t,"directives end mark is expected"),Kn(t,t.lineIndent-1,4,!1,!0),La(t,!0,-1),t.checkLineBreaks&&xl.test(t.input.slice(s,t.position))&&ca(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Nc(t)?t.input.charCodeAt(t.position)===46&&(t.position+=3,La(t,!0,-1)):t.position<t.length-1&&Zt(t,"end of the stream or a document separator is expected")}function vu(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 Qt(t,e),n=t.indexOf("\0");for(n!==-1&&(r.position=n,Zt(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;)th(r);return r.documents}var Mc={loadAll:function(e,r,n){r!==null&&typeof r=="object"&&n===void 0&&(n=r,r=null);var o=vu(e,n);if(typeof r!="function")return o;for(var s=0,b=o.length;s<b;s+=1)r(o[s])},load:function(e,r){var n=vu(e,r);if(n.length!==0){if(n.length===1)return n[0];throw new cr("expected a single document in the stream, but found more")}}},rh=Object.prototype.toString,mp=Object.prototype.hasOwnProperty,ac=65279,gp={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"},Rc=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],qm=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function L0(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 cr("code point within a string may not be greater than 0xFFFFFFFF");r="U",n=8}return"\\"+r+vt.repeat("0",n-e.length)+e}function $0(t){this.schema=t.schema||Ws,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=vt.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=(function(r,n){var o,s,b,h,E,k,T;if(n===null)return{};for(o={},b=0,h=(s=Object.keys(n)).length;b<h;b+=1)E=s[b],k=String(n[E]),E.slice(0,2)==="!!"&&(E="tag:yaml.org,2002:"+E.slice(2)),(T=r.compiledTypeMap.fallback[E])&&mp.call(T.styleAliases,k)&&(k=T.styleAliases[k]),o[E]=k;return o})(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 nh(t,e){for(var r,n=vt.repeat(" ",e),o=0,s=-1,b="",h=t.length;o<h;)(s=t.indexOf(`
|
||
`,o))===-1?(r=t.slice(o),o=h):(r=t.slice(o,s+1),o=s+1),r.length&&r!==`
|
||
`&&(b+=n),b+=r;return b}function Dc(t,e){return`
|
||
`+vt.repeat(" ",t.indent*e)}function oc(t){return t===32||t===9}function ic(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==ac||65536<=t&&t<=1114111}function yp(t){return ic(t)&&t!==ac&&t!==13&&t!==10}function vp(t,e,r){var n=yp(t),o=n&&!oc(t);return(r?n:n&&t!==44&&t!==91&&t!==93&&t!==123&&t!==125)&&t!==35&&!(e===58&&!o)||yp(e)&&!oc(e)&&t===35||e===58&&o}function sc(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 zm(t){return/^\n* /.test(t)}function Vm(t,e,r,n,o,s,b,h){var E,k=0,T=null,R=!1,F=!1,z=n!==-1,X=-1,Z=(function(ae){return ic(ae)&&ae!==ac&&!oc(ae)&&ae!==45&&ae!==63&&ae!==58&&ae!==44&&ae!==91&&ae!==93&&ae!==123&&ae!==125&&ae!==35&&ae!==38&&ae!==42&&ae!==33&&ae!==124&&ae!==61&&ae!==62&&ae!==39&&ae!==34&&ae!==37&&ae!==64&&ae!==96})(sc(t,0))&&(function(ae){return!oc(ae)&&ae!==58})(sc(t,t.length-1));if(e||b)for(E=0;E<t.length;k>=65536?E+=2:E++){if(!ic(k=sc(t,E)))return 5;Z=Z&&vp(k,T,h),T=k}else{for(E=0;E<t.length;k>=65536?E+=2:E++){if((k=sc(t,E))===10)R=!0,z&&(F=F||E-X-1>n&&t[X+1]!==" ",X=E);else if(!ic(k))return 5;Z=Z&&vp(k,T,h),T=k}F=F||z&&E-X-1>n&&t[X+1]!==" "}return R||F?r>9&&zm(t)?5:b?s===2?5:2:F?4:3:!Z||b||o(t)?s===2?5:2:1}function U0(t,e,r,n,o){t.dump=(function(){if(e.length===0)return t.quotingType===2?'""':"''";if(!t.noCompatMode&&(Rc.indexOf(e)!==-1||qm.test(e)))return t.quotingType===2?'"'+e+'"':"'"+e+"'";var s=t.indent*Math.max(1,r),b=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-s),h=n||t.flowLevel>-1&&r>=t.flowLevel;switch(Vm(e,h,t.indent,b,(function(k){return(function(R,F){var z,X;for(z=0,X=R.implicitTypes.length;z<X;z+=1)if(R.implicitTypes[z].resolve(F))return!0;return!1})(t,k)}),t.quotingType,t.forceQuotes&&!n,o)){case 1:return e;case 2:return"'"+e.replace(/'/g,"''")+"'";case 3:return"|"+Wm(e,t.indent)+bp(nh(e,s));case 4:return">"+Wm(e,t.indent)+bp(nh((function(k,T){for(var R,F,z=/(\n+)([^\n]*)/g,X=(te=k.indexOf(`
|
||
`),te=te!==-1?te:k.length,z.lastIndex=te,Ks(k.slice(0,te),T)),Z=k[0]===`
|
||
`||k[0]===" ",te;F=z.exec(k);){var ae=F[1],K=F[2];R=K[0]===" ",X+=ae+(Z||R||K===""?"":`
|
||
`)+Ks(K,T),Z=R}return X})(e,b),s));case 5:return'"'+(function(k){for(var T,R="",F=0,z=0;z<k.length;F>=65536?z+=2:z++)F=sc(k,z),!(T=gp[F])&&ic(F)?(R+=k[z],F>=65536&&(R+=k[z+1])):R+=T||L0(F);return R})(e)+'"';default:throw new cr("impossible error: invalid scalar style")}})()}function Wm(t,e){var r=zm(t)?String(e):"",n=t[t.length-1]===`
|
||
`;return r+(n&&(t[t.length-2]===`
|
||
`||t===`
|
||
`)?"+":n?"":"-")+`
|
||
`}function bp(t){return t[t.length-1]===`
|
||
`?t.slice(0,-1):t}function Ks(t,e){if(t===""||t[0]===" ")return t;for(var r,n,o=/ [^ ]/g,s=0,b=0,h=0,E="";r=o.exec(t);)(h=r.index)-s>e&&(n=b>s?b:h,E+=`
|
||
`+t.slice(s,n),s=n+1),b=h;return E+=`
|
||
`,t.length-s>e&&b>s?E+=t.slice(s,b)+`
|
||
`+t.slice(b+1):E+=t.slice(s),E.slice(1)}function ah(t,e,r,n){var o,s,b,h="",E=t.tag;for(o=0,s=r.length;o<s;o+=1)b=r[o],t.replacer&&(b=t.replacer.call(r,String(o),b)),(uo(t,e+1,b,!0,!0,!1,!0)||b===void 0&&uo(t,e+1,null,!0,!0,!1,!0))&&(n&&h===""||(h+=Dc(t,e)),t.dump&&t.dump.charCodeAt(0)===10?h+="-":h+="- ",h+=t.dump);t.tag=E,t.dump=h||"[]"}function lc(t,e,r){var n,o,s,b,h,E;for(s=0,b=(o=r?t.explicitTypes:t.implicitTypes).length;s<b;s+=1)if(((h=o[s]).instanceOf||h.predicate)&&(!h.instanceOf||typeof e=="object"&&e instanceof h.instanceOf)&&(!h.predicate||h.predicate(e))){if(r?h.multi&&h.representName?t.tag=h.representName(e):t.tag=h.tag:t.tag="?",h.represent){if(E=t.styleMap[h.tag]||h.defaultStyle,rh.call(h.represent)==="[object Function]")n=h.represent(e,E);else{if(!mp.call(h.represent,E))throw new cr("!<"+h.tag+'> tag resolver accepts not "'+E+'" style');n=h.represent[E](e,E)}t.dump=n}return!0}return!1}function uo(t,e,r,n,o,s,b){t.tag=null,t.dump=r,lc(t,r,!1)||lc(t,r,!0);var h,E=rh.call(t.dump),k=n;n&&(n=t.flowLevel<0||t.flowLevel>e);var T,R,F=E==="[object Object]"||E==="[object Array]";if(F&&(R=(T=t.duplicates.indexOf(r))!==-1),(t.tag!==null&&t.tag!=="?"||R||t.indent!==2&&e>0)&&(o=!1),R&&t.usedDuplicates[T])t.dump="*ref_"+T;else{if(F&&R&&!t.usedDuplicates[T]&&(t.usedDuplicates[T]=!0),E==="[object Object]")n&&Object.keys(t.dump).length!==0?((function(X,Z,te,ae){var K,Ae,fe,me,xe,Se,Me="",Ne=X.tag,we=Object.keys(te);if(X.sortKeys===!0)we.sort();else if(typeof X.sortKeys=="function")we.sort(X.sortKeys);else if(X.sortKeys)throw new cr("sortKeys must be a boolean or a function");for(K=0,Ae=we.length;K<Ae;K+=1)Se="",ae&&Me===""||(Se+=Dc(X,Z)),me=te[fe=we[K]],X.replacer&&(me=X.replacer.call(te,fe,me)),uo(X,Z+1,fe,!0,!0,!0)&&((xe=X.tag!==null&&X.tag!=="?"||X.dump&&X.dump.length>1024)&&(X.dump&&X.dump.charCodeAt(0)===10?Se+="?":Se+="? "),Se+=X.dump,xe&&(Se+=Dc(X,Z)),uo(X,Z+1,me,!0,xe)&&(X.dump&&X.dump.charCodeAt(0)===10?Se+=":":Se+=": ",Me+=Se+=X.dump));X.tag=Ne,X.dump=Me||"{}"})(t,e,t.dump,o),R&&(t.dump="&ref_"+T+t.dump)):((function(X,Z,te){var ae,K,Ae,fe,me,xe="",Se=X.tag,Me=Object.keys(te);for(ae=0,K=Me.length;ae<K;ae+=1)me="",xe!==""&&(me+=", "),X.condenseFlow&&(me+='"'),fe=te[Ae=Me[ae]],X.replacer&&(fe=X.replacer.call(te,Ae,fe)),uo(X,Z,Ae,!1,!1)&&(X.dump.length>1024&&(me+="? "),me+=X.dump+(X.condenseFlow?'"':"")+":"+(X.condenseFlow?"":" "),uo(X,Z,fe,!1,!1)&&(xe+=me+=X.dump));X.tag=Se,X.dump="{"+xe+"}"})(t,e,t.dump),R&&(t.dump="&ref_"+T+" "+t.dump));else if(E==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!b&&e>0?ah(t,e-1,t.dump,o):ah(t,e,t.dump,o),R&&(t.dump="&ref_"+T+t.dump)):((function(X,Z,te){var ae,K,Ae,fe="",me=X.tag;for(ae=0,K=te.length;ae<K;ae+=1)Ae=te[ae],X.replacer&&(Ae=X.replacer.call(te,String(ae),Ae)),(uo(X,Z,Ae,!1,!1)||Ae===void 0&&uo(X,Z,null,!1,!1))&&(fe!==""&&(fe+=","+(X.condenseFlow?"":" ")),fe+=X.dump);X.tag=me,X.dump="["+fe+"]"})(t,e,t.dump),R&&(t.dump="&ref_"+T+" "+t.dump));else{if(E!=="[object String]"){if(E==="[object Undefined]"||t.skipInvalid)return!1;throw new cr("unacceptable kind of an object to dump "+E)}t.tag!=="?"&&U0(t,t.dump,e,s,k)}t.tag!==null&&t.tag!=="?"&&(h=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),h=t.tag[0]==="!"?"!"+h:h.slice(0,18)==="tag:yaml.org,2002:"?"!!"+h.slice(18):"!<"+h+">",t.dump=h+" "+t.dump)}return!0}function bu(t,e){var r,n,o=[],s=[];for(ss(t,o,s),r=0,n=s.length;r<n;r+=1)e.duplicates.push(o[s[r]]);e.usedDuplicates=new Array(n)}function ss(t,e,r){var n,o,s;if(t!==null&&typeof t=="object")if((o=e.indexOf(t))!==-1)r.indexOf(o)===-1&&r.push(o);else if(e.push(t),Array.isArray(t))for(o=0,s=t.length;o<s;o+=1)ss(t[o],e,r);else for(o=0,s=(n=Object.keys(t)).length;o<s;o+=1)ss(t[n[o]],e,r)}var oh=function(e,r){var n=new $0(r=r||{});n.noRefs||bu(e,n);var o=e;return n.replacer&&(o=n.replacer.call({"":o},"",o)),uo(n,0,o,!0,!0)?n.dump+`
|
||
`:""};function ih(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 q0=mr,cc=Mr,_u=hn,Ji=Wa,_p=no,sh=Ws,Bc=Mc.load,Al=Mc.loadAll,Ea=oh,ma=cr,Ol={binary:xn,float:Ir,map:or,null:Kr,pairs:Sl,set:Tc,timestamp:So,bool:Tr,int:jn,merge:ws,omap:ec,seq:gr,str:jr},To=ih("safeLoad","load"),yi=ih("safeLoadAll","loadAll"),uc=ih("safeDump","dump");const xo={Type:q0,Schema:cc,FAILSAFE_SCHEMA:_u,JSON_SCHEMA:Ji,CORE_SCHEMA:_p,DEFAULT_SCHEMA:sh,load:Bc,loadAll:Al,dump:Ea,YAMLException:ma,types:Ol,safeLoad:To,safeLoadAll:yi,safeDump:uc},zo="configs_update",wu="configs_toggle";function Jm(t,e){return{type:zo,payload:{[t]:e}}}function Hm(t){return{type:wu,payload:t}}const wp=()=>()=>{},Km=t=>e=>{const{fn:{fetch:r}}=e;return r(t)},Gs=(t,e)=>r=>{const{specActions:n,configsActions:o}=r;if(t)return o.downloadConfig(t).then(s,s);function s(b){b instanceof Error||b.status>=400?(n.updateLoadingStatus("failedConfig"),n.updateLoadingStatus("failedConfig"),n.updateUrl(""),console.error(b.statusText+" "+t.url),e(null)):e(((h,E)=>{try{return xo.load(h)}catch(k){return E&&E.errActions.newThrownErr(new Error(k)),{}}})(b.text,r))}},Ep=(t,e)=>t.getIn(Array.isArray(e)?e:[e]),lh={[zo]:(t,e)=>t.merge((0,ee.fromJS)(e.payload)),[wu]:(t,e)=>{const r=e.payload,n=t.get(r);return t.set(r,!n)}};function ch(){return{statePlugins:{configs:{reducers:lh,actions:c,selectors:v}}}}const Ss=t=>t?history.pushState(null,null,`#${t}`):window.location.hash="";var Fc=qe(86215),Lc=qe.n(Fc);const Eu="layout_scroll_to",Su="layout_clear_scroll",Hi={fn:{getScrollParent:function(e,r){const n=document.documentElement;let o=getComputedStyle(e);const s=o.position==="absolute",b=r?/(auto|scroll|hidden)/:/(auto|scroll)/;if(o.position==="fixed")return n;for(let h=e;h=h.parentElement;)if(o=getComputedStyle(h),(!s||o.position!=="static")&&b.test(o.overflow+o.overflowY+o.overflowX))return h;return n}},statePlugins:{layout:{actions:{scrollToElement:(t,e)=>r=>{try{e=e||r.fn.getScrollParent(t),Lc().createScroller(e).to(t)}catch(n){console.error(n)}},scrollTo:t=>({type:Eu,payload:Array.isArray(t)?t:[t]}),clearScrollTo:()=>({type:Su}),readyToScroll:(t,e)=>r=>{const n=r.layoutSelectors.getScrollToKey();_e().is(n,(0,ee.fromJS)(t))&&(r.layoutActions.scrollToElement(e),r.layoutActions.clearScrollTo())},parseDeepLinkHash:t=>({layoutActions:e,layoutSelectors:r,getConfigs:n})=>{if(n().deepLinking&&t){let o=t.slice(1);o[0]==="!"&&(o=o.slice(1)),o[0]==="/"&&(o=o.slice(1));const s=o.split("/").map((T=>T||"")),b=r.isShownKeyFromUrlHashArray(s),[h,E="",k=""]=b;if(h==="operations"){const T=r.isShownKeyFromUrlHashArray([E]);E.indexOf("_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(T.map((R=>R.replace(/_/g," "))),!0)),e.show(T,!0)}(E.indexOf("_")>-1||k.indexOf("_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(b.map((T=>T.replace(/_/g," "))),!0)),e.show(b,!0),e.scrollTo(b)}}},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,o]=e;return r=="operations"?[n,o]:r=="operations-tag"?[n]:[]}},reducers:{[Eu]:(t,e)=>t.set("scrollToKey",_e().fromJS(e.payload)),[Su]:t=>t.delete("scrollToKey")},wrapActions:{show:(t,{getConfigs:e,layoutSelectors:r})=>(...n)=>{if(t(...n),e().deepLinking)try{let[o,s]=n;o=Array.isArray(o)?o:[o];const b=r.urlHashArrayFromIsShownKey(o);if(!b.length)return;const[h,E]=b;if(!s)return Ss("/");b.length===2?Ss(wa(`/${encodeURIComponent(h)}/${encodeURIComponent(E)}`)):b.length===1&&Ss(wa(`/${encodeURIComponent(h)}`))}catch(o){console.error(o)}}}}}};var Ki=qe(2209),kl=qe.n(Ki);const xs=(t,e)=>class extends g.Component{onLoad=n=>{const{operation:o}=this.props,{tag:s,operationId:b}=o.toObject();let{isShownKey:h}=o.toObject();h=h||["operations",s,b],e.layoutActions.readyToScroll(h,n)};render(){return g.createElement("span",{ref:this.onLoad},g.createElement(t,this.props))}},Ys=(t,e)=>class extends g.Component{onLoad=n=>{const{tag:o}=this.props,s=["operations-tag",o];e.layoutActions.readyToScroll(s,n)};render(){return g.createElement("span",{ref:this.onLoad},g.createElement(t,this.props))}};function Cl(){return[Hi,{statePlugins:{configs:{wrapActions:{loaded:(t,e)=>(...r)=>{t(...r);const n=decodeURIComponent(window.location.hash);e.layoutActions.parseDeepLinkHash(n)}}}},wrapComponents:{operation:xs,OperationTag:Ys}}]}var Gm=qe(40860),uh=qe.n(Gm);function ph(t){return t.map((e=>{let r="is not of a type(s)",n=e.get("message").indexOf(r);if(n>-1){let o=e.get("message").slice(n+19).split(",");return e.set("message",e.get("message").slice(0,n)+(function(b){return b.reduce(((h,E,k,T)=>k===T.length-1&&T.length>1?h+"or "+E:T[k+1]&&T.length>2?h+E+", ":T[k+1]?h+E+" ":h+E),"should be a")})(o))}return e}))}var ki=qe(58156),Vo=qe.n(ki);function Sa(t,{jsSpec:e}){return t}const ls=[d,y];function $c(t){let e={jsSpec:{}};return uh()(ls,((n,o)=>{try{return o.transform(n,e).filter((s=>!!s))}catch(s){return console.error("Transformer error:",s),n}}),t).filter((n=>!!n)).map((n=>(!n.get("line")&&n.get("path"),n)))}let Sp={line:0,level:"error",message:"Unknown error"};const xp=_r((t=>t),(t=>t.get("errors",(0,ee.List)()))),fh=_r(xp,(t=>t.last()));function hh(t){return{statePlugins:{err:{reducers:{[Mt]:(e,{payload:r})=>{let n=Object.assign(Sp,r,{type:"thrown"});return e.update("errors",(o=>(o||(0,ee.List)()).push((0,ee.fromJS)(n)))).update("errors",(o=>$c(o)))},[_t]:(e,{payload:r})=>(r=r.map((n=>(0,ee.fromJS)(Object.assign(Sp,n,{type:"thrown"})))),e.update("errors",(n=>(n||(0,ee.List)()).concat((0,ee.fromJS)(r)))).update("errors",(n=>$c(n)))),[ht]:(e,{payload:r})=>{let n=(0,ee.fromJS)(r);return n=n.set("type","spec"),e.update("errors",(o=>(o||(0,ee.List)()).push((0,ee.fromJS)(n)).sortBy((s=>s.get("line"))))).update("errors",(o=>$c(o)))},[Lt]:(e,{payload:r})=>(r=r.map((n=>(0,ee.fromJS)(Object.assign(Sp,n,{type:"spec"})))),e.update("errors",(n=>(n||(0,ee.List)()).concat((0,ee.fromJS)(r)))).update("errors",(n=>$c(n)))),[Y]:(e,{payload:r})=>{let n=(0,ee.fromJS)(Object.assign({},r));return n=n.set("type","auth"),e.update("errors",(o=>(o||(0,ee.List)()).push((0,ee.fromJS)(n)))).update("errors",(o=>$c(o)))},[C]:(e,{payload:r})=>{if(!r||!e.get("errors"))return e;let n=e.get("errors").filter((o=>o.keySeq().every((s=>{const b=o.get(s),h=r[s];return!h||b!==h}))));return e.merge({errors:n})},[N]:(e,{payload:r})=>{if(!r||typeof r!="function")return e;let n=e.get("errors").filter((o=>r(o)));return e.merge({errors:n})}},actions:m,selectors:f}}}}function Ap(t,e){return t.filter(((r,n)=>n.indexOf(e)!==-1))}function dh(){return{fn:{opsFilter:Ap}}}var Uc=qe(7666),An=qe.n(Uc);const z0=({className:t=null,width:e=20,height:r=20,...n})=>g.createElement("svg",An()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),g.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"})),xu=({className:t=null,width:e=20,height:r=20,...n})=>g.createElement("svg",An()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),g.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"})),Op=({className:t=null,width:e=20,height:r=20,...n})=>g.createElement("svg",An()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),g.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"})),Ym=({className:t=null,width:e=20,height:r=20,...n})=>g.createElement("svg",An()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),g.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"})),Zm=({className:t=null,width:e=15,height:r=16,...n})=>g.createElement("svg",An()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),g.createElement("g",{transform:"translate(2, -1)"},g.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"}))),qc=({className:t=null,width:e=20,height:r=20,...n})=>g.createElement("svg",An()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),g.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"})),Xm=({className:t=null,width:e=20,height:r=20,...n})=>g.createElement("svg",An()({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),g.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"})),Au=()=>({components:{ArrowUpIcon:z0,ArrowDownIcon:xu,ArrowIcon:Op,CloseIcon:Ym,CopyIcon:Zm,LockIcon:qc,UnlockIcon:Xm}}),zc="layout_update_layout",jl="layout_update_filter",Ou="layout_update_mode",ku="layout_show";function mh(t){return{type:zc,payload:t}}function gh(t){return{type:jl,payload:t}}function Vc(t,e=!0){return t=Dn(t),{type:ku,payload:{thing:t,shown:e}}}function Gi(t,e=""){return t=Dn(t),{type:Ou,payload:{thing:t,mode:e}}}const pc={[zc]:(t,e)=>t.set("layout",e.payload),[jl]:(t,e)=>t.set("filter",e.payload),[ku]:(t,e)=>{const r=e.payload.shown,n=(0,ee.fromJS)(e.payload.thing);return t.update("shown",(0,ee.fromJS)({}),(o=>o.set(n,r)))},[Ou]:(t,e)=>{let r=e.payload.thing,n=e.payload.mode;return t.setIn(["modes"].concat(r),(n||"")+"")}},yh=t=>t.get("layout"),Qm=t=>t.get("filter"),As=(t,e,r)=>(e=Dn(e),t.get("shown",(0,ee.fromJS)({})).get((0,ee.fromJS)(e),r)),Il=(t,e,r="")=>(e=Dn(e),t.getIn(["modes",...e],r)),vh=_r((t=>t),(t=>!As(t,"editor"))),eg=(t,e)=>(r,...n)=>{let o=t(r,...n);const{fn:s,layoutSelectors:b,getConfigs:h}=e.getSystem(),E=h(),{maxDisplayedTags:k}=E;let T=b.currentFilter();return T&&T!==!0&&(o=s.opsFilter(o,T)),k>=0&&(o=o.slice(0,k)),o};function Os(){return{statePlugins:{layout:{reducers:pc,actions:p,selectors:w},spec:{wrapSelectors:x}}}}function Zs({configs:t}){const e={debug:0,info:1,log:2,warn:3,error:4},r=b=>e[b]||-1;let{logLevel:n}=t,o=r(n);function s(b,...h){r(b)>=o&&console[b](...h)}return s.warn=s.bind(null,"warn"),s.error=s.bind(null,"error"),s.info=s.bind(null,"info"),s.debug=s.bind(null,"debug"),{rootInjects:{log:s}}}let Wc=!1;function bh(){return{statePlugins:{spec:{wrapActions:{updateSpec:t=>(...e)=>(Wc=!0,t(...e)),updateJsonSpec:(t,e)=>(...r)=>{const n=e.getConfigs().onComplete;return Wc&&typeof n=="function"&&(setTimeout(n,0),Wc=!1),t(...r)}}}}}}const Cu=t=>{const e="_**[]";return t.indexOf(e)<0?t:t.split(e)[0].trim()},tg=t=>t==="-d "||/^[_\/-]/g.test(t)?t:"'"+t.replace(/'/g,"'\\''")+"'",ju=t=>(t=t.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,`^
|
||
`))==="-d "?t.replace(/-d /g,`-d ^
|
||
`):/^[_\/-]/g.test(t)?t:'"'+t+'"',ks=t=>t==="-d "?t:/\n/.test(t)?`@"
|
||
${t.replace(/`/g,"``").replace(/\$/g,"`$")}
|
||
"@`:/^[_\/-]/.test(t)?t:`'${t.replace(/'/g,"''")}'`,fc=(t,e,r,n="")=>{let o=!1,s="";const b=(...z)=>s+=" "+z.map(e).join(" "),h=(...z)=>s+=z.map(e).join(" "),E=()=>s+=` ${r}`,k=(z=1)=>s+=" ".repeat(z);let T=t.get("headers");s+="curl"+n;const R=t.get("curlOptions");if(ee.List.isList(R)&&!R.isEmpty()&&b(...t.get("curlOptions")),b("-X",t.get("method")),E(),k(),h(`${t.get("url")}`),T&&T.size)for(let z of t.get("headers").entries()){E(),k();let[X,Z]=z;h("-H",`${X}: ${Z}`),o=o||/^content-type$/i.test(X)&&/^multipart\/form-data$/i.test(Z)}const F=t.get("body");if(F)if(o&&["POST","PUT","PATCH"].includes(t.get("method")))for(let[z,X]of F.entrySeq()){let Z=Cu(z);E(),k(),h("-F"),X instanceof yt.File&&typeof X.valueOf()=="string"?b(`${Z}=${X.data}${X.type?`;type=${X.type}`:""}`):X instanceof yt.File?b(`${Z}=@${X.name}${X.type?`;type=${X.type}`:""}`):b(`${Z}=${X}`)}else if(F instanceof yt.File)E(),k(),h(`--data-binary '@${F.name}'`);else{E(),k(),h("-d ");let z=F;ee.Map.isMap(z)?h((function(Z){let te=[];for(let[ae,K]of Z.get("body").entrySeq()){let Ae=Cu(ae);K instanceof yt.File?te.push(` "${Ae}": {
|
||
"name": "${K.name}"${K.type?`,
|
||
"type": "${K.type}"`:""}
|
||
}`):te.push(` "${Ae}": ${JSON.stringify(K,null,2).replace(/(\r\n|\r|\n)/g,`
|
||
`)}`)}return`{
|
||
${te.join(`,
|
||
`)}
|
||
}`})(t)):(typeof z!="string"&&(z=JSON.stringify(z)),h(z))}else F||t.get("method")!=="POST"||(E(),k(),h("-d ''"));return s},Iu=t=>fc(t,ks,"`\n",".exe"),Pl=t=>fc(t,tg,`\\
|
||
`),_h=t=>fc(t,ju,`^
|
||
`),Tl=t=>t||(0,ee.Map)(),wh=_r(Tl,(t=>{const e=t.get("languages"),r=t.get("generators",(0,ee.Map)());return!e||e.isEmpty()?r:r.filter(((n,o)=>e.includes(o)))})),Eh=t=>({fn:e})=>wh(t).map(((r,n)=>{const o=(s=>e[`requestSnippetGenerator_${s}`])(n);return typeof o!="function"?null:r.set("fn",o)})).filter((r=>r)),$a=_r(Tl,(t=>t.get("activeLanguage"))),kp=_r(Tl,(t=>t.get("defaultExpanded")));var Sh=qe(46942),On=qe.n(Sh),hc=qe(59399);const xh={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"},dc={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"},Ta=({request:t,requestSnippetsSelectors:e,getComponent:r})=>{const n=(0,g.useRef)(null),o=r("ArrowUpIcon"),s=r("ArrowDownIcon"),b=r("SyntaxHighlighter",!0),[h,E]=(0,g.useState)(e.getSnippetGenerators()?.keySeq().first()),[k,T]=(0,g.useState)(e?.getDefaultExpanded()),R=e.getSnippetGenerators(),F=R.get(h),z=F.get("fn")(t),X=()=>{T(!k)},Z=ae=>ae===h?dc:xh,te=ae=>{const{target:K,deltaY:Ae}=ae,{scrollHeight:fe,offsetHeight:me,scrollTop:xe}=K;fe>me&&(xe===0&&Ae<0||me+xe>=fe&&Ae>0)&&ae.preventDefault()};return(0,g.useEffect)((()=>{}),[]),(0,g.useEffect)((()=>{const ae=Array.from(n.current.childNodes).filter((K=>!!K.nodeType&&K.classList?.contains("curl-command")));return ae.forEach((K=>K.addEventListener("mousewheel",te,{passive:!1}))),()=>{ae.forEach((K=>K.removeEventListener("mousewheel",te)))}}),[t]),g.createElement("div",{className:"request-snippets",ref:n},g.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},g.createElement("h4",{onClick:()=>X(),style:{cursor:"pointer"}},"Snippets"),g.createElement("button",{onClick:()=>X(),style:{border:"none",background:"none"},title:k?"Collapse operation":"Expand operation"},k?g.createElement(s,{className:"arrow",width:"10",height:"10"}):g.createElement(o,{className:"arrow",width:"10",height:"10"}))),k&&g.createElement("div",{className:"curl-command"},g.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},R.entrySeq().map((([ae,K])=>g.createElement("div",{className:On()("btn",{active:ae===h}),style:Z(ae),key:ae,onClick:()=>(Ae=>{h!==Ae&&E(Ae)})(ae)},g.createElement("h4",{style:ae===h?{color:"white"}:{}},K.get("title")))))),g.createElement("div",{className:"copy-to-clipboard"},g.createElement(hc.CopyToClipboard,{text:z},g.createElement("button",null))),g.createElement("div",null,g.createElement(b,{language:F.get("syntax"),className:"curl microlight",renderPlainText:({children:ae,PlainTextViewer:K})=>g.createElement(K,{className:"curl"},ae)},z))))},ao=()=>({components:{RequestSnippets:Ta},fn:{requestSnippetGenerator_curl_bash:Pl,requestSnippetGenerator_curl_cmd:_h,requestSnippetGenerator_curl_powershell:Iu},statePlugins:{requestSnippets:{selectors:O}}});class Ya extends g.Component{static defaultProps={collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:_e().List([])};constructor(e,r){super(e,r);let{expanded:n,collapsedContent:o}=this.props;this.state={expanded:n,collapsedContent:o||Ya.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:e,expanded:r,modelName:n}=this.props;e&&r&&this.props.onToggle(n,r)}UNSAFE_componentWillReceiveProps(e){this.props.expanded!==e.expanded&&this.setState({expanded:e.expanded})}toggleCollapsed=()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})};onLoad=e=>{if(e&&this.props.layoutSelectors){const r=this.props.layoutSelectors.getScrollToKey();_e().is(r,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,e.parentElement)}};render(){const{title:e,classes:r}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?g.createElement("span",{className:r||""},this.props.children):g.createElement("span",{className:r||"",ref:this.onLoad},g.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},e&&g.createElement("span",{className:"pointer"},e),g.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&g.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}const Cp=({initialTab:t,isExecute:e,schema:r,example:n})=>{const o=(0,g.useMemo)((()=>({example:"example",model:"model"})),[]),s=(0,g.useMemo)((()=>Object.keys(o)),[o]).includes(t)&&r&&!e?t:o.example,b=(T=>{const R=(0,g.useRef)();return(0,g.useEffect)((()=>{R.current=T})),R.current})(e),[h,E]=(0,g.useState)(s),k=(0,g.useCallback)((T=>{E(T.target.dataset.name)}),[]);return(0,g.useEffect)((()=>{b&&!e&&n&&E(o.example)}),[b,e,n]),{activeTab:h,onTabChange:k,tabs:o}},Pu=({schema:t,example:e,isExecute:r=!1,specPath:n,includeWriteOnly:o=!1,includeReadOnly:s=!1,getComponent:b,getConfigs:h,specSelectors:E})=>{const{defaultModelRendering:k,defaultModelExpandDepth:T}=h(),R=b("ModelWrapper"),F=b("HighlightCode",!0),z=Zn()(5).toString("base64"),X=Zn()(5).toString("base64"),Z=Zn()(5).toString("base64"),te=Zn()(5).toString("base64"),ae=E.isOAS3(),{activeTab:K,tabs:Ae,onTabChange:fe}=Cp({initialTab:k,isExecute:r,schema:t,example:e});return g.createElement("div",{className:"model-example"},g.createElement("ul",{className:"tab",role:"tablist"},g.createElement("li",{className:On()("tabitem",{active:K===Ae.example}),role:"presentation"},g.createElement("button",{"aria-controls":X,"aria-selected":K===Ae.example,className:"tablinks","data-name":"example",id:z,onClick:fe,role:"tab"},r?"Edit Value":"Example Value")),t&&g.createElement("li",{className:On()("tabitem",{active:K===Ae.model}),role:"presentation"},g.createElement("button",{"aria-controls":te,"aria-selected":K===Ae.model,className:On()("tablinks",{inactive:r}),"data-name":"model",id:Z,onClick:fe,role:"tab"},ae?"Schema":"Model"))),K===Ae.example&&g.createElement("div",{"aria-hidden":K!==Ae.example,"aria-labelledby":z,"data-name":"examplePanel",id:X,role:"tabpanel",tabIndex:"0"},e||g.createElement(F,null,"(no example available")),K===Ae.model&&g.createElement("div",{className:"model-container","aria-hidden":K===Ae.example,"aria-labelledby":Z,"data-name":"modelPanel",id:te,role:"tabpanel",tabIndex:"0"},g.createElement(R,{schema:t,getComponent:b,getConfigs:h,specSelectors:E,expandDepth:T,specPath:n,includeReadOnly:s,includeWriteOnly:o})))};class Tu extends g.Component{onToggle=(e,r)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,r)};render(){let{getComponent:e,getConfigs:r}=this.props;const n=e("Model");let o;return this.props.layoutSelectors&&(o=this.props.layoutSelectors.isShown(this.props.fullPath)),g.createElement("div",{className:"model-box"},g.createElement(n,An()({},this.props,{getConfigs:r,expanded:o,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||0})))}}function Ah(t){return Ah=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},Ah(t)}function No(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 Oh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function jp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,n)}return r}function Nu(t){return Nu=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Nu(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(n,o){return n.__proto__=o,n},Yi(t,e)}function Zi(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 Jc={};function kh(t,e,r){return(function(o){return o==null})(t)?r:(function(o){return o!==null&&Ah(o)==="object"&&typeof o.get=="function"&&typeof o.has=="function"})(t)?t.has(e)?t.get(e):r:hasOwnProperty.call(t,e)?t[e]:r}function Ip(t,e,r){for(var n=0;n!==e.length;)if((t=kh(t,e[n++],Jc))===Jc)return r;return t}function Ch(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=(function(b,h){return function(E){if(typeof E=="string")return(0,ee.is)(h[E],b[E]);if(Array.isArray(E))return(0,ee.is)(Ip(h,E),Ip(b,E));throw new TypeError("Invalid key: expected Array or string: "+E)}})(e,r),o=t||Object.keys((function(b){for(var h=1;h<arguments.length;h++){var E=arguments[h]!=null?arguments[h]:{};h%2?jp(E,!0).forEach((function(k){Oh(b,k,E[k])})):Object.getOwnPropertyDescriptors?Object.defineProperties(b,Object.getOwnPropertyDescriptors(E)):jp(E).forEach((function(k){Object.defineProperty(b,k,Object.getOwnPropertyDescriptor(E,k))}))}return b})({},r,{},e));return o.every(n)}const rg=(function(t){function e(){return(function(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")})(this,e),Zi(this,Nu(e).apply(this,arguments))}return(function(n,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(o&&o.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),o&&Yi(n,o)})(e,t),(function(n,o,s){return o&&No(n.prototype,o),n})(e,[{key:"shouldComponentUpdate",value:function(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!Ch(this.updateOnProps,this.props,n,"updateOnProps")||!Ch(this.updateOnStates,this.state,o,"updateOnStates")}}]),e})(g.Component);var jh,ng=qe(5556),Wo=qe.n(ng);function Pp(){return Pp=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},Pp.apply(null,arguments)}const Ih=t=>g.createElement("svg",Pp({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),jh||(jh=g.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},g.createElement("animateTransform",{attributeName:"transform",begin:"0s",calcMode:"linear",dur:"1s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 50 50;360 50 50"})))),Ph=t=>{const e=t.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(e)}catch{return e}};class Mu extends rg{static propTypes={schema:kl().map.isRequired,getComponent:Wo().func.isRequired,getConfigs:Wo().func.isRequired,specSelectors:Wo().object.isRequired,name:Wo().string,displayName:Wo().string,isRef:Wo().bool,required:Wo().bool,expandDepth:Wo().number,depth:Wo().number,specPath:kl().list.isRequired,includeReadOnly:Wo().bool,includeWriteOnly:Wo().bool};getModelName=e=>e.indexOf("#/definitions/")!==-1?Ph(e.replace(/^.*#\/definitions\//,"")):e.indexOf("#/components/schemas/")!==-1?Ph(e.replace(/^.*#\/components\/schemas\//,"")):void 0;getRefSchema=e=>{let{specSelectors:r}=this.props;return r.findDefinition(e)};render(){let{getComponent:e,getConfigs:r,specSelectors:n,schema:o,required:s,name:b,isRef:h,specPath:E,displayName:k,includeReadOnly:T,includeWriteOnly:R}=this.props;const F=e("ObjectModel"),z=e("ArrayModel"),X=e("PrimitiveModel");let Z="object",te=o&&o.get("$$ref"),ae=o&&o.get("$ref");if(!b&&te&&(b=this.getModelName(te)),ae){const Ae=this.getModelName(ae),fe=this.getRefSchema(Ae);ee.Map.isMap(fe)?(o=fe.mergeDeep(o),te||(o=o.set("$$ref",ae),te=ae)):ee.Map.isMap(o)&&o.size===1&&(o=null,b=ae)}if(!o)return g.createElement("span",{className:"model model-title"},g.createElement("span",{className:"model-title__text"},k||b),!ae&&g.createElement(Ih,{height:"20px",width:"20px"}));const K=n.isOAS3()&&o.get("deprecated");switch(h=h!==void 0?h:!!te,Z=o&&o.get("type")||Z,Z){case"object":return g.createElement(F,An()({className:"object"},this.props,{specPath:E,getConfigs:r,schema:o,name:b,deprecated:K,isRef:h,includeReadOnly:T,includeWriteOnly:R}));case"array":return g.createElement(z,An()({className:"array"},this.props,{getConfigs:r,schema:o,name:b,deprecated:K,required:s,includeReadOnly:T,includeWriteOnly:R}));default:return g.createElement(X,An()({},this.props,{getComponent:e,getConfigs:r,schema:o,name:b,deprecated:K,required:s}))}}}class ag extends g.Component{getSchemaBasePath=()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"];getCollapsedContent=()=>" ";handleToggle=(e,r)=>{const{layoutActions:n}=this.props;n.show([...this.getSchemaBasePath(),e],r),r&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),e])};onLoadModels=e=>{e&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),e)};onLoadModel=e=>{if(e){const r=e.getAttribute("data-name");this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),r],e)}};render(){let{specSelectors:e,getComponent:r,layoutSelectors:n,layoutActions:o,getConfigs:s}=this.props,b=e.definitions(),{docExpansion:h,defaultModelsExpandDepth:E}=s();if(!b.size||E<0)return null;const k=this.getSchemaBasePath();let T=n.isShown(k,E>0&&h!=="none");const R=e.isOAS3(),F=r("ModelWrapper"),z=r("Collapse"),X=r("ModelCollapse"),Z=r("JumpToPath",!0),te=r("ArrowUpIcon"),ae=r("ArrowDownIcon");return g.createElement("section",{className:T?"models is-open":"models",ref:this.onLoadModels},g.createElement("h4",null,g.createElement("button",{"aria-expanded":T,className:"models-control",onClick:()=>o.show(k,!T)},g.createElement("span",null,R?"Schemas":"Models"),T?g.createElement(te,null):g.createElement(ae,null))),g.createElement(z,{isOpened:T},b.entrySeq().map((([K])=>{const Ae=[...k,K],fe=_e().List(Ae),me=e.specResolvedSubtree(Ae),xe=e.specJson().getIn(Ae),Se=ee.Map.isMap(me)?me:_e().Map(),Me=ee.Map.isMap(xe)?xe:_e().Map(),Ne=Se.get("title")||Me.get("title")||K,we=n.isShown(Ae,!1);we&&Se.size===0&&Me.size>0&&this.props.specActions.requestResolvedSubtree(Ae);const ye=g.createElement(F,{name:K,expandDepth:E,schema:Se||_e().Map(),displayName:Ne,fullPath:Ae,specPath:fe,getComponent:r,specSelectors:e,getConfigs:s,layoutSelectors:n,layoutActions:o,includeReadOnly:!0,includeWriteOnly:!0}),ke=g.createElement("span",{className:"model-box"},g.createElement("span",{className:"model model-title"},Ne));return g.createElement("div",{id:`model-${K}`,className:"model-container",key:`models-section-${K}`,"data-name":K,ref:this.onLoadModel},g.createElement("span",{className:"models-jump-to-path"},g.createElement(Z,{path:fe})),g.createElement(X,{classes:"model-box",collapsedContent:this.getCollapsedContent(K),onToggle:this.handleToggle,title:ke,displayName:Ne,modelName:K,specPath:fe,layoutSelectors:n,layoutActions:o,hideSelfOnExpand:!0,expanded:E>0&&we},ye))})).toArray()))}}const Tp=({value:t,getComponent:e})=>{let r=e("ModelCollapse"),n=g.createElement("span",null,"Array [ ",t.count()," ]");return g.createElement("span",{className:"prop-enum"},"Enum:",g.createElement("br",null),g.createElement(r,{collapsedContent:n},"[ ",t.map(String).join(", ")," ]"))};function Hc(t){return t.match(/^(?:[a-z]+:)?\/\//i)}function og(t,e){return t?Hc(t)?(function(n){return n.match(/^\/\//i)?`${window.location.protocol}${n}`:n})(t):new URL(t,e).href:e}function Ci(t,e,{selectedServer:r=""}={}){try{return(function(o,s,{selectedServer:b=""}={}){if(!o)return;if(Hc(o))return o;const h=og(b,s);return Hc(h)?new URL(o,h).href:new URL(o,window.location.href).href})(t,e,{selectedServer:r})}catch{return}}function Na(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)}`,o=new URL(e,n),s=o.protocol.slice(0,-1);return["javascript","data","vbscript"].includes(s.toLowerCase())?r:o.origin===n?e.startsWith("/")?`${o.pathname}${o.search}${o.hash}`:e.startsWith("./")?`.${o.pathname}${o.search}${o.hash}`:e.startsWith("../")?`..${o.pathname}${o.search}${o.hash}`:`${o.pathname.substring(1)}${o.search}${o.hash}`:String(o)}catch{return r}}class ig extends g.Component{render(){let{schema:e,name:r,displayName:n,isRef:o,getComponent:s,getConfigs:b,depth:h,onToggle:E,expanded:k,specPath:T,...R}=this.props,{specSelectors:F,expandDepth:z,includeReadOnly:X,includeWriteOnly:Z}=R;const{isOAS3:te}=F,ae=h>2||h===2&&T.last()!=="items";if(!e)return null;const{showExtensions:K}=b(),Ae=K?dr(e):(0,ee.List)();let fe=e.get("description"),me=e.get("properties"),xe=e.get("additionalProperties"),Se=e.get("title")||n||r,Me=e.get("required"),Ne=e.filter(((Zr,rn)=>["maxProperties","minProperties","nullable","example"].indexOf(rn)!==-1)),we=e.get("deprecated"),ye=e.getIn(["externalDocs","url"]),ke=e.getIn(["externalDocs","description"]);const Ie=s("JumpToPath",!0),De=s("Markdown",!0),tt=s("Model"),Dt=s("ModelCollapse"),$t=s("Property"),lr=s("Link"),vr=s("ModelExtensions"),yr=()=>g.createElement("span",{className:"model-jump-to-path"},g.createElement(Ie,{path:T})),Or=g.createElement("span",null,g.createElement("span",null,"{"),"...",g.createElement("span",null,"}"),o?g.createElement(yr,null):""),pr=F.isOAS3()?e.get("allOf"):null,jt=F.isOAS3()?e.get("anyOf"):null,Jt=F.isOAS3()?e.get("oneOf"):null,un=F.isOAS3()?e.get("not"):null,Yr=Se&&g.createElement("span",{className:"model-title"},o&&e.get("$$ref")&&g.createElement("span",{className:On()("model-hint",{"model-hint--embedded":ae})},e.get("$$ref")),g.createElement("span",{className:"model-title__text"},Se));return g.createElement("span",{className:"model"},g.createElement(Dt,{modelName:r,title:Yr,onToggle:E,expanded:!!k||h<=z,collapsedContent:Or},g.createElement("span",{className:"brace-open object"},"{"),o?g.createElement(yr,null):null,g.createElement("span",{className:"inner-object"},g.createElement("table",{className:"model"},g.createElement("tbody",null,fe?g.createElement("tr",{className:"description"},g.createElement("td",null,"description:"),g.createElement("td",null,g.createElement(De,{source:fe}))):null,ye&&g.createElement("tr",{className:"external-docs"},g.createElement("td",null,"externalDocs:"),g.createElement("td",null,g.createElement(lr,{target:"_blank",href:Na(ye)},ke||ye))),we?g.createElement("tr",{className:"property"},g.createElement("td",null,"deprecated:"),g.createElement("td",null,"true")):null,me&&me.size?me.entrySeq().filter((([,Zr])=>(!Zr.get("readOnly")||X)&&(!Zr.get("writeOnly")||Z))).map((([Zr,rn])=>{let pa=te()&&rn.get("deprecated"),ln=ee.List.isList(Me)&&Me.contains(Zr),Hr=["property-row"];return pa&&Hr.push("deprecated"),ln&&Hr.push("required"),g.createElement("tr",{key:Zr,className:Hr.join(" ")},g.createElement("td",null,Zr,ln&&g.createElement("span",{className:"star"},"*")),g.createElement("td",null,g.createElement(tt,An()({key:`object-${r}-${Zr}_${rn}`},R,{required:ln,getComponent:s,specPath:T.push("properties",Zr),getConfigs:b,schema:rn,depth:h+1}))))})).toArray():null,Ae.size===0?null:g.createElement(g.Fragment,null,g.createElement("tr",null,g.createElement("td",null," ")),g.createElement(vr,{extensions:Ae,propClass:"extension"})),xe&&xe.size?g.createElement("tr",null,g.createElement("td",null,"< * >:"),g.createElement("td",null,g.createElement(tt,An()({},R,{required:!1,getComponent:s,specPath:T.push("additionalProperties"),getConfigs:b,schema:xe,depth:h+1})))):null,pr?g.createElement("tr",null,g.createElement("td",null,"allOf ->"),g.createElement("td",null,pr.map(((Zr,rn)=>g.createElement("div",{key:rn},g.createElement(tt,An()({},R,{required:!1,getComponent:s,specPath:T.push("allOf",rn),getConfigs:b,schema:Zr,depth:h+1}))))))):null,jt?g.createElement("tr",null,g.createElement("td",null,"anyOf ->"),g.createElement("td",null,jt.map(((Zr,rn)=>g.createElement("div",{key:rn},g.createElement(tt,An()({},R,{required:!1,getComponent:s,specPath:T.push("anyOf",rn),getConfigs:b,schema:Zr,depth:h+1}))))))):null,Jt?g.createElement("tr",null,g.createElement("td",null,"oneOf ->"),g.createElement("td",null,Jt.map(((Zr,rn)=>g.createElement("div",{key:rn},g.createElement(tt,An()({},R,{required:!1,getComponent:s,specPath:T.push("oneOf",rn),getConfigs:b,schema:Zr,depth:h+1}))))))):null,un?g.createElement("tr",null,g.createElement("td",null,"not ->"),g.createElement("td",null,g.createElement("div",null,g.createElement(tt,An()({},R,{required:!1,getComponent:s,specPath:T.push("not"),getConfigs:b,schema:un,depth:h+1}))))):null))),g.createElement("span",{className:"brace-close"},"}")),Ne.size?Ne.entrySeq().map((([Zr,rn])=>g.createElement($t,{key:`${Zr}-${rn}`,propKey:Zr,propVal:rn,propClass:"property"}))):null)}}class sg extends g.Component{render(){let{getComponent:e,getConfigs:r,schema:n,depth:o,expandDepth:s,name:b,displayName:h,specPath:E}=this.props,k=n.get("description"),T=n.get("items"),R=n.get("title")||h||b,F=n.filter(((me,xe)=>["type","items","description","$$ref","externalDocs"].indexOf(xe)===-1)),z=n.getIn(["externalDocs","url"]),X=n.getIn(["externalDocs","description"]);const Z=e("Markdown",!0),te=e("ModelCollapse"),ae=e("Model"),K=e("Property"),Ae=e("Link"),fe=R&&g.createElement("span",{className:"model-title"},g.createElement("span",{className:"model-title__text"},R));return g.createElement("span",{className:"model"},g.createElement(te,{title:fe,expanded:o<=s,collapsedContent:"[...]"},"[",F.size?F.entrySeq().map((([me,xe])=>g.createElement(K,{key:`${me}-${xe}`,propKey:me,propVal:xe,propClass:"property"}))):null,k?g.createElement(Z,{source:k}):F.size?g.createElement("div",{className:"markdown"}):null,z&&g.createElement("div",{className:"external-docs"},g.createElement(Ae,{target:"_blank",href:Na(z)},X||z)),g.createElement("span",null,g.createElement(ae,An()({},this.props,{getConfigs:r,specPath:E.push("items"),name:null,schema:T,required:!1,depth:o+1}))),"]"))}}const Ru="property primitive";class Th extends g.Component{render(){let{schema:e,getComponent:r,getConfigs:n,name:o,displayName:s,depth:b,expandDepth:h}=this.props;const{showExtensions:E}=n();if(!e||!e.get)return g.createElement("div",null);let k=e.get("type"),T=e.get("format"),R=e.get("xml"),F=e.get("enum"),z=e.get("title")||s||o,X=e.get("description");const Z=dr(e);let te=e.filter(((we,ye)=>["enum","type","format","description","$$ref","externalDocs"].indexOf(ye)===-1)).filterNot(((we,ye)=>Z.has(ye))),ae=e.getIn(["externalDocs","url"]),K=e.getIn(["externalDocs","description"]);const Ae=r("Markdown",!0),fe=r("EnumModel"),me=r("Property"),xe=r("ModelCollapse"),Se=r("Link"),Me=r("ModelExtensions"),Ne=z&&g.createElement("span",{className:"model-title"},g.createElement("span",{className:"model-title__text"},z));return g.createElement("span",{className:"model"},g.createElement(xe,{title:Ne,expanded:b<=h,collapsedContent:"[...]"},g.createElement("span",{className:"prop"},o&&b>1&&g.createElement("span",{className:"prop-name"},z),g.createElement("span",{className:"prop-type"},k),T&&g.createElement("span",{className:"prop-format"},"($",T,")"),te.size?te.entrySeq().map((([we,ye])=>g.createElement(me,{key:`${we}-${ye}`,propKey:we,propVal:ye,propClass:Ru}))):null,E&&Z.size>0?g.createElement(Me,{extensions:Z,propClass:`${Ru} extension`}):null,X?g.createElement(Ae,{source:X}):null,ae&&g.createElement("div",{className:"external-docs"},g.createElement(Se,{target:"_blank",href:Na(ae)},K||ae)),R&&R.size?g.createElement("span",null,g.createElement("br",null),g.createElement("span",{className:Ru},"xml:"),R.entrySeq().map((([we,ye])=>g.createElement("span",{key:`${we}-${ye}`,className:Ru},g.createElement("br",null)," ",we,": ",String(ye)))).toArray()):null,F&&g.createElement(fe,{value:F,getComponent:r}))))}}class lg extends g.Component{UNSAFE_componentWillMount(){let{schemes:e}=this.props;this.setScheme(e.first())}UNSAFE_componentWillReceiveProps(e){this.props.currentScheme&&e.schemes.includes(this.props.currentScheme)||this.setScheme(e.schemes.first())}onChange=e=>{this.setScheme(e.target.value)};setScheme=e=>{let{path:r,method:n,specActions:o}=this.props;o.setScheme(e,r,n)};render(){let{schemes:e,currentScheme:r}=this.props;return g.createElement("label",{htmlFor:"schemes"},g.createElement("span",{className:"schemes-title"},"Schemes"),g.createElement("select",{onChange:this.onChange,value:r,id:"schemes"},e.valueSeq().map((n=>g.createElement("option",{value:n,key:n},n))).toArray()))}}class cg extends g.Component{render(){const{specActions:e,specSelectors:r,getComponent:n}=this.props,o=r.operationScheme(),s=r.schemes(),b=n("schemes");return s&&s.size?g.createElement(b,{currentScheme:o,schemes:s,specActions:e}):null}}var ug=qe(24677),pg=qe.n(ug);const Nl={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,ee.List)()};class V0 extends g.Component{static defaultProps=Nl;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:o,getComponent:s,fn:b,disabled:h}=this.props;const E=e&&e.get?e.get("format"):null,k=e&&e.get?e.get("type"):null,T=b.getSchemaObjectType(e),R=b.isFileUploadIntended(e);let F=X=>s(X,!1,{failSilently:!0}),z=k?F(E?`JsonSchema_${k}_${E}`:`JsonSchema_${k}`):s("JsonSchema_string");return R||!ee.List.isList(k)||T!=="array"&&T!=="object"||(z=s("JsonSchema_object")),z||(z=s("JsonSchema_string")),g.createElement(z,An()({},this.props,{errors:r,fn:b,getComponent:s,value:n,onChange:o,schema:e,disabled:h}))}}class W0 extends g.Component{static defaultProps=Nl;onChange=e=>{const r=this.props.schema&&this.props.schema.get("type")==="file"?e.target.files[0]:e.target.value;this.props.onChange(r,this.props.keyName)};onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:r,schema:n,errors:o,required:s,description:b,disabled:h}=this.props;const E=n&&n.get?n.get("enum"):null,k=n&&n.get?n.get("format"):null,T=n&&n.get?n.get("type"):null,R=n&&n.get?n.get("in"):null;if(r?(Lr(r)||typeof r=="object")&&(r=cn(r)):r="",o=o.toJS?o.toJS():[],E){const X=e("Select");return g.createElement(X,{className:o.length?"invalid":"",title:o.length?o:"",allowedValues:[...E],value:r,allowEmptyValue:!s,disabled:h,onChange:this.onEnumChange})}const F=h||R&&R==="formData"&&!("FormData"in window),z=e("Input");return T&&T==="file"?g.createElement(z,{type:"file",className:o.length?"invalid":"",title:o.length?o:"",onChange:this.onChange,disabled:F}):g.createElement(pg(),{type:k&&k==="password"?"password":"text",className:o.length?"invalid":"",title:o.length?o:"",value:r,minLength:0,debounceTimeout:350,placeholder:b,onChange:this.onChange,disabled:F})}}class fg extends g.PureComponent{static defaultProps=Nl;constructor(e,r){super(e,r),this.state={value:Rh(e.value),schema:e.schema}}UNSAFE_componentWillReceiveProps(e){const r=Rh(e.value);r!==this.state.value&&this.setState({value:r}),e.schema!==this.state.schema&&this.setState({schema:e.schema})}onChange=()=>{this.props.onChange(this.state.value)};onItemChange=(e,r)=>{this.setState((({value:n})=>({value:n.set(r,e)})),this.onChange)};removeItem=e=>{this.setState((({value:r})=>({value:r.delete(e)})),this.onChange)};addItem=()=>{const{fn:e}=this.props;let r=Rh(this.state.value);this.setState((()=>({value:r.push(e.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))})),this.onChange)};onEnumChange=e=>{this.setState((()=>({value:e})),this.onChange)};render(){let{getComponent:e,required:r,schema:n,errors:o,fn:s,disabled:b}=this.props;o=o.toJS?o.toJS():Array.isArray(o)?o:[];const h=o.filter((me=>typeof me=="string")),E=o.filter((me=>me.needRemove!==void 0)).map((me=>me.error)),k=this.state.value,T=!!(k&&k.count&&k.count()>0),R=n.getIn(["items","enum"]),F=n.get("items"),z=s.getSchemaObjectType(F),X=s.getSchemaObjectTypeLabel(F),Z=n.getIn(["items","format"]),te=n.get("items");let ae,K=!1,Ae=z==="file"||z==="string"&&Z==="binary";if(z&&Z?ae=e(`JsonSchema_${z}_${Z}`):z!=="boolean"&&z!=="array"&&z!=="object"||(ae=e(`JsonSchema_${z}`)),!ee.List.isList(F?.get("type"))||z!=="array"&&z!=="object"||(ae=e("JsonSchema_object")),ae||Ae||(K=!0),R){const me=e("Select");return g.createElement(me,{className:o.length?"invalid":"",title:o.length?o:"",multiple:!0,value:k,disabled:b,allowedValues:R,allowEmptyValue:!r,onChange:this.onEnumChange})}const fe=e("Button");return g.createElement("div",{className:"json-schema-array"},T?k.map(((me,xe)=>{const Se=(0,ee.fromJS)([...o.filter((Me=>Me.index===xe)).map((Me=>Me.error))]);return g.createElement("div",{key:xe,className:"json-schema-form-item"},Ae?g.createElement(Mh,{value:me,onChange:Me=>this.onItemChange(Me,xe),disabled:b,errors:Se,getComponent:e}):K?g.createElement(Nh,{value:me,onChange:Me=>this.onItemChange(Me,xe),disabled:b,errors:Se}):g.createElement(ae,An()({},this.props,{value:me,onChange:Me=>this.onItemChange(Me,xe),disabled:b,errors:Se,schema:te,getComponent:e,fn:s})),b?null:g.createElement(fe,{className:`btn btn-sm json-schema-form-item-remove ${E.length?"invalid":null}`,title:E.length?E:"",onClick:()=>this.removeItem(xe)}," - "))})):null,b?null:g.createElement(fe,{className:`btn btn-sm json-schema-form-item-add ${h.length?"invalid":null}`,title:h.length?h:"",onClick:this.addItem},"Add ",X," item"))}}class Nh extends g.Component{static defaultProps=Nl;onChange=e=>{const r=e.target.value;this.props.onChange(r,this.props.keyName)};render(){let{value:e,errors:r,description:n,disabled:o}=this.props;return e?(Lr(e)||typeof e=="object")&&(e=cn(e)):e="",r=r.toJS?r.toJS():[],g.createElement(pg(),{type:"text",className:r.length?"invalid":"",title:r.length?r:"",value:e,minLength:0,debounceTimeout:350,placeholder:n,onChange:this.onChange,disabled:o})}}class Mh extends g.Component{static defaultProps=Nl;onFileChange=e=>{const r=e.target.files[0];this.props.onChange(r,this.props.keyName)};render(){let{getComponent:e,errors:r,disabled:n}=this.props;const o=e("Input"),s=n||!("FormData"in window);return g.createElement(o,{type:"file",className:r.length?"invalid":"",title:r.length?r:"",onChange:this.onFileChange,disabled:s})}}class Np extends g.Component{static defaultProps=Nl;onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:r,errors:n,schema:o,required:s,disabled:b}=this.props;n=n.toJS?n.toJS():[];let h=o&&o.get?o.get("enum"):null,E=!h||!s,k=!h&&["true","false"];const T=e("Select");return g.createElement(T,{className:n.length?"invalid":"",title:n.length?n:"",value:String(r),disabled:b,allowedValues:h?[...h]:k,allowEmptyValue:E,onChange:this.onEnumChange})}}const J0=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 o=e.error,s=`/${e.propKey}`;for(;typeof o=="object";){const b=o.propKey!==void 0?o.propKey:o.index;if(b===void 0||(s+=`/${b}`,!o.error))break;o=o.error}return`${s}: ${o}`}));class H0 extends g.PureComponent{constructor(){super()}static defaultProps=Nl;onChange=e=>{this.props.onChange(e)};handleOnChange=e=>{const r=e.target.value;this.onChange(r)};render(){let{getComponent:e,value:r,errors:n,disabled:o}=this.props;const s=e("TextArea");return n=n.toJS?n.toJS():Array.isArray(n)?n:[],g.createElement("div",null,g.createElement(s,{className:On()({invalid:n.length}),title:n.length?J0(n).join(", "):"",value:cn(r),disabled:o,onChange:this.handleOnChange}))}}function Rh(t){return ee.List.isList(t)?t:Array.isArray(t)?(0,ee.fromJS)(t):(0,ee.List)()}const cs=({extensions:t,propClass:e=""})=>t.entrySeq().map((([r,n])=>{const o=Xn(n)??null;return g.createElement("tr",{key:r,className:e},g.createElement("td",null,r),g.createElement("td",null,JSON.stringify(o)))})).toArray();var Dh=qe(11331),Xi=qe.n(Dh);const hg=(t,e)=>{const r=ee.Map.isMap(t);if(!r&&!Xi()(t))return!1;const n=r?t.get("type"):t.type;return e===n||Array.isArray(e)&&e.includes(n)},Bh=(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<${Bh(n,e)}>`:"array<any>":r},dg=t=>Bh(Xn(t)),Mp=()=>({components:{modelExample:Pu,ModelWrapper:Tu,ModelCollapse:Ya,Model:Mu,Models:ag,EnumModel:Tp,ObjectModel:ig,ArrayModel:sg,PrimitiveModel:Th,ModelExtensions:cs,schemes:lg,SchemesContainer:cg,...j},fn:{hasSchemaType:hg,getSchemaObjectTypeLabel:dg}});var Kc=qe(19123),Rp=qe.n(Kc),Fh=qe(41859),mg=qe.n(Fh),gg=qe(62193),us=qe.n(gg);const Dp=t=>e=>Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(((r,n)=>r===e[n])),yg=(...t)=>t;class vg extends Map{delete(e){const r=Array.from(this.keys()).find(Dp(e));return super.delete(r)}get(e){const r=Array.from(this.keys()).find(Dp(e));return super.get(r)}has(e){return Array.from(this.keys()).findIndex(Dp(e))!==-1}}const Du=(t,e=yg)=>{const{Cache:r}=Fr();Fr().Cache=vg;const n=Fr()(t,e);return Fr().Cache=r,n},Jo={string:t=>t.pattern?(e=>{try{const r=/(?<=(?<!\\)\{)(\d{3,})(?=\})|(?<=(?<!\\)\{\d*,)(\d{3,})(?=\})|(?<=(?<!\\)\{)(\d{3,})(?=,\d*\})/g,n=e.replace(r,"100"),o=new(mg())(n);return o.max=100,o.gen()}catch{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},Ho=t=>{t=wn(t);let{type:e,format:r}=t,n=Jo[`${e}_${r}`]||Jo[e];return aa(n)?n(t):"Unknown Type: "+t.type},bg=t=>Ht(t,"$$ref",(e=>typeof e=="string"&&e.indexOf("#")>-1)),Lh=["maxProperties","minProperties"],$h=["minItems","maxItems"],Uh=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],_g=["minLength","maxLength"],Ml=(t,e,r={})=>{const n={...t};if(["example","default","enum","xml","type",...Lh,...$h,...Uh,..._g].forEach((o=>(s=>{n[s]===void 0&&e[s]!==void 0&&(n[s]=e[s])})(o))),e.required!==void 0&&Array.isArray(e.required)&&(n.required!==void 0&&n.required.length||(n.required=[]),e.required.forEach((o=>{n.required.includes(o)||n.required.push(o)}))),e.properties){n.properties||(n.properties={});let o=wn(e.properties);for(let s in o)Object.prototype.hasOwnProperty.call(o,s)&&(o[s]&&o[s].deprecated||o[s]&&o[s].readOnly&&!r.includeReadOnly||o[s]&&o[s].writeOnly&&!r.includeWriteOnly||n.properties[s]||(n.properties[s]=o[s],!e.required&&Array.isArray(e.required)&&e.required.indexOf(s)!==-1&&(n.required?n.required.push(s):n.required=[s])))}return e.items&&(n.items||(n.items={}),n.items=Ml(n.items,e.items,r)),n},ji=(t,e={},r=void 0,n=!1)=>{t&&aa(t.toJS)&&(t=t.toJS());let o=r!==void 0||t&&t.example!==void 0||t&&t.default!==void 0;const s=!o&&t&&t.oneOf&&t.oneOf.length>0,b=!o&&t&&t.anyOf&&t.anyOf.length>0;if(!o&&(s||b)){const Ie=wn(s?t.oneOf[0]:t.anyOf[0]);if(!(t=Ml(t,Ie,e)).xml&&Ie.xml&&(t.xml=Ie.xml),t.example!==void 0&&Ie.example!==void 0)o=!0;else if(Ie.properties){t.properties||(t.properties={});let De=wn(Ie.properties);for(let tt in De)Object.prototype.hasOwnProperty.call(De,tt)&&(De[tt]&&De[tt].deprecated||De[tt]&&De[tt].readOnly&&!e.includeReadOnly||De[tt]&&De[tt].writeOnly&&!e.includeWriteOnly||t.properties[tt]||(t.properties[tt]=De[tt],!Ie.required&&Array.isArray(Ie.required)&&Ie.required.indexOf(tt)!==-1&&(t.required?t.required.push(tt):t.required=[tt])))}}const h={};let{xml:E,type:k,example:T,properties:R,additionalProperties:F,items:z}=t||{},{includeReadOnly:X,includeWriteOnly:Z}=e;E=E||{};let te,{name:ae,prefix:K,namespace:Ae}=E,fe={};n&&(ae=ae||"notagname",te=(K?K+":":"")+ae,Ae)&&(h[K?"xmlns:"+K:"xmlns"]=Ae),n&&(fe[te]=[]);const me=Ie=>Ie.some((De=>Object.prototype.hasOwnProperty.call(t,De)));t&&!k&&(R||F||me(Lh)?k="object":z||me($h)?k="array":me(Uh)?(k="number",t.type="number"):o||t.enum||(k="string",t.type="string"));const xe=Ie=>{if(t?.maxItems!=null&&(Ie=Ie.slice(0,t?.maxItems)),t?.minItems!=null){let De=0;for(;Ie.length<t?.minItems;)Ie.push(Ie[De++%Ie.length])}return Ie},Se=wn(R);let Me,Ne=0;const we=()=>t&&t.maxProperties!==null&&t.maxProperties!==void 0&&Ne>=t.maxProperties,ye=Ie=>!t||t.maxProperties===null||t.maxProperties===void 0||!we()&&(!(De=>!(t&&t.required&&t.required.length&&t.required.includes(De)))(Ie)||t.maxProperties-Ne-(()=>{if(!t||!t.required)return 0;let De=0;return n?t.required.forEach((tt=>De+=fe[tt]===void 0?0:1)):t.required.forEach((tt=>De+=fe[te]?.find((Dt=>Dt[tt]!==void 0))===void 0?0:1)),t.required.length-De})()>0);if(Me=n?(Ie,De=void 0)=>{if(t&&Se[Ie]){if(Se[Ie].xml=Se[Ie].xml||{},Se[Ie].xml.attribute){const Dt=Array.isArray(Se[Ie].enum)?Se[Ie].enum[0]:void 0,$t=Se[Ie].example,lr=Se[Ie].default;return void(h[Se[Ie].xml.name||Ie]=$t!==void 0?$t:lr!==void 0?lr:Dt!==void 0?Dt:Ho(Se[Ie]))}Se[Ie].xml.name=Se[Ie].xml.name||Ie}else Se[Ie]||F===!1||(Se[Ie]={xml:{name:Ie}});let tt=ji(t&&Se[Ie]||void 0,e,De,n);ye(Ie)&&(Ne++,Array.isArray(tt)?fe[te]=fe[te].concat(tt):fe[te].push(tt))}:(Ie,De)=>{if(ye(Ie)){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===Ie){for(let tt in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[tt])!==-1){fe[Ie]=tt;break}}else fe[Ie]=ji(Se[Ie],e,De,n);Ne++}},o){let Ie;if(Ie=bg(r!==void 0?r:T!==void 0?T:t.default),!n){if(typeof Ie=="number"&&k==="string")return`${Ie}`;if(typeof Ie!="string"||k==="string")return Ie;try{return JSON.parse(Ie)}catch{return Ie}}if(t||(k=Array.isArray(Ie)?"array":typeof Ie),k==="array"){if(!Array.isArray(Ie)){if(typeof Ie=="string")return Ie;Ie=[Ie]}const De=t?t.items:void 0;De&&(De.xml=De.xml||E||{},De.xml.name=De.xml.name||E.name);let tt=Ie.map((Dt=>ji(De,e,Dt,n)));return tt=xe(tt),E.wrapped?(fe[te]=tt,us()(h)||fe[te].push({_attr:h})):fe=tt,fe}if(k==="object"){if(typeof Ie=="string")return Ie;for(let De in Ie)Object.prototype.hasOwnProperty.call(Ie,De)&&(t&&Se[De]&&Se[De].readOnly&&!X||t&&Se[De]&&Se[De].writeOnly&&!Z||(t&&Se[De]&&Se[De].xml&&Se[De].xml.attribute?h[Se[De].xml.name||De]=Ie[De]:Me(De,Ie[De])));return us()(h)||fe[te].push({_attr:h}),fe}return fe[te]=us()(h)?Ie:[{_attr:h},Ie],fe}if(k==="object"){for(let Ie in Se)Object.prototype.hasOwnProperty.call(Se,Ie)&&(Se[Ie]&&Se[Ie].deprecated||Se[Ie]&&Se[Ie].readOnly&&!X||Se[Ie]&&Se[Ie].writeOnly&&!Z||Me(Ie));if(n&&h&&fe[te].push({_attr:h}),we())return fe;if(F===!0)n?fe[te].push({additionalProp:"Anything can be here"}):fe.additionalProp1={},Ne++;else if(F){const Ie=wn(F),De=ji(Ie,e,void 0,n);if(n&&Ie.xml&&Ie.xml.name&&Ie.xml.name!=="notagname")fe[te].push(De);else{const tt=Ie["x-additionalPropertiesName"]||"additionalProp",Dt=t.minProperties!==null&&t.minProperties!==void 0&&Ne<t.minProperties?t.minProperties-Ne:3;for(let $t=1;$t<=Dt;$t++){if(we())return fe;if(n){const lr={};lr[tt+$t]=De.notagname,fe[te].push(lr)}else fe[tt+$t]=De;Ne++}}}return fe}if(k==="array"){if(!z)return;let Ie;if(n&&(z.xml=z.xml||t?.xml||{},z.xml.name=z.xml.name||E.name),Array.isArray(z.anyOf))Ie=z.anyOf.map((De=>ji(Ml(De,z,e),e,void 0,n)));else if(Array.isArray(z.oneOf))Ie=z.oneOf.map((De=>ji(Ml(De,z,e),e,void 0,n)));else{if(!(!n||n&&E.wrapped))return ji(z,e,void 0,n);Ie=[ji(z,e,void 0,n)]}return Ie=xe(Ie),n&&E.wrapped?(fe[te]=Ie,us()(h)||fe[te].push({_attr:h}),fe):Ie}let ke;if(t&&Array.isArray(t.enum))ke=Dn(t.enum)[0];else{if(!t)return;if(ke=Ho(t),typeof ke=="number"){let Ie=t.minimum;Ie!=null&&(t.exclusiveMinimum&&Ie++,ke=Ie);let De=t.maximum;De!=null&&(t.exclusiveMaximum&&De--,ke=De)}if(typeof ke=="string"&&(t.maxLength!==null&&t.maxLength!==void 0&&(ke=ke.slice(0,t.maxLength)),t.minLength!==null&&t.minLength!==void 0)){let Ie=0;for(;ke.length<t.minLength;)ke+=ke[Ie++%ke.length]}}if(k!=="file")return n?(fe[te]=us()(h)?ke:[{_attr:h},ke],fe):ke},Bp=t=>(t.schema&&(t=t.schema),t.properties&&(t.type="object"),t),Fp=(t,e,r)=>{const n=ji(t,e,r,!0);if(n)return typeof n=="string"?n:Rp()(n,{declaration:!0,indent:" "})},Lp=(t,e,r)=>ji(t,e,r,!1),qh=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],$p=Du(Fp,qh),zh=Du(Lp,qh),wg=t=>Xn(t)?.type??"string",Vh=[{when:/json/,shouldStringifyTypes:["string"]}],Wh=["object"],Eg=t=>(e,r,n,o)=>{const{fn:s}=t(),b=s.memoizedSampleFromSchema(e,r,o),h=typeof b,E=Vh.reduce(((k,T)=>T.when.test(n)?[...k,...T.shouldStringifyTypes]:k),Wh);return kn()(E,(k=>k===h))?JSON.stringify(b,null,2):b},Jh=t=>(e,r,n,o)=>{const{fn:s}=t(),b=s.getJsonSampleSchema(e,r,n,o);let h;try{h=xo.dump(xo.load(b),{lineWidth:-1},{schema:Ji}),h[h.length-1]===`
|
||
`&&(h=h.slice(0,h.length-1))}catch(E){return console.error(E),"error: could not generate yaml example"}return h.replace(/\t/g," ")},Up=t=>(e,r,n)=>{const{fn:o}=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 s=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=s[1]}}return o.memoizedCreateXMLExample(e,r,n)},Sg=t=>(e,r="",n={},o=void 0)=>{const{fn:s}=t();return typeof e?.toJS=="function"&&(e=e.toJS()),typeof o?.toJS=="function"&&(o=o.toJS()),/xml/.test(r)?s.getXmlSampleSchema(e,n,o):/(yaml|yml)/.test(r)?s.getYamlSampleSchema(e,n,r,o):s.getJsonSampleSchema(e,n,r,o)},qp=({getSystem:t})=>{const e=Eg(t),r=Jh(t),n=Up(t),o=Sg(t);return{fn:{jsonSchema5:{inferSchema:Bp,sampleFromSchema:Lp,sampleFromSchemaGeneric:ji,createXMLExample:Fp,memoizedSampleFromSchema:zh,memoizedCreateXMLExample:$p,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:o,mergeJsonSchema:Ml},inferSchema:Bp,sampleFromSchema:Lp,sampleFromSchemaGeneric:ji,createXMLExample:Fp,memoizedSampleFromSchema:zh,memoizedCreateXMLExample:$p,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:o,mergeJsonSchema:Ml,getSchemaObjectType:wg}}};var xg=qe(37334),mc=qe.n(xg);const Xs=["get","put","post","delete","options","head","patch","trace"],vi=t=>t||(0,ee.Map)(),Ko=_r(vi,(t=>t.get("lastError"))),K0=_r(vi,(t=>t.get("url"))),G0=_r(vi,(t=>t.get("spec")||"")),zp=_r(vi,(t=>t.get("specSource")||"not-editor")),po=_r(vi,(t=>t.get("json",(0,ee.Map)()))),Y0=_r(po,(t=>t.toJS())),wr=_r(vi,(t=>t.get("resolved",(0,ee.Map)()))),Gc=(t,e)=>t.getIn(["resolvedSubtrees",...e],void 0),Hh=(t,e)=>ee.Map.isMap(t)&&ee.Map.isMap(e)?e.get("$$ref")?e:(0,ee.OrderedMap)().mergeWith(Hh,t,e):e,Qi=_r(vi,(t=>(0,ee.OrderedMap)().mergeWith(Hh,t.get("json"),t.get("resolvedSubtrees")))),fo=t=>po(t),Vp=_r(fo,(()=>!1)),Wp=_r(fo,(t=>ef(t&&t.get("info")))),Ag=_r(fo,(t=>ef(t&&t.get("externalDocs")))),Kh=_r(Wp,(t=>t&&t.get("version"))),Og=_r(Kh,(t=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(t).slice(1))),Jp=_r(Qi,(t=>t.get("paths"))),Gh=mc()(["get","put","post","delete","options","head","patch"]),Mo=_r(Jp,(t=>{let e=(0,ee.List)();return!ee.Map.isMap(t)||t.isEmpty()||t.forEach(((r,n)=>{if(!r||!r.forEach)return{};r.forEach(((o,s)=>{Xs.indexOf(s)<0||(e=e.push((0,ee.fromJS)({path:n,method:s,operation:o,id:`${s}-${n}`})))}))})),e})),ps=_r(fo,(t=>(0,ee.Set)(t.get("consumes")))),Qs=_r(fo,(t=>(0,ee.Set)(t.get("produces")))),kg=_r(fo,(t=>t.get("security",(0,ee.List)()))),Cg=_r(fo,(t=>t.get("securityDefinitions"))),Cs=(t,e)=>{const r=t.getIn(["resolvedSubtrees","definitions",e],null),n=t.getIn(["json","definitions",e],null);return r||n||null},jg=_r(fo,(t=>{const e=t.get("definitions");return ee.Map.isMap(e)?e:(0,ee.Map)()})),el=_r(fo,(t=>t.get("basePath"))),Z0=_r(fo,(t=>t.get("host"))),Ig=_r(fo,(t=>t.get("schemes",(0,ee.Map)()))),Yh=_r([Mo,ps,Qs],((t,e,r)=>t.map((n=>n.update("operation",(o=>ee.Map.isMap(o)?o.withMutations((s=>(s.get("consumes")||s.update("consumes",(b=>(0,ee.Set)(b).merge(e))),s.get("produces")||s.update("produces",(b=>(0,ee.Set)(b).merge(r))),s))):(0,ee.Map)())))))),Hp=_r(fo,(t=>{const e=t.get("tags",(0,ee.List)());return ee.List.isList(e)?e.filter((r=>ee.Map.isMap(r))):(0,ee.List)()})),Zh=(t,e)=>(Hp(t)||(0,ee.List)()).filter(ee.Map.isMap).find((r=>r.get("name")===e),(0,ee.Map)()),Xh=_r(Yh,Hp,((t,e)=>t.reduce(((r,n)=>{let o=(0,ee.Set)(n.getIn(["operation","tags"]));return o.count()<1?r.update("default",(0,ee.List)(),(s=>s.push(n))):o.reduce(((s,b)=>s.update(b,(0,ee.List)(),(h=>h.push(n)))),r)}),e.reduce(((r,n)=>r.set(n.get("name"),(0,ee.List)())),(0,ee.OrderedMap)())))),X0=t=>({getConfigs:e})=>{let{tagsSorter:r,operationsSorter:n}=e();return Xh(t).sortBy(((o,s)=>s),((o,s)=>{let b=typeof r=="function"?r:gn.tagsSorter[r];return b?b(o,s):null})).map(((o,s)=>{let b=typeof n=="function"?n:gn.operationsSorter[n],h=b?o.sort(b):o;return(0,ee.Map)({tagDetails:Zh(t,s),operations:h})}))},Bu=_r(vi,(t=>t.get("responses",(0,ee.Map)()))),Kp=_r(vi,(t=>t.get("requests",(0,ee.Map)()))),Ii=_r(vi,(t=>t.get("mutatedRequests",(0,ee.Map)()))),qn=(t,e,r)=>Bu(t).getIn([e,r],null),ho=(t,e,r)=>Kp(t).getIn([e,r],null),Za=(t,e,r)=>Ii(t).getIn([e,r],null),Ao=()=>!0,Go=(t,e,r)=>{const n=Qi(t).getIn(["paths",...e,"parameters"],(0,ee.OrderedMap)()),o=t.getIn(["meta","paths",...e,"parameters"],(0,ee.OrderedMap)());return n.map((s=>{const b=o.get(`${r.get("in")}.${r.get("name")}`),h=o.get(`${r.get("in")}.${r.get("name")}.hash-${r.hashCode()}`);return(0,ee.OrderedMap)().merge(s,b,h)})).find((s=>s.get("in")===r.get("in")&&s.get("name")===r.get("name")),(0,ee.OrderedMap)())},gc=(t,e,r,n)=>{const o=`${n}.${r}`;return t.getIn(["meta","paths",...e,"parameter_inclusions",o],!1)},oo=(t,e,r,n)=>{const o=Qi(t).getIn(["paths",...e,"parameters"],(0,ee.OrderedMap)()).find((s=>s.get("in")===n&&s.get("name")===r),(0,ee.OrderedMap)());return Go(t,e,o)},Yc=(t,e,r)=>{const n=Qi(t).getIn(["paths",e,r],(0,ee.OrderedMap)()),o=t.getIn(["meta","paths",e,r],(0,ee.OrderedMap)()),s=n.get("parameters",(0,ee.List)()).map((b=>Go(t,[e,r],b)));return(0,ee.OrderedMap)().merge(n,o).set("parameters",s)};function yc(t,e,r,n){return e=e||[],t.getIn(["meta","paths",...e,"parameters"],(0,ee.fromJS)([])).find((o=>ee.Map.isMap(o)&&o.get("name")===r&&o.get("in")===n))||(0,ee.Map)()}const Gp=_r(fo,(t=>{const e=t.get("host");return typeof e=="string"&&e.length>0&&e[0]!=="/"}));function Yp(t,e,r){return e=e||[],Yc(t,...e).get("parameters",(0,ee.List)()).reduce(((n,o)=>{let s=r&&o.get("in")==="body"?o.get("value_xml"):o.get("value");return ee.List.isList(s)&&(s=s.filter((b=>b!==""))),n.set(Ga(o,{allowHashes:!1}),s)}),(0,ee.fromJS)({}))}function Fu(t,e=""){if(ee.List.isList(t))return t.some((r=>ee.Map.isMap(r)&&r.get("in")===e))}function Yo(t,e=""){if(ee.List.isList(t))return t.some((r=>ee.Map.isMap(r)&&r.get("type")===e))}function Qh(t,e){e=e||[];let r=Qi(t).getIn(["paths",...e],(0,ee.fromJS)({})),n=t.getIn(["meta","paths",...e],(0,ee.fromJS)({})),o=vc(t,e);const s=r.get("parameters")||new ee.List,b=n.get("consumes_value")?n.get("consumes_value"):Yo(s,"file")?"multipart/form-data":Yo(s,"formData")?"application/x-www-form-urlencoded":void 0;return(0,ee.fromJS)({requestContentType:b,responseContentType:o})}function vc(t,e){e=e||[];const r=Qi(t).getIn(["paths",...e],null);if(r===null)return;const n=t.getIn(["meta","paths",...e,"produces_value"],null),o=r.getIn(["produces",0],null);return n||o||"application/json"}function Rl(t,e){e=e||[];const r=Qi(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[o]=e,s=n.get("produces",null),b=r.getIn(["paths",o,"produces"],null),h=r.getIn(["produces"],null);return s||b||h}function Zp(t,e){e=e||[];const r=Qi(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[o]=e,s=n.get("consumes",null),b=r.getIn(["paths",o,"consumes"],null),h=r.getIn(["consumes"],null);return s||b||h}const Xp=(t,e,r)=>{let n=t.get("url").match(/^([a-z][a-z0-9+\-.]*):/),o=Array.isArray(n)?n[1]:null;return t.getIn(["scheme",e,r])||t.getIn(["scheme","_defaultScheme"])||o||""},Dl=(t,e,r)=>["http","https"].indexOf(Xp(t,e,r))>-1,Lu=(t,e)=>{e=e||[];const r=t.getIn(["meta","paths",...e,"parameters"],(0,ee.fromJS)([])),n=[];if(r.length===0)return n;const o=(s,b=[])=>{const h=(E,k)=>{const T=[...k,E.get("propKey")||E.get("index")];return ee.Map.isMap(E.get("error"))?o(E.get("error"),T):{error:E.get("error"),path:T}};return ee.List.isList(s)?s.map((E=>ee.Map.isMap(E)?h(E,b):{error:E,path:b})):h(s,b)};return r.forEach(((s,b)=>{const h=b.split(".").slice(1,-1).join("."),E=s.get("errors");E&&E.count()&&o(E).forEach((({error:k,path:T})=>{n.push(((R,F,z)=>`For '${z}'${(F=F.reduce(((X,Z)=>typeof Z=="number"?`${X}[${Z}]`:X?`${X}.${Z}`:Z),""))?` at path '${F}'`:""}: ${R}.`)(k,T,h))}))})),n},Bl=(t,e)=>Lu(t,e).length===0,Qp=(t,e)=>{let r={requestBody:!1,requestContentType:{}},n=t.getIn(["resolvedSubtrees","paths",...e,"requestBody"],(0,ee.fromJS)([]));return n.size<1||(n.getIn(["required"])&&(r.requestBody=n.getIn(["required"])),n.getIn(["content"]).entrySeq().forEach((o=>{const s=o[0];if(o[1].getIn(["schema","required"])){const b=o[1].getIn(["schema","required"]).toJS();r.requestContentType[s]=b}}))),r},$u=(t,e,r,n)=>{if((r||n)&&r===n)return!0;let o=t.getIn(["resolvedSubtrees","paths",...e,"requestBody","content"],(0,ee.fromJS)([]));if(o.size<2||!r||!n)return!1;let s=o.getIn([r,"schema","properties"],(0,ee.fromJS)([])),b=o.getIn([n,"schema","properties"],(0,ee.fromJS)([]));return!!s.equals(b)};function ef(t){return ee.Map.isMap(t)?t:new ee.Map}var tf=qe(85015),rf=qe.n(tf),Zo=qe(38221),Fl=qe.n(Zo),fs=qe(63560),Xo=qe.n(fs),Pg=qe(56367),ed=qe.n(Pg);const Uu="spec_update_spec",js="spec_update_url",nf="spec_update_json",Zc="spec_update_param",tl="spec_update_empty_param_inclusion",qu="spec_validate_param",rl="spec_set_response",af="spec_set_request",of="spec_set_mutated_request",sf="spec_log_request",Xc="spec_clear_response",td="spec_clear_request",rd="spec_clear_validate_param",zu="spec_update_operation_meta_value",lf="spec_update_resolved",nl="spec_update_resolved_subtree",Ll="set_scheme",Tg=t=>rf()(t)?t:"";function Ua(t){const e=Tg(t).replace(/\t/g," ");if(typeof t=="string")return{type:Uu,payload:e}}function Q0(t){return{type:lf,payload:t}}function Ng(t){return{type:js,payload:t}}function ev(t){return{type:nf,payload:t}}const tv=t=>({specActions:e,specSelectors:r,errActions:n})=>{let{specStr:o}=r,s=null;try{t=t||o(),n.clear({source:"parser"}),s=xo.load(t,{schema:Ji})}catch(b){return console.error(b),n.newSpecErr({source:"parser",level:"error",message:b.reason,line:b.mark&&b.mark.line?b.mark.line+1:void 0})}return s&&typeof s=="object"?e.updateJsonSpec(s):e.updateJsonSpec({})};let nd=!1;const rv=(t,e)=>({specActions:r,specSelectors:n,errActions:o,fn:{fetch:s,resolve:b,AST:h={}},getConfigs:E})=>{nd||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),nd=!0);const{modelPropertyMacro:k,parameterMacro:T,requestInterceptor:R,responseInterceptor:F}=E();t===void 0&&(t=n.specJson()),e===void 0&&(e=n.url());let z=h.getLineNumberForPath?h.getLineNumberForPath:()=>{},X=n.specStr();return b({fetch:s,spec:t,baseDoc:String(new URL(e,document.baseURI)),modelPropertyMacro:k,parameterMacro:T,requestInterceptor:R,responseInterceptor:F}).then((({spec:Z,errors:te})=>{if(o.clear({type:"thrown"}),Array.isArray(te)&&te.length>0){let ae=te.map((K=>(console.error(K),K.line=K.fullPath?z(X,K.fullPath):null,K.path=K.fullPath?K.fullPath.join("."):null,K.level="error",K.type="thrown",K.source="resolver",Object.defineProperty(K,"message",{enumerable:!0,value:K.message}),K)));o.newThrownErrBatch(ae)}return r.updateResolved(Z)}))};let Qo=[];const ad=Fl()((()=>{const t=Qo.reduce(((e,{path:r,system:n})=>(e.has(n)||e.set(n,[]),e.get(n).push(r),e)),new Map);Qo=[],t.forEach((async(e,r)=>{if(!r)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.");if(!r.fn.resolveSubtree)return void console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.");const{errActions:n,errSelectors:o,fn:{resolveSubtree:s,fetch:b,AST:h={}},specSelectors:E,specActions:k}=r,T=h.getLineNumberForPath??mc()(void 0),R=E.specStr(),{modelPropertyMacro:F,parameterMacro:z,requestInterceptor:X,responseInterceptor:Z}=r.getConfigs();try{const te=await e.reduce((async(ae,K)=>{let{resultMap:Ae,specWithCurrentSubtrees:fe}=await ae;const{errors:me,spec:xe}=await s(fe,K,{baseDoc:String(new URL(E.url(),document.baseURI)),modelPropertyMacro:F,parameterMacro:z,requestInterceptor:X,responseInterceptor:Z});if(o.allErrors().size&&n.clearBy((Se=>Se.get("type")!=="thrown"||Se.get("source")!=="resolver"||!Se.get("fullPath")?.every(((Me,Ne)=>Me===K[Ne]||K[Ne]===void 0)))),Array.isArray(me)&&me.length>0){let Se=me.map((Me=>(Me.line=Me.fullPath?T(R,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(Se)}return xe&&E.isOAS3()&&K[0]==="components"&&K[1]==="securitySchemes"&&await Promise.all(Object.values(xe).filter((Se=>Se?.type==="openIdConnect")).map((async Se=>{const Me={url:Se.openIdConnectUrl,requestInterceptor:X,responseInterceptor:Z};try{const Ne=await b(Me);Ne instanceof Error||Ne.status>=400?console.error(Ne.statusText+" "+Me.url):Se.openIdConnectData=JSON.parse(Ne.text)}catch(Ne){console.error(Ne)}}))),Xo()(Ae,K,xe),fe=ed()(K,xe,fe),{resultMap:Ae,specWithCurrentSubtrees:fe}}),Promise.resolve({resultMap:(E.specResolvedSubtree([])||(0,ee.Map)()).toJS(),specWithCurrentSubtrees:E.specJS()}));k.updateResolvedSubtree([],te.resultMap)}catch(te){console.error(te)}}))}),35),$l=t=>e=>{Qo.find((({path:r,system:n})=>n===e&&r.toString()===t.toString()))||(Qo.push({path:t,system:e}),ad())};function cf(t,e,r,n,o){return{type:Zc,payload:{path:t,value:n,paramName:e,paramIn:r,isXml:o}}}function bc(t,e,r,n){return{type:Zc,payload:{path:t,param:e,value:r,isXml:n}}}const uf=(t,e)=>({type:nl,payload:{path:t,value:e}}),od=()=>({type:nl,payload:{path:[],value:(0,ee.Map)()}}),id=(t,e)=>({type:qu,payload:{pathMethod:t,isOAS3:e}}),nv=(t,e,r,n)=>({type:tl,payload:{pathMethod:t,paramName:e,paramIn:r,includeEmptyValue:n}});function sd(t){return{type:rd,payload:{pathMethod:t}}}function Mg(t,e){return{type:zu,payload:{path:t,value:e,key:"consumes_value"}}}function Rg(t,e){return{type:zu,payload:{path:t,value:e,key:"produces_value"}}}const pf=(t,e,r)=>({payload:{path:t,method:e,res:r},type:rl}),ff=(t,e,r)=>({payload:{path:t,method:e,req:r},type:af}),Dg=(t,e,r)=>({payload:{path:t,method:e,req:r},type:of}),ld=t=>({payload:t,type:sf}),Bg=t=>({fn:e,specActions:r,specSelectors:n,getConfigs:o,oas3Selectors:s})=>{let{pathName:b,method:h,operation:E}=t,{requestInterceptor:k,responseInterceptor:T}=o(),R=E.toJS();if(E&&E.get("parameters")&&E.get("parameters").filter((X=>X&&X.get("allowEmptyValue")===!0)).forEach((X=>{if(n.parameterInclusionSettingFor([b,h],X.get("name"),X.get("in"))){t.parameters=t.parameters||{};const Z=ia(X,t.parameters);(!Z||Z&&Z.size===0)&&(t.parameters[X.get("name")]="")}})),t.contextUrl=fi()(n.url()).toString(),R&&R.operationId?t.operationId=R.operationId:R&&b&&h&&(t.operationId=e.opId(R,b,h)),n.isOAS3()){const X=`${b}:${h}`;t.server=s.selectedServer(X)||s.selectedServer();const Z=s.serverVariables({server:t.server,namespace:X}).toJS(),te=s.serverVariables({server:t.server}).toJS();t.serverVariables=Object.keys(Z).length?Z:te,t.requestContentType=s.requestContentType(b,h),t.responseContentType=s.responseContentType(b,h)||"*/*";const ae=s.requestBodyValue(b,h),K=s.requestBodyInclusionSetting(b,h);ae&&ae.toJS?t.requestBody=ae.map((Ae=>ee.Map.isMap(Ae)?Ae.get("value"):Ae)).filter(((Ae,fe)=>(Array.isArray(Ae)?Ae.length!==0:!fa(Ae))||K.get(fe))).toJS():t.requestBody=ae}let F=Object.assign({},t);F=e.buildRequest(F),r.setRequest(t.pathName,t.method,F),t.requestInterceptor=async X=>{let Z=await k.apply(void 0,[X]),te=Object.assign({},Z);return r.setMutatedRequest(t.pathName,t.method,te),Z},t.responseInterceptor=T;const z=Date.now();return e.execute(t).then((X=>{X.duration=Date.now()-z,r.setResponse(t.pathName,t.method,X)})).catch((X=>{X.message==="Failed to fetch"&&(X.name="",X.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:X})}))},cd=({path:t,method:e,...r}={})=>n=>{let{fn:{fetch:o},specSelectors:s,specActions:b}=n,h=s.specJsonWithResolvedSubtrees().toJS(),E=s.operationScheme(t,e),{requestContentType:k,responseContentType:T}=s.contentTypeValues([t,e]).toJS(),R=/xml/i.test(k),F=s.parameterValues([t,e],R).toJS();return b.executeRequest({...r,fetch:o,spec:h,pathName:t,method:e,parameters:F,requestContentType:k,scheme:E,responseContentType:T})};function hf(t,e){return{type:Xc,payload:{path:t,method:e}}}function ud(t,e){return{type:td,payload:{path:t,method:e}}}function df(t,e,r){return{type:Ll,payload:{scheme:t,path:e,method:r}}}const Fg={[Uu]:(t,e)=>typeof e.payload=="string"?t.set("spec",e.payload):t,[js]:(t,e)=>t.set("url",e.payload+""),[nf]:(t,e)=>t.set("json",pn(e.payload)),[lf]:(t,e)=>t.setIn(["resolved"],pn(e.payload)),[nl]:(t,e)=>{const{value:r,path:n}=e.payload;return t.setIn(["resolvedSubtrees",...n],pn(r))},[Zc]:(t,{payload:e})=>{let{path:r,paramName:n,paramIn:o,param:s,value:b,isXml:h}=e,E=s?Ga(s):`${o}.${n}`;const k=h?"value_xml":"value";return t.setIn(["meta","paths",...r,"parameters",E,k],(0,ee.fromJS)(b))},[tl]:(t,{payload:e})=>{let{pathMethod:r,paramName:n,paramIn:o,includeEmptyValue:s}=e;if(!n||!o)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),t;const b=`${o}.${n}`;return t.setIn(["meta","paths",...r,"parameter_inclusions",b],s)},[qu]:(t,{payload:{pathMethod:e,isOAS3:r}})=>{const n=Qi(t).getIn(["paths",...e]),o=Yp(t,e).toJS();return t.updateIn(["meta","paths",...e,"parameters"],(0,ee.fromJS)({}),(s=>n.get("parameters",(0,ee.List)()).reduce(((b,h)=>{const E=ia(h,o),k=gc(t,e,h.get("name"),h.get("in")),T=((R,F,{isOAS3:z=!1,bypassRequiredCheck:X=!1}={})=>{let Z=R.get("required"),{schema:te,parameterContentMediaType:ae}=br(R,{isOAS3:z});return an(F,te,Z,X,ae)})(h,E,{bypassRequiredCheck:k,isOAS3:r});return b.setIn([Ga(h),"errors"],(0,ee.fromJS)(T))}),s)))},[rd]:(t,{payload:{pathMethod:e}})=>t.updateIn(["meta","paths",...e,"parameters"],(0,ee.fromJS)([]),(r=>r.map((n=>n.set("errors",(0,ee.fromJS)([])))))),[rl]:(t,{payload:{res:e,path:r,method:n}})=>{let o;o=e.error?Object.assign({error:!0,name:e.err.name,message:e.err.message,statusCode:e.err.statusCode},e.err.response):e,o.headers=o.headers||{};let s=t.setIn(["responses",r,n],pn(o));return yt.Blob&&o.data instanceof yt.Blob&&(s=s.setIn(["responses",r,n,"text"],o.data)),s},[af]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["requests",r,n],pn(e)),[of]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["mutatedRequests",r,n],pn(e)),[zu]:(t,{payload:{path:e,value:r,key:n}})=>{let o=["paths",...e],s=["meta","paths",...e];return t.getIn(["json",...o])||t.getIn(["resolved",...o])||t.getIn(["resolvedSubtrees",...o])?t.setIn([...s,n],(0,ee.fromJS)(r)):t},[Xc]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["responses",e,r]),[td]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["requests",e,r]),[Ll]:(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)},mf=(t,{specActions:e})=>(...r)=>{t(...r),e.parseToJson(...r)},av=(t,{specActions:e})=>(...r)=>{t(...r),e.invalidateResolvedSubtreeCache();const[n]=r,o=Vo()(n,["paths"])||{};Object.keys(o).forEach((s=>{const b=Vo()(o,[s]);Xi()(b)&&b.$ref&&e.requestResolvedSubtree(["paths",s])})),e.requestResolvedSubtree(["components","securitySchemes"])},Vu=(t,{specActions:e})=>r=>(e.logRequest(r),t(r)),ov=(t,{specSelectors:e})=>r=>t(r,e.isOAS3()),Wu=()=>({statePlugins:{spec:{wrapActions:{...$},reducers:{...Fg},actions:{...M},selectors:{...I}}}});var l=(function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var s in o)o.hasOwnProperty(s)&&(n[s]=o[s])},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)}})(),u=Object.prototype.hasOwnProperty;function S(t,e){return u.call(t,e)}function B(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 o in t)S(t,o)&&n.push(o);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 de(t){return t.indexOf("/")===-1&&t.indexOf("~")===-1?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function Le(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function Ue(t){if(t===void 0)return!0;if(t){if(Array.isArray(t)){for(var e=0,r=t.length;e<r;e++)if(Ue(t[e]))return!0}else if(typeof t=="object"){for(var n=B(t),o=n.length,s=0;s<o;s++)if(Ue(t[n[s]]))return!0}}return!1}function Xe(t,e){var r=[t];for(var n in e){var o=typeof e[n]=="object"?JSON.stringify(e[n],null,2):e[n];o!==void 0&&r.push(n+": "+o)}return r.join(`
|
||
`)}var wt=(function(t){function e(r,n,o,s,b){var h=this.constructor,E=t.call(this,Xe(r,{name:n,index:o,operation:s,tree:b}))||this;return E.name=n,E.index=o,E.operation=s,E.tree=b,Object.setPrototypeOf(E,h.prototype),E.message=Xe(r,{name:n,index:o,operation:s,tree:b}),E}return l(e,t),e})(Error),ct=wt,Ot=G,It={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=Nt(r,this.path);n&&(n=G(n));var o=ot(r,{op:"remove",path:this.from}).removed;return ot(r,{op:"add",path:this.path,value:o}),{newDocument:r,removed:n}},copy:function(t,e,r){var n=Nt(r,this.from);return ot(r,{op:"add",path:this.path,value:G(n)}),{newDocument:r}},test:function(t,e,r){return{newDocument:r,test:qr(t[e],this.value)}},_get:function(t,e,r){return this.value=t[e],{newDocument:r}}},Ft={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:It.move,copy:It.copy,test:It.test,_get:It._get};function Nt(t,e){if(e=="")return t;var r={op:"_get",path:e};return ot(t,r),r.value}function ot(t,e,r,n,o,s){if(r===void 0&&(r=!1),n===void 0&&(n=!0),o===void 0&&(o=!0),s===void 0&&(s=0),r&&(typeof r=="function"?r(e,0,t,e.path):Pt(e,0)),e.path===""){var b={newDocument:t};if(e.op==="add")return b.newDocument=e.value,b;if(e.op==="replace")return b.newDocument=e.value,b.removed=t,b;if(e.op==="move"||e.op==="copy")return b.newDocument=Nt(t,e.from),e.op==="move"&&(b.removed=t),b;if(e.op==="test"){if(b.test=qr(t,e.value),b.test===!1)throw new ct("Test operation failed","TEST_OPERATION_FAILED",s,e,t);return b.newDocument=t,b}if(e.op==="remove")return b.removed=t,b.newDocument=null,b;if(e.op==="_get")return e.value=t,b;if(r)throw new ct("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",s,e,t);return b}n||(t=G(t));var h=(e.path||"").split("/"),E=t,k=1,T=h.length,R=void 0,F=void 0,z=void 0;for(z=typeof r=="function"?r:Pt;;){if((F=h[k])&&F.indexOf("~")!=-1&&(F=Le(F)),o&&(F=="__proto__"||F=="prototype"&&k>0&&h[k-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&&R===void 0&&(E[F]===void 0?R=h.slice(0,k).join("/"):k==T-1&&(R=e.path),R!==void 0&&z(e,0,t,R)),k++,Array.isArray(E)){if(F==="-")F=E.length;else{if(r&&!oe(F))throw new ct("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",s,e,t);oe(F)&&(F=~~F)}if(k>=T){if(r&&e.op==="add"&&F>E.length)throw new ct("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",s,e,t);if((b=Ft[e.op].call(e,E,F,t)).test===!1)throw new ct("Test operation failed","TEST_OPERATION_FAILED",s,e,t);return b}}else if(k>=T){if((b=It[e.op].call(e,E,F,t)).test===!1)throw new ct("Test operation failed","TEST_OPERATION_FAILED",s,e,t);return b}if(E=E[F],r&&k<T&&(!E||typeof E!="object"))throw new ct("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",s,e,t)}}function He(t,e,r,n,o){if(n===void 0&&(n=!0),o===void 0&&(o=!0),r&&!Array.isArray(e))throw new ct("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(t=G(t));for(var s=new Array(e.length),b=0,h=e.length;b<h;b++)s[b]=ot(t,e[b],r,!0,o,b),t=s[b].newDocument;return s.newDocument=t,s}function gt(t,e,r){var n=ot(t,e);if(n.test===!1)throw new ct("Test operation failed","TEST_OPERATION_FAILED",r,e,t);return n.newDocument}function Pt(t,e,r,n){if(typeof t!="object"||t===null||Array.isArray(t))throw new ct("Operation is not an object","OPERATION_NOT_AN_OBJECT",e,t,r);if(!It[t.op])throw new ct("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 ct("Operation `path` property is not a string","OPERATION_PATH_INVALID",e,t,r);if(t.path.indexOf("/")!==0&&t.path.length>0)throw new ct('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 ct("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 ct("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")&&Ue(t.value))throw new ct("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 o=t.path.split("/").length,s=n.split("/").length;if(o!==s+1&&o!==s)throw new ct("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 ct("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 b=sr([{op:"_get",path:t.from,value:void 0}],r);if(b&&b.name==="OPERATION_PATH_UNRESOLVABLE")throw new ct("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 ct("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(e)He(G(e),G(t),r||!0);else{r=r||Pt;for(var n=0;n<t.length;n++)r(t[n],n,e,void 0)}}catch(o){if(o instanceof ct)return o;throw o}}function qr(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r,n,o,s=Array.isArray(t),b=Array.isArray(e);if(s&&b){if((n=t.length)!=e.length)return!1;for(r=n;r--!=0;)if(!qr(t[r],e[r]))return!1;return!0}if(s!=b)return!1;var h=Object.keys(t);if((n=h.length)!==Object.keys(e).length)return!1;for(r=n;r--!=0;)if(!e.hasOwnProperty(h[r]))return!1;for(r=n;r--!=0;)if(!qr(t[o=h[r]],e[o]))return!1;return!0}return t!=t&&e!=e}var er=new WeakMap,tn=function(e){this.observers=new Map,this.obj=e},Nn=function(e,r){this.callback=e,this.observer=r};function Mn(t,e){e.unobserve()}function $n(t,e){var r,n=(function(E){return er.get(E)})(t);if(n){var o=(function(E,k){return E.observers.get(k)})(n,e);r=o&&o.observer}else n=new tn(t),er.set(t,n);if(r)return r;if(r={},n.value=G(t),e){r.callback=e,r.next=null;var s=function(){ua(r)},b=function(){clearTimeout(r.next),r.next=setTimeout(s)};typeof window<"u"&&(window.addEventListener("mouseup",b),window.addEventListener("keyup",b),window.addEventListener("mousedown",b),window.addEventListener("keydown",b),window.addEventListener("change",b))}return r.patches=[],r.object=t,r.unobserve=function(){ua(r),clearTimeout(r.next),(function(E,k){E.observers.delete(k.callback)})(n,r),typeof window<"u"&&(window.removeEventListener("mouseup",b),window.removeEventListener("keyup",b),window.removeEventListener("mousedown",b),window.removeEventListener("keydown",b),window.removeEventListener("change",b))},n.observers.set(e,new Nn(e,r)),r}function ua(t,e){e===void 0&&(e=!1);var r=er.get(t.object);Qc(r.value,t.object,t.patches,"",e),t.patches.length&&He(r.value,t.patches);var n=t.patches;return n.length>0&&(t.patches=[],t.callback&&t.callback(n)),n}function Qc(t,e,r,n,o){if(e!==t){typeof e.toJSON=="function"&&(e=e.toJSON());for(var s=B(e),b=B(t),h=!1,E=b.length-1;E>=0;E--){var k=t[R=b[E]];if(!S(e,R)||e[R]===void 0&&k!==void 0&&Array.isArray(e)===!1)Array.isArray(t)===Array.isArray(e)?(o&&r.push({op:"test",path:n+"/"+de(R),value:G(k)}),r.push({op:"remove",path:n+"/"+de(R)}),h=!0):(o&&r.push({op:"test",path:n,value:t}),r.push({op:"replace",path:n,value:e}));else{var T=e[R];typeof k=="object"&&k!=null&&typeof T=="object"&&T!=null&&Array.isArray(k)===Array.isArray(T)?Qc(k,T,r,n+"/"+de(R),o):k!==T&&(o&&r.push({op:"test",path:n+"/"+de(R),value:G(k)}),r.push({op:"replace",path:n+"/"+de(R),value:G(T)}))}}if(h||s.length!=b.length)for(E=0;E<s.length;E++){var R;S(t,R=s[E])||e[R]===void 0||r.push({op:"add",path:n+"/"+de(R),value:G(e[R])})}}}function Ju(t,e,r){r===void 0&&(r=!1);var n=[];return Qc(t,e,n,"",r),n}Object.assign({},W,q,{JsonPatchError:wt,deepClone:G,escapePathComponent:de,unescapePathComponent:Le});var Lg=qe(14744),$g=qe.n(Lg);const zn={add:function(e,r){return{op:"add",path:e,value:r}},replace:al,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,o)=>o!==void 0&&n?n[o]:n),e)},applyPatch:function(e,r,n){if(n=n||{},(r={...r,path:r.path&&Ug(r.path)}).op==="merge"){const o=lv(e,r.path);Object.assign(o,r.value),He(e,[al(r.path,o)])}else if(r.op==="mergeDeep"){const o=lv(e,r.path),s=$g()(o,r.value,{customMerge:b=>{if(b==="enum")return(h,E)=>Array.isArray(h)&&Array.isArray(E)?[...new Set([...h,...E])]:$g()(h,E)}});e=He(e,[al(r.path,s)]).newDocument}else if(r.op==="add"&&r.path===""&&Hu(r.value))He(e,Object.keys(r.value).reduce(((o,s)=>(o.push({op:"add",path:`/${Ug(s)}`,value:r.value[s]}),o)),[]));else if(r.op==="replace"&&r.path===""){let{value:o}=r;n.allowMetaPatches&&r.meta&&qg(r)&&(Array.isArray(r.value)||Hu(r.value))&&(o={...o,...r.meta}),e=o}else if(He(e,[r]),n.allowMetaPatches&&r.meta&&qg(r)&&(Array.isArray(r.value)||Hu(r.value))){const o={...lv(e,r.path),...r.meta};He(e,[al(r.path,o)])}return e},parentPathMatch:function(e,r){if(!Array.isArray(r))return!1;for(let n=0,o=r.length;n<o;n+=1)if(r[n]!==e[n])return!1;return!0},flatten:fd,fullyNormalizeArray:function(e){return F2(fd(B2(e)))},normalizeArray:B2,isPromise:function(e){return Hu(e)&&L2(e.then)},forEachNew:function(e,r){try{return pd(e,sv,r)}catch(n){return n}},forEachNewPrimitive:function(e,r){try{return pd(e,iv,r)}catch(n){return n}},isJsonPatch:$2,isContextPatch:function(e){return zg(e)&&e.type==="context"},isPatch:zg,isMutation:U2,isAdditiveMutation:qg,isGenerator:function(e){return Object.prototype.toString.call(e)==="[object GeneratorFunction]"},isFunction:L2,isObject:Hu,isError:function(e){return e instanceof Error}};function Ug(t){return Array.isArray(t)?t.length<1?"":`/${t.map((e=>(e+"").replace(/~/g,"~0").replace(/\//g,"~1"))).join("/")}`:t}function al(t,e,r){return{op:"replace",path:t,value:e,meta:r}}function pd(t,e,r){return F2(fd(t.filter(qg).map((n=>e(n.value,r,n.path)))||[]))}function iv(t,e,r){return r=r||[],Array.isArray(t)?t.map(((n,o)=>iv(n,e,r.concat(o)))):Hu(t)?Object.keys(t).map((n=>iv(t[n],e,r.concat(n)))):e(t,r[r.length-1],r)}function sv(t,e,r){let n=[];if((r=r||[]).length>0){const o=e(t,r[r.length-1],r);o&&(n=n.concat(o))}if(Array.isArray(t)){const o=t.map(((s,b)=>sv(s,e,r.concat(b))));o&&(n=n.concat(o))}else if(Hu(t)){const o=Object.keys(t).map((s=>sv(t[s],e,r.concat(s))));o&&(n=n.concat(o))}return n=fd(n),n}function B2(t){return Array.isArray(t)?t:[t]}function fd(t){return[].concat(...t.map((e=>Array.isArray(e)?fd(e):e)))}function F2(t){return t.filter((e=>e!==void 0))}function Hu(t){return t&&typeof t=="object"}function L2(t){return t&&typeof t=="function"}function $2(t){if(zg(t)){const{op:e}=t;return e==="add"||e==="remove"||e==="replace"}return!1}function U2(t){return $2(t)||zg(t)&&t.type==="mutation"}function qg(t){return U2(t)&&(t.op==="add"||t.op==="replace"||t.op==="merge"||t.op==="mergeDeep")}function zg(t){return t&&typeof t=="object"}function lv(t,e){try{return Nt(t,e)}catch(r){return console.error(r),{}}}var F4=qe(48675);const L4=class extends F4{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:o}=n;this.cause=o,o instanceof Error&&"stack"in o&&(this.stack=`${this.stack}
|
||
CAUSE: ${o.stack}`)}}};class $4 extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(L4,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 Ja=$4,Ul=class extends Ja{constructor(e,r){if(super(e,r),r!=null&&typeof r=="object"){const{cause:n,...o}=r;Object.assign(this,o)}}};var Vg=qe(65606);function Ma(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function ra(t){return function e(r){return arguments.length===0||Ma(r)?e:t.apply(this,arguments)}}function on(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return Ma(r)?e:ra((function(o){return t(r,o)}));default:return Ma(r)&&Ma(n)?e:Ma(r)?ra((function(o){return t(o,n)})):Ma(n)?ra((function(o){return t(r,o)})):t(r,n)}}}function bi(t){return function e(r,n,o){switch(arguments.length){case 0:return e;case 1:return Ma(r)?e:on((function(s,b){return t(r,s,b)}));case 2:return Ma(r)&&Ma(n)?e:Ma(r)?on((function(s,b){return t(s,n,b)})):Ma(n)?on((function(s,b){return t(r,s,b)})):ra((function(s){return t(r,n,s)}));default:return Ma(r)&&Ma(n)&&Ma(o)?e:Ma(r)&&Ma(n)?on((function(s,b){return t(s,b,o)})):Ma(r)&&Ma(o)?on((function(s,b){return t(s,n,b)})):Ma(n)&&Ma(o)?on((function(s,b){return t(r,s,b)})):Ma(r)?ra((function(s){return t(s,n,o)})):Ma(n)?ra((function(s){return t(r,s,o)})):Ma(o)?ra((function(s){return t(r,n,s)})):t(r,n,o)}}}const gf=Number.isInteger||function(e){return(e|0)===e};function cv(t){return Object.prototype.toString.call(t)==="[object String]"}function Wg(t,e){var r=t<0?e.length+t:t;return cv(e)?e.charAt(r):e[r]}function uv(t,e){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;var o=t[n];r=gf(o)?Wg(o,r):r[o]}return r}const Jg=bi((function(e,r,n){return e(uv(r,n))}));function q2(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 z2(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}function Hg(t,e,r){for(var n=0,o=r.length;n<o;){if(t(e,r[n]))return!0;n+=1}return!1}function Is(t,e){return Object.prototype.hasOwnProperty.call(e,t)}const hd=typeof Object.is=="function"?Object.is:function(e,r){return e===r?e!==0||1/e==1/r:e!=e&&r!=r};var V2=Object.prototype.toString;const W2=(function(){return V2.call(arguments)==="[object Arguments]"?function(e){return V2.call(e)==="[object Arguments]"}:function(e){return Is("callee",e)}})();var U4=!{toString:null}.propertyIsEnumerable("toString"),J2=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],H2=(function(){return arguments.propertyIsEnumerable("length")})(),q4=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},z4=ra(typeof Object.keys!="function"||H2?(function(e){if(Object(e)!==e)return[];var r,n,o=[],s=H2&&W2(e);for(r in e)!Is(r,e)||s&&r==="length"||(o[o.length]=r);if(U4)for(n=J2.length-1;n>=0;)Is(r=J2[n],e)&&!q4(o,r)&&(o[o.length]=r),n-=1;return o}):(function(e){return Object(e)!==e?[]:Object.keys(e)}));const Ku=z4,ol=ra((function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}));function K2(t,e,r,n){var o=z2(t);function s(b,h){return pv(b,h,r.slice(),n.slice())}return!Hg((function(b,h){return!Hg(s,h,b)}),z2(e),o)}function pv(t,e,r,n){if(hd(t,e))return!0;var o=ol(t);if(o!==ol(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(o){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&(function(R){var F=String(R).match(/^function (\w*)/);return F==null?"":F[1]})(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof e||!hd(t.valueOf(),e.valueOf()))return!1;break;case"Date":if(!hd(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 s=r.length-1;s>=0;){if(r[s]===t)return n[s]===e;s-=1}switch(o){case"Map":return t.size===e.size&&K2(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size===e.size&&K2(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 b=Ku(t);if(b.length!==Ku(e).length)return!1;var h=r.concat([t]),E=n.concat([e]);for(s=b.length-1;s>=0;){var k=b[s];if(!Is(k,e)||!pv(e[k],t[k],h,E))return!1;s-=1}return!0}const eu=on((function(e,r){return pv(e,r,[],[])}));function Kg(t,e){return(function(n,o,s){var b,h;if(typeof n.indexOf=="function")switch(typeof o){case"number":if(o===0){for(b=1/o;s<n.length;){if((h=n[s])===0&&1/h===b)return s;s+=1}return-1}if(o!=o){for(;s<n.length;){if(typeof(h=n[s])=="number"&&h!=h)return s;s+=1}return-1}return n.indexOf(o,s);case"string":case"boolean":case"function":case"undefined":return n.indexOf(o,s);case"object":if(o===null)return n.indexOf(o,s)}for(;s<n.length;){if(eu(n[s],o))return s;s+=1}return-1})(e,t,0)>=0}function Gg(t,e){for(var r=0,n=e.length,o=Array(n);r<n;)o[r]=t(e[r]),r+=1;return o}function fv(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 dd=function(e){return(e<10?"0":"")+e};const V4=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+dd(e.getUTCMonth()+1)+"-"+dd(e.getUTCDate())+"T"+dd(e.getUTCHours())+":"+dd(e.getUTCMinutes())+":"+dd(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function G2(t){return function(){return!t.apply(this,arguments)}}function md(t,e,r){for(var n=0,o=r.length;n<o;)e=t(e,r[n]),n+=1;return e}const Gu=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function tu(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!Gu(n)){for(var o=0;o<t.length;){if(typeof n[t[o]]=="function")return n[t[o]].apply(n,Array.prototype.slice.call(arguments,0,-1));o+=1}if((function(b){return b!=null&&typeof b["@@transducer/step"]=="function"})(n))return e.apply(null,Array.prototype.slice.call(arguments,0,-1))(n)}return r.apply(this,arguments)}}function Yg(t){return Object.prototype.toString.call(t)==="[object Object]"}const ru=function(){return this.xf["@@transducer/init"]()},gd=function(t){return this.xf["@@transducer/result"](t)};var W4=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=ru,t.prototype["@@transducer/result"]=gd,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t})();function J4(t){return function(e){return new W4(t,e)}}var H4=on(tu(["fantasy-land/filter","filter"],J4,(function(t,e){return Yg(e)?md((function(r,n){return t(e[n])&&(r[n]=e[n]),r}),{},Ku(e)):(function(n,o){for(var s=0,b=o.length,h=[];s<b;)n(o[s])&&(h[h.length]=o[s]),s+=1;return h})(t,e)})));const K4=H4,G4=on((function(e,r){return K4(G2(e),r)}));function Y2(t,e){var r=function(b){var h=e.concat([t]);return Kg(b,h)?"<Circular>":Y2(b,h)},n=function(s,b){return Gg((function(h){return fv(h)+": "+r(s[h])}),b.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Gg(r,t).join(", ")+"))";case"[object Array]":return"["+Gg(r,t).concat(n(t,G4((function(s){return/^\d+$/.test(s)}),Ku(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):fv(V4(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())+")":fv(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var o=t.toString();if(o!=="[object Object]")return o}return"{"+n(t,Ku(t)).join(", ")+"}"}}const yf=ra((function(e){return Y2(e,[])}));var Y4=on((function(e,r){if(!(function(o){return Object.prototype.toString.call(o)==="[object RegExp]"})(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+yf(e));return q2(e).test(r)}));const Z4=Y4;function Zg(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,o){return e.apply(this,arguments)};case 4:return function(r,n,o,s){return e.apply(this,arguments)};case 5:return function(r,n,o,s,b){return e.apply(this,arguments)};case 6:return function(r,n,o,s,b,h){return e.apply(this,arguments)};case 7:return function(r,n,o,s,b,h,E){return e.apply(this,arguments)};case 8:return function(r,n,o,s,b,h,E,k){return e.apply(this,arguments)};case 9:return function(r,n,o,s,b,h,E,k,T){return e.apply(this,arguments)};case 10:return function(r,n,o,s,b,h,E,k,T,R){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function X4(t,e){return function(){return e.call(this,t.apply(this,arguments))}}const Q4=ra((function(e){return!!Gu(e)||!!e&&typeof e=="object"&&!cv(e)&&(e.length===0||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}));var Z2=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function X2(t,e,r){return function(o,s,b){if(Q4(b))return t(o,s,b);if(b==null)return s;if(typeof b["fantasy-land/reduce"]=="function")return e(o,s,b,"fantasy-land/reduce");if(b[Z2]!=null)return r(o,s,b[Z2]());if(typeof b.next=="function")return r(o,s,b);if(typeof b.reduce=="function")return e(o,s,b,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function eA(t,e,r){for(var n=0,o=r.length;n<o;){if((e=t["@@transducer/step"](e,r[n]))&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}const Q2=on((function(e,r){return Zg(e.length,(function(){return e.apply(r,arguments)}))}));function tA(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 rA(t,e,r,n){return t["@@transducer/result"](r[n](Q2(t["@@transducer/step"],t),e))}const hv=X2(eA,rA,tA);var nA=(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 e_(t){return new nA(t)}var aA=bi((function(t,e,r){return hv(typeof t=="function"?e_(t):t,e,r)}));const vf=aA;function dv(t,e){return function(){var r=arguments.length;if(r===0)return e();var n=arguments[r-1];return Gu(n)||typeof n[t]!="function"?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var oA=bi(dv("slice",(function(e,r,n){return Array.prototype.slice.call(n,e,r)})));const yd=oA,iA=ra(dv("tail",yd(1,1/0)));function ei(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Zg(arguments[0].length,vf(X4,arguments[0],iA(arguments)))}const bf=on((function(e,r){return r==null||r!=r?e:r})),vd=on((function(e,r){if(r!=null)return gf(e)?Wg(e,r):r[e]})),Xg=bi((function(e,r,n){return bf(e,vd(r,n))}));var sA=ra((function(t){return Wg(-1,t)}));const Qg=sA;function mv(t,e,r){return function(){for(var n=[],o=0,s=t,b=0,h=!1;b<e.length||o<arguments.length;){var E;b<e.length&&(!Ma(e[b])||o>=arguments.length)?E=e[b]:(E=arguments[o],o+=1),n[b]=E,Ma(E)?h=!0:s-=1,b+=1}return!h&&s<=0?r.apply(this,n):Zg(Math.max(0,s),mv(t,n,r))}}const mo=on((function(e,r){return e===1?ra(r):Zg(e,mv(e,[],r))})),gv=ra((function(e){return mo(e.length,e)}));function yv(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}const vv=on((function(e,r){return mo(e+1,(function(){var n=arguments[e];if(n!=null&&yv(n[r]))return n[r].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(yf(n)+' does not have a method named "'+r+'"')}))})),t_=vv(1,"split");function lA(t,e){for(var r=e.length-1;r>=0&&t(e[r]);)r-=1;return yd(0,r+1,e)}var cA=(function(){function t(e,r){this.f=e,this.retained=[],this.xf=r}return t.prototype["@@transducer/init"]=ru,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=hv(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 uA(t){return function(e){return new cA(t,e)}}const pA=on(tu([],uA,lA)),r_=vv(1,"join"),ey=ra((function(e){return mo(e.length,(function(r,n){var o=Array.prototype.slice.call(arguments,0);return o[0]=n,o[1]=r,e.apply(this,o)}))}))(on(Kg)),fA=gv((function(t,e){return ei(t_(""),pA(ey(t)),r_(""))(e)}));function hA(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function dA(t,e,r,n){return r[n](t,e)}const mA=X2(md,dA,hA);var gA=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=ru,t.prototype["@@transducer/result"]=gd,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t})();const ty=on(tu(["fantasy-land/map","map"],(function(e){return function(r){return new gA(e,r)}}),(function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return mo(r.length,(function(){return e.call(this,r.apply(this,arguments))}));case"[object Object]":return md((function(n,o){return n[o]=e(r[o]),n}),{},Ku(r));default:return Gg(e,r)}}))),yA=on((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))}:mA((function(n,o){return(function(b,h){var E;h=h||[];var k=(b=b||[]).length,T=h.length,R=[];for(E=0;E<k;)R[R.length]=b[E],E+=1;for(E=0;E<T;)R[R.length]=h[E],E+=1;return R})(n,ty(o,r))}),[],e)})),vA=on((function(e,r){var n=mo(e,r);return mo(e,(function(){return md(yA,ty(n,arguments[0]),Array.prototype.slice.call(arguments,1))}))})),bv=ra((function(e){return vA(e.length,e)})),bd=bv(ra((function(e){return!e}))),zr=ra((function(e){return function(){return e}})),ry=zr(void 0),nu=eu(ry()),n_=bd(nu),a_=on((function(e,r){if(e===r)return r;function n(E,k){if(E>k!=k>E)return k>E?k:E}var o=n(e,r);if(o!==void 0)return o;var s=n(typeof e,typeof r);if(s!==void 0)return s===typeof e?e:r;var b=yf(e),h=n(b,yf(r));return h!==void 0&&h===b?e:r}));var bA=on((function(e,r){return ty(vd(e),r)}));const o_=bA,_A=ra((function(e){return mo(vf(a_,0,o_("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 i_=function(t,e){switch(arguments.length){case 0:return i_;case 1:return function r(n){return arguments.length===0?r:hd(t,n)};default:return hd(t,e)}};const Yu=i_,wA=mo(1,ei(ol,Yu("GeneratorFunction"))),EA=mo(1,ei(ol,Yu("AsyncFunction"))),Zu=_A([ei(ol,Yu("Function")),wA,EA]);var SA=bi((function(e,r,n){return n.replace(e,r)}));const s_=SA,xA=mo(1,ei(ol,Yu("RegExp"))),AA=bi((function(e,r,n){return e(n)?r(n):n})),Xu=mo(1,ei(ol,Yu("String"))),OA=AA(Xu,s_(/[.*+?^${}()|[\]\\-]/g,"\\$&"));var l_=function(e,r){if(typeof e!="string"&&!(e instanceof String))throw TypeError("`".concat(r,"` must be a string"))},kA=mo(3,function(e,r,n){(function(b,h,E){if(E==null||b==null||h==null)throw TypeError("Input values must not be `null` or `undefined`")})(e,r,n),l_(n,"str"),l_(r,"replaceValue"),(function(b){if(!(typeof b=="string"||b instanceof String||b instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")})(e);var o=new RegExp(xA(e)?e:OA(e),"g");return s_(o,r,n)}),CA=vv(2,"replaceAll");const jA=Zu(String.prototype.replaceAll)?CA:kA,_v=()=>Jg(Z4(/^win/),["platform"],Vg),wv=t=>{try{const e=new URL(t);return fA(":",e.protocol)}catch{return}},c_=(ei(wv,n_),t=>{if(Vg.browser)return!1;const e=wv(t);return nu(e)||e==="file"||/^[a-zA-Z]$/.test(e)}),Ev=t=>{const e=wv(t);return e==="http"||e==="https"},u_=(t,e)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=Xg(!1,"keepFileProtocol",e),o=Xg(_v,"isWindows",e);let s=decodeURI(t);for(let h=0;h<r.length;h+=2)s=s.replace(r[h],r[h+1]);let b=s.substring(0,7).toLowerCase()==="file://";return b&&(s=s[7]==="/"?s.substring(8):s.substring(7),o()&&s[1]==="/"&&(s=`${s[0]}:${s.substring(1)}`),n?s=`file:///${s}`:(b=!1,s=o()?s:`/${s}`)),o()&&!b&&(s=jA("/","\\",s),s.substring(1,3)===":\\"&&(s=s[0].toUpperCase()+s.substring(1))),s},p_=t=>{const e=t.indexOf("#");return e!==-1?t.substring(e):"#"},ga=t=>{const e=t.indexOf("#");let r=t;return e>=0&&(r=t.substring(0,e)),r},Sv=()=>{if(Vg.browser)return ga(globalThis.location.href);const t=Vg.cwd(),e=Qg(t);return["/","\\"].includes(e)?t:t+(_v()?"\\":"/")},ti=(t,e)=>{const r=new URL(e,new URL(t,"resolve://"));if(r.protocol==="resolve:"){const{pathname:n,search:o,hash:s}=r;return n+o+s}return r.toString()},ny=t=>{if(c_(t))return(e=>{const r=[/\?/g,"%3F",/#/g,"%23"];let n=e;_v()&&(n=n.replace(/\\/g,"/")),n=encodeURI(n);for(let o=0;o<r.length;o+=2)n=n.replace(r[o],r[o+1]);return n})(u_(t));try{return new URL(t).toString()}catch{return encodeURI(decodeURI(t)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},ql=t=>c_(t)?u_(t):decodeURI(t),{fetch:IA,Response:PA,Headers:TA,Request:NA,FormData:MA,File:RA,Blob:DA}=globalThis;function f_(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 BA(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 h_(t,e){return e!=null&&typeof Symbol<"u"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function FA(t,e){return(function(n){if(Array.isArray(n))return n})(t)||(function(n,o){var s=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(s!=null){var b,h,E=[],k=!0,T=!1;try{for(s=s.call(n);!(k=(b=s.next()).done)&&(E.push(b.value),!o||E.length!==o);k=!0);}catch(R){T=!0,h=R}finally{try{k||s.return==null||s.return()}finally{if(T)throw h}}return E}})(t,e)||(function(n,o){if(n){if(typeof n=="string")return f_(n,o);var s=Object.prototype.toString.call(n).slice(8,-1);if(s==="Object"&&n.constructor&&(s=n.constructor.name),s==="Map"||s==="Set")return Array.from(s);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return f_(n,o)}})(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 _f(t){return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}globalThis.fetch===void 0&&(globalThis.fetch=IA),globalThis.Headers===void 0&&(globalThis.Headers=TA),globalThis.Request===void 0&&(globalThis.Request=NA),globalThis.Response===void 0&&(globalThis.Response=PA),globalThis.FormData===void 0&&(globalThis.FormData=MA),globalThis.File===void 0&&(globalThis.File=RA),globalThis.Blob===void 0&&(globalThis.Blob=DA);var d_=function(t){throw TypeError(t)},m_=function(t,e,r){return e.has(t)||d_("Cannot "+r)},Pi=function(t,e,r){return m_(t,e,"read from private field"),r?r.call(t):e.get(t)},g_=function(t,e,r){return e.has(t)?d_("Cannot add the same private member more than once"):h_(e,WeakSet)?e.add(t):e.set(t,r)},xv=function(t,e,r,n){return m_(t,e,"write to private field"),e.set(t,r),r},wf=function(t){return Object.prototype.toString.call(t)},y_=function(t){return ArrayBuffer.isView(t)&&!h_(t,DataView)},v_=Array.isArray,LA=Object.getOwnPropertyDescriptor,$A=Object.prototype.propertyIsEnumerable,UA=Object.getOwnPropertySymbols,ay=Object.prototype.hasOwnProperty;function Av(t){for(var e=Object.keys(t),r=UA(t),n=0;n<r.length;n++)$A.call(t,r[n])&&e.push(r[n]);return e}function qA(t,e){var r;return!(!((r=LA(t,e))===null||r===void 0)&&r.writable)}function b_(t,e){if((t===void 0?"undefined":_f(t))==="object"&&t!==null){var r;if(v_(t))r=[];else if(wf(t)==="[object Date]")r=new Date(t.getTime?t.getTime():t);else if((function(T){return wf(T)==="[object RegExp]"})(t))r=new RegExp(t);else if((function(T){return wf(T)==="[object Error]"})(t))r={message:t.message};else if((function(T){return wf(T)==="[object Boolean]"})(t)||(function(T){return wf(T)==="[object Number]"})(t)||(function(T){return wf(T)==="[object String]"})(t))r=Object(t);else{if(y_(t))return t.slice();r=Object.create(Object.getPrototypeOf(t))}var n=e.includeSymbols?Av:Object.keys,o=!0,s=!1,b=void 0;try{for(var h,E=n(t)[Symbol.iterator]();!(o=(h=E.next()).done);o=!0){var k=h.value;r[k]=t[k]}}catch(T){s=!0,b=T}finally{try{o||E.return==null||E.return()}finally{if(s)throw b}}return r}return t}var es,au,__={includeSymbols:!1,immutable:!1};function w_(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:__,n=[],o=[],s=!0,b=r.includeSymbols?Av:Object.keys,h=!!r.immutable;return(function E(k){var T=h?b_(k,r):k,R={},F=!0,z={node:T,node_:k,path:[].concat(n),parent:o[o.length-1],parents:o,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(ke){var Ie=arguments.length>1&&arguments[1]!==void 0&&arguments[1];z.isRoot||(z.parent.node[z.key]=ke),z.node=ke,Ie&&(F=!1)},delete:function(ke){delete z.parent.node[z.key],ke&&(F=!1)},remove:function(ke){v_(z.parent.node)?z.parent.node.splice(z.key,1):delete z.parent.node[z.key],ke&&(F=!1)},keys:null,before:function(ke){R.before=ke},after:function(ke){R.after=ke},pre:function(ke){R.pre=ke},post:function(ke){R.post=ke},stop:function(){s=!1},block:function(){F=!1}};if(!s)return z;function X(){if(_f(z.node)==="object"&&z.node!==null){z.keys&&z.node_===z.node||(z.keys=b(z.node)),z.isLeaf=z.keys.length===0;for(var ye=0;ye<o.length;ye++)if(o[ye].node_===k){z.circular=o[ye];break}}else z.isLeaf=!0,z.keys=null;z.notLeaf=!z.isLeaf,z.notRoot=!z.isRoot}X();var Z=e.call(z,z.node);if(Z!==void 0&&z.update&&z.update(Z),R.before&&R.before.call(z,z.node),!F)return z;if(_f(z.node)==="object"&&z.node!==null&&!z.circular){var te;o.push(z),X();var ae=!0,K=!1,Ae=void 0;try{for(var fe,me=Object.entries((te=z.keys)!==null&&te!==void 0?te:[])[Symbol.iterator]();!(ae=(fe=me.next()).done);ae=!0){var xe,Se=FA(fe.value,2),Me=Se[0],Ne=Se[1];n.push(Ne),R.pre&&R.pre.call(z,z.node[Ne],Ne);var we=E(z.node[Ne]);h&&ay.call(z.node,Ne)&&!qA(z.node,Ne)&&(z.node[Ne]=we.node),we.isLast=!!(!((xe=z.keys)===null||xe===void 0)&&xe.length)&&+Me==z.keys.length-1,we.isFirst=+Me==0,R.post&&R.post.call(z,we),n.pop()}}catch(ye){K=!0,Ae=ye}finally{try{ae||me.return==null||me.return()}finally{if(K)throw Ae}}o.pop()}return R.after&&R.after.call(z,z.node),z})(t).node}var zl=(function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:__;(function(o,s){if(!(o instanceof s))throw new TypeError("Cannot call a class as a function")})(this,t),g_(this,es),g_(this,au),xv(this,es,e),xv(this,au,r)}return(function(r,n,o){return n&&BA(r.prototype,n),r})(t,[{key:"get",value:function(r){for(var n=Pi(this,es),o=0;n&&o<r.length;o++){var s=r[o];if(!ay.call(n,s)||!Pi(this,au).includeSymbols&&(s===void 0?"undefined":_f(s))==="symbol")return;n=n[s]}return n}},{key:"has",value:function(r){for(var n=Pi(this,es),o=0;n&&o<r.length;o++){var s=r[o];if(!ay.call(n,s)||!Pi(this,au).includeSymbols&&(s===void 0?"undefined":_f(s))==="symbol")return!1;n=n[s]}return!0}},{key:"set",value:function(r,n){var o=Pi(this,es),s=0;for(s=0;s<r.length-1;s++){var b=r[s];ay.call(o,b)||(o[b]={}),o=o[b]}return o[r[s]]=n,n}},{key:"map",value:function(r){return w_(Pi(this,es),r,{immutable:!0,includeSymbols:!!Pi(this,au).includeSymbols})}},{key:"forEach",value:function(r){return xv(this,es,w_(Pi(this,es),r,Pi(this,au))),Pi(this,es)}},{key:"reduce",value:function(r,n){var o=arguments.length===1,s=o?Pi(this,es):n;return this.forEach((function(b){this.isRoot&&o||(s=r.call(this,s,b))})),s}},{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=[],o=Pi(this,au);return y_(Pi(this,es))?Pi(this,es).slice():(function s(b){for(var h=0;h<r.length;h++)if(r[h]===b)return n[h];if((b===void 0?"undefined":_f(b))==="object"&&b!==null){var E=b_(b,o);r.push(b),n.push(E);var k=o.includeSymbols?Av:Object.keys,T=!0,R=!1,F=void 0;try{for(var z,X=k(b)[Symbol.iterator]();!(T=(z=X.next()).done);T=!0){var Z=z.value;E[Z]=s(b[Z])}}catch(te){R=!0,F=te}finally{try{T||X.return==null||X.return()}finally{if(R)throw F}}return r.pop(),n.pop(),E}return b})(Pi(this,es))}}]),t})();es=new WeakMap,au=new WeakMap;var Vl=function(t,e){return new zl(t,e)};Vl.get=function(t,e,r){return new zl(t,r).get(e)},Vl.set=function(t,e,r,n){return new zl(t,n).set(e,r)},Vl.has=function(t,e,r){return new zl(t,r).has(e)},Vl.map=function(t,e,r){return new zl(t,r).map(e)},Vl.forEach=function(t,e,r){return new zl(t,r).forEach(e)},Vl.reduce=function(t,e,r,n){return new zl(t,n).reduce(e,r)},Vl.paths=function(t,e){return new zl(t,e).paths()},Vl.nodes=function(t,e){return new zl(t,e).nodes()},Vl.clone=function(t,e){return new zl(t,e).clone()};var zA=Vl;const E_="application/json, application/yaml",oy="https://swagger.io",VA=Object.freeze({url:"/"}),S_=3e3,WA=["properties"],JA=["properties"],HA=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],KA=["schema/example","items/example"];function x_(t){const e=t[t.length-1],r=t[t.length-2],n=t.join("/");return WA.indexOf(e)>-1&&JA.indexOf(r)===-1||HA.indexOf(n)>-1||KA.some((o=>n.indexOf(o)>-1))}function Ov(t,e){const[r,n]=t.split("#"),o=e??"",s=r??"";let b;if(Ev(o))b=ti(o,s);else{const h=ti(oy,o),E=ti(h,s).replace(oy,"");b=s.startsWith("/")?E:E.substring(1)}return n?`${b}#${n}`:b}const GA=/^([a-z]+:\/\/|\/\/)/i;class Ef extends Ul{}const _c={},A_=new WeakMap,YA=[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"],ZA={key:"$ref",plugin:(t,e,r,n)=>{const o=n.getInstance(),s=r.slice(0,-1);if(x_(s)||(Z=>YA.some((te=>te(Z))))(s))return;const{baseDoc:b}=n.getContext(r);if(typeof t!="string")return new Ef("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:b,fullPath:r});const h=j_(t),E=h[0],k=h[1]||"";let T,R,F;try{T=b||E?C_(E,b):null}catch(Z){return kv(Z,{pointer:k,$ref:t,basePath:T,fullPath:r})}if((function(te,ae,K,Ae){let fe=A_.get(Ae);fe||(fe={},A_.set(Ae,fe));const me=(function(ke){return ke.length===0?"":`/${ke.map(N_).join("/")}`})(K),xe=`${ae||"<specmap-base>"}#${te}`,Se=me.replace(/allOf\/\d+\/?/g,""),Me=Ae.contextTree.get([]).baseDoc;if(ae===Me&&Iv(Se,te))return!0;let Ne="";return K.some((ye=>(Ne=`${Ne}/${N_(ye)}`,fe[Ne]&&fe[Ne].some((ke=>Iv(ke,xe)||Iv(xe,ke))))))?!0:void(fe[Se]=(fe[Se]||[]).concat(xe))})(k,T,s,n)&&!o.useCircularStructures){const Z=Ov(t,T);return t===Z?null:zn.replace(r,Z)}if(T==null?(F=jv(k),R=n.get(F),R===void 0&&(R=new Ef(`Could not resolve reference: ${t}`,{pointer:k,$ref:t,baseDoc:b,fullPath:r}))):(R=I_(T,k),R=R.__value!=null?R.__value:R.catch((Z=>{throw kv(Z,{pointer:k,$ref:t,baseDoc:b,fullPath:r})}))),R instanceof Error)return[zn.remove(r),R];const z=Ov(t,T),X=zn.replace(s,R,{$$ref:z});if(T&&T!==b)return[X,zn.context(s,{baseDoc:T})];try{if(!(function(te,ae){const K=[te];return ae.path.reduce(((fe,me)=>(K.push(fe[me]),fe[me])),te),Ae(ae.value);function Ae(fe){return zn.isObject(fe)&&(K.indexOf(fe)>=0||Object.keys(fe).some((me=>Ae(fe[me]))))}})(n.state,X)||o.useCircularStructures)return X}catch{return null}}},O_=Object.assign(ZA,{docCache:_c,absoluteify:C_,clearCache:function(e){e!==void 0?delete _c[e]:Object.keys(_c).forEach((r=>{delete _c[r]}))},JSONRefError:Ef,wrapError:kv,getDoc:P_,split:j_,extractFromDoc:I_,fetchJSON:function(e){return fetch(e,{headers:{Accept:E_},loadSpec:!0}).then((r=>r.text())).then((r=>xo.load(r)))},extract:Cv,jsonPointerToArray:jv,unescapeJsonPointerToken:T_}),k_=O_;function C_(t,e){if(!GA.test(t)){if(!e)throw new Ef(`Tried to resolve a relative URL, without having a basePath. path: '${t}' basePath: '${e}'`);return ti(e,t)}return t}function kv(t,e){let r;return r=t&&t.response&&t.response.body?`${t.response.body.code} ${t.response.body.message}`:t.message,new Ef(`Could not resolve reference: ${r}`,{...e,cause:t})}function j_(t){return(t+"").split("#")}function I_(t,e){const r=_c[t];if(r&&!zn.isPromise(r))try{const n=Cv(e,r);return Object.assign(Promise.resolve(n),{__value:n})}catch(n){return Promise.reject(n)}return P_(t).then((n=>Cv(e,n)))}function P_(t){const e=_c[t];return e?zn.isPromise(e)?e:Promise.resolve(e):(_c[t]=O_.fetchJSON(t).then((r=>(_c[t]=r,r))),_c[t])}function Cv(t,e){const r=jv(t);if(r.length<1)return e;const n=zn.getIn(e,r);if(n===void 0)throw new Ef(`Could not resolve pointer: ${t} does not exist in document`,{pointer:t});return n}function jv(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(T_)}function T_(t){return typeof t!="string"?t:new URLSearchParams(`=${t.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function N_(t){return new URLSearchParams([["",t.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}const XA=t=>!t||t==="/"||t==="#";function Iv(t,e){if(XA(e))return!0;const r=t.charAt(e.length),n=e.slice(-1);return t.indexOf(e)===0&&(!r||r==="/"||r==="#")&&n!=="#"}const QA={key:"allOf",plugin:(t,e,r,n,o)=>{if(o.meta&&o.meta.$$ref)return;const s=r.slice(0,-1);if(x_(s))return;if(!Array.isArray(t)){const k=new TypeError("allOf must be an array");return k.fullPath=r,k}let b=!1,h=o.value;if(s.forEach((k=>{h&&(h=h[k])})),h={...h},Object.keys(h).length===0)return;delete h.allOf;const E=[];return E.push(n.replace(s,{})),t.forEach(((k,T)=>{if(!n.isObject(k)){if(b)return null;b=!0;const F=new TypeError("Elements in allOf must be objects");return F.fullPath=r,E.push(F)}E.push(n.mergeDeep(s,k));const R=(function(z,X,{specmap:Z,getBaseUrlForNodePath:te=K=>Z.getContext([...X,...K]).baseDoc,targetKeys:ae=["$ref","$$ref"]}={}){const K=[];return zA(z).forEach((function(){if(ae.includes(this.key)&&typeof this.node=="string"){const fe=this.path,me=X.concat(this.path),xe=Ov(this.node,te(fe));K.push(Z.replace(me,xe))}})),K})(k,r.slice(0,-1),{getBaseUrlForNodePath:F=>n.getContext([...r,T,...F]).baseDoc,specmap:n});E.push(...R)})),h.example&&E.push(n.remove([].concat(s,"example"))),E.push(n.mergeDeep(s,h)),h.$$ref||E.push(n.remove([].concat(s,"$$ref"))),E}},e6={key:"parameters",plugin:(t,e,r,n)=>{if(Array.isArray(t)&&t.length){const o=Object.assign([],t),s=r.slice(0,-1),b={...zn.getIn(n.spec,s)};for(let h=0;h<t.length;h+=1){const E=t[h];try{o[h].default=n.parameterMacro(b,E)}catch(k){const T=new Error(k);return T.fullPath=r,T}}return zn.replace(r,o)}return zn.replace(r,t)}},t6={key:"properties",plugin:(t,e,r,n)=>{const o={...t};for(const s in t)try{o[s].default=n.modelPropertyMacro(o[s])}catch(b){const h=new Error(b);return h.fullPath=r,h}return zn.replace(r,o)}};class r6{constructor(e){this.root=Pv(e||{})}set(e,r){const n=this.getParent(e,!0);if(!n)return void iy(this.root,r,null);const o=e[e.length-1],{children:s}=n;s[o]?iy(s[o],r,n):s[o]=Pv(r,n)}get(e){if((e=e||[]).length<1)return this.root.value;let r,n,o=this.root;for(let s=0;s<e.length&&(n=e[s],r=o.children,r[n]);s+=1)o=r[n];return o&&o.protoValue}getParent(e,r){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce(((n,o)=>{if(!n)return n;const{children:s}=n;return!s[o]&&r&&(s[o]=Pv(null,n)),s[o]}),this.root)}}function Pv(t,e){return iy({children:{}},t,e)}function iy(t,e,r){return t.value=e||{},t.protoValue=r?{...r.protoValue,...t.value}:t.value,Object.keys(t.children).forEach((n=>{const o=t.children[n];t.children[n]=iy(o,o.value,t)})),t}const M_=()=>{};class n6{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 r6,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),zn,{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(zn.isFunction),this.patches.push(zn.add([],this.spec)),this.patches.push(zn.context([],this.context)),this.updatePatches(this.patches)}debug(e,...r){this.debugLevel===e&&console.log(...r)}verbose(e,...r){this.debugLevel==="verbose"&&console.log(`[${e}] `,...r)}wrapPlugin(e,r){const{pathDiscriminator:n}=this;let o,s=null;return e[this.pluginProp]?(s=e,o=e[this.pluginProp]):zn.isFunction(e)?o=e:zn.isObject(e)&&(o=(function(h){const E=(k,T)=>!Array.isArray(k)||k.every(((R,F)=>R===T[F]));return function*(T,R){const F={};for(const[X,Z]of T.filter(zn.isAdditiveMutation).entries()){if(!(X<S_))return;yield*z(Z.value,Z.path,Z)}function*z(X,Z,te){if(zn.isObject(X)){const ae=Z.length-1,K=Z[ae],Ae=Z.indexOf("properties"),fe=K==="properties"&&ae===Ae,me=R.allowMetaPatches&&F[X.$$ref];for(const xe of Object.keys(X)){const Se=X[xe],Me=Z.concat(xe),Ne=zn.isObject(Se),we=X.$$ref;if(me||Ne&&(R.allowMetaPatches&&we&&E(n,Me)&&(F[we]=!0),yield*z(Se,Me,te)),!fe&&xe===h.key){const ye=E(n,Z);n&&!ye||(yield h.plugin(Se,xe,Me,R,te))}}}else h.key===Z[Z.length-1]&&(yield h.plugin(X,h.key,Z,R))}}})(e)),Object.assign(o.bind(s),{pluginName:e.name||r,isGenerator:zn.isGenerator(o)})}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){zn.normalizeArray(e).forEach((r=>{if(r instanceof Error)this.errors.push(r);else try{if(!zn.isObject(r))return void this.debug("updatePatches","Got a non-object patch",r);if(this.showDebug&&this.allPatches.push(r),zn.isPromise(r.value))return this.promisedPatches.push(r),void this.promisedPatchThen(r);if(zn.isContextPatch(r))return void this.setContext(r.path,r.value);zn.isMutation(r)&&this.updateMutations(r)}catch(n){console.error(n),this.errors.push(n)}}))}updateMutations(e){typeof e.value=="object"&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value={...e.value});const r=zn.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={...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 zn.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 o=this.nextPromisedPatch();if(o)return o.then((()=>this.dispatch())).catch((()=>this.dispatch()));const s={spec:this.state,errors:this.errors};return this.showDebug&&(s.patches=this.allPatches),Promise.resolve(s)}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 o=this.promisedPatches.map((s=>s.value));return Promise.all(o.map((s=>s.then(M_,M_)))).then((()=>this.dispatch()))}return(function(){e.currentPlugin=r;const s=e.getCurrentMutations(),b=e.mutations.length-1;try{if(r.isGenerator)for(const h of r(s,e.getLib()))n(h);else n(r(s,e.getLib()))}catch(h){console.error(h),n([Object.assign(Object.create(h),{plugin:r})])}finally{e.updatePluginHistory(r,{mutationIndex:b})}return e.dispatch()})();function n(o){o&&(o=zn.fullyNormalizeArray(o),e.updatePatches(o,r))}}}const Sf={refs:k_,allOf:QA,parameters:e6,properties:t6};function R_(t,e={}){const{requestInterceptor:r,responseInterceptor:n}=e,o=t.withCredentials?"include":"same-origin";return s=>t({url:s,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:E_},credentials:o}).then((b=>b.body))}function Tv(t,e){return e||typeof navigator>"u"||(e=navigator),e&&e.product==="ReactNative"?!(!t||typeof t!="object"||typeof t.uri!="string"):typeof File<"u"&&t instanceof File||typeof Blob<"u"&&t instanceof Blob||!!ArrayBuffer.isView(t)||t!==null&&typeof t=="object"&&typeof t.pipe=="function"}function D_(t,e){return Array.isArray(t)&&t.some((r=>Tv(r,e)))}class Nv extends File{constructor(e,r="",n={}){super([e],r,n),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const a6=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,o6=t=>/^[a-z0-9\-._~]+$/i.test(t);function B_(t,e="reserved"){return[...t].map((r=>{if(o6(r)||a6(r)&&e==="unsafe")return r;const n=new TextEncoder;return Array.from(n.encode(r)).map((o=>`0${o.toString(16).toUpperCase()}`.slice(-2))).map((o=>`%${o}`)).join("")})).join("")}function Mv(t){const{value:e}=t;return Array.isArray(e)?(function({key:n,value:o,style:s,explode:b,escape:h}){if(s==="simple")return o.map((E=>ri(E,h))).join(",");if(s==="label")return`.${o.map((E=>ri(E,h))).join(".")}`;if(s==="matrix")return o.map((E=>ri(E,h))).reduce(((E,k)=>!E||b?`${E||""};${n}=${k}`:`${E},${k}`),"");if(s==="form"){const E=b?`&${n}=`:",";return o.map((k=>ri(k,h))).join(E)}if(s==="spaceDelimited"){const E=b?`${n}=`:"";return o.map((k=>ri(k,h))).join(` ${E}`)}if(s==="pipeDelimited"){const E=b?`${n}=`:"";return o.map((k=>ri(k,h))).join(`|${E}`)}})(t):typeof e=="object"?(function({key:n,value:o,style:s,explode:b,escape:h}){const E=Object.keys(o);if(s==="simple")return E.reduce(((k,T)=>{const R=ri(o[T],h);return`${k?`${k},`:""}${T}${b?"=":","}${R}`}),"");if(s==="label")return E.reduce(((k,T)=>{const R=ri(o[T],h);return`${k?`${k}.`:"."}${T}${b?"=":"."}${R}`}),"");if(s==="matrix"&&b)return E.reduce(((k,T)=>`${k?`${k};`:";"}${T}=${ri(o[T],h)}`),"");if(s==="matrix")return E.reduce(((k,T)=>{const R=ri(o[T],h);return`${k?`${k},`:`;${n}=`}${T},${R}`}),"");if(s==="form")return E.reduce(((k,T)=>{const R=ri(o[T],h);return`${k?`${k}${b?"&":","}`:""}${T}${b?"=":","}${R}`}),"")})(t):(function({key:n,value:o,style:s,escape:b}){if(s==="simple")return ri(o,b);if(s==="label")return`.${ri(o,b)}`;if(s==="matrix")return`;${n}=${ri(o,b)}`;if(s==="form"||s==="deepObject")return ri(o,b)})(t)}function ri(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?B_(t,e):t??""}const i6={form:",",spaceDelimited:"%20",pipeDelimited:"|"},s6={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function F_(t,e,r=!1){const{collectionFormat:n,allowEmptyValue:o,serializationOption:s,encoding:b}=e,h=typeof e!="object"||Array.isArray(e)?e:e.value,E=r?T=>T.toString():T=>encodeURIComponent(T),k=E(t);if(h===void 0&&o)return[[k,""]];if(Tv(h)||D_(h))return[[k,h]];if(s)return L_(t,h,r,s);if(b){if([typeof b.style,typeof b.explode,typeof b.allowReserved].some((T=>T!=="undefined"))){const{style:T,explode:R,allowReserved:F}=b;return L_(t,h,r,{style:T,explode:R,allowReserved:F})}if(typeof b.contentType=="string"){if(b.contentType.startsWith("application/json")){const R=E(typeof h=="string"?h:JSON.stringify(h));return[[k,new Nv(R,"blob",{type:b.contentType})]]}const T=E(String(h));return[[k,new Nv(T,"blob",{type:b.contentType})]]}return typeof h!="object"?[[k,E(h)]]:Array.isArray(h)&&h.every((T=>typeof T!="object"))?[[k,h.map(E).join(",")]]:[[k,E(JSON.stringify(h))]]}return typeof h!="object"?[[k,E(h)]]:Array.isArray(h)?n==="multi"?[[k,h.map(E)]]:[[k,h.map(E).join(s6[n||"csv"])]]:[[k,""]]}function L_(t,e,r,n){const o=n.style||"form",s=n.explode===void 0?o==="form":n.explode,b=!r&&(n&&n.allowReserved?"unsafe":"reserved"),h=k=>ri(k,b),E=r?k=>k:k=>h(k);return typeof e!="object"?[[E(t),h(e)]]:Array.isArray(e)?s?[[E(t),e.map(h)]]:[[E(t),e.map(h).join(i6[o])]]:o==="deepObject"?Object.keys(e).map((k=>[E(`${t}[${k}]`),h(e[k])])):s?Object.keys(e).map((k=>[E(k),h(e[k])])):[[E(t),Object.keys(e).map((k=>[`${E(k)},${h(e[k])}`])).join(",")]]}function $_(t){return((e,{encode:r=!0}={})=>{const n=(b,h,E)=>(Array.isArray(E)?E.reduce(((k,T)=>n(b,h,T)),b):E instanceof Date?b.append(h,E.toISOString()):typeof E=="object"?Object.entries(E).reduce(((k,[T,R])=>n(b,`${h}[${T}]`,R)),b):b.append(h,E),b),o=Object.entries(e).reduce(((b,[h,E])=>n(b,h,E)),new URLSearchParams),s=String(o);return r?s:decodeURIComponent(s)})(Object.keys(t).reduce(((e,r)=>{for(const[n,o]of F_(r,t[r]))e[n]=o instanceof Nv?o.valueOf():o;return e}),{}),{encode:!1})}function Rv(t={}){const{url:e="",query:r,form:n}=t;if(n){const o=Object.keys(n).some((b=>{const{value:h}=n[b];return Tv(h)||D_(h)})),s=t.headers["content-type"]||t.headers["Content-Type"];if(o||/multipart\/form-data/i.test(s)){const b=(function(E){return Object.entries(E).reduce(((k,[T,R])=>{for(const[F,z]of F_(T,R,!0))if(Array.isArray(z))for(const X of z)if(ArrayBuffer.isView(X)){const Z=new Blob([X]);k.append(F,Z)}else k.append(F,X);else if(ArrayBuffer.isView(z)){const X=new Blob([z]);k.append(F,X)}else k.append(F,z);return k}),new FormData)})(t.form);t.formdata=b,t.body=b}else t.body=$_(n);delete t.form}if(r){const[o,s]=e.split("?");let b="";if(s){const E=new URLSearchParams(s);Object.keys(r).forEach((k=>E.delete(k))),b=String(E)}const h=((...E)=>{const k=E.filter((T=>T)).join("&");return k?`?${k}`:""})(b,$_(r));t.url=o+h,delete t.query}return t}function l6(t={}){return typeof t.entries!="function"?{}:Array.from(t.entries()).reduce(((e,[r,n])=>(e[r]=(function(s){return s.includes(", ")?s.split(", "):s})(n),e)),{})}function U_(t,e,{loadSpec:r=!1}={}){const n={ok:t.ok,url:t.url||e,status:t.status,statusText:t.statusText,headers:l6(t.headers)},o=n.headers["content-type"],s=r||((b="")=>/(json|xml|yaml|text)\b/.test(b))(o);return(s?t.text:t.blob||t.buffer).call(t).then((b=>{if(n.text=b,n.data=b,s)try{const h=(function(k,T){if(T){if(T.indexOf("application/json")===0||T.indexOf("+json")>0)return JSON.parse(k);if(T.indexOf("application/xml")===0||T.indexOf("+xml")>0)return k}return xo.load(k)})(b,o);n.body=h,n.obj=h}catch(h){n.parseError=h}return n}))}async function _d(t,e={}){typeof t=="object"&&(t=(e=t).url),e.headers=e.headers||{},(e=Rv(e)).headers&&Object.keys(e.headers).forEach((o=>{const s=e.headers[o];typeof s=="string"&&(e.headers[o]=s.replace(/\n+/g," "))})),e.requestInterceptor&&(e=await e.requestInterceptor(e)||e);const r=e.headers["content-type"]||e.headers["Content-Type"];let n;/multipart\/form-data/i.test(r)&&(delete e.headers["content-type"],delete e.headers["Content-Type"]);try{n=await(e.userFetch||fetch)(e.url,e),n=await U_(n,t,e),e.responseInterceptor&&(n=await e.responseInterceptor(n)||n)}catch(o){if(!n)throw o;const s=new Error(n.statusText||`response status is ${n.status}`);throw s.status=n.status,s.statusCode=n.status,s.responseError=o,s}if(!n.ok){const o=new Error(n.statusText||`response status is ${n.status}`);throw o.status=n.status,o.statusCode=n.status,o.response=n,o}return n}const Dv=t=>{var e,r;const{baseDoc:n,url:o}=t,s=(e=n??o)!==null&&e!==void 0?e:"";return typeof((r=globalThis.document)===null||r===void 0?void 0:r.baseURI)=="string"?String(new URL(s,globalThis.document.baseURI)):s},q_=t=>{const{fetch:e,http:r}=t;return e||r||_d};async function Bv(t){const{spec:e,mode:r,allowMetaPatches:n=!0,pathDiscriminator:o,modelPropertyMacro:s,parameterMacro:b,requestInterceptor:h,responseInterceptor:E,skipNormalization:k=!1,useCircularStructures:T,strategies:R}=t,F=Dv(t),z=q_(t),X=R.find((Z=>Z.match(e)));return(async function(te){F&&(Sf.refs.docCache[F]=te),Sf.refs.fetchJSON=R_(z,{requestInterceptor:h,responseInterceptor:E});const ae=[Sf.refs];typeof b=="function"&&ae.push(Sf.parameters),typeof s=="function"&&ae.push(Sf.properties),r!=="strict"&&ae.push(Sf.allOf);const K=await(function(fe){return new n6(fe).dispatch()})({spec:te,context:{baseDoc:F},plugins:ae,allowMetaPatches:n,pathDiscriminator:o,parameterMacro:b,modelPropertyMacro:s,useCircularStructures:T});return k||(K.spec=X.normalize(K.spec)),K})(e)}const c6=on((function(e,r){return e&&r})),wd=on((function(e,r){return yv(e)?function(){return e.apply(this,arguments)&&r.apply(this,arguments)}:bv(c6)(e,r)})),z_=eu(null),V_=bd(z_);function Fv(t){return Fv=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},Fv(t)}const W_=function(e){return Fv(e)==="object"},u6=mo(1,wd(V_,W_));var p6=ei(ol,Yu("Object")),f6=ei(yf,eu(yf(Object))),h6=Jg(wd(Zu,f6),["constructor"]),d6=mo(1,(function(t){if(!u6(t)||!p6(t))return!1;var e=Object.getPrototypeOf(t);return!!z_(e)||h6(e)}));const il=d6,J_=t=>t.replace(/\W/gi,"_");function Ed(t,e,r="",{v2OperationIdCompatibilityMode:n}={}){return!t||typeof t!="object"?null:(t.operationId||"").replace(/\s/g,"").length?J_(t.operationId):(function(s,b,{v2OperationIdCompatibilityMode:h}={}){if(h){let E=`${b.toLowerCase()}_${s}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return E=E||`${s.substring(1)}_${b}`,E.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${b.toLowerCase()}${J_(s)}`})(e,r,{v2OperationIdCompatibilityMode:n})}function Lv(t){const{spec:e}=t,{paths:r}=e,n={};if(!r||e.$$normalized)return t;for(const o in r){const s=r[o];if(s==null||!["object","function"].includes(typeof s))continue;const b=s.parameters;for(const h in s){const E=s[h];if(E==null||!["object","function"].includes(typeof E))continue;const k=Ed(E,o,h);if(k){n[k]?n[k].push(E):n[k]=[E];const T=n[k];if(T.length>1)T.forEach(((R,F)=>{R.__originalOperationId=R.__originalOperationId||R.operationId,R.operationId=`${k}${F+1}`}));else if(E.operationId!==void 0){const R=T[0];R.__originalOperationId=R.__originalOperationId||E.operationId,R.operationId=k}}if(h!=="parameters"){const T=[],R={};for(const F in e)F!=="produces"&&F!=="consumes"&&F!=="security"||(R[F]=e[F],T.push(R));if(b&&(R.parameters=b,T.push(R)),T.length)for(const F of T)for(const z in F)if(Array.isArray(E[z])){if(z==="parameters")for(const X of F[z])E[z].some((Z=>!(!il(Z)&&!il(X))&&(Z===X||["name","$ref","$$ref"].some((te=>typeof Z[te]=="string"&&typeof X[te]=="string"&&Z[te]===X[te])))))||E[z].push(X)}else E[z]=F[z]}}}return e.$$normalized=!0,t}const m6={name:"generic",match:()=>!0,normalize(t){const{spec:e}=Lv({spec:t});return e},resolve:async t=>Bv(t)},$v=m6,H_=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},Uv=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},K_=t=>H_(t)||Uv(t),g6={name:"openapi-2",match:t=>(e=>{try{const{swagger:r}=e;return r==="2.0"}catch{return!1}})(t),normalize(t){const{spec:e}=Lv({spec:t});return e},resolve:async t=>(async function(r){return Bv(r)})(t)},qv=g6,y6={name:"openapi-3-0",match:t=>H_(t),normalize(t){const{spec:e}=Lv({spec:t});return e},resolve:async t=>(async function(r){return Bv(r)})(t)},zv=y6;var at=qe(34035);function sy(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}var v6=(function(){function t(e,r){this.xf=r,this.f=e,this.all=!0}return t.prototype["@@transducer/init"]=ru,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=sy(this.xf["@@transducer/step"](e,!1))),e},t})();function b6(t){return function(e){return new v6(t,e)}}var _6=on(tu(["all"],b6,(function(e,r){for(var n=0;n<r.length;){if(!e(r[n]))return!1;n+=1}return!0})));const Vv=_6;class w6 extends at.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 ly=w6;class E6 extends at.Om{constructor(e,r,n){super(e,r,n),this.element="comment"}}const cy=E6;class S6 extends at.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(nu(r))return!1;const n=this.content.findIndex((o=>o===r));return n!==-1&&(this.content[n]=e,!0)}}const sl=S6;class x6 extends at.wE{constructor(e,r,n){super(e,r,n),this.element="sourceMap"}get positionStart(){return this.children.filter((e=>e.classes.contains("position"))).get(0)}get positionEnd(){return this.children.filter((e=>e.classes.contains("position"))).get(1)}set position(e){if(e===void 0)return;const r=new at.wE([e.start.row,e.start.column,e.start.char]),n=new at.wE([e.end.row,e.end.column,e.end.char]);r.classes.push("position"),n.classes.push("position"),this.push(r).push(n)}}const uy=x6,A6=(t,e)=>typeof e=="object"&&e!==null&&t in e&&typeof e[t]=="function",O6=t=>typeof t=="object"&&t!=null&&"_storedElement"in t&&typeof t._storedElement=="string"&&"_content"in t,k6=(t,e)=>typeof e=="object"&&e!==null&&"primitive"in e&&typeof e.primitive=="function"&&e.primitive()===t,C6=(t,e)=>typeof e=="object"&&e!==null&&"classes"in e&&(Array.isArray(e.classes)||e.classes instanceof at.wE)&&e.classes.includes(t),ou=(t,e)=>typeof e=="object"&&e!==null&&"element"in e&&e.element===t,rr=t=>t({hasMethod:A6,hasBasicElementProps:O6,primitiveEq:k6,isElementType:ou,hasClass:C6}),io=rr((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof at.Hg||t(r)&&e(void 0,r))),Gr=rr((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof at.Om||t(r)&&e("string",r))),Wv=rr((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof at.kT||t(r)&&e("number",r))),Jv=rr((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof at.Os||t(r)&&e("null",r))),Sd=rr((({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof at.bd||t(r)&&e("boolean",r))),Vn=rr((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof at.Sh||t(n)&&e("object",n)&&r("keys",n)&&r("values",n)&&r("items",n))),ni=rr((({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof at.wE&&!(n instanceof at.Sh)||t(n)&&e("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n))),ll=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof at.Pr||t(n)&&e("member",n)&&r(void 0,n))),G_=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof at.Ft||t(n)&&e("link",n)&&r(void 0,n))),Y_=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof at.sI||t(n)&&e("ref",n)&&r(void 0,n))),j6=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ly||t(n)&&e("annotation",n)&&r("array",n))),I6=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof cy||t(n)&&e("comment",n)&&r("string",n))),Z_=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sl||t(n)&&e("parseResult",n)&&r("array",n))),X_=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof uy||t(n)&&e("sourceMap",n)&&r("array",n))),Qu=t=>ou("object",t)||ou("array",t)||ou("boolean",t)||ou("number",t)||ou("string",t)||ou("null",t)||ou("member",t),xd=t=>X_(t.meta.get("sourceMap")),P6=(t,e)=>{if(t.length===0)return!0;const r=e.attributes.get("symbols");return!!ni(r)&&Vv(ey(r.toValue()),t)},xf=(t,e)=>t.length===0||Vv(ey(e.classes.toValue()),t),wc=function(){return!0},Hv=function(){return!1},py=(t,e,r)=>{const n=t[e];if(n!=null){if(!r&&typeof n=="function")return n;const o=r?n.leave:n.enter;if(typeof o=="function")return o}else{const o=r?t.leave:t.enter;if(o!=null){if(typeof o=="function")return o;const s=o[e];if(typeof s=="function")return s}}return null},In={},Ad=t=>t?.type,Q_=t=>typeof Ad(t)=="string",Kv=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),fy=(t,{visitFnGetter:e=py,nodeTypeGetter:r=Ad,breakSymbol:n=In,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:s=!1,exposeEdits:b=!1}={})=>{const h=Symbol("skip"),E=new Array(t.length).fill(h);return{enter(k,T,R,F,z,X){let Z=k,te=!1;const ae={...X,replaceWith(K,Ae){X.replaceWith(K,Ae),Z=K}};for(let K=0;K<t.length;K+=1)if(E[K]===h){const Ae=e(t[K],r(Z),!1);if(typeof Ae=="function"){const fe=Ae.call(t[K],Z,T,R,F,z,ae);if(typeof fe?.then=="function")throw new Ul("Async visitor not supported in sync mode",{visitor:t[K],visitFn:Ae});if(fe===s)E[K]=Z;else if(fe===n)E[K]=n;else{if(fe===o)return fe;if(fe!==void 0){if(!b)return fe;Z=fe,te=!0}}}}return te?Z:void 0},leave(k,T,R,F,z,X){let Z=k;const te={...X,replaceWith(ae,K){X.replaceWith(ae,K),Z=ae}};for(let ae=0;ae<t.length;ae+=1)if(E[ae]===h){const K=e(t[ae],r(Z),!0);if(typeof K=="function"){const Ae=K.call(t[ae],Z,T,R,F,z,te);if(typeof Ae?.then=="function")throw new Ul("Async visitor not supported in sync mode",{visitor:t[ae],visitFn:K});if(Ae===n)E[ae]=n;else if(Ae!==void 0&&Ae!==s)return Ae}}else E[ae]===Z&&(E[ae]=h)}}};fy[Symbol.for("nodejs.util.promisify.custom")]=(t,{visitFnGetter:e=py,nodeTypeGetter:r=Ad,breakSymbol:n=In,deleteNodeSymbol:o=null,skipVisitingNodeSymbol:s=!1,exposeEdits:b=!1}={})=>{const h=Symbol("skip"),E=new Array(t.length).fill(h);return{async enter(k,T,R,F,z,X){let Z=k,te=!1;const ae={...X,replaceWith(K,Ae){X.replaceWith(K,Ae),Z=K}};for(let K=0;K<t.length;K+=1)if(E[K]===h){const Ae=e(t[K],r(Z),!1);if(typeof Ae=="function"){const fe=await Ae.call(t[K],Z,T,R,F,z,ae);if(fe===s)E[K]=Z;else if(fe===n)E[K]=n;else{if(fe===o)return fe;if(fe!==void 0){if(!b)return fe;Z=fe,te=!0}}}}return te?Z:void 0},async leave(k,T,R,F,z,X){let Z=k;const te={...X,replaceWith(ae,K){X.replaceWith(ae,K),Z=ae}};for(let ae=0;ae<t.length;ae+=1)if(E[ae]===h){const K=e(t[ae],r(Z),!0);if(typeof K=="function"){const Ae=await K.call(t[ae],Z,T,R,F,z,te);if(Ae===n)E[ae]=n;else if(Ae!==void 0&&Ae!==s)return Ae}}else E[ae]===Z&&(E[ae]=h)}}};const Gv=(t,e,{keyMap:r=null,state:n={},breakSymbol:o=In,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:b=!1,visitFnGetter:h=py,nodeTypeGetter:E=Ad,nodePredicate:k=Q_,nodeCloneFn:T=Kv,detectCycles:R=!0,detectCyclesCallback:F=null}={})=>{const z=r||{};let X,Z,te=Array.isArray(t),ae=[t],K=-1,Ae=[],fe=t;const me=[],xe=[];do{K+=1;const Ne=K===ae.length;let we;const ye=Ne&&Ae.length!==0;if(Ne){if(we=xe.length===0?void 0:me.pop(),fe=Z,Z=xe.pop(),ye)if(te){fe=fe.slice();let Ie=0;for(const[De,tt]of Ae){const Dt=De-Ie;tt===s?(fe.splice(Dt,1),Ie+=1):fe[Dt]=tt}}else{fe=T(fe);for(const[Ie,De]of Ae)fe[Ie]=De}K=X.index,ae=X.keys,Ae=X.edits,te=X.inArray,X=X.prev}else if(Z!==s&&Z!==void 0){if(we=te?K:ae[K],fe=Z[we],fe===s||fe===void 0)continue;me.push(we)}let ke;if(!Array.isArray(fe)){var Se;if(!k(fe))throw new Ul(`Invalid AST Node: ${String(fe)}`,{node:fe});if(R&&xe.includes(fe)){typeof F=="function"&&F(fe,we,Z,me,xe),me.pop();continue}const Ie=h(e,E(fe),Ne);if(Ie){for(const[tt,Dt]of Object.entries(n))e[tt]=Dt;const De={replaceWith(tt,Dt){typeof Dt=="function"?Dt(tt,fe,we,Z,me,xe):Z&&(Z[we]=tt),Ne||(fe=tt)}};ke=Ie.call(e,fe,we,Z,me,xe,De)}if(typeof((Se=ke)===null||Se===void 0?void 0:Se.then)=="function")throw new Ul("Async visitor not supported in sync mode",{visitor:e,visitFn:Ie});if(ke===o)break;if(ke===b){if(!Ne){me.pop();continue}}else if(ke!==void 0&&(Ae.push([we,ke]),!Ne)){if(!k(ke)){me.pop();continue}fe=ke}}var Me;ke===void 0&&ye&&Ae.push([we,fe]),!Ne&&(X={inArray:te,index:K,keys:ae,edits:Ae,prev:X},te=Array.isArray(fe),ae=te?fe:(Me=z[E(fe)])!==null&&Me!==void 0?Me:[],K=-1,Ae=[],Z!==s&&Z!==void 0&&xe.push(Z),Z=fe)}while(X!==void 0);return Ae.length!==0?Ae[Ae.length-1][1]:t};Gv[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:o=In,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:b=!1,visitFnGetter:h=py,nodeTypeGetter:E=Ad,nodePredicate:k=Q_,nodeCloneFn:T=Kv,detectCycles:R=!0,detectCyclesCallback:F=null}={})=>{const z=r||{};let X,Z,te=Array.isArray(t),ae=[t],K=-1,Ae=[],fe=t;const me=[],xe=[];do{K+=1;const Me=K===ae.length;let Ne;const we=Me&&Ae.length!==0;if(Me){if(Ne=xe.length===0?void 0:me.pop(),fe=Z,Z=xe.pop(),we)if(te){fe=fe.slice();let ke=0;for(const[Ie,De]of Ae){const tt=Ie-ke;De===s?(fe.splice(tt,1),ke+=1):fe[tt]=De}}else{fe=T(fe);for(const[ke,Ie]of Ae)fe[ke]=Ie}K=X.index,ae=X.keys,Ae=X.edits,te=X.inArray,X=X.prev}else if(Z!==s&&Z!==void 0){if(Ne=te?K:ae[K],fe=Z[Ne],fe===s||fe===void 0)continue;me.push(Ne)}let ye;if(!Array.isArray(fe)){if(!k(fe))throw new Ul(`Invalid AST Node: ${String(fe)}`,{node:fe});if(R&&xe.includes(fe)){typeof F=="function"&&F(fe,Ne,Z,me,xe),me.pop();continue}const ke=h(e,E(fe),Me);if(ke){for(const[De,tt]of Object.entries(n))e[De]=tt;const Ie={replaceWith(De,tt){typeof tt=="function"?tt(De,fe,Ne,Z,me,xe):Z&&(Z[Ne]=De),Me||(fe=De)}};ye=await ke.call(e,fe,Ne,Z,me,xe,Ie)}if(ye===o)break;if(ye===b){if(!Me){me.pop();continue}}else if(ye!==void 0&&(Ae.push([Ne,ye]),!Me)){if(!k(ye)){me.pop();continue}fe=ye}}var Se;ye===void 0&&we&&Ae.push([Ne,fe]),!Me&&(X={inArray:te,index:K,keys:ae,edits:Ae,prev:X},te=Array.isArray(fe),ae=te?fe:(Se=z[E(fe)])!==null&&Se!==void 0?Se:[],K=-1,Ae=[],Z!==s&&Z!==void 0&&xe.push(Z),Z=fe)}while(X!==void 0);return Ae.length!==0?Ae[Ae.length-1][1]:t};const ew=class extends Ul{value;constructor(e,r){super(e,r),r!==void 0&&(this.value=r.value)}},T6=class extends ew{},N6=class extends ew{},Er=(t,e={})=>{const{visited:r=new WeakMap}=e,n={...e,visited:r};if(r.has(t))return r.get(t);if(t instanceof at.KeyValuePair){const{key:o,value:s}=t,b=io(o)?Er(o,n):o,h=io(s)?Er(s,n):s,E=new at.KeyValuePair(b,h);return r.set(t,E),E}if(t instanceof at.ot){const o=h=>Er(h,n),s=[...t].map(o),b=new at.ot(s);return r.set(t,b),b}if(t instanceof at.G6){const o=h=>Er(h,n),s=[...t].map(o),b=new at.G6(s);return r.set(t,b),b}if(io(t)){const o=Ro(t);if(r.set(t,o),t.content)if(io(t.content))o.content=Er(t.content,n);else if(t.content instanceof at.KeyValuePair)o.content=Er(t.content,n);else if(Array.isArray(t.content)){const s=b=>Er(b,n);o.content=t.content.map(s)}else o.content=t.content;else o.content=t.content;return o}throw new T6("Value provided to cloneDeep function couldn't be cloned",{value:t})};Er.safe=t=>{try{return Er(t)}catch{return t}};const tw=t=>{const{key:e,value:r}=t;return new at.KeyValuePair(e,r)},rw=t=>{const e=new t.constructor;if(e.element=t.element,t.meta.length>0&&(e._meta=Er(t.meta)),t.attributes.length>0&&(e._attributes=Er(t.attributes)),io(t.content)){const r=t.content;e.content=rw(r)}else Array.isArray(t.content)?e.content=[...t.content]:t.content instanceof at.KeyValuePair?e.content=tw(t.content):e.content=t.content;return e},Ro=t=>{if(t instanceof at.KeyValuePair)return tw(t);if(t instanceof at.ot)return(e=>{const r=[...e];return new at.ot(r)})(t);if(t instanceof at.G6)return(e=>{const r=[...e];return new at.G6(r)})(t);if(io(t))return rw(t);throw new N6("Value provided to cloneShallow function couldn't be cloned",{value:t})};Ro.safe=t=>{try{return Ro(t)}catch{return t}};const Af=t=>Vn(t)?"ObjectElement":ni(t)?"ArrayElement":ll(t)?"MemberElement":Gr(t)?"StringElement":Sd(t)?"BooleanElement":Wv(t)?"NumberElement":Jv(t)?"NullElement":G_(t)?"LinkElement":Y_(t)?"RefElement":void 0,nw=t=>io(t)?Ro(t):Kv(t),aw=ei(Af,Xu),Wl={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"],SourceMap:["content"]};class ow{result;predicate;returnOnTrue;returnOnFalse;constructor({predicate:e=Hv,returnOnTrue:r,returnOnFalse:n}={}){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 go=(t,e,{keyMap:r=Wl,...n}={})=>Gv(t,e,{keyMap:r,nodeTypeGetter:Af,nodePredicate:aw,nodeCloneFn:nw,...n});go[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=Wl,...n}={})=>Gv[Symbol.for("nodejs.util.promisify.custom")](t,e,{keyMap:r,nodeTypeGetter:Af,nodePredicate:aw,nodeCloneFn:nw,...n});const iw=t=>typeof t?.type=="string"?t.type:Af(t),sw={EphemeralObject:["content"],EphemeralArray:["content"],...Wl},lw=(t,e,{keyMap:r=sw,...n}={})=>go(t,e,{keyMap:r,nodeTypeGetter:iw,nodePredicate:wc,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});lw[Symbol.for("nodejs.util.promisify.custom")]=async(t,{keyMap:e=sw,...r}={})=>go[Symbol.for("nodejs.util.promisify.custom")](t,visitor,{keyMap:e,nodeTypeGetter:iw,nodePredicate:wc,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});const M6=class{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}},R6=class{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}};class D6{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new R6(e.content);return this.references.set(e,r),r}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new M6(e.content);return this.references.set(e,r),r}};EphemeralArray={leave:e=>e.toArray()};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 o=r[3];return((n=o[o.length-1])===null||n===void 0?void 0:n.type)==="EphemeralObject"?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return Gr(e.href)?e.href.toValue():""}}const Tt=t=>io(t)?Gr(t)||Wv(t)||Sd(t)||Jv(t)?t.toValue():lw(t,new D6):t,B6=bi((function(e,r,n){var o,s={};for(o in n=n||{},r=r||{})Is(o,r)&&(s[o]=Is(o,n)?e(o,r[o],n[o]):r[o]);for(o in n)Is(o,n)&&!Is(o,s)&&(s[o]=n[o]);return s})),F6=bi((function t(e,r,n){return B6((function(o,s,b){return Yg(s)&&Yg(b)?t(e,s,b):e(o,s,b)}),r,n)})),hy=on((function(e,r){return F6((function(n,o,s){return s}),e,r)})),Do=on(uv),L6=yd(0,-1),$6=on((function(e,r){return e.apply(this,r)})),U6=bd(Zu);var q6=ra((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():Gu(e)?[]:cv(e)?"":Yg(e)?{}:W2(e)?(function(){return arguments})():(function(n){var o=Object.prototype.toString.call(n);return o==="[object Uint8ClampedArray]"||o==="[object Int8Array]"||o==="[object Uint8Array]"||o==="[object Int16Array]"||o==="[object Uint16Array]"||o==="[object Int32Array]"||o==="[object Uint32Array]"||o==="[object Float32Array]"||o==="[object Float64Array]"||o==="[object BigInt64Array]"||o==="[object BigUint64Array]"})(e)?e.constructor.from(""):void 0}));const z6=q6,Od=ra((function(e){return e!=null&&eu(e,z6(e))})),cw=mo(1,Zu(Array.isArray)?Array.isArray:ei(ol,Yu("Array"))),V6=wd(cw,Od);var W6=mo(3,(function(t,e,r){var n=Do(t,r),o=Do(L6(t),r);if(!U6(n)&&!V6(t)){var s=Q2(n,o);return $6(s,e)}}));const kd=W6;class uw extends at.g${constructor(){super(),this.register("annotation",ly),this.register("comment",cy),this.register("parseResult",sl),this.register("sourceMap",uy)}}const J6=new uw,Ec=t=>{const e=new uw;return il(t)&&e.use(t),e},pw=J6,fw=()=>({predicates:{...U},namespace:pw}),hw={toolboxCreator:fw,visitorOptions:{nodeTypeGetter:Af,exposeEdits:!0}},Jl=(t,e,r={})=>{if(e.length===0)return t;const n=hy(hw,r),{toolboxCreator:o,visitorOptions:s}=n,b=o(),h=e.map((T=>T(b))),E=fy(h.map(Xg({},"visitor")),{...s});h.forEach(kd(["pre"],[]));const k=go(t,E,s);return h.forEach(kd(["post"],[])),k};Jl[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,r={})=>{if(e.length===0)return t;const n=hy(hw,r),{toolboxCreator:o,visitorOptions:s}=n,b=o(),h=e.map((F=>F(b))),E=fy[Symbol.for("nodejs.util.promisify.custom")],k=go[Symbol.for("nodejs.util.promisify.custom")],T=E(h.map(Xg({},"visitor")),{...s});await Promise.allSettled(h.map(kd(["pre"],[])));const R=await k(t,T,s);return await Promise.allSettled(h.map(kd(["post"],[]))),R};const H6=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return io(t)&&(t.meta.length>0&&(n.meta=Er(t.meta)),t.attributes.length>0&&(n.attributes=Er(t.attributes))),Jl(n,r,{toolboxCreator:fw,visitorOptions:{nodeTypeGetter:Af}})},Ps=t=>(e,r={})=>H6(e,{...r,Type:t});at.Sh.refract=Ps(at.Sh),at.wE.refract=Ps(at.wE),at.Om.refract=Ps(at.Om),at.bd.refract=Ps(at.bd),at.Os.refract=Ps(at.Os),at.kT.refract=Ps(at.kT),at.Ft.refract=Ps(at.Ft),at.sI.refract=Ps(at.sI),ly.refract=Ps(ly),cy.refract=Ps(cy),sl.refract=Ps(sl),uy.refract=Ps(uy);const dy=(t,e=new WeakMap)=>(ll(t)?(e.set(t.key,t),dy(t.key,e),e.set(t.value,t),dy(t.value,e)):t.children.forEach((r=>{e.set(r,t),dy(r,e)})),e),K6=class{element;edges;constructor({element:e}){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:dy(this.element);const o=this.edges.get(e);return nu(o)?void 0:(Vn(o)?((s,b,h)=>{const E=h.get(s);Vn(E)&&(E.content=E.map(((k,T,R)=>R===s?(h.delete(s),h.set(b,E),b):R)))})(e,r,this.edges):ni(o)?((s,b,h)=>{const E=h.get(s);ni(E)&&(E.content=E.map((k=>k===s?(h.delete(s),h.set(b,E),b):k)))})(e,r,this.edges):ll(o)&&((s,b,h)=>{const E=h.get(s);ll(E)&&(E.key===s&&(E.key=b,h.delete(s),h.set(b,E)),E.value===s&&(E.value=b,h.delete(s),h.set(b,E)))})(e,r,this.edges),this.element)}},Ts=t=>{const e=t.indexOf("#");return(r=>{try{const n=r.startsWith("#")?r.slice(1):r;return decodeURIComponent(n)}catch{return r}})(e===-1?"#":t.substring(e))},Ns=function(){const e=sn,r=hs,n=this,o="parser.js: Parser(): ";n.ast=void 0,n.stats=void 0,n.trace=void 0,n.callbacks=[];let s,b,h,E,k,T,R,F=0,z=0,X=0,Z=0,te=0,ae=new function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};n.parse=(me,xe,Se,Me)=>{const Ne=`${o}parse(): `;F=0,z=0,X=0,Z=0,te=0,s=void 0,b=void 0,h=void 0,E=void 0,ae.refresh(),k=void 0,T=void 0,R=void 0,E=r.stringToChars(Se),s=me.rules,b=me.udts;const we=xe.toLowerCase();let ye;for(const Ie in s)if(s.hasOwnProperty(Ie)&&we===s[Ie].lower){ye=s[Ie].index;break}if(ye===void 0)throw new Error(`${Ne}start rule name '${startRule}' not recognized`);(()=>{const Ie=`${o}initializeCallbacks(): `;let De,tt;for(k=[],T=[],De=0;De<s.length;De+=1)k[De]=void 0;for(De=0;De<b.length;De+=1)T[De]=void 0;const Dt=[];for(De=0;De<s.length;De+=1)Dt.push(s[De].lower);for(De=0;De<b.length;De+=1)Dt.push(b[De].lower);for(const $t in n.callbacks)if(n.callbacks.hasOwnProperty($t)){if(De=Dt.indexOf($t.toLowerCase()),De<0)throw new Error(`${Ie}syntax callback '${$t}' not a rule or udt name`);if(tt=n.callbacks[$t]?n.callbacks[$t]:void 0,typeof tt!="function"&&tt!==void 0)throw new Error(`${Ie}syntax callback[${$t}] must be function reference or falsy)`);De<s.length?k[De]=tt:T[De-s.length]=tt}})(),n.trace&&n.trace.init(s,b,E),n.stats&&n.stats.init(s,b),n.ast&&n.ast.init(s,b,E),R=Me,h=[{type:e.RNM,index:ye}],fe(0,0),h=void 0;let ke=!1;switch(ae.state){case e.ACTIVE:throw new Error(`${Ne}final state should never be 'ACTIVE'`);case e.NOMATCH:ke=!1;break;case e.EMPTY:case e.MATCH:ke=ae.phraseLength===E.length;break;default:throw new Error("unrecognized state")}return{success:ke,state:ae.state,stateName:e.idName(ae.state),length:E.length,matched:ae.phraseLength,maxMatched:te,maxTreeDepth:X,nodeHits:Z}};const K=(me,xe,Se,Me)=>{if(xe.phraseLength>Se){let Ne=`${o}opRNM(${me.name}): callback function error: `;throw Ne+=`sysData.phraseLength: ${xe.phraseLength}`,Ne+=` must be <= remaining chars: ${Se}`,new Error(Ne)}switch(xe.state){case e.ACTIVE:if(!Me)throw new Error(`${o}opRNM(${me.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:xe.phraseLength=0;break;case e.MATCH:xe.phraseLength===0&&(xe.state=e.EMPTY);break;case e.NOMATCH:xe.phraseLength=0;break;default:throw new Error(`${o}opRNM(${me.name}): callback function return error. Unrecognized return state: ${xe.state}`)}},Ae=(me,xe)=>{let Se,Me,Ne;const we=h[me],ye=b[we.index];ae.UdtIndex=ye.index,F||(Ne=n.ast&&n.ast.udtDefined(we.index),Ne&&(Me=s.length+we.index,Se=n.ast.getLength(),n.ast.down(Me,ye.name)));const ke=E.length-xe;T[we.index](ae,E,xe,R),((Ie,De,tt)=>{if(De.phraseLength>tt){let Dt=`${o}opUDT(${Ie.name}): callback function error: `;throw Dt+=`sysData.phraseLength: ${De.phraseLength}`,Dt+=` must be <= remaining chars: ${tt}`,new Error(Dt)}switch(De.state){case e.ACTIVE:throw new Error(`${o}opUDT(${Ie.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(!Ie.empty)throw new Error(`${o}opUDT(${Ie.name}) may not return EMPTY.`);De.phraseLength=0;break;case e.MATCH:if(De.phraseLength===0){if(!Ie.empty)throw new Error(`${o}opUDT(${Ie.name}) may not return EMPTY.`);De.state=e.EMPTY}break;case e.NOMATCH:De.phraseLength=0;break;default:throw new Error(`${o}opUDT(${Ie.name}): callback function return error. Unrecognized return state: ${De.state}`)}})(ye,ae,ke),F||Ne&&(ae.state===e.NOMATCH?n.ast.setLength(Se):n.ast.up(Me,ye.name,xe,ae.phraseLength))},fe=(me,xe)=>{const Se=`${o}opExecute(): `,Me=h[me];switch(Z+=1,z>X&&(X=z),z+=1,ae.refresh(),n.trace&&n.trace.down(Me,xe),Me.type){case e.ALT:((Ne,we)=>{const ye=h[Ne];for(let ke=0;ke<ye.children.length&&(fe(ye.children[ke],we),ae.state===e.NOMATCH);ke+=1);})(me,xe);break;case e.CAT:((Ne,we)=>{let ye,ke,Ie,De;const tt=h[Ne];n.ast&&(ke=n.ast.getLength()),ye=!0,Ie=we,De=0;for(let Dt=0;Dt<tt.children.length;Dt+=1){if(fe(tt.children[Dt],Ie),ae.state===e.NOMATCH){ye=!1;break}Ie+=ae.phraseLength,De+=ae.phraseLength}ye?(ae.state=De===0?e.EMPTY:e.MATCH,ae.phraseLength=De):(ae.state=e.NOMATCH,ae.phraseLength=0,n.ast&&n.ast.setLength(ke))})(me,xe);break;case e.REP:((Ne,we)=>{let ye,ke,Ie,De;const tt=h[Ne];if(tt.max===0)return ae.state=e.EMPTY,void(ae.phraseLength=0);for(ke=we,Ie=0,De=0,n.ast&&(ye=n.ast.getLength());!(ke>=E.length)&&(fe(Ne+1,ke),ae.state!==e.NOMATCH)&&ae.state!==e.EMPTY&&(De+=1,Ie+=ae.phraseLength,ke+=ae.phraseLength,De!==tt.max););ae.state===e.EMPTY||De>=tt.min?(ae.state=Ie===0?e.EMPTY:e.MATCH,ae.phraseLength=Ie):(ae.state=e.NOMATCH,ae.phraseLength=0,n.ast&&n.ast.setLength(ye))})(me,xe);break;case e.RNM:((Ne,we)=>{let ye,ke,Ie;const De=h[Ne],tt=s[De.index],Dt=k[tt.index];if(F||(ke=n.ast&&n.ast.ruleDefined(De.index),ke&&(ye=n.ast.getLength(),n.ast.down(De.index,s[De.index].name))),Dt){const $t=E.length-we;Dt(ae,E,we,R),K(tt,ae,$t,!0),ae.state===e.ACTIVE&&(Ie=h,h=tt.opcodes,fe(0,we),h=Ie,Dt(ae,E,we,R),K(tt,ae,$t,!1))}else Ie=h,h=tt.opcodes,fe(0,we),h=Ie;F||ke&&(ae.state===e.NOMATCH?n.ast.setLength(ye):n.ast.up(De.index,tt.name,we,ae.phraseLength))})(me,xe);break;case e.TRG:((Ne,we)=>{const ye=h[Ne];ae.state=e.NOMATCH,we<E.length&&ye.min<=E[we]&&E[we]<=ye.max&&(ae.state=e.MATCH,ae.phraseLength=1)})(me,xe);break;case e.TBS:((Ne,we)=>{const ye=h[Ne],ke=ye.string.length;if(ae.state=e.NOMATCH,we+ke<=E.length){for(let Ie=0;Ie<ke;Ie+=1)if(E[we+Ie]!==ye.string[Ie])return;ae.state=e.MATCH,ae.phraseLength=ke}})(me,xe);break;case e.TLS:((Ne,we)=>{let ye;const ke=h[Ne];ae.state=e.NOMATCH;const Ie=ke.string.length;if(Ie!==0){if(we+Ie<=E.length){for(let De=0;De<Ie;De+=1)if(ye=E[we+De],ye>=65&&ye<=90&&(ye+=32),ye!==ke.string[De])return;ae.state=e.MATCH,ae.phraseLength=Ie}}else ae.state=e.EMPTY})(me,xe);break;case e.UDT:Ae(me,xe);break;case e.AND:((Ne,we)=>{switch(F+=1,fe(Ne+1,we),F-=1,ae.phraseLength=0,ae.state){case e.EMPTY:case e.MATCH:ae.state=e.EMPTY;break;case e.NOMATCH:ae.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${ae.state}`)}})(me,xe);break;case e.NOT:((Ne,we)=>{switch(F+=1,fe(Ne+1,we),F-=1,ae.phraseLength=0,ae.state){case e.EMPTY:case e.MATCH:ae.state=e.NOMATCH;break;case e.NOMATCH:ae.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${ae.state}`)}})(me,xe);break;default:throw new Error(`${Se}unrecognized operator`)}F||xe+ae.phraseLength>te&&(te=xe+ae.phraseLength),n.stats&&n.stats.collect(Me,ae),n.trace&&n.trace.up(Me,ae.state,xe,ae.phraseLength),z-=1}},Yv=function(){const e=sn,r=hs,n=this;let o,s,b,h=0;const E=[],k=[],T=[];function R(F){let z="";for(;F-- >0;)z+=" ";return z}n.callbacks=[],n.init=(F,z,X)=>{let Z;k.length=0,T.length=0,h=0,o=F,s=z,b=X;const te=[];for(Z=0;Z<o.length;Z+=1)te.push(o[Z].lower);for(Z=0;Z<s.length;Z+=1)te.push(s[Z].lower);for(h=o.length+s.length,Z=0;Z<h;Z+=1)E[Z]=void 0;for(const ae in n.callbacks)if(n.callbacks.hasOwnProperty(ae)){const K=ae.toLowerCase();if(Z=te.indexOf(K),Z<0)throw new Error(`parser.js: Ast()): init: node '${ae}' not a rule or udt name`);E[Z]=n.callbacks[ae]}},n.ruleDefined=F=>!!E[F],n.udtDefined=F=>!!E[o.length+F],n.down=(F,z)=>{const X=T.length;return k.push(X),T.push({name:z,thisIndex:X,thatIndex:void 0,state:e.SEM_PRE,callbackIndex:F,phraseIndex:void 0,phraseLength:void 0,stack:k.length}),X},n.up=(F,z,X,Z)=>{const te=T.length,ae=k.pop();return T.push({name:z,thisIndex:te,thatIndex:ae,state:e.SEM_POST,callbackIndex:F,phraseIndex:X,phraseLength:Z,stack:k.length}),T[ae].thatIndex=te,T[ae].phraseIndex=X,T[ae].phraseLength=Z,te},n.translate=F=>{let z,X;for(let Z=0;Z<T.length;Z+=1)X=T[Z],z=E[X.callbackIndex],z&&(X.state===e.SEM_PRE?z(e.SEM_PRE,b,X.phraseIndex,X.phraseLength,F):z&&z(e.SEM_POST,b,X.phraseIndex,X.phraseLength,F))},n.setLength=F=>{T.length=F,k.length=F>0?T[F-1].stack:0},n.getLength=()=>T.length,n.toXml=()=>{let F="",z=0;return F+=`<?xml version="1.0" encoding="utf-8"?>
|
||
`,F+=`<root nodes="${T.length/2}" characters="${b.length}">
|
||
`,F+=`<!-- input string -->
|
||
`,F+=R(z+2),F+=r.charsToString(b),F+=`
|
||
`,T.forEach((X=>{X.state===e.SEM_PRE?(z+=1,F+=R(z),F+=`<node name="${X.name}" index="${X.phraseIndex}" length="${X.phraseLength}">
|
||
`,F+=R(z+2),F+=r.charsToString(b,X.phraseIndex,X.phraseLength),F+=`
|
||
`):(F+=R(z),F+=`</node><!-- name="${X.name}" -->
|
||
`,z-=1)})),F+=`</root>
|
||
`,F}},G6=function(){const e=sn,r=hs,n="parser.js: Trace(): ";let o,s,b,h="",E=0;const k=this,T=F=>{let z="",X=0;if(F>=0)for(;F--;)X+=1,X===5?(z+="|",X=0):z+=".";return z};k.init=(F,z,X)=>{s=F,b=z,o=X};const R=F=>{let z;switch(F.type){case e.ALT:z="ALT";break;case e.CAT:z="CAT";break;case e.REP:z=F.max===1/0?`REP(${F.min},inf)`:`REP(${F.min},${F.max})`;break;case e.RNM:z=`RNM(${s[F.index].name})`;break;case e.TRG:z=`TRG(${F.min},${F.max})`;break;case e.TBS:z=F.string.length>6?`TBS(${r.charsToString(F.string,0,3)}...)`:`TBS(${r.charsToString(F.string,0,6)})`;break;case e.TLS:z=F.string.length>6?`TLS(${r.charsToString(F.string,0,3)}...)`:`TLS(${r.charsToString(F.string,0,6)})`;break;case e.UDT:z=`UDT(${b[F.index].name})`;break;case e.AND:z="AND";break;case e.NOT:z="NOT";break;default:throw new Error(`${n}Trace: opName: unrecognized opcode`)}return z};k.down=(F,z)=>{const X=T(E),Z=Math.min(100,o.length-z);let te=r.charsToString(o,z,Z);Z<o.length-z&&(te+="..."),te=`${X}|-|[${R(F)}]${te}
|
||
`,h+=te,E+=1},k.up=(F,z,X,Z)=>{const te=`${n}trace.up: `;E-=1;const ae=T(E);let K,Ae,fe;switch(z){case e.EMPTY:fe="|E|",Ae="''";break;case e.MATCH:fe="|M|",K=Math.min(100,Z),Ae=K<Z?`'${r.charsToString(o,X,K)}...'`:`'${r.charsToString(o,X,K)}'`;break;case e.NOMATCH:fe="|N|",Ae="";break;default:throw new Error(`${te} unrecognized state`)}Ae=`${ae}${fe}[${R(F)}]${Ae}
|
||
`,h+=Ae},k.displayTrace=()=>h},Y6=function(){const e=sn;let r,n,o;const s=[],b=[],h=[];this.init=(Z,te)=>{r=Z,n=te,z()},this.collect=(Z,te)=>{X(o,te.state,te.phraseLength),X(s[Z.type],te.state,te.phraseLength),Z.type===e.RNM&&X(b[Z.index],te.state,te.phraseLength),Z.type===e.UDT&&X(h[Z.index],te.state,te.phraseLength)},this.displayStats=()=>{let Z="";const te={match:0,empty:0,nomatch:0,total:0},ae=(K,Ae,fe,me,xe)=>(te.match+=Ae,te.empty+=fe,te.nomatch+=me,te.total+=xe,`${K} | ${E(Ae)} | ${E(fe)} | ${E(me)} | ${E(xe)} |
|
||
`);return Z+=` OPERATOR STATS
|
||
`,Z+=` | MATCH | EMPTY | NOMATCH | TOTAL |
|
||
`,Z+=ae(" ALT",s[e.ALT].match,s[e.ALT].empty,s[e.ALT].nomatch,s[e.ALT].total),Z+=ae(" CAT",s[e.CAT].match,s[e.CAT].empty,s[e.CAT].nomatch,s[e.CAT].total),Z+=ae(" REP",s[e.REP].match,s[e.REP].empty,s[e.REP].nomatch,s[e.REP].total),Z+=ae(" RNM",s[e.RNM].match,s[e.RNM].empty,s[e.RNM].nomatch,s[e.RNM].total),Z+=ae(" TRG",s[e.TRG].match,s[e.TRG].empty,s[e.TRG].nomatch,s[e.TRG].total),Z+=ae(" TBS",s[e.TBS].match,s[e.TBS].empty,s[e.TBS].nomatch,s[e.TBS].total),Z+=ae(" TLS",s[e.TLS].match,s[e.TLS].empty,s[e.TLS].nomatch,s[e.TLS].total),Z+=ae(" UDT",s[e.UDT].match,s[e.UDT].empty,s[e.UDT].nomatch,s[e.UDT].total),Z+=ae(" AND",s[e.AND].match,s[e.AND].empty,s[e.AND].nomatch,s[e.AND].total),Z+=ae(" NOT",s[e.NOT].match,s[e.NOT].empty,s[e.NOT].nomatch,s[e.NOT].total),Z+=ae("TOTAL",te.match,te.empty,te.nomatch,te.total),Z},this.displayHits=Z=>{let te="";const ae=(K,Ae,fe,me,xe)=>(o.match+=K,o.empty+=Ae,o.nomatch+=fe,o.total+=me,`| ${E(K)} | ${E(Ae)} | ${E(fe)} | ${E(me)} | ${xe}
|
||
`);typeof Z=="string"&&Z.toLowerCase()[0]==="a"?(b.sort(k),h.sort(k),te+=` RULES/UDTS ALPHABETICALLY
|
||
`):typeof Z=="string"&&Z.toLowerCase()[0]==="i"?(b.sort(R),h.sort(R),te+=` RULES/UDTS BY INDEX
|
||
`):(b.sort(T),h.sort(T),te+=` RULES/UDTS BY HIT COUNT
|
||
`),te+=`| MATCH | EMPTY | NOMATCH | TOTAL | NAME
|
||
`;for(let K=0;K<b.length;K+=1){let Ae=b[K];Ae.total&&(te+=ae(Ae.match,Ae.empty,Ae.nomatch,Ae.total,Ae.name))}for(let K=0;K<h.length;K+=1){let Ae=h[K];Ae.total&&(te+=ae(Ae.match,Ae.empty,Ae.nomatch,Ae.total,Ae.name))}return te};const E=Z=>Z<10?` ${Z}`:Z<100?` ${Z}`:Z<1e3?` ${Z}`:Z<1e4?` ${Z}`:Z<1e5?` ${Z}`:Z<1e6?` ${Z}`:`${Z}`,k=(Z,te)=>Z.lower<te.lower?-1:Z.lower>te.lower?1:0,T=(Z,te)=>Z.total<te.total?1:Z.total>te.total?-1:k(Z,te),R=(Z,te)=>Z.index<te.index?-1:Z.index>te.index?1:0,F=function(){this.empty=0,this.match=0,this.nomatch=0,this.total=0},z=()=>{s.length=0,o=new F,s[e.ALT]=new F,s[e.CAT]=new F,s[e.REP]=new F,s[e.RNM]=new F,s[e.TRG]=new F,s[e.TBS]=new F,s[e.TLS]=new F,s[e.UDT]=new F,s[e.AND]=new F,s[e.NOT]=new F,b.length=0;for(let Z=0;Z<r.length;Z+=1)b.push({empty:0,match:0,nomatch:0,total:0,name:r[Z].name,lower:r[Z].lower,index:r[Z].index});if(n.length>0){h.length=0;for(let Z=0;Z<n.length;Z+=1)h.push({empty:0,match:0,nomatch:0,total:0,name:n[Z].name,lower:n[Z].lower,index:n[Z].index})}},X=(Z,te)=>{switch(Z.total+=1,te){case e.EMPTY:Z.empty+=1;break;case e.MATCH:Z.match+=1;break;case e.NOMATCH:Z.nomatch+=1;break;default:throw new Error(`parser.js: Stats(): collect(): incStat(): unrecognized state: ${te}`)}}},hs={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)}},sn={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 sn.ALT:return"ALT";case sn.CAT:return"CAT";case sn.REP:return"REP";case sn.RNM:return"RNM";case sn.TRG:return"TRG";case sn.TBS:return"TBS";case sn.TLS:return"TLS";case sn.UDT:return"UDT";case sn.AND:return"AND";case sn.NOT:return"NOT";case sn.ACTIVE:return"ACTIVE";case sn.EMPTY:return"EMPTY";case sn.MATCH:return"MATCH";case sn.NOMATCH:return"NOMATCH";case sn.SEM_PRE:return"SEM_PRE";case sn.SEM_POST:return"SEM_POST";case sn.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};function Cd(){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 Z6 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:n}=r;this.cause=n,n instanceof Error&&"stack"in n&&(this.stack=`${this.stack}
|
||
CAUSE: ${n.stack}`)}if(r!=null&&typeof r=="object"){const{cause:n,...o}=r;Object.assign(this,o)}}}const iu=Z6,dw=class extends iu{},Zv=t=>(e,r,n,o,s)=>{if(typeof s!="object"||s===null||Array.isArray(s))throw new dw("parser's user data must be an object");if(e===sn.SEM_PRE){const b={type:t,text:hs.charsToString(r,n,o),start:n,length:o,children:[]};s.stack.length>0?s.stack[s.stack.length-1].children.push(b):s.root=b,s.stack.push(b)}e===sn.SEM_POST&&s.stack.pop()},X6=class extends Yv{constructor(){super(),this.callbacks["json-pointer"]=Zv("json-pointer"),this.callbacks["reference-token"]=Zv("reference-token"),this.callbacks.slash=Zv("text")}getTree(){const e={stack:[],root:null};return this.translate(e),delete e.stack,e}},Q6=t=>{if(typeof t!="string")throw new TypeError("Reference token must be a string");return t.replace(/~1/g,"/").replace(/~0/g,"~")},eO=class extends X6{getTree(){const{root:e}=super.getTree();return e.children.filter((({type:r})=>r==="reference-token")).map((({text:r})=>Q6(r)))}},tO=class extends Array{toString(){return this.map((e=>`"${String(e)}"`)).join(", ")}},rO=class extends G6{inferExpectations(){const e=this.displayTrace().split(`
|
||
`),r=new Set;let n=-1;for(let o=0;o<e.length;o++){const s=e[o];if(s.includes("M|")){const b=s.match(/]'(.*)'$/);b&&b[1]&&(n=o)}if(o>n){const b=s.match(/N\|\[TLS\(([^)]+)\)]/);b&&r.add(b[1])}}return new tO(...r)}},nO=new Cd,aO=(t,{translator:e=new eO,stats:r=!1,trace:n=!1}={})=>{if(typeof t!="string")throw new TypeError("JSON Pointer must be a string");try{const o=new Ns;e&&(o.ast=e),r&&(o.stats=new Y6),n&&(o.trace=new rO);const s=o.parse(nO,"json-pointer",t);return{result:s,tree:s.success&&e?o.ast.getTree():void 0,stats:o.stats,trace:o.trace}}catch(o){throw new dw("Unexpected error during JSON Pointer parsing",{cause:o,jsonPointer:t})}};new Cd,new Ns,new Cd,new Ns;const oO=new Cd,iO=new Ns,sO=t=>{if(typeof t!="string")return!1;try{return iO.parse(oO,"array-index",t).success}catch{return!1}},lO=new Cd,cO=new Ns,uO=t=>{if(typeof t!="string")return!1;try{return cO.parse(lO,"array-dash",t).success}catch{return!1}},pO=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")},fO=class extends iu{},mw=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 pO(String(e))})).join("/")}`}catch(e){throw new fO("Unexpected error during JSON Pointer compilation",{cause:e,referenceTokens:t})}},hO=class{#e;#t;#r;constructor(e,r={}){this.#e=e,this.#e.steps=[],this.#e.failed=!1,this.#e.failedAt=-1,this.#e.message=`JSON Pointer "${r.jsonPointer}" was successfully evaluated against the provided value`,this.#e.context={...r,realm:r.realm.name},this.#t=[],this.#r=r.realm}step({referenceToken:e,input:r,output:n,success:o=!0,reason:s}){const b=this.#t.length;this.#t.push(e);const h={referenceToken:e,referenceTokenPosition:b,input:r,inputType:this.#r.isObject(r)?"object":this.#r.isArray(r)?"array":"unrecognized",output:n,success:o};s&&(h.reason=s),this.#e.steps.push(h),o||(this.#e.failed=!0,this.#e.failedAt=b,this.#e.message=s)}},gw=class{name="";isArray(e){throw new iu("Realm.isArray(node) must be implemented in a subclass")}isObject(e){throw new iu("Realm.isObject(node) must be implemented in a subclass")}sizeOf(e){throw new iu("Realm.sizeOf(node) must be implemented in a subclass")}has(e,r){throw new iu("Realm.has(node) must be implemented in a subclass")}evaluate(e,r){throw new iu("Realm.evaluate(node) must be implemented in a subclass")}},ep=class extends iu{},Of=class extends ep{},dO=class extends gw{name="json";isArray(e){return Array.isArray(e)}isObject(e){return typeof e=="object"&&e!==null&&!this.isArray(e)}sizeOf(e){return this.isArray(e)?e.length:this.isObject(e)?Object.keys(e).length:0}has(e,r){if(this.isArray(e)){const n=Number(r),o=n>>>0;if(n!==o)throw new Of(`Invalid array index "${r}": index must be an unsinged 32-bit integer`,{referenceToken:r,currentValue:e,realm:this.name});return o<this.sizeOf(e)&&Object.prototype.hasOwnProperty.call(e,n)}return!!this.isObject(e)&&Object.prototype.hasOwnProperty.call(e,r)}evaluate(e,r){return this.isArray(e)?e[Number(r)]:e[r]}},mO=class extends ep{},yw=class extends ep{},gO=(t,e,{strictArrays:r=!0,strictObjects:n=!0,realm:o=new dO,trace:s=!0}={})=>{const{result:b,tree:h,trace:E}=aO(e,{trace:!!s}),k=typeof s=="object"&&s!==null?new hO(s,{jsonPointer:e,referenceTokens:h,strictArrays:r,strictObjects:n,realm:o,value:t}):null;try{let T;if(!b.success){let R=`Invalid JSON Pointer: "${e}". Syntax error at position ${b.maxMatched}`;throw R+=E?`, expected ${E.inferExpectations()}`:"",new ep(R,{jsonPointer:e,currentValue:t,realm:o.name})}return h.reduce(((R,F,z)=>{if(o.isArray(R)){if(uO(F)){if(r)throw new Of(`Invalid array index "-" at position ${z} in "${e}". The "-" token always refers to a nonexistent element during evaluation`,{jsonPointer:e,referenceTokens:h,referenceToken:F,referenceTokenPosition:z,currentValue:R,realm:o.name});return T=o.evaluate(R,String(o.sizeOf(R))),k?.step({referenceToken:F,input:R,output:T}),T}if(!sO(F))throw new Of(`Invalid array index "${F}" at position ${z} in "${e}": index MUST be "0", or digits without a leading "0"`,{jsonPointer:e,referenceTokens:h,referenceToken:F,referenceTokenPosition:z,currentValue:R,realm:o.name});const X=Number(F);if(!Number.isSafeInteger(X))throw new Of(`Invalid array index "${F}" at position ${z} in "${e}": index must be a safe integer`,{jsonPointer:e,referenceTokens:h,referenceToken:F,referenceTokenPosition:z,currentValue:R,realm:o.name});if(!o.has(R,F)&&r)throw new Of(`Invalid array index "${F}" at position ${z} in "${e}": index not found in array`,{jsonPointer:e,referenceTokens:h,referenceToken:F,referenceTokenPosition:z,currentValue:R,realm:o.name});return T=o.evaluate(R,F),k?.step({referenceToken:F,input:R,output:T}),T}if(o.isObject(R)){if(!o.has(R,F)&&n)throw new yw(`Invalid object key "${F}" at position ${z} in "${e}": key not found in object`,{jsonPointer:e,referenceTokens:h,referenceToken:F,referenceTokenPosition:z,currentValue:R,realm:o.name});return T=o.evaluate(R,F),k?.step({referenceToken:F,input:R,output:T}),T}throw new mO(`Invalid reference token "${F}" at position ${z} in "${e}": cannot be applied to a non-object/non-array value`,{jsonPointer:e,referenceTokens:h,referenceToken:F,referenceTokenPosition:z,currentValue:R,realm:o.name})}),t)}catch(T){throw k?.step({referenceToken:T.referenceToken,input:T.currentValue,success:!1,reason:T.message}),T instanceof ep?T:new ep("Unexpected error during JSON Pointer evaluation",{cause:T,jsonPointer:e,referenceTokens:h})}},yO=class extends gw{name="apidom";isArray(e){return ni(e)}isObject(e){return Vn(e)}sizeOf(e){return this.isArray(e)||this.isObject(e)?e.length:0}has(e,r){if(this.isArray(e)){const n=Number(r),o=n>>>0;if(n!==o)throw new Of(`Invalid array index "${r}": index must be an unsinged 32-bit integer`,{referenceToken:r,currentValue:e,realm:this.name});return o<this.sizeOf(e)}if(this.isObject(e)){const n=e.keys(),o=new Set(n);if(n.length!==o.size)throw new yw(`Object key "${r}" is not unique — JSON Pointer requires unique member names`,{referenceToken:r,currentValue:e,realm:this.name});return e.hasKey(r)}return!1}evaluate(e,r){return this.isArray(e)?e.get(Number(r)):e.get(r)}},cl=(t,e,r={})=>gO(t,e,{...r,realm:new yO});class vO extends at.Sh{constructor(e,r,n){super(e,r,n),this.element="callback"}}const jd=vO;class bO extends at.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 Id=bO;class _O extends at.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 Pd=_O;class wO extends at.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 Td=wO;class EO extends at.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 my=EO;class SO extends at.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 Nd=SO;class xO extends at.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 Md=xO;class vw extends at.Sh{constructor(e,r,n){super(e,r,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new at.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new at.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(vw.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});const Rd=vw;class AO extends at.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 Dd=AO;class OO extends at.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 Bd=OO;class kO extends at.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 Gr(this.operationRef)?(e=this.operationRef)===null||e===void 0?void 0:e.meta.get("operation"):Gr(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 Fd=kO;class CO extends at.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 Ld=CO;class jO extends at.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 gy=jO;class IO extends at.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 yy=IO;class PO extends at.Om{constructor(e,r,n){super(e,r,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}}const $d=PO;class TO extends at.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 vy=TO;class NO extends at.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 at.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 Ud=NO;class bw extends at.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 at.bd(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new at.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(bw.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});const qd=bw;class MO extends at.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 zd=MO;class RO extends at.Sh{constructor(e,r,n){super(e,r,n),this.element="paths"}}const Vd=RO;class DO extends at.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 Wd=DO;class BO extends at.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 at.bd(!1)}set required(e){this.set("required",e)}}const Jd=BO;class FO extends at.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 Hd=FO;class LO extends at.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 Kd=LO,En=class extends Ja{};class $O extends at.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 kf=$O;class UO extends at.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 Cf=UO;class qO extends at.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 Gd=qO;class zO extends at.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 Yd=zO,VO=on((function(e,r){return md((function(n,o){return n[o]=e(r[o],o,r),n}),{},Ku(r))})),by=ra((function(e){return e==null}));var WO=on((function(e,r){if(e.length===0||by(r))return!1;for(var n=r,o=0;o<e.length;){if(by(n)||!Is(e[o],n))return!1;n=n[e[o]],o+=1}return!0}));const JO=WO;var HO=on((function(e,r){return JO([e],r)}));const Zd=HO,KO=bi((function(e,r,n){return e(vd(r,n))}));var GO=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=ru,t.prototype["@@transducer/result"]=gd,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 YO(t){return function(e){return new GO(t,e)}}const ZO=on(tu(["dropWhile"],YO,(function(e,r){for(var n=0,o=r.length;n<o&&e(r[n]);)n+=1;return yd(n,1/0,r)}))),_w=gv((function(t,e){return ei(t_(""),ZO(ey(t)),r_(""))(e)})),su=(t,e)=>{const r=bf(t,e);return VO((n=>{if(il(n)&&Zd("$ref",n)&&KO(Xu,"$ref",n)){const o=Do(["$ref"],n),s=_w("#/",o);return Do(s.split("/"),r)}return il(n)?su(n,r):n}),t)},_y=t=>{const e=t.meta.length>0?Er(t.meta):void 0,r=t.attributes.length>0?Er(t.attributes):void 0;return new t.constructor(void 0,e,r)},wy=(t,e)=>e.clone&&e.isMergeableElement(t)?jf(_y(t),t,e):t,Ey={clone:!0,isMergeableElement:t=>Vn(t)||ni(t),arrayElementMerge:(t,e,r)=>t.concat(e)["fantasy-land/map"]((n=>wy(n,r))),objectElementMerge:(t,e,r)=>{const n=Vn(t)?_y(t):_y(e);return Vn(t)&&t.forEach(((o,s,b)=>{const h=Ro(b);h.value=wy(o,r),n.content.push(h)})),e.forEach(((o,s,b)=>{const h=Tt(s);let E;if(Vn(t)&&t.hasKey(h)&&r.isMergeableElement(o)){const k=t.get(h);E=Ro(b),E.value=((T,R)=>{if(typeof R.customMerge!="function")return jf;const F=R.customMerge(T,R);return typeof F=="function"?F:jf})(s,r)(k,o,r)}else E=Ro(b),E.value=wy(o,r);n.remove(h),n.content.push(E)})),n},customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},jf=(t,e,r)=>{var n,o,s;const b={...Ey,...r};b.isMergeableElement=(n=b.isMergeableElement)!==null&&n!==void 0?n:Ey.isMergeableElement,b.arrayElementMerge=(o=b.arrayElementMerge)!==null&&o!==void 0?o:Ey.arrayElementMerge,b.objectElementMerge=(s=b.objectElementMerge)!==null&&s!==void 0?s:Ey.objectElementMerge;const h=ni(e);if(h!==ni(t))return wy(e,b);const E=h&&typeof b.arrayElementMerge=="function"?b.arrayElementMerge(t,e,b):b.objectElementMerge(t,e,b);return E.meta=(k=>typeof k.customMetaMerge!="function"?T=>Er(T):k.customMetaMerge)(b)(t.meta,e.meta),E.attributes=(k=>typeof k.customAttributesMerge!="function"?T=>Er(T):k.customAttributesMerge)(b)(t.attributes,e.attributes),E};jf.all=(t,e)=>{if(!Array.isArray(t))throw new TypeError("First argument of deepmerge should be an array.");return t.length===0?new at.Sh:t.reduce(((r,n)=>jf(r,n,e)),_y(t[0]))};const tp=jf,ww=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=tp(r.meta,e.meta),xd(e)&&r.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=tp(r.attributes,e.attributes))}},Wn=class extends ww{enter(e){return this.element=Er(e),In}},Ew=(t,e,r=[])=>{const n=Object.getOwnPropertyDescriptors(e);for(let o of r)delete n[o];Object.defineProperties(t,n)},Xd=(t,e=[t])=>{const r=Object.getPrototypeOf(t);return r===null?e:Xd(r,[...e,r])},Sw=(t,e,r=[])=>{var n;const o=(n=((...h)=>{if(h.length===0)return;let E;const k=h.map((T=>Xd(T)));for(;k.every((T=>T.length>0));){const T=k.map((F=>F.pop())),R=T[0];if(!T.every((F=>F===R)))break;E=R}return E})(...t))!==null&&n!==void 0?n:Object.prototype,s=Object.create(o),b=Xd(o);for(let h of t){let E=Xd(h);for(let k=E.length-1;k>=0;k--){let T=E[k];b.indexOf(T)===-1&&(Ew(s,T,["constructor",...r]),b.push(T))}}return s.constructor=e,s},Xv=t=>t.filter(((e,r)=>t.indexOf(e)==r)),xw=new WeakMap,XO=t=>xw.get(t),Aw=(t,e)=>{var r,n;const o=Xv([...Object.getOwnPropertyNames(t),...Object.getOwnPropertyNames(e)]),s={};for(let b of o)s[b]=Xv([...(r=t?.[b])!==null&&r!==void 0?r:[],...(n=e?.[b])!==null&&n!==void 0?n:[]]);return s},Ow=(t,e)=>{var r,n,o,s;return{property:Aw((r=t?.property)!==null&&r!==void 0?r:{},(n=e?.property)!==null&&n!==void 0?n:{}),method:Aw((o=t?.method)!==null&&o!==void 0?o:{},(s=e?.method)!==null&&s!==void 0?s:{})}},QO=(t,e)=>{var r,n,o,s,b,h;return{class:Xv([...(r=t?.class)!==null&&r!==void 0?r:[],...(n=e?.class)!==null&&n!==void 0?n:[]]),static:Ow((o=t?.static)!==null&&o!==void 0?o:{},(s=e?.static)!==null&&s!==void 0?s:{}),instance:Ow((b=t?.instance)!==null&&b!==void 0?b:{},(h=e?.instance)!==null&&h!==void 0?h:{})}},ek=new Map,tk=(...t)=>{const e=((...r)=>{var n;const o=new Set,s=new Set([...r]);for(;s.size>0;)for(let b of s){const h=Xd(b.prototype).map((k=>k.constructor)),E=[...h,...(n=XO(b))!==null&&n!==void 0?n:[]].filter((k=>!o.has(k)));for(let k of E)s.add(k);o.add(b),s.delete(b)}return[...o]})(...t).map((r=>ek.get(r))).filter((r=>!!r));return e.length==0?{}:e.length==1?e[0]:e.reduce(((r,n)=>QO(r,n)))};function zt(...t){var e,r,n;const o=t.map((k=>k.prototype));function s(...k){for(const T of t)Ew(this,new T(...k))}s.prototype=Sw(o,s),Object.setPrototypeOf(s,Sw(t,null,["prototype"]));let b=s;{const k=tk(...t);for(let T of(e=k?.class)!==null&&e!==void 0?e:[]){const R=T(b);R&&(b=R)}kw((r=k?.static)!==null&&r!==void 0?r:{},b),kw((n=k?.instance)!==null&&n!==void 0?n:{},b.prototype)}var h,E;return h=b,E=t,xw.set(h,E),b}const kw=(t,e)=>{const r=t.property,n=t.method;if(r)for(let o in r)for(let s of r[o])s(e,o);if(n)for(let o in n)for(let s of n[o])s(e,o,Object.getOwnPropertyDescriptor(e,o))},rk=ra((function(e){return mo(vf(a_,0,o_("length",e)),(function(){for(var r=0,n=e.length;r<n;){if(!e[r].apply(this,arguments))return!1;r+=1}return!0}))})),Cw=ra((function(e){return!Od(e)})),nk=on((function(e,r){return e||r}));var ak=bd(mo(1,wd(V_,on((function(e,r){return yv(e)?function(){return e.apply(this,arguments)||r.apply(this,arguments)}:bv(nk)(e,r)}))(W_,Zu))));const Sy=rk([Xu,ak,Cw]),jw=on((function(e,r){for(var n={},o=0;o<e.length;)e[o]in r&&(n[e[o]]=r[e[o]]),o+=1;return n})),ds=class extends ww{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...r}){super({...r}),this.specObj=e}retrievePassingOptions(){return jw(this.passingOptionsNames,this)}retrieveFixedFields(e){const r=Do(["visitors",...e,"fixedFields"],this.specObj);return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(e){return Jg(Zu,["visitors",...e],this.specObj)?Do(["visitors",...e],this.specObj):Do(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,r={}){const n=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...n,...r})}toRefractedElement(e,r,n={}){const o=this.retrieveVisitorInstance(e,n);return o instanceof Wn&&o?.constructor===Wn?Er(r):(go(r,o,n),o.element)}},rp=class extends ds{specPath;ignoredFields;constructor({specPath:e,ignoredFields:r,...n}){super({...n}),this.specPath=e,this.ignoredFields=r||[]}ObjectElement(e){const r=this.specPath(e),n=this.retrieveFixedFields(r);return e.forEach(((o,s,b)=>{if(Gr(s)&&n.includes(Tt(s))&&!this.ignoredFields.includes(Tt(s))){const h=this.toRefractedElement([...r,"fixedFields",Tt(s)],o),E=new at.Pr(Er(s),h);this.copyMetaAndAttributes(b,E),E.classes.push("fixed-field"),this.element.content.push(E)}else this.ignoredFields.includes(Tt(s))||this.element.content.push(Er(b))})),this.copyMetaAndAttributes(e,this.element),In}},yo=class{parent;constructor({parent:e}){this.parent=e}},Iw=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof kf||t(n)&&e("JSONSchemaDraft4",n)&&r("object",n))),Qv=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Cf||t(n)&&e("JSONReference",n)&&r("object",n))),Pw=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Gd||t(n)&&e("media",n)&&r("object",n))),ok=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Yd||t(n)&&e("linkDescription",n)&&r("object",n)));class ik extends zt(rp,yo,Wn){constructor(e){super(e),this.element=new kf,this.specPath=zr(["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,rp.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(nu(this.parent)&&!Gr(e.get("$schema")))this.element.setMetaProperty("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(Iw(this.parent)&&!Gr(e.get("$schema"))){const r=bf(Tt(this.parent.meta.get("inheritedDialectIdentifier")),Tt(this.parent.$schema));this.element.setMetaProperty("inheritedDialectIdentifier",r)}}handleSchemaIdentifier(e,r="id"){const n=this.parent!==void 0?Er(this.parent.getMetaProperty("ancestorsSchemaIdentifiers",[])):new at.wE,o=Tt(e.get(r));Sy(o)&&n.push(o),this.element.setMetaProperty("ancestorsSchemaIdentifiers",n)}}const Tw=ik,Hl=t=>Vn(t)&&t.hasKey("$ref");class sk extends zt(ds,yo,Wn){ObjectElement(e){const r=Hl(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(r,e),In}ArrayElement(e){return this.element=new at.wE,this.element.classes.push("json-schema-items"),e.forEach((r=>{const n=Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(n,r);this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const Nw=sk,lk=class extends Wn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-required"),r}},ck=class extends ds{specPath;ignoredFields;fieldPatternPredicate=Hv;constructor({specPath:e,ignoredFields:r,fieldPatternPredicate:n,...o}){super({...o}),this.specPath=e,this.ignoredFields=r||[],typeof n=="function"&&(this.fieldPatternPredicate=n)}ObjectElement(e){return e.forEach(((r,n,o)=>{if(!this.ignoredFields.includes(Tt(n))&&this.fieldPatternPredicate(Tt(n))){const s=this.specPath(r),b=this.toRefractedElement(s,r),h=new at.Pr(Er(n),b);this.copyMetaAndAttributes(o,h),h.classes.push("patterned-field"),this.element.content.push(h)}else this.ignoredFields.includes(Tt(n))||this.element.content.push(Er(o))})),this.copyMetaAndAttributes(e,this.element),In}},lu=class extends ck{constructor(e){super(e),this.fieldPatternPredicate=Sy}};class uk extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-properties"),this.specPath=r=>Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const pk=uk;class fk extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=r=>Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const hk=fk;class dk extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-dependencies"),this.specPath=r=>Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const mk=dk,gk=class extends Wn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-enum"),r}},yk=class extends Wn{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 vk extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.wE,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach((r=>{const n=Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(n,r);this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const bk=vk;class _k extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.wE,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach((r=>{const n=Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(n,r);this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const wk=_k;class Ek extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.wE,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach((r=>{const n=Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],o=this.toRefractedElement(n,r);this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const Sk=Ek;class xk extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-definitions"),this.specPath=r=>Hl(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}const Ak=xk;class Ok extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.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),In}}const kk=Ok;class Ck extends zt(rp,Wn){constructor(e){super(e),this.element=new Cf,this.specPath=zr(["document","objects","JSONReference"])}ObjectElement(e){const r=rp.prototype.ObjectElement.call(this,e);return Gr(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const jk=Ck,Ik=class extends Wn{StringElement(e){const r=this.enter(e);return this.element.classes.push("reference-value"),r}},eb=bi((function(e,r,n){return mo(Math.max(e.length,r.length,n.length),(function(){return e.apply(this,arguments)?r.apply(this,arguments):n.apply(this,arguments)}))})),Pk=ra((function(e){return function(r,n){return e(r,n)?-1:e(n,r)?1:0}}));var Tk=on((function(e,r){return Array.prototype.slice.call(r,0).sort(e)}));const Nk=Tk;var Mk=ra((function(t){return Wg(0,t)}));const Rk=Mk,Dk=ra(sy),Bk=bd(by),Fk=wd(cw,Cw);function Lk(t){return(function(r){if(Array.isArray(r))return tb(r)})(t)||(function(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)})(t)||(function(r,n){if(r){if(typeof r=="string")return tb(r,n);var o={}.toString.call(r).slice(8,-1);return o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set"?Array.from(r):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?tb(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 tb(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 $k=ei(Nk(Pk((function(t,e){return t.length>e.length}))),Rk,vd("length")),Uk=gv((function(t,e,r){var n=r.apply(void 0,Lk(t));return Bk(n)?Dk(n):e}));const Mw=eb(Fk,(function(e){var r=$k(e);return mo(r,(function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return vf(Uk(o),void 0,e)}))}),ry),qk=class extends ds{alternator;constructor({alternator:e,...r}){super({...r}),this.alternator=e}enter(e){const r=this.alternator.map((({predicate:o,specPath:s})=>eb(o,zr(s),ry))),n=Mw(r)(e);return this.element=this.toRefractedElement(n,e),In}},If=class extends qk{constructor(e){super(e),this.alternator=[{predicate:Hl,specPath:["document","objects","JSONReference"]},{predicate:wc,specPath:["document","objects","JSONSchema"]}]}};class zk extends zt(rp,Wn){constructor(e){super(e),this.element=new Gd,this.specPath=zr(["document","objects","Media"])}}const Vk=zk;class Wk extends zt(rp,Wn){constructor(e){super(e),this.element=new Yd,this.specPath=zr(["document","objects","LinkDescription"])}}const Rw=Wk,ai={visitors:{value:Wn,JSONSchemaOrJSONReferenceVisitor:If,document:{objects:{JSONSchema:{$visitor:Tw,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:If,items:Nw,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:lk,properties:pk,additionalProperties:If,patternProperties:hk,dependencies:mk,enum:gk,type:yk,allOf:bk,anyOf:wk,oneOf:Sk,not:If,definitions:Ak,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:kk,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:jk,fixedFields:{$ref:Ik}},Media:{$visitor:Vk,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"},type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:Rw,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:If,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:If}}}}}},Qd=t=>{if(io(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Jk={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Wl},Hk={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft4",kf),e.register("jSONReference",Cf),e.register("media",Gd),e.register("linkDescription",Yd),e}},Kk=Hk,Gk=()=>{const t=Ec(Kk);return{predicates:{...H,isStringElement:Gr},namespace:t}},Yk=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=ai}={})=>{const o=(0,at.e)(t),s=su(n),b=new(Do(e,s))({specObj:s});return go(o,b),Jl(b.element,r,{toolboxCreator:Gk,visitorOptions:{keyMap:Jk,nodeTypeGetter:Qd}})},xy=t=>(e,r={})=>Yk(e,{specPath:t,...r});kf.refract=xy(["visitors","document","objects","JSONSchema","$visitor"]),Cf.refract=xy(["visitors","document","objects","JSONReference","$visitor"]),Gd.refract=xy(["visitors","document","objects","Media","$visitor"]),Yd.refract=xy(["visitors","document","objects","LinkDescription","$visitor"]);const Ay=class extends kf{constructor(e,r,n){super(e,r,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new En("idProp getter in Schema class is not not supported.")}set idProp(e){throw new En("idProp setter in Schema class is not not supported.")}get $schema(){throw new En("$schema getter in Schema class is not not supported.")}set $schema(e){throw new En("$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 En("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new En("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new En("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new En("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 En("definitions getter in Schema class is not not supported.")}set definitions(e){throw new En("definitions setter in Schema class is not not supported.")}get base(){throw new En("base getter in Schema class is not not supported.")}set base(e){throw new En("base setter in Schema class is not not supported.")}get links(){throw new En("links getter in Schema class is not not supported.")}set links(e){throw new En("links setter in Schema class is not not supported.")}get media(){throw new En("media getter in Schema class is not not supported.")}set media(e){throw new En("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 Zk extends at.Sh{constructor(e,r,n){super(e,r,n),this.element="securityRequirement"}}const em=Zk;class Xk extends at.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 tm=Xk;class Qk extends at.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 rm=Qk;class e5 extends at.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 nm=e5;class t5 extends at.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 Oy=t5;class r5 extends at.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 ky=r5,Dw=class{element;constructor(e={}){Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=tp(r.meta,e.meta),xd(e)&&r.meta.set("sourceMap",e.meta.get("sourceMap"))),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=tp(r.attributes,e.attributes))}},ir=class extends Dw{enter(e){return this.element=Er(e),In}},ul=class extends Dw{specObj;passingOptionsNames=["specObj","openApiGenericElement","openApiSemanticElement"];openApiGenericElement;openApiSemanticElement;constructor({specObj:e,passingOptionsNames:r,openApiGenericElement:n,openApiSemanticElement:o,...s}){super({...s}),this.specObj=e,this.openApiGenericElement=n,this.openApiSemanticElement=o,Array.isArray(r)&&(this.passingOptionsNames=r)}retrievePassingOptions(){return jw(this.passingOptionsNames,this)}retrieveFixedFields(e){const r=Do(["visitors",...e,"fixedFields"],this.specObj);return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(e){return Jg(Zu,["visitors",...e],this.specObj)?Do(["visitors",...e],this.specObj):Do(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,r={}){const n=this.retrievePassingOptions();return new(this.retrieveVisitor(e))({...n,...r})}toRefractedElement(e,r,n={}){const o=this.retrieveVisitorInstance(e,n);return o instanceof ir&&o?.constructor===ir?Er(r):(go(r,o,n),o.element)}};var n5=(function(){function t(e,r){this.xf=r,this.n=e,this.i=0}return t.prototype["@@transducer/init"]=ru,t.prototype["@@transducer/result"]=gd,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?sy(n):n},t})();function a5(t){return function(e){return new n5(t,e)}}const o5=on(tu(["take"],a5,(function(e,r){return yd(0,e<0?1/0:e,r)})));var i5=on((function(t,e){return eu(o5(t.length,e),t)}));const s5=i5,xa=t=>Vn(t)&&t.hasKey("$ref"),l5=Vn,c5=Vn,Bw=t=>Gr(t.key)&&s5("x-",Tt(t.key)),yn=class extends ul{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=Bw;constructor({specPath:e,ignoredFields:r,canSupportSpecificationExtensions:n,specificationExtensionPredicate:o,...s}){super({...s}),this.specPath=e,this.ignoredFields=r||[],typeof n=="boolean"&&(this.canSupportSpecificationExtensions=n),typeof o=="function"&&(this.specificationExtensionPredicate=o)}ObjectElement(e){const r=this.specPath(e),n=this.retrieveFixedFields(r);return e.forEach(((o,s,b)=>{if(Gr(s)&&n.includes(Tt(s))&&!this.ignoredFields.includes(Tt(s))){const h=this.toRefractedElement([...r,"fixedFields",Tt(s)],o),E=new at.Pr(Er(s),h);this.copyMetaAndAttributes(b,E),E.classes.push("fixed-field"),this.element.content.push(E)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(b)){const h=this.toRefractedElement(["document","extension"],b);this.element.content.push(h)}else this.ignoredFields.includes(Tt(s))||this.element.content.push(Er(b))})),this.copyMetaAndAttributes(e,this.element),In}};class u5 extends zt(yn,ir){constructor(e){super(e),this.element=new vy,this.specPath=zr(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return yn.prototype.ObjectElement.call(this,e)}}const p5=u5;class f5 extends zt(ul,ir){StringElement(e){const r=new $d(Tt(e));return this.copyMetaAndAttributes(e,r),this.element=r,In}}const h5=f5,d5=class extends ul{MemberElement(e){return this.element=Er(e),this.element.classes.push("specification-extension"),In}};class m5 extends zt(yn,ir){constructor(e){super(e),this.element=new Dd,this.specPath=zr(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}}const g5=m5,y5=class extends ir{StringElement(e){const r=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),r}};class v5 extends zt(yn,ir){constructor(e){super(e),this.element=new Pd,this.specPath=zr(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}}const b5=v5;class _5 extends zt(yn,ir){constructor(e){super(e),this.element=new Bd,this.specPath=zr(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}}const w5=_5;class E5 extends zt(yn,ir){constructor(e){super(e),this.element=new Fd,this.specPath=zr(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return(Gr(this.element.operationId)||Gr(this.element.operationRef))&&this.element.classes.push("reference-element"),r}}const S5=E5,x5=class extends ir{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},A5=class extends ir{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},Pf=class extends ul{specPath;ignoredFields;fieldPatternPredicate=Hv;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=Bw;constructor({specPath:e,ignoredFields:r,fieldPatternPredicate:n,canSupportSpecificationExtensions:o,specificationExtensionPredicate:s,...b}){super({...b}),this.specPath=e,this.ignoredFields=r||[],typeof n=="function"&&(this.fieldPatternPredicate=n),typeof o=="boolean"&&(this.canSupportSpecificationExtensions=o),typeof s=="function"&&(this.specificationExtensionPredicate=s)}ObjectElement(e){return e.forEach(((r,n,o)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(o)){const s=this.toRefractedElement(["document","extension"],o);this.element.content.push(s)}else if(!this.ignoredFields.includes(Tt(n))&&this.fieldPatternPredicate(Tt(n))){const s=this.specPath(r),b=this.toRefractedElement(s,r),h=new at.Pr(Er(n),b);this.copyMetaAndAttributes(o,h),h.classes.push("patterned-field"),this.element.content.push(h)}else this.ignoredFields.includes(Tt(n))||this.element.content.push(Er(o))})),this.copyMetaAndAttributes(e,this.element),In}},dn=class extends Pf{constructor(e){super(e),this.fieldPatternPredicate=Sy}};class rb extends at.Sh{static primaryClass="link-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(rb.primaryClass)}}const O5=rb;class k5 extends zt(dn,ir){constructor(e){super(e),this.element=new O5,this.specPath=zr(["value"])}}const C5=k5;class j5 extends zt(yn,ir){constructor(e){super(e),this.element=new rm,this.specPath=zr(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}}const I5=j5,P5=class extends ir{StringElement(e){const r=super.enter(e);return this.element.classes.push("server-url"),r}};class nb extends at.wE{static primaryClass="servers";constructor(e,r,n){super(e,r,n),this.classes.push(nb.primaryClass)}}const Fw=nb;class T5 extends zt(ul,ir){constructor(e){super(e),this.element=new Fw}ArrayElement(e){return e.forEach((r=>{const n=l5(r)?["document","objects","Server"]:["value"],o=this.toRefractedElement(n,r);this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const ab=T5;class N5 extends zt(yn,ir){constructor(e){super(e),this.element=new nm,this.specPath=zr(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}}const M5=N5;class ob extends at.Sh{static primaryClass="server-variables";constructor(e,r,n){super(e,r,n),this.classes.push(ob.primaryClass)}}const R5=ob;class D5 extends zt(dn,ir){constructor(e){super(e),this.element=new R5,this.specPath=zr(["document","objects","ServerVariable"])}}const B5=D5;class F5 extends zt(yn,ir){constructor(e){super(e),this.element=new Ld,this.specPath=zr(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}}const L5=F5,Kl=class extends ul{alternator;constructor({alternator:e,...r}){super({...r}),this.alternator=e||[]}enter(e){const r=this.alternator.map((({predicate:o,specPath:s})=>eb(o,zr(s),ry))),n=Mw(r)(e);return this.element=this.toRefractedElement(n,e),In}},$5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof jd||t(n)&&e("callback",n)&&r("object",n))),U5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Id||t(n)&&e("components",n)&&r("object",n))),q5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Pd||t(n)&&e("contact",n)&&r("object",n))),z5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Nd||t(n)&&e("example",n)&&r("object",n))),V5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Md||t(n)&&e("externalDocumentation",n)&&r("object",n))),Tf=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Rd||t(n)&&e("header",n)&&r("object",n))),W5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Dd||t(n)&&e("info",n)&&r("object",n))),J5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Bd||t(n)&&e("license",n)&&r("object",n))),H5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Fd||t(n)&&e("link",n)&&r("object",n))),K5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof $d||t(n)&&e("openapi",n)&&r("string",n))),G5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>o=>o instanceof vy||t(o)&&e("openApi3_0",o)&&r("object",o)&&n("api",o))),Lw=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ud||t(n)&&e("operation",n)&&r("object",n))),Y5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof qd||t(n)&&e("parameter",n)&&r("object",n))),ib=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof zd||t(n)&&e("pathItem",n)&&r("object",n))),Z5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Vd||t(n)&&e("paths",n)&&r("object",n))),ya=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Wd||t(n)&&e("reference",n)&&r("object",n))),X5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Jd||t(n)&&e("requestBody",n)&&r("object",n))),Cy=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Hd||t(n)&&e("response",n)&&r("object",n))),Q5=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Kd||t(n)&&e("responses",n)&&r("object",n))),eC=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ay||t(n)&&e("schema",n)&&r("object",n))),tC=t=>Sd(t)&&t.classes.includes("boolean-json-schema"),rC=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof em||t(n)&&e("securityRequirement",n)&&r("object",n))),nC=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof tm||t(n)&&e("securityScheme",n)&&r("object",n))),aC=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof rm||t(n)&&e("server",n)&&r("object",n))),oC=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof nm||t(n)&&e("serverVariable",n)&&r("object",n))),jy=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ld||t(n)&&e("mediaType",n)&&r("object",n))),$w=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>o=>o instanceof Fw||t(o)&&e("array",o)&&r("array",o)&&n("servers",o))),iC=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Td||t(n)&&e("discriminator",n)&&r("object",n)));class sC extends zt(Kl,ir){constructor(e){super(e),this.alternator=[{predicate:xa,specPath:["document","objects","Reference"]},{predicate:wc,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=Kl.prototype.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const lC=sC;class cC extends zt(dn,ir){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("examples"),this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","example")})),r}}const sb=cC;class lb extends at.Sh{static primaryClass="media-type-examples";constructor(e,r,n){super(e,r,n),this.classes.push(lb.primaryClass),this.classes.push("examples")}}const uC=lb,pC=class extends sb{constructor(e){super(e),this.element=new uC}};class cb extends at.Sh{static primaryClass="media-type-encoding";constructor(e,r,n){super(e,r,n),this.classes.push(cb.primaryClass)}}const fC=cb;class hC extends zt(dn,ir){constructor(e){super(e),this.element=new fC,this.specPath=zr(["document","objects","Encoding"])}}const dC=hC;class mC extends zt(dn,ir){constructor(e){super(e),this.element=new em,this.specPath=zr(["value"])}}const gC=mC;class ub extends at.wE{static primaryClass="security";constructor(e,r,n){super(e,r,n),this.classes.push(ub.primaryClass)}}const yC=ub;class vC extends zt(ul,ir){constructor(e){super(e),this.element=new yC}ArrayElement(e){return e.forEach((r=>{if(Vn(r)){const n=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(n)}else this.element.push(Er(r))})),this.copyMetaAndAttributes(e,this.element),In}}const bC=vC;class _C extends zt(yn,ir){constructor(e){super(e),this.element=new Id,this.specPath=zr(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}}const wC=_C;class EC extends zt(yn,ir){constructor(e){super(e),this.element=new Oy,this.specPath=zr(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}}const SC=EC;class xC extends zt(yn,ir){constructor(e){super(e),this.element=new Wd,this.specPath=zr(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return Gr(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const AC=xC,OC=class extends ir{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class kC extends zt(yn,ir){constructor(e){super(e),this.element=new qd,this.specPath=zr(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return Vn(this.element.contentProp)&&this.element.contentProp.filter(jy).forEach(((n,o)=>{n.setMetaProperty("media-type",Tt(o))})),r}}const CC=kC;class jC extends zt(Kl,ir){constructor(e){super(e),this.alternator=[{predicate:xa,specPath:["document","objects","Reference"]},{predicate:wc,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=Kl.prototype.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const IC=jC;class PC extends zt(yn,ir){constructor(e){super(e),this.element=new Rd,this.specPath=zr(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}}const TC=PC;class NC extends zt(Kl,ir){constructor(e){super(e),this.alternator=[{predicate:xa,specPath:["document","objects","Reference"]},{predicate:wc,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=Kl.prototype.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}const MC=NC;class pb extends at.Sh{static primaryClass="header-examples";constructor(e,r,n){super(e,r,n),this.classes.push(pb.primaryClass),this.classes.push("examples")}}const RC=pb,DC=class extends sb{constructor(e){super(e),this.element=new RC}};class BC extends zt(dn,ir){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("content"),this.specPath=zr(["document","objects","MediaType"])}}const Iy=BC;class fb extends at.Sh{static primaryClass="header-content";constructor(e,r,n){super(e,r,n),this.classes.push(fb.primaryClass),this.classes.push("content")}}const FC=fb,LC=class extends Iy{constructor(e){super(e),this.element=new FC}};class $C extends zt(yn,ir){constructor(e){super(e),this.element=new Ay,this.specPath=zr(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}}const UC=$C,Uw=ai.visitors.document.objects.JSONSchema.fixedFields.allOf,qC=class extends Uw{ArrayElement(e){const r=Uw.prototype.ArrayElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},qw=ai.visitors.document.objects.JSONSchema.fixedFields.anyOf,zC=class extends qw{ArrayElement(e){const r=qw.prototype.ArrayElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},zw=ai.visitors.document.objects.JSONSchema.fixedFields.oneOf,VC=class extends zw{ArrayElement(e){const r=zw.prototype.ArrayElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},Vw=ai.visitors.document.objects.JSONSchema.fixedFields.items,WC=class extends Vw{ObjectElement(e){const r=Vw.prototype.ObjectElement.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}ArrayElement(e){return this.enter(e)}},Ww=ai.visitors.document.objects.JSONSchema.fixedFields.properties,JC=class extends Ww{ObjectElement(e){const r=Ww.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}},HC=ai.visitors.document.objects.JSONSchema.fixedFields.type,KC=class extends HC{ArrayElement(e){return this.enter(e)}},Jw=ai.visitors.JSONSchemaOrJSONReferenceVisitor,Hw=class extends Jw{ObjectElement(e){const r=Jw.prototype.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}};class GC extends zt(yn,ir){constructor(e){super(e),this.element=new Td,this.specPath=zr(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}}const YC=GC;class hb extends at.Sh{static primaryClass="discriminator-mapping";constructor(e,r,n){super(e,r,n),this.classes.push(hb.primaryClass)}}const ZC=hb;class XC extends zt(dn,ir){constructor(e){super(e),this.element=new ZC,this.specPath=zr(["value"])}}const QC=XC;class e8 extends zt(yn,ir){constructor(e){super(e),this.element=new ky,this.specPath=zr(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}}const t8=e8;class db extends at.Sh{static primaryClass="parameter-examples";constructor(e,r,n){super(e,r,n),this.classes.push(db.primaryClass),this.classes.push("examples")}}const r8=db,n8=class extends sb{constructor(e){super(e),this.element=new r8}};class mb extends at.Sh{static primaryClass="parameter-content";constructor(e,r,n){super(e,r,n),this.classes.push(mb.primaryClass),this.classes.push("content")}}const a8=mb,o8=class extends Iy{constructor(e){super(e),this.element=new a8}};class gb extends at.Sh{static primaryClass="components-schemas";constructor(e,r,n){super(e,r,n),this.classes.push(gb.primaryClass)}}const Kw=gb;class i8 extends zt(dn,ir){constructor(e){super(e),this.element=new Kw,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","schema")})),r}}const s8=i8;class yb extends at.Sh{static primaryClass="components-responses";constructor(e,r,n){super(e,r,n),this.classes.push(yb.primaryClass)}}const l8=yb;class c8 extends zt(dn,ir){constructor(e){super(e),this.element=new l8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","response")})),this.element.filter(Cy).forEach(((n,o)=>{n.setMetaProperty("http-status-code",Tt(o))})),r}}const u8=c8;class vb extends at.Sh{static primaryClass="components-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(vb.primaryClass),this.classes.push("parameters")}}const p8=vb;class f8 extends zt(dn,ir){constructor(e){super(e),this.element=new p8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","parameter")})),r}}const h8=f8;class bb extends at.Sh{static primaryClass="components-examples";constructor(e,r,n){super(e,r,n),this.classes.push(bb.primaryClass),this.classes.push("examples")}}const d8=bb;class m8 extends zt(dn,ir){constructor(e){super(e),this.element=new d8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","example")})),r}}const g8=m8;class _b extends at.Sh{static primaryClass="components-request-bodies";constructor(e,r,n){super(e,r,n),this.classes.push(_b.primaryClass)}}const y8=_b;class v8 extends zt(dn,ir){constructor(e){super(e),this.element=new y8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","requestBody")})),r}}const b8=v8;class wb extends at.Sh{static primaryClass="components-headers";constructor(e,r,n){super(e,r,n),this.classes.push(wb.primaryClass)}}const _8=wb;class w8 extends zt(dn,ir){constructor(e){super(e),this.element=new _8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.filter(Tf).forEach(((n,o)=>{n.setMetaProperty("header-name",Tt(o))})),r}}const E8=w8;class Eb extends at.Sh{static primaryClass="components-security-schemes";constructor(e,r,n){super(e,r,n),this.classes.push(Eb.primaryClass)}}const S8=Eb;class x8 extends zt(dn,ir){constructor(e){super(e),this.element=new S8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","securityScheme")})),r}}const A8=x8;class Sb extends at.Sh{static primaryClass="components-links";constructor(e,r,n){super(e,r,n),this.classes.push(Sb.primaryClass)}}const O8=Sb;class k8 extends zt(dn,ir){constructor(e){super(e),this.element=new O8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","link")})),r}}const C8=k8;class xb extends at.Sh{static primaryClass="components-callbacks";constructor(e,r,n){super(e,r,n),this.classes.push(xb.primaryClass)}}const j8=xb;class I8 extends zt(dn,ir){constructor(e){super(e),this.element=new j8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","callback")})),r}}const P8=I8;class T8 extends zt(yn,ir){constructor(e){super(e),this.element=new Nd,this.specPath=zr(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return Gr(this.element.externalValue)&&this.element.classes.push("reference-element"),r}}const N8=T8,M8=class extends ir{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class R8 extends zt(yn,ir){constructor(e){super(e),this.element=new Md,this.specPath=zr(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}}const D8=R8;class B8 extends zt(yn,ir){constructor(e){super(e),this.element=new my,this.specPath=zr(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return Vn(this.element.headers)&&this.element.headers.filter(Tf).forEach(((n,o)=>{n.setMetaProperty("header-name",Tt(o))})),r}}const F8=B8;class Ab extends at.Sh{static primaryClass="encoding-headers";constructor(e,r,n){super(e,r,n),this.classes.push(Ab.primaryClass)}}const L8=Ab;class $8 extends zt(dn,ir){constructor(e){super(e),this.element=new L8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.forEach(((n,o)=>{if(!Tf(n))return;const s=Tt(o);n.setMetaProperty("headerName",s)})),r}}const U8=$8;class q8 extends zt(Pf,ir){constructor(e){super(e),this.element=new Vd,this.specPath=zr(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=wc}ObjectElement(e){const r=Pf.prototype.ObjectElement.call(this,e);return this.element.filter(ib).forEach(((n,o)=>{o.classes.push("openapi-path-template"),o.classes.push("path-template"),n.setMetaProperty("path",Er(o))})),r}}const z8=q8;class V8 extends zt(yn,ir){constructor(e){super(e),this.element=new Jd,this.specPath=zr(["document","objects","RequestBody"])}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return Vn(this.element.contentProp)&&this.element.contentProp.filter(jy).forEach(((n,o)=>{n.setMetaProperty("media-type",Tt(o))})),r}}const W8=V8;class Ob extends at.Sh{static primaryClass="request-body-content";constructor(e,r,n){super(e,r,n),this.classes.push(Ob.primaryClass),this.classes.push("content")}}const J8=Ob,H8=class extends Iy{constructor(e){super(e),this.element=new J8}};class K8 extends zt(Pf,ir){constructor(e){super(e),this.element=new jd,this.specPath=zr(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>/{(?<expression>[^}]{1,2083})}/.test(String(r))}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ib).forEach(((n,o)=>{n.setMetaProperty("runtime-expression",Tt(o))})),r}}const G8=K8;class Y8 extends zt(yn,ir){constructor(e){super(e),this.element=new Hd,this.specPath=zr(["document","objects","Response"])}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return Vn(this.element.contentProp)&&this.element.contentProp.filter(jy).forEach(((n,o)=>{n.setMetaProperty("media-type",Tt(o))})),Vn(this.element.headers)&&this.element.headers.filter(Tf).forEach(((n,o)=>{n.setMetaProperty("header-name",Tt(o))})),r}}const Z8=Y8;class kb extends at.Sh{static primaryClass="response-headers";constructor(e,r,n){super(e,r,n),this.classes.push(kb.primaryClass)}}const X8=kb;class Q8 extends zt(dn,ir){constructor(e){super(e),this.element=new X8,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","header")})),this.element.forEach(((n,o)=>{if(!Tf(n))return;const s=Tt(o);n.setMetaProperty("header-name",s)})),r}}const ej=Q8;class Cb extends at.Sh{static primaryClass="response-content";constructor(e,r,n){super(e,r,n),this.classes.push(Cb.primaryClass),this.classes.push("content")}}const tj=Cb,rj=class extends Iy{constructor(e){super(e),this.element=new tj}};class jb extends at.Sh{static primaryClass="response-links";constructor(e,r,n){super(e,r,n),this.classes.push(jb.primaryClass)}}const nj=jb;class aj extends zt(dn,ir){constructor(e){super(e),this.element=new nj,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","link")})),r}}const oj=aj;function Gw(t){return Object.prototype.toString.call(t)==="[object Number]"}var ij=on((function(e,r){if(!Gw(e)||!Gw(r))throw new TypeError("Both arguments to range must be numbers");for(var n=Array(e<r?r-e:0),o=e<0?r+Math.abs(e):r-e,s=0;s<o;)n[s]=s+e,s+=1;return n}));const sj=ij;function Yw(t,e,r){var n,o=typeof t;switch(o){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):o in r._items?t in r._items[o]||(e&&(r._items[o][t]=!0),!1):(e&&(r._items[o]={},r._items[o][t]=!0),!1);case"boolean":if(o in r._items){var s=t?1:0;return!!r._items[o][s]||(e&&(r._items[o][s]=!0),!1)}return e&&(r._items[o]=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):o in r._items?!!Kg(t,r._items[o])||(e&&r._items[o].push(t),!1):(e&&(r._items[o]=[t]),!1);case"undefined":return!!r._items[o]||(e&&(r._items[o]=!0),!1);case"object":if(t===null)return!!r._items.null||(e&&(r._items.null=!0),!1);default:return(o=Object.prototype.toString.call(t))in r._items?!!Kg(t,r._items[o])||(e&&r._items[o].push(t),!1):(e&&(r._items[o]=[t]),!1)}}const lj=(function(){function t(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return t.prototype.add=function(e){return!Yw(e,!0,this)},t.prototype.has=function(e){return Yw(e,!1,this)},t})();var cj=on((function(e,r){for(var n=[],o=0,s=e.length,b=r.length,h=new lj,E=0;E<b;E+=1)h.add(r[E]);for(;o<s;)h.add(e[o])&&(n[n.length]=e[o]),o+=1;return n}));const uj=cj;class pj extends zt(yn,Pf){specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:r,...n}){super({...n}),this.specPathFixedFields=e,this.specPathPatternedFields=r}ObjectElement(e){const{specPath:r,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const o=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...uj(e.keys(),o)],yn.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=o,Pf.prototype.ObjectElement.call(this,e)}catch(o){throw this.specPath=r,o}return In}}const Zw=pj;class fj extends zt(Zw,ir){constructor(e){super(e),this.element=new Kd,this.specPathFixedFields=zr(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>xa(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${sj(100,600).join("|")})$`).test(String(r))}ObjectElement(e){const r=Zw.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","response")})),this.element.filter(Cy).forEach(((n,o)=>{const s=Er(o);this.fieldPatternPredicate(Tt(s))&&n.setMetaProperty("http-status-code",s)})),r}}const hj=fj;class dj extends zt(Kl,ir){constructor(e){super(e),this.alternator=[{predicate:xa,specPath:["document","objects","Reference"]},{predicate:wc,specPath:["document","objects","Response"]}]}ObjectElement(e){const r=Kl.prototype.enter.call(this,e);return ya(this.element)?this.element.setMetaProperty("referenced-element","response"):Cy(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}const mj=dj;class gj extends zt(yn,ir){constructor(e){super(e),this.element=new Ud,this.specPath=zr(["document","objects","Operation"])}}const yj=gj;class Ib extends at.wE{static primaryClass="operation-tags";constructor(e,r,n){super(e,r,n),this.classes.push(Ib.primaryClass)}}const vj=Ib,bj=class extends ir{constructor(e){super(e),this.element=new vj}ArrayElement(e){return this.element=this.element.concat(Er(e)),In}};class Pb extends at.wE{static primaryClass="operation-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(Pb.primaryClass),this.classes.push("parameters")}}const Xw=Pb;class _j extends zt(ul,ir){constructor(e){super(e),this.element=new at.wE,this.element.classes.push("parameters")}ArrayElement(e){return e.forEach((r=>{const n=xa(r)?["document","objects","Reference"]:["document","objects","Parameter"],o=this.toRefractedElement(n,r);ya(o)&&o.setMetaProperty("referenced-element","parameter"),this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const Qw=_j,wj=class extends Qw{constructor(e){super(e),this.element=new Xw}},Ej=class extends Kl{constructor(e){super(e),this.alternator=[{predicate:xa,specPath:["document","objects","Reference"]},{predicate:wc,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const r=Kl.prototype.enter.call(this,e);return ya(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),r}};class Tb extends at.Sh{static primaryClass="operation-callbacks";constructor(e,r,n){super(e,r,n),this.classes.push(Tb.primaryClass)}}const Sj=Tb;class xj extends zt(dn,ir){specPath;constructor(e){super(e),this.element=new Sj,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ya).forEach((n=>{n.setMetaProperty("referenced-element","callback")})),r}}const Aj=xj;class Nb extends at.wE{static primaryClass="operation-security";constructor(e,r,n){super(e,r,n),this.classes.push(Nb.primaryClass),this.classes.push("security")}}const eE=Nb;class Oj extends zt(ul,ir){constructor(e){super(e),this.element=new eE}ArrayElement(e){return e.forEach((r=>{const n=Vn(r)?["document","objects","SecurityRequirement"]:["value"],o=this.toRefractedElement(n,r);this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const kj=Oj;class Mb extends at.wE{static primaryClass="operation-servers";constructor(e,r,n){super(e,r,n),this.classes.push(Mb.primaryClass),this.classes.push("servers")}}const Cj=Mb,jj=class extends ab{constructor(e){super(e),this.element=new Cj}};class Ij extends zt(yn,ir){constructor(e){super(e),this.element=new zd,this.specPath=zr(["document","objects","PathItem"])}ObjectElement(e){const r=yn.prototype.ObjectElement.call(this,e);return this.element.filter(Lw).forEach(((n,o)=>{const s=Er(o);s.content=Tt(s).toUpperCase(),n.setMetaProperty("http-method",s)})),Gr(this.element.$ref)&&this.element.classes.push("reference-element"),r}}const Pj=Ij,Tj=class extends ir{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class Rb extends at.wE{static primaryClass="path-item-servers";constructor(e,r,n){super(e,r,n),this.classes.push(Rb.primaryClass),this.classes.push("servers")}}const Nj=Rb,Mj=class extends ab{constructor(e){super(e),this.element=new Nj}};class Db extends at.wE{static primaryClass="path-item-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(Db.primaryClass),this.classes.push("parameters")}}const Rj=Db,Dj=class extends Qw{constructor(e){super(e),this.element=new Rj}};class Bj extends zt(yn,ir){constructor(e){super(e),this.element=new tm,this.specPath=zr(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}}const Fj=Bj;class Lj extends zt(yn,ir){constructor(e){super(e),this.element=new yy,this.specPath=zr(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}}const $j=Lj;class Uj extends zt(yn,ir){constructor(e){super(e),this.element=new gy,this.specPath=zr(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}}const qj=Uj;class Bb extends at.Sh{static primaryClass="oauth-flow-scopes";constructor(e,r,n){super(e,r,n),this.classes.push(Bb.primaryClass)}}const zj=Bb;class Vj extends zt(dn,ir){constructor(e){super(e),this.element=new zj,this.specPath=zr(["value"])}}const Wj=Vj;class Fb extends at.wE{static primaryClass="tags";constructor(e,r,n){super(e,r,n),this.classes.push(Fb.primaryClass)}}const Jj=Fb;class Hj extends zt(ul,ir){constructor(e){super(e),this.element=new Jj}ArrayElement(e){return e.forEach((r=>{const n=c5(r)?["document","objects","Tag"]:["value"],o=this.toRefractedElement(n,r);this.element.push(o)})),this.copyMetaAndAttributes(e,this.element),In}}const Kj=Hj,{fixedFields:Oo}=ai.visitors.document.objects.JSONSchema,At={visitors:{value:ir,document:{objects:{OpenApi:{$visitor:p5,fixedFields:{openapi:h5,info:{$ref:"#/visitors/document/objects/Info"},servers:ab,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:bC,tags:Kj,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:g5,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:y5}},Contact:{$visitor:b5,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:w5,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:I5,fixedFields:{url:P5,description:{$ref:"#/visitors/value"},variables:B5}},ServerVariable:{$visitor:M5,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:wC,fixedFields:{schemas:s8,responses:u8,parameters:h8,examples:g8,requestBodies:b8,headers:E8,securitySchemes:A8,links:C8,callbacks:P8}},Paths:{$visitor:z8},PathItem:{$visitor:Pj,fixedFields:{$ref:Tj,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:Mj,parameters:Dj}},Operation:{$visitor:yj,fixedFields:{tags:bj,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:wj,requestBody:Ej,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Aj,deprecated:{$ref:"#/visitors/value"},security:kj,servers:jj}},ExternalDocumentation:{$visitor:D8,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:CC,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:IC,example:{$ref:"#/visitors/value"},examples:n8,content:o8}},RequestBody:{$visitor:W8,fixedFields:{description:{$ref:"#/visitors/value"},content:H8,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:L5,fixedFields:{schema:lC,example:{$ref:"#/visitors/value"},examples:pC,encoding:dC}},Encoding:{$visitor:F8,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:U8,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:hj,fixedFields:{default:mj}},Response:{$visitor:Z8,fixedFields:{description:{$ref:"#/visitors/value"},headers:ej,content:rj,links:oj}},Callback:{$visitor:G8},Example:{$visitor:N8,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:M8}},Link:{$visitor:S5,fixedFields:{operationRef:x5,operationId:A5,parameters:C5,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:TC,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:MC,example:{$ref:"#/visitors/value"},examples:DC,content:LC}},Tag:{$visitor:SC,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:AC,fixedFields:{$ref:OC}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:UC,fixedFields:{title:Oo.title,multipleOf:Oo.multipleOf,maximum:Oo.maximum,exclusiveMaximum:Oo.exclusiveMaximum,minimum:Oo.minimum,exclusiveMinimum:Oo.exclusiveMinimum,maxLength:Oo.maxLength,minLength:Oo.minLength,pattern:Oo.pattern,maxItems:Oo.maxItems,minItems:Oo.minItems,uniqueItems:Oo.uniqueItems,maxProperties:Oo.maxProperties,minProperties:Oo.minProperties,required:Oo.required,enum:Oo.enum,type:KC,allOf:qC,anyOf:zC,oneOf:VC,not:Hw,items:WC,properties:JC,additionalProperties:Hw,description:Oo.description,format:Oo.format,default:Oo.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:YC,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:QC}},XML:{$visitor:t8,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:Fj,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:$j,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:qj,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Wj}},SecurityRequirement:{$visitor:gC}},extension:{$visitor:d5}}}},Gj=t=>{if(io(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Yj={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"],...Wl},Zj={namespace:t=>{const{base:e}=t;return e.register("callback",jd),e.register("components",Id),e.register("contact",Pd),e.register("discriminator",Td),e.register("encoding",my),e.register("example",Nd),e.register("externalDocumentation",Md),e.register("header",Rd),e.register("info",Dd),e.register("license",Bd),e.register("link",Fd),e.register("mediaType",Ld),e.register("oAuthFlow",gy),e.register("oAuthFlows",yy),e.register("openapi",$d),e.register("openApi3_0",vy),e.register("operation",Ud),e.register("parameter",qd),e.register("pathItem",zd),e.register("paths",Vd),e.register("reference",Wd),e.register("requestBody",Jd),e.register("response",Hd),e.register("responses",Kd),e.register("schema",Ay),e.register("securityRequirement",em),e.register("securityScheme",tm),e.register("server",rm),e.register("serverVariable",nm),e.register("tag",Oy),e.register("xml",ky),e}},Xj=Zj,Qj=()=>{const t=Ec(Xj);return{predicates:{...Q,isElement:io,isStringElement:Gr,isArrayElement:ni,isObjectElement:Vn,isMemberElement:ll,includesClasses:xf,hasElementSourceMap:xd},namespace:t}},e9=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,at.e)(t),o=su(At),s=new(Do(e,o))({specObj:o});return go(n,s),Jl(s.element,r,{toolboxCreator:Qj,visitorOptions:{keyMap:Yj,nodeTypeGetter:Gj}})},Qn=t=>(e,r={})=>e9(e,{specPath:t,...r});jd.refract=Qn(["visitors","document","objects","Callback","$visitor"]),Id.refract=Qn(["visitors","document","objects","Components","$visitor"]),Pd.refract=Qn(["visitors","document","objects","Contact","$visitor"]),Nd.refract=Qn(["visitors","document","objects","Example","$visitor"]),Td.refract=Qn(["visitors","document","objects","Discriminator","$visitor"]),my.refract=Qn(["visitors","document","objects","Encoding","$visitor"]),Md.refract=Qn(["visitors","document","objects","ExternalDocumentation","$visitor"]),Rd.refract=Qn(["visitors","document","objects","Header","$visitor"]),Dd.refract=Qn(["visitors","document","objects","Info","$visitor"]),Bd.refract=Qn(["visitors","document","objects","License","$visitor"]),Fd.refract=Qn(["visitors","document","objects","Link","$visitor"]),Ld.refract=Qn(["visitors","document","objects","MediaType","$visitor"]),gy.refract=Qn(["visitors","document","objects","OAuthFlow","$visitor"]),yy.refract=Qn(["visitors","document","objects","OAuthFlows","$visitor"]),$d.refract=Qn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),vy.refract=Qn(["visitors","document","objects","OpenApi","$visitor"]),Ud.refract=Qn(["visitors","document","objects","Operation","$visitor"]),qd.refract=Qn(["visitors","document","objects","Parameter","$visitor"]),zd.refract=Qn(["visitors","document","objects","PathItem","$visitor"]),Vd.refract=Qn(["visitors","document","objects","Paths","$visitor"]),Wd.refract=Qn(["visitors","document","objects","Reference","$visitor"]),Jd.refract=Qn(["visitors","document","objects","RequestBody","$visitor"]),Hd.refract=Qn(["visitors","document","objects","Response","$visitor"]),Kd.refract=Qn(["visitors","document","objects","Responses","$visitor"]),Ay.refract=Qn(["visitors","document","objects","Schema","$visitor"]),em.refract=Qn(["visitors","document","objects","SecurityRequirement","$visitor"]),tm.refract=Qn(["visitors","document","objects","SecurityScheme","$visitor"]),rm.refract=Qn(["visitors","document","objects","Server","$visitor"]),nm.refract=Qn(["visitors","document","objects","ServerVariable","$visitor"]),Oy.refract=Qn(["visitors","document","objects","Tag","$visitor"]),ky.refract=Qn(["visitors","document","objects","XML","$visitor"]);const Py=class extends jd{},Ty=class extends Id{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}},Ny=class extends Pd{},Lb=class extends Td{},$b=class extends my{},My=class extends Nd{},Ry=class extends Md{},Dy=class extends Rd{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},By=class extends Dd{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)}};class Ub extends at.Om{static default=new Ub("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,r,n){super(e,r,n),this.element="jsonSchemaDialect"}}const am=Ub,Fy=class extends Bd{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},Ly=class extends Fd{},$y=class extends Ld{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},qb=class extends gy{},zb=class extends yy{},Vb=class extends $d{};class t9 extends at.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 cu=t9,om=class extends Ud{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}},Uy=class extends qd{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}},uu=class extends zd{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)}},qy=class extends Vd{};class Wb extends Wd{}Object.defineProperty(Wb.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0}),Object.defineProperty(Wb.prototype,"summary",{get(){return this.get("summary")},set(t){this.set("summary",t)},enumerable:!0});const Nf=Wb,zy=class extends Jd{},Vy=class extends Hd{},Wy=class extends Kd{},im=class extends kf{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft6"}get idProp(){throw new En("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new En("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)}},sm=class extends Yd{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 En("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new En("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 En("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new En("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new En("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new En("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 r9=bi((function t(e,r,n){if(e.length===0)return r;var o=e[0];if(e.length>1){var s=!by(n)&&Is(o,n)&&typeof n[o]=="object"?n[o]:gf(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,s)}return(function(h,E,k){if(gf(h)&&Gu(k)){var T=[].concat(k);return T[h]=E,T}var R={};for(var F in k)R[F]=k[F];return R[h]=E,R})(o,r,n)}));const Yt=r9;var n9=bi((function(e,r,n){var o=Array.prototype.slice.call(n,0);return o.splice(e,r),o}));const a9=n9;var o9=bi((function(e,r,n){return Yt([e],r,n)}));const i9=o9;var s9=on((function t(e,r){if(r==null)return r;switch(e.length){case 0:return r;case 1:return(function(b,h){if(h==null)return h;if(gf(b)&&Gu(h))return a9(b,1,h);var E={};for(var k in h)E[k]=h[k];return delete E[b],E})(e[0],r);default:var n=e[0],o=Array.prototype.slice.call(e,1);return r[n]==null?(function(b,h){if(gf(b)&&Gu(h))return[].concat(h);var E={};for(var k in h)E[k]=h[k];return E})(n,r):i9(n,t(o,r[n]),r)}}));const ms=s9,tE=class extends Tw{constructor(e){super(e),this.element=new im}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)}},l9=class extends Nw{BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),In}},c9=class extends Wn{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-examples"),r}},rE=class extends Rw{constructor(e){super(e),this.element=new sm}},oi=ei(Yt(["visitors","document","objects","JSONSchema","$visitor"],tE),ms(["visitors","document","objects","JSONSchema","fixedFields","id"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","$id"],ai.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","contains"],ai.visitors.JSONSchemaOrJSONReferenceVisitor),Yt(["visitors","document","objects","JSONSchema","fixedFields","items"],l9),Yt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],ai.visitors.JSONSchemaOrJSONReferenceVisitor),Yt(["visitors","document","objects","JSONSchema","fixedFields","const"],ai.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","examples"],c9),Yt(["visitors","document","objects","LinkDescription","$visitor"],rE),Yt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],ai.visitors.JSONSchemaOrJSONReferenceVisitor),ms(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Yt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],ai.visitors.JSONSchemaOrJSONReferenceVisitor),ms(["visitors","document","objects","LinkDescription","fixedFields","method"]),ms(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Yt(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],ai.visitors.value))(ai),u9={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Wl},p9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof im||t(n)&&e("JSONSchemaDraft6",n)&&r("object",n))),f9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sm||t(n)&&e("linkDescription",n)&&r("object",n))),h9={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft6",im),e.register("jSONReference",Cf),e.register("media",Gd),e.register("linkDescription",sm),e}},d9=h9,m9=()=>{const t=Ec(d9);return{predicates:{...se,isStringElement:Gr},namespace:t}},g9=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=oi}={})=>{const o=(0,at.e)(t),s=su(n),b=new(Do(e,s))({specObj:s});return go(o,b),Jl(b.element,r,{toolboxCreator:m9,visitorOptions:{keyMap:u9,nodeTypeGetter:Qd}})},nE=t=>(e,r={})=>g9(e,{specPath:t,...r});im.refract=nE(["visitors","document","objects","JSONSchema","$visitor"]),sm.refract=nE(["visitors","document","objects","LinkDescription","$visitor"]);const lm=class extends im{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 En('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new En('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)}},cm=class extends sm{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 En("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new En("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 En("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new En("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}},aE=class extends tE{constructor(e){super(e),this.element=new lm}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}},oE=class extends rE{constructor(e){super(e),this.element=new cm}},pu=ei(Yt(["visitors","document","objects","JSONSchema","$visitor"],aE),Yt(["visitors","document","objects","JSONSchema","fixedFields","$comment"],oi.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","if"],oi.visitors.JSONSchemaOrJSONReferenceVisitor),Yt(["visitors","document","objects","JSONSchema","fixedFields","then"],oi.visitors.JSONSchemaOrJSONReferenceVisitor),Yt(["visitors","document","objects","JSONSchema","fixedFields","else"],oi.visitors.JSONSchemaOrJSONReferenceVisitor),ms(["visitors","document","objects","JSONSchema","fixedFields","media"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],oi.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],oi.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],oi.visitors.value),Yt(["visitors","document","objects","LinkDescription","$visitor"],oE),Yt(["visitors","document","objects","LinkDescription","fixedFields","anchor"],oi.visitors.value),Yt(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],oi.visitors.value),ms(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Yt(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],oi.visitors.value),Yt(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],oi.visitors.value),Yt(["visitors","document","objects","LinkDescription","fixedFields","description"],oi.visitors.value),Yt(["visitors","document","objects","LinkDescription","fixedFields","$comment"],oi.visitors.value),Yt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],oi.visitors.JSONSchemaOrJSONReferenceVisitor),ms(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Yt(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],oi.visitors.value))(oi),y9={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...Wl},v9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof lm||t(n)&&e("JSONSchemaDraft7",n)&&r("object",n))),b9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof cm||t(n)&&e("linkDescription",n)&&r("object",n))),_9={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft7",lm),e.register("jSONReference",Cf),e.register("linkDescription",cm),e}},w9=_9,E9=()=>{const t=Ec(w9);return{predicates:{...le,isStringElement:Gr},namespace:t}},S9=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=pu}={})=>{const o=(0,at.e)(t),s=su(n),b=new(Do(e,s))({specObj:s});return go(o,b),Jl(b.element,r,{toolboxCreator:E9,visitorOptions:{keyMap:y9,nodeTypeGetter:Qd}})},iE=t=>(e,r={})=>S9(e,{specPath:t,...r});lm.refract=iE(["visitors","document","objects","JSONSchema","$visitor"]),cm.refract=iE(["visitors","document","objects","LinkDescription","$visitor"]);const um=class extends lm{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 En("definitions keyword from Validation vocabulary has been renamed to $defs.")}set definitions(e){throw new En("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 En("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}set dependencies(e){throw new En("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)}},pm=class extends cm{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)}},ii=class extends aE{constructor(e){super(e),this.element=new um}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=rp.prototype.ObjectElement.call(this,e);return Gr(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}},x9=class extends Wn{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),r}},A9=class extends Wn{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}};class O9 extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-$defs"),this.specPath=zr(["document","objects","JSONSchema"])}}const sE=O9;class k9 extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.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),In}}const lE=k9;class C9 extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.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),In}}const cE=C9;class j9 extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.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),In}}const uE=j9;class I9 extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=zr(["document","objects","JSONSchema"])}}const pE=I9;class P9 extends zt(ds,yo,Wn){ObjectElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),In}ArrayElement(e){return this.element=new at.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),In}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),In}}const T9=P9;class N9 extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-properties"),this.specPath=zr(["document","objects","JSONSchema"])}}const fE=N9;class M9 extends zt(lu,yo,Wn){constructor(e){super(e),this.element=new at.Sh,this.element.classes.push("json-schema-patternProperties"),this.specPath=zr(["document","objects","JSONSchema"])}}const hE=M9,R9=class extends Wn{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),r}},dE=class extends oE{constructor(e){super(e),this.element=new pm}},Jy=ei(Yt(["visitors","document","objects","JSONSchema","$visitor"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","$vocabulary"],x9),Yt(["visitors","document","objects","JSONSchema","fixedFields","$anchor"],pu.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"],pu.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"],pu.visitors.value),ms(["visitors","document","objects","JSONReference","$visitor"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","$ref"],A9),ms(["visitors","document","objects","JSONSchema","fixedFields","definitions"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","$defs"],sE),Yt(["visitors","document","objects","JSONSchema","fixedFields","allOf"],lE),Yt(["visitors","document","objects","JSONSchema","fixedFields","anyOf"],cE),Yt(["visitors","document","objects","JSONSchema","fixedFields","oneOf"],uE),Yt(["visitors","document","objects","JSONSchema","fixedFields","not"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","if"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","then"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","else"],ii),ms(["visitors","document","objects","JSONSchema","fixedFields","dependencies"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","dependentSchemas"],pE),Yt(["visitors","document","objects","JSONSchema","fixedFields","items"],T9),Yt(["visitors","document","objects","JSONSchema","fixedFields","contains"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","properties"],fE),Yt(["visitors","document","objects","JSONSchema","fixedFields","patternProperties"],hE),Yt(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],ii),Yt(["visitors","document","objects","JSONSchema","fixedFields","maxContains"],pu.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","minContains"],pu.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","dependentRequired"],R9),Yt(["visitors","document","objects","JSONSchema","fixedFields","deprecated"],pu.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],ii),Yt(["visitors","document","objects","LinkDescription","$visitor"],dE),Yt(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],ii),Yt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],ii),Yt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],ii),Yt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],ii))(pu),D9={JSONSchema201909Element:["content"],LinkDescriptionElement:["content"],...Wl},B9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof um||t(n)&&e("JSONSchema201909",n)&&r("object",n))),F9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pm||t(n)&&e("linkDescription",n)&&r("object",n))),L9={namespace:t=>{const{base:e}=t;return e.register("jSONSchema201909",um),e.register("linkDescription",pm),e}},$9=L9,U9=()=>{const t=Ec($9);return{predicates:{...Pe,isStringElement:Gr},namespace:t}},q9=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Jy}={})=>{const o=(0,at.e)(t),s=su(n),b=new(Do(e,s))({specObj:s});return go(o,b),Jl(b.element,r,{toolboxCreator:U9,visitorOptions:{keyMap:D9,nodeTypeGetter:Qd}})},mE=t=>(e,r={})=>q9(e,{specPath:t,...r});um.refract=mE(["visitors","document","objects","JSONSchema","$visitor"]),pm.refract=mE(["visitors","document","objects","LinkDescription","$visitor"]);const fm=class extends um{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 En("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}set $recursiveAnchor(e){throw new En("$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 En("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}set $recursiveRef(e){throw new En("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}},Hy=class extends pm{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)}},ko=class extends ii{constructor(e){super(e),this.element=new fm}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2020-12/schema"}};class z9 extends zt(ds,yo,Wn){constructor(e){super(e),this.element=new at.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),In}}const gE=z9,V9=class extends dE{constructor(e){super(e),this.element=new Hy}},yE=ei(Yt(["visitors","document","objects","JSONSchema","$visitor"],ko),ms(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","$dynamicAnchor"],Jy.visitors.value),ms(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","$dynamicRef"],Jy.visitors.value),Yt(["visitors","document","objects","JSONSchema","fixedFields","not"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","if"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","then"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","else"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","prefixItems"],gE),Yt(["visitors","document","objects","JSONSchema","fixedFields","items"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","contains"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],ko),ms(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"]),Yt(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],ko),Yt(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],ko),Yt(["visitors","document","objects","LinkDescription","$visitor"],V9),Yt(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],ko),Yt(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],ko),Yt(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],ko),Yt(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],ko))(Jy),W9={JSONSchema202012Element:["content"],LinkDescriptionElement:["content"],...Wl},J9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fm||t(n)&&e("JSONSchema202012",n)&&r("object",n))),H9=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Hy||t(n)&&e("linkDescription",n)&&r("object",n))),K9={namespace:t=>{const{base:e}=t;return e.register("jSONSchema202012",fm),e.register("linkDescription",Hy),e}},G9=K9,Y9=()=>{const t=Ec(G9);return{predicates:{...he,isStringElement:Gr},namespace:t}},Z9=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=yE}={})=>{const o=(0,at.e)(t),s=su(n),b=new(Do(e,s))({specObj:s});return go(o,b),Jl(b.element,r,{toolboxCreator:Y9,visitorOptions:{keyMap:W9,nodeTypeGetter:Qd}})},vE=t=>(e,r={})=>Z9(e,{specPath:t,...r});fm.refract=vE(["visitors","document","objects","JSONSchema","$visitor"]),Hy.refract=vE(["visitors","document","objects","LinkDescription","$visitor"]);const fu=class extends fm{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)}},Ky=class extends em{},Gy=class extends tm{},Yy=class extends rm{},Zy=class extends nm{},Jb=class extends Oy{},Hb=class extends ky{};class X9 extends zt(yn,ir){constructor(e){super(e),this.element=new cu,this.specPath=zr(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(e){return this.openApiGenericElement=e,yn.prototype.ObjectElement.call(this,e)}}const Q9=X9,e7=At.visitors.document.objects.Info.$visitor,t7=class extends e7{constructor(e){super(e),this.element=new By}},r7=At.visitors.document.objects.Contact.$visitor,n7=class extends r7{constructor(e){super(e),this.element=new Ny}},a7=At.visitors.document.objects.License.$visitor,o7=class extends a7{constructor(e){super(e),this.element=new Fy}},i7=At.visitors.document.objects.Link.$visitor,s7=class extends i7{constructor(e){super(e),this.element=new Ly}};class l7 extends zt(ul,ir){StringElement(e){const r=new am(Tt(e));return this.copyMetaAndAttributes(e,r),this.element=r,In}}const c7=l7,u7=At.visitors.document.objects.Server.$visitor,p7=class extends u7{constructor(e){super(e),this.element=new Yy}},f7=At.visitors.document.objects.ServerVariable.$visitor,h7=class extends f7{constructor(e){super(e),this.element=new Zy}},d7=At.visitors.document.objects.MediaType.$visitor,m7=class extends d7{constructor(e){super(e),this.element=new $y}},g7=At.visitors.document.objects.SecurityRequirement.$visitor,y7=class extends g7{constructor(e){super(e),this.element=new Ky}},v7=At.visitors.document.objects.Components.$visitor,b7=class extends v7{constructor(e){super(e),this.element=new Ty}},_7=At.visitors.document.objects.Tag.$visitor,w7=class extends _7{constructor(e){super(e),this.element=new Jb}},E7=At.visitors.document.objects.Reference.$visitor,S7=class extends E7{constructor(e){super(e),this.element=new Nf}},x7=At.visitors.document.objects.Parameter.$visitor,A7=class extends x7{constructor(e){super(e),this.element=new Uy}},O7=At.visitors.document.objects.Header.$visitor,k7=class extends O7{constructor(e){super(e),this.element=new Dy}},C7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Py||t(n)&&e("callback",n)&&r("object",n))),j7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ty||t(n)&&e("components",n)&&r("object",n))),I7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ny||t(n)&&e("contact",n)&&r("object",n))),P7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof My||t(n)&&e("example",n)&&r("object",n))),T7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ry||t(n)&&e("externalDocumentation",n)&&r("object",n))),N7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Dy||t(n)&&e("header",n)&&r("object",n))),M7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof By||t(n)&&e("info",n)&&r("object",n))),bE=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof am||t(n)&&e("jsonSchemaDialect",n)&&r("string",n))),R7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Fy||t(n)&&e("license",n)&&r("object",n))),D7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ly||t(n)&&e("link",n)&&r("object",n))),B7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Vb||t(n)&&e("openapi",n)&&r("string",n))),_E=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>o=>o instanceof cu||t(o)&&e("openApi3_1",o)&&r("object",o)&&n("api",o))),wE=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof om||t(n)&&e("operation",n)&&r("object",n))),F7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Uy||t(n)&&e("parameter",n)&&r("object",n))),np=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof uu||t(n)&&e("pathItem",n)&&r("object",n))),L7=t=>{if(!np(t)||!Gr(t.$ref))return!1;const e=Tt(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},$7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof qy||t(n)&&e("paths",n)&&r("object",n))),ap=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Nf||t(n)&&e("reference",n)&&r("object",n))),U7=t=>{if(!ap(t)||!Gr(t.$ref))return!1;const e=Tt(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},q7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof zy||t(n)&&e("requestBody",n)&&r("object",n))),z7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Vy||t(n)&&e("response",n)&&r("object",n))),V7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Wy||t(n)&&e("responses",n)&&r("object",n))),pl=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fu||t(n)&&e("schema",n)&&r("object",n))),Kb=t=>Sd(t)&&t.classes.includes("boolean-json-schema"),W7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ky||t(n)&&e("securityRequirement",n)&&r("object",n))),J7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Gy||t(n)&&e("securityScheme",n)&&r("object",n))),H7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Yy||t(n)&&e("server",n)&&r("object",n))),K7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Zy||t(n)&&e("serverVariable",n)&&r("object",n))),G7=rr((({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof $y||t(n)&&e("mediaType",n)&&r("object",n)));class Y7 extends zt(yn,yo,ir){constructor(e){super(e),this.element=new fu,this.specPath=zr(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=am.default,this.passingOptionsNames.push("parent")}ObjectElement(e){this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element;const r=yn.prototype.ObjectElement.call(this,e);return Gr(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(e){return ko.prototype.BooleanElement.call(this,e)}get defaultDialectIdentifier(){let e;return e=this.openApiSemanticElement!==void 0&&bE(this.openApiSemanticElement.jsonSchemaDialect)?Tt(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&Gr(this.openApiGenericElement.get("jsonSchemaDialect"))?Tt(this.openApiGenericElement.get("jsonSchemaDialect")):Tt(this.jsonSchemaDefaultDialect),e}handleDialectIdentifier(e){return ko.prototype.handleDialectIdentifier.call(this,e)}handleSchemaIdentifier(e){return ko.prototype.handleSchemaIdentifier.call(this,e)}}const Z7=Y7,X7=class extends sE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},Q7=class extends lE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},eI=class extends cE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},tI=class extends uE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},rI=class extends pE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},nI=class extends gE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},aI=class extends fE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},oI=class extends hE{constructor(e){super(e),this.passingOptionsNames.push("parent")}},iI=At.visitors.document.objects.Discriminator.$visitor,sI=class extends iI{constructor(e){super(e),this.element=new Lb,this.canSupportSpecificationExtensions=!0}},lI=At.visitors.document.objects.XML.$visitor,cI=class extends lI{constructor(e){super(e),this.element=new Hb}};class uI extends zt(dn,ir){constructor(e){super(e),this.element=new Kw,this.specPath=zr(["document","objects","Schema"])}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(pl).forEach(((n,o)=>{n.setMetaProperty("schemaName",Tt(o))})),r}}const pI=uI;class Gb extends at.Sh{static primaryClass="components-path-items";constructor(e,r,n){super(e,r,n),this.classes.push(Gb.primaryClass)}}const fI=Gb;class hI extends zt(dn,ir){constructor(e){super(e),this.element=new fI,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ap).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),r}}const dI=hI,mI=At.visitors.document.objects.Example.$visitor,gI=class extends mI{constructor(e){super(e),this.element=new My}},yI=At.visitors.document.objects.ExternalDocumentation.$visitor,vI=class extends yI{constructor(e){super(e),this.element=new Ry}},bI=At.visitors.document.objects.Encoding.$visitor,_I=class extends bI{constructor(e){super(e),this.element=new $b}},wI=At.visitors.document.objects.Paths.$visitor,EI=class extends wI{constructor(e){super(e),this.element=new qy}},SI=At.visitors.document.objects.RequestBody.$visitor,xI=class extends SI{constructor(e){super(e),this.element=new zy}},EE=At.visitors.document.objects.Callback.$visitor,AI=class extends EE{constructor(e){super(e),this.element=new Py,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=EE.prototype.ObjectElement.call(this,e);return this.element.filter(ap).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),r}},OI=At.visitors.document.objects.Response.$visitor,kI=class extends OI{constructor(e){super(e),this.element=new Vy}},CI=At.visitors.document.objects.Responses.$visitor,jI=class extends CI{constructor(e){super(e),this.element=new Wy}},II=At.visitors.document.objects.Operation.$visitor,PI=class extends II{constructor(e){super(e),this.element=new om}},TI=At.visitors.document.objects.PathItem.$visitor,NI=class extends TI{constructor(e){super(e),this.element=new uu}},MI=At.visitors.document.objects.SecurityScheme.$visitor,RI=class extends MI{constructor(e){super(e),this.element=new Gy}},DI=At.visitors.document.objects.OAuthFlows.$visitor,BI=class extends DI{constructor(e){super(e),this.element=new zb}},FI=At.visitors.document.objects.OAuthFlow.$visitor,LI=class extends FI{constructor(e){super(e),this.element=new qb}};class Yb extends at.Sh{static primaryClass="webhooks";constructor(e,r,n){super(e,r,n),this.classes.push(Yb.primaryClass)}}const $I=Yb;class UI extends zt(dn,ir){constructor(e){super(e),this.element=new $I,this.specPath=r=>xa(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=dn.prototype.ObjectElement.call(this,e);return this.element.filter(ap).forEach((n=>{n.setMetaProperty("referenced-element","pathItem")})),this.element.filter(np).forEach(((n,o)=>{n.setMetaProperty("webhook-name",Tt(o))})),r}}const qI=UI,{JSONSchema:zI,LinkDescription:VI}=yE.visitors.document.objects,WI={visitors:{value:At.visitors.value,document:{objects:{OpenApi:{$visitor:Q9,fixedFields:{openapi:At.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:c7,servers:At.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:qI,components:{$ref:"#/visitors/document/objects/Components"},security:At.visitors.document.objects.OpenApi.fixedFields.security,tags:At.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:t7,fixedFields:{title:At.visitors.document.objects.Info.fixedFields.title,description:At.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:At.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:At.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:n7,fixedFields:{name:At.visitors.document.objects.Contact.fixedFields.name,url:At.visitors.document.objects.Contact.fixedFields.url,email:At.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:o7,fixedFields:{name:At.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:At.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:p7,fixedFields:{url:At.visitors.document.objects.Server.fixedFields.url,description:At.visitors.document.objects.Server.fixedFields.description,variables:At.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:h7,fixedFields:{enum:At.visitors.document.objects.ServerVariable.fixedFields.enum,default:At.visitors.document.objects.ServerVariable.fixedFields.default,description:At.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:b7,fixedFields:{schemas:pI,responses:At.visitors.document.objects.Components.fixedFields.responses,parameters:At.visitors.document.objects.Components.fixedFields.parameters,examples:At.visitors.document.objects.Components.fixedFields.examples,requestBodies:At.visitors.document.objects.Components.fixedFields.requestBodies,headers:At.visitors.document.objects.Components.fixedFields.headers,securitySchemes:At.visitors.document.objects.Components.fixedFields.securitySchemes,links:At.visitors.document.objects.Components.fixedFields.links,callbacks:At.visitors.document.objects.Components.fixedFields.callbacks,pathItems:dI}},Paths:{$visitor:EI},PathItem:{$visitor:NI,fixedFields:{$ref:At.visitors.document.objects.PathItem.fixedFields.$ref,summary:At.visitors.document.objects.PathItem.fixedFields.summary,description:At.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:At.visitors.document.objects.PathItem.fixedFields.servers,parameters:At.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:PI,fixedFields:{tags:At.visitors.document.objects.Operation.fixedFields.tags,summary:At.visitors.document.objects.Operation.fixedFields.summary,description:At.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:At.visitors.document.objects.Operation.fixedFields.operationId,parameters:At.visitors.document.objects.Operation.fixedFields.parameters,requestBody:At.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:At.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:At.visitors.document.objects.Operation.fixedFields.deprecated,security:At.visitors.document.objects.Operation.fixedFields.security,servers:At.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:vI,fixedFields:{description:At.visitors.document.objects.ExternalDocumentation.fixedFields.description,url:At.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:A7,fixedFields:{name:At.visitors.document.objects.Parameter.fixedFields.name,in:At.visitors.document.objects.Parameter.fixedFields.in,description:At.visitors.document.objects.Parameter.fixedFields.description,required:At.visitors.document.objects.Parameter.fixedFields.required,deprecated:At.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:At.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:At.visitors.document.objects.Parameter.fixedFields.style,explode:At.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:At.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:At.visitors.document.objects.Parameter.fixedFields.example,examples:At.visitors.document.objects.Parameter.fixedFields.examples,content:At.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:xI,fixedFields:{description:At.visitors.document.objects.RequestBody.fixedFields.description,content:At.visitors.document.objects.RequestBody.fixedFields.content,required:At.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:m7,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:At.visitors.document.objects.MediaType.fixedFields.example,examples:At.visitors.document.objects.MediaType.fixedFields.examples,encoding:At.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:_I,fixedFields:{contentType:At.visitors.document.objects.Encoding.fixedFields.contentType,headers:At.visitors.document.objects.Encoding.fixedFields.headers,style:At.visitors.document.objects.Encoding.fixedFields.style,explode:At.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:At.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:jI,fixedFields:{default:At.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:kI,fixedFields:{description:At.visitors.document.objects.Response.fixedFields.description,headers:At.visitors.document.objects.Response.fixedFields.headers,content:At.visitors.document.objects.Response.fixedFields.content,links:At.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:AI},Example:{$visitor:gI,fixedFields:{summary:At.visitors.document.objects.Example.fixedFields.summary,description:At.visitors.document.objects.Example.fixedFields.description,value:At.visitors.document.objects.Example.fixedFields.value,externalValue:At.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:s7,fixedFields:{operationRef:At.visitors.document.objects.Link.fixedFields.operationRef,operationId:At.visitors.document.objects.Link.fixedFields.operationId,parameters:At.visitors.document.objects.Link.fixedFields.parameters,requestBody:At.visitors.document.objects.Link.fixedFields.requestBody,description:At.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:k7,fixedFields:{description:At.visitors.document.objects.Header.fixedFields.description,required:At.visitors.document.objects.Header.fixedFields.required,deprecated:At.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:At.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:At.visitors.document.objects.Header.fixedFields.style,explode:At.visitors.document.objects.Header.fixedFields.explode,allowReserved:At.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:At.visitors.document.objects.Header.fixedFields.example,examples:At.visitors.document.objects.Header.fixedFields.examples,content:At.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:w7,fixedFields:{name:At.visitors.document.objects.Tag.fixedFields.name,description:At.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:S7,fixedFields:{$ref:At.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},LinkDescription:{...VI},Schema:{$visitor:Z7,fixedFields:{...zI.fixedFields,$defs:X7,allOf:Q7,anyOf:eI,oneOf:tI,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:rI,prefixItems:nI,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:aI,patternProperties:oI,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:sI,fixedFields:{propertyName:At.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:At.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:cI,fixedFields:{name:At.visitors.document.objects.XML.fixedFields.name,namespace:At.visitors.document.objects.XML.fixedFields.namespace,prefix:At.visitors.document.objects.XML.fixedFields.prefix,attribute:At.visitors.document.objects.XML.fixedFields.attribute,wrapped:At.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:RI,fixedFields:{type:At.visitors.document.objects.SecurityScheme.fixedFields.type,description:At.visitors.document.objects.SecurityScheme.fixedFields.description,name:At.visitors.document.objects.SecurityScheme.fixedFields.name,in:At.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:At.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:At.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:At.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:BI,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:LI,fixedFields:{authorizationUrl:At.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:At.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:At.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:At.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:y7}},extension:{$visitor:At.visitors.document.extension.$visitor}}}},Ms=t=>{if(io(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},fl={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"],...Wl},JI={namespace:t=>{const{base:e}=t;return e.register("callback",Py),e.register("components",Ty),e.register("contact",Ny),e.register("discriminator",Lb),e.register("encoding",$b),e.register("example",My),e.register("externalDocumentation",Ry),e.register("header",Dy),e.register("info",By),e.register("jsonSchemaDialect",am),e.register("license",Fy),e.register("link",Ly),e.register("mediaType",$y),e.register("oAuthFlow",qb),e.register("oAuthFlows",zb),e.register("openapi",Vb),e.register("openApi3_1",cu),e.register("operation",om),e.register("parameter",Uy),e.register("pathItem",uu),e.register("paths",qy),e.register("reference",Nf),e.register("requestBody",zy),e.register("response",Vy),e.register("responses",Wy),e.register("schema",fu),e.register("securityRequirement",Ky),e.register("securityScheme",Gy),e.register("server",Yy),e.register("serverVariable",Zy),e.register("tag",Jb),e.register("xml",Hb),e}},Zb=JI,HI=t=>{const e=t.reduce(((r,n,o)=>{if(ll(n)){const s=String(Tt(n.key));r.push(s)}else if(ni(t[o-2])){const s=String(t[o-2].content.indexOf(n));r.push(s)}return r}),[]);return mw(e)},SE=()=>{const t=Ec(Zb);return{predicates:{...ge,isElement:io,isStringElement:Gr,isArrayElement:ni,isObjectElement:Vn,isMemberElement:ll,isServersElement:$w,includesClasses:xf,hasElementSourceMap:xd},ancestorLineageToJSONPointer:HI,namespace:t}},KI=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=(0,at.e)(t),o=su(WI),s=new(Do(e,o))({specObj:o});return go(n,s),Jl(s.element,r,{toolboxCreator:SE,visitorOptions:{keyMap:fl,nodeTypeGetter:Ms}})},Gn=t=>(e,r={})=>KI(e,{specPath:t,...r});Py.refract=Gn(["visitors","document","objects","Callback","$visitor"]),Ty.refract=Gn(["visitors","document","objects","Components","$visitor"]),Ny.refract=Gn(["visitors","document","objects","Contact","$visitor"]),My.refract=Gn(["visitors","document","objects","Example","$visitor"]),Lb.refract=Gn(["visitors","document","objects","Discriminator","$visitor"]),$b.refract=Gn(["visitors","document","objects","Encoding","$visitor"]),Ry.refract=Gn(["visitors","document","objects","ExternalDocumentation","$visitor"]),Dy.refract=Gn(["visitors","document","objects","Header","$visitor"]),By.refract=Gn(["visitors","document","objects","Info","$visitor"]),am.refract=Gn(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]),Fy.refract=Gn(["visitors","document","objects","License","$visitor"]),Ly.refract=Gn(["visitors","document","objects","Link","$visitor"]),$y.refract=Gn(["visitors","document","objects","MediaType","$visitor"]),qb.refract=Gn(["visitors","document","objects","OAuthFlow","$visitor"]),zb.refract=Gn(["visitors","document","objects","OAuthFlows","$visitor"]),Vb.refract=Gn(["visitors","document","objects","OpenApi","fixedFields","openapi"]),cu.refract=Gn(["visitors","document","objects","OpenApi","$visitor"]),om.refract=Gn(["visitors","document","objects","Operation","$visitor"]),Uy.refract=Gn(["visitors","document","objects","Parameter","$visitor"]),uu.refract=Gn(["visitors","document","objects","PathItem","$visitor"]),qy.refract=Gn(["visitors","document","objects","Paths","$visitor"]),Nf.refract=Gn(["visitors","document","objects","Reference","$visitor"]),zy.refract=Gn(["visitors","document","objects","RequestBody","$visitor"]),Vy.refract=Gn(["visitors","document","objects","Response","$visitor"]),Wy.refract=Gn(["visitors","document","objects","Responses","$visitor"]),fu.refract=Gn(["visitors","document","objects","Schema","$visitor"]),Ky.refract=Gn(["visitors","document","objects","SecurityRequirement","$visitor"]),Gy.refract=Gn(["visitors","document","objects","SecurityScheme","$visitor"]),Yy.refract=Gn(["visitors","document","objects","Server","$visitor"]),Zy.refract=Gn(["visitors","document","objects","ServerVariable","$visitor"]),Jb.refract=Gn(["visitors","document","objects","Tag","$visitor"]),Hb.refract=Gn(["visitors","document","objects","XML","$visitor"]);const Xb=class extends En{},GI=class extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new Xb("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new Xb("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new Xb("latest method in MediaTypes class is not yet implemented.")}};class Qb extends GI{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((o=>o.includes(n)))||this.unknownMediaType}latest(e="generic"){return Qg(this.filterByFormat(e))}}const Mf=new Qb("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"),Sc=class{uri;depth;value;refSet;errors;constructor({uri:e,depth:r=0,refSet:n,value:o}){this.uri=e,this.value=o,this.depth=r,this.refSet=n,this.errors=[]}},Rf=class{rootRef;refs;circular;constructor({refs:e=[],circular:r=!1}={}){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=Xu(e)?e:e.uri;return n_(this.find((n=>n.uri===r)))}find(e){return this.refs.find(e)}*values(){yield*this.refs}clean(){this.refs.forEach((e=>{e.refSet=void 0})),this.rootRef=void 0,this.refs.length=0}};function YI(t){return t}const xE=ra(YI),AE={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:xE,immutable:!0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},ZI=on((function(e,r){return function(n){return function(o){return ty((function(s){return r(s,o)}),n(e(o)))}}}));var OE=function(t){return{value:t,map:function(e){return OE(e(t))}}},XI=bi((function(e,r,n){return e((function(o){return OE(r(o))}))(n).value}));const QI=XI,eP=eu(""),tP=ZI(Do(["resolve","baseURI"]),Yt(["resolve","baseURI"])),rP=t=>eP(t)?Sv():t,kE=(t,e)=>{const r=hy(t,e);return QI(tP,rP,r)},hm=class{uri;mediaType;data;parseResult;constructor({uri:e,mediaType:r="text/plain",data:n,parseResult:o}){this.uri=e,this.mediaType=r,this.data=n,this.parseResult=o}get extension(){return Xu(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(ol(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}},nP=class extends Ja{plugin;constructor(e,r){super(e,{cause:r.cause}),this.plugin=r.plugin}},e1=async(t,e,r)=>{const n=await Promise.all(r.map(kd([t],e)));return r.filter(((o,s)=>n[s]))},t1=async(t,e,r)=>{let n;for(const o of r)try{const s=await o[t].call(o,...e);return{plugin:o,result:s}}catch(s){n=new nP("Error while running plugin",{cause:s,plugin:o})}return Promise.reject(n)},r1=class extends Ja{},CE=class extends r1{},aP=async(t,e)=>{let r=t,n=!1;if(!Z_(t)){const b=Ro(t);b.classes.push("result"),r=new sl([b]),n=!0}const o=new hm({uri:e.resolve.baseURI,parseResult:r,mediaType:e.parse.mediaType}),s=await e1("canDereference",[o,e],e.dereference.strategies);if(Od(s))throw new CE(o.uri);try{const{result:b}=await t1("dereference",[o,e],s);return n?b.get(0):b}catch(b){throw new r1(`Error while dereferencing file "${o.uri}"`,{cause:b})}},n1=class extends Ja{},xc=class extends n1{},dm=class{name;allowEmpty;sourceMap;fileExtensions;mediaTypes;constructor({name:e,allowEmpty:r=!0,sourceMap:n=!1,fileExtensions:o=[],mediaTypes:s=[]}){this.name=e,this.allowEmpty=r,this.sourceMap=n,this.fileExtensions=o,this.mediaTypes=s}},oP=class extends dm{constructor(e){super({...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),o=new sl;if(n.length!==0){const s=new at.Om(n);s.classes.push("result"),o.push(s)}return o}catch(r){throw new xc(`Error parsing "${e.uri}"`,{cause:r})}}},iP=class{name;constructor({name:e}){this.name=e}},sP=class extends iP{constructor(e){super({...e??{},name:"openapi-3-1"})}canResolve(e,r){const n=r.dereference.strategies.find((o=>o.name==="openapi-3-1"));return n!==void 0&&n.canDereference(e,r)}async resolve(e,r){const n=r.dereference.strategies.find((b=>b.name==="openapi-3-1"));if(n===void 0)throw new CE('"openapi-3-1" dereference strategy is not available.');const o=new Rf,s=kE(r,{resolve:{internal:!1},dereference:{refSet:o}});return await n.dereference(e,s),o}},lP=class{name;constructor({name:e}){this.name=e}},cP=class extends lP{timeout;redirects;withCredentials;constructor(e){const{name:r="http-resolver",timeout:n=5e3,redirects:o=5,withCredentials:s=!1}=e??{};super({name:r}),this.timeout=n,this.redirects=o,this.withCredentials=s}canRead(e){return Ev(e.uri)}},a1=class extends Ja{},jE=class extends a1{},{AbortController:uP,AbortSignal:pP}=globalThis;globalThis.AbortController===void 0&&(globalThis.AbortController=uP),globalThis.AbortSignal===void 0&&(globalThis.AbortSignal=pP);const fP=class extends cP{swaggerHTTPClient=_d;swaggerHTTPClientConfig;constructor({swaggerHTTPClient:e=_d,swaggerHTTPClientConfig:r={},...n}={}){super({...n,name:"http-swagger-client"}),this.swaggerHTTPClient=e,this.swaggerHTTPClientConfig=r}getHttpClient(){return this.swaggerHTTPClient}async read(e){const r=this.getHttpClient(),n=new AbortController,{signal:o}=n,s=setTimeout((()=>{n.abort()}),this.timeout),b=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",h=this.redirects===0?"error":"follow",E=this.redirects>0?this.redirects:void 0;try{return(await r({url:e.uri,signal:o,userFetch:async(k,T)=>{let R=await fetch(k,T);try{R.headers.delete("Content-Type")}catch{R=new Response(R.body,{...R,headers:new Headers(R.headers)}),R.headers.delete("Content-Type")}return R},credentials:b,redirect:h,follow:E,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(k){throw new jE(`Error downloading "${e.uri}"`,{cause:k})}finally{clearTimeout(s)}}},IE=(t,e=pw)=>{if(Xu(t))try{return e.fromRefract(JSON.parse(t))}catch{}return il(t)&&Zd("element",t)?e.fromRefract(t):e.toElement(t)},hP=class extends dm{constructor(e={}){super({name:"json-swagger-client",mediaTypes:["application/json"],...e})}async canParse(e){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{return!1}return!1}async parse(e){if(this.sourceMap)throw new xc("json-swagger-client parser plugin doesn't support sourceMaps option");const r=new sl,n=e.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const o=IE(JSON.parse(n));return o.classes.push("result"),r.push(o),r}catch(o){throw new xc(`Error parsing "${e.uri}"`,{cause:o})}}},dP=class extends dm{constructor(e={}){super({name:"yaml-1-2-swagger-client",mediaTypes:["text/yaml","application/yaml"],...e})}async canParse(e){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 xo.load(e.toString(),{schema:Ji}),!0}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new xc("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const r=new sl,n=e.toString();try{const o=xo.load(n,{schema:Ji});if(this.allowEmpty&&o===void 0)return r;const s=IE(o);return s.classes.push("result"),r.push(s),r}catch(o){throw new xc(`Error parsing "${e.uri}"`,{cause:o})}}},mP=class extends dm{detectionRegExp=/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/;constructor(e={}){super({name:"openapi-json-3-1-swagger-client",mediaTypes:new Qb(...Mf.filterByFormat("generic"),...Mf.filterByFormat("json")),...e})}async canParse(e){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{const o=e.toString();return JSON.parse(o),this.detectionRegExp.test(o)}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new xc("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const r=new sl,n=e.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const o=JSON.parse(n),s=cu.refract(o,this.refractorOpts);return s.classes.push("result"),r.push(s),r}catch(o){throw new xc(`Error parsing "${e.uri}"`,{cause:o})}}},gP=class extends dm{detectionRegExp=/(?<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;constructor(e={}){super({name:"openapi-yaml-3-1-swagger-client",mediaTypes:new Qb(...Mf.filterByFormat("generic"),...Mf.filterByFormat("yaml")),...e})}async canParse(e){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{const o=e.toString();return xo.load(o),this.detectionRegExp.test(o)}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new xc("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const r=new sl,n=e.toString();try{const o=xo.load(n,{schema:Ji});if(this.allowEmpty&&o===void 0)return r;const s=cu.refract(o,this.refractorOpts);return s.classes.push("result"),r.push(s),r}catch(o){throw new xc(`Error parsing "${e.uri}"`,{cause:o})}}},PE=bi((function(e,r,n){return eu(e,vd(r,n))})),yP=class{name;constructor({name:e}){this.name=e}},vP=on((function(e,r){return Vv(G2(e),r)}));var bP=qe(8068);const _P=class extends Ul{value;constructor(e,r){super(e,r),r!==void 0&&(this.value=r.value)}};class o1{uuid;identityMap;constructor({length:e=6}={}){this.uuid=new bP({length:e}),this.identityMap=new WeakMap}identify(e){if(!io(e))throw new _P("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&Gr(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 at.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 o1;const TE=bi((function(e,r,n){return bf(e,uv(r,n))})),NE=(t,e)=>{const r=new ow({predicate:t,returnOnTrue:In});return go(e,r),TE(void 0,[0],r.result)},ME=class extends Ja{},wP=class extends ME{},EP=class extends ME{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}},Xy=t=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(t),Df=t=>{const e=p_(t);return _w("#",e)},i1=(t,e)=>{const r=(o=>{if(!Xy(o))throw new EP(o);return o})(t),n=NE((o=>pl(o)&&Tt(o.$anchor)===r),e);if(nu(n))throw new wP(`Evaluation failed on token: "${r}"`);return n},SP=(t,e)=>{const r=new ow({predicate:t});return go(e,r),new at.G6(r.result)},xP=class extends Ja{},s1=class extends xP{},RE=(t,e)=>{if(e.$ref===void 0)return;const r=p_(Tt(e.$ref)),n=Tt(e.meta.get("ancestorsSchemaIdentifiers"));return`${vf(((s,b)=>ti(s,ny(ga(b)))),t,[...n,Tt(e.$ref)])}${r==="#"?"":r}`},mm=t=>{if(mm.cache.has(t))return mm.cache.get(t);const e=fu.refract(t);return mm.cache.set(t,e),e};mm.cache=new WeakMap;const _i=t=>Qu(t)?mm(t):t,Qy=(t,e)=>{const{cache:r}=Qy,n=ga(t),o=b=>pl(b)&&b.$id!==void 0;if(!r.has(e)){const b=SP(o,e);r.set(e,Array.from(b))}const s=r.get(e).find((b=>((E,k)=>{if(k.$id===void 0)return;const T=Tt(k.meta.get("ancestorsSchemaIdentifiers"));return vf(((R,F)=>ti(R,ny(ga(F)))),E,T)})(n,b)===n));if(nu(s))throw new s1(`Evaluation failed on URI: "${t}"`);return Xy(Df(t))?i1(Df(t),s):cl(s,Ts(t))};Qy.cache=new WeakMap;const Bf=class extends r1{},AP=class extends a1{},DE=class extends jE{},OP=async(t,e)=>{const r=new hm({uri:ny(ga(t)),mediaType:e.parse.mediaType}),n=await(async(o,s)=>{const b=s.resolve.resolvers.map((E=>{const k=Object.create(E);return Object.assign(k,s.resolve.resolverOpts)})),h=await e1("canRead",[o,s],b);if(Od(h))throw new DE(o.uri);try{const{result:E}=await t1("read",[o],h);return E}catch(E){throw new a1(`Error while reading file "${o.uri}"`,{cause:E})}})(r,e);return(async(o,s)=>{const b=s.parse.parsers.map((E=>{const k=Object.create(E);return Object.assign(k,s.parse.parserOpts)})),h=await e1("canParse",[o,s],b);if(Od(h))throw new DE(o.uri);try{const{plugin:E,result:k}=await t1("parse",[o,s],h);return!E.allowEmpty&&k.isEmpty?Promise.reject(new n1(`Error while parsing file "${o.uri}". File is empty.`)):k}catch(E){throw new n1(`Error while parsing file "${o.uri}"`,{cause:E})}})(new hm({...r,data:n}),e)};class l1 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(io(n)&&e(n))return n}}const e0=go[Symbol.for("nodejs.util.promisify.custom")],si=new o1,Rs=(t,e,r,n)=>{ll(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class Ff{indirections;namespace;reference;options;ancestors;refractCache;allOfDiscriminatorMapping;constructor({reference:e,namespace:r,options:n,indirections:o=[],ancestors:s=new l1,refractCache:b=new Map,allOfDiscriminatorMapping:h=new Map}){this.indirections=o,this.namespace=r,this.reference=e,this.options=n,this.ancestors=new l1(...s),this.refractCache=b,this.allOfDiscriminatorMapping=h}toBaseURI(e){return ti(this.reference.uri,ny(ga(e)))}async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new AP(`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(PE(r,"uri"));const o=await OP(ql(r),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),s=new Sc({uri:r,value:Er(o),depth:this.reference.depth+1});if(n.add(s),this.options.dereference.immutable){const b=new Sc({uri:`immutable://${r}`,value:o,depth:this.reference.depth+1});n.add(b)}return s}toAncestorLineage(e){const r=new Set(e.filter(io));return[new l1(...this.ancestors,r),r]}OpenApi3_1Element={leave:(e,r,n,o,s,b)=>{var h;if((h=this.options.dereference.strategyOpts["openapi-3-1"])===null||h===void 0||!h.dereferenceDiscriminatorMapping)return;const E=Ro(e);return E.setMetaProperty("allOfDiscriminatorMapping",Object.fromEntries(this.allOfDiscriminatorMapping)),b.replaceWith(E,Rs),n?void 0:E}};async ReferenceElement(e,r,n,o,s,b){if(this.indirections.includes(e))return!1;const[h,E]=this.toAncestorLineage([...s,n]),k=this.toBaseURI(Tt(e.$ref)),T=ga(this.reference.uri)===k,R=!T;if(!this.options.resolve.internal&&T||!this.options.resolve.external&&R)return!1;const F=await this.toReference(Tt(e.$ref)),z=ti(k,Tt(e.$ref));this.indirections.push(e);const X=Ts(z);let Z=cl(F.value.result,X);if(Z.id=si.identify(Z),Qu(Z)){const me=Tt(e.meta.get("referenced-element")),xe=`${me}-${Tt(si.identify(Z))}`;this.refractCache.has(xe)?Z=this.refractCache.get(xe):xa(Z)?(Z=Nf.refract(Z),Z.setMetaProperty("referenced-element",me),this.refractCache.set(xe,Z)):(Z=this.namespace.getElementClass(me).refract(Z),this.refractCache.set(xe,Z))}if(e===Z)throw new Ja("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Bf(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(h.includes(Z)){if(F.refSet.circular=!0,this.options.dereference.circular==="error")throw new Ja("Circular reference detected");if(this.options.dereference.circular==="replace"){var te,ae;const me=new at.sI(Z.id,{type:"reference",uri:F.uri,$ref:Tt(e.$ref)}),xe=((te=(ae=this.options.dereference.strategyOpts["openapi-3-1"])===null||ae===void 0?void 0:ae.circularReplacer)!==null&&te!==void 0?te:this.options.dereference.circularReplacer)(me);return b.replaceWith(xe,Rs),!n&&xe}}const K=ga(F.refSet.rootRef.uri)!==F.uri,Ae=["error","replace"].includes(this.options.dereference.circular);if((R||K||ap(Z)||Ae)&&!h.includesCycle(Z)){E.add(e);const me=new Ff({reference:F,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:h,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});Z=await e0(Z,me,{keyMap:fl,nodeTypeGetter:Ms}),E.delete(e)}this.indirections.pop();const fe=Ro(Z);return fe.setMetaProperty("id",si.generateId()),fe.setMetaProperty("ref-fields",{$ref:Tt(e.$ref),description:Tt(e.description),summary:Tt(e.summary)}),fe.setMetaProperty("ref-origin",F.uri),fe.setMetaProperty("ref-referencing-element-id",Er(si.identify(e))),Vn(Z)&&Vn(fe)&&(e.hasKey("description")&&"description"in Z&&(fe.remove("description"),fe.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in Z&&(fe.remove("summary"),fe.set("summary",e.get("summary")))),b.replaceWith(fe,Rs),!n&&fe}async PathItemElement(e,r,n,o,s,b){if(!Gr(e.$ref))return;if(this.indirections.includes(e))return!1;const[h,E]=this.toAncestorLineage([...s,n]),k=this.toBaseURI(Tt(e.$ref)),T=ga(this.reference.uri)===k,R=!T;if(!this.options.resolve.internal&&T||!this.options.resolve.external&&R)return;const F=await this.toReference(Tt(e.$ref)),z=ti(k,Tt(e.$ref));this.indirections.push(e);const X=Ts(z);let Z=cl(F.value.result,X);if(Z.id=si.identify(Z),Qu(Z)){const fe=`path-item-${Tt(si.identify(Z))}`;this.refractCache.has(fe)?Z=this.refractCache.get(fe):(Z=uu.refract(Z),this.refractCache.set(fe,Z))}if(e===Z)throw new Ja("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Bf(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(h.includes(Z)){if(F.refSet.circular=!0,this.options.dereference.circular==="error")throw new Ja("Circular reference detected");if(this.options.dereference.circular==="replace"){var te,ae;const fe=new at.sI(Z.id,{type:"path-item",uri:F.uri,$ref:Tt(e.$ref)}),me=((te=(ae=this.options.dereference.strategyOpts["openapi-3-1"])===null||ae===void 0?void 0:ae.circularReplacer)!==null&&te!==void 0?te:this.options.dereference.circularReplacer)(fe);return b.replaceWith(me,Rs),!n&&me}}const K=ga(F.refSet.rootRef.uri)!==F.uri,Ae=["error","replace"].includes(this.options.dereference.circular);if((R||K||np(Z)&&Gr(Z.$ref)||Ae)&&!h.includesCycle(Z)){E.add(e);const fe=new Ff({reference:F,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:h,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});Z=await e0(Z,fe,{keyMap:fl,nodeTypeGetter:Ms}),E.delete(e)}if(this.indirections.pop(),np(Z)){const fe=new uu([...Z.content],Er(Z.meta),Er(Z.attributes));fe.setMetaProperty("id",si.generateId()),e.forEach(((me,xe,Se)=>{fe.remove(Tt(xe)),fe.content.push(Se)})),fe.remove("$ref"),fe.setMetaProperty("ref-fields",{$ref:Tt(e.$ref)}),fe.setMetaProperty("ref-origin",F.uri),fe.setMetaProperty("ref-referencing-element-id",Er(si.identify(e))),Z=fe}return b.replaceWith(Z,Rs),n?void 0:Z}async LinkElement(e,r,n,o,s,b){if(!Gr(e.operationRef)&&!Gr(e.operationId))return;if(Gr(e.operationRef)&&Gr(e.operationId))throw new Ja("LinkElement operationRef and operationId fields are mutually exclusive.");let h;if(Gr(e.operationRef)){var E;const T=Ts(Tt(e.operationRef)),R=this.toBaseURI(Tt(e.operationRef)),F=ga(this.reference.uri)===R,z=!F;if(!this.options.resolve.internal&&F||!this.options.resolve.external&&z)return;const X=await this.toReference(Tt(e.operationRef));if(h=cl(X.value.result,T),Qu(h)){const te=`operation-${Tt(si.identify(h))}`;this.refractCache.has(te)?h=this.refractCache.get(te):(h=om.refract(h),this.refractCache.set(te,h))}h=Ro(h),h.setMetaProperty("ref-origin",X.uri);const Z=Ro(e);return(E=Z.operationRef)===null||E===void 0||E.meta.set("operation",h),b.replaceWith(Z,Rs),n?void 0:Z}if(Gr(e.operationId)){var k;const T=Tt(e.operationId),R=await this.toReference(ql(this.reference.uri));if(h=NE((z=>wE(z)&&io(z.operationId)&&z.operationId.equals(T)),R.value.result),nu(h))throw new Ja(`OperationElement(operationId=${T}) not found.`);const F=Ro(e);return(k=F.operationId)===null||k===void 0||k.meta.set("operation",h),b.replaceWith(F,Rs),n?void 0:F}}async ExampleElement(e,r,n,o,s,b){if(!Gr(e.externalValue))return;if(e.hasKey("value")&&Gr(e.externalValue))throw new Ja("ExampleElement value and externalValue fields are mutually exclusive.");const h=this.toBaseURI(Tt(e.externalValue)),E=ga(this.reference.uri)===h,k=!E;if(!this.options.resolve.internal&&E||!this.options.resolve.external&&k)return;const T=await this.toReference(Tt(e.externalValue)),R=Ro(T.value.result);R.setMetaProperty("ref-origin",T.uri);const F=Ro(e);return F.value=R,b.replaceWith(F,Rs),n?void 0:F}async MemberElement(e,r,n,o,s,b){var h;const E=s[s.length-1];if(!Vn(E)||!E.classes.contains("discriminator-mapping"))return;if((h=this.options.dereference.strategyOpts["openapi-3-1"])===null||h===void 0||!h.dereferenceDiscriminatorMapping||!Gr(e.key)||!Gr(e.value)||this.indirections.includes(e))return!1;this.indirections.push(e);const[k,T]=this.toAncestorLineage([...s,n]),R=[...T].findLast(pl),F=Er(R.getMetaProperty("ancestorsSchemaIdentifiers")),z=Tt(e.value),X=/^[a-zA-Z0-9\\.\\-_]+$/.test(z)?`#/components/schemas/${z}`:z,Z=new fu({$ref:X});Z.setMetaProperty("ancestorsSchemaIdentifiers",F),T.add(Z);const te=new Ff({reference:this.reference,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:k,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping}),ae=await e0(Z,te,{keyMap:fl,nodeTypeGetter:Ms});T.delete(Z),this.indirections.pop();const K=Ro(e);return K.value.setMetaProperty("ref-schema",ae),b.replaceWith(K,Rs),n?void 0:K}async SchemaElement(e,r,n,o,s,b){if(!Gr(e.$ref))return;if(this.indirections.includes(e))return!1;const[h,E]=this.toAncestorLineage([...s,n]);let k=await this.toReference(ql(this.reference.uri)),{uri:T}=k;const R=RE(T,e),F=ga(R),z=new hm({uri:F}),X=vP((we=>we.canRead(z)),this.options.resolve.resolvers),Z=!X;let te,ae=ga(this.reference.uri)===R,K=!ae;this.indirections.push(e);try{if(X||Z){T=this.toBaseURI(R);const we=R,ye=_i(k.value.result);if(te=Qy(we,ye),te=_i(te),te.id=si.identify(te),!this.options.resolve.internal&&ae||!this.options.resolve.external&&K)return}else{if(T=this.toBaseURI(R),ae=ga(this.reference.uri)===T,K=!ae,!this.options.resolve.internal&&ae||!this.options.resolve.external&&K)return;k=await this.toReference(ql(R));const we=Ts(R),ye=_i(k.value.result);te=cl(ye,we),te=_i(te),te.id=si.identify(te)}}catch(we){if(!(Z&&we instanceof s1))throw we;if(Xy(Df(R))){if(ae=ga(this.reference.uri)===T,K=!ae,!this.options.resolve.internal&&ae||!this.options.resolve.external&&K)return;k=await this.toReference(ql(R));const ye=Df(R),ke=_i(k.value.result);te=i1(ye,ke),te=_i(te),te.id=si.identify(te)}else{if(T=this.toBaseURI(R),ae=ga(this.reference.uri)===T,K=!ae,!this.options.resolve.internal&&ae||!this.options.resolve.external&&K)return;k=await this.toReference(ql(R));const ye=Ts(R),ke=_i(k.value.result);te=cl(ke,ye),te=_i(te),te.id=si.identify(te)}}if(e===te)throw new Ja("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Bf(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(h.includes(te)){if(k.refSet.circular=!0,this.options.dereference.circular==="error")throw new Ja("Circular reference detected");if(this.options.dereference.circular==="replace"){var Ae,fe;const we=new at.sI(te.id,{type:"json-schema",uri:k.uri,$ref:Tt(e.$ref)}),ye=((Ae=(fe=this.options.dereference.strategyOpts["openapi-3-1"])===null||fe===void 0?void 0:fe.circularReplacer)!==null&&Ae!==void 0?Ae:this.options.dereference.circularReplacer)(we);return b.replaceWith(ye,Rs),!n&&ye}}const me=ga(k.refSet.rootRef.uri)!==k.uri,xe=["error","replace"].includes(this.options.dereference.circular);if((K||me||pl(te)&&Gr(te.$ref)||xe)&&!h.includesCycle(te)){E.add(e);const we=new Ff({reference:k,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:h,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});te=await e0(te,we,{keyMap:fl,nodeTypeGetter:Ms}),E.delete(e)}if(this.indirections.pop(),Kb(te)){const we=Er(te);return we.setMetaProperty("id",si.generateId()),we.setMetaProperty("ref-fields",{$ref:Tt(e.$ref),$refBaseURI:R}),we.setMetaProperty("ref-origin",k.uri),we.setMetaProperty("ref-referencing-element-id",Er(si.identify(e))),b.replaceWith(we,Rs),!n&&we}if(pl(te)){var Se;const we=new fu([...te.content],Er(te.meta),Er(te.attributes));if(we.setMetaProperty("id",si.generateId()),e.forEach(((ye,ke,Ie)=>{we.remove(Tt(ke)),we.content.push(Ie)})),we.remove("$ref"),we.setMetaProperty("ref-fields",{$ref:Tt(e.$ref),$refBaseURI:R}),we.setMetaProperty("ref-origin",k.uri),we.setMetaProperty("ref-referencing-element-id",Er(si.identify(e))),(Se=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&Se!==void 0&&Se.dereferenceDiscriminatorMapping){var Me;const ye=s[s.length-1],ke=[...E].findLast(pl),Ie=ke?.getMetaProperty("schemaName"),De=Tt(we.getMetaProperty("schemaName"));if(De&&Ie&&ye!=null&&(Me=ye.classes)!==null&&Me!==void 0&&Me.contains("json-schema-allOf")){var Ne;const tt=(Ne=this.allOfDiscriminatorMapping.get(De))!==null&&Ne!==void 0?Ne:[];tt.push(ke),this.allOfDiscriminatorMapping.set(De,tt)}}te=we}return b.replaceWith(te,Rs),n?void 0:te}}const BE=Ff,kP=go[Symbol.for("nodejs.util.promisify.custom")],CP=class extends yP{constructor(e){super({...e??{},name:"openapi-3-1"})}canDereference(e){var r;return e.mediaType!=="text/plain"?Mf.includes(e.mediaType):_E((r=e.parseResult)===null||r===void 0?void 0:r.result)}async dereference(e,r){var n;const o=Ec(Zb),s=(n=r.dereference.refSet)!==null&&n!==void 0?n:new Rf,b=new Rf;let h,E=s;s.has(e.uri)?h=s.find(PE(e.uri,"uri")):(h=new Sc({uri:e.uri,value:e.parseResult}),s.add(h)),r.dereference.immutable&&(s.refs.map((R=>new Sc({...R,value:Er(R.value)}))).forEach((R=>b.add(R))),h=b.find((R=>R.uri===e.uri)),E=b);const k=new BE({reference:h,namespace:o,options:r}),T=await kP(E.rootRef.value,k,{keyMap:fl,nodeTypeGetter:Ms});return r.dereference.immutable&&b.refs.filter((R=>R.uri.startsWith("immutable://"))).map((R=>new Sc({...R,uri:R.uri.replace(/^immutable:\/\//,"")}))).forEach((R=>s.add(R))),r.dereference.refSet===null&&s.clean(),b.clean(),T}},hl=t=>{const e=(r=>r.slice(2))(t);return e.reduce(((r,n,o)=>{if(ll(n)){const s=String(Tt(n.key));r.push(s)}else if(ni(e[o-2])){const s=e[o-2].content.indexOf(n);r.push(s)}return r}),[])},jP=class{modelPropertyMacro;options;SchemaElement={leave:(e,r,n,o,s)=>{e.properties!==void 0&&Vn(e.properties)&&e.properties.forEach((b=>{if(Vn(b))try{const k=this.modelPropertyMacro(Tt(b));b.set("default",k)}catch(k){var h,E;const T=new Error(k,{cause:k});T.fullPath=[...hl([...s,n,e]),"properties"],(h=this.options.dereference.dereferenceOpts)===null||h===void 0||(h=h.errors)===null||h===void 0||(E=h.push)===null||E===void 0||E.call(h,T)}}))}};constructor({modelPropertyMacro:e,options:r}){this.modelPropertyMacro=e,this.options=r}};var IP=(function(){function t(e,r){this.xf=r,this.pred=e,this.items=[]}return t.prototype["@@transducer/init"]=ru,t.prototype["@@transducer/result"]=gd,t.prototype["@@transducer/step"]=function(e,r){return Hg(this.pred,r,this.items)?e:(this.items.push(r),this.xf["@@transducer/step"](e,r))},t})();function PP(t){return function(e){return new IP(t,e)}}var TP=on(tu([],PP,(function(t,e){for(var r,n=0,o=e.length,s=[];n<o;)Hg(t,r=e[n],s)||(s[s.length]=r),n+=1;return s})));const FE=TP,NP=class{options;SchemaElement={leave(e,r,n,o,s){if(e.allOf!==void 0){if(!ni(e.allOf)){var b,h;const T=new TypeError("allOf must be an array");return T.fullPath=[...hl([...s,n,e]),"allOf"],void((b=this.options.dereference.dereferenceOpts)===null||b===void 0||(b=b.errors)===null||b===void 0||(h=b.push)===null||h===void 0||h.call(b,T))}if(e.allOf.isEmpty)return void e.remove("allOf");if(!e.allOf.content.every(pl)){var E,k;const T=new TypeError("Elements in allOf must be objects");return T.fullPath=[...hl([...s,n,e]),"allOf"],void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(k=E.push)===null||k===void 0||k.call(E,T))}for(;e.hasKey("allOf");){const{allOf:T}=e;e.remove("allOf");const R=tp.all([...T.content,e],{customMerge:F=>Tt(F)==="enum"?(z,X)=>{if(xf(["json-schema-enum"],z)&&xf(["json-schema-enum"],X)){const Z=(ae,K)=>!(ni(ae)||ni(K)||Vn(ae)||Vn(K))&&ae.equals(Tt(K)),te=Ro(z);return te.content=FE(Z)([...z.content,...X.content]),te}return tp(z,X)}:tp});if(e.hasKey("$$ref")||R.remove("$$ref"),e.hasKey("example")){const F=R.getMember("example");F&&(F.value=e.get("example"))}if(e.hasKey("examples")){const F=R.getMember("examples");F&&(F.value=e.get("examples"))}e.content=R.content}}}};constructor({options:e}){this.options=e}},MP=class{parameterMacro;options;#e;OperationElement={enter:e=>{this.#e=e},leave:()=>{this.#e=void 0}};ParameterElement={leave:(e,r,n,o,s)=>{const b=this.#e?Tt(this.#e):null,h=Tt(e);try{const T=this.parameterMacro(b,h);e.set("default",T)}catch(T){var E,k;const R=new Error(T,{cause:T});R.fullPath=hl([...s,n]),(E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(k=E.push)===null||k===void 0||k.call(E,R)}}};constructor({parameterMacro:e,options:r}){this.parameterMacro=e,this.options=r}},t0=t=>{if(t.cause==null)return t;let{cause:e}=t;for(;e.cause!=null;)e=e.cause;return e},RP=class extends Ul{},{wrapError:c1}=k_,u1=go[Symbol.for("nodejs.util.promisify.custom")],Ds=new o1,op=(t,e,r,n)=>{ll(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class gm extends BE{useCircularStructures;allowMetaPatches;basePath;constructor({allowMetaPatches:e=!0,useCircularStructures:r=!1,basePath:n=null,...o}){super(o),this.allowMetaPatches=e,this.useCircularStructures=r,this.basePath=n}async ReferenceElement(e,r,n,o,s,b){try{if(this.indirections.includes(e))return!1;const[z,X]=this.toAncestorLineage([...s,n]),Z=this.toBaseURI(Tt(e.$ref)),te=ga(this.reference.uri)===Z,ae=!te;if(!this.options.resolve.internal&&te||!this.options.resolve.external&&ae)return!1;const K=await this.toReference(Tt(e.$ref)),Ae=ti(Z,Tt(e.$ref));this.indirections.push(e);const fe=Ts(Ae);let me=cl(K.value.result,fe);if(me.id=Ds.identify(me),Qu(me)){const Ne=Tt(e.meta.get("referenced-element")),we=`${Ne}-${Tt(Ds.identify(me))}`;this.refractCache.has(we)?me=this.refractCache.get(we):xa(me)?(me=Nf.refract(me),me.setMetaProperty("referenced-element",Ne),this.refractCache.set(we,me)):(me=this.namespace.getElementClass(Ne).refract(me),this.refractCache.set(we,me))}if(e===me)throw new Ja("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Bf(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(z.includes(me)){if(K.refSet.circular=!0,this.options.dereference.circular==="error")throw new Ja("Circular reference detected");if(this.options.dereference.circular==="replace"){var h,E;const Ne=new at.sI(me.id,{type:"reference",uri:K.uri,$ref:Tt(e.$ref),baseURI:Ae,referencingElement:e}),we=((h=(E=this.options.dereference.strategyOpts["openapi-3-1"])===null||E===void 0?void 0:E.circularReplacer)!==null&&h!==void 0?h:this.options.dereference.circularReplacer)(Ne);return b.replaceWith(Ne,op),!n&&we}}const xe=ga(K.refSet.rootRef.uri)!==K.uri,Se=["error","replace"].includes(this.options.dereference.circular);if((ae||xe||ap(me)||Se)&&!z.includesCycle(me)){var k;X.add(e);const Ne=new gm({reference:K,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:z,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(k=this.basePath)!==null&&k!==void 0?k:[...hl([...s,n,e]),"$ref"]});me=await u1(me,Ne,{keyMap:fl,nodeTypeGetter:Ms}),X.delete(e)}this.indirections.pop();const Me=Ro(me);if(Me.setMetaProperty("ref-fields",{$ref:Tt(e.$ref),description:Tt(e.description),summary:Tt(e.summary)}),Me.setMetaProperty("ref-origin",K.uri),Me.setMetaProperty("ref-referencing-element-id",Er(Ds.identify(e))),Vn(me)&&(e.hasKey("description")&&"description"in me&&(Me.remove("description"),Me.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in me&&(Me.remove("summary"),Me.set("summary",e.get("summary")))),this.allowMetaPatches&&Vn(Me)&&!Me.hasKey("$$ref")){const Ne=ti(Z,Ae);Me.set("$$ref",Ne)}return b.replaceWith(Me,op),!n&&Me}catch(z){var T,R,F;const X=t0(z),Z=c1(X,{baseDoc:this.reference.uri,$ref:Tt(e.$ref),pointer:Ts(Tt(e.$ref)),fullPath:(T=this.basePath)!==null&&T!==void 0?T:[...hl([...s,n,e]),"$ref"]});return void((R=this.options.dereference.dereferenceOpts)===null||R===void 0||(R=R.errors)===null||R===void 0||(F=R.push)===null||F===void 0||F.call(R,Z))}}async PathItemElement(e,r,n,o,s,b){try{if(!Gr(e.$ref))return;if(this.indirections.includes(e)||xf(["cycle"],e.$ref))return!1;const[z,X]=this.toAncestorLineage([...s,n]),Z=this.toBaseURI(Tt(e.$ref)),te=ga(this.reference.uri)===Z,ae=!te;if(!this.options.resolve.internal&&te||!this.options.resolve.external&&ae)return;const K=await this.toReference(Tt(e.$ref)),Ae=ti(Z,Tt(e.$ref));this.indirections.push(e);const fe=Ts(Ae);let me=cl(K.value.result,fe);if(me.id=Ds.identify(me),Qu(me)){const Me=`path-item-${Tt(Ds.identify(me))}`;this.refractCache.has(Me)?me=this.refractCache.get(Me):(me=uu.refract(me),this.refractCache.set(Me,me))}if(e===me)throw new Ja("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Bf(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(z.includes(me)){if(K.refSet.circular=!0,this.options.dereference.circular==="error")throw new Ja("Circular reference detected");if(this.options.dereference.circular==="replace"){var h,E;const Me=new at.sI(me.id,{type:"path-item",uri:K.uri,$ref:Tt(e.$ref),baseURI:Ae,referencingElement:e}),Ne=((h=(E=this.options.dereference.strategyOpts["openapi-3-1"])===null||E===void 0?void 0:E.circularReplacer)!==null&&h!==void 0?h:this.options.dereference.circularReplacer)(Me);return b.replaceWith(Me,op),!n&&Ne}}const xe=ga(K.refSet.rootRef.uri)!==K.uri,Se=["error","replace"].includes(this.options.dereference.circular);if((ae||xe||np(me)&&Gr(me.$ref)||Se)&&!z.includesCycle(me)){var k;X.add(e);const Me=new gm({reference:K,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:z,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(k=this.basePath)!==null&&k!==void 0?k:[...hl([...s,n,e]),"$ref"]});me=await u1(me,Me,{keyMap:fl,nodeTypeGetter:Ms}),X.delete(e)}if(this.indirections.pop(),np(me)){const Me=new uu([...me.content],Er(me.meta),Er(me.attributes));if(e.forEach(((Ne,we,ye)=>{Me.remove(Tt(we)),Me.content.push(ye)})),Me.remove("$ref"),Me.setMetaProperty("ref-fields",{$ref:Tt(e.$ref)}),Me.setMetaProperty("ref-origin",K.uri),Me.setMetaProperty("ref-referencing-element-id",Er(Ds.identify(e))),this.allowMetaPatches&&Me.get("$$ref")===void 0){const Ne=ti(Z,Ae);Me.set("$$ref",Ne)}me=Me}return b.replaceWith(me,op),n?void 0:me}catch(z){var T,R,F;const X=t0(z),Z=c1(X,{baseDoc:this.reference.uri,$ref:Tt(e.$ref),pointer:Ts(Tt(e.$ref)),fullPath:(T=this.basePath)!==null&&T!==void 0?T:[...hl([...s,n,e]),"$ref"]});return void((R=this.options.dereference.dereferenceOpts)===null||R===void 0||(R=R.errors)===null||R===void 0||(F=R.push)===null||F===void 0||F.call(R,Z))}}async SchemaElement(e,r,n,o,s,b){try{if(!Gr(e.$ref))return;if(this.indirections.includes(e))return!1;const[z,X]=this.toAncestorLineage([...s,n]);let Z=await this.toReference(ql(this.reference.uri)),{uri:te}=Z;const ae=RE(te,e),K=ga(ae),Ae=new hm({uri:K}),fe=!this.options.resolve.resolvers.some((ye=>ye.canRead(Ae))),me=!fe;let xe,Se=ga(this.reference.uri)===ae,Me=!Se;this.indirections.push(e);try{if(fe||me){te=this.toBaseURI(ae);const ye=ae,ke=_i(Z.value.result);if(xe=Qy(ye,ke),xe=_i(xe),xe.id=Ds.identify(xe),!this.options.resolve.internal&&Se||!this.options.resolve.external&&Me)return}else{if(te=this.toBaseURI(ae),Se=ga(this.reference.uri)===te,Me=!Se,!this.options.resolve.internal&&Se||!this.options.resolve.external&&Me)return;Z=await this.toReference(ql(ae));const ye=Ts(ae),ke=_i(Z.value.result);xe=cl(ke,ye),xe=_i(xe),xe.id=Ds.identify(xe)}}catch(ye){if(!(me&&ye instanceof s1))throw ye;if(Xy(Df(ae))){if(Se=ga(this.reference.uri)===te,Me=!Se,!this.options.resolve.internal&&Se||!this.options.resolve.external&&Me)return;Z=await this.toReference(ql(ae));const ke=Df(ae),Ie=_i(Z.value.result);xe=i1(ke,Ie),xe=_i(xe),xe.id=Ds.identify(xe)}else{if(te=this.toBaseURI(Tt(ae)),Se=ga(this.reference.uri)===te,Me=!Se,!this.options.resolve.internal&&Se||!this.options.resolve.external&&Me)return;Z=await this.toReference(ql(ae));const ke=Ts(ae),Ie=_i(Z.value.result);xe=cl(Ie,ke),xe=_i(xe),xe.id=Ds.identify(xe)}}if(e===xe)throw new Ja("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new Bf(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(z.includes(xe)){if(Z.refSet.circular=!0,this.options.dereference.circular==="error")throw new Ja("Circular reference detected");if(this.options.dereference.circular==="replace"){var h,E;const ye=new at.sI(xe.id,{type:"json-schema",uri:Z.uri,$ref:Tt(e.$ref),baseURI:ti(te,ae),referencingElement:e}),ke=((h=(E=this.options.dereference.strategyOpts["openapi-3-1"])===null||E===void 0?void 0:E.circularReplacer)!==null&&h!==void 0?h:this.options.dereference.circularReplacer)(ye);return b.replaceWith(ke,op),!n&&ke}}const Ne=ga(Z.refSet.rootRef.uri)!==Z.uri,we=["error","replace"].includes(this.options.dereference.circular);if((Me||Ne||pl(xe)&&Gr(xe.$ref)||we)&&!z.includesCycle(xe)){var k;X.add(e);const ye=new gm({reference:Z,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:z,basePath:(k=this.basePath)!==null&&k!==void 0?k:[...hl([...s,n,e]),"$ref"]});xe=await u1(xe,ye,{keyMap:fl,nodeTypeGetter:Ms}),X.delete(e)}if(this.indirections.pop(),Kb(xe)){const ye=Er(xe);return ye.setMetaProperty("ref-fields",{$ref:Tt(e.$ref)}),ye.setMetaProperty("ref-origin",Z.uri),ye.setMetaProperty("ref-referencing-element-id",Er(Ds.identify(e))),b.replaceWith(ye,op),!n&&ye}if(pl(xe)){const ye=new fu([...xe.content],Er(xe.meta),Er(xe.attributes));if(e.forEach(((ke,Ie,De)=>{ye.remove(Tt(Ie)),ye.content.push(De)})),ye.remove("$ref"),ye.setMetaProperty("ref-fields",{$ref:Tt(e.$ref)}),ye.setMetaProperty("ref-origin",Z.uri),ye.setMetaProperty("ref-referencing-element-id",Er(Ds.identify(e))),this.allowMetaPatches&&ye.get("$$ref")===void 0){const ke=ti(te,ae);ye.set("$$ref",ke)}xe=ye}return b.replaceWith(xe,op),n?void 0:xe}catch(z){var T,R,F;const X=t0(z),Z=new RP(`Could not resolve reference: ${X.message}`,{baseDoc:this.reference.uri,$ref:Tt(e.$ref),fullPath:(T=this.basePath)!==null&&T!==void 0?T:[...hl([...s,n,e]),"$ref"],cause:X});return void((R=this.options.dereference.dereferenceOpts)===null||R===void 0||(R=R.errors)===null||R===void 0||(F=R.push)===null||F===void 0||F.call(R,Z))}}async LinkElement(){}async ExampleElement(e,r,n,o,s,b){try{return await super.ExampleElement(e,r,n,o,s,b)}catch(T){var h,E,k;const R=t0(T),F=c1(R,{baseDoc:this.reference.uri,externalValue:Tt(e.externalValue),fullPath:(h=this.basePath)!==null&&h!==void 0?h:[...hl([...s,n,e]),"externalValue"]});return void((E=this.options.dereference.dereferenceOpts)===null||E===void 0||(E=E.errors)===null||E===void 0||(k=E.push)===null||k===void 0||k.call(E,F))}}}const DP=gm,BP=fy[Symbol.for("nodejs.util.promisify.custom")],FP=class{constructor({parameterMacro:e,modelPropertyMacro:r,mode:n,options:o,...s}){const b=[];b.push(new DP({...s,options:o})),typeof r=="function"&&b.push(new jP({modelPropertyMacro:r,options:o})),n!=="strict"&&b.push(new NP({options:o})),typeof e=="function"&&b.push(new MP({parameterMacro:e,options:o}));const h=BP(b,{nodeTypeGetter:Ms});Object.assign(this,h)}},LP=go[Symbol.for("nodejs.util.promisify.custom")],$P=class extends CP{allowMetaPatches;parameterMacro;modelPropertyMacro;mode;ancestors;constructor({allowMetaPatches:e=!1,parameterMacro:r=null,modelPropertyMacro:n=null,mode:o="non-strict",ancestors:s=[],...b}={}){super({...b}),this.name="openapi-3-1-swagger-client",this.allowMetaPatches=e,this.parameterMacro=r,this.modelPropertyMacro=n,this.mode=o,this.ancestors=[...s]}async dereference(e,r){var n;const o=Ec(Zb),s=(n=r.dereference.refSet)!==null&&n!==void 0?n:new Rf,b=new Rf;let h,E=s;s.has(e.uri)?h=s.find((R=>R.uri===e.uri)):(h=new Sc({uri:e.uri,value:e.parseResult}),s.add(h)),r.dereference.immutable&&(s.refs.map((R=>new Sc({...R,value:Er(R.value)}))).forEach((R=>b.add(R))),h=b.find((R=>R.uri===e.uri)),E=b);const k=new FP({reference:h,namespace:o,options:r,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors,modelPropertyMacro:this.modelPropertyMacro,mode:this.mode,parameterMacro:this.parameterMacro}),T=await LP(E.rootRef.value,k,{keyMap:fl,nodeTypeGetter:Ms});return r.dereference.immutable&&b.refs.filter((R=>R.uri.startsWith("immutable://"))).map((R=>new Sc({...R,uri:R.uri.replace(/^immutable:\/\//,"")}))).forEach((R=>s.add(R))),r.dereference.refSet===null&&s.clean(),b.clean(),T}},UP=t=>{const e=Tt(t.meta.get("baseURI")),r=t.meta.get("referencingElement");return new at.Sh({$ref:e},Er(r.meta),Er(r.attributes))},p1=async t=>{const{spec:e,timeout:r,redirects:n,requestInterceptor:o,responseInterceptor:s,pathDiscriminator:b=[],allowMetaPatches:h=!1,useCircularStructures:E=!1,skipNormalization:k=!1,parameterMacro:T=null,modelPropertyMacro:R=null,mode:F="non-strict",strategies:z}=t;try{const{cache:X}=p1,Z=z.find((tt=>tt.match(e))),te=Ev(Sv())?Sv():oy,ae=Dv(t),K=ti(te,ae);let Ae;X.has(e)?Ae=X.get(e):(Ae=cu.refract(e),Ae.classes.push("result"),X.set(e,Ae));const fe=new sl([Ae]),me=mw(b),xe=me===""?"":`#${me}`,Se=cl(Ae,me),Me=new Sc({uri:K,value:fe}),Ne=new Rf({refs:[Me]});me!==""&&(Ne.rootRef=void 0);const we=[new Set([Se])],ye=[],ke=await(async(tt,Dt={})=>{const $t=kE(AE,Dt);return aP(tt,$t)})(Se,{resolve:{baseURI:`${K}${xe}`,resolvers:[new fP({timeout:r||1e4,redirects:n||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:o,responseInterceptor:s}},strategies:[new sP]},parse:{mediaType:Mf.latest(),parsers:[new mP({allowEmpty:!1,sourceMap:!1}),new gP({allowEmpty:!1,sourceMap:!1}),new hP({allowEmpty:!1,sourceMap:!1}),new dP({allowEmpty:!1,sourceMap:!1}),new oP({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[new $P({allowMetaPatches:h,useCircularStructures:E,parameterMacro:T,modelPropertyMacro:R,mode:F,ancestors:we})],refSet:Ne,dereferenceOpts:{errors:ye},immutable:!1,circular:E?"ignore":"replace",circularReplacer:E?AE.dereference.circularReplacer:UP}}),Ie=((tt,Dt,$t)=>new K6({element:$t}).transclude(tt,Dt))(Se,ke,Ae),De=k?Ie:Z.normalize(Ie);return{spec:Tt(De),errors:ye}}catch(X){if(X instanceof ep)return{spec:e,errors:[]};throw X}};p1.cache=new WeakMap;const LE=p1;function $E(t,e,r){if(r||(r=new qP),(function(s){var b=typeof s;return s==null||b!="object"&&b!="function"})(t))return t;var n=function(s){var b=r.get(t);if(b)return b;for(var h in r.set(t,s),t)Object.prototype.hasOwnProperty.call(t,h)&&(s[h]=t[h]);return s};switch(ol(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 q2(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 qP=(function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){var n=this.hash(e),o=this.map[n];o||(this.map[n]=o=[]),o.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],o=0;o<n.length;o+=1)if((b=n[o])[0]===e)return b[1]}else{var s=this.hash(e);if(n=this.map[s])for(o=0;o<n.length;o+=1){var b;if((b=n[o])[0]===e)return b[1]}}},t})(),zP=(function(){function t(e,r,n,o){this.valueFn=e,this.valueAcc=r,this.keyFn=n,this.xf=o,this.inputs={}}return t.prototype["@@transducer/init"]=ru,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(Is(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,$E(this.valueAcc)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),e},t})();function VP(t,e,r){return function(n){return new zP(t,e,r,n)}}var WP=mv(4,[],tu([],VP,(function(e,r,n,o){var s=e_((function(b,h){var E=n(h),k=e(Is(E,b)?b[E]:$E(r),h);return k&&k["@@transducer/reduced"]?sy(b):(b[E]=k,b)}));return hv(s,{},o)})));const JP=on(dv("groupBy",WP((function(t,e){return t.push(e),t}),[]))),ym=class{internalStore;constructor(e,r,n){this.storageElement=e,this.storageField=r,this.storageSubField=n}get store(){if(!this.internalStore){let e=this.storageElement.get(this.storageField);Vn(e)||(e=new at.Sh,this.storageElement.set(this.storageField,e));let r=e.get(this.storageSubField);ni(r)||(r=new at.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)}},f1=t=>t.replace(/\s/g,""),h1=t=>t.replace(/\W/gi,"_"),HP=(t,e,r)=>{const n=f1(t);return n.length>0?h1(n):((o,s)=>`${h1(f1(s.toLowerCase()))}${h1(f1(o))}`)(e,r)},KP=({storageField:t="x-normalized",operationIdNormalizer:e=HP}={})=>r=>{const{predicates:n,ancestorLineageToJSONPointer:o,namespace:s}=r,b=[],h=[],E=[];let k;return{visitor:{OpenApi3_1Element:{enter(T){k=new ym(T,t,"operation-ids")},leave(){const T=JP((R=>Tt(R.operationId)),h);Object.entries(T).forEach((([R,F])=>{Array.isArray(F)&&(F.length<=1||F.forEach(((z,X)=>{const Z=`${R}${X+1}`;z.operationId=new s.elements.String(Z)})))})),E.forEach((R=>{if(R.operationId===void 0)return;const F=String(Tt(R.operationId)),z=h.find((X=>Tt(X.meta.get("originalOperationId"))===F));z!==void 0&&(R.operationId=Er.safe(z.operationId),R.meta.set("originalOperationId",F),R.set("__originalOperationId",F))})),h.length=0,E.length=0,k=void 0}},PathItemElement:{enter(T){const R=bf("path",Tt(T.meta.get("path")));b.push(R)},leave(){b.pop()}},OperationElement:{enter(T,R,F,z,X){if(T.operationId===void 0)return;const Z=o([...X,F,T]);if(k.includes(Z))return;const te=String(Tt(T.operationId)),ae=Qg(b),K=bf("method",Tt(T.meta.get("http-method"))),Ae=e(te,ae,K);te!==Ae&&(T.operationId=new s.elements.String(Ae),T.set("__originalOperationId",te),T.meta.set("originalOperationId",te),h.push(T),k.append(Z))}},LinkElement:{leave(T){n.isLinkElement(T)&&T.operationId!==void 0&&E.push(T)}}}}},GP=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e,o=(h,E)=>!!r.isParameterElement(h)&&!!r.isParameterElement(E)&&!!r.isStringElement(h.name)&&!!r.isStringElement(h.in)&&!!r.isStringElement(E.name)&&!!r.isStringElement(E.in)&&Tt(h.name)===Tt(E.name)&&Tt(h.in)===Tt(E.in),s=[];let b;return{visitor:{OpenApi3_1Element:{enter(h){b=new ym(h,t,"parameters")},leave(){b=void 0}},PathItemElement:{enter(h,E,k,T,R){if(R.some(r.isComponentsElement))return;const{parameters:F}=h;r.isArrayElement(F)?s.push([...F.content]):s.push([])},leave(){s.pop()}},OperationElement:{leave(h,E,k,T,R){const F=Qg(s);if(!Array.isArray(F)||F.length===0)return;const z=n([...R,k,h]);if(b.includes(z))return;const X=TE([],["parameters","content"],h),Z=FE(o,[...X,...F]);h.parameters=new Xw(Z),b.append(z)}}}}},YP=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let o,s;return{visitor:{OpenApi3_1Element:{enter(b){s=new ym(b,t,"security-requirements"),r.isArrayElement(b.security)&&(o=b.security)},leave(){s=void 0,o=void 0}},OperationElement:{leave(b,h,E,k,T){if(T.some(r.isComponentsElement))return;const R=n([...T,E,b]);if(!s.includes(R)){var F;b.security===void 0&&o!==void 0&&(b.security=new eE((F=o)===null||F===void 0?void 0:F.content),s.append(R))}}}}}},ZP=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let o;return{visitor:{OpenApi3_1Element:{enter(s){o=new ym(s,t,"parameter-examples")},leave(){o=void 0}},ParameterElement:{leave(s,b,h,E,k){var T,R;if(k.some(r.isComponentsElement)||s.schema===void 0||!r.isSchemaElement(s.schema)||((T=s.schema)===null||T===void 0?void 0:T.example)===void 0&&((R=s.schema)===null||R===void 0?void 0:R.examples)===void 0)return;const F=n([...k,h,s]);if(!o.includes(F)){if(s.examples!==void 0&&r.isObjectElement(s.examples)){const z=s.examples.map((X=>Er.safe(X.value)));return s.schema.examples!==void 0&&(s.schema.set("examples",z),o.append(F)),void(s.schema.example!==void 0&&(s.schema.set("example",z[0]),o.append(F)))}s.example!==void 0&&(s.schema.examples!==void 0&&(s.schema.set("examples",[Er(s.example)]),o.append(F)),s.schema.example!==void 0&&(s.schema.set("example",Er(s.example)),o.append(F)))}}}}}},XP=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let o;return{visitor:{OpenApi3_1Element:{enter(s){o=new ym(s,t,"header-examples")},leave(){o=void 0}},HeaderElement:{leave(s,b,h,E,k){var T,R;if(k.some(r.isComponentsElement)||s.schema===void 0||!r.isSchemaElement(s.schema)||((T=s.schema)===null||T===void 0?void 0:T.example)===void 0&&((R=s.schema)===null||R===void 0?void 0:R.examples)===void 0)return;const F=n([...k,h,s]);if(!o.includes(F)){if(s.examples!==void 0&&r.isObjectElement(s.examples)){const z=s.examples.map((X=>Er.safe(X.value)));return s.schema.examples!==void 0&&(s.schema.set("examples",z),o.append(F)),void(s.schema.example!==void 0&&(s.schema.set("example",z[0]),o.append(F)))}s.example!==void 0&&(s.schema.examples!==void 0&&(s.schema.set("examples",[Er(s.example)]),o.append(F)),s.schema.example!==void 0&&(s.schema.set("example",Er(s.example)),o.append(F)))}}}}}},UE=t=>{if(!Vn(t))return t;const e=[KP({operationIdNormalizer:(r,n,o)=>Ed({operationId:r},n,o,{v2OperationIdCompatibilityMode:!1})}),GP(),YP(),ZP(),XP()];return Jl(t,e,{toolboxCreator:SE,visitorOptions:{keyMap:fl,nodeTypeGetter:Ms}})},QP={name:"openapi-3-1-apidom",match:t=>Uv(t),normalize(t){if(!io(t)&&il(t)&&!t.$$normalized){const r=(e=UE,n=>{const o=cu.refract(n);o.classes.push("result");const s=e(o),b=Tt(s);return LE.cache.set(b,s),Tt(s)})(t);return r.$$normalized=!0,r}var e;return io(t)?UE(t):t},resolve:async t=>LE(t)},qE=QP,zE=t=>async e=>(async r=>{const{spec:n,requestInterceptor:o,responseInterceptor:s}=r,b=Dv(r),h=q_(r),E=n||await R_(h,{requestInterceptor:o,responseInterceptor:s})(b),k={...r,spec:E};return r.strategies.find((T=>T.match(E))).resolve(k)})({...t,...e}),eT=zE({strategies:[zv,qv,$v]}),tT=(t,e,r,n,o)=>{if(t===sn.SEM_PRE){if(Array.isArray(o)===!1)throw new Error("parser's user data must be an array");o.push(["server-url-template",hs.charsToString(e,r,n)])}return sn.SEM_OK},rT=(t,e,r,n,o)=>{if(t===sn.SEM_PRE){if(Array.isArray(o)===!1)throw new Error("parser's user data must be an array");o.push(["server-variable",hs.charsToString(e,r,n)])}return sn.SEM_OK},nT=(t,e,r,n,o)=>{if(t===sn.SEM_PRE){if(Array.isArray(o)===!1)throw new Error("parser's user data must be an array");o.push(["server-variable-name",hs.charsToString(e,r,n)])}return sn.SEM_OK},aT=(t,e,r,n,o)=>{if(t===sn.SEM_PRE){if(Array.isArray(o)===!1)throw new Error("parser's user data must be an array");o.push(["literals",hs.charsToString(e,r,n)])}return sn.SEM_OK},oT=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
|
||
`}},VE=t=>{const e=new Ns;return e.ast=new Yv,e.ast.callbacks["server-url-template"]=tT,e.ast.callbacks["server-variable"]=rT,e.ast.callbacks["server-variable-name"]=nT,e.ast.callbacks.literals=aT,{result:e.parse(oT,"server-url-template",t),ast:e.ast}},iT=(t,{strict:e=!1}={})=>{try{const r=VE(t);if(!r.result.success)return!1;const n=[];r.ast.translate(n);const o=n.some((([s])=>s==="server-variable"));if(!e&&!o)try{return new URL(t,"https://vladimirgorej.com"),!0}catch{return!1}return!e||o}catch{return!1}},sT=t=>(e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch{return!1}})(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),lT=["literals","server-variable-name"],cT=(t,e,r={})=>{const n={encoder:sT,...r},o=VE(t);if(!o.result.success)return t;const s=[];return o.ast.translate(s),s.filter((([h])=>lT.includes(h))).map((([h,E])=>h==="server-variable-name"?Object.hasOwn(e,E)?n.encoder(e[E],E):`{${E}}`:E)).join("")};function WE(){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 uT=(t,e,r,n,o)=>(t===sn.SEM_PRE?o.push(["slash",hs.charsToString(e,r,n)]):sn.SEM_POST,sn.SEM_OK),pT=(t,e,r,n,o)=>{if(t===sn.SEM_PRE){if(Array.isArray(o)===!1)throw new Error("parser's user data must be an array");o.push(["path-template",hs.charsToString(e,r,n)])}return sn.SEM_OK},fT=(t,e,r,n,o)=>(t===sn.SEM_PRE?o.push(["path-literal",hs.charsToString(e,r,n)]):sn.SEM_POST,sn.SEM_OK),hT=(t,e,r,n,o)=>(t===sn.SEM_PRE?o.push(["template-expression",hs.charsToString(e,r,n)]):sn.SEM_POST,sn.SEM_OK),dT=(t,e,r,n,o)=>(t===sn.SEM_PRE?o.push(["template-expression-param-name",hs.charsToString(e,r,n)]):sn.SEM_POST,sn.SEM_OK),mT=new WE,gT=t=>{const e=new Ns;return e.ast=new Yv,e.ast.callbacks["path-template"]=pT,e.ast.callbacks.slash=uT,e.ast.callbacks["path-literal"]=fT,e.ast.callbacks["template-expression"]=hT,e.ast.callbacks["template-expression-param-name"]=dT,{result:e.parse(mT,"path-template",t),ast:e.ast}},yT=t=>(e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch{return!1}})(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),vT=["slash","path-literal","template-expression-param-name"],d1=(t,e,r={})=>{const n={encoder:yT,...r},o=gT(t);if(!o.result.success)return t;const s=[];return o.ast.translate(s),s.filter((([h])=>vT.includes(h))).map((([h,E])=>h==="template-expression-param-name"?Object.prototype.hasOwnProperty.call(e,E)?n.encoder(e[E],E):`{${E}}`:E)).join("")},bT=(new WE,new Ns,{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 o=n.name;e.query[o]=e.query[o]||{},e.query[o].allowEmptyValue=!0}},path:function({req:e,value:r,parameter:n,baseURL:o}){if(r!==void 0){const s=e.url.replace(o,""),b=d1(s,{[n.name]:r});e.url=o+b}},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 o=n.name;e.form[o]=e.form[o]||{},e.form[o].allowEmptyValue=!0}}});function r0(t,e){return e.includes("application/json")?typeof t=="string"?t:(Array.isArray(t)&&(t=t.map((r=>{try{return JSON.parse(r)}catch{return r}}))),JSON.stringify(t)):String(t)}function vm(){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 vm;const _T=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)},n0=t=>t.length>=2&&t.startsWith('"')&&t.endsWith('"'),JE=t=>n0(t)?t.slice(1,-1):t,HE=t=>`"${t}"`,KE=t=>t,wT=new Ns,ET=new vm,m1=(t,{strict:e=!0,quoted:r=null}={})=>{try{const n=e?"cookie-value":"lenient-cookie-value",o=wT.parse(ET,n,t);return typeof r=="boolean"?o.success&&r===n0(t):o.success}catch{return!1}},GE=t=>{const e=new TextEncoder().encode(t).reduce(((r,n)=>r+String.fromCharCode(n)),"");return btoa(e)},ST=(t,e=GE)=>{const r=String(t);if(m1(r))return r;const n=n0(r),o=e(n?JE(r):r);return n?HE(o):o},xT=t=>(e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,""))(GE(t)),AT=t=>ST(t,xT),OT=new Ns,kT=new vm,YE=(t,{strict:e=!0}={})=>{try{const r=e?"cookie-name":"lenient-cookie-name";return OT.parse(kT,r,t).success}catch{return!1}},CT=t=>{if(!YE(t))throw new TypeError(`Invalid cookie name: ${t}`)},ZE=t=>{if(!m1(t))throw new TypeError(`Invalid cookie value: ${t}`)},XE={encoders:{name:KE,value:AT},validators:{name:CT,value:ZE}},jT=(t,e,r={})=>{const n={...r,encoders:{...XE.encoders,...r.encoders},validators:{...XE.validators,...r.validators}},o=n.encoders.name(t),s=n.encoders.value(e);return n.validators.name(o),n.validators.value(s),`${o}=${s}`},IT=(t,e={})=>(Array.isArray(t)?t:typeof t=="object"&&t!==null?Object.entries(t):[]).map((([r,n])=>jT(r,n,e))).join("; "),PT=new Ns,TT=new vm,NT=t=>{const e=String(t);if(m1(e))return e;const r=n0(e),n=r?JE(e):e;let o="";for(const s of n)o+=PT.parse(TT,"cookie-octet",s).success?s:_T(s);return r?HE(o):o},MT=(new Ns,new vm,t=>{if(!YE(t,{strict:!1}))throw new TypeError(`Invalid cookie name: ${t}`)}),RT=t=>NT(t).replace(/[=&]/gu,(e=>e==="="?"%3D":"%26")),g1=(t,e={})=>IT(t,hy({encoders:{name:KE,value:RT},validators:{name:MT,value:ZE}},e));function DT({req:t,value:e,parameter:r,baseURL:n}){const{name:o,style:s,explode:b,content:h}=r;if(e===void 0)return;const E=t.url.replace(n,"");let k;if(h){const T=Object.keys(h)[0];k=d1(E,{[o]:e},{encoder:R=>B_(r0(R,T))})}else k=d1(E,{[o]:e},{encoder:T=>Mv({key:r.name,value:T,style:s||"simple",explode:b!=null&&b,escape:"reserved"})});t.url=n+k}function BT({req:t,value:e,parameter:r}){if(t.query=t.query||{},e!==void 0&&r.content){const n=r0(e,Object.keys(r.content)[0]);if(n)t.query[r.name]=n;else if(r.allowEmptyValue){const o=r.name;t.query[o]=t.query[o]||{},t.query[o].allowEmptyValue=!0}}else if(e===!1&&(e="false"),e===0&&(e="0"),e){const{style:n,explode:o,allowReserved:s}=r;t.query[r.name]={value:e,serializationOption:{style:n,explode:o,allowReserved:s}}}else if(r.allowEmptyValue&&e!==void 0){const n=r.name;t.query[n]=t.query[n]||{},t.query[n].allowEmptyValue=!0}}const FT=["accept","authorization","content-type"];function LT({req:t,parameter:e,value:r}){if(t.headers=t.headers||{},!(FT.indexOf(e.name.toLowerCase())>-1))if(r!==void 0&&e.content){const n=Object.keys(e.content)[0];t.headers[e.name]=r0(r,n)}else r===void 0||Array.isArray(r)&&r.length===0||(t.headers[e.name]=Mv({key:e.name,value:r,style:e.style||"simple",explode:e.explode!==void 0&&e.explode,escape:!1}))}function $T({req:t,parameter:e,value:r}){const{name:n}=e;if(t.headers=t.headers||{},r!==void 0&&e.content){const s=r0(r,Object.keys(e.content)[0]);t.headers.Cookie=g1({[n]:s})}else if(r!==void 0&&(!Array.isArray(r)||r.length!==0)){var o;const s=Mv({key:e.name,value:r,escape:!1,style:e.style||"form",explode:(o=e.explode)!==null&&o!==void 0&&o}),b=Array.isArray(r)&&e.explode?`${n}=${s}`:s;t.headers.Cookie=g1({[n]:b})}}const UT=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:qT}=UT,QE=qT;function zT(t,e){const{operation:r,requestBody:n,securities:o,spec:s,attachContentTypeForEmptyPayload:b}=t;let{requestContentType:h}=t;e=(function({request:te,securities:ae={},operation:K={},spec:Ae}){var fe;const me={...te},{authorized:xe={}}=ae,Se=K.security||Ae.security||[],Me=xe&&!!Object.keys(xe).length,Ne=(Ae==null||(fe=Ae.components)===null||fe===void 0?void 0:fe.securitySchemes)||{};return me.headers=me.headers||{},me.query=me.query||{},!Object.keys(ae).length||!Me||!Se||Array.isArray(K.security)&&!K.security.length?te:(Se.forEach((we=>{Object.keys(we).forEach((ye=>{const ke=xe[ye],Ie=Ne[ye];if(!ke)return;const De=ke.value||ke,{type:tt}=Ie;if(ke){if(tt==="apiKey")Ie.in==="query"&&(me.query[Ie.name]=De),Ie.in==="header"&&(me.headers[Ie.name]=De),Ie.in==="cookie"&&(me.cookies[Ie.name]=De);else if(tt==="http"){if(/^basic$/i.test(Ie.scheme)){const Dt=De.username||"",$t=De.password||"",lr=QE(`${Dt}:${$t}`);me.headers.Authorization=`Basic ${lr}`}/^bearer$/i.test(Ie.scheme)&&(me.headers.Authorization=`Bearer ${De}`)}else if(tt==="oauth2"||tt==="openIdConnect"){const Dt=ke.token||{},$t=Dt[Ie["x-tokenName"]||"access_token"];let lr=Dt.token_type;lr&&lr.toLowerCase()!=="bearer"||(lr="Bearer"),me.headers.Authorization=`${lr} ${$t}`}}}))})),me)})({request:e,securities:o,operation:r,spec:s});const E=r.requestBody||{},k=Object.keys(E.content||{}),T=h&&k.indexOf(h)>-1;if(n||b){if(h&&T)e.headers["Content-Type"]=h;else if(!h){const Z=k[0];Z&&(e.headers["Content-Type"]=Z,h=Z)}}else h&&T&&(e.headers["Content-Type"]=h);if(!t.responseContentType&&r.responses){const Z=Object.entries(r.responses).filter((([te,ae])=>{const K=parseInt(te,10);return K>=200&&K<300&&il(ae.content)})).reduce(((te,[,ae])=>te.concat(Object.keys(ae.content))),[]);Z.length>0&&(e.headers.accept=Z.join(", "))}if(n)if(h){if(k.indexOf(h)>-1)if(h==="application/x-www-form-urlencoded"||h==="multipart/form-data")if(typeof n=="object"){var R,F;const Z=(R=(F=E.content[h])===null||F===void 0?void 0:F.encoding)!==null&&R!==void 0?R:{};e.form={},Object.keys(n).forEach((te=>{let ae;try{ae=JSON.parse(n[te])}catch{ae=n[te]}e.form[te]={value:ae,encoding:Z[te]||{}}}))}else if(typeof n=="string"){var z,X;const Z=(z=(X=E.content[h])===null||X===void 0?void 0:X.encoding)!==null&&z!==void 0?z:{};try{e.form={};const te=JSON.parse(n);Object.entries(te).forEach((([ae,K])=>{e.form[ae]={value:K,encoding:Z[ae]||{}}}))}catch{e.form=n}}else e.form=n;else e.body=n}else e.body=n;return e}function VT(t,e){const{spec:r,operation:n,securities:o,requestContentType:s,responseContentType:b,attachContentTypeForEmptyPayload:h}=t;if(e=(function({request:k,securities:T={},operation:R={},spec:F}){const z={...k},{authorized:X={},specSecurity:Z=[]}=T,te=R.security||Z,ae=X&&!!Object.keys(X).length,K=F.securityDefinitions;return z.headers=z.headers||{},z.query=z.query||{},!Object.keys(T).length||!ae||!te||Array.isArray(R.security)&&!R.security.length?k:(te.forEach((Ae=>{Object.keys(Ae).forEach((fe=>{const me=X[fe];if(!me)return;const{token:xe}=me,Se=me.value||me,Me=K[fe],{type:Ne}=Me,we=Me["x-tokenName"]||"access_token",ye=xe&&xe[we];let ke=xe&&xe.token_type;if(me)if(Ne==="apiKey"){const Ie=Me.in==="query"?"query":"headers";z[Ie]=z[Ie]||{},z[Ie][Me.name]=Se}else if(Ne==="basic")if(Se.header)z.headers.authorization=Se.header;else{const Ie=Se.username||"",De=Se.password||"";Se.base64=QE(`${Ie}:${De}`),z.headers.authorization=`Basic ${Se.base64}`}else Ne==="oauth2"&&ye&&(ke=ke&&ke.toLowerCase()!=="bearer"?ke:"Bearer",z.headers.authorization=`${ke} ${ye}`)}))})),z)})({request:e,securities:o,operation:n,spec:r}),e.body||e.form||h)s?e.headers["Content-Type"]=s: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((E=>E.type==="file")).length?e.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter((E=>E.in==="formData")).length&&(e.headers["Content-Type"]="application/x-www-form-urlencoded");else if(s){const E=n.parameters&&n.parameters.filter((T=>T.in==="body")).length>0,k=n.parameters&&n.parameters.filter((T=>T.in==="formData")).length>0;(E||k)&&(e.headers["Content-Type"]=s)}return!b&&Array.isArray(n.produces)&&n.produces.length>0&&(e.headers.accept=n.produces.join(", ")),e}function eS(t,e){return`${e.toLowerCase()}-${t}`}const tS=t=>Array.isArray(t)?t:[],bm=(t,{recurse:e=!0,depth:r=1}={})=>{if(il(t)){if(t.type==="object"||t.type==="array"||Array.isArray(t.type)&&(t.type.includes("object")||t.type.includes("array")))return t;if(!(r>S_)&&e){const n=Array.isArray(t.oneOf)?t.oneOf.find((s=>bm(s,{recurse:e,depth:r+1}))):void 0;if(n)return n;const o=Array.isArray(t.anyOf)?t.anyOf.find((s=>bm(s,{recurse:e,depth:r+1}))):void 0;if(o)return o}}},rS=({value:t,silentFail:e=!1})=>{try{const r=JSON.parse(t);if(il(r)||Array.isArray(r))return r;if(!e)throw new Error("Expected JSON serialized object or array")}catch{if(!e)throw new Error("Could not parse parameter value string as JSON Object or JSON Array")}return t},y1=t=>{try{return new URL(t)}catch{const e=new URL(t,oy),r=String(t).startsWith("/")?e.pathname:e.pathname.substring(1);return{hash:e.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:e.search,searchParams:e.searchParams}}};class WT extends Ul{}const JT={buildRequest:nS};function HT({http:t,fetch:e,spec:r,operationId:n,pathName:o,method:s,parameters:b,securities:h,...E}){const k=t||e||_d;o&&s&&!n&&(n=eS(o,s));const T=JT.buildRequest({spec:r,operationId:n,parameters:b,securities:h,http:k,...E});return T.body&&(il(T.body)||Array.isArray(T.body))&&(T.body=JSON.stringify(T.body)),k(T)}function nS(t){const{spec:e,operationId:r,responseContentType:n,scheme:o,requestInterceptor:s,responseInterceptor:b,contextUrl:h,userFetch:E,server:k,serverVariables:T,http:R,signal:F,serverVariableEncoder:z}=t;let{parameters:X,parameterBuilders:Z,baseURL:te}=t;const ae=K_(e);Z||(Z=ae?Ce:bT);let K={url:"",credentials:R&&R.withCredentials?"include":"same-origin",headers:{},cookies:{}};F&&(K.signal=F),s&&(K.requestInterceptor=s),b&&(K.responseInterceptor=b),E&&(K.userFetch=E);const Ae=(function(ye,ke){return ye&&ye.paths?(function(De,tt){return(function($t,lr,vr){if(!$t||typeof $t!="object"||!$t.paths||typeof $t.paths!="object")return null;const{paths:yr}=$t;for(const Or in yr)for(const pr in yr[Or]){if(pr.toUpperCase()==="PARAMETERS")continue;const jt=yr[Or][pr];if(!jt||typeof jt!="object")continue;const Jt={spec:$t,pathName:Or,method:pr.toUpperCase(),operation:jt};if(lr(Jt))return Jt}})(De,tt)||null})(ye,(({pathName:Ie,method:De,operation:tt})=>{if(!tt||typeof tt!="object")return!1;const Dt=tt.operationId;return[Ed(tt,Ie,De),eS(Ie,De),Dt].some(($t=>$t&&$t===ke))})):null})(e,r);if(!Ae)throw new WT(`Operation ${r} not found`);const{operation:fe={},method:me,pathName:xe}=Ae;if(te=te??(function(ye){return K_(ye.spec)?(function({spec:De,pathName:tt,method:Dt,server:$t,contextUrl:lr,serverVariables:vr={},serverVariableEncoder:yr}){var Or,pr;let jt,Jt=[],un="";const Yr=De==null||(Or=De.paths)===null||Or===void 0||(Or=Or[tt])===null||Or===void 0||(Or=Or[(Dt||"").toLowerCase()])===null||Or===void 0?void 0:Or.servers,Zr=De==null||(pr=De.paths)===null||pr===void 0||(pr=pr[tt])===null||pr===void 0?void 0:pr.servers,rn=De?.servers;if(Jt=b1(Yr)?Yr:b1(Zr)?Zr:b1(rn)?rn:[VA],$t&&(jt=Jt.find((pa=>pa.url===$t)),jt&&(un=$t)),un||([jt]=Jt,un=jt.url),iT(un,{strict:!0})){const pa=Object.entries({...jt.variables}).reduce(((ln,[Hr,Yn])=>(ln[Hr]=Yn.default,ln)),{});un=cT(un,{...pa,...vr},{encoder:typeof yr=="function"?yr:xE})}return(function(ln="",Hr=""){const Yn=y1(ln&&Hr?ti(Hr,ln):ln),Rn=y1(Hr),Bn=v1(Yn.protocol)||v1(Rn.protocol),na=Yn.host||Rn.host,vo=Yn.pathname;let Jn;return Jn=Bn&&na?`${Bn}://${na+vo}`:vo,Jn[Jn.length-1]==="/"?Jn.slice(0,-1):Jn})(un,lr)})(ye):(function({spec:De,scheme:tt,contextUrl:Dt=""}){const $t=y1(Dt),lr=Array.isArray(De.schemes)?De.schemes[0]:null,vr=tt||lr||v1($t.protocol)||"http",yr=De.host||$t.host||"",Or=De.basePath||"";let pr;return pr=yr?`${vr}://${yr+Or}`:Or,pr[pr.length-1]==="/"?pr.slice(0,-1):pr})(ye)})({spec:e,scheme:o,contextUrl:h,server:k,serverVariables:T,pathName:xe,method:me,serverVariableEncoder:z}),K.url+=te,!r)return delete K.cookies,K;K.url+=xe,K.method=`${me}`.toUpperCase(),X=X||{};const Se=e.paths[xe]||{};n&&(K.headers.accept=n);const Me=(we=>{const ye={};we.forEach((Ie=>{ye[Ie.in]||(ye[Ie.in]={}),ye[Ie.in][Ie.name]=Ie}));const ke=[];return Object.keys(ye).forEach((Ie=>{Object.keys(ye[Ie]).forEach((De=>{ke.push(ye[Ie][De])}))})),ke})([].concat(tS(fe.parameters)).concat(tS(Se.parameters)));Me.forEach((we=>{const ye=Z[we.in];let ke;if(we.in==="body"&&we.schema&&we.schema.properties&&(ke=X),ke=we&&we.name&&X[we.name],ke===void 0?ke=we&&we.name&&X[`${we.in}.${we.name}`]:((Ie,De)=>De.filter((tt=>tt.name===Ie)))(we.name,Me).length>1&&console.warn(`Parameter '${we.name}' is ambiguous because the defined spec has more than one parameter with the name: '${we.name}' and the passed-in parameter values did not define an 'in' value.`),ke!==null){if(we.default!==void 0&&ke===void 0&&(ke=we.default),ke===void 0&&we.required&&!we.allowEmptyValue)throw new Error(`Required parameter ${we.name} is not provided`);ae&&typeof ke=="string"&&(Zd("type",we.schema)&&typeof we.schema.type=="string"&&bm(we.schema,{recurse:!1})?ke=rS({value:ke,silentFail:!1}):(Zd("type",we.schema)&&Array.isArray(we.schema.type)&&bm(we.schema,{recurse:!1})||!Zd("type",we.schema)&&bm(we.schema,{recurse:!0}))&&(ke=rS({value:ke,silentFail:!0}))),ye&&ye({req:K,parameter:we,value:ke,operation:fe,spec:e,baseURL:te})}}));const Ne={...t,operation:fe};if(K=ae?zT(Ne,K):VT(Ne,K),K.cookies&&Object.keys(K.cookies).length>0){const we=g1(K.cookies);Sy(K.headers.Cookie)?K.headers.Cookie+=`; ${we}`:K.headers.Cookie=we}return K.cookies&&delete K.cookies,Rv(K)}const v1=t=>t?t.replace(/\W/g,""):null,b1=t=>Array.isArray(t)&&t.length>0,KT=t=>async(e,r,n={})=>(async(o,s,b={})=>{const{returnEntireTree:h,baseDoc:E,requestInterceptor:k,responseInterceptor:T,parameterMacro:R,modelPropertyMacro:F,useCircularStructures:z,strategies:X}=b,Z={spec:o,pathDiscriminator:s,baseDoc:E,requestInterceptor:k,responseInterceptor:T,parameterMacro:R,modelPropertyMacro:F,useCircularStructures:z,strategies:X},te=X.find((K=>K.match(o))).normalize(o),ae=await eT({spec:te,...Z,allowMetaPatches:!0,skipNormalization:!Uv(o)});return!h&&Array.isArray(s)&&s.length&&(ae.spec=s.reduce(((K,Ae)=>K?.[Ae]),ae.spec)||null),ae})(e,r,{...t,...n}),GT=((t,e)=>(...r)=>{t(...r);const n=e.getConfigs().withCredentials;e.fn.fetch.withCredentials=n});function aS({configs:t,getConfigs:e}){return{fn:{fetch:(r=_d,n=t.preFetch,o=t.postFetch,o=o||(s=>s),n=n||(s=>s),s=>(typeof s=="string"&&(s={url:s}),s=Rv(s),s=n(s),o(r(s)))),buildRequest:nS,execute:HT,resolve:zE({strategies:[qE,zv,qv,$v]}),resolveSubtree:async(s,b,h={})=>{const E=e(),k={modelPropertyMacro:E.modelPropertyMacro,parameterMacro:E.parameterMacro,requestInterceptor:E.requestInterceptor,responseInterceptor:E.responseInterceptor,strategies:[qE,zv,qv,$v]};return KT(k)(s,b,h)},serializeRes:U_,opId:Ed},statePlugins:{configs:{wrapActions:{loaded:GT}}}};var r,n,o}function oS(){return{fn:{shallowEqualKeys:lo,sanitizeUrl:Na}}}var iS=qe(40961),YT=(qe(78418),g.version.startsWith("19")),ZT=Symbol.for(YT?"react.transitional.element":"react.element"),XT=Symbol.for("react.portal"),QT=Symbol.for("react.fragment"),eN=Symbol.for("react.strict_mode"),tN=Symbol.for("react.profiler"),rN=Symbol.for("react.consumer"),nN=Symbol.for("react.context"),sS=Symbol.for("react.forward_ref"),aN=Symbol.for("react.suspense"),oN=Symbol.for("react.suspense_list"),_1=Symbol.for("react.memo"),iN=Symbol.for("react.lazy"),sN=sS,lN=_1;function cN(t){if(typeof t=="object"&&t!==null){const{$$typeof:e}=t;switch(e){case ZT:switch(t=t.type){case QT:case tN:case eN:case aN:case oN:return t;default:switch(t=t&&t.$$typeof){case nN:case sS:case iN:case _1:case rN:return t;default:return e}}case XT:return e}}}function uN(t,e,r,n,{areStatesEqual:o,areOwnPropsEqual:s,areStatePropsEqual:b}){let h,E,k,T,R,F=!1;function z(X,Z){const te=!s(Z,E),ae=!o(X,h,Z,E);return h=X,E=Z,te&&ae?(function(){return k=t(h,E),e.dependsOnOwnProps&&(T=e(n,E)),R=r(k,T,E),R})():te?(function(){return t.dependsOnOwnProps&&(k=t(h,E)),e.dependsOnOwnProps&&(T=e(n,E)),R=r(k,T,E),R})():ae?(function(){const Ae=t(h,E),fe=!b(Ae,k);return k=Ae,fe&&(R=r(k,T,E)),R})():R}return function(Z,te){return F?z(Z,te):(function(K,Ae){return h=K,E=Ae,k=t(h,E),T=e(n,E),R=r(k,T,E),F=!0,R})(Z,te)}}function lS(t){return function(r){const n=t(r);function o(){return n}return o.dependsOnOwnProps=!1,o}}function cS(t){return t.dependsOnOwnProps?!!t.dependsOnOwnProps:t.length!==1}function pN(t,e){return function(n,{displayName:o}){const s=function(h,E){return s.dependsOnOwnProps?s.mapToProps(h,E):s.mapToProps(h,void 0)};return s.dependsOnOwnProps=!0,s.mapToProps=function(h,E){s.mapToProps=t,s.dependsOnOwnProps=cS(t);let k=s(h,E);return typeof k=="function"&&(s.mapToProps=k,s.dependsOnOwnProps=cS(k),k=s(h,E)),k},s}}function fN(t,e){return(r,n)=>{throw new Error(`Invalid value of type ${typeof t} for ${e} argument when connecting component ${n.wrappedComponentName}.`)}}function hN(t,e,r){return{...r,...t,...e}}function dN(t){t()}var uS={notify(){},get:()=>[]};function pS(t,e){let r,n=uS,o=0,s=!1;function b(){k.onStateChange&&k.onStateChange()}function h(){o++,r||(r=e?e.addNestedSub(b):t.subscribe(b),n=(function(){let R=null,F=null;return{clear(){R=null,F=null},notify(){dN((()=>{let z=R;for(;z;)z.callback(),z=z.next}))},get(){const z=[];let X=R;for(;X;)z.push(X),X=X.next;return z},subscribe(z){let X=!0;const Z=F={callback:z,next:null,prev:F};return Z.prev?Z.prev.next=Z:R=Z,function(){X&&R!==null&&(X=!1,Z.next?Z.next.prev=Z.prev:F=Z.prev,Z.prev?Z.prev.next=Z.next:R=Z.next)}}}})())}function E(){o--,r&&o===0&&(r(),r=void 0,n.clear(),n=uS)}const k={addNestedSub:function(R){h();const F=n.subscribe(R);let z=!1;return()=>{z||(z=!0,F(),E())}},notifyNestedSubs:function(){n.notify()},handleChangeWrapper:b,isSubscribed:function(){return s},trySubscribe:function(){s||(s=!0,h())},tryUnsubscribe:function(){s&&(s=!1,E())},getListeners:()=>n};return k}var mN=!(typeof window>"u"||window.document===void 0||window.document.createElement===void 0),gN=typeof navigator<"u"&&navigator.product==="ReactNative",a0=mN||gN?g.useLayoutEffect:g.useEffect;function fS(t,e){return t===e?t!==0||e!==0||1/t==1/e:t!=t&&e!=e}function w1(t,e){if(fS(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 o=0;o<r.length;o++)if(!Object.prototype.hasOwnProperty.call(e,r[o])||!fS(t[r[o]],e[r[o]]))return!1;return!0}var yN={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},vN={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},hS={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},bN={[sN]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[lN]:hS};function dS(t){return(function(r){return cN(r)===_1})(t)?hS:bN[t.$$typeof]||yN}var _N=Object.defineProperty,wN=Object.getOwnPropertyNames,mS=Object.getOwnPropertySymbols,EN=Object.getOwnPropertyDescriptor,SN=Object.getPrototypeOf,gS=Object.prototype;function E1(t,e){if(typeof e!="string"){if(gS){const s=SN(e);s&&s!==gS&&E1(t,s)}let r=wN(e);mS&&(r=r.concat(mS(e)));const n=dS(t),o=dS(e);for(let s=0;s<r.length;++s){const b=r[s];if(!(vN[b]||o&&o[b]||n&&n[b])){const h=EN(e,b);try{_N(t,b,h)}catch{}}}}return t}var xN=Symbol.for("react-redux-context"),AN=typeof globalThis<"u"?globalThis:{};function ON(){if(!g.createContext)return{};const t=AN[xN]??=new Map;let e=t.get(g.createContext);return e||(e=g.createContext(null),t.set(g.createContext,e)),e}var yS=ON(),kN=[null,null];function CN(t,e,r,n,o,s){t.current=n,r.current=!1,o.current&&(o.current=null,s())}function jN(t,e){return t===e}var IN=function(e,r,n,{pure:o,areStatesEqual:s=jN,areOwnPropsEqual:b=w1,areStatePropsEqual:h=w1,areMergedPropsEqual:E=w1,forwardRef:k=!1,context:T=yS}={}){const R=T,F=(function(ae){return ae?typeof ae=="function"?pN(ae):fN(ae,"mapStateToProps"):lS((()=>({})))})(e),z=(function(ae){return lS((K=>({dispatch:K})))})(),X=(function(ae){return()=>hN})(),Z=!!e;return te=>{const ae=te.displayName||te.name||"Component",K=`Connect(${ae})`,Ae={shouldHandleStateChanges:Z,displayName:K,wrappedComponentName:ae,WrappedComponent:te,initMapStateToProps:F,initMapDispatchToProps:z,initMergeProps:X,areStatesEqual:s,areStatePropsEqual:h,areOwnPropsEqual:b,areMergedPropsEqual:E};function fe(xe){const[Se,Me,Ne]=g.useMemo((()=>{const{reactReduxForwardedRef:ln,...Hr}=xe;return[xe.context,ln,Hr]}),[xe]),we=g.useMemo((()=>R),[Se,R]),ye=g.useContext(we),ke=!!xe.store&&!!xe.store.getState&&!!xe.store.dispatch,Ie=!!ye&&!!ye.store,De=ke?xe.store:ye.store,tt=Ie?ye.getServerState:De.getState,Dt=g.useMemo((()=>(function(Hr,{initMapStateToProps:Yn,initMapDispatchToProps:Rn,initMergeProps:Bn,...na}){return uN(Yn(Hr,na),Rn(Hr,na),Bn(Hr,na),Hr,na)})(De.dispatch,Ae)),[De]),[$t,lr]=g.useMemo((()=>{if(!Z)return kN;const ln=pS(De,ke?void 0:ye.subscription),Hr=ln.notifyNestedSubs.bind(ln);return[ln,Hr]}),[De,ke,ye]),vr=g.useMemo((()=>ke?ye:{...ye,subscription:$t}),[ke,ye,$t]),yr=g.useRef(void 0),Or=g.useRef(Ne),pr=g.useRef(void 0),jt=g.useRef(!1),Jt=g.useRef(!1),un=g.useRef(void 0);a0((()=>(Jt.current=!0,()=>{Jt.current=!1})),[]);const Yr=g.useMemo((()=>()=>pr.current&&Ne===Or.current?pr.current:Dt(De.getState(),Ne)),[De,Ne]),Zr=g.useMemo((()=>ln=>$t?(function(Yn,Rn,Bn,na,vo,Jn,Ra,Fo,eo,li,Kf){if(!Yn)return()=>{};let du=!1,qs=null;const vl=()=>{if(du||!Fo.current)return;const Xl=Rn.getState();let Co,bl;try{Co=na(Xl,vo.current)}catch(Rm){bl=Rm,qs=Rm}bl||(qs=null),Co===Jn.current?Ra.current||li():(Jn.current=Co,eo.current=Co,Ra.current=!0,Kf())};return Bn.onStateChange=vl,Bn.trySubscribe(),vl(),()=>{if(du=!0,Bn.tryUnsubscribe(),Bn.onStateChange=null,qs)throw qs}})(Z,De,$t,Dt,Or,yr,jt,Jt,pr,lr,ln):()=>{}),[$t]);let rn;(function(Hr,Yn,Rn){a0((()=>Hr(...Yn)),Rn)})(CN,[Or,yr,jt,Ne,pr,lr]);try{rn=g.useSyncExternalStore(Zr,Yr,tt?()=>Dt(tt(),Ne):Yr)}catch(ln){throw un.current&&(ln.message+=`
|
||
The error may be correlated with this previous error:
|
||
${un.current.stack}
|
||
|
||
`),ln}a0((()=>{un.current=void 0,pr.current=void 0,yr.current=rn}));const pa=g.useMemo((()=>g.createElement(te,{...rn,ref:Me})),[Me,te,rn]);return g.useMemo((()=>Z?g.createElement(we.Provider,{value:vr},pa):pa),[we,pa,vr])}const me=g.memo(fe);if(me.WrappedComponent=te,me.displayName=fe.displayName=K,k){const xe=g.forwardRef((function(Me,Ne){return g.createElement(me,{...Me,reactReduxForwardedRef:Ne})}));return xe.displayName=K,xe.WrappedComponent=te,E1(xe,te)}return E1(me,te)}},PN=function(e){const{children:r,context:n,serverState:o,store:s}=e,b=g.useMemo((()=>{const k=pS(s);return{store:s,subscription:k,getServerState:o?()=>o:void 0}}),[s,o]),h=g.useMemo((()=>s.getState()),[s]);a0((()=>{const{subscription:k}=b;return k.onStateChange=k.notifyNestedSubs,k.trySubscribe(),h!==s.getState()&&k.notifyNestedSubs(),()=>{k.tryUnsubscribe(),k.onStateChange=void 0}}),[b,h]);const E=n||yS;return g.createElement(E.Provider,{value:b},r)},TN=qe(83488),vS=qe.n(TN);const NN=t=>e=>{const{fn:r}=t();class n extends g.Component{render(){return g.createElement(e,An()({},t(),this.props,this.context))}}return n.displayName=`WithSystem(${r.getDisplayName(e)})`,n},MN=(t,e)=>r=>{const{fn:n}=t();class o extends g.Component{render(){return g.createElement(PN,{store:e},g.createElement(r,An()({},this.props,this.context)))}}return o.displayName=`WithRoot(${n.getDisplayName(r)})`,o},bS=(t,e,r)=>dt(r?MN(t,r):vS(),IN(((n,o)=>{const s={...o,...t()};return(e.prototype?.mapStateToProps||(h=>({state:h})))(n,s)})),NN(t))(e),_S=(t,e,r,n)=>{for(const o in e){const s=e[o];typeof s=="function"&&s(r[o],n[o],t())}},RN=(t,e,r)=>(n,o)=>{const{fn:s}=t(),b=r(n,"root");class h extends g.Component{constructor(k,T){super(k,T),_S(t,o,k,{})}UNSAFE_componentWillReceiveProps(k){_S(t,o,k,this.props)}render(){const k=Po()(this.props,o?Object.keys(o):[]);return g.createElement(b,k)}}return h.displayName=`WithMappedContainer(${s.getDisplayName(b)})`,h},DN=(t,e,r,n)=>o=>{const s=r(t,e,n)("App","root"),{createRoot:b}=iS;b(o).render(g.createElement(s,null))},S1=(t,e,r)=>(n,o,s={})=>{if(typeof n!="string")throw new TypeError("Need a string, to fetch a component. Was given a "+typeof n);const b=r(n);return b?o?o==="root"?bS(t,b,e()):bS(t,b):b:(s.failSilently||t().log.warn("Could not find component:",n),null)},BN=t=>t.displayName||t.name||"Component",wS=({getComponents:t,getStore:e,getSystem:r})=>{const n=(o=S1(r,e,t),$o(o,((...b)=>JSON.stringify(b))));var o;const s=(b=>Du(b,((...h)=>h)))(RN(r,0,n));return{rootInjects:{getComponent:n,makeMappedContainer:s,render:DN(r,e,S1,t)},fn:{getDisplayName:BN}}},ES=({React:t,getSystem:e,getStore:r,getComponents:n})=>{const o={},s=parseInt(t?.version,10);return s>=16&&s<18&&(o.render=((b,h,E,k)=>T=>{const R=E(b,h,k)("App","root");iS.render(g.createElement(R,null),T)})(e,r,S1,n)),{rootInjects:o}};function SS(t){let{fn:e}=t;const r={download:o=>({errActions:s,specSelectors:b,specActions:h,getConfigs:E})=>{let{fetch:k}=e;const T=E();function R(F){if(F instanceof Error||F.status>=400)return h.updateLoadingStatus("failed"),s.newThrownErr(Object.assign(new Error((F.message||F.statusText)+" "+o),{source:"fetch"})),void(!F.status&&F instanceof Error&&(function(){try{let X;if("URL"in yt?X=new URL(o):(X=document.createElement("a"),X.href=o),X.protocol!=="https:"&&yt.location.protocol==="https:"){const Z=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${X.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void s.newThrownErr(Z)}if(X.origin!==yt.location.origin){const Z=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${X.origin}) does not match the page (${yt.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});s.newThrownErr(Z)}}catch{return}})());h.updateLoadingStatus("success"),h.updateSpec(F.text),b.url()!==o&&h.updateUrl(o)}o=o||b.url(),h.updateLoadingStatus("loading"),s.clear({source:"fetch"}),k({url:o,loadSpec:!0,requestInterceptor:T.requestInterceptor||(F=>F),responseInterceptor:T.responseInterceptor||(F=>F),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(R,R)},updateLoadingStatus:o=>{let s=[null,"loading","failed","success","failedConfig"];return s.indexOf(o)===-1&&console.error(`Error: ${o} is not one of ${JSON.stringify(s)}`),{type:"spec_update_loading_status",payload:o}}};let n={loadingStatus:_r((o=>o||(0,ee.Map)()),(o=>o.get("loadingStatus")||null))};return{statePlugins:{spec:{actions:r,reducers:{spec_update_loading_status:(o,s)=>typeof s.payload=="string"?o.set("loadingStatus",s.payload):o},selectors:n}}}}function x1(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 A1(t){return(function(r){if(Array.isArray(r))return x1(r)})(t)||(function(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)})(t)||(function(r,n){if(r){if(typeof r=="string")return x1(r,n);var o={}.toString.call(r).slice(8,-1);return o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set"?Array.from(r):o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?x1(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 _m(t){return _m=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},_m(t)}function FN(t){var e=(function(n,o){if(_m(n)!="object"||!n)return n;var s=n[Symbol.toPrimitive];if(s!==void 0){var b=s.call(n,o);if(_m(b)!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(n)})(t,"string");return _m(e)=="symbol"?e:e+""}function xS(t,e,r){return(e=FN(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function O1(){return O1=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},O1.apply(null,arguments)}function AS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,n)}return r}function Lf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?AS(Object(r),!0).forEach((function(n){xS(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):AS(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var k1={};function LN(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;return(function(o){if(o.length===0||o.length===1)return o;var s=o.join(".");return k1[s]||(k1[s]=(function(h){var E=h.length;return E===0||E===1?h:E===2?[h[0],h[1],"".concat(h[0],".").concat(h[1]),"".concat(h[1],".").concat(h[0])]:E===3?[h[0],h[1],h[2],"".concat(h[0],".").concat(h[1]),"".concat(h[0],".").concat(h[2]),"".concat(h[1],".").concat(h[0]),"".concat(h[1],".").concat(h[2]),"".concat(h[2],".").concat(h[0]),"".concat(h[2],".").concat(h[1]),"".concat(h[0],".").concat(h[1],".").concat(h[2]),"".concat(h[0],".").concat(h[2],".").concat(h[1]),"".concat(h[1],".").concat(h[0],".").concat(h[2]),"".concat(h[1],".").concat(h[2],".").concat(h[0]),"".concat(h[2],".").concat(h[0],".").concat(h[1]),"".concat(h[2],".").concat(h[1],".").concat(h[0])]:E>=4?[h[0],h[1],h[2],h[3],"".concat(h[0],".").concat(h[1]),"".concat(h[0],".").concat(h[2]),"".concat(h[0],".").concat(h[3]),"".concat(h[1],".").concat(h[0]),"".concat(h[1],".").concat(h[2]),"".concat(h[1],".").concat(h[3]),"".concat(h[2],".").concat(h[0]),"".concat(h[2],".").concat(h[1]),"".concat(h[2],".").concat(h[3]),"".concat(h[3],".").concat(h[0]),"".concat(h[3],".").concat(h[1]),"".concat(h[3],".").concat(h[2]),"".concat(h[0],".").concat(h[1],".").concat(h[2]),"".concat(h[0],".").concat(h[1],".").concat(h[3]),"".concat(h[0],".").concat(h[2],".").concat(h[1]),"".concat(h[0],".").concat(h[2],".").concat(h[3]),"".concat(h[0],".").concat(h[3],".").concat(h[1]),"".concat(h[0],".").concat(h[3],".").concat(h[2]),"".concat(h[1],".").concat(h[0],".").concat(h[2]),"".concat(h[1],".").concat(h[0],".").concat(h[3]),"".concat(h[1],".").concat(h[2],".").concat(h[0]),"".concat(h[1],".").concat(h[2],".").concat(h[3]),"".concat(h[1],".").concat(h[3],".").concat(h[0]),"".concat(h[1],".").concat(h[3],".").concat(h[2]),"".concat(h[2],".").concat(h[0],".").concat(h[1]),"".concat(h[2],".").concat(h[0],".").concat(h[3]),"".concat(h[2],".").concat(h[1],".").concat(h[0]),"".concat(h[2],".").concat(h[1],".").concat(h[3]),"".concat(h[2],".").concat(h[3],".").concat(h[0]),"".concat(h[2],".").concat(h[3],".").concat(h[1]),"".concat(h[3],".").concat(h[0],".").concat(h[1]),"".concat(h[3],".").concat(h[0],".").concat(h[2]),"".concat(h[3],".").concat(h[1],".").concat(h[0]),"".concat(h[3],".").concat(h[1],".").concat(h[2]),"".concat(h[3],".").concat(h[2],".").concat(h[0]),"".concat(h[3],".").concat(h[2],".").concat(h[1]),"".concat(h[0],".").concat(h[1],".").concat(h[2],".").concat(h[3]),"".concat(h[0],".").concat(h[1],".").concat(h[3],".").concat(h[2]),"".concat(h[0],".").concat(h[2],".").concat(h[1],".").concat(h[3]),"".concat(h[0],".").concat(h[2],".").concat(h[3],".").concat(h[1]),"".concat(h[0],".").concat(h[3],".").concat(h[1],".").concat(h[2]),"".concat(h[0],".").concat(h[3],".").concat(h[2],".").concat(h[1]),"".concat(h[1],".").concat(h[0],".").concat(h[2],".").concat(h[3]),"".concat(h[1],".").concat(h[0],".").concat(h[3],".").concat(h[2]),"".concat(h[1],".").concat(h[2],".").concat(h[0],".").concat(h[3]),"".concat(h[1],".").concat(h[2],".").concat(h[3],".").concat(h[0]),"".concat(h[1],".").concat(h[3],".").concat(h[0],".").concat(h[2]),"".concat(h[1],".").concat(h[3],".").concat(h[2],".").concat(h[0]),"".concat(h[2],".").concat(h[0],".").concat(h[1],".").concat(h[3]),"".concat(h[2],".").concat(h[0],".").concat(h[3],".").concat(h[1]),"".concat(h[2],".").concat(h[1],".").concat(h[0],".").concat(h[3]),"".concat(h[2],".").concat(h[1],".").concat(h[3],".").concat(h[0]),"".concat(h[2],".").concat(h[3],".").concat(h[0],".").concat(h[1]),"".concat(h[2],".").concat(h[3],".").concat(h[1],".").concat(h[0]),"".concat(h[3],".").concat(h[0],".").concat(h[1],".").concat(h[2]),"".concat(h[3],".").concat(h[0],".").concat(h[2],".").concat(h[1]),"".concat(h[3],".").concat(h[1],".").concat(h[0],".").concat(h[2]),"".concat(h[3],".").concat(h[1],".").concat(h[2],".").concat(h[0]),"".concat(h[3],".").concat(h[2],".").concat(h[0],".").concat(h[1]),"".concat(h[3],".").concat(h[2],".").concat(h[1],".").concat(h[0])]:void 0})(o)),k1[s]})(t.filter((function(n){return n!=="token"}))).reduce((function(n,o){return Lf(Lf({},n),r[o])}),e)}function OS(t){return t.join(" ")}function kS(t){var e=t.node,r=t.stylesheet,n=t.style,o=n===void 0?{}:n,s=t.useInlineStyles,b=t.key,h=e.properties,E=e.type,k=e.tagName,T=e.value;if(E==="text")return T;if(k){var R,F=(function(K,Ae){var fe=0;return function(me){return fe+=1,me.map((function(xe,Se){return kS({node:xe,stylesheet:K,useInlineStyles:Ae,key:"code-segment-".concat(fe,"-").concat(Se)})}))}})(r,s);if(s){var z=Object.keys(r).reduce((function(ae,K){return K.split(".").forEach((function(Ae){ae.includes(Ae)||ae.push(Ae)})),ae}),[]),X=h.className&&h.className.includes("token")?["token"]:[],Z=h.className&&X.concat(h.className.filter((function(ae){return!z.includes(ae)})));R=Lf(Lf({},h),{},{className:OS(Z)||void 0,style:LN(h.className,Object.assign({},h.style,o),r)})}else R=Lf(Lf({},h),{},{className:OS(h.className)});var te=F(e.children);return g.createElement(k,O1({key:b},R),te)}}var $N=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function CS(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable}))),r.push.apply(r,n)}return r}function ip(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?CS(Object(r),!0).forEach((function(n){xS(t,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):CS(Object(r)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))}))}return t}var UN=/\n/g;function qN(t){var e=t.codeString,r=t.codeStyle,n=t.containerStyle,o=n===void 0?{float:"left",paddingRight:"10px"}:n,s=t.numberStyle,b=s===void 0?{}:s,h=t.startingLineNumber;return g.createElement("code",{style:Object.assign({},r,o)},(function(k){var T=k.lines,R=k.startingLineNumber,F=k.style;return T.map((function(z,X){var Z=X+R;return g.createElement("span",{key:"line-".concat(X),className:"react-syntax-highlighter-line-number",style:typeof F=="function"?F(Z):F},"".concat(Z,`
|
||
`))}))})({lines:e.replace(/\n$/,"").split(`
|
||
`),style:b,startingLineNumber:h}))}function jS(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 IS(t,e,r){var n,o={display:"inline-block",minWidth:(n=r,"".concat(n.toString().length,".25em")),paddingRight:"1em",textAlign:"right",userSelect:"none"},s=typeof t=="function"?t(e):t;return ip(ip({},o),s)}function o0(t){var e=t.children,r=t.lineNumber,n=t.lineNumberStyle,o=t.largestLineNumber,s=t.showInlineLineNumbers,b=t.lineProps,h=b===void 0?{}:b,E=t.className,k=E===void 0?[]:E,T=t.showLineNumbers,R=t.wrapLongLines,F=t.wrapLines,z=F!==void 0&&F?ip({},typeof h=="function"?h(r):h):{};if(z.className=z.className?[].concat(A1(z.className.trim().split(/\s+/)),A1(k)):k,r&&s){var X=IS(n,r,o);e.unshift(jS(r,X))}return R&T&&(z.style=ip({display:"flex"},z.style)),{type:"element",tagName:"span",properties:z,children:e}}function PS(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n<t.length;n++){var o=t[n];if(o.type==="text")r.push(o0({children:[o],className:A1(new Set(e))}));else if(o.children){var s=e.concat(o.properties.className);PS(o.children,s).forEach((function(b){return r.push(b)}))}}return r}function zN(t,e,r,n,o,s,b,h,E){var k,T=PS(t.value),R=[],F=-1,z=0;function X(K,Ae){var fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return e||fe.length>0?(function(xe,Se){return o0({children:xe,lineNumber:Se,lineNumberStyle:h,largestLineNumber:b,showInlineLineNumbers:o,lineProps:r,className:arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],showLineNumbers:n,wrapLongLines:E,wrapLines:e})})(K,Ae,fe):(function(xe,Se){if(n&&Se&&o){var Me=IS(h,Se,b);xe.unshift(jS(Se,Me))}return xe})(K,Ae)}for(var Z=function(){var Ae=T[z],fe=Ae.children[0].value,me=(function(Me){return Me.match(UN)})(fe);if(me){var xe=fe.split(`
|
||
`);xe.forEach((function(Se,Me){var Ne=n&&R.length+s,we={type:"text",value:"".concat(Se,`
|
||
`)};if(Me===0){var ye=X(T.slice(F+1,z).concat(o0({children:[we],className:Ae.properties.className})),Ne);R.push(ye)}else if(Me===xe.length-1){var ke=T[z+1]&&T[z+1].children&&T[z+1].children[0],Ie={type:"text",value:"".concat(Se)};if(ke){var De=o0({children:[Ie],className:Ae.properties.className});T.splice(z+1,0,De)}else{var tt=X([Ie],Ne,Ae.properties.className);R.push(tt)}}else{var Dt=X([we],Ne,Ae.properties.className);R.push(Dt)}})),F=z}z++};z<T.length;)Z();if(F!==T.length-1){var te=T.slice(F+1,T.length);if(te&&te.length){var ae=X(te,n&&R.length+s);R.push(ae)}}return e?R:(k=[]).concat.apply(k,R)}function VN(t){var e=t.rows,r=t.stylesheet,n=t.useInlineStyles;return e.map((function(o,s){return kS({node:o,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(s)})}))}function TS(t){return t&&t.highlightAuto!==void 0}var NS=qe(43768),MS=(function(e,r){return function(o){var s=o.language,b=o.children,h=o.style,E=h===void 0?r:h,k=o.customStyle,T=k===void 0?{}:k,R=o.codeTagProps,F=R===void 0?{className:s?"language-".concat(s):void 0,style:ip(ip({},E['code[class*="language-"]']),E['code[class*="language-'.concat(s,'"]')])}:R,z=o.useInlineStyles,X=z===void 0||z,Z=o.showLineNumbers,te=Z!==void 0&&Z,ae=o.showInlineLineNumbers,K=ae===void 0||ae,Ae=o.startingLineNumber,fe=Ae===void 0?1:Ae,me=o.lineNumberContainerStyle,xe=o.lineNumberStyle,Se=xe===void 0?{}:xe,Me=o.wrapLines,Ne=o.wrapLongLines,we=Ne!==void 0&&Ne,ye=o.lineProps,ke=ye===void 0?{}:ye,Ie=o.renderer,De=o.PreTag,tt=De===void 0?"pre":De,Dt=o.CodeTag,$t=Dt===void 0?"code":Dt,lr=o.code,vr=lr===void 0?(Array.isArray(b)?b[0]:b)||"":lr,yr=o.astGenerator,Or=(function(Hr,Yn){if(Hr==null)return{};var Rn,Bn,na=(function(Ra,Fo){if(Ra==null)return{};var eo={};for(var li in Ra)if({}.hasOwnProperty.call(Ra,li)){if(Fo.indexOf(li)!==-1)continue;eo[li]=Ra[li]}return eo})(Hr,Yn);if(Object.getOwnPropertySymbols){var vo=Object.getOwnPropertySymbols(Hr);for(Bn=0;Bn<vo.length;Bn++)Rn=vo[Bn],Yn.indexOf(Rn)===-1&&{}.propertyIsEnumerable.call(Hr,Rn)&&(na[Rn]=Hr[Rn])}return na})(o,$N);yr=yr||e;var pr=te?g.createElement(qN,{containerStyle:me,codeStyle:F.style||{},numberStyle:Se,startingLineNumber:fe,codeString:vr}):null,jt=E.hljs||E['pre[class*="language-"]']||{backgroundColor:"#fff"},Jt=TS(yr)?"hljs":"prismjs",un=X?Object.assign({},Or,{style:Object.assign({},jt,T)}):Object.assign({},Or,{className:Or.className?"".concat(Jt," ").concat(Or.className):Jt,style:Object.assign({},T)});if(F.style=ip(we?{whiteSpace:"pre-wrap"}:{whiteSpace:"pre"},F.style),!yr)return g.createElement(tt,un,pr,g.createElement($t,F,vr));(Me===void 0&&Ie||we)&&(Me=!0),Ie=Ie||VN;var Yr=[{type:"text",value:vr}],Zr=(function(Hr){var Yn=Hr.astGenerator,Rn=Hr.language,Bn=Hr.code,na=Hr.defaultCodeValue;if(TS(Yn)){var vo=(function(Jn,Ra){return Jn.listLanguages().indexOf(Ra)!==-1})(Yn,Rn);return Rn==="text"?{value:na,language:"text"}:vo?Yn.highlight(Rn,Bn):Yn.highlightAuto(Bn)}try{return Rn&&Rn!=="text"?{value:Yn.highlight(Bn,Rn)}:{value:na}}catch{return{value:na}}})({astGenerator:yr,language:s,code:vr,defaultCodeValue:Yr});Zr.language===null&&(Zr.value=Yr);var rn=Zr.value.length;rn===1&&Zr.value[0].type==="text"&&(rn=Zr.value[0].value.split(`
|
||
`).length);var pa=zN(Zr,Me,ke,te,K,fe,rn+fe,Se,we);return g.createElement(tt,un,g.createElement($t,F,!K&&pr,Ie({rows:pa,stylesheet:E,useInlineStyles:X})))}})(NS,{});MS.registerLanguage=NS.registerLanguage;const Ac=MS;var WN=qe(95089);const RS=qe.n(WN)();var JN=qe(65772);const HN=qe.n(JN)();var KN=qe(17285);const GN=qe.n(KN)();var YN=qe(35344);const ZN=qe.n(YN)();var XN=qe(17533);const QN=qe.n(XN)();var eM=qe(73402);const tM=qe.n(eM)();var rM=qe(26571);const nM=qe.n(rM)(),aM=()=>{Ac.registerLanguage("json",HN),Ac.registerLanguage("js",RS),Ac.registerLanguage("xml",GN),Ac.registerLanguage("yaml",QN),Ac.registerLanguage("http",tM),Ac.registerLanguage("bash",ZN),Ac.registerLanguage("powershell",nM),Ac.registerLanguage("javascript",RS)},DS={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"}},oM={agate:DS,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"}}},iM=DS,sM=({language:t,className:e="",getConfigs:r,syntaxHighlighting:n={},children:o=""})=>{const s=r().syntaxHighlight.theme,{styles:b,defaultStyle:h}=n,E=b?.[s]??h;return g.createElement(Ac,{language:t,className:e,style:E},o)};var lM=qe(5419),cM=qe.n(lM);const uM=({fileName:t="response.txt",className:e,downloadable:r,getComponent:n,canCopy:o,language:s,children:b})=>{const h=(0,g.useRef)(null),E=n("SyntaxHighlighter",!0),k=T=>{const{target:R,deltaY:F}=T,{scrollHeight:z,offsetHeight:X,scrollTop:Z}=R;z>X&&(Z===0&&F<0||X+Z>=z&&F>0)&&T.preventDefault()};return(0,g.useEffect)((()=>{const T=Array.from(h.current.childNodes).filter((R=>!!R.nodeType&&R.classList.contains("microlight")));return T.forEach((R=>R.addEventListener("mousewheel",k,{passive:!1}))),()=>{T.forEach((R=>R.removeEventListener("mousewheel",k)))}}),[b,e,s]),g.createElement("div",{className:"highlight-code",ref:h},o&&g.createElement("div",{className:"copy-to-clipboard"},g.createElement(hc.CopyToClipboard,{text:b},g.createElement("button",null))),r?g.createElement("button",{className:"download-contents",onClick:()=>{cM()(b,t)}},"Download"):null,g.createElement(E,{language:s,className:On()(e,"microlight"),renderPlainText:({children:T,PlainTextViewer:R})=>g.createElement(R,{className:e},T)},b))},pM=({className:t="",children:e})=>g.createElement("pre",{className:On()("microlight",t)},e),fM=(t,e)=>({renderPlainText:r,children:n,...o})=>{const s=e.getConfigs().syntaxHighlight.activated,b=e.getComponent("PlainTextViewer");return s||typeof r!="function"?s?g.createElement(t,o,n):g.createElement(b,null,n):r({children:n,PlainTextViewer:b})},hM=()=>({afterLoad:aM,rootInjects:{syntaxHighlighting:{styles:oM,defaultStyle:iM}},components:{SyntaxHighlighter:sM,HighlightCode:uM,PlainTextViewer:pM}}),dM=()=>({wrapComponents:{SyntaxHighlighter:fM}}),BS=()=>[hM,dM],mM=()=>{const{GIT_DIRTY:t,GIT_COMMIT:e,PACKAGE_VERSION:r,BUILD_TIME:n}={PACKAGE_VERSION:"5.29.5",GIT_COMMIT:"g583c4fbc",GIT_DIRTY:!0,BUILD_TIME:"Fri, 17 Oct 2025 13:12:29 GMT"};yt.versions=yt.versions||{},yt.versions.swaggerUI={version:r,gitRevision:e,gitDirty:t,buildTimestamp:n}},FS=()=>({afterLoad:mM});var gM=qe(47248),yM=qe.n(gM);const LS=console.error,vM=t=>e=>{const{getComponent:r,fn:n}=t(),o=r("ErrorBoundary"),s=n.getDisplayName(e);class b extends g.Component{render(){return g.createElement(o,{targetName:s,getComponent:r,fn:n},g.createElement(e,An()({},this.props,this.context)))}}var h;return b.displayName=`WithErrorBoundary(${s})`,(h=e).prototype&&h.prototype.isReactComponent&&(b.prototype.mapStateToProps=e.prototype.mapStateToProps),b},$S=({name:t})=>g.createElement("div",{className:"fallback"},"😱 ",g.createElement("i",null,"Could not render ",t==="t"?"this component":t,", see the console."));class bM extends g.Component{static defaultProps={targetName:"this component",getComponent:()=>$S,fn:{componentDidCatch:LS},children:null};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 o=e("Fallback");return g.createElement(o,{name:r})}return n}}const _M=bM,US=({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],o=yM()(n,Array(n.length).fill(((s,{fn:b})=>b.withErrorBoundary(s))));return{fn:{componentDidCatch:LS,withErrorBoundary:vM(r)},components:{ErrorBoundary:_M,Fallback:$S},wrapComponents:o}};class wM extends g.Component{getLayout(){const{getComponent:e,layoutSelectors:r}=this.props,n=r.current();return e(n,!0)||(()=>g.createElement("h1",null,' No layout defined for "',n,'" '))}render(){const e=this.getLayout();return g.createElement(e,null)}}const EM=wM;class SM extends g.Component{close=()=>{let{authActions:e}=this.props;e.showDefinitions(!1)};render(){let{authSelectors:e,authActions:r,getComponent:n,errSelectors:o,specSelectors:s,fn:{AST:b={}}}=this.props,h=e.shownDefinitions();const E=n("auths"),k=n("CloseIcon");return g.createElement("div",{className:"dialog-ux"},g.createElement("div",{className:"backdrop-ux"}),g.createElement("div",{className:"modal-ux"},g.createElement("div",{className:"modal-dialog-ux"},g.createElement("div",{className:"modal-ux-inner"},g.createElement("div",{className:"modal-ux-header"},g.createElement("h3",null,"Available authorizations"),g.createElement("button",{type:"button",className:"close-modal",onClick:this.close},g.createElement(k,null))),g.createElement("div",{className:"modal-ux-content"},h.valueSeq().map(((T,R)=>g.createElement(E,{key:R,AST:b,definitions:T,getComponent:n,errSelectors:o,authSelectors:e,authActions:r,specSelectors:s}))))))))}}class xM extends g.Component{render(){let{isAuthorized:e,showPopup:r,onClick:n,getComponent:o}=this.props;const s=o("authorizationPopup",!0),b=o("LockAuthIcon",!0),h=o("UnlockAuthIcon",!0);return g.createElement("div",{className:"auth-wrapper"},g.createElement("button",{className:e?"btn authorize locked":"btn authorize unlocked",onClick:n},g.createElement("span",null,"Authorize"),e?g.createElement(b,null):g.createElement(h,null)),r&&g.createElement(s,null))}}class AM extends g.Component{render(){const{authActions:e,authSelectors:r,specSelectors:n,getComponent:o}=this.props,s=n.securityDefinitions(),b=r.definitionsToAuthorize(),h=o("authorizeBtn");return s?g.createElement(h,{onClick:()=>e.showDefinitions(b),isAuthorized:!!r.authorized().size,showPopup:!!r.shownDefinitions(),getComponent:o}):null}}class OM extends g.Component{onClick=e=>{e.stopPropagation();let{onClick:r}=this.props;r&&r()};render(){let{isAuthorized:e,getComponent:r}=this.props;const n=r("LockAuthOperationIcon",!0),o=r("UnlockAuthOperationIcon",!0);return g.createElement("button",{className:"authorization__btn","aria-label":e?"authorization button locked":"authorization button unlocked",onClick:this.onClick},e?g.createElement(n,{className:"locked"}):g.createElement(o,{className:"unlocked"}))}}class kM extends g.Component{constructor(e,r){super(e,r),this.state={}}onAuthChange=e=>{let{name:r}=e;this.setState({[r]:e})};submitAuth=e=>{e.preventDefault();let{authActions:r}=this.props;r.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:r,definitions:n}=this.props,o=n.map(((s,b)=>b)).toArray();this.setState(o.reduce(((s,b)=>(s[b]="",s)),{})),r.logoutWithPersistOption(o)};close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:n,errSelectors:o}=this.props;const s=r("AuthItem"),b=r("oauth2",!0),h=r("Button");let E=n.authorized(),k=e.filter(((F,z)=>!!E.get(z))),T=e.filter((F=>F.get("type")!=="oauth2")),R=e.filter((F=>F.get("type")==="oauth2"));return g.createElement("div",{className:"auth-container"},!!T.size&&g.createElement("form",{onSubmit:this.submitAuth},T.map(((F,z)=>g.createElement(s,{key:z,schema:F,name:z,getComponent:r,onAuthChange:this.onAuthChange,authorized:E,errSelectors:o,authSelectors:n}))).toArray(),g.createElement("div",{className:"auth-btn-wrapper"},T.size===k.size?g.createElement(h,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):g.createElement(h,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),g.createElement(h,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),R&&R.size?g.createElement("div",null,g.createElement("div",{className:"scope-def"},g.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."),g.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((F=>F.get("type")==="oauth2")).map(((F,z)=>g.createElement("div",{key:z},g.createElement(b,{authorized:E,schema:F,name:z})))).toArray()):null)}}class CM extends g.Component{render(){let{schema:e,name:r,getComponent:n,onAuthChange:o,authorized:s,errSelectors:b,authSelectors:h}=this.props;const E=n("apiKeyAuth"),k=n("basicAuth");let T;const R=e.get("type");switch(R){case"apiKey":T=g.createElement(E,{key:r,schema:e,name:r,errSelectors:b,authorized:s,getComponent:n,onChange:o,authSelectors:h});break;case"basic":T=g.createElement(k,{key:r,schema:e,name:r,errSelectors:b,authorized:s,getComponent:n,onChange:o,authSelectors:h});break;default:T=g.createElement("div",{key:r},"Unknown security definition type ",R)}return g.createElement("div",{key:`${r}-jump`},T)}}class jM extends g.Component{render(){let{error:e}=this.props,r=e.get("level"),n=e.get("message"),o=e.get("source");return g.createElement("div",{className:"errors"},g.createElement("b",null,o," ",r),g.createElement("span",null,n))}}class IM extends g.Component{constructor(e,r){super(e,r);let{name:n,schema:o}=this.props,s=this.getValue();this.state={name:n,schema:o,value:s}}getValue(){let{name:e,authorized:r}=this.props;return r&&r.getIn([e,"value"])}onChange=e=>{let{onChange:r}=this.props,n=e.target.value,o=Object.assign({},this.state,{value:n});this.setState(o),r(o)};render(){let{schema:e,getComponent:r,errSelectors:n,name:o,authSelectors:s}=this.props;const b=r("Input"),h=r("Row"),E=r("Col"),k=r("authError"),T=r("Markdown",!0),R=r("JumpToPath",!0),F=s.selectAuthPath(o);let z=this.getValue(),X=n.allErrors().filter((Z=>Z.get("authId")===o));return g.createElement("div",null,g.createElement("h4",null,g.createElement("code",null,o||e.get("name"))," (apiKey)",g.createElement(R,{path:F})),z&&g.createElement("h6",null,"Authorized"),g.createElement(h,null,g.createElement(T,{source:e.get("description")})),g.createElement(h,null,g.createElement("p",null,"Name: ",g.createElement("code",null,e.get("name")))),g.createElement(h,null,g.createElement("p",null,"In: ",g.createElement("code",null,e.get("in")))),g.createElement(h,null,g.createElement("label",{htmlFor:"api_key_value"},"Value:"),z?g.createElement("code",null," ****** "):g.createElement(E,null,g.createElement(b,{id:"api_key_value",type:"text",onChange:this.onChange,autoFocus:!0}))),X.valueSeq().map(((Z,te)=>g.createElement(k,{error:Z,key:te}))))}}class PM extends g.Component{constructor(e,r){super(e,r);let{schema:n,name:o}=this.props,s=this.getValue().username;this.state={name:o,schema:n,value:s?{username:s}:{}}}getValue(){let{authorized:e,name:r}=this.props;return e&&e.getIn([r,"value"])||{}}onChange=e=>{let{onChange:r}=this.props,{value:n,name:o}=e.target,s=this.state.value;s[o]=n,this.setState({value:s}),r(this.state)};render(){let{schema:e,getComponent:r,name:n,errSelectors:o,authSelectors:s}=this.props;const b=r("Input"),h=r("Row"),E=r("Col"),k=r("authError"),T=r("JumpToPath",!0),R=r("Markdown",!0),F=s.selectAuthPath(n);let z=this.getValue().username,X=o.allErrors().filter((Z=>Z.get("authId")===n));return g.createElement("div",null,g.createElement("h4",null,"Basic authorization",g.createElement(T,{path:F})),z&&g.createElement("h6",null,"Authorized"),g.createElement(h,null,g.createElement(R,{source:e.get("description")})),g.createElement(h,null,g.createElement("label",{htmlFor:"auth_username"},"Username:"),z?g.createElement("code",null," ",z," "):g.createElement(E,null,g.createElement(b,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),g.createElement(h,null,g.createElement("label",{htmlFor:"auth_password"},"Password:"),z?g.createElement("code",null," ****** "):g.createElement(E,null,g.createElement(b,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),X.valueSeq().map(((Z,te)=>g.createElement(k,{error:Z,key:te}))))}}function TM(t){const{example:e,showValue:r,getComponent:n}=t,o=n("Markdown",!0),s=n("HighlightCode",!0);return e&&ee.Map.isMap(e)?g.createElement("div",{className:"example"},e.get("description")?g.createElement("section",{className:"example__section"},g.createElement("div",{className:"example__section-header"},"Example Description"),g.createElement("p",null,g.createElement(o,{source:e.get("description")}))):null,r&&e.has("value")?g.createElement("section",{className:"example__section"},g.createElement("div",{className:"example__section-header"},"Example Value"),g.createElement(s,null,cn(e.get("value")))):null):null}class NM extends g.PureComponent{static defaultProps={examples:(0,ee.Map)({}),onSelect:(...e)=>console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...e),currentExampleKey:null,showLabels:!0};_onSelect=(e,{isSyntheticChange:r=!1}={})=>{typeof this.props.onSelect=="function"&&this.props.onSelect(e,{isSyntheticChange:r})};_onDomSelect=e=>{if(typeof this.props.onSelect=="function"){const r=e.target.selectedOptions[0].getAttribute("value");this._onSelect(r,{isSyntheticChange:!1})}};getCurrentExample=()=>{const{examples:e,currentExampleKey:r}=this.props,n=e.get(r),o=e.keySeq().first(),s=e.get(o);return n||s||(0,ee.Map)({})};componentDidMount(){const{onSelect:e,examples:r}=this.props;if(typeof e=="function"){const n=r.first(),o=r.keyOf(n);this._onSelect(o,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(e){const{currentExampleKey:r,examples:n}=e;if(n!==this.props.examples&&!n.has(r)){const o=n.first(),s=n.keyOf(o);this._onSelect(s,{isSyntheticChange:!0})}}render(){const{examples:e,currentExampleKey:r,isValueModified:n,isModifiedValueAvailable:o,showLabels:s}=this.props;return g.createElement("div",{className:"examples-select"},s?g.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,g.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:o&&n?"__MODIFIED__VALUE__":r||""},o?g.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,e.map(((b,h)=>g.createElement("option",{key:h,value:h},ee.Map.isMap(b)&&b.get("summary")||h))).valueSeq()))}}const C1=t=>ee.List.isList(t)?t:cn(t);class MM extends g.PureComponent{static defaultProps={userHasEditedBody:!1,examples:(0,ee.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:(...e)=>console.log("ExamplesSelectValueRetainer: no `onSelect` function was provided",...e),updateValue:(...e)=>console.log("ExamplesSelectValueRetainer: no `updateValue` function was provided",...e)};constructor(e){super(e);const r=this._getCurrentExampleValue();this.state={[e.currentNamespace]:(0,ee.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:r,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==r})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}_getStateForCurrentNamespace=()=>{const{currentNamespace:e}=this.props;return(this.state[e]||(0,ee.Map)()).toObject()};_setStateForCurrentNamespace=e=>{const{currentNamespace:r}=this.props;return this._setStateForNamespace(r,e)};_setStateForNamespace=(e,r)=>{const n=(this.state[e]||(0,ee.Map)()).mergeDeep(r);return this.setState({[e]:n})};_isCurrentUserInputSameAsExampleValue=()=>{const{currentUserInputValue:e}=this.props;return this._getCurrentExampleValue()===e};_getValueForExample=(e,r)=>{const{examples:n}=r||this.props;return C1((n||(0,ee.Map)({})).getIn([e,"value"]))};_getCurrentExampleValue=e=>{const{currentKey:r}=e||this.props;return this._getValueForExample(r,e||this.props)};_onExamplesSelect=(e,{isSyntheticChange:r}={},...n)=>{const{onSelect:o,updateValue:s,currentUserInputValue:b,userHasEditedBody:h}=this.props,{lastUserEditedValue:E}=this._getStateForCurrentNamespace(),k=this._getValueForExample(e);if(e==="__MODIFIED__VALUE__")return s(C1(E)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0});typeof o=="function"&&o(e,{isSyntheticChange:r},...n),this._setStateForCurrentNamespace({lastDownstreamValue:k,isModifiedValueSelected:r&&h||!!b&&b!==k}),r||typeof s=="function"&&s(C1(k))};UNSAFE_componentWillReceiveProps(e){const{currentUserInputValue:r,examples:n,onSelect:o,userHasEditedBody:s}=e,{lastUserEditedValue:b,lastDownstreamValue:h}=this._getStateForCurrentNamespace(),E=this._getValueForExample(e.currentKey,e),k=n.filter((T=>ee.Map.isMap(T)&&(T.get("value")===r||cn(T.get("value"))===r)));if(k.size){let T;T=k.has(e.currentKey)?e.currentKey:k.keySeq().first(),o(T,{isSyntheticChange:!0})}else r!==this.props.currentUserInputValue&&r!==b&&r!==h&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(e.currentNamespace,{lastUserEditedValue:e.currentUserInputValue,isModifiedValueSelected:s||r!==E}))}render(){const{currentUserInputValue:e,examples:r,currentKey:n,getComponent:o,userHasEditedBody:s}=this.props,{lastDownstreamValue:b,lastUserEditedValue:h,isModifiedValueSelected:E}=this._getStateForCurrentNamespace(),k=o("ExamplesSelect");return g.createElement(k,{examples:r,currentExampleKey:n,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!h&&h!==b,isValueModified:e!==void 0&&E&&e!==this._getCurrentExampleValue()||s})}}function RM({auth:t,authActions:e,errActions:r,configs:n,authConfigs:o={},currentServer:s}){let{schema:b,scopes:h,name:E,clientId:k}=t,T=b.get("flow"),R=[];switch(T){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":R.push("response_type=code");break;case"implicit":R.push("response_type=token")}typeof k=="string"&&R.push("client_id="+encodeURIComponent(k));let F=n.oauth2RedirectUrl;if(F===void 0)return void r.newAuthErr({authId:E,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});R.push("redirect_uri="+encodeURIComponent(F));let z=[];if(Array.isArray(h)?z=h:_e().List.isList(h)&&(z=h.toArray()),z.length>0){let fe=o.scopeSeparator||" ";R.push("scope="+encodeURIComponent(z.join(fe)))}let X=Rt(new Date);if(R.push("state="+encodeURIComponent(X)),o.realm!==void 0&&R.push("realm="+encodeURIComponent(o.realm)),(T==="authorizationCode"||T==="authorization_code"||T==="accessCode")&&o.usePkceWithAuthorizationCodeGrant){const fe=(function(){return vn(Zn()(32).toString("base64"))})(),me=(function(Se){return vn(za()("sha256").update(Se).digest("base64"))})(fe);R.push("code_challenge="+me),R.push("code_challenge_method=S256"),t.codeVerifier=fe}let{additionalQueryStringParams:Z}=o;for(let fe in Z)Z[fe]!==void 0&&R.push([fe,Z[fe]].map(encodeURIComponent).join("="));const te=b.get("authorizationUrl");let ae;ae=s?fi()(Na(te),s,!0).toString():Na(te);let K,Ae=[ae,R.join("&")].join(typeof te!="string"||te.includes("?")?"&":"?");K=T==="implicit"?e.preAuthorizeImplicit:o.useBasicAuthenticationWithAccessCodeGrant?e.authorizeAccessCodeWithBasicAuthentication:e.authorizeAccessCodeWithFormParams,e.authPopup(Ae,{auth:t,state:X,redirectUrl:F,callback:K,errCb:r.newAuthErr})}class DM extends g.Component{constructor(e,r){super(e,r);let{name:n,schema:o,authorized:s,authSelectors:b}=this.props,h=s&&s.get(n),E=b.getConfigs()||{},k=h&&h.get("username")||"",T=h&&h.get("clientId")||E.clientId||"",R=h&&h.get("clientSecret")||E.clientSecret||"",F=h&&h.get("passwordType")||"basic",z=h&&h.get("scopes")||E.scopes||[];typeof z=="string"&&(z=z.split(E.scopeSeparator||" ")),this.state={appName:E.appName,name:n,schema:o,scopes:z,clientId:T,clientSecret:R,username:k,password:"",passwordType:F}}close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};authorize=()=>{let{authActions:e,errActions:r,getConfigs:n,authSelectors:o,oas3Selectors:s}=this.props,b=n(),h=o.getConfigs();r.clear({authId:name,type:"auth",source:"auth"}),RM({auth:this.state,currentServer:s.serverEffectiveValue(s.selectedServer()),authActions:e,errActions:r,configs:b,authConfigs:h})};onScopeChange=e=>{let{target:r}=e,{checked:n}=r,o=r.dataset.value;if(n&&this.state.scopes.indexOf(o)===-1){let s=this.state.scopes.concat([o]);this.setState({scopes:s})}else!n&&this.state.scopes.indexOf(o)>-1&&this.setState({scopes:this.state.scopes.filter((s=>s!==o))})};onInputChange=e=>{let{target:{dataset:{name:r},value:n}}=e,o={[r]:n};this.setState(o)};selectScopes=e=>{e.target.dataset.all?this.setState({scopes:Array.from((this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).keys())}):this.setState({scopes:[]})};logout=e=>{e.preventDefault();let{authActions:r,errActions:n,name:o}=this.props;n.clear({authId:o,type:"auth",source:"auth"}),r.logoutWithPersistOption([o])};render(){let{schema:e,getComponent:r,authSelectors:n,errSelectors:o,name:s,specSelectors:b}=this.props;const h=r("Input"),E=r("Row"),k=r("Col"),T=r("Button"),R=r("authError"),F=r("JumpToPath",!0),z=r("Markdown",!0),X=r("InitializedInput"),{isOAS3:Z}=b;let te=Z()?e.get("openIdConnectUrl"):null;const ae="implicit",K="password",Ae=Z()?te?"authorization_code":"authorizationCode":"accessCode",fe=Z()?te?"client_credentials":"clientCredentials":"application",me=n.selectAuthPath(s);let xe=!!(n.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,Se=e.get("flow"),Me=Se===Ae&&xe?Se+" with PKCE":Se,Ne=e.get("allowedScopes")||e.get("scopes"),we=!!n.authorized().get(s),ye=o.allErrors().filter((De=>De.get("authId")===s)),ke=!ye.filter((De=>De.get("source")==="validation")).size,Ie=e.get("description");return g.createElement("div",null,g.createElement("h4",null,s," (OAuth2, ",Me,") ",g.createElement(F,{path:me})),this.state.appName?g.createElement("h5",null,"Application: ",this.state.appName," "):null,Ie&&g.createElement(z,{source:e.get("description")}),we&&g.createElement("h6",null,"Authorized"),te&&g.createElement("p",null,"OpenID Connect URL: ",g.createElement("code",null,te)),(Se===ae||Se===Ae)&&g.createElement("p",null,"Authorization URL: ",g.createElement("code",null,e.get("authorizationUrl"))),(Se===K||Se===Ae||Se===fe)&&g.createElement("p",null,"Token URL:",g.createElement("code",null," ",e.get("tokenUrl"))),g.createElement("p",{className:"flow"},"Flow: ",g.createElement("code",null,Me)),Se!==K?null:g.createElement(E,null,g.createElement(E,null,g.createElement("label",{htmlFor:"oauth_username"},"username:"),we?g.createElement("code",null," ",this.state.username," "):g.createElement(k,{tablet:10,desktop:10},g.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),g.createElement(E,null,g.createElement("label",{htmlFor:"oauth_password"},"password:"),we?g.createElement("code",null," ****** "):g.createElement(k,{tablet:10,desktop:10},g.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}))),g.createElement(E,null,g.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),we?g.createElement("code",null," ",this.state.passwordType," "):g.createElement(k,{tablet:10,desktop:10},g.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},g.createElement("option",{value:"basic"},"Authorization header"),g.createElement("option",{value:"request-body"},"Request body"))))),(Se===fe||Se===ae||Se===Ae||Se===K)&&(!we||we&&this.state.clientId)&&g.createElement(E,null,g.createElement("label",{htmlFor:`client_id_${Se}`},"client_id:"),we?g.createElement("code",null," ****** "):g.createElement(k,{tablet:10,desktop:10},g.createElement(X,{id:`client_id_${Se}`,type:"text",required:Se===K,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(Se===fe||Se===Ae||Se===K)&&g.createElement(E,null,g.createElement("label",{htmlFor:`client_secret_${Se}`},"client_secret:"),we?g.createElement("code",null," ****** "):g.createElement(k,{tablet:10,desktop:10},g.createElement(X,{id:`client_secret_${Se}`,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!we&&Ne&&Ne.size?g.createElement("div",{className:"scopes"},g.createElement("h2",null,"Scopes:",g.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),g.createElement("a",{onClick:this.selectScopes},"select none")),Ne.map(((De,tt)=>g.createElement(E,{key:tt},g.createElement("div",{className:"checkbox"},g.createElement(h,{"data-value":tt,id:`${tt}-${Se}-checkbox-${this.state.name}`,disabled:we,checked:this.state.scopes.includes(tt),type:"checkbox",onChange:this.onScopeChange}),g.createElement("label",{htmlFor:`${tt}-${Se}-checkbox-${this.state.name}`},g.createElement("span",{className:"item"}),g.createElement("div",{className:"text"},g.createElement("p",{className:"name"},tt),g.createElement("p",{className:"description"},De))))))).toArray()):null,ye.valueSeq().map(((De,tt)=>g.createElement(R,{error:De,key:tt}))),g.createElement("div",{className:"auth-btn-wrapper"},ke&&(we?g.createElement(T,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):g.createElement(T,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),g.createElement(T,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class BM extends g.Component{onClick=()=>{let{specActions:e,path:r,method:n}=this.props;e.clearResponse(r,n),e.clearRequest(r,n)};render(){return g.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const FM=({headers:t})=>g.createElement("div",null,g.createElement("h5",null,"Response headers"),g.createElement("pre",{className:"microlight"},t)),LM=({duration:t})=>g.createElement("div",null,g.createElement("h5",null,"Request duration"),g.createElement("pre",{className:"microlight"},t," ms"));class $M extends g.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:o,specSelectors:s,path:b,method:h}=this.props,{showMutatedRequest:E,requestSnippetsEnabled:k}=n(),T=E?s.mutatedRequestFor(b,h):s.requestFor(b,h),R=e.get("status"),F=T.get("url"),z=e.get("headers").toJS(),X=e.get("notDocumented"),Z=e.get("error"),te=e.get("text"),ae=e.get("duration"),K=Object.keys(z),Ae=z["content-type"]||z["Content-Type"],fe=r("responseBody"),me=K.map((we=>{var ye=Array.isArray(z[we])?z[we].join():z[we];return g.createElement("span",{className:"headerline",key:we}," ",we,": ",ye," ")})),xe=me.length!==0,Se=r("Markdown",!0),Me=r("RequestSnippets",!0),Ne=r("curl",!0);return g.createElement("div",null,T&&k?g.createElement(Me,{request:T}):g.createElement(Ne,{request:T}),F&&g.createElement("div",null,g.createElement("div",{className:"request-url"},g.createElement("h4",null,"Request URL"),g.createElement("pre",{className:"microlight"},F))),g.createElement("h4",null,"Server response"),g.createElement("table",{className:"responses-table live-responses-table"},g.createElement("thead",null,g.createElement("tr",{className:"responses-header"},g.createElement("td",{className:"col_header response-col_status"},"Code"),g.createElement("td",{className:"col_header response-col_description"},"Details"))),g.createElement("tbody",null,g.createElement("tr",{className:"response"},g.createElement("td",{className:"response-col_status"},R,X?g.createElement("div",{className:"response-undocumented"},g.createElement("i",null," Undocumented ")):null),g.createElement("td",{className:"response-col_description"},Z?g.createElement(Se,{source:`${e.get("name")!==""?`${e.get("name")}: `:""}${e.get("message")}`}):null,te?g.createElement(fe,{content:te,contentType:Ae,url:F,headers:z,getConfigs:n,getComponent:r}):null,xe?g.createElement(FM,{headers:me}):null,o&&ae?g.createElement(LM,{duration:ae}):null)))))}}class qS extends g.Component{constructor(e,r){super(e,r);let{getConfigs:n}=e,{validatorUrl:o}=n();this.state={url:this.getDefinitionUrl(),validatorUrl:o===void 0?"https://validator.swagger.io/validator":o}}getDefinitionUrl=()=>{let{specSelectors:e}=this.props;return new(fi())(e.url(),yt.location).toString()};UNSAFE_componentWillReceiveProps(e){let{getConfigs:r}=e,{validatorUrl:n}=r();this.setState({url:this.getDefinitionUrl(),validatorUrl:n===void 0?"https://validator.swagger.io/validator":n})}render(){let{getConfigs:e}=this.props,{spec:r}=e(),n=Na(this.state.validatorUrl);return typeof r=="object"&&Object.keys(r).length?null:this.state.url&&Gt(this.state.validatorUrl)&&Gt(this.state.url)?g.createElement("span",{className:"float-right"},g.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${n}/debug?url=${encodeURIComponent(this.state.url)}`},g.createElement(UM,{src:`${n}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class UM extends g.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?g.createElement("img",{alt:"Error"}):this.state.loaded?g.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class qM extends g.Component{render(){let{specSelectors:e}=this.props;const r=e.taggedOperations();return r.size===0?g.createElement("h3",null," No operations defined in spec!"):g.createElement("div",null,r.map(this.renderOperationTag).toArray(),r.size<1?g.createElement("h3",null," No operations defined in spec! "):null)}renderOperationTag=(e,r)=>{const{specSelectors:n,getComponent:o,oas3Selectors:s,layoutSelectors:b,layoutActions:h,getConfigs:E}=this.props,k=n.validOperationMethods(),T=o("OperationContainer",!0),R=o("OperationTag"),F=e.get("operations");return g.createElement(R,{key:"operation-"+r,tagObj:e,tag:r,oas3Selectors:s,layoutSelectors:b,layoutActions:h,getConfigs:E,getComponent:o,specUrl:n.url()},g.createElement("div",{className:"operation-tag-content"},F.map((z=>{const X=z.get("path"),Z=z.get("method"),te=_e().List(["paths",X,Z]);return k.indexOf(Z)===-1?null:g.createElement(T,{key:`${X}-${Z}`,specPath:te,op:z,path:X,method:Z,tag:r})})).toArray()))}}class zM extends g.Component{static defaultProps={tagObj:_e().fromJS({}),tag:""};render(){const{tagObj:e,tag:r,children:n,oas3Selectors:o,layoutSelectors:s,layoutActions:b,getConfigs:h,getComponent:E,specUrl:k}=this.props;let{docExpansion:T,deepLinking:R}=h();const F=E("Collapse"),z=E("Markdown",!0),X=E("DeepLink"),Z=E("Link"),te=E("ArrowUpIcon"),ae=E("ArrowDownIcon");let K,Ae=e.getIn(["tagDetails","description"],null),fe=e.getIn(["tagDetails","externalDocs","description"]),me=e.getIn(["tagDetails","externalDocs","url"]);K=aa(o)&&aa(o.selectedServer)?Ci(me,k,{selectedServer:o.selectedServer()}):me;let xe=["operations-tag",r],Se=s.isShown(xe,T==="full"||T==="list");return g.createElement("div",{className:Se?"opblock-tag-section is-open":"opblock-tag-section"},g.createElement("h3",{onClick:()=>b.show(xe,!Se),className:Ae?"opblock-tag":"opblock-tag no-desc",id:xe.map((Me=>Wt(Me))).join("-"),"data-tag":r,"data-is-open":Se},g.createElement(X,{enabled:R,isShown:Se,path:wa(r),text:r}),Ae?g.createElement("small",null,g.createElement(z,{source:Ae})):g.createElement("small",null),K?g.createElement("div",{className:"info__externaldocs"},g.createElement("small",null,g.createElement(Z,{href:Na(K),onClick:Me=>Me.stopPropagation(),target:"_blank"},fe||K))):null,g.createElement("button",{"aria-expanded":Se,className:"expand-operation",title:Se?"Collapse operation":"Expand operation",onClick:()=>b.show(xe,!Se)},Se?g.createElement(te,{className:"arrow"}):g.createElement(ae,{className:"arrow"}))),g.createElement(F,{isOpened:Se},n))}}class VM extends g.PureComponent{static defaultProps={operation:null,response:null,request:null,specPath:(0,ee.List)(),summary:""};render(){let{specPath:e,response:r,request:n,toggleShown:o,onTryoutClick:s,onResetClick:b,onCancelClick:h,onExecute:E,fn:k,getComponent:T,getConfigs:R,specActions:F,specSelectors:z,authActions:X,authSelectors:Z,oas3Actions:te,oas3Selectors:ae}=this.props,K=this.props.operation,{deprecated:Ae,isShown:fe,path:me,method:xe,op:Se,tag:Me,operationId:Ne,allowTryItOut:we,displayRequestDuration:ye,tryItOutEnabled:ke,executeInProgress:Ie}=K.toJS(),{description:De,externalDocs:tt,schemes:Dt}=Se;const $t=tt?Ci(tt.url,z.url(),{selectedServer:ae.selectedServer()}):"";let lr=K.getIn(["op"]),vr=lr.get("responses"),yr=(function(Fo,eo){if(!_e().Iterable.isIterable(Fo))return _e().List();let li=Fo.getIn(Array.isArray(eo)?eo:[eo]);return _e().List.isList(li)?li:_e().List()})(lr,["parameters"]),Or=z.operationScheme(me,xe),pr=["operations",Me,Ne],jt=dr(lr);const Jt=T("responses"),un=T("parameters"),Yr=T("execute"),Zr=T("clear"),rn=T("Collapse"),pa=T("Markdown",!0),ln=T("schemes"),Hr=T("OperationServers"),Yn=T("OperationExt"),Rn=T("OperationSummary"),Bn=T("Link"),{showExtensions:na}=R();if(vr&&r&&r.size>0){let Ra=!vr.get(String(r.get("status")))&&!vr.get("default");r=r.set("notDocumented",Ra)}let vo=[me,xe];const Jn=z.validationErrors([me,xe]);return g.createElement("div",{className:Ae?"opblock opblock-deprecated":fe?`opblock opblock-${xe} is-open`:`opblock opblock-${xe}`,id:Wt(pr.join("-"))},g.createElement(Rn,{operationProps:K,isShown:fe,toggleShown:o,getComponent:T,authActions:X,authSelectors:Z,specPath:e}),g.createElement(rn,{isOpened:fe},g.createElement("div",{className:"opblock-body"},lr&&lr.size||lr===null?null:g.createElement(Ih,{height:"32px",width:"32px",className:"opblock-loading-animation"}),Ae&&g.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),De&&g.createElement("div",{className:"opblock-description-wrapper"},g.createElement("div",{className:"opblock-description"},g.createElement(pa,{source:De}))),$t?g.createElement("div",{className:"opblock-external-docs-wrapper"},g.createElement("h4",{className:"opblock-title_normal"},"Find more details"),g.createElement("div",{className:"opblock-external-docs"},tt.description&&g.createElement("span",{className:"opblock-external-docs__description"},g.createElement(pa,{source:tt.description})),g.createElement(Bn,{target:"_blank",className:"opblock-external-docs__link",href:Na($t)},$t))):null,lr&&lr.size?g.createElement(un,{parameters:yr,specPath:e.push("parameters"),operation:lr,onChangeKey:vo,onTryoutClick:s,onResetClick:b,onCancelClick:h,tryItOutEnabled:ke,allowTryItOut:we,fn:k,getComponent:T,specActions:F,specSelectors:z,pathMethod:[me,xe],getConfigs:R,oas3Actions:te,oas3Selectors:ae}):null,ke?g.createElement(Hr,{getComponent:T,path:me,method:xe,operationServers:lr.get("servers"),pathServers:z.paths().getIn([me,"servers"]),getSelectedServer:ae.selectedServer,setSelectedServer:te.setSelectedServer,setServerVariableValue:te.setServerVariableValue,getServerVariable:ae.serverVariableValue,getEffectiveServerValue:ae.serverEffectiveValue}):null,ke&&we&&Dt&&Dt.size?g.createElement("div",{className:"opblock-schemes"},g.createElement(ln,{schemes:Dt,path:me,method:xe,specActions:F,currentScheme:Or})):null,!ke||!we||Jn.length<=0?null:g.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",g.createElement("ul",null,Jn.map(((Ra,Fo)=>g.createElement("li",{key:Fo}," ",Ra," "))))),g.createElement("div",{className:ke&&r&&we?"btn-group":"execute-wrapper"},ke&&we?g.createElement(Yr,{operation:lr,specActions:F,specSelectors:z,oas3Selectors:ae,oas3Actions:te,path:me,method:xe,onExecute:E,disabled:Ie}):null,ke&&r&&we?g.createElement(Zr,{specActions:F,path:me,method:xe}):null),Ie?g.createElement("div",{className:"loading-container"},g.createElement("div",{className:"loading"})):null,vr?g.createElement(Jt,{responses:vr,request:n,tryItOutResponse:r,getComponent:T,getConfigs:R,specSelectors:z,oas3Actions:te,oas3Selectors:ae,specActions:F,produces:z.producesOptionsFor([me,xe]),producesValue:z.currentProducesFor([me,xe]),specPath:e.push("responses"),path:me,method:xe,displayRequestDuration:ye,fn:k}):null,na&&jt.size?g.createElement(Yn,{extensions:jt,getComponent:T}):null)))}}class WM extends g.PureComponent{constructor(e,r){super(e,r);const{tryItOutEnabled:n}=e.getConfigs();this.state={tryItOutEnabled:n,executeInProgress:!1}}static defaultProps={showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1};mapStateToProps(e,r){const{op:n,layoutSelectors:o,getConfigs:s}=r,{docExpansion:b,deepLinking:h,displayOperationId:E,displayRequestDuration:k,supportedSubmitMethods:T}=s(),R=o.showSummary(),F=n.getIn(["operation","__originalOperationId"])||n.getIn(["operation","operationId"])||Ed(n.get("operation"),r.path,r.method)||n.get("id"),z=["operations",r.tag,F],X=T.indexOf(r.method)>=0&&(r.allowTryItOut===void 0?r.specSelectors.allowTryItOutFor(r.path,r.method):r.allowTryItOut),Z=n.getIn(["operation","security"])||r.specSelectors.security();return{operationId:F,isDeepLinkingEnabled:h,showSummary:R,displayOperationId:E,displayRequestDuration:k,allowTryItOut:X,security:Z,isAuthorized:r.authSelectors.isAuthorized(Z),isShown:o.isShown(z,b==="full"),jumpToKey:`paths.${r.path}.${r.method}`,response:r.specSelectors.responseFor(r.path,r.method),request:r.specSelectors.requestFor(r.path,r.method)}}componentDidMount(){const{isShown:e}=this.props,r=this.getResolvedSubtree();e&&r===void 0&&this.requestResolvedSubtree()}componentDidUpdate(e){const{response:r,isShown:n}=this.props,o=this.getResolvedSubtree();r!==e.response&&this.setState({executeInProgress:!1}),n&&o===void 0&&!e.isShown&&this.requestResolvedSubtree()}toggleShown=()=>{let{layoutActions:e,tag:r,operationId:n,isShown:o}=this.props;const s=this.getResolvedSubtree();o||s!==void 0||this.requestResolvedSubtree(),e.show(["operations",r,n],!o)};onCancelClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onTryoutClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onResetClick=e=>{const r=this.props.oas3Selectors.selectDefaultRequestBodyValue(...e),n=this.props.oas3Selectors.requestContentType(...e);if(n==="application/x-www-form-urlencoded"||n==="multipart/form-data"){const o=JSON.parse(r);Object.entries(o).forEach((([s,b])=>{Array.isArray(b)?o[s]=o[s].map((h=>typeof h=="object"?JSON.stringify(h,null,2):h)):typeof b=="object"&&(o[s]=JSON.stringify(o[s],null,2))})),this.props.oas3Actions.setRequestBodyValue({value:(0,ee.fromJS)(o),pathMethod:e})}else this.props.oas3Actions.setRequestBodyValue({value:r,pathMethod:e})};onExecute=()=>{this.setState({executeInProgress:!0})};getResolvedSubtree=()=>{const{specSelectors:e,path:r,method:n,specPath:o}=this.props;return o?e.specResolvedSubtree(o.toJS()):e.specResolvedSubtree(["paths",r,n])};requestResolvedSubtree=()=>{const{specActions:e,path:r,method:n,specPath:o}=this.props;return o?e.requestResolvedSubtree(o.toJS()):e.requestResolvedSubtree(["paths",r,n])};render(){let{op:e,tag:r,path:n,method:o,security:s,isAuthorized:b,operationId:h,showSummary:E,isShown:k,jumpToKey:T,allowTryItOut:R,response:F,request:z,displayOperationId:X,displayRequestDuration:Z,isDeepLinkingEnabled:te,specPath:ae,specSelectors:K,specActions:Ae,getComponent:fe,getConfigs:me,layoutSelectors:xe,layoutActions:Se,authActions:Me,authSelectors:Ne,oas3Actions:we,oas3Selectors:ye,fn:ke}=this.props;const Ie=fe("operation"),De=this.getResolvedSubtree()||(0,ee.Map)(),tt=(0,ee.fromJS)({op:De,tag:r,path:n,summary:e.getIn(["operation","summary"])||"",deprecated:De.get("deprecated")||e.getIn(["operation","deprecated"])||!1,method:o,security:s,isAuthorized:b,operationId:h,originalOperationId:De.getIn(["operation","__originalOperationId"]),showSummary:E,isShown:k,jumpToKey:T,allowTryItOut:R,request:z,displayOperationId:X,displayRequestDuration:Z,isDeepLinkingEnabled:te,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return g.createElement(Ie,{operation:tt,response:F,request:z,isShown:k,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:ae,specActions:Ae,specSelectors:K,oas3Actions:we,oas3Selectors:ye,layoutActions:Se,layoutSelectors:xe,authActions:Me,authSelectors:Ne,getComponent:fe,getConfigs:me,fn:ke})}}var JM=qe(13222),HM=qe.n(JM);class KM extends g.PureComponent{static defaultProps={operationProps:null,specPath:(0,ee.List)(),summary:""};render(){let{isShown:e,toggleShown:r,getComponent:n,authActions:o,authSelectors:s,operationProps:b,specPath:h}=this.props,{summary:E,isAuthorized:k,method:T,op:R,showSummary:F,path:z,operationId:X,originalOperationId:Z,displayOperationId:te}=b.toJS(),{summary:ae}=R,K=b.get("security");const Ae=n("authorizeOperationBtn",!0),fe=n("OperationSummaryMethod"),me=n("OperationSummaryPath"),xe=n("JumpToPath",!0),Se=n("CopyToClipboardBtn",!0),Me=n("ArrowUpIcon"),Ne=n("ArrowDownIcon"),we=K&&!!K.count(),ye=we&&K.size===1&&K.first().isEmpty(),ke=!we||ye;return g.createElement("div",{className:`opblock-summary opblock-summary-${T}`},g.createElement("button",{"aria-expanded":e,className:"opblock-summary-control",onClick:r},g.createElement(fe,{method:T}),g.createElement("div",{className:"opblock-summary-path-description-wrapper"},g.createElement(me,{getComponent:n,operationProps:b,specPath:h}),F?g.createElement("div",{className:"opblock-summary-description"},HM()(ae||E)):null),te&&(Z||X)?g.createElement("span",{className:"opblock-summary-operation-id"},Z||X):null),g.createElement(Se,{textToCopy:`${h.get(1)}`}),ke?null:g.createElement(Ae,{isAuthorized:k,onClick:()=>{const Ie=s.definitionsForRequirements(K);o.showDefinitions(Ie)}}),g.createElement(xe,{path:h}),g.createElement("button",{"aria-label":`${T} ${z.replace(/\//g,"/")}`,className:"opblock-control-arrow","aria-expanded":e,tabIndex:"-1",onClick:r},e?g.createElement(Me,{className:"arrow"}):g.createElement(Ne,{className:"arrow"})))}}class GM extends g.PureComponent{static defaultProps={operationProps:null};render(){let{method:e}=this.props;return g.createElement("span",{className:"opblock-summary-method"},e.toUpperCase())}}class YM extends g.PureComponent{render(){let{getComponent:e,operationProps:r}=this.props,{deprecated:n,isShown:o,path:s,tag:b,operationId:h,isDeepLinkingEnabled:E}=r.toJS();const k=s.split(/(?=\/)/g);for(let R=1;R<k.length;R+=2)k.splice(R,0,g.createElement("wbr",{key:R}));const T=e("DeepLink");return g.createElement("span",{className:n?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":s},g.createElement(T,{enabled:E,isShown:o,path:wa(`${b}/${h}`),text:k}))}}const ZM=({extensions:t,getComponent:e})=>{let r=e("OperationExtRow");return g.createElement("div",{className:"opblock-section"},g.createElement("div",{className:"opblock-section-header"},g.createElement("h4",null,"Extensions")),g.createElement("div",{className:"table-container"},g.createElement("table",null,g.createElement("thead",null,g.createElement("tr",null,g.createElement("td",{className:"col_header"},"Field"),g.createElement("td",{className:"col_header"},"Value"))),g.createElement("tbody",null,t.entrySeq().map((([n,o])=>g.createElement(r,{key:`${n}-${o}`,xKey:n,xVal:o})))))))},XM=({xKey:t,xVal:e})=>{const r=e?e.toJS?e.toJS():e:null;return g.createElement("tr",null,g.createElement("td",null,t),g.createElement("td",null,JSON.stringify(r)))};function j1(t,e="_"){return t.replace(/[^\w-]/g,e)}class I1 extends g.Component{static defaultProps={tryItOutResponse:null,produces:(0,ee.fromJS)(["application/json"]),displayRequestDuration:!1};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);onResponseContentTypeChange=({controlsAcceptHeader:e,value:r})=>{const{oas3Actions:n,path:o,method:s}=this.props;e&&n.setResponseContentType({value:r,path:o,method:s})};render(){let{responses:e,tryItOutResponse:r,getComponent:n,getConfigs:o,specSelectors:s,fn:b,producesValue:h,displayRequestDuration:E,specPath:k,path:T,method:R,oas3Selectors:F,oas3Actions:z}=this.props,X=(function(Me){let Ne=Me.keySeq();return Ne.contains(Wr)?Wr:Ne.filter((we=>(we+"")[0]==="2")).sort().first()})(e);const Z=n("contentType"),te=n("liveResponse"),ae=n("response");let K=this.props.produces&&this.props.produces.size?this.props.produces:I1.defaultProps.produces;const Ae=s.isOAS3()?(function(Me){if(!_e().OrderedMap.isOrderedMap(Me)||!Me.size)return null;const Ne=Me.find(((ke,Ie)=>Ie.startsWith("2")&&Object.keys(ke.get("content")||{}).length>0)),we=Me.get("default")||_e().OrderedMap(),ye=(we.get("content")||_e().OrderedMap()).keySeq().toJS().length?we:null;return Ne||ye})(e):null,fe=e.filter(((Se,Me)=>!fr(Me))),me=j1(`${R}${T}_responses`),xe=`${me}_select`;return fe&&fe.size?g.createElement("div",{className:"responses-wrapper"},g.createElement("div",{className:"opblock-section-header"},g.createElement("h4",null,"Responses"),s.isOAS3()?null:g.createElement("label",{htmlFor:xe},g.createElement("span",null,"Response content type"),g.createElement(Z,{value:h,ariaControls:me,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:K,controlId:xe,onChange:this.onChangeProducesWrapper}))),g.createElement("div",{className:"responses-inner"},r?g.createElement("div",null,g.createElement(te,{response:r,getComponent:n,getConfigs:o,specSelectors:s,path:this.props.path,method:this.props.method,displayRequestDuration:E}),g.createElement("h4",null,"Responses")):null,g.createElement("table",{"aria-live":"polite",className:"responses-table",id:me,role:"region"},g.createElement("thead",null,g.createElement("tr",{className:"responses-header"},g.createElement("td",{className:"col_header response-col_status"},"Code"),g.createElement("td",{className:"col_header response-col_description"},"Description"),s.isOAS3()?g.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),g.createElement("tbody",null,fe.entrySeq().map((([Se,Me])=>{let Ne=r&&r.get("status")==Se?"response_current":"";return g.createElement(ae,{key:Se,path:T,method:R,specPath:k.push(Se),isDefault:X===Se,fn:b,className:Ne,code:Se,response:Me,specSelectors:s,controlsAcceptHeader:Me===Ae,onContentTypeChange:this.onResponseContentTypeChange,contentType:h,getConfigs:o,activeExamplesKey:F.activeExamplesMember(T,R,"responses",Se),oas3Actions:z,getComponent:n})})).toArray())))):null}}function i0(t){return(function(n){try{return!!JSON.parse(n)}catch{return null}})(t)?"json":null}class QM extends g.Component{constructor(e,r){super(e,r),this.state={responseContentType:""}}static defaultProps={response:(0,ee.fromJS)({}),onContentTypeChange:()=>{}};_onContentTypeChange=e=>{const{onContentTypeChange:r,controlsAcceptHeader:n}=this.props;this.setState({responseContentType:e}),r({value:e,controlsAcceptHeader:n})};getTargetExamplesKey=()=>{const{response:e,contentType:r,activeExamplesKey:n}=this.props,o=this.state.responseContentType||r,s=e.getIn(["content",o],(0,ee.Map)({})).get("examples",null).keySeq().first();return n||s};render(){let{path:e,method:r,code:n,response:o,className:s,specPath:b,fn:h,getComponent:E,getConfigs:k,specSelectors:T,contentType:R,controlsAcceptHeader:F,oas3Actions:z}=this.props,{inferSchema:X,getSampleSchema:Z}=h,te=T.isOAS3();const{showExtensions:ae}=k();let K=ae?dr(o):null,Ae=o.get("headers"),fe=o.get("links");const me=E("ResponseExtension"),xe=E("headers"),Se=E("HighlightCode",!0),Me=E("modelExample"),Ne=E("Markdown",!0),we=E("operationLink"),ye=E("contentType"),ke=E("ExamplesSelect"),Ie=E("Example");var De,tt;const Dt=this.state.responseContentType||R,$t=o.getIn(["content",Dt],(0,ee.Map)({})),lr=$t.get("examples",null);if(te){const Jt=$t.get("schema");De=Jt?X(Jt.toJS()):null,tt=Jt?b.push("content",this.state.responseContentType,"schema"):b}else De=o.get("schema"),tt=o.has("schema")?b.push("schema"):b;let vr,yr,Or=!1,pr={includeReadOnly:!0};if(te)if(yr=$t.get("schema")?.toJS(),ee.Map.isMap(lr)&&!lr.isEmpty()){const Jt=this.getTargetExamplesKey(),un=Yr=>ee.Map.isMap(Yr)?Yr.get("value"):void 0;vr=un(lr.get(Jt,(0,ee.Map)({}))),vr===void 0&&(vr=un(lr.values().next().value)),Or=!0}else $t.get("example")!==void 0&&(vr=$t.get("example"),Or=!0);else{yr=De,pr={...pr,includeWriteOnly:!0};const Jt=o.getIn(["examples",Dt]);Jt&&(vr=Jt,Or=!0)}const jt=((Jt,un)=>{if(Jt==null)return null;const Yr=i0(Jt)?"json":null;return g.createElement("div",null,g.createElement(un,{className:"example",language:Yr},cn(Jt)))})(Z(yr,Dt,pr,Or?vr:void 0),Se);return g.createElement("tr",{className:"response "+(s||""),"data-code":n},g.createElement("td",{className:"response-col_status"},n),g.createElement("td",{className:"response-col_description"},g.createElement("div",{className:"response-col_description__inner"},g.createElement(Ne,{source:o.get("description")})),ae&&K.size?K.entrySeq().map((([Jt,un])=>g.createElement(me,{key:`${Jt}-${un}`,xKey:Jt,xVal:un}))):null,te&&o.get("content")?g.createElement("section",{className:"response-controls"},g.createElement("div",{className:On()("response-control-media-type",{"response-control-media-type--accept-controller":F})},g.createElement("small",{className:"response-control-media-type__title"},"Media type"),g.createElement(ye,{value:this.state.responseContentType,contentTypes:o.get("content")?o.get("content").keySeq():(0,ee.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),F?g.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",g.createElement("code",null,"Accept")," header."):null),ee.Map.isMap(lr)&&!lr.isEmpty()?g.createElement("div",{className:"response-control-examples"},g.createElement("small",{className:"response-control-examples__title"},"Examples"),g.createElement(ke,{examples:lr,currentExampleKey:this.getTargetExamplesKey(),onSelect:Jt=>z.setActiveExamplesMember({name:Jt,pathMethod:[e,r],contextType:"responses",contextName:n}),showLabels:!1})):null):null,jt||De?g.createElement(Me,{specPath:tt,getComponent:E,getConfigs:k,specSelectors:T,schema:pn(De),example:jt,includeReadOnly:!0}):null,te&&lr?g.createElement(Ie,{example:lr.get(this.getTargetExamplesKey(),(0,ee.Map)({})),getComponent:E,getConfigs:k,omitValue:!0}):null,Ae?g.createElement(xe,{headers:Ae,getComponent:E}):null),te?g.createElement("td",{className:"response-col_links"},fe?fe.toSeq().entrySeq().map((([Jt,un])=>g.createElement(we,{key:Jt,name:Jt,link:un,getComponent:E}))):g.createElement("i",null,"No links")):null)}}const eR=({xKey:t,xVal:e})=>g.createElement("div",{className:"response__extension"},t,": ",String(e));var tR=qe(26657),rR=qe.n(tR),nR=qe(80218),zS=qe.n(nR);class aR extends g.PureComponent{state={parsedContent:null};updateParsedContent=e=>{const{content:r}=this.props;if(e!==r)if(r&&r instanceof Blob){var n=new FileReader;n.onload=()=>{this.setState({parsedContent:n.result})},n.readAsText(r)}else this.setState({parsedContent:r.toString()})};componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(e){this.updateParsedContent(e.content)}render(){let{content:e,contentType:r,url:n,headers:o={},getComponent:s}=this.props;const{parsedContent:b}=this.state,h=s("HighlightCode",!0),E="response_"+new Date().getTime();let k,T;if(n=n||"",(/^application\/octet-stream/i.test(r)||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"]))&&(e.size>0||e.length>0))if("Blob"in window){let R=r||"text/html",F=e instanceof Blob?e:new Blob([e],{type:R}),z=window.URL.createObjectURL(F),X=[R,n.substr(n.lastIndexOf("/")+1),z].join(":"),Z=o["content-disposition"]||o["Content-Disposition"];if(Z!==void 0){let te=(function(K){let Ae;if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some((fe=>(Ae=fe.exec(K),Ae!==null))),Ae!==null&&Ae.length>1)try{return decodeURIComponent(Ae[1])}catch(fe){console.error(fe)}return null})(Z);te!==null&&(X=te)}T=yt.navigator&&yt.navigator.msSaveOrOpenBlob?g.createElement("div",null,g.createElement("a",{href:z,onClick:()=>yt.navigator.msSaveOrOpenBlob(F,X)},"Download file")):g.createElement("div",null,g.createElement("a",{href:z,download:X},"Download file"))}else T=g.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(r)){let R=null;i0(e)&&(R="json");try{k=JSON.stringify(JSON.parse(e),null," ")}catch{k=`can't parse JSON. Raw result:
|
||
|
||
`+e}T=g.createElement(h,{language:R,downloadable:!0,fileName:`${E}.json`,canCopy:!0},k)}else/xml/i.test(r)?(k=rR()(e,{textNodesOnSameLine:!0,indentor:" "}),T=g.createElement(h,{downloadable:!0,fileName:`${E}.xml`,canCopy:!0},k)):T=zS()(r)==="text/html"||/text\/plain/.test(r)?g.createElement(h,{downloadable:!0,fileName:`${E}.html`,canCopy:!0},e):zS()(r)==="text/csv"||/text\/csv/.test(r)?g.createElement(h,{downloadable:!0,fileName:`${E}.csv`,canCopy:!0},e):/^image\//i.test(r)?r.includes("svg")?g.createElement("div",null," ",e," "):g.createElement("img",{src:window.URL.createObjectURL(e)}):/^audio\//i.test(r)?g.createElement("pre",{className:"microlight"},g.createElement("audio",{controls:!0,key:n},g.createElement("source",{src:n,type:r}))):typeof e=="string"?g.createElement(h,{downloadable:!0,fileName:`${E}.txt`,canCopy:!0},e):e.size>0?b?g.createElement("div",null,g.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),g.createElement(h,{downloadable:!0,fileName:`${E}.txt`,canCopy:!0},b)):g.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return T?g.createElement("div",null,g.createElement("h5",null,"Response body"),T):null}}class oR extends g.Component{constructor(e){super(e),this.state={callbackVisible:!1,parametersVisible:!0}}static defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]};onChange=(e,r,n)=>{let{specActions:{changeParamByIdentity:o},onChangeKey:s}=this.props;o(s,e,r,n)};onChangeConsumesWrapper=e=>{let{specActions:{changeConsumesValue:r},onChangeKey:n}=this.props;r(n,e)};toggleTab=e=>e==="parameters"?this.setState({parametersVisible:!0,callbackVisible:!1}):e==="callbacks"?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0;onChangeMediaType=({value:e,pathMethod:r})=>{let{specActions:n,oas3Selectors:o,oas3Actions:s}=this.props;const b=o.hasUserEditedBody(...r),h=o.shouldRetainRequestBodyValue(...r);s.setRequestContentType({value:e,pathMethod:r}),s.initRequestBodyValidateError({pathMethod:r}),b||(h||s.setRequestBodyValue({value:void 0,pathMethod:r}),n.clearResponse(...r),n.clearRequest(...r),n.clearValidateParams(r))};render(){let{onTryoutClick:e,onResetClick:r,parameters:n,allowTryItOut:o,tryItOutEnabled:s,specPath:b,fn:h,getComponent:E,getConfigs:k,specSelectors:T,specActions:R,pathMethod:F,oas3Actions:z,oas3Selectors:X,operation:Z}=this.props;const te=E("parameterRow"),ae=E("TryItOutButton"),K=E("contentType"),Ae=E("Callbacks",!0),fe=E("RequestBody",!0),me=s&&o,xe=T.isOAS3(),Se=`${j1(`${F[1]}${F[0]}_requests`)}_select`,Me=Z.get("requestBody"),Ne=Object.values(n.reduce(((we,ye)=>{if(ee.Map.isMap(ye)){const ke=ye.get("in");we[ke]??=[],we[ke].push(ye)}return we}),{})).reduce(((we,ye)=>we.concat(ye)),[]);return g.createElement("div",{className:"opblock-section"},g.createElement("div",{className:"opblock-section-header"},xe?g.createElement("div",{className:"tab-header"},g.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},g.createElement("h4",{className:"opblock-title"},g.createElement("span",null,"Parameters"))),Z.get("callbacks")?g.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},g.createElement("h4",{className:"opblock-title"},g.createElement("span",null,"Callbacks"))):null):g.createElement("div",{className:"tab-header"},g.createElement("h4",{className:"opblock-title"},"Parameters")),o?g.createElement(ae,{isOAS3:T.isOAS3(),hasUserEditedBody:X.hasUserEditedBody(...F),enabled:s,onCancelClick:this.props.onCancelClick,onTryoutClick:e,onResetClick:()=>r(F)}):null),this.state.parametersVisible?g.createElement("div",{className:"parameters-container"},Ne.length?g.createElement("div",{className:"table-container"},g.createElement("table",{className:"parameters"},g.createElement("thead",null,g.createElement("tr",null,g.createElement("th",{className:"col_header parameters-col_name"},"Name"),g.createElement("th",{className:"col_header parameters-col_description"},"Description"))),g.createElement("tbody",null,Ne.map(((we,ye)=>g.createElement(te,{fn:h,specPath:b.push(ye.toString()),getComponent:E,getConfigs:k,rawParam:we,param:T.parameterWithMetaByIdentity(F,we),key:`${we.get("in")}.${we.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:T,specActions:R,oas3Actions:z,oas3Selectors:X,pathMethod:F,isExecute:me})))))):g.createElement("div",{className:"opblock-description-wrapper"},g.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?g.createElement("div",{className:"callbacks-container opblock-description-wrapper"},g.createElement(Ae,{callbacks:(0,ee.Map)(Z.get("callbacks")),specPath:b.slice(0,-1).push("callbacks")})):null,xe&&Me&&this.state.parametersVisible&&g.createElement("div",{className:"opblock-section opblock-section-request-body"},g.createElement("div",{className:"opblock-section-header"},g.createElement("h4",{className:`opblock-title parameter__name ${Me.get("required")&&"required"}`},"Request body"),g.createElement("label",{id:Se},g.createElement(K,{value:X.requestContentType(...F),contentTypes:Me.get("content",(0,ee.List)()).keySeq(),onChange:we=>{this.onChangeMediaType({value:we,pathMethod:F})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:Se}))),g.createElement("div",{className:"opblock-description-wrapper"},g.createElement(fe,{setRetainRequestBodyValueFlag:we=>z.setRetainRequestBodyValueFlag({value:we,pathMethod:F}),userHasEditedBody:X.hasUserEditedBody(...F),specPath:b.slice(0,-1).push("requestBody"),requestBody:Me,requestBodyValue:X.requestBodyValue(...F),requestBodyInclusionSetting:X.requestBodyInclusionSetting(...F),requestBodyErrors:X.requestBodyErrors(...F),isExecute:me,getConfigs:k,activeExamplesKey:X.activeExamplesMember(...F,"requestBody","requestBody"),updateActiveExamplesKey:we=>{this.props.oas3Actions.setActiveExamplesMember({name:we,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(we,ye)=>{if(ye){const ke=X.requestBodyValue(...F),Ie=ee.Map.isMap(ke)?ke:(0,ee.Map)();return z.setRequestBodyValue({pathMethod:F,value:Ie.setIn(ye,we)})}z.setRequestBodyValue({value:we,pathMethod:F})},onChangeIncludeEmpty:(we,ye)=>{z.setRequestBodyInclusion({pathMethod:F,value:ye,name:we})},contentType:X.requestContentType(...F)}))))}}const iR=({xKey:t,xVal:e})=>g.createElement("div",{className:"parameter__extension"},t,": ",String(e)),sR={onChange:()=>{},isIncludedOptions:{}};class lR extends g.Component{static defaultProps=sR;componentDidMount(){const{isIncludedOptions:e,onChange:r}=this.props,{shouldDispatchInit:n,defaultValue:o}=e;n&&r(o)}onCheckboxChange=e=>{const{onChange:r}=this.props;r(e.target.checked)};render(){let{isIncluded:e,isDisabled:r}=this.props;return g.createElement("div",null,g.createElement("label",{htmlFor:"include_empty_value",className:On()("parameter__empty_value_toggle",{disabled:r})},g.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:r,checked:!r&&e,onChange:this.onCheckboxChange}),"Send empty value"))}}class cR extends g.Component{constructor(e,r){super(e,r),this.setDefaultValue()}UNSAFE_componentWillReceiveProps(e){let r,{specSelectors:n,pathMethod:o,rawParam:s}=e,b=n.isOAS3(),h=n.parameterWithMetaByIdentity(o,s)||new ee.Map;if(h=h.isEmpty()?s:h,b){let{schema:T}=br(h,{isOAS3:b});r=T?T.get("enum"):void 0}else r=h?h.get("enum"):void 0;let E,k=h?h.get("value"):void 0;k!==void 0?E=k:s.get("required")&&r&&r.size&&(E=r.first()),E!==void 0&&E!==k&&this.onChangeWrapper((function(R){return typeof R=="number"?R.toString():R})(E)),this.setDefaultValue()}onChangeWrapper=(e,r=!1)=>{let n,{onChange:o,rawParam:s}=this.props;return n=e===""||e&&e.size===0?null:e,o(s,n,r)};_onExampleSelect=e=>{this.props.oas3Actions.setActiveExamplesMember({name:e,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})};onChangeIncludeEmpty=e=>{let{specActions:r,param:n,pathMethod:o}=this.props;const s=n.get("name"),b=n.get("in");return r.updateEmptyParamInclusion(o,s,b,e)};setDefaultValue=()=>{let{specSelectors:e,pathMethod:r,rawParam:n,oas3Selectors:o,fn:s}=this.props;const b=e.parameterWithMetaByIdentity(r,n)||(0,ee.Map)();let{schema:h}=br(b,{isOAS3:e.isOAS3()});const E=b.get("content",(0,ee.Map)()).keySeq().first(),k=h?s.getSampleSchema(h.toJS(),E,{includeWriteOnly:!0}):null;if(b&&b.get("value")===void 0&&b.get("in")!=="body"){let T;if(e.isSwagger2())T=b.get("x-example")!==void 0?b.get("x-example"):b.getIn(["schema","example"])!==void 0?b.getIn(["schema","example"]):h&&h.getIn(["default"]);else if(e.isOAS3()){h=this.composeJsonSchema(h);const z=o.activeExamplesMember(...r,"parameters",this.getParamKey());T=b.getIn(["examples",z,"value"])!==void 0?b.getIn(["examples",z,"value"]):b.getIn(["content",E,"example"])!==void 0?b.getIn(["content",E,"example"]):b.get("example")!==void 0?b.get("example"):(h&&h.get("example"))!==void 0?h&&h.get("example"):(h&&h.get("default"))!==void 0?h&&h.get("default"):b.get("default")}T===void 0||ee.List.isList(T)||(T=cn(T));const R=s.getSchemaObjectType(h),F=s.getSchemaObjectType(h?.get("items"));T!==void 0?this.onChangeWrapper(T):R==="object"&&k&&!b.get("examples")?this.onChangeWrapper(ee.List.isList(k)?k:cn(k)):R==="array"&&F==="object"&&k&&!b.get("examples")&&this.onChangeWrapper(ee.List.isList(k)?k:(0,ee.List)(JSON.parse(k)))}};getParamKey(){const{param:e}=this.props;return e?`${e.get("name")}-${e.get("in")}`:null}composeJsonSchema(e){const{fn:r}=this.props,n=e.get("oneOf")?.get(0)?.toJS(),o=e.get("anyOf")?.get(0)?.toJS();return(0,ee.fromJS)(r.mergeJsonSchema(e.toJS(),n??o??{}))}render(){let{param:e,rawParam:r,getComponent:n,getConfigs:o,isExecute:s,fn:b,onChangeConsumes:h,specSelectors:E,pathMethod:k,specPath:T,oas3Selectors:R}=this.props,F=E.isOAS3();const{showExtensions:z,showCommonExtensions:X}=o();if(e||(e=r),!r)return null;const Z=n("JsonSchemaForm"),te=n("ParamBody");let ae=e.get("in"),K=ae!=="body"?null:g.createElement(te,{getComponent:n,getConfigs:o,fn:b,param:e,consumes:E.consumesOptionsFor(k),consumesValue:E.contentTypeValues(k).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:h,isExecute:s,specSelectors:E,pathMethod:k});const Ae=n("modelExample"),fe=n("Markdown",!0),me=n("ParameterExt"),xe=n("ParameterIncludeEmpty"),Se=n("ExamplesSelectValueRetainer"),Me=n("Example");let{schema:Ne}=br(e,{isOAS3:F}),we=E.parameterWithMetaByIdentity(k,r)||(0,ee.Map)();const ye=we.get("content",(0,ee.Map)()).keySeq().first();F&&(Ne=this.composeJsonSchema(Ne));let ke=Ne?Ne.get("format"):null,Ie=ae==="formData",De="FormData"in yt,tt=e.get("required");const Dt=b.getSchemaObjectType(Ne),$t=b.getSchemaObjectType(Ne?.get("items")),lr=b.getSchemaObjectTypeLabel(Ne),vr=!K&&Dt==="object",yr=!K&&$t==="object";let Or,pr,jt,Jt,un=we?we.get("value"):"",Yr=X?Cr(Ne):null,Zr=z?dr(e):null,rn=!1;e!==void 0&&Ne&&(Or=Ne.get("items")),Or!==void 0?(pr=Or.get("enum"),jt=Or.get("default")):Ne&&(pr=Ne.get("enum")),pr&&pr.size&&pr.size>0&&(rn=!0),e!==void 0&&(Ne&&(jt=Ne.get("default")),jt===void 0&&(jt=e.get("default")),Jt=e.get("example"),Jt===void 0&&(Jt=e.get("x-example")));const pa=K?null:g.createElement(Z,{fn:b,getComponent:n,value:un,required:tt,disabled:!s,description:e.get("name"),onChange:this.onChangeWrapper,errors:we.get("errors"),schema:Ne});return g.createElement("tr",{"data-param-name":e.get("name"),"data-param-in":e.get("in")},g.createElement("td",{className:"parameters-col_name"},g.createElement("div",{className:tt?"parameter__name required":"parameter__name"},e.get("name"),tt?g.createElement("span",null," *"):null),g.createElement("div",{className:"parameter__type"},lr,ke&&g.createElement("span",{className:"prop-format"},"($",ke,")")),g.createElement("div",{className:"parameter__deprecated"},F&&e.get("deprecated")?"deprecated":null),g.createElement("div",{className:"parameter__in"},"(",e.get("in"),")")),g.createElement("td",{className:"parameters-col_description"},e.get("description")?g.createElement(fe,{source:e.get("description")}):null,!K&&s||!rn?null:g.createElement(fe,{className:"parameter__enum",source:"<i>Available values</i> : "+pr.map((function(ln){return ln})).toArray().map(String).join(", ")}),!K&&s||jt===void 0?null:g.createElement(fe,{className:"parameter__default",source:"<i>Default value</i> : "+jt}),!K&&s||Jt===void 0?null:g.createElement(fe,{source:"<i>Example</i> : "+Jt}),Ie&&!De&&g.createElement("div",null,"Error: your browser does not support FormData"),F&&e.get("examples")?g.createElement("section",{className:"parameter-controls"},g.createElement(Se,{examples:e.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:n,defaultToFirstExample:!0,currentKey:R.activeExamplesMember(...k,"parameters",this.getParamKey()),currentUserInputValue:un})):null,vr||yr?g.createElement(Ae,{getComponent:n,specPath:ye?T.push("content",ye,"schema"):T.push("schema"),getConfigs:o,isExecute:s,specSelectors:E,schema:Ne,example:pa}):pa,K&&Ne?g.createElement(Ae,{getComponent:n,specPath:T.push("schema"),getConfigs:o,isExecute:s,specSelectors:E,schema:Ne,example:K,includeWriteOnly:!0}):null,!K&&s&&e.get("allowEmptyValue")?g.createElement(xe,{onChange:this.onChangeIncludeEmpty,isIncluded:E.parameterInclusionSettingFor(k,e.get("name"),e.get("in")),isDisabled:!fa(un)}):null,F&&e.get("examples")?g.createElement(Me,{example:e.getIn(["examples",R.activeExamplesMember(...k,"parameters",this.getParamKey())]),getComponent:n,getConfigs:o}):null,X&&Yr.size?Yr.entrySeq().map((([ln,Hr])=>g.createElement(me,{key:`${ln}-${Hr}`,xKey:ln,xVal:Hr}))):null,z&&Zr.size?Zr.entrySeq().map((([ln,Hr])=>g.createElement(me,{key:`${ln}-${Hr}`,xKey:ln,xVal:Hr}))):null))}}class uR extends g.Component{handleValidateParameters=()=>{let{specSelectors:e,specActions:r,path:n,method:o}=this.props;return r.validateParams([n,o]),e.validateBeforeExecute([n,o])};handleValidateRequestBody=()=>{let{path:e,method:r,specSelectors:n,oas3Selectors:o,oas3Actions:s}=this.props,b={missingBodyValue:!1,missingRequiredKeys:[]};s.clearRequestBodyValidateError({path:e,method:r});let h=n.getOAS3RequiredRequestBodyContentType([e,r]),E=o.requestBodyValue(e,r),k=o.validateBeforeExecute([e,r]),T=o.requestContentType(e,r);if(!k)return b.missingBodyValue=!0,s.setRequestBodyValidateError({path:e,method:r,validationErrors:b}),!1;if(!h)return!0;let R=o.validateShallowRequired({oas3RequiredRequestBodyContentType:h,oas3RequestContentType:T,oas3RequestBodyValue:E});return!R||R.length<1||(R.forEach((F=>{b.missingRequiredKeys.push(F)})),s.setRequestBodyValidateError({path:e,method:r,validationErrors:b}),!1)};handleValidationResultPass=()=>{let{specActions:e,operation:r,path:n,method:o}=this.props;this.props.onExecute&&this.props.onExecute(),e.execute({operation:r,path:n,method:o})};handleValidationResultFail=()=>{let{specActions:e,path:r,method:n}=this.props;e.clearValidateParams([r,n]),setTimeout((()=>{e.validateParams([r,n])}),40)};handleValidationResult=e=>{e?this.handleValidationResultPass():this.handleValidationResultFail()};onClick=()=>{let e=this.handleValidateParameters(),r=this.handleValidateRequestBody(),n=e&&r;this.handleValidationResult(n)};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);render(){const{disabled:e}=this.props;return g.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:e},"Execute")}}class pR extends g.Component{render(){let{headers:e,getComponent:r}=this.props;const n=r("Property"),o=r("Markdown",!0);return e&&e.size?g.createElement("div",{className:"headers-wrapper"},g.createElement("h4",{className:"headers__title"},"Headers:"),g.createElement("table",{className:"headers"},g.createElement("thead",null,g.createElement("tr",{className:"header-row"},g.createElement("th",{className:"header-col"},"Name"),g.createElement("th",{className:"header-col"},"Description"),g.createElement("th",{className:"header-col"},"Type"))),g.createElement("tbody",null,e.entrySeq().map((([s,b])=>{if(!_e().Map.isMap(b))return null;const h=b.get("description"),E=b.getIn(["schema"])?b.getIn(["schema","type"]):b.getIn(["type"]),k=b.getIn(["schema","example"]);return g.createElement("tr",{key:s},g.createElement("td",{className:"header-col"},s),g.createElement("td",{className:"header-col"},h?g.createElement(o,{source:h}):null),g.createElement("td",{className:"header-col"},E," ",k?g.createElement(n,{propKey:"Example",propVal:k,propClass:"header-example"}):null))})).toArray()))):null}}class fR extends g.Component{render(){let{editorActions:e,errSelectors:r,layoutSelectors:n,layoutActions:o,getComponent:s}=this.props;const b=s("Collapse");if(e&&e.jumpToLine)var h=e.jumpToLine;let E=r.allErrors().filter((R=>R.get("type")==="thrown"||R.get("level")==="error"));if(!E||E.count()<1)return null;let k=n.isShown(["errorPane"],!0),T=E.sortBy((R=>R.get("line")));return g.createElement("pre",{className:"errors-wrapper"},g.createElement("hgroup",{className:"error"},g.createElement("h4",{className:"errors__title"},"Errors"),g.createElement("button",{className:"btn errors__clear-btn",onClick:()=>o.show(["errorPane"],!k)},k?"Hide":"Show")),g.createElement(b,{isOpened:k,animated:!0},g.createElement("div",{className:"errors"},T.map(((R,F)=>{let z=R.get("type");return z==="thrown"||z==="auth"?g.createElement(hR,{key:F,error:R.get("error")||R,jumpToLine:h}):z==="spec"?g.createElement(dR,{key:F,error:R,jumpToLine:h}):void 0})))))}}const hR=({error:t,jumpToLine:e})=>{if(!t)return null;let r=t.get("line");return g.createElement("div",{className:"error-wrapper"},t?g.createElement("div",null,g.createElement("h4",null,t.get("source")&&t.get("level")?VS(t.get("source"))+" "+t.get("level"):"",t.get("path")?g.createElement("small",null," at ",t.get("path")):null),g.createElement("span",{className:"message thrown"},t.get("message")),g.createElement("div",{className:"error-line"},r&&e?g.createElement("a",{onClick:e.bind(null,r)},"Jump to line ",r):null)):null)},dR=({error:t,jumpToLine:e=null})=>{let r=null;return t.get("path")?r=ee.List.isList(t.get("path"))?g.createElement("small",null,"at ",t.get("path").join(".")):g.createElement("small",null,"at ",t.get("path")):t.get("line")&&!e&&(r=g.createElement("small",null,"on line ",t.get("line"))),g.createElement("div",{className:"error-wrapper"},t?g.createElement("div",null,g.createElement("h4",null,VS(t.get("source"))+" "+t.get("level")," ",r),g.createElement("span",{className:"message"},t.get("message")),g.createElement("div",{className:"error-line"},e?g.createElement("a",{onClick:e.bind(null,t.get("line"))},"Jump to line ",t.get("line")):null)):null)};function VS(t){return(t||"").split(" ").map((e=>e[0].toUpperCase()+e.slice(1))).join(" ")}const mR=()=>{};class gR extends g.Component{static defaultProps={onChange:mR,value:null,contentTypes:(0,ee.fromJS)(["application/json"])};componentDidMount(){const{contentTypes:e,onChange:r}=this.props;e&&e.size&&r(e.first())}componentDidUpdate(){const{contentTypes:e,value:r,onChange:n}=this.props;e&&e.size&&(e.includes(r)||n(e.first()))}onChangeWrapper=e=>this.props.onChange(e.target.value);render(){let{ariaControls:e,ariaLabel:r,className:n,contentTypes:o,controlId:s,value:b}=this.props;return o&&o.size?g.createElement("div",{className:"content-type-wrapper "+(n||"")},g.createElement("select",{"aria-controls":e,"aria-label":r,className:"content-type",id:s,onChange:this.onChangeWrapper,value:b||""},o.map((h=>g.createElement("option",{key:h,value:h},h))).toArray())):null}}function wm(...t){return t.filter((e=>!!e)).join(" ").trim()}class yR extends g.Component{render(){let{fullscreen:e,full:r,...n}=this.props;if(e)return g.createElement("section",n);let o="swagger-container"+(r?"-full":"");return g.createElement("section",An()({},n,{className:wm(n.className,o)}))}}const P1={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class vR extends g.Component{render(){const{hide:e,keepContents:r,mobile:n,tablet:o,desktop:s,large:b,...h}=this.props;if(e&&!r)return g.createElement("span",null);let E=[];for(let T in P1){if(!Object.prototype.hasOwnProperty.call(P1,T))continue;let R=P1[T];if(T in this.props){let F=this.props[T];if(F<1){E.push("none"+R);continue}E.push("block"+R),E.push("col-"+F+R)}}e&&E.push("hidden");let k=wm(h.className,...E);return g.createElement("section",An()({},h,{className:k}))}}class bR extends g.Component{render(){return g.createElement("div",An()({},this.props,{className:wm(this.props.className,"wrapper")}))}}class _R extends g.Component{static defaultProps={className:""};render(){return g.createElement("button",An()({},this.props,{className:wm(this.props.className,"button")}))}}const wR=t=>g.createElement("textarea",t),ER=t=>g.createElement("input",t);class SR extends g.Component{static defaultProps={multiple:!1,allowEmptyValue:!0};constructor(e,r){let n;super(e,r),n=e.value?e.value:e.multiple?[""]:"",this.state={value:n}}onChange=e=>{let r,{onChange:n,multiple:o}=this.props,s=[].slice.call(e.target.options);r=o?s.filter((function(b){return b.selected})).map((function(b){return b.value})):e.target.value,this.setState({value:r}),n&&n(r)};UNSAFE_componentWillReceiveProps(e){e.value!==this.props.value&&this.setState({value:e.value})}render(){let{allowedValues:e,multiple:r,allowEmptyValue:n,disabled:o}=this.props,s=this.state.value?.toJS?.()||this.state.value;return g.createElement("select",{className:this.props.className,multiple:r,value:s,onChange:this.onChange,disabled:o},n?g.createElement("option",{value:""},"--"):null,e.map((function(b,h){return g.createElement("option",{key:h,value:String(b)},String(b))})))}}class WS extends g.Component{render(){return g.createElement("a",An()({},this.props,{rel:"noopener noreferrer",className:wm(this.props.className,"link")}))}}const JS=({children:t})=>g.createElement("div",{className:"no-margin"}," ",t," ");class xR extends g.Component{static defaultProps={isOpened:!1,animated:!1};renderNotAnimated(){return this.props.isOpened?g.createElement(JS,null,this.props.children):g.createElement("noscript",null)}render(){let{animated:e,isOpened:r,children:n}=this.props;return e?(n=r?n:null,g.createElement(JS,null,n)):this.renderNotAnimated()}}class AR extends g.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:o}=this.props,s=e.taggedOperations();const b=o("Collapse");return g.createElement("div",null,g.createElement("h4",{className:"overview-title"},"Overview"),s.map(((h,E)=>{let k=h.get("operations"),T=["overview-tags",E],R=r.isShown(T,!0);return g.createElement("div",{key:"overview-"+E},g.createElement("h4",{onClick:()=>n.show(T,!R),className:"link overview-tag"}," ",R?"-":"+",E),g.createElement(b,{isOpened:R,animated:!0},k.map((F=>{let{path:z,method:X,id:Z}=F.toObject(),te="operations",ae=Z,K=r.isShown([te,ae]);return g.createElement(OR,{key:Z,path:z,method:X,id:z+"-"+X,shown:K,showOpId:ae,showOpIdPrefix:te,href:`#operation-${ae}`,onClick:n.show})})).toArray()))})).toArray(),s.size<1&&g.createElement("h3",null," No operations defined in spec! "))}}class OR extends g.Component{constructor(e){super(e),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:e,showOpIdPrefix:r,onClick:n,shown:o}=this.props;n([r,e],!o)}render(){let{id:e,method:r,shown:n,href:o}=this.props;return g.createElement(WS,{href:o,onClick:this.onClick,className:"block opblock-link "+(n?"shown":"")},g.createElement("div",null,g.createElement("small",{className:`bold-label-${r}`},r.toUpperCase()),g.createElement("span",{className:"bold-label"},e)))}}class kR extends g.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:e,defaultValue:r,initialValue:n,...o}=this.props;return g.createElement("input",An()({},o,{ref:s=>this.inputRef=s}))}}class CR extends g.Component{render(){const{host:e,basePath:r}=this.props;return g.createElement("pre",{className:"base-url"},"[ Base URL: ",e,r," ]")}}class jR extends g.PureComponent{render(){const{url:e,getComponent:r}=this.props,n=r("Link");return g.createElement(n,{target:"_blank",href:Na(e)},g.createElement("span",{className:"url"}," ",e))}}class IR extends g.Component{render(){const{info:e,url:r,host:n,basePath:o,getComponent:s,externalDocs:b,selectedServer:h,url:E}=this.props,k=e.get("version"),T=e.get("description"),R=e.get("title"),F=Ci(e.get("termsOfService"),E,{selectedServer:h}),z=e.get("contact"),X=e.get("license"),Z=Ci(b&&b.get("url"),E,{selectedServer:h}),te=b&&b.get("description"),ae=s("Markdown",!0),K=s("Link"),Ae=s("VersionStamp"),fe=s("OpenAPIVersion"),me=s("InfoUrl"),xe=s("InfoBasePath"),Se=s("License"),Me=s("Contact");return g.createElement("div",{className:"info"},g.createElement("hgroup",{className:"main"},g.createElement("h1",{className:"title"},R,g.createElement("span",null,k&&g.createElement(Ae,{version:k}),g.createElement(fe,{oasVersion:"2.0"}))),n||o?g.createElement(xe,{host:n,basePath:o}):null,r&&g.createElement(me,{getComponent:s,url:r})),g.createElement("div",{className:"description"},g.createElement(ae,{source:T})),F&&g.createElement("div",{className:"info__tos"},g.createElement(K,{target:"_blank",href:Na(F)},"Terms of service")),z?.size>0&&g.createElement(Me,{getComponent:s,data:z,selectedServer:h,url:r}),X?.size>0&&g.createElement(Se,{getComponent:s,license:X,selectedServer:h,url:r}),Z?g.createElement(K,{className:"info__extdocs",target:"_blank",href:Na(Z)},te||Z):null)}}const PR=IR;class TR extends g.Component{render(){const{specSelectors:e,getComponent:r,oas3Selectors:n}=this.props,o=e.info(),s=e.url(),b=e.basePath(),h=e.host(),E=e.externalDocs(),k=n.selectedServer(),T=r("info");return g.createElement("div",null,o&&o.count()?g.createElement(T,{info:o,url:s,host:h,basePath:b,externalDocs:E,getComponent:r,selectedServer:k}):null)}}class NR extends g.Component{render(){const{data:e,getComponent:r,selectedServer:n,url:o}=this.props,s=e.get("name","the developer"),b=Ci(e.get("url"),o,{selectedServer:n}),h=e.get("email"),E=r("Link");return g.createElement("div",{className:"info__contact"},b&&g.createElement("div",null,g.createElement(E,{href:Na(b),target:"_blank"},s," - Website")),h&&g.createElement(E,{href:Na(`mailto:${h}`)},b?`Send email to ${s}`:`Contact ${s}`))}}const MR=NR;class RR extends g.Component{render(){const{license:e,getComponent:r,selectedServer:n,url:o}=this.props,s=e.get("name","License"),b=Ci(e.get("url"),o,{selectedServer:n}),h=r("Link");return g.createElement("div",{className:"info__license"},b?g.createElement("div",{className:"info__license__url"},g.createElement(h,{target:"_blank",href:Na(b)},s)):g.createElement("span",null,s))}}const DR=RR;class BR extends g.Component{render(){return null}}class FR extends g.Component{render(){let{getComponent:e}=this.props;const r=e("CopyIcon");return g.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},g.createElement(hc.CopyToClipboard,{text:this.props.textToCopy},g.createElement(r,null)))}}class LR extends g.Component{render(){return g.createElement("div",{className:"footer"})}}class $R extends g.Component{onFilterChange=e=>{const{target:{value:r}}=e;this.props.layoutActions.updateFilter(r)};render(){const{specSelectors:e,layoutSelectors:r,getComponent:n}=this.props,o=n("Col"),s=e.loadingStatus()==="loading",b=e.loadingStatus()==="failed",h=r.currentFilter(),E=["operation-filter-input"];return b&&E.push("failed"),s&&E.push("loading"),g.createElement("div",null,h===!1?null:g.createElement("div",{className:"filter-container"},g.createElement(o,{className:"filter wrapper",mobile:12},g.createElement("input",{className:E.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:typeof h=="string"?h:"",disabled:s}))))}}const T1=Function.prototype;class N1 extends g.PureComponent{static defaultProp={consumes:(0,ee.fromJS)(["application/json"]),param:(0,ee.fromJS)({}),onChange:T1,onChangeConsumes:T1};constructor(e,r){super(e,r),this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(e){this.updateValues.call(this,e)}updateValues=e=>{let{param:r,isExecute:n,consumesValue:o=""}=e,s=/xml/i.test(o),b=/json/i.test(o),h=s?r.get("value_xml"):r.get("value");if(h!==void 0){let E=!h&&b?"{}":h;this.setState({value:E}),this.onChange(E,{isXml:s,isEditBox:n})}else s?this.onChange(this.sample("xml"),{isXml:s,isEditBox:n}):this.onChange(this.sample(),{isEditBox:n})};sample=e=>{let{param:r,fn:n}=this.props,o=n.inferSchema(r.toJS());return n.getSampleSchema(o,e,{includeWriteOnly:!0})};onChange=(e,{isEditBox:r,isXml:n})=>{this.setState({value:e,isEditBox:r}),this._onChange(e,n)};_onChange=(e,r)=>{(this.props.onChange||T1)(e,r)};handleOnChange=e=>{const{consumesValue:r}=this.props,n=/xml/i.test(r),o=e.target.value;this.onChange(o,{isXml:n,isEditBox:this.state.isEditBox})};toggleIsEditBox=()=>this.setState((e=>({isEditBox:!e.isEditBox})));render(){let{onChangeConsumes:e,param:r,isExecute:n,specSelectors:o,pathMethod:s,getComponent:b}=this.props;const h=b("Button"),E=b("TextArea"),k=b("HighlightCode",!0),T=b("contentType");let R=(o?o.parameterWithMetaByIdentity(s,r):r).get("errors",(0,ee.List)()),F=o.contentTypeValues(s).get("requestContentType"),z=this.props.consumes&&this.props.consumes.size?this.props.consumes:N1.defaultProp.consumes,{value:X,isEditBox:Z}=this.state,te=null;i0(X)&&(te="json");const ae=`${j1(`${s[1]}${s[0]}_parameters`)}_select`;return g.createElement("div",{className:"body-param","data-param-name":r.get("name"),"data-param-in":r.get("in")},Z&&n?g.createElement(E,{className:"body-param__text"+(R.count()?" invalid":""),value:X,onChange:this.handleOnChange}):X&&g.createElement(k,{className:"body-param__example",language:te},X),g.createElement("div",{className:"body-param-options"},n?g.createElement("div",{className:"body-param-edit"},g.createElement(h,{className:Z?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},Z?"Cancel":"Edit")):null,g.createElement("label",{htmlFor:ae},g.createElement("span",null,"Parameter content type"),g.createElement(T,{value:F,contentTypes:z,onChange:e,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:ae}))))}}class UR extends g.Component{render(){const{request:e,getComponent:r}=this.props,n=Pl(e),o=r("SyntaxHighlighter",!0);return g.createElement("div",{className:"curl-command"},g.createElement("h4",null,"Curl"),g.createElement("div",{className:"copy-to-clipboard"},g.createElement(hc.CopyToClipboard,{text:n},g.createElement("button",null))),g.createElement("div",null,g.createElement(o,{language:"bash",className:"curl microlight",renderPlainText:({children:s,PlainTextViewer:b})=>g.createElement(b,{className:"curl"},s)},n)))}}const qR=({propKey:t,propVal:e,propClass:r})=>g.createElement("span",{className:r},g.createElement("br",null),t,": ",cn(e));class zR extends g.Component{static defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1};render(){const{onTryoutClick:e,onCancelClick:r,onResetClick:n,enabled:o,hasUserEditedBody:s,isOAS3:b}=this.props,h=b&&s;return g.createElement("div",{className:h?"try-out btn-group":"try-out"},o?g.createElement("button",{className:"btn try-out__btn cancel",onClick:r},"Cancel"):g.createElement("button",{className:"btn try-out__btn",onClick:e},"Try it out "),h&&g.createElement("button",{className:"btn try-out__btn reset",onClick:n},"Reset"))}}class VR extends g.PureComponent{static defaultProps={alsoShow:null,children:null,bypass:!1};render(){const{bypass:e,isSwagger2:r,isOAS3:n,alsoShow:o}=this.props;return e?g.createElement("div",null,this.props.children):r&&n?g.createElement("div",{className:"version-pragma"},o,g.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},g.createElement("div",null,g.createElement("h3",null,"Unable to render this definition"),g.createElement("p",null,g.createElement("code",null,"swagger")," and ",g.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),g.createElement("p",null,"Supported version fields are ",g.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",g.createElement("code",null,"openapi: 3.0.n")," (for example, ",g.createElement("code",null,"openapi: 3.0.4"),").")))):r||n?g.createElement("div",null,this.props.children):g.createElement("div",{className:"version-pragma"},o,g.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},g.createElement("div",null,g.createElement("h3",null,"Unable to render this definition"),g.createElement("p",null,"The provided definition does not specify a valid version field."),g.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",g.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",g.createElement("code",null,"openapi: 3.0.n")," (for example, ",g.createElement("code",null,"openapi: 3.0.4"),")."))))}}const WR=({version:t})=>g.createElement("small",null,g.createElement("pre",{className:"version"}," ",t," ")),JR=({oasVersion:t})=>g.createElement("small",{className:"version-stamp"},g.createElement("pre",{className:"version"},"OAS ",t)),HR=({enabled:t,path:e,text:r})=>g.createElement("a",{className:"nostyle",onClick:t?n=>n.preventDefault():null,href:t?`#/${e}`:null},g.createElement("span",null,r)),KR=()=>g.createElement("div",null,g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},g.createElement("defs",null,g.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},g.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"})),g.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},g.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"})),g.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},g.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"})),g.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},g.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.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},g.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"})),g.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},g.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"})),g.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},g.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),g.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},g.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),g.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},g.createElement("g",{transform:"translate(2, -1)"},g.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 M1;function HS(t){return(M1=M1||document.createElement("textarea")).innerHTML="&"+t+";",M1.value}var GR=Object.prototype.hasOwnProperty;function YR(t,e){return!!t&&GR.call(t,e)}function KS(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 ZR=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Em(t){return t.indexOf("\\")<0?t:t.replace(ZR,"$1")}function GS(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 R1(t){if(t>65535){var e=55296+((t-=65536)>>10),r=56320+(1023&t);return String.fromCharCode(e,r)}return String.fromCharCode(t)}var XR=/&([a-z#][a-z0-9]{1,31});/gi,QR=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function eD(t,e){var r=0,n=HS(e);return e!==n?n:e.charCodeAt(0)===35&&QR.test(e)&&GS(r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10))?R1(r):t}function sp(t){return t.indexOf("&")<0?t:t.replace(XR,eD)}var tD=/[&<>"]/,rD=/[&<>"]/g,nD={"&":"&","<":"<",">":">",'"':"""};function aD(t){return nD[t]}function gs(t){return tD.test(t)?t.replace(rD,aD):t}var Sr={};function YS(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?YS(t,e+2):e}Sr.blockquote_open=function(){return`<blockquote>
|
||
`},Sr.blockquote_close=function(t,e){return"</blockquote>"+lp(t,e)},Sr.code=function(t,e){return t[e].block?"<pre><code>"+gs(t[e].content)+"</code></pre>"+lp(t,e):"<code>"+gs(t[e].content)+"</code>"},Sr.fence=function(t,e,r,n,o){var s,b,h=t[e],E="",k=r.langPrefix;if(h.params){if(b=(s=h.params.split(/\s+/g)).join(" "),YR(o.rules.fence_custom,s[0]))return o.rules.fence_custom[s[0]](t,e,r,n,o);E=' class="'+k+gs(sp(Em(b)))+'"'}return"<pre><code"+E+">"+(r.highlight&&r.highlight.apply(r.highlight,[h.content].concat(s))||gs(h.content))+"</code></pre>"+lp(t,e)},Sr.fence_custom={},Sr.heading_open=function(t,e){return"<h"+t[e].hLevel+">"},Sr.heading_close=function(t,e){return"</h"+t[e].hLevel+`>
|
||
`},Sr.hr=function(t,e,r){return(r.xhtmlOut?"<hr />":"<hr>")+lp(t,e)},Sr.bullet_list_open=function(){return`<ul>
|
||
`},Sr.bullet_list_close=function(t,e){return"</ul>"+lp(t,e)},Sr.list_item_open=function(){return"<li>"},Sr.list_item_close=function(){return`</li>
|
||
`},Sr.ordered_list_open=function(t,e){var r=t[e];return"<ol"+(r.order>1?' start="'+r.order+'"':"")+`>
|
||
`},Sr.ordered_list_close=function(t,e){return"</ol>"+lp(t,e)},Sr.paragraph_open=function(t,e){return t[e].tight?"":"<p>"},Sr.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?lp(t,e):"")},Sr.link_open=function(t,e,r){var n=t[e].title?' title="'+gs(sp(t[e].title))+'"':"",o=r.linkTarget?' target="'+r.linkTarget+'"':"";return'<a href="'+gs(t[e].href)+'"'+n+o+">"},Sr.link_close=function(){return"</a>"},Sr.image=function(t,e,r){var n=' src="'+gs(t[e].src)+'"',o=t[e].title?' title="'+gs(sp(t[e].title))+'"':"";return"<img"+n+(' alt="'+(t[e].alt?gs(sp(Em(t[e].alt))):"")+'"')+o+(r.xhtmlOut?" /":"")+">"},Sr.table_open=function(){return`<table>
|
||
`},Sr.table_close=function(){return`</table>
|
||
`},Sr.thead_open=function(){return`<thead>
|
||
`},Sr.thead_close=function(){return`</thead>
|
||
`},Sr.tbody_open=function(){return`<tbody>
|
||
`},Sr.tbody_close=function(){return`</tbody>
|
||
`},Sr.tr_open=function(){return"<tr>"},Sr.tr_close=function(){return`</tr>
|
||
`},Sr.th_open=function(t,e){var r=t[e];return"<th"+(r.align?' style="text-align:'+r.align+'"':"")+">"},Sr.th_close=function(){return"</th>"},Sr.td_open=function(t,e){var r=t[e];return"<td"+(r.align?' style="text-align:'+r.align+'"':"")+">"},Sr.td_close=function(){return"</td>"},Sr.strong_open=function(){return"<strong>"},Sr.strong_close=function(){return"</strong>"},Sr.em_open=function(){return"<em>"},Sr.em_close=function(){return"</em>"},Sr.del_open=function(){return"<del>"},Sr.del_close=function(){return"</del>"},Sr.ins_open=function(){return"<ins>"},Sr.ins_close=function(){return"</ins>"},Sr.mark_open=function(){return"<mark>"},Sr.mark_close=function(){return"</mark>"},Sr.sub=function(t,e){return"<sub>"+gs(t[e].content)+"</sub>"},Sr.sup=function(t,e){return"<sup>"+gs(t[e].content)+"</sup>"},Sr.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`},Sr.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`},Sr.text=function(t,e){return gs(t[e].content)},Sr.htmlblock=function(t,e){return t[e].content},Sr.htmltag=function(t,e){return t[e].content},Sr.abbr_open=function(t,e){return'<abbr title="'+gs(sp(t[e].title))+'">'},Sr.abbr_close=function(){return"</abbr>"},Sr.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>"},Sr.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">
|
||
`},Sr.footnote_block_close=function(){return`</ol>
|
||
</section>
|
||
`},Sr.footnote_open=function(t,e){return'<li id="fn'+Number(t[e].id+1).toString()+'" class="footnote-item">'},Sr.footnote_close=function(){return`</li>
|
||
`},Sr.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>'},Sr.dl_open=function(){return`<dl>
|
||
`},Sr.dt_open=function(){return"<dt>"},Sr.dd_open=function(){return"<dd>"},Sr.dl_close=function(){return`</dl>
|
||
`},Sr.dt_close=function(){return`</dt>
|
||
`},Sr.dd_close=function(){return`</dd>
|
||
`};var lp=Sr.getBreak=function(e,r){return(r=YS(e,r))<e.length&&e[r].type==="list_item_close"?"":`
|
||
`};function D1(){this.rules=KS({},Sr),this.getBreak=Sr.getBreak}function ys(){this.__rules__=[],this.__cache__=null}function cp(t,e,r,n,o){this.src=t,this.env=n,this.options=r,this.parser=e,this.tokens=o,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 Sm(t,e){var r,n,o,s=-1,b=t.posMax,h=t.pos,E=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<b;){if((o=t.src.charCodeAt(t.pos))===91)r++;else if(o===93&&--r===0){n=!0;break}t.parser.skipToken(t)}return n?(s=t.pos,t.labelUnmatchedScopes=0):t.labelUnmatchedScopes=r-1,t.pos=h,t.isInLabel=E,s}function oD(t,e,r,n){var o,s,b,h,E,k;if(t.charCodeAt(0)!==42||t.charCodeAt(1)!==91||t.indexOf("]:")===-1||(s=Sm(o=new cp(t,e,r,n,[]),1))<0||t.charCodeAt(s+1)!==58)return-1;for(h=o.posMax,b=s+2;b<h&&o.src.charCodeAt(b)!==10;b++);return E=t.slice(2,s),(k=t.slice(s+2,b).trim()).length===0?-1:(n.abbreviations||(n.abbreviations={}),n.abbreviations[":"+E]===void 0&&(n.abbreviations[":"+E]=k),b)}function B1(t){var e=sp(t);try{e=decodeURI(e)}catch{}return encodeURI(e)}function ZS(t,e){var r,n,o,s=e,b=t.posMax;if(t.src.charCodeAt(e)===60){for(e++;e<b;){if((r=t.src.charCodeAt(e))===10)return!1;if(r===62)return o=B1(Em(t.src.slice(s+1,e))),!!t.parser.validateLink(o)&&(t.pos=e+1,t.linkContent=o,!0);r===92&&e+1<b?e+=2:e++}return!1}for(n=0;e<b&&(r=t.src.charCodeAt(e))!==32&&!(r<32||r===127);)if(r===92&&e+1<b)e+=2;else{if(r===40&&++n>1||r===41&&--n<0)break;e++}return s!==e&&(o=Em(t.src.slice(s,e)),!!t.parser.validateLink(o)&&(t.linkContent=o,t.pos=e,!0))}function XS(t,e){var r,n=e,o=t.posMax,s=t.src.charCodeAt(e);if(s!==34&&s!==39&&s!==40)return!1;for(e++,s===40&&(s=41);e<o;){if((r=t.src.charCodeAt(e))===s)return t.pos=e+1,t.linkContent=Em(t.src.slice(n+1,e)),!0;r===92&&e+1<o?e+=2:e++}return!1}function QS(t){return t.trim().replace(/\s+/g," ").toUpperCase()}function iD(t,e,r,n){var o,s,b,h,E,k,T,R,F;if(t.charCodeAt(0)!==91||t.indexOf("]:")===-1||(s=Sm(o=new cp(t,e,r,n,[]),0))<0||t.charCodeAt(s+1)!==58)return-1;for(h=o.posMax,b=s+2;b<h&&((E=o.src.charCodeAt(b))===32||E===10);b++);if(!ZS(o,b))return-1;for(T=o.linkContent,k=b=o.pos,b+=1;b<h&&((E=o.src.charCodeAt(b))===32||E===10);b++);for(b<h&&k!==b&&XS(o,b)?(R=o.linkContent,b=o.pos):(R="",b=k);b<h&&o.src.charCodeAt(b)===32;)b++;return b<h&&o.src.charCodeAt(b)!==10?-1:(F=QS(t.slice(1,s)),n.references[F]===void 0&&(n.references[F]={title:R,href:T}),b)}D1.prototype.renderInline=function(t,e,r){for(var n=this.rules,o=t.length,s=0,b="";o--;)b+=n[t[s].type](t,s++,e,r,this);return b},D1.prototype.render=function(t,e,r){for(var n=this.rules,o=t.length,s=-1,b="";++s<o;)t[s].type==="inline"?b+=this.renderInline(t[s].children,e,r):b+=n[t[s].type](t,s,e,r,this);return b},ys.prototype.__find__=function(t){for(var e=this.__rules__.length,r=-1;e--;)if(this.__rules__[++r].name===t)return r;return-1},ys.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))}))}))},ys.prototype.at=function(t,e,r){var n=this.__find__(t),o=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=o.alt||[],this.__cache__=null},ys.prototype.before=function(t,e,r,n){var o=this.__find__(t),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:e,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},ys.prototype.after=function(t,e,r,n){var o=this.__find__(t),s=n||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:e,enabled:!0,fn:r,alt:s.alt||[]}),this.__cache__=null},ys.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null},ys.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},ys.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},ys.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]},cp.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""},cp.prototype.push=function(t){this.pending&&this.pushPending(),this.tokens.push(t),this.pendingLevel=this.level},cp.prototype.cacheSet=function(t,e){for(var r=this.cache.length;r<=t;r++)this.cache.push(0);this.cache[t]=e},cp.prototype.cacheGet=function(t){return t<this.cache.length?this.cache[t]:0};var ex=`
|
||
()[]'".,!?-`;function F1(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}var sD=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,lD=/\((c|tm|r|p)\)/gi,cD={c:"©",r:"®",p:"§",tm:"™"};function uD(t){return t.indexOf("(")<0?t:t.replace(lD,(function(e,r){return cD[r.toLowerCase()]}))}var pD=/['"]/,tx=/['"]/g,fD=/[-\s()\[\]]/;function rx(t,e){return!(e<0||e>=t.length)&&!fD.test(t[e])}function $f(t,e,r){return t.substr(0,e)+r+t.substr(e+1)}var L1=[["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,o,s,b=e.tokens;if(!e.inlineMode){for(r=1,n=b.length-1;r<n;r++)if(b[r-1].type==="paragraph_open"&&b[r].type==="inline"&&b[r+1].type==="paragraph_close"){for(o=b[r].content;o.length&&!((s=oD(o,e.inline,e.options,e.env))<0);)o=o.slice(s).trim();b[r].content=o,o.length||(b[r-1].tight=!0,b[r+1].tight=!0)}}}],["references",function(e){var r,n,o,s,b=e.tokens;if(e.env.references=e.env.references||{},!e.inlineMode){for(r=1,n=b.length-1;r<n;r++)if(b[r].type==="inline"&&b[r-1].type==="paragraph_open"&&b[r+1].type==="paragraph_close"){for(o=b[r].content;o.length&&!((s=iD(o,e.inline,e.options,e.env))<0);)o=o.slice(s).trim();b[r].content=o,o.length||(b[r-1].tight=!0,b[r+1].tight=!0)}}}],["inline",function(e){var r,n,o,s=e.tokens;for(n=0,o=s.length;n<o;n++)(r=s[n]).type==="inline"&&e.inline.parse(r.content,e.options,e.env,r.children)}],["footnote_tail",function(e){var r,n,o,s,b,h,E,k,T,R=0,F=!1,z={};if(e.env.footnotes&&(e.tokens=e.tokens.filter((function(X){return X.type==="footnote_reference_open"?(F=!0,k=[],T=X.label,!1):X.type==="footnote_reference_close"?(F=!1,z[":"+T]=k,!1):(F&&k.push(X),!F)})),e.env.footnotes.list)){for(h=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:R++}),r=0,n=h.length;r<n;r++){for(e.tokens.push({type:"footnote_open",id:r,level:R++}),h[r].tokens?((E=[]).push({type:"paragraph_open",tight:!1,level:R++}),E.push({type:"inline",content:"",level:R,children:h[r].tokens}),E.push({type:"paragraph_close",tight:!1,level:--R})):h[r].label&&(E=z[":"+h[r].label]),e.tokens=e.tokens.concat(E),b=e.tokens[e.tokens.length-1].type==="paragraph_close"?e.tokens.pop():null,s=h[r].count>0?h[r].count:1,o=0;o<s;o++)e.tokens.push({type:"footnote_anchor",id:r,subId:o,level:R});b&&e.tokens.push(b),e.tokens.push({type:"footnote_close",level:--R})}e.tokens.push({type:"footnote_block_close",level:--R})}}],["abbr2",function(e){var r,n,o,s,b,h,E,k,T,R,F,z,X=e.tokens;if(e.env.abbreviations){for(e.env.abbrRegExp||(z="(^|["+ex.split("").map(F1).join("")+"])("+Object.keys(e.env.abbreviations).map((function(Z){return Z.substr(1)})).sort((function(Z,te){return te.length-Z.length})).map(F1).join("|")+")($|["+ex.split("").map(F1).join("")+"])",e.env.abbrRegExp=new RegExp(z,"g")),R=e.env.abbrRegExp,n=0,o=X.length;n<o;n++)if(X[n].type==="inline"){for(r=(s=X[n].children).length-1;r>=0;r--)if((b=s[r]).type==="text"){for(k=0,h=b.content,R.lastIndex=0,T=b.level,E=[];F=R.exec(h);)R.lastIndex>k&&E.push({type:"text",content:h.slice(k,F.index+F[1].length),level:T}),E.push({type:"abbr_open",title:e.env.abbreviations[":"+F[2]],level:T++}),E.push({type:"text",content:F[2],level:T}),E.push({type:"abbr_close",level:--T}),k=R.lastIndex-F[3].length;E.length&&(k<h.length&&E.push({type:"text",content:h.slice(k),level:T}),X[n].children=s=[].concat(s.slice(0,r),E,s.slice(r+1)))}}}}],["replacements",function(e){var r,n,o,s,b;if(e.options.typographer){for(b=e.tokens.length-1;b>=0;b--)if(e.tokens[b].type==="inline")for(r=(s=e.tokens[b].children).length-1;r>=0;r--)(n=s[r]).type==="text"&&(o=uD(o=n.content),sD.test(o)&&(o=o.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=o)}}],["smartquotes",function(e){var r,n,o,s,b,h,E,k,T,R,F,z,X,Z,te,ae,K;if(e.options.typographer){for(K=[],te=e.tokens.length-1;te>=0;te--)if(e.tokens[te].type==="inline"){for(ae=e.tokens[te].children,K.length=0,r=0;r<ae.length;r++)if((n=ae[r]).type==="text"&&!pD.test(n.text)){for(E=ae[r].level,X=K.length-1;X>=0&&!(K[X].level<=E);X--);K.length=X+1,b=0,h=(o=n.content).length;e:for(;b<h&&(tx.lastIndex=b,s=tx.exec(o));)if(k=!rx(o,s.index-1),b=s.index+1,Z=s[0]==="'",(T=!rx(o,b))||k){if(F=!T,z=!k){for(X=K.length-1;X>=0&&(R=K[X],!(K[X].level<E));X--)if(R.single===Z&&K[X].level===E){R=K[X],Z?(ae[R.token].content=$f(ae[R.token].content,R.pos,e.options.quotes[2]),n.content=$f(n.content,s.index,e.options.quotes[3])):(ae[R.token].content=$f(ae[R.token].content,R.pos,e.options.quotes[0]),n.content=$f(n.content,s.index,e.options.quotes[1])),K.length=X;continue e}}F?K.push({token:r,pos:s.index,single:Z,level:E}):z&&Z&&(n.content=$f(n.content,s.index,"’"))}else Z&&(n.content=$f(n.content,s.index,"’"))}}}}]];function nx(){this.options={},this.ruler=new ys;for(var t=0;t<L1.length;t++)this.ruler.push(L1[t][0],L1[t][1])}function up(t,e,r,n,o){var s,b,h,E,k,T,R;for(this.src=t,this.parser=e,this.options=r,this.env=n,this.tokens=o,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="",T=0,R=!1,h=E=T=0,k=(b=this.src).length;E<k;E++){if(s=b.charCodeAt(E),!R){if(s===32){T++;continue}R=!0}s!==10&&E!==k-1||(s!==10&&E++,this.bMarks.push(h),this.eMarks.push(E),this.tShift.push(T),R=!1,T=0,h=E+1)}this.bMarks.push(b.length),this.eMarks.push(b.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}function ax(t,e){var r,n,o;return(n=t.bMarks[e]+t.tShift[e])>=(o=t.eMarks[e])||(r=t.src.charCodeAt(n++))!==42&&r!==45&&r!==43||n<o&&t.src.charCodeAt(n)!==32?-1:n}function ox(t,e){var r,n=t.bMarks[e]+t.tShift[e],o=t.eMarks[e];if(n+1>=o||(r=t.src.charCodeAt(n++))<48||r>57)return-1;for(;;){if(n>=o)return-1;if(!((r=t.src.charCodeAt(n++))>=48&&r<=57)){if(r===41||r===46)break;return-1}}return n<o&&t.src.charCodeAt(n)!==32?-1:n}nx.prototype.process=function(t){var e,r,n;for(e=0,r=(n=this.ruler.getRules("")).length;e<r;e++)n[e](t)},up.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},up.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},up.prototype.skipSpaces=function(e){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===32;e++);return e},up.prototype.skipChars=function(e,r){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e},up.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},up.prototype.getLines=function(e,r,n,o){var s,b,h,E,k,T=e;if(e>=r)return"";if(T+1===r)return b=this.bMarks[T]+Math.min(this.tShift[T],n),h=o?this.eMarks[T]+1:this.eMarks[T],this.src.slice(b,h);for(E=new Array(r-e),s=0;T<r;T++,s++)(k=this.tShift[T])>n&&(k=n),k<0&&(k=0),b=this.bMarks[T]+k,h=T+1<r||o?this.eMarks[T]+1:this.eMarks[T],E[s]=this.src.slice(b,h);return E.join("")};var ix={};["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){ix[t]=!0}));var hD=/^<([a-zA-Z]{1,15})[\s\/>]/,dD=/^<\/([a-zA-Z]{1,15})[\s>]/;function $1(t,e){var r=t.bMarks[e]+t.blkIndent,n=t.eMarks[e];return t.src.substr(r,n-r)}function s0(t,e){var r,n,o=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];return o>=s||(n=t.src.charCodeAt(o++))!==126&&n!==58||o===(r=t.skipSpaces(o))||r>=s?-1:r}var l0=[["code",function(e,r,n){var o,s;if(e.tShift[r]-e.blkIndent<4)return!1;for(s=o=r+1;o<n;)if(e.isEmpty(o))o++;else{if(!(e.tShift[o]-e.blkIndent>=4))break;s=++o}return e.line=o,e.tokens.push({type:"code",content:e.getLines(r,s,4+e.blkIndent,!0),block:!0,lines:[r,e.line],level:e.level}),!0}],["fences",function(e,r,n,o){var s,b,h,E,k,T=!1,R=e.bMarks[r]+e.tShift[r],F=e.eMarks[r];if(R+3>F||(s=e.src.charCodeAt(R))!==126&&s!==96||(k=R,(b=(R=e.skipChars(R,s))-k)<3)||(h=e.src.slice(R,F).trim()).indexOf("`")>=0)return!1;if(o)return!0;for(E=r;!(++E>=n)&&!((R=k=e.bMarks[E]+e.tShift[E])<(F=e.eMarks[E])&&e.tShift[E]<e.blkIndent);)if(e.src.charCodeAt(R)===s&&!(e.tShift[E]-e.blkIndent>=4||(R=e.skipChars(R,s))-k<b||(R=e.skipSpaces(R))<F)){T=!0;break}return b=e.tShift[r],e.line=E+(T?1:0),e.tokens.push({type:"fence",params:h,content:e.getLines(r+1,E,b,!0),lines:[r,e.line],level:e.level}),!0},["paragraph","blockquote","list"]],["blockquote",function(e,r,n,o){var s,b,h,E,k,T,R,F,z,X,Z,te=e.bMarks[r]+e.tShift[r],ae=e.eMarks[r];if(te>ae||e.src.charCodeAt(te++)!==62||e.level>=e.options.maxNesting)return!1;if(o)return!0;for(e.src.charCodeAt(te)===32&&te++,k=e.blkIndent,e.blkIndent=0,E=[e.bMarks[r]],e.bMarks[r]=te,b=(te=te<ae?e.skipSpaces(te):te)>=ae,h=[e.tShift[r]],e.tShift[r]=te-e.bMarks[r],F=e.parser.ruler.getRules("blockquote"),s=r+1;s<n&&!((te=e.bMarks[s]+e.tShift[s])>=(ae=e.eMarks[s]));s++)if(e.src.charCodeAt(te++)!==62){if(b)break;for(Z=!1,z=0,X=F.length;z<X;z++)if(F[z](e,s,n,!0)){Z=!0;break}if(Z)break;E.push(e.bMarks[s]),h.push(e.tShift[s]),e.tShift[s]=-1337}else e.src.charCodeAt(te)===32&&te++,E.push(e.bMarks[s]),e.bMarks[s]=te,b=(te=te<ae?e.skipSpaces(te):te)>=ae,h.push(e.tShift[s]),e.tShift[s]=te-e.bMarks[s];for(T=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:R=[r,0],level:e.level++}),e.parser.tokenize(e,r,s),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=T,R[1]=e.line,z=0;z<h.length;z++)e.bMarks[z+r]=E[z],e.tShift[z+r]=h[z];return e.blkIndent=k,!0},["paragraph","blockquote","list"]],["hr",function(e,r,n,o){var s,b,h,E=e.bMarks[r],k=e.eMarks[r];if((E+=e.tShift[r])>k||(s=e.src.charCodeAt(E++))!==42&&s!==45&&s!==95)return!1;for(b=1;E<k;){if((h=e.src.charCodeAt(E++))!==s&&h!==32)return!1;h===s&&b++}return!(b<3)&&(o||(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,o){var s,b,h,E,k,T,R,F,z,X,Z,te,ae,K,Ae,fe,me,xe,Se,Me,Ne,we=!0;if((F=ox(e,r))>=0)te=!0;else{if(!((F=ax(e,r))>=0))return!1;te=!1}if(e.level>=e.options.maxNesting)return!1;if(Z=e.src.charCodeAt(F-1),o)return!0;for(K=e.tokens.length,te?(R=e.bMarks[r]+e.tShift[r],X=Number(e.src.substr(R,F-R-1)),e.tokens.push({type:"ordered_list_open",order:X,lines:fe=[r,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:fe=[r,0],level:e.level++}),s=r,Ae=!1,xe=e.parser.ruler.getRules("list");!(!(s<n)||((z=(ae=e.skipSpaces(F))>=e.eMarks[s]?1:ae-F)>4&&(z=1),z<1&&(z=1),b=F-e.bMarks[s]+z,e.tokens.push({type:"list_item_open",lines:me=[r,0],level:e.level++}),E=e.blkIndent,k=e.tight,h=e.tShift[r],T=e.parentType,e.tShift[r]=ae-e.bMarks[r],e.blkIndent=b,e.tight=!0,e.parentType="list",e.parser.tokenize(e,r,n,!0),e.tight&&!Ae||(we=!1),Ae=e.line-r>1&&e.isEmpty(e.line-1),e.blkIndent=E,e.tShift[r]=h,e.tight=k,e.parentType=T,e.tokens.push({type:"list_item_close",level:--e.level}),s=r=e.line,me[1]=s,ae=e.bMarks[r],s>=n)||e.isEmpty(s)||e.tShift[s]<e.blkIndent);){for(Ne=!1,Se=0,Me=xe.length;Se<Me;Se++)if(xe[Se](e,s,n,!0)){Ne=!0;break}if(Ne)break;if(te){if((F=ox(e,s))<0)break}else if((F=ax(e,s))<0)break;if(Z!==e.src.charCodeAt(F-1))break}return e.tokens.push({type:te?"ordered_list_close":"bullet_list_close",level:--e.level}),fe[1]=s,e.line=s,we&&(function(ke,Ie){var De,tt,Dt=ke.level+2;for(De=Ie+2,tt=ke.tokens.length-2;De<tt;De++)ke.tokens[De].level===Dt&&ke.tokens[De].type==="paragraph_open"&&(ke.tokens[De+2].tight=!0,ke.tokens[De].tight=!0,De+=2)})(e,K),!0},["paragraph","blockquote"]],["footnote",function(e,r,n,o){var s,b,h,E,k,T=e.bMarks[r]+e.tShift[r],R=e.eMarks[r];if(T+4>R||e.src.charCodeAt(T)!==91||e.src.charCodeAt(T+1)!==94||e.level>=e.options.maxNesting)return!1;for(E=T+2;E<R;E++){if(e.src.charCodeAt(E)===32)return!1;if(e.src.charCodeAt(E)===93)break}return E!==T+2&&!(E+1>=R||e.src.charCodeAt(++E)!==58)&&(o||(E++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),k=e.src.slice(T+2,E-2),e.env.footnotes.refs[":"+k]=-1,e.tokens.push({type:"footnote_reference_open",label:k,level:e.level++}),s=e.bMarks[r],b=e.tShift[r],h=e.parentType,e.tShift[r]=e.skipSpaces(E)-E,e.bMarks[r]=E,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=h,e.blkIndent-=4,e.tShift[r]=b,e.bMarks[r]=s,e.tokens.push({type:"footnote_reference_close",level:--e.level})),!0)},["paragraph"]],["heading",function(e,r,n,o){var s,b,h,E=e.bMarks[r]+e.tShift[r],k=e.eMarks[r];if(E>=k||(s=e.src.charCodeAt(E))!==35||E>=k)return!1;for(b=1,s=e.src.charCodeAt(++E);s===35&&E<k&&b<=6;)b++,s=e.src.charCodeAt(++E);return!(b>6||E<k&&s!==32)&&(o||(k=e.skipCharsBack(k,32,E),(h=e.skipCharsBack(k,35,E))>E&&e.src.charCodeAt(h-1)===32&&(k=h),e.line=r+1,e.tokens.push({type:"heading_open",hLevel:b,lines:[r,e.line],level:e.level}),E<k&&e.tokens.push({type:"inline",content:e.src.slice(E,k).trim(),level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:b,level:e.level})),!0)},["paragraph","blockquote"]],["lheading",function(e,r,n){var o,s,b,h=r+1;return!(h>=n)&&!(e.tShift[h]<e.blkIndent)&&!(e.tShift[h]-e.blkIndent>3)&&!((s=e.bMarks[h]+e.tShift[h])>=(b=e.eMarks[h]))&&((o=e.src.charCodeAt(s))===45||o===61)&&(s=e.skipChars(s,o),!((s=e.skipSpaces(s))<b)&&(s=e.bMarks[r]+e.tShift[r],e.line=h+1,e.tokens.push({type:"heading_open",hLevel:o===61?1:2,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(s,e.eMarks[r]).trim(),level:e.level+1,lines:[r,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:o===61?1:2,level:e.level}),!0))}],["htmlblock",function(e,r,n,o){var s,b,h,E=e.bMarks[r],k=e.eMarks[r],T=e.tShift[r];if(E+=T,!e.options.html||T>3||E+2>=k||e.src.charCodeAt(E)!==60)return!1;if((s=e.src.charCodeAt(E+1))===33||s===63){if(o)return!0}else{if(s!==47&&!(function(F){var z=32|F;return z>=97&&z<=122})(s))return!1;if(s===47){if(!(b=e.src.slice(E,k).match(dD)))return!1}else if(!(b=e.src.slice(E,k).match(hD)))return!1;if(ix[b[1].toLowerCase()]!==!0)return!1;if(o)return!0}for(h=r+1;h<e.lineMax&&!e.isEmpty(h);)h++;return e.line=h,e.tokens.push({type:"htmlblock",level:e.level,lines:[r,e.line],content:e.getLines(r,h,0,!0)}),!0},["paragraph","blockquote"]],["table",function(e,r,n,o){var s,b,h,E,k,T,R,F,z,X,Z;if(r+2>n||(k=r+1,e.tShift[k]<e.blkIndent)||(h=e.bMarks[k]+e.tShift[k])>=e.eMarks[k]||(s=e.src.charCodeAt(h))!==124&&s!==45&&s!==58||(b=$1(e,r+1),!/^[-:| ]+$/.test(b))||(T=b.split("|"))<=2)return!1;for(F=[],E=0;E<T.length;E++){if(!(z=T[E].trim())){if(E===0||E===T.length-1)continue;return!1}if(!/^:?-+:?$/.test(z))return!1;z.charCodeAt(z.length-1)===58?F.push(z.charCodeAt(0)===58?"center":"right"):z.charCodeAt(0)===58?F.push("left"):F.push("")}if((b=$1(e,r).trim()).indexOf("|")===-1||(T=b.replace(/^\||\|$/g,"").split("|"),F.length!==T.length))return!1;if(o)return!0;for(e.tokens.push({type:"table_open",lines:X=[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++}),E=0;E<T.length;E++)e.tokens.push({type:"th_open",align:F[E],lines:[r,r+1],level:e.level++}),e.tokens.push({type:"inline",content:T[E].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:Z=[r+2,0],level:e.level++}),k=r+2;k<n&&!(e.tShift[k]<e.blkIndent)&&(b=$1(e,k).trim()).indexOf("|")!==-1;k++){for(T=b.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),E=0;E<T.length;E++)e.tokens.push({type:"td_open",align:F[E],level:e.level++}),R=T[E].substring(T[E].charCodeAt(0)===124?1:0,T[E].charCodeAt(T[E].length-1)===124?T[E].length-1:T[E].length).trim(),e.tokens.push({type:"inline",content:R,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}),X[1]=Z[1]=k,e.line=k,!0},["paragraph"]],["deflist",function(e,r,n,o){var s,b,h,E,k,T,R,F,z,X,Z,te,ae,K;if(o)return!(e.ddIndent<0)&&s0(e,r)>=0;if(R=r+1,e.isEmpty(R)&&++R>n||e.tShift[R]<e.blkIndent||(s=s0(e,R))<0||e.level>=e.options.maxNesting)return!1;T=e.tokens.length,e.tokens.push({type:"dl_open",lines:k=[r,0],level:e.level++}),h=r,b=R;e:for(;;){for(K=!0,ae=!1,e.tokens.push({type:"dt_open",lines:[h,h],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(h,h+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[h,h],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:E=[R,0],level:e.level++}),te=e.tight,z=e.ddIndent,F=e.blkIndent,Z=e.tShift[b],X=e.parentType,e.blkIndent=e.ddIndent=e.tShift[b]+2,e.tShift[b]=s-e.bMarks[b],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,b,n,!0),e.tight&&!ae||(K=!1),ae=e.line-b>1&&e.isEmpty(e.line-1),e.tShift[b]=Z,e.tight=te,e.parentType=X,e.blkIndent=F,e.ddIndent=z,e.tokens.push({type:"dd_close",level:--e.level}),E[1]=R=e.line,R>=n||e.tShift[R]<e.blkIndent)break e;if((s=s0(e,R))<0)break;b=R}if(R>=n||(h=R,e.isEmpty(h))||e.tShift[h]<e.blkIndent||(b=h+1)>=n||(e.isEmpty(b)&&b++,b>=n)||e.tShift[b]<e.blkIndent||(s=s0(e,b))<0)break}return e.tokens.push({type:"dl_close",level:--e.level}),k[1]=R,e.line=R,K&&(function(fe,me){var xe,Se,Me=fe.level+2;for(xe=me+2,Se=fe.tokens.length-2;xe<Se;xe++)fe.tokens[xe].level===Me&&fe.tokens[xe].type==="paragraph_open"&&(fe.tokens[xe+2].tight=!0,fe.tokens[xe].tight=!0,xe+=2)})(e,T),!0},["paragraph"]],["paragraph",function(e,r){var n,o,s,b,h,E,k=r+1;if(k<(n=e.lineMax)&&!e.isEmpty(k)){for(E=e.parser.ruler.getRules("paragraph");k<n&&!e.isEmpty(k);k++)if(!(e.tShift[k]-e.blkIndent>3)){for(s=!1,b=0,h=E.length;b<h;b++)if(E[b](e,k,n,!0)){s=!0;break}if(s)break}}return o=e.getLines(r,k,e.blkIndent,!1).trim(),e.line=k,o.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[r,e.line],level:e.level}),e.tokens.push({type:"inline",content:o,level:e.level+1,lines:[r,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}]];function U1(){this.ruler=new ys;for(var t=0;t<l0.length;t++)this.ruler.push(l0[t][0],l0[t][1],{alt:(l0[t][2]||[]).slice()})}U1.prototype.tokenize=function(t,e,r){for(var n,o=this.ruler.getRules(""),s=o.length,b=e,h=!1;b<r&&(t.line=b=t.skipEmptyLines(b),!(b>=r))&&!(t.tShift[b]<t.blkIndent);){for(n=0;n<s&&!o[n](t,b,r,!1);n++);if(t.tight=!h,t.isEmpty(t.line-1)&&(h=!0),(b=t.line)<r&&t.isEmpty(b)){if(h=!0,++b<r&&t.parentType==="list"&&t.isEmpty(b))break;t.line=b}}};var mD=/[\n\t]/g,gD=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,yD=/\u00a0/g;function vD(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}}U1.prototype.parse=function(t,e,r,n){var o,s=0,b=0;if(!t)return[];(t=(t=t.replace(yD," ")).replace(gD,`
|
||
`)).indexOf(" ")>=0&&(t=t.replace(mD,(function(h,E){var k;return t.charCodeAt(E)===10?(s=E+1,b=0,h):(k=" ".slice((E-s-b)%4),b=E-s+1,k)}))),o=new up(t,this,e,r,n),this.tokenize(o,o.line,o.lineMax)};for(var q1=[],sx=0;sx<256;sx++)q1.push(0);function lx(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function cx(t,e){var r,n,o,s=e,b=!0,h=!0,E=t.posMax,k=t.src.charCodeAt(e);for(r=e>0?t.src.charCodeAt(e-1):-1;s<E&&t.src.charCodeAt(s)===k;)s++;return s>=E&&(b=!1),(o=s-e)>=4?b=h=!1:((n=s<E?t.src.charCodeAt(s):-1)!==32&&n!==10||(b=!1),r!==32&&r!==10||(h=!1),k===95&&(lx(r)&&(b=!1),lx(n)&&(h=!1))),{can_open:b,can_close:h,delims:o}}"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach((function(t){q1[t.charCodeAt(0)]=1}));var bD=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,_D=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g,wD=["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"],ED=/^<([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])?)*)>/,SD=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function c0(t,e){return t=t.source,e=e||"",function r(n,o){return n?(o=o.source||o,t=t.replace(n,o),r):new RegExp(t,e)}}var xD=c0(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",/[^"'=<>`\x00-\x20]+/)("single_quoted",/'[^']*'/)("double_quoted",/"[^"]*"/)(),AD=c0(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",/[a-zA-Z_:][a-zA-Z0-9:._-]*/)("attr_value",xD)(),OD=c0(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",AD)(),kD=c0(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",OD)("close_tag",/<\/[A-Za-z][A-Za-z0-9]*\s*>/)("comment",/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/)("processing",/<[?].*?[?]>/)("declaration",/<![A-Z]+\s+[^>]*>/)("cdata",/<!\[CDATA\[[\s\S]*?\]\]>/)(),CD=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,jD=/^&([a-z][a-z0-9]{1,31});/i,z1=[["text",function(e,r){for(var n=e.pos;n<e.posMax&&!vD(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,o,s=e.pos;if(e.src.charCodeAt(s)!==10)return!1;if(n=e.pending.length-1,o=e.posMax,!r)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){for(var b=n-2;b>=0;b--)if(e.pending.charCodeAt(b)!==32){e.pending=e.pending.substring(0,b+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(s++;s<o&&e.src.charCodeAt(s)===32;)s++;return e.pos=s,!0}],["escape",function(e,r){var n,o=e.pos,s=e.posMax;if(e.src.charCodeAt(o)!==92)return!1;if(++o<s){if((n=e.src.charCodeAt(o))<256&&q1[n]!==0)return r||(e.pending+=e.src[o]),e.pos+=2,!0;if(n===10){for(r||e.push({type:"hardbreak",level:e.level}),o++;o<s&&e.src.charCodeAt(o)===32;)o++;return e.pos=o,!0}}return r||(e.pending+="\\"),e.pos++,!0}],["backticks",function(e,r){var n,o,s,b,h,E=e.pos;if(e.src.charCodeAt(E)!==96)return!1;for(n=E,E++,o=e.posMax;E<o&&e.src.charCodeAt(E)===96;)E++;for(s=e.src.slice(n,E),b=h=E;(b=e.src.indexOf("`",h))!==-1;){for(h=b+1;h<o&&e.src.charCodeAt(h)===96;)h++;if(h-b===s.length)return r||e.push({type:"code",content:e.src.slice(E,b).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=h,!0}return r||(e.pending+=s),e.pos+=s.length,!0}],["del",function(e,r){var n,o,s,b,h,E=e.posMax,k=e.pos;if(e.src.charCodeAt(k)!==126||r||k+4>=E||e.src.charCodeAt(k+1)!==126||e.level>=e.options.maxNesting||(b=k>0?e.src.charCodeAt(k-1):-1,h=e.src.charCodeAt(k+2),b===126)||h===126||h===32||h===10)return!1;for(o=k+2;o<E&&e.src.charCodeAt(o)===126;)o++;if(o>k+3)return e.pos+=o-k,r||(e.pending+=e.src.slice(k,o)),!0;for(e.pos=k+2,s=1;e.pos+1<E;){if(e.src.charCodeAt(e.pos)===126&&e.src.charCodeAt(e.pos+1)===126&&(b=e.src.charCodeAt(e.pos-1),(h=e.pos+2<E?e.src.charCodeAt(e.pos+2):-1)!==126&&b!==126&&(b!==32&&b!==10?s--:h!==32&&h!==10&&s++,s<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=k+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=E,!0):(e.pos=k,!1)}],["ins",function(e,r){var n,o,s,b,h,E=e.posMax,k=e.pos;if(e.src.charCodeAt(k)!==43||r||k+4>=E||e.src.charCodeAt(k+1)!==43||e.level>=e.options.maxNesting||(b=k>0?e.src.charCodeAt(k-1):-1,h=e.src.charCodeAt(k+2),b===43)||h===43||h===32||h===10)return!1;for(o=k+2;o<E&&e.src.charCodeAt(o)===43;)o++;if(o!==k+2)return e.pos+=o-k,r||(e.pending+=e.src.slice(k,o)),!0;for(e.pos=k+2,s=1;e.pos+1<E;){if(e.src.charCodeAt(e.pos)===43&&e.src.charCodeAt(e.pos+1)===43&&(b=e.src.charCodeAt(e.pos-1),(h=e.pos+2<E?e.src.charCodeAt(e.pos+2):-1)!==43&&b!==43&&(b!==32&&b!==10?s--:h!==32&&h!==10&&s++,s<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=k+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=E,!0):(e.pos=k,!1)}],["mark",function(e,r){var n,o,s,b,h,E=e.posMax,k=e.pos;if(e.src.charCodeAt(k)!==61||r||k+4>=E||e.src.charCodeAt(k+1)!==61||e.level>=e.options.maxNesting||(b=k>0?e.src.charCodeAt(k-1):-1,h=e.src.charCodeAt(k+2),b===61)||h===61||h===32||h===10)return!1;for(o=k+2;o<E&&e.src.charCodeAt(o)===61;)o++;if(o!==k+2)return e.pos+=o-k,r||(e.pending+=e.src.slice(k,o)),!0;for(e.pos=k+2,s=1;e.pos+1<E;){if(e.src.charCodeAt(e.pos)===61&&e.src.charCodeAt(e.pos+1)===61&&(b=e.src.charCodeAt(e.pos-1),(h=e.pos+2<E?e.src.charCodeAt(e.pos+2):-1)!==61&&b!==61&&(b!==32&&b!==10?s--:h!==32&&h!==10&&s++,s<=0))){n=!0;break}e.parser.skipToken(e)}return n?(e.posMax=e.pos,e.pos=k+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=E,!0):(e.pos=k,!1)}],["emphasis",function(e,r){var n,o,s,b,h,E,k,T=e.posMax,R=e.pos,F=e.src.charCodeAt(R);if(F!==95&&F!==42||r)return!1;if(n=(k=cx(e,R)).delims,!k.can_open)return e.pos+=n,r||(e.pending+=e.src.slice(R,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=R+n,E=[n];e.pos<T;)if(e.src.charCodeAt(e.pos)!==F)e.parser.skipToken(e);else{if(o=(k=cx(e,e.pos)).delims,k.can_close){for(b=E.pop(),h=o;b!==h;){if(h<b){E.push(b-h);break}if(h-=b,E.length===0)break;e.pos+=b,b=E.pop()}if(E.length===0){n=b,s=!0;break}e.pos+=o;continue}k.can_open&&E.push(o),e.pos+=o}return s?(e.posMax=e.pos,e.pos=R+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=T,!0):(e.pos=R,!1)}],["sub",function(e,r){var n,o,s=e.posMax,b=e.pos;if(e.src.charCodeAt(b)!==126||r||b+2>=s||e.level>=e.options.maxNesting)return!1;for(e.pos=b+1;e.pos<s;){if(e.src.charCodeAt(e.pos)===126){n=!0;break}e.parser.skipToken(e)}return n&&b+1!==e.pos?(o=e.src.slice(b+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=b,!1):(e.posMax=e.pos,e.pos=b+1,r||e.push({type:"sub",level:e.level,content:o.replace(bD,"$1")}),e.pos=e.posMax+1,e.posMax=s,!0):(e.pos=b,!1)}],["sup",function(e,r){var n,o,s=e.posMax,b=e.pos;if(e.src.charCodeAt(b)!==94||r||b+2>=s||e.level>=e.options.maxNesting)return!1;for(e.pos=b+1;e.pos<s;){if(e.src.charCodeAt(e.pos)===94){n=!0;break}e.parser.skipToken(e)}return n&&b+1!==e.pos?(o=e.src.slice(b+1,e.pos)).match(/(^|[^\\])(\\\\)*\s/)?(e.pos=b,!1):(e.posMax=e.pos,e.pos=b+1,r||e.push({type:"sup",level:e.level,content:o.replace(_D,"$1")}),e.pos=e.posMax+1,e.posMax=s,!0):(e.pos=b,!1)}],["links",function(e,r){var n,o,s,b,h,E,k,T,R=!1,F=e.pos,z=e.posMax,X=e.pos,Z=e.src.charCodeAt(X);if(Z===33&&(R=!0,Z=e.src.charCodeAt(++X)),Z!==91||e.level>=e.options.maxNesting||(n=X+1,(o=Sm(e,X))<0))return!1;if((E=o+1)<z&&e.src.charCodeAt(E)===40){for(E++;E<z&&((T=e.src.charCodeAt(E))===32||T===10);E++);if(E>=z)return!1;for(X=E,ZS(e,E)?(b=e.linkContent,E=e.pos):b="",X=E;E<z&&((T=e.src.charCodeAt(E))===32||T===10);E++);if(E<z&&X!==E&&XS(e,E))for(h=e.linkContent,E=e.pos;E<z&&((T=e.src.charCodeAt(E))===32||T===10);E++);else h="";if(E>=z||e.src.charCodeAt(E)!==41)return e.pos=F,!1;E++}else{if(e.linkLevel>0)return!1;for(;E<z&&((T=e.src.charCodeAt(E))===32||T===10);E++);if(E<z&&e.src.charCodeAt(E)===91&&(X=E+1,(E=Sm(e,E))>=0?s=e.src.slice(X,E++):E=X-1),s||(s===void 0&&(E=o+1),s=e.src.slice(n,o)),!(k=e.env.references[QS(s)]))return e.pos=F,!1;b=k.href,h=k.title}return r||(e.pos=n,e.posMax=o,R?e.push({type:"image",src:b,title:h,alt:e.src.substr(n,o-n),level:e.level}):(e.push({type:"link_open",href:b,title:h,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=E,e.posMax=z,!0}],["footnote_inline",function(e,r){var n,o,s,b,h=e.posMax,E=e.pos;return!(E+2>=h)&&e.src.charCodeAt(E)===94&&e.src.charCodeAt(E+1)===91&&!(e.level>=e.options.maxNesting)&&(n=E+2,!((o=Sm(e,E+1))<0)&&(r||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),s=e.env.footnotes.list.length,e.pos=n,e.posMax=o,e.push({type:"footnote_ref",id:s,level:e.level}),e.linkLevel++,b=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[s]={tokens:e.tokens.splice(b)},e.linkLevel--),e.pos=o+1,e.posMax=h,!0))}],["footnote_ref",function(e,r){var n,o,s,b,h=e.posMax,E=e.pos;if(E+3>h||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(E)!==91||e.src.charCodeAt(E+1)!==94||e.level>=e.options.maxNesting)return!1;for(o=E+2;o<h;o++){if(e.src.charCodeAt(o)===32||e.src.charCodeAt(o)===10)return!1;if(e.src.charCodeAt(o)===93)break}return o!==E+2&&!(o>=h)&&(o++,n=e.src.slice(E+2,o-1),e.env.footnotes.refs[":"+n]!==void 0&&(r||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+n]<0?(s=e.env.footnotes.list.length,e.env.footnotes.list[s]={label:n,count:0},e.env.footnotes.refs[":"+n]=s):s=e.env.footnotes.refs[":"+n],b=e.env.footnotes.list[s].count,e.env.footnotes.list[s].count++,e.push({type:"footnote_ref",id:s,subId:b,level:e.level})),e.pos=o,e.posMax=h,!0))}],["autolink",function(e,r){var n,o,s,b,h,E=e.pos;return e.src.charCodeAt(E)===60&&!((n=e.src.slice(E)).indexOf(">")<0)&&((o=n.match(SD))?!(wD.indexOf(o[1].toLowerCase())<0)&&(h=B1(b=o[0].slice(1,-1)),!!e.parser.validateLink(b)&&(r||(e.push({type:"link_open",href:h,level:e.level}),e.push({type:"text",content:b,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=o[0].length,!0)):!!(s=n.match(ED))&&(h=B1("mailto:"+(b=s[0].slice(1,-1))),!!e.parser.validateLink(h)&&(r||(e.push({type:"link_open",href:h,level:e.level}),e.push({type:"text",content:b,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=s[0].length,!0)))}],["htmltag",function(e,r){var n,o,s,b=e.pos;return!!e.options.html&&(s=e.posMax,!(e.src.charCodeAt(b)!==60||b+2>=s)&&!((n=e.src.charCodeAt(b+1))!==33&&n!==63&&n!==47&&!(function(E){var k=32|E;return k>=97&&k<=122})(n))&&!!(o=e.src.slice(b).match(kD))&&(r||e.push({type:"htmltag",content:e.src.slice(b,b+o[0].length),level:e.level}),e.pos+=o[0].length,!0))}],["entity",function(e,r){var n,o,s=e.pos,b=e.posMax;if(e.src.charCodeAt(s)!==38)return!1;if(s+1<b){if(e.src.charCodeAt(s+1)===35){if(o=e.src.slice(s).match(CD))return r||(n=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),e.pending+=GS(n)?R1(n):R1(65533)),e.pos+=o[0].length,!0}else if(o=e.src.slice(s).match(jD)){var h=HS(o[1]);if(o[1]!==h)return r||(e.pending+=h),e.pos+=o[0].length,!0}}return r||(e.pending+="&"),e.pos++,!0}]];function u0(){this.ruler=new ys;for(var t=0;t<z1.length;t++)this.ruler.push(z1[t][0],z1[t][1]);this.validateLink=ID}function ID(t){var e=t.trim().toLowerCase();return(e=sp(e)).indexOf(":")===-1||["vbscript","javascript","file","data"].indexOf(e.split(":")[0])===-1}u0.prototype.skipToken=function(t){var e,r,n=this.ruler.getRules(""),o=n.length,s=t.pos;if((r=t.cacheGet(s))>0)t.pos=r;else{for(e=0;e<o;e++)if(n[e](t,!0))return void t.cacheSet(s,t.pos);t.pos++,t.cacheSet(s,t.pos)}},u0.prototype.tokenize=function(t){for(var e,r,n=this.ruler.getRules(""),o=n.length,s=t.posMax;t.pos<s;){for(r=0;r<o&&!(e=n[r](t,!1));r++);if(e){if(t.pos>=s)break}else t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},u0.prototype.parse=function(t,e,r,n){var o=new cp(t,this,e,r,n);this.tokenize(o)};var PD={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 ux(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 Oc(t,e){typeof t!="string"&&(e=t,t="default"),e&&e.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead:
|
||
|
||
import Remarkable from 'remarkable';
|
||
import linkify from 'remarkable/linkify';
|
||
new Remarkable().use(linkify)
|
||
`),this.inline=new u0,this.block=new U1,this.core=new nx,this.renderer=new D1,this.ruler=new ys,this.options={},this.configure(PD[t]),this.set(e||{})}Oc.prototype.set=function(t){KS(this.options,t)},Oc.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)}))},Oc.prototype.use=function(t,e){return t(this,e),this},Oc.prototype.parse=function(t,e){var r=new ux(this,t,e);return this.core.process(r),r.tokens},Oc.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Oc.prototype.parseInline=function(t,e){var r=new ux(this,t,e);return r.inlineMode=!0,this.core.process(r),r.tokens},Oc.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};function px(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 pp(t,e){for(var r=t.length-1;r>=0;r--)e(t[r])===!0&&t.splice(r,1)}function V1(t){throw new Error("Unhandled case for value: '".concat(t,"'"))}var W1=(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(),o=this.whitespaceRegex,s=n?n.split(o):[],b=e.split(o);r=b.shift();)px(s,r)===-1&&s.push(r);return this.getAttrs().class=s.join(" "),this},t.prototype.removeClass=function(e){for(var r,n=this.getClass(),o=this.whitespaceRegex,s=n?n.split(o):[],b=e.split(o);s.length&&(r=b.shift());){var h=px(s,r);h!==-1&&s.splice(h,1)}return this.getAttrs().class=s.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})(),fx=(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 W1({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],o=e.getCssClassSuffixes(),s=0,b=o.length;s<b;s++)n.push(r+"-"+o[s]);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,o=r.location;return o==="smart"?(function(b,h,E){var k,T;E==null?(E="…",T=3,k=8):(T=E.length,k=E.length);var R=function(me){var xe="";return me.scheme&&me.host&&(xe+=me.scheme+"://"),me.host&&(xe+=me.host),me.path&&(xe+="/"+me.path),me.query&&(xe+="?"+me.query),me.fragment&&(xe+="#"+me.fragment),xe},F=function(me,xe){var Se=xe/2,Me=Math.ceil(Se),Ne=-1*Math.floor(Se),we="";return Ne<0&&(we=me.substr(Ne)),me.substr(0,Me)+E+we};if(b.length<=h)return b;var z=h-T,X=(function(me){var xe={},Se=me,Me=Se.match(/^([a-z]+):\/\//i);return Me&&(xe.scheme=Me[1],Se=Se.substr(Me[0].length)),(Me=Se.match(/^(.*?)(?=(\?|#|\/|$))/i))&&(xe.host=Me[1],Se=Se.substr(Me[0].length)),(Me=Se.match(/^\/(.*?)(?=(\?|#|$))/i))&&(xe.path=Me[1],Se=Se.substr(Me[0].length)),(Me=Se.match(/^\?(.*?)(?=(#|$))/i))&&(xe.query=Me[1],Se=Se.substr(Me[0].length)),(Me=Se.match(/^#(.*?)$/i))&&(xe.fragment=Me[1]),xe})(b);if(X.query){var Z=X.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);Z&&(X.query=X.query.substr(0,Z[1].length),b=R(X))}if(b.length<=h||(X.host&&(X.host=X.host.replace(/^www\./,""),b=R(X)),b.length<=h))return b;var te="";if(X.host&&(te+=X.host),te.length>=z)return X.host.length==h?(X.host.substr(0,h-T)+E).substr(0,z+k):F(te,z).substr(0,z+k);var ae="";if(X.path&&(ae+="/"+X.path),X.query&&(ae+="?"+X.query),ae){if((te+ae).length>=z)return(te+ae).length==h?(te+ae).substr(0,h):(te+F(ae,z-te.length)).substr(0,z+k);te+=ae}if(X.fragment){var K="#"+X.fragment;if((te+K).length>=z)return(te+K).length==h?(te+K).substr(0,h):(te+F(K,z-te.length)).substr(0,z+k);te+=K}if(X.scheme&&X.host){var Ae=X.scheme+"://";if((te+Ae).length<z)return(Ae+te).substr(0,h)}if(te.length<=h)return te;var fe="";return z>0&&(fe=te.substr(-1*Math.floor(z/2))),(te.substr(0,Math.ceil(z/2))+E+fe).substr(0,z+k)})(e,n):o==="middle"?(function(b,h,E){if(b.length<=h)return b;var k,T;E==null?(E="…",k=8,T=3):(k=E.length,T=E.length);var R=h-T,F="";return R>0&&(F=b.substr(-1*Math.floor(R/2))),(b.substr(0,Math.ceil(R/2))+E+F).substr(0,R+k)})(e,n):(function(b,h,E){return(function(T,R,F){var z;return T.length>R&&(F==null?(F="…",z=3):z=F.length,T=T.substring(0,R-z)+F),T})(b,h,E)})(e,n)},t})(),Uf=(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})(),J1=function(t,e){return J1=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},J1(t,e)};function Gl(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}J1(t,e),t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var Xa=function(){return Xa=Object.assign||function(e){for(var r,n=1,o=arguments.length;n<o;n++)for(var s in r=arguments[n])Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s]);return e},Xa.apply(this,arguments)};typeof SuppressedError=="function"&&SuppressedError;var hx,dx=(function(t){function e(r){var n=t.call(this,r)||this;return n.email="",n.email=r.email,n}return Gl(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})(Uf),mx=(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 Gl(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})(Uf),gx=(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 Gl(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})(Uf),yx=(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 Gl(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})(Uf),vx=(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 Gl(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{return n}},e})(Uf),qf=function(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder},H1=/[A-Za-z]/,TD=/[\d]/,ND=/[\D]/,fp=/\s/,K1=/['"]/,MD=/[\x00-\x1F\x7F]/,bx=/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,_x=bx+/\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,p0=/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,RD=_x+p0,Qa=_x+p0,xm=new RegExp("[".concat(Qa,"]")),DD="(?:["+p0+"]{1,3}\\.){3}["+p0+"]{1,3}",BD="["+Qa+"](?:["+Qa+"\\-_]{0,61}["+Qa+"])?",wx=function(t){return"(?=("+BD+"))\\"+t},G1=function(t){return"(?:"+wx(t)+"(?:\\."+wx(t+1)+"){0,126}|"+DD+")"},f0=xm,Ex=/(?: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|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,FD=new RegExp("[".concat(Qa,"!#$%&'*+/=?^_`{|}~-]")),LD=new RegExp("^".concat(Ex.source,"$")),Sx=(function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.localPartCharRegex=FD,r.strictTldRegex=LD,r}return Gl(e,t),e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,o=this.localPartCharRegex,s=this.strictTldRegex,b=[],h=r.length,E=new h0,k={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},T=0,R=0,F=E;T<h;){var z=r.charAt(T);switch(R){case 0:X(z);break;case 1:Z(r.charAt(T-1),z);break;case 2:te(z);break;case 3:ae(z);break;case 4:K(z);break;case 5:Ae(z);break;case 6:fe(z);break;case 7:me(z);break;default:V1(R)}T++}return Me(),b;function X(Ne){Ne==="m"?xe(1):o.test(Ne)&&xe()}function Z(Ne,we){Ne===":"?o.test(we)?(R=2,F=new h0(Xa(Xa({},F),{hasMailtoPrefix:!0}))):Se():k[Ne]===we||(o.test(we)?R=2:we==="."?R=3:we==="@"?R=4:Se())}function te(Ne){Ne==="."?R=3:Ne==="@"?R=4:o.test(Ne)||Se()}function ae(Ne){Ne==="."||Ne==="@"?Se():o.test(Ne)?R=2:Se()}function K(Ne){f0.test(Ne)?R=5:Se()}function Ae(Ne){Ne==="."?R=7:Ne==="-"?R=6:f0.test(Ne)||Me()}function fe(Ne){Ne==="-"||Ne==="."?Me():f0.test(Ne)?R=5:Me()}function me(Ne){Ne==="."||Ne==="-"?Me():f0.test(Ne)?(R=5,F=new h0(Xa(Xa({},F),{hasDomainDot:!0}))):Me()}function xe(Ne){Ne===void 0&&(Ne=2),R=Ne,F=new h0({idx:T})}function Se(){R=0,F=E}function Me(){if(F.hasDomainDot){var Ne=r.slice(F.idx,T);/[-.]$/.test(Ne)&&(Ne=Ne.slice(0,-1));var we=F.hasMailtoPrefix?Ne.slice(7):Ne;(function(ke){var Ie=ke.split(".").pop()||"",De=Ie.toLowerCase();return s.test(De)})(we)&&b.push(new dx({tagBuilder:n,matchedText:Ne,offset:F.idx,email:we}))}Se()}},e})(qf),h0=function(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot},$D=(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]*?["+bx+"]"),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})(),UD=(hx=new RegExp("[/?#](?:["+Qa+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+Qa+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?"),new RegExp(["(?:","(",/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/.source,G1(2),")","|","(","(//)?",/(?:www\.)/.source,G1(6),")","|","(","(//)?",G1(10)+"\\.",Ex.source,"(?![-"+RD+"])",")",")","(?::[0-9]+)?","(?:"+hx.source+")?"].join(""),"gi")),qD=new RegExp("["+Qa+"]"),xx=(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=UD,n.wordCharRegExp=qD,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return Gl(e,t),e.prototype.parseMatches=function(r){for(var n,o=this.matcherRegex,s=this.stripPrefix,b=this.stripTrailingSlash,h=this.decodePercentEncoding,E=this.tagBuilder,k=[],T=function(){var F=n[0],z=n[1],X=n[4],Z=n[5],te=n[9],ae=n.index,K=Z||te,Ae=r.charAt(ae-1);if(!$D.isValid(F,z)||ae>0&&Ae==="@"||ae>0&&K&&R.wordCharRegExp.test(Ae))return"continue";if(/\?$/.test(F)&&(F=F.substr(0,F.length-1)),R.matchHasUnbalancedClosingParen(F))F=F.substr(0,F.length-1);else{var fe=R.matchHasInvalidCharAfterTld(F,z);fe>-1&&(F=F.substr(0,fe))}var me=["http://","https://"].find((function(Ne){return!!z&&z.indexOf(Ne)!==-1}));if(me){var xe=F.indexOf(me);F=F.substr(xe),z=z.substr(xe),ae+=xe}var Se=z?"scheme":X?"www":"tld",Me=!!z;k.push(new vx({tagBuilder:E,matchedText:F,offset:ae,urlMatchType:Se,url:F,protocolUrlMatch:Me,protocolRelativeMatch:!!K,stripPrefix:s,stripTrailingSlash:b,decodePercentEncoding:h}))},R=this;(n=o.exec(r))!==null;)T();return k},e.prototype.matchHasUnbalancedClosingParen=function(r){var n,o=r.charAt(r.length-1);if(o===")")n="(";else if(o==="]")n="[";else{if(o!=="}")return!1;n="{"}for(var s=0,b=0,h=r.length-1;b<h;b++){var E=r.charAt(b);E===n?s++:E===o&&(s=Math.max(s-1,0))}return s===0},e.prototype.matchHasInvalidCharAfterTld=function(r,n){if(!r)return-1;var o=0;n&&(o=r.indexOf(":"),r=r.slice(o));var s=new RegExp("^((.?//)?[-."+Qa+"]*[-"+Qa+"]\\.[-"+Qa+"]+)").exec(r);return s===null?-1:(o+=s[1].length,r=r.slice(s[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(r)?o:-1)},e})(qf),Ax=new RegExp("[_".concat(Qa,"]")),Ox=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.serviceName=r.serviceName,n}return Gl(e,t),e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,o=this.serviceName,s=[],b=r.length,h=0,E=-1,k=0;h<b;){var T=r.charAt(h);switch(k){case 0:R(T);break;case 1:F(T);break;case 2:z(T);break;case 3:X(T);break;default:V1(k)}h++}return Z(),s;function R(te){te==="#"?(k=2,E=h):xm.test(te)&&(k=1)}function F(te){xm.test(te)||(k=0)}function z(te){k=Ax.test(te)?3:xm.test(te)?1:0}function X(te){Ax.test(te)||(Z(),E=-1,k=xm.test(te)?1:0)}function Z(){if(E>-1&&h-E<=140){var te=r.slice(E,h),ae=new mx({tagBuilder:n,matchedText:te,offset:E,serviceName:o,hashtag:te.slice(1)});s.push(ae)}}},e})(qf),zD=["twitter","facebook","instagram","tiktok"],VD=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"),kx=(function(t){function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.matcherRegex=VD,r}return Gl(e,t),e.prototype.parseMatches=function(r){for(var n,o=this.matcherRegex,s=this.tagBuilder,b=[];(n=o.exec(r))!==null;){var h=n[0],E=h.replace(/[^0-9,;#]/g,""),k=!(!n[1]&&!n[2]),T=n.index==0?"":r.substr(n.index-1,1),R=r.substr(n.index+h.length,1),F=!T.match(/\d/)&&!R.match(/\d/);this.testMatch(n[3])&&this.testMatch(h)&&F&&b.push(new yx({tagBuilder:s,matchedText:h,offset:n.index,number:E,plusSign:k}))}return b},e.prototype.testMatch=function(r){return ND.test(r)},e})(qf),WD=new RegExp("@[_".concat(Qa,"]{1,50}(?![_").concat(Qa,"])"),"g"),JD=new RegExp("@[_.".concat(Qa,"]{1,30}(?![_").concat(Qa,"])"),"g"),HD=new RegExp("@[-_.".concat(Qa,"]{1,50}(?![-_").concat(Qa,"])"),"g"),KD=new RegExp("@[_.".concat(Qa,"]{1,23}[_").concat(Qa,"](?![_").concat(Qa,"])"),"g"),GD=new RegExp("[^"+Qa+"]"),Cx=(function(t){function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.matcherRegexes={twitter:WD,instagram:JD,soundcloud:HD,tiktok:KD},n.nonWordCharRegex=GD,n.serviceName=r.serviceName,n}return Gl(e,t),e.prototype.parseMatches=function(r){var n,o=this.serviceName,s=this.matcherRegexes[this.serviceName],b=this.nonWordCharRegex,h=this.tagBuilder,E=[];if(!s)return E;for(;(n=s.exec(r))!==null;){var k=n.index,T=r.charAt(k-1);if(k===0||b.test(T)){var R=n[0].replace(/\.+$/g,""),F=R.slice(1);E.push(new gx({tagBuilder:h,matchedText:R,offset:k,serviceName:o,mention:F}))}}return E},e})(qf);function YD(t,e){for(var r=e.onOpenTag,n=e.onCloseTag,o=e.onText,s=e.onComment,b=e.onDoctype,h=new Yl,E=0,k=t.length,T=0,R=0,F=h;E<k;){var z=t.charAt(E);switch(T){case 0:X(z);break;case 1:Z(z);break;case 2:ae(z);break;case 3:te(z);break;case 4:K(z);break;case 5:Ae(z);break;case 6:fe(z);break;case 7:me(z);break;case 8:xe(z);break;case 9:Se(z);break;case 10:Me(z);break;case 11:Ne(z);break;case 12:we(z);break;case 13:ye();break;case 14:ke(z);break;case 15:Ie(z);break;case 16:De(z);break;case 17:tt(z);break;case 18:Dt(z);break;case 19:$t(z);break;case 20:lr(z);break;default:V1(T)}E++}function X(jt){jt==="<"&&yr()}function Z(jt){jt==="!"?T=13:jt==="/"?(T=2,F=new Yl(Xa(Xa({},F),{isClosing:!0}))):jt==="<"?yr():H1.test(jt)?(T=3,F=new Yl(Xa(Xa({},F),{isOpening:!0}))):(T=0,F=h)}function te(jt){fp.test(jt)?(F=new Yl(Xa(Xa({},F),{name:pr()})),T=4):jt==="<"?yr():jt==="/"?(F=new Yl(Xa(Xa({},F),{name:pr()})),T=12):jt===">"?(F=new Yl(Xa(Xa({},F),{name:pr()})),Or()):H1.test(jt)||TD.test(jt)||jt===":"||vr()}function ae(jt){jt===">"?vr():H1.test(jt)?T=3:vr()}function K(jt){fp.test(jt)||(jt==="/"?T=12:jt===">"?Or():jt==="<"?yr():jt==="="||K1.test(jt)||MD.test(jt)?vr():T=5)}function Ae(jt){fp.test(jt)?T=6:jt==="/"?T=12:jt==="="?T=7:jt===">"?Or():jt==="<"?yr():K1.test(jt)&&vr()}function fe(jt){fp.test(jt)||(jt==="/"?T=12:jt==="="?T=7:jt===">"?Or():jt==="<"?yr():K1.test(jt)?vr():T=5)}function me(jt){fp.test(jt)||(jt==='"'?T=8:jt==="'"?T=9:/[>=`]/.test(jt)?vr():jt==="<"?yr():T=10)}function xe(jt){jt==='"'&&(T=11)}function Se(jt){jt==="'"&&(T=11)}function Me(jt){fp.test(jt)?T=4:jt===">"?Or():jt==="<"&&yr()}function Ne(jt){fp.test(jt)?T=4:jt==="/"?T=12:jt===">"?Or():jt==="<"?yr():(T=4,(function(){E--})())}function we(jt){jt===">"?(F=new Yl(Xa(Xa({},F),{isClosing:!0})),Or()):T=4}function ye(jt){t.substr(E,2)==="--"?(E+=2,F=new Yl(Xa(Xa({},F),{type:"comment"})),T=14):t.substr(E,7).toUpperCase()==="DOCTYPE"?(E+=7,F=new Yl(Xa(Xa({},F),{type:"doctype"})),T=20):vr()}function ke(jt){jt==="-"?T=15:jt===">"?vr():T=16}function Ie(jt){jt==="-"?T=18:jt===">"?vr():T=16}function De(jt){jt==="-"&&(T=17)}function tt(jt){T=jt==="-"?18:16}function Dt(jt){jt===">"?Or():jt==="!"?T=19:jt==="-"||(T=16)}function $t(jt){jt==="-"?T=17:jt===">"?Or():T=16}function lr(jt){jt===">"?Or():jt==="<"&&yr()}function vr(){T=0,F=h}function yr(){T=1,F=new Yl({idx:E})}function Or(){var jt=t.slice(R,F.idx);jt&&o(jt,R),F.type==="comment"?s(F.idx):F.type==="doctype"?b(F.idx):(F.isOpening&&r(F.name,F.idx),F.isClosing&&n(F.name,F.idx)),vr(),R=E+1}function pr(){var jt=F.idx+(F.isClosing?2:1);return t.slice(jt,E).toLowerCase()}R<E&&(function(){var Jt=t.slice(R,E);o(Jt,R),R=E+1})()}var Yl=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},ZD=(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&&zD.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,o){for(var s in o)o.hasOwnProperty(s)&&n[s]===void 0&&(n[s]=o[s]);return n})(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})},t.prototype.parse=function(e){var r=this,n=["a","style","script"],o=0,s=[];return YD(e,{onOpenTag:function(b){n.indexOf(b)>=0&&o++},onText:function(b,h){if(o===0){var E=(function(R,F){if(!F.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var z,X=[],Z=0;z=F.exec(R);)X.push(R.substring(Z,z.index)),X.push(z[0]),Z=z.index+z[0].length;return X.push(R.substring(Z)),X})(b,/( | |<|<|>|>|"|"|')/gi),k=h;E.forEach((function(T,R){if(R%2==0){var F=r.parseText(T,k);s.push.apply(s,F)}k+=T.length}))}},onCloseTag:function(b){n.indexOf(b)>=0&&(o=Math.max(o-1,0))},onComment:function(b){},onDoctype:function(b){}}),s=this.compactMatches(s),s=this.removeUnwantedMatches(s)},t.prototype.compactMatches=function(e){e.sort((function(E,k){return E.getOffset()-k.getOffset()}));for(var r=0;r<e.length-1;){var n=e[r],o=n.getOffset(),s=n.getMatchedText().length,b=o+s;if(r+1<e.length){if(e[r+1].getOffset()===o){var h=e[r+1].getMatchedText().length>s?r:r+1;e.splice(h,1);continue}if(e[r+1].getOffset()<b){e.splice(r+1,1);continue}}r++}return e},t.prototype.removeUnwantedMatches=function(e){return this.hashtag||pp(e,(function(r){return r.getType()==="hashtag"})),this.email||pp(e,(function(r){return r.getType()==="email"})),this.phone||pp(e,(function(r){return r.getType()==="phone"})),this.mention||pp(e,(function(r){return r.getType()==="mention"})),this.urls.schemeMatches||pp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"})),this.urls.wwwMatches||pp(e,(function(r){return r.getType()==="url"&&r.getUrlMatchType()==="www"})),this.urls.tldMatches||pp(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(),o=[],s=0,b=n.length;s<b;s++){for(var h=n[s].parseMatches(e),E=0,k=h.length;E<k;E++)h[E].setOffset(r+h[E].getOffset());o.push.apply(o,h)}return o},t.prototype.link=function(e){if(!e)return"";this.sanitizeHtml&&(e=e.replace(/</g,"<").replace(/>/g,">"));for(var r=this.parse(e),n=[],o=0,s=0,b=r.length;s<b;s++){var h=r[s];n.push(e.substring(o,h.getOffset())),n.push(this.createMatchReturnVal(h)),o=h.getOffset()+h.getMatchedText().length}return n.push(e.substring(o)),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 W1?r.toAnchorString():e.buildTag().toAnchorString()},t.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var e=this.getTagBuilder(),r=[new Ox({tagBuilder:e,serviceName:this.hashtag}),new Sx({tagBuilder:e}),new kx({tagBuilder:e}),new Cx({tagBuilder:e,serviceName:this.mention}),new xx({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 fx({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),e},t.version="3.16.2",t.AnchorTagBuilder=fx,t.HtmlTag=W1,t.matcher={Email:Sx,Hashtag:Ox,Matcher:qf,Mention:Cx,Phone:kx,Url:xx},t.match={Email:dx,Hashtag:mx,Match:Uf,Mention:gx,Phone:yx,Url:vx},t})();const XD=ZD;var QD=/www|@|\:\/\//;function eB(t){return/^<a[>\s]/i.test(t)}function tB(t){return/^<\/a\s*>/i.test(t)}function rB(){var t=[],e=new XD({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 nB(t){var e,r,n,o,s,b,h,E,k,T,R,F,z,X=t.tokens,Z=null;for(r=0,n=X.length;r<n;r++)if(X[r].type==="inline")for(R=0,e=(o=X[r].children).length-1;e>=0;e--)if((s=o[e]).type!=="link_close"){if(s.type==="htmltag"&&(eB(s.content)&&R>0&&R--,tB(s.content)&&R++),!(R>0)&&s.type==="text"&&QD.test(s.content)){if(Z||(F=(Z=rB()).links,z=Z.autolinker),b=s.content,F.length=0,z.link(b),!F.length)continue;for(h=[],T=s.level,E=0;E<F.length;E++)t.inline.validateLink(F[E].url)&&((k=b.indexOf(F[E].text))&&h.push({type:"text",content:b.slice(0,k),level:T}),h.push({type:"link_open",href:F[E].url,title:"",level:T++}),h.push({type:"text",content:F[E].text,level:T}),h.push({type:"link_close",level:--T}),b=b.slice(k+F[E].text.length));b.length&&h.push({type:"text",content:b,level:T}),X[r].children=o=[].concat(o.slice(0,e),h,o.slice(e+1))}}else for(e--;o[e].level!==s.level&&o[e].type!=="link_open";)e--}function aB(t){t.core.ruler.push("linkify",nB)}const{entries:jx,setPrototypeOf:Ix,isFrozen:oB,getPrototypeOf:iB,getOwnPropertyDescriptor:sB}=Object;let{freeze:Ti,seal:Bs,create:Px}=Object,{apply:Y1,construct:Z1}=typeof Reflect<"u"&&Reflect;Ti||(Ti=function(e){return e}),Bs||(Bs=function(e){return e}),Y1||(Y1=function(e,r,n){return e.apply(r,n)}),Z1||(Z1=function(e,r){return new e(...r)});const d0=Mi(Array.prototype.forEach),lB=Mi(Array.prototype.lastIndexOf),Tx=Mi(Array.prototype.pop),Am=Mi(Array.prototype.push),cB=Mi(Array.prototype.splice),m0=Mi(String.prototype.toLowerCase),X1=Mi(String.prototype.toString),Nx=Mi(String.prototype.match),Om=Mi(String.prototype.replace),uB=Mi(String.prototype.indexOf),pB=Mi(String.prototype.trim),dl=Mi(Object.prototype.hasOwnProperty),Ni=Mi(RegExp.prototype.test),km=(function(e){return function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return Z1(e,n)}})(TypeError);function Mi(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return Y1(t,e,n)}}function Pn(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m0;Ix&&Ix(t,null);let n=e.length;for(;n--;){let o=e[n];if(typeof o=="string"){const s=r(o);s!==o&&(oB(e)||(e[n]=s),o=s)}t[o]=!0}return t}function fB(t){for(let e=0;e<t.length;e++)dl(t,e)||(t[e]=null);return t}function kc(t){const e=Px(null);for(const[r,n]of jx(t))dl(t,r)&&(Array.isArray(n)?e[r]=fB(n):n&&typeof n=="object"&&n.constructor===Object?e[r]=kc(n):e[r]=n);return e}function Cm(t,e){for(;t!==null;){const r=sB(t,e);if(r){if(r.get)return Mi(r.get);if(typeof r.value=="function")return Mi(r.value)}t=iB(t)}return function(){return null}}const Mx=Ti(["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"]),Q1=Ti(["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"]),e2=Ti(["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"]),hB=Ti(["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"]),t2=Ti(["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"]),dB=Ti(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Rx=Ti(["#text"]),Dx=Ti(["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"]),r2=Ti(["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"]),Bx=Ti(["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"]),g0=Ti(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),mB=Bs(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gB=Bs(/<%[\w\W]*|[\w\W]*%>/gm),yB=Bs(/\$\{[\w\W]*/gm),vB=Bs(/^data-[\-\w.\u00B7-\uFFFF]+$/),bB=Bs(/^aria-[\-\w]+$/),Fx=Bs(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),_B=Bs(/^(?:\w+script|data):/i),wB=Bs(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Lx=Bs(/^html$/i),EB=Bs(/^[a-z][.\w]*(-[.\w]+)+$/i);var $x=Object.freeze({__proto__:null,ARIA_ATTR:bB,ATTR_WHITESPACE:wB,CUSTOM_ELEMENT:EB,DATA_ATTR:vB,DOCTYPE_NAME:Lx,ERB_EXPR:gB,IS_ALLOWED_URI:Fx,IS_SCRIPT_OR_DATA:_B,MUSTACHE_EXPR:mB,TMPLIT_EXPR:yB});const SB=1,xB=3,AB=7,OB=8,kB=9,CB=function(){return typeof window>"u"?null:window};var n2=(function t(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:CB();const r=$r=>t($r);if(r.version="3.2.6",r.removed=[],!e||!e.document||e.document.nodeType!==kB||!e.Element)return r.isSupported=!1,r;let{document:n}=e;const o=n,s=o.currentScript,{DocumentFragment:b,HTMLTemplateElement:h,Node:E,Element:k,NodeFilter:T,NamedNodeMap:R=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:F,DOMParser:z,trustedTypes:X}=e,Z=k.prototype,te=Cm(Z,"cloneNode"),ae=Cm(Z,"remove"),K=Cm(Z,"nextSibling"),Ae=Cm(Z,"childNodes"),fe=Cm(Z,"parentNode");if(typeof h=="function"){const $r=n.createElement("template");$r.content&&$r.content.ownerDocument&&(n=$r.content.ownerDocument)}let me,xe="";const{implementation:Se,createNodeIterator:Me,createDocumentFragment:Ne,getElementsByTagName:we}=n,{importNode:ye}=o;let ke={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported=typeof jx=="function"&&typeof fe=="function"&&Se&&Se.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ie,ERB_EXPR:De,TMPLIT_EXPR:tt,DATA_ATTR:Dt,ARIA_ATTR:$t,IS_SCRIPT_OR_DATA:lr,ATTR_WHITESPACE:vr,CUSTOM_ELEMENT:yr}=$x;let{IS_ALLOWED_URI:Or}=$x,pr=null;const jt=Pn({},[...Mx,...Q1,...e2,...t2,...Rx]);let Jt=null;const un=Pn({},[...Dx,...r2,...Bx,...g0]);let Yr=Object.seal(Px(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}})),Zr=null,rn=null,pa=!0,ln=!0,Hr=!1,Yn=!0,Rn=!1,Bn=!0,na=!1,vo=!1,Jn=!1,Ra=!1,Fo=!1,eo=!1,li=!0,Kf=!1,du=!0,qs=!1,vl={},Xl=null;const Co=Pn({},["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 bl=null;const Rm=Pn({},["audio","video","img","source","image","track"]);let j2=null;const b4=Pn({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),T0="http://www.w3.org/1998/Math/MathML",N0="http://www.w3.org/2000/svg",jc="http://www.w3.org/1999/xhtml";let Gf=jc,I2=!1,P2=null;const PU=Pn({},[T0,N0,jc],X1);let M0=Pn({},["mi","mo","mn","ms","mtext"]),R0=Pn({},["annotation-xml"]);const TU=Pn({},["title","style","font","a","script"]);let Dm=null;const NU=["application/xhtml+xml","text/html"];let Lo=null,Yf=null;const MU=n.createElement("form"),_4=function(rt){return rt instanceof RegExp||rt instanceof Function},T2=function(){let rt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!Yf||Yf!==rt){if(rt&&typeof rt=="object"||(rt={}),rt=kc(rt),Dm=NU.indexOf(rt.PARSER_MEDIA_TYPE)===-1?"text/html":rt.PARSER_MEDIA_TYPE,Lo=Dm==="application/xhtml+xml"?X1:m0,pr=dl(rt,"ALLOWED_TAGS")?Pn({},rt.ALLOWED_TAGS,Lo):jt,Jt=dl(rt,"ALLOWED_ATTR")?Pn({},rt.ALLOWED_ATTR,Lo):un,P2=dl(rt,"ALLOWED_NAMESPACES")?Pn({},rt.ALLOWED_NAMESPACES,X1):PU,j2=dl(rt,"ADD_URI_SAFE_ATTR")?Pn(kc(b4),rt.ADD_URI_SAFE_ATTR,Lo):b4,bl=dl(rt,"ADD_DATA_URI_TAGS")?Pn(kc(Rm),rt.ADD_DATA_URI_TAGS,Lo):Rm,Xl=dl(rt,"FORBID_CONTENTS")?Pn({},rt.FORBID_CONTENTS,Lo):Co,Zr=dl(rt,"FORBID_TAGS")?Pn({},rt.FORBID_TAGS,Lo):kc({}),rn=dl(rt,"FORBID_ATTR")?Pn({},rt.FORBID_ATTR,Lo):kc({}),vl=!!dl(rt,"USE_PROFILES")&&rt.USE_PROFILES,pa=rt.ALLOW_ARIA_ATTR!==!1,ln=rt.ALLOW_DATA_ATTR!==!1,Hr=rt.ALLOW_UNKNOWN_PROTOCOLS||!1,Yn=rt.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Rn=rt.SAFE_FOR_TEMPLATES||!1,Bn=rt.SAFE_FOR_XML!==!1,na=rt.WHOLE_DOCUMENT||!1,Ra=rt.RETURN_DOM||!1,Fo=rt.RETURN_DOM_FRAGMENT||!1,eo=rt.RETURN_TRUSTED_TYPE||!1,Jn=rt.FORCE_BODY||!1,li=rt.SANITIZE_DOM!==!1,Kf=rt.SANITIZE_NAMED_PROPS||!1,du=rt.KEEP_CONTENT!==!1,qs=rt.IN_PLACE||!1,Or=rt.ALLOWED_URI_REGEXP||Fx,Gf=rt.NAMESPACE||jc,M0=rt.MATHML_TEXT_INTEGRATION_POINTS||M0,R0=rt.HTML_INTEGRATION_POINTS||R0,Yr=rt.CUSTOM_ELEMENT_HANDLING||{},rt.CUSTOM_ELEMENT_HANDLING&&_4(rt.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Yr.tagNameCheck=rt.CUSTOM_ELEMENT_HANDLING.tagNameCheck),rt.CUSTOM_ELEMENT_HANDLING&&_4(rt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Yr.attributeNameCheck=rt.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),rt.CUSTOM_ELEMENT_HANDLING&&typeof rt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Yr.allowCustomizedBuiltInElements=rt.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Rn&&(ln=!1),Fo&&(Ra=!0),vl&&(pr=Pn({},Rx),Jt=[],vl.html===!0&&(Pn(pr,Mx),Pn(Jt,Dx)),vl.svg===!0&&(Pn(pr,Q1),Pn(Jt,r2),Pn(Jt,g0)),vl.svgFilters===!0&&(Pn(pr,e2),Pn(Jt,r2),Pn(Jt,g0)),vl.mathMl===!0&&(Pn(pr,t2),Pn(Jt,Bx),Pn(Jt,g0))),rt.ADD_TAGS&&(pr===jt&&(pr=kc(pr)),Pn(pr,rt.ADD_TAGS,Lo)),rt.ADD_ATTR&&(Jt===un&&(Jt=kc(Jt)),Pn(Jt,rt.ADD_ATTR,Lo)),rt.ADD_URI_SAFE_ATTR&&Pn(j2,rt.ADD_URI_SAFE_ATTR,Lo),rt.FORBID_CONTENTS&&(Xl===Co&&(Xl=kc(Xl)),Pn(Xl,rt.FORBID_CONTENTS,Lo)),du&&(pr["#text"]=!0),na&&Pn(pr,["html","head","body"]),pr.table&&(Pn(pr,["tbody"]),delete Zr.tbody),rt.TRUSTED_TYPES_POLICY){if(typeof rt.TRUSTED_TYPES_POLICY.createHTML!="function")throw km('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof rt.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw km('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');me=rt.TRUSTED_TYPES_POLICY,xe=me.createHTML("")}else me===void 0&&(me=(function(Br,Ha){if(typeof Br!="object"||typeof Br.createPolicy!="function")return null;let ba=null;const Fn="data-tt-policy-suffix";Ha&&Ha.hasAttribute(Fn)&&(ba=Ha.getAttribute(Fn));const Aa="dompurify"+(ba?"#"+ba:"");try{return Br.createPolicy(Aa,{createHTML:ci=>ci,createScriptURL:ci=>ci})}catch{return console.warn("TrustedTypes policy "+Aa+" could not be created."),null}})(X,s)),me!==null&&typeof xe=="string"&&(xe=me.createHTML(""));Ti&&Ti(rt),Yf=rt}},w4=Pn({},[...Q1,...e2,...hB]),E4=Pn({},[...t2,...dB]),Ql=function(rt){Am(r.removed,{element:rt});try{fe(rt).removeChild(rt)}catch{ae(rt)}},Zf=function(rt,nr){try{Am(r.removed,{attribute:nr.getAttributeNode(rt),from:nr})}catch{Am(r.removed,{attribute:null,from:nr})}if(nr.removeAttribute(rt),rt==="is")if(Ra||Fo)try{Ql(nr)}catch{}else try{nr.setAttribute(rt,"")}catch{}},S4=function(rt){let nr=null,Br=null;if(Jn)rt="<remove></remove>"+rt;else{const Fn=Nx(rt,/^[\r\n\t ]+/);Br=Fn&&Fn[0]}Dm==="application/xhtml+xml"&&Gf===jc&&(rt='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+rt+"</body></html>");const Ha=me?me.createHTML(rt):rt;if(Gf===jc)try{nr=new z().parseFromString(Ha,Dm)}catch{}if(!nr||!nr.documentElement){nr=Se.createDocument(Gf,"template",null);try{nr.documentElement.innerHTML=I2?xe:Ha}catch{}}const ba=nr.body||nr.documentElement;return rt&&Br&&ba.insertBefore(n.createTextNode(Br),ba.childNodes[0]||null),Gf===jc?we.call(nr,na?"html":"body")[0]:na?nr.documentElement:ba},x4=function(rt){return Me.call(rt.ownerDocument||rt,rt,T.SHOW_ELEMENT|T.SHOW_COMMENT|T.SHOW_TEXT|T.SHOW_PROCESSING_INSTRUCTION|T.SHOW_CDATA_SECTION,null)},N2=function(rt){return rt instanceof F&&(typeof rt.nodeName!="string"||typeof rt.textContent!="string"||typeof rt.removeChild!="function"||!(rt.attributes instanceof R)||typeof rt.removeAttribute!="function"||typeof rt.setAttribute!="function"||typeof rt.namespaceURI!="string"||typeof rt.insertBefore!="function"||typeof rt.hasChildNodes!="function")},A4=function(rt){return typeof E=="function"&&rt instanceof E};function Ic($r,rt,nr){d0($r,(Br=>{Br.call(r,rt,nr,Yf)}))}const O4=function(rt){let nr=null;if(Ic(ke.beforeSanitizeElements,rt,null),N2(rt))return Ql(rt),!0;const Br=Lo(rt.nodeName);if(Ic(ke.uponSanitizeElement,rt,{tagName:Br,allowedTags:pr}),Bn&&rt.hasChildNodes()&&!A4(rt.firstElementChild)&&Ni(/<[/\w!]/g,rt.innerHTML)&&Ni(/<[/\w!]/g,rt.textContent)||rt.nodeType===AB||Bn&&rt.nodeType===OB&&Ni(/<[/\w]/g,rt.data))return Ql(rt),!0;if(!pr[Br]||Zr[Br]){if(!Zr[Br]&&C4(Br)&&(Yr.tagNameCheck instanceof RegExp&&Ni(Yr.tagNameCheck,Br)||Yr.tagNameCheck instanceof Function&&Yr.tagNameCheck(Br)))return!1;if(du&&!Xl[Br]){const Ha=fe(rt)||rt.parentNode,ba=Ae(rt)||rt.childNodes;if(ba&&Ha)for(let Fn=ba.length-1;Fn>=0;--Fn){const Aa=te(ba[Fn],!0);Aa.__removalCount=(rt.__removalCount||0)+1,Ha.insertBefore(Aa,K(rt))}}return Ql(rt),!0}return rt instanceof k&&!(function(ba){let Fn=fe(ba);Fn&&Fn.tagName||(Fn={namespaceURI:Gf,tagName:"template"});const Aa=m0(ba.tagName),ci=m0(Fn.tagName);return!!P2[ba.namespaceURI]&&(ba.namespaceURI===N0?Fn.namespaceURI===jc?Aa==="svg":Fn.namespaceURI===T0?Aa==="svg"&&(ci==="annotation-xml"||M0[ci]):!!w4[Aa]:ba.namespaceURI===T0?Fn.namespaceURI===jc?Aa==="math":Fn.namespaceURI===N0?Aa==="math"&&R0[ci]:!!E4[Aa]:ba.namespaceURI===jc?!(Fn.namespaceURI===N0&&!R0[ci])&&!(Fn.namespaceURI===T0&&!M0[ci])&&!E4[Aa]&&(TU[Aa]||!w4[Aa]):!(Dm!=="application/xhtml+xml"||!P2[ba.namespaceURI]))})(rt)?(Ql(rt),!0):Br!=="noscript"&&Br!=="noembed"&&Br!=="noframes"||!Ni(/<\/no(script|embed|frames)/i,rt.innerHTML)?(Rn&&rt.nodeType===xB&&(nr=rt.textContent,d0([Ie,De,tt],(Ha=>{nr=Om(nr,Ha," ")})),rt.textContent!==nr&&(Am(r.removed,{element:rt.cloneNode()}),rt.textContent=nr)),Ic(ke.afterSanitizeElements,rt,null),!1):(Ql(rt),!0)},k4=function(rt,nr,Br){if(li&&(nr==="id"||nr==="name")&&(Br in n||Br in MU))return!1;if(!(ln&&!rn[nr]&&Ni(Dt,nr))){if(!(pa&&Ni($t,nr))){if(!Jt[nr]||rn[nr]){if(!(C4(rt)&&(Yr.tagNameCheck instanceof RegExp&&Ni(Yr.tagNameCheck,rt)||Yr.tagNameCheck instanceof Function&&Yr.tagNameCheck(rt))&&(Yr.attributeNameCheck instanceof RegExp&&Ni(Yr.attributeNameCheck,nr)||Yr.attributeNameCheck instanceof Function&&Yr.attributeNameCheck(nr))||nr==="is"&&Yr.allowCustomizedBuiltInElements&&(Yr.tagNameCheck instanceof RegExp&&Ni(Yr.tagNameCheck,Br)||Yr.tagNameCheck instanceof Function&&Yr.tagNameCheck(Br))))return!1}else if(!j2[nr]){if(!Ni(Or,Om(Br,vr,""))){if((nr!=="src"&&nr!=="xlink:href"&&nr!=="href"||rt==="script"||uB(Br,"data:")!==0||!bl[rt])&&!(Hr&&!Ni(lr,Om(Br,vr,"")))){if(Br)return!1}}}}}return!0},C4=function(rt){return rt!=="annotation-xml"&&Nx(rt,yr)},j4=function(rt){Ic(ke.beforeSanitizeAttributes,rt,null);const{attributes:nr}=rt;if(!nr||N2(rt))return;const Br={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Jt,forceKeepAttr:void 0};let Ha=nr.length;for(;Ha--;){const ba=nr[Ha],{name:Fn,namespaceURI:Aa,value:ci}=ba,Bm=Lo(Fn),M2=ci;let wi=Fn==="value"?M2:pB(M2);if(Br.attrName=Bm,Br.attrValue=wi,Br.keepAttr=!0,Br.forceKeepAttr=void 0,Ic(ke.uponSanitizeAttribute,rt,Br),wi=Br.attrValue,!Kf||Bm!=="id"&&Bm!=="name"||(Zf(Fn,rt),wi="user-content-"+wi),Bn&&Ni(/((--!?|])>)|<\/(style|title)/i,wi)){Zf(Fn,rt);continue}if(Br.forceKeepAttr)continue;if(!Br.keepAttr){Zf(Fn,rt);continue}if(!Yn&&Ni(/\/>/i,wi)){Zf(Fn,rt);continue}Rn&&d0([Ie,De,tt],(P4=>{wi=Om(wi,P4," ")}));const I4=Lo(rt.nodeName);if(k4(I4,Bm,wi)){if(me&&typeof X=="object"&&typeof X.getAttributeType=="function"&&!Aa)switch(X.getAttributeType(I4,Bm)){case"TrustedHTML":wi=me.createHTML(wi);break;case"TrustedScriptURL":wi=me.createScriptURL(wi)}if(wi!==M2)try{Aa?rt.setAttributeNS(Aa,Fn,wi):rt.setAttribute(Fn,wi),N2(rt)?Ql(rt):Tx(r.removed)}catch{Zf(Fn,rt)}}else Zf(Fn,rt)}Ic(ke.afterSanitizeAttributes,rt,null)},RU=function $r(rt){let nr=null;const Br=x4(rt);for(Ic(ke.beforeSanitizeShadowDOM,rt,null);nr=Br.nextNode();)Ic(ke.uponSanitizeShadowNode,nr,null),O4(nr),j4(nr),nr.content instanceof b&&$r(nr.content);Ic(ke.afterSanitizeShadowDOM,rt,null)};return r.sanitize=function($r){let rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},nr=null,Br=null,Ha=null,ba=null;if(I2=!$r,I2&&($r="<!-->"),typeof $r!="string"&&!A4($r)){if(typeof $r.toString!="function")throw km("toString is not a function");if(typeof($r=$r.toString())!="string")throw km("dirty is not a string, aborting")}if(!r.isSupported)return $r;if(vo||T2(rt),r.removed=[],typeof $r=="string"&&(qs=!1),qs){if($r.nodeName){const ci=Lo($r.nodeName);if(!pr[ci]||Zr[ci])throw km("root node is forbidden and cannot be sanitized in-place")}}else if($r instanceof E)nr=S4("<!---->"),Br=nr.ownerDocument.importNode($r,!0),Br.nodeType===SB&&Br.nodeName==="BODY"||Br.nodeName==="HTML"?nr=Br:nr.appendChild(Br);else{if(!Ra&&!Rn&&!na&&$r.indexOf("<")===-1)return me&&eo?me.createHTML($r):$r;if(nr=S4($r),!nr)return Ra?null:eo?xe:""}nr&&Jn&&Ql(nr.firstChild);const Fn=x4(qs?$r:nr);for(;Ha=Fn.nextNode();)O4(Ha),j4(Ha),Ha.content instanceof b&&RU(Ha.content);if(qs)return $r;if(Ra){if(Fo)for(ba=Ne.call(nr.ownerDocument);nr.firstChild;)ba.appendChild(nr.firstChild);else ba=nr;return(Jt.shadowroot||Jt.shadowrootmode)&&(ba=ye.call(o,ba,!0)),ba}let Aa=na?nr.outerHTML:nr.innerHTML;return na&&pr["!doctype"]&&nr.ownerDocument&&nr.ownerDocument.doctype&&nr.ownerDocument.doctype.name&&Ni(Lx,nr.ownerDocument.doctype.name)&&(Aa="<!DOCTYPE "+nr.ownerDocument.doctype.name+`>
|
||
`+Aa),Rn&&d0([Ie,De,tt],(ci=>{Aa=Om(Aa,ci," ")})),me&&eo?me.createHTML(Aa):Aa},r.setConfig=function(){T2(arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}),vo=!0},r.clearConfig=function(){Yf=null,vo=!1},r.isValidAttribute=function($r,rt,nr){Yf||T2({});const Br=Lo($r),Ha=Lo(rt);return k4(Br,Ha,nr)},r.addHook=function($r,rt){typeof rt=="function"&&Am(ke[$r],rt)},r.removeHook=function($r,rt){if(rt!==void 0){const nr=lB(ke[$r],rt);return nr===-1?void 0:cB(ke[$r],nr,1)[0]}return Tx(ke[$r])},r.removeHooks=function($r){ke[$r]=[]},r.removeAllHooks=function(){ke={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r})();n2.addHook&&n2.addHook("beforeSanitizeElements",(function(t){return t.href&&t.setAttribute("rel","noopener noreferrer"),t}));const jB=function({source:e,className:r="",getConfigs:n=()=>({useUnsafeMarkdown:!1})}){if(typeof e!="string")return null;const o=new Oc({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(aB);o.core.ruler.disable(["replacements","smartquotes"]);const{useUnsafeMarkdown:s}=n(),b=o.render(e),h=jm(b,{useUnsafeMarkdown:s});return e&&b&&h?g.createElement("div",{className:On()(r,"markdown"),dangerouslySetInnerHTML:{__html:h}}):null};function jm(t,{useUnsafeMarkdown:e=!1}={}){const r=e,n=e?[]:["style","class"];return e&&!jm.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),jm.hasWarnedAboutDeprecation=!0),n2.sanitize(t,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}jm.hasWarnedAboutDeprecation=!1;class IB extends g.Component{render(){const{errSelectors:e,specSelectors:r,getComponent:n}=this.props,o=n("SvgAssets"),s=n("InfoContainer",!0),b=n("VersionPragmaFilter"),h=n("operations",!0),E=n("Models",!0),k=n("Webhooks",!0),T=n("Row"),R=n("Col"),F=n("errors",!0),z=n("ServersContainer",!0),X=n("SchemesContainer",!0),Z=n("AuthorizeBtnContainer",!0),te=n("FilterContainer",!0),ae=r.isSwagger2(),K=r.isOAS3(),Ae=r.isOAS31(),fe=!r.specStr(),me=r.loadingStatus();let xe=null;if(me==="loading"&&(xe=g.createElement("div",{className:"info"},g.createElement("div",{className:"loading-container"},g.createElement("div",{className:"loading"})))),me==="failed"&&(xe=g.createElement("div",{className:"info"},g.createElement("div",{className:"loading-container"},g.createElement("h4",{className:"title"},"Failed to load API definition."),g.createElement(F,null)))),me==="failedConfig"){const ke=e.lastError(),Ie=ke?ke.get("message"):"";xe=g.createElement("div",{className:"info failed-config"},g.createElement("div",{className:"loading-container"},g.createElement("h4",{className:"title"},"Failed to load remote configuration."),g.createElement("p",null,Ie)))}if(!xe&&fe&&(xe=g.createElement("h4",null,"No API definition provided.")),xe)return g.createElement("div",{className:"swagger-ui"},g.createElement("div",{className:"loading-container"},xe));const Se=r.servers(),Me=r.schemes(),Ne=Se&&Se.size,we=Me&&Me.size,ye=!!r.securityDefinitions();return g.createElement("div",{className:"swagger-ui"},g.createElement(o,null),g.createElement(b,{isSwagger2:ae,isOAS3:K,alsoShow:g.createElement(F,null)},g.createElement(F,null),g.createElement(T,{className:"information-container"},g.createElement(R,{mobile:12},g.createElement(s,null))),Ne||we||ye?g.createElement("div",{className:"scheme-container"},g.createElement(R,{className:"schemes wrapper",mobile:12},Ne||we?g.createElement("div",{className:"schemes-server-container"},Ne?g.createElement(z,null):null,we?g.createElement(X,null):null):null,ye?g.createElement(Z,null):null)):null,g.createElement(te,null),g.createElement(T,null,g.createElement(R,{mobile:12,desktop:12},g.createElement(h,null))),Ae&&g.createElement(T,{className:"webhooks-container"},g.createElement(R,{mobile:12,desktop:12},g.createElement(k,null))),g.createElement(T,null,g.createElement(R,{mobile:12,desktop:12},g.createElement(E,null)))))}}const PB=()=>({components:{App:EM,authorizationPopup:SM,authorizeBtn:xM,AuthorizeBtnContainer:AM,authorizeOperationBtn:OM,auths:kM,AuthItem:CM,authError:jM,oauth2:DM,apiKeyAuth:IM,basicAuth:PM,clear:BM,liveResponse:$M,InitializedInput:kR,info:PR,InfoContainer:TR,InfoUrl:jR,InfoBasePath:CR,Contact:MR,License:DR,JumpToPath:BR,CopyToClipboardBtn:FR,onlineValidatorBadge:qS,operations:qM,operation:VM,OperationSummary:KM,OperationSummaryMethod:GM,OperationSummaryPath:YM,responses:I1,response:QM,ResponseExtension:eR,responseBody:aR,parameters:oR,parameterRow:cR,execute:uR,headers:pR,errors:fR,contentType:gR,overview:AR,footer:LR,FilterContainer:$R,ParamBody:N1,curl:UR,Property:qR,TryItOutButton:zR,Markdown:jB,BaseLayout:IB,VersionPragmaFilter:VR,VersionStamp:WR,OperationExt:ZM,OperationExtRow:XM,ParameterExt:iR,ParameterIncludeEmpty:lR,OperationTag:zM,OperationContainer:WM,OpenAPIVersion:JR,DeepLink:HR,SvgAssets:KR,Example:TM,ExamplesSelect:NM,ExamplesSelectValueRetainer:MM}}),TB=()=>({components:{...Je}}),Ux=()=>[ch,oS,Zs,wS,ES,Wu,hh,Au,Os,Mp,qp,PB,TB,aS,Ee,SS,Cl,dh,bh,ao,BS,FS,US()],NB=(0,ee.Map)();function Im(t){return(e,r)=>(...n)=>{if(r.getSystem().specSelectors.isOAS3()){const o=t(...n);return typeof o=="function"?o(r):o}return e(...n)}}const Pm=Im(mc()(null)),MB=Im(((t,e)=>r=>r.getSystem().specSelectors.findSchema(e))),RB=Im((()=>t=>{const e=t.getSystem().specSelectors.specJson().getIn(["components","schemas"]);return ee.Map.isMap(e)?e:NB})),DB=Im((()=>t=>t.getSystem().specSelectors.specJson().hasIn(["servers",0]))),BB=Im(_r(Qi,(t=>t.getIn(["components","securitySchemes"])||null))),FB=(t,e)=>(r,...n)=>e.specSelectors.isOAS3()?e.oas3Selectors.validOperationMethods():t(...n),LB=Pm,$B=Pm,UB=Pm,qB=Pm,zB=Pm,VB=(function(e){return(r,n)=>(...o)=>{if(n.getSystem().specSelectors.isOAS3()){let s=n.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return e(n,s,...o)}return r(...o)}})(_r((t=>t),(({specSelectors:t})=>t.securityDefinitions()),((t,e)=>{let r=(0,ee.List)();return e&&e.entrySeq().forEach((([n,o])=>{const s=o?.get("type");if(s==="oauth2"&&o.get("flows").entrySeq().forEach((([b,h])=>{let E=(0,ee.fromJS)({flow:b,authorizationUrl:h.get("authorizationUrl"),tokenUrl:h.get("tokenUrl"),scopes:h.get("scopes"),type:o.get("type"),description:o.get("description")});r=r.push(new ee.Map({[n]:E.filter((k=>k!==void 0))}))})),s!=="http"&&s!=="apiKey"||(r=r.push(new ee.Map({[n]:o}))),s==="openIdConnect"&&o.get("openIdConnectData")){let b=o.get("openIdConnectData");(b.get("grant_types_supported")||["authorization_code","implicit"]).forEach((h=>{let E=b.get("scopes_supported")&&b.get("scopes_supported").reduce(((T,R)=>T.set(R,"")),new ee.Map),k=(0,ee.fromJS)({flow:h,authorizationUrl:b.get("authorization_endpoint"),tokenUrl:b.get("token_endpoint"),scopes:E,type:"oauth2",openIdConnectUrl:o.get("openIdConnectUrl")});r=r.push(new ee.Map({[n]:k.filter((T=>T!==void 0))}))}))}})),r})));function Tm(t){return(e,r)=>n=>typeof r.specSelectors?.isOAS3=="function"?r.specSelectors.isOAS3()?g.createElement(t,An()({},n,r,{Ori:e})):g.createElement(e,n):(console.warn("OAS3 wrapper: couldn't get spec"),null)}const WB=(0,ee.Map)(),JB=()=>t=>(function(r){const n=r.get("swagger");return typeof n=="string"&&n==="2.0"})(t.getSystem().specSelectors.specJson()),HB=()=>t=>(function(r){const n=r.get("openapi");return typeof n=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(n)})(t.getSystem().specSelectors.specJson()),KB=()=>t=>t.getSystem().specSelectors.isOAS30();function qx(t){return(e,...r)=>n=>{if(n.specSelectors.isOAS3()){const o=t(e,...r);return typeof o=="function"?o(n):o}return null}}const GB=qx((()=>t=>t.specSelectors.specJson().get("servers",WB))),YB=(t,e)=>{const r=t.getIn(["resolvedSubtrees","components","schemas",e],null),n=t.getIn(["json","components","schemas",e],null);return r||n||null},ZB=qx(((t,{callbacks:e,specPath:r})=>n=>{const o=n.specSelectors.validOperationMethods();return ee.Map.isMap(e)?e.reduce(((s,b,h)=>{if(!ee.Map.isMap(b))return s;const E=b.reduce(((k,T,R)=>{if(!ee.Map.isMap(T))return k;const F=T.entrySeq().filter((([z])=>o.includes(z))).map((([z,X])=>({operation:(0,ee.Map)({operation:X}),method:z,path:R,callbackName:h,specPath:r.concat([h,R,z])})));return k.concat(F)}),(0,ee.List)());return s.concat(E)}),(0,ee.List)()).groupBy((s=>s.callbackName)).map((s=>s.toArray())).toObject():{}})),XB=({callbacks:t,specPath:e,specSelectors:r,getComponent:n})=>{const o=r.callbacksOperations({callbacks:t,specPath:e}),s=Object.keys(o),b=n("OperationContainer",!0);return s.length===0?g.createElement("span",null,"No callbacks"):g.createElement("div",null,s.map((h=>g.createElement("div",{key:`${h}`},g.createElement("h2",null,h),o[h].map((E=>g.createElement(b,{key:`${h}-${E.path}-${E.method}`,op:E.operation,tag:"callbacks",method:E.method,path:E.path,specPath:E.specPath,allowTryItOut:!1})))))))},y0=(t,e,r,n)=>{const o=t.getIn(["content",e])??(0,ee.OrderedMap)(),s=o.get("schema",(0,ee.OrderedMap)()).toJS(),b=o.get("examples")!==void 0,h=o.get("example"),E=b?o.getIn(["examples",r,"value"]):h;return cn(n.getSampleSchema(s,e,{includeWriteOnly:!0},E))},QB=({userHasEditedBody:t,requestBody:e,requestBodyValue:r,requestBodyInclusionSetting:n,requestBodyErrors:o,getComponent:s,getConfigs:b,specSelectors:h,fn:E,contentType:k,isExecute:T,specPath:R,onChange:F,onChangeIncludeEmpty:z,activeExamplesKey:X,updateActiveExamplesKey:Z,setRetainRequestBodyValueFlag:te})=>{const ae=yr=>{F(yr.target.files[0])},K=yr=>{let Or={key:yr,shouldDispatchInit:!1,defaultValue:!0};return n.get(yr,"no value")==="no value"&&(Or.shouldDispatchInit=!0),Or},Ae=s("Markdown",!0),fe=s("modelExample"),me=s("RequestBodyEditor"),xe=s("HighlightCode",!0),Se=s("ExamplesSelectValueRetainer"),Me=s("Example"),Ne=s("ParameterIncludeEmpty"),{showCommonExtensions:we}=b(),ye=e?.get("description")??null,ke=e?.get("content")??new ee.OrderedMap;k=k||ke.keySeq().first()||"";const Ie=ke.get(k)??(0,ee.OrderedMap)(),De=Ie.get("schema",(0,ee.OrderedMap)()),tt=Ie.get("examples",null),Dt=tt?.map(((yr,Or)=>{const pr=yr?.get("value",null);return pr&&(yr=yr.set("value",y0(e,k,Or,E),pr)),yr}));if(o=ee.List.isList(o)?o:(0,ee.List)(),E.isFileUploadIntended(Ie?.get("schema"),k)){const yr=s("Input");return T?g.createElement(yr,{type:"file",onChange:ae}):g.createElement("i",null,"Example values are not available for ",g.createElement("code",null,k)," media types.")}if(!Ie.size)return null;if(E.hasSchemaType(Ie.get("schema"),"object")&&(k==="application/x-www-form-urlencoded"||k.indexOf("multipart/")===0)&&De.get("properties",(0,ee.OrderedMap)()).size>0){const yr=s("JsonSchemaForm"),Or=s("ParameterExt"),pr=De.get("properties",(0,ee.OrderedMap)());return r=ee.Map.isMap(r)?r:(0,ee.OrderedMap)(),g.createElement("div",{className:"table-container"},ye&&g.createElement(Ae,{source:ye}),g.createElement("table",null,g.createElement("tbody",null,ee.Map.isMap(pr)&&pr.entrySeq().map((([jt,Jt])=>{if(Jt.get("readOnly"))return;const un=Jt.get("oneOf")?.get(0)?.toJS(),Yr=Jt.get("anyOf")?.get(0)?.toJS();Jt=(0,ee.fromJS)(E.mergeJsonSchema(Jt.toJS(),un??Yr??{}));let Zr=we?Cr(Jt):null;const rn=De.get("required",(0,ee.List)()).includes(jt),pa=E.getSchemaObjectType(Jt),ln=E.getSchemaObjectTypeLabel(Jt),Hr=E.getSchemaObjectType(Jt?.get("items")),Yn=Jt.get("format"),Rn=Jt.get("description"),Bn=r.getIn([jt,"value"]),na=r.getIn([jt,"errors"])||o,vo=n.get(jt)||!1;let Jn=E.getSampleSchema(Jt,!1,{includeWriteOnly:!0});Jn===!1&&(Jn="false"),Jn===0&&(Jn="0"),typeof Jn!="string"&&pa==="object"&&(Jn=cn(Jn)),typeof Jn=="string"&&pa==="array"&&(Jn=JSON.parse(Jn));const Ra=E.isFileUploadIntended(Jt),Fo=g.createElement(yr,{fn:E,dispatchInitialValue:!Ra,schema:Jt,description:jt,getComponent:s,value:Bn===void 0?Jn:Bn,required:rn,errors:na,onChange:eo=>{F(eo,[jt])}});return g.createElement("tr",{key:jt,className:"parameters","data-property-name":jt},g.createElement("td",{className:"parameters-col_name"},g.createElement("div",{className:rn?"parameter__name required":"parameter__name"},jt,rn?g.createElement("span",null," *"):null),g.createElement("div",{className:"parameter__type"},ln,Yn&&g.createElement("span",{className:"prop-format"},"($",Yn,")"),we&&Zr.size?Zr.entrySeq().map((([eo,li])=>g.createElement(Or,{key:`${eo}-${li}`,xKey:eo,xVal:li}))):null),g.createElement("div",{className:"parameter__deprecated"},Jt.get("deprecated")?"deprecated":null)),g.createElement("td",{className:"parameters-col_description"},g.createElement(Ae,{source:Rn}),T?g.createElement("div",null,pa==="object"||Hr==="object"?g.createElement(fe,{getComponent:s,specPath:R.push("schema"),getConfigs:b,isExecute:T,specSelectors:h,schema:Jt,example:Fo}):Fo,rn?null:g.createElement(Ne,{onChange:eo=>z(jt,eo),isIncluded:vo,isIncludedOptions:K(jt),isDisabled:Array.isArray(Bn)?Bn.length!==0:!fa(Bn)})):null))})))))}const $t=y0(e,k,X,E);let lr=null;i0($t)&&(lr="json");const vr=T?g.createElement(me,{value:r,errors:o,defaultValue:$t,onChange:F,getComponent:s}):g.createElement(xe,{className:"body-param__example",language:lr},cn(r)||$t);return g.createElement("div",null,ye&&g.createElement(Ae,{source:ye}),Dt?g.createElement(Se,{userHasEditedBody:t,examples:Dt,currentKey:X,currentUserInputValue:r,onSelect:yr=>{Z(yr)},updateValue:F,defaultToFirstExample:!0,getComponent:s,setRetainRequestBodyValueFlag:te}):null,g.createElement(fe,{getComponent:s,getConfigs:b,specSelectors:h,expandDepth:1,isExecute:T,schema:Ie.get("schema"),specPath:R.push("content",k,"schema"),example:vr,includeWriteOnly:!0}),Dt?g.createElement(Me,{example:Dt.get(X),getComponent:s,getConfigs:b}):null)};class eF extends g.Component{render(){const{link:e,name:r,getComponent:n}=this.props,o=n("Markdown",!0);let s=e.get("operationId")||e.get("operationRef"),b=e.get("parameters")&&e.get("parameters").toJS(),h=e.get("description");return g.createElement("div",{className:"operation-link"},g.createElement("div",{className:"description"},g.createElement("b",null,g.createElement("code",null,r)),h?g.createElement(o,{source:h}):null),g.createElement("pre",null,"Operation `",s,"`",g.createElement("br",null),g.createElement("br",null),"Parameters ",(function(k,T){return typeof T!="string"?"":T.split(`
|
||
`).map(((R,F)=>F>0?Array(k+1).join(" ")+R:R)).join(`
|
||
`)})(0,JSON.stringify(b,null,2))||"{}",g.createElement("br",null)))}}const tF=eF,rF=({servers:t,currentServer:e,setSelectedServer:r,setServerVariableValue:n,getServerVariable:o,getEffectiveServerValue:s})=>{const b=(t.find((T=>T.get("url")===e))||(0,ee.OrderedMap)()).get("variables")||(0,ee.OrderedMap)(),h=b.size!==0;(0,g.useEffect)((()=>{e||r(t.first()?.get("url"))}),[]),(0,g.useEffect)((()=>{const T=t.find((R=>R.get("url")===e));if(!T)return void r(t.first().get("url"));(T.get("variables")||(0,ee.OrderedMap)()).map(((R,F)=>{n({server:e,key:F,val:R.get("default")||""})}))}),[e,t]);const E=(0,g.useCallback)((T=>{r(T.target.value)}),[r]),k=(0,g.useCallback)((T=>{const R=T.target.getAttribute("data-variable"),F=T.target.value;n({server:e,key:R,val:F})}),[n,e]);return g.createElement("div",{className:"servers"},g.createElement("label",{htmlFor:"servers"},g.createElement("select",{onChange:E,value:e,id:"servers"},t.valueSeq().map((T=>g.createElement("option",{value:T.get("url"),key:T.get("url")},T.get("url"),T.get("description")&&` - ${T.get("description")}`))).toArray())),h&&g.createElement("div",null,g.createElement("div",{className:"computed-url"},"Computed URL:",g.createElement("code",null,s(e))),g.createElement("h4",null,"Server variables"),g.createElement("table",null,g.createElement("tbody",null,b.entrySeq().map((([T,R])=>g.createElement("tr",{key:T},g.createElement("td",null,T),g.createElement("td",null,R.get("enum")?g.createElement("select",{"data-variable":T,onChange:k},R.get("enum").map((F=>g.createElement("option",{selected:F===o(e,T),key:F,value:F},F)))):g.createElement("input",{type:"text",value:o(e,T)||"",onChange:k,"data-variable":T})))))))))};class nF extends g.Component{render(){const{specSelectors:e,oas3Selectors:r,oas3Actions:n,getComponent:o}=this.props,s=e.servers(),b=o("Servers");return s&&s.size?g.createElement("div",null,g.createElement("span",{className:"servers-title"},"Servers"),g.createElement(b,{servers:s,currentServer:r.selectedServer(),setSelectedServer:n.setSelectedServer,setServerVariableValue:n.setServerVariableValue,getServerVariable:r.serverVariableValue,getEffectiveServerValue:r.serverEffectiveValue})):null}}const aF=Function.prototype;class oF extends g.PureComponent{static defaultProps={onChange:aF,userHasEditedBody:!1};constructor(e,r){super(e,r),this.state={value:cn(e.value)||e.defaultValue},e.onChange(e.value)}applyDefaultValue=e=>{const{onChange:r,defaultValue:n}=e||this.props;return this.setState({value:n}),r(n)};onChange=e=>{this.props.onChange(cn(e))};onDomChange=e=>{const r=e.target.value;this.setState({value:r},(()=>this.onChange(r)))};UNSAFE_componentWillReceiveProps(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:cn(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}render(){let{getComponent:e,errors:r}=this.props,{value:n}=this.state,o=r.size>0;const s=e("TextArea");return g.createElement("div",{className:"body-param"},g.createElement(s,{className:On()("body-param__text",{invalid:o}),title:r.size?r.join(", "):"",value:n,onChange:this.onDomChange}))}}class iF extends g.Component{constructor(e,r){super(e,r);let{name:n,schema:o}=this.props,s=this.getValue();this.state={name:n,schema:o,value:s}}getValue(){let{name:e,authorized:r}=this.props;return r&&r.getIn([e,"value"])}onChange=e=>{let{onChange:r}=this.props,{value:n,name:o}=e.target,s=Object.assign({},this.state.value);o?s[o]=n:s=n,this.setState({value:s},(()=>r(this.state)))};render(){let{schema:e,getComponent:r,errSelectors:n,name:o,authSelectors:s}=this.props;const b=r("Input"),h=r("Row"),E=r("Col"),k=r("authError"),T=r("Markdown",!0),R=r("JumpToPath",!0),F=(e.get("scheme")||"").toLowerCase(),z=s.selectAuthPath(o);let X=this.getValue(),Z=n.allErrors().filter((te=>te.get("authId")===o));if(F==="basic"){let te=X?X.get("username"):null;return g.createElement("div",null,g.createElement("h4",null,g.createElement("code",null,o)," (http, Basic)",g.createElement(R,{path:z})),te&&g.createElement("h6",null,"Authorized"),g.createElement(h,null,g.createElement(T,{source:e.get("description")})),g.createElement(h,null,g.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),te?g.createElement("code",null," ",te," "):g.createElement(E,null,g.createElement(b,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),g.createElement(h,null,g.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),te?g.createElement("code",null," ****** "):g.createElement(E,null,g.createElement(b,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),Z.valueSeq().map(((ae,K)=>g.createElement(k,{error:ae,key:K}))))}return F==="bearer"?g.createElement("div",null,g.createElement("h4",null,g.createElement("code",null,o)," (http, Bearer)",g.createElement(R,{path:z})),X&&g.createElement("h6",null,"Authorized"),g.createElement(h,null,g.createElement(T,{source:e.get("description")})),g.createElement(h,null,g.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),X?g.createElement("code",null," ****** "):g.createElement(E,null,g.createElement(b,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),Z.valueSeq().map(((te,ae)=>g.createElement(k,{error:te,key:ae})))):g.createElement("div",null,g.createElement("em",null,g.createElement("b",null,o)," HTTP authentication: unsupported scheme ",`'${F}'`))}}class sF extends g.Component{setSelectedServer=e=>{const{path:r,method:n}=this.props;return this.forceUpdate(),this.props.setSelectedServer(e,`${r}:${n}`)};setServerVariableValue=e=>{const{path:r,method:n}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...e,namespace:`${r}:${n}`})};getSelectedServer=()=>{const{path:e,method:r}=this.props;return this.props.getSelectedServer(`${e}:${r}`)};getServerVariable=(e,r)=>{const{path:n,method:o}=this.props;return this.props.getServerVariable({namespace:`${n}:${o}`,server:e},r)};getEffectiveServerValue=e=>{const{path:r,method:n}=this.props;return this.props.getEffectiveServerValue({server:e,namespace:`${r}:${n}`})};render(){const{operationServers:e,pathServers:r,getComponent:n}=this.props;if(!e&&!r)return null;const o=n("Servers"),s=e||r,b=e?"operation":"path";return g.createElement("div",{className:"opblock-section operation-servers"},g.createElement("div",{className:"opblock-section-header"},g.createElement("div",{className:"tab-header"},g.createElement("h4",{className:"opblock-title"},"Servers"))),g.createElement("div",{className:"opblock-description-wrapper"},g.createElement("h4",{className:"message"},"These ",b,"-level options override the global server options."),g.createElement(o,{servers:s,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}const lF={Callbacks:XB,HttpAuth:iF,RequestBody:QB,Servers:rF,ServersContainer:nF,RequestBodyEditor:oF,OperationServers:sF,operationLink:tF},a2=new Oc("commonmark");a2.block.ruler.enable(["table"]),a2.set({linkTarget:"_blank"});const cF=Tm((({source:t,className:e="",getConfigs:r=()=>({useUnsafeMarkdown:!1})})=>{if(typeof t!="string")return null;if(t){const{useUnsafeMarkdown:n}=r(),o=jm(a2.render(t),{useUnsafeMarkdown:n});let s;return typeof o=="string"&&(s=o.trim()),g.createElement("div",{dangerouslySetInnerHTML:{__html:s},className:On()(e,"renderedMarkdown")})}return null})),uF=Tm((({Ori:t,...e})=>{const{schema:r,getComponent:n,errSelectors:o,authorized:s,onAuthChange:b,name:h,authSelectors:E}=e,k=n("HttpAuth");return r.get("type")==="http"?g.createElement(k,{key:h,schema:r,name:h,errSelectors:o,authorized:s,getComponent:n,onChange:b,authSelectors:E}):g.createElement(t,e)})),pF=Tm(qS);class fF extends g.Component{render(){let{getConfigs:e,schema:r,Ori:n}=this.props,o=["model-box"],s=null;return r.get("deprecated")===!0&&(o.push("deprecated"),s=g.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),g.createElement("div",{className:o.join(" ")},s,g.createElement(n,An()({},this.props,{getConfigs:e,depth:1,expandDepth:this.props.expandDepth||0})))}}const hF=Tm(fF),dF=Tm((({Ori:t,...e})=>{const{schema:r,getComponent:n,errors:o,onChange:s,fn:b}=e,h=b.isFileUploadIntended(r),E=n("Input");return h?g.createElement(E,{type:"file",className:o.length?"invalid":"",title:o.length?o:"",onChange:k=>{s(k.target.files[0])},disabled:t.isDisabled}):g.createElement(t,e)})),mF={Markdown:cF,AuthItem:uF,OpenAPIVersion:(function(e){return(r,n)=>o=>typeof n.specSelectors?.isOAS30=="function"?n.specSelectors.isOAS30()?g.createElement(e,An()({},o,n,{Ori:r})):g.createElement(r,o):(console.warn("OAS30 wrapper: couldn't get spec"),null)})((t=>{const{Ori:e}=t;return g.createElement(e,{oasVersion:"3.0"})})),JsonSchema_string:dF,model:hF,onlineValidatorBadge:pF},o2="oas3_set_servers",i2="oas3_set_request_body_value",s2="oas3_set_request_body_retain_flag",l2="oas3_set_request_body_inclusion",c2="oas3_set_active_examples_member",u2="oas3_set_request_content_type",p2="oas3_set_response_content_type",f2="oas3_set_server_variable_value",h2="oas3_set_request_body_validate_error",v0="oas3_clear_request_body_validate_error",d2="oas3_clear_request_body_value";function gF(t,e){return{type:o2,payload:{selectedServerUrl:t,namespace:e}}}function yF({value:t,pathMethod:e}){return{type:i2,payload:{value:t,pathMethod:e}}}const vF=({value:t,pathMethod:e})=>({type:s2,payload:{value:t,pathMethod:e}});function bF({value:t,pathMethod:e,name:r}){return{type:l2,payload:{value:t,pathMethod:e,name:r}}}function _F({name:t,pathMethod:e,contextType:r,contextName:n}){return{type:c2,payload:{name:t,pathMethod:e,contextType:r,contextName:n}}}function wF({value:t,pathMethod:e}){return{type:u2,payload:{value:t,pathMethod:e}}}function EF({value:t,path:e,method:r}){return{type:p2,payload:{value:t,path:e,method:r}}}function SF({server:t,namespace:e,key:r,val:n}){return{type:f2,payload:{server:t,namespace:e,key:r,val:n}}}const xF=({path:t,method:e,validationErrors:r})=>({type:h2,payload:{path:t,method:e,validationErrors:r}}),AF=({path:t,method:e})=>({type:v0,payload:{path:t,method:e}}),OF=({pathMethod:t})=>({type:v0,payload:{path:t[0],method:t[1]}}),kF=({pathMethod:t})=>({type:d2,payload:{pathMethod:t}});var CF=qe(60680),jF=qe.n(CF);const Fs=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS3()){const o=t(e,...r);return typeof o=="function"?o(n):o}return null},IF=Fs(((t,e)=>{const r=e?[e,"selectedServer"]:["selectedServer"];return t.getIn(r)||""})),PF=Fs(((t,e,r)=>t.getIn(["requestData",e,r,"bodyValue"])||null)),TF=Fs(((t,e,r)=>t.getIn(["requestData",e,r,"retainBodyValue"])||!1)),NF=(t,e,r)=>n=>{const{oas3Selectors:o,specSelectors:s,fn:b}=n.getSystem();if(s.isOAS3()){const h=o.requestContentType(e,r);if(h)return y0(s.specResolvedSubtree(["paths",e,r,"requestBody"]),h,o.activeExamplesMember(e,r,"requestBody","requestBody"),b)}return null},MF=Fs(((t,e,r)=>n=>{const{oas3Selectors:o,specSelectors:s,fn:b}=n;let h=!1;const E=o.requestContentType(e,r);let k=o.requestBodyValue(e,r);const T=s.specResolvedSubtree(["paths",e,r,"requestBody"]);if(!T)return!1;if(ee.Map.isMap(k)&&(k=cn(k.mapEntries((R=>ee.Map.isMap(R[1])?[R[0],R[1].get("value")]:R)).toJS())),ee.List.isList(k)&&(k=cn(k)),E){const R=y0(T,E,o.activeExamplesMember(e,r,"requestBody","requestBody"),b);h=!!k&&k!==R}return h})),RF=Fs(((t,e,r)=>t.getIn(["requestData",e,r,"bodyInclusion"])||(0,ee.Map)())),DF=Fs(((t,e,r)=>t.getIn(["requestData",e,r,"errors"])||null)),BF=Fs(((t,e,r,n,o)=>t.getIn(["examples",e,r,n,o,"activeExample"])||null)),FF=Fs(((t,e,r)=>t.getIn(["requestData",e,r,"requestContentType"])||null)),LF=Fs(((t,e,r)=>t.getIn(["requestData",e,r,"responseContentType"])||null)),$F=Fs(((t,e,r)=>{let n;if(typeof e!="string"){const{server:o,namespace:s}=e;n=s?[s,"serverVariableValues",o,r]:["serverVariableValues",o,r]}else n=["serverVariableValues",e,r];return t.getIn(n)||null})),UF=Fs(((t,e)=>{let r;if(typeof e!="string"){const{server:n,namespace:o}=e;r=o?[o,"serverVariableValues",n]:["serverVariableValues",n]}else r=["serverVariableValues",e];return t.getIn(r)||(0,ee.OrderedMap)()})),qF=Fs(((t,e)=>{var r,n;if(typeof e!="string"){const{server:s,namespace:b}=e;n=s,r=b?t.getIn([b,"serverVariableValues",n]):t.getIn(["serverVariableValues",n])}else n=e,r=t.getIn(["serverVariableValues",n]);r=r||(0,ee.OrderedMap)();let o=n;return r.map(((s,b)=>{o=o.replace(new RegExp(`{${jF()(b)}}`,"g"),s)})),o})),zF=(function(e){return(...r)=>n=>{const o=n.getSystem().specSelectors.specJson();let s=[...r][1]||[];return!o.getIn(["paths",...s,"requestBody","required"])||e(...r)}})(((t,e)=>((r,n)=>(n=n||[],!!r.getIn(["requestData",...n,"bodyValue"])))(t,e))),VF=(t,{oas3RequiredRequestBodyContentType:e,oas3RequestContentType:r,oas3RequestBodyValue:n})=>{let o=[];if(!ee.Map.isMap(n))return o;let s=[];return Object.keys(e.requestContentType).forEach((b=>{b===r&&e.requestContentType[b].forEach((h=>{s.indexOf(h)<0&&s.push(h)}))})),s.forEach((b=>{n.getIn([b,"value"])||o.push(b)})),o},WF=mc()(["get","put","post","delete","options","head","patch","trace"]),JF={[o2]:(t,{payload:{selectedServerUrl:e,namespace:r}})=>{const n=r?[r,"selectedServer"]:["selectedServer"];return t.setIn(n,e)},[i2]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,o]=r;if(!ee.Map.isMap(e))return t.setIn(["requestData",n,o,"bodyValue"],e);let s=t.getIn(["requestData",n,o,"bodyValue"])||(0,ee.Map)();ee.Map.isMap(s)||(s=(0,ee.Map)());let b=s;const[...h]=e.keys();return h.forEach((E=>{let k=e.getIn([E]);b.has(E)&&ee.Map.isMap(k)||(b=b.setIn([E,"value"],k))})),t.setIn(["requestData",n,o,"bodyValue"],b)},[s2]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,o]=r;return t.setIn(["requestData",n,o,"retainBodyValue"],e)},[l2]:(t,{payload:{value:e,pathMethod:r,name:n}})=>{let[o,s]=r;return t.setIn(["requestData",o,s,"bodyInclusion",n],e)},[c2]:(t,{payload:{name:e,pathMethod:r,contextType:n,contextName:o}})=>{let[s,b]=r;return t.setIn(["examples",s,b,n,o,"activeExample"],e)},[u2]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,o]=r;return t.setIn(["requestData",n,o,"requestContentType"],e)},[p2]:(t,{payload:{value:e,path:r,method:n}})=>t.setIn(["requestData",r,n,"responseContentType"],e),[f2]:(t,{payload:{server:e,namespace:r,key:n,val:o}})=>{const s=r?[r,"serverVariableValues",e,n]:["serverVariableValues",e,n];return t.setIn(s,o)},[h2]:(t,{payload:{path:e,method:r,validationErrors:n}})=>{let o=[];if(o.push("Required field is not provided"),n.missingBodyValue)return t.setIn(["requestData",e,r,"errors"],(0,ee.fromJS)(o));if(n.missingRequiredKeys&&n.missingRequiredKeys.length>0){const{missingRequiredKeys:s}=n;return t.updateIn(["requestData",e,r,"bodyValue"],(0,ee.fromJS)({}),(b=>s.reduce(((h,E)=>h.setIn([E,"errors"],(0,ee.fromJS)(o))),b)))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),t},[v0]:(t,{payload:{path:e,method:r}})=>{const n=t.getIn(["requestData",e,r,"bodyValue"]);if(!ee.Map.isMap(n))return t.setIn(["requestData",e,r,"errors"],(0,ee.fromJS)([]));const[...o]=n.keys();return o?t.updateIn(["requestData",e,r,"bodyValue"],(0,ee.fromJS)({}),(s=>o.reduce(((b,h)=>b.setIn([h,"errors"],(0,ee.fromJS)([]))),s))):t},[d2]:(t,{payload:{pathMethod:e}})=>{let[r,n]=e;const o=t.getIn(["requestData",r,n,"bodyValue"]);return o?ee.Map.isMap(o)?t.setIn(["requestData",r,n,"bodyValue"],(0,ee.Map)()):t.setIn(["requestData",r,n,"bodyValue"],""):t}};function m2({getSystem:t}){const e=(r=>(n,o=null)=>{const{getConfigs:s,fn:b}=r(),{fileUploadMediaTypes:h}=s();if(typeof o=="string"&&h.some((T=>o.startsWith(T))))return!0;const E=ee.Map.isMap(n);if(!E&&!Xi()(n))return!1;const k=E?n.get("format"):n.format;return b.hasSchemaType(n,"string")&&["binary","byte"].includes(k)})(t);return{components:lF,wrapComponents:mF,statePlugins:{spec:{wrapSelectors:ze,selectors:Qe},auth:{wrapSelectors:Ve},oas3:{actions:{...pt},reducers:JF,selectors:{...Fe}}},fn:{isFileUploadIntended:e,isFileUploadIntendedOAS30:e}}}const HF=({specSelectors:t,getComponent:e})=>{const r=t.selectWebhooksOperations(),n=Object.keys(r),o=e("OperationContainer",!0);return n.length===0?null:g.createElement("div",{className:"webhooks"},g.createElement("h2",null,"Webhooks"),n.map((s=>g.createElement("div",{key:`${s}-webhook`},r[s].map((b=>g.createElement(o,{key:`${s}-${b.method}-webhook`,op:b.operation,tag:"webhooks",method:b.method,path:s,specPath:(0,ee.List)(b.specPath),allowTryItOut:!1})))))))},KF=({getComponent:t,specSelectors:e})=>{const r=e.selectLicenseNameField(),n=e.selectLicenseUrl(),o=t("Link");return g.createElement("div",{className:"info__license"},n?g.createElement("div",{className:"info__license__url"},g.createElement(o,{target:"_blank",href:Na(n)},r)):g.createElement("span",null,r))},GF=({getComponent:t,specSelectors:e})=>{const r=e.selectContactNameField(),n=e.selectContactUrl(),o=e.selectContactEmailField(),s=t("Link");return g.createElement("div",{className:"info__contact"},n&&g.createElement("div",null,g.createElement(s,{href:Na(n),target:"_blank"},r," - Website")),o&&g.createElement(s,{href:Na(`mailto:${o}`)},n?`Send email to ${r}`:`Contact ${r}`))},YF=({getComponent:t,specSelectors:e})=>{const r=e.version(),n=e.url(),o=e.basePath(),s=e.host(),b=e.selectInfoSummaryField(),h=e.selectInfoDescriptionField(),E=e.selectInfoTitleField(),k=e.selectInfoTermsOfServiceUrl(),T=e.selectExternalDocsUrl(),R=e.selectExternalDocsDescriptionField(),F=e.contact(),z=e.license(),X=t("Markdown",!0),Z=t("Link"),te=t("VersionStamp"),ae=t("OpenAPIVersion"),K=t("InfoUrl"),Ae=t("InfoBasePath"),fe=t("License",!0),me=t("Contact",!0),xe=t("JsonSchemaDialect",!0);return g.createElement("div",{className:"info"},g.createElement("hgroup",{className:"main"},g.createElement("h1",{className:"title"},E,g.createElement("span",null,r&&g.createElement(te,{version:r}),g.createElement(ae,{oasVersion:"3.1"}))),(s||o)&&g.createElement(Ae,{host:s,basePath:o}),n&&g.createElement(K,{getComponent:t,url:n})),b&&g.createElement("p",{className:"info__summary"},b),g.createElement("div",{className:"info__description description"},g.createElement(X,{source:h})),k&&g.createElement("div",{className:"info__tos"},g.createElement(Z,{target:"_blank",href:Na(k)},"Terms of service")),F.size>0&&g.createElement(me,null),z.size>0&&g.createElement(fe,null),T&&g.createElement(Z,{className:"info__extdocs",target:"_blank",href:Na(T)},R||T),g.createElement(xe,null))},ZF=({getComponent:t,specSelectors:e})=>{const r=e.selectJsonSchemaDialectField(),n=e.selectJsonSchemaDialectDefault(),o=t("Link");return g.createElement(g.Fragment,null,r&&r===n&&g.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",g.createElement(o,{target:"_blank",href:Na(r)},r)),r&&r!==n&&g.createElement("div",{className:"error-wrapper"},g.createElement("div",{className:"no-margin"},g.createElement("div",{className:"errors"},g.createElement("div",{className:"errors-wrapper"},g.createElement("h4",{className:"center"},"Warning"),g.createElement("p",{className:"message"},g.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",g.createElement(o,{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."))))))},XF=({bypass:t,isSwagger2:e,isOAS3:r,isOAS31:n,alsoShow:o,children:s})=>t?g.createElement("div",null,s):e&&(r||n)?g.createElement("div",{className:"version-pragma"},o,g.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},g.createElement("div",null,g.createElement("h3",null,"Unable to render this definition"),g.createElement("p",null,g.createElement("code",null,"swagger")," and ",g.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),g.createElement("p",null,"Supported version fields are ",g.createElement("code",null,'swagger: "2.0"')," and those that match ",g.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",g.createElement("code",null,"openapi: 3.1.0"),").")))):e||r||n?g.createElement("div",null,s):g.createElement("div",{className:"version-pragma"},o,g.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},g.createElement("div",null,g.createElement("h3",null,"Unable to render this definition"),g.createElement("p",null,"The provided definition does not specify a valid version field."),g.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",g.createElement("code",null,'swagger: "2.0"')," and those that match ",g.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",g.createElement("code",null,"openapi: 3.1.0"),").")))),QF=t=>typeof t=="string"&&t.includes("#/components/schemas/")?(e=>{const r=e.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(r)}catch{return r}})(t.replace(/^.*#\/components\/schemas\//,"")):null,eL=(0,g.forwardRef)((({schema:t,getComponent:e,onToggle:r=()=>{},specPath:n},o)=>{const s=e("JSONSchema202012"),b=QF(t.get("$$ref")),h=(0,g.useCallback)(((E,k)=>{r(b,k)}),[b,r]);return g.createElement(s,{name:b,schema:t.toJS(),ref:o,onExpand:h,identifier:n.toJS().join("_")})})),tL=eL,rL=({specActions:t,specSelectors:e,layoutSelectors:r,layoutActions:n,getComponent:o,getConfigs:s,fn:b})=>{const h=e.selectSchemas(),E=Object.keys(h).length>0,k=["components","schemas"],{docExpansion:T,defaultModelsExpandDepth:R}=s(),F=R>0&&T!=="none",z=r.isShown(k,F),X=o("Collapse"),Z=o("JSONSchema202012"),te=o("ArrowUpIcon"),ae=o("ArrowDownIcon"),{getTitle:K}=b.jsonSchema202012.useFn();(0,g.useEffect)((()=>{const Se=Object.entries(h).some((([we])=>r.isShown([...k,we],!1))),Me=z&&(R>1||Se),Ne=e.specResolvedSubtree(k)!=null;Me&&!Ne&&t.requestResolvedSubtree(k)}),[z,R]);const Ae=(0,g.useCallback)((()=>{n.show(k,!z)}),[z]),fe=(0,g.useCallback)((Se=>{Se!==null&&n.readyToScroll(k,Se)}),[]),me=Se=>Me=>{Me!==null&&n.readyToScroll([...k,Se],Me)},xe=Se=>(Me,Ne)=>{const we=[...k,Se];Ne?(e.specResolvedSubtree(we)!=null||t.requestResolvedSubtree([...k,Se]),n.show(we,!0)):n.show(we,!1)};return!E||R<0?null:g.createElement("section",{className:On()("models",{"is-open":z}),ref:fe},g.createElement("h4",null,g.createElement("button",{"aria-expanded":z,className:"models-control",onClick:Ae},g.createElement("span",null,"Schemas"),z?g.createElement(te,null):g.createElement(ae,null))),g.createElement(X,{isOpened:z},Object.entries(h).map((([Se,Me])=>{const Ne=K(Me,{lookup:"basic"})||Se;return g.createElement(Z,{key:Se,ref:me(Se),schema:Me,name:Ne,onExpand:xe(Se)})}))))},nL=({schema:t,getComponent:e,name:r,authSelectors:n})=>{const o=e("JumpToPath",!0),s=n.selectAuthPath(r);return g.createElement("div",null,g.createElement("h4",null,r," (mutualTLS) ",g.createElement(o,{path:s})),g.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),g.createElement("p",null,t.get("description")))};class aL extends g.Component{constructor(e,r){super(e,r),this.state={}}onAuthChange=e=>{let{name:r}=e;this.setState({[r]:e})};submitAuth=e=>{e.preventDefault();let{authActions:r}=this.props;r.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:r,definitions:n}=this.props,o=n.map(((s,b)=>b)).toArray();this.setState(o.reduce(((s,b)=>(s[b]="",s)),{})),r.logoutWithPersistOption(o)};close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:n,errSelectors:o}=this.props;const s=r("AuthItem"),b=r("oauth2",!0),h=r("Button"),E=n.authorized(),k=e.filter(((z,X)=>!!E.get(X))),T=e.filter((z=>z.get("type")!=="oauth2"&&z.get("type")!=="mutualTLS")),R=e.filter((z=>z.get("type")==="oauth2")),F=e.filter((z=>z.get("type")==="mutualTLS"));return g.createElement("div",{className:"auth-container"},T.size>0&&g.createElement("form",{onSubmit:this.submitAuth},T.map(((z,X)=>g.createElement(s,{key:X,schema:z,name:X,getComponent:r,onAuthChange:this.onAuthChange,authorized:E,errSelectors:o,authSelectors:n}))).toArray(),g.createElement("div",{className:"auth-btn-wrapper"},T.size===k.size?g.createElement(h,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):g.createElement(h,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),g.createElement(h,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),R.size>0?g.createElement("div",null,g.createElement("div",{className:"scope-def"},g.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."),g.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((z=>z.get("type")==="oauth2")).map(((z,X)=>g.createElement("div",{key:X},g.createElement(b,{authorized:E,schema:z,name:X})))).toArray()):null,F.size>0&&g.createElement("div",null,F.map(((z,X)=>g.createElement(s,{key:X,schema:z,name:X,getComponent:r,onAuthChange:this.onAuthChange,authorized:E,errSelectors:o,authSelectors:n}))).toArray()))}}const oL=aL,zx=t=>{const e=t.get("openapi");return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)},Vx=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS31()){const o=t(e,...r);return typeof o=="function"?o(n):o}return null},Wx=t=>(e,r)=>(n,...o)=>{if(r.getSystem().specSelectors.isOAS31()){const s=t(n,...o);return typeof s=="function"?s(e,r):s}return e(...o)},Jx=t=>(e,...r)=>n=>{const o=t(e,n,...r);return typeof o=="function"?o(n):o},Zl=t=>(e,r)=>n=>r.specSelectors.isOAS31()?g.createElement(t,An()({},n,{originalComponent:e,getSystem:r.getSystem})):g.createElement(e,n),g2=(t,e)=>{const{fn:r,specSelectors:n}=e;return Object.fromEntries(Object.entries(t).map((([o,s])=>{const b=r[o];return[o,(...h)=>n.isOAS31()?s(...h):typeof b=="function"?b(...h):void 0]})))},iL=Zl((({getSystem:t})=>{const e=t().getComponent("OAS31License",!0);return g.createElement(e,null)})),sL=Zl((({getSystem:t})=>{const e=t().getComponent("OAS31Contact",!0);return g.createElement(e,null)})),lL=Zl((({getSystem:t})=>{const e=t().getComponent("OAS31Info",!0);return g.createElement(e,null)})),cL=(t,{includeReadOnly:e,includeWriteOnly:r})=>{if(!t?.properties)return{};const n=Object.entries(t.properties).filter((([,o])=>(o?.readOnly!==!0||e)&&(o?.writeOnly!==!0||r)));return Object.fromEntries(n)},Hx=t=>{if(typeof t!="function")return null;const e=t();return()=>[...e,"discriminator","xml","externalDocs","example","$$ref"]},y2=Zl((({getSystem:t,...e})=>{const r=t(),{getComponent:n,fn:o,getConfigs:s}=r,b=s(),h=n("OAS31Model"),E=n("withJSONSchema202012SystemContext");return y2.ModelWithJSONSchemaContext??=E(h,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:b.defaultModelExpandDepth,includeReadOnly:e.includeReadOnly,includeWriteOnly:e.includeWriteOnly},fn:{getProperties:o.jsonSchema202012.getProperties,isExpandable:o.jsonSchema202012.isExpandable,getSchemaKeywords:Hx(o.jsonSchema202012.getSchemaKeywords)}}),g.createElement(y2.ModelWithJSONSchemaContext,e)})),uL=y2,zf=Zl((({getSystem:t})=>{const{getComponent:e,fn:r,getConfigs:n}=t(),o=n();if(zf.ModelsWithJSONSchemaContext)return g.createElement(zf.ModelsWithJSONSchemaContext,null);const s=e("OAS31Models",!0),b=e("withJSONSchema202012SystemContext");return zf.ModelsWithJSONSchemaContext??=b(s,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:o.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},fn:{getProperties:r.jsonSchema202012.getProperties,isExpandable:r.jsonSchema202012.isExpandable,getSchemaKeywords:Hx(r.jsonSchema202012.getSchemaKeywords)}}),g.createElement(zf.ModelsWithJSONSchemaContext,null)}));zf.ModelsWithJSONSchemaContext=null;const pL=zf,fL=(t,e)=>r=>{const n=e.specSelectors.isOAS31(),o=e.getComponent("OAS31VersionPragmaFilter");return g.createElement(o,An()({isOAS31:n},r))},hL=Zl((({originalComponent:t,...e})=>{const{getComponent:r,schema:n,name:o}=e,s=r("MutualTLSAuth",!0);return n.get("type")==="mutualTLS"?g.createElement(s,{schema:n,name:o}):g.createElement(t,e)})),dL=hL,mL=Zl((({getSystem:t,...e})=>{const r=t().getComponent("OAS31Auths",!0);return g.createElement(r,e)})),v2=(0,ee.Map)(),gL=_r(((t,e)=>e.specSelectors.specJson()),zx),yL=()=>t=>{const e=t.specSelectors.specJson().get("webhooks");return ee.Map.isMap(e)?e:v2},vL=_r([(t,e)=>e.specSelectors.webhooks(),(t,e)=>e.specSelectors.validOperationMethods(),(t,e)=>e.specSelectors.specResolvedSubtree(["webhooks"])],((t,e)=>t.reduce(((r,n,o)=>{if(!ee.Map.isMap(n))return r;const s=n.entrySeq().filter((([b])=>e.includes(b))).map((([b,h])=>({operation:(0,ee.Map)({operation:h}),method:b,path:o,specPath:["webhooks",o,b]})));return r.concat(s)}),(0,ee.List)()).groupBy((r=>r.path)).map((r=>r.toArray())).toObject())),bL=()=>t=>{const e=t.specSelectors.info().get("license");return ee.Map.isMap(e)?e:v2},_L=()=>t=>t.specSelectors.license().get("name","License"),wL=()=>t=>t.specSelectors.license().get("url"),EL=_r([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField()],((t,e,r)=>{if(r)return Ci(r,t,{selectedServer:e})})),SL=()=>t=>t.specSelectors.license().get("identifier"),xL=()=>t=>{const e=t.specSelectors.info().get("contact");return ee.Map.isMap(e)?e:v2},AL=()=>t=>t.specSelectors.contact().get("name","the developer"),OL=()=>t=>t.specSelectors.contact().get("email"),kL=()=>t=>t.specSelectors.contact().get("url"),CL=_r([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectContactUrlField()],((t,e,r)=>{if(r)return Ci(r,t,{selectedServer:e})})),jL=()=>t=>t.specSelectors.info().get("title"),IL=()=>t=>t.specSelectors.info().get("summary"),PL=()=>t=>t.specSelectors.info().get("description"),TL=()=>t=>t.specSelectors.info().get("termsOfService"),NL=_r([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectInfoTermsOfServiceField()],((t,e,r)=>{if(r)return Ci(r,t,{selectedServer:e})})),ML=()=>t=>t.specSelectors.externalDocs().get("description"),RL=()=>t=>t.specSelectors.externalDocs().get("url"),DL=_r([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectExternalDocsUrlField()],((t,e,r)=>{if(r)return Ci(r,t,{selectedServer:e})})),BL=()=>t=>t.specSelectors.specJson().get("jsonSchemaDialect"),FL=()=>"https://spec.openapis.org/oas/3.1/dialect/base",LL=_r(((t,e)=>e.specSelectors.definitions()),((t,e)=>e.specSelectors.specResolvedSubtree(["components","schemas"])),((t,e)=>ee.Map.isMap(t)?ee.Map.isMap(e)?Object.entries(t.toJS()).reduce(((r,[n,o])=>{const s=e.get(n);return r[n]=s?.toJS()||o,r}),{}):t.toJS():{})),$L=(t,e)=>(r,...n)=>e.specSelectors.isOAS31()||t(...n),UL=Wx((()=>(t,e)=>e.oas31Selectors.selectLicenseUrl())),qL=Wx((()=>(t,e)=>{const r=e.specSelectors.securityDefinitions();let n=t();return r&&r.entrySeq().forEach((([o,s])=>{s?.get("type")==="mutualTLS"&&(n=n.push(new ee.Map({[o]:s})))})),n})),zL=_r([(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?Ci(r,t,{selectedServer:e}):n?`https://spdx.org/licenses/${n}.html`:void 0)),VL=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{hasKeyword:o}=r.jsonSchema202012.useFn(),s=n("JSONSchema202012JSONViewer");return o(t,"example")?g.createElement(s,{name:"Example",value:t.example,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"}):null},WL=({schema:t,getSystem:e})=>{const r=t?.xml||{},{fn:n,getComponent:o,getConfigs:s}=e(),{showExtensions:b}=s(),{useComponent:h,useIsExpanded:E,usePath:k,useLevel:T}=n.jsonSchema202012,{path:R}=k("xml"),{isExpanded:F,setExpanded:z,setCollapsed:X}=E("xml"),[Z,te]=T(),ae=b?dr(r):[],K=!!(r.name||r.namespace||r.prefix||ae.length>0),Ae=h("Accordion"),fe=h("ExpandDeepButton"),me=o("OpenAPI31Extensions"),xe=o("JSONSchema202012PathContext")(),Se=o("JSONSchema202012LevelContext")(),Me=(0,g.useCallback)((()=>{F?X():z()}),[F,z,X]),Ne=(0,g.useCallback)(((we,ye)=>{ye?z({deep:!0}):X({deep:!0})}),[z,X]);return Object.keys(r).length===0?null:g.createElement(xe.Provider,{value:R},g.createElement(Se.Provider,{value:te},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml","data-json-schema-level":Z},K?g.createElement(g.Fragment,null,g.createElement(Ae,{expanded:F,onChange:Me},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),g.createElement(fe,{expanded:F,onClick:Ne})):g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),r.attribute===!0&&g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),r.wrapped===!0&&g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!F})},F&&g.createElement(g.Fragment,null,r.name&&g.createElement("li",{className:"json-schema-2020-12-property"},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.name))),r.namespace&&g.createElement("li",{className:"json-schema-2020-12-property"},g.createElement("div",{className:"json-schema-2020-12-keyword"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.namespace))),r.prefix&&g.createElement("li",{className:"json-schema-2020-12-property"},g.createElement("div",{className:"json-schema-2020-12-keyword"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.prefix)))),ae.length>0&&g.createElement(me,{openAPISpecObj:r,openAPIExtensions:ae,getSystem:e})))))},JL=({discriminator:t})=>{const e=t?.mapping||{};return Object.keys(e).length===0?null:Object.entries(e).map((([r,n])=>g.createElement("div",{key:`${r}-${n}`,className:"json-schema-2020-12-keyword"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},r),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},n))))},HL=({schema:t,getSystem:e})=>{const r=t?.discriminator||{},{fn:n,getComponent:o,getConfigs:s}=e(),{showExtensions:b}=s(),{useComponent:h,useIsExpanded:E,usePath:k,useLevel:T}=n.jsonSchema202012,R="discriminator",{path:F}=k(R),{isExpanded:z,setExpanded:X,setCollapsed:Z}=E(R),[te,ae]=T(),K=b?dr(r):[],Ae=!!(r.mapping||K.length>0),fe=h("Accordion"),me=h("ExpandDeepButton"),xe=o("OpenAPI31Extensions"),Se=o("JSONSchema202012PathContext")(),Me=o("JSONSchema202012LevelContext")(),Ne=(0,g.useCallback)((()=>{z?Z():X()}),[z,X,Z]),we=(0,g.useCallback)(((ye,ke)=>{ke?X({deep:!0}):Z({deep:!0})}),[X,Z]);return Object.keys(r).length===0?null:g.createElement(Se.Provider,{value:F},g.createElement(Me.Provider,{value:ae},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator","data-json-schema-level":te},Ae?g.createElement(g.Fragment,null,g.createElement(fe,{expanded:z,onChange:Ne},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator")),g.createElement(me,{expanded:z,onClick:we})):g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),r.propertyName&&g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},r.propertyName),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!z})},z&&g.createElement("li",{className:"json-schema-2020-12-property"},g.createElement(JL,{discriminator:r})),K.length>0&&g.createElement(xe,{openAPISpecObj:r,openAPIExtensions:K,getSystem:e})))))},KL=({openAPISpecObj:t,getSystem:e,openAPIExtensions:r})=>{const{fn:n}=e(),{useComponent:o}=n.jsonSchema202012,s=o("JSONViewer");return r.map((b=>g.createElement(s,{key:b,name:b,value:t[b],className:"json-schema-2020-12-json-viewer-extension-keyword"})))},GL=({schema:t,getSystem:e})=>{const r=t?.externalDocs||{},{fn:n,getComponent:o,getConfigs:s}=e(),{showExtensions:b}=s(),{useComponent:h,useIsExpanded:E,usePath:k,useLevel:T}=n.jsonSchema202012,R="externalDocs",{path:F}=k(R),{isExpanded:z,setExpanded:X,setCollapsed:Z}=E(R),[te,ae]=T(),K=b?dr(r):[],Ae=!!(r.description||r.url||K.length>0),fe=h("Accordion"),me=h("ExpandDeepButton"),xe=o("JSONSchema202012KeywordDescription"),Se=o("Link"),Me=o("OpenAPI31Extensions"),Ne=o("JSONSchema202012PathContext")(),we=o("JSONSchema202012LevelContext")(),ye=(0,g.useCallback)((()=>{z?Z():X()}),[z,X,Z]),ke=(0,g.useCallback)(((Ie,De)=>{De?X({deep:!0}):Z({deep:!0})}),[X,Z]);return Object.keys(r).length===0?null:g.createElement(Ne.Provider,{value:F},g.createElement(we.Provider,{value:ae},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs","data-json-schema-level":te},Ae?g.createElement(g.Fragment,null,g.createElement(fe,{expanded:z,onChange:ye},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),g.createElement(me,{expanded:z,onClick:ke})):g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!z})},z&&g.createElement(g.Fragment,null,r.description&&g.createElement("li",{className:"json-schema-2020-12-property"},g.createElement(xe,{schema:r,getSystem:e})),r.url&&g.createElement("li",{className:"json-schema-2020-12-property"},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},g.createElement(Se,{target:"_blank",href:Na(r.url)},r.url))))),K.length>0&&g.createElement(Me,{openAPISpecObj:r,openAPIExtensions:K,getSystem:e})))))},YL=({schema:t,getSystem:e})=>{if(!t?.description)return null;const{getComponent:r}=e(),n=r("Markdown");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},g.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},g.createElement(n,{source:t.description})))},ZL=Zl(YL),XL=Zl((({schema:t,getSystem:e,originalComponent:r})=>{const{getComponent:n}=e(),o=n("JSONSchema202012KeywordDiscriminator"),s=n("JSONSchema202012KeywordXml"),b=n("JSONSchema202012KeywordExample"),h=n("JSONSchema202012KeywordExternalDocs");return g.createElement(g.Fragment,null,g.createElement(r,{schema:t}),g.createElement(o,{schema:t,getSystem:e}),g.createElement(s,{schema:t,getSystem:e}),g.createElement(h,{schema:t,getSystem:e}),g.createElement(b,{schema:t,getSystem:e}))})),QL=XL,e$=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{useComponent:o,usePath:s}=r.jsonSchema202012,{getDependentRequired:b,getProperties:h}=r.jsonSchema202012.useFn(),E=r.jsonSchema202012.useConfig(),k=Array.isArray(t?.required)?t.required:[],{path:T}=s("properties"),R=o("JSONSchema"),F=n("JSONSchema202012PathContext")(),z=h(t,E);return Object.keys(z).length===0?null:g.createElement(F.Provider,{value:T},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},g.createElement("ul",null,Object.entries(z).map((([X,Z])=>{const te=k.includes(X),ae=b(X,t);return g.createElement("li",{key:X,className:On()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":te})},g.createElement(R,{name:X,schema:Z,dependentRequired:ae}))})))))},t$=Zl(e$),r$=function({fn:e,getSystem:r}){if(e.jsonSchema202012){const s=((b,h)=>{const{fn:E}=h();if(typeof b!="function")return null;const{hasKeyword:k}=E.jsonSchema202012;return T=>b(T)||k(T,"example")||T?.xml||T?.discriminator||T?.externalDocs})(e.jsonSchema202012.isExpandable,r);Object.assign(this.fn.jsonSchema202012,{isExpandable:s,getProperties:cL})}if(typeof e.sampleFromSchema=="function"&&e.jsonSchema202012){const s=g2({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:b=>e.jsonSchema202012.getType(Xn(b)),getSchemaObjectType:b=>e.jsonSchema202012.foldType(Xn(b)?.type)},r());Object.assign(this.fn,s)}const n=(s=>(b,h=null)=>{const{fn:E}=s();if(E.isFileUploadIntendedOAS30(b,h))return!0;const k=ee.Map.isMap(b);if(!k&&!Xi()(b))return!1;const T=k?b.get("contentMediaType"):b.contentMediaType,R=k?b.get("contentEncoding"):b.contentEncoding;return typeof T=="string"&&T!==""||typeof R=="string"&&R!==""})(r),{isFileUploadIntended:o}=g2({isFileUploadIntended:n},r());if(this.fn.isFileUploadIntended=o,this.fn.isFileUploadIntendedOAS31=n,e.jsonSchema202012){const{hasSchemaType:s}=g2({hasSchemaType:e.jsonSchema202012.hasSchemaType},r());this.fn.hasSchemaType=s}},n$=({fn:t})=>{const e=t.createSystemSelector||Jx,r=t.createOnlyOAS31Selector||Vx;return{afterLoad:r$,fn:{isOAS31:zx,createSystemSelector:Jx,createOnlyOAS31Selector:Vx},components:{Webhooks:HF,JsonSchemaDialect:ZF,MutualTLSAuth:nL,OAS31Info:YF,OAS31License:KF,OAS31Contact:GF,OAS31VersionPragmaFilter:XF,OAS31Model:tL,OAS31Models:rL,OAS31Auths:oL,JSONSchema202012KeywordExample:VL,JSONSchema202012KeywordXml:WL,JSONSchema202012KeywordDiscriminator:HL,JSONSchema202012KeywordExternalDocs:GL,OpenAPI31Extensions:KL},wrapComponents:{InfoContainer:lL,License:iL,Contact:sL,VersionPragmaFilter:fL,Model:uL,Models:pL,AuthItem:dL,auths:mL,JSONSchema202012KeywordDescription:ZL,JSONSchema202012KeywordExamples:QL,JSONSchema202012KeywordProperties:t$},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:qL}},spec:{selectors:{isOAS31:e(gL),license:bL,selectLicenseNameField:_L,selectLicenseUrlField:wL,selectLicenseIdentifierField:r(SL),selectLicenseUrl:e(EL),contact:xL,selectContactNameField:AL,selectContactEmailField:OL,selectContactUrlField:kL,selectContactUrl:e(CL),selectInfoTitleField:jL,selectInfoSummaryField:r(IL),selectInfoDescriptionField:PL,selectInfoTermsOfServiceField:TL,selectInfoTermsOfServiceUrl:e(NL),selectExternalDocsDescriptionField:ML,selectExternalDocsUrlField:RL,selectExternalDocsUrl:e(DL),webhooks:r(yL),selectWebhooksOperations:r(e(vL)),selectJsonSchemaDialectField:BL,selectJsonSchemaDialectDefault:FL,selectSchemas:e(LL)},wrapSelectors:{isOAS3:$L,selectLicenseUrl:UL}},oas31:{selectors:{selectLicenseUrl:r(e(zL))}}}}},a$=Wo().object,o$=Wo().bool,hp=(Wo().oneOfType([a$,o$]),(0,g.createContext)(null));hp.displayName="JSONSchemaContext";const Ls=(0,g.createContext)(0);Ls.displayName="JSONSchemaLevelContext";const b2=(0,g.createContext)(new Set),ts=(0,g.createContext)([]);class ml{static Collapsed="collapsed";static Expanded="expanded";static DeeplyExpanded="deeply-expanded"}const _2=()=>{const{config:t}=(0,g.useContext)(hp);return t},Vt=t=>{const{components:e}=(0,g.useContext)(hp);return e[t]||null},va=(t=void 0)=>{const{fn:e}=(0,g.useContext)(hp);return t!==void 0?e[t]:e},Kx=()=>{const[,t]=(0,g.useState)(null),{state:e}=(0,g.useContext)(hp);return{state:e,setState:r=>{r(e),t({})}}},$s=()=>{const t=(0,g.useContext)(Ls);return[t,t+1]},Ri=t=>{const e=(0,g.useContext)(ts),{setState:r}=Kx(),n=typeof t=="string"?[...e,t]:e;return{path:n,pathMutator:(o,s={deep:!1})=>{const b=n.toString(),h=k=>{k.paths[b]=o,o===ml.Collapsed&&Object.keys(k.paths).forEach((T=>{T.startsWith(b)&&k.paths[T]===ml.DeeplyExpanded&&(k.paths[T]=ml.Expanded)}))},E=k=>{Object.keys(k.paths).forEach((T=>{T.startsWith(b)&&(k.paths[T]=o)}))};s.deep?r(E):r(h)}}},gl=t=>{const[e]=$s(),{defaultExpandedLevels:r}=_2(),{path:n,pathMutator:o}=Ri(t),{path:s}=Ri(),{state:b}=Kx(),h=b.paths[n.toString()],E=b.paths[s.toString()]??b.paths[s.slice(0,-1).toString()],k=h??(r-e>0?ml.Expanded:ml.Collapsed),T=k!==ml.Collapsed;return(0,g.useEffect)((()=>{o(E===ml.DeeplyExpanded?ml.DeeplyExpanded:k)}),[E]),{isExpanded:T,setExpanded:(0,g.useCallback)(((R={deep:!1})=>{o(R.deep?ml.DeeplyExpanded:ml.Expanded)}),[]),setCollapsed:(0,g.useCallback)(((R={deep:!1})=>{o(ml.Collapsed,R)}),[])}},Gx=(t=void 0)=>{if(t===void 0)return(0,g.useContext)(b2);const e=(0,g.useContext)(b2);return new Set([...e,t])},i$=(0,g.forwardRef)((({schema:t,name:e="",dependentRequired:r=[],onExpand:n=()=>{},identifier:o=""},s)=>{const b=va(),h=o||t?.$id||e,{path:E}=Ri(h),{isExpanded:k,setExpanded:T,setCollapsed:R}=gl(h),[F,z]=$s(),X=(()=>{const[Co]=$s();return Co>0})(),Z=b.isExpandable(t)||r.length>0,te=(Co=>Gx().has(Co))(t),ae=Gx(t),K=b.stringifyConstraints(t),Ae=Vt("Accordion"),fe=Vt("Keyword$schema"),me=Vt("Keyword$vocabulary"),xe=Vt("Keyword$id"),Se=Vt("Keyword$anchor"),Me=Vt("Keyword$dynamicAnchor"),Ne=Vt("Keyword$ref"),we=Vt("Keyword$dynamicRef"),ye=Vt("Keyword$defs"),ke=Vt("Keyword$comment"),Ie=Vt("KeywordAllOf"),De=Vt("KeywordAnyOf"),tt=Vt("KeywordOneOf"),Dt=Vt("KeywordNot"),$t=Vt("KeywordIf"),lr=Vt("KeywordThen"),vr=Vt("KeywordElse"),yr=Vt("KeywordDependentSchemas"),Or=Vt("KeywordPrefixItems"),pr=Vt("KeywordItems"),jt=Vt("KeywordContains"),Jt=Vt("KeywordProperties"),un=Vt("KeywordPatternProperties"),Yr=Vt("KeywordAdditionalProperties"),Zr=Vt("KeywordPropertyNames"),rn=Vt("KeywordUnevaluatedItems"),pa=Vt("KeywordUnevaluatedProperties"),ln=Vt("KeywordType"),Hr=Vt("KeywordEnum"),Yn=Vt("KeywordConst"),Rn=Vt("KeywordConstraint"),Bn=Vt("KeywordDependentRequired"),na=Vt("KeywordContentSchema"),vo=Vt("KeywordTitle"),Jn=Vt("KeywordDescription"),Ra=Vt("KeywordDefault"),Fo=Vt("KeywordDeprecated"),eo=Vt("KeywordReadOnly"),li=Vt("KeywordWriteOnly"),Kf=Vt("KeywordExamples"),du=Vt("ExtensionKeywords"),qs=Vt("ExpandDeepButton"),vl=(0,g.useCallback)(((Co,bl)=>{bl?T():R(),n(Co,bl,!1)}),[n,T,R]),Xl=(0,g.useCallback)(((Co,bl)=>{bl?T({deep:!0}):R({deep:!0}),n(Co,bl,!0)}),[n,T,R]);return g.createElement(ts.Provider,{value:E},g.createElement(Ls.Provider,{value:z},g.createElement(b2.Provider,{value:ae},g.createElement("article",{ref:s,"data-json-schema-level":F,className:On()("json-schema-2020-12",{"json-schema-2020-12--embedded":X,"json-schema-2020-12--circular":te})},g.createElement("div",{className:"json-schema-2020-12-head"},Z&&!te?g.createElement(g.Fragment,null,g.createElement(Ae,{expanded:k,onChange:vl},g.createElement(vo,{title:e,schema:t})),g.createElement(qs,{expanded:k,onClick:Xl})):g.createElement(vo,{title:e,schema:t}),g.createElement(Fo,{schema:t}),g.createElement(eo,{schema:t}),g.createElement(li,{schema:t}),g.createElement(ln,{schema:t,isCircular:te}),K.length>0&&K.map((Co=>g.createElement(Rn,{key:`${Co.scope}-${Co.value}`,constraint:Co})))),g.createElement("div",{className:On()("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!k})},k&&g.createElement(g.Fragment,null,g.createElement(Jn,{schema:t}),!te&&Z&&g.createElement(g.Fragment,null,g.createElement(Jt,{schema:t}),g.createElement(un,{schema:t}),g.createElement(Yr,{schema:t}),g.createElement(pa,{schema:t}),g.createElement(Zr,{schema:t}),g.createElement(Ie,{schema:t}),g.createElement(De,{schema:t}),g.createElement(tt,{schema:t}),g.createElement(Dt,{schema:t}),g.createElement($t,{schema:t}),g.createElement(lr,{schema:t}),g.createElement(vr,{schema:t}),g.createElement(yr,{schema:t}),g.createElement(Or,{schema:t}),g.createElement(pr,{schema:t}),g.createElement(rn,{schema:t}),g.createElement(jt,{schema:t}),g.createElement(na,{schema:t})),g.createElement(Hr,{schema:t}),g.createElement(Yn,{schema:t}),g.createElement(Bn,{schema:t,dependentRequired:r}),g.createElement(Ra,{schema:t}),g.createElement(Kf,{schema:t}),g.createElement(fe,{schema:t}),g.createElement(me,{schema:t}),g.createElement(xe,{schema:t}),g.createElement(Se,{schema:t}),g.createElement(Me,{schema:t}),g.createElement(Ne,{schema:t}),!te&&Z&&g.createElement(ye,{schema:t}),g.createElement(we,{schema:t}),g.createElement(ke,{schema:t}),g.createElement(du,{schema:t})))))))})),Yx=i$,Zx=({schema:t})=>t?.$schema?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$schema)):null,Xx=({schema:t})=>{const e="$vocabulary",{path:r}=Ri(e),{isExpanded:n,setExpanded:o,setCollapsed:s}=gl(e),b=Vt("Accordion"),h=(0,g.useCallback)((()=>{n?s():o()}),[n,o,s]);return t?.$vocabulary?typeof t.$vocabulary!="object"?null:g.createElement(ts.Provider,{value:r},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},g.createElement(b,{expanded:n,onChange:h},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),g.createElement("ul",null,n&&Object.entries(t.$vocabulary).map((([E,k])=>g.createElement("li",{key:E,className:On()("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!k})},g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},E))))))):null},Qx=({schema:t})=>t?.$id?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$id)):null,e3=({schema:t})=>t?.$anchor?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$anchor)):null,t3=({schema:t})=>t?.$dynamicAnchor?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicAnchor)):null,r3=({schema:t})=>t?.$ref?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$ref)):null,n3=({schema:t})=>t?.$dynamicRef?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicRef)):null,a3=({schema:t})=>{const e=t?.$defs||{},r="$defs",{path:n}=Ri(r),{isExpanded:o,setExpanded:s,setCollapsed:b}=gl(r),[h,E]=$s(),k=Vt("Accordion"),T=Vt("ExpandDeepButton"),R=Vt("JSONSchema"),F=(0,g.useCallback)((()=>{o?b():s()}),[o,s,b]),z=(0,g.useCallback)(((X,Z)=>{Z?s({deep:!0}):b({deep:!0})}),[s,b]);return Object.keys(e).length===0?null:g.createElement(ts.Provider,{value:n},g.createElement(Ls.Provider,{value:E},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs","data-json-schema-level":h},g.createElement(k,{expanded:o,onChange:F},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),g.createElement(T,{expanded:o,onClick:z}),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&g.createElement(g.Fragment,null,Object.entries(e).map((([X,Z])=>g.createElement("li",{key:X,className:"json-schema-2020-12-property"},g.createElement(R,{name:X,schema:Z})))))))))},o3=({schema:t})=>t?.$comment?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$comment)):null,i3=({schema:t})=>{const e=t?.allOf||[],r=va(),n="allOf",{path:o}=Ri(n),{isExpanded:s,setExpanded:b,setCollapsed:h}=gl(n),[E,k]=$s(),T=Vt("Accordion"),R=Vt("ExpandDeepButton"),F=Vt("JSONSchema"),z=Vt("KeywordType"),X=(0,g.useCallback)((()=>{s?h():b()}),[s,b,h]),Z=(0,g.useCallback)(((te,ae)=>{ae?b({deep:!0}):h({deep:!0})}),[b,h]);return Array.isArray(e)&&e.length!==0?g.createElement(ts.Provider,{value:o},g.createElement(Ls.Provider,{value:k},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf","data-json-schema-level":E},g.createElement(T,{expanded:s,onChange:X},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),g.createElement(R,{expanded:s,onClick:Z}),g.createElement(z,{schema:{allOf:e}}),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&g.createElement(g.Fragment,null,e.map(((te,ae)=>g.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},g.createElement(F,{name:`#${ae} ${r.getTitle(te)}`,schema:te}))))))))):null},s3=({schema:t})=>{const e=t?.anyOf||[],r=va(),n="anyOf",{path:o}=Ri(n),{isExpanded:s,setExpanded:b,setCollapsed:h}=gl(n),[E,k]=$s(),T=Vt("Accordion"),R=Vt("ExpandDeepButton"),F=Vt("JSONSchema"),z=Vt("KeywordType"),X=(0,g.useCallback)((()=>{s?h():b()}),[s,b,h]),Z=(0,g.useCallback)(((te,ae)=>{ae?b({deep:!0}):h({deep:!0})}),[b,h]);return Array.isArray(e)&&e.length!==0?g.createElement(ts.Provider,{value:o},g.createElement(Ls.Provider,{value:k},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf","data-json-schema-level":E},g.createElement(T,{expanded:s,onChange:X},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),g.createElement(R,{expanded:s,onClick:Z}),g.createElement(z,{schema:{anyOf:e}}),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&g.createElement(g.Fragment,null,e.map(((te,ae)=>g.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},g.createElement(F,{name:`#${ae} ${r.getTitle(te)}`,schema:te}))))))))):null},l3=({schema:t})=>{const e=t?.oneOf||[],r=va(),n="oneOf",{path:o}=Ri(n),{isExpanded:s,setExpanded:b,setCollapsed:h}=gl(n),[E,k]=$s(),T=Vt("Accordion"),R=Vt("ExpandDeepButton"),F=Vt("JSONSchema"),z=Vt("KeywordType"),X=(0,g.useCallback)((()=>{s?h():b()}),[s,b,h]),Z=(0,g.useCallback)(((te,ae)=>{ae?b({deep:!0}):h({deep:!0})}),[b,h]);return Array.isArray(e)&&e.length!==0?g.createElement(ts.Provider,{value:o},g.createElement(Ls.Provider,{value:k},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf","data-json-schema-level":E},g.createElement(T,{expanded:s,onChange:X},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),g.createElement(R,{expanded:s,onClick:Z}),g.createElement(z,{schema:{oneOf:e}}),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&g.createElement(g.Fragment,null,e.map(((te,ae)=>g.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},g.createElement(F,{name:`#${ae} ${r.getTitle(te)}`,schema:te}))))))))):null},c3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"not"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},g.createElement(r,{name:n,schema:t.not,identifier:"not"}))},u3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"if"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},g.createElement(r,{name:n,schema:t.if,identifier:"if"}))},p3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"then"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},g.createElement(r,{name:n,schema:t.then,identifier:"then"}))},f3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"else"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},g.createElement(r,{name:n,schema:t.else,identifier:"else"}))},h3=({schema:t})=>{const e=t?.dependentSchemas||[],r="dependentSchemas",{path:n}=Ri(r),{isExpanded:o,setExpanded:s,setCollapsed:b}=gl(r),[h,E]=$s(),k=Vt("Accordion"),T=Vt("ExpandDeepButton"),R=Vt("JSONSchema"),F=(0,g.useCallback)((()=>{o?b():s()}),[o,s,b]),z=(0,g.useCallback)(((X,Z)=>{Z?s({deep:!0}):b({deep:!0})}),[s,b]);return typeof e!="object"||Object.keys(e).length===0?null:g.createElement(ts.Provider,{value:n},g.createElement(Ls.Provider,{value:E},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas","data-json-schema-level":h},g.createElement(k,{expanded:o,onChange:F},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),g.createElement(T,{expanded:o,onClick:z}),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&g.createElement(g.Fragment,null,Object.entries(e).map((([X,Z])=>g.createElement("li",{key:X,className:"json-schema-2020-12-property"},g.createElement(R,{name:X,schema:Z})))))))))},d3=({schema:t})=>{const e=t?.prefixItems||[],r=va(),n="prefixItems",{path:o}=Ri(n),{isExpanded:s,setExpanded:b,setCollapsed:h}=gl(n),[E,k]=$s(),T=Vt("Accordion"),R=Vt("ExpandDeepButton"),F=Vt("JSONSchema"),z=Vt("KeywordType"),X=(0,g.useCallback)((()=>{s?h():b()}),[s,b,h]),Z=(0,g.useCallback)(((te,ae)=>{ae?b({deep:!0}):h({deep:!0})}),[b,h]);return Array.isArray(e)&&e.length!==0?g.createElement(ts.Provider,{value:o},g.createElement(Ls.Provider,{value:k},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems","data-json-schema-level":E},g.createElement(T,{expanded:s,onChange:X},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),g.createElement(R,{expanded:s,onClick:Z}),g.createElement(z,{schema:{prefixItems:e}}),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&g.createElement(g.Fragment,null,e.map(((te,ae)=>g.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},g.createElement(F,{name:`#${ae} ${r.getTitle(te)}`,schema:te}))))))))):null},m3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"items"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},g.createElement(r,{name:n,schema:t.items,identifier:"items"}))},g3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"contains"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},g.createElement(r,{name:n,schema:t.contains,identifier:"contains"}))},y3=({schema:t})=>{const e=va(),r=t?.properties||{},n=Array.isArray(t?.required)?t.required:[],o=Vt("JSONSchema"),{path:s}=Ri("properties");return Object.keys(r).length===0?null:g.createElement(ts.Provider,{value:s},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},g.createElement("ul",null,Object.entries(r).map((([b,h])=>{const E=n.includes(b),k=e.getDependentRequired(b,t);return g.createElement("li",{key:b,className:On()("json-schema-2020-12-property",{"json-schema-2020-12-property--required":E})},g.createElement(o,{name:b,schema:h,dependentRequired:k}))})))))},v3=({schema:t})=>{const e=t?.patternProperties||{},r=Vt("JSONSchema"),{path:n}=Ri("patternProperties");return Object.keys(e).length===0?null:g.createElement(ts.Provider,{value:n},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},g.createElement("ul",null,Object.entries(e).map((([o,s])=>g.createElement("li",{key:o,className:"json-schema-2020-12-property"},g.createElement(r,{name:o,schema:s})))))))},b3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"additionalProperties"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},t.additionalProperties===!0?g.createElement(g.Fragment,null,n,g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):t.additionalProperties===!1?g.createElement(g.Fragment,null,n,g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):g.createElement(r,{name:n,schema:t.additionalProperties,identifier:"additionalProperties"}))},_3=({schema:t})=>{const e=va(),r=Vt("JSONSchema"),n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names");return e.hasKeyword(t,"propertyNames")?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},g.createElement(r,{name:n,schema:t.propertyNames,identifier:"propertyNames"})):null},w3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"unevaluatedItems"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},g.createElement(r,{name:n,schema:t.unevaluatedItems,identifier:"unevaluatedItems"}))},E3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"unevaluatedProperties"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},g.createElement(r,{name:n,schema:t.unevaluatedProperties,identifier:"unevaluatedProperties"}))},S3=({schema:t,isCircular:e=!1})=>{const r=va().getType(t),n=e?" [circular]":"";return g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},`${r}${n}`)},x3=({schema:t})=>{const e=Vt("JSONViewer");return Array.isArray(t?.enum)?g.createElement(e,{name:"Enum",value:t.enum,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"}):null},A3=({schema:t})=>{const e=va(),r=Vt("JSONViewer");return e.hasKeyword(t,"const")?g.createElement(r,{name:"Const",value:t.const,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"}):null},O3=t=>typeof t=="string"?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:t,k3=t=>(e,{lookup:r="extended"}={})=>{const n=t();if(e?.title!=null)return n.upperFirst(String(e.title));if(r==="extended"){if(e?.$anchor!=null)return n.upperFirst(String(e.$anchor));if(e?.$id!=null)return String(e.$id)}return""},C3=t=>{const e=(r,n=new WeakSet)=>{const o=t();if(r==null)return"any";if(o.isBooleanJSONSchema(r))return r?"any":"never";if(typeof r!="object"||n.has(r))return"any";n.add(r);const{type:s,prefixItems:b,items:h}=r,E=()=>{if(Array.isArray(b)){const R=b.map((z=>e(z,n))),F=h?e(h,n):"any";return`array<[${R.join(", ")}], ${F}>`}return h?`array<${e(h,n)}>`:"array<any>"};if(r.not&&e(r.not)==="any")return"never";const k=(R,F)=>Array.isArray(r[R])?`(${r[R].map((z=>e(z,n))).join(F)})`:null,T=[Array.isArray(s)?s.map((R=>R==="array"?E():R)).join(" | "):s==="array"?E():["null","boolean","object","array","number","integer","string"].includes(s)?s:(()=>{if(Object.hasOwn(r,"prefixItems")||Object.hasOwn(r,"items")||Object.hasOwn(r,"contains"))return E();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})(),k("oneOf"," | "),k("anyOf"," | "),k("allOf"," & ")].filter(Boolean).join(" | ");return n.delete(r),T||"any"};return e},j3=t=>typeof t=="boolean",I3=(t,e)=>t!==null&&typeof t=="object"&&Object.hasOwn(t,e),P3=t=>e=>{const r=t();return e?.$schema||e?.$vocabulary||e?.$id||e?.$anchor||e?.$dynamicAnchor||e?.$ref||e?.$dynamicRef||e?.$defs||e?.$comment||e?.allOf||e?.anyOf||e?.oneOf||r.hasKeyword(e,"not")||r.hasKeyword(e,"if")||r.hasKeyword(e,"then")||r.hasKeyword(e,"else")||e?.dependentSchemas||e?.prefixItems||r.hasKeyword(e,"items")||r.hasKeyword(e,"contains")||e?.properties||e?.patternProperties||r.hasKeyword(e,"additionalProperties")||r.hasKeyword(e,"propertyNames")||r.hasKeyword(e,"unevaluatedItems")||r.hasKeyword(e,"unevaluatedProperties")||e?.description||e?.enum||r.hasKeyword(e,"const")||r.hasKeyword(e,"contentSchema")||r.hasKeyword(e,"default")||e?.examples||r.getExtensionKeywords(e).length>0},T3=t=>t===null||["number","bigint","boolean"].includes(typeof t)?String(t):Array.isArray(t)?`[${t.map(T3).join(", ")}]`:JSON.stringify(t),b0=(t,e,r)=>{const n=typeof e=="number",o=typeof r=="number";return n&&o?e===r?`${e} ${t}`:`[${e}, ${r}] ${t}`:n?`≥ ${e} ${t}`:o?`≤ ${r} ${t}`:null},s$=t=>{const e=[],r=(E=>{if(typeof E?.multipleOf!="number"||E.multipleOf<=0||E.multipleOf===1)return null;const{multipleOf:k}=E;if(Number.isInteger(k))return`multiple of ${k}`;const T=10**k.toString().split(".")[1].length;return`multiple of ${k*T}/${T}`})(t);r!==null&&e.push({scope:"number",value:r});const n=(E=>{const k=E?.minimum,T=E?.maximum,R=E?.exclusiveMinimum,F=E?.exclusiveMaximum,z=typeof k=="number",X=typeof T=="number",Z=typeof R=="number",te=typeof F=="number",ae=Z&&(!z||k<R),K=te&&(!X||T>F);return(z||Z)&&(X||te)?`${ae?"(":"["}${ae?R:k}, ${K?F:T}${K?")":"]"}`:z||Z?`${ae?">":"≥"} ${ae?R:k}`:X||te?`${K?"<":"≤"} ${K?F:T}`:null})(t);n!==null&&e.push({scope:"number",value:n}),t?.format&&e.push({scope:"string",value:t.format});const o=b0("characters",t?.minLength,t?.maxLength);o!==null&&e.push({scope:"string",value:o}),t?.pattern&&e.push({scope:"string",value:`matches ${t?.pattern}`}),t?.contentMediaType&&e.push({scope:"string",value:`media type: ${t.contentMediaType}`}),t?.contentEncoding&&e.push({scope:"string",value:`encoding: ${t.contentEncoding}`});const s=b0(t?.uniqueItems?"unique items":"items",t?.minItems,t?.maxItems);s!==null&&e.push({scope:"array",value:s}),t?.uniqueItems&&!s&&e.push({scope:"array",value:"unique"});const b=b0("contained items",t?.minContains,t?.maxContains);b!==null&&e.push({scope:"array",value:b});const h=b0("properties",t?.minProperties,t?.maxProperties);return h!==null&&e.push({scope:"object",value:h}),e},l$=(t,e)=>e?.dependentRequired?Array.from(Object.entries(e.dependentRequired).reduce(((r,[n,o])=>(Array.isArray(o)&&o.includes(t)&&r.add(n),r)),new Set)):[],_0=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)&&(Object.getPrototypeOf(t)===null||Object.getPrototypeOf(t)===Object.prototype),N3=()=>["$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"],M3=t=>e=>{const r=t().getSchemaKeywords();return _0(e)?((n,o)=>{const s=new Set(o);return n.filter((b=>!s.has(b)))})(Object.keys(e),r):[]},c$=(t,e)=>{const r=ee.Map.isMap(t);if(!r&&!_0(t))return!1;const n=s=>e===s||Array.isArray(e)&&e.includes(s),o=r?t.get("type"):t.type;return ee.List.isList(o)||Array.isArray(o)?o.some((s=>n(s))):n(o)},u$=({constraint:t})=>_0(t)&&typeof t.scope=="string"&&typeof t.value=="string"?g.createElement("span",{className:`json-schema-2020-12__constraint json-schema-2020-12__constraint--${t.scope}`},t.value):null,R3=g.memo(u$),D3=({dependentRequired:t})=>Array.isArray(t)&&t.length!==0?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),g.createElement("ul",null,t.map((e=>g.createElement("li",{key:e},g.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},e)))))):null,B3=({schema:t})=>{const e=va(),r=Vt("JSONSchema");if(!e.hasKeyword(t,"contentSchema"))return null;const n=g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema");return g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},g.createElement(r,{name:n,schema:t.contentSchema,identifier:"contentSchema"}))},F3=({title:t="",schema:e})=>{const r=va(),n=t||r.getTitle(e);return n?g.createElement("div",{className:"json-schema-2020-12__title"},n):null},L3=({schema:t})=>t?.description?g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},g.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},t.description)):null,$3=({schema:t})=>{const e=va(),r=Vt("JSONViewer");return e.hasKeyword(t,"default")?g.createElement(r,{name:"Default",value:t.default,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"}):null},U3=({schema:t})=>t?.deprecated!==!0?null:g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),q3=({schema:t})=>t?.readOnly!==!0?null:g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),z3=({schema:t})=>t?.writeOnly!==!0?null:g.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),V3=({schema:t})=>{const e=t?.examples||[],r=Vt("JSONViewer");return Array.isArray(e)&&e.length!==0?g.createElement(r,{name:"Examples",value:t.examples,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--examples"}):null},W3=({schema:t})=>{const e=va(),r="ExtensionKeywords",{path:n}=Ri(r),{isExpanded:o,setExpanded:s,setCollapsed:b}=gl(r),[h,E]=$s(),k=Vt("Accordion"),T=Vt("ExpandDeepButton"),R=Vt("JSONViewer"),{showExtensionKeywords:F}=_2(),z=e.getExtensionKeywords(t),X=(0,g.useCallback)((()=>{o?b():s()}),[o,s,b]),Z=(0,g.useCallback)(((te,ae)=>{ae?s({deep:!0}):b({deep:!0})}),[s,b]);return F&&z.length!==0?g.createElement(ts.Provider,{value:n},g.createElement(Ls.Provider,{value:E},g.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--extension-keywords","data-json-schema-level":h},g.createElement(k,{expanded:o,onChange:X},g.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--extension"},"Extension Keywords")),g.createElement(T,{expanded:o,onClick:Z}),g.createElement("ul",{className:On()("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!o})},o&&g.createElement(g.Fragment,null,z.map((te=>g.createElement(R,{key:te,name:te,value:t[te],className:"json-schema-2020-12-json-viewer-extension-keyword"})))))))):null},w2=({name:t,value:e,className:r})=>{const n=va(),{path:o}=Ri(t),{isExpanded:s,setExpanded:b,setCollapsed:h}=gl(t),[E,k]=$s(),T=Vt("Accordion"),R=Vt("ExpandDeepButton"),F=typeof e=="string"||typeof e=="number"||typeof e=="bigint"||typeof e=="boolean"||typeof e=="symbol"||e==null,z=(te=>_0(te)&&Object.keys(te).length===0)(e)||(te=>Array.isArray(te)&&te.length===0)(e),X=(0,g.useCallback)((()=>{s?h():b()}),[s,b,h]),Z=(0,g.useCallback)(((te,ae)=>{ae?b({deep:!0}):h({deep:!0})}),[b,h]);return F?g.createElement("div",{className:On()("json-schema-2020-12-json-viewer",r)},g.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),g.createElement("span",{className:"json-schema-2020-12-json-viewer__value json-schema-2020-12-json-viewer__value--secondary"},n.stringify(e))):z?g.createElement("div",{className:On()("json-schema-2020-12-json-viewer",r)},g.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"empty array":"empty object")):g.createElement(ts.Provider,{value:o},g.createElement(Ls.Provider,{value:k},g.createElement("div",{className:On()("json-schema-2020-12-json-viewer",r),"data-json-schema-level":E},g.createElement(T,{expanded:s,onChange:X},g.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t)),g.createElement(R,{expanded:s,onClick:Z}),g.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"array":"object"),g.createElement("ul",{className:On()("json-schema-2020-12-json-viewer__children",{"json-schema-2020-12-json-viewer__children--collapsed":!s})},s&&g.createElement(g.Fragment,null,Array.isArray(e)?e.map(((te,ae)=>g.createElement("li",{key:`#${ae}`,className:"json-schema-2020-12-property"},g.createElement(w2,{name:`#${ae}`,value:te,className:r})))):Object.entries(e).map((([te,ae])=>g.createElement("li",{key:te,className:"json-schema-2020-12-property"},g.createElement(w2,{name:te,value:ae,className:r})))))))))},J3=w2,H3=({expanded:t=!1,children:e,onChange:r})=>{const n=Vt("ChevronRightIcon"),o=(0,g.useCallback)((s=>{r(s,!t)}),[t,r]);return g.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:o},g.createElement("div",{className:"json-schema-2020-12-accordion__children"},e),g.createElement("span",{className:On()("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":t,"json-schema-2020-12-accordion__icon--collapsed":!t})},g.createElement(n,null)))},K3=({expanded:t,onClick:e})=>{const r=(0,g.useCallback)((n=>{e(n,!t)}),[t,e]);return g.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:r},t?"Collapse all":"Expand all")},G3=()=>g.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},g.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"})),Y3=(t,e={})=>{const r={components:{JSONSchema:Yx,Keyword$schema:Zx,Keyword$vocabulary:Xx,Keyword$id:Qx,Keyword$anchor:e3,Keyword$dynamicAnchor:t3,Keyword$ref:r3,Keyword$dynamicRef:n3,Keyword$defs:a3,Keyword$comment:o3,KeywordAllOf:i3,KeywordAnyOf:s3,KeywordOneOf:l3,KeywordNot:c3,KeywordIf:u3,KeywordThen:p3,KeywordElse:f3,KeywordDependentSchemas:h3,KeywordPrefixItems:d3,KeywordItems:m3,KeywordContains:g3,KeywordProperties:y3,KeywordPatternProperties:v3,KeywordAdditionalProperties:b3,KeywordPropertyNames:_3,KeywordUnevaluatedItems:w3,KeywordUnevaluatedProperties:E3,KeywordType:S3,KeywordEnum:x3,KeywordConst:A3,KeywordConstraint:R3,KeywordDependentRequired:D3,KeywordContentSchema:B3,KeywordTitle:F3,KeywordDescription:L3,KeywordDefault:$3,KeywordDeprecated:U3,KeywordReadOnly:q3,KeywordWriteOnly:z3,KeywordExamples:V3,ExtensionKeywords:W3,JSONViewer:J3,Accordion:H3,ExpandDeepButton:K3,ChevronRightIcon:G3,...e.components},config:{default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,showExtensionKeywords:!0,...e.config},fn:{upperFirst:O3,getTitle:k3(va),getType:C3(va),isBooleanJSONSchema:j3,hasKeyword:I3,isExpandable:P3(va),stringify:T3,stringifyConstraints:s$,getDependentRequired:l$,getSchemaKeywords:N3,getExtensionKeywords:M3(va),...e.fn},state:{paths:{}}},n=o=>g.createElement(hp.Provider,{value:r},g.createElement(t,o));return n.contexts={JSONSchemaContext:hp},n.displayName=t.displayName,n},p$=({getSystem:t})=>(e,r={})=>{const{getComponent:n,getConfigs:o}=t(),s=o(),b=n("JSONSchema202012"),h=n("JSONSchema202012Keyword$schema"),E=n("JSONSchema202012Keyword$vocabulary"),k=n("JSONSchema202012Keyword$id"),T=n("JSONSchema202012Keyword$anchor"),R=n("JSONSchema202012Keyword$dynamicAnchor"),F=n("JSONSchema202012Keyword$ref"),z=n("JSONSchema202012Keyword$dynamicRef"),X=n("JSONSchema202012Keyword$defs"),Z=n("JSONSchema202012Keyword$comment"),te=n("JSONSchema202012KeywordAllOf"),ae=n("JSONSchema202012KeywordAnyOf"),K=n("JSONSchema202012KeywordOneOf"),Ae=n("JSONSchema202012KeywordNot"),fe=n("JSONSchema202012KeywordIf"),me=n("JSONSchema202012KeywordThen"),xe=n("JSONSchema202012KeywordElse"),Se=n("JSONSchema202012KeywordDependentSchemas"),Me=n("JSONSchema202012KeywordPrefixItems"),Ne=n("JSONSchema202012KeywordItems"),we=n("JSONSchema202012KeywordContains"),ye=n("JSONSchema202012KeywordProperties"),ke=n("JSONSchema202012KeywordPatternProperties"),Ie=n("JSONSchema202012KeywordAdditionalProperties"),De=n("JSONSchema202012KeywordPropertyNames"),tt=n("JSONSchema202012KeywordUnevaluatedItems"),Dt=n("JSONSchema202012KeywordUnevaluatedProperties"),$t=n("JSONSchema202012KeywordType"),lr=n("JSONSchema202012KeywordEnum"),vr=n("JSONSchema202012KeywordConst"),yr=n("JSONSchema202012KeywordConstraint"),Or=n("JSONSchema202012KeywordDependentRequired"),pr=n("JSONSchema202012KeywordContentSchema"),jt=n("JSONSchema202012KeywordTitle"),Jt=n("JSONSchema202012KeywordDescription"),un=n("JSONSchema202012KeywordDefault"),Yr=n("JSONSchema202012KeywordDeprecated"),Zr=n("JSONSchema202012KeywordReadOnly"),rn=n("JSONSchema202012KeywordWriteOnly"),pa=n("JSONSchema202012KeywordExamples"),ln=n("JSONSchema202012ExtensionKeywords"),Hr=n("JSONSchema202012JSONViewer"),Yn=n("JSONSchema202012Accordion"),Rn=n("JSONSchema202012ExpandDeepButton"),Bn=n("JSONSchema202012ChevronRightIcon");return Y3(e,{components:{JSONSchema:b,Keyword$schema:h,Keyword$vocabulary:E,Keyword$id:k,Keyword$anchor:T,Keyword$dynamicAnchor:R,Keyword$ref:F,Keyword$dynamicRef:z,Keyword$defs:X,Keyword$comment:Z,KeywordAllOf:te,KeywordAnyOf:ae,KeywordOneOf:K,KeywordNot:Ae,KeywordIf:fe,KeywordThen:me,KeywordElse:xe,KeywordDependentSchemas:Se,KeywordPrefixItems:Me,KeywordItems:Ne,KeywordContains:we,KeywordProperties:ye,KeywordPatternProperties:ke,KeywordAdditionalProperties:Ie,KeywordPropertyNames:De,KeywordUnevaluatedItems:tt,KeywordUnevaluatedProperties:Dt,KeywordType:$t,KeywordEnum:lr,KeywordConst:vr,KeywordConstraint:yr,KeywordDependentRequired:Or,KeywordContentSchema:pr,KeywordTitle:jt,KeywordDescription:Jt,KeywordDefault:un,KeywordDeprecated:Yr,KeywordReadOnly:Zr,KeywordWriteOnly:rn,KeywordExamples:pa,ExtensionKeywords:ln,JSONViewer:Hr,Accordion:Yn,ExpandDeepButton:Rn,ChevronRightIcon:Bn,...r.components},config:{showExtensionKeywords:s.showExtensions,...r.config},fn:{...r.fn}})},Z3=({getSystem:t,fn:e})=>{const r=()=>({upperFirst:e.upperFirst,...e.jsonSchema202012});return{components:{JSONSchema202012:Yx,JSONSchema202012Keyword$schema:Zx,JSONSchema202012Keyword$vocabulary:Xx,JSONSchema202012Keyword$id:Qx,JSONSchema202012Keyword$anchor:e3,JSONSchema202012Keyword$dynamicAnchor:t3,JSONSchema202012Keyword$ref:r3,JSONSchema202012Keyword$dynamicRef:n3,JSONSchema202012Keyword$defs:a3,JSONSchema202012Keyword$comment:o3,JSONSchema202012KeywordAllOf:i3,JSONSchema202012KeywordAnyOf:s3,JSONSchema202012KeywordOneOf:l3,JSONSchema202012KeywordNot:c3,JSONSchema202012KeywordIf:u3,JSONSchema202012KeywordThen:p3,JSONSchema202012KeywordElse:f3,JSONSchema202012KeywordDependentSchemas:h3,JSONSchema202012KeywordPrefixItems:d3,JSONSchema202012KeywordItems:m3,JSONSchema202012KeywordContains:g3,JSONSchema202012KeywordProperties:y3,JSONSchema202012KeywordPatternProperties:v3,JSONSchema202012KeywordAdditionalProperties:b3,JSONSchema202012KeywordPropertyNames:_3,JSONSchema202012KeywordUnevaluatedItems:w3,JSONSchema202012KeywordUnevaluatedProperties:E3,JSONSchema202012KeywordType:S3,JSONSchema202012KeywordEnum:x3,JSONSchema202012KeywordConst:A3,JSONSchema202012KeywordConstraint:R3,JSONSchema202012KeywordDependentRequired:D3,JSONSchema202012KeywordContentSchema:B3,JSONSchema202012KeywordTitle:F3,JSONSchema202012KeywordDescription:L3,JSONSchema202012KeywordDefault:$3,JSONSchema202012KeywordDeprecated:U3,JSONSchema202012KeywordReadOnly:q3,JSONSchema202012KeywordWriteOnly:z3,JSONSchema202012KeywordExamples:V3,JSONSchema202012ExtensionKeywords:W3,JSONSchema202012JSONViewer:J3,JSONSchema202012Accordion:H3,JSONSchema202012ExpandDeepButton:K3,JSONSchema202012ChevronRightIcon:G3,withJSONSchema202012Context:Y3,withJSONSchema202012SystemContext:p$(t()),JSONSchema202012PathContext:()=>ts,JSONSchema202012LevelContext:()=>Ls},fn:{upperFirst:O3,jsonSchema202012:{getTitle:k3(r),getType:C3(r),isExpandable:P3(r),isBooleanJSONSchema:j3,hasKeyword:I3,useFn:va,useConfig:_2,useComponent:Vt,useIsExpanded:gl,usePath:Ri,useLevel:$s,getSchemaKeywords:N3,getExtensionKeywords:M3(r),hasSchemaType:c$}}}},f$=(t,{sample:e=[]}={})=>((r,n={})=>{const{minItems:o,maxItems:s,uniqueItems:b}=n,{contains:h,minContains:E,maxContains:k}=n;let T=[...r];if(h!=null&&typeof h=="object"&&Number.isInteger(E)&&E>1){const R=T.at(0);for(let F=1;F<E;F+=1)T.unshift(R)}if(Number.isInteger(s)&&s>0&&(T=r.slice(0,s)),Number.isInteger(o)&&o>0)for(let R=0;T.length<o;R+=1)T.push(T[R%T.length]);return b===!0&&(T=Array.from(new Set(T))),T})(e,t),h$=()=>{throw new Error("Not implemented")},w0=t=>Zn()(t),E0=t=>t.at(0),dp=t=>typeof t=="boolean",yl=t=>Xi()(t),Cc=t=>dp(t)||yl(t),S0=class{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]}},X3=()=>0,Q3=()=>0,d$=()=>.1,m$=()=>.1,g$=()=>"user@example.com",y$=()=>"실례@example.com",v$=()=>"example.com",b$=()=>"실례.com",_$=()=>"198.51.100.42",w$=()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",E$=()=>"https://example.com/",S$=()=>"path/index.html",x$=()=>"https://실례.com/",A$=()=>"path/실례.html",O$=()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",k$=()=>"https://example.com/dictionary/{term:1}/{term}",C$=()=>"/a/b/c",j$=()=>"1/0",I$=()=>new Date().toISOString(),P$=()=>new Date().toISOString().substring(0,10),T$=()=>new Date().toISOString().substring(11),N$=()=>"P3D",M$=()=>"********",R$=()=>"^[a-z]+$",x0=new class extends S0{#e={int32:X3,int64:Q3,float:d$,double:m$,email:g$,"idn-email":y$,hostname:v$,"idn-hostname":b$,ipv4:_$,ipv6:w$,uri:E$,"uri-reference":S$,iri:x$,"iri-reference":A$,uuid:O$,"uri-template":k$,"json-pointer":C$,"relative-json-pointer":j$,"date-time":I$,date:P$,time:T$,duration:N$,password:M$,regex:R$};data={...this.#e};get defaults(){return{...this.#e}}},e4=(t,e)=>typeof e=="function"?x0.register(t,e):e===null?x0.unregister(t):x0.get(t);e4.getDefaults=()=>x0.defaults;const A0=e4;var D$=qe(48287).Buffer;const B$=t=>D$.from(t).toString("ascii");var F$=qe(48287).Buffer;const L$=t=>F$.from(t).toString("utf8");var $$=qe(48287).Buffer;const U$=t=>$$.from(t).toString("binary"),q$=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 o=unescape(encodeURIComponent(t.charAt(r)));for(let s=0;s<o.length;s++)e+="="+("0"+o.charCodeAt(s).toString(16)).slice(-2).toUpperCase()}else e+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return e};var z$=qe(48287).Buffer;const V$=t=>z$.from(t).toString("hex");var W$=qe(48287).Buffer;const J$=t=>{const e=W$.from(t).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let n=0,o="",s=0,b=0;for(let h=0;h<e.length;h++)for(s=s<<8|e.charCodeAt(h),b+=8;b>=5;)o+=r.charAt(s>>>b-5&31),b-=5;b>0&&(o+=r.charAt(s<<5-b&31),n=(8-8*e.length%5)%5);for(let h=0;h<n;h++)o+="=";return o};var H$=qe(48287).Buffer;const K$=t=>H$.from(t).toString("base64");var G$=qe(48287).Buffer;const Y$=t=>G$.from(t).toString("base64url"),O0=new class extends S0{#e={"7bit":B$,"8bit":L$,binary:U$,"quoted-printable":q$,base16:V$,base32:J$,base64:K$,base64url:Y$};data={...this.#e};get defaults(){return{...this.#e}}},t4=(t,e)=>typeof e=="function"?O0.register(t,e):e===null?O0.unregister(t):O0.get(t);t4.getDefaults=()=>O0.defaults;const r4=t4,Z$={"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"},X$={"image/*":()=>w0(25).toString("binary")},Q$={"audio/*":()=>w0(25).toString("binary")},eU={"video/*":()=>w0(25).toString("binary")},tU={"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/*":()=>w0(25).toString("binary")},Vf=new class extends S0{#e={...Z$,...X$,...Q$,...eU,...tU};data={...this.#e};get defaults(){return{...this.#e}}},n4=(t,e)=>{if(typeof e=="function")return Vf.register(t,e);if(e===null)return Vf.unregister(t);const r=t.split(";").at(0),n=`${r.split("/").at(0)}/*`;return Vf.get(t)||Vf.get(r)||Vf.get(n)};n4.getDefaults=()=>Vf.defaults;const a4=n4,E2=(t,e={})=>{const{maxLength:r,minLength:n}=e;let o=t;if(Number.isInteger(r)&&r>0&&(o=o.slice(0,r)),Number.isInteger(n)&&n>0){let s=0;for(;o.length<n;)o+=o[s++%o.length]}return o},rU=(t,{sample:e}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:o}=t,{pattern:s,format:b}=t,h=r4(r)||vS();let E;return E=typeof s=="string"?E2((k=>{try{const T=/(?<=(?<!\\)\{)(\d{3,})(?=\})|(?<=(?<!\\)\{\d*,)(\d{3,})(?=\})|(?<=(?<!\\)\{)(\d{3,})(?=,\d*\})/g,R=k.replace(T,"100"),F=new(mg())(R);return F.max=100,F.gen()}catch{return"string"}})(s),t):typeof b=="string"?(k=>{const{format:T}=k,R=A0(T);return typeof R=="function"?R(k):"string"})(t):Cc(o)&&typeof n=="string"&&e!==void 0?Array.isArray(e)||typeof e=="object"?JSON.stringify(e):E2(String(e),t):typeof n=="string"?(k=>{const{contentMediaType:T}=k,R=a4(T);return typeof R=="function"?R(k):"string"})(t):E2("string",t),h(E)},o4=(t,e={})=>{const{minimum:r,maximum:n,exclusiveMinimum:o,exclusiveMaximum:s}=e,{multipleOf:b}=e,h=Number.isInteger(t)?1:Number.EPSILON;let E=typeof r=="number"?r:null,k=typeof n=="number"?n:null,T=t;if(typeof o=="number"&&(E=E!==null?Math.max(E,o+h):o+h),typeof s=="number"&&(k=k!==null?Math.min(k,s-h):s-h),T=E>k&&t||E||k||T,typeof b=="number"&&b>0){const R=T%b;T=R===0?T:T+b-R}return T},nU=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:o}=n,s=A0(o);return typeof s=="function"?s(n):0})(t):0,o4(r,t)},aU=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:o}=n,s=A0(o);if(typeof s=="function")return s(n);switch(o){case"int32":return X3();case"int64":return Q3()}return 0})(t):0,o4(r,t)},oU=t=>typeof t.default!="boolean"||t.default,k0=new Proxy({array:f$,object:h$,string:rU,number:nU,integer:aU,boolean:oU,null:()=>null},{get:(t,e)=>typeof e=="string"&&Object.hasOwn(t,e)?t[e]:()=>`Unknown Type: ${e}`}),i4=["array","object","number","integer","string","boolean","null"],Nm=t=>{if(!yl(t))return!1;const{examples:e,example:r,default:n}=t;return!!(Array.isArray(e)&&e.length>=1)||n!==void 0||r!==void 0},S2=t=>{if(!yl(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},C0={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"]};C0.number=C0.integer;const x2="string",s4=t=>t===void 0?null:t===null?"null":Array.isArray(t)?"array":Number.isInteger(t)?"integer":typeof t,j0=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=E0(e.length>0?e:t);if(i4.includes(r))return r}}return i4.includes(t)?t:null},A2=(t,e=new WeakSet)=>{if(!yl(t)||e.has(t))return x2;e.add(t);let{type:r,const:n}=t;if(r=j0(r),typeof r!="string"){const o=Object.keys(C0);e:for(let s=0;s<o.length;s+=1){const b=o[s],h=C0[b];for(let E=0;E<h.length;E+=1){const k=h[E];if(Object.hasOwn(t,k)){r=b;break e}}}}if(typeof r!="string"&&n!==void 0){const o=s4(n);r=typeof o=="string"?o:r}if(typeof r!="string"){const o=k=>{if(Array.isArray(t[k])){const T=t[k].map((R=>A2(R,e)));return j0(T)}return null},s=o("allOf"),b=o("anyOf"),h=o("oneOf"),E=t.not?A2(t.not,e):null;(s||b||h||E)&&(r=j0([s,b,h,E].filter(Boolean)))}if(typeof r!="string"&&Nm(t)){const o=S2(t),s=s4(o);r=typeof s=="string"?s:r}return e.delete(t),r||x2},l4=t=>A2(t),O2=t=>dp(t)?(e=>e===!1?{not:{}}:{})(t):yl(t)?t:{},Mm=(t,e,r={})=>{if(dp(t)&&t===!0)return!0;if(dp(t)&&t===!1)return!1;if(dp(e)&&e===!0)return!0;if(dp(e)&&e===!1)return!1;if(!Cc(t))return e;if(!Cc(e))return t;const n={...e,...t};if(e.type&&t.type&&Array.isArray(e.type)&&typeof e.type=="string"){const o=Dn(e.type).concat(t.type);n.type=Array.from(new Set(o))}if(Array.isArray(e.required)&&Array.isArray(t.required)&&(n.required=[...new Set([...t.required,...e.required])]),e.properties&&t.properties){const o=new Set([...Object.keys(e.properties),...Object.keys(t.properties)]);n.properties={};for(const s of o){const b=e.properties[s]||{},h=t.properties[s]||{};b.readOnly&&!r.includeReadOnly||b.writeOnly&&!r.includeWriteOnly?n.required=(n.required||[]).filter((E=>E!==s)):n.properties[s]=Mm(h,b,r)}}return Cc(e.items)&&Cc(t.items)&&(n.items=Mm(t.items,e.items,r)),Cc(e.contains)&&Cc(t.contains)&&(n.contains=Mm(t.contains,e.contains,r)),Cc(e.contentSchema)&&Cc(t.contentSchema)&&(n.contentSchema=Mm(t.contentSchema,e.contentSchema,r)),n},Wf=Mm,Bo=(t,e={},r=void 0,n=!1)=>{if(t==null&&r===void 0)return;typeof t?.toJS=="function"&&(t=t.toJS()),t=O2(t);let o=r!==void 0||Nm(t);const s=!o&&Array.isArray(t.oneOf)&&t.oneOf.length>0,b=!o&&Array.isArray(t.anyOf)&&t.anyOf.length>0;if(!o&&(s||b)){const ye=O2(E0(s?t.oneOf:t.anyOf));!(t=Wf(t,ye,e)).xml&&ye.xml&&(t.xml=ye.xml),Nm(t)&&Nm(ye)&&(o=!0)}const h={};let{xml:E,properties:k,additionalProperties:T,items:R,contains:F}=t||{},z=l4(t),{includeReadOnly:X,includeWriteOnly:Z}=e;E=E||{};let te,{name:ae,prefix:K,namespace:Ae}=E,fe={};Object.hasOwn(t,"type")||(t.type=z),n&&(ae=ae||"notagname",te=(K?`${K}:`:"")+ae,Ae)&&(h[K?`xmlns:${K}`:"xmlns"]=Ae),n&&(fe[te]=[]);const me=wn(k);let xe,Se=0;const Me=()=>Number.isInteger(t.maxProperties)&&t.maxProperties>0&&Se>=t.maxProperties,Ne=ye=>!(Number.isInteger(t.maxProperties)&&t.maxProperties>0)||!Me()&&(!(ke=>!Array.isArray(t.required)||t.required.length===0||!t.required.includes(ke))(ye)||t.maxProperties-Se-(()=>{if(!Array.isArray(t.required)||t.required.length===0)return 0;let ke=0;return n?t.required.forEach((Ie=>ke+=fe[Ie]===void 0?0:1)):t.required.forEach((Ie=>{ke+=fe[te]?.find((De=>De[Ie]!==void 0))===void 0?0:1})),t.required.length-ke})()>0);if(xe=n?(ye,ke=void 0)=>{if(t&&me[ye]){if(me[ye].xml=me[ye].xml||{},me[ye].xml.attribute){const De=Array.isArray(me[ye].enum)?E0(me[ye].enum):void 0;if(Nm(me[ye]))h[me[ye].xml.name||ye]=S2(me[ye]);else if(De!==void 0)h[me[ye].xml.name||ye]=De;else{const tt=O2(me[ye]),Dt=l4(tt),$t=me[ye].xml.name||ye;if(Dt==="array"){const lr=Bo(me[ye],e,ke,!1);h[$t]=lr.map((vr=>Xi()(vr)?"UnknownTypeObject":Array.isArray(vr)?"UnknownTypeArray":vr)).join(" ")}else h[$t]=Dt==="object"?"UnknownTypeObject":k0[Dt](tt)}return}me[ye].xml.name=me[ye].xml.name||ye}else me[ye]||T===!1||(me[ye]={xml:{name:ye}});let Ie=Bo(me[ye],e,ke,n);Ne(ye)&&(Se++,Array.isArray(Ie)?fe[te]=fe[te].concat(Ie):fe[te].push(Ie))}:(ye,ke)=>{if(Ne(ye)){if(Xi()(t.discriminator?.mapping)&&t.discriminator.propertyName===ye&&typeof t.$$ref=="string"){for(const Ie in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[Ie])!==-1){fe[ye]=Ie;break}}else fe[ye]=Bo(me[ye],e,ke,n);Se++}},o){let ye;if(ye=r!==void 0?r:S2(t),!n){if(typeof ye=="number"&&z==="string")return`${ye}`;if(typeof ye!="string"||z==="string")return ye;try{return JSON.parse(ye)}catch{return ye}}if(z==="array"){if(!Array.isArray(ye)){if(typeof ye=="string")return ye;ye=[ye]}let ke=[];return yl(R)&&(R.xml=R.xml||E||{},R.xml.name=R.xml.name||E.name,ke=ye.map((Ie=>Bo(R,e,Ie,n)))),yl(F)&&(F.xml=F.xml||E||{},F.xml.name=F.xml.name||E.name,ke=[Bo(F,e,void 0,n),...ke]),ke=k0.array(t,{sample:ke}),E.wrapped?(fe[te]=ke,us()(h)||fe[te].push({_attr:h})):fe=ke,fe}if(z==="object"){if(typeof ye=="string")return ye;for(const ke in ye)Object.hasOwn(ye,ke)&&(me[ke]?.readOnly&&!X||me[ke]?.writeOnly&&!Z||(me[ke]?.xml?.attribute?h[me[ke].xml.name||ke]=ye[ke]:xe(ke,ye[ke])));return us()(h)||fe[te].push({_attr:h}),fe}return fe[te]=us()(h)?ye:[{_attr:h},ye],fe}if(z==="array"){let ye=[];if(yl(F))if(n&&(F.xml=F.xml||t.xml||{},F.xml.name=F.xml.name||E.name),Array.isArray(F.anyOf)){const{anyOf:ke,...Ie}=R;ye.push(...F.anyOf.map((De=>Bo(Wf(De,Ie,e),e,void 0,n))))}else if(Array.isArray(F.oneOf)){const{oneOf:ke,...Ie}=R;ye.push(...F.oneOf.map((De=>Bo(Wf(De,Ie,e),e,void 0,n))))}else{if(!(!n||n&&E.wrapped))return Bo(F,e,void 0,n);ye.push(Bo(F,e,void 0,n))}if(yl(R))if(n&&(R.xml=R.xml||t.xml||{},R.xml.name=R.xml.name||E.name),Array.isArray(R.anyOf)){const{anyOf:ke,...Ie}=R;ye.push(...R.anyOf.map((De=>Bo(Wf(De,Ie,e),e,void 0,n))))}else if(Array.isArray(R.oneOf)){const{oneOf:ke,...Ie}=R;ye.push(...R.oneOf.map((De=>Bo(Wf(De,Ie,e),e,void 0,n))))}else{if(!(!n||n&&E.wrapped))return Bo(R,e,void 0,n);ye.push(Bo(R,e,void 0,n))}return ye=k0.array(t,{sample:ye}),n&&E.wrapped?(fe[te]=ye,us()(h)||fe[te].push({_attr:h}),fe):ye}if(z==="object"){for(let ye in me)Object.hasOwn(me,ye)&&(me[ye]?.deprecated||me[ye]?.readOnly&&!X||me[ye]?.writeOnly&&!Z||xe(ye));if(n&&h&&fe[te].push({_attr:h}),Me())return fe;if(dp(T)&&T)n?fe[te].push({additionalProp:"Anything can be here"}):fe.additionalProp1={},Se++;else if(yl(T)){const ye=T,ke=Bo(ye,e,void 0,n);if(n&&typeof ye?.xml?.name=="string"&&ye?.xml?.name!=="notagname")fe[te].push(ke);else{const Ie=ye?.["x-additionalPropertiesName"]||"additionalProp",De=Number.isInteger(t.minProperties)&&t.minProperties>0&&Se<t.minProperties?t.minProperties-Se:3;for(let tt=1;tt<=De;tt++){if(Me())return fe;if(n){const Dt={};Dt[Ie+tt]=ke.notagname,fe[te].push(Dt)}else fe[Ie+tt]=ke;Se++}}}return fe}let we;if(t.const!==void 0)we=t.const;else if(t&&Array.isArray(t.enum))we=E0(Dn(t.enum));else{const ye=yl(t.contentSchema)?Bo(t.contentSchema,e,void 0,n):void 0;we=k0[z](t,{sample:ye})}return n?(fe[te]=us()(h)?we:[{_attr:h},we],fe):we},c4=(t,e,r)=>{const n=Bo(t,e,r,!0);if(n)return typeof n=="string"?n:Rp()(n,{declaration:!0,indent:" "})},u4=(t,e,r)=>Bo(t,e,r,!1),p4=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],iU=Du(c4,p4),sU=Du(u4,p4),f4=new class extends S0{#e={};data={...this.#e};get defaults(){return{...this.#e}}},lU=(t,e)=>(e!==void 0&&f4.register(t,e),f4.get(t)),cU=[{when:/json/,shouldStringifyTypes:["string"]}],uU=["object"],pU=t=>(e,r,n,o)=>{const{fn:s}=t(),b=s.jsonSchema202012.memoizedSampleFromSchema(e,r,o),h=typeof b,E=cU.reduce(((k,T)=>T.when.test(n)?[...k,...T.shouldStringifyTypes]:k),uU);return kn()(E,(k=>k===h))?JSON.stringify(b,null,2):b},fU=t=>(e,r,n,o)=>{const{fn:s}=t(),b=s.jsonSchema202012.getJsonSampleSchema(e,r,n,o);let h;try{h=xo.dump(xo.load(b),{lineWidth:-1},{schema:Ji}),h[h.length-1]===`
|
||
`&&(h=h.slice(0,h.length-1))}catch(E){return console.error(E),"error: could not generate yaml example"}return h.replace(/\t/g," ")},hU=t=>(e,r,n)=>{const{fn:o}=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 s=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=s[1]}}return o.jsonSchema202012.memoizedCreateXMLExample(e,r,n)},dU=t=>(e,r="",n={},o=void 0)=>{const{fn:s}=t();return typeof e?.toJS=="function"&&(e=e.toJS()),typeof o?.toJS=="function"&&(o=o.toJS()),/xml/.test(r)?s.jsonSchema202012.getXmlSampleSchema(e,n,o):/(yaml|yml)/.test(r)?s.jsonSchema202012.getYamlSampleSchema(e,n,r,o):s.jsonSchema202012.getJsonSampleSchema(e,n,r,o)},h4=({getSystem:t})=>{const e=pU(t),r=fU(t),n=hU(t),o=dU(t);return{fn:{jsonSchema202012:{sampleFromSchema:u4,sampleFromSchemaGeneric:Bo,sampleOptionAPI:lU,sampleEncoderAPI:r4,sampleFormatAPI:A0,sampleMediaTypeAPI:a4,createXMLExample:c4,memoizedSampleFromSchema:sU,memoizedCreateXMLExample:iU,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:o,mergeJsonSchema:Wf,foldType:j0}}}};function d4(){return[Ux,m2,Z3,h4,n$]}const mU=t=>()=>({fn:t.fn,components:t.components}),gU=t=>{const e=st()({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}},yU=()=>t=>{const e=t.queryConfigEnabled?(()=>{const r=new URLSearchParams(yt.location.search);return Object.fromEntries(r)})():{};return Object.entries(e).reduce(((r,[n,o])=>(n==="config"?r.configUrl=o:n==="urls.primaryName"?r[n]=o:r=Xo()(r,n,o),r)),{})},vU=({url:t,system:e})=>async r=>{if(!t)return{};if(typeof e.configsActions?.getConfigByUrl!="function")return{};const n=(()=>{const o={};return o.promise=new Promise(((s,b)=>{o.resolve=s,o.reject=b})),o})();return e.configsActions.getConfigByUrl({url:t,loadRemoteConfig:!0,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor},(o=>{n.resolve(o)})),n.promise},bU=()=>()=>{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},qa=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:[d4],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 _U=qe(61448),wU=qe.n(_U),EU=qe(77731),SU=qe.n(EU);const I0=(t,e=[])=>Array.isArray(t)?t:e,Us=(t,e=!1)=>t===!0||t==="true"||t===1||t==="1"||t!==!1&&t!=="false"&&t!==0&&t!=="0"&&e,xU=t=>t===null||t==="null"?null:t,AU=t=>{const e=String(t);return Us(t,e)},m4=(t,e)=>typeof t=="function"?t:e,OU=t=>Array.isArray(t)?t:null,P0=t=>typeof t=="function"?t:null,k2=t=>t===null||t==="null"?null:String(t),C2=(t,e=-1)=>{const r=parseInt(t,10);return Number.isNaN(r)?e:r},Jf=(t,e={})=>Xi()(t)?t:e,g4=t=>typeof t=="function"||typeof t=="string"?t:null,Hf=t=>String(t),kU=(t,e)=>Xi()(t)?t:t===!1||t==="false"||t===0||t==="0"?{activated:!1}:e,CU=t=>t===void 0||t==="undefined"?void 0:String(t),y4={components:{typeCaster:Jf},configs:{typeCaster:Jf},configUrl:{typeCaster:k2},deepLinking:{typeCaster:Us,defaultValue:qa.deepLinking},defaultModelExpandDepth:{typeCaster:C2,defaultValue:qa.defaultModelExpandDepth},defaultModelRendering:{typeCaster:Hf},defaultModelsExpandDepth:{typeCaster:C2,defaultValue:qa.defaultModelsExpandDepth},displayOperationId:{typeCaster:Us,defaultValue:qa.displayOperationId},displayRequestDuration:{typeCaster:Us,defaultValue:qa.displayRequestDuration},docExpansion:{typeCaster:Hf},dom_id:{typeCaster:k2},domNode:{typeCaster:xU},fileUploadMediaTypes:{typeCaster:I0,defaultValue:qa.fileUploadMediaTypes},filter:{typeCaster:AU},fn:{typeCaster:Jf},initialState:{typeCaster:Jf},layout:{typeCaster:Hf},maxDisplayedTags:{typeCaster:C2,defaultValue:qa.maxDisplayedTags},modelPropertyMacro:{typeCaster:P0},oauth2RedirectUrl:{typeCaster:CU},onComplete:{typeCaster:P0},operationsSorter:{typeCaster:g4},paramaterMacro:{typeCaster:P0},persistAuthorization:{typeCaster:Us,defaultValue:qa.persistAuthorization},plugins:{typeCaster:I0,defaultValue:qa.plugins},presets:{typeCaster:I0,defaultValue:qa.presets},requestInterceptor:{typeCaster:m4,defaultValue:qa.requestInterceptor},requestSnippets:{typeCaster:Jf,defaultValue:qa.requestSnippets},requestSnippetsEnabled:{typeCaster:Us,defaultValue:qa.requestSnippetsEnabled},responseInterceptor:{typeCaster:m4,defaultValue:qa.responseInterceptor},showCommonExtensions:{typeCaster:Us,defaultValue:qa.showCommonExtensions},showExtensions:{typeCaster:Us,defaultValue:qa.showExtensions},showMutatedRequest:{typeCaster:Us,defaultValue:qa.showMutatedRequest},spec:{typeCaster:Jf,defaultValue:qa.spec},supportedSubmitMethods:{typeCaster:I0,defaultValue:qa.supportedSubmitMethods},syntaxHighlight:{typeCaster:kU,defaultValue:qa.syntaxHighlight},"syntaxHighlight.activated":{typeCaster:Us,defaultValue:qa.syntaxHighlight.activated},"syntaxHighlight.theme":{typeCaster:Hf},tagsSorter:{typeCaster:g4},tryItOutEnabled:{typeCaster:Us,defaultValue:qa.tryItOutEnabled},url:{typeCaster:Hf},urls:{typeCaster:OU},"urls.primaryName":{typeCaster:Hf},validatorUrl:{typeCaster:k2},withCredentials:{typeCaster:Us,defaultValue:qa.withCredentials},uncaughtExceptionHandler:{typeCaster:P0}},v4=t=>Object.entries(y4).reduce(((e,[r,{typeCaster:n,defaultValue:o}])=>{if(wU()(e,r)){const s=n(Vo()(e,r),o);e=SU()(r,s,e)}return e}),{...t}),jU=(t,...e)=>{let r=Symbol.for("domNode"),n=Symbol.for("primaryName");const o=[];for(const b of e){const h={...b};Object.hasOwn(h,"domNode")&&(r=h.domNode,delete h.domNode),Object.hasOwn(h,"urls.primaryName")?(n=h["urls.primaryName"],delete h["urls.primaryName"]):Array.isArray(h.urls)&&Object.hasOwn(h.urls,"primaryName")&&(n=h.urls.primaryName,delete h.urls.primaryName),o.push(h)}const s=st()(t,...o);return r!==Symbol.for("domNode")&&(s.domNode=r),n!==Symbol.for("primaryName")&&Array.isArray(s.urls)&&(s.urls.primaryName=n),v4(s)};function hu(t){const e=yU()(t),r=bU()(),n=hu.config.merge({},hu.config.defaults,r,t,e),o=gU(n),s=mU(n),b=new bo(o);b.register([n.plugins,s]);const h=b.getSystem(),E=R=>{b.setConfigs(R),h.configsActions.loaded()},k=R=>{!e.url&&typeof R.spec=="object"&&Object.keys(R.spec).length>0?(h.specActions.updateUrl(""),h.specActions.updateLoadingStatus("success"),h.specActions.updateSpec(JSON.stringify(R.spec))):typeof h.specActions.download=="function"&&R.url&&!R.urls&&(h.specActions.updateUrl(R.url),h.specActions.download(R.url))},T=R=>{if(R.domNode)h.render(R.domNode,"App");else if(R.dom_id){const F=document.querySelector(R.dom_id);h.render(F,"App")}else R.dom_id===null||R.domNode===null||console.error("Skipped rendering: no `dom_id` or `domNode` was specified")};return n.configUrl?((async()=>{const{configUrl:R}=n,F=await vU({url:R,system:h})(n),z=hu.config.merge({},n,F,e);E(z),F!==null&&k(z),T(z)})(),h):(E(n),k(n),T(n),h)}hu.System=bo,hu.config={defaults:qa,merge:jU,typeCast:v4,typeCastMappings:y4},hu.presets={base:Ux,apis:d4},hu.plugins={Auth:Ee,Configs:ch,DeepLining:Cl,Err:hh,Filter:dh,Icons:Au,JSONSchema5:Mp,JSONSchema5Samples:qp,JSONSchema202012:Z3,JSONSchema202012Samples:h4,Layout:Os,Logs:Zs,OpenAPI30:m2,OpenAPI31:m2,OnComplete:bh,RequestSnippets:ao,Spec:Wu,SwaggerClient:aS,Util:oS,View:wS,ViewLegacy:ES,DownloadUrl:SS,SyntaxHighlighting:BS,Versions:FS,SafeRender:US};const IU=hu})(),yu=yu.default})()))})(D0)),D0.exports}var B0={exports:{}};var LU=B0.exports,N4;function $U(){return N4||(N4=1,(function(mu,F0){(function(gu,qe){mu.exports=qe()})(LU,(()=>(()=>{var Qf={2:(m,A,a)=>{var c=a(2199),v=a(4664),d=a(5950);m.exports=function(f){return c(f,d,v)}},41:(m,A,a)=>{var c=a(655),v=a(8068),d=a(9675),y=a(5795);m.exports=function(p,w,x){if(!p||typeof p!="object"&&typeof p!="function")throw new d("`obj` must be an object or a function`");if(typeof w!="string"&&typeof w!="symbol")throw new d("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new d("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new d("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new d("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new d("`loose`, if provided, must be a boolean");var O=arguments.length>3?arguments[3]:null,j=arguments.length>4?arguments[4]:null,I=arguments.length>5?arguments[5]:null,M=arguments.length>6&&arguments[6],$=!!y&&y(p,w);if(c)c(p,w,{configurable:I===null&&$?$.configurable:!I,enumerable:O===null&&$?$.enumerable:!O,value:x,writable:j===null&&$?$.writable:!j});else{if(!M&&(O||j||I))throw new v("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");p[w]=x}}},76:m=>{m.exports=Function.prototype.call},79:(m,A,a)=>{var c=a(3702),v=a(80),d=a(4739),y=a(8655),f=a(1175);function p(w){var x=-1,O=w==null?0:w.length;for(this.clear();++x<O;){var j=w[x];this.set(j[0],j[1])}}p.prototype.clear=c,p.prototype.delete=v,p.prototype.get=d,p.prototype.has=y,p.prototype.set=f,m.exports=p},80:(m,A,a)=>{var c=a(6025),v=Array.prototype.splice;m.exports=function(y){var f=this.__data__,p=c(f,y);return!(p<0)&&(p==f.length-1?f.pop():v.call(f,p,1),--this.size,!0)}},104:(m,A,a)=>{var c=a(3661);function v(d,y){if(typeof d!="function"||y!=null&&typeof y!="function")throw new TypeError("Expected a function");var f=function(){var p=arguments,w=y?y.apply(this,p):p[0],x=f.cache;if(x.has(w))return x.get(w);var O=d.apply(this,p);return f.cache=x.set(w,O)||x,O};return f.cache=new(v.Cache||c),f}v.Cache=c,m.exports=v},251:(m,A)=>{A.read=function(a,c,v,d,y){var f,p,w=8*y-d-1,x=(1<<w)-1,O=x>>1,j=-7,I=v?y-1:0,M=v?-1:1,$=a[c+I];for(I+=M,f=$&(1<<-j)-1,$>>=-j,j+=w;j>0;f=256*f+a[c+I],I+=M,j-=8);for(p=f&(1<<-j)-1,f>>=-j,j+=d;j>0;p=256*p+a[c+I],I+=M,j-=8);if(f===0)f=1-O;else{if(f===x)return p?NaN:1/0*($?-1:1);p+=Math.pow(2,d),f-=O}return($?-1:1)*p*Math.pow(2,f-d)},A.write=function(a,c,v,d,y,f){var p,w,x,O=8*f-y-1,j=(1<<O)-1,I=j>>1,M=y===23?Math.pow(2,-24)-Math.pow(2,-77):0,$=d?0:f-1,W=d?1:-1,q=c<0||c===0&&1/c<0?1:0;for(c=Math.abs(c),isNaN(c)||c===1/0?(w=isNaN(c)?1:0,p=j):(p=Math.floor(Math.log(c)/Math.LN2),c*(x=Math.pow(2,-p))<1&&(p--,x*=2),(c+=p+I>=1?M/x:M*Math.pow(2,1-I))*x>=2&&(p++,x/=2),p+I>=j?(w=0,p=j):p+I>=1?(w=(c*x-1)*Math.pow(2,y),p+=I):(w=c*Math.pow(2,I-1)*Math.pow(2,y),p=0));y>=8;a[v+$]=255&w,$+=W,w/=256,y-=8);for(p=p<<y|w,O+=y;O>0;a[v+$]=255&p,$+=W,p/=256,O-=8);a[v+$-W]|=128*q}},270:(m,A,a)=>{var c=a(7068),v=a(346);m.exports=function d(y,f,p,w,x){return y===f||(y==null||f==null||!v(y)&&!v(f)?y!=y&&f!=f:c(y,f,p,w,d,x))}},289:(m,A,a)=>{var c=a(2651);m.exports=function(d){return c(this,d).get(d)}},294:m=>{m.exports=function(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=9007199254740991}},317:m=>{m.exports=function(a){var c=-1,v=Array(a.size);return a.forEach((function(d,y){v[++c]=[y,d]})),v}},346:m=>{m.exports=function(a){return a!=null&&typeof a=="object"}},361:m=>{var A=/^(?:0|[1-9]\d*)$/;m.exports=function(c,v){var d=typeof c;return!!(v=v??9007199254740991)&&(d=="number"||d!="symbol"&&A.test(c))&&c>-1&&c%1==0&&c<v}},376:m=>{m.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},392:m=>{m.exports=function(a,c){return a?.[c]}},414:m=>{m.exports=Math.round},453:(m,A,a)=>{var c,v=a(9612),d=a(9383),y=a(1237),f=a(9290),p=a(9538),w=a(8068),x=a(9675),O=a(5345),j=a(1514),I=a(8968),M=a(6188),$=a(8002),W=a(5880),q=a(414),U=a(3093),H=Function,Q=function(qt){try{return H('"use strict"; return ('+qt+").constructor;")()}catch{}},se=a(5795),le=a(655),Pe=function(){throw new x},he=se?(function(){try{return Pe}catch{try{return se(arguments,"callee").get}catch{return Pe}}})():Pe,ge=a(4039)(),Ce=a(3628),Je=a(1064),ze=a(8648),Ve=a(1002),Qe=a(76),pt={},Fe=typeof Uint8Array<"u"&&Ce?Ce(Uint8Array):c,g={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?c:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?c:ArrayBuffer,"%ArrayIteratorPrototype%":ge&&Ce?Ce([][Symbol.iterator]()):c,"%AsyncFromSyncIteratorPrototype%":c,"%AsyncFunction%":pt,"%AsyncGenerator%":pt,"%AsyncGeneratorFunction%":pt,"%AsyncIteratorPrototype%":pt,"%Atomics%":typeof Atomics>"u"?c:Atomics,"%BigInt%":typeof BigInt>"u"?c:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?c:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?c:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?c:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":d,"%eval%":eval,"%EvalError%":y,"%Float32Array%":typeof Float32Array>"u"?c:Float32Array,"%Float64Array%":typeof Float64Array>"u"?c:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?c:FinalizationRegistry,"%Function%":H,"%GeneratorFunction%":pt,"%Int8Array%":typeof Int8Array>"u"?c:Int8Array,"%Int16Array%":typeof Int16Array>"u"?c:Int16Array,"%Int32Array%":typeof Int32Array>"u"?c:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ge&&Ce?Ce(Ce([][Symbol.iterator]())):c,"%JSON%":typeof JSON=="object"?JSON:c,"%Map%":typeof Map>"u"?c:Map,"%MapIteratorPrototype%":typeof Map<"u"&&ge&&Ce?Ce(new Map()[Symbol.iterator]()):c,"%Math%":Math,"%Number%":Number,"%Object%":v,"%Object.getOwnPropertyDescriptor%":se,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?c:Promise,"%Proxy%":typeof Proxy>"u"?c:Proxy,"%RangeError%":f,"%ReferenceError%":p,"%Reflect%":typeof Reflect>"u"?c:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?c:Set,"%SetIteratorPrototype%":typeof Set<"u"&&ge&&Ce?Ce(new Set()[Symbol.iterator]()):c,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?c:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ge&&Ce?Ce(""[Symbol.iterator]()):c,"%Symbol%":ge?Symbol:c,"%SyntaxError%":w,"%ThrowTypeError%":he,"%TypedArray%":Fe,"%TypeError%":x,"%Uint8Array%":typeof Uint8Array>"u"?c:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?c:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?c:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?c:Uint32Array,"%URIError%":O,"%WeakMap%":typeof WeakMap>"u"?c:WeakMap,"%WeakRef%":typeof WeakRef>"u"?c:WeakRef,"%WeakSet%":typeof WeakSet>"u"?c:WeakSet,"%Function.prototype.call%":Qe,"%Function.prototype.apply%":Ve,"%Object.defineProperty%":le,"%Object.getPrototypeOf%":Je,"%Math.abs%":j,"%Math.floor%":I,"%Math.max%":M,"%Math.min%":$,"%Math.pow%":W,"%Math.round%":q,"%Math.sign%":U,"%Reflect.getPrototypeOf%":ze};if(Ce)try{null.error}catch(qt){var it=Ce(Ce(qt));g["%Error.prototype%"]=it}var Ye=function qt(lt){var xt;if(lt==="%AsyncFunction%")xt=Q("async function () {}");else if(lt==="%GeneratorFunction%")xt=Q("function* () {}");else if(lt==="%AsyncGeneratorFunction%")xt=Q("async function* () {}");else if(lt==="%AsyncGenerator%"){var Mt=qt("%AsyncGeneratorFunction%");Mt&&(xt=Mt.prototype)}else if(lt==="%AsyncIteratorPrototype%"){var _t=qt("%AsyncGenerator%");_t&&Ce&&(xt=Ce(_t.prototype))}return g[lt]=xt,xt},ue={__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"]},Te=a(6743),et=a(9957),ft=Te.call(Qe,Array.prototype.concat),Ke=Te.call(Ve,Array.prototype.splice),dt=Te.call(Qe,String.prototype.replace),ee=Te.call(Qe,String.prototype.slice),_e=Te.call(Qe,RegExp.prototype.exec),nt=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,st=/\\(\\)?/g,Ut=function(lt,xt){var Mt,_t=lt;if(et(ue,_t)&&(_t="%"+(Mt=ue[_t])[0]+"%"),et(g,_t)){var ht=g[_t];if(ht===pt&&(ht=Ye(_t)),ht===void 0&&!xt)throw new x("intrinsic "+lt+" exists, but is not available. Please file an issue!");return{alias:Mt,name:_t,value:ht}}throw new w("intrinsic "+lt+" does not exist!")};m.exports=function(lt,xt){if(typeof lt!="string"||lt.length===0)throw new x("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof xt!="boolean")throw new x('"allowMissing" argument must be a boolean');if(_e(/^%?[^%]*%?$/,lt)===null)throw new w("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Mt=(function(yt){var kt=ee(yt,0,1),Fr=ee(yt,-1);if(kt==="%"&&Fr!=="%")throw new w("invalid intrinsic syntax, expected closing `%`");if(Fr==="%"&&kt!=="%")throw new w("invalid intrinsic syntax, expected opening `%`");var Ur=[];return dt(yt,nt,(function(bn,Xr,kn,_a){Ur[Ur.length]=kn?dt(_a,st,"$1"):Xr||bn})),Ur})(lt),_t=Mt.length>0?Mt[0]:"",ht=Ut("%"+_t+"%",xt),Lt=ht.name,Y=ht.value,C=!1,N=ht.alias;N&&(_t=N[0],Ke(Mt,ft([0,1],N)));for(var J=1,ne=!0;J<Mt.length;J+=1){var ce=Mt[J],be=ee(ce,0,1),Ze=ee(ce,-1);if((be==='"'||be==="'"||be==="`"||Ze==='"'||Ze==="'"||Ze==="`")&&be!==Ze)throw new w("property names with quotes must have matching quotes");if(ce!=="constructor"&&ne||(C=!0),et(g,Lt="%"+(_t+="."+ce)+"%"))Y=g[Lt];else if(Y!=null){if(!(ce in Y)){if(!xt)throw new x("base intrinsic for "+lt+" exists, but the property is not available.");return}if(se&&J+1>=Mt.length){var St=se(Y,ce);Y=(ne=!!St)&&"get"in St&&!("originalValue"in St.get)?St.get:Y[ce]}else ne=et(Y,ce),Y=Y[ce];ne&&!C&&(g[Lt]=Y)}}return Y}},462:(m,A,a)=>{var c=a(975);m.exports=c},470:(m,A,a)=>{var c=a(6028),v=a(5594);m.exports=function(d){var y=c(d,"string");return v(y)?y:y+""}},487:(m,A,a)=>{var c=a(6897),v=a(655),d=a(3126),y=a(4586);m.exports=function(p){var w=d(arguments),x=p.length-(arguments.length-1);return c(w,1+(x>0?x:0),!0)},v?v(m.exports,"apply",{value:y}):m.exports.apply=y},575:(m,A,a)=>{var c=a(3121);m.exports=function(v){return c(v.length)}},581:(m,A,a)=>{var c=a(3930),v=a(2250),d=a(6285),y=TypeError;m.exports=function(f,p){var w,x;if(p==="string"&&v(w=f.toString)&&!d(x=c(w,f))||v(w=f.valueOf)&&!d(x=c(w,f))||p!=="string"&&v(w=f.toString)&&!d(x=c(w,f)))return x;throw new y("Can't convert object to primitive value")}},583:(m,A,a)=>{var c=a(7237),v=a(7255),d=a(8586),y=a(7797);m.exports=function(p){return d(p)?c(y(p)):v(p)}},592:(m,A,a)=>{var c=a(655),v=function(){return!!c};v.hasArrayLengthDefineBug=function(){if(!c)return null;try{return c([],"length",{value:1}).length!==1}catch{return!0}},m.exports=v},631:(m,A,a)=>{var c=a(8077),v=a(9326);m.exports=function(y,f){return y!=null&&v(y,f,c)}},641:(m,A,a)=>{var c=a(6649),v=a(5950);m.exports=function(y,f){return y&&c(y,f,v)}},655:m=>{var A=Object.defineProperty||!1;if(A)try{A({},"a",{value:1})}catch{A=!1}m.exports=A},659:(m,A,a)=>{var c=a(1873),v=Object.prototype,d=v.hasOwnProperty,y=v.toString,f=c?c.toStringTag:void 0;m.exports=function(w){var x=d.call(w,f),O=w[f];try{w[f]=void 0;var j=!0}catch{}var I=y.call(w);return j&&(x?w[f]=O:delete w[f]),I}},689:(m,A,a)=>{var c=a(2),v=Object.prototype.hasOwnProperty;m.exports=function(y,f,p,w,x,O){var j=1&p,I=c(y),M=I.length;if(M!=c(f).length&&!j)return!1;for(var $=M;$--;){var W=I[$];if(!(j?W in f:v.call(f,W)))return!1}var q=O.get(y),U=O.get(f);if(q&&U)return q==f&&U==y;var H=!0;O.set(y,f),O.set(f,y);for(var Q=j;++$<M;){var se=y[W=I[$]],le=f[W];if(w)var Pe=j?w(le,se,W,f,y,O):w(se,le,W,y,f,O);if(!(Pe===void 0?se===le||x(se,le,p,w,O):Pe)){H=!1;break}Q||(Q=W=="constructor")}if(H&&!Q){var he=y.constructor,ge=f.constructor;he==ge||!("constructor"in y)||!("constructor"in f)||typeof he=="function"&&he instanceof he&&typeof ge=="function"&&ge instanceof ge||(H=!1)}return O.delete(y),O.delete(f),H}},695:(m,A,a)=>{var c=a(8096),v=a(2428),d=a(6449),y=a(3656),f=a(361),p=a(7167),w=Object.prototype.hasOwnProperty;m.exports=function(O,j){var I=d(O),M=!I&&v(O),$=!I&&!M&&y(O),W=!I&&!M&&!$&&p(O),q=I||M||$||W,U=q?c(O.length,String):[],H=U.length;for(var Q in O)!j&&!w.call(O,Q)||q&&(Q=="length"||$&&(Q=="offset"||Q=="parent")||W&&(Q=="buffer"||Q=="byteLength"||Q=="byteOffset")||f(Q,H))||U.push(Q);return U}},756:(m,A,a)=>{var c=a(3805);m.exports=function(d){return d==d&&!c(d)}},776:(m,A,a)=>{var c=a(756),v=a(5950);m.exports=function(y){for(var f=v(y),p=f.length;p--;){var w=f[p],x=y[w];f[p]=[w,x,c(x)]}return f}},798:(m,A,a)=>{var c,v,d=a(5951),y=a(6794),f=d.process,p=d.Deno,w=f&&f.versions||p&&p.version,x=w&&w.v8;x&&(v=(c=x.split("."))[0]>0&&c[0]<4?1:+(c[0]+c[1])),!v&&y&&(!(c=y.match(/Edge\/(\d+)/))||c[1]>=74)&&(c=y.match(/Chrome\/(\d+)/))&&(v=+c[1]),m.exports=v},828:(m,A,a)=>{var c=a(4647),v=a(3222),d=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,y=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");m.exports=function(p){return(p=v(p))&&p.replace(d,c).replace(y,"")}},882:m=>{m.exports=function(a,c,v,d){var y=-1,f=a==null?0:a.length;for(d&&f&&(v=a[++y]);++y<f;)v=c(v,a[y],y,a);return v}},909:(m,A,a)=>{var c=a(641),v=a(8329)(c);m.exports=v},916:(m,A,a)=>{var c=a(909);m.exports=function(d,y){var f;return c(d,(function(p,w,x){return!(f=y(p,w,x))})),!!f}},938:m=>{m.exports=function(a){var c=this.__data__,v=c.delete(a);return this.size=c.size,v}},945:(m,A,a)=>{var c=a(79),v=a(8223),d=a(3661);m.exports=function(f,p){var w=this.__data__;if(w instanceof c){var x=w.__data__;if(!v||x.length<199)return x.push([f,p]),this.size=++w.size,this;w=this.__data__=new d(x)}return w.set(f,p),this.size=w.size,this}},953:(m,A,a)=>{m.exports=a(3375)},975:(m,A,a)=>{var c=a(9748);m.exports=c},1002:m=>{m.exports=Function.prototype.apply},1042:(m,A,a)=>{var c=a(6110)(Object,"create");m.exports=c},1064:(m,A,a)=>{var c=a(9612);m.exports=c.getPrototypeOf||null},1074:m=>{m.exports=function(a){return a.split("")}},1091:(m,A,a)=>{var c=a(5951),v=a(6024),d=a(2361),y=a(2250),f=a(3846).f,p=a(7463),w=a(2046),x=a(8311),O=a(1626),j=a(9724);a(6128);var I=function(M){var $=function(W,q,U){if(this instanceof $){switch(arguments.length){case 0:return new M;case 1:return new M(W);case 2:return new M(W,q)}return new M(W,q,U)}return v(M,this,arguments)};return $.prototype=M.prototype,$};m.exports=function(M,$){var W,q,U,H,Q,se,le,Pe,he,ge=M.target,Ce=M.global,Je=M.stat,ze=M.proto,Ve=Ce?c:Je?c[ge]:c[ge]&&c[ge].prototype,Qe=Ce?w:w[ge]||O(w,ge,{})[ge],pt=Qe.prototype;for(H in $)q=!(W=p(Ce?H:ge+(Je?".":"#")+H,M.forced))&&Ve&&j(Ve,H),se=Qe[H],q&&(le=M.dontCallGetSet?(he=f(Ve,H))&&he.value:Ve[H]),Q=q&&le?le:$[H],(W||ze||typeof se!=typeof Q)&&(Pe=M.bind&&q?x(Q,c):M.wrap&&q?I(Q):ze&&y(Q)?d(Q):Q,(M.sham||Q&&Q.sham||se&&se.sham)&&O(Pe,"sham",!0),O(Qe,H,Pe),ze&&(j(w,U=ge+"Prototype")||O(w,U,{}),O(w[U],H,Q),M.real&&pt&&(W||!pt[H])&&O(pt,H,Q)))}},1175:(m,A,a)=>{var c=a(6025);m.exports=function(d,y){var f=this.__data__,p=c(f,d);return p<0?(++this.size,f.push([d,y])):f[p][1]=y,this}},1176:m=>{var A=Math.ceil,a=Math.floor;m.exports=Math.trunc||function(v){var d=+v;return(d>0?a:A)(d)}},1234:m=>{m.exports=function(a,c,v){for(var d=-1,y=a.length,f=c.length,p={};++d<y;){var w=d<f?c[d]:void 0;v(p,a[d],w)}return p}},1237:m=>{m.exports=EvalError},1333:m=>{m.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var a={},c=Symbol("test"),v=Object(c);if(typeof c=="string"||Object.prototype.toString.call(c)!=="[object Symbol]"||Object.prototype.toString.call(v)!=="[object Symbol]")return!1;for(var d in a[c]=42,a)return!1;if(typeof Object.keys=="function"&&Object.keys(a).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(a).length!==0)return!1;var y=Object.getOwnPropertySymbols(a);if(y.length!==1||y[0]!==c||!Object.prototype.propertyIsEnumerable.call(a,c))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var f=Object.getOwnPropertyDescriptor(a,c);if(f.value!==42||f.enumerable!==!0)return!1}return!0}},1340:(m,A,a)=>{var c=a(1091),v=a(7157);c({target:"Object",stat:!0,arity:2,forced:Object.assign!==v},{assign:v})},1380:m=>{m.exports=function(a){return this.__data__.set(a,"__lodash_hash_undefined__"),this}},1420:(m,A,a)=>{var c=a(79);m.exports=function(){this.__data__=new c,this.size=0}},1459:m=>{m.exports=function(a){return this.__data__.has(a)}},1489:(m,A,a)=>{var c=a(7400);m.exports=function(d){var y=c(d),f=y%1;return y==y?f?y-f:y:0}},1505:(m,A,a)=>{var c=a(8828);m.exports=!c((function(){var v=function(){}.bind();return typeof v!="function"||v.hasOwnProperty("prototype")}))},1514:m=>{m.exports=Math.abs},1549:(m,A,a)=>{var c=a(2032),v=a(3862),d=a(6721),y=a(2749),f=a(5749);function p(w){var x=-1,O=w==null?0:w.length;for(this.clear();++x<O;){var j=w[x];this.set(j[0],j[1])}}p.prototype.clear=c,p.prototype.delete=v,p.prototype.get=d,p.prototype.has=y,p.prototype.set=f,m.exports=p},1626:(m,A,a)=>{var c=a(9447),v=a(4284),d=a(5817);m.exports=c?function(y,f,p){return v.f(y,f,d(1,p))}:function(y,f,p){return y[f]=p,y}},1733:m=>{var A=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;m.exports=function(c){return c.match(A)||[]}},1747:(m,A,a)=>{var c=a(5951),v=a(2046);m.exports=function(d,y){var f=v[d+"Prototype"],p=f&&f[y];if(p)return p;var w=c[d],x=w&&w.prototype;return x&&x[y]}},1769:(m,A,a)=>{var c=a(6449),v=a(8586),d=a(1802),y=a(3222);m.exports=function(p,w){return c(p)?p:v(p,w)?[p]:d(y(p))}},1799:(m,A,a)=>{var c=a(7217),v=a(270);m.exports=function(y,f,p,w){var x=p.length,O=x,j=!w;if(y==null)return!O;for(y=Object(y);x--;){var I=p[x];if(j&&I[2]?I[1]!==y[I[0]]:!(I[0]in y))return!1}for(;++x<O;){var M=(I=p[x])[0],$=y[M],W=I[1];if(j&&I[2]){if($===void 0&&!(M in y))return!1}else{var q=new c;if(w)var U=w($,W,M,y,f,q);if(!(U===void 0?v(W,$,3,w,q):U))return!1}}return!0}},1800:m=>{var A=/\s/;m.exports=function(c){for(var v=c.length;v--&&A.test(c.charAt(v)););return v}},1802:(m,A,a)=>{var c=a(2224),v=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g,y=c((function(f){var p=[];return f.charCodeAt(0)===46&&p.push(""),f.replace(v,(function(w,x,O,j){p.push(O?j.replace(d,"$1"):x||w)})),p}));m.exports=y},1873:(m,A,a)=>{var c=a(9325).Symbol;m.exports=c},1882:(m,A,a)=>{var c=a(2552),v=a(3805);m.exports=function(y){if(!v(y))return!1;var f=c(y);return f=="[object Function]"||f=="[object GeneratorFunction]"||f=="[object AsyncFunction]"||f=="[object Proxy]"}},1907:(m,A,a)=>{var c=a(1505),v=Function.prototype,d=v.call,y=c&&v.bind.bind(d,d);m.exports=c?y:function(f){return function(){return d.apply(f,arguments)}}},1986:(m,A,a)=>{var c=a(1873),v=a(7828),d=a(5288),y=a(5911),f=a(317),p=a(4247),w=c?c.prototype:void 0,x=w?w.valueOf:void 0;m.exports=function(j,I,M,$,W,q,U){switch(M){case"[object DataView]":if(j.byteLength!=I.byteLength||j.byteOffset!=I.byteOffset)return!1;j=j.buffer,I=I.buffer;case"[object ArrayBuffer]":return!(j.byteLength!=I.byteLength||!q(new v(j),new v(I)));case"[object Boolean]":case"[object Date]":case"[object Number]":return d(+j,+I);case"[object Error]":return j.name==I.name&&j.message==I.message;case"[object RegExp]":case"[object String]":return j==I+"";case"[object Map]":var H=f;case"[object Set]":var Q=1&$;if(H||(H=p),j.size!=I.size&&!Q)return!1;var se=U.get(j);if(se)return se==I;$|=2,U.set(j,I);var le=y(H(j),H(I),$,W,q,U);return U.delete(j),le;case"[object Symbol]":if(x)return x.call(j)==x.call(I)}return!1}},2006:(m,A,a)=>{var c=a(5389),v=a(4894),d=a(5950);m.exports=function(f){return function(p,w,x){var O=Object(p);if(!v(p)){var j=c(w,3);p=d(p),w=function(M){return j(O[M],M,O)}}var I=f(p,w,x);return I>-1?O[j?p[I]:I]:void 0}}},2032:(m,A,a)=>{var c=a(1042);m.exports=function(){this.__data__=c?c(null):{},this.size=0}},2046:m=>{m.exports={}},2054:m=>{var A="\\ud800-\\udfff",a="["+A+"]",c="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",v="\\ud83c[\\udffb-\\udfff]",d="[^"+A+"]",y="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="(?:"+c+"|"+v+")?",w="[\\ufe0e\\ufe0f]?",x=w+p+("(?:\\u200d(?:"+[d,y,f].join("|")+")"+w+p+")*"),O="(?:"+[d+c+"?",c,y,f,a].join("|")+")",j=RegExp(v+"(?="+v+")|"+O+x,"g");m.exports=function(M){return M.match(j)||[]}},2159:(m,A,a)=>{var c=a(2250),v=a(4640),d=TypeError;m.exports=function(y){if(c(y))return y;throw new d(v(y)+" is not a function")}},2199:(m,A,a)=>{var c=a(4528),v=a(6449);m.exports=function(y,f,p){var w=f(y);return v(y)?w:c(w,p(y))}},2205:function(m,A,a){var c;c=a.g!==void 0?a.g:this,m.exports=(function(v){if(v.CSS&&v.CSS.escape)return v.CSS.escape;var d=function(y){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var f,p=String(y),w=p.length,x=-1,O="",j=p.charCodeAt(0);++x<w;)(f=p.charCodeAt(x))!=0?O+=f>=1&&f<=31||f==127||x==0&&f>=48&&f<=57||x==1&&f>=48&&f<=57&&j==45?"\\"+f.toString(16)+" ":x==0&&w==1&&f==45||!(f>=128||f==45||f==95||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122)?"\\"+p.charAt(x):p.charAt(x):O+="<22>";return O};return v.CSS||(v.CSS={}),v.CSS.escape=d,d})(c)},2224:(m,A,a)=>{var c=a(104);m.exports=function(d){var y=c(d,(function(p){return f.size===500&&f.clear(),p})),f=y.cache;return y}},2225:m=>{var A="\\ud800-\\udfff",a="\\u2700-\\u27bf",c="a-z\\xdf-\\xf6\\xf8-\\xff",v="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\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",y="["+d+"]",f="\\d+",p="["+a+"]",w="["+c+"]",x="[^"+A+d+f+a+c+v+"]",O="(?:\\ud83c[\\udde6-\\uddff]){2}",j="[\\ud800-\\udbff][\\udc00-\\udfff]",I="["+v+"]",M="(?:"+w+"|"+x+")",$="(?:"+I+"|"+x+")",W="(?:['’](?:d|ll|m|re|s|t|ve))?",q="(?:['’](?:D|LL|M|RE|S|T|VE))?",U="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",H="[\\ufe0e\\ufe0f]?",Q=H+U+("(?:\\u200d(?:"+["[^"+A+"]",O,j].join("|")+")"+H+U+")*"),se="(?:"+[p,O,j].join("|")+")"+Q,le=RegExp([I+"?"+w+"+"+W+"(?="+[y,I,"$"].join("|")+")",$+"+"+q+"(?="+[y,I+M,"$"].join("|")+")",I+"?"+M+"+"+W,I+"+"+q,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",f,se].join("|"),"g");m.exports=function(he){return he.match(le)||[]}},2250:m=>{var A=typeof document=="object"&&document.all;m.exports=A===void 0&&A!==void 0?function(a){return typeof a=="function"||a===A}:function(a){return typeof a=="function"}},2361:(m,A,a)=>{var c=a(5807),v=a(1907);m.exports=function(d){if(c(d)==="Function")return v(d)}},2426:(m,A,a)=>{var c=a(4248),v=a(5389),d=a(916),y=a(6449),f=a(6800);m.exports=function(w,x,O){var j=y(w)?c:d;return O&&f(w,x,O)&&(x=void 0),j(w,v(x,3))}},2428:(m,A,a)=>{var c=a(7534),v=a(346),d=Object.prototype,y=d.hasOwnProperty,f=d.propertyIsEnumerable,p=c((function(){return arguments})())?c:function(w){return v(w)&&y.call(w,"callee")&&!f.call(w,"callee")};m.exports=p},2507:(m,A,a)=>{var c=a(8754),v=a(9698),d=a(3912),y=a(3222);m.exports=function(p){return function(w){w=y(w);var x=v(w)?d(w):void 0,O=x?x[0]:w.charAt(0),j=x?c(x,1).join(""):w.slice(1);return O[p]()+j}}},2523:m=>{m.exports=function(a,c,v,d){for(var y=a.length,f=v+(d?1:-1);d?f--:++f<y;)if(c(a[f],f,a))return f;return-1}},2532:(m,A,a)=>{var c=a(5951),v=Object.defineProperty;m.exports=function(d,y){try{v(c,d,{value:y,configurable:!0,writable:!0})}catch{c[d]=y}return y}},2552:(m,A,a)=>{var c=a(1873),v=a(659),d=a(9350),y=c?c.toStringTag:void 0;m.exports=function(p){return p==null?p===void 0?"[object Undefined]":"[object Null]":y&&y in Object(p)?v(p):d(p)}},2567:(m,A,a)=>{a(9307);var c=a(1747);m.exports=c("Function","bind")},2574:(m,A)=>{var a={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,v=c&&!a.call({1:2},1);A.f=v?function(y){var f=c(this,y);return!!f&&f.enumerable}:a},2651:(m,A,a)=>{var c=a(4218);m.exports=function(d,y){var f=d.__data__;return c(y)?f[typeof y=="string"?"string":"hash"]:f.map}},2682:(m,A,a)=>{var c=a(9600),v=Object.prototype.toString,d=Object.prototype.hasOwnProperty;m.exports=function(f,p,w){if(!c(p))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=w),(function(j){return v.call(j)==="[object Array]"})(f)?(function(j,I,M){for(var $=0,W=j.length;$<W;$++)d.call(j,$)&&(M==null?I(j[$],$,j):I.call(M,j[$],$,j))})(f,p,x):typeof f=="string"?(function(j,I,M){for(var $=0,W=j.length;$<W;$++)M==null?I(j.charAt($),$,j):I.call(M,j.charAt($),$,j)})(f,p,x):(function(j,I,M){for(var $ in j)d.call(j,$)&&(M==null?I(j[$],$,j):I.call(M,j[$],$,j))})(f,p,x)}},2749:(m,A,a)=>{var c=a(1042),v=Object.prototype.hasOwnProperty;m.exports=function(y){var f=this.__data__;return c?f[y]!==void 0:v.call(f,y)}},2802:(m,A,a)=>{m.exports=function(v){var d=v.toLowerCase(),y=m.exports[d];if(!y)throw new Error(d+" is not supported (we accept pull requests)");return new y},m.exports.sha=a(7816),m.exports.sha1=a(3737),m.exports.sha224=a(6710),m.exports.sha256=a(4107),m.exports.sha384=a(2827),m.exports.sha512=a(2890)},2804:(m,A,a)=>{var c=a(6110)(a(9325),"Promise");m.exports=c},2827:(m,A,a)=>{var c=a(6698),v=a(2890),d=a(8011),y=a(2861).Buffer,f=new Array(160);function p(){this.init(),this._w=f,d.call(this,128,112)}c(p,v),p.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},p.prototype._hash=function(){var w=y.allocUnsafe(48);function x(O,j,I){w.writeInt32BE(O,I),w.writeInt32BE(j,I+4)}return x(this._ah,this._al,0),x(this._bh,this._bl,8),x(this._ch,this._cl,16),x(this._dh,this._dl,24),x(this._eh,this._el,32),x(this._fh,this._fl,40),w},m.exports=p},2861:(m,A,a)=>{var c=a(8287),v=c.Buffer;function d(f,p){for(var w in f)p[w]=f[w]}function y(f,p,w){return v(f,p,w)}v.from&&v.alloc&&v.allocUnsafe&&v.allocUnsafeSlow?m.exports=c:(d(c,A),A.Buffer=y),y.prototype=Object.create(v.prototype),d(v,y),y.from=function(f,p,w){if(typeof f=="number")throw new TypeError("Argument must not be a number");return v(f,p,w)},y.alloc=function(f,p,w){if(typeof f!="number")throw new TypeError("Argument must be a number");var x=v(f);return p!==void 0?typeof w=="string"?x.fill(p,w):x.fill(p):x.fill(0),x},y.allocUnsafe=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return v(f)},y.allocUnsafeSlow=function(f){if(typeof f!="number")throw new TypeError("Argument must be a number");return c.SlowBuffer(f)}},2875:(m,A,a)=>{var c=a(3045),v=a(376);m.exports=Object.keys||function(y){return c(y,v)}},2890:(m,A,a)=>{var c=a(6698),v=a(8011),d=a(2861).Buffer,y=[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],f=new Array(160);function p(){this.init(),this._w=f,v.call(this,128,112)}function w(U,H,Q){return Q^U&(H^Q)}function x(U,H,Q){return U&H|Q&(U|H)}function O(U,H){return(U>>>28|H<<4)^(H>>>2|U<<30)^(H>>>7|U<<25)}function j(U,H){return(U>>>14|H<<18)^(U>>>18|H<<14)^(H>>>9|U<<23)}function I(U,H){return(U>>>1|H<<31)^(U>>>8|H<<24)^U>>>7}function M(U,H){return(U>>>1|H<<31)^(U>>>8|H<<24)^(U>>>7|H<<25)}function $(U,H){return(U>>>19|H<<13)^(H>>>29|U<<3)^U>>>6}function W(U,H){return(U>>>19|H<<13)^(H>>>29|U<<3)^(U>>>6|H<<26)}function q(U,H){return U>>>0<H>>>0?1:0}c(p,v),p.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},p.prototype._update=function(U){for(var H=this._w,Q=0|this._ah,se=0|this._bh,le=0|this._ch,Pe=0|this._dh,he=0|this._eh,ge=0|this._fh,Ce=0|this._gh,Je=0|this._hh,ze=0|this._al,Ve=0|this._bl,Qe=0|this._cl,pt=0|this._dl,Fe=0|this._el,g=0|this._fl,it=0|this._gl,Ye=0|this._hl,ue=0;ue<32;ue+=2)H[ue]=U.readInt32BE(4*ue),H[ue+1]=U.readInt32BE(4*ue+4);for(;ue<160;ue+=2){var Te=H[ue-30],et=H[ue-30+1],ft=I(Te,et),Ke=M(et,Te),dt=$(Te=H[ue-4],et=H[ue-4+1]),ee=W(et,Te),_e=H[ue-14],nt=H[ue-14+1],st=H[ue-32],Ut=H[ue-32+1],qt=Ke+nt|0,lt=ft+_e+q(qt,Ke)|0;lt=(lt=lt+dt+q(qt=qt+ee|0,ee)|0)+st+q(qt=qt+Ut|0,Ut)|0,H[ue]=lt,H[ue+1]=qt}for(var xt=0;xt<160;xt+=2){lt=H[xt],qt=H[xt+1];var Mt=x(Q,se,le),_t=x(ze,Ve,Qe),ht=O(Q,ze),Lt=O(ze,Q),Y=j(he,Fe),C=j(Fe,he),N=y[xt],J=y[xt+1],ne=w(he,ge,Ce),ce=w(Fe,g,it),be=Ye+C|0,Ze=Je+Y+q(be,Ye)|0;Ze=(Ze=(Ze=Ze+ne+q(be=be+ce|0,ce)|0)+N+q(be=be+J|0,J)|0)+lt+q(be=be+qt|0,qt)|0;var St=Lt+_t|0,ut=ht+Mt+q(St,Lt)|0;Je=Ce,Ye=it,Ce=ge,it=g,ge=he,g=Fe,he=Pe+Ze+q(Fe=pt+be|0,pt)|0,Pe=le,pt=Qe,le=se,Qe=Ve,se=Q,Ve=ze,Q=Ze+ut+q(ze=be+St|0,be)|0}this._al=this._al+ze|0,this._bl=this._bl+Ve|0,this._cl=this._cl+Qe|0,this._dl=this._dl+pt|0,this._el=this._el+Fe|0,this._fl=this._fl+g|0,this._gl=this._gl+it|0,this._hl=this._hl+Ye|0,this._ah=this._ah+Q+q(this._al,ze)|0,this._bh=this._bh+se+q(this._bl,Ve)|0,this._ch=this._ch+le+q(this._cl,Qe)|0,this._dh=this._dh+Pe+q(this._dl,pt)|0,this._eh=this._eh+he+q(this._el,Fe)|0,this._fh=this._fh+ge+q(this._fl,g)|0,this._gh=this._gh+Ce+q(this._gl,it)|0,this._hh=this._hh+Je+q(this._hl,Ye)|0},p.prototype._hash=function(){var U=d.allocUnsafe(64);function H(Q,se,le){U.writeInt32BE(Q,le),U.writeInt32BE(se,le+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),U},m.exports=p},2949:(m,A,a)=>{var c=a(2651);m.exports=function(d,y){var f=c(this,d),p=f.size;return f.set(d,y),this.size+=f.size==p?0:1,this}},3034:(m,A,a)=>{var c=a(8280),v=a(2567),d=Function.prototype;m.exports=function(y){var f=y.bind;return y===d||c(d,y)&&f===d.bind?v:f}},3040:(m,A,a)=>{var c=a(1549),v=a(79),d=a(8223);m.exports=function(){this.size=0,this.__data__={hash:new c,map:new(d||v),string:new c}}},3045:(m,A,a)=>{var c=a(1907),v=a(9724),d=a(7374),y=a(4436).indexOf,f=a(8530),p=c([].push);m.exports=function(w,x){var O,j=d(w),I=0,M=[];for(O in j)!v(f,O)&&v(j,O)&&p(M,O);for(;x.length>I;)v(j,O=x[I++])&&(~y(M,O)||p(M,O));return M}},3093:(m,A,a)=>{var c=a(4459);m.exports=function(d){return c(d)||d===0?d:d<0?-1:1}},3121:(m,A,a)=>{var c=a(5482),v=Math.min;m.exports=function(d){var y=c(d);return y>0?v(y,9007199254740991):0}},3126:(m,A,a)=>{var c=a(6743),v=a(9675),d=a(76),y=a(3144);m.exports=function(p){if(p.length<1||typeof p[0]!="function")throw new v("a function is required");return y(c,d,p)}},3144:(m,A,a)=>{var c=a(6743),v=a(1002),d=a(76),y=a(7119);m.exports=y||c.call(d,v)},3209:(m,A,a)=>{var c=a(5606),v=65536,d=4294967295,y=a(2861).Buffer,f=a.g.crypto||a.g.msCrypto;f&&f.getRandomValues?m.exports=function(w,x){if(w>d)throw new RangeError("requested too many random bytes");var O=y.allocUnsafe(w);if(w>0)if(w>v)for(var j=0;j<w;j+=v)f.getRandomValues(O.slice(j,j+v));else f.getRandomValues(O);return typeof x=="function"?c.nextTick((function(){x(null,O)})):O}:m.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
|
||
Use Chrome, Firefox or Internet Explorer 11`)}},3221:m=>{m.exports=function(a){return function(c,v,d){for(var y=-1,f=Object(c),p=d(c),w=p.length;w--;){var x=p[a?w:++y];if(v(f[x],x,f)===!1)break}return c}}},3222:(m,A,a)=>{var c=a(7556);m.exports=function(d){return d==null?"":c(d)}},3243:(m,A,a)=>{var c=a(6110),v=(function(){try{var d=c(Object,"defineProperty");return d({},"",{}),d}catch{}})();m.exports=v},3345:m=>{m.exports=function(){return[]}},3360:(m,A,a)=>{var c=a(3243);m.exports=function(d,y,f){y=="__proto__"&&c?c(d,y,{configurable:!0,enumerable:!0,value:f,writable:!0}):d[y]=f}},3375:(m,A,a)=>{var c=a(3700);m.exports=c},3427:(m,A,a)=>{var c=a(1907);m.exports=c([].slice)},3488:m=>{m.exports=function(a){return a}},3556:(m,A,a)=>{var c=a(9846);m.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3605:m=>{m.exports=function(a){return this.__data__.get(a)}},3628:(m,A,a)=>{var c=a(8648),v=a(1064),d=a(7176);m.exports=c?function(f){return c(f)}:v?function(f){if(!f||typeof f!="object"&&typeof f!="function")throw new TypeError("getProto: not an object");return v(f)}:d?function(f){return d(f)}:null},3648:(m,A,a)=>{var c=a(9447),v=a(8828),d=a(9552);m.exports=!c&&!v((function(){return Object.defineProperty(d("div"),"a",{get:function(){return 7}}).a!==7}))},3650:(m,A,a)=>{var c=a(4335)(Object.keys,Object);m.exports=c},3656:(m,A,a)=>{m=a.nmd(m);var c=a(9325),v=a(9935),d=A&&!A.nodeType&&A,y=d&&m&&!m.nodeType&&m,f=y&&y.exports===d?c.Buffer:void 0,p=(f?f.isBuffer:void 0)||v;m.exports=p},3661:(m,A,a)=>{var c=a(3040),v=a(7670),d=a(289),y=a(4509),f=a(2949);function p(w){var x=-1,O=w==null?0:w.length;for(this.clear();++x<O;){var j=w[x];this.set(j[0],j[1])}}p.prototype.clear=c,p.prototype.delete=v,p.prototype.get=d,p.prototype.has=y,p.prototype.set=f,m.exports=p},3663:(m,A,a)=>{var c=a(1799),v=a(776),d=a(7197);m.exports=function(f){var p=v(f);return p.length==1&&p[0][2]?d(p[0][0],p[0][1]):function(w){return w===f||c(w,f,p)}}},3700:(m,A,a)=>{var c=a(9709);m.exports=c},3702:m=>{m.exports=function(){this.__data__=[],this.size=0}},3737:(m,A,a)=>{var c=a(6698),v=a(8011),d=a(2861).Buffer,y=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);function p(){this.init(),this._w=f,v.call(this,64,56)}function w(j){return j<<5|j>>>27}function x(j){return j<<30|j>>>2}function O(j,I,M,$){return j===0?I&M|~I&$:j===2?I&M|I&$|M&$:I^M^$}c(p,v),p.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},p.prototype._update=function(j){for(var I,M=this._w,$=0|this._a,W=0|this._b,q=0|this._c,U=0|this._d,H=0|this._e,Q=0;Q<16;++Q)M[Q]=j.readInt32BE(4*Q);for(;Q<80;++Q)M[Q]=(I=M[Q-3]^M[Q-8]^M[Q-14]^M[Q-16])<<1|I>>>31;for(var se=0;se<80;++se){var le=~~(se/20),Pe=w($)+O(le,W,q,U)+H+M[se]+y[le]|0;H=U,U=q,q=x(W),W=$,$=Pe}this._a=$+this._a|0,this._b=W+this._b|0,this._c=q+this._c|0,this._d=U+this._d|0,this._e=H+this._e|0},p.prototype._hash=function(){var j=d.allocUnsafe(20);return j.writeInt32BE(0|this._a,0),j.writeInt32BE(0|this._b,4),j.writeInt32BE(0|this._c,8),j.writeInt32BE(0|this._d,12),j.writeInt32BE(0|this._e,16),j},m.exports=p},3805:m=>{m.exports=function(a){var c=typeof a;return a!=null&&(c=="object"||c=="function")}},3846:(m,A,a)=>{var c=a(9447),v=a(3930),d=a(2574),y=a(5817),f=a(7374),p=a(470),w=a(9724),x=a(3648),O=Object.getOwnPropertyDescriptor;A.f=c?O:function(I,M){if(I=f(I),M=p(M),x)try{return O(I,M)}catch{}if(w(I,M))return y(!v(d.f,I,M),I[M])}},3862:m=>{m.exports=function(a){var c=this.has(a)&&delete this.__data__[a];return this.size-=c?1:0,c}},3912:(m,A,a)=>{var c=a(1074),v=a(9698),d=a(2054);m.exports=function(f){return v(f)?d(f):c(f)}},3930:(m,A,a)=>{var c=a(1505),v=Function.prototype.call;m.exports=c?v.bind(v):function(){return v.apply(v,arguments)}},4039:(m,A,a)=>{var c=typeof Symbol<"u"&&Symbol,v=a(1333);m.exports=function(){return typeof c=="function"&&typeof Symbol=="function"&&typeof c("foo")=="symbol"&&typeof Symbol("bar")=="symbol"&&v()}},4058:(m,A,a)=>{var c=a(4792),v=a(5539)((function(d,y,f){return y=y.toLowerCase(),d+(f?c(y):y)}));m.exports=v},4107:(m,A,a)=>{var c=a(6698),v=a(8011),d=a(2861).Buffer,y=[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],f=new Array(64);function p(){this.init(),this._w=f,v.call(this,64,56)}function w(M,$,W){return W^M&($^W)}function x(M,$,W){return M&$|W&(M|$)}function O(M){return(M>>>2|M<<30)^(M>>>13|M<<19)^(M>>>22|M<<10)}function j(M){return(M>>>6|M<<26)^(M>>>11|M<<21)^(M>>>25|M<<7)}function I(M){return(M>>>7|M<<25)^(M>>>18|M<<14)^M>>>3}c(p,v),p.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},p.prototype._update=function(M){for(var $,W=this._w,q=0|this._a,U=0|this._b,H=0|this._c,Q=0|this._d,se=0|this._e,le=0|this._f,Pe=0|this._g,he=0|this._h,ge=0;ge<16;++ge)W[ge]=M.readInt32BE(4*ge);for(;ge<64;++ge)W[ge]=0|((($=W[ge-2])>>>17|$<<15)^($>>>19|$<<13)^$>>>10)+W[ge-7]+I(W[ge-15])+W[ge-16];for(var Ce=0;Ce<64;++Ce){var Je=he+j(se)+w(se,le,Pe)+y[Ce]+W[Ce]|0,ze=O(q)+x(q,U,H)|0;he=Pe,Pe=le,le=se,se=Q+Je|0,Q=H,H=U,U=q,q=Je+ze|0}this._a=q+this._a|0,this._b=U+this._b|0,this._c=H+this._c|0,this._d=Q+this._d|0,this._e=se+this._e|0,this._f=le+this._f|0,this._g=Pe+this._g|0,this._h=he+this._h|0},p.prototype._hash=function(){var M=d.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},m.exports=p},4128:(m,A,a)=>{var c=a(1800),v=/^\s+/;m.exports=function(y){return y&&y.slice(0,c(y)+1).replace(v,"")}},4218:m=>{m.exports=function(a){var c=typeof a;return c=="string"||c=="number"||c=="symbol"||c=="boolean"?a!=="__proto__":a===null}},4239:(m,A,a)=>{var c=a(7136),v=TypeError;m.exports=function(d){if(c(d))throw new v("Can't call method on "+d);return d}},4247:m=>{m.exports=function(a){var c=-1,v=Array(a.size);return a.forEach((function(d){v[++c]=d})),v}},4248:m=>{m.exports=function(a,c){for(var v=-1,d=a==null?0:a.length;++v<d;)if(c(a[v],v,a))return!0;return!1}},4284:(m,A,a)=>{var c=a(9447),v=a(3648),d=a(8661),y=a(6624),f=a(470),p=TypeError,w=Object.defineProperty,x=Object.getOwnPropertyDescriptor,O="enumerable",j="configurable",I="writable";A.f=c?d?function($,W,q){if(y($),W=f(W),y(q),typeof $=="function"&&W==="prototype"&&"value"in q&&I in q&&!q[I]){var U=x($,W);U&&U[I]&&($[W]=q.value,q={configurable:j in q?q[j]:U[j],enumerable:O in q?q[O]:U[O],writable:!1})}return w($,W,q)}:w:function($,W,q){if(y($),W=f(W),y(q),v)try{return w($,W,q)}catch{}if("get"in q||"set"in q)throw new p("Accessors not supported");return"value"in q&&($[W]=q.value),$}},4335:m=>{m.exports=function(a,c){return function(v){return a(c(v))}}},4372:(m,A,a)=>{var c=a(9675),v=a(6556)("TypedArray.prototype.buffer",!0),d=a(5680);m.exports=v||function(f){if(!d(f))throw new c("Not a Typed Array");return f.buffer}},4394:(m,A,a)=>{var c=a(2552),v=a(346);m.exports=function(y){return typeof y=="symbol"||v(y)&&c(y)=="[object Symbol]"}},4436:(m,A,a)=>{var c=a(7374),v=a(4849),d=a(575),y=function(f){return function(p,w,x){var O=c(p),j=d(O);if(j===0)return!f&&-1;var I,M=v(x,j);if(f&&w!=w){for(;j>M;)if((I=O[M++])!=I)return!0}else for(;j>M;M++)if((f||M in O)&&O[M]===w)return f||M||0;return!f&&-1}};m.exports={includes:y(!0),indexOf:y(!1)}},4459:m=>{m.exports=Number.isNaN||function(a){return a!=a}},4509:(m,A,a)=>{var c=a(2651);m.exports=function(d){return c(this,d).has(d)}},4528:m=>{m.exports=function(a,c){for(var v=-1,d=c.length,y=a.length;++v<d;)a[y+v]=c[v];return a}},4552:m=>{m.exports=function(a){return function(c){return a?.[c]}}},4586:(m,A,a)=>{var c=a(6743),v=a(1002),d=a(3144);m.exports=function(){return d(c,v,arguments)}},4634:m=>{var A={}.toString;m.exports=Array.isArray||function(a){return A.call(a)=="[object Array]"}},4640:m=>{var A=String;m.exports=function(a){try{return A(a)}catch{return"Object"}}},4647:(m,A,a)=>{var c=a(4552)({À:"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"});m.exports=c},4664:(m,A,a)=>{var c=a(9770),v=a(3345),d=Object.prototype.propertyIsEnumerable,y=Object.getOwnPropertySymbols,f=y?function(p){return p==null?[]:(p=Object(p),c(y(p),(function(w){return d.call(p,w)})))}:v;m.exports=f},4673:(m,A,a)=>{var c=a(1907),v=a(2159),d=a(6285),y=a(9724),f=a(3427),p=a(1505),w=Function,x=c([].concat),O=c([].join),j={};m.exports=p?w.bind:function(M){var $=v(this),W=$.prototype,q=f(arguments,1),U=function(){var Q=x(q,f(arguments));return this instanceof U?(function(se,le,Pe){if(!y(j,le)){for(var he=[],ge=0;ge<le;ge++)he[ge]="a["+ge+"]";j[le]=w("C,a","return new C("+O(he,",")+")")}return j[le](se,Pe)})($,Q.length,Q):$.apply(M,Q)};return d(W)&&(U.prototype=W),U}},4713:(m,A,a)=>{var c=a(2523),v=a(5389),d=a(1489),y=Math.max;m.exports=function(p,w,x){var O=p==null?0:p.length;if(!O)return-1;var j=x==null?0:d(x);return j<0&&(j=y(O+j,0)),c(p,v(w,3),j)}},4739:(m,A,a)=>{var c=a(6025);m.exports=function(d){var y=this.__data__,f=c(y,d);return f<0?void 0:y[f][1]}},4792:(m,A,a)=>{var c=a(3222),v=a(5808);m.exports=function(y){return v(c(y).toLowerCase())}},4840:(m,A,a)=>{var c=typeof a.g=="object"&&a.g&&a.g.Object===Object&&a.g;m.exports=c},4849:(m,A,a)=>{var c=a(5482),v=Math.max,d=Math.min;m.exports=function(y,f){var p=c(y);return p<0?v(p+f,0):d(p,f)}},4851:(m,A,a)=>{m.exports=a(5401)},4894:(m,A,a)=>{var c=a(1882),v=a(294);m.exports=function(y){return y!=null&&v(y.length)&&!c(y)}},4901:(m,A,a)=>{var c=a(2552),v=a(294),d=a(346),y={};y["[object Float32Array]"]=y["[object Float64Array]"]=y["[object Int8Array]"]=y["[object Int16Array]"]=y["[object Int32Array]"]=y["[object Uint8Array]"]=y["[object Uint8ClampedArray]"]=y["[object Uint16Array]"]=y["[object Uint32Array]"]=!0,y["[object Arguments]"]=y["[object Array]"]=y["[object ArrayBuffer]"]=y["[object Boolean]"]=y["[object DataView]"]=y["[object Date]"]=y["[object Error]"]=y["[object Function]"]=y["[object Map]"]=y["[object Number]"]=y["[object Object]"]=y["[object RegExp]"]=y["[object Set]"]=y["[object String]"]=y["[object WeakMap]"]=!1,m.exports=function(p){return d(p)&&v(p.length)&&!!y[c(p)]}},4932:m=>{m.exports=function(a,c){for(var v=-1,d=a==null?0:a.length,y=Array(d);++v<d;)y[v]=c(a[v],v,a);return y}},5083:(m,A,a)=>{var c=a(1882),v=a(7296),d=a(3805),y=a(7473),f=/^\[object .+?Constructor\]$/,p=Function.prototype,w=Object.prototype,x=p.toString,O=w.hasOwnProperty,j=RegExp("^"+x.call(O).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");m.exports=function(M){return!(!d(M)||v(M))&&(c(M)?j:f).test(y(M))}},5160:m=>{m.exports=function(a,c,v){var d=-1,y=a.length;c<0&&(c=-c>y?0:y+c),(v=v>y?y:v)<0&&(v+=y),y=c>v?0:v-c>>>0,c>>>=0;for(var f=Array(y);++d<y;)f[d]=a[d+c];return f}},5287:(m,A)=>{var a=Symbol.for("react.element"),c=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),y=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),p=Symbol.for("react.context"),w=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),O=Symbol.for("react.memo"),j=Symbol.for("react.lazy"),I=Symbol.iterator,M={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},$=Object.assign,W={};function q(ue,Te,et){this.props=ue,this.context=Te,this.refs=W,this.updater=et||M}function U(){}function H(ue,Te,et){this.props=ue,this.context=Te,this.refs=W,this.updater=et||M}q.prototype.isReactComponent={},q.prototype.setState=function(ue,Te){if(typeof ue!="object"&&typeof ue!="function"&&ue!=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,ue,Te,"setState")},q.prototype.forceUpdate=function(ue){this.updater.enqueueForceUpdate(this,ue,"forceUpdate")},U.prototype=q.prototype;var Q=H.prototype=new U;Q.constructor=H,$(Q,q.prototype),Q.isPureReactComponent=!0;var se=Array.isArray,le=Object.prototype.hasOwnProperty,Pe={current:null},he={key:!0,ref:!0,__self:!0,__source:!0};function ge(ue,Te,et){var ft,Ke={},dt=null,ee=null;if(Te!=null)for(ft in Te.ref!==void 0&&(ee=Te.ref),Te.key!==void 0&&(dt=""+Te.key),Te)le.call(Te,ft)&&!he.hasOwnProperty(ft)&&(Ke[ft]=Te[ft]);var _e=arguments.length-2;if(_e===1)Ke.children=et;else if(1<_e){for(var nt=Array(_e),st=0;st<_e;st++)nt[st]=arguments[st+2];Ke.children=nt}if(ue&&ue.defaultProps)for(ft in _e=ue.defaultProps)Ke[ft]===void 0&&(Ke[ft]=_e[ft]);return{$$typeof:a,type:ue,key:dt,ref:ee,props:Ke,_owner:Pe.current}}function Ce(ue){return typeof ue=="object"&&ue!==null&&ue.$$typeof===a}var Je=/\/+/g;function ze(ue,Te){return typeof ue=="object"&&ue!==null&&ue.key!=null?(function(ft){var Ke={"=":"=0",":":"=2"};return"$"+ft.replace(/[=:]/g,(function(dt){return Ke[dt]}))})(""+ue.key):Te.toString(36)}function Ve(ue,Te,et,ft,Ke){var dt=typeof ue;dt!=="undefined"&&dt!=="boolean"||(ue=null);var ee=!1;if(ue===null)ee=!0;else switch(dt){case"string":case"number":ee=!0;break;case"object":switch(ue.$$typeof){case a:case c:ee=!0}}if(ee)return Ke=Ke(ee=ue),ue=ft===""?"."+ze(ee,0):ft,se(Ke)?(et="",ue!=null&&(et=ue.replace(Je,"$&/")+"/"),Ve(Ke,Te,et,"",(function(st){return st}))):Ke!=null&&(Ce(Ke)&&(Ke=(function(Ut,qt){return{$$typeof:a,type:Ut.type,key:qt,ref:Ut.ref,props:Ut.props,_owner:Ut._owner}})(Ke,et+(!Ke.key||ee&&ee.key===Ke.key?"":(""+Ke.key).replace(Je,"$&/")+"/")+ue)),Te.push(Ke)),1;if(ee=0,ft=ft===""?".":ft+":",se(ue))for(var _e=0;_e<ue.length;_e++){var nt=ft+ze(dt=ue[_e],_e);ee+=Ve(dt,Te,et,nt,Ke)}else if(nt=(function(Ut){return Ut===null||typeof Ut!="object"?null:typeof(Ut=I&&Ut[I]||Ut["@@iterator"])=="function"?Ut:null})(ue),typeof nt=="function")for(ue=nt.call(ue),_e=0;!(dt=ue.next()).done;)ee+=Ve(dt=dt.value,Te,et,nt=ft+ze(dt,_e++),Ke);else if(dt==="object")throw Te=String(ue),Error("Objects are not valid as a React child (found: "+(Te==="[object Object]"?"object with keys {"+Object.keys(ue).join(", ")+"}":Te)+"). If you meant to render a collection of children, use an array instead.");return ee}function Qe(ue,Te,et){if(ue==null)return ue;var ft=[],Ke=0;return Ve(ue,ft,"","",(function(dt){return Te.call(et,dt,Ke++)})),ft}function pt(ue){if(ue._status===-1){var Te=ue._result;(Te=Te()).then((function(et){ue._status!==0&&ue._status!==-1||(ue._status=1,ue._result=et)}),(function(et){ue._status!==0&&ue._status!==-1||(ue._status=2,ue._result=et)})),ue._status===-1&&(ue._status=0,ue._result=Te)}if(ue._status===1)return ue._result.default;throw ue._result}var Fe={current:null},g={transition:null},it={ReactCurrentDispatcher:Fe,ReactCurrentBatchConfig:g,ReactCurrentOwner:Pe};function Ye(){throw Error("act(...) is not supported in production builds of React.")}A.Children={map:Qe,forEach:function(ue,Te,et){Qe(ue,(function(){Te.apply(this,arguments)}),et)},count:function(ue){var Te=0;return Qe(ue,(function(){Te++})),Te},toArray:function(ue){return Qe(ue,(function(Te){return Te}))||[]},only:function(ue){if(!Ce(ue))throw Error("React.Children.only expected to receive a single React element child.");return ue}},A.Component=q,A.Fragment=v,A.Profiler=y,A.PureComponent=H,A.StrictMode=d,A.Suspense=x,A.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=it,A.act=Ye,A.cloneElement=function(ue,Te,et){if(ue==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+ue+".");var ft=$({},ue.props),Ke=ue.key,dt=ue.ref,ee=ue._owner;if(Te!=null){if(Te.ref!==void 0&&(dt=Te.ref,ee=Pe.current),Te.key!==void 0&&(Ke=""+Te.key),ue.type&&ue.type.defaultProps)var _e=ue.type.defaultProps;for(nt in Te)le.call(Te,nt)&&!he.hasOwnProperty(nt)&&(ft[nt]=Te[nt]===void 0&&_e!==void 0?_e[nt]:Te[nt])}var nt=arguments.length-2;if(nt===1)ft.children=et;else if(1<nt){_e=Array(nt);for(var st=0;st<nt;st++)_e[st]=arguments[st+2];ft.children=_e}return{$$typeof:a,type:ue.type,key:Ke,ref:dt,props:ft,_owner:ee}},A.createContext=function(ue){return(ue={$$typeof:p,_currentValue:ue,_currentValue2:ue,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:f,_context:ue},ue.Consumer=ue},A.createElement=ge,A.createFactory=function(ue){var Te=ge.bind(null,ue);return Te.type=ue,Te},A.createRef=function(){return{current:null}},A.forwardRef=function(ue){return{$$typeof:w,render:ue}},A.isValidElement=Ce,A.lazy=function(ue){return{$$typeof:j,_payload:{_status:-1,_result:ue},_init:pt}},A.memo=function(ue,Te){return{$$typeof:O,type:ue,compare:Te===void 0?null:Te}},A.startTransition=function(ue){var Te=g.transition;g.transition={};try{ue()}finally{g.transition=Te}},A.unstable_act=Ye,A.useCallback=function(ue,Te){return Fe.current.useCallback(ue,Te)},A.useContext=function(ue){return Fe.current.useContext(ue)},A.useDebugValue=function(){},A.useDeferredValue=function(ue){return Fe.current.useDeferredValue(ue)},A.useEffect=function(ue,Te){return Fe.current.useEffect(ue,Te)},A.useId=function(){return Fe.current.useId()},A.useImperativeHandle=function(ue,Te,et){return Fe.current.useImperativeHandle(ue,Te,et)},A.useInsertionEffect=function(ue,Te){return Fe.current.useInsertionEffect(ue,Te)},A.useLayoutEffect=function(ue,Te){return Fe.current.useLayoutEffect(ue,Te)},A.useMemo=function(ue,Te){return Fe.current.useMemo(ue,Te)},A.useReducer=function(ue,Te,et){return Fe.current.useReducer(ue,Te,et)},A.useRef=function(ue){return Fe.current.useRef(ue)},A.useState=function(ue){return Fe.current.useState(ue)},A.useSyncExternalStore=function(ue,Te,et){return Fe.current.useSyncExternalStore(ue,Te,et)},A.useTransition=function(){return Fe.current.useTransition()},A.version="18.3.1"},5288:m=>{m.exports=function(a,c){return a===c||a!=a&&c!=c}},5345:m=>{m.exports=URIError},5377:(m,A,a)=>{var c=a(2861).Buffer,v=a(4634),d=a(4372),y=ArrayBuffer.isView||function(O){try{return d(O),!0}catch{return!1}},f=typeof Uint8Array<"u",p=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",w=p&&(c.prototype instanceof Uint8Array||c.TYPED_ARRAY_SUPPORT);m.exports=function(O,j){if(O instanceof c)return O;if(typeof O=="string")return c.from(O,j);if(p&&y(O)){if(O.byteLength===0)return c.alloc(0);if(w){var I=c.from(O.buffer,O.byteOffset,O.byteLength);if(I.byteLength===O.byteLength)return I}var M=O instanceof Uint8Array?O:new Uint8Array(O.buffer,O.byteOffset,O.byteLength),$=c.from(M);if($.length===O.byteLength)return $}if(f&&O instanceof Uint8Array)return c.from(O);var W=v(O);if(W)for(var q=0;q<O.length;q+=1){var U=O[q];if(typeof U!="number"||U<0||U>255||~~U!==U)throw new RangeError("Array items must be numbers in the range 0-255.")}if(W||c.isBuffer(O)&&O.constructor&&typeof O.constructor.isBuffer=="function"&&O.constructor.isBuffer(O))return c.from(O);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},5389:(m,A,a)=>{var c=a(3663),v=a(7978),d=a(3488),y=a(6449),f=a(583);m.exports=function(w){return typeof w=="function"?w:w==null?d:typeof w=="object"?y(w)?v(w[0],w[1]):c(w):f(w)}},5401:(m,A,a)=>{var c=a(462);m.exports=c},5434:m=>{var A=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;m.exports=function(c){return A.test(c)}},5481:(m,A,a)=>{var c=a(9325)["__core-js_shared__"];m.exports=c},5482:(m,A,a)=>{var c=a(1176);m.exports=function(v){var d=+v;return d!=d||d===0?0:c(d)}},5527:m=>{var A=Object.prototype;m.exports=function(c){var v=c&&c.constructor;return c===(typeof v=="function"&&v.prototype||A)}},5539:(m,A,a)=>{var c=a(882),v=a(828),d=a(6645),y=RegExp("['’]","g");m.exports=function(p){return function(w){return c(d(v(w).replace(y,"")),p,"")}}},5580:(m,A,a)=>{var c=a(6110)(a(9325),"DataView");m.exports=c},5582:(m,A,a)=>{var c=a(2046),v=a(5951),d=a(2250),y=function(f){return d(f)?f:void 0};m.exports=function(f,p){return arguments.length<2?y(c[f])||y(v[f]):c[f]&&c[f][p]||v[f]&&v[f][p]}},5594:(m,A,a)=>{var c=a(5582),v=a(2250),d=a(8280),y=a(3556),f=Object;m.exports=y?function(p){return typeof p=="symbol"}:function(p){var w=c("Symbol");return v(w)&&d(w.prototype,f(p))}},5606:m=>{var A,a,c=m.exports={};function v(){throw new Error("setTimeout has not been defined")}function d(){throw new Error("clearTimeout has not been defined")}function y($){if(A===setTimeout)return setTimeout($,0);if((A===v||!A)&&setTimeout)return A=setTimeout,setTimeout($,0);try{return A($,0)}catch{try{return A.call(null,$,0)}catch{return A.call(this,$,0)}}}(function(){try{A=typeof setTimeout=="function"?setTimeout:v}catch{A=v}try{a=typeof clearTimeout=="function"?clearTimeout:d}catch{a=d}})();var f,p=[],w=!1,x=-1;function O(){w&&f&&(w=!1,f.length?p=f.concat(p):x=-1,p.length&&j())}function j(){if(!w){var $=y(O);w=!0;for(var W=p.length;W;){for(f=p,p=[];++x<W;)f&&f[x].run();x=-1,W=p.length}f=null,w=!1,(function(U){if(a===clearTimeout)return clearTimeout(U);if((a===d||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(U);try{return a(U)}catch{try{return a.call(null,U)}catch{return a.call(this,U)}}})($)}}function I($,W){this.fun=$,this.array=W}function M(){}c.nextTick=function($){var W=new Array(arguments.length-1);if(arguments.length>1)for(var q=1;q<arguments.length;q++)W[q-1]=arguments[q];p.push(new I($,W)),p.length!==1||w||y(j)},I.prototype.run=function(){this.fun.apply(null,this.array)},c.title="browser",c.browser=!0,c.env={},c.argv=[],c.version="",c.versions={},c.on=M,c.addListener=M,c.once=M,c.off=M,c.removeListener=M,c.removeAllListeners=M,c.emit=M,c.prependListener=M,c.prependOnceListener=M,c.listeners=function($){return[]},c.binding=function($){throw new Error("process.binding is not supported")},c.cwd=function(){return"/"},c.chdir=function($){throw new Error("process.chdir is not supported")},c.umask=function(){return 0}},5680:(m,A,a)=>{var c=a(5767);m.exports=function(d){return!!c(d)}},5749:(m,A,a)=>{var c=a(1042);m.exports=function(d,y){var f=this.__data__;return this.size+=this.has(d)?0:1,f[d]=c&&y===void 0?"__lodash_hash_undefined__":y,this}},5767:(m,A,a)=>{var c=a(2682),v=a(9209),d=a(487),y=a(6556),f=a(5795),p=y("Object.prototype.toString"),w=a(9092)(),x=typeof globalThis>"u"?a.g:globalThis,O=v(),j=y("String.prototype.slice"),I=Object.getPrototypeOf,M=y("Array.prototype.indexOf",!0)||function(q,U){for(var H=0;H<q.length;H+=1)if(q[H]===U)return H;return-1},$={__proto__:null};c(O,w&&f&&I?function(W){var q=new x[W];if(Symbol.toStringTag in q){var U=I(q),H=f(U,Symbol.toStringTag);if(!H){var Q=I(U);H=f(Q,Symbol.toStringTag)}$["$"+W]=d(H.get)}}:function(W){var q=new x[W],U=q.slice||q.set;U&&($["$"+W]=d(U))}),m.exports=function(q){if(!q||typeof q!="object")return!1;if(!w){var U=j(p(q),8,-1);return M(O,U)>-1?U:U==="Object"&&(function(Q){var se=!1;return c($,(function(le,Pe){if(!se)try{le(Q),se=j(Pe,1)}catch{}})),se})(q)}return f?(function(Q){var se=!1;return c($,(function(le,Pe){if(!se)try{"$"+le(Q)===Pe&&(se=j(Pe,1))}catch{}})),se})(q):null}},5795:(m,A,a)=>{var c=a(6549);if(c)try{c([],"length")}catch{c=null}m.exports=c},5807:(m,A,a)=>{var c=a(1907),v=c({}.toString),d=c("".slice);m.exports=function(y){return d(v(y),8,-1)}},5808:(m,A,a)=>{var c=a(2507)("toUpperCase");m.exports=c},5816:(m,A,a)=>{var c=a(6128);m.exports=function(v,d){return c[v]||(c[v]=d||{})}},5817:m=>{m.exports=function(A,a){return{enumerable:!(1&A),configurable:!(2&A),writable:!(4&A),value:a}}},5861:(m,A,a)=>{var c=a(5580),v=a(8223),d=a(2804),y=a(6545),f=a(8303),p=a(2552),w=a(7473),x="[object Map]",O="[object Promise]",j="[object Set]",I="[object WeakMap]",M="[object DataView]",$=w(c),W=w(v),q=w(d),U=w(y),H=w(f),Q=p;(c&&Q(new c(new ArrayBuffer(1)))!=M||v&&Q(new v)!=x||d&&Q(d.resolve())!=O||y&&Q(new y)!=j||f&&Q(new f)!=I)&&(Q=function(se){var le=p(se),Pe=le=="[object Object]"?se.constructor:void 0,he=Pe?w(Pe):"";if(he)switch(he){case $:return M;case W:return x;case q:return O;case U:return j;case H:return I}return le}),m.exports=Q},5880:m=>{m.exports=Math.pow},5911:(m,A,a)=>{var c=a(8859),v=a(4248),d=a(9219);m.exports=function(f,p,w,x,O,j){var I=1&w,M=f.length,$=p.length;if(M!=$&&!(I&&$>M))return!1;var W=j.get(f),q=j.get(p);if(W&&q)return W==p&&q==f;var U=-1,H=!0,Q=2&w?new c:void 0;for(j.set(f,p),j.set(p,f);++U<M;){var se=f[U],le=p[U];if(x)var Pe=I?x(le,se,U,p,f,j):x(se,le,U,f,p,j);if(Pe!==void 0){if(Pe)continue;H=!1;break}if(Q){if(!v(p,(function(he,ge){if(!d(Q,ge)&&(se===he||O(se,he,w,x,j)))return Q.push(ge)}))){H=!1;break}}else if(se!==le&&!O(se,le,w,x,j)){H=!1;break}}return j.delete(f),j.delete(p),H}},5950:(m,A,a)=>{var c=a(695),v=a(8984),d=a(4894);m.exports=function(f){return d(f)?c(f):v(f)}},5951:function(m,A,a){var c=function(v){return v&&v.Math===Math&&v};m.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof a.g=="object"&&a.g)||c(typeof this=="object"&&this)||(function(){return this})()||Function("return this")()},6009:(m,A,a)=>{m=a.nmd(m);var c=a(4840),v=A&&!A.nodeType&&A,d=v&&m&&!m.nodeType&&m,y=d&&d.exports===v&&c.process,f=(function(){try{var p=d&&d.require&&d.require("util").types;return p||y&&y.binding&&y.binding("util")}catch{}})();m.exports=f},6024:(m,A,a)=>{var c=a(1505),v=Function.prototype,d=v.apply,y=v.call;m.exports=typeof Reflect=="object"&&Reflect.apply||(c?y.bind(d):function(){return y.apply(d,arguments)})},6025:(m,A,a)=>{var c=a(5288);m.exports=function(d,y){for(var f=d.length;f--;)if(c(d[f][0],y))return f;return-1}},6028:(m,A,a)=>{var c=a(3930),v=a(6285),d=a(5594),y=a(9367),f=a(581),p=a(6264),w=TypeError,x=p("toPrimitive");m.exports=function(O,j){if(!v(O)||d(O))return O;var I,M=y(O,x);if(M){if(j===void 0&&(j="default"),I=c(M,O,j),!v(I)||d(I))return I;throw new w("Can't convert object to primitive value")}return j===void 0&&(j="number"),f(O,j)}},6110:(m,A,a)=>{var c=a(5083),v=a(392);m.exports=function(y,f){var p=v(y,f);return c(p)?p:void 0}},6128:(m,A,a)=>{var c=a(7376),v=a(5951),d=a(2532),y="__core-js_shared__",f=m.exports=v[y]||d(y,{});(f.versions||(f.versions=[])).push({version:"3.40.0",mode:c?"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"})},6188:m=>{m.exports=Math.max},6264:(m,A,a)=>{var c=a(5951),v=a(5816),d=a(9724),y=a(6499),f=a(9846),p=a(3556),w=c.Symbol,x=v("wks"),O=p?w.for||w:w&&w.withoutSetter||y;m.exports=function(j){return d(x,j)||(x[j]=f&&d(w,j)?w[j]:O("Symbol."+j)),x[j]}},6285:(m,A,a)=>{var c=a(2250);m.exports=function(v){return typeof v=="object"?v!==null:c(v)}},6449:m=>{var A=Array.isArray;m.exports=A},6499:(m,A,a)=>{var c=a(1907),v=0,d=Math.random(),y=c(1 .toString);m.exports=function(f){return"Symbol("+(f===void 0?"":f)+")_"+y(++v+d,36)}},6540:(m,A,a)=>{m.exports=a(5287)},6545:(m,A,a)=>{var c=a(6110)(a(9325),"Set");m.exports=c},6547:(m,A,a)=>{var c=a(3360),v=a(5288),d=Object.prototype.hasOwnProperty;m.exports=function(f,p,w){var x=f[p];d.call(f,p)&&v(x,w)&&(w!==void 0||p in f)||c(f,p,w)}},6549:m=>{m.exports=Object.getOwnPropertyDescriptor},6556:(m,A,a)=>{var c=a(453),v=a(3126),d=v([c("%String.prototype.indexOf%")]);m.exports=function(f,p){var w=c(f,!!p);return typeof w=="function"&&d(f,".prototype.")>-1?v([w]):w}},6578:m=>{m.exports=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},6624:(m,A,a)=>{var c=a(6285),v=String,d=TypeError;m.exports=function(y){if(c(y))return y;throw new d(v(y)+" is not an object")}},6645:(m,A,a)=>{var c=a(1733),v=a(5434),d=a(3222),y=a(2225);m.exports=function(p,w,x){return p=d(p),(w=x?void 0:w)===void 0?v(p)?y(p):c(p):p.match(w)||[]}},6649:(m,A,a)=>{var c=a(3221)();m.exports=c},6698:m=>{typeof Object.create=="function"?m.exports=function(a,c){c&&(a.super_=c,a.prototype=Object.create(c.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}))}:m.exports=function(a,c){if(c){a.super_=c;var v=function(){};v.prototype=c.prototype,a.prototype=new v,a.prototype.constructor=a}}},6710:(m,A,a)=>{var c=a(6698),v=a(4107),d=a(8011),y=a(2861).Buffer,f=new Array(64);function p(){this.init(),this._w=f,d.call(this,64,56)}c(p,v),p.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},p.prototype._hash=function(){var w=y.allocUnsafe(28);return w.writeInt32BE(this._a,0),w.writeInt32BE(this._b,4),w.writeInt32BE(this._c,8),w.writeInt32BE(this._d,12),w.writeInt32BE(this._e,16),w.writeInt32BE(this._f,20),w.writeInt32BE(this._g,24),w},m.exports=p},6721:(m,A,a)=>{var c=a(1042),v=Object.prototype.hasOwnProperty;m.exports=function(y){var f=this.__data__;if(c){var p=f[y];return p==="__lodash_hash_undefined__"?void 0:p}return v.call(f,y)?f[y]:void 0}},6743:(m,A,a)=>{var c=a(9353);m.exports=Function.prototype.bind||c},6794:(m,A,a)=>{var c=a(5951).navigator,v=c&&c.userAgent;m.exports=v?String(v):""},6800:(m,A,a)=>{var c=a(5288),v=a(4894),d=a(361),y=a(3805);m.exports=function(p,w,x){if(!y(x))return!1;var O=typeof w;return!!(O=="number"?v(x)&&d(w,x.length):O=="string"&&w in x)&&c(x[w],p)}},6897:(m,A,a)=>{var c=a(453),v=a(41),d=a(592)(),y=a(5795),f=a(9675),p=c("%Math.floor%");m.exports=function(x,O){if(typeof x!="function")throw new f("`fn` is not a function");if(typeof O!="number"||O<0||O>4294967295||p(O)!==O)throw new f("`length` must be a positive 32-bit integer");var j=arguments.length>2&&!!arguments[2],I=!0,M=!0;if("length"in x&&y){var $=y(x,"length");$&&!$.configurable&&(I=!1),$&&!$.writable&&(M=!1)}return(I||M||!j)&&(d?v(x,"length",O,!0,!0):v(x,"length",O)),x}},6946:(m,A,a)=>{var c=a(1907),v=a(8828),d=a(5807),y=Object,f=c("".split);m.exports=v((function(){return!y("z").propertyIsEnumerable(0)}))?function(p){return d(p)==="String"?f(p,""):y(p)}:y},7068:(m,A,a)=>{var c=a(7217),v=a(5911),d=a(1986),y=a(689),f=a(5861),p=a(6449),w=a(3656),x=a(7167),O="[object Arguments]",j="[object Array]",I="[object Object]",M=Object.prototype.hasOwnProperty;m.exports=function(W,q,U,H,Q,se){var le=p(W),Pe=p(q),he=le?j:f(W),ge=Pe?j:f(q),Ce=(he=he==O?I:he)==I,Je=(ge=ge==O?I:ge)==I,ze=he==ge;if(ze&&w(W)){if(!w(q))return!1;le=!0,Ce=!1}if(ze&&!Ce)return se||(se=new c),le||x(W)?v(W,q,U,H,Q,se):d(W,q,he,U,H,Q,se);if(!(1&U)){var Ve=Ce&&M.call(W,"__wrapped__"),Qe=Je&&M.call(q,"__wrapped__");if(Ve||Qe){var pt=Ve?W.value():W,Fe=Qe?q.value():q;return se||(se=new c),Q(pt,Fe,U,H,se)}}return!!ze&&(se||(se=new c),y(W,q,U,H,Q,se))}},7119:m=>{m.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply},7136:m=>{m.exports=function(A){return A==null}},7157:(m,A,a)=>{var c=a(9447),v=a(1907),d=a(3930),y=a(8828),f=a(2875),p=a(7170),w=a(2574),x=a(9298),O=a(6946),j=Object.assign,I=Object.defineProperty,M=v([].concat);m.exports=!j||y((function(){if(c&&j({b:1},j(I({},"a",{enumerable:!0,get:function(){I(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var $={},W={},q=Symbol("assign detection"),U="abcdefghijklmnopqrst";return $[q]=7,U.split("").forEach((function(H){W[H]=H})),j({},$)[q]!==7||f(j({},W)).join("")!==U}))?function(W,q){for(var U=x(W),H=arguments.length,Q=1,se=p.f,le=w.f;H>Q;)for(var Pe,he=O(arguments[Q++]),ge=se?M(f(he),se(he)):f(he),Ce=ge.length,Je=0;Ce>Je;)Pe=ge[Je++],c&&!d(le,he,Pe)||(U[Pe]=he[Pe]);return U}:j},7167:(m,A,a)=>{var c=a(4901),v=a(7301),d=a(6009),y=d&&d.isTypedArray,f=y?v(y):c;m.exports=f},7170:(m,A)=>{A.f=Object.getOwnPropertySymbols},7176:(m,A,a)=>{var c,v=a(3126),d=a(5795);try{c=[].__proto__===Array.prototype}catch(w){if(!w||typeof w!="object"||!("code"in w)||w.code!=="ERR_PROTO_ACCESS")throw w}var y=!!c&&d&&d(Object.prototype,"__proto__"),f=Object,p=f.getPrototypeOf;m.exports=y&&typeof y.get=="function"?v([y.get]):typeof p=="function"&&function(x){return p(x==null?x:f(x))}},7197:m=>{m.exports=function(a,c){return function(v){return v!=null&&v[a]===c&&(c!==void 0||a in Object(v))}}},7217:(m,A,a)=>{var c=a(79),v=a(1420),d=a(938),y=a(3605),f=a(9817),p=a(945);function w(x){var O=this.__data__=new c(x);this.size=O.size}w.prototype.clear=v,w.prototype.delete=d,w.prototype.get=y,w.prototype.has=f,w.prototype.set=p,m.exports=w},7237:m=>{m.exports=function(a){return function(c){return c?.[a]}}},7248:(m,A,a)=>{var c=a(6547),v=a(1234);m.exports=function(y,f){return v(y||[],f||[],c)}},7255:(m,A,a)=>{var c=a(7422);m.exports=function(d){return function(y){return c(y,d)}}},7296:(m,A,a)=>{var c,v=a(5481),d=(c=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"";m.exports=function(f){return!!d&&d in f}},7301:m=>{m.exports=function(a){return function(c){return a(c)}}},7309:(m,A,a)=>{var c=a(2006)(a(4713));m.exports=c},7374:(m,A,a)=>{var c=a(6946),v=a(4239);m.exports=function(d){return c(v(d))}},7376:m=>{m.exports=!0},7400:(m,A,a)=>{var c=a(9374),v=1/0;m.exports=function(y){return y?(y=c(y))===v||y===-1/0?17976931348623157e292*(y<0?-1:1):y==y?y:0:y===0?y:0}},7422:(m,A,a)=>{var c=a(1769),v=a(7797);m.exports=function(y,f){for(var p=0,w=(f=c(f,y)).length;y!=null&&p<w;)y=y[v(f[p++])];return p&&p==w?y:void 0}},7463:(m,A,a)=>{var c=a(8828),v=a(2250),d=/#|\.prototype\./,y=function(O,j){var I=p[f(O)];return I===x||I!==w&&(v(j)?c(j):!!j)},f=y.normalize=function(O){return String(O).replace(d,".").toLowerCase()},p=y.data={},w=y.NATIVE="N",x=y.POLYFILL="P";m.exports=y},7473:m=>{var A=Function.prototype.toString;m.exports=function(c){if(c!=null){try{return A.call(c)}catch{}try{return c+""}catch{}}return""}},7526:(m,A)=>{A.byteLength=function(x){var O=f(x),j=O[0],I=O[1];return 3*(j+I)/4-I},A.toByteArray=function(x){var O,j,I=f(x),M=I[0],$=I[1],W=new v((function(Q,se,le){return 3*(se+le)/4-le})(0,M,$)),q=0,U=$>0?M-4:M;for(j=0;j<U;j+=4)O=c[x.charCodeAt(j)]<<18|c[x.charCodeAt(j+1)]<<12|c[x.charCodeAt(j+2)]<<6|c[x.charCodeAt(j+3)],W[q++]=O>>16&255,W[q++]=O>>8&255,W[q++]=255&O;return $===2&&(O=c[x.charCodeAt(j)]<<2|c[x.charCodeAt(j+1)]>>4,W[q++]=255&O),$===1&&(O=c[x.charCodeAt(j)]<<10|c[x.charCodeAt(j+1)]<<4|c[x.charCodeAt(j+2)]>>2,W[q++]=O>>8&255,W[q++]=255&O),W},A.fromByteArray=function(x){for(var O,j=x.length,I=j%3,M=[],$=16383,W=0,q=j-I;W<q;W+=$)M.push(p(x,W,W+$>q?q:W+$));return I===1?(O=x[j-1],M.push(a[O>>2]+a[O<<4&63]+"==")):I===2&&(O=(x[j-2]<<8)+x[j-1],M.push(a[O>>10]+a[O>>4&63]+a[O<<2&63]+"=")),M.join("")};for(var a=[],c=[],v=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=0;y<64;++y)a[y]=d[y],c[d.charCodeAt(y)]=y;function f(w){var x=w.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var O=w.indexOf("=");return O===-1&&(O=x),[O,O===x?0:4-O%4]}function p(w,x,O){for(var j,I,M=[],$=x;$<O;$+=3)j=(w[$]<<16&16711680)+(w[$+1]<<8&65280)+(255&w[$+2]),M.push(a[(I=j)>>18&63]+a[I>>12&63]+a[I>>6&63]+a[63&I]);return M.join("")}c[45]=62,c[95]=63},7534:(m,A,a)=>{var c=a(2552),v=a(346);m.exports=function(y){return v(y)&&c(y)=="[object Arguments]"}},7556:(m,A,a)=>{var c=a(1873),v=a(4932),d=a(6449),y=a(4394),f=c?c.prototype:void 0,p=f?f.toString:void 0;m.exports=function w(x){if(typeof x=="string")return x;if(d(x))return v(x,w)+"";if(y(x))return p?p.call(x):"";var O=x+"";return O=="0"&&1/x==-1/0?"-0":O}},7666:(m,A,a)=>{var c=a(4851),v=a(953);function d(){var y;return m.exports=d=c?v(y=c).call(y):function(f){for(var p=1;p<arguments.length;p++){var w=arguments[p];for(var x in w)({}).hasOwnProperty.call(w,x)&&(f[x]=w[x])}return f},m.exports.__esModule=!0,m.exports.default=m.exports,d.apply(null,arguments)}m.exports=d,m.exports.__esModule=!0,m.exports.default=m.exports},7670:(m,A,a)=>{var c=a(2651);m.exports=function(d){var y=c(this,d).delete(d);return this.size-=y?1:0,y}},7797:(m,A,a)=>{var c=a(4394);m.exports=function(d){if(typeof d=="string"||c(d))return d;var y=d+"";return y=="0"&&1/d==-1/0?"-0":y}},7816:(m,A,a)=>{var c=a(6698),v=a(8011),d=a(2861).Buffer,y=[1518500249,1859775393,-1894007588,-899497514],f=new Array(80);function p(){this.init(),this._w=f,v.call(this,64,56)}function w(O){return O<<30|O>>>2}function x(O,j,I,M){return O===0?j&I|~j&M:O===2?j&I|j&M|I&M:j^I^M}c(p,v),p.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},p.prototype._update=function(O){for(var j,I=this._w,M=0|this._a,$=0|this._b,W=0|this._c,q=0|this._d,U=0|this._e,H=0;H<16;++H)I[H]=O.readInt32BE(4*H);for(;H<80;++H)I[H]=I[H-3]^I[H-8]^I[H-14]^I[H-16];for(var Q=0;Q<80;++Q){var se=~~(Q/20),le=0|((j=M)<<5|j>>>27)+x(se,$,W,q)+U+I[Q]+y[se];U=q,q=W,W=w($),$=M,M=le}this._a=M+this._a|0,this._b=$+this._b|0,this._c=W+this._c|0,this._d=q+this._d|0,this._e=U+this._e|0},p.prototype._hash=function(){var O=d.allocUnsafe(20);return O.writeInt32BE(0|this._a,0),O.writeInt32BE(0|this._b,4),O.writeInt32BE(0|this._c,8),O.writeInt32BE(0|this._d,12),O.writeInt32BE(0|this._e,16),O},m.exports=p},7828:(m,A,a)=>{var c=a(9325).Uint8Array;m.exports=c},7978:(m,A,a)=>{var c=a(270),v=a(8156),d=a(631),y=a(8586),f=a(756),p=a(7197),w=a(7797);m.exports=function(O,j){return y(O)&&f(j)?p(w(O),j):function(I){var M=v(I,O);return M===void 0&&M===j?d(I,O):c(j,M,3)}}},8002:m=>{m.exports=Math.min},8011:(m,A,a)=>{var c=a(2861).Buffer,v=a(5377);function d(y,f){this._block=c.alloc(y),this._finalSize=f,this._blockSize=y,this._len=0}d.prototype.update=function(y,f){y=v(y,f||"utf8");for(var p=this._block,w=this._blockSize,x=y.length,O=this._len,j=0;j<x;){for(var I=O%w,M=Math.min(x-j,w-I),$=0;$<M;$++)p[I+$]=y[j+$];j+=M,(O+=M)%w==0&&this._update(p)}return this._len+=x,this},d.prototype.digest=function(y){var f=this._len%this._blockSize;this._block[f]=128,this._block.fill(0,f+1),f>=this._finalSize&&(this._update(this._block),this._block.fill(0));var p=8*this._len;if(p<=4294967295)this._block.writeUInt32BE(p,this._blockSize-4);else{var w=(4294967295&p)>>>0,x=(p-w)/4294967296;this._block.writeUInt32BE(x,this._blockSize-8),this._block.writeUInt32BE(w,this._blockSize-4)}this._update(this._block);var O=this._hash();return y?O.toString(y):O},d.prototype._update=function(){throw new Error("_update must be implemented by subclass")},m.exports=d},8068:m=>{m.exports=SyntaxError},8077:m=>{m.exports=function(a,c){return a!=null&&c in Object(a)}},8096:m=>{m.exports=function(a,c){for(var v=-1,d=Array(a);++v<a;)d[v]=c(v);return d}},8156:(m,A,a)=>{var c=a(7422);m.exports=function(d,y,f){var p=d==null?void 0:c(d,y);return p===void 0?f:p}},8223:(m,A,a)=>{var c=a(6110)(a(9325),"Map");m.exports=c},8280:(m,A,a)=>{var c=a(1907);m.exports=c({}.isPrototypeOf)},8287:(m,A,a)=>{const c=a(7526),v=a(251),d=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;A.Buffer=p,A.SlowBuffer=function(C){return+C!=C&&(C=0),p.alloc(+C)},A.INSPECT_MAX_BYTES=50;const y=2147483647;function f(Y){if(Y>y)throw new RangeError('The value "'+Y+'" is invalid for option "size"');const C=new Uint8Array(Y);return Object.setPrototypeOf(C,p.prototype),C}function p(Y,C,N){if(typeof Y=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return O(Y)}return w(Y,C,N)}function w(Y,C,N){if(typeof Y=="string")return(function(be,Ze){if(typeof Ze=="string"&&Ze!==""||(Ze="utf8"),!p.isEncoding(Ze))throw new TypeError("Unknown encoding: "+Ze);const St=0|$(be,Ze);let ut=f(St);const yt=ut.write(be,Ze);return yt!==St&&(ut=ut.slice(0,yt)),ut})(Y,C);if(ArrayBuffer.isView(Y))return(function(be){if(xt(be,Uint8Array)){const Ze=new Uint8Array(be);return I(Ze.buffer,Ze.byteOffset,Ze.byteLength)}return j(be)})(Y);if(Y==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y);if(xt(Y,ArrayBuffer)||Y&&xt(Y.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(xt(Y,SharedArrayBuffer)||Y&&xt(Y.buffer,SharedArrayBuffer)))return I(Y,C,N);if(typeof Y=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const J=Y.valueOf&&Y.valueOf();if(J!=null&&J!==Y)return p.from(J,C,N);const ne=(function(be){if(p.isBuffer(be)){const Ze=0|M(be.length),St=f(Ze);return St.length===0||be.copy(St,0,0,Ze),St}if(be.length!==void 0)return typeof be.length!="number"||Mt(be.length)?f(0):j(be);if(be.type==="Buffer"&&Array.isArray(be.data))return j(be.data)})(Y);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof Y[Symbol.toPrimitive]=="function")return p.from(Y[Symbol.toPrimitive]("string"),C,N);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Y)}function x(Y){if(typeof Y!="number")throw new TypeError('"size" argument must be of type number');if(Y<0)throw new RangeError('The value "'+Y+'" is invalid for option "size"')}function O(Y){return x(Y),f(Y<0?0:0|M(Y))}function j(Y){const C=Y.length<0?0:0|M(Y.length),N=f(C);for(let J=0;J<C;J+=1)N[J]=255&Y[J];return N}function I(Y,C,N){if(C<0||Y.byteLength<C)throw new RangeError('"offset" is outside of buffer bounds');if(Y.byteLength<C+(N||0))throw new RangeError('"length" is outside of buffer bounds');let J;return J=C===void 0&&N===void 0?new Uint8Array(Y):N===void 0?new Uint8Array(Y,C):new Uint8Array(Y,C,N),Object.setPrototypeOf(J,p.prototype),J}function M(Y){if(Y>=y)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+y.toString(16)+" bytes");return 0|Y}function $(Y,C){if(p.isBuffer(Y))return Y.length;if(ArrayBuffer.isView(Y)||xt(Y,ArrayBuffer))return Y.byteLength;if(typeof Y!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Y);const N=Y.length,J=arguments.length>2&&arguments[2]===!0;if(!J&&N===0)return 0;let ne=!1;for(;;)switch(C){case"ascii":case"latin1":case"binary":return N;case"utf8":case"utf-8":return Ut(Y).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*N;case"hex":return N>>>1;case"base64":return qt(Y).length;default:if(ne)return J?-1:Ut(Y).length;C=(""+C).toLowerCase(),ne=!0}}function W(Y,C,N){let J=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((N===void 0||N>this.length)&&(N=this.length),N<=0)||(N>>>=0)<=(C>>>=0))return"";for(Y||(Y="utf8");;)switch(Y){case"hex":return Qe(this,C,N);case"utf8":case"utf-8":return Ce(this,C,N);case"ascii":return ze(this,C,N);case"latin1":case"binary":return Ve(this,C,N);case"base64":return ge(this,C,N);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return pt(this,C,N);default:if(J)throw new TypeError("Unknown encoding: "+Y);Y=(Y+"").toLowerCase(),J=!0}}function q(Y,C,N){const J=Y[C];Y[C]=Y[N],Y[N]=J}function U(Y,C,N,J,ne){if(Y.length===0)return-1;if(typeof N=="string"?(J=N,N=0):N>2147483647?N=2147483647:N<-2147483648&&(N=-2147483648),Mt(N=+N)&&(N=ne?0:Y.length-1),N<0&&(N=Y.length+N),N>=Y.length){if(ne)return-1;N=Y.length-1}else if(N<0){if(!ne)return-1;N=0}if(typeof C=="string"&&(C=p.from(C,J)),p.isBuffer(C))return C.length===0?-1:H(Y,C,N,J,ne);if(typeof C=="number")return C&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(Y,C,N):Uint8Array.prototype.lastIndexOf.call(Y,C,N):H(Y,[C],N,J,ne);throw new TypeError("val must be string, number or Buffer")}function H(Y,C,N,J,ne){let ce,be=1,Ze=Y.length,St=C.length;if(J!==void 0&&((J=String(J).toLowerCase())==="ucs2"||J==="ucs-2"||J==="utf16le"||J==="utf-16le")){if(Y.length<2||C.length<2)return-1;be=2,Ze/=2,St/=2,N/=2}function ut(yt,kt){return be===1?yt[kt]:yt.readUInt16BE(kt*be)}if(ne){let yt=-1;for(ce=N;ce<Ze;ce++)if(ut(Y,ce)===ut(C,yt===-1?0:ce-yt)){if(yt===-1&&(yt=ce),ce-yt+1===St)return yt*be}else yt!==-1&&(ce-=ce-yt),yt=-1}else for(N+St>Ze&&(N=Ze-St),ce=N;ce>=0;ce--){let yt=!0;for(let kt=0;kt<St;kt++)if(ut(Y,ce+kt)!==ut(C,kt)){yt=!1;break}if(yt)return ce}return-1}function Q(Y,C,N,J){N=Number(N)||0;const ne=Y.length-N;J?(J=Number(J))>ne&&(J=ne):J=ne;const ce=C.length;let be;for(J>ce/2&&(J=ce/2),be=0;be<J;++be){const Ze=parseInt(C.substr(2*be,2),16);if(Mt(Ze))return be;Y[N+be]=Ze}return be}function se(Y,C,N,J){return lt(Ut(C,Y.length-N),Y,N,J)}function le(Y,C,N,J){return lt((function(ce){const be=[];for(let Ze=0;Ze<ce.length;++Ze)be.push(255&ce.charCodeAt(Ze));return be})(C),Y,N,J)}function Pe(Y,C,N,J){return lt(qt(C),Y,N,J)}function he(Y,C,N,J){return lt((function(ce,be){let Ze,St,ut;const yt=[];for(let kt=0;kt<ce.length&&!((be-=2)<0);++kt)Ze=ce.charCodeAt(kt),St=Ze>>8,ut=Ze%256,yt.push(ut),yt.push(St);return yt})(C,Y.length-N),Y,N,J)}function ge(Y,C,N){return C===0&&N===Y.length?c.fromByteArray(Y):c.fromByteArray(Y.slice(C,N))}function Ce(Y,C,N){N=Math.min(Y.length,N);const J=[];let ne=C;for(;ne<N;){const ce=Y[ne];let be=null,Ze=ce>239?4:ce>223?3:ce>191?2:1;if(ne+Ze<=N){let St,ut,yt,kt;switch(Ze){case 1:ce<128&&(be=ce);break;case 2:St=Y[ne+1],(192&St)==128&&(kt=(31&ce)<<6|63&St,kt>127&&(be=kt));break;case 3:St=Y[ne+1],ut=Y[ne+2],(192&St)==128&&(192&ut)==128&&(kt=(15&ce)<<12|(63&St)<<6|63&ut,kt>2047&&(kt<55296||kt>57343)&&(be=kt));break;case 4:St=Y[ne+1],ut=Y[ne+2],yt=Y[ne+3],(192&St)==128&&(192&ut)==128&&(192&yt)==128&&(kt=(15&ce)<<18|(63&St)<<12|(63&ut)<<6|63&yt,kt>65535&&kt<1114112&&(be=kt))}}be===null?(be=65533,Ze=1):be>65535&&(be-=65536,J.push(be>>>10&1023|55296),be=56320|1023&be),J.push(be),ne+=Ze}return(function(be){const Ze=be.length;if(Ze<=Je)return String.fromCharCode.apply(String,be);let St="",ut=0;for(;ut<Ze;)St+=String.fromCharCode.apply(String,be.slice(ut,ut+=Je));return St})(J)}A.kMaxLength=y,p.TYPED_ARRAY_SUPPORT=(function(){try{const C=new Uint8Array(1),N={foo:function(){return 42}};return Object.setPrototypeOf(N,Uint8Array.prototype),Object.setPrototypeOf(C,N),C.foo()===42}catch{return!1}})(),p.TYPED_ARRAY_SUPPORT||typeof console>"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(p.prototype,"parent",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.buffer}}),Object.defineProperty(p.prototype,"offset",{enumerable:!0,get:function(){if(p.isBuffer(this))return this.byteOffset}}),p.poolSize=8192,p.from=function(Y,C,N){return w(Y,C,N)},Object.setPrototypeOf(p.prototype,Uint8Array.prototype),Object.setPrototypeOf(p,Uint8Array),p.alloc=function(Y,C,N){return(function(ne,ce,be){return x(ne),ne<=0?f(ne):ce!==void 0?typeof be=="string"?f(ne).fill(ce,be):f(ne).fill(ce):f(ne)})(Y,C,N)},p.allocUnsafe=function(Y){return O(Y)},p.allocUnsafeSlow=function(Y){return O(Y)},p.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==p.prototype},p.compare=function(C,N){if(xt(C,Uint8Array)&&(C=p.from(C,C.offset,C.byteLength)),xt(N,Uint8Array)&&(N=p.from(N,N.offset,N.byteLength)),!p.isBuffer(C)||!p.isBuffer(N))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===N)return 0;let J=C.length,ne=N.length;for(let ce=0,be=Math.min(J,ne);ce<be;++ce)if(C[ce]!==N[ce]){J=C[ce],ne=N[ce];break}return J<ne?-1:ne<J?1:0},p.isEncoding=function(C){switch(String(C).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}},p.concat=function(C,N){if(!Array.isArray(C))throw new TypeError('"list" argument must be an Array of Buffers');if(C.length===0)return p.alloc(0);let J;if(N===void 0)for(N=0,J=0;J<C.length;++J)N+=C[J].length;const ne=p.allocUnsafe(N);let ce=0;for(J=0;J<C.length;++J){let be=C[J];if(xt(be,Uint8Array))ce+be.length>ne.length?(p.isBuffer(be)||(be=p.from(be)),be.copy(ne,ce)):Uint8Array.prototype.set.call(ne,be,ce);else{if(!p.isBuffer(be))throw new TypeError('"list" argument must be an Array of Buffers');be.copy(ne,ce)}ce+=be.length}return ne},p.byteLength=$,p.prototype._isBuffer=!0,p.prototype.swap16=function(){const C=this.length;if(C%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let N=0;N<C;N+=2)q(this,N,N+1);return this},p.prototype.swap32=function(){const C=this.length;if(C%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let N=0;N<C;N+=4)q(this,N,N+3),q(this,N+1,N+2);return this},p.prototype.swap64=function(){const C=this.length;if(C%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let N=0;N<C;N+=8)q(this,N,N+7),q(this,N+1,N+6),q(this,N+2,N+5),q(this,N+3,N+4);return this},p.prototype.toString=function(){const C=this.length;return C===0?"":arguments.length===0?Ce(this,0,C):W.apply(this,arguments)},p.prototype.toLocaleString=p.prototype.toString,p.prototype.equals=function(C){if(!p.isBuffer(C))throw new TypeError("Argument must be a Buffer");return this===C||p.compare(this,C)===0},p.prototype.inspect=function(){let C="";const N=A.INSPECT_MAX_BYTES;return C=this.toString("hex",0,N).replace(/(.{2})/g,"$1 ").trim(),this.length>N&&(C+=" ... "),"<Buffer "+C+">"},d&&(p.prototype[d]=p.prototype.inspect),p.prototype.compare=function(C,N,J,ne,ce){if(xt(C,Uint8Array)&&(C=p.from(C,C.offset,C.byteLength)),!p.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(N===void 0&&(N=0),J===void 0&&(J=C?C.length:0),ne===void 0&&(ne=0),ce===void 0&&(ce=this.length),N<0||J>C.length||ne<0||ce>this.length)throw new RangeError("out of range index");if(ne>=ce&&N>=J)return 0;if(ne>=ce)return-1;if(N>=J)return 1;if(this===C)return 0;let be=(ce>>>=0)-(ne>>>=0),Ze=(J>>>=0)-(N>>>=0);const St=Math.min(be,Ze),ut=this.slice(ne,ce),yt=C.slice(N,J);for(let kt=0;kt<St;++kt)if(ut[kt]!==yt[kt]){be=ut[kt],Ze=yt[kt];break}return be<Ze?-1:Ze<be?1:0},p.prototype.includes=function(C,N,J){return this.indexOf(C,N,J)!==-1},p.prototype.indexOf=function(C,N,J){return U(this,C,N,J,!0)},p.prototype.lastIndexOf=function(C,N,J){return U(this,C,N,J,!1)},p.prototype.write=function(C,N,J,ne){if(N===void 0)ne="utf8",J=this.length,N=0;else if(J===void 0&&typeof N=="string")ne=N,J=this.length,N=0;else{if(!isFinite(N))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");N>>>=0,isFinite(J)?(J>>>=0,ne===void 0&&(ne="utf8")):(ne=J,J=void 0)}const ce=this.length-N;if((J===void 0||J>ce)&&(J=ce),C.length>0&&(J<0||N<0)||N>this.length)throw new RangeError("Attempt to write outside buffer bounds");ne||(ne="utf8");let be=!1;for(;;)switch(ne){case"hex":return Q(this,C,N,J);case"utf8":case"utf-8":return se(this,C,N,J);case"ascii":case"latin1":case"binary":return le(this,C,N,J);case"base64":return Pe(this,C,N,J);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return he(this,C,N,J);default:if(be)throw new TypeError("Unknown encoding: "+ne);ne=(""+ne).toLowerCase(),be=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const Je=4096;function ze(Y,C,N){let J="";N=Math.min(Y.length,N);for(let ne=C;ne<N;++ne)J+=String.fromCharCode(127&Y[ne]);return J}function Ve(Y,C,N){let J="";N=Math.min(Y.length,N);for(let ne=C;ne<N;++ne)J+=String.fromCharCode(Y[ne]);return J}function Qe(Y,C,N){const J=Y.length;(!C||C<0)&&(C=0),(!N||N<0||N>J)&&(N=J);let ne="";for(let ce=C;ce<N;++ce)ne+=_t[Y[ce]];return ne}function pt(Y,C,N){const J=Y.slice(C,N);let ne="";for(let ce=0;ce<J.length-1;ce+=2)ne+=String.fromCharCode(J[ce]+256*J[ce+1]);return ne}function Fe(Y,C,N){if(Y%1!=0||Y<0)throw new RangeError("offset is not uint");if(Y+C>N)throw new RangeError("Trying to access beyond buffer length")}function g(Y,C,N,J,ne,ce){if(!p.isBuffer(Y))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>ne||C<ce)throw new RangeError('"value" argument is out of bounds');if(N+J>Y.length)throw new RangeError("Index out of range")}function it(Y,C,N,J,ne){ee(C,J,ne,Y,N,7);let ce=Number(C&BigInt(4294967295));Y[N++]=ce,ce>>=8,Y[N++]=ce,ce>>=8,Y[N++]=ce,ce>>=8,Y[N++]=ce;let be=Number(C>>BigInt(32)&BigInt(4294967295));return Y[N++]=be,be>>=8,Y[N++]=be,be>>=8,Y[N++]=be,be>>=8,Y[N++]=be,N}function Ye(Y,C,N,J,ne){ee(C,J,ne,Y,N,7);let ce=Number(C&BigInt(4294967295));Y[N+7]=ce,ce>>=8,Y[N+6]=ce,ce>>=8,Y[N+5]=ce,ce>>=8,Y[N+4]=ce;let be=Number(C>>BigInt(32)&BigInt(4294967295));return Y[N+3]=be,be>>=8,Y[N+2]=be,be>>=8,Y[N+1]=be,be>>=8,Y[N]=be,N+8}function ue(Y,C,N,J,ne,ce){if(N+J>Y.length)throw new RangeError("Index out of range");if(N<0)throw new RangeError("Index out of range")}function Te(Y,C,N,J,ne){return C=+C,N>>>=0,ne||ue(Y,0,N,4),v.write(Y,C,N,J,23,4),N+4}function et(Y,C,N,J,ne){return C=+C,N>>>=0,ne||ue(Y,0,N,8),v.write(Y,C,N,J,52,8),N+8}p.prototype.slice=function(C,N){const J=this.length;(C=~~C)<0?(C+=J)<0&&(C=0):C>J&&(C=J),(N=N===void 0?J:~~N)<0?(N+=J)<0&&(N=0):N>J&&(N=J),N<C&&(N=C);const ne=this.subarray(C,N);return Object.setPrototypeOf(ne,p.prototype),ne},p.prototype.readUintLE=p.prototype.readUIntLE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=this[C],ce=1,be=0;for(;++be<N&&(ce*=256);)ne+=this[C+be]*ce;return ne},p.prototype.readUintBE=p.prototype.readUIntBE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=this[C+--N],ce=1;for(;N>0&&(ce*=256);)ne+=this[C+--N]*ce;return ne},p.prototype.readUint8=p.prototype.readUInt8=function(C,N){return C>>>=0,N||Fe(C,1,this.length),this[C]},p.prototype.readUint16LE=p.prototype.readUInt16LE=function(C,N){return C>>>=0,N||Fe(C,2,this.length),this[C]|this[C+1]<<8},p.prototype.readUint16BE=p.prototype.readUInt16BE=function(C,N){return C>>>=0,N||Fe(C,2,this.length),this[C]<<8|this[C+1]},p.prototype.readUint32LE=p.prototype.readUInt32LE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+16777216*this[C+3]},p.prototype.readUint32BE=p.prototype.readUInt32BE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),16777216*this[C]+(this[C+1]<<16|this[C+2]<<8|this[C+3])},p.prototype.readBigUInt64LE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=N+256*this[++C]+65536*this[++C]+this[++C]*2**24,ce=this[++C]+256*this[++C]+65536*this[++C]+J*2**24;return BigInt(ne)+(BigInt(ce)<<BigInt(32))})),p.prototype.readBigUInt64BE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=N*2**24+65536*this[++C]+256*this[++C]+this[++C],ce=this[++C]*2**24+65536*this[++C]+256*this[++C]+J;return(BigInt(ne)<<BigInt(32))+BigInt(ce)})),p.prototype.readIntLE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=this[C],ce=1,be=0;for(;++be<N&&(ce*=256);)ne+=this[C+be]*ce;return ce*=128,ne>=ce&&(ne-=Math.pow(2,8*N)),ne},p.prototype.readIntBE=function(C,N,J){C>>>=0,N>>>=0,J||Fe(C,N,this.length);let ne=N,ce=1,be=this[C+--ne];for(;ne>0&&(ce*=256);)be+=this[C+--ne]*ce;return ce*=128,be>=ce&&(be-=Math.pow(2,8*N)),be},p.prototype.readInt8=function(C,N){return C>>>=0,N||Fe(C,1,this.length),128&this[C]?-1*(255-this[C]+1):this[C]},p.prototype.readInt16LE=function(C,N){C>>>=0,N||Fe(C,2,this.length);const J=this[C]|this[C+1]<<8;return 32768&J?4294901760|J:J},p.prototype.readInt16BE=function(C,N){C>>>=0,N||Fe(C,2,this.length);const J=this[C+1]|this[C]<<8;return 32768&J?4294901760|J:J},p.prototype.readInt32LE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},p.prototype.readInt32BE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},p.prototype.readBigInt64LE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=this[C+4]+256*this[C+5]+65536*this[C+6]+(J<<24);return(BigInt(ne)<<BigInt(32))+BigInt(N+256*this[++C]+65536*this[++C]+this[++C]*16777216)})),p.prototype.readBigInt64BE=ht((function(C){_e(C>>>=0,"offset");const N=this[C],J=this[C+7];N!==void 0&&J!==void 0||nt(C,this.length-8);const ne=(N<<24)+65536*this[++C]+256*this[++C]+this[++C];return(BigInt(ne)<<BigInt(32))+BigInt(this[++C]*16777216+65536*this[++C]+256*this[++C]+J)})),p.prototype.readFloatLE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),v.read(this,C,!0,23,4)},p.prototype.readFloatBE=function(C,N){return C>>>=0,N||Fe(C,4,this.length),v.read(this,C,!1,23,4)},p.prototype.readDoubleLE=function(C,N){return C>>>=0,N||Fe(C,8,this.length),v.read(this,C,!0,52,8)},p.prototype.readDoubleBE=function(C,N){return C>>>=0,N||Fe(C,8,this.length),v.read(this,C,!1,52,8)},p.prototype.writeUintLE=p.prototype.writeUIntLE=function(C,N,J,ne){C=+C,N>>>=0,J>>>=0,!ne&&g(this,C,N,J,Math.pow(2,8*J)-1,0);let ce=1,be=0;for(this[N]=255&C;++be<J&&(ce*=256);)this[N+be]=C/ce&255;return N+J},p.prototype.writeUintBE=p.prototype.writeUIntBE=function(C,N,J,ne){C=+C,N>>>=0,J>>>=0,!ne&&g(this,C,N,J,Math.pow(2,8*J)-1,0);let ce=J-1,be=1;for(this[N+ce]=255&C;--ce>=0&&(be*=256);)this[N+ce]=C/be&255;return N+J},p.prototype.writeUint8=p.prototype.writeUInt8=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,1,255,0),this[N]=255&C,N+1},p.prototype.writeUint16LE=p.prototype.writeUInt16LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,65535,0),this[N]=255&C,this[N+1]=C>>>8,N+2},p.prototype.writeUint16BE=p.prototype.writeUInt16BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,65535,0),this[N]=C>>>8,this[N+1]=255&C,N+2},p.prototype.writeUint32LE=p.prototype.writeUInt32LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,4294967295,0),this[N+3]=C>>>24,this[N+2]=C>>>16,this[N+1]=C>>>8,this[N]=255&C,N+4},p.prototype.writeUint32BE=p.prototype.writeUInt32BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,4294967295,0),this[N]=C>>>24,this[N+1]=C>>>16,this[N+2]=C>>>8,this[N+3]=255&C,N+4},p.prototype.writeBigUInt64LE=ht((function(C,N=0){return it(this,C,N,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeBigUInt64BE=ht((function(C,N=0){return Ye(this,C,N,BigInt(0),BigInt("0xffffffffffffffff"))})),p.prototype.writeIntLE=function(C,N,J,ne){if(C=+C,N>>>=0,!ne){const St=Math.pow(2,8*J-1);g(this,C,N,J,St-1,-St)}let ce=0,be=1,Ze=0;for(this[N]=255&C;++ce<J&&(be*=256);)C<0&&Ze===0&&this[N+ce-1]!==0&&(Ze=1),this[N+ce]=(C/be|0)-Ze&255;return N+J},p.prototype.writeIntBE=function(C,N,J,ne){if(C=+C,N>>>=0,!ne){const St=Math.pow(2,8*J-1);g(this,C,N,J,St-1,-St)}let ce=J-1,be=1,Ze=0;for(this[N+ce]=255&C;--ce>=0&&(be*=256);)C<0&&Ze===0&&this[N+ce+1]!==0&&(Ze=1),this[N+ce]=(C/be|0)-Ze&255;return N+J},p.prototype.writeInt8=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,1,127,-128),C<0&&(C=255+C+1),this[N]=255&C,N+1},p.prototype.writeInt16LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,32767,-32768),this[N]=255&C,this[N+1]=C>>>8,N+2},p.prototype.writeInt16BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,2,32767,-32768),this[N]=C>>>8,this[N+1]=255&C,N+2},p.prototype.writeInt32LE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,2147483647,-2147483648),this[N]=255&C,this[N+1]=C>>>8,this[N+2]=C>>>16,this[N+3]=C>>>24,N+4},p.prototype.writeInt32BE=function(C,N,J){return C=+C,N>>>=0,J||g(this,C,N,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),this[N]=C>>>24,this[N+1]=C>>>16,this[N+2]=C>>>8,this[N+3]=255&C,N+4},p.prototype.writeBigInt64LE=ht((function(C,N=0){return it(this,C,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeBigInt64BE=ht((function(C,N=0){return Ye(this,C,N,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),p.prototype.writeFloatLE=function(C,N,J){return Te(this,C,N,!0,J)},p.prototype.writeFloatBE=function(C,N,J){return Te(this,C,N,!1,J)},p.prototype.writeDoubleLE=function(C,N,J){return et(this,C,N,!0,J)},p.prototype.writeDoubleBE=function(C,N,J){return et(this,C,N,!1,J)},p.prototype.copy=function(C,N,J,ne){if(!p.isBuffer(C))throw new TypeError("argument should be a Buffer");if(J||(J=0),ne||ne===0||(ne=this.length),N>=C.length&&(N=C.length),N||(N=0),ne>0&&ne<J&&(ne=J),ne===J||C.length===0||this.length===0)return 0;if(N<0)throw new RangeError("targetStart out of bounds");if(J<0||J>=this.length)throw new RangeError("Index out of range");if(ne<0)throw new RangeError("sourceEnd out of bounds");ne>this.length&&(ne=this.length),C.length-N<ne-J&&(ne=C.length-N+J);const ce=ne-J;return this===C&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(N,J,ne):Uint8Array.prototype.set.call(C,this.subarray(J,ne),N),ce},p.prototype.fill=function(C,N,J,ne){if(typeof C=="string"){if(typeof N=="string"?(ne=N,N=0,J=this.length):typeof J=="string"&&(ne=J,J=this.length),ne!==void 0&&typeof ne!="string")throw new TypeError("encoding must be a string");if(typeof ne=="string"&&!p.isEncoding(ne))throw new TypeError("Unknown encoding: "+ne);if(C.length===1){const be=C.charCodeAt(0);(ne==="utf8"&&be<128||ne==="latin1")&&(C=be)}}else typeof C=="number"?C&=255:typeof C=="boolean"&&(C=Number(C));if(N<0||this.length<N||this.length<J)throw new RangeError("Out of range index");if(J<=N)return this;let ce;if(N>>>=0,J=J===void 0?this.length:J>>>0,C||(C=0),typeof C=="number")for(ce=N;ce<J;++ce)this[ce]=C;else{const be=p.isBuffer(C)?C:p.from(C,ne),Ze=be.length;if(Ze===0)throw new TypeError('The value "'+C+'" is invalid for argument "value"');for(ce=0;ce<J-N;++ce)this[ce+N]=be[ce%Ze]}return this};const ft={};function Ke(Y,C,N){ft[Y]=class extends N{constructor(){super(),Object.defineProperty(this,"message",{value:C.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${Y}]`,this.stack,delete this.name}get code(){return Y}set code(ne){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ne,writable:!0})}toString(){return`${this.name} [${Y}]: ${this.message}`}}}function dt(Y){let C="",N=Y.length;const J=Y[0]==="-"?1:0;for(;N>=J+4;N-=3)C=`_${Y.slice(N-3,N)}${C}`;return`${Y.slice(0,N)}${C}`}function ee(Y,C,N,J,ne,ce){if(Y>N||Y<C){const be=typeof C=="bigint"?"n":"";let Ze;throw Ze=C===0||C===BigInt(0)?`>= 0${be} and < 2${be} ** ${8*(ce+1)}${be}`:`>= -(2${be} ** ${8*(ce+1)-1}${be}) and < 2 ** ${8*(ce+1)-1}${be}`,new ft.ERR_OUT_OF_RANGE("value",Ze,Y)}(function(Ze,St,ut){_e(St,"offset"),Ze[St]!==void 0&&Ze[St+ut]!==void 0||nt(St,Ze.length-(ut+1))})(J,ne,ce)}function _e(Y,C){if(typeof Y!="number")throw new ft.ERR_INVALID_ARG_TYPE(C,"number",Y)}function nt(Y,C,N){throw Math.floor(Y)!==Y?(_e(Y,N),new ft.ERR_OUT_OF_RANGE("offset","an integer",Y)):C<0?new ft.ERR_BUFFER_OUT_OF_BOUNDS:new ft.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${C}`,Y)}Ke("ERR_BUFFER_OUT_OF_BOUNDS",(function(Y){return Y?`${Y} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),Ke("ERR_INVALID_ARG_TYPE",(function(Y,C){return`The "${Y}" argument must be of type number. Received type ${typeof C}`}),TypeError),Ke("ERR_OUT_OF_RANGE",(function(Y,C,N){let J=`The value of "${Y}" is out of range.`,ne=N;return Number.isInteger(N)&&Math.abs(N)>4294967296?ne=dt(String(N)):typeof N=="bigint"&&(ne=String(N),(N>BigInt(2)**BigInt(32)||N<-(BigInt(2)**BigInt(32)))&&(ne=dt(ne)),ne+="n"),J+=` It must be ${C}. Received ${ne}`,J}),RangeError);const st=/[^+/0-9A-Za-z-_]/g;function Ut(Y,C){let N;C=C||1/0;const J=Y.length;let ne=null;const ce=[];for(let be=0;be<J;++be){if(N=Y.charCodeAt(be),N>55295&&N<57344){if(!ne){if(N>56319){(C-=3)>-1&&ce.push(239,191,189);continue}if(be+1===J){(C-=3)>-1&&ce.push(239,191,189);continue}ne=N;continue}if(N<56320){(C-=3)>-1&&ce.push(239,191,189),ne=N;continue}N=65536+(ne-55296<<10|N-56320)}else ne&&(C-=3)>-1&&ce.push(239,191,189);if(ne=null,N<128){if((C-=1)<0)break;ce.push(N)}else if(N<2048){if((C-=2)<0)break;ce.push(N>>6|192,63&N|128)}else if(N<65536){if((C-=3)<0)break;ce.push(N>>12|224,N>>6&63|128,63&N|128)}else{if(!(N<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;ce.push(N>>18|240,N>>12&63|128,N>>6&63|128,63&N|128)}}return ce}function qt(Y){return c.toByteArray((function(N){if((N=(N=N.split("=")[0]).trim().replace(st,"")).length<2)return"";for(;N.length%4!=0;)N+="=";return N})(Y))}function lt(Y,C,N,J){let ne;for(ne=0;ne<J&&!(ne+N>=C.length||ne>=Y.length);++ne)C[ne+N]=Y[ne];return ne}function xt(Y,C){return Y instanceof C||Y!=null&&Y.constructor!=null&&Y.constructor.name!=null&&Y.constructor.name===C.name}function Mt(Y){return Y!=Y}const _t=(function(){const Y="0123456789abcdef",C=new Array(256);for(let N=0;N<16;++N){const J=16*N;for(let ne=0;ne<16;++ne)C[J+ne]=Y[N]+Y[ne]}return C})();function ht(Y){return typeof BigInt>"u"?Lt:Y}function Lt(){throw new Error("BigInt not supported")}},8303:(m,A,a)=>{var c=a(6110)(a(9325),"WeakMap");m.exports=c},8311:(m,A,a)=>{var c=a(2361),v=a(2159),d=a(1505),y=c(c.bind);m.exports=function(f,p){return v(f),p===void 0?f:d?y(f,p):function(){return f.apply(p,arguments)}}},8329:(m,A,a)=>{var c=a(4894);m.exports=function(d,y){return function(f,p){if(f==null)return f;if(!c(f))return d(f,p);for(var w=f.length,x=y?w:-1,O=Object(f);(y?x--:++x<w)&&p(O[x],x,O)!==!1;);return f}}},8530:m=>{m.exports={}},8586:(m,A,a)=>{var c=a(6449),v=a(4394),d=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,y=/^\w*$/;m.exports=function(p,w){if(c(p))return!1;var x=typeof p;return!(x!="number"&&x!="symbol"&&x!="boolean"&&p!=null&&!v(p))||y.test(p)||!d.test(p)||w!=null&&p in Object(w)}},8648:m=>{m.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null},8655:(m,A,a)=>{var c=a(6025);m.exports=function(d){return c(this.__data__,d)>-1}},8661:(m,A,a)=>{var c=a(9447),v=a(8828);m.exports=c&&v((function(){return Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype!==42}))},8754:(m,A,a)=>{var c=a(5160);m.exports=function(d,y,f){var p=d.length;return f=f===void 0?p:f,!y&&f>=p?d:c(d,y,f)}},8828:m=>{m.exports=function(A){try{return!!A()}catch{return!0}}},8859:(m,A,a)=>{var c=a(3661),v=a(1380),d=a(1459);function y(f){var p=-1,w=f==null?0:f.length;for(this.__data__=new c;++p<w;)this.add(f[p])}y.prototype.add=y.prototype.push=v,y.prototype.has=d,m.exports=y},8968:m=>{m.exports=Math.floor},8984:(m,A,a)=>{var c=a(5527),v=a(3650),d=Object.prototype.hasOwnProperty;m.exports=function(f){if(!c(f))return v(f);var p=[];for(var w in Object(f))d.call(f,w)&&w!="constructor"&&p.push(w);return p}},9092:(m,A,a)=>{var c=a(1333);m.exports=function(){return c()&&!!Symbol.toStringTag}},9209:(m,A,a)=>{var c=a(6578),v=typeof globalThis>"u"?a.g:globalThis;m.exports=function(){for(var y=[],f=0;f<c.length;f++)typeof v[c[f]]=="function"&&(y[y.length]=c[f]);return y}},9219:m=>{m.exports=function(a,c){return a.has(c)}},9290:m=>{m.exports=RangeError},9298:(m,A,a)=>{var c=a(4239),v=Object;m.exports=function(d){return v(c(d))}},9307:(m,A,a)=>{var c=a(1091),v=a(4673);c({target:"Function",proto:!0,forced:Function.bind!==v},{bind:v})},9325:(m,A,a)=>{var c=a(4840),v=typeof self=="object"&&self&&self.Object===Object&&self,d=c||v||Function("return this")();m.exports=d},9326:(m,A,a)=>{var c=a(1769),v=a(2428),d=a(6449),y=a(361),f=a(294),p=a(7797);m.exports=function(x,O,j){for(var I=-1,M=(O=c(O,x)).length,$=!1;++I<M;){var W=p(O[I]);if(!($=x!=null&&j(x,W)))break;x=x[W]}return $||++I!=M?$:!!(M=x==null?0:x.length)&&f(M)&&y(W,M)&&(d(x)||v(x))}},9350:m=>{var A=Object.prototype.toString;m.exports=function(c){return A.call(c)}},9353:m=>{var A=Object.prototype.toString,a=Math.max,c=function(d,y){for(var f=[],p=0;p<d.length;p+=1)f[p]=d[p];for(var w=0;w<y.length;w+=1)f[w+d.length]=y[w];return f};m.exports=function(d){var y=this;if(typeof y!="function"||A.apply(y)!=="[object Function]")throw new TypeError("Function.prototype.bind called on incompatible "+y);for(var f,p=(function(M,$){for(var W=[],q=$,U=0;q<M.length;q+=1,U+=1)W[U]=M[q];return W})(arguments,1),w=a(0,y.length-p.length),x=[],O=0;O<w;O++)x[O]="$"+O;if(f=Function("binder","return function ("+(function(I,M){for(var $="",W=0;W<I.length;W+=1)$+=I[W],W+1<I.length&&($+=M);return $})(x,",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof f){var I=y.apply(this,c(p,arguments));return Object(I)===I?I:this}return y.apply(d,c(p,arguments))})),y.prototype){var j=function(){};j.prototype=y.prototype,f.prototype=new j,j.prototype=null}return f}},9367:(m,A,a)=>{var c=a(2159),v=a(7136);m.exports=function(d,y){var f=d[y];return v(f)?void 0:c(f)}},9374:(m,A,a)=>{var c=a(4128),v=a(3805),d=a(4394),y=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,w=parseInt;m.exports=function(O){if(typeof O=="number")return O;if(d(O))return NaN;if(v(O)){var j=typeof O.valueOf=="function"?O.valueOf():O;O=v(j)?j+"":j}if(typeof O!="string")return O===0?O:+O;O=c(O);var I=f.test(O);return I||p.test(O)?w(O.slice(2),I?2:8):y.test(O)?NaN:+O}},9383:m=>{m.exports=Error},9404:function(m){m.exports=(function(){var A=Array.prototype.slice;function a(i,_){_&&(i.prototype=Object.create(_.prototype)),i.prototype.constructor=i}function c(i){return f(i)?i:lt(i)}function v(i){return p(i)?i:xt(i)}function d(i){return w(i)?i:Mt(i)}function y(i){return f(i)&&!x(i)?i:_t(i)}function f(i){return!(!i||!i[j])}function p(i){return!(!i||!i[I])}function w(i){return!(!i||!i[M])}function x(i){return p(i)||w(i)}function O(i){return!(!i||!i[$])}a(v,c),a(d,c),a(y,c),c.isIterable=f,c.isKeyed=p,c.isIndexed=w,c.isAssociative=x,c.isOrdered=O,c.Keyed=v,c.Indexed=d,c.Set=y;var j="@@__IMMUTABLE_ITERABLE__@@",I="@@__IMMUTABLE_KEYED__@@",M="@@__IMMUTABLE_INDEXED__@@",$="@@__IMMUTABLE_ORDERED__@@",W="delete",q=5,U=1<<q,H=U-1,Q={},se={value:!1},le={value:!1};function Pe(i){return i.value=!1,i}function he(i){i&&(i.value=!0)}function ge(){}function Ce(i,_){_=_||0;for(var P=Math.max(0,i.length-_),D=new Array(P),L=0;L<P;L++)D[L]=i[L+_];return D}function Je(i){return i.size===void 0&&(i.size=i.__iterate(Ve)),i.size}function ze(i,_){if(typeof _!="number"){var P=_>>>0;if(""+P!==_||P===4294967295)return NaN;_=P}return _<0?Je(i)+_:_}function Ve(){return!0}function Qe(i,_,P){return(i===0||P!==void 0&&i<=-P)&&(_===void 0||P!==void 0&&_>=P)}function pt(i,_){return g(i,_,0)}function Fe(i,_){return g(i,_,_)}function g(i,_,P){return i===void 0?P:i<0?Math.max(0,_+i):_===void 0?i:Math.min(_,i)}var it=0,Ye=1,ue=2,Te=typeof Symbol=="function"&&Symbol.iterator,et="@@iterator",ft=Te||et;function Ke(i){this.next=i}function dt(i,_,P,D){var L=i===0?_:i===1?P:[_,P];return D?D.value=L:D={value:L,done:!1},D}function ee(){return{value:void 0,done:!0}}function _e(i){return!!Ut(i)}function nt(i){return i&&typeof i.next=="function"}function st(i){var _=Ut(i);return _&&_.call(i)}function Ut(i){var _=i&&(Te&&i[Te]||i[et]);if(typeof _=="function")return _}function qt(i){return i&&typeof i.length=="number"}function lt(i){return i==null?Ze():f(i)?i.toSeq():yt(i)}function xt(i){return i==null?Ze().toKeyedSeq():f(i)?p(i)?i.toSeq():i.fromEntrySeq():St(i)}function Mt(i){return i==null?Ze():f(i)?p(i)?i.entrySeq():i.toIndexedSeq():ut(i)}function _t(i){return(i==null?Ze():f(i)?p(i)?i.entrySeq():i:ut(i)).toSetSeq()}Ke.prototype.toString=function(){return"[Iterator]"},Ke.KEYS=it,Ke.VALUES=Ye,Ke.ENTRIES=ue,Ke.prototype.inspect=Ke.prototype.toSource=function(){return this.toString()},Ke.prototype[ft]=function(){return this},a(lt,c),lt.of=function(){return lt(arguments)},lt.prototype.toSeq=function(){return this},lt.prototype.toString=function(){return this.__toString("Seq {","}")},lt.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},lt.prototype.__iterate=function(i,_){return Fr(this,i,_,!0)},lt.prototype.__iterator=function(i,_){return Ur(this,i,_,!0)},a(xt,lt),xt.prototype.toKeyedSeq=function(){return this},a(Mt,lt),Mt.of=function(){return Mt(arguments)},Mt.prototype.toIndexedSeq=function(){return this},Mt.prototype.toString=function(){return this.__toString("Seq [","]")},Mt.prototype.__iterate=function(i,_){return Fr(this,i,_,!1)},Mt.prototype.__iterator=function(i,_){return Ur(this,i,_,!1)},a(_t,lt),_t.of=function(){return _t(arguments)},_t.prototype.toSetSeq=function(){return this},lt.isSeq=be,lt.Keyed=xt,lt.Set=_t,lt.Indexed=Mt;var ht,Lt,Y,C="@@__IMMUTABLE_SEQ__@@";function N(i){this._array=i,this.size=i.length}function J(i){var _=Object.keys(i);this._object=i,this._keys=_,this.size=_.length}function ne(i){this._iterable=i,this.size=i.length||i.size}function ce(i){this._iterator=i,this._iteratorCache=[]}function be(i){return!(!i||!i[C])}function Ze(){return ht||(ht=new N([]))}function St(i){var _=Array.isArray(i)?new N(i).fromEntrySeq():nt(i)?new ce(i).fromEntrySeq():_e(i)?new ne(i).fromEntrySeq():typeof i=="object"?new J(i):void 0;if(!_)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+i);return _}function ut(i){var _=kt(i);if(!_)throw new TypeError("Expected Array or iterable object of values: "+i);return _}function yt(i){var _=kt(i)||typeof i=="object"&&new J(i);if(!_)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+i);return _}function kt(i){return qt(i)?new N(i):nt(i)?new ce(i):_e(i)?new ne(i):void 0}function Fr(i,_,P,D){var L=i._cache;if(L){for(var re=L.length-1,ie=0;ie<=re;ie++){var ve=L[P?re-ie:ie];if(_(ve[1],D?ve[0]:ie,i)===!1)return ie+1}return ie}return i.__iterateUncached(_,P)}function Ur(i,_,P,D){var L=i._cache;if(L){var re=L.length-1,ie=0;return new Ke((function(){var ve=L[P?re-ie:ie];return ie++>re?ee():dt(_,D?ve[0]:ie-1,ve[1])}))}return i.__iteratorUncached(_,P)}function bn(i,_){return _?Xr(_,i,"",{"":i}):kn(i)}function Xr(i,_,P,D){return Array.isArray(_)?i.call(D,P,Mt(_).map((function(L,re){return Xr(i,L,re,_)}))):_a(_)?i.call(D,P,xt(_).map((function(L,re){return Xr(i,L,re,_)}))):_}function kn(i){return Array.isArray(i)?Mt(i).map(kn).toList():_a(i)?xt(i).map(kn).toMap():i}function _a(i){return i&&(i.constructor===Object||i.constructor===void 0)}function xr(i,_){if(i===_||i!=i&&_!=_)return!0;if(!i||!_)return!1;if(typeof i.valueOf=="function"&&typeof _.valueOf=="function"){if((i=i.valueOf())===(_=_.valueOf())||i!=i&&_!=_)return!0;if(!i||!_)return!1}return!(typeof i.equals!="function"||typeof _.equals!="function"||!i.equals(_))}function mn(i,_){if(i===_)return!0;if(!f(_)||i.size!==void 0&&_.size!==void 0&&i.size!==_.size||i.__hash!==void 0&&_.__hash!==void 0&&i.__hash!==_.__hash||p(i)!==p(_)||w(i)!==w(_)||O(i)!==O(_))return!1;if(i.size===0&&_.size===0)return!0;var P=!x(i);if(O(i)){var D=i.entries();return _.every((function($e,Re){var We=D.next().value;return We&&xr(We[1],$e)&&(P||xr(We[0],Re))}))&&D.next().done}var L=!1;if(i.size===void 0)if(_.size===void 0)typeof i.cacheResult=="function"&&i.cacheResult();else{L=!0;var re=i;i=_,_=re}var ie=!0,ve=_.__iterate((function($e,Re){if(P?!i.has($e):L?!xr($e,i.get(Re,Q)):!xr(i.get(Re,Q),$e))return ie=!1,!1}));return ie&&i.size===ve}function Vr(i,_){if(!(this instanceof Vr))return new Vr(i,_);if(this._value=i,this.size=_===void 0?1/0:Math.max(0,_),this.size===0){if(Lt)return Lt;Lt=this}}function Oa(i,_){if(!i)throw new Error(_)}function Qr(i,_,P){if(!(this instanceof Qr))return new Qr(i,_,P);if(Oa(P!==0,"Cannot step a Range by 0"),i=i||0,_===void 0&&(_=1/0),P=P===void 0?1:Math.abs(P),_<i&&(P=-P),this._start=i,this._end=_,this._step=P,this.size=Math.max(0,Math.ceil((_-i)/P-1)+1),this.size===0){if(Y)return Y;Y=this}}function _n(){throw TypeError("Abstract")}function Zn(){}function Da(){}function za(){}lt.prototype[C]=!0,a(N,Mt),N.prototype.get=function(i,_){return this.has(i)?this._array[ze(this,i)]:_},N.prototype.__iterate=function(i,_){for(var P=this._array,D=P.length-1,L=0;L<=D;L++)if(i(P[_?D-L:L],L,this)===!1)return L+1;return L},N.prototype.__iterator=function(i,_){var P=this._array,D=P.length-1,L=0;return new Ke((function(){return L>D?ee():dt(i,L,P[_?D-L++:L++])}))},a(J,xt),J.prototype.get=function(i,_){return _===void 0||this.has(i)?this._object[i]:_},J.prototype.has=function(i){return this._object.hasOwnProperty(i)},J.prototype.__iterate=function(i,_){for(var P=this._object,D=this._keys,L=D.length-1,re=0;re<=L;re++){var ie=D[_?L-re:re];if(i(P[ie],ie,this)===!1)return re+1}return re},J.prototype.__iterator=function(i,_){var P=this._object,D=this._keys,L=D.length-1,re=0;return new Ke((function(){var ie=D[_?L-re:re];return re++>L?ee():dt(i,ie,P[ie])}))},J.prototype[$]=!0,a(ne,Mt),ne.prototype.__iterateUncached=function(i,_){if(_)return this.cacheResult().__iterate(i,_);var P=st(this._iterable),D=0;if(nt(P))for(var L;!(L=P.next()).done&&i(L.value,D++,this)!==!1;);return D},ne.prototype.__iteratorUncached=function(i,_){if(_)return this.cacheResult().__iterator(i,_);var P=st(this._iterable);if(!nt(P))return new Ke(ee);var D=0;return new Ke((function(){var L=P.next();return L.done?L:dt(i,D++,L.value)}))},a(ce,Mt),ce.prototype.__iterateUncached=function(i,_){if(_)return this.cacheResult().__iterate(i,_);for(var P,D=this._iterator,L=this._iteratorCache,re=0;re<L.length;)if(i(L[re],re++,this)===!1)return re;for(;!(P=D.next()).done;){var ie=P.value;if(L[re]=ie,i(ie,re++,this)===!1)break}return re},ce.prototype.__iteratorUncached=function(i,_){if(_)return this.cacheResult().__iterator(i,_);var P=this._iterator,D=this._iteratorCache,L=0;return new Ke((function(){if(L>=D.length){var re=P.next();if(re.done)return re;D[L]=re.value}return dt(i,L,D[L++])}))},a(Vr,Mt),Vr.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},Vr.prototype.get=function(i,_){return this.has(i)?this._value:_},Vr.prototype.includes=function(i){return xr(this._value,i)},Vr.prototype.slice=function(i,_){var P=this.size;return Qe(i,_,P)?this:new Vr(this._value,Fe(_,P)-pt(i,P))},Vr.prototype.reverse=function(){return this},Vr.prototype.indexOf=function(i){return xr(this._value,i)?0:-1},Vr.prototype.lastIndexOf=function(i){return xr(this._value,i)?this.size:-1},Vr.prototype.__iterate=function(i,_){for(var P=0;P<this.size;P++)if(i(this._value,P,this)===!1)return P+1;return P},Vr.prototype.__iterator=function(i,_){var P=this,D=0;return new Ke((function(){return D<P.size?dt(i,D++,P._value):ee()}))},Vr.prototype.equals=function(i){return i instanceof Vr?xr(this._value,i._value):mn(i)},a(Qr,Mt),Qr.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},Qr.prototype.get=function(i,_){return this.has(i)?this._start+ze(this,i)*this._step:_},Qr.prototype.includes=function(i){var _=(i-this._start)/this._step;return _>=0&&_<this.size&&_===Math.floor(_)},Qr.prototype.slice=function(i,_){return Qe(i,_,this.size)?this:(i=pt(i,this.size),(_=Fe(_,this.size))<=i?new Qr(0,0):new Qr(this.get(i,this._end),this.get(_,this._end),this._step))},Qr.prototype.indexOf=function(i){var _=i-this._start;if(_%this._step==0){var P=_/this._step;if(P>=0&&P<this.size)return P}return-1},Qr.prototype.lastIndexOf=function(i){return this.indexOf(i)},Qr.prototype.__iterate=function(i,_){for(var P=this.size-1,D=this._step,L=_?this._start+P*D:this._start,re=0;re<=P;re++){if(i(L,re,this)===!1)return re+1;L+=_?-D:D}return re},Qr.prototype.__iterator=function(i,_){var P=this.size-1,D=this._step,L=_?this._start+P*D:this._start,re=0;return new Ke((function(){var ie=L;return L+=_?-D:D,re>P?ee():dt(i,re++,ie)}))},Qr.prototype.equals=function(i){return i instanceof Qr?this._start===i._start&&this._end===i._end&&this._step===i._step:mn(this,i)},a(_n,c),a(Zn,_n),a(Da,_n),a(za,_n),_n.Keyed=Zn,_n.Indexed=Da,_n.Set=za;var tr=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(_,P){var D=65535&(_|=0),L=65535&(P|=0);return D*L+((_>>>16)*L+D*(P>>>16)<<16>>>0)|0};function br(i){return i>>>1&1073741824|3221225471&i}function Ar(i){if(i===!1||i==null||typeof i.valueOf=="function"&&((i=i.valueOf())===!1||i==null))return 0;if(i===!0)return 1;var _=typeof i;if(_==="number"){if(i!=i||i===1/0)return 0;var P=0|i;for(P!==i&&(P^=4294967295*i);i>4294967295;)P^=i/=4294967295;return br(P)}if(_==="string")return i.length>$o?Wr(i):Lr(i);if(typeof i.hashCode=="function")return i.hashCode();if(_==="object")return Xn(i);if(typeof i.toString=="function")return Lr(i.toString());throw new Error("Value type "+_+" cannot be hashed.")}function Wr(i){var _=kr[i];return _===void 0&&(_=Lr(i),ka===Ka&&(ka=0,kr={}),ka++,kr[i]=_),_}function Lr(i){for(var _=0,P=0;P<i.length;P++)_=31*_+i.charCodeAt(P)|0;return br(_)}function Xn(i){var _;if(ea&&(_=nn.get(i))!==void 0||(_=i[oa])!==void 0||!pn&&((_=i.propertyIsEnumerable&&i.propertyIsEnumerable[oa])!==void 0||(_=Dn(i))!==void 0))return _;if(_=++aa,1073741824&aa&&(aa=0),ea)nn.set(i,_);else{if(wn!==void 0&&wn(i)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(pn)Object.defineProperty(i,oa,{enumerable:!1,configurable:!1,writable:!1,value:_});else if(i.propertyIsEnumerable!==void 0&&i.propertyIsEnumerable===i.constructor.prototype.propertyIsEnumerable)i.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},i.propertyIsEnumerable[oa]=_;else{if(i.nodeType===void 0)throw new Error("Unable to set a non-enumerable property on object.");i[oa]=_}}return _}var wn=Object.isExtensible,pn=(function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}})();function Dn(i){if(i&&i.nodeType>0)switch(i.nodeType){case 1:return i.uniqueID;case 9:return i.documentElement&&i.documentElement.uniqueID}}var nn,ea=typeof WeakMap=="function";ea&&(nn=new WeakMap);var aa=0,oa="__immutablehash__";typeof Symbol=="function"&&(oa=Symbol(oa));var $o=16,Ka=255,ka=0,kr={};function an(i){Oa(i!==1/0,"Cannot perform this action with an infinite size.")}function Rt(i){return i==null?vn():gn(i)&&!O(i)?i:vn().withMutations((function(_){var P=v(i);an(P.size),P.forEach((function(D,L){return _.set(L,D)}))}))}function gn(i){return!(!i||!i[lo])}a(Rt,Zn),Rt.of=function(){var i=A.call(arguments,0);return vn().withMutations((function(_){for(var P=0;P<i.length;P+=2){if(P+1>=i.length)throw new Error("Missing value for key: "+i[P]);_.set(i[P],i[P+1])}}))},Rt.prototype.toString=function(){return this.__toString("Map {","}")},Rt.prototype.get=function(i,_){return this._root?this._root.get(0,void 0,i,_):_},Rt.prototype.set=function(i,_){return fa(this,i,_)},Rt.prototype.setIn=function(i,_){return this.updateIn(i,Q,(function(){return _}))},Rt.prototype.remove=function(i){return fa(this,i,Q)},Rt.prototype.deleteIn=function(i){return this.updateIn(i,(function(){return Q}))},Rt.prototype.update=function(i,_,P){return arguments.length===1?i(this):this.updateIn([i],_,P)},Rt.prototype.updateIn=function(i,_,P){P||(P=_,_=void 0);var D=Io(this,cr(i),_,P);return D===Q?void 0:D},Rt.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()},Rt.prototype.merge=function(){return _o(this,void 0,arguments)},Rt.prototype.mergeWith=function(i){return _o(this,i,A.call(arguments,1))},Rt.prototype.mergeIn=function(i){var _=A.call(arguments,1);return this.updateIn(i,vn(),(function(P){return typeof P.merge=="function"?P.merge.apply(P,_):_[_.length-1]}))},Rt.prototype.mergeDeep=function(){return _o(this,jo,arguments)},Rt.prototype.mergeDeepWith=function(i){var _=A.call(arguments,1);return _o(this,fi(i),_)},Rt.prototype.mergeDeepIn=function(i){var _=A.call(arguments,1);return this.updateIn(i,vn(),(function(P){return typeof P.mergeDeep=="function"?P.mergeDeep.apply(P,_):_[_.length-1]}))},Rt.prototype.sort=function(i){return Nr(V(this,i))},Rt.prototype.sortBy=function(i,_){return Nr(V(this,_,i))},Rt.prototype.withMutations=function(i){var _=this.asMutable();return i(_),_.wasAltered()?_.__ensureOwner(this.__ownerID):this},Rt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new ge)},Rt.prototype.asImmutable=function(){return this.__ensureOwner()},Rt.prototype.wasAltered=function(){return this.__altered},Rt.prototype.__iterator=function(i,_){return new Ht(this,i,_)},Rt.prototype.__iterate=function(i,_){var P=this,D=0;return this._root&&this._root.iterate((function(L){return D++,i(L[1],L[0],P)}),_),D},Rt.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?ia(this.size,this._root,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Rt.isMap=gn;var so,lo="@@__IMMUTABLE_MAP__@@",Gt=Rt.prototype;function wa(i,_){this.ownerID=i,this.entries=_}function Wt(i,_,P){this.ownerID=i,this.bitmap=_,this.nodes=P}function fr(i,_,P){this.ownerID=i,this.count=_,this.nodes=P}function dr(i,_,P){this.ownerID=i,this.keyHash=_,this.entries=P}function Cr(i,_,P){this.ownerID=i,this.keyHash=_,this.entry=P}function Ht(i,_,P){this._type=_,this._reverse=P,this._stack=i._root&&Ga(i._root)}function cn(i,_){return dt(i,_[0],_[1])}function Ga(i,_){return{node:i,index:0,__prev:_}}function ia(i,_,P,D){var L=Object.create(Gt);return L.size=i,L._root=_,L.__ownerID=P,L.__hash=D,L.__altered=!1,L}function vn(){return so||(so=ia(0))}function fa(i,_,P){var D,L;if(i._root){var re=Pe(se),ie=Pe(le);if(D=ui(i._root,i.__ownerID,0,void 0,_,P,re,ie),!ie.value)return i;L=i.size+(re.value?P===Q?-1:1:0)}else{if(P===Q)return i;L=1,D=new wa(i.__ownerID,[[_,P]])}return i.__ownerID?(i.size=L,i._root=D,i.__hash=void 0,i.__altered=!0,i):D?ia(L,D):vn()}function ui(i,_,P,D,L,re,ie,ve){return i?i.update(_,P,D,L,re,ie,ve):re===Q?i:(he(ve),he(ie),new Cr(_,D,[L,re]))}function ta(i){return i.constructor===Cr||i.constructor===dr}function bo(i,_,P,D,L){if(i.keyHash===D)return new dr(_,D,[i.entry,L]);var re,ie=(P===0?i.keyHash:i.keyHash>>>P)&H,ve=(P===0?D:D>>>P)&H;return new Wt(_,1<<ie|1<<ve,ie===ve?[bo(i,_,P+q,D,L)]:(re=new Cr(_,D,L),ie<ve?[i,re]:[re,i]))}function Ei(i,_,P,D){i||(i=new ge);for(var L=new Cr(i,Ar(P),[P,D]),re=0;re<_.length;re++){var ie=_[re];L=L.update(i,0,void 0,ie[0],ie[1])}return L}function pi(i,_,P,D){for(var L=0,re=0,ie=new Array(P),ve=0,$e=1,Re=_.length;ve<Re;ve++,$e<<=1){var We=_[ve];We!==void 0&&ve!==D&&(L|=$e,ie[re++]=We)}return new Wt(i,L,ie)}function rs(i,_,P,D,L){for(var re=0,ie=new Array(U),ve=0;P!==0;ve++,P>>>=1)ie[ve]=1&P?_[re++]:void 0;return ie[D]=L,new fr(i,re+1,ie)}function _o(i,_,P){for(var D=[],L=0;L<P.length;L++){var re=P[L],ie=v(re);f(re)||(ie=ie.map((function(ve){return bn(ve)}))),D.push(ie)}return hi(i,_,D)}function jo(i,_,P){return i&&i.mergeDeep&&f(_)?i.mergeDeep(_):xr(i,_)?i:_}function fi(i){return function(_,P,D){if(_&&_.mergeDeepWith&&f(P))return _.mergeDeepWith(i,P);var L=i(_,P,D);return xr(_,L)?_:L}}function hi(i,_,P){return(P=P.filter((function(D){return D.size!==0}))).length===0?i:i.size!==0||i.__ownerID||P.length!==1?i.withMutations((function(D){for(var L=_?function(ie,ve){D.update(ve,Q,(function($e){return $e===Q?ie:_($e,ie,ve)}))}:function(ie,ve){D.set(ve,ie)},re=0;re<P.length;re++)P[re].forEach(L)})):i.constructor(P[0])}function Io(i,_,P,D){var L=i===Q,re=_.next();if(re.done){var ie=L?P:i,ve=D(ie);return ve===ie?i:ve}Oa(L||i&&i.set,"invalid keyPath");var $e=re.value,Re=L?Q:i.get($e,Q),We=Io(Re,_,P,D);return We===Re?i:We===Q?i.remove($e):(L?vn():i).set($e,We)}function di(i){return i=(i=(858993459&(i-=i>>1&1431655765))+(i>>2&858993459))+(i>>4)&252645135,i+=i>>8,127&(i+=i>>16)}function fn(i,_,P,D){var L=D?i:Ce(i);return L[_]=P,L}function Di(i,_,P,D){var L=i.length+1;if(D&&_+1===L)return i[_]=P,i;for(var re=new Array(L),ie=0,ve=0;ve<L;ve++)ve===_?(re[ve]=P,ie=-1):re[ve]=i[ve+ie];return re}function vs(i,_,P){var D=i.length-1;if(P&&_===D)return i.pop(),i;for(var L=new Array(D),re=0,ie=0;ie<D;ie++)ie===_&&(re=1),L[ie]=i[ie+re];return L}Gt[lo]=!0,Gt[W]=Gt.remove,Gt.removeIn=Gt.deleteIn,wa.prototype.get=function(i,_,P,D){for(var L=this.entries,re=0,ie=L.length;re<ie;re++)if(xr(P,L[re][0]))return L[re][1];return D},wa.prototype.update=function(i,_,P,D,L,re,ie){for(var ve=L===Q,$e=this.entries,Re=0,We=$e.length;Re<We&&!xr(D,$e[Re][0]);Re++);var Et=Re<We;if(Et?$e[Re][1]===L:ve)return this;if(he(ie),(ve||!Et)&&he(re),!ve||$e.length!==1){if(!Et&&!ve&&$e.length>=zs)return Ei(i,$e,D,L);var Ct=i&&i===this.ownerID,Bt=Ct?$e:Ce($e);return Et?ve?Re===We-1?Bt.pop():Bt[Re]=Bt.pop():Bt[Re]=[D,L]:Bt.push([D,L]),Ct?(this.entries=Bt,this):new wa(i,Bt)}},Wt.prototype.get=function(i,_,P,D){_===void 0&&(_=Ar(P));var L=1<<((i===0?_:_>>>i)&H),re=this.bitmap;return re&L?this.nodes[di(re&L-1)].get(i+q,_,P,D):D},Wt.prototype.update=function(i,_,P,D,L,re,ie){P===void 0&&(P=Ar(D));var ve=(_===0?P:P>>>_)&H,$e=1<<ve,Re=this.bitmap,We=!!(Re&$e);if(!We&&L===Q)return this;var Et=di(Re&$e-1),Ct=this.nodes,Bt=We?Ct[Et]:void 0,Qt=ui(Bt,i,_+q,P,D,L,re,ie);if(Qt===Bt)return this;if(!We&&Qt&&Ct.length>=_l)return rs(i,Ct,Re,ve,Qt);if(We&&!Qt&&Ct.length===2&&ta(Ct[1^Et]))return Ct[1^Et];if(We&&Qt&&Ct.length===1&&ta(Qt))return Qt;var Rr=i&&i===this.ownerID,Zt=We?Qt?Re:Re^$e:Re|$e,ca=We?Qt?fn(Ct,Et,Qt,Rr):vs(Ct,Et,Rr):Di(Ct,Et,Qt,Rr);return Rr?(this.bitmap=Zt,this.nodes=ca,this):new Wt(i,Zt,ca)},fr.prototype.get=function(i,_,P,D){_===void 0&&(_=Ar(P));var L=(i===0?_:_>>>i)&H,re=this.nodes[L];return re?re.get(i+q,_,P,D):D},fr.prototype.update=function(i,_,P,D,L,re,ie){P===void 0&&(P=Ar(D));var ve=(_===0?P:P>>>_)&H,$e=L===Q,Re=this.nodes,We=Re[ve];if($e&&!We)return this;var Et=ui(We,i,_+q,P,D,L,re,ie);if(Et===We)return this;var Ct=this.count;if(We){if(!Et&&--Ct<wl)return pi(i,Re,Ct,ve)}else Ct++;var Bt=i&&i===this.ownerID,Qt=fn(Re,ve,Et,Bt);return Bt?(this.count=Ct,this.nodes=Qt,this):new fr(i,Ct,Qt)},dr.prototype.get=function(i,_,P,D){for(var L=this.entries,re=0,ie=L.length;re<ie;re++)if(xr(P,L[re][0]))return L[re][1];return D},dr.prototype.update=function(i,_,P,D,L,re,ie){P===void 0&&(P=Ar(D));var ve=L===Q;if(P!==this.keyHash)return ve?this:(he(ie),he(re),bo(this,i,_,P,[D,L]));for(var $e=this.entries,Re=0,We=$e.length;Re<We&&!xr(D,$e[Re][0]);Re++);var Et=Re<We;if(Et?$e[Re][1]===L:ve)return this;if(he(ie),(ve||!Et)&&he(re),ve&&We===2)return new Cr(i,this.keyHash,$e[1^Re]);var Ct=i&&i===this.ownerID,Bt=Ct?$e:Ce($e);return Et?ve?Re===We-1?Bt.pop():Bt[Re]=Bt.pop():Bt[Re]=[D,L]:Bt.push([D,L]),Ct?(this.entries=Bt,this):new dr(i,this.keyHash,Bt)},Cr.prototype.get=function(i,_,P,D){return xr(P,this.entry[0])?this.entry[1]:D},Cr.prototype.update=function(i,_,P,D,L,re,ie){var ve=L===Q,$e=xr(D,this.entry[0]);return($e?L===this.entry[1]:ve)?this:(he(ie),ve?void he(re):$e?i&&i===this.ownerID?(this.entry[1]=L,this):new Cr(i,this.keyHash,[D,L]):(he(re),bo(this,i,_,Ar(D),[D,L])))},wa.prototype.iterate=dr.prototype.iterate=function(i,_){for(var P=this.entries,D=0,L=P.length-1;D<=L;D++)if(i(P[_?L-D:D])===!1)return!1},Wt.prototype.iterate=fr.prototype.iterate=function(i,_){for(var P=this.nodes,D=0,L=P.length-1;D<=L;D++){var re=P[_?L-D:D];if(re&&re.iterate(i,_)===!1)return!1}},Cr.prototype.iterate=function(i,_){return i(this.entry)},a(Ht,Ke),Ht.prototype.next=function(){for(var i=this._type,_=this._stack;_;){var P,D=_.node,L=_.index++;if(D.entry){if(L===0)return cn(i,D.entry)}else if(D.entries){if(L<=(P=D.entries.length-1))return cn(i,D.entries[this._reverse?P-L:L])}else if(L<=(P=D.nodes.length-1)){var re=D.nodes[this._reverse?P-L:L];if(re){if(re.entry)return cn(i,re.entry);_=this._stack=Ga(re,_)}continue}_=this._stack=this._stack.__prev}return ee()};var zs=U/4,_l=U/2,wl=U/4;function Pr(i){var _=Fi();if(i==null)return _;if(Bi(i))return i;var P=d(i),D=P.size;return D===0?_:(an(D),D>0&&D<U?Uo(0,D,q,null,new Ln(P.toArray())):_.withMutations((function(L){L.setSize(D),P.forEach((function(re,ie){return L.set(ie,re)}))})))}function Bi(i){return!(!i||!i[mi])}a(Pr,Da),Pr.of=function(){return this(arguments)},Pr.prototype.toString=function(){return this.__toString("List [","]")},Pr.prototype.get=function(i,_){if((i=ze(this,i))>=0&&i<this.size){var P=ns(this,i+=this._origin);return P&&P.array[i&H]}return _},Pr.prototype.set=function(i,_){return Li(this,i,_)},Pr.prototype.remove=function(i){return this.has(i)?i===0?this.shift():i===this.size-1?this.pop():this.splice(i,1):this},Pr.prototype.insert=function(i,_){return this.splice(i,0,_)},Pr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=q,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Fi()},Pr.prototype.push=function(){var i=arguments,_=this.size;return this.withMutations((function(P){Ba(P,0,_+i.length);for(var D=0;D<i.length;D++)P.set(_+D,i[D])}))},Pr.prototype.pop=function(){return Ba(this,0,-1)},Pr.prototype.unshift=function(){var i=arguments;return this.withMutations((function(_){Ba(_,-i.length);for(var P=0;P<i.length;P++)_.set(P,i[P])}))},Pr.prototype.shift=function(){return Ba(this,1)},Pr.prototype.merge=function(){return ha(this,void 0,arguments)},Pr.prototype.mergeWith=function(i){return ha(this,i,A.call(arguments,1))},Pr.prototype.mergeDeep=function(){return ha(this,jo,arguments)},Pr.prototype.mergeDeepWith=function(i){var _=A.call(arguments,1);return ha(this,fi(i),_)},Pr.prototype.setSize=function(i){return Ba(this,0,i)},Pr.prototype.slice=function(i,_){var P=this.size;return Qe(i,_,P)?this:Ba(this,pt(i,P),Fe(_,P))},Pr.prototype.__iterator=function(i,_){var P=0,D=Eo(this,_);return new Ke((function(){var L=D();return L===Ca?ee():dt(i,P++,L)}))},Pr.prototype.__iterate=function(i,_){for(var P,D=0,L=Eo(this,_);(P=L())!==Ca&&i(P,D++,this)!==!1;);return D},Pr.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?Uo(this._origin,this._capacity,this._level,this._root,this._tail,i,this.__hash):(this.__ownerID=i,this)},Pr.isList=Bi;var mi="@@__IMMUTABLE_LIST__@@",en=Pr.prototype;function Ln(i,_){this.array=i,this.ownerID=_}en[mi]=!0,en[W]=en.remove,en.setIn=Gt.setIn,en.deleteIn=en.removeIn=Gt.removeIn,en.update=Gt.update,en.updateIn=Gt.updateIn,en.mergeIn=Gt.mergeIn,en.mergeDeepIn=Gt.mergeDeepIn,en.withMutations=Gt.withMutations,en.asMutable=Gt.asMutable,en.asImmutable=Gt.asImmutable,en.wasAltered=Gt.wasAltered,Ln.prototype.removeBefore=function(i,_,P){if(P===_?1<<_:this.array.length===0)return this;var D=P>>>_&H;if(D>=this.array.length)return new Ln([],i);var L,re=D===0;if(_>0){var ie=this.array[D];if((L=ie&&ie.removeBefore(i,_-q,P))===ie&&re)return this}if(re&&!L)return this;var ve=Va(this,i);if(!re)for(var $e=0;$e<D;$e++)ve.array[$e]=void 0;return L&&(ve.array[D]=L),ve},Ln.prototype.removeAfter=function(i,_,P){if(P===(_?1<<_:0)||this.array.length===0)return this;var D,L=P-1>>>_&H;if(L>=this.array.length)return this;if(_>0){var re=this.array[L];if((D=re&&re.removeAfter(i,_-q,P))===re&&L===this.array.length-1)return this}var ie=Va(this,i);return ie.array.splice(L+1),D&&(ie.array[L]=D),ie};var wo,gi,Ca={};function Eo(i,_){var P=i._origin,D=i._capacity,L=to(D),re=i._tail;return ie(i._root,i._level,0);function ie(Re,We,Et){return We===0?ve(Re,Et):$e(Re,We,Et)}function ve(Re,We){var Et=We===L?re&&re.array:Re&&Re.array,Ct=We>P?0:P-We,Bt=D-We;return Bt>U&&(Bt=U),function(){if(Ct===Bt)return Ca;var Qt=_?--Bt:Ct++;return Et&&Et[Qt]}}function $e(Re,We,Et){var Ct,Bt=Re&&Re.array,Qt=Et>P?0:P-Et>>We,Rr=1+(D-Et>>We);return Rr>U&&(Rr=U),function(){for(;;){if(Ct){var Zt=Ct();if(Zt!==Ca)return Zt;Ct=null}if(Qt===Rr)return Ca;var ca=_?--Rr:Qt++;Ct=ie(Bt&&Bt[ca],We-q,Et+(ca<<We))}}}}function Uo(i,_,P,D,L,re,ie){var ve=Object.create(en);return ve.size=_-i,ve._origin=i,ve._capacity=_,ve._level=P,ve._root=D,ve._tail=L,ve.__ownerID=re,ve.__hash=ie,ve.__altered=!1,ve}function Fi(){return wo||(wo=Uo(0,0,q))}function Li(i,_,P){if((_=ze(i,_))!=_)return i;if(_>=i.size||_<0)return i.withMutations((function(ie){_<0?Ba(ie,_).set(0,P):Ba(ie,0,_+1).set(_,P)}));_+=i._origin;var D=i._tail,L=i._root,re=Pe(le);return _>=to(i._capacity)?D=Si(D,i.__ownerID,0,_,P,re):L=Si(L,i.__ownerID,i._level,_,P,re),re.value?i.__ownerID?(i._root=L,i._tail=D,i.__hash=void 0,i.__altered=!0,i):Uo(i._origin,i._capacity,i._level,L,D):i}function Si(i,_,P,D,L,re){var ie,ve=D>>>P&H,$e=i&&ve<i.array.length;if(!$e&&L===void 0)return i;if(P>0){var Re=i&&i.array[ve],We=Si(Re,_,P-q,D,L,re);return We===Re?i:((ie=Va(i,_)).array[ve]=We,ie)}return $e&&i.array[ve]===L?i:(he(re),ie=Va(i,_),L===void 0&&ve===ie.array.length-1?ie.array.pop():ie.array[ve]=L,ie)}function Va(i,_){return _&&i&&_===i.ownerID?i:new Ln(i?i.array.slice():[],_)}function ns(i,_){if(_>=to(i._capacity))return i._tail;if(_<1<<i._level+q){for(var P=i._root,D=i._level;P&&D>0;)P=P.array[_>>>D&H],D-=q;return P}}function Ba(i,_,P){_!==void 0&&(_|=0),P!==void 0&&(P|=0);var D=i.__ownerID||new ge,L=i._origin,re=i._capacity,ie=L+_,ve=P===void 0?re:P<0?re+P:L+P;if(ie===L&&ve===re)return i;if(ie>=ve)return i.clear();for(var $e=i._level,Re=i._root,We=0;ie+We<0;)Re=new Ln(Re&&Re.array.length?[void 0,Re]:[],D),We+=1<<($e+=q);We&&(ie+=We,L+=We,ve+=We,re+=We);for(var Et=to(re),Ct=to(ve);Ct>=1<<$e+q;)Re=new Ln(Re&&Re.array.length?[Re]:[],D),$e+=q;var Bt=i._tail,Qt=Ct<Et?ns(i,ve-1):Ct>Et?new Ln([],D):Bt;if(Bt&&Ct>Et&&ie<re&&Bt.array.length){for(var Rr=Re=Va(Re,D),Zt=$e;Zt>q;Zt-=q){var ca=Et>>>Zt&H;Rr=Rr.array[ca]=Va(Rr.array[ca],D)}Rr.array[Et>>>q&H]=Bt}if(ve<re&&(Qt=Qt&&Qt.removeAfter(D,0,ve)),ie>=Ct)ie-=Ct,ve-=Ct,$e=q,Re=null,Qt=Qt&&Qt.removeBefore(D,0,ie);else if(ie>L||Ct<Et){for(We=0;Re;){var Oi=ie>>>$e&H;if(Oi!==Ct>>>$e&H)break;Oi&&(We+=(1<<$e)*Oi),$e-=q,Re=Re.array[Oi]}Re&&ie>L&&(Re=Re.removeBefore(D,$e,ie-We)),Re&&Ct<Et&&(Re=Re.removeAfter(D,$e,Ct-We)),We&&(ie-=We,ve-=We)}return i.__ownerID?(i.size=ve-ie,i._origin=ie,i._capacity=ve,i._level=$e,i._root=Re,i._tail=Qt,i.__hash=void 0,i.__altered=!0,i):Uo(ie,ve,$e,Re,Qt)}function ha(i,_,P){for(var D=[],L=0,re=0;re<P.length;re++){var ie=P[re],ve=d(ie);ve.size>L&&(L=ve.size),f(ie)||(ve=ve.map((function($e){return bn($e)}))),D.push(ve)}return L>i.size&&(i=i.setSize(L)),hi(i,_,D)}function to(i){return i<U?0:i-1>>>q<<q}function Nr(i){return i==null?_r():qo(i)?i:_r().withMutations((function(_){var P=v(i);an(P.size),P.forEach((function(D,L){return _.set(L,D)}))}))}function qo(i){return gn(i)&&O(i)}function as(i,_,P,D){var L=Object.create(Nr.prototype);return L.size=i?i.size:0,L._map=i,L._list=_,L.__ownerID=P,L.__hash=D,L}function _r(){return gi||(gi=as(vn(),Fi()))}function xi(i,_,P){var D,L,re=i._map,ie=i._list,ve=re.get(_),$e=ve!==void 0;if(P===Q){if(!$e)return i;ie.size>=U&&ie.size>=2*re.size?(D=(L=ie.filter((function(Re,We){return Re!==void 0&&ve!==We}))).toKeyedSeq().map((function(Re){return Re[0]})).flip().toMap(),i.__ownerID&&(D.__ownerID=L.__ownerID=i.__ownerID)):(D=re.remove(_),L=ve===ie.size-1?ie.pop():ie.set(ve,void 0))}else if($e){if(P===ie.get(ve)[1])return i;D=re,L=ie.set(ve,[_,P])}else D=re.set(_,ie.size),L=ie.set(ie.size,[_,P]);return i.__ownerID?(i.size=D.size,i._map=D,i._list=L,i.__hash=void 0,i):as(D,L)}function Cn(i,_){this._iter=i,this._useKeys=_,this.size=i.size}function ro(i){this._iter=i,this.size=i.size}function co(i){this._iter=i,this.size=i.size}function ja(i){this._iter=i,this.size=i.size}function os(i){var _=vt(i);return _._iter=i,_.size=i.size,_.flip=function(){return i},_.reverse=function(){var P=i.reverse.apply(this);return P.flip=function(){return i.reverse()},P},_.has=function(P){return i.includes(P)},_.includes=function(P){return i.has(P)},_.cacheResult=Xt,_.__iterateUncached=function(P,D){var L=this;return i.__iterate((function(re,ie){return P(ie,re,L)!==!1}),D)},_.__iteratorUncached=function(P,D){if(P===ue){var L=i.__iterator(P,D);return new Ke((function(){var re=L.next();if(!re.done){var ie=re.value[0];re.value[0]=re.value[1],re.value[1]=ie}return re}))}return i.__iterator(P===Ye?it:Ye,D)},_}function $i(i,_,P){var D=vt(i);return D.size=i.size,D.has=function(L){return i.has(L)},D.get=function(L,re){var ie=i.get(L,Q);return ie===Q?re:_.call(P,ie,L,i)},D.__iterateUncached=function(L,re){var ie=this;return i.__iterate((function(ve,$e,Re){return L(_.call(P,ve,$e,Re),$e,ie)!==!1}),re)},D.__iteratorUncached=function(L,re){var ie=i.__iterator(ue,re);return new Ke((function(){var ve=ie.next();if(ve.done)return ve;var $e=ve.value,Re=$e[0];return dt(L,Re,_.call(P,$e[1],Re,i),ve)}))},D}function Ui(i,_){var P=vt(i);return P._iter=i,P.size=i.size,P.reverse=function(){return i},i.flip&&(P.flip=function(){var D=os(i);return D.reverse=function(){return i.flip()},D}),P.get=function(D,L){return i.get(_?D:-1-D,L)},P.has=function(D){return i.has(_?D:-1-D)},P.includes=function(D){return i.includes(D)},P.cacheResult=Xt,P.__iterate=function(D,L){var re=this;return i.__iterate((function(ie,ve){return D(ie,ve,re)}),!L)},P.__iterator=function(D,L){return i.__iterator(D,!L)},P}function qi(i,_,P,D){var L=vt(i);return D&&(L.has=function(re){var ie=i.get(re,Q);return ie!==Q&&!!_.call(P,ie,re,i)},L.get=function(re,ie){var ve=i.get(re,Q);return ve!==Q&&_.call(P,ve,re,i)?ve:ie}),L.__iterateUncached=function(re,ie){var ve=this,$e=0;return i.__iterate((function(Re,We,Et){if(_.call(P,Re,We,Et))return $e++,re(Re,D?We:$e-1,ve)}),ie),$e},L.__iteratorUncached=function(re,ie){var ve=i.__iterator(ue,ie),$e=0;return new Ke((function(){for(;;){var Re=ve.next();if(Re.done)return Re;var We=Re.value,Et=We[0],Ct=We[1];if(_.call(P,Ct,Et,i))return dt(re,D?Et:$e++,Ct,Re)}}))},L}function bs(i,_,P){var D=Rt().asMutable();return i.__iterate((function(L,re){D.update(_.call(P,L,re,i),0,(function(ie){return ie+1}))})),D.asImmutable()}function El(i,_,P){var D=p(i),L=(O(i)?Nr():Rt()).asMutable();i.__iterate((function(ie,ve){L.update(_.call(P,ie,ve,i),(function($e){return($e=$e||[]).push(D?[ve,ie]:ie),$e}))}));var re=mt(i);return L.map((function(ie){return je(i,re(ie))}))}function Ia(i,_,P,D){var L=i.size;if(_!==void 0&&(_|=0),P!==void 0&&(P===1/0?P=L:P|=0),Qe(_,P,L))return i;var re=pt(_,L),ie=Fe(P,L);if(re!=re||ie!=ie)return Ia(i.toSeq().cacheResult(),_,P,D);var ve,$e=ie-re;$e==$e&&(ve=$e<0?0:$e);var Re=vt(i);return Re.size=ve===0?ve:i.size&&ve||void 0,!D&&be(i)&&ve>=0&&(Re.get=function(We,Et){return(We=ze(this,We))>=0&&We<ve?i.get(We+re,Et):Et}),Re.__iterateUncached=function(We,Et){var Ct=this;if(ve===0)return 0;if(Et)return this.cacheResult().__iterate(We,Et);var Bt=0,Qt=!0,Rr=0;return i.__iterate((function(Zt,ca){if(!Qt||!(Qt=Bt++<re))return Rr++,We(Zt,D?ca:Rr-1,Ct)!==!1&&Rr!==ve})),Rr},Re.__iteratorUncached=function(We,Et){if(ve!==0&&Et)return this.cacheResult().__iterator(We,Et);var Ct=ve!==0&&i.__iterator(We,Et),Bt=0,Qt=0;return new Ke((function(){for(;Bt++<re;)Ct.next();if(++Qt>ve)return ee();var Rr=Ct.next();return D||We===Ye?Rr:dt(We,Qt-1,We===it?void 0:Rr.value[1],Rr)}))},Re}function _s(i,_,P){var D=vt(i);return D.__iterateUncached=function(L,re){var ie=this;if(re)return this.cacheResult().__iterate(L,re);var ve=0;return i.__iterate((function($e,Re,We){return _.call(P,$e,Re,We)&&++ve&&L($e,Re,ie)})),ve},D.__iteratorUncached=function(L,re){var ie=this;if(re)return this.cacheResult().__iterator(L,re);var ve=i.__iterator(ue,re),$e=!0;return new Ke((function(){if(!$e)return ee();var Re=ve.next();if(Re.done)return Re;var We=Re.value,Et=We[0],Ct=We[1];return _.call(P,Ct,Et,ie)?L===ue?Re:dt(L,Et,Ct,Re):($e=!1,ee())}))},D}function is(i,_,P,D){var L=vt(i);return L.__iterateUncached=function(re,ie){var ve=this;if(ie)return this.cacheResult().__iterate(re,ie);var $e=!0,Re=0;return i.__iterate((function(We,Et,Ct){if(!$e||!($e=_.call(P,We,Et,Ct)))return Re++,re(We,D?Et:Re-1,ve)})),Re},L.__iteratorUncached=function(re,ie){var ve=this;if(ie)return this.cacheResult().__iterator(re,ie);var $e=i.__iterator(ue,ie),Re=!0,We=0;return new Ke((function(){var Et,Ct,Bt;do{if((Et=$e.next()).done)return D||re===Ye?Et:dt(re,We++,re===it?void 0:Et.value[1],Et);var Qt=Et.value;Ct=Qt[0],Bt=Qt[1],Re&&(Re=_.call(P,Bt,Ct,ve))}while(Re);return re===ue?Et:dt(re,Ct,Bt,Et)}))},L}function zi(i,_){var P=p(i),D=[i].concat(_).map((function(ie){return f(ie)?P&&(ie=v(ie)):ie=P?St(ie):ut(Array.isArray(ie)?ie:[ie]),ie})).filter((function(ie){return ie.size!==0}));if(D.length===0)return i;if(D.length===1){var L=D[0];if(L===i||P&&p(L)||w(i)&&w(L))return L}var re=new N(D);return P?re=re.toKeyedSeq():w(i)||(re=re.toSetSeq()),(re=re.flatten(!0)).size=D.reduce((function(ie,ve){if(ie!==void 0){var $e=ve.size;if($e!==void 0)return ie+$e}}),0),re}function Po(i,_,P){var D=vt(i);return D.__iterateUncached=function(L,re){var ie=0,ve=!1;function $e(Re,We){var Et=this;Re.__iterate((function(Ct,Bt){return(!_||We<_)&&f(Ct)?$e(Ct,We+1):L(Ct,P?Bt:ie++,Et)===!1&&(ve=!0),!ve}),re)}return $e(i,0),ie},D.__iteratorUncached=function(L,re){var ie=i.__iterator(L,re),ve=[],$e=0;return new Ke((function(){for(;ie;){var Re=ie.next();if(Re.done===!1){var We=Re.value;if(L===ue&&(We=We[1]),_&&!(ve.length<_)||!f(We))return P?Re:dt(L,$e++,We,Re);ve.push(ie),ie=We.__iterator(L,re)}else ie=ve.pop()}return ee()}))},D}function Vs(i,_,P){var D=mt(i);return i.toSeq().map((function(L,re){return D(_.call(P,L,re,i))})).flatten(!0)}function Vi(i,_){var P=vt(i);return P.size=i.size&&2*i.size-1,P.__iterateUncached=function(D,L){var re=this,ie=0;return i.__iterate((function(ve,$e){return(!ie||D(_,ie++,re)!==!1)&&D(ve,ie++,re)!==!1}),L),ie},P.__iteratorUncached=function(D,L){var re,ie=i.__iterator(Ye,L),ve=0;return new Ke((function(){return(!re||ve%2)&&(re=ie.next()).done?re:ve%2?dt(D,ve++,_):dt(D,ve++,re.value,re)}))},P}function V(i,_,P){_||(_=ar);var D=p(i),L=0,re=i.toSeq().map((function(ie,ve){return[ve,ie,L++,P?P(ie,ve,i):ie]})).toArray();return re.sort((function(ie,ve){return _(ie[3],ve[3])||ie[2]-ve[2]})).forEach(D?function(ie,ve){re[ve].length=2}:function(ie,ve){re[ve]=ie[1]}),D?xt(re):w(i)?Mt(re):_t(re)}function pe(i,_,P){if(_||(_=ar),P){var D=i.toSeq().map((function(L,re){return[L,P(L,re,i)]})).reduce((function(L,re){return Ee(_,L[1],re[1])?re:L}));return D&&D[0]}return i.reduce((function(L,re){return Ee(_,L,re)?re:L}))}function Ee(i,_,P){var D=i(P,_);return D===0&&P!==_&&(P==null||P!=P)||D>0}function Be(i,_,P){var D=vt(i);return D.size=new N(P).map((function(L){return L.size})).min(),D.__iterate=function(L,re){for(var ie,ve=this.__iterator(Ye,re),$e=0;!(ie=ve.next()).done&&L(ie.value,$e++,this)!==!1;);return $e},D.__iteratorUncached=function(L,re){var ie=P.map((function(Re){return Re=c(Re),st(re?Re.reverse():Re)})),ve=0,$e=!1;return new Ke((function(){var Re;return $e||(Re=ie.map((function(We){return We.next()})),$e=Re.some((function(We){return We.done}))),$e?ee():dt(L,ve++,_.apply(null,Re.map((function(We){return We.value}))))}))},D}function je(i,_){return be(i)?_:i.constructor(_)}function Ge(i){if(i!==Object(i))throw new TypeError("Expected [K, V] tuple: "+i)}function bt(i){return an(i.size),Je(i)}function mt(i){return p(i)?v:w(i)?d:y}function vt(i){return Object.create((p(i)?xt:w(i)?Mt:_t).prototype)}function Xt(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):lt.prototype.cacheResult.call(this)}function ar(i,_){return i>_?1:i<_?-1:0}function cr(i){var _=st(i);if(!_){if(!qt(i))throw new TypeError("Expected iterable or array-like: "+i);_=st(c(i))}return _}function hr(i,_){var P,D=function(ie){if(ie instanceof D)return ie;if(!(this instanceof D))return new D(ie);if(!P){P=!0;var ve=Object.keys(i);Tn(L,ve),L.size=ve.length,L._name=_,L._keys=ve,L._defaultValues=i}this._map=Rt(ie)},L=D.prototype=Object.create(ur);return L.constructor=D,D}a(Nr,Rt),Nr.of=function(){return this(arguments)},Nr.prototype.toString=function(){return this.__toString("OrderedMap {","}")},Nr.prototype.get=function(i,_){var P=this._map.get(i);return P!==void 0?this._list.get(P)[1]:_},Nr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):_r()},Nr.prototype.set=function(i,_){return xi(this,i,_)},Nr.prototype.remove=function(i){return xi(this,i,Q)},Nr.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},Nr.prototype.__iterate=function(i,_){var P=this;return this._list.__iterate((function(D){return D&&i(D[1],D[0],P)}),_)},Nr.prototype.__iterator=function(i,_){return this._list.fromEntrySeq().__iterator(i,_)},Nr.prototype.__ensureOwner=function(i){if(i===this.__ownerID)return this;var _=this._map.__ensureOwner(i),P=this._list.__ensureOwner(i);return i?as(_,P,i,this.__hash):(this.__ownerID=i,this._map=_,this._list=P,this)},Nr.isOrderedMap=qo,Nr.prototype[$]=!0,Nr.prototype[W]=Nr.prototype.remove,a(Cn,xt),Cn.prototype.get=function(i,_){return this._iter.get(i,_)},Cn.prototype.has=function(i){return this._iter.has(i)},Cn.prototype.valueSeq=function(){return this._iter.valueSeq()},Cn.prototype.reverse=function(){var i=this,_=Ui(this,!0);return this._useKeys||(_.valueSeq=function(){return i._iter.toSeq().reverse()}),_},Cn.prototype.map=function(i,_){var P=this,D=$i(this,i,_);return this._useKeys||(D.valueSeq=function(){return P._iter.toSeq().map(i,_)}),D},Cn.prototype.__iterate=function(i,_){var P,D=this;return this._iter.__iterate(this._useKeys?function(L,re){return i(L,re,D)}:(P=_?bt(this):0,function(L){return i(L,_?--P:P++,D)}),_)},Cn.prototype.__iterator=function(i,_){if(this._useKeys)return this._iter.__iterator(i,_);var P=this._iter.__iterator(Ye,_),D=_?bt(this):0;return new Ke((function(){var L=P.next();return L.done?L:dt(i,_?--D:D++,L.value,L)}))},Cn.prototype[$]=!0,a(ro,Mt),ro.prototype.includes=function(i){return this._iter.includes(i)},ro.prototype.__iterate=function(i,_){var P=this,D=0;return this._iter.__iterate((function(L){return i(L,D++,P)}),_)},ro.prototype.__iterator=function(i,_){var P=this._iter.__iterator(Ye,_),D=0;return new Ke((function(){var L=P.next();return L.done?L:dt(i,D++,L.value,L)}))},a(co,_t),co.prototype.has=function(i){return this._iter.includes(i)},co.prototype.__iterate=function(i,_){var P=this;return this._iter.__iterate((function(D){return i(D,D,P)}),_)},co.prototype.__iterator=function(i,_){var P=this._iter.__iterator(Ye,_);return new Ke((function(){var D=P.next();return D.done?D:dt(i,D.value,D.value,D)}))},a(ja,xt),ja.prototype.entrySeq=function(){return this._iter.toSeq()},ja.prototype.__iterate=function(i,_){var P=this;return this._iter.__iterate((function(D){if(D){Ge(D);var L=f(D);return i(L?D.get(1):D[1],L?D.get(0):D[0],P)}}),_)},ja.prototype.__iterator=function(i,_){var P=this._iter.__iterator(Ye,_);return new Ke((function(){for(;;){var D=P.next();if(D.done)return D;var L=D.value;if(L){Ge(L);var re=f(L);return dt(i,re?L.get(0):L[0],re?L.get(1):L[1],D)}}}))},ro.prototype.cacheResult=Cn.prototype.cacheResult=co.prototype.cacheResult=ja.prototype.cacheResult=Xt,a(hr,Zn),hr.prototype.toString=function(){return this.__toString(Un(this)+" {","}")},hr.prototype.has=function(i){return this._defaultValues.hasOwnProperty(i)},hr.prototype.get=function(i,_){if(!this.has(i))return _;var P=this._defaultValues[i];return this._map?this._map.get(i,P):P},hr.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var i=this.constructor;return i._empty||(i._empty=Kt(this,vn()))},hr.prototype.set=function(i,_){if(!this.has(i))throw new Error('Cannot set unknown key "'+i+'" on '+Un(this));if(this._map&&!this._map.has(i)&&_===this._defaultValues[i])return this;var P=this._map&&this._map.set(i,_);return this.__ownerID||P===this._map?this:Kt(this,P)},hr.prototype.remove=function(i){if(!this.has(i))return this;var _=this._map&&this._map.remove(i);return this.__ownerID||_===this._map?this:Kt(this,_)},hr.prototype.wasAltered=function(){return this._map.wasAltered()},hr.prototype.__iterator=function(i,_){var P=this;return v(this._defaultValues).map((function(D,L){return P.get(L)})).__iterator(i,_)},hr.prototype.__iterate=function(i,_){var P=this;return v(this._defaultValues).map((function(D,L){return P.get(L)})).__iterate(i,_)},hr.prototype.__ensureOwner=function(i){if(i===this.__ownerID)return this;var _=this._map&&this._map.__ensureOwner(i);return i?Kt(this,_,i):(this.__ownerID=i,this._map=_,this)};var ur=hr.prototype;function Kt(i,_,P){var D=Object.create(Object.getPrototypeOf(i));return D._map=_,D.__ownerID=P,D}function Un(i){return i._name||i.constructor.name||"Record"}function Tn(i,_){try{_.forEach(mr.bind(void 0,i))}catch{}}function mr(i,_){Object.defineProperty(i,_,{get:function(){return this.get(_)},set:function(P){Oa(this.__ownerID,"Cannot set on an immutable record."),this.set(_,P)}})}function Oe(i){return i==null?Kr():Dr(i)&&!O(i)?i:Kr().withMutations((function(_){var P=y(i);an(P.size),P.forEach((function(D){return _.add(D)}))}))}function Dr(i){return!(!i||!i[jr])}ur[W]=ur.remove,ur.deleteIn=ur.removeIn=Gt.removeIn,ur.merge=Gt.merge,ur.mergeWith=Gt.mergeWith,ur.mergeIn=Gt.mergeIn,ur.mergeDeep=Gt.mergeDeep,ur.mergeDeepWith=Gt.mergeDeepWith,ur.mergeDeepIn=Gt.mergeDeepIn,ur.setIn=Gt.setIn,ur.update=Gt.update,ur.updateIn=Gt.updateIn,ur.withMutations=Gt.withMutations,ur.asMutable=Gt.asMutable,ur.asImmutable=Gt.asImmutable,a(Oe,za),Oe.of=function(){return this(arguments)},Oe.fromKeys=function(i){return this(v(i).keySeq())},Oe.prototype.toString=function(){return this.__toString("Set {","}")},Oe.prototype.has=function(i){return this._map.has(i)},Oe.prototype.add=function(i){return or(this,this._map.set(i,!0))},Oe.prototype.remove=function(i){return or(this,this._map.remove(i))},Oe.prototype.clear=function(){return or(this,this._map.clear())},Oe.prototype.union=function(){var i=A.call(arguments,0);return(i=i.filter((function(_){return _.size!==0}))).length===0?this:this.size!==0||this.__ownerID||i.length!==1?this.withMutations((function(_){for(var P=0;P<i.length;P++)y(i[P]).forEach((function(D){return _.add(D)}))})):this.constructor(i[0])},Oe.prototype.intersect=function(){var i=A.call(arguments,0);if(i.length===0)return this;i=i.map((function(P){return y(P)}));var _=this;return this.withMutations((function(P){_.forEach((function(D){i.every((function(L){return L.includes(D)}))||P.remove(D)}))}))},Oe.prototype.subtract=function(){var i=A.call(arguments,0);if(i.length===0)return this;i=i.map((function(P){return y(P)}));var _=this;return this.withMutations((function(P){_.forEach((function(D){i.some((function(L){return L.includes(D)}))&&P.remove(D)}))}))},Oe.prototype.merge=function(){return this.union.apply(this,arguments)},Oe.prototype.mergeWith=function(i){var _=A.call(arguments,1);return this.union.apply(this,_)},Oe.prototype.sort=function(i){return Tr(V(this,i))},Oe.prototype.sortBy=function(i,_){return Tr(V(this,_,i))},Oe.prototype.wasAltered=function(){return this._map.wasAltered()},Oe.prototype.__iterate=function(i,_){var P=this;return this._map.__iterate((function(D,L){return i(L,L,P)}),_)},Oe.prototype.__iterator=function(i,_){return this._map.map((function(P,D){return D})).__iterator(i,_)},Oe.prototype.__ensureOwner=function(i){if(i===this.__ownerID)return this;var _=this._map.__ensureOwner(i);return i?this.__make(_,i):(this.__ownerID=i,this._map=_,this)},Oe.isSet=Dr;var Mr,jr="@@__IMMUTABLE_SET__@@",gr=Oe.prototype;function or(i,_){return i.__ownerID?(i.size=_.size,i._map=_,i):_===i._map?i:_.size===0?i.__empty():i.__make(_)}function hn(i,_){var P=Object.create(gr);return P.size=i?i.size:0,P._map=i,P.__ownerID=_,P}function Kr(){return Mr||(Mr=hn(vn()))}function Tr(i){return i==null?sa():Sn(i)?i:sa().withMutations((function(_){var P=y(i);an(P.size),P.forEach((function(D){return _.add(D)}))}))}function Sn(i){return Dr(i)&&O(i)}gr[jr]=!0,gr[W]=gr.remove,gr.mergeDeep=gr.merge,gr.mergeDeepWith=gr.mergeWith,gr.withMutations=Gt.withMutations,gr.asMutable=Gt.asMutable,gr.asImmutable=Gt.asImmutable,gr.__empty=Kr,gr.__make=hn,a(Tr,Oe),Tr.of=function(){return this(arguments)},Tr.fromKeys=function(i){return this(v(i).keySeq())},Tr.prototype.toString=function(){return this.__toString("OrderedSet {","}")},Tr.isOrderedSet=Sn;var Jr,jn=Tr.prototype;function Hn(i,_){var P=Object.create(jn);return P.size=i?i.size:0,P._map=i,P.__ownerID=_,P}function sa(){return Jr||(Jr=Hn(_r()))}function Ir(i){return i==null?ws():Wa(i)?i:ws().unshiftAll(i)}function Wa(i){return!(!i||!i[la])}jn[$]=!0,jn.__empty=sa,jn.__make=Hn,a(Ir,Da),Ir.of=function(){return this(arguments)},Ir.prototype.toString=function(){return this.__toString("Stack [","]")},Ir.prototype.get=function(i,_){var P=this._head;for(i=ze(this,i);P&&i--;)P=P.next;return P?P.value:_},Ir.prototype.peek=function(){return this._head&&this._head.value},Ir.prototype.push=function(){if(arguments.length===0)return this;for(var i=this.size+arguments.length,_=this._head,P=arguments.length-1;P>=0;P--)_={value:arguments[P],next:_};return this.__ownerID?(this.size=i,this._head=_,this.__hash=void 0,this.__altered=!0,this):So(i,_)},Ir.prototype.pushAll=function(i){if((i=d(i)).size===0)return this;an(i.size);var _=this.size,P=this._head;return i.reverse().forEach((function(D){_++,P={value:D,next:P}})),this.__ownerID?(this.size=_,this._head=P,this.__hash=void 0,this.__altered=!0,this):So(_,P)},Ir.prototype.pop=function(){return this.slice(1)},Ir.prototype.unshift=function(){return this.push.apply(this,arguments)},Ir.prototype.unshiftAll=function(i){return this.pushAll(i)},Ir.prototype.shift=function(){return this.pop.apply(this,arguments)},Ir.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):ws()},Ir.prototype.slice=function(i,_){if(Qe(i,_,this.size))return this;var P=pt(i,this.size);if(Fe(_,this.size)!==this.size)return Da.prototype.slice.call(this,i,_);for(var D=this.size-P,L=this._head;P--;)L=L.next;return this.__ownerID?(this.size=D,this._head=L,this.__hash=void 0,this.__altered=!0,this):So(D,L)},Ir.prototype.__ensureOwner=function(i){return i===this.__ownerID?this:i?So(this.size,this._head,i,this.__hash):(this.__ownerID=i,this.__altered=!1,this)},Ir.prototype.__iterate=function(i,_){if(_)return this.reverse().__iterate(i);for(var P=0,D=this._head;D&&i(D.value,P++,this)!==!1;)D=D.next;return P},Ir.prototype.__iterator=function(i,_){if(_)return this.reverse().__iterator(i);var P=0,D=this._head;return new Ke((function(){if(D){var L=D.value;return D=D.next,dt(i,P++,L)}return ee()}))},Ir.isStack=Wa;var no,la="@@__IMMUTABLE_STACK__@@",Pa=Ir.prototype;function So(i,_,P,D){var L=Object.create(Pa);return L.size=i,L._head=_,L.__ownerID=P,L.__hash=D,L.__altered=!1,L}function ws(){return no||(no=So(0))}function da(i,_){var P=function(D){i.prototype[D]=_[D]};return Object.keys(_).forEach(P),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(_).forEach(P),i}Pa[la]=!0,Pa.withMutations=Gt.withMutations,Pa.asMutable=Gt.asMutable,Pa.asImmutable=Gt.asImmutable,Pa.wasAltered=Gt.wasAltered,c.Iterator=Ke,da(c,{toArray:function(){an(this.size);var i=new Array(this.size||0);return this.valueSeq().__iterate((function(_,P){i[P]=_})),i},toIndexedSeq:function(){return new ro(this)},toJS:function(){return this.toSeq().map((function(i){return i&&typeof i.toJS=="function"?i.toJS():i})).__toJS()},toJSON:function(){return this.toSeq().map((function(i){return i&&typeof i.toJSON=="function"?i.toJSON():i})).__toJS()},toKeyedSeq:function(){return new Cn(this,!0)},toMap:function(){return Rt(this.toKeyedSeq())},toObject:function(){an(this.size);var i={};return this.__iterate((function(_,P){i[P]=_})),i},toOrderedMap:function(){return Nr(this.toKeyedSeq())},toOrderedSet:function(){return Tr(p(this)?this.valueSeq():this)},toSet:function(){return Oe(p(this)?this.valueSeq():this)},toSetSeq:function(){return new co(this)},toSeq:function(){return w(this)?this.toIndexedSeq():p(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return Ir(p(this)?this.valueSeq():this)},toList:function(){return Pr(p(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(i,_){return this.size===0?i+_:i+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+_},concat:function(){return je(this,zi(this,A.call(arguments,0)))},includes:function(i){return this.some((function(_){return xr(_,i)}))},entries:function(){return this.__iterator(ue)},every:function(i,_){an(this.size);var P=!0;return this.__iterate((function(D,L,re){if(!i.call(_,D,L,re))return P=!1,!1})),P},filter:function(i,_){return je(this,qi(this,i,_,!0))},find:function(i,_,P){var D=this.findEntry(i,_);return D?D[1]:P},forEach:function(i,_){return an(this.size),this.__iterate(_?i.bind(_):i)},join:function(i){an(this.size),i=i!==void 0?""+i:",";var _="",P=!0;return this.__iterate((function(D){P?P=!1:_+=i,_+=D!=null?D.toString():""})),_},keys:function(){return this.__iterator(it)},map:function(i,_){return je(this,$i(this,i,_))},reduce:function(i,_,P){var D,L;return an(this.size),arguments.length<2?L=!0:D=_,this.__iterate((function(re,ie,ve){L?(L=!1,D=re):D=i.call(P,D,re,ie,ve)})),D},reduceRight:function(i,_,P){var D=this.toKeyedSeq().reverse();return D.reduce.apply(D,arguments)},reverse:function(){return je(this,Ui(this,!0))},slice:function(i,_){return je(this,Ia(this,i,_,!0))},some:function(i,_){return!this.every(Wi(i),_)},sort:function(i){return je(this,V(this,i))},values:function(){return this.__iterator(Ye)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some((function(){return!0}))},count:function(i,_){return Je(i?this.toSeq().filter(i,_):this)},countBy:function(i,_){return bs(this,i,_)},equals:function(i){return mn(this,i)},entrySeq:function(){var i=this;if(i._cache)return new N(i._cache);var _=i.toSeq().map(ec).toIndexedSeq();return _.fromEntrySeq=function(){return i.toSeq()},_},filterNot:function(i,_){return this.filter(Wi(i),_)},findEntry:function(i,_,P){var D=P;return this.__iterate((function(L,re,ie){if(i.call(_,L,re,ie))return D=[re,L],!1})),D},findKey:function(i,_){var P=this.findEntry(i,_);return P&&P[0]},findLast:function(i,_,P){return this.toKeyedSeq().reverse().find(i,_,P)},findLastEntry:function(i,_,P){return this.toKeyedSeq().reverse().findEntry(i,_,P)},findLastKey:function(i,_){return this.toKeyedSeq().reverse().findKey(i,_)},first:function(){return this.find(Ve)},flatMap:function(i,_){return je(this,Vs(this,i,_))},flatten:function(i){return je(this,Po(this,i,!0))},fromEntrySeq:function(){return new ja(this)},get:function(i,_){return this.find((function(P,D){return xr(D,i)}),void 0,_)},getIn:function(i,_){for(var P,D=this,L=cr(i);!(P=L.next()).done;){var re=P.value;if((D=D&&D.get?D.get(re,Q):Q)===Q)return _}return D},groupBy:function(i,_){return El(this,i,_)},has:function(i){return this.get(i,Q)!==Q},hasIn:function(i){return this.getIn(i,Q)!==Q},isSubset:function(i){return i=typeof i.includes=="function"?i:c(i),this.every((function(_){return i.includes(_)}))},isSuperset:function(i){return(i=typeof i.isSubset=="function"?i:c(i)).isSubset(this)},keyOf:function(i){return this.findKey((function(_){return xr(_,i)}))},keySeq:function(){return this.toSeq().map(Pc).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(i){return this.toKeyedSeq().reverse().keyOf(i)},max:function(i){return pe(this,i)},maxBy:function(i,_){return pe(this,_,i)},min:function(i){return pe(this,i?Sl(i):Ws)},minBy:function(i,_){return pe(this,_?Sl(_):Ws,i)},rest:function(){return this.slice(1)},skip:function(i){return this.slice(Math.max(0,i))},skipLast:function(i){return je(this,this.toSeq().reverse().skip(i).reverse())},skipWhile:function(i,_){return je(this,is(this,i,_,!0))},skipUntil:function(i,_){return this.skipWhile(Wi(i),_)},sortBy:function(i,_){return je(this,V(this,_,i))},take:function(i){return this.slice(0,Math.max(0,i))},takeLast:function(i){return je(this,this.toSeq().reverse().take(i).reverse())},takeWhile:function(i,_){return je(this,_s(this,i,_))},takeUntil:function(i,_){return this.takeWhile(Wi(i),_)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=Fa(this))}});var xn=c.prototype;xn[j]=!0,xn[ft]=xn.values,xn.__toJS=xn.toArray,xn.__toStringMapper=tc,xn.inspect=xn.toSource=function(){return this.toString()},xn.chain=xn.flatMap,xn.contains=xn.includes,da(v,{flip:function(){return je(this,os(this))},mapEntries:function(i,_){var P=this,D=0;return je(this,this.toSeq().map((function(L,re){return i.call(_,[re,L],D++,P)})).fromEntrySeq())},mapKeys:function(i,_){var P=this;return je(this,this.toSeq().flip().map((function(D,L){return i.call(_,D,L,P)})).flip())}});var Ai=v.prototype;function Pc(i,_){return _}function ec(i,_){return[_,i]}function Wi(i){return function(){return!i.apply(this,arguments)}}function Sl(i){return function(){return-i.apply(this,arguments)}}function tc(i){return typeof i=="string"?JSON.stringify(i):String(i)}function Tc(){return Ce(arguments)}function Ws(i,_){return i<_?1:i>_?-1:0}function Fa(i){if(i.size===1/0)return 0;var _=O(i),P=p(i),D=_?1:0;return Js(i.__iterate(P?_?function(L,re){D=31*D+xl(Ar(L),Ar(re))|0}:function(L,re){D=D+xl(Ar(L),Ar(re))|0}:_?function(L){D=31*D+Ar(L)|0}:function(L){D=D+Ar(L)|0}),D)}function Js(i,_){return _=tr(_,3432918353),_=tr(_<<15|_>>>-15,461845907),_=tr(_<<13|_>>>-13,5),_=tr((_=_+3864292196^i)^_>>>16,2246822507),_=br((_=tr(_^_>>>13,3266489909))^_>>>16)}function xl(i,_){return i^_+2654435769+(i<<6)+(i>>2)}return Ai[I]=!0,Ai[ft]=xn.entries,Ai.__toJS=xn.toObject,Ai.__toStringMapper=function(i,_){return JSON.stringify(_)+": "+tc(i)},da(d,{toKeyedSeq:function(){return new Cn(this,!1)},filter:function(i,_){return je(this,qi(this,i,_,!1))},findIndex:function(i,_){var P=this.findEntry(i,_);return P?P[0]:-1},indexOf:function(i){var _=this.keyOf(i);return _===void 0?-1:_},lastIndexOf:function(i){var _=this.lastKeyOf(i);return _===void 0?-1:_},reverse:function(){return je(this,Ui(this,!1))},slice:function(i,_){return je(this,Ia(this,i,_,!1))},splice:function(i,_){var P=arguments.length;if(_=Math.max(0|_,0),P===0||P===2&&!_)return this;i=pt(i,i<0?this.count():this.size);var D=this.slice(0,i);return je(this,P===1?D:D.concat(Ce(arguments,2),this.slice(i+_)))},findLastIndex:function(i,_){var P=this.findLastEntry(i,_);return P?P[0]:-1},first:function(){return this.get(0)},flatten:function(i){return je(this,Po(this,i,!1))},get:function(i,_){return(i=ze(this,i))<0||this.size===1/0||this.size!==void 0&&i>this.size?_:this.find((function(P,D){return D===i}),void 0,_)},has:function(i){return(i=ze(this,i))>=0&&(this.size!==void 0?this.size===1/0||i<this.size:this.indexOf(i)!==-1)},interpose:function(i){return je(this,Vi(this,i))},interleave:function(){var i=[this].concat(Ce(arguments)),_=Be(this.toSeq(),Mt.of,i),P=_.flatten(!0);return _.size&&(P.size=_.size*i.length),je(this,P)},keySeq:function(){return Qr(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(i,_){return je(this,is(this,i,_,!1))},zip:function(){return je(this,Be(this,Tc,[this].concat(Ce(arguments))))},zipWith:function(i){var _=Ce(arguments);return _[0]=this,je(this,Be(this,i,_))}}),d.prototype[M]=!0,d.prototype[$]=!0,da(y,{get:function(i,_){return this.has(i)?i:_},includes:function(i){return this.has(i)},keySeq:function(){return this.valueSeq()}}),y.prototype.has=xn.includes,y.prototype.contains=y.prototype.includes,da(xt,v.prototype),da(Mt,d.prototype),da(_t,y.prototype),da(Zn,v.prototype),da(Da,d.prototype),da(za,y.prototype),{Iterable:c,Seq:lt,Collection:_n,Map:Rt,OrderedMap:Nr,List:Pr,Stack:Ir,Set:Oe,OrderedSet:Tr,Record:hr,Range:Qr,Repeat:Vr,is:xr,fromJS:bn}})()},9447:(m,A,a)=>{var c=a(8828);m.exports=!c((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}))},9538:m=>{m.exports=ReferenceError},9552:(m,A,a)=>{var c=a(5951),v=a(6285),d=c.document,y=v(d)&&v(d.createElement);m.exports=function(f){return y?d.createElement(f):{}}},9600:m=>{var A,a,c=Function.prototype.toString,v=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply;if(typeof v=="function"&&typeof Object.defineProperty=="function")try{A=Object.defineProperty({},"length",{get:function(){throw a}}),a={},v((function(){throw 42}),null,A)}catch(I){I!==a&&(v=null)}else v=null;var d=/^\s*class\b/,y=function(M){try{var $=c.call(M);return d.test($)}catch{return!1}},f=function(M){try{return!y(M)&&(c.call(M),!0)}catch{return!1}},p=Object.prototype.toString,w=typeof Symbol=="function"&&!!Symbol.toStringTag,x=!(0 in[,]),O=function(){return!1};if(typeof document=="object"){var j=document.all;p.call(j)===p.call(document.all)&&(O=function(M){if((x||!M)&&(M===void 0||typeof M=="object"))try{var $=p.call(M);return($==="[object HTMLAllCollection]"||$==="[object HTML document.all class]"||$==="[object HTMLCollection]"||$==="[object Object]")&&M("")==null}catch{}return!1})}m.exports=v?function(M){if(O(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;try{v(M,null,A)}catch($){if($!==a)return!1}return!y(M)&&f(M)}:function(M){if(O(M))return!0;if(!M||typeof M!="function"&&typeof M!="object")return!1;if(w)return f(M);if(y(M))return!1;var $=p.call(M);return!($!=="[object Function]"&&$!=="[object GeneratorFunction]"&&!/^\[object HTML/.test($))&&f(M)}},9612:m=>{m.exports=Object},9675:m=>{m.exports=TypeError},9698:m=>{var A=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");m.exports=function(c){return A.test(c)}},9709:(m,A,a)=>{var c=a(3034);m.exports=c},9724:(m,A,a)=>{var c=a(1907),v=a(9298),d=c({}.hasOwnProperty);m.exports=Object.hasOwn||function(f,p){return d(v(f),p)}},9748:(m,A,a)=>{a(1340);var c=a(2046);m.exports=c.Object.assign},9770:m=>{m.exports=function(a,c){for(var v=-1,d=a==null?0:a.length,y=0,f=[];++v<d;){var p=a[v];c(p,v,a)&&(f[y++]=p)}return f}},9817:m=>{m.exports=function(a){return this.__data__.has(a)}},9846:(m,A,a)=>{var c=a(798),v=a(8828),d=a(5951).String;m.exports=!!Object.getOwnPropertySymbols&&!v((function(){var y=Symbol("symbol detection");return!d(y)||!(Object(y)instanceof Symbol)||!Symbol.sham&&c&&c<41}))},9935:m=>{m.exports=function(){return!1}},9957:(m,A,a)=>{var c=Function.prototype.call,v=Object.prototype.hasOwnProperty,d=a(6743);m.exports=d.call(c,v)}},gu={};function qe(m){var A=gu[m];if(A!==void 0)return A.exports;var a=gu[m]={id:m,loaded:!1,exports:{}};return Qf[m].call(a.exports,a,a.exports,qe),a.loaded=!0,a.exports}qe.n=m=>{var A=m&&m.__esModule?()=>m.default:()=>m;return qe.d(A,{a:A}),A},qe.d=(m,A)=>{for(var a in A)qe.o(A,a)&&!qe.o(m,a)&&Object.defineProperty(m,a,{enumerable:!0,get:A[a]})},qe.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),qe.o=(m,A)=>Object.prototype.hasOwnProperty.call(m,A),qe.r=m=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(m,"__esModule",{value:!0})},qe.nmd=m=>(m.paths=[],m.children||(m.children=[]),m);var yu={};return(()=>{qe.d(yu,{default:()=>Vi});var m={};qe.r(m),qe.d(m,{TOGGLE_CONFIGS:()=>xi,UPDATE_CONFIGS:()=>_r,downloadConfig:()=>ja,getConfigByUrl:()=>os,loaded:()=>co,toggle:()=>ro,update:()=>Cn});var A={};qe.r(A),qe.d(A,{get:()=>$i});var a=qe(6540);class c extends a.Component{render(){const{getComponent:pe}=this.props,Ee=pe("Container"),Be=pe("Row"),je=pe("Col"),Ge=pe("Topbar",!0),bt=pe("BaseLayout",!0),mt=pe("onlineValidatorBadge",!0);return a.createElement(Ee,{className:"swagger-ui"},Ge?a.createElement(Ge,null):null,a.createElement(bt,null),a.createElement(Be,null,a.createElement(je,null,a.createElement(mt,null))))}}const v=c,d=()=>({components:{StandaloneLayout:v}});var y=qe(9404),f=qe.n(y);qe(4058),qe(5808),qe(104),qe(7309),qe(2426),qe(5288),qe(1882),qe(2205),qe(3209),qe(2802);const p=(function(){var pe={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if(typeof window>"u")return pe;try{pe=window;for(var Ee of["File","Blob","FormData"])Ee in window&&(pe[Ee]=window[Ee])}catch(Be){console.error(Be)}return pe})();f().Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf"),qe(8287).Buffer;const w=()=>{const V=new URLSearchParams(p.location.search);return Object.fromEntries(V)};class x extends a.Component{constructor(pe,Ee){super(pe,Ee),this.state={url:pe.specSelectors.url(),selectedIndex:0}}UNSAFE_componentWillReceiveProps(pe){this.setState({url:pe.specSelectors.url()})}onUrlChange=pe=>{let{target:{value:Ee}}=pe;this.setState({url:Ee})};flushAuthData(){const{persistAuthorization:pe}=this.props.getConfigs();pe||this.props.authActions.restoreAuthorization({authorized:{}})}loadSpec=pe=>{this.flushAuthData(),this.props.specActions.updateUrl(pe),this.props.specActions.download(pe)};onUrlSelect=pe=>{let Ee=pe.target.value||pe.target.href;this.loadSpec(Ee),this.setSelectedUrl(Ee),pe.preventDefault()};downloadUrl=pe=>{this.loadSpec(this.state.url),pe.preventDefault()};setSearch=pe=>{let Ee=w();Ee["urls.primaryName"]=pe.name;const Be=`${window.location.protocol}//${window.location.host}${window.location.pathname}`;window&&window.history&&window.history.pushState&&window.history.replaceState(null,"",`${Be}?${(je=>{const Ge=new URLSearchParams(Object.entries(je));return String(Ge)})(Ee)}`)};setSelectedUrl=pe=>{const Ee=this.props.getConfigs().urls||[];Ee&&Ee.length&&pe&&Ee.forEach(((Be,je)=>{Be.url===pe&&(this.setState({selectedIndex:je}),this.setSearch(Be))}))};componentDidMount(){const pe=this.props.getConfigs(),Ee=pe.urls||[];if(Ee&&Ee.length){var Be=this.state.selectedIndex;let je=w()["urls.primaryName"]||pe.urls.primaryName;je&&Ee.forEach(((Ge,bt)=>{Ge.name===je&&(this.setState({selectedIndex:bt}),Be=bt)})),this.loadSpec(Ee[Be].url)}}onFilterChange=pe=>{let{target:{value:Ee}}=pe;this.props.layoutActions.updateFilter(Ee)};render(){let{getComponent:pe,specSelectors:Ee,getConfigs:Be}=this.props;const je=pe("Button"),Ge=pe("Link"),bt=pe("Logo");let mt=Ee.loadingStatus()==="loading";const vt=["download-url-input"];Ee.loadingStatus()==="failed"&&vt.push("failed"),mt&&vt.push("loading");const{urls:Xt}=Be();let ar=[],cr=null;if(Xt){let hr=[];Xt.forEach(((ur,Kt)=>{hr.push(a.createElement("option",{key:Kt,value:ur.url},ur.name))})),ar.push(a.createElement("label",{className:"select-label",htmlFor:"select"},a.createElement("span",null,"Select a definition"),a.createElement("select",{id:"select",disabled:mt,onChange:this.onUrlSelect,value:Xt[this.state.selectedIndex].url},hr)))}else cr=this.downloadUrl,ar.push(a.createElement("input",{className:vt.join(" "),type:"text",onChange:this.onUrlChange,value:this.state.url,disabled:mt,id:"download-url-input"})),ar.push(a.createElement(je,{className:"download-url-button",onClick:this.downloadUrl},"Explore"));return a.createElement("div",{className:"topbar"},a.createElement("div",{className:"wrapper"},a.createElement("div",{className:"topbar-wrapper"},a.createElement(Ge,null,a.createElement(bt,null)),a.createElement("form",{className:"download-url-wrapper",onSubmit:cr},ar.map(((hr,ur)=>(0,a.cloneElement)(hr,{key:ur})))))))}}const O=x;var j,I,M,$,W,q,U,H,Q,se,le,Pe,he,ge,Ce,Je,ze,Ve,Qe,pt,Fe,g,it,Ye,ue,Te,et,ft,Ke,dt,ee,_e;function nt(){return nt=Object.assign?Object.assign.bind():function(V){for(var pe=1;pe<arguments.length;pe++){var Ee=arguments[pe];for(var Be in Ee)({}).hasOwnProperty.call(Ee,Be)&&(V[Be]=Ee[Be])}return V},nt.apply(null,arguments)}const st=V=>a.createElement("svg",nt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 407 116"},V),j||(j=a.createElement("defs",null,a.createElement("clipPath",{id:"logo_small_svg__clip-SW_TM-logo-on-dark"},a.createElement("path",{d:"M0 0h407v116H0z"})),a.createElement("style",null,".logo_small_svg__cls-2{fill:#fff}.logo_small_svg__cls-3{fill:#85ea2d}"))),a.createElement("g",{id:"logo_small_svg__SW_TM-logo-on-dark",style:{clipPath:"url(#logo_small_svg__clip-SW_TM-logo-on-dark)"}},a.createElement("g",{id:"logo_small_svg__SW_In-Product",transform:"translate(-.301)"},I||(I=a.createElement("path",{id:"logo_small_svg__Path_2936",d:"M359.15 70.674h-.7v-3.682h-1.26v-.6h3.219v.6h-1.259Z",className:"logo_small_svg__cls-2","data-name":"Path 2936"})),M||(M=a.createElement("path",{id:"logo_small_svg__Path_2937",d:"m363.217 70.674-1.242-3.574h-.023q.05.8.05 1.494v2.083h-.636v-4.286h.987l1.19 3.407h.017l1.225-3.407h.99v4.283h-.675v-2.118a30 30 0 0 1 .044-1.453h-.023l-1.286 3.571Z",className:"logo_small_svg__cls-2","data-name":"Path 2937"})),$||($=a.createElement("path",{id:"logo_small_svg__Path_2938",d:"M50.328 97.669a47.642 47.642 0 1 1 47.643-47.642 47.64 47.64 0 0 1-47.643 47.642",className:"logo_small_svg__cls-3","data-name":"Path 2938"})),W||(W=a.createElement("path",{id:"logo_small_svg__Path_2939",d:"M50.328 4.769A45.258 45.258 0 1 1 5.07 50.027 45.26 45.26 0 0 1 50.328 4.769m0-4.769a50.027 50.027 0 1 0 50.027 50.027A50.027 50.027 0 0 0 50.328 0",className:"logo_small_svg__cls-3","data-name":"Path 2939"})),a.createElement("path",{id:"logo_small_svg__Path_2940",d:"M31.8 33.854c-.154 1.712.058 3.482-.057 5.213a43 43 0 0 1-.693 5.156 9.53 9.53 0 0 1-4.1 5.829c4.079 2.654 4.54 6.771 4.81 10.946.135 2.25.077 4.52.308 6.752.173 1.731.846 2.174 2.636 2.231.73.02 1.48 0 2.327 0v5.349c-5.29.9-9.657-.6-10.734-5.079a31 31 0 0 1-.654-5c-.117-1.789.076-3.578-.058-5.367-.386-4.906-1.02-6.56-5.713-6.791v-6.1a9 9 0 0 1 1.028-.173c2.577-.135 3.674-.924 4.231-3.463a29 29 0 0 0 .481-4.329 82 82 0 0 1 .6-8.406c.673-3.982 3.136-5.906 7.234-6.137 1.154-.057 2.327 0 3.655 0v5.464c-.558.038-1.039.115-1.539.115-3.336-.115-3.51 1.02-3.762 3.79m6.406 12.658h-.077a3.515 3.515 0 1 0-.346 7.021h.231a3.46 3.46 0 0 0 3.655-3.251v-.192a3.523 3.523 0 0 0-3.461-3.578Zm12.062 0a3.373 3.373 0 0 0-3.482 3.251 2 2 0 0 0 .02.327 3.3 3.3 0 0 0 3.578 3.443 3.263 3.263 0 0 0 3.443-3.558 3.308 3.308 0 0 0-3.557-3.463Zm12.351 0a3.59 3.59 0 0 0-3.655 3.482 3.53 3.53 0 0 0 3.536 3.539h.039c1.769.309 3.559-1.4 3.674-3.462a3.57 3.57 0 0 0-3.6-3.559Zm16.948.288c-2.232-.1-3.348-.846-3.9-2.962a21.5 21.5 0 0 1-.635-4.136c-.154-2.578-.135-5.175-.308-7.753-.4-6.117-4.828-8.252-11.254-7.195v5.31c1.019 0 1.808 0 2.6.019 1.366.019 2.4.539 2.539 2.059.135 1.385.135 2.789.27 4.193.269 2.79.422 5.618.9 8.369a8.72 8.72 0 0 0 3.921 5.348c-3.4 2.289-4.406 5.559-4.578 9.234-.1 2.52-.154 5.059-.289 7.6-.115 2.308-.923 3.058-3.251 3.116-.654.019-1.289.077-2.019.115v5.445c1.365 0 2.616.077 3.866 0 3.886-.231 6.233-2.117 7-5.887A49 49 0 0 0 75 63.4c.135-1.923.116-3.866.308-5.771.289-2.982 1.655-4.213 4.636-4.4a4 4 0 0 0 .828-.192v-6.1c-.5-.058-.843-.115-1.208-.135Z","data-name":"Path 2940",style:{fill:"#173647"}}),q||(q=a.createElement("path",{id:"logo_small_svg__Path_2941",d:"M152.273 58.122a11.23 11.23 0 0 1-4.384 9.424q-4.383 3.382-11.9 3.382-8.14 0-12.524-2.1V63.7a33 33 0 0 0 6.137 1.879 32.3 32.3 0 0 0 6.575.689q5.322 0 8.015-2.02a6.63 6.63 0 0 0 2.692-5.62 7.2 7.2 0 0 0-.954-3.9 8.9 8.9 0 0 0-3.194-2.8 44.6 44.6 0 0 0-6.81-2.911q-6.387-2.286-9.126-5.417a11.96 11.96 0 0 1-2.74-8.172A10.16 10.16 0 0 1 128.039 27q3.977-3.131 10.52-3.131a31 31 0 0 1 12.555 2.5L149.455 31a28.4 28.4 0 0 0-11.021-2.38 10.67 10.67 0 0 0-6.606 1.816 5.98 5.98 0 0 0-2.38 5.041 7.7 7.7 0 0 0 .877 3.9 8.24 8.24 0 0 0 2.959 2.786 36.7 36.7 0 0 0 6.371 2.8q7.2 2.566 9.91 5.51a10.84 10.84 0 0 1 2.708 7.649",className:"logo_small_svg__cls-2","data-name":"Path 2941"})),U||(U=a.createElement("path",{id:"logo_small_svg__Path_2942",d:"M185.288 70.3 179 50.17q-.594-1.848-2.222-8.391h-.251q-1.252 5.479-2.192 8.453L167.849 70.3h-6.011l-9.361-34.315h5.447q3.318 12.931 5.057 19.693a80 80 0 0 1 1.988 9.111h.25q.345-1.785 1.112-4.618t1.33-4.493l6.294-19.693h5.635l6.137 19.693a66 66 0 0 1 2.379 9.048h.251a33 33 0 0 1 .673-3.475q.548-2.347 6.528-25.266h5.385L191.456 70.3Z",className:"logo_small_svg__cls-2","data-name":"Path 2942"})),H||(H=a.createElement("path",{id:"logo_small_svg__Path_2943",d:"m225.115 70.3-1.033-4.885h-.25a14.45 14.45 0 0 1-5.119 4.368 15.6 15.6 0 0 1-6.372 1.143q-5.1 0-8-2.63t-2.9-7.483q0-10.4 16.626-10.9l5.823-.188V47.6q0-4.038-1.738-5.964t-5.552-1.923a22.6 22.6 0 0 0-9.706 2.63l-1.6-3.977a24.4 24.4 0 0 1 5.557-2.16 24 24 0 0 1 6.058-.783q6.136 0 9.1 2.724t2.959 8.735V70.3Zm-11.741-3.663a10.55 10.55 0 0 0 7.626-2.66 9.85 9.85 0 0 0 2.771-7.451v-3.1l-5.2.219q-6.2.219-8.939 1.926a5.8 5.8 0 0 0-2.74 5.306 5.35 5.35 0 0 0 1.707 4.29 7.08 7.08 0 0 0 4.775 1.472Z",className:"logo_small_svg__cls-2","data-name":"Path 2943"})),Q||(Q=a.createElement("path",{id:"logo_small_svg__Path_2944",d:"M264.6 35.987v3.287l-6.356.752a11.16 11.16 0 0 1 2.255 6.856 10.15 10.15 0 0 1-3.444 8.047q-3.444 3-9.456 3a15.7 15.7 0 0 1-2.88-.25Q241.4 59.438 241.4 62.1a2.24 2.24 0 0 0 1.159 2.082 8.46 8.46 0 0 0 3.976.673h6.074q5.573 0 8.563 2.348a8.16 8.16 0 0 1 2.99 6.825 9.74 9.74 0 0 1-4.571 8.688q-4.572 2.989-13.338 2.99-6.732 0-10.379-2.5a8.09 8.09 0 0 1-3.647-7.076 7.95 7.95 0 0 1 2-5.417 10.2 10.2 0 0 1 5.636-3.1 5.43 5.43 0 0 1-2.207-1.847 4.9 4.9 0 0 1-.893-2.912 5.53 5.53 0 0 1 1-3.288 10.5 10.5 0 0 1 3.162-2.723 9.28 9.28 0 0 1-4.336-3.726 10.95 10.95 0 0 1-1.675-6.012q0-5.634 3.382-8.688t9.58-3.052a17.4 17.4 0 0 1 4.853.626Zm-27.367 40.075a4.66 4.66 0 0 0 2.348 4.227 12.97 12.97 0 0 0 6.732 1.44q6.543 0 9.69-1.956a5.99 5.99 0 0 0 3.147-5.307q0-2.787-1.723-3.867t-6.481-1.08h-6.23a8.2 8.2 0 0 0-5.51 1.69 6.04 6.04 0 0 0-1.973 4.853m2.818-29.086a6.98 6.98 0 0 0 2.035 5.448 8.12 8.12 0 0 0 5.667 1.847q7.608 0 7.608-7.389 0-7.733-7.7-7.733a7.63 7.63 0 0 0-5.635 1.972q-1.976 1.973-1.975 5.855",className:"logo_small_svg__cls-2","data-name":"Path 2944"})),se||(se=a.createElement("path",{id:"logo_small_svg__Path_2945",d:"M299.136 35.987v3.287l-6.356.752a11.17 11.17 0 0 1 2.254 6.856 10.15 10.15 0 0 1-3.444 8.047q-3.444 3-9.455 3a15.7 15.7 0 0 1-2.88-.25q-3.32 1.754-3.319 4.415a2.24 2.24 0 0 0 1.158 2.082 8.46 8.46 0 0 0 3.976.673h6.074q5.574 0 8.563 2.348a8.16 8.16 0 0 1 2.99 6.825 9.74 9.74 0 0 1-4.571 8.688q-4.57 2.989-13.337 2.99-6.732 0-10.379-2.5a8.09 8.09 0 0 1-3.648-7.076 7.95 7.95 0 0 1 2-5.417 10.2 10.2 0 0 1 5.636-3.1 5.43 5.43 0 0 1-2.208-1.847 4.9 4.9 0 0 1-.892-2.912 5.53 5.53 0 0 1 1-3.288 10.5 10.5 0 0 1 3.162-2.723 9.27 9.27 0 0 1-4.336-3.726 10.95 10.95 0 0 1-1.675-6.012q0-5.634 3.381-8.688t9.581-3.052a17.4 17.4 0 0 1 4.853.626Zm-27.364 40.075a4.66 4.66 0 0 0 2.348 4.227 12.97 12.97 0 0 0 6.731 1.44q6.544 0 9.691-1.956a5.99 5.99 0 0 0 3.146-5.307q0-2.787-1.722-3.867t-6.481-1.08h-6.23a8.2 8.2 0 0 0-5.511 1.69 6.04 6.04 0 0 0-1.972 4.853m2.818-29.086a6.98 6.98 0 0 0 2.035 5.448 8.12 8.12 0 0 0 5.667 1.847q7.607 0 7.608-7.389 0-7.733-7.7-7.733a7.63 7.63 0 0 0-5.635 1.972q-1.975 1.973-1.975 5.855",className:"logo_small_svg__cls-2","data-name":"Path 2945"})),le||(le=a.createElement("path",{id:"logo_small_svg__Path_2946",d:"M316.778 70.928q-7.608 0-12.007-4.634t-4.4-12.868q0-8.3 4.086-13.181a13.57 13.57 0 0 1 10.974-4.884 12.94 12.94 0 0 1 10.207 4.239q3.762 4.247 3.762 11.2v3.287h-23.643q.156 6.044 3.053 9.174t8.156 3.131a27.6 27.6 0 0 0 10.958-2.317v4.634a27.5 27.5 0 0 1-5.213 1.706 29.3 29.3 0 0 1-5.933.513m-1.409-31.215a8.49 8.49 0 0 0-6.591 2.692 12.4 12.4 0 0 0-2.9 7.452h17.94q0-4.916-2.191-7.53a7.71 7.71 0 0 0-6.258-2.614",className:"logo_small_svg__cls-2","data-name":"Path 2946"})),Pe||(Pe=a.createElement("path",{id:"logo_small_svg__Path_2947",d:"M350.9 35.361a20.4 20.4 0 0 1 4.1.375l-.721 4.822a17.7 17.7 0 0 0-3.757-.47 9.14 9.14 0 0 0-7.122 3.382 12.33 12.33 0 0 0-2.959 8.422V70.3h-5.2V35.987h4.29l.6 6.356h.25a15.1 15.1 0 0 1 4.6-5.166 10.36 10.36 0 0 1 5.919-1.816",className:"logo_small_svg__cls-2","data-name":"Path 2947"})),he||(he=a.createElement("path",{id:"logo_small_svg__Path_2948",d:"M255.857 96.638s-3.43-.391-4.85-.391c-2.058 0-3.111.735-3.111 2.18 0 1.568.882 1.935 3.748 2.719 3.527.98 4.8 1.911 4.8 4.777 0 3.675-2.3 5.267-5.61 5.267a36 36 0 0 1-5.487-.662l.27-2.18s3.306.441 5.046.441c2.082 0 3.037-.931 3.037-2.7 0-1.421-.759-1.91-3.331-2.523-3.626-.93-5.193-2.033-5.193-4.948 0-3.381 2.229-4.776 5.585-4.776a37 37 0 0 1 5.315.587Z",className:"logo_small_svg__cls-2","data-name":"Path 2948"})),ge||(ge=a.createElement("path",{id:"logo_small_svg__Path_2949",d:"M262.967 94.14h4.733l3.748 13.106L275.2 94.14h4.752v16.78H277.2v-14.5h-.145l-4.191 13.816h-2.842l-4.191-13.816h-.145v14.5h-2.719Z",className:"logo_small_svg__cls-2","data-name":"Path 2949"})),Ce||(Ce=a.createElement("path",{id:"logo_small_svg__Path_2950",d:"M322.057 94.14H334.3v2.425h-4.728v14.355h-2.743V96.565h-4.777Z",className:"logo_small_svg__cls-2","data-name":"Path 2950"})),Je||(Je=a.createElement("path",{id:"logo_small_svg__Path_2951",d:"M346.137 94.14c3.332 0 5.12 1.249 5.12 4.361 0 2.033-.637 3.037-1.984 3.772 1.445.563 2.4 1.592 2.4 3.9 0 3.43-2.081 4.752-5.339 4.752h-6.566V94.14Zm-3.65 2.352v4.8h3.6c1.666 0 2.4-.832 2.4-2.474 0-1.617-.833-2.327-2.5-2.327Zm0 7.1v4.973h3.7c1.689 0 2.694-.539 2.694-2.548 0-1.911-1.421-2.425-2.744-2.425Z",className:"logo_small_svg__cls-2","data-name":"Path 2951"})),ze||(ze=a.createElement("path",{id:"logo_small_svg__Path_2952",d:"M358.414 94.14H369v2.377h-7.864v4.751h6.394v2.332h-6.394v4.924H369v2.4h-10.586Z",className:"logo_small_svg__cls-2","data-name":"Path 2952"})),Ve||(Ve=a.createElement("path",{id:"logo_small_svg__Path_2953",d:"M378.747 94.14h5.414l4.164 16.78h-2.744l-1.239-4.92h-5.777l-1.239 4.923h-2.719Zm.361 9.456h4.708l-1.737-7.178h-1.225Z",className:"logo_small_svg__cls-2","data-name":"Path 2953"})),Qe||(Qe=a.createElement("path",{id:"logo_small_svg__Path_2954",d:"M397.1 105.947v4.973h-2.719V94.14h6.37c3.7 0 5.683 2.12 5.683 5.843 0 2.376-.956 4.519-2.744 5.352l2.769 5.585h-2.989l-2.426-4.973Zm3.651-9.455H397.1v7.1h3.7c2.057 0 2.841-1.85 2.841-3.589 0-1.9-.934-3.511-2.894-3.511Z",className:"logo_small_svg__cls-2","data-name":"Path 2954"})),pt||(pt=a.createElement("path",{id:"logo_small_svg__Path_2955",d:"M290.013 94.14h5.413l4.164 16.78h-2.743l-1.239-4.92h-5.777l-1.239 4.923h-2.719Zm.361 9.456h4.707l-1.737-7.178h-1.225Z",className:"logo_small_svg__cls-2","data-name":"Path 2955"})),Fe||(Fe=a.createElement("path",{id:"logo_small_svg__Path_2956",d:"M308.362 105.947v4.973h-2.719V94.14h6.369c3.7 0 5.683 2.12 5.683 5.843 0 2.376-.955 4.519-2.743 5.352l2.768 5.585h-2.989l-2.425-4.973Zm3.65-9.455h-3.65v7.1h3.7c2.058 0 2.841-1.85 2.841-3.589-.003-1.903-.931-3.511-2.891-3.511",className:"logo_small_svg__cls-2","data-name":"Path 2956"})),g||(g=a.createElement("path",{id:"logo_small_svg__Path_2957",d:"M130.606 107.643a3.02 3.02 0 0 1-1.18 2.537 5.1 5.1 0 0 1-3.2.91 8 8 0 0 1-3.371-.564v-1.383a9 9 0 0 0 1.652.506 8.7 8.7 0 0 0 1.77.186 3.57 3.57 0 0 0 2.157-.544 1.78 1.78 0 0 0 .725-1.512 1.95 1.95 0 0 0-.257-1.05 2.4 2.4 0 0 0-.86-.754 12 12 0 0 0-1.833-.784 5.84 5.84 0 0 1-2.456-1.458 3.2 3.2 0 0 1-.738-2.2 2.74 2.74 0 0 1 1.071-2.267 4.44 4.44 0 0 1 2.831-.843 8.3 8.3 0 0 1 3.38.675l-.447 1.247a7.6 7.6 0 0 0-2.966-.641 2.88 2.88 0 0 0-1.779.489 1.61 1.61 0 0 0-.64 1.357 2.1 2.1 0 0 0 .236 1.049 2.2 2.2 0 0 0 .8.75 10 10 0 0 0 1.715.754 6.8 6.8 0 0 1 2.667 1.483 2.92 2.92 0 0 1 .723 2.057",className:"logo_small_svg__cls-2","data-name":"Path 2957"})),it||(it=a.createElement("path",{id:"logo_small_svg__Path_2958",d:"M134.447 101.686v5.991a2.4 2.4 0 0 0 .515 1.686 2.1 2.1 0 0 0 1.609.556 2.63 2.63 0 0 0 2.12-.792 4 4 0 0 0 .67-2.587v-4.854h1.4v9.236H139.6l-.2-1.239h-.075a2.8 2.8 0 0 1-1.193 1.045 4 4 0 0 1-1.74.362 3.53 3.53 0 0 1-2.524-.8 3.4 3.4 0 0 1-.839-2.562v-6.042Z",className:"logo_small_svg__cls-2","data-name":"Path 2958"})),Ye||(Ye=a.createElement("path",{id:"logo_small_svg__Path_2959",d:"M148.206 111.09a4 4 0 0 1-1.647-.333 3.1 3.1 0 0 1-1.252-1.023h-.1a12 12 0 0 1 .1 1.533v3.8h-1.4v-13.381h1.137l.194 1.264h.067a3.26 3.26 0 0 1 1.256-1.1 3.8 3.8 0 0 1 1.643-.337 3.41 3.41 0 0 1 2.836 1.256 6.68 6.68 0 0 1-.017 7.057 3.42 3.42 0 0 1-2.817 1.264m-.2-8.385a2.48 2.48 0 0 0-2.048.784 4.04 4.04 0 0 0-.649 2.494v.312a4.63 4.63 0 0 0 .649 2.785 2.47 2.47 0 0 0 2.082.839 2.16 2.16 0 0 0 1.875-.969 4.6 4.6 0 0 0 .678-2.671 4.43 4.43 0 0 0-.678-2.651 2.23 2.23 0 0 0-1.915-.923Z",className:"logo_small_svg__cls-2","data-name":"Path 2959"})),ue||(ue=a.createElement("path",{id:"logo_small_svg__Path_2960",d:"M159.039 111.09a4 4 0 0 1-1.647-.333 3.1 3.1 0 0 1-1.252-1.023h-.1a12 12 0 0 1 .1 1.533v3.8h-1.4v-13.381h1.137l.194 1.264h.067a3.26 3.26 0 0 1 1.256-1.1 3.8 3.8 0 0 1 1.643-.337 3.41 3.41 0 0 1 2.836 1.256 6.68 6.68 0 0 1-.017 7.057 3.42 3.42 0 0 1-2.817 1.264m-.2-8.385a2.48 2.48 0 0 0-2.048.784 4.04 4.04 0 0 0-.649 2.494v.312a4.63 4.63 0 0 0 .649 2.785 2.47 2.47 0 0 0 2.082.839 2.16 2.16 0 0 0 1.875-.969 4.6 4.6 0 0 0 .678-2.671 4.43 4.43 0 0 0-.678-2.651 2.23 2.23 0 0 0-1.911-.923Z",className:"logo_small_svg__cls-2","data-name":"Path 2960"})),Te||(Te=a.createElement("path",{id:"logo_small_svg__Path_2961",d:"M173.612 106.3a5.1 5.1 0 0 1-1.137 3.527 4 4 0 0 1-3.143 1.268 4.17 4.17 0 0 1-2.2-.581 3.84 3.84 0 0 1-1.483-1.669 5.8 5.8 0 0 1-.522-2.545 5.1 5.1 0 0 1 1.129-3.518 4 4 0 0 1 3.135-1.26 3.9 3.9 0 0 1 3.08 1.29 5.07 5.07 0 0 1 1.141 3.488m-7.036 0a4.4 4.4 0 0 0 .708 2.7 2.81 2.81 0 0 0 4.167 0 4.37 4.37 0 0 0 .712-2.7 4.3 4.3 0 0 0-.712-2.675 2.5 2.5 0 0 0-2.1-.915 2.46 2.46 0 0 0-2.072.9 4.33 4.33 0 0 0-.7 2.69Z",className:"logo_small_svg__cls-2","data-name":"Path 2961"})),et||(et=a.createElement("path",{id:"logo_small_svg__Path_2962",d:"M180.525 101.517a5.5 5.5 0 0 1 1.1.1l-.194 1.3a4.8 4.8 0 0 0-1.011-.127 2.46 2.46 0 0 0-1.917.911 3.32 3.32 0 0 0-.8 2.267v4.955h-1.4v-9.236h1.154l.16 1.71h.068a4.05 4.05 0 0 1 1.238-1.39 2.8 2.8 0 0 1 1.6-.49Z",className:"logo_small_svg__cls-2","data-name":"Path 2962"})),ft||(ft=a.createElement("path",{id:"logo_small_svg__Path_2963",d:"M187.363 109.936a4.5 4.5 0 0 0 .716-.055 4 4 0 0 0 .548-.114v1.07a2.5 2.5 0 0 1-.67.181 5 5 0 0 1-.8.072q-2.68 0-2.68-2.823v-5.494h-1.323v-.673l1.323-.582.59-1.972h.809v2.141h2.68v1.087h-2.68v5.435a1.87 1.87 0 0 0 .4 1.281 1.38 1.38 0 0 0 1.087.446",className:"logo_small_svg__cls-2","data-name":"Path 2963"})),Ke||(Ke=a.createElement("path",{id:"logo_small_svg__Path_2964",d:"M194.538 111.09a4.24 4.24 0 0 1-3.231-1.247 4.82 4.82 0 0 1-1.184-3.463 5.36 5.36 0 0 1 1.1-3.548 3.65 3.65 0 0 1 2.954-1.315 3.48 3.48 0 0 1 2.747 1.142 4.38 4.38 0 0 1 1.011 3.013v.885h-6.362a3.66 3.66 0 0 0 .822 2.469 2.84 2.84 0 0 0 2.2.843 7.4 7.4 0 0 0 2.949-.624v1.247a7.4 7.4 0 0 1-1.4.459 8 8 0 0 1-1.6.139Zm-.379-8.4a2.29 2.29 0 0 0-1.774.725 3.34 3.34 0 0 0-.779 2.006h4.828a3.07 3.07 0 0 0-.59-2.027 2.08 2.08 0 0 0-1.685-.706Z",className:"logo_small_svg__cls-2","data-name":"Path 2964"})),dt||(dt=a.createElement("path",{id:"logo_small_svg__Path_2965",d:"M206.951 109.683h-.076a3.29 3.29 0 0 1-2.9 1.407 3.43 3.43 0 0 1-2.819-1.239 5.45 5.45 0 0 1-1.006-3.522 5.54 5.54 0 0 1 1.011-3.548 3.4 3.4 0 0 1 2.814-1.264 3.36 3.36 0 0 1 2.883 1.365h.109l-.059-.665-.034-.649v-3.759h1.4v13.113h-1.138Zm-2.8.236a2.55 2.55 0 0 0 2.078-.779 3.95 3.95 0 0 0 .644-2.516v-.3a4.64 4.64 0 0 0-.653-2.8 2.48 2.48 0 0 0-2.086-.839 2.14 2.14 0 0 0-1.883.957 4.76 4.76 0 0 0-.653 2.7 4.55 4.55 0 0 0 .649 2.671 2.2 2.2 0 0 0 1.906.906Z",className:"logo_small_svg__cls-2","data-name":"Path 2965"})),ee||(ee=a.createElement("path",{id:"logo_small_svg__Path_2966",d:"M220.712 101.534a3.44 3.44 0 0 1 2.827 1.243 6.65 6.65 0 0 1-.009 7.053 3.42 3.42 0 0 1-2.818 1.26 4 4 0 0 1-1.648-.333 3.1 3.1 0 0 1-1.251-1.023h-.1l-.295 1.188h-1V97.809h1.4V101q0 1.069-.068 1.921h.068a3.32 3.32 0 0 1 2.894-1.387m-.2 1.171a2.44 2.44 0 0 0-2.064.822 6.34 6.34 0 0 0 .017 5.553 2.46 2.46 0 0 0 2.081.839 2.16 2.16 0 0 0 1.922-.94 4.83 4.83 0 0 0 .632-2.7 4.64 4.64 0 0 0-.632-2.689 2.24 2.24 0 0 0-1.959-.885Z",className:"logo_small_svg__cls-2","data-name":"Path 2966"})),_e||(_e=a.createElement("path",{id:"logo_small_svg__Path_2967",d:"M225.758 101.686h1.5l2.023 5.267a20 20 0 0 1 .826 2.6h.067q.109-.431.459-1.471t2.288-6.4h1.5l-3.969 10.518a5.25 5.25 0 0 1-1.378 2.212 2.93 2.93 0 0 1-1.934.653 5.7 5.7 0 0 1-1.264-.143V113.8a5 5 0 0 0 1.037.1 2.136 2.136 0 0 0 2.056-1.618l.514-1.314Z",className:"logo_small_svg__cls-2","data-name":"Path 2967"}))))),Ut=()=>a.createElement(st,{height:"40"}),qt=()=>({components:{Topbar:O,Logo:Ut}});function lt(V){return V==null}var xt={isNothing:lt,isObject:function(pe){return typeof pe=="object"&&pe!==null},toArray:function(pe){return Array.isArray(pe)?pe:lt(pe)?[]:[pe]},repeat:function(pe,Ee){var Be,je="";for(Be=0;Be<Ee;Be+=1)je+=pe;return je},isNegativeZero:function(pe){return pe===0&&Number.NEGATIVE_INFINITY===1/pe},extend:function(pe,Ee){var Be,je,Ge,bt;if(Ee)for(Be=0,je=(bt=Object.keys(Ee)).length;Be<je;Be+=1)pe[Ge=bt[Be]]=Ee[Ge];return pe}};function Mt(V,pe){var Ee="",Be=V.reason||"(unknown reason)";return V.mark?(V.mark.name&&(Ee+='in "'+V.mark.name+'" '),Ee+="("+(V.mark.line+1)+":"+(V.mark.column+1)+")",!pe&&V.mark.snippet&&(Ee+=`
|
||
|
||
`+V.mark.snippet),Be+" "+Ee):Be}function _t(V,pe){Error.call(this),this.name="YAMLException",this.reason=V,this.mark=pe,this.message=Mt(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}_t.prototype=Object.create(Error.prototype),_t.prototype.constructor=_t,_t.prototype.toString=function(pe){return this.name+": "+Mt(this,pe)};var ht=_t;function Lt(V,pe,Ee,Be,je){var Ge="",bt="",mt=Math.floor(je/2)-1;return Be-pe>mt&&(pe=Be-mt+(Ge=" ... ").length),Ee-Be>mt&&(Ee=Be+mt-(bt=" ...").length),{str:Ge+V.slice(pe,Ee).replace(/\t/g,"→")+bt,pos:Be-pe+Ge.length}}function Y(V,pe){return xt.repeat(" ",pe-V.length)+V}var C=function(pe,Ee){if(Ee=Object.create(Ee||null),!pe.buffer)return null;Ee.maxLength||(Ee.maxLength=79),typeof Ee.indent!="number"&&(Ee.indent=1),typeof Ee.linesBefore!="number"&&(Ee.linesBefore=3),typeof Ee.linesAfter!="number"&&(Ee.linesAfter=2);for(var Be,je=/\r?\n|\r|\0/g,Ge=[0],bt=[],mt=-1;Be=je.exec(pe.buffer);)bt.push(Be.index),Ge.push(Be.index+Be[0].length),pe.position<=Be.index&&mt<0&&(mt=Ge.length-2);mt<0&&(mt=Ge.length-1);var vt,Xt,ar="",cr=Math.min(pe.line+Ee.linesAfter,bt.length).toString().length,hr=Ee.maxLength-(Ee.indent+cr+3);for(vt=1;vt<=Ee.linesBefore&&!(mt-vt<0);vt++)Xt=Lt(pe.buffer,Ge[mt-vt],bt[mt-vt],pe.position-(Ge[mt]-Ge[mt-vt]),hr),ar=xt.repeat(" ",Ee.indent)+Y((pe.line-vt+1).toString(),cr)+" | "+Xt.str+`
|
||
`+ar;for(Xt=Lt(pe.buffer,Ge[mt],bt[mt],pe.position,hr),ar+=xt.repeat(" ",Ee.indent)+Y((pe.line+1).toString(),cr)+" | "+Xt.str+`
|
||
`,ar+=xt.repeat("-",Ee.indent+cr+3+Xt.pos)+`^
|
||
`,vt=1;vt<=Ee.linesAfter&&!(mt+vt>=bt.length);vt++)Xt=Lt(pe.buffer,Ge[mt+vt],bt[mt+vt],pe.position-(Ge[mt]-Ge[mt+vt]),hr),ar+=xt.repeat(" ",Ee.indent)+Y((pe.line+vt+1).toString(),cr)+" | "+Xt.str+`
|
||
`;return ar.replace(/\n$/,"")},N=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],J=["scalar","sequence","mapping"],ne=function(pe,Ee){if(Ee=Ee||{},Object.keys(Ee).forEach((function(Be){if(N.indexOf(Be)===-1)throw new ht('Unknown option "'+Be+'" is met in definition of "'+pe+'" YAML type.')})),this.options=Ee,this.tag=pe,this.kind=Ee.kind||null,this.resolve=Ee.resolve||function(){return!0},this.construct=Ee.construct||function(Be){return Be},this.instanceOf=Ee.instanceOf||null,this.predicate=Ee.predicate||null,this.represent=Ee.represent||null,this.representName=Ee.representName||null,this.defaultStyle=Ee.defaultStyle||null,this.multi=Ee.multi||!1,this.styleAliases=(function(je){var Ge={};return je!==null&&Object.keys(je).forEach((function(bt){je[bt].forEach((function(mt){Ge[String(mt)]=bt}))})),Ge})(Ee.styleAliases||null),J.indexOf(this.kind)===-1)throw new ht('Unknown kind "'+this.kind+'" is specified for "'+pe+'" YAML type.')};function ce(V,pe){var Ee=[];return V[pe].forEach((function(Be){var je=Ee.length;Ee.forEach((function(Ge,bt){Ge.tag===Be.tag&&Ge.kind===Be.kind&&Ge.multi===Be.multi&&(je=bt)})),Ee[je]=Be})),Ee}function be(V){return this.extend(V)}be.prototype.extend=function(pe){var Ee=[],Be=[];if(pe instanceof ne)Be.push(pe);else if(Array.isArray(pe))Be=Be.concat(pe);else{if(!pe||!Array.isArray(pe.implicit)&&!Array.isArray(pe.explicit))throw new ht("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");pe.implicit&&(Ee=Ee.concat(pe.implicit)),pe.explicit&&(Be=Be.concat(pe.explicit))}Ee.forEach((function(Ge){if(!(Ge instanceof ne))throw new ht("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(Ge.loadKind&&Ge.loadKind!=="scalar")throw new ht("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(Ge.multi)throw new ht("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),Be.forEach((function(Ge){if(!(Ge instanceof ne))throw new ht("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var je=Object.create(be.prototype);return je.implicit=(this.implicit||[]).concat(Ee),je.explicit=(this.explicit||[]).concat(Be),je.compiledImplicit=ce(je,"implicit"),je.compiledExplicit=ce(je,"explicit"),je.compiledTypeMap=(function(){var bt,mt,vt={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function Xt(ar){ar.multi?(vt.multi[ar.kind].push(ar),vt.multi.fallback.push(ar)):vt[ar.kind][ar.tag]=vt.fallback[ar.tag]=ar}for(bt=0,mt=arguments.length;bt<mt;bt+=1)arguments[bt].forEach(Xt);return vt})(je.compiledImplicit,je.compiledExplicit),je};var Ze=be,St=new ne("tag:yaml.org,2002:str",{kind:"scalar",construct:function(V){return V!==null?V:""}}),ut=new ne("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(V){return V!==null?V:[]}}),yt=new ne("tag:yaml.org,2002:map",{kind:"mapping",construct:function(V){return V!==null?V:{}}}),kt=new Ze({explicit:[St,ut,yt]}),Fr=new ne("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(pe){if(pe===null)return!0;var Ee=pe.length;return Ee===1&&pe==="~"||Ee===4&&(pe==="null"||pe==="Null"||pe==="NULL")},construct:function(){return null},predicate:function(pe){return pe===null},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),Ur=new ne("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(pe){if(pe===null)return!1;var Ee=pe.length;return Ee===4&&(pe==="true"||pe==="True"||pe==="TRUE")||Ee===5&&(pe==="false"||pe==="False"||pe==="FALSE")},construct:function(pe){return pe==="true"||pe==="True"||pe==="TRUE"},predicate:function(pe){return Object.prototype.toString.call(pe)==="[object Boolean]"},represent:{lowercase:function(V){return V?"true":"false"},uppercase:function(V){return V?"TRUE":"FALSE"},camelcase:function(V){return V?"True":"False"}},defaultStyle:"lowercase"});function bn(V){return 48<=V&&V<=55}function Xr(V){return 48<=V&&V<=57}var kn=new ne("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(pe){if(pe===null)return!1;var Ee,Be,je=pe.length,Ge=0,bt=!1;if(!je)return!1;if((Ee=pe[Ge])!=="-"&&Ee!=="+"||(Ee=pe[++Ge]),Ee==="0"){if(Ge+1===je)return!0;if((Ee=pe[++Ge])==="b"){for(Ge++;Ge<je;Ge++)if((Ee=pe[Ge])!=="_"){if(Ee!=="0"&&Ee!=="1")return!1;bt=!0}return bt&&Ee!=="_"}if(Ee==="x"){for(Ge++;Ge<je;Ge++)if((Ee=pe[Ge])!=="_"){if(!(48<=(Be=pe.charCodeAt(Ge))&&Be<=57||65<=Be&&Be<=70||97<=Be&&Be<=102))return!1;bt=!0}return bt&&Ee!=="_"}if(Ee==="o"){for(Ge++;Ge<je;Ge++)if((Ee=pe[Ge])!=="_"){if(!bn(pe.charCodeAt(Ge)))return!1;bt=!0}return bt&&Ee!=="_"}}if(Ee==="_")return!1;for(;Ge<je;Ge++)if((Ee=pe[Ge])!=="_"){if(!Xr(pe.charCodeAt(Ge)))return!1;bt=!0}return!(!bt||Ee==="_")},construct:function(pe){var Ee,Be=pe,je=1;if(Be.indexOf("_")!==-1&&(Be=Be.replace(/_/g,"")),(Ee=Be[0])!=="-"&&Ee!=="+"||(Ee==="-"&&(je=-1),Ee=(Be=Be.slice(1))[0]),Be==="0")return 0;if(Ee==="0"){if(Be[1]==="b")return je*parseInt(Be.slice(2),2);if(Be[1]==="x")return je*parseInt(Be.slice(2),16);if(Be[1]==="o")return je*parseInt(Be.slice(2),8)}return je*parseInt(Be,10)},predicate:function(pe){return Object.prototype.toString.call(pe)==="[object Number]"&&pe%1==0&&!xt.isNegativeZero(pe)},represent:{binary:function(V){return V>=0?"0b"+V.toString(2):"-0b"+V.toString(2).slice(1)},octal:function(V){return V>=0?"0o"+V.toString(8):"-0o"+V.toString(8).slice(1)},decimal:function(V){return V.toString(10)},hexadecimal:function(V){return V>=0?"0x"+V.toString(16).toUpperCase():"-0x"+V.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),_a=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),xr=/^[-+]?[0-9]+e/,mn=new ne("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(pe){return pe!==null&&!(!_a.test(pe)||pe[pe.length-1]==="_")},construct:function(pe){var Ee,Be;return Be=(Ee=pe.replace(/_/g,"").toLowerCase())[0]==="-"?-1:1,"+-".indexOf(Ee[0])>=0&&(Ee=Ee.slice(1)),Ee===".inf"?Be===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:Ee===".nan"?NaN:Be*parseFloat(Ee,10)},predicate:function(pe){return Object.prototype.toString.call(pe)==="[object Number]"&&(pe%1!=0||xt.isNegativeZero(pe))},represent:function(pe,Ee){var Be;if(isNaN(pe))switch(Ee){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===pe)switch(Ee){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===pe)switch(Ee){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(xt.isNegativeZero(pe))return"-0.0";return Be=pe.toString(10),xr.test(Be)?Be.replace("e",".e"):Be},defaultStyle:"lowercase"}),Vr=kt.extend({implicit:[Fr,Ur,kn,mn]}),Oa=Vr,Qr=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),_n=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]))?))?$"),Zn=new ne("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(pe){return pe!==null&&(Qr.exec(pe)!==null||_n.exec(pe)!==null)},construct:function(pe){var Ee,Be,je,Ge,bt,mt,vt,Xt,ar=0,cr=null;if((Ee=Qr.exec(pe))===null&&(Ee=_n.exec(pe)),Ee===null)throw new Error("Date resolve error");if(Be=+Ee[1],je=+Ee[2]-1,Ge=+Ee[3],!Ee[4])return new Date(Date.UTC(Be,je,Ge));if(bt=+Ee[4],mt=+Ee[5],vt=+Ee[6],Ee[7]){for(ar=Ee[7].slice(0,3);ar.length<3;)ar+="0";ar=+ar}return Ee[9]&&(cr=6e4*(60*+Ee[10]+ +(Ee[11]||0)),Ee[9]==="-"&&(cr=-cr)),Xt=new Date(Date.UTC(Be,je,Ge,bt,mt,vt,ar)),cr&&Xt.setTime(Xt.getTime()-cr),Xt},instanceOf:Date,represent:function(pe){return pe.toISOString()}}),Da=new ne("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(pe){return pe==="<<"||pe===null}}),za=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
||
\r`,tr=new ne("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(pe){if(pe===null)return!1;var Ee,Be,je=0,Ge=pe.length,bt=za;for(Be=0;Be<Ge;Be++)if(!((Ee=bt.indexOf(pe.charAt(Be)))>64)){if(Ee<0)return!1;je+=6}return je%8==0},construct:function(pe){var Ee,Be,je=pe.replace(/[\r\n=]/g,""),Ge=je.length,bt=za,mt=0,vt=[];for(Ee=0;Ee<Ge;Ee++)Ee%4==0&&Ee&&(vt.push(mt>>16&255),vt.push(mt>>8&255),vt.push(255&mt)),mt=mt<<6|bt.indexOf(je.charAt(Ee));return(Be=Ge%4*6)===0?(vt.push(mt>>16&255),vt.push(mt>>8&255),vt.push(255&mt)):Be===18?(vt.push(mt>>10&255),vt.push(mt>>2&255)):Be===12&&vt.push(mt>>4&255),new Uint8Array(vt)},predicate:function(pe){return Object.prototype.toString.call(pe)==="[object Uint8Array]"},represent:function(pe){var Ee,Be,je="",Ge=0,bt=pe.length,mt=za;for(Ee=0;Ee<bt;Ee++)Ee%3==0&&Ee&&(je+=mt[Ge>>18&63],je+=mt[Ge>>12&63],je+=mt[Ge>>6&63],je+=mt[63&Ge]),Ge=(Ge<<8)+pe[Ee];return(Be=bt%3)===0?(je+=mt[Ge>>18&63],je+=mt[Ge>>12&63],je+=mt[Ge>>6&63],je+=mt[63&Ge]):Be===2?(je+=mt[Ge>>10&63],je+=mt[Ge>>4&63],je+=mt[Ge<<2&63],je+=mt[64]):Be===1&&(je+=mt[Ge>>2&63],je+=mt[Ge<<4&63],je+=mt[64],je+=mt[64]),je}}),br=Object.prototype.hasOwnProperty,Ar=Object.prototype.toString,Wr=new ne("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(pe){if(pe===null)return!0;var Ee,Be,je,Ge,bt,mt=[],vt=pe;for(Ee=0,Be=vt.length;Ee<Be;Ee+=1){if(je=vt[Ee],bt=!1,Ar.call(je)!=="[object Object]")return!1;for(Ge in je)if(br.call(je,Ge)){if(bt)return!1;bt=!0}if(!bt||mt.indexOf(Ge)!==-1)return!1;mt.push(Ge)}return!0},construct:function(pe){return pe!==null?pe:[]}}),Lr=Object.prototype.toString,Xn=new ne("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(pe){if(pe===null)return!0;var Ee,Be,je,Ge,bt,mt=pe;for(bt=new Array(mt.length),Ee=0,Be=mt.length;Ee<Be;Ee+=1){if(je=mt[Ee],Lr.call(je)!=="[object Object]"||(Ge=Object.keys(je)).length!==1)return!1;bt[Ee]=[Ge[0],je[Ge[0]]]}return!0},construct:function(pe){if(pe===null)return[];var Ee,Be,je,Ge,bt,mt=pe;for(bt=new Array(mt.length),Ee=0,Be=mt.length;Ee<Be;Ee+=1)je=mt[Ee],Ge=Object.keys(je),bt[Ee]=[Ge[0],je[Ge[0]]];return bt}}),wn=Object.prototype.hasOwnProperty,pn=new ne("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(pe){if(pe===null)return!0;var Ee,Be=pe;for(Ee in Be)if(wn.call(Be,Ee)&&Be[Ee]!==null)return!1;return!0},construct:function(pe){return pe!==null?pe:{}}}),Dn=Oa.extend({implicit:[Zn,Da],explicit:[tr,Wr,Xn,pn]}),nn=Object.prototype.hasOwnProperty,ea=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,aa=/[\x85\u2028\u2029]/,oa=/[,\[\]\{\}]/,$o=/^(?:!|!!|![a-z\-]+!)$/i,Ka=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ka(V){return Object.prototype.toString.call(V)}function kr(V){return V===10||V===13}function an(V){return V===9||V===32}function Rt(V){return V===9||V===32||V===10||V===13}function gn(V){return V===44||V===91||V===93||V===123||V===125}function so(V){var pe;return 48<=V&&V<=57?V-48:97<=(pe=32|V)&&pe<=102?pe-97+10:-1}function lo(V){return V===48?"\0":V===97?"\x07":V===98?"\b":V===116||V===9?" ":V===110?`
|
||
`:V===118?"\v":V===102?"\f":V===114?"\r":V===101?"\x1B":V===32?" ":V===34?'"':V===47?"/":V===92?"\\":V===78?"
":V===95?" ":V===76?"\u2028":V===80?"\u2029":""}function Gt(V){return V<=65535?String.fromCharCode(V):String.fromCharCode(55296+(V-65536>>10),56320+(V-65536&1023))}for(var wa=new Array(256),Wt=new Array(256),fr=0;fr<256;fr++)wa[fr]=lo(fr)?1:0,Wt[fr]=lo(fr);function dr(V,pe){this.input=V,this.filename=pe.filename||null,this.schema=pe.schema||Dn,this.onWarning=pe.onWarning||null,this.legacy=pe.legacy||!1,this.json=pe.json||!1,this.listener=pe.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=V.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function Cr(V,pe){var Ee={name:V.filename,buffer:V.input.slice(0,-1),position:V.position,line:V.line,column:V.position-V.lineStart};return Ee.snippet=C(Ee),new ht(pe,Ee)}function Ht(V,pe){throw Cr(V,pe)}function cn(V,pe){V.onWarning&&V.onWarning.call(null,Cr(V,pe))}var Ga={YAML:function(pe,Ee,Be){var je,Ge,bt;pe.version!==null&&Ht(pe,"duplication of %YAML directive"),Be.length!==1&&Ht(pe,"YAML directive accepts exactly one argument"),(je=/^([0-9]+)\.([0-9]+)$/.exec(Be[0]))===null&&Ht(pe,"ill-formed argument of the YAML directive"),Ge=parseInt(je[1],10),bt=parseInt(je[2],10),Ge!==1&&Ht(pe,"unacceptable YAML version of the document"),pe.version=Be[0],pe.checkLineBreaks=bt<2,bt!==1&&bt!==2&&cn(pe,"unsupported YAML version of the document")},TAG:function(pe,Ee,Be){var je,Ge;Be.length!==2&&Ht(pe,"TAG directive accepts exactly two arguments"),je=Be[0],Ge=Be[1],$o.test(je)||Ht(pe,"ill-formed tag handle (first argument) of the TAG directive"),nn.call(pe.tagMap,je)&&Ht(pe,'there is a previously declared suffix for "'+je+'" tag handle'),Ka.test(Ge)||Ht(pe,"ill-formed tag prefix (second argument) of the TAG directive");try{Ge=decodeURIComponent(Ge)}catch{Ht(pe,"tag prefix is malformed: "+Ge)}pe.tagMap[je]=Ge}};function ia(V,pe,Ee,Be){var je,Ge,bt,mt;if(pe<Ee){if(mt=V.input.slice(pe,Ee),Be)for(je=0,Ge=mt.length;je<Ge;je+=1)(bt=mt.charCodeAt(je))===9||32<=bt&&bt<=1114111||Ht(V,"expected valid JSON character");else ea.test(mt)&&Ht(V,"the stream contains non-printable characters");V.result+=mt}}function vn(V,pe,Ee,Be){var je,Ge,bt,mt;for(xt.isObject(Ee)||Ht(V,"cannot merge mappings; the provided source object is unacceptable"),bt=0,mt=(je=Object.keys(Ee)).length;bt<mt;bt+=1)Ge=je[bt],nn.call(pe,Ge)||(pe[Ge]=Ee[Ge],Be[Ge]=!0)}function fa(V,pe,Ee,Be,je,Ge,bt,mt,vt){var Xt,ar;if(Array.isArray(je))for(Xt=0,ar=(je=Array.prototype.slice.call(je)).length;Xt<ar;Xt+=1)Array.isArray(je[Xt])&&Ht(V,"nested arrays are not supported inside keys"),typeof je=="object"&&ka(je[Xt])==="[object Object]"&&(je[Xt]="[object Object]");if(typeof je=="object"&&ka(je)==="[object Object]"&&(je="[object Object]"),je=String(je),pe===null&&(pe={}),Be==="tag:yaml.org,2002:merge")if(Array.isArray(Ge))for(Xt=0,ar=Ge.length;Xt<ar;Xt+=1)vn(V,pe,Ge[Xt],Ee);else vn(V,pe,Ge,Ee);else V.json||nn.call(Ee,je)||!nn.call(pe,je)||(V.line=bt||V.line,V.lineStart=mt||V.lineStart,V.position=vt||V.position,Ht(V,"duplicated mapping key")),je==="__proto__"?Object.defineProperty(pe,je,{configurable:!0,enumerable:!0,writable:!0,value:Ge}):pe[je]=Ge,delete Ee[je];return pe}function ui(V){var pe;(pe=V.input.charCodeAt(V.position))===10?V.position++:pe===13?(V.position++,V.input.charCodeAt(V.position)===10&&V.position++):Ht(V,"a line break is expected"),V.line+=1,V.lineStart=V.position,V.firstTabInLine=-1}function ta(V,pe,Ee){for(var Be=0,je=V.input.charCodeAt(V.position);je!==0;){for(;an(je);)je===9&&V.firstTabInLine===-1&&(V.firstTabInLine=V.position),je=V.input.charCodeAt(++V.position);if(pe&&je===35)do je=V.input.charCodeAt(++V.position);while(je!==10&&je!==13&&je!==0);if(!kr(je))break;for(ui(V),je=V.input.charCodeAt(V.position),Be++,V.lineIndent=0;je===32;)V.lineIndent++,je=V.input.charCodeAt(++V.position)}return Ee!==-1&&Be!==0&&V.lineIndent<Ee&&cn(V,"deficient indentation"),Be}function bo(V){var pe,Ee=V.position;return!((pe=V.input.charCodeAt(Ee))!==45&&pe!==46||pe!==V.input.charCodeAt(Ee+1)||pe!==V.input.charCodeAt(Ee+2)||(Ee+=3,(pe=V.input.charCodeAt(Ee))!==0&&!Rt(pe)))}function Ei(V,pe){pe===1?V.result+=" ":pe>1&&(V.result+=xt.repeat(`
|
||
`,pe-1))}function pi(V,pe){var Ee,Be,je=V.tag,Ge=V.anchor,bt=[],mt=!1;if(V.firstTabInLine!==-1)return!1;for(V.anchor!==null&&(V.anchorMap[V.anchor]=bt),Be=V.input.charCodeAt(V.position);Be!==0&&(V.firstTabInLine!==-1&&(V.position=V.firstTabInLine,Ht(V,"tab characters must not be used in indentation")),Be===45)&&Rt(V.input.charCodeAt(V.position+1));)if(mt=!0,V.position++,ta(V,!0,-1)&&V.lineIndent<=pe)bt.push(null),Be=V.input.charCodeAt(V.position);else if(Ee=V.line,jo(V,pe,3,!1,!0),bt.push(V.result),ta(V,!0,-1),Be=V.input.charCodeAt(V.position),(V.line===Ee||V.lineIndent>pe)&&Be!==0)Ht(V,"bad indentation of a sequence entry");else if(V.lineIndent<pe)break;return!!mt&&(V.tag=je,V.anchor=Ge,V.kind="sequence",V.result=bt,!0)}function rs(V){var pe,Ee,Be,je,Ge=!1,bt=!1;if((je=V.input.charCodeAt(V.position))!==33)return!1;if(V.tag!==null&&Ht(V,"duplication of a tag property"),(je=V.input.charCodeAt(++V.position))===60?(Ge=!0,je=V.input.charCodeAt(++V.position)):je===33?(bt=!0,Ee="!!",je=V.input.charCodeAt(++V.position)):Ee="!",pe=V.position,Ge){do je=V.input.charCodeAt(++V.position);while(je!==0&&je!==62);V.position<V.length?(Be=V.input.slice(pe,V.position),je=V.input.charCodeAt(++V.position)):Ht(V,"unexpected end of the stream within a verbatim tag")}else{for(;je!==0&&!Rt(je);)je===33&&(bt?Ht(V,"tag suffix cannot contain exclamation marks"):(Ee=V.input.slice(pe-1,V.position+1),$o.test(Ee)||Ht(V,"named tag handle cannot contain such characters"),bt=!0,pe=V.position+1)),je=V.input.charCodeAt(++V.position);Be=V.input.slice(pe,V.position),oa.test(Be)&&Ht(V,"tag suffix cannot contain flow indicator characters")}Be&&!Ka.test(Be)&&Ht(V,"tag name cannot contain such characters: "+Be);try{Be=decodeURIComponent(Be)}catch{Ht(V,"tag name is malformed: "+Be)}return Ge?V.tag=Be:nn.call(V.tagMap,Ee)?V.tag=V.tagMap[Ee]+Be:Ee==="!"?V.tag="!"+Be:Ee==="!!"?V.tag="tag:yaml.org,2002:"+Be:Ht(V,'undeclared tag handle "'+Ee+'"'),!0}function _o(V){var pe,Ee;if((Ee=V.input.charCodeAt(V.position))!==38)return!1;for(V.anchor!==null&&Ht(V,"duplication of an anchor property"),Ee=V.input.charCodeAt(++V.position),pe=V.position;Ee!==0&&!Rt(Ee)&&!gn(Ee);)Ee=V.input.charCodeAt(++V.position);return V.position===pe&&Ht(V,"name of an anchor node must contain at least one character"),V.anchor=V.input.slice(pe,V.position),!0}function jo(V,pe,Ee,Be,je){var Ge,bt,mt,vt,Xt,ar,cr,hr,ur,Kt=1,Un=!1,Tn=!1;if(V.listener!==null&&V.listener("open",V),V.tag=null,V.anchor=null,V.kind=null,V.result=null,Ge=bt=mt=Ee===4||Ee===3,Be&&ta(V,!0,-1)&&(Un=!0,V.lineIndent>pe?Kt=1:V.lineIndent===pe?Kt=0:V.lineIndent<pe&&(Kt=-1)),Kt===1)for(;rs(V)||_o(V);)ta(V,!0,-1)?(Un=!0,mt=Ge,V.lineIndent>pe?Kt=1:V.lineIndent===pe?Kt=0:V.lineIndent<pe&&(Kt=-1)):mt=!1;if(mt&&(mt=Un||je),Kt!==1&&Ee!==4||(hr=Ee===1||Ee===2?pe:pe+1,ur=V.position-V.lineStart,Kt===1?mt&&(pi(V,ur)||(function(Oe,Dr,Mr){var jr,gr,or,hn,Kr,Tr,Sn,Jr=Oe.tag,jn=Oe.anchor,Hn={},sa=Object.create(null),Ir=null,Wa=null,no=null,la=!1,Pa=!1;if(Oe.firstTabInLine!==-1)return!1;for(Oe.anchor!==null&&(Oe.anchorMap[Oe.anchor]=Hn),Sn=Oe.input.charCodeAt(Oe.position);Sn!==0;){if(la||Oe.firstTabInLine===-1||(Oe.position=Oe.firstTabInLine,Ht(Oe,"tab characters must not be used in indentation")),jr=Oe.input.charCodeAt(Oe.position+1),or=Oe.line,Sn!==63&&Sn!==58||!Rt(jr)){if(hn=Oe.line,Kr=Oe.lineStart,Tr=Oe.position,!jo(Oe,Mr,2,!1,!0))break;if(Oe.line===or){for(Sn=Oe.input.charCodeAt(Oe.position);an(Sn);)Sn=Oe.input.charCodeAt(++Oe.position);if(Sn===58)Rt(Sn=Oe.input.charCodeAt(++Oe.position))||Ht(Oe,"a whitespace character is expected after the key-value separator within a block mapping"),la&&(fa(Oe,Hn,sa,Ir,Wa,null,hn,Kr,Tr),Ir=Wa=no=null),Pa=!0,la=!1,gr=!1,Ir=Oe.tag,Wa=Oe.result;else{if(!Pa)return Oe.tag=Jr,Oe.anchor=jn,!0;Ht(Oe,"can not read an implicit mapping pair; a colon is missed")}}else{if(!Pa)return Oe.tag=Jr,Oe.anchor=jn,!0;Ht(Oe,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else Sn===63?(la&&(fa(Oe,Hn,sa,Ir,Wa,null,hn,Kr,Tr),Ir=Wa=no=null),Pa=!0,la=!0,gr=!0):la?(la=!1,gr=!0):Ht(Oe,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),Oe.position+=1,Sn=jr;if((Oe.line===or||Oe.lineIndent>Dr)&&(la&&(hn=Oe.line,Kr=Oe.lineStart,Tr=Oe.position),jo(Oe,Dr,4,!0,gr)&&(la?Wa=Oe.result:no=Oe.result),la||(fa(Oe,Hn,sa,Ir,Wa,no,hn,Kr,Tr),Ir=Wa=no=null),ta(Oe,!0,-1),Sn=Oe.input.charCodeAt(Oe.position)),(Oe.line===or||Oe.lineIndent>Dr)&&Sn!==0)Ht(Oe,"bad indentation of a mapping entry");else if(Oe.lineIndent<Dr)break}return la&&fa(Oe,Hn,sa,Ir,Wa,null,hn,Kr,Tr),Pa&&(Oe.tag=Jr,Oe.anchor=jn,Oe.kind="mapping",Oe.result=Hn),Pa})(V,ur,hr))||(function(Oe,Dr){var Mr,jr,gr,or,hn,Kr,Tr,Sn,Jr,jn,Hn,sa,Ir=!0,Wa=Oe.tag,no=Oe.anchor,la=Object.create(null);if((sa=Oe.input.charCodeAt(Oe.position))===91)hn=93,Sn=!1,or=[];else{if(sa!==123)return!1;hn=125,Sn=!0,or={}}for(Oe.anchor!==null&&(Oe.anchorMap[Oe.anchor]=or),sa=Oe.input.charCodeAt(++Oe.position);sa!==0;){if(ta(Oe,!0,Dr),(sa=Oe.input.charCodeAt(Oe.position))===hn)return Oe.position++,Oe.tag=Wa,Oe.anchor=no,Oe.kind=Sn?"mapping":"sequence",Oe.result=or,!0;Ir?sa===44&&Ht(Oe,"expected the node content, but found ','"):Ht(Oe,"missed comma between flow collection entries"),Hn=null,Kr=Tr=!1,sa===63&&Rt(Oe.input.charCodeAt(Oe.position+1))&&(Kr=Tr=!0,Oe.position++,ta(Oe,!0,Dr)),Mr=Oe.line,jr=Oe.lineStart,gr=Oe.position,jo(Oe,Dr,1,!1,!0),jn=Oe.tag,Jr=Oe.result,ta(Oe,!0,Dr),sa=Oe.input.charCodeAt(Oe.position),!Tr&&Oe.line!==Mr||sa!==58||(Kr=!0,sa=Oe.input.charCodeAt(++Oe.position),ta(Oe,!0,Dr),jo(Oe,Dr,1,!1,!0),Hn=Oe.result),Sn?fa(Oe,or,la,jn,Jr,Hn,Mr,jr,gr):Kr?or.push(fa(Oe,null,la,jn,Jr,Hn,Mr,jr,gr)):or.push(Jr),ta(Oe,!0,Dr),(sa=Oe.input.charCodeAt(Oe.position))===44?(Ir=!0,sa=Oe.input.charCodeAt(++Oe.position)):Ir=!1}Ht(Oe,"unexpected end of the stream within a flow collection")})(V,hr)?Tn=!0:(bt&&(function(Oe,Dr){var Mr,jr,gr,or,hn,Kr=1,Tr=!1,Sn=!1,Jr=Dr,jn=0,Hn=!1;if((or=Oe.input.charCodeAt(Oe.position))===124)jr=!1;else{if(or!==62)return!1;jr=!0}for(Oe.kind="scalar",Oe.result="";or!==0;)if((or=Oe.input.charCodeAt(++Oe.position))===43||or===45)Kr===1?Kr=or===43?3:2:Ht(Oe,"repeat of a chomping mode identifier");else{if(!((gr=48<=(hn=or)&&hn<=57?hn-48:-1)>=0))break;gr===0?Ht(Oe,"bad explicit indentation width of a block scalar; it cannot be less than one"):Sn?Ht(Oe,"repeat of an indentation width identifier"):(Jr=Dr+gr-1,Sn=!0)}if(an(or)){do or=Oe.input.charCodeAt(++Oe.position);while(an(or));if(or===35)do or=Oe.input.charCodeAt(++Oe.position);while(!kr(or)&&or!==0)}for(;or!==0;){for(ui(Oe),Oe.lineIndent=0,or=Oe.input.charCodeAt(Oe.position);(!Sn||Oe.lineIndent<Jr)&&or===32;)Oe.lineIndent++,or=Oe.input.charCodeAt(++Oe.position);if(!Sn&&Oe.lineIndent>Jr&&(Jr=Oe.lineIndent),kr(or))jn++;else{if(Oe.lineIndent<Jr){Kr===3?Oe.result+=xt.repeat(`
|
||
`,Tr?1+jn:jn):Kr===1&&Tr&&(Oe.result+=`
|
||
`);break}for(jr?an(or)?(Hn=!0,Oe.result+=xt.repeat(`
|
||
`,Tr?1+jn:jn)):Hn?(Hn=!1,Oe.result+=xt.repeat(`
|
||
`,jn+1)):jn===0?Tr&&(Oe.result+=" "):Oe.result+=xt.repeat(`
|
||
`,jn):Oe.result+=xt.repeat(`
|
||
`,Tr?1+jn:jn),Tr=!0,Sn=!0,jn=0,Mr=Oe.position;!kr(or)&&or!==0;)or=Oe.input.charCodeAt(++Oe.position);ia(Oe,Mr,Oe.position,!1)}}return!0})(V,hr)||(function(Oe,Dr){var Mr,jr,gr;if((Mr=Oe.input.charCodeAt(Oe.position))!==39)return!1;for(Oe.kind="scalar",Oe.result="",Oe.position++,jr=gr=Oe.position;(Mr=Oe.input.charCodeAt(Oe.position))!==0;)if(Mr===39){if(ia(Oe,jr,Oe.position,!0),(Mr=Oe.input.charCodeAt(++Oe.position))!==39)return!0;jr=Oe.position,Oe.position++,gr=Oe.position}else kr(Mr)?(ia(Oe,jr,gr,!0),Ei(Oe,ta(Oe,!1,Dr)),jr=gr=Oe.position):Oe.position===Oe.lineStart&&bo(Oe)?Ht(Oe,"unexpected end of the document within a single quoted scalar"):(Oe.position++,gr=Oe.position);Ht(Oe,"unexpected end of the stream within a single quoted scalar")})(V,hr)||(function(Oe,Dr){var Mr,jr,gr,or,hn,Kr,Tr;if((Kr=Oe.input.charCodeAt(Oe.position))!==34)return!1;for(Oe.kind="scalar",Oe.result="",Oe.position++,Mr=jr=Oe.position;(Kr=Oe.input.charCodeAt(Oe.position))!==0;){if(Kr===34)return ia(Oe,Mr,Oe.position,!0),Oe.position++,!0;if(Kr===92){if(ia(Oe,Mr,Oe.position,!0),kr(Kr=Oe.input.charCodeAt(++Oe.position)))ta(Oe,!1,Dr);else if(Kr<256&&wa[Kr])Oe.result+=Wt[Kr],Oe.position++;else if((hn=(Tr=Kr)===120?2:Tr===117?4:Tr===85?8:0)>0){for(gr=hn,or=0;gr>0;gr--)(hn=so(Kr=Oe.input.charCodeAt(++Oe.position)))>=0?or=(or<<4)+hn:Ht(Oe,"expected hexadecimal character");Oe.result+=Gt(or),Oe.position++}else Ht(Oe,"unknown escape sequence");Mr=jr=Oe.position}else kr(Kr)?(ia(Oe,Mr,jr,!0),Ei(Oe,ta(Oe,!1,Dr)),Mr=jr=Oe.position):Oe.position===Oe.lineStart&&bo(Oe)?Ht(Oe,"unexpected end of the document within a double quoted scalar"):(Oe.position++,jr=Oe.position)}Ht(Oe,"unexpected end of the stream within a double quoted scalar")})(V,hr)?Tn=!0:(function(Oe){var Dr,Mr,jr;if((jr=Oe.input.charCodeAt(Oe.position))!==42)return!1;for(jr=Oe.input.charCodeAt(++Oe.position),Dr=Oe.position;jr!==0&&!Rt(jr)&&!gn(jr);)jr=Oe.input.charCodeAt(++Oe.position);return Oe.position===Dr&&Ht(Oe,"name of an alias node must contain at least one character"),Mr=Oe.input.slice(Dr,Oe.position),nn.call(Oe.anchorMap,Mr)||Ht(Oe,'unidentified alias "'+Mr+'"'),Oe.result=Oe.anchorMap[Mr],ta(Oe,!0,-1),!0})(V)?(Tn=!0,V.tag===null&&V.anchor===null||Ht(V,"alias node should not have any properties")):(function(Oe,Dr,Mr){var jr,gr,or,hn,Kr,Tr,Sn,Jr,jn=Oe.kind,Hn=Oe.result;if(Rt(Jr=Oe.input.charCodeAt(Oe.position))||gn(Jr)||Jr===35||Jr===38||Jr===42||Jr===33||Jr===124||Jr===62||Jr===39||Jr===34||Jr===37||Jr===64||Jr===96||(Jr===63||Jr===45)&&(Rt(jr=Oe.input.charCodeAt(Oe.position+1))||Mr&&gn(jr)))return!1;for(Oe.kind="scalar",Oe.result="",gr=or=Oe.position,hn=!1;Jr!==0;){if(Jr===58){if(Rt(jr=Oe.input.charCodeAt(Oe.position+1))||Mr&&gn(jr))break}else if(Jr===35){if(Rt(Oe.input.charCodeAt(Oe.position-1)))break}else{if(Oe.position===Oe.lineStart&&bo(Oe)||Mr&&gn(Jr))break;if(kr(Jr)){if(Kr=Oe.line,Tr=Oe.lineStart,Sn=Oe.lineIndent,ta(Oe,!1,-1),Oe.lineIndent>=Dr){hn=!0,Jr=Oe.input.charCodeAt(Oe.position);continue}Oe.position=or,Oe.line=Kr,Oe.lineStart=Tr,Oe.lineIndent=Sn;break}}hn&&(ia(Oe,gr,or,!1),Ei(Oe,Oe.line-Kr),gr=or=Oe.position,hn=!1),an(Jr)||(or=Oe.position+1),Jr=Oe.input.charCodeAt(++Oe.position)}return ia(Oe,gr,or,!1),!!Oe.result||(Oe.kind=jn,Oe.result=Hn,!1)})(V,hr,Ee===1)&&(Tn=!0,V.tag===null&&(V.tag="?")),V.anchor!==null&&(V.anchorMap[V.anchor]=V.result)):Kt===0&&(Tn=mt&&pi(V,ur))),V.tag===null)V.anchor!==null&&(V.anchorMap[V.anchor]=V.result);else if(V.tag==="?"){for(V.result!==null&&V.kind!=="scalar"&&Ht(V,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+V.kind+'"'),vt=0,Xt=V.implicitTypes.length;vt<Xt;vt+=1)if((cr=V.implicitTypes[vt]).resolve(V.result)){V.result=cr.construct(V.result),V.tag=cr.tag,V.anchor!==null&&(V.anchorMap[V.anchor]=V.result);break}}else if(V.tag!=="!"){if(nn.call(V.typeMap[V.kind||"fallback"],V.tag))cr=V.typeMap[V.kind||"fallback"][V.tag];else for(cr=null,vt=0,Xt=(ar=V.typeMap.multi[V.kind||"fallback"]).length;vt<Xt;vt+=1)if(V.tag.slice(0,ar[vt].tag.length)===ar[vt].tag){cr=ar[vt];break}cr||Ht(V,"unknown tag !<"+V.tag+">"),V.result!==null&&cr.kind!==V.kind&&Ht(V,"unacceptable node kind for !<"+V.tag+'> tag; it should be "'+cr.kind+'", not "'+V.kind+'"'),cr.resolve(V.result,V.tag)?(V.result=cr.construct(V.result,V.tag),V.anchor!==null&&(V.anchorMap[V.anchor]=V.result)):Ht(V,"cannot resolve a node with !<"+V.tag+"> explicit tag")}return V.listener!==null&&V.listener("close",V),V.tag!==null||V.anchor!==null||Tn}function fi(V){var pe,Ee,Be,je,Ge=V.position,bt=!1;for(V.version=null,V.checkLineBreaks=V.legacy,V.tagMap=Object.create(null),V.anchorMap=Object.create(null);(je=V.input.charCodeAt(V.position))!==0&&(ta(V,!0,-1),je=V.input.charCodeAt(V.position),!(V.lineIndent>0||je!==37));){for(bt=!0,je=V.input.charCodeAt(++V.position),pe=V.position;je!==0&&!Rt(je);)je=V.input.charCodeAt(++V.position);for(Be=[],(Ee=V.input.slice(pe,V.position)).length<1&&Ht(V,"directive name must not be less than one character in length");je!==0;){for(;an(je);)je=V.input.charCodeAt(++V.position);if(je===35){do je=V.input.charCodeAt(++V.position);while(je!==0&&!kr(je));break}if(kr(je))break;for(pe=V.position;je!==0&&!Rt(je);)je=V.input.charCodeAt(++V.position);Be.push(V.input.slice(pe,V.position))}je!==0&&ui(V),nn.call(Ga,Ee)?Ga[Ee](V,Ee,Be):cn(V,'unknown document directive "'+Ee+'"')}ta(V,!0,-1),V.lineIndent===0&&V.input.charCodeAt(V.position)===45&&V.input.charCodeAt(V.position+1)===45&&V.input.charCodeAt(V.position+2)===45?(V.position+=3,ta(V,!0,-1)):bt&&Ht(V,"directives end mark is expected"),jo(V,V.lineIndent-1,4,!1,!0),ta(V,!0,-1),V.checkLineBreaks&&aa.test(V.input.slice(Ge,V.position))&&cn(V,"non-ASCII line breaks are interpreted as content"),V.documents.push(V.result),V.position===V.lineStart&&bo(V)?V.input.charCodeAt(V.position)===46&&(V.position+=3,ta(V,!0,-1)):V.position<V.length-1&&Ht(V,"end of the stream or a document separator is expected")}function hi(V,pe){pe=pe||{},(V=String(V)).length!==0&&(V.charCodeAt(V.length-1)!==10&&V.charCodeAt(V.length-1)!==13&&(V+=`
|
||
`),V.charCodeAt(0)===65279&&(V=V.slice(1)));var Ee=new dr(V,pe),Be=V.indexOf("\0");for(Be!==-1&&(Ee.position=Be,Ht(Ee,"null byte is not allowed in input")),Ee.input+="\0";Ee.input.charCodeAt(Ee.position)===32;)Ee.lineIndent+=1,Ee.position+=1;for(;Ee.position<Ee.length-1;)fi(Ee);return Ee.documents}var Io={loadAll:function(pe,Ee,Be){Ee!==null&&typeof Ee=="object"&&Be===void 0&&(Be=Ee,Ee=null);var je=hi(pe,Be);if(typeof Ee!="function")return je;for(var Ge=0,bt=je.length;Ge<bt;Ge+=1)Ee(je[Ge])},load:function(pe,Ee){var Be=hi(pe,Ee);if(Be.length!==0){if(Be.length===1)return Be[0];throw new ht("expected a single document in the stream, but found more")}}},di=Object.prototype.toString,fn=Object.prototype.hasOwnProperty,Di=65279,vs={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"},zs=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],_l=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function wl(V){var pe,Ee,Be;if(pe=V.toString(16).toUpperCase(),V<=255)Ee="x",Be=2;else if(V<=65535)Ee="u",Be=4;else{if(!(V<=4294967295))throw new ht("code point within a string may not be greater than 0xFFFFFFFF");Ee="U",Be=8}return"\\"+Ee+xt.repeat("0",Be-pe.length)+pe}function Pr(V){this.schema=V.schema||Dn,this.indent=Math.max(1,V.indent||2),this.noArrayIndent=V.noArrayIndent||!1,this.skipInvalid=V.skipInvalid||!1,this.flowLevel=xt.isNothing(V.flowLevel)?-1:V.flowLevel,this.styleMap=(function(Ee,Be){var je,Ge,bt,mt,vt,Xt,ar;if(Be===null)return{};for(je={},bt=0,mt=(Ge=Object.keys(Be)).length;bt<mt;bt+=1)vt=Ge[bt],Xt=String(Be[vt]),vt.slice(0,2)==="!!"&&(vt="tag:yaml.org,2002:"+vt.slice(2)),(ar=Ee.compiledTypeMap.fallback[vt])&&fn.call(ar.styleAliases,Xt)&&(Xt=ar.styleAliases[Xt]),je[vt]=Xt;return je})(this.schema,V.styles||null),this.sortKeys=V.sortKeys||!1,this.lineWidth=V.lineWidth||80,this.noRefs=V.noRefs||!1,this.noCompatMode=V.noCompatMode||!1,this.condenseFlow=V.condenseFlow||!1,this.quotingType=V.quotingType==='"'?2:1,this.forceQuotes=V.forceQuotes||!1,this.replacer=typeof V.replacer=="function"?V.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Bi(V,pe){for(var Ee,Be=xt.repeat(" ",pe),je=0,Ge=-1,bt="",mt=V.length;je<mt;)(Ge=V.indexOf(`
|
||
`,je))===-1?(Ee=V.slice(je),je=mt):(Ee=V.slice(je,Ge+1),je=Ge+1),Ee.length&&Ee!==`
|
||
`&&(bt+=Be),bt+=Ee;return bt}function mi(V,pe){return`
|
||
`+xt.repeat(" ",V.indent*pe)}function en(V){return V===32||V===9}function Ln(V){return 32<=V&&V<=126||161<=V&&V<=55295&&V!==8232&&V!==8233||57344<=V&&V<=65533&&V!==Di||65536<=V&&V<=1114111}function wo(V){return Ln(V)&&V!==Di&&V!==13&&V!==10}function gi(V,pe,Ee){var Be=wo(V),je=Be&&!en(V);return(Ee?Be:Be&&V!==44&&V!==91&&V!==93&&V!==123&&V!==125)&&V!==35&&!(pe===58&&!je)||wo(pe)&&!en(pe)&&V===35||pe===58&&je}function Ca(V,pe){var Ee,Be=V.charCodeAt(pe);return Be>=55296&&Be<=56319&&pe+1<V.length&&(Ee=V.charCodeAt(pe+1))>=56320&&Ee<=57343?1024*(Be-55296)+Ee-56320+65536:Be}function Eo(V){return/^\n* /.test(V)}function Uo(V,pe,Ee,Be,je,Ge,bt,mt){var vt,Xt=0,ar=null,cr=!1,hr=!1,ur=Be!==-1,Kt=-1,Un=(function(mr){return Ln(mr)&&mr!==Di&&!en(mr)&&mr!==45&&mr!==63&&mr!==58&&mr!==44&&mr!==91&&mr!==93&&mr!==123&&mr!==125&&mr!==35&&mr!==38&&mr!==42&&mr!==33&&mr!==124&&mr!==61&&mr!==62&&mr!==39&&mr!==34&&mr!==37&&mr!==64&&mr!==96})(Ca(V,0))&&(function(mr){return!en(mr)&&mr!==58})(Ca(V,V.length-1));if(pe||bt)for(vt=0;vt<V.length;Xt>=65536?vt+=2:vt++){if(!Ln(Xt=Ca(V,vt)))return 5;Un=Un&&gi(Xt,ar,mt),ar=Xt}else{for(vt=0;vt<V.length;Xt>=65536?vt+=2:vt++){if((Xt=Ca(V,vt))===10)cr=!0,ur&&(hr=hr||vt-Kt-1>Be&&V[Kt+1]!==" ",Kt=vt);else if(!Ln(Xt))return 5;Un=Un&&gi(Xt,ar,mt),ar=Xt}hr=hr||ur&&vt-Kt-1>Be&&V[Kt+1]!==" "}return cr||hr?Ee>9&&Eo(V)?5:bt?Ge===2?5:2:hr?4:3:!Un||bt||je(V)?Ge===2?5:2:1}function Fi(V,pe,Ee,Be,je){V.dump=(function(){if(pe.length===0)return V.quotingType===2?'""':"''";if(!V.noCompatMode&&(zs.indexOf(pe)!==-1||_l.test(pe)))return V.quotingType===2?'"'+pe+'"':"'"+pe+"'";var Ge=V.indent*Math.max(1,Ee),bt=V.lineWidth===-1?-1:Math.max(Math.min(V.lineWidth,40),V.lineWidth-Ge),mt=Be||V.flowLevel>-1&&Ee>=V.flowLevel;switch(Uo(pe,mt,V.indent,bt,(function(Xt){return(function(cr,hr){var ur,Kt;for(ur=0,Kt=cr.implicitTypes.length;ur<Kt;ur+=1)if(cr.implicitTypes[ur].resolve(hr))return!0;return!1})(V,Xt)}),V.quotingType,V.forceQuotes&&!Be,je)){case 1:return pe;case 2:return"'"+pe.replace(/'/g,"''")+"'";case 3:return"|"+Li(pe,V.indent)+Si(Bi(pe,Ge));case 4:return">"+Li(pe,V.indent)+Si(Bi((function(Xt,ar){for(var cr,hr,ur=/(\n+)([^\n]*)/g,Kt=(Tn=Xt.indexOf(`
|
||
`),Tn=Tn!==-1?Tn:Xt.length,ur.lastIndex=Tn,Va(Xt.slice(0,Tn),ar)),Un=Xt[0]===`
|
||
`||Xt[0]===" ",Tn;hr=ur.exec(Xt);){var mr=hr[1],Oe=hr[2];cr=Oe[0]===" ",Kt+=mr+(Un||cr||Oe===""?"":`
|
||
`)+Va(Oe,ar),Un=cr}return Kt})(pe,bt),Ge));case 5:return'"'+(function(Xt){for(var ar,cr="",hr=0,ur=0;ur<Xt.length;hr>=65536?ur+=2:ur++)hr=Ca(Xt,ur),!(ar=vs[hr])&&Ln(hr)?(cr+=Xt[ur],hr>=65536&&(cr+=Xt[ur+1])):cr+=ar||wl(hr);return cr})(pe)+'"';default:throw new ht("impossible error: invalid scalar style")}})()}function Li(V,pe){var Ee=Eo(V)?String(pe):"",Be=V[V.length-1]===`
|
||
`;return Ee+(Be&&(V[V.length-2]===`
|
||
`||V===`
|
||
`)?"+":Be?"":"-")+`
|
||
`}function Si(V){return V[V.length-1]===`
|
||
`?V.slice(0,-1):V}function Va(V,pe){if(V===""||V[0]===" ")return V;for(var Ee,Be,je=/ [^ ]/g,Ge=0,bt=0,mt=0,vt="";Ee=je.exec(V);)(mt=Ee.index)-Ge>pe&&(Be=bt>Ge?bt:mt,vt+=`
|
||
`+V.slice(Ge,Be),Ge=Be+1),bt=mt;return vt+=`
|
||
`,V.length-Ge>pe&&bt>Ge?vt+=V.slice(Ge,bt)+`
|
||
`+V.slice(bt+1):vt+=V.slice(Ge),vt.slice(1)}function ns(V,pe,Ee,Be){var je,Ge,bt,mt="",vt=V.tag;for(je=0,Ge=Ee.length;je<Ge;je+=1)bt=Ee[je],V.replacer&&(bt=V.replacer.call(Ee,String(je),bt)),(ha(V,pe+1,bt,!0,!0,!1,!0)||bt===void 0&&ha(V,pe+1,null,!0,!0,!1,!0))&&(Be&&mt===""||(mt+=mi(V,pe)),V.dump&&V.dump.charCodeAt(0)===10?mt+="-":mt+="- ",mt+=V.dump);V.tag=vt,V.dump=mt||"[]"}function Ba(V,pe,Ee){var Be,je,Ge,bt,mt,vt;for(Ge=0,bt=(je=Ee?V.explicitTypes:V.implicitTypes).length;Ge<bt;Ge+=1)if(((mt=je[Ge]).instanceOf||mt.predicate)&&(!mt.instanceOf||typeof pe=="object"&&pe instanceof mt.instanceOf)&&(!mt.predicate||mt.predicate(pe))){if(Ee?mt.multi&&mt.representName?V.tag=mt.representName(pe):V.tag=mt.tag:V.tag="?",mt.represent){if(vt=V.styleMap[mt.tag]||mt.defaultStyle,di.call(mt.represent)==="[object Function]")Be=mt.represent(pe,vt);else{if(!fn.call(mt.represent,vt))throw new ht("!<"+mt.tag+'> tag resolver accepts not "'+vt+'" style');Be=mt.represent[vt](pe,vt)}V.dump=Be}return!0}return!1}function ha(V,pe,Ee,Be,je,Ge,bt){V.tag=null,V.dump=Ee,Ba(V,Ee,!1)||Ba(V,Ee,!0);var mt,vt=di.call(V.dump),Xt=Be;Be&&(Be=V.flowLevel<0||V.flowLevel>pe);var ar,cr,hr=vt==="[object Object]"||vt==="[object Array]";if(hr&&(cr=(ar=V.duplicates.indexOf(Ee))!==-1),(V.tag!==null&&V.tag!=="?"||cr||V.indent!==2&&pe>0)&&(je=!1),cr&&V.usedDuplicates[ar])V.dump="*ref_"+ar;else{if(hr&&cr&&!V.usedDuplicates[ar]&&(V.usedDuplicates[ar]=!0),vt==="[object Object]")Be&&Object.keys(V.dump).length!==0?((function(Kt,Un,Tn,mr){var Oe,Dr,Mr,jr,gr,or,hn="",Kr=Kt.tag,Tr=Object.keys(Tn);if(Kt.sortKeys===!0)Tr.sort();else if(typeof Kt.sortKeys=="function")Tr.sort(Kt.sortKeys);else if(Kt.sortKeys)throw new ht("sortKeys must be a boolean or a function");for(Oe=0,Dr=Tr.length;Oe<Dr;Oe+=1)or="",mr&&hn===""||(or+=mi(Kt,Un)),jr=Tn[Mr=Tr[Oe]],Kt.replacer&&(jr=Kt.replacer.call(Tn,Mr,jr)),ha(Kt,Un+1,Mr,!0,!0,!0)&&((gr=Kt.tag!==null&&Kt.tag!=="?"||Kt.dump&&Kt.dump.length>1024)&&(Kt.dump&&Kt.dump.charCodeAt(0)===10?or+="?":or+="? "),or+=Kt.dump,gr&&(or+=mi(Kt,Un)),ha(Kt,Un+1,jr,!0,gr)&&(Kt.dump&&Kt.dump.charCodeAt(0)===10?or+=":":or+=": ",hn+=or+=Kt.dump));Kt.tag=Kr,Kt.dump=hn||"{}"})(V,pe,V.dump,je),cr&&(V.dump="&ref_"+ar+V.dump)):((function(Kt,Un,Tn){var mr,Oe,Dr,Mr,jr,gr="",or=Kt.tag,hn=Object.keys(Tn);for(mr=0,Oe=hn.length;mr<Oe;mr+=1)jr="",gr!==""&&(jr+=", "),Kt.condenseFlow&&(jr+='"'),Mr=Tn[Dr=hn[mr]],Kt.replacer&&(Mr=Kt.replacer.call(Tn,Dr,Mr)),ha(Kt,Un,Dr,!1,!1)&&(Kt.dump.length>1024&&(jr+="? "),jr+=Kt.dump+(Kt.condenseFlow?'"':"")+":"+(Kt.condenseFlow?"":" "),ha(Kt,Un,Mr,!1,!1)&&(gr+=jr+=Kt.dump));Kt.tag=or,Kt.dump="{"+gr+"}"})(V,pe,V.dump),cr&&(V.dump="&ref_"+ar+" "+V.dump));else if(vt==="[object Array]")Be&&V.dump.length!==0?(V.noArrayIndent&&!bt&&pe>0?ns(V,pe-1,V.dump,je):ns(V,pe,V.dump,je),cr&&(V.dump="&ref_"+ar+V.dump)):((function(Kt,Un,Tn){var mr,Oe,Dr,Mr="",jr=Kt.tag;for(mr=0,Oe=Tn.length;mr<Oe;mr+=1)Dr=Tn[mr],Kt.replacer&&(Dr=Kt.replacer.call(Tn,String(mr),Dr)),(ha(Kt,Un,Dr,!1,!1)||Dr===void 0&&ha(Kt,Un,null,!1,!1))&&(Mr!==""&&(Mr+=","+(Kt.condenseFlow?"":" ")),Mr+=Kt.dump);Kt.tag=jr,Kt.dump="["+Mr+"]"})(V,pe,V.dump),cr&&(V.dump="&ref_"+ar+" "+V.dump));else{if(vt!=="[object String]"){if(vt==="[object Undefined]"||V.skipInvalid)return!1;throw new ht("unacceptable kind of an object to dump "+vt)}V.tag!=="?"&&Fi(V,V.dump,pe,Ge,Xt)}V.tag!==null&&V.tag!=="?"&&(mt=encodeURI(V.tag[0]==="!"?V.tag.slice(1):V.tag).replace(/!/g,"%21"),mt=V.tag[0]==="!"?"!"+mt:mt.slice(0,18)==="tag:yaml.org,2002:"?"!!"+mt.slice(18):"!<"+mt+">",V.dump=mt+" "+V.dump)}return!0}function to(V,pe){var Ee,Be,je=[],Ge=[];for(Nr(V,je,Ge),Ee=0,Be=Ge.length;Ee<Be;Ee+=1)pe.duplicates.push(je[Ge[Ee]]);pe.usedDuplicates=new Array(Be)}function Nr(V,pe,Ee){var Be,je,Ge;if(V!==null&&typeof V=="object")if((je=pe.indexOf(V))!==-1)Ee.indexOf(je)===-1&&Ee.push(je);else if(pe.push(V),Array.isArray(V))for(je=0,Ge=V.length;je<Ge;je+=1)Nr(V[je],pe,Ee);else for(je=0,Ge=(Be=Object.keys(V)).length;je<Ge;je+=1)Nr(V[Be[je]],pe,Ee)}function qo(V,pe){return function(){throw new Error("Function yaml."+V+" is removed in js-yaml 4. Use yaml."+pe+" instead, which is now safe by default.")}}const as={Type:ne,Schema:Ze,FAILSAFE_SCHEMA:kt,JSON_SCHEMA:Vr,CORE_SCHEMA:Oa,DEFAULT_SCHEMA:Dn,load:Io.load,loadAll:Io.loadAll,dump:function(pe,Ee){var Be=new Pr(Ee=Ee||{});Be.noRefs||to(pe,Be);var je=pe;return Be.replacer&&(je=Be.replacer.call({"":je},"",je)),ha(Be,0,je,!0,!0)?Be.dump+`
|
||
`:""},YAMLException:ht,types:{binary:tr,float:mn,map:yt,null:Fr,pairs:Xn,set:pn,timestamp:Zn,bool:Ur,int:kn,merge:Da,omap:Wr,seq:ut,str:St},safeLoad:qo("safeLoad","load"),safeLoadAll:qo("safeLoadAll","loadAll"),safeDump:qo("safeDump","dump")},_r="configs_update",xi="configs_toggle";function Cn(V,pe){return{type:_r,payload:{[V]:pe}}}function ro(V){return{type:xi,payload:V}}const co=()=>()=>{},ja=V=>pe=>{const{fn:{fetch:Ee}}=pe;return Ee(V)},os=(V,pe)=>Ee=>{const{specActions:Be,configsActions:je}=Ee;if(V)return je.downloadConfig(V).then(Ge,Ge);function Ge(bt){bt instanceof Error||bt.status>=400?(Be.updateLoadingStatus("failedConfig"),Be.updateLoadingStatus("failedConfig"),Be.updateUrl(""),console.error(bt.statusText+" "+V.url),pe(null)):pe(((mt,vt)=>{try{return as.load(mt)}catch(Xt){return vt&&vt.errActions.newThrownErr(new Error(Xt)),{}}})(bt.text,Ee))}},$i=(V,pe)=>V.getIn(Array.isArray(pe)?pe:[pe]),Ui={[_r]:(V,pe)=>V.merge((0,y.fromJS)(pe.payload)),[xi]:(V,pe)=>{const Ee=pe.payload,Be=V.get(Ee);return V.set(Ee,!Be)}};var qi=qe(7248),bs=qe.n(qi),El=qe(7666),Ia=qe.n(El);const _s=console.error,is=V=>pe=>{const{getComponent:Ee,fn:Be}=V(),je=Ee("ErrorBoundary"),Ge=Be.getDisplayName(pe);class bt extends a.Component{render(){return a.createElement(je,{targetName:Ge,getComponent:Ee,fn:Be},a.createElement(pe,Ia()({},this.props,this.context)))}}var mt;return bt.displayName=`WithErrorBoundary(${Ge})`,(mt=pe).prototype&&mt.prototype.isReactComponent&&(bt.prototype.mapStateToProps=pe.prototype.mapStateToProps),bt},zi=({name:V})=>a.createElement("div",{className:"fallback"},"😱 ",a.createElement("i",null,"Could not render ",V==="t"?"this component":V,", see the console."));class Po extends a.Component{static defaultProps={targetName:"this component",getComponent:()=>zi,fn:{componentDidCatch:_s},children:null};static getDerivedStateFromError(pe){return{hasError:!0,error:pe}}constructor(...pe){super(...pe),this.state={hasError:!1,error:null}}componentDidCatch(pe,Ee){this.props.fn.componentDidCatch(pe,Ee)}render(){const{getComponent:pe,targetName:Ee,children:Be}=this.props;if(this.state.hasError){const je=pe("Fallback");return a.createElement(je,{name:Ee})}return Be}}const Vs=Po,Vi=[qt,function(){return{statePlugins:{configs:{reducers:Ui,actions:m,selectors:A}}}},d,(({componentList:V=[],fullOverride:pe=!1}={})=>({getSystem:Ee})=>{const Be=pe?V:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...V],je=bs()(Be,Array(Be.length).fill(((Ge,{fn:bt})=>bt.withErrorBoundary(Ge))));return{fn:{componentDidCatch:_s,withErrorBoundary:is(Ee)},components:{ErrorBoundary:Vs,Fallback:zi},wrapComponents:je}})({fullOverride:!0,componentList:["Topbar","StandaloneLayout","onlineValidatorBadge"]})]})(),yu=yu.default})()))})(B0)),B0.exports}var R2={exports:{}};const UU={},qU=Object.freeze(Object.defineProperty({__proto__:null,default:UU},Symbol.toStringTag,{value:"Module"})),zU=DU(qU);var M4;function R4(){return M4||(M4=1,(function(mu){const F0=function(){if(mu.exports)return zU.resolve(__dirname);throw new Error("getAbsoluteFSPath can only be called within a Nodejs environment")};mu.exports=F0})(R2)),R2.exports}var D4;function VU(){if(D4)return Xf;D4=1;try{Xf.SwaggerUIBundle=FU(),Xf.SwaggerUIStandalonePreset=$U()}catch{}return Xf.absolutePath=R4(),Xf.getAbsoluteFSPath=R4(),Xf}var B4=VU();const D2=typeof window<"u"&&window.API_CONFIG;if(!D2)throw new Error("API_CONFIG is not defined");window.ui=B4.SwaggerUIBundle({url:D2.openapiUrl,oauth2RedirectUrl:D2.callbackUrl,dom_id:"#swagger-ui",deepLinking:!0,presets:[B4.SwaggerUIBundle.presets.apis]});
|
||
//# sourceMappingURL=swagger-BYyIelJE.js.map
|