1var L7=Object.defineProperty;var lC=e=>{throw TypeError(e)};var U7=(e,t,r)=>t in e?L7(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var G=(e,t,r)=>U7(e,typeof t!="symbol"?t+"":t,r),fC=(e,t,r)=>t.has(e)||lC("Cannot "+r);var nr=(e,t,r)=>(fC(e,t,"read from private field"),r?r.call(e):t.get(e)),Js=(e,t,r)=>t.has(e)?lC("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Bo=(e,t,r,n)=>(fC(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);import{a as ut,c as en,b as Ix,R as p,r as we,y as lq}from"./index-Dpgbbcsx.js";function Px(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in e)){const i=Object.getOwnPropertyDescriptor(n,s);i&&Object.defineProperty(e,s,i.get?i:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var od={exports:{}},ad,pC;function V7(){if(pC)return ad;pC=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return ad=e,ad}var cd,hC;function z7(){if(hC)return cd;hC=1;var e=V7();function t(){}function r(){}return r.resetWarningCache=t,cd=function(){function n(o,a,c,u,l,f){if(f!==e){var d=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 d.name="Invariant Violation",d}}n.isRequired=n;function s(){return n}var i={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:s,element:n,elementType:n,instanceOf:s,node:n,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:r,resetWarningCache:t};return i.PropTypes=i,i},cd}var dC;function W7(){return dC||(dC=1,od.exports=z7()()),od.exports}var J7=W7();const bn=ut(J7);var za={},mC;function fq(){if(mC)return za;mC=1,za.byteLength=a,za.toByteArray=u,za.fromByteArray=d;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,i=n.length;s<i;++s)e[s]=n[s],t[n.charCodeAt(s)]=s;t[45]=62,t[95]=63;function o(h){var g=h.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var v=h.indexOf("=");v===-1&&(v=g);var y=v===g?0:4-v%4;return[v,y]}function a(h){var g=o(h),v=g[0],y=g[1];return(v+y)*3/4-y}function c(h,g,v){return(g+v)*3/4-v}function u(h){var g,v=o(h),y=v[0],E=v[1],b=new r(c(h,y,E)),S=0,_=E>0?y-4:y,x;for(x=0;x<_;x+=4)g=t[h.charCodeAt(x)]<<18|t[h.charCodeAt(x+1)]<<12|t[h.charCodeAt(x+2)]<<6|t[h.charCodeAt(x+3)],b[S++]=g>>16&255,b[S++]=g>>8&255,b[S++]=g&255;return E===2&&(g=t[h.charCodeAt(x)]<<2|t[h.charCodeAt(x+1)]>>4,b[S++]=g&255),E===1&&(g=t[h.charCodeAt(x)]<<10|t[h.charCodeAt(x+1)]<<4|t[h.charCodeAt(x+2)]>>2,b[S++]=g>>8&255,b[S++]=g&255),b}function l(h){return e[h>>18&63]+e[h>>12&63]+e[h>>6&63]+e[h&63]}function f(h,g,v){for(var y,E=[],b=g;b<v;b+=3)y=(h[b]<<16&16711680)+(h[b+1]<<8&65280)+(h[b+2]&255),E.push(l(y));return E.join("")}function d(h){for(var g,v=h.length,y=v%3,E=[],b=16383,S=0,_=v-y;S<_;S+=b)E.push(f(h,S,S+b>_?_:S+b));return y===1?(g=h[v-1],E.push(e[g>>2]+e[g<<4&63]+"==")):y===2&&(g=(h[v-2]<<8)+h[v-1],E.push(e[g>>10]+e[g>>4&63]+e[g<<2&63]+"=")),E.join("")}return za}var pq=fq();const H7=ut(pq),K7=Px({__proto__:null,default:H7},[pq]);var vl={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */var gC;function hq(){return gC||(gC=1,vl.read=function(e,t,r,n,s){var i,o,a=s*8-n-1,c=(1<<a)-1,u=c>>1,l=-7,f=r?s-1:0,d=r?-1:1,h=e[t+f];for(f+=d,i=h&(1<<-l)-1,h>>=-l,l+=a;l>0;i=i*256+e[t+f],f+=d,l-=8);for(o=i&(1<<-l)-1,i>>=-l,l+=n;l>0;o=o*256+e[t+f],f+=d,l-=8);if(i===0)i=1-u;else{if(i===c)return o?NaN:(h?-1:1)*(1/0);o=o+Math.pow(2,n),i=i-u}return(h?-1:1)*o*Math.pow(2,i-n)},vl.write=function(e,t,r,n,s,i){var o,a,c,u=i*8-s-1,l=(1<<u)-1,f=l>>1,d=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,g=n?1:-1,v=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,o=l):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-o))<1&&(o--,c*=2),o+f>
1=1?t+=d/c:t+=d*Math.pow(2,1-f),t*c>=2&&(o++,c/=2),o+f>=l?(a=0,o=l):o+f>=1?(a=(t*c-1)*Math.pow(2,s),o=o+f):(a=t*Math.pow(2,f-1)*Math.pow(2,s),o=0));s>=8;e[r+h]=a&255,h+=g,a/=256,s-=8);for(o=o<<s|a,u+=s;u>0;e[r+h]=o&255,h+=g,o/=256,u-=8);e[r+h-g]|=v*128}),vl}var dq=hq();const G7=ut(dq),Y7=Px({__proto__:null,default:G7},[dq]);var bl={exports:{}},ud={};/*! 2 * The buffer module from node.js, for the browser. 3 * 4 * @author Feross Aboukhadijeh <https://feross.org> 5 * @license MIT 6 */var yC;function X7(){return yC||(yC=1,(function(e){const t=fq(),r=hq(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=a,e.SlowBuffer=b,e.INSPECT_MAX_BYTES=50;const s=2147483647;e.kMaxLength=s,a.TYPED_ARRAY_SUPPORT=i(),!a.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.");function i(){try{const F=new Uint8Array(1),C={foo:function(){return 42}};return Object.setPrototypeOf(C,Uint8Array.prototype),Object.setPrototypeOf(F,C),F.foo()===42}catch{return!1}}Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}});function o(F){if(F>s)throw new RangeError('The value "'+F+'" is invalid for option "size"');const C=new Uint8Array(F);return Object.setPrototypeOf(C,a.prototype),C}function a(F,C,P){if(typeof F=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(F)}return c(F,C,P)}a.poolSize=8192;function c(F,C,P){if(typeof F=="string")return d(F,C);if(ArrayBuffer.isView(F))return g(F);if(F==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F);if(Q(F,ArrayBuffer)||F&&Q(F.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Q(F,SharedArrayBuffer)||F&&Q(F.buffer,SharedArrayBuffer)))return v(F,C,P);if(typeof F=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const H=F.valueOf&&F.valueOf();if(H!=null&&H!==F)return a.from(H,C,P);const le=y(F);if(le)return le;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof F[Symbol.toPrimitive]=="function")return a.from(F[Symbol.toPrimitive]("string"),C,P);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof F)}a.from=function(F,C,P){return c(F,C,P)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array);function u(F){if(typeof F!="number")throw new TypeError('"size" argument must be of type number');if(F<0)throw new RangeError('The value "'+F+'" is invalid for option "size"')}function l(F,C,P){return u(F),F<=0?o(F):C!==void 0?typeof P=="string"?o(F).fill(C,P):o(F).fill(C):o(F)}a.alloc=function(F,C,P){return l(F,C,P)};function f(F){return u(F),o(F<0?0:E(F)|0)}a.allocUnsafe=function(F){return f(F)},a.allocUnsafeSlow=function(F){return f(F)};function d(F,C){if((typeof C!="string"||C==="")&&(C="utf8"),!a.isEncoding(C))throw new TypeError("Unknown encoding: "+C);const P=S(F,C)|0;let H=o(P);const le=H.write(F,C);return le!==P&&(H=H.slice(0,le)),H}function h(F){const C=F.length<0?0:E(F.length)|0,P=o(C);for(let H=0;H<C;H+=1)P[H]=F[H]&255;return P}
6function g(F){if(Q(F,Uint8Array)){const C=new Uint8Array(F);return v(C.buffer,C.byteOffset,C.byteLength)}return h(F)}function v(F,C,P){if(C<0||F.byteLength<C)throw new RangeError('"offset" is outside of buffer bounds');if(F.byteLength<C+(P||0))throw new RangeError('"length" is outside of buffer bounds');let H;return C===void 0&&P===void 0?H=new Uint8Array(F):P===void 0?H=new Uint8Array(F,C):H=new Uint8Array(F,C,P),Object.setPrototypeOf(H,a.prototype),H}function y(F){if(a.isBuffer(F)){const C=E(F.length)|0,P=o(C);return P.length===0||F.copy(P,0,0,C),P}if(F.length!==void 0)return typeof F.length!="number"||oe(F.length)?o(0):h(F);if(F.type==="Buffer"&&Array.isArray(F.data))return h(F.data)}function E(F){if(F>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return F|0}function b(F){return+F!=F&&(F=0),a.alloc(+F)}a.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==a.prototype},a.compare=function(C,P){if(Q(C,Uint8Array)&&(C=a.from(C,C.offset,C.byteLength)),Q(P,Uint8Array)&&(P=a.from(P,P.offset,P.byteLength)),!a.isBuffer(C)||!a.isBuffer(P))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===P)return 0;let H=C.length,le=P.length;for(let me=0,Ae=Math.min(H,le);me<Ae;++me)if(C[me]!==P[me]){H=C[me],le=P[me];break}return H<le?-1:le<H?1:0},a.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}},a.concat=function(C,P){if(!Array.isArray(C))throw new TypeError('"list" argument must be an Array of Buffers');if(C.length===0)return a.alloc(0);let H;if(P===void 0)for(P=0,H=0;H<C.length;++H)P+=C[H].length;const le=a.allocUnsafe(P);let me=0;for(H=0;H<C.length;++H){let Ae=C[H];if(Q(Ae,Uint8Array))me+Ae.length>le.length?(a.isBuffer(Ae)||(Ae=a.from(Ae)),Ae.copy(le,me)):Uint8Array.prototype.set.call(le,Ae,me);else if(a.isBuffer(Ae))Ae.copy(le,me);else throw new TypeError('"list" argument must be an Array of Buffers');me+=Ae.length}return le};function S(F,C){if(a.isBuffer(F))return F.length;if(ArrayBuffer.isView(F)||Q(F,ArrayBuffer))return F.byteLength;if(typeof F!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof F);const P=F.length,H=arguments.length>2&&arguments[2]===!0;if(!H&&P===0)return 0;let le=!1;for(;;)switch(C){case"ascii":case"latin1":case"binary":return P;case"utf8":case"utf-8":return xe(F).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P*2;case"hex":return P>>>1;case"base64":return j(F).length;default:if(le)return H?-1:xe(F).length;C=(""+C).toLowerCase(),le=!0}}a.byteLength=S;function _(F,C,P){let H=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((P===void 0||P>this.length)&&(P=this.length),P<=0)||(P>>>=0,C>>>=0,P<=C))return"";for(F||(F="utf8");;)switch(F){case"hex":return re(this,C,P);case"utf8":case"utf-8":return U(this,C,P);case"ascii":return ee(this,C,P);case"latin1":case"binary":return ne(this,C,P);case"base64":return N(this,C,P);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Y(this,C,P);default:if(H)throw new TypeError("Unknown encoding: "+F);F=(F+"").toLowerCase(),H=!0}}a.prototype._isBuffer=!0;function x(F,C,P){const H=F[C];F[C]=F[P],F[P]=H}a.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 P=0;P<C;P+=2)x(this,P,P+1);return this},a.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 P=0;P<C;P+=4)x(this,P,P+3),x(this,P+1,P+2);return this},a.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 P=0;P<C;P+=8)x(this,P,P+7),x(this,P+1,P+6),x(this,P+2,P+5),x(this,P+3,P+4);return this},a.prototype.toString=function(){const C=this.length;return C===0?"":arguments.length===0?U(this,0,C):_.apply(this,arguments)}
6,a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(C){if(!a.isBuffer(C))throw new TypeError("Argument must be a Buffer");return this===C?!0:a.compare(this,C)===0},a.prototype.inspect=function(){let C="";const P=e.INSPECT_MAX_BYTES;return C=this.toString("hex",0,P).replace(/(.{2})/g,"$1 ").trim(),this.length>P&&(C+=" ... "),"<Buffer "+C+">"},n&&(a.prototype[n]=a.prototype.inspect),a.prototype.compare=function(C,P,H,le,me){if(Q(C,Uint8Array)&&(C=a.from(C,C.offset,C.byteLength)),!a.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(P===void 0&&(P=0),H===void 0&&(H=C?C.length:0),le===void 0&&(le=0),me===void 0&&(me=this.length),P<0||H>C.length||le<0||me>this.length)throw new RangeError("out of range index");if(le>=me&&P>=H)return 0;if(le>=me)return-1;if(P>=H)return 1;if(P>>>=0,H>>>=0,le>>>=0,me>>>=0,this===C)return 0;let Ae=me-le,ot=H-P;const ft=Math.min(Ae,ot),Mt=this.slice(le,me),dt=C.slice(P,H);for(let ue=0;ue<ft;++ue)if(Mt[ue]!==dt[ue]){Ae=Mt[ue],ot=dt[ue];break}return Ae<ot?-1:ot<Ae?1:0};function A(F,C,P,H,le){if(F.length===0)return-1;if(typeof P=="string"?(H=P,P=0):P>2147483647?P=2147483647:P<-2147483648&&(P=-2147483648),P=+P,oe(P)&&(P=le?0:F.length-1),P<0&&(P=F.length+P),P>=F.length){if(le)return-1;P=F.length-1}else if(P<0)if(le)P=0;else return-1;if(typeof C=="string"&&(C=a.from(C,H)),a.isBuffer(C))return C.length===0?-1:O(F,C,P,H,le);if(typeof C=="number")return C=C&255,typeof Uint8Array.prototype.indexOf=="function"?le?Uint8Array.prototype.indexOf.call(F,C,P):Uint8Array.prototype.lastIndexOf.call(F,C,P):O(F,[C],P,H,le);throw new TypeError("val must be string, number or Buffer")}function O(F,C,P,H,le){let me=1,Ae=F.length,ot=C.length;if(H!==void 0&&(H=String(H).toLowerCase(),H==="ucs2"||H==="ucs-2"||H==="utf16le"||H==="utf-16le")){if(F.length<2||C.length<2)return-1;me=2,Ae/=2,ot/=2,P/=2}function ft(dt,ue){return me===1?dt[ue]:dt.readUInt16BE(ue*me)}let Mt;if(le){let dt=-1;for(Mt=P;Mt<Ae;Mt++)if(ft(F,Mt)===ft(C,dt===-1?0:Mt-dt)){if(dt===-1&&(dt=Mt),Mt-dt+1===ot)return dt*me}else dt!==-1&&(Mt-=Mt-dt),dt=-1}else for(P+ot>Ae&&(P=Ae-ot),Mt=P;Mt>=0;Mt--){let dt=!0;for(let ue=0;ue<ot;ue++)if(ft(F,Mt+ue)!==ft(C,ue)){dt=!1;break}if(dt)return Mt}return-1}a.prototype.includes=function(C,P,H){return this.indexOf(C,P,H)!==-1},a.prototype.indexOf=function(C,P,H){return A(this,C,P,H,!0)},a.prototype.lastIndexOf=function(C,P,H){return A(this,C,P,H,!1)};function I(F,C,P,H){P=Number(P)||0;const le=F.length-P;H?(H=Number(H),H>le&&(H=le)):H=le;const me=C.length;H>me/2&&(H=me/2);let Ae;for(Ae=0;Ae<H;++Ae){const ot=parseInt(C.substr(Ae*2,2),16);if(oe(ot))return Ae;F[P+Ae]=ot}return Ae}function R(F,C,P,H){return z(xe(C,F.length-P),F,P,H)}function $(F,C,P,H){return z(L(C),F,P,H)}function M(F,C,P,H){return z(j(C),F,P,H)}function q(F,C,P,H){return z(T(C,F.length-P),F,P,H)}a.prototype.write=function(C,P,H,le){if(P===void 0)le="utf8",H=this.length,P=0;else if(H===void 0&&typeof P=="string")le=P,H=this.length,P=0;else if(isFinite(P))P=P>>>0,isFinite(H)?(H=H>>>0,le===void 0&&(le="utf8")):(le=H,H=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const me=this.length-P;if((H===void 0||H>me)&&(H=me),C.length>0&&(H<0||P<0)||P>this.length)throw new RangeError("Attempt to write outside buffer bounds");le||(le="utf8");let Ae=!1;for(;;)switch(le){case"hex":return I(this,C,P,H);case"utf8":case"utf-8":return R(this,C,P,H);case"ascii":case"latin1":case"binary":return $(this,C,P,H);case"base64":return M(this,C,P,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,C,P,H);default:if(Ae)throw new TypeError("Unknown encoding: "+le);le=(""+le).toLowerCase(),Ae=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function N(F,C,P){return C===0&&P===F.length?t.fromByteArray(F):t.fromByteArray(F.slice(C,P))}function U(F,C,P){P=Math.min(F.length,P);const H=[];let le=C;for(;le<P;){const me=F[le];let Ae=null,ot=me>239?4:me>223?3:me>191?2:1;if(le+ot<=P){let ft,Mt,dt,ue;switch(ot){case 1:me<128&&(Ae=me);break;case 2:ft=F[le+1],(ft&192)===128&&(ue=(me&31)<<6|ft&63,ue>127&&(Ae=ue));break;case 3:ft=F[le+1],Mt=F[le+2],(ft&192)===128&&(Mt&192)===128&&(ue=(me&15)<<12|(ft&63)<<6|Mt&63,ue>2047&&(ue<55296||ue>57343)&&(Ae=ue));break;case 4:ft=F[le+1],Mt=F[le+2],dt=F[le+3],(ft&192)===128&&(Mt&192)===128&&(dt&192)===128&&(ue=(me&15)<<18|(ft&63)<<12|(Mt&63)<<6|dt&63,ue>65535&&ue<1114112&&(Ae=ue))}}Ae===null?(Ae=65533,ot=1):Ae>65535&&(Ae-=65536,H.push(Ae>>>10&1023|55296),Ae=56320|Ae&1023),H.push(Ae),le+=ot}return J(H)}const X=4096;function J(F){const C=F.length;if(C<=X)return String.fromCharCode.apply(String,F);let P="",H=0;for(;H<C;)P+=String.fromCharCode.apply(String,F.slice(H,H+=X));return P}function ee(F,C,P){let H="";P=Math.min(F.length,P);for(let le=C;le<P;++le)H+=String.fromCharCode(F[le]&127);return H}function ne(F,C,P){let H="";P=Math.min(F.length,P);for(let le=C;le<P;++le)H+=String.fromCharCode(F[le]);return H}function re(F,C,P){const H=F.length;(!C||C<0)&&(C=0),(!P||P<0||P>H)&&(P=H);let le="";for(let me=C;me<P;++me)le+=he[F[me]];return le}function Y(F,C,P){const H=F.slice(C,P);let le="";for(let me=0;me<H.length-1;
6me+=2)le+=String.fromCharCode(H[me]+H[me+1]*256);return le}a.prototype.slice=function(C,P){const H=this.length;C=~~C,P=P===void 0?H:~~P,C<0?(C+=H,C<0&&(C=0)):C>H&&(C=H),P<0?(P+=H,P<0&&(P=0)):P>H&&(P=H),P<C&&(P=C);const le=this.subarray(C,P);return Object.setPrototypeOf(le,a.prototype),le};function ie(F,C,P){if(F%1!==0||F<0)throw new RangeError("offset is not uint");if(F+C>P)throw new RangeError("Trying to access beyond buffer length")}a.prototype.readUintLE=a.prototype.readUIntLE=function(C,P,H){C=C>>>0,P=P>>>0,H||ie(C,P,this.length);let le=this[C],me=1,Ae=0;for(;++Ae<P&&(me*=256);)le+=this[C+Ae]*me;return le},a.prototype.readUintBE=a.prototype.readUIntBE=function(C,P,H){C=C>>>0,P=P>>>0,H||ie(C,P,this.length);let le=this[C+--P],me=1;for(;P>0&&(me*=256);)le+=this[C+--P]*me;return le},a.prototype.readUint8=a.prototype.readUInt8=function(C,P){return C=C>>>0,P||ie(C,1,this.length),this[C]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(C,P){return C=C>>>0,P||ie(C,2,this.length),this[C]|this[C+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(C,P){return C=C>>>0,P||ie(C,2,this.length),this[C]<<8|this[C+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(C,P){return C=C>>>0,P||ie(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+this[C+3]*16777216},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(C,P){return C=C>>>0,P||ie(C,4,this.length),this[C]*16777216+(this[C+1]<<16|this[C+2]<<8|this[C+3])},a.prototype.readBigUInt64LE=$e(function(C){C=C>>>0,ke(C,"offset");const P=this[C],H=this[C+7];(P===void 0||H===void 0)&&Je(C,this.length-8);const le=P+this[++C]*2**8+this[++C]*2**16+this[++C]*2**24,me=this[++C]+this[++C]*2**8+this[++C]*2**16+H*2**24;return BigInt(le)+(BigInt(me)<<BigInt(32))}),a.prototype.readBigUInt64BE=$e(function(C){C=C>>>0,ke(C,"offset");const P=this[C],H=this[C+7];(P===void 0||H===void 0)&&Je(C,this.length-8);const le=P*2**24+this[++C]*2**16+this[++C]*2**8+this[++C],me=this[++C]*2**24+this[++C]*2**16+this[++C]*2**8+H;return(BigInt(le)<<BigInt(32))+BigInt(me)}),a.prototype.readIntLE=function(C,P,H){C=C>>>0,P=P>>>0,H||ie(C,P,this.length);let le=this[C],me=1,Ae=0;for(;++Ae<P&&(me*=256);)le+=this[C+Ae]*me;return me*=128,le>=me&&(le-=Math.pow(2,8*P)),le},a.prototype.readIntBE=function(C,P,H){C=C>>>0,P=P>>>0,H||ie(C,P,this.length);let le=P,me=1,Ae=this[C+--le];for(;le>0&&(me*=256);)Ae+=this[C+--le]*me;return me*=128,Ae>=me&&(Ae-=Math.pow(2,8*P)),Ae},a.prototype.readInt8=function(C,P){return C=C>>>0,P||ie(C,1,this.length),this[C]&128?(255-this[C]+1)*-1:this[C]},a.prototype.readInt16LE=function(C,P){C=C>>>0,P||ie(C,2,this.length);const H=this[C]|this[C+1]<<8;return H&32768?H|4294901760:H},a.prototype.readInt16BE=function(C,P){C=C>>>0,P||ie(C,2,this.length);const H=this[C+1]|this[C]<<8;return H&32768?H|4294901760:H},a.prototype.readInt32LE=function(C,P){return C=C>>>0,P||ie(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},a.prototype.readInt32BE=function(C,P){return C=C>>>0,P||ie(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},a.prototype.readBigInt64LE=$e(function(C){C=C>>>0,ke(C,"offset");const P=this[C],H=this[C+7];(P===void 0||H===void 0)&&Je(C,this.length-8);const le=this[C+4]+this[C+5]*2**8+this[C+6]*2**16+(H<<24);return(BigInt(le)<<BigInt(32))+BigInt(P+this[++C]*2**8+this[++C]*2**16+this[++C]*2**24)}),a.prototype.readBigInt64BE=$e(function(C){C=C>>>0,ke(C,"offset");const P=this[C],H=this[C+7];(P===void 0||H===void 0)&&Je(C,this.length-8);const le=(P<<24)+this[++C]*2**16+this[++C]*2**8+this[++C];return(BigInt(le)<<BigInt(32))+BigInt(this[++C]*2**24+this[++C]*2**16+this[++C]*2**8+H)}),a.prototype.readFloatLE=function(C,P){return C=C>>>0,P||ie(C,4,this.length),r.read(this,C,!0,23,4)},a.prototype.readFloatBE=function(C,P){return C=C>>>0,P||ie(C,4,this.length),r.read(this,C,!1,23,4)},a.prototype.readDoubleLE=function(C,P){return C=C>>>0,P||ie(C,8,this.length),r.read(this,C,!0,52,8)},a.prototype.readDoubleBE=function(C,P){return C=C>>>0,P||ie(C,8,this.length),r.read(this,C,!1,52,8)};function ce(F,C,P,H,le,me){if(!a.isBuffer(F))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>le||C<me)throw new RangeError('"value" argument is out of bounds');if(P+H>F.length)throw new RangeError("Index out of range")}a.prototype.writeUintLE=a.prototype.writeUIntLE=function(C,P,H,le){if(C=+C,P=P>>>0,H=H>>>0,!le){const ot=Math.pow(2,8*H)-1;ce(this,C,P,H,ot,0)}let me=1,Ae=0;for(this[P]=C&255;++Ae<H&&(me*=256);)this[P+Ae]=C/me&255;return P+H},a.prototype.writeUintBE=a.prototype.writeUIntBE=function(C,P,H,le){if(C=+C,P=P>>>0,H=H>>>0,!le){const ot=Math.pow(2,8*H)-1;ce(this,C,P,H,ot,0)}let me=H-1,Ae=1;
6for(this[P+me]=C&255;--me>=0&&(Ae*=256);)this[P+me]=C/Ae&255;return P+H},a.prototype.writeUint8=a.prototype.writeUInt8=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,1,255,0),this[P]=C&255,P+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,2,65535,0),this[P]=C&255,this[P+1]=C>>>8,P+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,2,65535,0),this[P]=C>>>8,this[P+1]=C&255,P+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,4,4294967295,0),this[P+3]=C>>>24,this[P+2]=C>>>16,this[P+1]=C>>>8,this[P]=C&255,P+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,4,4294967295,0),this[P]=C>>>24,this[P+1]=C>>>16,this[P+2]=C>>>8,this[P+3]=C&255,P+4};function ge(F,C,P,H,le){Re(C,H,le,F,P,7);let me=Number(C&BigInt(4294967295));F[P++]=me,me=me>>8,F[P++]=me,me=me>>8,F[P++]=me,me=me>>8,F[P++]=me;let Ae=Number(C>>BigInt(32)&BigInt(4294967295));return F[P++]=Ae,Ae=Ae>>8,F[P++]=Ae,Ae=Ae>>8,F[P++]=Ae,Ae=Ae>>8,F[P++]=Ae,P}function de(F,C,P,H,le){Re(C,H,le,F,P,7);let me=Number(C&BigInt(4294967295));F[P+7]=me,me=me>>8,F[P+6]=me,me=me>>8,F[P+5]=me,me=me>>8,F[P+4]=me;let Ae=Number(C>>BigInt(32)&BigInt(4294967295));return F[P+3]=Ae,Ae=Ae>>8,F[P+2]=Ae,Ae=Ae>>8,F[P+1]=Ae,Ae=Ae>>8,F[P]=Ae,P+8}a.prototype.writeBigUInt64LE=$e(function(C,P=0){return ge(this,C,P,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=$e(function(C,P=0){return de(this,C,P,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(C,P,H,le){if(C=+C,P=P>>>0,!le){const ft=Math.pow(2,8*H-1);ce(this,C,P,H,ft-1,-ft)}let me=0,Ae=1,ot=0;for(this[P]=C&255;++me<H&&(Ae*=256);)C<0&&ot===0&&this[P+me-1]!==0&&(ot=1),this[P+me]=(C/Ae>>0)-ot&255;return P+H},a.prototype.writeIntBE=function(C,P,H,le){if(C=+C,P=P>>>0,!le){const ft=Math.pow(2,8*H-1);ce(this,C,P,H,ft-1,-ft)}let me=H-1,Ae=1,ot=0;for(this[P+me]=C&255;--me>=0&&(Ae*=256);)C<0&&ot===0&&this[P+me+1]!==0&&(ot=1),this[P+me]=(C/Ae>>0)-ot&255;return P+H},a.prototype.writeInt8=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,1,127,-128),C<0&&(C=255+C+1),this[P]=C&255,P+1},a.prototype.writeInt16LE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,2,32767,-32768),this[P]=C&255,this[P+1]=C>>>8,P+2},a.prototype.writeInt16BE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,2,32767,-32768),this[P]=C>>>8,this[P+1]=C&255,P+2},a.prototype.writeInt32LE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,4,2147483647,-2147483648),this[P]=C&255,this[P+1]=C>>>8,this[P+2]=C>>>16,this[P+3]=C>>>24,P+4},a.prototype.writeInt32BE=function(C,P,H){return C=+C,P=P>>>0,H||ce(this,C,P,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),this[P]=C>>>24,this[P+1]=C>>>16,this[P+2]=C>>>8,this[P+3]=C&255,P+4},a.prototype.writeBigInt64LE=$e(function(C,P=0){return ge(this,C,P,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=$e(function(C,P=0){return de(this,C,P,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ae(F,C,P,H,le,me){if(P+H>F.length)throw new RangeError("Index out of range");if(P<0)throw new RangeError("Index out of range")}function W(F,C,P,H,le){return C=+C,P=P>>>0,le||ae(F,C,P,4),r.write(F,C,P,H,23,4),P+4}a.prototype.writeFloatLE=function(C,P,H){return W(this,C,P,!0,H)},a.prototype.writeFloatBE=function(C,P,H){return W(this,C,P,!1,H)};function V(F,C,P,H,le){return C=+C,P=P>>>0,le||ae(F,C,P,8),r.write(F,C,P,H,52,8),P+8}a.prototype.writeDoubleLE=function(C,P,H){return V(this,C,P,!0,H)},a.prototype.writeDoubleBE=function(C,P,H){return V(this,C,P,!1,H)},a.prototype.copy=function(C,P,H,le){if(!a.isBuffer(C))throw new TypeError("argument should be a Buffer");if(H||(H=0),!le&&le!==0&&(le=this.length),P>=C.length&&(P=C.length),P||(P=0),le>0&&le<H&&(le=H),le===H||C.length===0||this.length===0)return 0;if(P<0)throw new RangeError("targetStart out of bounds");if(H<0||H>=this.length)throw new RangeError("Index out of range");if(le<0)throw new RangeError("sourceEnd out of bounds");le>this.length&&(le=this.length),C.length-P<le-H&&(le=C.length-P+H);const me=le-H;return this===C&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(P,H,le):Uint8Array.prototype.set.call(C,this.subarray(H,le),P),me},a.prototype.fill=function(C,P,H,le){if(typeof C=="string"){if(typeof P=="string"?(le=P,P=0,H=this.length):typeof H=="string"&&(le=H,H=this.length),le!==void 0&&typeof le!="string")throw new TypeError("encoding must be a string");if(typeof le=="string"&&!a.isEncoding(le))throw new TypeError("Unknown encoding: "+le);if(C.length===1){const Ae=C.charCodeAt(0);(le==="utf8"&&Ae<128||le==="latin1")&&(C=Ae)}}else typeof C=="number"?C=C&255:typeof C=="boolean"&&(C=Number(C));if(P<0||this.length<P||this.length<H)throw new RangeError("Out of range index");if(H<=P)return this;P=P>>>0,H=H===void 0?this.length:H>>>0,C||(C=0);let me;if(typeof C=="number")for(me=P;me<H;++me)this[me]=C;else{const Ae=a.isBuffer(C)?C:a.from(C,le),ot=Ae.length;
6if(ot===0)throw new TypeError('The value "'+C+'" is invalid for argument "value"');for(me=0;me<H-P;++me)this[me+P]=Ae[me%ot]}return this};const fe={};function ye(F,C,P){fe[F]=class extends P{constructor(){super(),Object.defineProperty(this,"message",{value:C.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${F}]`,this.stack,delete this.name}get code(){return F}set code(le){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:le,writable:!0})}toString(){return`${this.name} [${F}]: ${this.message}`}}}ye("ERR_BUFFER_OUT_OF_BOUNDS",function(F){return F?`${F} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ye("ERR_INVALID_ARG_TYPE",function(F,C){return`The "${F}" argument must be of type number. Received type ${typeof C}`},TypeError),ye("ERR_OUT_OF_RANGE",function(F,C,P){let H=`The value of "${F}" is out of range.`,le=P;return Number.isInteger(P)&&Math.abs(P)>2**32?le=De(String(P)):typeof P=="bigint"&&(le=String(P),(P>BigInt(2)**BigInt(32)||P<-(BigInt(2)**BigInt(32)))&&(le=De(le)),le+="n"),H+=` It must be ${C}. Received ${le}`,H},RangeError);function De(F){let C="",P=F.length;const H=F[0]==="-"?1:0;for(;P>=H+4;P-=3)C=`_${F.slice(P-3,P)}${C}`;return`${F.slice(0,P)}${C}`}function Fe(F,C,P){ke(C,"offset"),(F[C]===void 0||F[C+P]===void 0)&&Je(C,F.length-(P+1))}function Re(F,C,P,H,le,me){if(F>P||F<C){const Ae=typeof C=="bigint"?"n":"";let ot;throw C===0||C===BigInt(0)?ot=`>= 0${Ae} and < 2${Ae} ** ${(me+1)*8}${Ae}`:ot=`>= -(2${Ae} ** ${(me+1)*8-1}${Ae}) and < 2 ** ${(me+1)*8-1}${Ae}`,new fe.ERR_OUT_OF_RANGE("value",ot,F)}Fe(H,le,me)}function ke(F,C){if(typeof F!="number")throw new fe.ERR_INVALID_ARG_TYPE(C,"number",F)}function Je(F,C,P){throw Math.floor(F)!==F?(ke(F,P),new fe.ERR_OUT_OF_RANGE("offset","an integer",F)):C<0?new fe.ERR_BUFFER_OUT_OF_BOUNDS:new fe.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${C}`,F)}const be=/[^+/0-9A-Za-z-_]/g;function Ee(F){if(F=F.split("=")[0],F=F.trim().replace(be,""),F.length<2)return"";for(;F.length%4!==0;)F=F+"=";return F}function xe(F,C){C=C||1/0;let P;const H=F.length;let le=null;const me=[];for(let Ae=0;Ae<H;++Ae){if(P=F.charCodeAt(Ae),P>55295&&P<57344){if(!le){if(P>56319){(C-=3)>-1&&me.push(239,191,189);continue}else if(Ae+1===H){(C-=3)>-1&&me.push(239,191,189);continue}le=P;continue}if(P<56320){(C-=3)>-1&&me.push(239,191,189),le=P;continue}P=(le-55296<<10|P-56320)+65536}else le&&(C-=3)>-1&&me.push(239,191,189);if(le=null,P<128){if((C-=1)<0)break;me.push(P)}else if(P<2048){if((C-=2)<0)break;me.push(P>>6|192,P&63|128)}else if(P<65536){if((C-=3)<0)break;me.push(P>>12|224,P>>6&63|128,P&63|128)}else if(P<1114112){if((C-=4)<0)break;me.push(P>>18|240,P>>12&63|128,P>>6&63|128,P&63|128)}else throw new Error("Invalid code point")}return me}function L(F){const C=[];for(let P=0;P<F.length;++P)C.push(F.charCodeAt(P)&255);return C}function T(F,C){let P,H,le;const me=[];for(let Ae=0;Ae<F.length&&!((C-=2)<0);++Ae)P=F.charCodeAt(Ae),H=P>>8,le=P%256,me.push(le),me.push(H);return me}function j(F){return t.toByteArray(Ee(F))}function z(F,C,P,H){let le;for(le=0;le<H&&!(le+P>=C.length||le>=F.length);++le)C[le+P]=F[le];return le}function Q(F,C){return F instanceof C||F!=null&&F.constructor!=null&&F.constructor.name!=null&&F.constructor.name===C.name}function oe(F){return F!==F}const he=(function(){const F="0123456789abcdef",C=new Array(256);for(let P=0;P<16;++P){const H=P*16;for(let le=0;le<16;++le)C[H+le]=F[P]+F[le]}return C})();function $e(F){return typeof BigInt>"u"?tt:F}function tt(){throw new Error("BigInt not supported")}})(ud)),ud}/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var vC;function Z7(){return vC||(vC=1,(function(e,t){var r=X7(),n=r.Buffer;function s(o,a){for(var c in o)a[c]=o[c]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(s(r,t),t.Buffer=i);function i(o,a,c){return n(o,a,c)}i.prototype=Object.create(n.prototype),s(n,i),i.from=function(o,a,c){if(typeof o=="number")throw new TypeError("Argument must not be a number");return n(o,a,c)},i.alloc=function(o,a,c){if(typeof o!="number")throw new TypeError("Argument must be a number");var u=n(o);return a!==void 0?typeof c=="string"?u.fill(a,c):u.fill(a):u.fill(0),u}
vendor: 12,000 bytes, line 6
6,i.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n(o)},i.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(o)}})(bl,bl.exports)),bl.exports}var ld,bC;function Q7(){if(bC)return ld;bC=1;var e={}.toString;return ld=Array.isArray||function(t){return e.call(t)=="[object Array]"},ld}var fd,EC;function Dc(){return EC||(EC=1,fd=TypeError),fd}var pd,SC;function mq(){return SC||(SC=1,pd=Object),pd}var hd,_C;function eV(){return _C||(_C=1,hd=Error),hd}var dd,wC;function tV(){return wC||(wC=1,dd=EvalError),dd}var md,xC;function rV(){return xC||(xC=1,md=RangeError),md}var gd,AC;function nV(){return AC||(AC=1,gd=ReferenceError),gd}var yd,OC;function gq(){return OC||(OC=1,yd=SyntaxError),yd}var vd,CC;function sV(){return CC||(CC=1,vd=URIError),vd}var bd,RC;function iV(){return RC||(RC=1,bd=Math.abs),bd}var Ed,TC;function oV(){return TC||(TC=1,Ed=Math.floor),Ed}var Sd,IC;function aV(){return IC||(IC=1,Sd=Math.max),Sd}var _d,PC;function cV(){return PC||(PC=1,_d=Math.min),_d}var wd,jC;function uV(){return jC||(jC=1,wd=Math.pow),wd}var xd,kC;function lV(){return kC||(kC=1,xd=Math.round),xd}var Ad,NC;function fV(){return NC||(NC=1,Ad=Number.isNaN||function(t){return t!==t}),Ad}var Od,MC;function pV(){if(MC)return Od;MC=1;var e=fV();return Od=function(r){return e(r)||r===0?r:r<0?-1:1},Od}var Cd,DC;function hV(){return DC||(DC=1,Cd=Object.getOwnPropertyDescriptor),Cd}var Rd,$C;function $c(){if($C)return Rd;$C=1;var e=hV();if(e)try{e([],"length")}catch{e=null}return Rd=e,Rd}var Td,FC;function yp(){if(FC)return Td;FC=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return Td=e,Td}var Id,qC;function yq(){return qC||(qC=1,Id=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var s=42;t[r]=s;for(var i in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var a=Object.getOwnPropertyDescriptor(t,r);if(a.value!==s||a.enumerable!==!0)return!1}return!0}),Id}var Pd,BC;function dV(){if(BC)return Pd;BC=1;var e=typeof Symbol<"u"&&Symbol,t=yq();return Pd=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},Pd}var jd,LC;function vq(){return LC||(LC=1,jd=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),jd}var kd,UC;function bq(){if(UC)return kd;UC=1;var e=mq();return kd=e.getPrototypeOf||null,kd}var Nd,VC;function mV(){if(VC)return Nd;VC=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",s=function(c,u){for(var l=[],f=0;f<c.length;f+=1)l[f]=c[f];for(var d=0;d<u.length;d+=1)l[d+c.length]=u[d];return l},i=function(c,u){for(var l=[],f=u,d=0;f<c.length;f+=1,d+=1)l[d]=c[f];return l},o=function(a,c){for(var u="",l=0;l<a.length;l+=1)u+=a[l],l+1<a.length&&(u+=c);return u};return Nd=function(c){var u=this;if(typeof u!="function"||t.apply(u)!==n)throw new TypeError(e+u);for(var l=i(arguments,1),f,d=function(){if(this instanceof f){var E=u.apply(this,s(l,arguments));return Object(E)===E?E:this}return u.apply(c,s(l,arguments))},h=r(0,u.length-l.length),g=[],v=0;v<h;v++)g[v]="$"+v;if(f=Function("binder","return function ("+o(g,",")+"){ return binder.apply(this,arguments); }")(d),u.prototype){var y=function(){};y.prototype=u.prototype,f.prototype=new y,y.prototype=null}return f},Nd}var Md,zC;function Fc(){if(zC)return Md;zC=1;var e=mV();return Md=Function.prototype.bind||e,Md}var Dd,WC;function jx(){return WC||(WC=1,Dd=Function.prototype.call),Dd}var $d,JC;function kx(){return JC||(JC=1,$d=Function.prototype.apply),$d}var Fd,HC;function gV(){return HC||(HC=1,Fd=typeof Reflect<"u"&&Reflect&&Reflect.apply),Fd}var qd,KC;function Eq(){if(KC)return qd;KC=1;var e=Fc(),t=kx(),r=jx(),n=gV();return qd=n||e.call(r,t),qd}var Bd,GC;function Nx(){if(GC)return Bd;GC=1;var e=Fc(),t=Dc(),r=jx(),n=Eq();return Bd=function(i){if(i.length<1||typeof i[0]!="function")throw new t("a function is required");return n(e,r,i)},Bd}var Ld,YC;function yV(){if(YC)return Ld;YC=1;var e=Nx(),t=$c(),r;try{r=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!r&&t&&t(Object.prototype,"__proto__"),s=Object,i=s.getPrototypeOf;return Ld=n&&typeof n.get=="function"?e([n.get]):typeof i=="function"?function(a){return i(a==null?a:s(a))}:!1,Ld}var Ud,XC;function Sq(){if(XC)return Ud;XC=1;var e=vq(),t=bq(),r=yV();return Ud=e?function(s){return e(s)}:t?function(s){if(!s||typeof s!="object"&&typeof s!="function")throw new TypeError("getProto: not an object");return t(s)}:r?function(s){return r(s)}:null,Ud}var Vd,ZC;function vV(){if(ZC)return Vd;ZC=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Fc();return Vd=r.call(e,t),Vd}var zd,QC;function _q(){if(QC)return zd;QC=1;var e,t=mq(),r=eV(),n=tV(),s=rV(),i=nV(),o=gq(),a=Dc(),c=sV(),u=iV(),l=oV(),f=aV(),d=cV(),h=uV(),g=lV(),v=pV(),y=Function,E=function(ye){try{return y('"use strict"; return ('+ye+").constructor;")()}catch{}},b=$c(),S=yp(),_=function(){throw new a},x=b?(function(){try{return arguments.callee,_}catch{try{return b(arguments,"callee").get}catch{return _}}})():_,A=dV()(),O=Sq(),I=bq(),R=vq(),$=kx(),M=jx(),q={},N=typeof Uint8Array>"u"||!O?e:O(Uint8Array),U={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":A&&O?O([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":q,"%AsyncGenerator%":q,"%AsyncGeneratorFunction%":q,"%AsyncIteratorPrototype%":q,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":q,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A&&O?O(O([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!A||!O?e:O(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":s,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!A||!O?e:O(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&O?O(""[Symbol.iterator]()):e,"%Symbol%":A?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":x,"%TypedArray%":N,"%TypeError%":a,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":c,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":M,"%Function.prototype.apply%":$,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":I,"%Math.abs%":u,"%Math.floor%":l,"%Math.max%":f,"%Math.min%":d,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":v,"%Reflect.getPrototypeOf%":R};if(O)try{null.error}catch(ye){var X=O(O(ye));U["%Error.prototype%"]=X}var J=function ye(De){var Fe;if(De==="%AsyncFunction%")Fe=E("async function () {}");else if(De==="%GeneratorFunction%")Fe=E("function* () {}");else if(De==="%AsyncGeneratorFunction%")Fe=E("async function* () {}");else if(De==="%AsyncGenerator%"){var Re=ye("%AsyncGeneratorFunction%");Re&&(Fe=Re.prototype)}else if(De==="%AsyncIteratorPrototype%"){var ke=ye("%AsyncGenerator%");ke&&O&&(Fe=O(ke.prototype))}return U[De]=Fe,Fe},ee={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ne=Fc(),re=vV(),Y=ne.call(M,Array.prototype.concat),ie=ne.call($,Array.prototype.splice),ce=ne.call(M,String.prototype.replace),ge=ne.call(M,String.prototype.slice),de=ne.call(M,RegExp.prototype.exec),ae=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,V=function(De){var Fe=ge(De,0,1
6),Re=ge(De,-1);if(Fe==="%"&&Re!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(Re==="%"&&Fe!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var ke=[];return ce(De,ae,function(Je,be,Ee,xe){ke[ke.length]=Ee?ce(xe,W,"$1"):be||Je}),ke},fe=function(De,Fe){var Re=De,ke;if(re(ee,Re)&&(ke=ee[Re],Re="%"+ke[0]+"%"),re(U,Re)){var Je=U[Re];if(Je===q&&(Je=J(Re)),typeof Je>"u"&&!Fe)throw new a("intrinsic "+De+" exists, but is not available. Please file an issue!");return{alias:ke,name:Re,value:Je}}throw new o("intrinsic "+De+" does not exist!")};return zd=function(De,Fe){if(typeof De!="string"||De.length===0)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Fe!="boolean")throw new a('"allowMissing" argument must be a boolean');if(de(/^%?[^%]*%?$/,De)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Re=V(De),ke=Re.length>0?Re[0]:"",Je=fe("%"+ke+"%",Fe),be=Je.name,Ee=Je.value,xe=!1,L=Je.alias;L&&(ke=L[0],ie(Re,Y([0,1],L)));for(var T=1,j=!0;T<Re.length;T+=1){var z=Re[T],Q=ge(z,0,1),oe=ge(z,-1);if((Q==='"'||Q==="'"||Q==="`"||oe==='"'||oe==="'"||oe==="`")&&Q!==oe)throw new o("property names with quotes must have matching quotes");if((z==="constructor"||!j)&&(xe=!0),ke+="."+z,be="%"+ke+"%",re(U,be))Ee=U[be];else if(Ee!=null){if(!(z in Ee)){if(!Fe)throw new a("base intrinsic for "+De+" exists, but the property is not available.");return}if(b&&T+1>=Re.length){var he=b(Ee,z);j=!!he,j&&"get"in he&&!("originalValue"in he.get)?Ee=he.get:Ee=Ee[z]}else j=re(Ee,z),Ee=Ee[z];j&&!xe&&(U[be]=Ee)}}return Ee},zd}var Wd,eR;function wq(){if(eR)return Wd;eR=1;var e=_q(),t=Nx(),r=t([e("%String.prototype.indexOf%")]);return Wd=function(s,i){var o=e(s,!!i);return typeof o=="function"&&r(s,".prototype.")>-1?t([o]):o},Wd}var Jd,tR;function bV(){if(tR)return Jd;tR=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(b){b!==n&&(t=null)}else t=null;var s=/^\s*class\b/,i=function(S){try{var _=e.call(S);return s.test(_)}catch{return!1}},o=function(S){try{return i(S)?!1:(e.call(S),!0)}catch{return!1}},a=Object.prototype.toString,c="[object Object]",u="[object Function]",l="[object GeneratorFunction]",f="[object HTMLAllCollection]",d="[object HTML document.all class]",h="[object HTMLCollection]",g=typeof Symbol=="function"&&!!Symbol.toStringTag,v=!(0 in[,]),y=function(){return!1};if(typeof document=="object"){var E=document.all;a.call(E)===a.call(document.all)&&(y=function(S){if((v||!S)&&(typeof S>"u"||typeof S=="object"))try{var _=a.call(S);return(_===f||_===d||_===h||_===c)&&S("")==null}catch{}return!1})}return Jd=t?function(S){if(y(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;try{t(S,null,r)}catch(_){if(_!==n)return!1}return!i(S)&&o(S)}:function(S){if(y(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;if(g)return o(S);if(i(S))return!1;var _=a.call(S);return _!==u&&_!==l&&!/^\[object HTML/.test(_)?!1:o(S)},Jd}var Hd,rR;function EV(){if(rR)return Hd;rR=1;var e=bV(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(c,u,l){for(var f=0,d=c.length;f<d;f++)r.call(c,f)&&(l==null?u(c[f],f,c):u.call(l,c[f],f,c))},s=function(c,u,l){for(var f=0,d=c.length;f<d;f++)l==null?u(c.charAt(f),f,c):u.call(l,c.charAt(f),f,c)},i=function(c,u,l){for(var f in c)r.call(c,f)&&(l==null?u(c[f],f,c):u.call(l,c[f],f,c))};function o(a){return t.call(a)==="[object Array]"}return Hd=function(c,u,l){if(!e(u))throw new TypeError("iterator must be a function");var f;arguments.length>=3&&(f=l),o(c)?n(c,u,f):typeof c=="string"?s(c,u,f):i(c,u,f)},Hd}var Kd,nR;function SV(){return nR||(nR=1,Kd=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),Kd}var Gd,sR;function _V(){if(sR)return Gd;sR=1;var e=SV(),t=typeof globalThis>"u"?en:globalThis;return Gd=function(){for(var n=[],s=0;s<e.length;s++)typeof t[e[s]]=="function"&&(n[n.length]=e[s]);return n},Gd}var Yd={exports:{}},Xd,iR;function wV(){if(iR)return Xd;iR=1;var e=yp(),t=gq(),r=Dc(),n=$c();return Xd=function(i,o,a){if(!i||typeof i!="object"&&typeof i!="function")throw new r("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new r("`property` must be a string or a symbol`");
6if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var c=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,f=arguments.length>6?arguments[6]:!1,d=!!n&&n(i,o);if(e)e(i,o,{configurable:l===null&&d?d.configurable:!l,enumerable:c===null&&d?d.enumerable:!c,value:a,writable:u===null&&d?d.writable:!u});else if(f||!c&&!u&&!l)i[o]=a;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Xd}var Zd,oR;function xV(){if(oR)return Zd;oR=1;var e=yp(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},Zd=t,Zd}var Qd,aR;function AV(){if(aR)return Qd;aR=1;var e=_q(),t=wV(),r=xV()(),n=$c(),s=Dc(),i=e("%Math.floor%");return Qd=function(a,c){if(typeof a!="function")throw new s("`fn` is not a function");if(typeof c!="number"||c<0||c>4294967295||i(c)!==c)throw new s("`length` must be a positive 32-bit integer");var u=arguments.length>2&&!!arguments[2],l=!0,f=!0;if("length"in a&&n){var d=n(a,"length");d&&!d.configurable&&(l=!1),d&&!d.writable&&(f=!1)}return(l||f||!u)&&(r?t(a,"length",c,!0,!0):t(a,"length",c)),a},Qd}var em,cR;function OV(){if(cR)return em;cR=1;var e=Fc(),t=kx(),r=Eq();return em=function(){return r(e,t,arguments)},em}var uR;function CV(){return uR||(uR=1,(function(e){var t=AV(),r=yp(),n=Nx(),s=OV();e.exports=function(o){var a=n(arguments),c=1+o.length-(arguments.length-1);return t(a,c>0?c:0,!0)},r?r(e.exports,"apply",{value:s}):e.exports.apply=s})(Yd)),Yd.exports}var tm,lR;function RV(){if(lR)return tm;lR=1;var e=yq();return tm=function(){return e()&&!!Symbol.toStringTag},tm}var rm,fR;function TV(){if(fR)return rm;fR=1;var e=EV(),t=_V(),r=CV(),n=wq(),s=$c(),i=Sq(),o=n("Object.prototype.toString"),a=RV()(),c=typeof globalThis>"u"?en:globalThis,u=t(),l=n("String.prototype.slice"),f=n("Array.prototype.indexOf",!0)||function(y,E){for(var b=0;b<y.length;b+=1)if(y[b]===E)return b;return-1},d={__proto__:null};a&&s&&i?e(u,function(v){var y=new c[v];if(Symbol.toStringTag in y&&i){var E=i(y),b=s(E,Symbol.toStringTag);if(!b&&E){var S=i(E);b=s(S,Symbol.toStringTag)}if(b&&b.get){var _=r(b.get);d["$"+v]=_}}}):e(u,function(v){var y=new c[v],E=y.slice||y.set;if(E){var b=r(E);d["$"+v]=b}});var h=function(y){var E=!1;return e(d,function(b,S){if(!E)try{"$"+b(y)===S&&(E=l(S,1))}catch{}}),E},g=function(y){var E=!1;return e(d,function(b,S){if(!E)try{b(y),E=l(S,1)}catch{}}),E};return rm=function(y){if(!y||typeof y!="object")return!1;if(!a){var E=l(o(y),8,-1);return f(u,E)>-1?E:E!=="Object"?!1:g(y)}return s?h(y):null},rm}var nm,pR;function IV(){if(pR)return nm;pR=1;var e=TV();return nm=function(r){return!!e(r)},nm}var sm,hR;function PV(){if(hR)return sm;hR=1;var e=Dc(),t=wq(),r=t("TypedArray.prototype.buffer",!0),n=IV();return sm=r||function(i){if(!n(i))throw new e("Not a Typed Array");return i.buffer},sm}var im,dR;function jV(){if(dR)return im;dR=1;var e=Z7().Buffer,t=Q7(),r=PV(),n=ArrayBuffer.isView||function(c){try{return r(c),!0}catch{return!1}},s=typeof Uint8Array<"u",i=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",o=i&&(e.prototype instanceof Uint8Array||e.TYPED_ARRAY_SUPPORT);return im=function(c,u){if(e.isBuffer(c))return c.constructor&&!("isBuffer"in c)?e.from(c):c;if(typeof c=="string")return e.from(c,u);if(i&&n(c)){if(c.byteLength===0)return e.alloc(0);if(o){var l=e.from(c.buffer,c.byteOffset,c.byteLength);if(l.byteLength===c.byteLength)return l}var f=c instanceof Uint8Array?c:new Uint8Array(c.buffer,c.byteOffset,c.byteLength),d=e.from(f);if(d.length===c.byteLength)return d}if(s&&c instanceof Uint8Array)return e.from(c);var h=t(c);if(h)for(var g=0;g<c.length;g+=1){var v=c[g];if(typeof v!="number"||v<0||v>255||~~v!==v)throw new RangeError("Array items must be numbers in the range 0-255.")}if(h||e.isBuffer(c)&&c.constructor&&typeof c.constructor.isBuffer=="function"&&c.constructor.isBuffer(c))return e.from(c);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},im}var xq=jV();const kV=ut(xq),NV=Px({__proto__:null,default:kV},[xq]);function cn(e){return`Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `}var MV=typeof Symbol=="function"&&Symbol.observable||"@@observable",mR=MV,gR=()=>Math.random().toString(36).substring(7).split("").join("."),DV={INIT:`@@redux/INIT${gR()}`,REPLACE:`@@redux/REPLACE${gR()}`},yR=DV;function $V(e){if(typeof e!="object"||e===null)return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||Object.getPrototypeOf(e)===null}function Aq(e,t,r){if(typeof e!="function")throw new Error(cn(2));if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(cn(0));if(typeof t=="function"&&typeof r>"u"&&(r=t,t=void 0),typeof r<"u"){if(typeof r!="function")throw new Error(cn(1));return r(Aq)(e,t)}
6let n=e,s=t,i=new Map,o=i,a=0,c=!1;function u(){o===i&&(o=new Map,i.forEach((y,E)=>{o.set(E,y)}))}function l(){if(c)throw new Error(cn(3));return s}function f(y){if(typeof y!="function")throw new Error(cn(4));if(c)throw new Error(cn(5));let E=!0;u();const b=a++;return o.set(b,y),function(){if(E){if(c)throw new Error(cn(6));E=!1,u(),o.delete(b),i=null}}}function d(y){if(!$V(y))throw new Error(cn(7));if(typeof y.type>"u")throw new Error(cn(8));if(typeof y.type!="string")throw new Error(cn(17));if(c)throw new Error(cn(9));try{c=!0,s=n(s,y)}finally{c=!1}return(i=o).forEach(b=>{b()}),y}function h(y){if(typeof y!="function")throw new Error(cn(10));n=y,d({type:yR.REPLACE})}function g(){const y=f;return{subscribe(E){if(typeof E!="object"||E===null)throw new Error(cn(11));function b(){const _=E;_.next&&_.next(l())}return b(),{unsubscribe:y(b)}},[mR](){return this}}}return d({type:yR.INIT}),{dispatch:d,subscribe:f,getState:l,replaceReducer:h,[mR]:g}}function vR(e,t){return function(...r){return t(e.apply(this,r))}}function FV(e,t){if(typeof e=="function")return vR(e,t);if(typeof e!="object"||e===null)throw new Error(cn(16));const r={};for(const n in e){const s=e[n];typeof s=="function"&&(r[n]=vR(s,t))}return r}function Mx(...e){return e.length===0?t=>t:e.length===1?e[0]:e.reduce((t,r)=>(...n)=>t(r(...n)))}function qV(...e){return t=>(r,n)=>{const s=t(r,n);let i=()=>{throw new Error(cn(15))};const o={getState:s.getState,dispatch:(c,...u)=>i(c,...u)},a=e.map(c=>c(o));return i=Mx(...a)(s.dispatch),{...s,dispatch:i}}}var Ll={exports:{}},BV=Ll.exports,bR;function vp(){return bR||(bR=1,(function(e,t){(function(r,n){e.exports=n()})(BV,function(){var r=Array.prototype.slice;function n(m,w){w&&(m.prototype=Object.create(w.prototype)),m.prototype.constructor=m}function s(m){return c(m)?m:ke(m)}n(i,s);function i(m){return u(m)?m:Je(m)}n(o,s);function o(m){return l(m)?m:be(m)}n(a,s);function a(m){return c(m)&&!f(m)?m:Ee(m)}function c(m){return!!(m&&m[h])}function u(m){return!!(m&&m[g])}function l(m){return!!(m&&m[v])}function f(m){return u(m)||l(m)}function d(m){return!!(m&&m[y])}s.isIterable=c,s.isKeyed=u,s.isIndexed=l,s.isAssociative=f,s.isOrdered=d,s.Keyed=i,s.Indexed=o,s.Set=a;var h="@@__IMMUTABLE_ITERABLE__@@",g="@@__IMMUTABLE_KEYED__@@",v="@@__IMMUTABLE_INDEXED__@@",y="@@__IMMUTABLE_ORDERED__@@",E="delete",b=5,S=1<<b,_=S-1,x={},A={value:!1},O={value:!1};function I(m){return m.value=!1,m}function R(m){m&&(m.value=!0)}function $(){}function M(m,w){w=w||0;for(var k=Math.max(0,m.length-w),D=new Array(k),B=0;B<k;B++)D[B]=m[B+w];return D}function q(m){return m.size===void 0&&(m.size=m.__iterate(U)),m.size}function N(m,w){if(typeof w!="number"){var k=w>>>0;if(""+k!==w||k===4294967295)return NaN;w=k}return w<0?q(m)+w:w}function U(){return!0}function X(m,w,k){return(m===0||k!==void 0&&m<=-k)&&(w===void 0||k!==void 0&&w>=k)}function J(m,w){return ne(m,w,0)}function ee(m,w){return ne(m,w,w)}function ne(m,w,k){return m===void 0?k:m<0?Math.max(0,w+m):w===void 0?m:Math.min(w,m)}var re=0,Y=1,ie=2,ce=typeof Symbol=="function"&&Symbol.iterator,ge="@@iterator",de=ce||ge;function ae(m){this.next=m}ae.prototype.toString=function(){return"[Iterator]"},ae.KEYS=re,ae.VALUES=Y,ae.ENTRIES=ie,ae.prototype.inspect=ae.prototype.toSource=function(){return this.toString()},ae.prototype[de]=function(){return this};function W(m,w,k,D){var B=m===0?w:m===1?k:[w,k];return D?D.value=B:D={value:B,done:!1},D}function V(){return{value:void 0,done:!0}}function fe(m){return!!Fe(m)}function ye(m){return m&&typeof m.next=="function"}function De(m){var w=Fe(m);return w&&w.call(m)}function Fe(m){var w=m&&(ce&&m[ce]||m[ge]);if(typeof w=="function")return w}function Re(m){return m&&typeof m.length=="number"}n(ke,s);function ke(m){return m==null?he():c(m)?m.toSeq():F(m)}ke.of=function(){return ke(arguments)},ke.prototype.toSeq=function(){return this},ke.prototype.toString=function(){return this.__toString("Seq {","}")},ke.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},ke.prototype.__iterate=function(m,w){return P(this,m,w,!0)},ke.prototype.__iterator=function(m,w){return H(this,m,w,!0)},n(Je,ke);function Je(m){return m==null?he().toKeyedSeq():c(m)?u(m)?m.toSeq():m.fromEntrySeq():$e(m)}Je.prototype.toKeyedSeq=function(){return this},n(be,ke);function be(m){return m==null?he():c(m)?u(m)?m.entrySeq():m.toIndexedSeq():tt(m)}be.of=function(){return be(arguments)},be.prototype.toIndexedSeq=function(){return this},be.prototype.toString=function(){return this.__toString("Seq [","]")},be.prototype.__iterate=function(m,w){return P(this,m,w,!1)},be.prototype.__iterator=function(m,w){return H(this,m,w,!1)},n(Ee,ke);function Ee(m){return(m==null?he():c(m)?u(m)?m.entrySeq():m:tt(m)).toSetSeq()}Ee.of=function(){return Ee(arguments)},Ee.prototype.toSetSeq=function(){return this},ke.isSeq=Q,ke.Keyed=Je,ke.Set=Ee,ke.Indexed=be;
vendor: 54,386 bytes, line 6
6var xe="@@__IMMUTABLE_SEQ__@@";ke.prototype[xe]=!0,n(L,be);function L(m){this._array=m,this.size=m.length}L.prototype.get=function(m,w){return this.has(m)?this._array[N(this,m)]:w},L.prototype.__iterate=function(m,w){for(var k=this._array,D=k.length-1,B=0;B<=D;B++)if(m(k[w?D-B:B],B,this)===!1)return B+1;return B},L.prototype.__iterator=function(m,w){var k=this._array,D=k.length-1,B=0;return new ae(function(){return B>D?V():W(m,B,k[w?D-B++:B++])})},n(T,Je);function T(m){var w=Object.keys(m);this._object=m,this._keys=w,this.size=w.length}T.prototype.get=function(m,w){return w!==void 0&&!this.has(m)?w:this._object[m]},T.prototype.has=function(m){return this._object.hasOwnProperty(m)},T.prototype.__iterate=function(m,w){for(var k=this._object,D=this._keys,B=D.length-1,K=0;K<=B;K++){var se=D[w?B-K:K];if(m(k[se],se,this)===!1)return K+1}return K},T.prototype.__iterator=function(m,w){var k=this._object,D=this._keys,B=D.length-1,K=0;return new ae(function(){var se=D[w?B-K:K];return K++>B?V():W(m,se,k[se])})},T.prototype[y]=!0,n(j,be);function j(m){this._iterable=m,this.size=m.length||m.size}j.prototype.__iterateUncached=function(m,w){if(w)return this.cacheResult().__iterate(m,w);var k=this._iterable,D=De(k),B=0;if(ye(D))for(var K;!(K=D.next()).done&&m(K.value,B++,this)!==!1;);return B},j.prototype.__iteratorUncached=function(m,w){if(w)return this.cacheResult().__iterator(m,w);var k=this._iterable,D=De(k);if(!ye(D))return new ae(V);var B=0;return new ae(function(){var K=D.next();return K.done?K:W(m,B++,K.value)})},n(z,be);function z(m){this._iterator=m,this._iteratorCache=[]}z.prototype.__iterateUncached=function(m,w){if(w)return this.cacheResult().__iterate(m,w);for(var k=this._iterator,D=this._iteratorCache,B=0;B<D.length;)if(m(D[B],B++,this)===!1)return B;for(var K;!(K=k.next()).done;){var se=K.value;if(D[B]=se,m(se,B++,this)===!1)break}return B},z.prototype.__iteratorUncached=function(m,w){if(w)return this.cacheResult().__iterator(m,w);var k=this._iterator,D=this._iteratorCache,B=0;return new ae(function(){if(B>=D.length){var K=k.next();if(K.done)return K;D[B]=K.value}return W(m,B,D[B++])})};function Q(m){return!!(m&&m[xe])}var oe;function he(){return oe||(oe=new L([]))}function $e(m){var w=Array.isArray(m)?new L(m).fromEntrySeq():ye(m)?new z(m).fromEntrySeq():fe(m)?new j(m).fromEntrySeq():typeof m=="object"?new T(m):void 0;if(!w)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+m);return w}function tt(m){var w=C(m);if(!w)throw new TypeError("Expected Array or iterable object of values: "+m);return w}function F(m){var w=C(m)||typeof m=="object"&&new T(m);if(!w)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+m);return w}function C(m){return Re(m)?new L(m):ye(m)?new z(m):fe(m)?new j(m):void 0}function P(m,w,k,D){var B=m._cache;if(B){for(var K=B.length-1,se=0;se<=K;se++){var pe=B[k?K-se:se];if(w(pe[1],D?pe[0]:se,m)===!1)return se+1}return se}return m.__iterateUncached(w,k)}function H(m,w,k,D){var B=m._cache;if(B){var K=B.length-1,se=0;return new ae(function(){var pe=B[k?K-se:se];return se++>K?V():W(w,D?pe[0]:se-1,pe[1])})}return m.__iteratorUncached(w,k)}function le(m,w){return w?me(w,m,"",{"":m}):Ae(m)}function me(m,w,k,D){return Array.isArray(w)?m.call(D,k,be(w).map(function(B,K){return me(m,B,K,w)})):ot(w)?m.call(D,k,Je(w).map(function(B,K){return me(m,B,K,w)})):w}function Ae(m){return Array.isArray(m)?be(m).map(Ae).toList():ot(m)?Je(m).map(Ae).toMap():m}function ot(m){return m&&(m.constructor===Object||m.constructor===void 0)}function ft(m,w){if(m===w||m!==m&&w!==w)return!0;if(!m||!w)return!1;if(typeof m.valueOf=="function"&&typeof w.valueOf=="function"){if(m=m.valueOf(),w=w.valueOf(),m===w||m!==m&&w!==w)return!0;if(!m||!w)return!1}return!!(typeof m.equals=="function"&&typeof w.equals=="function"&&m.equals(w))}function Mt(m,w){if(m===w)return!0;if(!c(w)||m.size!==void 0&&w.size!==void 0&&m.size!==w.size||m.__hash!==void 0&&w.__hash!==void 0&&m.__hash!==w.__hash||u(m)!==u(w)||l(m)!==l(w)||d(m)!==d(w))return!1;if(m.size===0&&w.size===0)return!0;var k=!f(m);if(d(m)){var D=m.entries();return w.every(function(_e,Oe){var je=D.next().value;return je&&ft(je[1],_e)&&(k||ft(je[0],Oe))})&&D.next().done}var B=!1;if(m.size===void 0)if(w.size===void 0)typeof m.cacheResult=="function"&&m.cacheResult();else{B=!0;var K=m;m=w,w=K}var se=!0,pe=w.__iterate(function(_e,Oe){if(k?!m.has(_e):B?!ft(_e,m.get(Oe,x)):!ft(m.get(Oe,x),_e))return se=!1,!1});return se&&m.size===pe}n(dt,be);function dt(m,w){if(!(this instanceof dt))return new dt(m,w);if(this._value=m,this.size=w===void 0?1/0:Math.max(0,w),this.size===0){if(ue)return ue;ue=this}}dt.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},dt.prototype.get=function(m,w){return this.has(m)?this._value:w},dt.prototype.includes=function(m){return ft(this._value,m)},dt.prototype.slice=function(m,w){var k=this.size;return X(m,w,k)?this:new dt(this._value,ee(w,k)-J(m,k))},dt.prototype.reverse=function(){return this},dt.prototype.indexOf=function(m){return ft(this._value,m)?0:-1},dt.prototype.lastIndexOf=function(m){return ft(this._value,m)?this.size:-1},dt.prototype.__iterate=function(m,w){for(var k=0;k<this.size;k++)if(m(this._value,k,this)===!1)return k+1;return k},dt.prototype.__iterator=function(m,w){var k=this,D=0;return new ae(function(){return D<k.size?W(m,D++,k._value):V()})},dt.prototype.equals=function(m){return m instanceof dt?ft(this._value,m._value):Mt(m)};var ue;function Te(m,w){if(!m)throw new Error(w)}n(Me,be);function Me(m,w,k){if(!(this instanceof Me))return new Me(m,w,k);if(Te(k!==0,"Cannot step a Range by 0"),m=m||0,w===void 0&&(w=1/0),k=k===void 0?1:Math.abs(k),w<m&&(k=-k),this._start=m,this._end=w,this._step=k,this.size=Math.max(0,Math.ceil((w-m)/k-1)+1),this.size===0){if(nt)return nt;nt=this}}Me.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},Me.prototype.get=function(m,w){return this.has(m)?this._start+N(this,m)*this._step:w},Me.prototype.includes=function(m){var w=(m-this._start)/this._step;return w>=0&&w<this.size&&w===Math.floor(w)},Me.prototype.slice=function(m,w){return X(m,w,this.size)?this:(m=J(m,this.size),w=ee(w,this.size),w<=m?new Me(0,0):new Me(this.get(m,this._end),this.get(w,this._end),this._step))},Me.prototype.indexOf=function(m){var w=m-this._start;if(w%this._step===0){var k=w/this._step;if(k>=0&&k<this.size)return k}return-1},Me.prototype.lastIndexOf=function(m){return this.indexOf(m)},Me.prototype.__iterate=function(m,w){for(var k=this.size-1,D=this._step,B=w?this._start+k*D:this._start,K=0;K<=k;K++){if(m(B,K,this)===!1)return K+1;B+=w?-D:D}return K},Me.prototype.__iterator=function(m,w){var k=this.size-1,D=this._step,B=w?this._start+k*D:this._start,K=0;return new ae(function(){var se=B;return B+=w?-D:D,K>k?V():W(m,K++,se)})},Me.prototype.equals=function(m){return m instanceof Me?this._start===m._start&&this._end===m._end&&this._step===m._step:Mt(this,m)};var nt;n(Et,s);function Et(){throw TypeError("Abstract")}n(St,Et);function St(){}n(zt,Et);function zt(){}n(We,Et);function We(){}Et.Keyed=St,Et.Indexed=zt,Et.Set=We;var Ke=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(w,k){w=w|0,k=k|0;var D=w&65535,B=k&65535;return D*B+((w>>>16)*B+D*(k>>>16)<<16>>>0)|0};function pt(m){return m>>>1&1073741824|m&3221225471}function at(m){if(m===!1||m===null||m===void 0||typeof m.valueOf=="function"&&(m=m.valueOf(),m===!1||m===null||m===void 0))return 0;if(m===!0)return 1;var w=typeof m;if(w==="number"){if(m!==m||m===1/0)return 0;var k=m|0;for(k!==m&&(k^=m*4294967295);m>4294967295;)m/=4294967295,k^=m;return pt(k)}if(w==="string")return m.length>No?mt(m):Or(m);if(typeof m.hashCode=="function")return m.hashCode();if(w==="object")return Ji(m);if(typeof m.toString=="function")return Or(m.toString());throw new Error("Value type "+w+" cannot be hashed.")}function mt(m){var w=Fn[m];return w===void 0&&(w=Or(m),yi===gi&&(yi=0,Fn={}),yi++,Fn[m]=w),w}function Or(m){for(var w=0,k=0;k<m.length;k++)w=31*w+m.charCodeAt(k)|0;return pt(w)}function Ji(m){var w;if(mi&&(w=Hi.get(m),w!==void 0)||(w=m[vr],w!==void 0)||!di&&(w=m.propertyIsEnumerable&&m.propertyIsEnumerable[vr],w!==void 0||(w=ko(m),w!==void 0)))return w;if(w=++$r,$r&1073741824&&($r=0),mi)Hi.set(m,w);else{if(Vs!==void 0&&Vs(m)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(di)Object.defineProperty(m,vr,{enumerable:!1,configurable:!1,writable:!1,value:w});else if(m.propertyIsEnumerable!==void 0&&m.propertyIsEnumerable===m.constructor.prototype.propertyIsEnumerable)m.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},m.propertyIsEnumerable[vr]=w;else if(m.nodeType!==void 0)m[vr]=w;else throw new Error("Unable to set a non-enumerable property on object.")}return w}var Vs=Object.isExtensible,di=(function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}})();function ko(m){if(m&&m.nodeType>0)switch(m.nodeType){case 1:return m.uniqueID;case 9:return m.documentElement&&m.documentElement.uniqueID}}var mi=typeof WeakMap=="function",Hi;mi&&(Hi=new WeakMap);var $r=0,vr="__immutablehash__";typeof Symbol=="function"&&(vr=Symbol(vr));var No=16,gi=255,yi=0,Fn={};function ur(m){Te(m!==1/0,"Cannot perform this action with an infinite size.")}n(_t,St);function _t(m){return m==null?Ne():nn(m)&&!d(m)?m:Ne().withMutations(function(w){var k=i(m);ur(k.size),k.forEach(function(D,B){return w.set(B,D)})})}_t.of=function(){var m=r.call(arguments,0);return Ne().withMutations(function(w){for(var k=0;k<m.length;k+=2){if(k+1>=m.length)throw new Error("Missing value for key: "+m[k]);w.set(m[k],m[k+1])}})},_t.prototype.toString=function(){return this.__toString("Map {","}")},_t.prototype.get=function(m,w){return this._root?this._root.get(0,void 0,m,w):w},_t.prototype.set=function(m,w){return et(this,m,w)},_t.prototype.setIn=function(m,w){return this.updateIn(m,x,function(){return w})},_t.prototype.remove=function(m){return et(this,m,x)},_t.prototype.deleteIn=function(m){return this.updateIn(m,function(){return x})},_t.prototype.update=function(m,w,k){return arguments.length===1?m(this):this.updateIn([m],w,k)},_t.prototype.updateIn=function(m,w,k){k||(k=w,w=void 0);var D=cl(this,GO(m),w,k);return D===x?void 0:D},_t.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):Ne()},_t.prototype.merge=function(){return Yr(this,void 0,arguments)},_t.prototype.mergeWith=function(m){var w=r.call(arguments,1);return Yr(this,m,w)},_t.prototype.mergeIn=function(m){var w=r.call(arguments,1);return this.updateIn(m,Ne(),function(k){return typeof k.merge=="function"?k.merge.apply(k,w):w[w.length-1]})},_t.prototype.mergeDeep=function(){return Yr(this,il,arguments)},_t.prototype.mergeDeepWith=function(m){var w=r.call(arguments,1);return Yr(this,ol(m),w)},_t.prototype.mergeDeepIn=function(m){var w=r.call(arguments,1);return this.updateIn(m,Ne(),function(k){return typeof k.mergeDeep=="function"?k.mergeDeep.apply(k,w):w[w.length-1]})},_t.prototype.sort=function(m){return gr(Fo(this,m))},_t.prototype.sortBy=function(m,w){return gr(Fo(this,w,m))},_t.prototype.withMutations=function(m){var w=this.asMutable();return m(w),w.wasAltered()?w.__ensureOwner(this.__ownerID):this},_t.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new $)},_t.prototype.asImmutable=function(){return this.__ensureOwner()},_t.prototype.wasAltered=function(){return this.__altered},_t.prototype.__iterator=function(m,w){return new Ye(this,m,w)},_t.prototype.__iterate=function(m,w){var k=this,D=0;return this._root&&this._root.iterate(function(B){return D++,m(B[1],B[0],k)},w),D},_t.prototype.__ensureOwner=function(m){return m===this.__ownerID?this:m?Ve(this.size,this._root,m,this.__hash):(this.__ownerID=m,this.__altered=!1,this)};function nn(m){return!!(m&&m[Ki])}_t.isMap=nn;var Ki="@@__IMMUTABLE_MAP__@@",wt=_t.prototype;wt[Ki]=!0,wt[E]=wt.remove,wt.removeIn=wt.deleteIn;function zs(m,w){this.ownerID=m,this.entries=w}zs.prototype.get=function(m,w,k,D){for(var B=this.entries,K=0,se=B.length;K<se;K++)if(ft(k,B[K][0]))return B[K][1];return D},zs.prototype.update=function(m,w,k,D,B,K,se){for(var pe=B===x,_e=this.entries,Oe=0,je=_e.length;Oe<je&&!ft(D,_e[Oe][0]);Oe++);var He=Oe<je;if(He?_e[Oe][1]===B:pe)return this;if(R(se),(pe||!He)&&R(K),!(pe&&_e.length===1)){if(!He&&!pe&&_e.length>=La)return Gr(m,_e,D,B);var Qe=m&&m===this.ownerID,gt=Qe?_e:M(_e);return He?pe?Oe===je-1?gt.pop():gt[Oe]=gt.pop():gt[Oe]=[D,B]:gt.push([D,B]),Qe?(this.entries=gt,this):new zs(m,gt)}};function Cr(m,w,k){this.ownerID=m,this.bitmap=w,this.nodes=k}Cr.prototype.get=function(m,w,k,D){w===void 0&&(w=at(k));var B=1<<((m===0?w:w>>>m)&_),K=this.bitmap;return(K&B)===0?D:this.nodes[Gi(K&B-1)].get(m+b,w,k,D)},Cr.prototype.update=function(m,w,k,D,B,K,se){k===void 0&&(k=at(D));var pe=(w===0?k:k>>>w)&_,_e=1<<pe,Oe=this.bitmap,je=(Oe&_e)!==0;if(!je&&B===x)return this;var He=Gi(Oe&_e-1),Qe=this.nodes,gt=je?Qe[He]:void 0,Pt=vt(gt,m,w+b,k,D,B,K,se);if(Pt===gt)return this;if(!je&&Pt&&Qe.length>=Tt)return sn(m,Qe,Oe,pe,Pt);if(je&&!Pt&&Qe.length===2&&qt(Qe[He^1]))return Qe[He^1];if(je&&Pt&&Qe.length===1&&qt(Pt))return Pt;var rr=m&&m===this.ownerID,ns=je?Pt?Oe:Oe^_e:Oe|_e,Ss=je?Pt?Ba(Qe,He,Pt,rr):Gh(Qe,He,rr):vi(Qe,He,Pt,rr);return rr?(this.bitmap=ns,this.nodes=Ss,this):new Cr(m,ns,Ss)};function rs(m,w,k){this.ownerID=m,this.count=w,this.nodes=k}rs.prototype.get=function(m,w,k,D){w===void 0&&(w=at(k));var B=(m===0?w:w>>>m)&_,K=this.nodes[B];return K?K.get(m+b,w,k,D):D},rs.prototype.update=function(m,w,k,D,B,K,se){k===void 0&&(k=at(D));var pe=(w===0?k:k>>>w)&_,_e=B===x,Oe=this.nodes,je=Oe[pe];if(_e&&!je)return this;var He=vt(je,m,w+b,k,D,B,K,se);if(He===je)return this;var Qe=this.count;if(!je)Qe++;else if(!He&&(Qe--,Qe<ul))return Ut(m,Oe,Qe,pe);var gt=m&&m===this.ownerID,Pt=Ba(Oe,pe,He,gt);return gt?(this.count=Qe,this.nodes=Pt,this):new rs(m,Qe,Pt)};function yn(m,w,k){this.ownerID=m,this.keyHash=w,this.entries=k}yn.prototype.get=function(m,w,k,D){for(var B=this.entries,K=0,se=B.length;K<se;K++)if(ft(k,B[K][0]))return B[K][1];return D},yn.prototype.update=function(m,w,k,D,B,K,se){k===void 0&&(k=at(D));var pe=B===x;if(k!==this.keyHash)return pe?this:(R(se),R(K),or(this,m,w,k,[D,B]));for(var _e=this.entries,Oe=0,je=_e.length;Oe<je&&!ft(D,_e[Oe][0]);Oe++);var He=Oe<je;if(He?_e[Oe][1]===B:pe)return this;if(R(se),(pe||!He)&&R(K),pe&&je===2)return new Pr(m,this.keyHash,_e[Oe^1]);var Qe=m&&m===this.ownerID,gt=Qe?_e:M(_e);return He?pe?Oe===je-1?gt.pop():gt[Oe]=gt.pop():gt[Oe]=[D,B]:gt.push([D,B]),Qe?(this.entries=gt,this):new yn(m,this.keyHash,gt)};function Pr(m,w,k){this.ownerID=m,this.keyHash=w,this.entry=k}Pr.prototype.get=function(m,w,k,D){return ft(k,this.entry[0])?this.entry[1]:D},Pr.prototype.update=function(m,w,k,D,B,K,se){var pe=B===x,_e=ft(D,this.entry[0]);if(_e?B===this.entry[1]:pe)return this;if(R(se),pe){R(K);return}return _e?m&&m===this.ownerID?(this.entry[1]=B,this):new Pr(m,this.keyHash,[D,B]):(R(K),or(this,m,w,at(D),[D,B]))},zs.prototype.iterate=yn.prototype.iterate=function(m,w){for(var k=this.entries,D=0,B=k.length-1;D<=B;D++)if(m(k[w?B-D:D])===!1)return!1},Cr.prototype.iterate=rs.prototype.iterate=function(m,w){for(var k=this.nodes,D=0,B=k.length-1;D<=B;D++){var K=k[w?B-D:D];if(K&&K.iterate(m,w)===!1)return!1}},Pr.prototype.iterate=function(m,w){return m(this.entry)},n(Ye,ae);function Ye(m,w,k){this._type=w,this._reverse=k,this._stack=m._root&&Pe(m._root)}Ye.prototype.next=function(){for(var m=this._type,w=this._stack;w;){var k=w.node,D=w.index++,B;if(k.entry){if(D===0)return te(m,k.entry)}else if(k.entries){if(B=k.entries.length-1,D<=B)return te(m,k.entries[this._reverse?B-D:D])}else if(B=k.nodes.length-1,D<=B){var K=k.nodes[this._reverse?B-D:D];if(K){if(K.entry)return te(m,K.entry);w=this._stack=Pe(K,w)}continue}w=this._stack=this._stack.__prev}return V()};function te(m,w){return W(m,w[0],w[1])}function Pe(m,w){return{node:m,index:0,__prev:w}}function Ve(m,w,k,D){var B=Object.create(wt);return B.size=m,B._root=w,B.__ownerID=k,B.__hash=D,B.__altered=!1,B}var Ce;function Ne(){return Ce||(Ce=Ve(0))}function et(m,w,k){var D,B;if(m._root){var K=I(A),se=I(O);if(D=vt(m._root,m.__ownerID,0,void 0,w,k,K,se),!se.value)return m;B=m.size+(K.value?k===x?-1:1:0)}else{if(k===x)return m;B=1,D=new zs(m.__ownerID,[[w,k]])}return m.__ownerID?(m.size=B,m._root=D,m.__hash=void 0,m.__altered=!0,m):D?Ve(B,D):Ne()}function vt(m,w,k,D,B,K,se,pe){return m?m.update(w,k,D,B,K,se,pe):K===x?m:(R(pe),R(se),new Pr(w,D,[B,K]))}function qt(m){return m.constructor===Pr||m.constructor===yn}function or(m,w,k,D,B){if(m.keyHash===D)return new yn(w,D,[m.entry,B]);var K=(k===0?m.keyHash:m.keyHash>>>k)&_,se=(k===0?D:D>>>k)&_,pe,_e=K===se?[or(m,w,k+b,D,B)]:(pe=new Pr(w,D,B),K<se?[m,pe]:[pe,m]);return new Cr(w,1<<K|1<<se,_e)}function Gr(m,w,k,D){m||(m=new $);for(var B=new Pr(m,at(k),[k,D]),K=0;K<w.length;K++){var se=w[K];B=B.update(m,0,void 0,se[0],se[1])}return B}function Ut(m,w,k,D){for(var B=0,K=0,se=new Array(k),pe=0,_e=1,Oe=w.length;pe<Oe;pe++,_e<<=1){var je=w[pe];je!==void 0&&pe!==D&&(B|=_e,se[K++]=je)}return new Cr(m,B,se)}function sn(m,w,k,D,B){for(var K=0,se=new Array(S),pe=0;k!==0;pe++,k>>>=1)se[pe]=k&1?w[K++]:void 0;return se[D]=B,new rs(m,K+1,se)}function Yr(m,w,k){for(var D=[],B=0;B<k.length;B++){var K=k[B],se=i(K);c(K)||(se=se.map(function(pe){return le(pe)})),D.push(se)}return al(m,w,D)}function il(m,w,k){return m&&m.mergeDeep&&c(w)?m.mergeDeep(w):ft(m,w)?m:w}function ol(m){return function(w,k,D){if(w&&w.mergeDeepWith&&c(k))return w.mergeDeepWith(m,k);var B=m(w,k,D);return ft(w,B)?w:B}}function al(m,w,k){return k=k.filter(function(D){return D.size!==0}),k.length===0?m:m.size===0&&!m.__ownerID&&k.length===1?m.constructor(k[0]):m.withMutations(function(D){for(var B=w?function(se,pe){D.update(pe,x,function(_e){return _e===x?se:w(_e,se,pe)})}:function(se,pe){D.set(pe,se)},K=0;K<k.length;K++)k[K].forEach(B)})}function cl(m,w,k,D){var B=m===x,K=w.next();if(K.done){var se=B?k:m,pe=D(se);return pe===se?m:pe}Te(B||m&&m.set,"invalid keyPath");var _e=K.value,Oe=B?x:m.get(_e,x),je=cl(Oe,w,k,D);return je===Oe?m:je===x?m.remove(_e):(B?Ne():m).set(_e,je)}function Gi(m){return m=m-(m>>1&1431655765),m=(m&858993459)+(m>>2&858993459),m=m+(m>>4)&252645135,m=m+(m>>8),m=m+(m>>16),m&127}function Ba(m,w,k,D){var B=D?m:M(m);return B[w]=k,B}function vi(m,w,k,D){var B=m.length+1;if(D&&w+1===B)return m[w]=k,m;for(var K=new Array(B),se=0,pe=0;pe<B;pe++)pe===w?(K[pe]=k,se=-1):K[pe]=m[pe+se];return K}function Gh(m,w,k){var D=m.length-1;if(k&&w===D)return m.pop(),m;for(var B=new Array(D),K=0,se=0;se<D;se++)se===w&&(K=1),B[se]=m[se+K];return B}var La=S/4,Tt=S/2,ul=S/4;n(xt,zt);function xt(m){var w=Bt();if(m==null)return w;if(ar(m))return m;var k=o(m),D=k.size;return D===0?w:(ur(D),D>0&&D<S?st(0,D,b,null,new qn(k.toArray())):w.withMutations(function(B){B.setSize(D),k.forEach(function(K,se){return B.set(se,K)})}))}xt.of=function(){return this(arguments)},xt.prototype.toString=function(){return this.__toString("List [","]")},xt.prototype.get=function(m,w){if(m=N(this,m),m>=0&&m<this.size){m+=this._origin;var k=MO(this,m);return k&&k.array[m&_]}return w},xt.prototype.set=function(m,w){return Xr(this,m,w)},xt.prototype.remove=function(m){return this.has(m)?m===0?this.shift():m===this.size-1?this.pop():this.splice(m,1):this},xt.prototype.insert=function(m,w){return this.splice(m,0,w)},xt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=b,this._root=this._tail=null,this.__hash=void 0,this.__altered=!0,this):Bt()},xt.prototype.push=function(){var m=arguments,w=this.size;return this.withMutations(function(k){Si(k,0,w+m.length);for(var D=0;D<m.length;D++)k.set(w+D,m[D])})},xt.prototype.pop=function(){return Si(this,0,-1)},xt.prototype.unshift=function(){var m=arguments;return this.withMutations(function(w){Si(w,-m.length);for(var k=0;k<m.length;k++)w.set(k,m[k])})},xt.prototype.shift=function(){return Si(this,1)},xt.prototype.merge=function(){return ll(this,void 0,arguments)},xt.prototype.mergeWith=function(m){var w=r.call(arguments,1);return ll(this,m,w)},xt.prototype.mergeDeep=function(){return ll(this,il,arguments)},xt.prototype.mergeDeepWith=function(m){var w=r.call(arguments,1);return ll(this,ol(m),w)},xt.prototype.setSize=function(m){return Si(this,0,m)},xt.prototype.slice=function(m,w){var k=this.size;return X(m,w,k)?this:Si(this,J(m,k),ee(w,k))},xt.prototype.__iterator=function(m,w){var k=0,D=rt(this,w);return new ae(function(){var B=D();return B===Ws?V():W(m,k++,B)})},xt.prototype.__iterate=function(m,w){for(var k=0,D=rt(this,w),B;(B=D())!==Ws&&m(B,k++,this)!==!1;);return k},xt.prototype.__ensureOwner=function(m){return m===this.__ownerID?this:m?st(this._origin,this._capacity,this._level,this._root,this._tail,m,this.__hash):(this.__ownerID=m,this)};function ar(m){return!!(m&&m[Yi])}xt.isList=ar;var Yi="@@__IMMUTABLE_LIST__@@",lr=xt.prototype;lr[Yi]=!0,lr[E]=lr.remove,lr.setIn=wt.setIn,lr.deleteIn=lr.removeIn=wt.removeIn,lr.update=wt.update,lr.updateIn=wt.updateIn,lr.mergeIn=wt.mergeIn,lr.mergeDeepIn=wt.mergeDeepIn,lr.withMutations=wt.withMutations,lr.asMutable=wt.asMutable,lr.asImmutable=wt.asImmutable,lr.wasAltered=wt.wasAltered;function qn(m,w){this.array=m,this.ownerID=w}qn.prototype.removeBefore=function(m,w,k){if(k===w?1<<w:this.array.length===0)return this;var D=k>>>w&_;if(D>=this.array.length)return new qn([],m);var B=D===0,K;if(w>0){var se=this.array[D];if(K=se&&se.removeBefore(m,w-b,k),K===se&&B)return this}if(B&&!K)return this;var pe=Ei(this,m);if(!B)for(var _e=0;_e<D;_e++)pe.array[_e]=void 0;return K&&(pe.array[D]=K),pe},qn.prototype.removeAfter=function(m,w,k){if(k===(w?1<<w:0)||this.array.length===0)return this;var D=k-1>>>w&_;if(D>=this.array.length)return this;var B;if(w>0){var K=this.array[D];if(B=K&&K.removeAfter(m,w-b,k),B===K&&D===this.array.length-1)return this}var se=Ei(this,m);return se.array.splice(D+1),B&&(se.array[D]=B),se};var Ws={};function rt(m,w){var k=m._origin,D=m._capacity,B=Ua(D),K=m._tail;return se(m._root,m._level,0);function se(Oe,je,He){return je===0?pe(Oe,He):_e(Oe,je,He)}function pe(Oe,je){var He=je===B?K&&K.array:Oe&&Oe.array,Qe=je>k?0:k-je,gt=D-je;return gt>S&&(gt=S),function(){if(Qe===gt)return Ws;var Pt=w?--gt:Qe++;return He&&He[Pt]}}function _e(Oe,je,He){var Qe,gt=Oe&&Oe.array,Pt=He>k?0:k-He>>je,rr=(D-He>>je)+1;return rr>S&&(rr=S),function(){do{if(Qe){var ns=Qe();if(ns!==Ws)return ns;Qe=null}if(Pt===rr)return Ws;var Ss=w?--rr:Pt++;Qe=se(gt&>[Ss],je-b,He+(Ss<<je))}while(!0)}}}function st(m,w,k,D,B,K,se){var pe=Object.create(lr);return pe.size=w-m,pe._origin=m,pe._capacity=w,pe._level=k,pe._root=D,pe._tail=B,pe.__ownerID=K,pe.__hash=se,pe.__altered=!1,pe}var Rt;function Bt(){return Rt||(Rt=st(0,0,b))}function Xr(m,w,k){if(w=N(m,w),w!==w)return m;if(w>=m.size||w<0)return m.withMutations(function(se){w<0?Si(se,w).set(0,k):Si(se,0,w+1).set(w,k)});w+=m._origin;var D=m._tail,B=m._root,K=I(O);return w>=Ua(m._capacity)?D=bi(D,m.__ownerID,0,w,k,K):B=bi(B,m.__ownerID,m._level,w,k,K),K.value?m.__ownerID?(m._root=B,m._tail=D,m.__hash=void 0,m.__altered=!0,m):st(m._origin,m._capacity,m._level,B,D):m}function bi(m,w,k,D,B,K){var se=D>>>k&_,pe=m&&se<m.array.length;if(!pe&&B===void 0)return m;var _e;if(k>0){var Oe=m&&m.array[se],je=bi(Oe,w,k-b,D,B,K);return je===Oe?m:(_e=Ei(m,w),_e.array[se]=je,_e)}return pe&&m.array[se]===B?m:(R(K),_e=Ei(m,w),B===void 0&&se===_e.array.length-1?_e.array.pop():_e.array[se]=B,_e)}function Ei(m,w){return w&&m&&w===m.ownerID?m:new qn(m?m.array.slice():[],w)}function MO(m,w){if(w>=Ua(m._capacity))return m._tail;if(w<1<<m._level+b){for(var k=m._root,D=m._level;k&&D>0;)k=k.array[w>>>D&_],D-=b;return k}}function Si(m,w,k){w!==void 0&&(w=w|0),k!==void 0&&(k=k|0);var D=m.__ownerID||new $,B=m._origin,K=m._capacity,se=B+w,pe=k===void 0?K:k<0?K+k:B+k;if(se===B&&pe===K)return m;if(se>=pe)return m.clear();for(var _e=m._level,Oe=m._root,je=0;se+je<0;)Oe=new qn(Oe&&Oe.array.length?[void 0,Oe]:[],D),_e+=b,je+=1<<_e;je&&(se+=je,B+=je,pe+=je,K+=je);for(var He=Ua(K),Qe=Ua(pe);Qe>=1<<_e+b;)Oe=new qn(Oe&&Oe.array.length?[Oe]:[],D),_e+=b;var gt=m._tail,Pt=Qe<He?MO(m,pe-1):Qe>He?new qn([],D):gt;if(gt&&Qe>He&&se<K&>.array.length){Oe=Ei(Oe,D);for(var rr=Oe,ns=_e;ns>b;ns-=b){var Ss=He>>>ns&_;rr=rr.array[Ss]=Ei(rr.array[Ss],D)}rr.array[He>>>b&_]=gt}if(pe<K&&(Pt=Pt&&Pt.removeAfter(D,0,pe)),se>=Qe)se-=Qe,pe-=Qe,_e=b,Oe=null,Pt=Pt&&Pt.removeBefore(D,0,se);else if(se>B||Qe<He){for(je=0;Oe;){var yl=se>>>_e&_;if(yl!==Qe>>>_e&_)break;yl&&(je+=(1<<_e)*yl),_e-=b,Oe=Oe.array[yl]}Oe&&se>B&&(Oe=Oe.removeBefore(D,_e,se-je)),Oe&&Qe<He&&(Oe=Oe.removeAfter(D,_e,Qe-je)),je&&(se-=je,pe-=je)}return m.__ownerID?(m.size=pe-se,m._origin=se,m._capacity=pe,m._level=_e,m._root=Oe,m._tail=Pt,m.__hash=void 0,m.__altered=!0,m):st(se,pe,_e,Oe,Pt)}function ll(m,w,k){for(var D=[],B=0,K=0;K<k.length;K++){var se=k[K],pe=o(se);pe.size>B&&(B=pe.size),c(se)||(pe=pe.map(function(_e){return le(_e)})),D.push(pe)}return B>m.size&&(m=m.setSize(B)),al(m,w,D)}function Ua(m){return m<S?0:m-1>>>b<<b}n(gr,_t);function gr(m){return m==null?fl():DO(m)?m:fl().withMutations(function(w){var k=i(m);ur(k.size),k.forEach(function(D,B){return w.set(B,D)})})}gr.of=function(){return this(arguments)},gr.prototype.toString=function(){return this.__toString("OrderedMap {","}")},gr.prototype.get=function(m,w){var k=this._map.get(m);return k!==void 0?this._list.get(k)[1]:w},gr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):fl()},gr.prototype.set=function(m,w){return FO(this,m,w)},gr.prototype.remove=function(m){return FO(this,m,x)},gr.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},gr.prototype.__iterate=function(m,w){var k=this;return this._list.__iterate(function(D){return D&&m(D[1],D[0],k)},w)},gr.prototype.__iterator=function(m,w){return this._list.fromEntrySeq().__iterator(m,w)},gr.prototype.__ensureOwner=function(m){if(m===this.__ownerID)return this;var w=this._map.__ensureOwner(m),k=this._list.__ensureOwner(m);return m?Yh(w,k,m,this.__hash):(this.__ownerID=m,this._map=w,this._list=k,this)};function DO(m){return nn(m)&&d(m)}gr.isOrderedMap=DO,gr.prototype[y]=!0,gr.prototype[E]=gr.prototype.remove;function Yh(m,w,k,D){var B=Object.create(gr.prototype);return B.size=m?m.size:0,B._map=m,B._list=w,B.__ownerID=k,B.__hash=D,B}var $O;function fl(){return $O||($O=Yh(Ne(),Bt()))}function FO(m,w,k){var D=m._map,B=m._list,K=D.get(w),se=K!==void 0,pe,_e;if(k===x){if(!se)return m;B.size>=S&&B.size>=D.size*2?(_e=B.filter(function(Oe,je){return Oe!==void 0&&K!==je}),pe=_e.toKeyedSeq().map(function(Oe){return Oe[0]}).flip().toMap(),m.__ownerID&&(pe.__ownerID=_e.__ownerID=m.__ownerID)):(pe=D.remove(w),_e=K===B.size-1?B.pop():B.set(K,void 0))}else if(se){if(k===B.get(K)[1])return m;pe=D,_e=B.set(K,[w,k])}else pe=D.set(w,B.size),_e=B.set(B.size,[w,k]);return m.__ownerID?(m.size=pe.size,m._map=pe,m._list=_e,m.__hash=void 0,m):Yh(pe,_e)}n(Bn,Je);function Bn(m,w){this._iter=m,this._useKeys=w,this.size=m.size}Bn.prototype.get=function(m,w){return this._iter.get(m,w)},Bn.prototype.has=function(m){return this._iter.has(m)},Bn.prototype.valueSeq=function(){return this._iter.valueSeq()},Bn.prototype.reverse=function(){var m=this,w=Xh(this,!0);return this._useKeys||(w.valueSeq=function(){return m._iter.toSeq().reverse()}),w},Bn.prototype.map=function(m,w){var k=this,D=BO(this,m,w);return this._useKeys||(D.valueSeq=function(){return k._iter.toSeq().map(m,w)}),D},Bn.prototype.__iterate=function(m,w){var k=this,D;return this._iter.__iterate(this._useKeys?function(B,K){return m(B,K,k)}:(D=w?JO(this):0,function(B){return m(B,w?--D:D++,k)}),w)},Bn.prototype.__iterator=function(m,w){if(this._useKeys)return this._iter.__iterator(m,w);var k=this._iter.__iterator(Y,w),D=w?JO(this):0;return new ae(function(){var B=k.next();return B.done?B:W(m,w?--D:D++,B.value,B)})},Bn.prototype[y]=!0,n(Mo,be);function Mo(m){this._iter=m,this.size=m.size}Mo.prototype.includes=function(m){return this._iter.includes(m)},Mo.prototype.__iterate=function(m,w){var k=this,D=0;return this._iter.__iterate(function(B){return m(B,D++,k)},w)},Mo.prototype.__iterator=function(m,w){var k=this._iter.__iterator(Y,w),D=0;return new ae(function(){var B=k.next();return B.done?B:W(m,D++,B.value,B)})},n(Do,Ee);function Do(m){this._iter=m,this.size=m.size}Do.prototype.has=function(m){return this._iter.includes(m)},Do.prototype.__iterate=function(m,w){var k=this;return this._iter.__iterate(function(D){return m(D,D,k)},w)},Do.prototype.__iterator=function(m,w){var k=this._iter.__iterator(Y,w);return new ae(function(){var D=k.next();return D.done?D:W(m,D.value,D.value,D)})},n($o,Je);function $o(m){this._iter=m,this.size=m.size}$o.prototype.entrySeq=function(){return this._iter.toSeq()},$o.prototype.__iterate=function(m,w){var k=this;return this._iter.__iterate(function(D){if(D){WO(D);var B=c(D);return m(B?D.get(1):D[1],B?D.get(0):D[0],k)}},w)},$o.prototype.__iterator=function(m,w){var k=this._iter.__iterator(Y,w);return new ae(function(){for(;;){var D=k.next();if(D.done)return D;var B=D.value;if(B){WO(B);var K=c(B);return W(m,K?B.get(0):B[0],K?B.get(1):B[1],D)}}})},Mo.prototype.cacheResult=Bn.prototype.cacheResult=Do.prototype.cacheResult=$o.prototype.cacheResult=ed;function qO(m){var w=vs(m);return w._iter=m,w.size=m.size,w.flip=function(){return m},w.reverse=function(){var k=m.reverse.apply(this);return k.flip=function(){return m.reverse()},k},w.has=function(k){return m.includes(k)},w.includes=function(k){return m.has(k)},w.cacheResult=ed,w.__iterateUncached=function(k,D){var B=this;return m.__iterate(function(K,se){return k(se,K,B)!==!1},D)},w.__iteratorUncached=function(k,D){if(k===ie){var B=m.__iterator(k,D);return new ae(function(){var K=B.next();if(!K.done){var se=K.value[0];K.value[0]=K.value[1],K.value[1]=se}return K})}return m.__iterator(k===Y?re:Y,D)},w}function BO(m,w,k){var D=vs(m);return D.size=m.size,D.has=function(B){return m.has(B)},D.get=function(B,K){var se=m.get(B,x);return se===x?K:w.call(k,se,B,m)},D.__iterateUncached=function(B,K){var se=this;return m.__iterate(function(pe,_e,Oe){return B(w.call(k,pe,_e,Oe),_e,se)!==!1},K)},D.__iteratorUncached=function(B,K){var se=m.__iterator(ie,K);return new ae(function(){var pe=se.next();if(pe.done)return pe;var _e=pe.value,Oe=_e[0];return W(B,Oe,w.call(k,_e[1],Oe,m),pe)})},D}function Xh(m,w){var k=vs(m);return k._iter=m,k.size=m.size,k.reverse=function(){return m},m.flip&&(k.flip=function(){var D=qO(m);return D.reverse=function(){return m.flip()},D}),k.get=function(D,B){return m.get(w?D:-1-D,B)},k.has=function(D){return m.has(w?D:-1-D)},k.includes=function(D){return m.includes(D)},k.cacheResult=ed,k.__iterate=function(D,B){var K=this;return m.__iterate(function(se,pe){return D(se,pe,K)},!B)},k.__iterator=function(D,B){return m.__iterator(D,!B)},k}function LO(m,w,k,D){var B=vs(m);return D&&(B.has=function(K){var se=m.get(K,x);return se!==x&&!!w.call(k,se,K,m)},B.get=function(K,se){var pe=m.get(K,x);return pe!==x&&w.call(k,pe,K,m)?pe:se}),B.__iterateUncached=function(K,se){var pe=this,_e=0;return m.__iterate(function(Oe,je,He){if(w.call(k,Oe,je,He))return _e++,K(Oe,D?je:_e-1,pe)},se),_e},B.__iteratorUncached=function(K,se){var pe=m.__iterator(ie,se),_e=0;return new ae(function(){for(;;){var Oe=pe.next();if(Oe.done)return Oe;var je=Oe.value,He=je[0],Qe=je[1];if(w.call(k,Qe,He,m))return W(K,D?He:_e++,Qe,Oe)}})},B}function O7(m,w,k){var D=_t().asMutable();return m.__iterate(function(B,K){D.update(w.call(k,B,K,m),0,function(se){return se+1})}),D.asImmutable()}function C7(m,w,k){var D=u(m),B=(d(m)?gr():_t()).asMutable();m.__iterate(function(se,pe){B.update(w.call(k,se,pe,m),function(_e){return _e=_e||[],_e.push(D?[pe,se]:se),_e})});var K=HO(m);return B.map(function(se){return Xt(m,K(se))})}function Zh(m,w,k,D){var B=m.size;if(w!==void 0&&(w=w|0),k!==void 0&&(k===1/0?k=B:k=k|0),X(w,k,B))return m;var K=J(w,B),se=ee(k,B);if(K!==K||se!==se)return Zh(m.toSeq().cacheResult(),w,k,D);var pe=se-K,_e;pe===pe&&(_e=pe<0?0:pe);var Oe=vs(m);return Oe.size=_e===0?_e:m.size&&_e||void 0,!D&&Q(m)&&_e>=0&&(Oe.get=function(je,He){return je=N(this,je),je>=0&&je<_e?m.get(je+K,He):He}),Oe.__iterateUncached=function(je,He){var Qe=this;if(_e===0)return 0;if(He)return this.cacheResult().__iterate(je,He);var gt=0,Pt=!0,rr=0;return m.__iterate(function(ns,Ss){if(!(Pt&&(Pt=gt++<K)))return rr++,je(ns,D?Ss:rr-1,Qe)!==!1&&rr!==_e}),rr},Oe.__iteratorUncached=function(je,He){if(_e!==0&&He)return this.cacheResult().__iterator(je,He);var Qe=_e!==0&&m.__iterator(je,He),gt=0,Pt=0;return new ae(function(){for(;gt++<K;)Qe.next();if(++Pt>_e)return V();var rr=Qe.next();return D||je===Y?rr:je===re?W(je,Pt-1,void 0,rr):W(je,Pt-1,rr.value[1],rr)})},Oe}function R7(m,w,k){var D=vs(m);return D.__iterateUncached=function(B,K){var se=this;if(K)return this.cacheResult().__iterate(B,K);var pe=0;return m.__iterate(function(_e,Oe,je){return w.call(k,_e,Oe,je)&&++pe&&B(_e,Oe,se)}),pe},D.__iteratorUncached=function(B,K){var se=this;if(K)return this.cacheResult().__iterator(B,K);var pe=m.__iterator(ie,K),_e=!0;return new ae(function(){if(!_e)return V();var Oe=pe.next();if(Oe.done)return Oe;var je=Oe.value,He=je[0],Qe=je[1];return w.call(k,Qe,He,se)?B===ie?Oe:W(B,He,Qe,Oe):(_e=!1,V())})},D}function UO(m,w,k,D){var B=vs(m);return B.__iterateUncached=function(K,se){var pe=this;if(se)return this.cacheResult().__iterate(K,se);var _e=!0,Oe=0;return m.__iterate(function(je,He,Qe){if(!(_e&&(_e=w.call(k,je,He,Qe))))return Oe++,K(je,D?He:Oe-1,pe)}),Oe},B.__iteratorUncached=function(K,se){var pe=this;if(se)return this.cacheResult().__iterator(K,se);var _e=m.__iterator(ie,se),Oe=!0,je=0;return new ae(function(){var He,Qe,gt;do{if(He=_e.next(),He.done)return D||K===Y?He:K===re?W(K,je++,void 0,He):W(K,je++,He.value[1],He);var Pt=He.value;Qe=Pt[0],gt=Pt[1],Oe&&(Oe=w.call(k,gt,Qe,pe))}while(Oe);return K===ie?He:W(K,Qe,gt,He)})},B}function T7(m,w){var k=u(m),D=[m].concat(w).map(function(se){return c(se)?k&&(se=i(se)):se=k?$e(se):tt(Array.isArray(se)?se:[se]),se}).filter(function(se){return se.size!==0});if(D.length===0)return m;if(D.length===1){var B=D[0];if(B===m||k&&u(B)||l(m)&&l(B))return B}var K=new L(D);return k?K=K.toKeyedSeq():l(m)||(K=K.toSetSeq()),K=K.flatten(!0),K.size=D.reduce(function(se,pe){if(se!==void 0){var _e=pe.size;if(_e!==void 0)return se+_e}},0),K}function VO(m,w,k){var D=vs(m);return D.__iterateUncached=function(B,K){var se=0,pe=!1;function _e(Oe,je){var He=this;Oe.__iterate(function(Qe,gt){return(!w||je<w)&&c(Qe)?_e(Qe,je+1):B(Qe,k?gt:se++,He)===!1&&(pe=!0),!pe},K)}return _e(m,0),se},D.__iteratorUncached=function(B,K){var se=m.__iterator(B,K),pe=[],_e=0;return new ae(function(){for(;se;){var Oe=se.next();if(Oe.done!==!1){se=pe.pop();continue}var je=Oe.value;if(B===ie&&(je=je[1]),(!w||pe.length<w)&&c(je))pe.push(se),se=je.__iterator(B,K);else return k?Oe:W(B,_e++,je,Oe)}return V()})},D}function I7(m,w,k){var D=HO(m);return m.toSeq().map(function(B,K){return D(w.call(k,B,K,m))}).flatten(!0)}function P7(m,w){var k=vs(m);return k.size=m.size&&m.size*2-1,k.__iterateUncached=function(D,B){var K=this,se=0;return m.__iterate(function(pe,_e){return(!se||D(w,se++,K)!==!1)&&D(pe,se++,K)!==!1},B),se},k.__iteratorUncached=function(D,B){var K=m.__iterator(Y,B),se=0,pe;return new ae(function(){return(!pe||se%2)&&(pe=K.next(),pe.done)?pe:se%2?W(D,se++,w):W(D,se++,pe.value,pe)})},k}function Fo(m,w,k){w||(w=KO);var D=u(m),B=0,K=m.toSeq().map(function(se,pe){return[pe,se,B++,k?k(se,pe,m):se]}).toArray();return K.sort(function(se,pe){return w(se[3],pe[3])||se[2]-pe[2]}).forEach(D?function(se,pe){K[pe].length=2}:function(se,pe){K[pe]=se[1]}),D?Je(K):l(m)?be(K):Ee(K)}function pl(m,w,k){if(w||(w=KO),k){var D=m.toSeq().map(function(B,K){return[B,k(B,K,m)]}).reduce(function(B,K){return zO(w,B[1],K[1])?K:B});return D&&D[0]}else return m.reduce(function(B,K){return zO(w,B,K)?K:B})}function zO(m,w,k){var D=m(k,w);return D===0&&k!==w&&(k==null||k!==k)||D>0}function Qh(m,w,k){var D=vs(m);return D.size=new L(k).map(function(B){return B.size}).min(),D.__iterate=function(B,K){for(var se=this.__iterator(Y,K),pe,_e=0;!(pe=se.next()).done&&B(pe.value,_e++,this)!==!1;);return _e},D.__iteratorUncached=function(B,K){var se=k.map(function(Oe){return Oe=s(Oe),De(K?Oe.reverse():Oe)}),pe=0,_e=!1;return new ae(function(){var Oe;return _e||(Oe=se.map(function(je){return je.next()}),_e=Oe.some(function(je){return je.done})),_e?V():W(B,pe++,w.apply(null,Oe.map(function(je){return je.value})))})},D}function Xt(m,w){return Q(m)?w:m.constructor(w)}function WO(m){if(m!==Object(m))throw new TypeError("Expected [K, V] tuple: "+m)}function JO(m){return ur(m.size),q(m)}function HO(m){return u(m)?i:l(m)?o:a}function vs(m){return Object.create((u(m)?Je:l(m)?be:Ee).prototype)}function ed(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):ke.prototype.cacheResult.call(this)}function KO(m,w){return m>w?1:m<w?-1:0}function GO(m){var w=De(m);if(!w){if(!Re(m))throw new TypeError("Expected iterable or array-like: "+m);w=De(s(m))}return w}n(On,St);function On(m,w){var k,D=function(se){if(se instanceof D)return se;if(!(this instanceof D))return new D(se);if(!k){k=!0;var pe=Object.keys(m);j7(B,pe),B.size=pe.length,B._name=w,B._keys=pe,B._defaultValues=m}this._map=_t(se)},B=D.prototype=Object.create(Fr);return B.constructor=D,D}On.prototype.toString=function(){return this.__toString(YO(this)+" {","}")},On.prototype.has=function(m){return this._defaultValues.hasOwnProperty(m)},On.prototype.get=function(m,w){if(!this.has(m))return w;var k=this._defaultValues[m];return this._map?this._map.get(m,k):k},On.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var m=this.constructor;return m._empty||(m._empty=hl(this,Ne()))},On.prototype.set=function(m,w){if(!this.has(m))throw new Error('Cannot set unknown key "'+m+'" on '+YO(this));if(this._map&&!this._map.has(m)){var k=this._defaultValues[m];if(w===k)return this}var D=this._map&&this._map.set(m,w);return this.__ownerID||D===this._map?this:hl(this,D)},On.prototype.remove=function(m){if(!this.has(m))return this;var w=this._map&&this._map.remove(m);return this.__ownerID||w===this._map?this:hl(this,w)},On.prototype.wasAltered=function(){return this._map.wasAltered()},On.prototype.__iterator=function(m,w){var k=this;return i(this._defaultValues).map(function(D,B){return k.get(B)}).__iterator(m,w)},On.prototype.__iterate=function(m,w){var k=this;return i(this._defaultValues).map(function(D,B){return k.get(B)}).__iterate(m,w)},On.prototype.__ensureOwner=function(m){if(m===this.__ownerID)return this;var w=this._map&&this._map.__ensureOwner(m);return m?hl(this,w,m):(this.__ownerID=m,this._map=w,this)};var Fr=On.prototype;Fr[E]=Fr.remove,Fr.deleteIn=Fr.removeIn=wt.removeIn,Fr.merge=wt.merge,Fr.mergeWith=wt.mergeWith,Fr.mergeIn=wt.mergeIn,Fr.mergeDeep=wt.mergeDeep,Fr.mergeDeepWith=wt.mergeDeepWith,Fr.mergeDeepIn=wt.mergeDeepIn,Fr.setIn=wt.setIn,Fr.update=wt.update,Fr.updateIn=wt.updateIn,Fr.withMutations=wt.withMutations,Fr.asMutable=wt.asMutable,Fr.asImmutable=wt.asImmutable;function hl(m,w,k){var D=Object.create(Object.getPrototypeOf(m));return D._map=w,D.__ownerID=k,D}function YO(m){return m._name||m.constructor.name||"Record"}function j7(m,w){try{w.forEach(k7.bind(void 0,m))}catch{}}function k7(m,w){Object.defineProperty(m,w,{get:function(){return this.get(w)},set:function(k){Te(this.__ownerID,"Cannot set on an immutable record."),this.set(w,k)}})}n(tr,We);function tr(m){return m==null?nd():td(m)&&!d(m)?m:nd().withMutations(function(w){var k=a(m);ur(k.size),k.forEach(function(D){return w.add(D)})})}tr.of=function(){return this(arguments)},tr.fromKeys=function(m){return this(i(m).keySeq())},tr.prototype.toString=function(){return this.__toString("Set {","}")},tr.prototype.has=function(m){return this._map.has(m)},tr.prototype.add=function(m){return rd(this,this._map.set(m,!0))},tr.prototype.remove=function(m){return rd(this,this._map.remove(m))},tr.prototype.clear=function(){return rd(this,this._map.clear())},tr.prototype.union=function(){var m=r.call(arguments,0);return m=m.filter(function(w){return w.size!==0}),m.length===0?this:this.size===0&&!this.__ownerID&&m.length===1?this.constructor(m[0]):this.withMutations(function(w){for(var k=0;k<m.length;k++)a(m[k]).forEach(function(D){return w.add(D)})})},tr.prototype.intersect=function(){var m=r.call(arguments,0);if(m.length===0)return this;m=m.map(function(k){return a(k)});var w=this;return this.withMutations(function(k){w.forEach(function(D){m.every(function(B){return B.includes(D)})||k.remove(D)})})},tr.prototype.subtract=function(){var m=r.call(arguments,0);if(m.length===0)return this;m=m.map(function(k){return a(k)});var w=this;return this.withMutations(function(k){w.forEach(function(D){m.some(function(B){return B.includes(D)})&&k.remove(D)})})},tr.prototype.merge=function(){return this.union.apply(this,arguments)},tr.prototype.mergeWith=function(m){var w=r.call(arguments,1);return this.union.apply(this,w)},tr.prototype.sort=function(m){return bs(Fo(this,m))},tr.prototype.sortBy=function(m,w){return bs(Fo(this,w,m))},tr.prototype.wasAltered=function(){return this._map.wasAltered()},tr.prototype.__iterate=function(m,w){var k=this;return this._map.__iterate(function(D,B){return m(B,B,k)},w)},tr.prototype.__iterator=function(m,w){return this._map.map(function(k,D){return D}).__iterator(m,w)},tr.prototype.__ensureOwner=function(m){if(m===this.__ownerID)return this;var w=this._map.__ensureOwner(m);return m?this.__make(w,m):(this.__ownerID=m,this._map=w,this)};function td(m){return!!(m&&m[XO])}tr.isSet=td;var XO="@@__IMMUTABLE_SET__@@",Cn=tr.prototype;Cn[XO]=!0,Cn[E]=Cn.remove,Cn.mergeDeep=Cn.merge,Cn.mergeDeepWith=Cn.mergeWith,Cn.withMutations=wt.withMutations,Cn.asMutable=wt.asMutable,Cn.asImmutable=wt.asImmutable,Cn.__empty=nd,Cn.__make=ZO;function rd(m,w){return m.__ownerID?(m.size=w.size,m._map=w,m):w===m._map?m:w.size===0?m.__empty():m.__make(w)}function ZO(m,w){var k=Object.create(Cn);return k.size=m?m.size:0,k._map=m,k.__ownerID=w,k}var QO;function nd(){return QO||(QO=ZO(Ne()))}n(bs,tr);function bs(m){return m==null?sd():eC(m)?m:sd().withMutations(function(w){var k=a(m);ur(k.size),k.forEach(function(D){return w.add(D)})})}bs.of=function(){return this(arguments)},bs.fromKeys=function(m){return this(i(m).keySeq())},bs.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function eC(m){return td(m)&&d(m)}bs.isOrderedSet=eC;var dl=bs.prototype;dl[y]=!0,dl.__empty=sd,dl.__make=tC;function tC(m,w){var k=Object.create(dl);return k.size=m?m.size:0,k._map=m,k.__ownerID=w,k}var rC;function sd(){return rC||(rC=tC(fl()))}n(br,zt);function br(m){return m==null?id():nC(m)?m:id().unshiftAll(m)}br.of=function(){return this(arguments)},br.prototype.toString=function(){return this.__toString("Stack [","]")},br.prototype.get=function(m,w){var k=this._head;for(m=N(this,m);k&&m--;)k=k.next;return k?k.value:w},br.prototype.peek=function(){return this._head&&this._head.value},br.prototype.push=function(){if(arguments.length===0)return this;for(var m=this.size+arguments.length,w=this._head,k=arguments.length-1;k>=0;k--)w={value:arguments[k],next:w};return this.__ownerID?(this.size=m,this._head=w,this.__hash=void 0,this.__altered=!0,this):Va(m,w)},br.prototype.pushAll=function(m){if(m=o(m),m.size===0)return this;ur(m.size);var w=this.size,k=this._head;return m.reverse().forEach(function(D){w++,k={value:D,next:k}}),this.__ownerID?(this.size=w,this._head=k,this.__hash=void 0,this.__altered=!0,this):Va(w,k)},br.prototype.pop=function(){return this.slice(1)},br.prototype.unshift=function(){return this.push.apply(this,arguments)},br.prototype.unshiftAll=function(m){return this.pushAll(m)},br.prototype.shift=function(){return this.pop.apply(this,arguments)},br.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):id()},br.prototype.slice=function(m,w){if(X(m,w,this.size))return this;var k=J(m,this.size),D=ee(w,this.size);if(D!==this.size)return zt.prototype.slice.call(this,m,w);for(var B=this.size-k,K=this._head;k--;)K=K.next;return this.__ownerID?(this.size=B,this._head=K,this.__hash=void 0,this.__altered=!0,this):Va(B,K)},br.prototype.__ensureOwner=function(m){return m===this.__ownerID?this:m?Va(this.size,this._head,m,this.__hash):(this.__ownerID=m,this.__altered=!1,this)},br.prototype.__iterate=function(m,w){if(w)return this.reverse().__iterate(m);for(var k=0,D=this._head;D&&m(D.value,k++,this)!==!1;)D=D.next;return k},br.prototype.__iterator=function(m,w){if(w)return this.reverse().__iterator(m);var k=0,D=this._head;return new ae(function(){if(D){var B=D.value;return D=D.next,W(m,k++,B)}return V()})};function nC(m){return!!(m&&m[sC])}br.isStack=nC;var sC="@@__IMMUTABLE_STACK__@@",qo=br.prototype;qo[sC]=!0,qo.withMutations=wt.withMutations,qo.asMutable=wt.asMutable,qo.asImmutable=wt.asImmutable,qo.wasAltered=wt.wasAltered;function Va(m,w,k,D){var B=Object.create(qo);return B.size=m,B._head=w,B.__ownerID=k,B.__hash=D,B.__altered=!1,B}var iC;function id(){return iC||(iC=Va(0))}function Es(m,w){var k=function(D){m.prototype[D]=w[D]};return Object.keys(w).forEach(k),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(w).forEach(k),m}function N7(m){return typeof m=="string"&&(m==="__proto__"||m==="constructor")}s.Iterator=ae,Es(s,{toArray:function(){ur(this.size);var m=new Array(this.size||0);return this.valueSeq().__iterate(function(w,k){m[k]=w}),m},toIndexedSeq:function(){return new Mo(this)},toJS:function(){return this.toSeq().map(function(m){return m&&typeof m.toJS=="function"?m.toJS():m}).__toJS()},toJSON:function(){return this.toSeq().map(function(m){return m&&typeof m.toJSON=="function"?m.toJSON():m}).__toJS()},toKeyedSeq:function(){return new Bn(this,!0)},toMap:function(){return _t(this.toKeyedSeq())},toObject:function(){ur(this.size);var m={};return this.__iterate(function(w,k){N7(k)||(m[k]=w)}),m},toOrderedMap:function(){return gr(this.toKeyedSeq())},toOrderedSet:function(){return bs(u(this)?this.valueSeq():this)},toSet:function(){return tr(u(this)?this.valueSeq():this)},toSetSeq:function(){return new Do(this)},toSeq:function(){return l(this)?this.toIndexedSeq():u(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return br(u(this)?this.valueSeq():this)},toList:function(){return xt(u(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(m,w){return this.size===0?m+w:m+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+w},concat:function(){var m=r.call(arguments,0);return Xt(this,T7(this,m))},includes:function(m){return this.some(function(w){return ft(w,m)})},entries:function(){return this.__iterator(ie)},every:function(m,w){ur(this.size);var k=!0;return this.__iterate(function(D,B,K){if(!m.call(w,D,B,K))return k=!1,!1}),k},filter:function(m,w){return Xt(this,LO(this,m,w,!0))},find:function(m,w,k){var D=this.findEntry(m,w);return D?D[1]:k},forEach:function(m,w){return ur(this.size),this.__iterate(w?m.bind(w):m)},join:function(m){ur(this.size),m=m!==void 0?""+m:",";var w="",k=!0;return this.__iterate(function(D){k?k=!1:w+=m,w+=D!=null?D.toString():""}),w},keys:function(){return this.__iterator(re)},map:function(m,w){return Xt(this,BO(this,m,w))},reduce:function(m,w,k){ur(this.size);var D,B;return arguments.length<2?B=!0:D=w,this.__iterate(function(K,se,pe){B?(B=!1,D=K):D=m.call(k,D,K,se,pe)}),D},reduceRight:function(m,w,k){var D=this.toKeyedSeq().reverse();return D.reduce.apply(D,arguments)},reverse:function(){return Xt(this,Xh(this,!0))},slice:function(m,w){return Xt(this,Zh(this,m,w,!0))},some:function(m,w){return!this.every(gl(m),w)},sort:function(m){return Xt(this,Fo(this,m))},values:function(){return this.__iterator(Y)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(m,w){return q(m?this.toSeq().filter(m,w):this)},countBy:function(m,w){return O7(this,m,w)},equals:function(m){return Mt(this,m)},entrySeq:function(){var m=this;if(m._cache)return new L(m._cache);var w=m.toSeq().map(D7).toIndexedSeq();return w.fromEntrySeq=function(){return m.toSeq()},w},filterNot:function(m,w){return this.filter(gl(m),w)},findEntry:function(m,w,k){var D=k;return this.__iterate(function(B,K,se){if(m.call(w,B,K,se))return D=[K,B],!1}),D},findKey:function(m,w){var k=this.findEntry(m,w);return k&&k[0]},findLast:function(m,w,k){return this.toKeyedSeq().reverse().find(m,w,k)},findLastEntry:function(m,w,k){return this.toKeyedSeq().reverse().findEntry(m,w,k)},findLastKey:function(m,w){return this.toKeyedSeq().reverse().findKey(m,w)},first:function(){return this.find(U)},flatMap:function(m,w){return Xt(this,I7(this,m,w))},flatten:function(m){return Xt(this,VO(this,m,!0))},fromEntrySeq:function(){return new $o(this)},get:function(m,w){return this.find(function(k,D){return ft(D,m)},void 0,w)},getIn:function(m,w){for(var k=this,D=GO(m),B;!(B=D.next()).done;){var K=B.value;if(k=k&&k.get?k.get(K,x):x,k===x)return w}return k},groupBy:function(m,w){return C7(this,m,w)},has:function(m){return this.get(m,x)!==x},hasIn:function(m){return this.getIn(m,x)!==x},isSubset:function(m){return m=typeof m.includes=="function"?m:s(m),this.every(function(w){return m.includes(w)})},isSuperset:function(m){return m=typeof m.isSubset=="function"?m:s(m),m.isSubset(this)},keyOf:function(m){return this.findKey(function(w){return ft(w,m)})},keySeq:function(){return this.toSeq().map(M7).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(m){return this.toKeyedSeq().reverse().keyOf(m)},max:function(m){return pl(this,m)},maxBy:function(m,w){return pl(this,w,m)},min:function(m){return pl(this,m?oC(m):cC)},minBy:function(m,w){return pl(this,w?oC(w):cC,m)},rest:function(){return this.slice(1)},skip:function(m){return this.slice(Math.max(0,m))},skipLast:function(m){return Xt(this,this.toSeq().reverse().skip(m).reverse())},skipWhile:function(m,w){return Xt(this,UO(this,m,w,!0))},skipUntil:function(m,w){return this.skipWhile(gl(m),w)},sortBy:function(m,w){return Xt(this,Fo(this,w,m))},take:function(m){return this.slice(0,Math.max(0,m))},takeLast:function(m){return Xt(this,this.toSeq().reverse().take(m).reverse())},takeWhile:function(m,w){return Xt(this,R7(this,m,w))},takeUntil:function(m,w){return this.takeWhile(gl(m),w)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=F7(this))}});var on=s.prototype;on[h]=!0,on[de]=on.values,on.__toJS=on.toArray,on.__toStringMapper=aC,on.inspect=on.toSource=function(){return this.toString()},on.chain=on.flatMap,on.contains=on.includes,Es(i,{flip:function(){return Xt(this,qO(this))},mapEntries:function(m,w){var k=this,D=0;return Xt(this,this.toSeq().map(function(B,K){return m.call(w,[K,B],D++,k)}).fromEntrySeq())},mapKeys:function(m,w){var k=this;return Xt(this,this.toSeq().flip().map(function(D,B){return m.call(w,D,B,k)}).flip())}});var ml=i.prototype;ml[g]=!0,ml[de]=on.entries,ml.__toJS=on.toObject,ml.__toStringMapper=function(m,w){return JSON.stringify(w)+": "+aC(m)},Es(o,{toKeyedSeq:function(){return new Bn(this,!1)},filter:function(m,w){return Xt(this,LO(this,m,w,!1))},findIndex:function(m,w){var k=this.findEntry(m,w);return k?k[0]:-1},indexOf:function(m){var w=this.keyOf(m);return w===void 0?-1:w},lastIndexOf:function(m){var w=this.lastKeyOf(m);return w===void 0?-1:w},reverse:function(){return Xt(this,Xh(this,!1))},slice:function(m,w){return Xt(this,Zh(this,m,w,!1))},splice:function(m,w){var k=arguments.length;if(w=Math.max(w|0,0),k===0||k===2&&!w)return this;m=J(m,m<0?this.count():this.size);var D=this.slice(0,m);return Xt(this,k===1?D:D.concat(M(arguments,2),this.slice(m+w)))},findLastIndex:function(m,w){var k=this.findLastEntry(m,w);return k?k[0]:-1},first:function(){return this.get(0)},flatten:function(m){return Xt(this,VO(this,m,!1))},get:function(m,w){return m=N(this,m),m<0||this.size===1/0||this.size!==void 0&&m>this.size?w:this.find(function(k,D){return D===m},void 0,w)},has:function(m){return m=N(this,m),m>=0&&(this.size!==void 0?this.size===1/0||m<this.size:this.indexOf(m)!==-1)},interpose:function(m){return Xt(this,P7(this,m))},interleave:function(){var m=[this].concat(M(arguments)),w=Qh(this.toSeq(),be.of,m),k=w.flatten(!0);return w.size&&(k.size=w.size*m.length),Xt(this,k)},keySeq:function(){return Me(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(m,w){return Xt(this,UO(this,m,w,!1))},zip:function(){var m=[this].concat(M(arguments));return Xt(this,Qh(this,$7,m))},zipWith:function(m){var w=M(arguments);return w[0]=this,Xt(this,Qh(this,m,w))}}),o.prototype[v]=!0,o.prototype[y]=!0,Es(a,{get:function(m,w){return this.has(m)?m:w},includes:function(m){return this.has(m)},keySeq:function(){return this.valueSeq()}}),a.prototype.has=on.includes,a.prototype.contains=a.prototype.includes,Es(Je,i.prototype),Es(be,o.prototype),Es(Ee,a.prototype),Es(St,i.prototype),Es(zt,o.prototype),Es(We,a.prototype);function M7(m,w){return w}function D7(m,w){return[w,m]}function gl(m){return function(){return!m.apply(this,arguments)}}function oC(m){return function(){return-m.apply(this,arguments)}}function aC(m){return typeof m=="string"?JSON.stringify(m):String(m)}function $7(){return M(arguments)}function cC(m,w){return m<w?1:m>w?-1:0}function F7(m){if(m.size===1/0)return 0;var w=d(m),k=u(m),D=w?1:0,B=m.__iterate(k?w?function(K,se){D=31*D+uC(at(K),at(se))|0}:function(K,se){D=D+uC(at(K),at(se))|0}:w?function(K){D=31*D+at(K)|0}:function(K){D=D+at(K)|0});return q7(B,D)}function q7(m,w){return w=Ke(w,3432918353),w=Ke(w<<15|w>>>-15,461845907),w=Ke(w<<13|w>>>-13,5),w=(w+3864292196|0)^m,w=Ke(w^w>>>16,2246822507),w=Ke(w^w>>>13,3266489909),w=pt(w^w>>>16),w}function uC(m,w){return m^w+2654435769+(m<<6)+(m>>2)|0}var B7={Iterable:s,Seq:ke,Collection:Et,Map:_t,OrderedMap:gr,List:xt,Stack:br,Set:tr,OrderedSet:bs,Record:On,Range:Me,Repeat:dt,is:ft,fromJS:le};return B7})}
6)(Ll)),Ll.exports}var Z=vp();const $t=ut(Z);var Wa={},El={exports:{}},Hs={},Sl={exports:{}},ER;function Oq(){return ER||(ER=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r){return r&&r.type==="@@redux/INIT"?"initialState argument passed to createStore":"previous state received by the reducer"},e.exports=t.default})(Sl,Sl.exports)),Sl.exports}var _l={exports:{}},SR;function LV(){return SR||(SR=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=vp(),n=o(r),s=Oq(),i=o(s);function o(a){return a&&a.__esModule?a:{default:a}}t.default=function(a,c,u){var l=Object.keys(c);if(!l.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var f=(0,i.default)(u);if(n.default.isImmutable?!n.default.isImmutable(a):!n.default.Iterable.isIterable(a))return"The "+f+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+l.join('", "')+'".';var d=a.toSeq().keySeq().toArray().filter(function(h){return!c.hasOwnProperty(h)});return d.length>0?"Unexpected "+(d.length===1?"property":"properties")+' "'+d.join('", "')+'" found in '+f+'. Expected to find one of the known reducer property names instead: "'+l.join('", "')+'". Unexpected properties will be ignored.':null},e.exports=t.default})(_l,_l.exports)),_l.exports}var wl={exports:{}},_R;function UV(){return _R||(_R=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(r,n,s){if(r===void 0)throw new Error('Reducer "'+n+'" returned undefined when handling "'+s.type+'" action. To ignore an action, you must explicitly return the previous state.')},e.exports=t.default})(wl,wl.exports)),wl.exports}var wR;function VV(){if(wR)return Hs;wR=1,Object.defineProperty(Hs,"__esModule",{value:!0}),Hs.validateNextState=Hs.getUnexpectedInvocationParameterMessage=Hs.getStateName=void 0;var e=Oq(),t=o(e),r=LV(),n=o(r),s=UV(),i=o(s);function o(a){return a&&a.__esModule?a:{default:a}}return Hs.getStateName=t.default,Hs.getUnexpectedInvocationParameterMessage=n.default,Hs.validateNextState=i.default,Hs}var xR;function zV(){return xR||(xR=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=vp(),n=i(r),s=VV();function i(o){return o&&o.__esModule?o:{default:o}}t.default=function(o){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.default.Map,c=Object.keys(o);return function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:a(),l=arguments[1];return u.withMutations(function(f){c.forEach(function(d){var h=o[d],g=f.get(d),v=h(g,l);(0,s.validateNextState)(v,d,l),f.set(d,v)})})}},e.exports=t.default})(El,El.exports)),El.exports}var AR;function WV(){if(AR)return Wa;AR=1,Object.defineProperty(Wa,"__esModule",{value:!0}),Wa.combineReducers=void 0;var e=zV(),t=r(e);function r(n){return n&&n.__esModule?n:{default:n}}return Wa.combineReducers=t.default,Wa}var JV=WV(),om,OR;function HV(){if(OR)return om;OR=1;class e extends Error{constructor(c){super(e._prepareSuperMessage(c)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,e)}static _prepareSuperMessage(c){try{return JSON.stringify(c)}catch{return String(c)}}}const t=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],r=Symbol(".toJSON called"),n=a=>{a[r]=!0;const c=a.toJSON();return delete a[r],c},s=({from:a,seen:c,to_:u,forceEnumerable:l,maxDepth:f,depth:d})=>{const h=u||(Array.isArray(a)?[]:{});if(c.push(a),d>=f)return h;if(typeof a.toJSON=="function"&&a[r]!==!0)return n(a);for(const[g,v]of Object.entries(a)){if(typeof Buffer=="function"&&Buffer.isBuffer(v)){h[g]="[object Buffer]";continue}if(typeof v!="function"){if(!v||typeof v!="object"){h[g]=v;continue}if(!c.includes(a[g])){d++,h[g]=s({from:a[g],seen:c.slice(),forceEnumerable:l,maxDepth:f,depth:d});continue}h[g]="[Circular]"}}for(const{property:g,enumerable:v}
6of t)typeof a[g]=="string"&&Object.defineProperty(h,g,{value:a[g],enumerable:l?!0:v,configurable:!0,writable:!0});return h};return om={serializeError:(a,c={})=>{const{maxDepth:u=Number.POSITIVE_INFINITY}=c;return typeof a=="object"&&a!==null?s({from:a,seen:[],forceEnumerable:!0,maxDepth:u,depth:0}):typeof a=="function"?`[Function: ${a.name||"anonymous"}]`:a},deserializeError:(a,c={})=>{const{maxDepth:u=Number.POSITIVE_INFINITY}=c;if(a instanceof Error)return a;if(typeof a=="object"&&a!==null&&!Array.isArray(a)){const l=new Error;return s({from:a,seen:[],to_:l,maxDepth:u,depth:0}),l}return new e(a)}},om}var Cq=HV(),am,CR;function KV(){if(CR)return am;CR=1;function e(){this.__data__=[],this.size=0}return am=e,am}var cm,RR;function Sa(){if(RR)return cm;RR=1;function e(t,r){return t===r||t!==t&&r!==r}return cm=e,cm}var um,TR;function bp(){if(TR)return um;TR=1;var e=Sa();function t(r,n){for(var s=r.length;s--;)if(e(r[s][0],n))return s;return-1}return um=t,um}var lm,IR;function GV(){if(IR)return lm;IR=1;var e=bp(),t=Array.prototype,r=t.splice;function n(s){var i=this.__data__,o=e(i,s);if(o<0)return!1;var a=i.length-1;return o==a?i.pop():r.call(i,o,1),--this.size,!0}return lm=n,lm}var fm,PR;function YV(){if(PR)return fm;PR=1;var e=bp();function t(r){var n=this.__data__,s=e(n,r);return s<0?void 0:n[s][1]}return fm=t,fm}var pm,jR;function XV(){if(jR)return pm;jR=1;var e=bp();function t(r){return e(this.__data__,r)>-1}return pm=t,pm}var hm,kR;function ZV(){if(kR)return hm;kR=1;var e=bp();function t(r,n){var s=this.__data__,i=e(s,r);return i<0?(++this.size,s.push([r,n])):s[i][1]=n,this}return hm=t,hm}var dm,NR;function Ep(){if(NR)return dm;NR=1;var e=KV(),t=GV(),r=YV(),n=XV(),s=ZV();function i(o){var a=-1,c=o==null?0:o.length;for(this.clear();++a<c;){var u=o[a];this.set(u[0],u[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=s,dm=i,dm}var mm,MR;function QV(){if(MR)return mm;MR=1;var e=Ep();function t(){this.__data__=new e,this.size=0}return mm=t,mm}var gm,DR;function ez(){if(DR)return gm;DR=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return gm=e,gm}var ym,$R;function tz(){if($R)return ym;$R=1;function e(t){return this.__data__.get(t)}return ym=e,ym}var vm,FR;function rz(){if(FR)return vm;FR=1;function e(t){return this.__data__.has(t)}return vm=e,vm}var bm,qR;function Rq(){if(qR)return bm;qR=1;var e=typeof en=="object"&&en&&en.Object===Object&&en;return bm=e,bm}var Em,BR;function hn(){if(BR)return Em;BR=1;var e=Rq(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return Em=r,Em}var Sm,LR;function _a(){if(LR)return Sm;LR=1;var e=hn(),t=e.Symbol;return Sm=t,Sm}var _m,UR;function nz(){if(UR)return _m;UR=1;var e=_a(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,s=e?e.toStringTag:void 0;function i(o){var a=r.call(o,s),c=o[s];try{o[s]=void 0;var u=!0}catch{}var l=n.call(o);return u&&(a?o[s]=c:delete o[s]),l}return _m=i,_m}var wm,VR;function sz(){if(VR)return wm;VR=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return wm=r,wm}var xm,zR;function Ms(){if(zR)return xm;zR=1;var e=_a(),t=nz(),r=sz(),n="[object Null]",s="[object Undefined]",i=e?e.toStringTag:void 0;function o(a){return a==null?a===void 0?s:n:i&&i in Object(a)?t(a):r(a)}return xm=o,xm}var Am,WR;function dn(){if(WR)return Am;WR=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return Am=e,Am}var Om,JR;function qc(){if(JR)return Om;JR=1;var e=Ms(),t=dn(),r="[object AsyncFunction]",n="[object Function]",s="[object GeneratorFunction]",i="[object Proxy]";function o(a){if(!t(a))return!1;var c=e(a);return c==n||c==s||c==r||c==i}return Om=o,Om}var Cm,HR;function iz(){if(HR)return Cm;HR=1;var e=hn(),t=e["__core-js_shared__"];return Cm=t,Cm}var Rm,KR;function oz(){if(KR)return Rm;KR=1;var e=iz(),t=(function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""})();function r(n){return!!t&&t in n}return Rm=r,Rm}var Tm,GR;function Tq(){if(GR)return Tm;GR=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return Tm=r,Tm}var Im,YR;function az(){if(YR)return Im;YR=1;var e=qc(),t=oz(),r=dn(),n=Tq(),s=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,o=Function.prototype,a=Object.prototype,c=o.toString,u=a.hasOwnProperty,l=RegExp("^"+c.
vendor: 31,049 bytes, line 6
6call(u).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function f(d){if(!r(d)||t(d))return!1;var h=e(d)?l:i;return h.test(n(d))}return Im=f,Im}var Pm,XR;function cz(){if(XR)return Pm;XR=1;function e(t,r){return t==null?void 0:t[r]}return Pm=e,Pm}var jm,ZR;function Eo(){if(ZR)return jm;ZR=1;var e=az(),t=cz();function r(n,s){var i=t(n,s);return e(i)?i:void 0}return jm=r,jm}var km,QR;function Dx(){if(QR)return km;QR=1;var e=Eo(),t=hn(),r=e(t,"Map");return km=r,km}var Nm,eT;function Sp(){if(eT)return Nm;eT=1;var e=Eo(),t=e(Object,"create");return Nm=t,Nm}var Mm,tT;function uz(){if(tT)return Mm;tT=1;var e=Sp();function t(){this.__data__=e?e(null):{},this.size=0}return Mm=t,Mm}var Dm,rT;function lz(){if(rT)return Dm;rT=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return Dm=e,Dm}var $m,nT;function fz(){if(nT)return $m;nT=1;var e=Sp(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function s(i){var o=this.__data__;if(e){var a=o[i];return a===t?void 0:a}return n.call(o,i)?o[i]:void 0}return $m=s,$m}var Fm,sT;function pz(){if(sT)return Fm;sT=1;var e=Sp(),t=Object.prototype,r=t.hasOwnProperty;function n(s){var i=this.__data__;return e?i[s]!==void 0:r.call(i,s)}return Fm=n,Fm}var qm,iT;function hz(){if(iT)return qm;iT=1;var e=Sp(),t="__lodash_hash_undefined__";function r(n,s){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=e&&s===void 0?t:s,this}return qm=r,qm}var Bm,oT;function dz(){if(oT)return Bm;oT=1;var e=uz(),t=lz(),r=fz(),n=pz(),s=hz();function i(o){var a=-1,c=o==null?0:o.length;for(this.clear();++a<c;){var u=o[a];this.set(u[0],u[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=s,Bm=i,Bm}var Lm,aT;function mz(){if(aT)return Lm;aT=1;var e=dz(),t=Ep(),r=Dx();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return Lm=n,Lm}var Um,cT;function gz(){if(cT)return Um;cT=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return Um=e,Um}var Vm,uT;function _p(){if(uT)return Vm;uT=1;var e=gz();function t(r,n){var s=r.__data__;return e(n)?s[typeof n=="string"?"string":"hash"]:s.map}return Vm=t,Vm}var zm,lT;function yz(){if(lT)return zm;lT=1;var e=_p();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return zm=t,zm}var Wm,fT;function vz(){if(fT)return Wm;fT=1;var e=_p();function t(r){return e(this,r).get(r)}return Wm=t,Wm}var Jm,pT;function bz(){if(pT)return Jm;pT=1;var e=_p();function t(r){return e(this,r).has(r)}return Jm=t,Jm}var Hm,hT;function Ez(){if(hT)return Hm;hT=1;var e=_p();function t(r,n){var s=e(this,r),i=s.size;return s.set(r,n),this.size+=s.size==i?0:1,this}return Hm=t,Hm}var Km,dT;function $x(){if(dT)return Km;dT=1;var e=mz(),t=yz(),r=vz(),n=bz(),s=Ez();function i(o){var a=-1,c=o==null?0:o.length;for(this.clear();++a<c;){var u=o[a];this.set(u[0],u[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=r,i.prototype.has=n,i.prototype.set=s,Km=i,Km}var Gm,mT;function Sz(){if(mT)return Gm;mT=1;var e=Ep(),t=Dx(),r=$x(),n=200;function s(i,o){var a=this.__data__;if(a instanceof e){var c=a.__data__;if(!t||c.length<n-1)return c.push([i,o]),this.size=++a.size,this;a=this.__data__=new r(c)}return a.set(i,o),this.size=a.size,this}return Gm=s,Gm}var Ym,gT;function wp(){if(gT)return Ym;gT=1;var e=Ep(),t=QV(),r=ez(),n=tz(),s=rz(),i=Sz();function o(a){var c=this.__data__=new e(a);this.size=c.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=s,o.prototype.set=i,Ym=o,Ym}var Xm,yT;function Iq(){if(yT)return Xm;yT=1;var e=Eo(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return Xm=t,Xm}var Zm,vT;function Fx(){if(vT)return Zm;vT=1;var e=Iq();function t(r,n,s){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:s,writable:!0}):r[n]=s}return Zm=t,Zm}var Qm,bT;function Pq(){if(bT)return Qm;bT=1;var e=Fx(),t=Sa();function r(n,s,i){(i!==void 0&&!t(n[s],i)||i===void 0&&!(s in n))&&e(n,s,i)}return Qm=r,Qm}var eg,ET;function _z(){if(ET)return eg;ET=1;function e(t){return function(r,n,s){for(var i=-1,o=Object(r),a=s(r),c=a.length;c--;){var u=a[t?c:++i];if(n(o[u],u,o)===!1)break}return r}}return eg=e,eg}var tg,ST;function jq(){if(ST)return tg;ST=1;var e=_z(),t=e();return tg=t,tg}var Qa={exports:{}};Qa.exports;var _T;function kq(){return _T||(_T=1,(function(e,t){var r=hn(),n=t&&!t.nodeType&&t,s=n&&!0&&e&&!e.nodeType&&e,i=s&&s.exports===n,o=i?r.Buffer:void 0,a=o?o.allocUnsafe:void 0;function c(u,l){if(l)return u.slice();var f=u.length,d=a?a(f):new u.constructor(f);return u.copy(d),d}e.exports=c})(Qa,Qa.exports)),Qa.exports}var rg,wT;function Nq(){if(wT)return rg;wT=1;var e=hn(),t=e.Uint8Array;return rg=t,rg}var ng,xT;function qx(){if(xT)return ng;xT=1;var e=Nq();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return ng=t,ng}var sg,AT;function Mq(){if(AT)return sg;AT=1;var e=qx();function t(r,n){var s=n?e(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}return sg=t,sg}var ig,OT;function Bc(){if(OT)return ig;OT=1;function e(t,r){var n=-1,s=t.length;for(r||(r=Array(s));++n<s;)r[n]=t[n];return r}return ig=e,ig}var og,CT;function xp(){if(CT)return og;CT=1;var e=dn(),t=Object.create,r=(function(){function n(){}return function(s){if(!e(s))return{};if(t)return t(s);n.prototype=s;var i=new n;return n.prototype=void 0,i}})();return og=r,og}var ag,RT;function Dq(){if(RT)return ag;RT=1;function e(t,r){return function(n){return t(r(n))}}return ag=e,ag}var cg,TT;function Bx(){if(TT)return cg;TT=1;var e=Dq(),t=e(Object.getPrototypeOf,Object);return cg=t,cg}var ug,IT;function Ap(){if(IT)return ug;IT=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,s=typeof n=="function"&&n.prototype||e;return r===s}return ug=t,ug}var lg,PT;function $q(){if(PT)return lg;PT=1;var e=xp(),t=Bx(),r=Ap();function n(s){return typeof s.constructor=="function"&&!r(s)?e(t(s)):{}}return lg=n,lg}var fg,jT;function mn(){if(jT)return fg;jT=1;function e(t){return t!=null&&typeof t=="object"}return fg=e,fg}var pg,kT;function wz(){if(kT)return pg;kT=1;var e=Ms(),t=mn(),r="[object Arguments]";function n(s){return t(s)&&e(s)==r}return pg=n,pg}var hg,NT;function Lc(){if(NT)return hg;NT=1;var e=wz(),t=mn(),r=Object.prototype,n=r.hasOwnProperty,s=r.propertyIsEnumerable,i=e((function(){return arguments})())?e:function(o){return t(o)&&n.call(o,"callee")&&!s.call(o,"callee")};return hg=i,hg}var dg,MT;function Dr(){if(MT)return dg;MT=1;var e=Array.isArray;return dg=e,dg}var mg,DT;function Lx(){if(DT)return mg;DT=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return mg=t,mg}var gg,$T;function So(){if($T)return gg;$T=1;var e=qc(),t=Lx();function r(n){return n!=null&&t(n.length)&&!e(n)}return gg=r,gg}var yg,FT;function xz(){if(FT)return yg;FT=1;var e=So(),t=mn();function r(n){return t(n)&&e(n)}return yg=r,yg}var ec={exports:{}},vg,qT;function Az(){if(qT)return vg;qT=1;function e(){return!1}return vg=e,vg}ec.exports;var BT;function Uc(){return BT||(BT=1,(function(e,t){var r=hn(),n=Az(),s=t&&!t.nodeType&&t,i=s&&!0&&e&&!e.nodeType&&e,o=i&&i.exports===s,a=o?r.Buffer:void 0,c=a?a.isBuffer:void 0,u=c||n;e.exports=u})(ec,ec.exports)),ec.exports}var bg,LT;function Op(){if(LT)return bg;LT=1;var e=Ms(),t=Bx(),r=mn(),n="[object Object]",s=Function.prototype,i=Object.prototype,o=s.toString,a=i.hasOwnProperty,c=o.call(Object);function u(l){if(!r(l)||e(l)!=n)return!1;var f=t(l);if(f===null)return!0;var d=a.call(f,"constructor")&&f.constructor;return typeof d=="function"&&d instanceof d&&o.call(d)==c}return bg=u,bg}var Eg,UT;function Oz(){if(UT)return Eg;UT=1;var e=Ms(),t=Lx(),r=mn(),n="[object Arguments]",s="[object Array]",i="[object Boolean]",o="[object Date]",a="[object Error]",c="[object Function]",u="[object Map]",l="[object Number]",f="[object Object]",d="[object RegExp]",h="[object Set]",g="[object String]",v="[object WeakMap]",y="[object ArrayBuffer]",E="[object DataView]",b="[object Float32Array]",S="[object Float64Array]",_="[object Int8Array]",x="[object Int16Array]",A="[object Int32Array]",O="[object Uint8Array]",I="[object Uint8ClampedArray]",R="[object Uint16Array]",$="[object Uint32Array]",M={};M[b]=M[S]=M[_]=M[x]=M[A]=M[O]=M[I]=M[R]=M[$]=!0,M[n]=M[s]=M[y]=M[i]=M[E]=M[o]=M[a]=M[c]=M[u]=M[l]=M[f]=M[d]=M[h]=M[g]=M[v]=!1;function q(N){return r(N)&&t(N.length)&&!!M[e(N)]}return Eg=q,Eg}var Sg,VT;function Ux(){if(VT)return Sg;VT=1;function e(t){return function(r){return t(r)}}return Sg=e,Sg}var tc={exports:{}};tc.exports;var zT;function Vx(){return zT||(zT=1,(function(e,t){var r=Rq(),n=t&&!t.nodeType&&t,s=n&&!0&&e&&!e.nodeType&&e,i=s&&s.exports===n,o=i&&r.process,a=(function(){try{var c=s&&s.require&&s.require("util").types;return c||o&&o.binding&&o.binding("util")}catch{}})();e.exports=a})(tc,tc.exports)),tc.exports}var _g,WT;function Cp(){if(WT)return _g;WT=1;var e=Oz(),t=Ux(),r=Vx(),n=r&&r.isTypedArray,s=n?t(n):e;return _g=s,_g}var wg,JT;function Fq(){if(JT)return wg;JT=1;function e(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}return wg=e,wg}var xg,HT;function Rp(){if(HT)return xg;HT=1;var e=Fx(),t=Sa(),r=Object.prototype,n=r.hasOwnProperty;function s(i,o,a){var c=i[o];(!(n.call(i,o)&&t(c,a))||a===void 0&&!(o in i))&&e(i,o,a)}return xg=s,xg}var Ag,KT;function wa(){if(KT)return Ag;KT=1;var e=Rp(),t=Fx();function r(n,s,i,o){var a=!i;i||(i={});for(var c=-1,u=s.length;++c<u;){var l=s[c],f=o?o(i[l],n[l],l,i,n):void 0;f===void 0&&(f=n[l]),a?t(i,l,f):e(i,l,f)}return i}return Ag=r,Ag}var Og,GT;function Cz(){if(GT)return Og;GT=1;function e(t,r){for(var n=-1,s=Array(t);++n<t;)s[n]=r(n);return s}return Og=e,Og}var Cg,YT;function Vc(){if(YT)return Cg;YT=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,s){var i=typeof n;return s=s??e,!!s&&(i=="number"||i!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<s}return Cg=r,Cg}var Rg,XT;function qq(){if(XT)return Rg;XT=1;var e=Cz(),t=Lc(),r=Dr(),n=Uc(),s=Vc(),i=Cp(),o=Object.prototype,a=o.hasOwnProperty;function c(u,l){var f=r(u),d=!f&&t(u),h=!f&&!d&&n(u),g=!f&&!d&&!h&&i(u),v=f||d||h||g,y=v?e(u.length,String):[],E=y.length;for(var b in u)(l||a.call(u,b))&&!(v&&(b=="length"||h&&(b=="offset"||b=="parent")||g&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||s(b,E)))&&y.push(b);return y}return Rg=c,Rg}var Tg,ZT;function Rz(){if(ZT)return Tg;ZT=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return Tg=e,Tg}var Ig,QT;function Tz(){if(QT)return Ig;QT=1;var e=dn(),t=Ap(),r=Rz(),n=Object.prototype,s=n.hasOwnProperty;function i(o){if(!e(o))return r(o);var a=t(o),c=[];for(var u in o)u=="constructor"&&(a||!s.call(o,u))||c.push(u);return c}return Ig=i,Ig}var Pg,eI;function zc(){if(eI)return Pg;eI=1;var e=qq(),t=Tz(),r=So();function n(s){return r(s)?e(s,!0):t(s)}return Pg=n,Pg}var jg,tI;function Iz(){if(tI)return jg;tI=1;var e=wa(),t=zc();function r(n){return e(n,t(n))}return jg=r,jg}var kg,rI;function Pz(){if(rI)return kg;rI=1;var e=Pq(),t=kq(),r=Mq(),n=Bc(),s=$q(),i=Lc(),o=Dr(),a=xz(),c=Uc(),u=qc(),l=dn(),f=Op(),d=Cp(),h=Fq(),g=Iz();function v(y,E,b,S,_,x,A){var O=h(y,b),I=h(E,b),R=A.get(I);if(R){e(y,b,R);return}var $=x?x(O,I,b+"",y,E,A):void 0,M=$===void 0;if(M){var q=o(I),N=!q&&c(I),U=!q&&!N&&d(I);$=I,q||N||U?o(O)?$=O:a(O)?$=n(O):N?(M=!1,$=t(I,!0)):U?(M=!1,$=r(I,!0)):$=[]:f(I)||i(I)?($=O,i(O)?$=g(O):(!l(O)||u(O))&&($=s(I))):M=!1}M&&(A.set(I,$),_($,I,S,x,A),A.delete(I)),e(y,b,$)}return kg=v,kg}var Ng,nI;function jz(){if(nI)return Ng;nI=1;var e=wp(),t=Pq(),r=jq(),n=Pz(),s=dn(),i=zc(),o=Fq();function a(c,u,l,f,d){c!==u&&r(u,function(h,g){if(d||(d=new e),s(h))n(c,u,g,l,a,f,d);else{var v=f?f(o(c,g),h,g+"",c,u,d):void 0;v===void 0&&(v=h),t(c,g,v)}},i)}return Ng=a,Ng}var Mg,sI;function Wc(){if(sI)return Mg;sI=1;function e(t){return t}return Mg=e,Mg}var Dg,iI;function zx(){if(iI)return Dg;iI=1;function e(t,r,n){switch(n.length){case 0:return t.call(r);case 1:return t.call(r,n[0]);case 2:return t.call(r,n[0],n[1]);case 3:return t.call(r,n[0],n[1],n[2])}return t.apply(r,n)}return Dg=e,Dg}var $g,oI;function Bq(){if(oI)return $g;oI=1;var e=zx(),t=Math.max;function r(n,s,i){return s=t(s===void 0?n.length-1:s,0),function(){for(var o=arguments,a=-1,c=t(o.length-s,0),u=Array(c);++a<c;)u[a]=o[s+a];a=-1;for(var l=Array(s+1);++a<s;)l[a]=o[a];return l[s]=i(u),e(n,this,l)}}return $g=r,$g}var Fg,aI;function Lq(){if(aI)return Fg;aI=1;function e(t){return function(){return t}}return Fg=e,Fg}var qg,cI;function kz(){if(cI)return qg;cI=1;var e=Lq(),t=Iq(),r=Wc(),n=t?function(s,i){return t(s,"toString",{configurable:!0,enumerable:!1,value:e(i),writable:!0})}:r;return qg=n,qg}var Bg,uI;function Uq(){if(uI)return Bg;uI=1;var e=800,t=16,r=Date.now;function n(s){var i=0,o=0;return function(){var a=r(),c=t-(a-o);if(o=a,c>0){if(++i>=e)return arguments[0]}else i=0;return s.apply(void 0,arguments)}}return Bg=n,Bg}var Lg,lI;function Wx(){if(lI)return Lg;lI=1;var e=kz(),t=Uq(),r=t(e);return Lg=r,Lg}var Ug,fI;function Nz(){if(fI)return Ug;fI=1;var e=Wc(),t=Bq(),r=Wx();function n(s,i){return r(t(s,i,e),s+"")}return Ug=n,Ug}var Vg,pI;function Vq(){if(pI)return Vg;pI=1;var e=Sa(),t=So(),r=Vc(),n=dn();function s(i,o,a){if(!n(a))return!1;var c=typeof o;return(c=="number"?t(a)&&r(o,a.length):c=="string"&&o in a)?e(a[o],i):!1}return Vg=s,Vg}var zg,hI;function Mz(){if(hI)return zg;hI=1;var e=Nz(),t=Vq();function r(n){return e(function(s,i){var o=-1,a=i.length,c=a>1?i[a-1]:void 0,u=a>2?i[2]:void 0;for(c=n.length>3&&typeof c=="function"?(a--,c):void 0,u&&t(i[0],i[1],u)&&(c=a<3?void 0:c,a=1),s=Object(s);++o<a;){var l=i[o];l&&n(s,l,o,c)}return s})}return zg=r,zg}var Wg,dI;function Dz(){if(dI)return Wg;dI=1;var e=jz(),t=Mz(),r=t(function(n,s,i){e(n,s,i)});return Wg=r,Wg}var $z=Dz();const Fz=ut($z);var Jg,mI;function Jx(){if(mI)return Jg;mI=1;function e(t,r){for(var n=-1,s=t==null?0:t.length,i=Array(s);++n<s;)i[n]=r(t[n],n,t);return i}return Jg=e,Jg}var Hg,gI;function Jc(){if(gI)return Hg;gI=1;var e=Ms(),t=mn(),r="[object Symbol]";function n(s){return typeof s=="symbol"||t(s)&&e(s)==r}return Hg=n,Hg}var Kg,yI;function qz(){if(yI)return Kg;yI=1;var e=_a(),t=Jx(),r=Dr(),n=Jc(),s=e?e.prototype:void 0,i=s?s.toString:void 0;function o(a){if(typeof a=="string")return a;if(r(a))return t(a,o)+"";if(n(a))return i?i.call(a):"";var c=a+"";return c=="0"&&1/a==-1/0?"-0":c}return Kg=o,Kg}var Gg,vI;function ii(){if(vI)return Gg;vI=1;var e=qz();function t(r){return r==null?"":e(r)}return Gg=t,Gg}var Yg,bI;function zq(){if(bI)return Yg;bI=1;function e(t,r,n){var s=-1,i=t.length;r<0&&(r=-r>i?0:i+r),n=n>i?i:n,n<0&&(n+=i),i=r>n?0:n-r>>>0,r>>>=0;for(var o=Array(i);++s<i;)o[s]=t[s+r];return o}return Yg=e,Yg}var Xg,EI;function Bz(){if(EI)return Xg;EI=1;var e=zq();function t(r,n,s){var i=r.length;return s=s===void 0?i:s,!n&&s>=i?r:e(r,n,s)}return Xg=t,Xg}var Zg,SI;function Wq(){if(SI)return Zg;SI=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=t+r+n,i="\\ufe0e\\ufe0f",o="\\u200d",a=RegExp("["+o+e+s+i+"]");function c(u){return a.test(u)}return Zg=c,Zg}var Qg,_I;function Lz(){if(_I)return Qg;_I=1;function e(t){return t.split("")}return Qg=e,Qg}var ey,wI;function Uz(){if(wI)return ey;wI=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=t+r+n,i="\\ufe0e\\ufe0f",o="["+e+"]",a="["+s+"]",c="\\ud83c[\\udffb-\\udfff]",u="(?:"+a+"|"+c+")",l="[^"+e+"]",f="(?:\\ud83c[\\udde6-\\uddff]){2}",d="[\\ud800-\\udbff][\\udc00-\\udfff]",h="\\u200d",g=u+"?",v="["+i+"]?",y="(?:"+h+"(?:"+[l,f,d].join("|")+")"+v+g+")*",E=v+g+y,b="(?:"+[l+a+"?",a,f,d,o].join("|")+")",S=RegExp(c+"(?="+c+")|"+b+E,"g");function _(x){return x.match(S)||[]}return ey=_,ey}var ty,xI;function Vz(){if(xI)return ty;xI=1;var e=Lz(),t=Wq(),r=Uz();function n(s){return t(s)?r(s):e(s)}return ty=n,ty}var ry,AI;function zz(){if(AI)return ry;AI=1;var e=Bz(),t=Wq(),r=Vz(),n=ii();function s(i){return function(o){o=n(o);var a=t(o)?r(o):void 0,c=a?a[0]:o.charAt(0),u=a?e(a,1).join(""):o.slice(1);return c[i]()+u}}return ry=s,ry}var ny,OI;function Jq(){if(OI)return ny;OI=1;var e=zz(),t=e("toUpperCase");return ny=t,ny}var sy,CI;function Wz(){if(CI)return sy;CI=1;var e=ii(),t=Jq();function r(n){return t(e(n).toLowerCase())}return sy=r,sy}var iy,RI;function Hq(){if(RI)return iy;RI=1;function e(t,r,n,s){var i=-1,o=t==null?0:t.length;for(s&&o&&(n=t[++i]);++i<o;)n=r(n,t[i],i,t);return n}return iy=e,iy}var oy,TI;function Jz(){if(TI)return oy;TI=1;function e(t){return function(r){return t==null?void 0:t[r]}}return oy=e,oy}var ay,II;function Hz(){if(II)return ay;II=1;var e=Jz(),t={Ã:"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",Å¿:"s"},r=e(t);return ay=r,ay}var cy,PI;function Kz(){if(PI)return cy;PI=1;var e=Hz(),t=ii(),r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",o=n+s+i,a="["+o+"]",c=RegExp(a,"g");function u(l){return l=t(l),l&&l.replace(r,e).replace(c,"")}return cy=u,cy}var uy,jI;function Gz(){if(jI)return uy;jI=1;var e=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function t(r){return r.match(e)||[]}return uy=t,uy}var ly,kI;function Yz(){if(kI)return ly;kI=1;var e=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function t(r){return e.test(r)}return ly=t,ly}var fy,NI;function Xz(){if(NI)return fy;NI=1;var e="\\ud800-\\udfff",t="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=t+r+n,i="\\u2700-\\u27bf",o="a-z\\xdf-\\xf6\\xf8-\\xff",a="\\xac\\xb1\\xd7\\xf7",c="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",u="\\u2000-\\u206f",l=" \\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",f="A-Z\\xc0-\\xd6\\xd8-\\xde",d="\\ufe0e\\ufe0f",h=a+c+u+l,g="['â]",v="["+h+"]",y="["+s+"]",E="\\d+",b="["+i+"]",S="["+o+"]",_="[^"+e+h+E+i+o+f+"]",x="\\ud83c[\\udffb-\\udfff]",A="(?:"+y+"|"+x+")",O="[^"+e+"]",I="(?:\\ud83c[\\udde6-\\uddff]){2}",R="[\\ud800-\\udbff][\\udc00-\\udfff]",$="["+f+"]",M="\\u200d",q="(?:"+S+"|"+_+")",N="(?:"+$+"|"+_+")",U="(?:"+g+"(?:d|ll|m|re|s|t|ve))?",X="(?:"+g+"(?:D|LL|M|RE|S|T|VE))?",J=A+"?",ee="["+d+"]?",ne="(?:"+M+"(?:"+[O,I,R].join("|")+")"+ee+J+")*",re="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ie=ee+J+ne,ce="(?:"+[b,I,R].join("|")+")"+ie,ge=RegExp([$+"?"+S+"+"+U+"(?="+[v,$,"$"].join("|")+")",N+"+"+X+"(?="+[v,$+q,"$"].join("|")+")",$+"?"+q+"+"+U,$+"+"+X,Y,re,E,ce].join("|"),"g");function de(ae){return ae.match(ge)||[]}return fy=de,fy}var py,MI;function Zz(){if(MI)return py;MI=1;var e=Gz(),t=Yz(),r=ii(),n=Xz();function s(i,o,a){return i=r(i),o=a?void 0:o,o===void 0?t(i)?n(i):e(i):i.match(o)||[]}return py=s,py}var hy,DI;function Qz(){if(DI)return hy;DI=1;var e=Hq(),t=Kz(),r=Zz(),n="['â]",s=RegExp(n,"g");function i(o){return function(a){return e(r(t(a).replace(s,"")),o,"")}}return hy=i,hy}var dy,$I;function eW(){if($I)return dy;$I=1;var e=Wz(),t=Qz(),r=t(function(n,s,i){return s=s.toLowerCase(),n+(i?e(s):s)});return dy=r,dy}eW();Jq();var my,FI;function Kq(){if(FI)return my;FI=1;var e=$x(),t="Expected a function";function r(n,s){if(typeof n!="function"||s!=null&&typeof s!="function")throw new TypeError(t);var i=function(){var o=arguments,a=s?s.apply(this,o):o[0],c=i.cache;if(c.has(a))return c.get(a);var u=n.apply(this,o);return i.cache=c.set(a,u)||c,u};return i.cache=new(r.Cache||e),i}return r.Cache=e,my=r,my}var tW=Kq();const rc=ut(tW);var gy,qI;function rW(){if(qI)return gy;qI=1;var e="__lodash_hash_undefined__";function t(r){return this.__data__.set(r,e),this}return gy=t,gy}var yy,BI;function nW(){if(BI)return yy;BI=1;function e(t){return this.__data__.has(t)}return yy=e,yy}var vy,LI;function sW(){if(LI)return vy;LI=1;var e=$x(),t=rW(),r=nW();function n(s){var i=-1,o=s==null?0:s.length;for(this.__data__=new e;++i<o;)this.add(s[i])}return n.prototype.add=n.prototype.push=t,n.prototype.has=r,vy=n,vy}var by,UI;function Gq(){if(UI)return by;UI=1;function e(t,r){for(var n=-1,s=t==null?0:t.length;++n<s;)if(r(t[n],n,t))return!0;return!1}return by=e,by}var Ey,VI;function iW(){if(VI)return Ey;VI=1;function e(t,r){return t.has(r)}return Ey=e,Ey}var Sy,zI;function Yq(){if(zI)return Sy;zI=1;var e=sW(),t=Gq(),r=iW(),n=1,s=2;function i(o,a,c,u,l,f){var d=c&n,h=o.length,g=a.length;if(h!=g&&!(d&&g>h))return!1;var v=f.get(o),y=f.get(a);if(v&&y)return v==a&&y==o;var E=-1,b=!0,S=c&s?new e:void 0;for(f.set(o,a),f.set(a,o);++E<h;){var _=o[E],x=a[E];if(u)var A=d?u(x,_,E,a,o,f):u(_,x,E,o,a,f);if(A!==void 0){if(A)continue;b=!1;break}if(S){if(!t(a,function(O,I){if(!r(S,I)&&(_===O||l(_,O,c,u,f)))return S.push(I)})){b=!1;break}}else if(!(_===x||l(_,x,c,u,f))){b=!1;break}}return f.delete(o),f.delete(a),b}return Sy=i,Sy}var _y,WI;function oW(){if(WI)return _y;WI=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(s,i){n[++r]=[i,s]}),n}return _y=e,_y}var wy,JI;function aW(){if(JI)return wy;JI=1;function e(t){var r=-1,n=Array(t.size);return t.forEach(function(s){n[++r]=s}),n}return wy=e,wy}var xy,HI;function cW(){if(HI)return xy;HI=1;var e=_a(),t=Nq(),r=Sa(),n=Yq(),s=oW(),i=aW(),o=1,a=2,c="[object Boolean]",u="[object Date]",l="[object Error]",f="[object Map]",d="[object Number]",h="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",E="[object ArrayBuffer]",b="[object DataView]",S=e?e.prototype:void 0,_=S?S.valueOf:void 0;function x(A,O,I,R,$,M,q){switch(I){case b:if(A.byteLength!=O.byteLength||A.byteOffset!=O.byteOffset)return!1;A=A.buffer,O=O.buffer;case E:return!(A.byteLength!=O.byteLength||!M(new t(A),new t(O)));case c:case u:case d:return r(+A,+O);case l:return A.name==O.name&&A.message==O.message;case h:case v:return A==O+"";case f:var N=s;case g:var U=R&o;if(N||(N=i),A.size!=O.size&&!U)return!1;var X=q.get(A);if(X)return X==O;R|=a,q.set(A,O);var J=n(N(A),N(O),R,$,M,q);return q.delete(A),J;case y:if(_)return _.call(A)==_.call(O)}return!1}return xy=x,xy}var Ay,KI;function Hx(){if(KI)return Ay;KI=1;function e(t,r){for(var n=-1,s=r.length,i=t.length;++n<s;)t[i+n]=r[n];return t}return Ay=e,Ay}var Oy,GI;function Xq(){if(GI)return Oy;GI=1;var e=Hx(),t=Dr();function r(n,s,i){var o=s(n);return t(n)?o:e(o,i(n))}return Oy=r,Oy}var Cy,YI;function uW(){if(YI)return Cy;YI=1;function e(t,r){for(var n=-1,s=t==null?0:t.length,i=0,o=[];++n<s;){var a=t[n];r(a,n,t)&&(o[i++]=a)}return o}return Cy=e,Cy}var Ry,XI;function Zq(){if(XI)return Ry;XI=1;function e(){return[]}return Ry=e,Ry}var Ty,ZI;function Kx(){if(ZI)return Ty;ZI=1;var e=uW(),t=Zq(),r=Object.prototype,n=r.propertyIsEnumerable,s=Object.getOwnPropertySymbols,i=s?function(o){return o==null?[]:(o=Object(o),e(s(o),function(a){return n.call(o,a)}))}:t;return Ty=i,Ty}var Iy,QI;function lW(){if(QI)return Iy;QI=1;var e=Dq(),t=e(Object.keys,Object);return Iy=t,Iy}var Py,eP;function Gx(){if(eP)return Py;eP=1;var e=Ap(),t=lW(),r=Object.prototype,n=r.hasOwnProperty;function s(i){if(!e(i))return t(i);var o=[];for(var a in Object(i))n.call(i,a)&&a!="constructor"&&o.push(a);return o}return Py=s,Py}var jy,tP;function xa(){if(tP)return jy;tP=1;var e=qq(),t=Gx(),r=So();function n(s){return r(s)?e(s):t(s)}return jy=n,jy}var ky,rP;function Qq(){if(rP)return ky;rP=1;var e=Xq(),t=Kx(),r=xa();function n(s){return e(s,r,t)}return ky=n,ky}var Ny,nP;function fW(){if(nP)return Ny;nP=1;var e=Qq(),t=1,r=Object.prototype,n=r.hasOwnProperty;function s(i,o,a,c,u,l){var f=a&t,d=e(i),h=d.length,g=e(o),v=g.length;if(h!=v&&!f)return!1;for(var y=h;y--;){var E=d[y];if(!(f?E in o:n.call(o,E)))return!1}var b=l.get(i),S=l.get(o);if(b&&S)return b==o&&S==i;var _=!0;l.set(i,o),l.set(o,i);for(var x=f;++y<h;){E=d[y];var A=i[E],O=o[E];if(c)var I=f?c(O,A,E,o,i,l):c(A,O,E,i,o,l);if(!(I===void 0?A===O||u(A,O,a,c,l):I)){_=!1;break}x||(x=E=="constructor")}if(_&&!x){var R=i.constructor,$=o.constructor;R!=$&&"constructor"in i&&"constructor"in o&&!(typeof R=="function"&&R instanceof R&&typeof $=="function"&&$ instanceof $)&&(_=!1)}return l.delete(i),l.delete(o),_}return Ny=s,Ny}var My,sP;function pW(){if(sP)return My;sP=1;var e=Eo(),t=hn(),r=e(t,"DataView");return My=r,My}var Dy,iP;function hW(){if(iP)return Dy;iP=1;var e=Eo(),t=hn(),r=e(t,"Promise");return Dy=r,Dy}var $y,oP;function dW(){if(oP)return $y;oP=1;var e=Eo(),t=hn(),r=e(t,"Set");return $y=r,$y}var Fy,aP;function eB(){if(aP)return Fy;aP=1;var e=Eo(),t=hn(),r=e(t,"WeakMap");return Fy=r,Fy}var qy,cP;function Aa(){if(cP)return qy;cP=1;var e=pW(),t=Dx(),r=hW(),n=dW(),s=eB(),i=Ms(),o=Tq(),a="[object Map]",c="[object Object]",u="[object Promise]",l="[object Set]",f="[object WeakMap]",d="[object DataView]",h=o(e),g=o(t),v=o(r),y=o(n),E=o(s),b=i;return(e&&b(new e(new ArrayBuffer(1)))!=d||t&&b(new t)!=a||r&&b(r.resolve())!=u||n&&b(new n)!=l||s&&b(new s)!=f)&&(b=function(S){var _=i(S),x=_==c?S.constructor:void 0,A=x?o(x):"";if(A)switch(A){case h:return d;case g:return a;case v:return u;case y:return l;case E:return f}return _}),qy=b,qy}var By,uP;function mW(){if(uP)return By;uP=1;var e=wp(),t=Yq(),r=cW(),n=fW(),s=Aa(),i=Dr(),o=Uc(),a=Cp(),c=1,u="[object Arguments]",l="[object Array]",f="[object Object]",d=Object.prototype,h=d.hasOwnProperty;function g(v,y,E,b,S,_){var x=i(v),A=i(y),O=x?l:s(v),I=A?l:s(y);O=O==u?f:O,I=I==u?f:I;var R=O==f,$=I==f,M=O==I;if(M&&o(v)){if(!o(y))return!1;x=!0,R=!1}if(M&&!R)return _||(_=new e),x||a(v)?t(v,y,E,b,S,_):r(v,y,O,E,b,S,_);if(!(E&c)){var q=R&&h.call(v,"__wrapped__"),N=$&&h.call(y,"__wrapped__");if(q||N){var U=q?v.value():v,X=N?y.value():y;return _||(_=new e),S(U,X,E,b,_)}}return M?(_||(_=new e),n(v,y,E,b,S,_)):!1}return By=g,By}var Ly,lP;function Yx(){if(lP)return Ly;lP=1;var e=mW(),t=mn();function r(n,s,i,o,a){return n===s?!0:n==null||s==null||!t(n)&&!t(s)?n!==n&&s!==s:e(n,s,i,o,r,a)}return Ly=r,Ly}var Uy,fP;function gW(){if(fP)return Uy;fP=1;var e=wp(),t=Yx(),r=1,n=2;function s(i,o,a,c){var u=a.length,l=u,f=!c;if(i==null)return!l;for(i=Object(i);u--;){var d=a[u];if(f&&d[2]?d[1]!==i[d[0]]:!(d[0]in i))return!1}for(;++u<l;){d=a[u];var h=d[0],g=i[h],v=d[1];if(f&&d[2]){if(g===void 0&&!(h in i))return!1}else{var y=new e;if(c)var E=c(g,v,h,i,o,y);if(!(E===void 0?t(v,g,r|n,c,y):E))return!1}}return!0}return Uy=s,Uy}var Vy,pP;function tB(){if(pP)return Vy;pP=1;var e=dn();function t(r){return r===r&&!e(r)}return Vy=t,Vy}var zy,hP;function yW(){if(hP)return zy;hP=1;var e=tB(),t=xa();function r(n){for(var s=t(n),i=s.length;i--;){var o=s[i],a=n[o];s[i]=[o,a,e(a)]}return s}return zy=r,zy}var Wy,dP;function rB(){if(dP)return Wy;dP=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return Wy=e,Wy}var Jy,mP;function vW(){if(mP)return Jy;mP=1;var e=gW(),t=yW(),r=rB();function n(s){var i=t(s);return i.length==1&&i[0][2]?r(i[0][0],i[0][1]):function(o){return o===s||e(o,s,i)}}return Jy=n,Jy}var Hy,gP;function Xx(){if(gP)return Hy;gP=1;var e=Dr(),t=Jc(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function s(i,o){if(e(i))return!1;var a=typeof i;return a=="number"||a=="symbol"||a=="boolean"||i==null||t(i)?!0:n.test(i)||!r.test(i)||o!=null&&i in Object(o)}return Hy=s,Hy}var Ky,yP;function bW(){if(yP)return Ky;yP=1;var e=Kq(),t=500;function r(n){var s=e(n,function(o){return i.size===t&&i.clear(),o}),i=s.cache;return s}return Ky=r,Ky}var Gy,vP;function nB(){if(vP)return Gy;vP=1;var e=bW(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(s){var i=[];return s.charCodeAt(0)===46&&i.push(""),s.replace(t,function(o,a,c,u){i.push(c?u.replace(r,"$1"):a||o)}),i});return Gy=n,Gy}var Yy,bP;function Hc(){if(bP)return Yy;bP=1;var e=Dr(),t=Xx(),r=nB(),n=ii();function s(i,o){return e(i)?i:t(i,o)?[i]:r(n(i))}return Yy=s,Yy}var Xy,EP;function _o(){if(EP)return Xy;EP=1;var e=Jc();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return Xy=t,Xy}var Zy,SP;function Zx(){if(SP)return Zy;SP=1;var e=Hc(),t=_o();function r(n,s){s=e(s,n);for(var i=0,o=s.length;n!=null&&i<o;)n=n[t(s[i++])];return i&&i==o?n:void 0}return Zy=r,Zy}var Qy,_P;function sB(){if(_P)return Qy;_P=1;var e=Zx();function t(r,n,s){var i=r==null?void 0:e(r,n);return i===void 0?s:i}return Qy=t,Qy}var ev,wP;function EW(){if(wP)return ev;wP=1;function e(t,r){return t!=null&&r in Object(t)}return ev=e,ev}var tv,xP;function iB(){if(xP)return tv;xP=1;var e=Hc(),t=Lc(),r=Dr(),n=Vc(),s=Lx(),i=_o();function o(a,c,u){c=e(c,a);for(var l=-1,f=c.length,d=!1;++l<f;){var h=i(c[l]);if(!(d=a!=null&&u(a,h)))break;a=a[h]}return d||++l!=f?d:(f=a==null?0:a.length,!!f&&s(f)&&n(h,f)&&(r(a)||t(a)))}return tv=o,tv}var rv,AP;function SW(){if(AP)return rv;AP=1;var e=EW(),t=iB();function r(n,s){return n!=null&&t(n,s,e)}return rv=r,rv}var nv,OP;function _W(){if(OP)return nv;OP=1;var e=Yx(),t=sB(),r=SW(),n=Xx(),s=tB(),i=rB(),o=_o(),a=1,c=2;function u(l,f){return n(l)&&s(f)?i(o(l),f):function(d){var h=t(d,l);return h===void 0&&h===f?r(d,l):e(f,h,a|c)}}return nv=u,nv}var sv,CP;function wW(){if(CP)return sv;CP=1;function e(t){return function(r){return r==null?void 0:r[t]}}return sv=e,sv}var iv,RP;function xW(){if(RP)return iv;RP=1;var e=Zx();function t(r){return function(n){return e(n,r)}}return iv=t,iv}var ov,TP;function AW(){if(TP)return ov;TP=1;var e=wW(),t=xW(),r=Xx(),n=_o();function s(i){return r(i)?e(n(i)):t(i)}return ov=s,ov}var av,IP;function Kc(){if(IP)return av;IP=1;var e=vW(),t=_W(),r=Wc(),n=Dr(),s=AW();function i(o){return typeof o=="function"?o:o==null?r:typeof o=="object"?n(o)?t(o[0],o[1]):e(o):s(o)}return av=i,av}var cv,PP;function OW(){if(PP)return cv;PP=1;var e=Kc(),t=So(),r=xa();function n(s){return function(i,o,a){var c=Object(i);if(!t(i)){var u=e(o,3);
6i=r(i),o=function(f){return u(c[f],f,c)}}var l=s(i,o,a);return l>-1?c[u?i[l]:l]:void 0}}return cv=n,cv}var uv,jP;function oB(){if(jP)return uv;jP=1;function e(t,r,n,s){for(var i=t.length,o=n+(s?1:-1);s?o--:++o<i;)if(r(t[o],o,t))return o;return-1}return uv=e,uv}var lv,kP;function CW(){if(kP)return lv;kP=1;var e=/\s/;function t(r){for(var n=r.length;n--&&e.test(r.charAt(n)););return n}return lv=t,lv}var fv,NP;function RW(){if(NP)return fv;NP=1;var e=CW(),t=/^\s+/;function r(n){return n&&n.slice(0,e(n)+1).replace(t,"")}return fv=r,fv}var pv,MP;function aB(){if(MP)return pv;MP=1;var e=RW(),t=dn(),r=Jc(),n=NaN,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt;function c(u){if(typeof u=="number")return u;if(r(u))return n;if(t(u)){var l=typeof u.valueOf=="function"?u.valueOf():u;u=t(l)?l+"":l}if(typeof u!="string")return u===0?u:+u;u=e(u);var f=i.test(u);return f||o.test(u)?a(u.slice(2),f?2:8):s.test(u)?n:+u}return pv=c,pv}var hv,DP;function TW(){if(DP)return hv;DP=1;var e=aB(),t=1/0,r=17976931348623157e292;function n(s){if(!s)return s===0?s:0;if(s=e(s),s===t||s===-t){var i=s<0?-1:1;return i*r}return s===s?s:0}return hv=n,hv}var dv,$P;function Qx(){if($P)return dv;$P=1;var e=TW();function t(r){var n=e(r),s=n%1;return n===n?s?n-s:n:0}return dv=t,dv}var mv,FP;function IW(){if(FP)return mv;FP=1;var e=oB(),t=Kc(),r=Qx(),n=Math.max;function s(i,o,a){var c=i==null?0:i.length;if(!c)return-1;var u=a==null?0:r(a);return u<0&&(u=n(c+u,0)),e(i,t(o,3),u)}return mv=s,mv}var gv,qP;function PW(){if(qP)return gv;qP=1;var e=OW(),t=IW(),r=e(t);return gv=r,gv}var jW=PW();const kW=ut(jW);var yv,BP;function NW(){if(BP)return yv;BP=1;var e=jq(),t=xa();function r(n,s){return n&&e(n,s,t)}return yv=r,yv}var vv,LP;function MW(){if(LP)return vv;LP=1;var e=So();function t(r,n){return function(s,i){if(s==null)return s;if(!e(s))return r(s,i);for(var o=s.length,a=n?o:-1,c=Object(s);(n?a--:++a<o)&&i(c[a],a,c)!==!1;);return s}}return vv=t,vv}var bv,UP;function cB(){if(UP)return bv;UP=1;var e=NW(),t=MW(),r=t(e);return bv=r,bv}var Ev,VP;function DW(){if(VP)return Ev;VP=1;var e=cB();function t(r,n){var s;return e(r,function(i,o,a){return s=n(i,o,a),!s}),!!s}return Ev=t,Ev}var Sv,zP;function $W(){if(zP)return Sv;zP=1;var e=Gq(),t=Kc(),r=DW(),n=Dr(),s=Vq();function i(o,a,c){var u=n(o)?e:r;return c&&s(o,a,c)&&(a=void 0),u(o,t(a,3))}return Sv=i,Sv}var FW=$W();const uB=ut(FW);var qW=Sa();const BW=ut(qW);var LW=qc();const WP=ut(LW);var Ul={exports:{}};/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */var UW=Ul.exports,JP;function VW(){return JP||(JP=1,(function(e,t){(function(r,n){e.exports=n(r)})(typeof en<"u"?en:UW,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(s){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(s),o=i.length,a=-1,c,u="",l=i.charCodeAt(0);++a<o;){if(c=i.charCodeAt(a),c==0){u+="�";continue}if(c>=1&&c<=31||c==127||a==0&&c>=48&&c<=57||a==1&&c>=48&&c<=57&&l==45){u+="\\"+c.toString(16)+" ";continue}if(a==0&&o==1&&c==45){u+="\\"+i.charAt(a);continue}if(c>=128||c==45||c==95||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122){u+=i.charAt(a);continue}u+="\\"+i.charAt(a)}return u};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})})(Ul)),Ul.exports}var zW=VW();const WW=ut(zW);var _v,HP;function JW(){return HP||(HP=1,_v=function(t,r){if(r=r.split(":")[0],t=+t,!t)return!1;switch(r){case"http":case"ws":return t!==80;case"https":case"wss":return t!==443;case"ftp":return t!==21;case"gopher":return t!==70;case"file":return!1}return t!==0}),_v}var xl={},KP;function HW(){if(KP)return xl;KP=1;var e=Object.prototype.hasOwnProperty,t;function r(o){try{return decodeURIComponent(o.replace(/\+/g," "))}catch{return null}}function n(o){try{return encodeURIComponent(o)}catch{return null}}function s(o){for(var a=/([^=?#&]+)=?([^&]*)/g,c={},u;u=a.exec(o);){var l=r(u[1]),f=r(u[2]);l===null||f===null||l in c||(c[l]=f)}return c}function i(o,a){a=a||"";var c=[],u,l;typeof a!="string"&&(a="?");for(l in o)if(e.call(o,l)){if(u=o[l],!u&&(u===null||u===t||isNaN(u))&&(u=""),l=n(l),u=n(u),l===null||u===null)continue;c.push(l+"="+u)}return c.length?a+c.join("&"):""}return xl.stringify=i,xl.parse=s,xl}var wv,GP;function KW(){if(GP)return wv;GP=1;var e=JW(),t=HW(),r=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,n=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,i=/:\d+$/,o=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,a=/^[a-zA-Z]:/;function c(b){return(b||"").toString().replace(r,"")}var u=[["#","hash"],["?","query"],function(S,_){return d(_.protocol)?S.replace(/\\/g,"/"):S},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],l={hash:1,query:1};function f(b){var S;typeof window<"u"?S=window:typeof en<"u"?S=en:typeof self<"u"?S=self:S={};var _=S.location||{};b=b||_;var x={},A=typeof b,O;if(b.protocol==="blob:")x=new v(unescape(b.pathname),{});else if(A==="string"){x=new v(b,{});for(O in l)delete x[O]}else if(A==="object"){for(O in b)O in l||(x[O]=b[O]);x.slashes===void 0&&(x.slashes=s.test(b.href))}return x}function d(b){return b==="file:"||b==="ftp:"||b==="http:"||b==="https:"||b==="ws:"||b==="wss:"}function h(b,S){b=c(b),b=b.replace(n,""),S=S||{};var _=o.exec(b),x=_[1]?_[1].toLowerCase():"",A=!!_[2],O=!!_[3],I=0,R;return A?O?(R=_[2]+_[3]+_[4],I=_[2].length+_[3].length):(R=_[2]+_[4],I=_[2].length):O?(R=_[3]+_[4],I=_[3].length):R=_[4],x==="file:"?I>=2&&(R=R.slice(2)):d(x)?R=_[4]:x?A&&(R=R.slice(2)):I>=2&&d(S.protocol)&&(R=_[4]),{protocol:x,slashes:A||d(x),slashesCount:I,rest:R}}function g(b,S){if(b==="")return S;for(var _=(S||"/").split("/").slice(0,-1).concat(b.split("/")),x=_.length,A=_[x-1],O=!1,I=0;x--;)_[x]==="."?_.splice(x,1):_[x]===".."?(_.splice(x,1),I++):I&&(x===0&&(O=!0),_.splice(x,1),I--);return O&&_.unshift(""),(A==="."||A==="..")&&_.push(""),_.join("/")}function v(b,S,_){if(b=c(b),b=b.replace(n,""),!(this instanceof v))return new v(b,S,_);var x,A,O,I,R,$,M=u.slice(),q=typeof S,N=this,U=0;for(q!=="object"&&q!=="string"&&(_=S,S=null),_&&typeof _!="function"&&(_=t.parse),S=f(S),A=h(b||"",S),x=!A.protocol&&!A.slashes,N.slashes=A.slashes||x&&S.slashes,N.protocol=A.protocol||S.protocol||"",b=A.rest,(A.protocol==="file:"&&(A.slashesCount!==2||a.test(b))||!A.slashes&&(A.protocol||A.slashesCount<2||!d(N.protocol)))&&(M[3]=[/(.*)/,"pathname"]);U<M.length;U++){if(I=M[U],typeof I=="function"){b=I(b,N);continue}O=I[0],$=I[1],O!==O?N[$]=b:typeof O=="string"?(R=O==="@"?b.lastIndexOf(O):b.indexOf(O),~R&&(typeof I[2]=="number"?(N[$]=b.slice(0,R),b=b.slice(R+I[2])):(N[$]=b.slice(R),b=b.slice(0,R)))):(R=O.exec(b))&&(N[$]=R[1],b=b.slice(0,R.index)),N[$]=N[$]||x&&I[3]&&S[$]||"",I[4]&&(N[$]=N[$].toLowerCase())}_&&(N.query=_(N.query)),x&&S.slashes&&N.pathname.charAt(0)!=="/"&&(N.pathname!==""||S.pathname!=="")&&(N.pathname=g(N.pathname,S.pathname)),N.pathname.charAt(0)!=="/"&&d(N.protocol)&&(N.pathname="/"+N.pathname),e(N.port,N.protocol)||(N.host=N.hostname,N.port=""),N.username=N.password="",N.auth&&(
6R=N.auth.indexOf(":"),~R?(N.username=N.auth.slice(0,R),N.username=encodeURIComponent(decodeURIComponent(N.username)),N.password=N.auth.slice(R+1),N.password=encodeURIComponent(decodeURIComponent(N.password))):N.username=encodeURIComponent(decodeURIComponent(N.auth)),N.auth=N.password?N.username+":"+N.password:N.username),N.origin=N.protocol!=="file:"&&d(N.protocol)&&N.host?N.protocol+"//"+N.host:"null",N.href=N.toString()}function y(b,S,_){var x=this;switch(b){case"query":typeof S=="string"&&S.length&&(S=(_||t.parse)(S)),x[b]=S;break;case"port":x[b]=S,e(S,x.protocol)?S&&(x.host=x.hostname+":"+S):(x.host=x.hostname,x[b]="");break;case"hostname":x[b]=S,x.port&&(S+=":"+x.port),x.host=S;break;case"host":x[b]=S,i.test(S)?(S=S.split(":"),x.port=S.pop(),x.hostname=S.join(":")):(x.hostname=S,x.port="");break;case"protocol":x.protocol=S.toLowerCase(),x.slashes=!_;break;case"pathname":case"hash":if(S){var A=b==="pathname"?"/":"#";x[b]=S.charAt(0)!==A?A+S:S}else x[b]=S;break;case"username":case"password":x[b]=encodeURIComponent(S);break;case"auth":var O=S.indexOf(":");~O?(x.username=S.slice(0,O),x.username=encodeURIComponent(decodeURIComponent(x.username)),x.password=S.slice(O+1),x.password=encodeURIComponent(decodeURIComponent(x.password))):x.username=encodeURIComponent(decodeURIComponent(S))}for(var I=0;I<u.length;I++){var R=u[I];R[4]&&(x[R[1]]=x[R[1]].toLowerCase())}return x.auth=x.password?x.username+":"+x.password:x.username,x.origin=x.protocol!=="file:"&&d(x.protocol)&&x.host?x.protocol+"//"+x.host:"null",x.href=x.toString(),x}function E(b){(!b||typeof b!="function")&&(b=t.stringify);var S,_=this,x=_.host,A=_.protocol;A&&A.charAt(A.length-1)!==":"&&(A+=":");var O=A+(_.protocol&&_.slashes||d(_.protocol)?"//":"");return _.username?(O+=_.username,_.password&&(O+=":"+_.password),O+="@"):_.password?(O+=":"+_.password,O+="@"):_.protocol!=="file:"&&d(_.protocol)&&!x&&_.pathname!=="/"&&(O+="@"),(x[x.length-1]===":"||i.test(_.hostname)&&!_.port)&&(x+=":"),O+=x+_.pathname,S=typeof _.query=="object"?b(_.query):_.query,S&&(O+=S.charAt(0)!=="?"?"?"+S:S),_.hash&&(O+=_.hash),O}return v.prototype={set:y,toString:E},v.extractProtocol=h,v.location=f,v.trimLeft=c,v.qs=t,wv=v,wv}var GW=KW();const mc=ut(GW);function YW(e,t=`expected a function, instead received ${typeof e}`){if(typeof e!="function")throw new TypeError(t)}function XW(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(r=>typeof r=="function")){const r=e.map(n=>typeof n=="function"?`function ${n.name||"unnamed"}()`:typeof n).join(", ");throw new TypeError(`${t}[${r}]`)}}var YP=e=>Array.isArray(e)?e:[e];function ZW(e){const t=Array.isArray(e[0])?e[0]:e;return XW(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function QW(e,t){const r=[],{length:n}=e;for(let s=0;s<n;s++)r.push(e[s].apply(null,t));return r}var eJ=class{constructor(e){this.value=e}deref(){return this.value}},tJ=()=>typeof WeakRef>"u"?eJ:WeakRef,lB=tJ(),rJ=0,XP=1;function Al(){return{s:rJ,v:void 0,o:null,p:null}}function nJ(e){return e instanceof lB?e.deref():e}function fB(e,t={}){let r=Al();const{resultEqualityCheck:n}=t;let s,i=0;function o(){let a=r;const{length:c}=arguments;for(let f=0,d=c;f<d;f++){const h=arguments[f];if(typeof h=="function"||typeof h=="object"&&h!==null){let g=a.o;g===null&&(a.o=g=new WeakMap);const v=g.get(h);v===void 0?(a=Al(),g.set(h,a)):a=v}else{let g=a.p;g===null&&(a.p=g=new Map);const v=g.get(h);v===void 0?(a=Al(),g.set(h,a)):a=v}}const u=a;let l;if(a.s===XP)l=a.v;else if(l=e.apply(null,arguments),i++,n){const f=nJ(s);f!=null&&n(f,l)&&(l=f,i!==0&&i--),s=typeof l=="object"&&l!==null||typeof l=="function"?new lB(l):l}return u.s=XP,u.v=l,l}return o.clearCache=()=>{r=Al(),o.resetResultsCount()},o.resultsCount=()=>i,o.resetResultsCount=()=>{i=0},o}function sJ(e,...t){const r=typeof e=="function"?{memoize:e,memoizeOptions:t}:e,n=(...s)=>{let i=0,o=0,a,c={},u=s.pop();typeof u=="object"&&(c=u,u=s.pop()),YW(u,`createSelector expects an output function after the inputs, but received: [${typeof u}]`);const l={...r,...c},{memoize:f,memoizeOptions:d=[],argsMemoize:h=fB,argsMemoizeOptions:g=[]}=l,v=YP(d),y=YP(g),E=ZW(s),b=f(function(){return i++,u.apply(null,arguments)},...v),S=h(function(){o++;const x=QW(E,arguments);return a=b.apply(null,x),a},...y);return Object.assign(S,{resultFunc:u,memoizedResultFunc:b,dependencies:E,dependencyRecomputations:()=>o,resetDependencyRecomputations:()=>{o=0},lastResult:()=>a,recomputations:()=>i,resetRecomputations:()=>{i=0},memoize:f,argsMemoize:h})};return Object.assign(n,{withTypes:()=>n}),n}var ct=sJ(fB),xv,ZP;function eA(){if(ZP)return xv;ZP=1;function e(t,r){for(var n=-1,s=t==null?0:t.length;++n<s&&r(t[n],n,t)!==!1;);return t}return xv=e,xv}var Av,QP;function pB(){if(QP)return Av;QP=1;var e=wa(),t=xa();function r(n,s){return n&&e(s,t(s),n)}return Av=r,Av}var Ov,ej;
6function iJ(){if(ej)return Ov;ej=1;var e=wa(),t=zc();function r(n,s){return n&&e(s,t(s),n)}return Ov=r,Ov}var Cv,tj;function oJ(){if(tj)return Cv;tj=1;var e=wa(),t=Kx();function r(n,s){return e(n,t(n),s)}return Cv=r,Cv}var Rv,rj;function hB(){if(rj)return Rv;rj=1;var e=Hx(),t=Bx(),r=Kx(),n=Zq(),s=Object.getOwnPropertySymbols,i=s?function(o){for(var a=[];o;)e(a,r(o)),o=t(o);return a}:n;return Rv=i,Rv}var Tv,nj;function aJ(){if(nj)return Tv;nj=1;var e=wa(),t=hB();function r(n,s){return e(n,t(n),s)}return Tv=r,Tv}var Iv,sj;function dB(){if(sj)return Iv;sj=1;var e=Xq(),t=hB(),r=zc();function n(s){return e(s,r,t)}return Iv=n,Iv}var Pv,ij;function cJ(){if(ij)return Pv;ij=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n){var s=n.length,i=new n.constructor(s);return s&&typeof n[0]=="string"&&t.call(n,"index")&&(i.index=n.index,i.input=n.input),i}return Pv=r,Pv}var jv,oj;function uJ(){if(oj)return jv;oj=1;var e=qx();function t(r,n){var s=n?e(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}return jv=t,jv}var kv,aj;function lJ(){if(aj)return kv;aj=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return kv=t,kv}var Nv,cj;function fJ(){if(cj)return Nv;cj=1;var e=_a(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(s){return r?Object(r.call(s)):{}}return Nv=n,Nv}var Mv,uj;function pJ(){if(uj)return Mv;uj=1;var e=qx(),t=uJ(),r=lJ(),n=fJ(),s=Mq(),i="[object Boolean]",o="[object Date]",a="[object Map]",c="[object Number]",u="[object RegExp]",l="[object Set]",f="[object String]",d="[object Symbol]",h="[object ArrayBuffer]",g="[object DataView]",v="[object Float32Array]",y="[object Float64Array]",E="[object Int8Array]",b="[object Int16Array]",S="[object Int32Array]",_="[object Uint8Array]",x="[object Uint8ClampedArray]",A="[object Uint16Array]",O="[object Uint32Array]";function I(R,$,M){var q=R.constructor;switch($){case h:return e(R);case i:case o:return new q(+R);case g:return t(R,M);case v:case y:case E:case b:case S:case _:case x:case A:case O:return s(R,M);case a:return new q;case c:case f:return new q(R);case u:return r(R);case l:return new q;case d:return n(R)}}return Mv=I,Mv}var Dv,lj;function hJ(){if(lj)return Dv;lj=1;var e=Aa(),t=mn(),r="[object Map]";function n(s){return t(s)&&e(s)==r}return Dv=n,Dv}var $v,fj;function dJ(){if(fj)return $v;fj=1;var e=hJ(),t=Ux(),r=Vx(),n=r&&r.isMap,s=n?t(n):e;return $v=s,$v}var Fv,pj;function mJ(){if(pj)return Fv;pj=1;var e=Aa(),t=mn(),r="[object Set]";function n(s){return t(s)&&e(s)==r}return Fv=n,Fv}var qv,hj;function gJ(){if(hj)return qv;hj=1;var e=mJ(),t=Ux(),r=Vx(),n=r&&r.isSet,s=n?t(n):e;return qv=s,qv}var Bv,dj;function tA(){if(dj)return Bv;dj=1;var e=wp(),t=eA(),r=Rp(),n=pB(),s=iJ(),i=kq(),o=Bc(),a=oJ(),c=aJ(),u=Qq(),l=dB(),f=Aa(),d=cJ(),h=pJ(),g=$q(),v=Dr(),y=Uc(),E=dJ(),b=dn(),S=gJ(),_=xa(),x=zc(),A=1,O=2,I=4,R="[object Arguments]",$="[object Array]",M="[object Boolean]",q="[object Date]",N="[object Error]",U="[object Function]",X="[object GeneratorFunction]",J="[object Map]",ee="[object Number]",ne="[object Object]",re="[object RegExp]",Y="[object Set]",ie="[object String]",ce="[object Symbol]",ge="[object WeakMap]",de="[object ArrayBuffer]",ae="[object DataView]",W="[object Float32Array]",V="[object Float64Array]",fe="[object Int8Array]",ye="[object Int16Array]",De="[object Int32Array]",Fe="[object Uint8Array]",Re="[object Uint8ClampedArray]",ke="[object Uint16Array]",Je="[object Uint32Array]",be={};be[R]=be[$]=be[de]=be[ae]=be[M]=be[q]=be[W]=be[V]=be[fe]=be[ye]=be[De]=be[J]=be[ee]=be[ne]=be[re]=be[Y]=be[ie]=be[ce]=be[Fe]=be[Re]=be[ke]=be[Je]=!0,be[N]=be[U]=be[ge]=!1;function Ee(xe,L,T,j,z,Q){var oe,he=L&A,$e=L&O,tt=L&I;if(T&&(oe=z?T(xe,j,z,Q):T(xe)),oe!==void 0)return oe;if(!b(xe))return xe;var F=v(xe);if(F){if(oe=d(xe),!he)return o(xe,oe)}else{var C=f(xe),P=C==U||C==X;if(y(xe))return i(xe,he);if(C==ne||C==R||P&&!z){if(oe=$e||P?{}:g(xe),!he)return $e?c(xe,s(oe,xe)):a(xe,n(oe,xe))}else{if(!be[C])return z?xe:{};oe=h(xe,C,he)}}Q||(Q=new e);var H=Q.get(xe);if(H)return H;Q.set(xe,oe),S(xe)?xe.forEach(function(Ae){oe.add(Ee(Ae,L,T,Ae,xe,Q))}):E(xe)&&xe.forEach(function(Ae,ot){oe.set(ot,Ee(Ae,L,T,ot,xe,Q))});var le=tt?$e?l:u:$e?x:_,me=F?void 0:le(xe);return t(me||xe,function(Ae,ot){me&&(ot=Ae,Ae=xe[ot]),r(oe,ot,Ee(Ae,L,T,ot,xe,Q))}),oe}
6return Bv=Ee,Bv}var Lv,mj;function yJ(){if(mj)return Lv;mj=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return Lv=e,Lv}var Uv,gj;function vJ(){if(gj)return Uv;gj=1;var e=Zx(),t=zq();function r(n,s){return s.length<2?n:e(n,t(s,0,-1))}return Uv=r,Uv}var Vv,yj;function bJ(){if(yj)return Vv;yj=1;var e=Hc(),t=yJ(),r=vJ(),n=_o(),s=Object.prototype,i=s.hasOwnProperty;function o(a,c){c=e(c,a);var u=-1,l=c.length;if(!l)return!0;for(;++u<l;){var f=n(c[u]);if(f==="__proto__"&&!i.call(a,"__proto__")||(f==="constructor"||f==="prototype")&&u<l-1)return!1}var d=r(a,c);return d==null||delete d[n(t(c))]}return Vv=o,Vv}var zv,vj;function EJ(){if(vj)return zv;vj=1;var e=Op();function t(r){return e(r)?void 0:r}return zv=t,zv}var Wv,bj;function SJ(){if(bj)return Wv;bj=1;var e=_a(),t=Lc(),r=Dr(),n=e?e.isConcatSpreadable:void 0;function s(i){return r(i)||t(i)||!!(n&&i&&i[n])}return Wv=s,Wv}var Jv,Ej;function _J(){if(Ej)return Jv;Ej=1;var e=Hx(),t=SJ();function r(n,s,i,o,a){var c=-1,u=n.length;for(i||(i=t),a||(a=[]);++c<u;){var l=n[c];s>0&&i(l)?s>1?r(l,s-1,i,o,a):e(a,l):o||(a[a.length]=l)}return a}return Jv=r,Jv}var Hv,Sj;function wJ(){if(Sj)return Hv;Sj=1;var e=_J();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return Hv=t,Hv}var Kv,_j;function mB(){if(_j)return Kv;_j=1;var e=wJ(),t=Bq(),r=Wx();function n(s){return r(t(s,void 0,e),s+"")}return Kv=n,Kv}var Gv,wj;function xJ(){if(wj)return Gv;wj=1;var e=Jx(),t=tA(),r=bJ(),n=Hc(),s=wa(),i=EJ(),o=mB(),a=dB(),c=1,u=2,l=4,f=o(function(d,h){var g={};if(d==null)return g;var v=!1;h=e(h,function(E){return E=n(E,d),v||(v=E.length>1),E}),s(d,a(d),g),v&&(g=t(g,c|u|l,i));for(var y=h.length;y--;)r(g,h[y]);return g});return Gv=f,Gv}var AJ=xJ();const rA=ut(AJ);/*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */function gB(e){return typeof e>"u"||e===null}function OJ(e){return typeof e=="object"&&e!==null}function CJ(e){return Array.isArray(e)?e:gB(e)?[]:[e]}function RJ(e,t){var r,n,s,i;if(t)for(i=Object.keys(t),r=0,n=i.length;r<n;r+=1)s=i[r],e[s]=t[s];return e}function TJ(e,t){var r="",n;for(n=0;n<t;n+=1)r+=e;return r}function IJ(e){return e===0&&Number.NEGATIVE_INFINITY===1/e}var PJ=gB,jJ=OJ,kJ=CJ,NJ=TJ,MJ=IJ,DJ=RJ,Ir={isNothing:PJ,isObject:jJ,toArray:kJ,repeat:NJ,isNegativeZero:MJ,extend:DJ};function yB(e,t){var r="",n=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(r+='in "'+e.mark.name+'" '),r+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(r+=` 7 8`+e.mark.snippet),n+" "+r):n}function gc(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=yB(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}gc.prototype=Object.create(Error.prototype);gc.prototype.constructor=gc;gc.prototype.toString=function(t){return this.name+": "+yB(this,t)};var ln=gc;function Yv(e,t,r,n,s){var i="",o="",a=Math.floor(s/2)-1;return n-t>a&&(i=" ... ",t=n-a+i.length),r-n>a&&(o=" ...",r=n+a-o.length),{str:i+e.slice(t,r).replace(/\t/g,"â")+o,pos:n-t+i.length}}function Xv(e,t){return Ir.repeat(" ",t-e.length)+e}function $J(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],s=[],i,o=-1;i=r.exec(e.buffer);)s.push(i.index),n.push(i.index+i[0].length),e.position<=i.index&&o<0&&(o=n.length-2);o<0&&(o=n.length-1);var a="",c,u,l=Math.min(e.line+t.linesAfter,s.length).toString().length,f=t.maxLength-(t.indent+l+3);for(c=1;c<=t.linesBefore&&!(o-c<0);c++)u=Yv(e.buffer,n[o-c],s[o-c],e.position-(n[o]-n[o-c]),f),a=Ir.repeat(" ",t.indent)+Xv((e.line-c+1).toString(),l)+" | "+u.str+` 9`+a;for(u=Yv(e.buffer,n[o],s[o],e.position,f),a+=Ir.repeat(" ",t.indent)+Xv((e.line+1).toString(),l)+" | "+u.str+` 10`,a+=Ir.repeat("-",t.indent+l+3+u.pos)+`^ 11`,c=1;c<=t.linesAfter&&!(o+c>=s.length);c++)u=Yv(e.buffer,n[o+c],s[o+c],e.position-(n[o]-n[o+c]),f),a+=Ir.repeat(" ",t.indent)+Xv((e.line+c+1).toString(),l)+" | "+u.str+` 12`;return a.replace(/\n$/,"")}var FJ=$J,qJ=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],BJ=["scalar","sequence","mapping"];function LJ(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function UJ(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(qJ.indexOf(r)===-1)throw new ln('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=LJ(t.styleAliases||null),BJ.indexOf(this.kind)===-1)throw new ln('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Jr=UJ;function xj(e,t){var r=[];return e[t].forEach(function(n){var s=r.length;r.forEach(function(i,o){i.tag===n.tag&&i.kind===n.kind&&i.multi===n.multi&&(s=o)}),r[s]=n}),r}function VJ(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(s){s.multi?(e.multi[s.kind].push(s),e.multi.fallback.push(s)):e[s.kind][s.tag]=e.fallback[s.tag]=s}for(t=0,r=arguments.length;t<r;t+=1)arguments[t].forEach(n);return e}function __(e){return this.extend(e)}__.prototype.extend=function(t){var r=[],n=[];if(t instanceof Jr)n.push(t);else if(Array.isArray(t))n=n.concat(t);else if(t&&(Array.isArray(t.implicit)||Array.isArray(t.explicit)))t.implicit&&(r=r.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));else throw new ln("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(i){if(!(i instanceof Jr))throw new ln("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new ln("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
12if(i.multi)throw new ln("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(i){if(!(i instanceof Jr))throw new ln("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var s=Object.create(__.prototype);return s.implicit=(this.implicit||[]).concat(r),s.explicit=(this.explicit||[]).concat(n),s.compiledImplicit=xj(s,"implicit"),s.compiledExplicit=xj(s,"explicit"),s.compiledTypeMap=VJ(s.compiledImplicit,s.compiledExplicit),s};var vB=__,bB=new Jr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(e){return e!==null?e:""}}),EB=new Jr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(e){return e!==null?e:[]}}),SB=new Jr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(e){return e!==null?e:{}}}),_B=new vB({explicit:[bB,EB,SB]});function zJ(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"||t===4&&(e==="null"||e==="Null"||e==="NULL")}function WJ(){return null}function JJ(e){return e===null}var wB=new Jr("tag:yaml.org,2002:null",{kind:"scalar",resolve:zJ,construct:WJ,predicate:JJ,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function HJ(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="true"||e==="True"||e==="TRUE")||t===5&&(e==="false"||e==="False"||e==="FALSE")}function KJ(e){return e==="true"||e==="True"||e==="TRUE"}function GJ(e){return Object.prototype.toString.call(e)==="[object Boolean]"}var xB=new Jr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:HJ,construct:KJ,predicate:GJ,represent:{lowercase:function(e){return e?"true":"false"},uppercase:function(e){return e?"TRUE":"FALSE"},camelcase:function(e){return e?"True":"False"}},defaultStyle:"lowercase"});function YJ(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function XJ(e){return 48<=e&&e<=55}function ZJ(e){return 48<=e&&e<=57}function QJ(e){if(e===null)return!1;var t=e.length,r=0,n=!1,s;if(!t)return!1;if(s=e[r],(s==="-"||s==="+")&&(s=e[++r]),s==="0"){if(r+1===t)return!0;if(s=e[++r],s==="b"){for(r++;r<t;r++)if(s=e[r],s!=="_"){if(s!=="0"&&s!=="1")return!1;n=!0}return n&&s!=="_"}if(s==="x"){for(r++;r<t;r++)if(s=e[r],s!=="_"){if(!YJ(e.charCodeAt(r)))return!1;n=!0}return n&&s!=="_"}if(s==="o"){for(r++;r<t;r++)if(s=e[r],s!=="_"){if(!XJ(e.charCodeAt(r)))return!1;n=!0}return n&&s!=="_"}}if(s==="_")return!1;for(;r<t;r++)if(s=e[r],s!=="_"){if(!ZJ(e.charCodeAt(r)))return!1;n=!0}return!(!n||s==="_")}function eH(e){var t=e,r=1,n;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"")),n=t[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),t=t.slice(1),n=t[0]),t==="0")return 0;if(n==="0"){if(t[1]==="b")return r*parseInt(t.slice(2),2);if(t[1]==="x")return r*parseInt(t.slice(2),16);if(t[1]==="o")return r*parseInt(t.slice(2),8)}return r*parseInt(t,10)}function tH(e){return Object.prototype.toString.call(e)==="[object Number]"&&e%1===0&&!Ir.isNegativeZero(e)}var AB=new Jr("tag:yaml.org,2002:int",{kind:"scalar",resolve:QJ,construct:eH,predicate:tH,represent:{binary:function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),rH=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function nH(e){return!(e===null||!rH.test(e)||e[e.length-1]==="_")}function sH(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var iH=/^[-+]?[0-9]+e/;function oH(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Ir.isNegativeZero(e))return"-0.0";return r=e.toString(10),iH.test(r)?r.replace("e",".e"):r}function aH(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||Ir.isNegativeZero(e))}var OB=new Jr("tag:yaml.org,2002:float",{kind:"scalar",resolve:nH,c
12onstruct:sH,predicate:aH,represent:oH,defaultStyle:"lowercase"}),CB=_B.extend({implicit:[wB,xB,AB,OB]}),RB=CB,TB=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),IB=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]))?))?$");function cH(e){return e===null?!1:TB.exec(e)!==null||IB.exec(e)!==null}function uH(e){var t,r,n,s,i,o,a,c=0,u=null,l,f,d;if(t=TB.exec(e),t===null&&(t=IB.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,s=+t[3],!t[4])return new Date(Date.UTC(r,n,s));if(i=+t[4],o=+t[5],a=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c=+c}return t[9]&&(l=+t[10],f=+(t[11]||0),u=(l*60+f)*6e4,t[9]==="-"&&(u=-u)),d=new Date(Date.UTC(r,n,s,i,o,a,c)),u&&d.setTime(d.getTime()-u),d}function lH(e){return e.toISOString()}var PB=new Jr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:cH,construct:uH,instanceOf:Date,represent:lH});function fH(e){return e==="<<"||e===null}var jB=new Jr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:fH}),nA=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= 13\r`;function pH(e){if(e===null)return!1;var t,r,n=0,s=e.length,i=nA;for(r=0;r<s;r++)if(t=i.indexOf(e.charAt(r)),!(t>64)){if(t<0)return!1;n+=6}return n%8===0}function hH(e){var t,r,n=e.replace(/[\r\n=]/g,""),s=n.length,i=nA,o=0,a=[];for(t=0;t<s;t++)t%4===0&&t&&(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)),o=o<<6|i.indexOf(n.charAt(t));return r=s%4*6,r===0?(a.push(o>>16&255),a.push(o>>8&255),a.push(o&255)):r===18?(a.push(o>>10&255),a.push(o>>2&255)):r===12&&a.push(o>>4&255),new Uint8Array(a)}function dH(e){var t="",r=0,n,s,i=e.length,o=nA;for(n=0;n<i;n++)n%3===0&&n&&(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]),r=(r<<8)+e[n];return s=i%3,s===0?(t+=o[r>>18&63],t+=o[r>>12&63],t+=o[r>>6&63],t+=o[r&63]):s===2?(t+=o[r>>10&63],t+=o[r>>4&63],t+=o[r<<2&63],t+=o[64]):s===1&&(t+=o[r>>2&63],t+=o[r<<4&63],t+=o[64],t+=o[64]),t}function mH(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var kB=new Jr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:pH,construct:hH,predicate:mH,represent:dH}),gH=Object.prototype.hasOwnProperty,yH=Object.prototype.toString;function vH(e){if(e===null)return!0;var t=[],r,n,s,i,o,a=e;for(r=0,n=a.length;r<n;r+=1){if(s=a[r],o=!1,yH.call(s)!=="[object Object]")return!1;for(i in s)if(gH.call(s,i))if(!o)o=!0;else return!1;if(!o)return!1;if(t.indexOf(i)===-1)t.push(i);else return!1}return!0}function bH(e){return e!==null?e:[]}var NB=new Jr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:vH,construct:bH}),EH=Object.prototype.toString;function SH(e){if(e===null)return!0;var t,r,n,s,i,o=e;for(i=new Array(o.length),t=0,r=o.length;t<r;t+=1){if(n=o[t],EH.call(n)!=="[object Object]"||(s=Object.keys(n),s.length!==1))return!1;i[t]=[s[0],n[s[0]]]}return!0}function _H(e){if(e===null)return[];var t,r,n,s,i,o=e;for(i=new Array(o.length),t=0,r=o.length;t<r;t+=1)n=o[t],s=Object.keys(n),i[t]=[s[0],n[s[0]]];return i}var MB=new Jr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:SH,construct:_H}),wH=Object.prototype.hasOwnProperty;function xH(e){if(e===null)return!0;var t,r=e;for(t in r)if(wH.call(r,t)&&r[t]!==null)return!1;return!0}function AH(e){return e!==null?e:{}}var DB=new Jr("tag:yaml.org,2002:set",{kind:"mapping",resolve:xH,construct:AH}),sA=RB.extend({implicit:[PB,jB],explicit:[kB,NB,MB,DB]}),Pi=Object.prototype.hasOwnProperty,nf=1,$B=2,FB=3,sf=4,Zv=1,OH=2,Aj=3,CH=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,RH=/[\x85\u2028\u2029]/,TH=/[,\[\]\{\}]/,qB=/^(?:!|!!|![a-z\-]+!)$/i,BB=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Oj(e){return Object.prototype.toString.call(e)}function Is(e){return e===10||e===13}function ao(e){return e===9||e===32}function Sn(e){return e===9||e===32||e===10||e===13}function ta(e){return e===44||e===91||e===93||e===123||e===125}function IH(e){var t;return 48<=e&&e<=57?e-48:(t=e|32,97<=t&&t<=102?t-97+10:-1)}function PH(e){return e===120?2:e===117?4:e===85?8:0}function jH(e){return 48<=e&&e<=57?e-48:-1}function Cj(e){return e===48?"\0":e===97?"\x07":e===98?"\b":e===116||e===9?" ":e===110?` 14`:e===118?"\v":e===102?"\f":e===114?"\r":e===101?"\x1B":e===32?" ":e===34?'"':e===47?"/":e===92?"\\":e===78?"Â ":e===95?"Â ":e===76?"\u2028":e===80?"\u2029":""}function kH(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function LB(e,t,r){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}var UB=new Array(256),VB=new Array(256);for(var Lo=0;Lo<256;Lo++)UB[Lo]=Cj(Lo)?1:0,VB[Lo]=Cj(Lo);function NH(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||sA,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.impl
14icitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function zB(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=FJ(r),new ln(t,r)}function it(e,t){throw zB(e,t)}function of(e,t){e.onWarning&&e.onWarning.call(null,zB(e,t))}var Rj={YAML:function(t,r,n){var s,i,o;t.version!==null&&it(t,"duplication of %YAML directive"),n.length!==1&&it(t,"YAML directive accepts exactly one argument"),s=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),s===null&&it(t,"ill-formed argument of the YAML directive"),i=parseInt(s[1],10),o=parseInt(s[2],10),i!==1&&it(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=o<2,o!==1&&o!==2&&of(t,"unsupported YAML version of the document")},TAG:function(t,r,n){var s,i;n.length!==2&&it(t,"TAG directive accepts exactly two arguments"),s=n[0],i=n[1],qB.test(s)||it(t,"ill-formed tag handle (first argument) of the TAG directive"),Pi.call(t.tagMap,s)&&it(t,'there is a previously declared suffix for "'+s+'" tag handle'),BB.test(i)||it(t,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{it(t,"tag prefix is malformed: "+i)}t.tagMap[s]=i}};function Ti(e,t,r,n){var s,i,o,a;if(t<r){if(a=e.input.slice(t,r),n)for(s=0,i=a.length;s<i;s+=1)o=a.charCodeAt(s),o===9||32<=o&&o<=1114111||it(e,"expected valid JSON character");else CH.test(a)&&it(e,"the stream contains non-printable characters");e.result+=a}}function Tj(e,t,r,n){var s,i,o,a;for(Ir.isObject(r)||it(e,"cannot merge mappings; the provided source object is unacceptable"),s=Object.keys(r),o=0,a=s.length;o<a;o+=1)i=s[o],Pi.call(t,i)||(LB(t,i,r[i]),n[i]=!0)}function ra(e,t,r,n,s,i,o,a,c){var u,l;if(Array.isArray(s))for(s=Array.prototype.slice.call(s),u=0,l=s.length;u<l;u+=1)Array.isArray(s[u])&&it(e,"nested arrays are not supported inside keys"),typeof s=="object"&&Oj(s[u])==="[object Object]"&&(s[u]="[object Object]");if(typeof s=="object"&&Oj(s)==="[object Object]"&&(s="[object Object]"),s=String(s),t===null&&(t={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(u=0,l=i.length;u<l;u+=1)Tj(e,t,i[u],r);else Tj(e,t,i,r);else!e.json&&!Pi.call(r,s)&&Pi.call(t,s)&&(e.line=o||e.line,e.lineStart=a||e.lineStart,e.position=c||e.position,it(e,"duplicated mapping key")),LB(t,s,i),delete r[s];return t}function iA(e){var t;t=e.input.charCodeAt(e.position),t===10?e.position++:t===13?(e.position++,e.input.charCodeAt(e.position)===10&&e.position++):it(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function Sr(e,t,r){for(var n=0,s=e.input.charCodeAt(e.position);s!==0;){for(;ao(s);)s===9&&e.firstTabInLine===-1&&(e.firstTabInLine=e.position),s=e.input.charCodeAt(++e.position);if(t&&s===35)do s=e.input.charCodeAt(++e.position);while(s!==10&&s!==13&&s!==0);if(Is(s))for(iA(e),s=e.input.charCodeAt(e.position),n++,e.lineIndent=0;s===32;)e.lineIndent++,s=e.input.charCodeAt(++e.position);else break}return r!==-1&&n!==0&&e.lineIndent<r&&of(e,"deficient indentation"),n}function Tp(e){var t=e.position,r;return r=e.input.charCodeAt(t),!!((r===45||r===46)&&r===e.input.charCodeAt(t+1)&&r===e.input.charCodeAt(t+2)&&(t+=3,r=e.input.charCodeAt(t),r===0||Sn(r)))}function oA(e,t){t===1?e.result+=" ":t>1&&(e.result+=Ir.repeat(` 15`,t-1))}function MH(e,t,r){var n,s,i,o,a,c,u,l,f=e.kind,d=e.result,h;if(h=e.input.charCodeAt(e.position),Sn(h)||ta(h)||h===35||h===38||h===42||h===33||h===124||h===62||h===39||h===34||h===37||h===64||h===96||(h===63||h===45)&&(s=e.input.charCodeAt(e.position+1),Sn(s)||r&&ta(s)))return!1;for(e.kind="scalar",e.result="",i=o=e.position,a=!1;h!==0;){if(h===58){if(s=e.input.charCodeAt(e.position+1),Sn(s)||r&&ta(s))break}else if(h===35){if(n=e.input.charCodeAt(e.position-1),Sn(n))break}else{if(e.position===e.lineStart&&Tp(e)||r&&ta(h))break;if(Is(h))if(c=e.line,u=e.lineStart,l=e.lineIndent,Sr(e,!1,-1),e.lineIndent>=t){a=!0,h=e.input.charCodeAt(e.position);continue}else{e.position=o,e.line=c,e.lineStart=u,e.lineIndent=l;break}}a&&(Ti(e,i,o,!1),oA(e,e.line-c),i=o=e.position,a=!1),ao(h)||(o=e.position+1),h=e.input.charCodeAt(++e.position)}return Ti(e,i,o,!1),e.result?!0:(e.kind=f,e.result=d,!1)}function DH(e,t){var r,n,s;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=s=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Ti(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,s=e.position;else return!0;else Is(r)?(Ti(e,n,s,!0),oA(e,Sr(e,!1,t)),n=s=e.position):e.position===e.lineStart&&Tp(e)?it(e,"unexpected end of the document within a single quoted scalar"):(e.position++,s=e.position);it(e,"unexpected end of the stream within a single quoted scalar")}function $H(e,t){var r,n,s,i,o,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Ti(e,r,e.position,!0),e.position++,!0;if(a===92){if(Ti(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Is(a))Sr(e,!1,t);else if(a<256&&UB[a])e.result+=VB[a],e.position++;else if((o=PH(a))>0){for(s=o,i=0;s>0;
15s--)a=e.input.charCodeAt(++e.position),(o=IH(a))>=0?i=(i<<4)+o:it(e,"expected hexadecimal character");e.result+=kH(i),e.position++}else it(e,"unknown escape sequence");r=n=e.position}else Is(a)?(Ti(e,r,n,!0),oA(e,Sr(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Tp(e)?it(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}it(e,"unexpected end of the stream within a double quoted scalar")}function FH(e,t){var r=!0,n,s,i,o=e.tag,a,c=e.anchor,u,l,f,d,h,g=Object.create(null),v,y,E,b;if(b=e.input.charCodeAt(e.position),b===91)l=93,h=!1,a=[];else if(b===123)l=125,h=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),b=e.input.charCodeAt(++e.position);b!==0;){if(Sr(e,!0,t),b=e.input.charCodeAt(e.position),b===l)return e.position++,e.tag=o,e.anchor=c,e.kind=h?"mapping":"sequence",e.result=a,!0;r?b===44&&it(e,"expected the node content, but found ','"):it(e,"missed comma between flow collection entries"),y=v=E=null,f=d=!1,b===63&&(u=e.input.charCodeAt(e.position+1),Sn(u)&&(f=d=!0,e.position++,Sr(e,!0,t))),n=e.line,s=e.lineStart,i=e.position,pa(e,t,nf,!1,!0),y=e.tag,v=e.result,Sr(e,!0,t),b=e.input.charCodeAt(e.position),(d||e.line===n)&&b===58&&(f=!0,b=e.input.charCodeAt(++e.position),Sr(e,!0,t),pa(e,t,nf,!1,!0),E=e.result),h?ra(e,a,g,y,v,E,n,s,i):f?a.push(ra(e,null,g,y,v,E,n,s,i)):a.push(v),Sr(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}it(e,"unexpected end of the stream within a flow collection")}function qH(e,t){var r,n,s=Zv,i=!1,o=!1,a=t,c=0,u=!1,l,f;if(f=e.input.charCodeAt(e.position),f===124)n=!1;else if(f===62)n=!0;else return!1;for(e.kind="scalar",e.result="";f!==0;)if(f=e.input.charCodeAt(++e.position),f===43||f===45)Zv===s?s=f===43?Aj:OH:it(e,"repeat of a chomping mode identifier");else if((l=jH(f))>=0)l===0?it(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):o?it(e,"repeat of an indentation width identifier"):(a=t+l-1,o=!0);else break;if(ao(f)){do f=e.input.charCodeAt(++e.position);while(ao(f));if(f===35)do f=e.input.charCodeAt(++e.position);while(!Is(f)&&f!==0)}for(;f!==0;){for(iA(e),e.lineIndent=0,f=e.input.charCodeAt(e.position);(!o||e.lineIndent<a)&&f===32;)e.lineIndent++,f=e.input.charCodeAt(++e.position);if(!o&&e.lineIndent>a&&(a=e.lineIndent),Is(f)){c++;continue}if(e.lineIndent<a){s===Aj?e.result+=Ir.repeat(` 16`,i?1+c:c):s===Zv&&i&&(e.result+=` 17`);break}for(n?ao(f)?(u=!0,e.result+=Ir.repeat(` 18`,i?1+c:c)):u?(u=!1,e.result+=Ir.repeat(` 19`,c+1)):c===0?i&&(e.result+=" "):e.result+=Ir.repeat(` 20`,c):e.result+=Ir.repeat(` 21`,i?1+c:c),i=!0,o=!0,c=0,r=e.position;!Is(f)&&f!==0;)f=e.input.charCodeAt(++e.position);Ti(e,r,e.position,!1)}return!0}function Ij(e,t){var r,n=e.tag,s=e.anchor,i=[],o,a=!1,c;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=i),c=e.input.charCodeAt(e.position);c!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,it(e,"tab characters must not be used in indentation")),!(c!==45||(o=e.input.charCodeAt(e.position+1),!Sn(o))));){if(a=!0,e.position++,Sr(e,!0,-1)&&e.lineIndent<=t){i.push(null),c=e.input.charCodeAt(e.position);continue}if(r=e.line,pa(e,t,FB,!1,!0),i.push(e.result),Sr(e,!0,-1),c=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&c!==0)it(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return a?(e.tag=n,e.anchor=s,e.kind="sequence",e.result=i,!0):!1}function BH(e,t,r){var n,s,i,o,a,c,u=e.tag,l=e.anchor,f={},d=Object.create(null),h=null,g=null,v=null,y=!1,E=!1,b;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=f),b=e.input.charCodeAt(e.position);b!==0;){if(!y&&e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,it(e,"tab characters must not be used in indentation")),n=e.input.charCodeAt(e.position+1),i=e.line,(b===63||b===58)&&Sn(n))b===63?(y&&(ra(e,f,d,h,g,null,o,a,c),h=g=v=null),E=!0,y=!0,s=!0):y?(y=!1,s=!0):it(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,b=n;else{if(o=e.line,a=e.lineStart,c=e.position,!pa(e,r,$B,!1,!0))break;if(e.line===i){for(b=e.input.charCodeAt(e.position);ao(b);)b=e.input.charCodeAt(++e.position);if(b===58)b=e.input.charCodeAt(++e.position),Sn(b)||it(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(ra(e,f,d,h,g,null,o,a,c),h=g=v=null),E=!0,y=!1,s=!1,h=e.tag,g=e.result;else if(E)it(e,"can not read an implicit mapping pair; a colon is missed");else return e.tag=u,e.anchor=l,!0}else if(E)it(e,"can not read a block mapping entry; a multiline key may not be an implicit key");else return e.tag=u,e.anchor=l,!0}if((e.line===i||e.lineIndent>t)&&(y&&(o=e.line,a=e.lineStart,c=e.position),pa(e,t,sf,!0,s)&&(y?g=e.result:v=e.result),y||(ra(e,f,d,h,g,v,o,a,c),h=g=v=null),Sr(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===i||e.lineIndent>t)&&b!==0)it(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return y&&ra(e,f,d,h,g,null,o,a,c),E&&(e.tag=u,e.anchor=l,e.kind="mapping",e.result=f),E}function LH(e){var t,r=!1,n=!1,s,i,o;if(o=e.input.charCodeAt(e.position),o!==33)return!1;if(e.tag!==null&&it(e,"duplication of a tag property"),o=e.input.charCodeAt(++e.position),o===60?(r=!0,o=e.input.charCodeAt(++e.position)):o===33?(n=!0,s="!!",o=e.input.charCodeAt(++e.position)):s="!",t=e.position,r){do o=e.input.charCodeAt(++e.position);while(o!==0&&o!==62);e.position<e.length?(i=e.input.slice(t,e.position),o=e.input.charCodeAt(++e.position)):it(e,"unexpected end of the stream within a verbatim tag")}else{for(;o!==0&&!Sn(o);)o===33&&(n?it(e,"tag suffix cannot contain exclamation marks"):(s=e.input.slice(t-1,e.position+1),qB.test(s)||it(e,"named tag handle cannot contain such characters"),n=!0,t=e.position+1)),o=e.input.charCodeAt(++e.position);i=e.input.slice(t,e.position),TH.test(i)&&it(e,"tag suffix cannot contain flow indicator characters")}i&&!BB.test(i)&&it(e,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch{it(e,"tag name is malformed: "+i)}return r?e.tag=i:Pi.call(e.tagMap,s)?e.tag=e.tagMap[s]+i:s==="!"?e.tag="!"+i:s==="!!"?e.tag="tag:yaml.org,2002:"+i:it(e,'undeclared tag handle "'+s+'"'),!0}function UH(e){var t,r;if(r=e.input.charCodeAt(e.position),r!==38)return!1;for(e.anchor!==null&&it(e,"duplication of an anchor property"),r=e.input.charCodeAt(++e.position),t=e.position;r!==0&&!Sn(r)&&!ta(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&it(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function VH(e){var t,r,n;if(n=e.input.charCodeAt(e.position),n!==42)return!1;for(n=e.input.charCodeAt(++e.position),t=e.position;n!==0&&!Sn(n)&&!ta(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&it(e,"name of an alias node must contain at least one character"),r=e.input.slice(t,e.position),Pi.call(e.anchorMap,r)||it(e,'unidentified alias "'+r+'"'),e.result=e.anchorMap[r],Sr(e,!0,-1),!0}function pa(e,t,r,n,s){var i,o,a,c=1,u=!1,l=!1,f,d,h,g,v,y;if(e.listener!==null&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,i=o=a=sf===r||FB===r,n&&Sr(e,!0,-1)&&(u=!0,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)),c===1)for(;LH(e)||UH(e);)Sr(e,!0,-1)?(u=!0,a=i,e.lineIndent>t?c=1:e.lineIndent===t?c=0:e.lineIndent<t&&(c=-1)):a=!1;
21if(a&&(a=u||s),(c===1||sf===r)&&(nf===r||$B===r?v=t:v=t+1,y=e.position-e.lineStart,c===1?a&&(Ij(e,y)||BH(e,y,v))||FH(e,v)?l=!0:(o&&qH(e,v)||DH(e,v)||$H(e,v)?l=!0:VH(e)?(l=!0,(e.tag!==null||e.anchor!==null)&&it(e,"alias node should not have any properties")):MH(e,v,nf===r)&&(l=!0,e.tag===null&&(e.tag="?")),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):c===0&&(l=a&&Ij(e,y))),e.tag===null)e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);else if(e.tag==="?"){for(e.result!==null&&e.kind!=="scalar"&&it(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),f=0,d=e.implicitTypes.length;f<d;f+=1)if(g=e.implicitTypes[f],g.resolve(e.result)){e.result=g.construct(e.result),e.tag=g.tag,e.anchor!==null&&(e.anchorMap[e.anchor]=e.result);break}}else if(e.tag!=="!"){if(Pi.call(e.typeMap[e.kind||"fallback"],e.tag))g=e.typeMap[e.kind||"fallback"][e.tag];else for(g=null,h=e.typeMap.multi[e.kind||"fallback"],f=0,d=h.length;f<d;f+=1)if(e.tag.slice(0,h[f].tag.length)===h[f].tag){g=h[f];break}g||it(e,"unknown tag !<"+e.tag+">"),e.result!==null&&g.kind!==e.kind&&it(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+g.kind+'", not "'+e.kind+'"'),g.resolve(e.result,e.tag)?(e.result=g.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):it(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||l}function zH(e){var t=e.position,r,n,s,i=!1,o;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(o=e.input.charCodeAt(e.position))!==0&&(Sr(e,!0,-1),o=e.input.charCodeAt(e.position),!(e.lineIndent>0||o!==37));){for(i=!0,o=e.input.charCodeAt(++e.position),r=e.position;o!==0&&!Sn(o);)o=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),s=[],n.length<1&&it(e,"directive name must not be less than one character in length");o!==0;){for(;ao(o);)o=e.input.charCodeAt(++e.position);if(o===35){do o=e.input.charCodeAt(++e.position);while(o!==0&&!Is(o));break}if(Is(o))break;for(r=e.position;o!==0&&!Sn(o);)o=e.input.charCodeAt(++e.position);s.push(e.input.slice(r,e.position))}o!==0&&iA(e),Pi.call(Rj,n)?Rj[n](e,n,s):of(e,'unknown document directive "'+n+'"')}if(Sr(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,Sr(e,!0,-1)):i&&it(e,"directives end mark is expected"),pa(e,e.lineIndent-1,sf,!1,!0),Sr(e,!0,-1),e.checkLineBreaks&&RH.test(e.input.slice(t,e.position))&&of(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Tp(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,Sr(e,!0,-1));return}if(e.position<e.length-1)it(e,"end of the stream or a document separator is expected");else return}function WB(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.length-1)!==10&&e.charCodeAt(e.length-1)!==13&&(e+=` 22`),e.charCodeAt(0)===65279&&(e=e.slice(1)));var r=new NH(e,t),n=e.indexOf("\0");for(n!==-1&&(r.position=n,it(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;)zH(r);return r.documents}function WH(e,t,r){t!==null&&typeof t=="object"&&typeof r>"u"&&(r=t,t=null);var n=WB(e,r);if(typeof t!="function")return n;for(var s=0,i=n.length;s<i;s+=1)t(n[s])}function JH(e,t){var r=WB(e,t);if(r.length!==0){if(r.length===1)return r[0];throw new ln("expected a single document in the stream, but found more")}}var HH=WH,KH=JH,JB={loadAll:HH,load:KH},HB=Object.prototype.toString,KB=Object.prototype.hasOwnProperty,aA=65279,GH=9,yc=10,YH=13,XH=32,ZH=33,QH=34,w_=35,eK=37,tK=38,rK=39,nK=42,GB=44,sK=45,af=58,iK=61,oK=62,aK=63,cK=64,YB=91,XB=93,uK=96,ZB=123,lK=124,QB=125,tn={};tn[0]="\\0";tn[7]="\\a";tn[8]="\\b";tn[9]="\\t";tn[10]="\\n";tn[11]="\\v";tn[12]="\\f";tn[13]="\\r";tn[27]="\\e";tn[34]='\\"';tn[92]="\\\\";tn[133]="\\N";tn[160]="\\_";tn[8232]="\\L";tn[8233]="\\P";var fK=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],pK=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function hK(e,t){var r,n,s,i,o,a,c;if(t===null)return{};for(r={},n=Object.keys(t),s=0,i=n.length;s<i;s+=1)o=n[s],a=String(t[o]),o.slice(0,2)==="!!"&&(o="tag:yaml.org,2002:"+o.slice(2)),c=e.compiledTypeMap.fallback[o],c&&KB.call(c.styleAliases,a)&&(a=c.styleAliases[a]),r[o]=a;return r}function dK(e){var t,r,n;if(t=e.toString(16).toUpperCase(),e<=255)r="x",n=2;else if(e<=65535)r="u",n=4;else if(e<=4294967295)r="U",n=8;else throw new ln("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+Ir.repeat("0",n-t.length)+t}var mK=1,vc=2;function gK(e){this.schema=e.schema||sA,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.ski
22pInvalid||!1,this.flowLevel=Ir.isNothing(e.flowLevel)?-1:e.flowLevel,this.styleMap=hK(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType=e.quotingType==='"'?vc:mK,this.forceQuotes=e.forceQuotes||!1,this.replacer=typeof e.replacer=="function"?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Pj(e,t){for(var r=Ir.repeat(" ",t),n=0,s=-1,i="",o,a=e.length;n<a;)s=e.indexOf(` 23`,n),s===-1?(o=e.slice(n),n=a):(o=e.slice(n,s+1),n=s+1),o.length&&o!==` 24`&&(i+=r),i+=o;return i}function x_(e,t){return` 25`+Ir.repeat(" ",e.indent*t)}function yK(e,t){var r,n,s;for(r=0,n=e.implicitTypes.length;r<n;r+=1)if(s=e.implicitTypes[r],s.resolve(t))return!0;return!1}function cf(e){return e===XH||e===GH}function bc(e){return 32<=e&&e<=126||161<=e&&e<=55295&&e!==8232&&e!==8233||57344<=e&&e<=65533&&e!==aA||65536<=e&&e<=1114111}function jj(e){return bc(e)&&e!==aA&&e!==YH&&e!==yc}function kj(e,t,r){var n=jj(e),s=n&&!cf(e);return(r?n:n&&e!==GB&&e!==YB&&e!==XB&&e!==ZB&&e!==QB)&&e!==w_&&!(t===af&&!s)||jj(t)&&!cf(t)&&e===w_||t===af&&s}function vK(e){return bc(e)&&e!==aA&&!cf(e)&&e!==sK&&e!==aK&&e!==af&&e!==GB&&e!==YB&&e!==XB&&e!==ZB&&e!==QB&&e!==w_&&e!==tK&&e!==nK&&e!==ZH&&e!==lK&&e!==iK&&e!==oK&&e!==rK&&e!==QH&&e!==eK&&e!==cK&&e!==uK}function bK(e){return!cf(e)&&e!==af}function nc(e,t){var r=e.charCodeAt(t),n;return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function eL(e){var t=/^\n* /;return t.test(e)}var tL=1,A_=2,rL=3,nL=4,Xo=5;function EK(e,t,r,n,s,i,o,a){var c,u=0,l=null,f=!1,d=!1,h=n!==-1,g=-1,v=vK(nc(e,0))&&bK(nc(e,e.length-1));if(t||o)for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=nc(e,c),!bc(u))return Xo;v=v&&kj(u,l,a),l=u}else{for(c=0;c<e.length;u>=65536?c+=2:c++){if(u=nc(e,c),u===yc)f=!0,h&&(d=d||c-g-1>n&&e[g+1]!==" ",g=c);else if(!bc(u))return Xo;v=v&&kj(u,l,a),l=u}d=d||h&&c-g-1>n&&e[g+1]!==" "}return!f&&!d?v&&!o&&!s(e)?tL:i===vc?Xo:A_:r>9&&eL(e)?Xo:o?i===vc?Xo:A_:d?nL:rL}function SK(e,t,r,n,s){e.dump=(function(){if(t.length===0)return e.quotingType===vc?'""':"''";if(!e.noCompatMode&&(fK.indexOf(t)!==-1||pK.test(t)))return e.quotingType===vc?'"'+t+'"':"'"+t+"'";var i=e.indent*Math.max(1,r),o=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-i),a=n||e.flowLevel>-1&&r>=e.flowLevel;function c(u){return yK(e,u)}switch(EK(t,a,e.indent,o,c,e.quotingType,e.forceQuotes&&!n,s)){case tL:return t;case A_:return"'"+t.replace(/'/g,"''")+"'";case rL:return"|"+Nj(t,e.indent)+Mj(Pj(t,i));case nL:return">"+Nj(t,e.indent)+Mj(Pj(_K(t,o),i));case Xo:return'"'+wK(t)+'"';default:throw new ln("impossible error: invalid scalar style")}})()}function Nj(e,t){var r=eL(e)?String(t):"",n=e[e.length-1]===` 26`,s=n&&(e[e.length-2]===` 27`||e===` 28`),i=s?"+":n?"":"-";return r+i+` 29`}function Mj(e){return e[e.length-1]===` 30`?e.slice(0,-1):e}function _K(e,t){for(var r=/(\n+)([^\n]*)/g,n=(function(){var u=e.indexOf(` 31`);return u=u!==-1?u:e.length,r.lastIndex=u,Dj(e.slice(0,u),t)})(),s=e[0]===` 32`||e[0]===" ",i,o;o=r.exec(e);){var a=o[1],c=o[2];i=c[0]===" ",n+=a+(!s&&!i&&c!==""?` 33`:"")+Dj(c,t),s=i}return n}function Dj(e,t){if(e===""||e[0]===" ")return e;for(var r=/ [^ ]/g,n,s=0,i,o=0,a=0,c="";n=r.exec(e);)a=n.index,a-s>t&&(i=o>s?o:a,c+=` 34`+e.slice(s,i),s=i+1),o=a;return c+=` 35`,e.length-s>t&&o>s?c+=e.slice(s,o)+` 36`+e.slice(o+1):c+=e.slice(s),c.slice(1)}function wK(e){for(var t="",r=0,n,s=0;s<e.length;r>=65536?s+=2:s++)r=nc(e,s),n=tn[r],!n&&bc(r)?(t+=e[s],r>=65536&&(t+=e[s+1])):t+=n||dK(r);return t}function xK(e,t,r){var n="",s=e.tag,i,o,a;for(i=0,o=r.length;i<o;i+=1)a=r[i],e.replacer&&(a=e.replacer.call(r,String(i),a)),(ri(e,t,a,!1,!1)||typeof a>"u"&&ri(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=s,e.dump="["+n+"]"}function $j(e,t,r,n){var s="",i=e.tag,o,a,c;for(o=0,a=r.length;o<a;o+=1)c=r[o],e.replacer&&(c=e.replacer.call(r,String(o),c)),(ri(e,t+1,c,!0,!0,!1,!0)||typeof c>"u"&&ri(e,t+1,null,!0,!0,!1,!0))&&((!n||s!=="")&&(s+=x_(e,t)),e.dump&&yc===e.dump.charCodeAt(0)?s+="-":s+="- ",s+=e.dump);e.tag=i,e.dump=s||"[]"}function AK(e,t,r){var n="",s=e.tag,i=Object.keys(r),o,a,c,u,l;for(o=0,a=i.length;o<a;o+=1)l="",n!==""&&(l+=", "),e.condenseFlow&&(l+='"'),c=i[o],u=r[c],e.replacer&&(u=e.replacer.call(r,c,u)),ri(e,t,c,!1,!1)&&(e.dump.length>1024&&(l+="? "),l+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),ri(e,t,u,!1,!1)&&(l+=e.dump,n+=l));e.tag=s,e.dump="{"+n+"}"}function OK(e,t,r,n){var s="",i=e.tag,o=Object.keys(r),a,c,u,l,f,d;
36if(e.sortKeys===!0)o.sort();else if(typeof e.sortKeys=="function")o.sort(e.sortKeys);else if(e.sortKeys)throw new ln("sortKeys must be a boolean or a function");for(a=0,c=o.length;a<c;a+=1)d="",(!n||s!=="")&&(d+=x_(e,t)),u=o[a],l=r[u],e.replacer&&(l=e.replacer.call(r,u,l)),ri(e,t+1,u,!0,!0,!0)&&(f=e.tag!==null&&e.tag!=="?"||e.dump&&e.dump.length>1024,f&&(e.dump&&yc===e.dump.charCodeAt(0)?d+="?":d+="? "),d+=e.dump,f&&(d+=x_(e,t)),ri(e,t+1,l,!0,f)&&(e.dump&&yc===e.dump.charCodeAt(0)?d+=":":d+=": ",d+=e.dump,s+=d));e.tag=i,e.dump=s||"{}"}function Fj(e,t,r){var n,s,i,o,a,c;for(s=r?e.explicitTypes:e.implicitTypes,i=0,o=s.length;i<o;i+=1)if(a=s[i],(a.instanceOf||a.predicate)&&(!a.instanceOf||typeof t=="object"&&t instanceof a.instanceOf)&&(!a.predicate||a.predicate(t))){if(r?a.multi&&a.representName?e.tag=a.representName(t):e.tag=a.tag:e.tag="?",a.represent){if(c=e.styleMap[a.tag]||a.defaultStyle,HB.call(a.represent)==="[object Function]")n=a.represent(t,c);else if(KB.call(a.represent,c))n=a.represent[c](t,c);else throw new ln("!<"+a.tag+'> tag resolver accepts not "'+c+'" style');e.dump=n}return!0}return!1}function ri(e,t,r,n,s,i,o){e.tag=null,e.dump=r,Fj(e,r,!1)||Fj(e,r,!0);var a=HB.call(e.dump),c=n,u;n&&(n=e.flowLevel<0||e.flowLevel>t);var l=a==="[object Object]"||a==="[object Array]",f,d;if(l&&(f=e.duplicates.indexOf(r),d=f!==-1),(e.tag!==null&&e.tag!=="?"||d||e.indent!==2&&t>0)&&(s=!1),d&&e.usedDuplicates[f])e.dump="*ref_"+f;else{if(l&&d&&!e.usedDuplicates[f]&&(e.usedDuplicates[f]=!0),a==="[object Object]")n&&Object.keys(e.dump).length!==0?(OK(e,t,e.dump,s),d&&(e.dump="&ref_"+f+e.dump)):(AK(e,t,e.dump),d&&(e.dump="&ref_"+f+" "+e.dump));else if(a==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!o&&t>0?$j(e,t-1,e.dump,s):$j(e,t,e.dump,s),d&&(e.dump="&ref_"+f+e.dump)):(xK(e,t,e.dump),d&&(e.dump="&ref_"+f+" "+e.dump));else if(a==="[object String]")e.tag!=="?"&&SK(e,e.dump,t,i,c);else{if(a==="[object Undefined]")return!1;if(e.skipInvalid)return!1;throw new ln("unacceptable kind of an object to dump "+a)}e.tag!==null&&e.tag!=="?"&&(u=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?u="!"+u:u.slice(0,18)==="tag:yaml.org,2002:"?u="!!"+u.slice(18):u="!<"+u+">",e.dump=u+" "+e.dump)}return!0}function CK(e,t){var r=[],n=[],s,i;for(O_(e,r,n),s=0,i=n.length;s<i;s+=1)t.duplicates.push(r[n[s]]);t.usedDuplicates=new Array(i)}function O_(e,t,r){var n,s,i;if(e!==null&&typeof e=="object")if(s=t.indexOf(e),s!==-1)r.indexOf(s)===-1&&r.push(s);else if(t.push(e),Array.isArray(e))for(s=0,i=e.length;s<i;s+=1)O_(e[s],t,r);else for(n=Object.keys(e),s=0,i=n.length;s<i;s+=1)O_(e[n[s]],t,r)}function RK(e,t){t=t||{};var r=new gK(t);r.noRefs||CK(e,r);var n=e;return r.replacer&&(n=r.replacer.call({"":n},"",n)),ri(r,0,n,!0,!0)?r.dump+` 37`:""}var TK=RK,IK={dump:TK};function cA(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var PK=Jr,jK=vB,kK=_B,po=CB,NK=RB,MK=sA,DK=JB.load,$K=JB.loadAll,FK=IK.dump,qK=ln,BK={binary:kB,float:OB,map:SB,null:wB,pairs:MB,set:DB,timestamp:PB,bool:xB,int:AB,merge:jB,omap:NB,seq:EB,str:bB},LK=cA("safeLoad","load"),UK=cA("safeLoadAll","loadAll"),VK=cA("safeDump","dump"),Gn={Type:PK,Schema:jK,FAILSAFE_SCHEMA:kK,JSON_SCHEMA:po,CORE_SCHEMA:NK,DEFAULT_SCHEMA:MK,load:DK,loadAll:$K,dump:FK,YAMLException:qK,types:BK,safeLoad:LK,safeLoadAll:UK,safeDump:VK},Vl={exports:{}},zK=Vl.exports,qj;function WK(){return qj||(qj=1,(function(e){(function(t,r){e.exports?e.exports=r():(function n(){document&&document.body?t.zenscroll=r():setTimeout(n,9)})()})(zK,function(){var t=function(u){return u&&"getComputedStyle"in window&&window.getComputedStyle(u)["scroll-behavior"]==="smooth"};if(typeof window>"u"||!("document"in window))return{};var r=function(u,l,f){l=l||999,!f&&f!==0&&(f=9);var d,h=function(x){d=x},g=function(){clearTimeout(d),h(0)},v=function(x){return Math.max(0,u.getTopOf(x)-f)},y=function(x,A,O){if(g(),A===0||A&&A<0||t(u.body))u.toY(x),O&&O();else{var I=u.getY(),R=Math.max(0,x)-I,$=new Date().getTime();A=A||Math.min(Math.abs(R),l),(function M(){h(setTimeout(function(){var q=Math.min(1,(new Date().getTime()-$)/A),N=Math.max(0,Math.floor(I+R*(q<.5?2*q*q:q*(4-q*2)-1)));u.toY(N),q<1&&u.getHeight()+N<u.body.scrollHeight?M():(setTimeout(g,99),O&&O())},9))})()}},E=function(x,A,O){y(v(x),A,O)},b=function(x,A,O){var I=x.getBoundingClientRect().height,R=u.getTopOf(x)+I,$=u.getHeight(),M=u.getY(),q=M+$;v(x)<M||I+f>$?E(x,A,O):R+f>q?y(R-$+f,A,O):O&&O()},S=function(x,A,O,I){y(Math.max(0,u.getTopOf(x)-u.getHeight()/2+(O||x.getBoundingClientRect().height/2)),A,I)},_=function(x,A){return(x===0||x)&&(l=x),(A===0||A)&&(f=A),{defaultDuration:l,edgeOffset:f}};return{setup:_,to:E,toY:y,intoView:b,center:S,stop:g,moving:function(){return!!d},getY:u.getY,getTopOf:u.getTopOf}},n=document.documentElement,s=function(){return window.scrollY||n.scrollTop},i=r({body:document.scrollingElement||document.body,toY:function(u){window.scrollTo(0,u)},getY:s,getHeight:function(){return window.innerHeight||n.clientHeight},getTopOf:function(u){return u.getBoundingClientRect().top+s()-n.offsetTop}});if(i.createScroller=function(u,l,f){return r({body:u,toY:function(d){u.scrollTop=d},getY:function(){return u.scrollTop},getHeight:function(){return Math.min(u.clientHeight,window.innerHeight||n.clientHeight)},getTopOf:function(d){return d.offsetTop}},l,f)},"addEventListener"in window&&!window.noZensmooth&&!t(document.body)){var o="history"in window&&"pushState"in history,a=o&&"scrollRestoration"in history;a&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){a&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(u){u.state&&"zenscrollY"in u.state&&i.toY(u.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var u=i.setup().edgeOffset;if(u){var l=document.getElementById(window.location.href.split("#")[1]);if(l){var f=Math.max(0,i.getTopOf(l)-u),d=i.getY()-f;0<=d&&d<9&&window.scrollTo(0,f)}}},9)},!1);var c=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(u){for(var l=u.target;l&&l.tagName!=="A";)l=l.parentNode;if(!(!l||u.which!==1||u.shiftKey||u.metaKey||u.ctrlKey||u.altKey)){if(a){var f=history.state&&typeof history.state=="object"?history.state:{};f.zenscrollY=i.getY();try{history.replaceState(f,"")}catch{}}var d=l.getAttribute("href")||"";if(d.indexOf("#")===0&&!c.test(l.className)){var h=0,g=document.getElementById(d.substring(1));if(d!=="#"){if(!g)return;h=i.getTopOf(g)}u.preventDefault();var v=function(){window.location=d},y=i.setup().edgeOffset;y&&(h=Math.max(0,h-y),o&&(v=function(){history.pushState({},"",d)})),i.toY(h,null,v)}}},!1)}return i})})(Vl)),Vl.exports}var JK=WK();const HK=ut(JK);var Qv,Bj;function KK(){if(Bj)return Qv;Bj=1;var e=vp(),t="<<anonymous>>",r;{var n=function(){invariant(!1,"ImmutablePropTypes type checking code is stripped in production.")};n.isRequired=n;var s=function(){return n};r={listOf:s,mapOf:s,orderedMapOf:s,setOf:s,orderedSetOf:s,stackOf:s,iterableOf:s,recordOf:s,shape:s,contains:s,mapContains:s,orderedMapContains:s,list:n,map:n,orderedMap:n,set:n,orderedSet:n,stack:n,seq:n,record:n,iterable:n}}r.iterable.indexed=c("Indexed",e.Iterable.isIndexed),r.iterable.keyed=c("Keyed",e.Iterable.isKeyed);function i(u){var l=typeof u;return Array.isArray(u)?"array":u instanceof RegExp?"object":u instanceof e.Iterable?"Immutable."+u.toSource().split(" ")[0]:l}function o(u){function l(d,h,g,v,y,E){for(var b=arguments.length,S=Array(b>6?b-6:0),_=6;_<b;_++)S[_-6]=arguments[_];if(E=E||g,v=v||t,h[g]==null){var x=y;if(d)return new Error("Required "+x+" `"+E+"` was not specified in "+("`"+v+"`."))}else return u.apply(void 0,[h,g,v,y,E].concat(S))}var f=l.bind(null,!1);return f.isRequired=l.bind(null,!0),f}function a(u,l){function f(d,h,g,v,y){var E=d[h];if(!l(E)){var b=i(E);return new Error("Invalid "+v+" `"+y+"` of type `"+b+"` "+("supplied to `"+g+"`, expected `"+u+"`."))}return null}return o(f)}function c(u,l){return a("Iterable."+u,function(f){return e.Iterable.isIterable(f)&&l(f)})}return Qv=r,Qv}var GK=KK();const Lj=ut(GK);var e0,Uj;function YK(){if(Uj)return e0;Uj=1;function e(t,r,n,s,i){return i(t,function(o,a,c){n=s?(s=!1,o):r(n,o,a,c)}),n}return e0=e,e0}var t0,Vj;function XK(){if(Vj)return t0;Vj=1;var e=Hq(),t=cB(),r=Kc(),n=YK(),s=Dr();function i(o,a,c){var u=s(o)?e:n,l=arguments.length<3;return u(o,r(a,4),c,l,t)}return t0=i,t0}var ZK=XK();const QK=ut(ZK);var eG=sB();const C_=ut(eG);var zj={},Ja,Wj;function wn(){if(Wj)return Ja;Wj=1;var e=function(t){return t&&t.Math===Math&&t};return Ja=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof en=="object"&&en)||e(typeof Ja=="object"&&Ja)||(function(){return this})()||Function("return this")(),Ja}var r0,Jj;function kn(){return Jj||(Jj=1,r0=function(e){try{return!!e()}catch{return!0}}),r0}var n0,Hj;function Gc(){if(Hj)return n0;Hj=1;var e=kn();return n0=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),n0}var s0,Kj;function uA(){if(Kj)return s0;Kj=1;var e=Gc(),t=Function.prototype,r=t.apply,n=t.call;return s0=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),s0}var i0,Gj;function gn(){if(Gj)return i0;Gj=1;var e=Gc(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return i0=e?n:function(s){return function(){return r.apply(s,arguments)}},i0}var o0,Yj;function Ip(){if(Yj)return o0;Yj=1;var e=gn(),t=e({}.toString),r=e("".slice);return o0=function(n){return r(t(n),8,-1)},o0}var a0,Xj;function sL(){if(Xj)return a0;Xj=1;var e=Ip(),t=gn();return a0=function(r){if(e(r)==="Function")return t(r)},a0}var c0,Zj;function Nn(){if(Zj)return c0;Zj=1;var e=typeof document=="object"&&document.all;return c0=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},c0}var u0={},l0,Qj;function Ds(){if(Qj)return l0;Qj=1;var e=kn();return l0=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}}
37)[1]!==7}),l0}var f0,ek;function Mi(){if(ek)return f0;ek=1;var e=Gc(),t=Function.prototype.call;return f0=e?t.bind(t):function(){return t.apply(t,arguments)},f0}var p0={},tk;function iL(){if(tk)return p0;tk=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return p0.f=r?function(s){var i=t(this,s);return!!i&&i.enumerable}:e,p0}var h0,rk;function Yc(){return rk||(rk=1,h0=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),h0}var d0,nk;function oL(){if(nk)return d0;nk=1;var e=gn(),t=kn(),r=Ip(),n=Object,s=e("".split);return d0=t(function(){return!n("z").propertyIsEnumerable(0)})?function(i){return r(i)==="String"?s(i,""):n(i)}:n,d0}var m0,sk;function lA(){return sk||(sk=1,m0=function(e){return e==null}),m0}var g0,ik;function Xc(){if(ik)return g0;ik=1;var e=lA(),t=TypeError;return g0=function(r){if(e(r))throw new t("Can't call method on "+r);return r},g0}var y0,ok;function Zc(){if(ok)return y0;ok=1;var e=oL(),t=Xc();return y0=function(r){return e(t(r))},y0}var v0,ak;function Zn(){if(ak)return v0;ak=1;var e=Nn();return v0=function(t){return typeof t=="object"?t!==null:e(t)},v0}var b0,ck;function Qc(){return ck||(ck=1,b0={}),b0}var E0,uk;function eu(){if(uk)return E0;uk=1;var e=Qc(),t=wn(),r=Nn(),n=function(s){return r(s)?s:void 0};return E0=function(s,i){return arguments.length<2?n(e[s])||n(t[s]):e[s]&&e[s][i]||t[s]&&t[s][i]},E0}var S0,lk;function Oa(){if(lk)return S0;lk=1;var e=gn();return S0=e({}.isPrototypeOf),S0}var _0,fk;function tG(){if(fk)return _0;fk=1;var e=wn(),t=e.navigator,r=t&&t.userAgent;return _0=r?String(r):"",_0}var w0,pk;function rG(){if(pk)return w0;pk=1;var e=wn(),t=tG(),r=e.process,n=e.Deno,s=r&&r.versions||n&&n.version,i=s&&s.v8,o,a;return i&&(o=i.split("."),a=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!a&&t&&(o=t.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\/(\d+)/),o&&(a=+o[1]))),w0=a,w0}var x0,hk;function aL(){if(hk)return x0;hk=1;var e=rG(),t=kn(),r=wn(),n=r.String;return x0=!!Object.getOwnPropertySymbols&&!t(function(){var s=Symbol("symbol detection");return!n(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&e&&e<41}),x0}var A0,dk;function cL(){if(dk)return A0;dk=1;var e=aL();return A0=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",A0}var O0,mk;function uL(){if(mk)return O0;mk=1;var e=eu(),t=Nn(),r=Oa(),n=cL(),s=Object;return O0=n?function(i){return typeof i=="symbol"}:function(i){var o=e("Symbol");return t(o)&&r(o.prototype,s(i))},O0}var C0,gk;function fA(){if(gk)return C0;gk=1;var e=String;return C0=function(t){try{return e(t)}catch{return"Object"}},C0}var R0,yk;function tu(){if(yk)return R0;yk=1;var e=Nn(),t=fA(),r=TypeError;return R0=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},R0}var T0,vk;function pA(){if(vk)return T0;vk=1;var e=tu(),t=lA();return T0=function(r,n){var s=r[n];return t(s)?void 0:e(s)},T0}var I0,bk;function nG(){if(bk)return I0;bk=1;var e=Mi(),t=Nn(),r=Zn(),n=TypeError;return I0=function(s,i){var o,a;if(i==="string"&&t(o=s.toString)&&!r(a=e(o,s))||t(o=s.valueOf)&&!r(a=e(o,s))||i!=="string"&&t(o=s.toString)&&!r(a=e(o,s)))return a;throw new n("Can't convert object to primitive value")},I0}var P0={exports:{}},j0,Ek;function ru(){return Ek||(Ek=1,j0=!0),j0}var k0,Sk;function sG(){if(Sk)return k0;Sk=1;var e=wn(),t=Object.defineProperty;return k0=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},k0}var _k;function lL(){if(_k)return P0.exports;_k=1;var e=ru(),t=wn(),r=sG(),n="__core-js_shared__",s=P0.exports=t[n]||r(n,{});return(s.versions||(s.versions=[])).push({version:"3.49.0",mode:e?"pure":"global",copyright:"© 2013â2025 Denis Pushkarev (zloirock.ru), 2025â2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"}),P0.exports}var N0,wk;function fL(){if(wk)return N0;wk=1;var e=lL();return N0=function(t,r){return e[t]||(e[t]=r||{})},N0}var M0,xk;function hA(){if(xk)return M0;xk=1;var e=Xc(),t=Object;return M0=function(r){return t(e(r))},M0}var D0,Ak;function ps(){if(Ak)return D0;Ak=1;var e=gn(),t=hA(),r=e({}.hasOwnProperty);return D0=Object.hasOwn||function(s,i){return r(t(s),i)},D0}var $0,Ok;function pL(){if(Ok)return $0;Ok=1;var e=gn(),t=0,r=Math.random(),n=e(1.1.toString);return $0=function(s){return"Symbol("+(s===void 0?"":s)+")_"+n(++t+r,36)},$0}var F0,Ck;function hs(){if(Ck)return F0;Ck=1;var e=wn(),t=fL(),r=ps(),n=pL(),s=aL(),i=cL(),o=e.Symbol,a=t("wks"),c=i?o.for||o:o&&o.withoutSetter||n;return F0=function(u){return r(a,u)||(a[u]=s&&r(o,u)?o[u]:c("Symbol."+u)),a[u]},F0}var q0,Rk;function iG(){if(Rk)return q0;Rk=1;var e=Mi(),t=Zn(),r=uL(),n=pA(),s=nG(),i=hs(),o=TypeError,a=i("toPrimitive");return q0=function(c,u){if(!t(c)||r(c))return c;var l=n(c,a),f;if(l){if(u===void 0&&(u="default"),f=e(l,c,u),!t(f)||r(f))return f;throw new o("Can't convert object to primitive value")}return u===void 0&&(u="number"),s(c,u)},q0}var B0,Tk;function hL(){if(Tk)return B0;Tk=1;var e=iG(),t=uL();return B0=function(r){var n=e(r,"string");return t(n)?n:n+""},B0}var L0,Ik;function dL(){if(Ik)return L0;Ik=1;var e=wn(),t=Zn(),r=e.document,n=t(r)&&t(r.createElement);return L0=function(s){return n?r.createElement(s):{}},L0}var U0,Pk;function mL(){if(Pk)return U0;Pk=1;var e=Ds(),t=kn(),r=dL();return U0=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),U0}var jk;function gL(){if(jk)return u0;jk=1;var e=Ds(),t=Mi(),r=iL(),n=Yc(),s=Zc(),i=hL(),o=ps(),a=mL(),c=Object.getOwnPropertyDescriptor;return u0.f=e?c:function(l,f){if(l=s(l),f=i(f),a)try{return c(l,f)}catch{}if(o(l,f))return n(!t(r.f,l,f),l[f])},u0}var V0,kk;function oG(){if(kk)return V0;kk=1;var e=kn(),t=Nn(),r=/#|\.prototype\./,n=function(c,u){var l=i[s(c)];
37return l===a?!0:l===o?!1:t(u)?e(u):!!u},s=n.normalize=function(c){return String(c).replace(r,".").toLowerCase()},i=n.data={},o=n.NATIVE="N",a=n.POLYFILL="P";return V0=n,V0}var z0,Nk;function yL(){if(Nk)return z0;Nk=1;var e=sL(),t=tu(),r=Gc(),n=e(e.bind);return z0=function(s,i){return t(s),i===void 0?s:r?n(s,i):function(){return s.apply(i,arguments)}},z0}var W0={},J0,Mk;function vL(){if(Mk)return J0;Mk=1;var e=Ds(),t=kn();return J0=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),J0}var H0,Dk;function wo(){if(Dk)return H0;Dk=1;var e=Zn(),t=String,r=TypeError;return H0=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},H0}var $k;function Ca(){if($k)return W0;$k=1;var e=Ds(),t=mL(),r=vL(),n=wo(),s=hL(),i=TypeError,o=Object.defineProperty,a=Object.getOwnPropertyDescriptor,c="enumerable",u="configurable",l="writable";return W0.f=e?r?function(d,h,g){if(n(d),h=s(h),n(g),typeof d=="function"&&h==="prototype"&&"value"in g&&l in g&&!g[l]){var v=a(d,h);v&&v[l]&&(d[h]=g.value,g={configurable:u in g?g[u]:v[u],enumerable:c in g?g[c]:v[c],writable:!1})}return o(d,h,g)}:o:function(d,h,g){if(n(d),h=s(h),n(g),t)try{return o(d,h,g)}catch{}if("get"in g||"set"in g)throw new i("Accessors not supported");return"value"in g&&(d[h]=g.value),d},W0}var K0,Fk;function oi(){if(Fk)return K0;Fk=1;var e=Ds(),t=Ca(),r=Yc();return K0=e?function(n,s,i){return t.f(n,s,r(1,i))}:function(n,s,i){return n[s]=i,n},K0}var G0,qk;function Di(){if(qk)return G0;qk=1;var e=wn(),t=uA(),r=sL(),n=Nn(),s=gL().f,i=oG(),o=Qc(),a=yL(),c=oi(),u=ps(),l=function(f){var d=function(h,g,v){if(this instanceof d){switch(arguments.length){case 0:return new f;case 1:return new f(h);case 2:return new f(h,g)}return new f(h,g,v)}return t(f,this,arguments)};return d.prototype=f.prototype,d};return G0=function(f,d){var h=f.target,g=f.global,v=f.stat,y=f.proto,E=g?e:v?e[h]:e[h]&&e[h].prototype,b=g?o:o[h]||c(o,h,{})[h],S=b.prototype,_,x,A,O,I,R,$,M,q;for(O in d)_=i(g?O:h+(v?".":"#")+O,f.forced),x=!_&&E&&u(E,O),R=b[O],x&&(f.dontCallGetSet?(q=s(E,O),$=q&&q.value):$=E[O]),I=x&&$?$:d[O],!(!_&&!y&&typeof R==typeof I)&&(f.bind&&x?M=a(I,e):f.wrap&&x?M=l(I):y&&n(I)?M=r(I):M=I,(f.sham||I&&I.sham||R&&R.sham)&&c(M,"sham",!0),c(b,O,M),y&&(A=h+"Prototype",u(o,A)||c(o,A,{}),c(o[A],O,I),f.real&&S&&(_||!S[O])&&c(S,O,I)))},G0}var Y0,Bk;function aG(){if(Bk)return Y0;Bk=1;var e=Math.ceil,t=Math.floor;return Y0=Math.trunc||function(n){var s=+n;return(s>0?t:e)(s)},Y0}var X0,Lk;function dA(){if(Lk)return X0;Lk=1;var e=aG();return X0=function(t){var r=+t;return r!==r||r===0?0:e(r)},X0}var Z0,Uk;function cG(){if(Uk)return Z0;Uk=1;var e=dA(),t=Math.max,r=Math.min;return Z0=function(n,s){var i=e(n);return i<0?t(i+s,0):r(i,s)},Z0}var Q0,Vk;function uG(){if(Vk)return Q0;Vk=1;var e=dA(),t=Math.min;return Q0=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},Q0}var eb,zk;function bL(){if(zk)return eb;zk=1;var e=uG();return eb=function(t){return e(t.length)},eb}var tb,Wk;function EL(){if(Wk)return tb;Wk=1;var e=Zc(),t=cG(),r=bL(),n=function(s){return function(i,o,a){var c=e(i),u=r(c);if(u===0)return!s&&-1;var l=t(a,u),f;if(s&&o!==o){for(;u>l;)if(f=c[l++],f!==f)return!0}else for(;u>l;l++)if((s||l in c)&&c[l]===o)return s||l||0;return!s&&-1}};return tb={includes:n(!0),indexOf:n(!1)},tb}var rb,Jk;function mA(){return Jk||(Jk=1,rb={}),rb}var nb,Hk;function SL(){if(Hk)return nb;Hk=1;var e=gn(),t=ps(),r=Zc(),n=EL().indexOf,s=mA(),i=e([].push);return nb=function(o,a){var c=r(o),u=0,l=[],f;for(f in c)!t(s,f)&&t(c,f)&&i(l,f);for(;a.length>u;)t(c,f=a[u++])&&(~n(l,f)||i(l,f));return l},nb}var sb,Kk;function gA(){return Kk||(Kk=1,sb=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),sb}var ib,Gk;function _L(){if(Gk)return ib;Gk=1;var e=SL(),t=gA();return ib=Object.keys||function(n){return e(n,t)},ib}var ob={},Yk;function wL(){return Yk||(Yk=1,ob.f=Object.getOwnPropertySymbols),ob}var ab,Xk;function lG(){if(Xk)return ab;Xk=1;var e=Ds(),t=gn(),r=Mi(),n=kn(),s=_L(),i=wL(),o=iL(),a=hA(),c=oL(),u=Object.assign,l=Object.defineProperty,f=t([].concat);return ab=!u||n(function(){if(e&&u({b:1},u(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var d={},h={},g=Symbol("assign detection"),v="abcdefghijklmnopqrst";return d[g]=7,v.split("").forEach(function(y){h[y]=y}),u({},d)[g]!==7||s(u({},h)).join("")!==v})?function(h,g){for(var v=a(h),y=arguments.length,E=1,b=i.f,S=o.f;y>E;)for(var _=c(arguments[E++]),x=b?f(s(_),b(_)):s(_),A=x.length,O=0,I;A>O;)I=x[O++],(!e||r(S,_,I))&&(v[I]=_[I]);return v}:u,ab}var Zk;function fG(){if(Zk)return zj;Zk=1;var e=Di(),t=lG();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),zj}var cb,Qk;function pG(){if(Qk)return cb;Qk=1,fG();var e=Qc();return cb=e.Object.assign,cb}var ub,eN;function hG(){if(eN)return ub;eN=1;var e=pG();return ub=e,ub}var lb,tN;function dG(){if(tN)return lb;tN=1;var e=hG();return lb=e,lb}var fb,rN;
37function mG(){if(rN)return fb;rN=1;var e=dG();return fb=e,fb}var pb,nN;function gG(){return nN||(nN=1,pb=mG()),pb}var yG=gG();const sN=ut(yG);var iN={},hb,oN;function vG(){if(oN)return hb;oN=1;var e=gn();return hb=e([].slice),hb}var db,aN;function bG(){if(aN)return db;aN=1;var e=gn(),t=tu(),r=Zn(),n=ps(),s=vG(),i=Gc(),o=Function,a=e([].concat),c=e([].join),u={},l=function(f,d,h){if(!n(u,d)){for(var g=[],v=0;v<d;v++)g[v]="a["+v+"]";u[d]=o("C,a","return new C("+c(g,",")+")")}return u[d](f,h)};return db=i?o.bind:function(d){var h=t(this),g=h.prototype,v=s(arguments,1),y=function(){var b=a(v,s(arguments));return this instanceof y?l(h,b.length,b):h.apply(d,b)};return r(g)&&(y.prototype=g),y},db}var cN;function EG(){if(cN)return iN;cN=1;var e=Di(),t=bG();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),iN}var mb,uN;function yA(){if(uN)return mb;uN=1;var e=wn(),t=Qc();return mb=function(r,n){var s=t[r+"Prototype"],i=s&&s[n];if(i)return i;var o=e[r],a=o&&o.prototype;return a&&a[n]},mb}var gb,lN;function SG(){if(lN)return gb;lN=1,EG();var e=yA();return gb=e("Function","bind"),gb}var yb,fN;function _G(){if(fN)return yb;fN=1;var e=Oa(),t=SG(),r=Function.prototype;return yb=function(n){var s=n.bind;return n===r||e(r,n)&&s===r.bind?t:s},yb}var vb,pN;function wG(){if(pN)return vb;pN=1;var e=_G();return vb=e,vb}var bb,hN;function xG(){if(hN)return bb;hN=1;var e=wG();return bb=e,bb}var Eb,dN;function AG(){if(dN)return Eb;dN=1;var e=xG();return Eb=e,Eb}var Sb,mN;function OG(){return mN||(mN=1,Sb=AG()),Sb}var CG=OG();const RG=ut(CG);function jt(){var e;return jt=sN?RG(e=sN).call(e):function(t){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var s in n)({}).hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},jt.apply(null,arguments)}var _b={exports:{}};/*! 38 Copyright (c) 2018 Jed Watson. 39 Licensed under the MIT License (MIT), see 40 http://jedwatson.github.io/classnames 41*/var gN;function TG(){return gN||(gN=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var i="",o=0;o<arguments.length;o++){var a=arguments[o];a&&(i=s(i,n(a)))}return i}function n(i){if(typeof i=="string"||typeof i=="number")return i;if(typeof i!="object")return"";if(Array.isArray(i))return r.apply(null,i);if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]"))return i.toString();var o="";for(var a in i)t.call(i,a)&&i[a]&&(o=s(o,a));return o}function s(i,o){return o?i?i+" "+o:i+o:i}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(_b)),_b.exports}var IG=TG();const Nt=ut(IG);var Ha={},wb,yN;function PG(){return yN||(yN=1,wb=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return e.removeAllRanges(),function(){e.type==="Caret"&&e.removeAllRanges(),e.rangeCount||r.forEach(function(s){e.addRange(s)}),t&&t.focus()}}),wb}var xb,vN;function jG(){if(vN)return xb;vN=1;var e=PG(),t={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(i){var o=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,o)}function s(i,o){var a,c,u,l,f,d,h=!1;o||(o={}),a=o.debug||!1;try{u=e(),l=document.createRange(),f=document.getSelection(),d=document.createElement("span"),d.textContent=i,d.ariaHidden="true",d.style.all="unset",d.style.position="fixed",d.style.top=0,d.style.clip="rect(0, 0, 0, 0)",d.style.whiteSpace="pre",d.style.webkitUserSelect="text",d.style.MozUserSelect="text",d.style.msUserSelect="text",d.style.userSelect="text",d.addEventListener("copy",function(v){if(v.stopPropagation(),o.format)if(v.preventDefault(),typeof v.clipboardData>"u"){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var y=t[o.format]||t.default;window.clipboardData.setData(y,i)}else v.clipboardData.clearData(),v.clipboardData.setData(o.format,i);o.onCopy&&(v.preventDefault(),o.onCopy(v.clipboardData))}),document.body.appendChild(d),l.selectNodeContents(d),f.addRange(l);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");h=!0}catch(v){a&&console.error("unable to copy using execCommand: ",v),a&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(o.format||"text",i),o.onCopy&&o.onCopy(window.clipboardData),h=!0}catch(y){a&&console.error("unable to copy using clipboardData: ",y),a&&console.error("falling back to prompt"),c=n("message"in o?o.message:r),window.prompt(c,i)}}finally{f&&(typeof f.removeRange=="function"?f.removeRange(l):f.removeAllRanges()),d&&document.body.removeChild(d),u()}return h}return xb=s,xb}var bN;function kG(){if(bN)return Ha;bN=1,Object.defineProperty(Ha,"__esModule",{value:!0}),Ha.CopyToClipboard=void 0;var e=n(jG()),t=n(Ix()),r=["text","onCopy","options","children"];function n(O){return O&&O.__esModule?O:{default:O}}function s(O){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(I){return typeof I}:function(I){return I&&typeof Symbol=="function"&&I.constructor===Symbol&&I!==Symbol.prototype?"symbol":typeof I},s(O)}function i(O,I){var R=Object.keys(O);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(O);I&&($=$.filter(function(M){return Object.getOwnPropertyDescriptor(O,M).enumerable})),R.push.apply(R,$)}return R}function o(O){for(var I=1;I<arguments.length;I++){var R=arguments[I]!=null?arguments[I]:{};
41I%2?i(Object(R),!0).forEach(function($){S(O,$,R[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(O,Object.getOwnPropertyDescriptors(R)):i(Object(R)).forEach(function($){Object.defineProperty(O,$,Object.getOwnPropertyDescriptor(R,$))})}return O}function a(O,I){if(O==null)return{};var R,$,M=c(O,I);if(Object.getOwnPropertySymbols){var q=Object.getOwnPropertySymbols(O);for($=0;$<q.length;$++)R=q[$],I.indexOf(R)===-1&&{}.propertyIsEnumerable.call(O,R)&&(M[R]=O[R])}return M}function c(O,I){if(O==null)return{};var R={};for(var $ in O)if({}.hasOwnProperty.call(O,$)){if(I.indexOf($)!==-1)continue;R[$]=O[$]}return R}function u(O,I){if(!(O instanceof I))throw new TypeError("Cannot call a class as a function")}function l(O,I){for(var R=0;R<I.length;R++){var $=I[R];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(O,_($.key),$)}}function f(O,I,R){return I&&l(O.prototype,I),Object.defineProperty(O,"prototype",{writable:!1}),O}function d(O,I,R){return I=y(I),h(O,v()?Reflect.construct(I,R||[],y(O).constructor):I.apply(O,R))}function h(O,I){if(I&&(s(I)=="object"||typeof I=="function"))return I;if(I!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return g(O)}function g(O){if(O===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return O}function v(){try{var O=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(v=function(){return!!O})()}function y(O){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(I){return I.__proto__||Object.getPrototypeOf(I)},y(O)}function E(O,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");O.prototype=Object.create(I&&I.prototype,{constructor:{value:O,writable:!0,configurable:!0}}),Object.defineProperty(O,"prototype",{writable:!1}),I&&b(O,I)}function b(O,I){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(R,$){return R.__proto__=$,R},b(O,I)}function S(O,I,R){return(I=_(I))in O?Object.defineProperty(O,I,{value:R,enumerable:!0,configurable:!0,writable:!0}):O[I]=R,O}function _(O){var I=x(O,"string");return s(I)=="symbol"?I:I+""}function x(O,I){if(s(O)!="object"||!O)return O;var R=O[Symbol.toPrimitive];if(R!==void 0){var $=R.call(O,I);if(s($)!="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return(I==="string"?String:Number)(O)}var A=Ha.CopyToClipboard=(function(O){function I(){var R;u(this,I);for(var $=arguments.length,M=new Array($),q=0;q<$;q++)M[q]=arguments[q];return R=d(this,I,[].concat(M)),S(R,"onClick",function(N){var U=R.props,X=U.text,J=U.onCopy,ee=U.children,ne=U.options,re=t.default.Children.only(ee),Y=(0,e.default)(X,ne);J&&J(X,Y),re!=null&&re.props&&typeof re.props.onClick=="function"&&re.props.onClick(N)}),R}return E(I,O),f(I,[{key:"render",value:function(){var $=this.props;$.text,$.onCopy,$.options;var M=$.children,q=a($,r),N=t.default.Children.only(M);return t.default.cloneElement(N,o(o({},q),{},{onClick:this.onClick}))}}])})(t.default.PureComponent);return S(A,"defaultProps",{onCopy:void 0,options:void 0}),Ha}var Ab,EN;function NG(){if(EN)return Ab;EN=1;var e=kG(),t=e.CopyToClipboard;return t.CopyToClipboard=t,Ab=t,Ab}var Pp=NG();function zl(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?zl=function(t){return typeof t}:zl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},zl(e)}function MG(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function DG(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function $G(e,t,r){return t&&DG(e.prototype,t),e}function FG(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function SN(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function qG(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
41t%2?SN(r,!0).forEach(function(n){FG(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):SN(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function BG(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T_(e,t)}function R_(e){return R_=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},R_(e)}function T_(e,t){return T_=Object.setPrototypeOf||function(n,s){return n.__proto__=s,n},T_(e,t)}function LG(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function UG(e,t){return t&&(typeof t=="object"||typeof t=="function")?t:LG(e)}var _N={};function VG(e){return e!==null&&zl(e)==="object"&&typeof e.get=="function"&&typeof e.has=="function"}function zG(e){return e==null}function WG(e,t,r){return zG(e)?r:VG(e)?e.has(t)?e.get(t):r:hasOwnProperty.call(e,t)?e[t]:r}function wN(e,t,r){for(var n=0;n!==t.length;)if(e=WG(e,t[n++],_N),e===_N)return r;return e}function xN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=JG(t,r),s=e||Object.keys(qG({},r,{},t));return s.every(n)}function JG(e,t){return function(r){if(typeof r=="string")return Z.is(t[r],e[r]);if(Array.isArray(r))return Z.is(wN(t,r),wN(e,r));throw new TypeError("Invalid key: expected Array or string: "+r)}}var HG=(function(e){BG(t,e);function t(){return MG(this,t),UG(this,R_(t).apply(this,arguments))}return $G(t,[{key:"shouldComponentUpdate",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!xN(this.updateOnProps,this.props,n,"updateOnProps")||!xN(this.updateOnStates,this.state,s,"updateOnStates")}}]),t})(p.Component),Ka={},Ob,AN;function KG(){if(AN)return Ob;AN=1;var e="Expected a function",t=NaN,r="[object Symbol]",n=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,c=typeof en=="object"&&en&&en.Object===Object&&en,u=typeof self=="object"&&self&&self.Object===Object&&self,l=c||u||Function("return this")(),f=Object.prototype,d=f.toString,h=Math.max,g=Math.min,v=function(){return l.Date.now()};function y(x,A,O){var I,R,$,M,q,N,U=0,X=!1,J=!1,ee=!0;if(typeof x!="function")throw new TypeError(e);A=_(A)||0,E(O)&&(X=!!O.leading,J="maxWait"in O,$=J?h(_(O.maxWait)||0,A):$,ee="trailing"in O?!!O.trailing:ee);function ne(V){var fe=I,ye=R;return I=R=void 0,U=V,M=x.apply(ye,fe),M}function re(V){return U=V,q=setTimeout(ce,A),X?ne(V):M}function Y(V){var fe=V-N,ye=V-U,De=A-fe;return J?g(De,$-ye):De}function ie(V){var fe=V-N,ye=V-U;return N===void 0||fe>=A||fe<0||J&&ye>=$}function ce(){var V=v();if(ie(V))return ge(V);q=setTimeout(ce,Y(V))}function ge(V){return q=void 0,ee&&I?ne(V):(I=R=void 0,M)}function de(){q!==void 0&&clearTimeout(q),U=0,I=N=R=q=void 0}function ae(){return q===void 0?M:ge(v())}function W(){var V=v(),fe=ie(V);if(I=arguments,R=this,N=V,fe){if(q===void 0)return re(N);if(J)return q=setTimeout(ce,A),ne(N)}return q===void 0&&(q=setTimeout(ce,A)),M}return W.cancel=de,W.flush=ae,W}function E(x){var A=typeof x;return!!x&&(A=="object"||A=="function")}function b(x){return!!x&&typeof x=="object"}function S(x){return typeof x=="symbol"||b(x)&&d.call(x)==r}function _(x){if(typeof x=="number")return x;if(S(x))return t;if(E(x)){var A=typeof x.valueOf=="function"?x.valueOf():x;x=E(A)?A+"":A}if(typeof x!="string")return x===0?x:+x;x=x.replace(n,"");var O=i.test(x);return O||o.test(x)?a(x.slice(2),O?2:8):s.test(x)?t:+x}return Ob=y,Ob}var ON;function GG(){if(ON)return Ka;ON=1;function e(x){"@babel/helpers - typeof";return e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(A){return typeof A}:function(A){return A&&typeof Symbol=="function"&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},e(x)}Object.defineProperty(Ka,"__esModule",{value:!0}),Ka.DebounceInput=void 0;var t=s(Ix()),r=s(KG()),n=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function s(x){return x&&x.__esModule?x:{default:x}}function i(x,A){if(x==null)return{};var O=o(x,A),I,R;if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(x);for(R=0;R<$.length;R++)I=$[R],!(A.indexOf(I)>=0)&&Object.prototype.propertyIsEnumerable.call(x,I)&&(O[I]=x[I])}return O}function o(x,A){if(x==null)return{};var O={},I=Object.keys(x),R,$;for($=0;$<I.length;$++)R=I[$],!(A.indexOf(R)>=0)&&(O[R]=x[R]);return O}function a(x,A){var O=Object.keys(x);if(Object.getOwnPropertySymbols){var I=Object.getOwnPropertySymbols(x);A&&(I=I.filter(function(R){return Object.getOwnPropertyDescriptor(x,R).enumerable})),O.push.apply(O,I)}return O}function c(x){for(var A=1;A<arguments.length;A++){var O=arguments[A]!=null?arguments[A]:{};
vendor: 1,996 bytes, line 41
41A%2?a(Object(O),!0).forEach(function(I){S(x,I,O[I])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(O)):a(Object(O)).forEach(function(I){Object.defineProperty(x,I,Object.getOwnPropertyDescriptor(O,I))})}return x}function u(x,A){if(!(x instanceof A))throw new TypeError("Cannot call a class as a function")}function l(x,A){for(var O=0;O<A.length;O++){var I=A[O];I.enumerable=I.enumerable||!1,I.configurable=!0,"value"in I&&(I.writable=!0),Object.defineProperty(x,I.key,I)}}function f(x,A,O){return A&&l(x.prototype,A),Object.defineProperty(x,"prototype",{writable:!1}),x}function d(x,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(A&&A.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),Object.defineProperty(x,"prototype",{writable:!1}),A&&h(x,A)}function h(x,A){return h=Object.setPrototypeOf||function(I,R){return I.__proto__=R,I},h(x,A)}function g(x){var A=E();return function(){var I=b(x),R;if(A){var $=b(this).constructor;R=Reflect.construct(I,arguments,$)}else R=I.apply(this,arguments);return v(this,R)}}function v(x,A){if(A&&(e(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return y(x)}function y(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function E(){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}}function b(x){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},b(x)}function S(x,A,O){return A in x?Object.defineProperty(x,A,{value:O,enumerable:!0,configurable:!0,writable:!0}):x[A]=O,x}var _=(function(x){d(O,x);var A=g(O);function O(I){var R;
41u(this,O),R=A.call(this,I),S(y(R),"onChange",function(M){M.persist();var q=R.state.value,N=R.props.minLength;R.setState({value:M.target.value},function(){var U=R.state.value;if(U.length>=N){R.notify(M);return}q.length>U.length&&R.notify(c(c({},M),{},{target:c(c({},M.target),{},{value:""})}))})}),S(y(R),"onKeyDown",function(M){M.key==="Enter"&&R.forceNotify(M);var q=R.props.onKeyDown;q&&(M.persist(),q(M))}),S(y(R),"onBlur",function(M){R.forceNotify(M);var q=R.props.onBlur;q&&(M.persist(),q(M))}),S(y(R),"createNotifier",function(M){if(M<0)R.notify=function(){return null};else if(M===0)R.notify=R.doNotify;else{var q=(0,r.default)(function(N){R.isDebouncing=!1,R.doNotify(N)},M);R.notify=function(N){R.isDebouncing=!0,q(N)},R.flush=function(){return q.flush()},R.cancel=function(){R.isDebouncing=!1,q.cancel()}}}),S(y(R),"doNotify",function(){var M=R.props.onChange;M.apply(void 0,arguments)}),S(y(R),"forceNotify",function(M){var q=R.props.debounceTimeout;if(!(!R.isDebouncing&&q>0)){R.cancel&&R.cancel();var N=R.state.value,U=R.props.minLength;N.length>=U?R.doNotify(M):R.doNotify(c(c({},M),{},{target:c(c({},M.target),{},{value:N})}))}}),R.isDebouncing=!1,R.state={value:typeof I.value>"u"||I.value===null?"":I.value};var $=R.props.debounceTimeout;return R.createNotifier($),R}
41return f(O,[{key:"componentDidUpdate",value:function(R){if(!this.isDebouncing){var $=this.props,M=$.value,q=$.debounceTimeout,N=R.debounceTimeout,U=R.value,X=this.state.value;typeof M<"u"&&U!==M&&X!==M&&this.setState({value:M}),q!==N&&this.createNotifier(q)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var R=this.props,$=R.element;R.onChange,R.value,R.minLength,R.debounceTimeout;var M=R.forceNotifyByEnter,q=R.forceNotifyOnBlur,N=R.onKeyDown,U=R.onBlur,X=R.inputRef,J=i(R,n),ee=this.state.value,ne;M?ne={onKeyDown:this.onKeyDown}:N?ne={onKeyDown:N}:ne={};var re;q?re={onBlur:this.onBlur}:U?re={onBlur:U}:re={};var Y=X?{ref:X}:{};return t.default.createElement($,c(c(c(c({},J),{},{onChange:this.onChange,value:ee},ne),re),Y))}}]),O})(t.default.PureComponent);return Ka.DebounceInput=_,S(_,"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}),Ka}var Cb,CN;function YG(){if(CN)return Cb;CN=1;var e=GG(),t=e.DebounceInput;return t.DebounceInput=t,Cb=t,Cb}var XG=YG();const xL=ut(XG);var ZG=Op();const Ps=ut(ZG);var Ol={exports:{}},Rb={},Tb,RN;function jp(){return RN||(RN=1,Tb={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}),Tb}var Ks={},TN;function AL(){if(TN)return Ks;TN=1;const e=jp(),t=()=>[{type:e.RANGE,from:48,to:57}],r=()=>[{type:e.CHAR,value:95},{type:e.RANGE,from:97,to:122},{type:e.RANGE,from:65,to:90}].concat(t()),n=()=>[{type:e.CHAR,value:9},{type:e.CHAR,value:10},{type:e.CHAR,value:11},{type:e.CHAR,value:12},{type:e.CHAR,value:13},{type:e.CHAR,value:32},{type:e.CHAR,value:160},{type:e.CHAR,value:5760},{type:e.RANGE,from:8192,to:8202},{type:e.CHAR,value:8232},{type:e.CHAR,value:8233},{type:e.CHAR,value:8239},{type:e.CHAR,value:8287},{type:e.CHAR,value:12288},{type:e.CHAR,value:65279}],s=()=>[{type:e.CHAR,value:10},{type:e.CHAR,value:13},{type:e.CHAR,value:8232},{type:e.CHAR,value:8233}];return Ks.words=()=>({type:e.SET,set:r(),not:!1}),Ks.notWords=()=>({type:e.SET,set:r(),not:!0}),Ks.ints=()=>({type:e.SET,set:t(),not:!1}),Ks.notInts=()=>({type:e.SET,set:t(),not:!0}),Ks.whitespace=()=>({type:e.SET,set:n(),not:!1}),Ks.notWhitespace=()=>({type:e.SET,set:n(),not:!0}),Ks.anyChar=()=>({type:e.SET,set:s(),not:!0}),Ks}var IN;function QG(){return IN||(IN=1,(function(e){const t=jp(),r=AL(),n="@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?",s={0:0,t:9,n:10,v:11,f:12,r:13};e.strToChars=function(i){var o=/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g;return i=i.replace(o,function(a,c,u,l,f,d,h,g){if(u)return a;var v=c?8:l?parseInt(l,16):f?parseInt(f,16):d?parseInt(d,8):h?n.indexOf(h):s[g],y=String.fromCharCode(v);return/[[\]{}^$.|?*+()]/.test(y)&&(y="\\"+y),y}),i},e.tokenizeClass=(i,o)=>{for(var a=[],c=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g,u,l;(u=c.exec(i))!=null;)if(u[1])a.push(r.words());else if(u[2])a.push(r.ints());else if(u[3])a.push(r.whitespace());else if(u[4])a.push(r.notWords());else if(u[5])a.push(r.notInts());else if(u[6])a.push(r.notWhitespace());else if(u[7])a.push({type:t.RANGE,from:(u[8]||u[9]).charCodeAt(0),to:u[10].charCodeAt(0)});else if(l=u[12])a.push({type:t.CHAR,value:l.charCodeAt(0)});else return[a,c.lastIndex];e.error(o,"Unterminated character class")},e.error=(i,o)=>{throw new SyntaxError("Invalid regular expression: /"+i+"/: "+o)}})(Rb)),Rb}var Uo={},PN;function eY(){if(PN)return Uo;PN=1;const e=jp();return Uo.wordBoundary=()=>({type:e.POSITION,value:"b"}),Uo.nonWordBoundary=()=>({type:e.POSITION,value:"B"}),Uo.begin=()=>({type:e.POSITION,value:"^"}),Uo.end=()=>({type:e.POSITION,value:"$"}),Uo}var jN;function tY(){if(jN)return Ol.exports;jN=1;const e=QG(),t=jp(),r=AL(),n=eY();return Ol.exports=s=>{var i=0,o,a,c={type:t.ROOT,stack:[]},u=c,l=c.stack,f=[],d=x=>{e.error(s,`Nothing to repeat at column ${x-1}`)},h=e.strToChars(s);for(o=h.length;i<o;)switch(a=h[i++],a){case"\\":switch(a=h[i++],a){case"b":l.push(n.wordBoundary());break;case"B":l.push(n.nonWordBoundary());break;case"w":l.push(r.words());break;case"W":l.push(r.notWords());break;case"d":l.push(r.ints());break;case"D":l.push(r.notInts());break;case"s":l.push(r.whitespace());break;case"S":l.push(r.notWhitespace());break;default:/\d/.test(a)?l.push({type:t.REFERENCE,value:parseInt(a,10)}
41):l.push({type:t.CHAR,value:a.charCodeAt(0)})}break;case"^":l.push(n.begin());break;case"$":l.push(n.end());break;case"[":var g;h[i]==="^"?(g=!0,i++):g=!1;var v=e.tokenizeClass(h.slice(i),s);i+=v[1],l.push({type:t.SET,set:v[0],not:g});break;case".":l.push(r.anyChar());break;case"(":var y={type:t.GROUP,stack:[],remember:!0};a=h[i],a==="?"&&(a=h[i+1],i+=2,a==="="?y.followedBy=!0:a==="!"?y.notFollowedBy=!0:a!==":"&&e.error(s,`Invalid group, character '${a}' after '?' at column ${i-1}`),y.remember=!1),l.push(y),f.push(u),u=y,l=y.stack;break;case")":f.length===0&&e.error(s,`Unmatched ) at column ${i-1}`),u=f.pop(),l=u.options?u.options[u.options.length-1]:u.stack;break;case"|":u.options||(u.options=[u.stack],delete u.stack);var E=[];u.options.push(E),l=E;break;case"{":var b=/^(\d+)(,(\d+)?)?\}/.exec(h.slice(i)),S,_;b!==null?(l.length===0&&d(i),S=parseInt(b[1],10),_=b[2]?b[3]?parseInt(b[3],10):1/0:S,i+=b[0].length,l.push({type:t.REPETITION,min:S,max:_,value:l.pop()})):l.push({type:t.CHAR,value:123});break;case"?":l.length===0&&d(i),l.push({type:t.REPETITION,min:0,max:1,value:l.pop()});break;case"+":l.length===0&&d(i),l.push({type:t.REPETITION,min:1,max:1/0,value:l.pop()});break;case"*":l.length===0&&d(i),l.push({type:t.REPETITION,min:0,max:1/0,value:l.pop()});break;default:l.push({type:t.CHAR,value:a.charCodeAt(0)})}return f.length!==0&&e.error(s,"Unterminated group"),c},Ol.exports.types=t,Ol.exports}var Ib,kN;function rY(){if(kN)return Ib;kN=1;class e{constructor(n,s){this.low=n,this.high=s,this.length=1+s-n}overlaps(n){return!(this.high<n.low||this.low>n.high)}touches(n){return!(this.high+1<n.low||this.low-1>n.high)}add(n){return new e(Math.min(this.low,n.low),Math.max(this.high,n.high))}subtract(n){return n.low<=this.low&&n.high>=this.high?[]:n.low>this.low&&n.high<this.high?[new e(this.low,n.low-1),new e(n.high+1,this.high)]:n.low<=this.low?[new e(n.high+1,this.high)]:[new e(this.low,n.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class t{constructor(n,s){this.ranges=[],this.length=0,n!=null&&this.add(n,s)}_update_length(){this.length=this.ranges.reduce((n,s)=>n+s.length,0)}add(n,s){var i=o=>{for(var a=0;a<this.ranges.length&&!o.touches(this.ranges[a]);)a++;for(var c=this.ranges.slice(0,a);a<this.ranges.length&&o.touches(this.ranges[a]);)o=o.add(this.ranges[a]),a++;c.push(o),this.ranges=c.concat(this.ranges.slice(a)),this._update_length()};return n instanceof t?n.ranges.forEach(i):(s==null&&(s=n),i(new e(n,s))),this}subtract(n,s){var i=o=>{for(var a=0;a<this.ranges.length&&!o.overlaps(this.ranges[a]);)a++;for(var c=this.ranges.slice(0,a);a<this.ranges.length&&o.overlaps(this.ranges[a]);)c=c.concat(this.ranges[a].subtract(o)),a++;this.ranges=c.concat(this.ranges.slice(a)),this._update_length()};return n instanceof t?n.ranges.forEach(i):(s==null&&(s=n),i(new e(n,s))),this}intersect(n,s){var i=[],o=a=>{for(var c=0;c<this.ranges.length&&!a.overlaps(this.ranges[c]);)c++;for(;c<this.ranges.length&&a.overlaps(this.ranges[c]);){var u=Math.max(this.ranges[c].low,a.low),l=Math.min(this.ranges[c].high,a.high);i.push(new e(u,l)),c++}};return n instanceof t?n.ranges.forEach(o):(s==null&&(s=n),o(new e(n,s))),this.ranges=i,this._update_length(),this}index(n){for(var s=0;s<this.ranges.length&&this.ranges[s].length<=n;)n-=this.ranges[s].length,s++;return this.ranges[s].low+n}toString(){return"[ "+this.ranges.join(", ")+" ]"}clone(){return new t(this)}numbers(){return this.ranges.reduce((n,s)=>{for(var i=s.low;i<=s.high;)n.push(i),i++;return n},[])}subranges(){return this.ranges.map(n=>({low:n.low,high:n.high,length:1+n.high-n.low}))}}return Ib=t,Ib}var Pb,NN;function nY(){if(NN)return Pb;NN=1;const e=tY(),t=rY(),r=e.types;return Pb=class sc{constructor(s,i){if(this._setDefaults(s),s instanceof RegExp)this.ignoreCase=s.ignoreCase,this.multiline=s.multiline,s=s.source;else if(typeof s=="string")this.ignoreCase=i&&i.indexOf("i")!==-1,this.multiline=i&&i.indexOf("m")!==-1;else throw new Error("Expected a regexp or string");this.tokens=e(s)}_setDefaults(s){this.max=s.max!=null?s.max:sc.prototype.max!=null?sc.prototype.max:100,this.defaultRange=s.defaultRange?s.defaultRange:this.defaultRange.clone(),s.randInt&&(this.randInt=s.randInt)}gen(){return this._gen(this.tokens,[])}_gen(s,i){var o,a,c,u,l;switch(s.type){case r.ROOT:case r.GROUP:if(s.followedBy||s.notFollowedBy)return"";for(s.remember&&s.groupNumber===void 0&&(s.groupNumber=i.push(null)-1),o=s.options?this._randSelect(s.options):s.stack,a="",u=0,l=o.length;u<l;u++)a+=this._gen(o[u],i);return s.remember&&(i[s.groupNumber]=a),a;case r.POSITION:return"";case r.SET:var f=this._expand(s);return f.length?String.fromCharCode(this._randSelect(f)):"";case r.REPETITION:for(c=this.randInt(s.min,s.max===1/0?s.min+this.max:s.max),a="",u=0;u<c;u++)a+=this._gen(s.value,i);return a;case r.REFERENCE:return i[s.value-1]||"";case r.CHAR:var d=this.ignoreCase&&this._randBool()?this._toOtherCase(s.value):s.value;return String.fromCharCode(d)}}_toOtherCase(s){return s+(97<=s&&s<=122?-32:65<=s&&s<=90?32:0)}_randBool(){return!this.randInt(0,1)}_randSelect(s){return s instanceof t?s.index(this.randInt(0,s.length-1)):s[this.randInt(0,s.length-1)]}_expand(s){if(s.type===e.types.CHAR)return new t(s.value);if(s.type===e.types.RANGE)return new t(s.from,s.to);{let i=new t;for(let o=0;o<s.set.length;o++){let a=this._expand(s.set[o]);if(i.add(a),this.ignoreCase)for(let c=0;c<a.length;c++){let u=a.index(c),l=this._toOtherCase(u);u!==l&&i.add(l)}}return s.not?this.defaultRange.clone().subtract(i):this.defaultRange.clone().intersect(i)}}randInt(s,i){return s+Math.floor(Math.random()*(1+i-s))}get defaultRange(){return this._range=this._range||new t(32,126)}set defaultRange(s){this._range=s}static randexp(s,i){var o;return typeof s=="string"&&(s=new RegExp(s,i)),s._randexp===void 0?(o=new sc(s,i),s._randexp=o):(o=s._randexp,o._setDefaults(s)),o.gen()}static sugar(){RegExp.prototype.gen=function(){return sc.randexp(this)}}},Pb}var sY=nY();const OL=ut(sY);var jb,MN;function iY(){if(MN)return jb;MN=1;var e=Gx(),t=Aa(),r=Lc(),n=Dr(),s=So(),i=Uc(),o=Ap(),a=Cp(),c="[object Map]",u="[object Set]",l=Object.prototype,f=l.hasOwnProperty;function d(h){if(h==null)return!0;
41if(s(h)&&(n(h)||typeof h=="string"||typeof h.splice=="function"||i(h)||a(h)||r(h)))return!h.length;var g=t(h);if(g==c||g==u)return!h.size;if(o(h))return!e(h).length;for(var v in h)if(f.call(h,v))return!1;return!0}return jb=d,jb}var oY=iY();const Ts=ut(oY);var aY=Lq();const nu=ut(aY);var kb,DN;function CL(){if(DN)return kb;DN=1;var e=Ms(),t=Dr(),r=mn(),n="[object String]";function s(i){return typeof i=="string"||!t(i)&&r(i)&&e(i)==n}return kb=s,kb}var cY=CL();const uY=ut(cY);var Nb,$N;function lY(){if($N)return Nb;$N=1;var e=hn(),t=function(){return e.Date.now()};return Nb=t,Nb}var Mb,FN;function fY(){if(FN)return Mb;FN=1;var e=dn(),t=lY(),r=aB(),n="Expected a function",s=Math.max,i=Math.min;function o(a,c,u){var l,f,d,h,g,v,y=0,E=!1,b=!1,S=!0;if(typeof a!="function")throw new TypeError(n);c=r(c)||0,e(u)&&(E=!!u.leading,b="maxWait"in u,d=b?s(r(u.maxWait)||0,c):d,S="trailing"in u?!!u.trailing:S);function _(N){var U=l,X=f;return l=f=void 0,y=N,h=a.apply(X,U),h}function x(N){return y=N,g=setTimeout(I,c),E?_(N):h}function A(N){var U=N-v,X=N-y,J=c-U;return b?i(J,d-X):J}function O(N){var U=N-v,X=N-y;return v===void 0||U>=c||U<0||b&&X>=d}function I(){var N=t();if(O(N))return R(N);g=setTimeout(I,A(N))}function R(N){return g=void 0,S&&l?_(N):(l=f=void 0,h)}function $(){g!==void 0&&clearTimeout(g),y=0,l=v=f=g=void 0}function M(){return g===void 0?h:R(t())}function q(){var N=t(),U=O(N);if(l=arguments,f=this,v=N,U){if(g===void 0)return x(v);if(b)return clearTimeout(g),g=setTimeout(I,c),_(v)}return g===void 0&&(g=setTimeout(I,c)),h}return q.cancel=$,q.flush=M,q}return Mb=o,Mb}var pY=fY();const hY=ut(pY);var Db,qN;function dY(){if(qN)return Db;qN=1;var e=Rp(),t=Hc(),r=Vc(),n=dn(),s=_o();function i(o,a,c,u){if(!n(o))return o;a=t(a,o);
41for(var l=-1,f=a.length,d=f-1,h=o;h!=null&&++l<f;){var g=s(a[l]),v=c;if(g==="__proto__"||g==="constructor"||g==="prototype")return o;if(l!=d){var y=h[g];v=u?u(y,g,h):void 0,v===void 0&&(v=n(y)?y:r(a[l+1])?[]:{})}e(h,g,v),h=h[g]}return o}return Db=i,Db}var $b,BN;function RL(){if(BN)return $b;BN=1;var e=dY();function t(r,n,s){return r==null?r:e(r,n,s)}return $b=t,$b}var mY=RL();const TL=ut(mY);var Fb={},LN;function gY(){return LN||(LN=1,(function(e){e.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"},e.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"]},e.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},e.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom
41: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},e.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},e.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]},e.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}},e.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}},e.realToAlias=(function(){var t=Object.prototype.hasOwnProperty,r=e.aliasToReal,n={};for(var s in r){var i=r[s];t.call(n,i)?n[i].push(s):n[i]=[s]}return n})(),e.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"},e.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},e.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}})(Fb)),Fb}var qb,UN;function IL(){return UN||(UN=1,qb={}),qb}var Bb,VN;function yY(){if(VN)return Bb;VN=1;var e=gY(),t=IL(),r=Array.prototype.push;function n(l,f){return f==2?function(d,h){return l.apply(void 0,arguments)}:function(d){return l.apply(void 0,arguments)}}function s(l,f){return f==2?function(d,h){return l(d,h)}:function(d){return l(d)}}function i(l){for(var f=l?l.length:0,d=Array(f);f--;)d[f]=l[f];return d}function o(l){return function(f){return l({},f)}}function a(l,f){return function(){for(var d=arguments.length,h=d-1,g=Array(d);d--;)g[d]=arguments[d];var v=g[f],y=g.slice(0,f);return v&&r.apply(y,v),f!=h&&r.apply(y,g.slice(f+1)),l.apply(this,y)}}function c(l,f){return function(){var d=arguments.length;if(d){for(var h=Array(d);d--;)h[d]=arguments[d];var g=h[0]=f.apply(void 0,h);return l.apply(void 0,h),g}}}function u(l,f,d,h){var g=typeof f=="function",v=f===Object(f);if(v&&(h=d,d=f,f=void 0),d==null)throw new TypeError;h||(h={});var y={cap:"cap"in h?h.cap:!0,curry:"curry"in h?h.curry:!0,fixed:"fixed"in h?h.fixed:!0,immutable:"immutable"in h?h.immutable:!0,rearg:"rearg"in h?h.rearg:!0},E=g?d:t,b="curry"in h&&h.curry,S="fixed"in h&&h.fixed,_="rearg"in h&&h.rearg,x=g?d.runInContext():void 0,A=g?d:{ary:l.ary,assign:l.assign,clone:l.clone,curry:l.curry,forEac
41h:l.forEach,isArray:l.isArray,isError:l.isError,isFunction:l.isFunction,isWeakMap:l.isWeakMap,iteratee:l.iteratee,keys:l.keys,rearg:l.rearg,toInteger:l.toInteger,toPath:l.toPath},O=A.ary,I=A.assign,R=A.clone,$=A.curry,M=A.forEach,q=A.isArray,N=A.isError,U=A.isFunction,X=A.isWeakMap,J=A.keys,ee=A.rearg,ne=A.toInteger,re=A.toPath,Y=J(e.aryMethod),ie={castArray:function(be){return function(){var Ee=arguments[0];return q(Ee)?be(i(Ee)):be.apply(void 0,arguments)}},iteratee:function(be){return function(){var Ee=arguments[0],xe=arguments[1],L=be(Ee,xe),T=L.length;return y.cap&&typeof xe=="number"?(xe=xe>2?xe-2:1,T&&T<=xe?L:s(L,xe)):L}},mixin:function(be){return function(Ee){var xe=this;if(!U(xe))return be(xe,Object(Ee));var L=[];return M(J(Ee),function(T){U(Ee[T])&&L.push([T,xe.prototype[T]])}),be(xe,Object(Ee)),M(L,function(T){var j=T[1];U(j)?xe.prototype[T[0]]=j:delete xe.prototype[T[0]]}),xe}},nthArg:function(be){return function(Ee){var xe=Ee<0?1:ne(Ee)+1;return $(be(Ee),xe)}},rearg:function(be){return function(Ee,xe){var L=xe?xe.length:0;return $(be(Ee,xe),L)}},runInContext:function(be){return function(Ee){return u(l,be(Ee),h)}}};function ce(be,Ee){if(y.cap){var xe=e.iterateeRearg[be];if(xe)return De(Ee,xe);var L=!g&&e.iterateeAry[be];if(L)return ye(Ee,L)}return Ee}function ge(be,Ee,xe){return b||y.curry&&xe>1?$(Ee,xe):Ee}function de(be,Ee,xe){if(y.fixed&&(S||!e.skipFixed[be])){var L=e.methodSpread[be],T=L&&L.start;return T===void 0?O(Ee,xe):a(Ee,T)}return Ee}function ae(be,Ee,xe){return y.rearg&&xe>1&&(_||!e.skipRearg[be])?ee(Ee,e.methodRearg[be]||e.aryRearg[xe]):Ee}function W(be,Ee){Ee=re(Ee);for(var xe=-1,L=Ee.length,T=L-1,j=R(Object(be)),z=j;z!=null&&++xe<L;){var Q=Ee[xe],oe=z[Q];oe!=null&&!(U(oe)||N(oe)||X(oe))&&(z[Q]=R(xe==T?oe:Object(oe))),z=z[Q]}return j}function V(be){return ke.runInContext.convert(be)(void 0)}function fe(be,Ee){var xe=e.aliasToReal[be]||be,L=e.remap[xe]||xe,T=h;return function(j){var z=g?x:A,Q=g?x[L]:Ee,oe=I(I({},T),j);return u(z,xe,Q,oe)}}function ye(be,Ee){return Fe(be,function(xe){return typeof xe=="function"?s(xe,Ee):xe})}function De(be,Ee){return Fe(be,function(xe){var L=Ee.length;return n(ee(s(xe,L),Ee),L)})}function Fe(be,Ee){return function(){var xe=arguments.length;if(!xe)return be();for(var L=Array(xe);xe--;)L[xe]=arguments[xe];var T=y.rearg?0:xe-1;return L[T]=Ee(L[T]),be.apply(void 0,L)}}function Re(be,Ee,xe){var L,T=e.aliasToReal[be]||be,j=Ee,z=ie[T];return z?j=z(Ee):y.immutable&&(e.mutate.array[T]?j=c(Ee,i):e.mutate.object[T]?j=c(Ee,o(Ee)):e.mutate.set[T]&&(j=c(Ee,W))),M(Y,function(Q){return M(e.aryMethod[Q],function(oe){if(T==oe){var he=e.methodSpread[T],$e=he&&he.afterRearg;return L=$e?de(T,ae(T,j,Q),Q):ae(T,de(T,j,Q),Q),L=ce(T,L),L=ge(T,L,Q),!1}}),!L}),L||(L=j),L==Ee&&(L=b?$(L,1):function(){return Ee.apply(this,arguments)}),L.convert=fe(T,Ee),L.placeholder=Ee.placeholder=xe,L}if(!v)return Re(f,d,E);var ke=d,Je=[];return M(Y,function(be){M(e.aryMethod[be],function(Ee){var xe=ke[e.remap[Ee]||Ee];xe&&Je.push([Ee,Re(Ee,xe,ke)])})}),M(J(ke),function(be){var Ee=ke[be];if(typeof Ee=="function"){for(var xe=Je.length;xe--;)if(Je[xe][0]==be)return;Ee.convert=fe(be,Ee),Je.push([be,Ee])}}),M(Je,function(be){ke[be[0]]=be[1]}),ke.convert=V,ke.placeholder=ke,M(J(ke),function(be){M(e.realToAlias[be]||[],function(Ee){ke[Ee]=ke[be]})}),ke}return Bb=u,Bb}var Lb,zN;function PL(){if(zN)return Lb;zN=1;var e=eB(),t=e&&new e;return Lb=t,Lb}var Ub,WN;function jL(){if(WN)return Ub;WN=1;var e=Wc(),t=PL(),r=t?function(n,s){return t.set(n,s),n}:e;return Ub=r,Ub}var Vb,JN;function kp(){if(JN)return Vb;JN=1;var e=xp(),t=dn();function r(n){return function(){var s=arguments;switch(s.length){case 0:return new n;case 1:return new n(s[0]);case 2:return new n(s[0],s[1]);case 3:return new n(s[0],s[1],s[2]);case 4:return new n(s[0],s[1],s[2],s[3]);case 5:return new n(s[0],s[1],s[2],s[3],s[4]);case 6:return new n(s[0],s[1],s[2],s[3],s[4],s[5]);case 7:return new n(s[0],s[1],s[2],s[3],s[4],s[5],s[6])}var i=e(n.prototype),o=n.apply(i,s);return t(o)?o:i}}return Vb=r,Vb}var zb,HN;function vY(){if(HN)return zb;HN=1;var e=kp(),t=hn(),r=1;function n(s,i,o){var a=i&r,c=e(s);function u(){var l=this&&this!==t&&this instanceof u?c:s;return l.apply(a?o:this,arguments)}return u}return zb=n,zb}var Wb,KN;function kL(){if(KN)return Wb;KN=1;var e=Math.max;function t(r,n,s,i){for(var o=-1,a=r.length,c=s.length,u=-1,l=n.length,f=e(a-c,0),d=Array(l+f),h=!i;++u<l;)d[u]=n[u];for(;++o<c;)(h||o<a)&&(d[s[o]]=r[o]);for(;f--;)d[u++]=r[o++];return d}return Wb=t,Wb}var Jb,GN;function NL(){if(GN)return Jb;GN=1;var e=Math.max;function t(r,n,s,i){for(var o=-1,a=r.length,c=-1,u=s.length,l=-1,f=n.length,d=e(a-u,0),h=Array(d+f),g=!i;++o<d;)h[o]=r[o];for(var v=o;++l<f;)h[v+l]=n[l];for(;++c<u;)(g||o<a)&&(h[v+s[c]]=r[o++]);return h}return Jb=t,Jb}var Hb,YN;function bY(){if(YN)return Hb;YN=1;function e(t,r){for(var n=t.length,s=0;n--;)t[n]===r&&++s;return s}return Hb=e,Hb}var Kb,XN;function vA(){if(XN)return Kb;XN=1;function e(){}return Kb=e,Kb}var Gb,ZN;function bA(){if(ZN)return Gb;ZN=1;var e=xp(),t=vA(),r=4294967295;function n(s){this.__wrapped__=s,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=r,this.__views__=[]}return n.prototype=e(t.prototype),n.prototype.constructor=n,Gb=n,Gb}var Yb,QN;function EY(){if(QN)return Yb;QN=1;function e(){}return Yb=e,Yb}var Xb,eM;function ML(){if(eM)return Xb;eM=1;var e=PL(),t=EY(),r=e?function(n){return e.get(n)}:t;return Xb=r,Xb}var Zb,tM;function SY(){if(tM)return Zb;tM=1;var e={};return Zb=e,Zb}var Qb,rM;function _Y(){if(rM)return Qb;rM=1;var e=SY(),t=Object.prototype,r=t.hasOwnProperty;function n(s){for(var i=s.name+"",o=e[i],a=r.call(e,i)?o.length:0;a--;){var c=o[a],u=c.func;
41if(u==null||u==s)return c.name}return i}return Qb=n,Qb}var eE,nM;function DL(){if(nM)return eE;nM=1;var e=xp(),t=vA();function r(n,s){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=void 0}return r.prototype=e(t.prototype),r.prototype.constructor=r,eE=r,eE}var tE,sM;function wY(){if(sM)return tE;sM=1;var e=bA(),t=DL(),r=Bc();function n(s){if(s instanceof e)return s.clone();var i=new t(s.__wrapped__,s.__chain__);return i.__actions__=r(s.__actions__),i.__index__=s.__index__,i.__values__=s.__values__,i}return tE=n,tE}var rE,iM;function xY(){if(iM)return rE;iM=1;var e=bA(),t=DL(),r=vA(),n=Dr(),s=mn(),i=wY(),o=Object.prototype,a=o.hasOwnProperty;function c(u){if(s(u)&&!n(u)&&!(u instanceof e)){if(u instanceof t)return u;if(a.call(u,"__wrapped__"))return i(u)}return new t(u)}return c.prototype=r.prototype,c.prototype.constructor=c,rE=c,rE}var nE,oM;function AY(){if(oM)return nE;oM=1;var e=bA(),t=ML(),r=_Y(),n=xY();function s(i){var o=r(i),a=n[o];if(typeof a!="function"||!(o in e.prototype))return!1;if(i===a)return!0;var c=t(a);return!!c&&i===c[0]}return nE=s,nE}var sE,aM;function $L(){if(aM)return sE;aM=1;var e=jL(),t=Uq(),r=t(e);return sE=r,sE}var iE,cM;function OY(){if(cM)return iE;cM=1;var e=/\{\n\/\* \[wrapped with (.+)\] \*/,t=/,? & /;function r(n){var s=n.match(e);return s?s[1].split(t):[]}return iE=r,iE}var oE,uM;function CY(){if(uM)return oE;uM=1;var e=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function t(r,n){var s=n.length;if(!s)return r;var i=s-1;return n[i]=(s>1?"& ":"")+n[i],n=n.join(s>2?", ":" "),r.replace(e,`{ 42/* [wrapped with `+n+`] */ 43`)}return oE=t,oE}var aE,lM;function RY(){if(lM)return aE;lM=1;function e(t){return t!==t}return aE=e,aE}var cE,fM;function TY(){if(fM)return cE;fM=1;function e(t,r,n){for(var s=n-1,i=t.length;++s<i;)if(t[s]===r)return s;return-1}return cE=e,cE}var uE,pM;function IY(){if(pM)return uE;pM=1;var e=oB(),t=RY(),r=TY();function n(s,i,o){return i===i?r(s,i,o):e(s,t,o)}return uE=n,uE}var lE,hM;function PY(){if(hM)return lE;hM=1;var e=IY();function t(r,n){var s=r==null?0:r.length;return!!s&&e(r,n,0)>-1}return lE=t,lE}var fE,dM;function jY(){if(dM)return fE;dM=1;var e=eA(),t=PY(),r=1,n=2,s=8,i=16,o=32,a=64,c=128,u=256,l=512,f=[["ary",c],["bind",r],["bindKey",n],["curry",s],["curryRight",i],["flip",l],["partial",o],["partialRight",a],["rearg",u]];function d(h,g){return e(f,function(v){var y="_."+v[0];g&v[1]&&!t(h,y)&&h.push(y)}),h.sort()}return fE=d,fE}var pE,mM;function FL(){if(mM)return pE;mM=1;var e=OY(),t=CY(),r=Wx(),n=jY();function s(i,o,a){var c=o+"";return r(i,t(c,n(e(c),a)))}return pE=s,pE}var hE,gM;function qL(){if(gM)return hE;gM=1;var e=AY(),t=$L(),r=FL(),n=4,s=8,i=32,o=64;function a(c,u,l,f,d,h,g,v,y,E){var b=u&s,S=b?g:void 0,_=b?void 0:g,x=b?h:void 0,A=b?void 0:h;u|=b?i:o,u&=~(b?o:i),u&n||(u&=-4);var O=[c,u,d,x,S,A,_,v,y,E],I=l.apply(void 0,O);return e(c)&&t(I,O),I.placeholder=f,r(I,c,u)}return hE=a,hE}var dE,yM;function BL(){if(yM)return dE;yM=1;function e(t){var r=t;return r.placeholder}return dE=e,dE}var mE,vM;function kY(){if(vM)return mE;vM=1;var e=Bc(),t=Vc(),r=Math.min;function n(s,i){for(var o=s.length,a=r(i.length,o),c=e(s);a--;){var u=i[a];s[a]=t(u,o)?c[u]:void 0}return s}return mE=n,mE}var gE,bM;function EA(){if(bM)return gE;bM=1;var e="__lodash_placeholder__";function t(r,n){for(var s=-1,i=r.length,o=0,a=[];++s<i;){var c=r[s];(c===n||c===e)&&(r[s]=e,a[o++]=s)}return a}return gE=t,gE}var yE,EM;function LL(){if(EM)return yE;EM=1;var e=kL(),t=NL(),r=bY(),n=kp(),s=qL(),i=BL(),o=kY(),a=EA(),c=hn(),u=1,l=2,f=8,d=16,h=128,g=512;function v(y,E,b,S,_,x,A,O,I,R){var $=E&h,M=E&u,q=E&l,N=E&(f|d),U=E&g,X=q?void 0:n(y);function J(){for(var ee=arguments.length,ne=Array(ee),re=ee;re--;)ne[re]=arguments[re];if(N)var Y=i(J),ie=r(ne,Y);if(S&&(ne=e(ne,S,_,N)),x&&(ne=t(ne,x,A,N)),ee-=ie,N&&ee<R){var ce=a(ne,Y);return s(y,E,v,J.placeholder,b,ne,ce,O,I,R-ee)}var ge=M?b:this,de=q?ge[y]:y;return ee=ne.length,O?ne=o(ne,O):U&&ee>1&&ne.reverse(),$&&I<ee&&(ne.length=I),this&&this!==c&&this instanceof J&&(de=X||n(de)),de.apply(ge,ne)}return J}return yE=v,yE}var vE,SM;function NY(){if(SM)return vE;SM=1;var e=zx(),t=kp(),r=LL(),n=qL(),s=BL(),i=EA(),o=hn();function a(c,u,l){var f=t(c);function d(){for(var h=arguments.length,g=Array(h),v=h,y=s(d);v--;)g[v]=arguments[v];var E=h<3&&g[0]!==y&&g[h-1]!==y?[]:i(g,y);if(h-=E.length,h<l)return n(c,u,r,d.placeholder,void 0,g,E,void 0,void 0,l-h);var b=this&&this!==o&&this instanceof d?f:c;return e(b,this,g)}return d}return vE=a,vE}var bE,_M;function MY(){if(_M)return bE;_M=1;var e=zx(),t=kp(),r=hn(),n=1;function s(i,o,a,c){var u=o&n,l=t(i);function f(){for(var d=-1,h=arguments.length,g=-1,v=c.length,y=Array(v+h),E=this&&this!==r&&this instanceof f?l:i;++g<v;)y[g]=c[g];for(;h--;)y[g++]=arguments[++d];return e(E,u?a:this,y)}return f}return bE=s,bE}var EE,wM;function DY(){if(wM)return EE;wM=1;var e=kL(),t=NL(),r=EA(),n="__lodash_placeholder__",s=1,i=2,o=4,a=8,c=128,u=256,l=Math.min;function f(d,h){var g=d[1],v=h[1],y=g|v,E=y<(s|i|c),b=v==c&&g==a||v==c&&g==u&&d[7].length<=h[8]||v==(c|u)&&h[7].length<=h[8]&&g==a;if(!(E||b))return d;v&s&&(d[2]=h[2],y|=g&s?0:o);var S=h[3];if(S){var _=d[3];d[3]=_?e(_,S,h[4]):S,d[4]=_?r(d[3],n):h[4]}return S=h[5],S&&(_=d[5],d[5]=_?t(_,S,h[6]):S,d[6]=_?r(d[5],n):h[6]),S=h[7],S&&(d[7]=S),v&c&&(d[8]=d[8]==null?h[8]:l(d[8],h[8])),d[9]==null&&(d[9]=h[9]),d[0]=h[0],d[1]=y,d}return EE=f,EE}var SE,xM;
43function SA(){if(xM)return SE;xM=1;var e=jL(),t=vY(),r=NY(),n=LL(),s=MY(),i=ML(),o=DY(),a=$L(),c=FL(),u=Qx(),l="Expected a function",f=1,d=2,h=8,g=16,v=32,y=64,E=Math.max;function b(S,_,x,A,O,I,R,$){var M=_&d;if(!M&&typeof S!="function")throw new TypeError(l);var q=A?A.length:0;if(q||(_&=-97,A=O=void 0),R=R===void 0?R:E(u(R),0),$=$===void 0?$:u($),q-=O?O.length:0,_&y){var N=A,U=O;A=O=void 0}var X=M?void 0:i(S),J=[S,_,x,A,O,N,U,I,R,$];if(X&&o(J,X),S=J[0],_=J[1],x=J[2],A=J[3],O=J[4],$=J[9]=J[9]===void 0?M?0:S.length:E(J[9]-q,0),!$&&_&(h|g)&&(_&=-25),!_||_==f)var ee=t(S,_,x);else _==h||_==g?ee=r(S,_,$):(_==v||_==(f|v))&&!O.length?ee=s(S,_,x,A):ee=n.apply(void 0,J);var ne=X?e:a;return c(ne(ee,J),S,_)}return SE=b,SE}var _E,AM;function $Y(){if(AM)return _E;AM=1;var e=SA(),t=128;function r(n,s,i){return s=i?void 0:s,s=n&&s==null?n.length:s,e(n,t,void 0,void 0,void 0,void 0,s)}return _E=r,_E}var wE,OM;function FY(){if(OM)return wE;OM=1;var e=tA(),t=4;function r(n){return e(n,t)}return wE=r,wE}var xE,CM;function qY(){if(CM)return xE;CM=1;var e=SA(),t=8;function r(n,s,i){s=i?void 0:s;var o=e(n,t,void 0,void 0,void 0,void 0,void 0,s);return o.placeholder=r.placeholder,o}return r.placeholder={},xE=r,xE}var AE,RM;function BY(){if(RM)return AE;RM=1;var e=Ms(),t=mn(),r=Op(),n="[object DOMException]",s="[object Error]";function i(o){if(!t(o))return!1;var a=e(o);return a==s||a==n||typeof o.message=="string"&&typeof o.name=="string"&&!r(o)}return AE=i,AE}var OE,TM;function LY(){if(TM)return OE;TM=1;var e=Aa(),t=mn(),r="[object WeakMap]";function n(s){return t(s)&&e(s)==r}return OE=n,OE}var CE,IM;function UY(){if(IM)return CE;IM=1;var e=tA(),t=Kc(),r=1;function n(s){return t(typeof s=="function"?s:e(s,r))}return CE=n,CE}var RE,PM;function VY(){if(PM)return RE;PM=1;var e=SA(),t=mB(),r=256,n=t(function(s,i){return e(s,r,void 0,void 0,void 0,i)});return RE=n,RE}var TE,jM;function zY(){if(jM)return TE;jM=1;var e=Jx(),t=Bc(),r=Dr(),n=Jc(),s=nB(),i=_o(),o=ii();function a(c){return r(c)?e(c,i):n(c)?[c]:t(s(o(c)))}return TE=a,TE}var IE,kM;function WY(){return kM||(kM=1,IE={ary:$Y(),assign:pB(),clone:FY(),curry:qY(),forEach:eA(),isArray:Dr(),isError:BY(),isFunction:qc(),isWeakMap:LY(),iteratee:UY(),keys:Gx(),rearg:VY(),toInteger:Qx(),toPath:zY()}),IE}var PE,NM;function JY(){if(NM)return PE;NM=1;var e=yY(),t=WY();function r(n,s,i){return e(t,n,s,i)}return PE=r,PE}var jE,MM;function UL(){if(MM)return jE;MM=1;var e=JY(),t=e("set",RL());return t.placeholder=IL(),jE=t,jE}var kE,DM;function HY(){return DM||(DM=1,kE=UL()),kE}var KY=HY();const GY=ut(KY);/*! 44 * https://github.com/Starcounter-Jack/JSON-Patch 45 * (c) 2017-2022 Joachim Wester 46 * MIT licensed 47 */var YY=(function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,s){n.__proto__=s}||function(n,s){for(var i in s)s.hasOwnProperty(i)&&(n[i]=s[i])},e(t,r)};return function(t,r){e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),XY=Object.prototype.hasOwnProperty;function I_(e,t){return XY.call(e,t)}function P_(e){if(Array.isArray(e)){for(var t=new Array(e.length),r=0;r<t.length;r++)t[r]=""+r;return t}if(Object.keys)return Object.keys(e);var n=[];for(var s in e)I_(e,s)&&n.push(s);return n}function Tn(e){switch(typeof e){case"object":return JSON.parse(JSON.stringify(e));case"undefined":return null;default:return e}}function j_(e){for(var t=0,r=e.length,n;t<r;){if(n=e.charCodeAt(t),n>=48&&n<=57){t++;continue}return!1}return!0}function to(e){return e.indexOf("/")===-1&&e.indexOf("~")===-1?e:e.replace(/~/g,"~0").replace(/\//g,"~1")}function VL(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function k_(e){if(e===void 0)return!0;if(e){if(Array.isArray(e)){for(var t=0,r=e.length;t<r;t++)if(k_(e[t]))return!0}else if(typeof e=="object"){for(var n=P_(e),s=n.length,i=0;i<s;i++)if(k_(e[n[i]]))return!0}}return!1}function $M(e,t){var r=[e];for(var n in t){var s=typeof t[n]=="object"?JSON.stringify(t[n],null,2):t[n];typeof s<"u"&&r.push(n+": "+s)}return r.join(` 48`)}var zL=(function(e){YY(t,e);function t(r,n,s,i,o){var a=this.constructor,c=e.call(this,$M(r,{name:n,index:s,operation:i,tree:o}))||this;return c.name=n,c.index=s,c.operation=i,c.tree=o,Object.setPrototypeOf(c,a.prototype),c.message=$M(r,{name:n,index:s,operation:i,tree:o}),c}return t})(Error),hr=zL,ZY=Tn,na={add:function(e,t,r){return e[t]=this.value,{newDocument:r}},remove:function(e,t,r){var n=e[t];return delete e[t],{newDocument:r,removed:n}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:function(e,t,r){var n=Ec(r,this.path);n&&(n=Tn(n));var s=co(r,{op:"remove",path:this.from}).removed;return co(r,{op:"add",path:this.path,value:s}),{newDocument:r,removed:n}},copy:function(e,t,r){var n=Ec(r,this.from);return co(r,{op:"add",path:this.path,value:Tn(n)}),{newDocument:r}},test:function(e,t,r){return{newDocument:r,test:Sc(e[t],this.value)}},_get:function(e,t,r){return this.value=e[t],{newDocument:r}}},QY={add:function(e,t,r){return j_(t)?e.splice(t,0,this.value):e[t]=this.value,{newDocument:r,index:t}},remove:function(e,t,r){var n=e.splice(t,1);return{newDocument:r,removed:n[0]}},replace:function(e,t,r){var n=e[t];return e[t]=this.value,{newDocument:r,removed:n}},move:na.move,copy:na.copy,test:na.test,_get:na._get};function Ec(e,t){if(t=="")return e;var r={op:"_get",path:t};return co(e,r),r.value}function co(e,t,r,n,s,i){if(r===void 0&&(r=!1),n===void 0&&(n=!0),s===void 0&&(s=!0),i===void 0&&(i=0),r&&(typeof r=="function"?r(t,0,e,t.path):uf(t,0)),t.path===""){var o={newDocument:e};if(t.op==="add")return o.newDocument=t.value,o;if(t.op==="replace")return o.newDocument=t.value,o.removed=e,o;
48if(t.op==="move"||t.op==="copy")return o.newDocument=Ec(e,t.from),t.op==="move"&&(o.removed=e),o;if(t.op==="test"){if(o.test=Sc(e,t.value),o.test===!1)throw new hr("Test operation failed","TEST_OPERATION_FAILED",i,t,e);return o.newDocument=e,o}else{if(t.op==="remove")return o.removed=e,o.newDocument=null,o;if(t.op==="_get")return t.value=e,o;if(r)throw new hr("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",i,t,e);return o}}else{n||(e=Tn(e));var a=t.path||"",c=a.split("/"),u=e,l=1,f=c.length,d=void 0,h=void 0,g=void 0;for(typeof r=="function"?g=r:g=uf;;){if(h=c[l],h&&h.indexOf("~")!=-1&&(h=VL(h)),s&&(h=="__proto__"||h=="prototype"&&l>0&&c[l-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&&d===void 0&&(u[h]===void 0?d=c.slice(0,l).join("/"):l==f-1&&(d=t.path),d!==void 0&&g(t,0,e,d)),l++,Array.isArray(u)){if(h==="-")h=u.length;else{if(r&&!j_(h))throw new hr("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",i,t,e);j_(h)&&(h=~~h)}if(l>=f){if(r&&t.op==="add"&&h>u.length)throw new hr("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",i,t,e);var o=QY[t.op].call(t,u,h,e);if(o.test===!1)throw new hr("Test operation failed","TEST_OPERATION_FAILED",i,t,e);return o}}else if(l>=f){var o=na[t.op].call(t,u,h,e);if(o.test===!1)throw new hr("Test operation failed","TEST_OPERATION_FAILED",i,t,e);return o}if(u=u[h],r&&l<f&&(!u||typeof u!="object"))throw new hr("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",i,t,e)}}}function Ai(e,t,r,n,s){if(n===void 0&&(n=!0),s===void 0&&(s=!0),r&&!Array.isArray(t))throw new hr("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(e=Tn(e));for(var i=new Array(t.length),o=0,a=t.length;o<a;o++)i[o]=co(e,t[o],r,!0,s,o),e=i[o].newDocument;return i.newDocument=e,i}function eX(e,t,r){var n=co(e,t);if(n.test===!1)throw new hr("Test operation failed","TEST_OPERATION_FAILED",r,t,e);return n.newDocument}function uf(e,t,r,n){if(typeof e!="object"||e===null||Array.isArray(e))throw new hr("Operation is not an object","OPERATION_NOT_AN_OBJECT",t,e,r);
48if(na[e.op]){if(typeof e.path!="string")throw new hr("Operation `path` property is not a string","OPERATION_PATH_INVALID",t,e,r);if(e.path.indexOf("/")!==0&&e.path.length>0)throw new hr('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",t,e,r);if((e.op==="move"||e.op==="copy")&&typeof e.from!="string")throw new hr("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&e.value===void 0)throw new hr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",t,e,r);if((e.op==="add"||e.op==="replace"||e.op==="test")&&k_(e.value))throw new hr("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",t,e,r);if(r){if(e.op=="add"){var s=e.path.split("/").length,i=n.split("/").length;if(s!==i+1&&s!==i)throw new hr("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",t,e,r)}else if(e.op==="replace"||e.op==="remove"||e.op==="_get"){if(e.path!==n)throw new hr("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",t,e,r)}else if(e.op==="move"||e.op==="copy"){var o={op:"_get",path:e.from,value:void 0},a=WL([o],r);if(a&&a.name==="OPERATION_PATH_UNRESOLVABLE")throw new hr("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",t,e,r)}}}else throw new hr("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",t,e,r)}function WL(e,t,r){try{if(!Array.isArray(e))throw new hr("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(t)Ai(Tn(t),Tn(e),r||!0);else{r=r||uf;for(var n=0;n<e.length;n++)r(e[n],n,t,void 0)}}catch(s){if(s instanceof hr)return s;throw s}}function Sc(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){var r=Array.isArray(e),n=Array.isArray(t),s,i,o;if(r&&n){if(i=e.length,i!=t.length)return!1;for(s=i;s--!==0;)if(!Sc(e[s],t[s]))return!1;return!0}if(r!=n)return!1;var a=Object.keys(e);if(i=a.length,i!==Object.keys(t).length)return!1;for(s=i;s--!==0;)if(!t.hasOwnProperty(a[s]))return!1;for(s=i;s--!==0;)if(o=a[s],!Sc(e[o],t[o]))return!1;return!0}return e!==e&&t!==t}const tX=Object.freeze(Object.defineProperty({__proto__:null,JsonPatchError:hr,_areEquals:Sc,applyOperation:co,applyPatch:Ai,applyReducer:eX,deepClone:ZY,getValueByPointer:Ec,validate:WL,validator:uf},Symbol.toStringTag,{value:"Module"}));/*! 49 * https://github.com/Starcounter-Jack/JSON-Patch 50 * (c) 2017-2021 Joachim Wester 51 * MIT license 52 */var _A=new WeakMap,rX=(function(){function e(t){this.observers=new Map,this.obj=t}return e})(),nX=(function(){function e(t,r){this.callback=t,this.observer=r}return e})();function sX(e){return _A.get(e)}function iX(e,t){return e.observers.get(t)}function oX(e,t){e.observers.delete(t.callback)}function aX(e,t){t.unobserve()}function cX(e,t){var r=[],n,s=sX(e);if(!s)s=new rX(e),_A.set(e,s);else{var i=iX(s,t);n=i&&i.observer}if(n)return n;if(n={},s.value=Tn(e),t){n.callback=t,n.next=null;var o=function(){N_(n)},a=function(){clearTimeout(n.next),n.next=setTimeout(o)};typeof window<"u"&&(window.addEventListener("mouseup",a),window.addEventListener("keyup",a),window.addEventListener("mousedown",a),window.addEventListener("keydown",a),window.addEventListener("change",a))}return n.patches=r,n.object=e,n.unobserve=function(){N_(n),clearTimeout(n.next),oX(s,n),typeof window<"u"&&(window.removeEventListener("mouseup",a),window.removeEventListener("keyup",a),window.removeEventListener("mousedown",a),window.removeEventListener("keydown",a),window.removeEventListener("change",a))},s.observers.set(t,new nX(t,n)),n}function N_(e,t){t===void 0&&(t=!1);var r=_A.get(e.object);wA(r.value,e.object,e.patches,"",t),e.patches.length&&Ai(r.value,e.patches);var n=e.patches;return n.length>0&&(e.patches=[],e.callback&&e.callback(n)),n}function wA(e,t,r,n,s){if(t!==e){typeof t.toJSON=="function"&&(t=t.toJSON());for(var i=P_(t),o=P_(e),a=!1,c=o.length-1;c>=0;c--){var u=o[c],l=e[u];if(I_(t,u)&&!(t[u]===void 0&&l!==void 0&&Array.isArray(t)===!1)){var f=t[u];typeof l=="object"&&l!=null&&typeof f=="object"&&f!=null&&Array.isArray(l)===Array.isArray(f)?wA(l,f,r,n+"/"+to(u),s):l!==f&&(s&&r.push({op:"test",path:n+"/"+to(u),value:Tn(l)}),r.push({op:"replace",path:n+"/"+to(u),value:Tn(f)}))}else Array.isArray(e)===Array.isArray(t)?(s&&r.push({op:"test",path:n+"/"+to(u),value:Tn(l)}),r.push({op:"remove",path:n+"/"+to(u)}),a=!0):(s&&r.push({op:"test",path:n,value:e}),r.push({op:"replace",path:n,value:t}))}if(!(!a&&i.length==o.length))for(var c=0;c<i.length;c++){var u=i[c];!I_(e,u)&&t[u]!==void 0&&r.push({op:"add",path:n+"/"+to(u),value:Tn(t[u])})}}}function uX(e,t,r){r===void 0&&(r=!1);var n=[];return wA(e,t,n,"",r),n}const lX=Object.freeze(Object.defineProperty({__proto__:null,compare:uX,generate:N_,observe:cX,unobserve:aX},Symbol.toStringTag,{value:"Module"}));Object.assign({},tX,lX,{JsonPatchError:zL,deepClone:Tn,escapePathComponent:to,unescapePathComponent:VL});var NE,FM;function fX(){if(FM)return NE;FM=1;var e=function(b){return t(b)&&!r(b)};function t(E){return!!E&&typeof E=="object"}function r(E){var b=Object.prototype.toString.call(E);return b==="[object RegExp]"||b==="[object Date]"||i(E)}var n=typeof Symbol=="function"&&Symbol.for,s=n?Symbol.for("react.element"):60103;function i(E){return E.$$typeof===s}function o(E){return Array.isArray(E)?[]:{}}function a(E,b){return b.clone!==!1&&b.isMergeableObject(E)?v(o(E),E,b):E}function c(E,b,S){return E.concat(b).map(function(_){return a(_,S)})}function u(E,b){if(!b.customMerge)return v;var S=b.customMerge(E);return typeof S=="function"?S:v}function l(E){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(E).filter(function(b){return Object.propertyIsEnumerable.call(E,b)}):[]}function f(E){return Object.keys(E).concat(l(E))}function d(E,b){try{return b in E}catch{return!1}}function h(E,b){return d(E,b)&&!(Object.hasOwnProperty.call(E,b)&&Object.propertyIsEnumerable.call(E,b))}
52function g(E,b,S){var _={};return S.isMergeableObject(E)&&f(E).forEach(function(x){_[x]=a(E[x],S)}),f(b).forEach(function(x){h(E,x)||(d(E,x)&&S.isMergeableObject(b[x])?_[x]=u(x,S)(E[x],b[x],S):_[x]=a(b[x],S))}),_}function v(E,b,S){S=S||{},S.arrayMerge=S.arrayMerge||c,S.isMergeableObject=S.isMergeableObject||e,S.cloneUnlessOtherwiseSpecified=a;var _=Array.isArray(b),x=Array.isArray(E),A=_===x;return A?_?S.arrayMerge(E,b,S):g(E,b,S):a(b,S)}v.all=function(b,S){if(!Array.isArray(b))throw new Error("first argument should be an array");return b.reduce(function(_,x){return v(_,x,S)},{})};var y=v;return NE=y,NE}var pX=fX();const qM=ut(pX),Wt={add:dX,replace:Wl,remove:mX,merge:gX,mergeDeep:yX,context:vX,getIn:_X,applyPatch:hX,parentPathMatch:SX,flatten:su,fullyNormalizeArray:wX,normalizeArray:HL,isPromise:xX,forEachNew:bX,forEachNewPrimitive:EX,isJsonPatch:YL,isContextPatch:CX,isPatch:Np,isMutation:XL,isAdditiveMutation:lf,isGenerator:OX,isFunction:GL,isObject:uo,isError:AX};function hX(e,t,r){if(r=r||{},t={...t,path:t.path&&BM(t.path)},t.op==="merge"){const n=ME(e,t.path);Object.assign(n,t.value),Ai(e,[Wl(t.path,n)])}else if(t.op==="mergeDeep"){const n=ME(e,t.path),s=qM(n,t.value,{customMerge:i=>{if(i==="enum")return(o,a)=>Array.isArray(o)&&Array.isArray(a)?[...new Set([...o,...a])]:qM(o,a)}});e=Ai(e,[Wl(t.path,s)]).newDocument}else if(t.op==="add"&&t.path===""&&uo(t.value)){const n=Object.keys(t.value).reduce((s,i)=>(s.push({op:"add",path:`/${BM(i)}`,value:t.value[i]}),s),[]);Ai(e,n)}else if(t.op==="replace"&&t.path===""){let{value:n}=t;r.allowMetaPatches&&t.meta&&lf(t)&&(Array.isArray(t.value)||uo(t.value))&&(n={...n,...t.meta}),e=n}else if(Ai(e,[t]),r.allowMetaPatches&&t.meta&&lf(t)&&(Array.isArray(t.value)||uo(t.value))){const s={...ME(e,t.path),...t.meta};Ai(e,[Wl(t.path,s)])}return e}function BM(e){return Array.isArray(e)?e.length<1?"":`/${e.map(t=>(t+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/")}`:e}function dX(e,t){return{op:"add",path:e,value:t}}function Wl(e,t,r){return{op:"replace",path:e,value:t,meta:r}}function mX(e){return{op:"remove",path:e}}function gX(e,t){return{type:"mutation",op:"merge",path:e,value:t}}function yX(e,t){return{type:"mutation",op:"mergeDeep",path:e,value:t}}function vX(e,t){return{type:"context",path:e,value:t}}function bX(e,t){try{return JL(e,D_,t)}catch(r){return r}}function EX(e,t){try{return JL(e,M_,t)}catch(r){return r}}function JL(e,t,r){const n=e.filter(lf).map(o=>t(o.value,r,o.path))||[],s=su(n);return KL(s)}function M_(e,t,r){return r=r||[],Array.isArray(e)?e.map((n,s)=>M_(n,t,r.concat(s))):uo(e)?Object.keys(e).map(n=>M_(e[n],t,r.concat(n))):t(e,r[r.length-1],r)}function D_(e,t,r){r=r||[];let n=[];if(r.length>0){const s=t(e,r[r.length-1],r);s&&(n=n.concat(s))}if(Array.isArray(e)){const s=e.map((i,o)=>D_(i,t,r.concat(o)));s&&(n=n.concat(s))}else if(uo(e)){const s=Object.keys(e).map(i=>D_(e[i],t,r.concat(i)));s&&(n=n.concat(s))}return n=su(n),n}function SX(e,t){if(!Array.isArray(t))return!1;for(let r=0,n=t.length;r<n;r+=1)if(t[r]!==e[r])return!1;return!0}function _X(e,t){return t.reduce((r,n)=>typeof n<"u"&&r?r[n]:r,e)}function wX(e){return KL(su(HL(e)))}function HL(e){return Array.isArray(e)?e:[e]}function su(e){return[].concat(...e.map(t=>Array.isArray(t)?su(t):t))}function KL(e){return e.filter(t=>typeof t<"u")}function uo(e){return e&&typeof e=="object"}function xX(e){return uo(e)&&GL(e.then)}function GL(e){return e&&typeof e=="function"}function AX(e){return e instanceof Error}function YL(e){if(Np(e)){const{op:t}=e;return t==="add"||t==="remove"||t==="replace"}return!1}function OX(e){return Object.prototype.toString.call(e)==="[object GeneratorFunction]"}function XL(e){return YL(e)||Np(e)&&e.type==="mutation"}function lf(e){return XL(e)&&(e.op==="add"||e.op==="replace"||e.op==="merge"||e.op==="mergeDeep")}function CX(e){return Np(e)&&e.type==="context"}function Np(e){return e&&typeof e=="object"}function ME(e,t){try{return Ec(e,t)}catch(r){return console.error(r),{}}}var LM={},UM={},VM={},DE,zM;function xA(){if(zM)return DE;zM=1;var e=fL(),t=pL(),r=e("keys");return DE=function(n){return r[n]||(r[n]=t(n))},DE}var $E,WM;function RX(){if(WM)return $E;WM=1;var e=kn();return $E=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),$E}var FE,JM;function AA(){if(JM)return FE;JM=1;var e=ps(),t=Nn(),r=hA(),n=xA(),s=RX(),i=n("IE_PROTO"),o=Object,a=o.prototype;return FE=s?o.getPrototypeOf:function(c){var u=r(c);if(e(u,i))return u[i];var l=u.constructor;return t(l)&&u instanceof l?l.prototype:u instanceof o?a:null},FE}var qE,HM;
52function TX(){if(HM)return qE;HM=1;var e=gn(),t=tu();return qE=function(r,n,s){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[s]))}catch{}},qE}var BE,KM;function IX(){if(KM)return BE;KM=1;var e=Zn();return BE=function(t){return e(t)||t===null},BE}var LE,GM;function PX(){if(GM)return LE;GM=1;var e=IX(),t=String,r=TypeError;return LE=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},LE}var UE,YM;function Mp(){if(YM)return UE;YM=1;var e=TX(),t=Zn(),r=Xc(),n=PX();return UE=Object.setPrototypeOf||("__proto__"in{}?(function(){var s=!1,i={},o;try{o=e(Object.prototype,"__proto__","set"),o(i,[]),s=i instanceof Array}catch{}return function(c,u){return r(c),n(u),t(c)&&(s?o(c,u):c.__proto__=u),c}})():void 0),UE}var VE={},XM;function jX(){if(XM)return VE;XM=1;var e=SL(),t=gA(),r=t.concat("length","prototype");return VE.f=Object.getOwnPropertyNames||function(s){return e(s,r)},VE}var zE,ZM;function kX(){if(ZM)return zE;ZM=1;var e=eu(),t=gn(),r=jX(),n=wL(),s=wo(),i=t([].concat);return zE=e("Reflect","ownKeys")||function(a){var c=r.f(s(a)),u=n.f;return u?i(c,u(a)):c},zE}var WE,QM;function ZL(){if(QM)return WE;QM=1;var e=ps(),t=kX(),r=gL(),n=Ca();return WE=function(s,i,o){for(var a=t(i),c=n.f,u=r.f,l=0;l<a.length;l++){var f=a[l];!e(s,f)&&!(o&&e(o,f))&&c(s,f,u(i,f))}},WE}var JE={},eD;function NX(){if(eD)return JE;eD=1;var e=Ds(),t=vL(),r=Ca(),n=wo(),s=Zc(),i=_L();return JE.f=e&&!t?Object.defineProperties:function(a,c){n(a);for(var u=s(c),l=i(c),f=l.length,d=0,h;f>d;)r.f(a,h=l[d++],u[h]);return a},JE}var HE,tD;function MX(){if(tD)return HE;tD=1;var e=eu();return HE=e("document","documentElement"),HE}var KE,rD;function OA(){if(rD)return KE;rD=1;var e=wo(),t=NX(),r=gA(),n=mA(),s=MX(),i=dL(),o=xA(),a=">",c="<",u="prototype",l="script",f=o("IE_PROTO"),d=function(){},h=function(b){return c+l+a+b+c+"/"+l+a},g=function(b){b.write(h("")),b.close();var S=b.parentWindow.Object;return b=null,S},v=function(){var b=i("iframe"),S="java"+l+":",_;return b.style.display="none",s.appendChild(b),b.src=String(S),_=b.contentWindow.document,_.open(),_.write(h("document.F=Object")),_.close(),_.F},y,E=function(){try{y=new ActiveXObject("htmlfile")}catch{}E=typeof document<"u"?document.domain&&y?g(y):v():g(y);for(var b=r.length;b--;)delete E[u][r[b]];return E()};return n[f]=!0,KE=Object.create||function(S,_){var x;return S!==null?(d[u]=e(S),x=new d,d[u]=null,x[f]=S):x=E(),_===void 0?x:t.f(x,_)},KE}var GE,nD;function QL(){if(nD)return GE;nD=1;var e=Zn(),t=oi();return GE=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},GE}var YE,sD;function DX(){if(sD)return YE;sD=1;var e=gn(),t=Error,r=e("".replace),n=(function(o){return String(new t(o).stack)})("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,i=s.test(n);return YE=function(o,a){if(i&&typeof o=="string"&&!t.prepareStackTrace)for(;a--;)o=r(o,s,"");return o},YE}var XE,iD;function $X(){if(iD)return XE;iD=1;var e=kn(),t=Yc();return XE=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),XE}var ZE,oD;
52function e6(){if(oD)return ZE;oD=1;var e=oi(),t=DX(),r=$X(),n=Error.captureStackTrace;return ZE=function(s,i,o,a){r&&(n?n(s,i):e(s,"stack",t(o,a)))},ZE}var QE,aD;function Ra(){return aD||(aD=1,QE={}),QE}var eS,cD;function FX(){if(cD)return eS;cD=1;var e=hs(),t=Ra(),r=e("iterator"),n=Array.prototype;return eS=function(s){return s!==void 0&&(t.Array===s||n[r]===s)},eS}var tS,uD;function CA(){if(uD)return tS;uD=1;var e=hs(),t=e("toStringTag"),r={};return r[t]="z",tS=String(r)==="[object z]",tS}var rS,lD;function RA(){if(lD)return rS;lD=1;var e=CA(),t=Nn(),r=Ip(),n=hs(),s=n("toStringTag"),i=Object,o=r((function(){return arguments})())==="Arguments",a=function(c,u){try{return c[u]}catch{}};return rS=e?r:function(c){var u,l,f;return c===void 0?"Undefined":c===null?"Null":typeof(l=a(u=i(c),s))=="string"?l:o?r(u):(f=r(u))==="Object"&&t(u.callee)?"Arguments":f},rS}var nS,fD;function t6(){if(fD)return nS;fD=1;var e=RA(),t=pA(),r=lA(),n=Ra(),s=hs(),i=s("iterator");return nS=function(o){if(!r(o))return t(o,i)||t(o,"@@iterator")||n[e(o)]},nS}var sS,pD;function qX(){if(pD)return sS;pD=1;var e=Mi(),t=tu(),r=wo(),n=fA(),s=t6(),i=TypeError;return sS=function(o,a){var c=arguments.length<2?s(o):a;if(t(c))return r(e(c,o));throw new i(n(o)+" is not iterable")},sS}var iS,hD;function BX(){if(hD)return iS;hD=1;var e=Mi(),t=wo(),r=pA();return iS=function(n,s,i){var o,a;t(n);try{if(o=r(n,"return"),!o){if(s==="throw")throw i;return i}o=e(o,n)}catch(c){a=!0,o=c}if(s==="throw")throw i;if(a)throw o;return t(o),i},iS}var oS,dD;function LX(){if(dD)return oS;dD=1;var e=yL(),t=Mi(),r=wo(),n=fA(),s=FX(),i=bL(),o=Oa(),a=qX(),c=t6(),u=BX(),l=TypeError,f=function(h,g){this.stopped=h,this.result=g},d=f.prototype;return oS=function(h,g,v){var y=v&&v.that,E=!!(v&&v.AS_ENTRIES),b=!!(v&&v.IS_RECORD),S=!!(v&&v.IS_ITERATOR),_=!!(v&&v.INTERRUPTED),x=e(g,y),A,O,I,R,$,M,q,N=function(J){var ee=A;return A=void 0,ee&&u(ee,"normal"),new f(!0,J)},U=function(J){return E?(r(J),_?x(J[0],J[1],N):x(J[0],J[1])):_?x(J,N):x(J)};if(b)A=h.iterator;else if(S)A=h;else{if(O=c(h),!O)throw new l(n(h)+" is not iterable");if(s(O)){for(I=0,R=i(h);R>I;I++)if($=U(h[I]),$&&o(d,$))return $;return new f(!1)}A=a(h,O)}for(M=b?h.next:A.next;!(q=t(M,A)).done;){var X=q.value;try{$=U(X)}catch(J){if(A)u(A,"throw",J);else throw J}if(typeof $=="object"&&$&&o(d,$))return $}return new f(!1)},oS}var aS,mD;function Dp(){if(mD)return aS;mD=1;var e=RA(),t=String;return aS=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},aS}var cS,gD;function r6(){if(gD)return cS;gD=1;var e=Dp();return cS=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},cS}var yD;function UX(){if(yD)return VM;yD=1;var e=Di(),t=Oa(),r=AA(),n=Mp(),s=ZL(),i=OA(),o=oi(),a=Yc(),c=QL(),u=e6(),l=LX(),f=r6(),d=hs(),h=d("toStringTag"),g=Error,v=[].push,y=function(S,_){var x=t(E,this),A;n?A=n(new g,x?r(this):E):(A=x?this:i(E),o(A,h,"Error")),_!==void 0&&o(A,"message",f(_)),u(A,y,A.stack,1),arguments.length>2&&c(A,arguments[2]);var O=[];return l(S,v,{that:O}),o(A,"errors",O),A};n?n(y,g):s(y,g,{name:!0});var E=y.prototype=i(g.prototype,{constructor:a(1,y),message:a(1,""),name:a(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:y}),VM}var vD;function n6(){return vD||(vD=1,UX()),UM}var bD;function s6(){return bD||(bD=1,n6()),LM}var ED={},uS,SD;function VX(){if(SD)return uS;SD=1;var e=Ca().f;return uS=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(s){r[n]=s}})},uS}var lS,_D;function zX(){if(_D)return lS;_D=1;var e=Nn(),t=Zn(),r=Mp();return lS=function(n,s,i){var o,a;return r&&e(o=s.constructor)&&o!==i&&t(a=o.prototype)&&a!==i.prototype&&r(n,a),n},lS}var fS,wD;function i6(){if(wD)return fS;wD=1;var e=eu(),t=ps(),r=oi(),n=Oa(),s=Mp(),i=ZL(),o=VX(),a=zX(),c=r6(),u=QL(),l=e6(),f=Ds(),d=ru();return fS=function(h,g,v,y){var E="stackTraceLimit",b=y?2:1,S=h.split("."),_=S[S.length-1],x=e.apply(null,S);if(x){var A=x.prototype;if(!d&&t(A,"cause")&&delete A.cause,!v)return x;var O=e("Error"),I=g(function(R,$){var M=c(y?$:R,void 0),q=y?new x(R):new x;return M!==void 0&&r(q,"message",M),l(q,I,q.stack,2),this&&n(A,this)&&a(q,this,I),arguments.length>b&&u(q,arguments[b]),q});if(I.prototype=A,_!=="Error"?s?s(I,O):i(I,O,{name:!0}):f&&E in x&&(o(I,x,E),o(I,x,"prepareStackTrace")),i(I,x),!d)try{A.name!==_&&r(A,"name",_),A.constructor=I}catch{}return I}},fS}var xD;function WX(){if(xD)return ED;xD=1;var e=Di(),t=wn(),r=uA(),n=i6(),s="WebAssembly",i=t[s],o=new Error("e",{cause:7}).cause!==7,a=function(u,l){var f={};f[u]=n(u,l,o),e({global:!0,constructor:!0,arity:1,forced:o},f)},c=function(u,l){if(i&&i[u]){var f={};f[u]=n(s+"."+u,l,o),e({target:s,stat:!0,constructor:!0,arity:1,forced:o},f)}};return a("Error",function(u){return function(f){return r(u,this,arguments)}}),a("EvalError",function(u){return function(f){return r(u,this,arguments)}}),a("RangeError",function(u){return function(f){return r(u,this,arguments)}}),a("ReferenceError",function(u){return function(f){return r(u,this,arguments)}}),a("SyntaxError",function(u){return function(f){return r(u,this,arguments)}}),a("TypeError",function(u){return function(f){return r(u,this,arguments)}}),a("URIError",function(u){return function(f){return r(u,this,arguments)}}),c("CompileError",function(u){return function(f){return r(u,this,arguments)}}),c("LinkError",function(u){return function(f){return r(u,this,arguments)}}),c("RuntimeError",function(u){return function(f){return r(u,this,arguments)}}),ED}var AD={},OD;function JX(){if(OD)return AD;OD=1;var e=Di(),t=eu(),r=uA(),n=kn(),s=i6(),i="AggregateError",o=t(i),a=!n(function(){return o([1]).errors[0]!==1})&&n(function(){return o([1],i,{cause:7}).cause!==7});return e({global:!0,constructor:!0,arity:2,forced:a},{AggregateError:s(i,function(c){return function(l,f){return r(c,this,arguments)}},a,!0)}),AD}var pS,CD;function o6(){return CD||(CD=1,pS=function(){}),pS}var hS,RD;function HX(){if(RD)return hS;RD=1;var e=wn(),t=Nn(),r=e.WeakMap;return hS=t(r)&&/native code/.test(String(r)),hS}var dS,TD;function a6(){if(TD)return dS;TD=1;var e=HX(),t=wn(),r=Zn(),n=oi(),s=ps(),i=lL(),o=xA(),a=mA(),c="Object already initialized",u=t.TypeError,l=t.WeakMap,f,d,h,g=function(b){return h(b)?d(b):f(b,{})},v=function(b){return function(S){var _;if(!r(S)||(_=d(S)).type!==b)throw new u("Incompatible receiver, "+b+" required");return _}};if(e||i.state){var y=i.state||(i.state=new l);y.get=y.get,y.has=y.has,y.set=y.set,f=function(b,S){if(y.has(b))throw new u(c);return S.facade=b,y.set(b,S),S},d=function(b){return y.get(b)||{}},h=function(b){return y.has(b)}}else{var E=o("state");a[E]=!0,f=function(b,S){if(s(b,E))throw new u(c);return S.facade=b,n(b,E,S),S},d=function(b){return s(b,E)?b[E]:{}},h=function(b){return s(b,E)}}return dS={set:f,get:d,has:h,enforce:g,getterFor:v},dS}var mS,ID;function KX(){if(ID)return mS;ID=1;var e=Ds(),t=ps(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,s=t(r,"name"),i=s&&(function(){}).name==="something",o=s&&(!e||e&&n(r,"name").configurable);return mS={EXISTS:s,PROPER:i,CONFIGURABLE:o},mS}var gS,PD;function c6(){if(PD)return gS;PD=1;var e=oi();return gS=function(t,r,n,s){return s&&s.enumerable?t[r]=n:e(t,r,n),t},gS}var yS,jD;function u6(){if(jD)return yS;jD=1;var e=kn(),t=Nn(),r=Zn(),n=OA(),s=AA(),i=c6(),o=hs(),a=ru(),c=o("iterator"),u=!1,l,f,d;[].keys&&(d=[].keys(),"next"in d?(f=s(s(d)),f!==Object.prototype&&(l=f)):u=!0);var h=!r(l)||e(function(){var g={};return l[c].call(g)!==g});return h?l={}:a&&(l=n(l)),t(l[c])||i(l,c,function(){return this}),yS={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:u},yS}var vS,kD;function GX(){if(kD)return vS;kD=1;var e=CA(),t=RA();return vS=e?{}.toString:function(){return"[object "+t(this)+"]"},vS}var bS,ND;function TA(){if(ND)return bS;ND=1;var e=CA(),t=Ca().f,r=oi(),n=ps(),s=GX(),i=hs(),o=i("toStringTag");return bS=function(a,c,u,l){var f=u?a:a&&a.prototype;f&&(n(f,o)||t(f,o,{configurable:!0,value:c}),l&&!e&&r(f,"toString",s))},bS}var ES,MD;function YX(){if(MD)return ES;MD=1;
52var e=u6().IteratorPrototype,t=OA(),r=Yc(),n=TA(),s=Ra(),i=function(){return this};return ES=function(o,a,c,u){var l=a+" Iterator";return o.prototype=t(e,{next:r(+!u,c)}),n(o,l,!1,!0),s[l]=i,o},ES}var SS,DD;function l6(){if(DD)return SS;DD=1;var e=Di(),t=Mi(),r=ru(),n=KX(),s=Nn(),i=YX(),o=AA(),a=Mp(),c=TA(),u=oi(),l=c6(),f=hs(),d=Ra(),h=u6(),g=n.PROPER,v=n.CONFIGURABLE,y=h.IteratorPrototype,E=h.BUGGY_SAFARI_ITERATORS,b=f("iterator"),S="keys",_="values",x="entries",A=function(){return this};return SS=function(O,I,R,$,M,q,N){i(R,I,$);var U=function(de){if(de===M&&re)return re;if(!E&&de&&de in ee)return ee[de];switch(de){case S:return function(){return new R(this,de)};case _:return function(){return new R(this,de)};case x:return function(){return new R(this,de)}}return function(){return new R(this)}},X=I+" Iterator",J=!1,ee=O.prototype,ne=ee[b]||ee["@@iterator"]||M&&ee[M],re=!E&&ne||U(M),Y=I==="Array"&&ee.entries||ne,ie,ce,ge;if(Y&&(ie=o(Y.call(new O)),ie!==Object.prototype&&ie.next&&(!r&&o(ie)!==y&&(a?a(ie,y):s(ie[b])||l(ie,b,A)),c(ie,X,!0,!0),r&&(d[X]=A))),g&&M===_&&ne&&ne.name!==_&&(!r&&v?u(ee,"name",_):(J=!0,re=function(){return t(ne,this)})),M)if(ce={values:U(_),keys:q?re:U(S),entries:U(x)},N)for(ge in ce)(E||J||!(ge in ee))&&l(ee,ge,ce[ge]);else e({target:I,proto:!0,forced:E||J},ce);return(!r||N)&&ee[b]!==re&&l(ee,b,re,{name:M}),d[I]=re,ce},SS}var _S,$D;function f6(){return $D||($D=1,_S=function(e,t){return{value:e,done:t}}),_S}var wS,FD;function p6(){if(FD)return wS;FD=1;var e=Zc(),t=o6(),r=Ra(),n=a6(),s=Ca().f,i=l6(),o=f6(),a=ru(),c=Ds(),u="Array Iterator",l=n.set,f=n.getterFor(u);wS=i(Array,"Array",function(h,g){l(this,{type:u,target:e(h),index:0,kind:g})},function(){var h=f(this),g=h.target,v=h.index++;if(!g||v>=g.length)return h.target=null,o(void 0,!0);switch(h.kind){case"keys":return o(v,!1);case"values":return o(g[v],!1)}return o([v,g[v]],!1)},"values");var d=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!a&&c&&d.name!=="values")try{s(d,"name",{value:"values"})}catch{}return wS}var qD={},xS,BD;function XX(){if(BD)return xS;BD=1;var e=gn(),t=dA(),r=Dp(),n=Xc(),s=e("".charAt),i=e("".charCodeAt),o=e("".slice),a=function(c){return function(u,l){var f=r(n(u)),d=t(l),h=f.length,g,v;return d<0||d>=h?c?"":void 0:(g=i(f,d),g<55296||g>56319||d+1===h||(v=i(f,d+1))<56320||v>57343?c?s(f,d):g:c?o(f,d,d+2):(g-55296<<10)+(v-56320)+65536)}};return xS={codeAt:a(!1),charAt:a(!0)},xS}var LD;function ZX(){if(LD)return qD;LD=1;var e=XX().charAt,t=Dp(),r=a6(),n=l6(),s=f6(),i="String Iterator",o=r.set,a=r.getterFor(i);return n(String,"String",function(c){o(this,{type:i,string:t(c),index:0})},function(){var u=a(this),l=u.string,f=u.index,d;return f>=l.length?s(void 0,!0):(d=e(l,f),u.index+=d.length,s(d,!1))}),qD}var AS,UD;function QX(){if(UD)return AS;UD=1,WX(),n6(),JX(),p6(),ZX();var e=Qc();return AS=e.AggregateError,AS}var VD={},OS,zD;function eZ(){return zD||(zD=1,OS={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}),OS}var WD;function tZ(){if(WD)return VD;WD=1,p6();var e=eZ(),t=wn(),r=TA(),n=Ra();for(var s in e)r(t[s],s),n[s]=n.Array;return VD}var CS,JD;function rZ(){if(JD)return CS;JD=1,s6();var e=QX();return tZ(),CS=e,CS}var RS,HD;function nZ(){if(HD)return RS;HD=1;var e=rZ();return RS=e,RS}var TS,KD;function sZ(){if(KD)return TS;KD=1,s6();var e=nZ();return TS=e,TS}var IS,GD;function iZ(){return GD||(GD=1,IS=sZ()),IS}var PS,YD;function oZ(){return YD||(YD=1,PS=iZ()),PS}var aZ=oZ();const cZ=ut(aZ);class uZ extends cZ{constructor(t,r,n){if(super(t,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:s}=n;
52this.cause=s,s instanceof Error&&"stack"in s&&(this.stack=`${this.stack} 53CAUSE: ${s.stack}`)}}}class cr extends Error{static[Symbol.hasInstance](t){return super[Symbol.hasInstance](t)||Function.prototype[Symbol.hasInstance].call(uZ,t)}constructor(t,r){if(super(t,r),this.name=this.constructor.name,typeof t=="string"&&(this.message=t),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).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} 54CAUSE: ${n.stack}`)}}}class js extends cr{constructor(t,r){if(super(t,r),r!=null&&typeof r=="object"){const{cause:n,...s}=r;Object.assign(this,s)}}}class It extends cr{}class jS extends It{}var IA=function(){return!1},ai=function(){return!0};function er(e){return e!=null&&typeof e=="object"&&e["@@functional/placeholder"]===!0}function Jt(e){return function t(r){return arguments.length===0||er(r)?t:e.apply(this,arguments)}}function yt(e){return function t(r,n){switch(arguments.length){case 0:return t;case 1:return er(r)?t:Jt(function(s){return e(r,s)});default:return er(r)&&er(n)?t:er(r)?Jt(function(s){return e(s,n)}):er(n)?Jt(function(s){return e(r,s)}):e(r,n)}}}function lZ(e,t){e=e||[],t=t||[];var r,n=e.length,s=t.length,i=[];for(r=0;r<n;)i[i.length]=e[r],r+=1;for(r=0;r<s;)i[i.length]=t[r],r+=1;return i}function $p(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(r){return t.apply(this,arguments)};case 2:return function(r,n){return t.apply(this,arguments)};case 3:return function(r,n,s){return t.apply(this,arguments)};case 4:return function(r,n,s,i){return t.apply(this,arguments)};case 5:return function(r,n,s,i,o){return t.apply(this,arguments)};case 6:return function(r,n,s,i,o,a){return t.apply(this,arguments)};case 7:return function(r,n,s,i,o,a,c){return t.apply(this,arguments)};case 8:return function(r,n,s,i,o,a,c,u){return t.apply(this,arguments)};case 9:return function(r,n,s,i,o,a,c,u,l){return t.apply(this,arguments)};case 10:return function(r,n,s,i,o,a,c,u,l,f){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function PA(e,t,r){return function(){for(var n=[],s=0,i=e,o=0,a=!1;o<t.length||s<arguments.length;){var c;o<t.length&&(!er(t[o])||s>=arguments.length)?c=t[o]:(c=arguments[s],s+=1),n[o]=c,er(c)?a=!0:i-=1,o+=1}return!a&&i<=0?r.apply(this,n):$p(Math.max(0,i),PA(e,n,r))}}var _r=yt(function(t,r){return t===1?Jt(r):$p(t,PA(t,[],r))});function rn(e){return function t(r,n,s){switch(arguments.length){case 0:return t;case 1:return er(r)?t:yt(function(i,o){return e(r,i,o)});case 2:return er(r)&&er(n)?t:er(r)?yt(function(i,o){return e(i,n,o)}):er(n)?yt(function(i,o){return e(r,i,o)}):Jt(function(i){return e(r,n,i)});default:return er(r)&&er(n)&&er(s)?t:er(r)&&er(n)?yt(function(i,o){return e(i,o,s)}):er(r)&&er(s)?yt(function(i,o){return e(i,n,o)}):er(n)&&er(s)?yt(function(i,o){return e(r,i,o)}):er(r)?Jt(function(i){return e(i,n,s)}):er(n)?Jt(function(i){return e(r,i,s)}):er(s)?Jt(function(i){return e(r,n,i)}):e(r,n,s)}}}const xo=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function fZ(e){return e!=null&&typeof e["@@transducer/step"]=="function"}function $i(e,t,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!xo(n)){for(var s=0;s<e.length;){if(typeof n[e[s]]=="function")return n[e[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(fZ(n)){var i=t.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(n)}}return r.apply(this,arguments)}}function Fp(e){return e&&e["@@transducer/reduced"]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}const Pn={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}};var pZ=(function(){function e(t,r){this.xf=r,this.f=t,this.all=!0}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=function(t){return this.all&&(t=this.xf["@@transducer/step"](t,!0)),this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)||(this.all=!1,t=Fp(this.xf["@@transducer/step"](t,!1))),t},e})();function hZ(e){return function(t){return new pZ(e,t)}}var jA=yt($i(["all"],hZ,function(t,r){for(var n=0;n<r.length;){if(!t(r[n]))return!1;n+=1}return!0}));function XD(e){for(var t=[],r;!(r=e.next()).done;)t.push(r.value);return t}function ff(e,t,r){for(var n=0,s=r.length;n<s;){if(e(t,r[n]))return!0;n+=1}return!1}function dZ(e){var t=String(e).match(/^function (\w*)/);return t==null?"":t[1]}function Jn(e,t){return Object.prototype.hasOwnProperty.call(t,e)}function mZ(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t}const lc=typeof Object.is=="function"?Object.is:mZ;var ZD=Object.prototype.toString,h6=(function(){return ZD.call(arguments)==="[object Arguments]"?function(t){return ZD.call(t)==="[object Arguments]"}:function(t){return Jn("callee",t)}})(),gZ=!{toString:null}.propertyIsEnumerable("toString"),QD=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleStr
54ing"],e3=(function(){return arguments.propertyIsEnumerable("length")})(),yZ=function(t,r){for(var n=0;n<t.length;){if(t[n]===r)return!0;n+=1}return!1},ho=Jt(typeof Object.keys=="function"&&!e3?function(t){return Object(t)!==t?[]:Object.keys(t)}:function(t){if(Object(t)!==t)return[];var r,n,s=[],i=e3&&h6(t);for(r in t)Jn(r,t)&&(!i||r!=="length")&&(s[s.length]=r);if(gZ)for(n=QD.length-1;n>=0;)r=QD[n],Jn(r,t)&&!yZ(s,r)&&(s[s.length]=r),n-=1;return s}),ls=Jt(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function t3(e,t,r,n){var s=XD(e),i=XD(t);function o(a,c){return kA(a,c,r.slice(),n.slice())}return!ff(function(a,c){return!ff(o,c,a)},i,s)}function kA(e,t,r,n){if(lc(e,t))return!0;var s=ls(e);if(s!==ls(t))return!1;if(typeof e["fantasy-land/equals"]=="function"||typeof t["fantasy-land/equals"]=="function")return typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t)&&typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e);if(typeof e.equals=="function"||typeof t.equals=="function")return typeof e.equals=="function"&&e.equals(t)&&typeof t.equals=="function"&&t.equals(e);switch(s){case"Arguments":case"Array":case"Object":if(typeof e.constructor=="function"&&dZ(e.constructor)==="Promise")return e===t;break;case"Boolean":case"Number":case"String":if(!(typeof e==typeof t&&lc(e.valueOf(),t.valueOf())))return!1;break;case"Date":if(!lc(e.valueOf(),t.valueOf()))return!1;break;case"Error":return e.name===t.name&&e.message===t.message;case"RegExp":if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var i=r.length-1;i>=0;){if(r[i]===e)return n[i]===t;i-=1}switch(s){case"Map":return e.size!==t.size?!1:t3(e.entries(),t.entries(),r.concat([e]),n.concat([t]));case"Set":return e.size!==t.size?!1:t3(e.values(),t.values(),r.concat([e]),n.concat([t]));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 o=ho(e);if(o.length!==ho(t).length)return!1;var a=r.concat([e]),c=n.concat([t]);for(i=o.length-1;i>=0;){var u=o[i];if(!(Jn(u,t)&&kA(t[u],e[u],a,c)))return!1;i-=1}return!0}var Fi=yt(function(t,r){return kA(t,r,[],[])});function vZ(e,t,r){var n,s;if(typeof e.indexOf=="function")switch(typeof t){case"number":if(t===0){for(n=1/t;r<e.length;){if(s=e[r],s===0&&1/s===n)return r;r+=1}return-1}else if(t!==t){for(;r<e.length;){if(s=e[r],typeof s=="number"&&s!==s)return r;r+=1}return-1}return e.indexOf(t,r);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,r);case"object":if(t===null)return e.indexOf(t,r)}for(;r<e.length;){if(Fi(e[r],t))return r;r+=1}return-1}function pf(e,t){return vZ(t,e,0)>=0}function Jl(e,t){for(var r=0,n=t.length,s=Array(n);r<n;)s[r]=e(t[r]),r+=1;return s}function kS(e){var t=e.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");return'"'+t.replace(/"/g,'\\"')+'"'}var Ga=function(t){return(t<10?"0":"")+t},bZ=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Ga(t.getUTCMonth()+1)+"-"+Ga(t.getUTCDate())+"T"+Ga(t.getUTCHours())+":"+Ga(t.getUTCMinutes())+":"+Ga(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function d6(e){return function(){return!e.apply(this,arguments)}}function iu(e,t,r){for(var n=0,s=r.length;n<s;)t=e(t,r[n]),n+=1;return t}function EZ(e,t){for(var r=0,n=t.length,s=[];r<n;)e(t[r])&&(s[s.length]=t[r]),r+=1;return s}function hf(e){return Object.prototype.toString.call(e)==="[object Object]"}var SZ=(function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=Pn.result,e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.xf["@@transducer/step"](t,r):t},e})();function _Z(e){return function(t){return new SZ(e,t)}}var wZ=yt($i(["fantasy-land/filter","filter"],_Z,function(e,t){return hf(t)?iu(function(r,n){return e(t[n])&&(r[n]=t[n]),r},{},ho(t)):EZ(e,t)})),xZ=yt(function(t,r){return wZ(d6(t),r)});function m6(e,t){var r=function(o){var a=t.concat([e]);return pf(o,a)?"<Circular>":m6(o,a)},n=function(i,o){return Jl(function(a){return kS(a)+": "+r(i[a])},o.slice().sort())};switch(Object.prototype.toString.call(e)){case"[object Arguments]":return"(function() { return arguments; }("+Jl(r,e).join(", ")+"))";case"[object Array]":return"["+Jl(r,e).concat(n(e,xZ(function(i){return/^\d+$/.test(i)},ho(e)))).join(", ")+"]";case"[object Boolean]":return typeof e=="object"?"new Boolean("+r(e.valueOf())+")":e.toString();case"[object Date]":return"new Date("+(isNaN(e.valueOf())?r(NaN):kS(bZ(e)))+")";case"[object Map]":return"new Map("+r(Array.from(e))+")";case"[object Null]":return"null";case"[object Number]":return typeof e=="object"?"new Number("+r(e.valueOf())+")":1/e===-1/0?"-0":e.toString(10);case"[object Set]":return"new Set("+r(Array.from(e).sort())+")";case"[object String]":return typeof e=="object"?"new String("+r(e.valueOf())+")":kS(e);
54case"[object Undefined]":return"undefined";default:if(typeof e.toString=="function"){var s=e.toString();if(s!=="[object Object]")return s}return"{"+n(e,ho(e)).join(", ")+"}"}}var _c=Jt(function(t){return m6(t,[])}),g6=yt(function(t,r){if(t===r)return r;function n(c,u){if(c>u!=u>c)return u>c?u:c}var s=n(t,r);if(s!==void 0)return s;var i=n(typeof t,typeof r);if(i!==void 0)return i===typeof t?t:r;var o=_c(t),a=n(o,_c(r));return a!==void 0&&a===o?t:r}),AZ=(function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=Pn.result,e.prototype["@@transducer/step"]=function(t,r){return this.xf["@@transducer/step"](t,this.f(r))},e})(),OZ=function(t){return function(r){return new AZ(t,r)}},qp=yt($i(["fantasy-land/map","map"],OZ,function(t,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return _r(r.length,function(){return t.call(this,r.apply(this,arguments))});case"[object Object]":return iu(function(n,s){return n[s]=t(r[s]),n},{},ho(r));default:return Jl(t,r)}}));const Ta=Number.isInteger||function(t){return t<<0===t};function NA(e){return Object.prototype.toString.call(e)==="[object String]"}function Bp(e,t){var r=e<0?t.length+e:e;return NA(t)?t.charAt(r):t[r]}var ou=yt(function(t,r){if(r!=null)return Ta(t)?Bp(t,r):r[t]}),y6=yt(function(t,r){return qp(ou(t),r)}),CZ=Jt(function(t){return xo(t)?!0:!t||typeof t!="object"||NA(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),r3=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function v6(e,t,r){return function(s,i,o){if(CZ(o))return e(s,i,o);if(o==null)return i;if(typeof o["fantasy-land/reduce"]=="function")return t(s,i,o,"fantasy-land/reduce");if(o[r3]!=null)return r(s,i,o[r3]());if(typeof o.next=="function")return r(s,i,o);if(typeof o.reduce=="function")return t(s,i,o,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function RZ(e,t,r){for(var n=0,s=r.length;n<s;){if(t=e["@@transducer/step"](t,r[n]),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n+=1}return e["@@transducer/result"](t)}var b6=yt(function(t,r){return $p(t.length,function(){return t.apply(r,arguments)})});function TZ(e,t,r){for(var n=r.next();!n.done;){if(t=e["@@transducer/step"](t,n.value),t&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}n=r.next()}return e["@@transducer/result"](t)}function IZ(e,t,r,n){return e["@@transducer/result"](r[n](b6(e["@@transducer/step"],e),t))}var MA=v6(RZ,IZ,TZ),PZ=(function(){function e(t){this.f=t}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(t){return t},e.prototype["@@transducer/step"]=function(t,r){return this.f(t,r)},e})();function E6(e){return new PZ(e)}var Ia=rn(function(e,t,r){return MA(typeof e=="function"?E6(e):e,t,r)}),jZ=Jt(function(t){return _r(Ia(g6,0,y6("length",t)),function(){for(var r=0,n=t.length;r<n;){if(!t[r].apply(this,arguments))return!1;r+=1}return!0})}),lt=Jt(function(t){return function(){return t}}),kZ=yt(function(t,r){return t&&r}),NZ=Jt(function(t){return _r(Ia(g6,0,y6("length",t)),function(){for(var r=0,n=t.length;r<n;){if(t[r].apply(this,arguments))return!0;r+=1}return!1})});function MZ(e,t,r){for(var n=r.next();!n.done;)t=e(t,n.value),n=r.next();return t}function DZ(e,t,r,n){return r[n](e,t)}var $Z=v6(iu,DZ,MZ),FZ=yt(function(t,r){return typeof r["fantasy-land/ap"]=="function"?r["fantasy-land/ap"](t):typeof t.ap=="function"?t.ap(r):typeof t=="function"?function(n){return t(n)(r(n))}:$Z(function(n,s){return lZ(n,qp(s,r))},[],t)}),qZ=yt(function(t,r){return t.apply(this,r)}),DA=Jt(function(t){return _r(t.length,t)});function BZ(e,t,r){if(Ta(e)&&xo(r)){var n=[].concat(r);return n[e]=t,n}var s={};for(var i in r)s[i]=r[i];return s[e]=t,s}var df=Jt(function(t){return t==null}),Le=rn(function e(t,r,n){if(t.length===0)return r;var s=t[0];if(t.length>1){var i=!df(n)&&Jn(s,n)&&typeof n[s]=="object"?n[s]:Ta(t[1])?[]:{};r=e(Array.prototype.slice.call(t,1),r,i)}return BZ(s,r,n)}),LZ=rn(function(t,r,n){return Le([t],r,n)});function $A(e){var t=Object.prototype.toString.call(e);return t==="[object Function]"||t==="[object AsyncFunction]"||t==="[object GeneratorFunction]"||t==="[object AsyncGeneratorFunction]"}var UZ=yt(function(t,r){var n=_r(t,r);return _r(t,function(){return iu(FZ,qp(n,arguments[0]),Array.prototype.slice.call(arguments,1
54))})}),FA=Jt(function(t){return UZ(t.length,t)}),au=yt(function(t,r){return $A(t)?function(){return t.apply(this,arguments)&&r.apply(this,arguments)}:FA(kZ)(t,r)});function VZ(e){return new RegExp(e.source,e.flags?e.flags:(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":"")+(e.dotAll?"s":""))}function S6(e,t,r){if(r||(r=new WZ),zZ(e))return e;var n=function(i){var o=r.get(e);if(o)return o;r.set(e,i);for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(i[a]=e[a]);return i};switch(ls(e)){case"Object":return n(Object.create(Object.getPrototypeOf(e)));case"Array":return n(Array(e.length));case"Date":return new Date(e.valueOf());case"RegExp":return VZ(e);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return e.slice();default:return e}}function zZ(e){var t=typeof e;return e==null||t!="object"&&t!="function"}var WZ=(function(){function e(){this.map={},this.length=0}return e.prototype.set=function(t,r){var n=this.hash(t),s=this.map[n];s||(this.map[n]=s=[]),s.push([t,r]),this.length+=1},e.prototype.hash=function(t){var r=[];for(var n in t)r.push(Object.prototype.toString.call(t[n]));return r.join()},e.prototype.get=function(t){if(this.length<=180){for(var r in this.map)for(var o=this.map[r],n=0;n<o.length;n+=1){var s=o[n];if(s[0]===t)return s[1]}return}var i=this.hash(t),o=this.map[i];if(o)for(var n=0;n<o.length;n+=1){var s=o[n];if(s[0]===t)return s[1]}},e})(),JZ=Jt(function(t){return function(r,n){return t(r,n)?-1:t(n,r)?1:0}}),HZ=Jt(function(t){return!t}),cu=FA(HZ);function KZ(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function qA(e,t){return function(){var r=arguments.length;if(r===0)return t();var n=arguments[r-1];return xo(n)||typeof n[e]!="function"?t.apply(this,arguments):n[e].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var uu=rn(qA("slice",function(t,r,n){return Array.prototype.slice.call(n,t,r)})),GZ=Jt(qA("tail",uu(1,1/0)));function Kr(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return $p(arguments[0].length,Ia(KZ,arguments[0],GZ(arguments)))}var YZ=Jt(function(e){return Bp(0,e)});function XZ(e){return e}var _6=Jt(XZ),ZZ=(function(){function e(t,r,n,s){this.valueFn=t,this.valueAcc=r,this.keyFn=n,this.xf=s,this.inputs={}}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=function(t){var r;for(r in this.inputs)if(Jn(r,this.inputs)&&(t=this.xf["@@transducer/step"](t,this.inputs[r]),t["@@transducer/reduced"])){t=t["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,S6(this.valueAcc)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),t},e})();function QZ(e,t,r){return function(n){return new ZZ(e,t,r,n)}}var eQ=PA(4,[],$i([],QZ,function(t,r,n,s){var i=E6(function(o,a){var c=n(a),u=t(Jn(c,o)?o[c]:S6(r),a);return u&&u["@@transducer/reduced"]?Fp(o):(o[c]=u,o)});return MA(i,{},s)})),ha=yt(function(t,r){return r==null||r!==r?t:r}),tQ=(function(){function e(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return e.prototype.add=function(t){return!n3(t,!0,this)},e.prototype.has=function(t){return n3(t,!1,this)},e})();function n3(e,t,r){var n=typeof e,s,i;switch(n){case"string":case"number":return e===0&&1/e===-1/0?r._items["-0"]?!0:(t&&(r._items["-0"]=!0),!1):r._nativeSet!==null?t?(s=r._nativeSet.size,r._nativeSet.add(e),i=r._nativeSet.size,i===s):r._nativeSet.has(e):n in r._items?e in r._items[n]?!0:(t&&(r._items[n][e]=!0),!1):(t&&(r._items[n]={},r._items[n][e]=!0),!1);case"boolean":if(n in r._items){var o=e?1:0;return r._items[n][o]?!0:(t&&(r._items[n][o]=!0),!1)}else return t&&(r._items[n]=e?[!1,!0]:[!0,!1]),!1;case"function":return r._nativeSet!==null?t?(s=r._nativeSet.size,r._nativeSet.add(e),i=r._nativeSet.size,i===s):r._nativeSet.has(e):n in r._items?pf(e,r._items[n])?!0:(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1);case"undefined":return r._items[n]?!0:(t&&(r._items[n]=!0),!1);case"object":if(e===null)return r._items.null?!0:(t&&(r._items.null=!0),!1);default:return n=Object.prototype.toString.call(e),n in r._items?pf(e,r._items[n])?!0:(t&&r._items[n].push(e),!1):(t&&(r._items[n]=[e]),!1)}}var rQ=yt(function(t,r){for(var n=[],s=0,i=t.length,o=r.length,a=new tQ,c=0;c<o;c+=1)a.add(r[c]);for(;s<i;)a.add(t[s])&&(n[n.length]=t[s]),s+=1;return n}),nQ=rn(function(t,r,n){var s=Array.prototype.slice.call(n,0);return s.splice(t,r),s});function sQ(e,t){if(t==null)return t;if(Ta(e)&&xo(t))return nQ(e,1,t);var r={};for(var n in t)r[n]=t[n];return delete r[e],r}function iQ(e,t){if(Ta(e)&&xo(t))return[].concat(t);var r={};for(var n in t)r[n]=t[n];return r}var In=yt(function e(t,r){if(r==null)return r;switch(t.length){case 0:return r;case 1:return sQ(t[0],r);default:var n=t[0],s=Array.prototype.slice.call(t,1);return r[n]==null?iQ(n,r):LZ(n,e(s,r[n]),r)}}),oQ=(function(){function e(t,r){this.xf=r,this.n=t,this.i=0}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=Pn.result,e.prototype["@@transducer/step"]=function(t,r){this.i+=1;var n=this.n===0?t:this.xf["@@transducer/step"](t,r);return this.n>=0&&this.i>=this.n?Fp(n):n},e})();function aQ(e){return function(t){return new oQ(e,t)}}var cQ=yt($i(["take"],aQ,function(t,r){return uu(0,t<0?1/0:t,r)}
54));function uQ(e,t){for(var r=t.length-1;r>=0&&e(t[r]);)r-=1;return uu(0,r+1,t)}var lQ=(function(){function e(t,r){this.f=t,this.retained=[],this.xf=r}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=function(t){return this.retained=null,this.xf["@@transducer/result"](t)},e.prototype["@@transducer/step"]=function(t,r){return this.f(r)?this.retain(t,r):this.flush(t,r)},e.prototype.flush=function(t,r){return t=MA(this.xf,t,this.retained),this.retained=[],this.xf["@@transducer/step"](t,r)},e.prototype.retain=function(t,r){return this.retained.push(r),t},e})();function fQ(e){return function(t){return new lQ(e,t)}}var pQ=yt($i([],fQ,uQ)),Lp=Jt(function(e){return Bp(-1,e)}),hQ=(function(){function e(t,r){this.xf=r,this.f=t}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=Pn.result,e.prototype["@@transducer/step"]=function(t,r){if(this.f){if(this.f(r))return t;this.f=null}return this.xf["@@transducer/step"](t,r)},e})();function dQ(e){return function(t){return new hQ(e,t)}}var mQ=yt($i(["dropWhile"],dQ,function(t,r){for(var n=0,s=r.length;n<s&&t(r[n]);)n+=1;return uu(n,1/0,r)})),gQ=yt(function(t,r){return t||r}),yQ=yt(function(t,r){return $A(t)?function(){return t.apply(this,arguments)||r.apply(this,arguments)}:FA(gQ)(t,r)});function vQ(e){var t=Object.prototype.toString.call(e);return t==="[object Uint8ClampedArray]"||t==="[object Int8Array]"||t==="[object Uint8Array]"||t==="[object Int16Array]"||t==="[object Uint16Array]"||t==="[object Int32Array]"||t==="[object Uint32Array]"||t==="[object Float32Array]"||t==="[object Float64Array]"||t==="[object BigInt64Array]"||t==="[object BigUint64Array]"}var bQ=Jt(function(t){return t!=null&&typeof t["fantasy-land/empty"]=="function"?t["fantasy-land/empty"]():t!=null&&t.constructor!=null&&typeof t.constructor["fantasy-land/empty"]=="function"?t.constructor["fantasy-land/empty"]():t!=null&&typeof t.empty=="function"?t.empty():t!=null&&t.constructor!=null&&typeof t.constructor.empty=="function"?t.constructor.empty():xo(t)?[]:NA(t)?"":hf(t)?{}:h6(t)?(function(){return arguments})():vQ(t)?t.constructor.from(""):void 0}),EQ=Jt(function(t){return _r(t.length,function(r,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=r,t.apply(this,s)})}),SQ=yt(qA("groupBy",eQ(function(e,t){return e.push(t),e},[]))),_Q=yt(function(t,r){if(t.length===0||df(r))return!1;for(var n=r,s=0;s<t.length;)if(!df(n)&&Jn(t[s],n))n=n[t[s]],s+=1;else return!1;return!0}),fc=yt(function(t,r){return _Q([t],r)}),qi=function(e,t){switch(arguments.length){case 0:return qi;case 1:return(function(){return function r(n){switch(arguments.length){case 0:return r;default:return lc(e,n)}}})();default:return lc(e,t)}},BA=rn(function(t,r,n){return _r(Math.max(t.length,r.length,n.length),function(){return t.apply(this,arguments)?r.apply(this,arguments):n.apply(this,arguments)})}),wQ=yt(pf),xQ=uu(0,-1),LA=yt(function(t,r){return _r(t+1,function(){var n=arguments[t];if(n!=null&&$A(n[r]))return n[r].apply(n,Array.prototype.slice.call(arguments,0,t));throw new TypeError(_c(n)+' does not have a method named "'+r+'"')})}),lu=Jt(function(t){return t!=null&&Fi(t,bQ(t))}),w6=Jt(function(t){return!lu(t)}),x6=LA(1,"join");function s3(e){return Object.prototype.toString.call(e)==="[object Number]"}var AQ=yt(function(t,r){return function(n){return function(s){return qp(function(i){return r(i,s)},n(t(s)))}}});function UA(e,t){for(var r=t,n=0;n<e.length;n+=1){if(r==null)return;var s=e[n];Ta(s)?r=Bp(s,r):r=r[s]}return r}var OQ=yt(function(t,r){return iu(function(n,s){return n[s]=t(r[s],s,r),n},{},ho(r))}),CQ=rn(function(t,r,n){var s={},i;r=r||{},n=n||{};for(i in r)Jn(i,r)&&(s[i]=Jn(i,n)?t(i,r[i],n[i]):r[i]);for(i in n)Jn(i,n)&&!Jn(i,s)&&(s[i]=n[i]);return s}),RQ=rn(function e(t,r,n){return CQ(function(s,i,o){return hf(i)&&hf(o)?e(t,i,o):t(s,i,o)},r,n)}),Up=yt(function(t,r){return RQ(function(n,s,i){return i},t,r)}),TQ=yt(function(t,r){return jA(d6(t),r)}),A6=function(e){return{value:e,map:function(t){return A6(t(e))}}},IQ=rn(function(t,r,n){return t(function(s){return A6(r(s))})(n).value}),Nr=yt(UA),O6=rn(function(t,r,n){return ha(t,UA(r,n))}),VA=rn(function(t,r,n){return t(UA(r,n))}),C6=yt(function(t,r){for(var n={},s=0;s<t.length;)t[s]in r&&(n[t[s]]=r[t[s]]),s+=1;return n}),R6=rn(function(t,r,n){return Fi(t,ou(r,n))}),mf=rn(function(t,r,n){return ha(t,ou(r,n))}),PQ=rn(function(t,r,n){return t(ou(r,n))}),jQ=yt(function(t,r){if(!(s3(t)&&s3(r)))throw new TypeError("Both arguments to range must be numbers");for(var n=Array(t<r?r-t:0),s=t<0?r+Math.abs(t):r-t,i=0;i<s;)n[i]=i+t,i+=1;return n}),kQ=Jt(Fp),T6=rn(function(t,r,n){return n.replace(t,r)}),NQ=yt(function(t,r){return Array.prototype.slice.call(r,0).sort(t)}),I6=LA(1,"split"),MQ=yt(function(e,t){return Fi(cQ(e.length,t),e)}),DQ=(function(){function e(t,r){this.xf=r,this.pred=t,this.items=[]}return e.prototype["@@transducer/init"]=Pn.init,e.prototype["@@transducer/result"]=Pn.result,e.prototype["@@transducer/step"]=function(t,r){return ff(this.pred,r,this.items)?t:(this.items.push(r),this.xf["@@transducer/step"](t,r))},e})();function $Q(e){return function(t){return new DQ(e,t)}}var P6=yt($i([],$Q,function(e,t){for(var r=0,n=t.length,s=[],i;r<n;)i=t[r],ff(e,i,s)||(s[s.length]=i),r+=1;return s})),FQ=rn(function(t,r,n){return t(n)?r(n):n}),Vp=lt(void 0),Bi=Fi(Vp()),j6=cu(Bi),k6=Fi(null),N6=cu(k6),qQ=cu(df),BQ=_r(1,Kr(ls,qi("GeneratorFunction"))),LQ=_r(1,Kr(ls,qi("AsyncFunction"))),Ao=NZ([Kr(ls,qi("Function")),BQ,LQ]),M6=_r(1,Ao(Array.isArray)?Array.isArray:Kr(ls,qi("Array"))),UQ=au(M6,lu),VQ=au(M6,w6),Oo=_r(1,Kr(ls,qi("String"))),zQ=Fi("");function $_(e){"@babel/helpers - typeof";return $_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$_(e)}var D6=function(t){return $_(t)==="object"},WQ=_r(1,au(N6,yQ(D6,Ao))),JQ=cu(WQ),zp=jZ([Oo,JQ,w6]),HQ=cu(Ao),KQ=_r(1,au(N6,D6)),GQ=Kr(ls,qi("Object")),YQ=Kr(_c,Fi(_c(Object))),XQ=VA(au(Ao,YQ),["constructor"]),fs=_r(1,function(e){if(!KQ(e)||!GQ(e))return!1;var t=Object.getPrototypeOf(e);return k6(t)?!0:XQ(t)}),ZQ=_r(1,Kr(ls,qi("RegExp")));function QQ(e){return nee(e)||ree(e)||tee(e)||eee()}function eee(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 55In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tee(e,t){if(e){if(typeof e=="string")return F_(e,t);var r={}.toString.call(e).slice(8,-1);
55return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?F_(e,t):void 0}}function ree(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nee(e){if(Array.isArray(e))return F_(e)}function F_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var see=JZ(function(e,t){return e.length>t.length}),iee=Kr(NQ(see),YZ,ou("length")),oee=DA(function(e,t,r){var n=r.apply(void 0,QQ(e));return qQ(n)?kQ(n):t}),aee=function(t){var r=iee(t);return _r(r,function(){for(var n=arguments.length,s=new Array(n),i=0;i<n;i++)s[i]=arguments[i];return Ia(oee(s),void 0,t)})},$6=BA(VQ,aee,Vp),Wp=EQ(wQ),wc=_r(3,function(e,t,r){var n=Nr(e,r),s=Nr(xQ(e),r);if(!HQ(n)&&!UQ(e)){var i=b6(n,s);return qZ(i,t)}}),cee=FQ(Oo,T6(/[.*+?^${}()|[\]\\-]/g,"\\$&")),uee=function(t,r,n){if(n==null||t==null||r==null)throw TypeError("Input values must not be `null` or `undefined`")},i3=function(t,r){if(typeof t!="string"&&!(t instanceof String))throw TypeError("`".concat(r,"` must be a string"))},lee=function(t){if(typeof t!="string"&&!(t instanceof String)&&!(t instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")},fee=function(t,r,n){uee(t,r,n),i3(n,"str"),i3(r,"replaceValue"),lee(t);var s=new RegExp(ZQ(t)?t:cee(t),"g");return T6(s,r,n)},pee=_r(3,fee),hee=LA(2,"replaceAll"),dee=Ao(String.prototype.replaceAll)?hee:pee,mee=DA(function(e,t){return Kr(I6(""),pQ(Wp(e)),x6(""))(t)}),F6=DA(function(e,t){return Kr(I6(""),mQ(Wp(e)),x6(""))(t)});const zA=()=>{var e,t;return/^win/.test((e=(t=globalThis.process)===null||t===void 0?void 0:t.platform)!==null&&e!==void 0?e:"")},WA=e=>{try{const t=new URL(e);return mee(":",t.protocol)}catch{return}};Kr(WA,j6);const gee=e=>{const t=e.lastIndexOf(".");return t>=0?e.substring(t).toLowerCase():""},q6=e=>{if(globalThis.window!==void 0)return!1;const t=WA(e);return Bi(t)||t==="file"||/^[a-zA-Z]$/.test(t)},JA=e=>{const t=WA(e);return t==="http"||t==="https"},B6=(e,t)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=mf(!1,"keepFileProtocol",t),s=mf(zA,"isWindows",t);let i=decodeURI(e);for(let a=0;a<r.length;a+=2)i=i.replace(r[a],r[a+1]);let o=i.substring(0,7).toLowerCase()==="file://";return o&&(i=i[7]==="/"?i.substring(8):i.substring(7),s()&&i[1]==="/"&&(i=`${i[0]}:${i.substring(1)}`),n?i=`file:///${i}`:(o=!1,i=s()?i:`/${i}`)),s()&&!o&&(i=dee("/","\\",i),i.substring(1,3)===":\\"&&(i=i[0].toUpperCase()+i.substring(1))),i},yee=e=>{const t=[/\?/g,"%3F",/#/g,"%23"];let r=e;zA()&&(r=r.replace(/\\/g,"/")),r=encodeURI(r);for(let n=0;n<t.length;n+=2)r=r.replace(t[n],t[n+1]);return r},L6=e=>{const t=e.indexOf("#");return t!==-1?e.substring(t):"#"},Kt=e=>{const t=e.indexOf("#");let r=e;return t>=0&&(r=e.substring(0,t)),r},q_=()=>{var e,t;if(globalThis.window!==void 0)return Kt(globalThis.location.href);const r=(e=(t=globalThis.process)===null||t===void 0?void 0:t.cwd())!==null&&e!==void 0?e:"/",n=Lp(r);return["/","\\"].includes(n)?r:r+(zA()?"\\":"/")},zr=(e,t)=>{const r=new URL(t,new URL(e,"resolve://"));if(r.protocol==="resolve:"){const{pathname:n,search:s,hash:i}=r;return n+s+i}return r.toString()},Jp=e=>{if(q6(e))return yee(B6(e));try{return new URL(e).toString()}catch{return encodeURI(decodeURI(e)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},Os=e=>q6(e)?B6(e):decodeURI(e);let da=class{constructor({uri:t,mediaType:r="text/plain",data:n,parseResult:s}){G(this,"uri");G(this,"mediaType");G(this,"data");G(this,"parseResult");this.uri=t,this.mediaType=r,this.data=n,this.parseResult=s}get extension(){return Oo(this.uri)?gee(this.uri):""}toString(){return typeof this.data=="string"?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(ls(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}};class ma{constructor({refs:t=[],circular:r=!1}={}){G(this,"rootRef");G(this,"refs");G(this,"circular");this.refs=[],this.circular=r,t.forEach(this.add.bind(this))}get size(){return this.refs.length}add(t){return this.has(t)||(this.refs.push(t),this.rootRef=this.rootRef===void 0?t:this.rootRef,t.refSet=this),this}merge(t){for(const r of t.values())this.add(r);return this}has(t){const r=Oo(t)?t:t.uri;return j6(this.find(n=>n.uri===r))}find(t){return this.refs.find(t)}*values(){yield*this.refs}
55clean(){this.refs.forEach(t=>{t.refSet=void 0}),this.rootRef=void 0,this.refs.length=0}}const U6={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:_6,immutable:!0,dereferenceOpts:{}},bundle:{strategies:[],refSet:null,maxDepth:1/0}},vee=AQ(Nr(["resolve","baseURI"]),Le(["resolve","baseURI"])),bee=e=>zQ(e)?q_():e,V6=(e,t)=>{const r=Up(e,t);return IQ(vee,bee,r)};class Eee extends cr{constructor(r,n){super(r,{cause:n.cause});G(this,"plugin");this.plugin=n.plugin}}const HA=async(e,t,r)=>{const n=await Promise.all(r.map(wc([e],t)));return r.filter((s,i)=>n[i])},KA=async(e,t,r)=>{let n;for(const s of r)try{const i=await s[e].call(s,...t);return{plugin:s,result:i}}catch(i){n=new Eee("Error while running plugin",{cause:i,plugin:s})}return Promise.reject(n)};class B_ extends cr{}class gf extends cr{}class z6 extends gf{}class W6 extends z6{}const J6="apidom-file-cache",See=async({cacheKey:e,cacheTTL:t})=>{if(t===0)return{cachedResult:null,cachedError:null};try{const r=await caches.open(J6),n=await r.match(e);if(n){const{cachedResult:s,cachedError:i,timestamp:o}=await n.json();if(Date.now()-o<t)return{cachedResult:s,cachedError:i};await r.delete(e)}}catch{return console.log("There was an error parsing the response"),{cachedResult:null,cachedError:null}}return{cachedResult:null,cachedError:null}},o3=async({cacheKey:e,result:t,error:r,cacheTTL:n})=>{if(n!==0)try{const s={cachedResult:t,cachedError:r,timestamp:Date.now()},i=await caches.open(J6),o=new Response(JSON.stringify(s),{headers:{"Content-Type":"application/json"}});await i.put(e,o)}catch{console.error("CacheStorage is not available")}},_ee=async(e,t)=>{const{cacheTTL:r=0}=t.resolve.resolverOpts,n=`read_${e.uri}`,{cachedResult:s,cachedError:i}=await See({cacheKey:n,cacheTTL:r});if(s!==null)return s;if(i!==null)throw new gf(`Error while reading file "${e.uri}"`,{cause:i});const o=t.resolve.resolvers.map(f=>{const d=Object.create(f);return Object.assign(d,t.resolve.resolverOpts)}),a=await HA("canRead",[e,t],o);if(lu(a))throw new W6(e.uri);try{const{result:f}=await KA("read",[e],a),d=new da({...e,data:f}).toString();return await o3({cacheKey:n,result:d,error:null,cacheTTL:r}),f}catch(f){var c,u,l;throw await o3({cacheKey:n,result:null,error:(c=(u=f==null||(l=f.cause)===null||l===void 0?void 0:l.cause)!==null&&u!==void 0?u:f==null?void 0:f.cause)!==null&&c!==void 0?c:f,cacheTTL:r}),new gf(`Error while reading file "${e.uri}"`,{cause:f})}},wee=async(e,t)=>{const r=t.parse.parsers.map(s=>{const i=Object.create(s);return Object.assign(i,t.parse.parserOpts)}),n=await HA("canParse",[e,t],r);if(lu(n))throw new W6(e.uri);try{const{plugin:s,result:i}=await KA("parse",[e,t],n);return!s.allowEmpty&&i.isEmpty?Promise.reject(new B_(`Error while parsing file "${e.uri}". File is empty.`)):i}catch(s){throw new B_(`Error while parsing file "${e.uri}"`,{cause:s})}},xee=async(e,t)=>{const r=new da({uri:Jp(Kt(e)),mediaType:t.parse.mediaType}),n=await _ee(r,t);return wee(new da({...r,data:n}),t)};var Er={},NS,a3;function Aee(){if(a3)return NS;a3=1;function e(t){return t===null}return NS=e,NS}var MS,c3;function Oee(){if(c3)return MS;c3=1;var e=Ms(),t=mn(),r="[object Number]";function n(s){return typeof s=="number"||t(s)&&e(s)==r}return MS=n,MS}var DS,u3;function Cee(){if(u3)return DS;u3=1;var e=Ms(),t=mn(),r="[object Boolean]";function n(s){return s===!0||s===!1||t(s)&&e(s)==r}return DS=n,DS}var $S,l3;function GA(){if(l3)return $S;l3=1;class e{constructor(r){this.namespace=r||new this.Namespace}serialise(r){if(!(r instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${r}\` is not an Element instance`);const n={element:r.element};r._meta&&r._meta.length>0&&(n.meta=this.serialiseObject(r.meta)),r._attributes&&r._attributes.length>0&&(n.attributes=this.serialiseObject(r.attributes));const s=this.serialiseContent(r.content);return s!==void 0&&(n.content=s),n}deserialise(r){if(!r.element)throw new Error("Given value is not an object c
55ontaining an element name");const n=this.namespace.getElementClass(r.element),s=new n;s.element!==r.element&&(s.element=r.element),r.meta&&this.deserialiseObject(r.meta,s.meta),r.attributes&&this.deserialiseObject(r.attributes,s.attributes);const i=this.deserialiseContent(r.content);return(i!==void 0||s.content===null)&&(s.content=i),s}serialiseContent(r){if(r instanceof this.namespace.elements.Element)return this.serialise(r);if(r instanceof this.namespace.KeyValuePair){const n={key:this.serialise(r.key)};return r.value&&(n.value=this.serialise(r.value)),n}return r&&r.map?r.length===0?void 0:r.map(this.serialise,this):r}deserialiseContent(r){if(r){if(r.element)return this.deserialise(r);if(r.key){const n=new this.namespace.KeyValuePair(this.deserialise(r.key));return r.value&&(n.value=this.deserialise(r.value)),n}if(r.map)return r.map(this.deserialise,this)}return r}serialiseObject(r){const n={};if(r.forEach((s,i)=>{s&&(n[i.toValue()]=this.serialise(s))}),Object.keys(n).length!==0)return n}deserialiseObject(r,n){Object.keys(r).forEach(s=>{n.set(s,this.deserialise(r[s]))})}}return $S=e,$S}var FS,f3;function Ree(){if(f3)return FS;f3=1;var e=Yx();function t(r,n){return e(r,n)}return FS=t,FS}var qS,p3;function Hp(){if(p3)return qS;p3=1;class e{constructor(r,n){this.key=r,this.value=n}clone(){const r=new e;return this.key&&(r.key=this.key.clone()),this.value&&(r.value=this.value.clone()),r}}return qS=e,qS}var BS,h3;function Kp(){if(h3)return BS;h3=1;var e="Expected a function";function t(r){if(typeof r!="function")throw new TypeError(e);return function(){var n=arguments;switch(n.length){case 0:return!r.call(this);case 1:return!r.call(this,n[0]);case 2:return!r.call(this,n[0],n[1]);case 3:return!r.call(this,n[0],n[1],n[2])}return!r.apply(this,n)}}return BS=t,BS}var LS,d3;function Gp(){if(d3)return LS;d3=1;const e=Kp();function t(n){return typeof n=="string"?s=>s.element===n:n.constructor&&n.extend?s=>s instanceof n:n}class r{constructor(s){this.elements=s||[]}toValue(){return this.elements.map(s=>s.toValue())}map(s,i){return this.elements.map(s,i)}flatMap(s,i){return this.map(s,i).reduce((o,a)=>o.concat(a),[])}compactMap(s,i){const o=[];return this.forEach(a=>{const c=s.bind(i)(a);c&&o.push(c)}),o}filter(s,i){return s=t(s),new r(this.elements.filter(s,i))}reject(s,i){return s=t(s),new r(this.elements.filter(e(s),i))}find(s,i){return s=t(s),this.elements.find(s,i)}forEach(s,i){this.elements.forEach(s,i)}reduce(s,i){return this.elements.reduce(s,i)}includes(s){return this.elements.some(i=>i.equals(s))}shift(){return this.elements.shift()}unshift(s){this.elements.unshift(this.refract(s))}push(s){return this.elements.push(this.refract(s)),this}add(s){this.push(s)}get(s){return this.elements[s]}getValue(s){const i=this.elements[s];if(i)return i.toValue()}get length(){return this.elements.length}get isEmpty(){return this.elements.length===0}get first(){return this.elements[0]}}return typeof Symbol<"u"&&(r.prototype[Symbol.iterator]=function(){return this.elements[Symbol.iterator]()}),LS=r,LS}var US,m3;function ci(){if(m3)return US;m3=1;const e=Ree(),t=Hp(),r=Gp();class n{constructor(i,o,a){o&&(this.meta=o),a&&(this.attributes=a),this.content=i}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(i=>{i.parent=this,i.freeze()},this),this.content&&Array.isArray(this.content)&&Object.freeze(this.content),Object.freeze(this))}primitive(){}clone(){const i=new this.constructor;return i.element=this.element,this.meta.length&&(i._meta=this.meta.clone()),this.attributes.length&&(i._attributes=this.attributes.clone()),this.content?this.content.clone?i.content=this.content.clone():Array.isArray(this.content)?i.content=this.content.map(o=>o.clone()):i.content=this.content:i.content=this.content,i}toValue(){return this.content instanceof n?this.content.toValue():this.content instanceof t?{key:this.content.key.toValue(),value:this.content.value?this.content.value.toValue():void 0}:this.content&&this.content.map?this.content.map(i=>i.toValue(),this):this.content}toRef(i){if(this.id.toValue()==="")throw Error("Cannot create reference to an element that does not contain an ID");const o=new this.RefElement(this.id.toValue());return i&&(o.path=i),o}findRecursive(...i){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 o=i.pop();let a=new r;const c=(l,f)=>(l.push(f),l),u=(l,f)=>{f.element===o&&l.push(f);const d=f.findRecursive(o);return d&&d.reduce(c,l),f.content instanceof t&&(f.content.key&&u(l,f.content.key),f.content.value&&u(l,f.content.value)),l};return this.content&&(this.content.element&&u(a,this.content),Array.isArray(this.content)&&this.content.reduce(u,a)),i.isEmpty||(a=a.filter(l=>{let f=l.parents.map(d=>d.element);for(const d in i){const h=i[d],g=f.indexOf(h);if(g!==-1)f=f.splice(0,g);else return!1}return!0})),a}set(i){return this.content=i,this}equals(i){return e(this.toValue(),i)}getMetaProperty(i,o){if(!this.meta.hasKey(i)){if(this.isFrozen){const a=this.refract(o);return a.freeze(),a}this.meta.set(i,o)}return this.meta.get(i)}setMetaProperty(i,o){this.meta.set(i,o)}
55get element(){return this._storedElement||"element"}set element(i){this._storedElement=i}get content(){return this._content}set content(i){if(i instanceof n)this._content=i;else if(i instanceof r)this.content=i.elements;else if(typeof i=="string"||typeof i=="number"||typeof i=="boolean"||i==="null"||i==null)this._content=i;else if(i instanceof t)this._content=i;else if(Array.isArray(i))this._content=i.map(this.refract);else if(typeof i=="object")this._content=Object.keys(i).map(o=>new this.MemberElement(o,i[o]));else throw new Error("Cannot set content to given value")}get meta(){if(!this._meta){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._meta=new this.ObjectElement}return this._meta}set meta(i){i instanceof this.ObjectElement?this._meta=i:this.meta.set(i||{})}get attributes(){if(!this._attributes){if(this.isFrozen){const i=new this.ObjectElement;return i.freeze(),i}this._attributes=new this.ObjectElement}return this._attributes}set attributes(i){i instanceof this.ObjectElement?this._attributes=i:this.attributes.set(i||{})}get id(){return this.getMetaProperty("id","")}set id(i){this.setMetaProperty("id",i)}get classes(){return this.getMetaProperty("classes",[])}set classes(i){this.setMetaProperty("classes",i)}get title(){return this.getMetaProperty("title","")}set title(i){this.setMetaProperty("title",i)}get description(){return this.getMetaProperty("description","")}set description(i){this.setMetaProperty("description",i)}get links(){return this.getMetaProperty("links",[])}set links(i){this.setMetaProperty("links",i)}get isFrozen(){return Object.isFrozen(this)}get parents(){let{parent:i}=this;const o=new r;for(;i;)o.push(i),i=i.parent;return o}get children(){if(Array.isArray(this.content))return new r(this.content);if(this.content instanceof t){const i=new r([this.content.key]);return this.content.value&&i.push(this.content.value),i}return this.content instanceof n?new r([this.content]):new r}get recursiveChildren(){const i=new r;return this.children.forEach(o=>{i.push(o),o.recursiveChildren.forEach(a=>{i.push(a)})}),i}}return US=n,US}var VS,g3;function Tee(){if(g3)return VS;g3=1;const e=ci();class t extends e{constructor(n,s,i){super(n||null,s,i),this.element="null"}primitive(){return"null"}set(){return new Error("Cannot set the value of null")}}return VS=t,VS}var zS,y3;function Iee(){if(y3)return zS;y3=1;const e=ci();return zS=class extends e{constructor(r,n,s){super(r,n,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}},zS}var WS,v3;function Pee(){if(v3)return WS;v3=1;const e=ci();return WS=class extends e{constructor(r,n,s){super(r,n,s),this.element="number"}primitive(){return"number"}},WS}var JS,b3;function jee(){if(b3)return JS;b3=1;const e=ci();return JS=class extends e{constructor(r,n,s){super(r,n,s),this.element="boolean"}primitive(){return"boolean"}},JS}var HS,E3;function H6(){if(E3)return HS;E3=1;const e=Kp(),t=ci(),r=Gp();class n extends t{constructor(i,o,a){super(i||[],o,a),this.element="array"}primitive(){return"array"}get(i){return this.content[i]}getValue(i){const o=this.get(i);if(o)return o.toValue()}getIndex(i){return this.content[i]}set(i,o){return this.content[i]=this.refract(o),this}remove(i){const o=this.content.splice(i,1);return o.length?o[0]:null}map(i,o){return this.content.map(i,o)}flatMap(i,o){return this.map(i,o).reduce((a,c)=>a.concat(c),[])}compactMap(i,o){const a=[];return this.forEach(c=>{const u=i.bind(o)(c);u&&a.push(u)}),a}filter(i,o){return new r(this.content.filter(i,o))}reject(i,o){return this.filter(e(i),o)}reduce(i,o){let a,c;o!==void 0?(a=0,c=this.refract(o)):(a=1,c=this.primitive()==="object"?this.first.value:this.first);for(let u=a;u<this.length;u+=1){const l=this.content[u];this.primitive()==="object"?c=this.refract(i(c,l.value,l.key,l,this)):c=this.refract(i(c,l,u,this))}return c}forEach(i,o){this.content.forEach((a,c)=>{i.bind(o)(a,this.refract(c))})}shift(){return this.content.shift()}unshift(i){this.content.unshift(this.refract(i))}push(i){return this.content.push(this.refract(i)),this}add(i){this.push(i)}findElements(i,o){const a=o||{},c=!!a.recursive,u=a.results===void 0?[]:a.results;return this.forEach((l,f,d)=>{c&&l.findElements!==void 0&&l.findElements(i,{results:u,recursive:c}),i(l,f,d)&&u.push(l)}),u}find(i){return new r(this.findElements(i,{recursive:!0}))}findByElement(i){return this.find(o=>o.element===i)}findByClass(i){return this.find(o=>o.classes.includes(i))}getById(i){return this.find(o=>o.id.toValue()===i).first}includes(i){return this.content.some(o=>o.equals(i))}contains(i){return this.includes(i)}empty(){return new this.constructor([])}"fantasy-land/empty"(){return this.empty()}concat(i){return new this.constructor(this.content.concat(i.content))}"fantasy-land/concat"(i){return this.concat(i)}"fantasy-land/map"(i){return new this.constructor(this.map(i))}"fantasy-land/chain"(i){return this.map(o=>i(o),this).reduce((o,a)=>o.concat(a),this.empty())}"fantasy-land/filter"(i){return new this.constructor(this.content.filter(i))}"fantasy-land/reduce"(i,o){return this.content.reduce(i,o)}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)}}return n.empty=function(){return new this},n["fantasy-land/empty"]=n.empty,typeof Symbol<"u"&&(n.prototype[Symbol.iterator]=function(){return this.content[Symbol.iterator]()}),HS=n,HS}var KS,S3;function K6(){if(S3)return KS;S3=1;const e=Hp(),t=ci();return KS=class extends t{constructor(n,s,i,o){super(new e,i,o),this.element="member",this.key=n,this.value=s}get key(){return this.content.key}set key(n){this.content.key=this.refract(n)}get value(){return this.content.value}set value(n){this.content.value=this.refract(n)}},KS}var GS,_3;function G6(){if(_3)return GS;_3=1;const e=Kp(),t=Gp();class r extends t{map(s,i){return this.elements.map(o=>s.bind(i)(o.value,o.key,o))}filter(s,i){return new r(this.elements.filter(o=>s.bind(i)(o.value,o.key,o)))}reject(s,i){return this.filter(e(s.bind(i)))}
55forEach(s,i){return this.elements.forEach((o,a)=>{s.bind(i)(o.value,o.key,o,a)})}keys(){return this.map((s,i)=>i.toValue())}values(){return this.map(s=>s.toValue())}}return GS=r,GS}var YS,w3;function kee(){if(w3)return YS;w3=1;const e=Kp(),t=dn(),r=H6(),n=K6(),s=G6();class i extends r{constructor(a,c,u){super(a||[],c,u),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce((a,c)=>(a[c.key.toValue()]=c.value?c.value.toValue():void 0,a),{})}get(a){const c=this.getMember(a);if(c)return c.value}getMember(a){if(a!==void 0)return this.content.find(c=>c.key.toValue()===a)}remove(a){let c=null;return this.content=this.content.filter(u=>u.key.toValue()===a?(c=u,!1):!0),c}getKey(a){const c=this.getMember(a);if(c)return c.key}set(a,c){if(t(a))return Object.keys(a).forEach(f=>{this.set(f,a[f])}),this;const u=a,l=this.getMember(u);return l?l.value=c:this.content.push(new n(u,c)),this}keys(){return this.content.map(a=>a.key.toValue())}values(){return this.content.map(a=>a.value.toValue())}hasKey(a){return this.content.some(c=>c.key.equals(a))}items(){return this.content.map(a=>[a.key.toValue(),a.value.toValue()])}map(a,c){return this.content.map(u=>a.bind(c)(u.value,u.key,u))}compactMap(a,c){const u=[];return this.forEach((l,f,d)=>{const h=a.bind(c)(l,f,d);h&&u.push(h)}),u}filter(a,c){return new s(this.content).filter(a,c)}reject(a,c){return this.filter(e(a),c)}forEach(a,c){return this.content.forEach(u=>a.bind(c)(u.value,u.key,u))}}return YS=i,YS}var XS,x3;function Nee(){if(x3)return XS;x3=1;const e=ci();return XS=class extends e{constructor(r,n,s){super(r||[],n,s),this.element="link"}get relation(){return this.attributes.get("relation")}set relation(r){this.attributes.set("relation",r)}get href(){return this.attributes.get("href")}set href(r){this.attributes.set("href",r)}},XS}var ZS,A3;function Mee(){if(A3)return ZS;A3=1;const e=ci();return ZS=class extends e{constructor(r,n,s){super(r||[],n,s),this.element="ref",this.path||(this.path="element")}get path(){return this.attributes.get("path")}set path(r){this.attributes.set("path",r)}},ZS}var QS,O3;function Y6(){if(O3)return QS;O3=1;const e=ci(),t=Tee(),r=Iee(),n=Pee(),s=jee(),i=H6(),o=K6(),a=kee(),c=Nee(),u=Mee(),l=Gp(),f=G6(),d=Hp();function h(g){return g instanceof e?g:typeof g=="string"?new r(g):typeof g=="number"?new n(g):typeof g=="boolean"?new s(g):g===null?new t:Array.isArray(g)?new i(g.map(h)):typeof g=="object"?new a(g):g}return e.prototype.ObjectElement=a,e.prototype.RefElement=u,e.prototype.MemberElement=o,e.prototype.refract=h,l.prototype.refract=h,QS={Element:e,NullElement:t,StringElement:r,NumberElement:n,BooleanElement:s,ArrayElement:i,MemberElement:o,ObjectElement:a,LinkElement:c,RefElement:u,refract:h,ArraySlice:l,ObjectSlice:f,KeyValuePair:d},QS}var e1,C3;function Dee(){if(C3)return e1;C3=1;const e=Aee(),t=CL(),r=Oee(),n=Cee(),s=dn(),i=GA(),o=Y6();class a{constructor(u){this.elementMap={},this.elementDetection=[],this.Element=o.Element,this.KeyValuePair=o.KeyValuePair,(!u||!u.noDefault)&&this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(u){return u.namespace&&u.namespace({base:this}),u.load&&u.load({base:this}),this}useDefault(){return this.register("null",o.NullElement).register("string",o.StringElement).register("number",o.NumberElement).register("boolean",o.BooleanElement).register("array",o.ArrayElement).register("object",o.ObjectElement).register("member",o.MemberElement).register("ref",o.RefElement).register("link",o.LinkElement),this.detect(e,o.NullElement,!1).detect(t,o.StringElement,!1).detect(r,o.NumberElement,!1).detect(n,o.BooleanElement,!1).detect(Array.isArray,o.ArrayElement,!1).detect(s,o.ObjectElement,!1),this}register(u,l){return this._elements=void 0,this.elementMap[u]=l,this}unregister(u){return this._elements=void 0,delete this.elementMap[u],this}detect(u,l,f){return(f===void 0?!0:f)?this.elementDetection.unshift([u,l]):this.elementDetection.push([u,l]),this}toElement(u){if(u instanceof this.Element)return u;let l;for(let f=0;f<this.elementDetection.length;f+=1){const d=this.elementDetection[f][0],h=this.elementDetection[f][1];if(d(u)){l=new h(u);break}}return l}getElementClass(u){const l=this.elementMap[u];return l===void 0?this.Element:l}fromRefract(u){return this.serialiser.deserialise(u)}toRefract(u){return this.serialiser.serialise(u)}get elements(){return this._elements===void 0&&(this._elements={Element:this.Element}
55,Object.keys(this.elementMap).forEach(u=>{const l=u[0].toUpperCase()+u.substr(1);this._elements[l]=this.elementMap[u]})),this._elements}get serialiser(){return new i(this)}}return i.prototype.Namespace=a,e1=a,e1}var t1,R3;function $ee(){if(R3)return t1;R3=1;const e=GA();return t1=class extends e{serialise(r){if(!(r instanceof this.namespace.elements.Element))throw new TypeError(`Given element \`${r}\` is not an Element instance`);let n;r._attributes&&r.attributes.get("variable")&&(n=r.attributes.get("variable"));const s={element:r.element};r._meta&&r._meta.length>0&&(s.meta=this.serialiseObject(r.meta));const i=r.element==="enum"||r.attributes.keys().indexOf("enumerations")!==-1;if(i){const o=this.enumSerialiseAttributes(r);o&&(s.attributes=o)}else if(r._attributes&&r._attributes.length>0){let{attributes:o}=r;o.get("metadata")&&(o=o.clone(),o.set("meta",o.get("metadata")),o.remove("metadata")),r.element==="member"&&n&&(o=o.clone(),o.remove("variable")),o.length>0&&(s.attributes=this.serialiseObject(o))}if(i)s.content=this.enumSerialiseContent(r,s);else if(this[`${r.element}SerialiseContent`])s.content=this[`${r.element}SerialiseContent`](r,s);else if(r.content!==void 0){let o;n&&r.content.key?(o=r.content.clone(),o.key.attributes.set("variable",n),o=this.serialiseContent(o)):o=this.serialiseContent(r.content),this.shouldSerialiseContent(r,o)&&(s.content=o)}else this.shouldSerialiseContent(r,r.content)&&r instanceof this.namespace.elements.Array&&(s.content=[]);return s}shouldSerialiseContent(r,n){return r.element==="parseResult"||r.element==="httpRequest"||r.element==="httpResponse"||r.element==="category"||r.element==="link"?!0:!(n===void 0||Array.isArray(n)&&n.length===0)}refSerialiseContent(r,n){return delete n.attributes,{href:r.toValue(),path:r.path.toValue()}}sourceMapSerialiseContent(r){return r.toValue()}dataStructureSerialiseContent(r){return[this.serialiseContent(r.content)]}enumSerialiseAttributes(r){const n=r.attributes.clone(),s=n.remove("enumerations")||new this.namespace.elements.Array([]),i=n.get("default");let o=n.get("samples")||new this.namespace.elements.Array([]);if(i&&i.content&&(i.content.attributes&&i.content.attributes.remove("typeAttributes"),n.set("default",new this.namespace.elements.Array([i.content]))),o.forEach(a=>{a.content&&a.content.element&&a.content.attributes.remove("typeAttributes")}),r.content&&s.length!==0&&o.unshift(r.content),o=o.map(a=>a instanceof this.namespace.elements.Array?[a]:new this.namespace.elements.Array([a.content])),o.length&&n.set("samples",o),n.length>0)return this.serialiseObject(n)}enumSerialiseContent(r){if(r._attributes){const n=r.attributes.get("enumerations");if(n&&n.length>0)return n.content.map(s=>{const i=s.clone();return i.attributes.remove("typeAttributes"),this.serialise(i)})}if(r.content){const n=r.content.clone();return n.attributes.remove("typeAttributes"),[this.serialise(n)]}return[]}deserialise(r){if(typeof r=="string")return new this.namespace.elements.String(r);if(typeof r=="number")return new this.namespace.elements.Number(r);if(typeof r=="boolean")return new this.namespace.elements.Boolean(r);if(r===null)return new this.namespace.elements.Null;if(Array.isArray(r))return new this.namespace.elements.Array(r.map(this.deserialise,this));const n=this.namespace.getElementClass(r.element),s=new n;s.element!==r.element&&(s.element=r.element),r.meta&&this.deserialiseObject(r.meta,s.meta),r.attributes&&this.deserialiseObject(r.attributes,s.attributes);const i=this.deserialiseContent(r.content);if((i!==void 0||s.content===null)&&(s.content=i),s.element==="enum"){s.content&&s.attributes.set("enumerations",s.content);let o=s.attributes.get("samples");if(s.attributes.remove("samples"),o){const c=o;o=new this.namespace.elements.Array,c.forEach(l=>{l.forEach(f=>{const d=new n(f);d.element=s.element,o.push(d)})});const u=o.shift();u?s.content=u.content:s.content=void 0,s.attributes.set("samples",o)}else s.content=void 0;let a=s.attributes.get("default");if(a&&a.length>0){a=a.get(0);const c=new n(a);c.element=s.element,s.attributes.set("default",c)}}else if(s.element==="dataStructure"&&Array.isArray(s.content))[s.content]=s.content;else if(s.element==="category"){const o=s.attributes.get("meta");o&&(s.attributes.set("metadata",o),s.attributes.remove("meta"))}else s.element==="member"&&s.key&&s.key._attributes&&s.key._attributes.getValue("variable")&&(s.attributes.set("variable",s.key.attributes.get("variable")),s.key.attributes.remove("variable"));return s}serialiseContent(r){if(r instanceof this.namespace.elements.Element)return this.serialise(r);
55if(r instanceof this.namespace.KeyValuePair){const n={key:this.serialise(r.key)};return r.value&&(n.value=this.serialise(r.value)),n}return r&&r.map?r.map(this.serialise,this):r}deserialiseContent(r){if(r){if(r.element)return this.deserialise(r);if(r.key){const n=new this.namespace.KeyValuePair(this.deserialise(r.key));return r.value&&(n.value=this.deserialise(r.value)),n}if(r.map)return r.map(this.deserialise,this)}return r}shouldRefract(r){return r._attributes&&r.attributes.keys().length||r._meta&&r.meta.keys().length?!0:r.element==="enum"?!1:r.element!==r.primitive()||r.element==="member"}convertKeyToRefract(r,n){return this.shouldRefract(n)?this.serialise(n):n.element==="enum"?this.serialiseEnum(n):n.element==="array"?n.map(s=>this.shouldRefract(s)||r==="default"?this.serialise(s):s.element==="array"||s.element==="object"||s.element==="enum"?s.children.map(i=>this.serialise(i)):s.toValue()):n.element==="object"?(n.content||[]).map(this.serialise,this):n.toValue()}serialiseEnum(r){return r.children.map(n=>this.serialise(n))}serialiseObject(r){const n={};return r.forEach((s,i)=>{if(s){const o=i.toValue();n[o]=this.convertKeyToRefract(o,s)}}),n}deserialiseObject(r,n){Object.keys(r).forEach(s=>{n.set(s,this.deserialise(r[s]))})}},t1}var T3;function Fee(){if(T3)return Er;T3=1;const e=Dee(),t=Y6();return Er.Namespace=e,Er.namespace=function(n){return new e(n)},Er.KeyValuePair=Hp(),Er.ArraySlice=t.ArraySlice,Er.ObjectSlice=t.ObjectSlice,Er.Element=t.Element,Er.StringElement=t.StringElement,Er.NumberElement=t.NumberElement,Er.BooleanElement=t.BooleanElement,Er.NullElement=t.NullElement,Er.ArrayElement=t.ArrayElement,Er.ObjectElement=t.ObjectElement,Er.MemberElement=t.MemberElement,Er.RefElement=t.RefElement,Er.LinkElement=t.LinkElement,Er.refract=t.refract,Er.JSONSerialiser=GA(),Er.JSON06Serialiser=$ee(),Er}var ve=Fee();class X6 extends ve.StringElement{constructor(t,r,n){super(t,r,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(t){this.attributes.set("code",t)}}class Z6 extends ve.StringElement{constructor(t,r,n){super(t,r,n),this.element="comment"}}class ui extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.element="parseResult"}get api(){return this.children.filter(t=>t.classes.contains("api")).first}get results(){return this.children.filter(t=>t.classes.contains("result"))}get result(){return this.results.first}get annotations(){return this.children.filter(t=>t.element==="annotation")}get warnings(){return this.children.filter(t=>t.element==="annotation"&&t.classes.contains("warning"))}get errors(){return this.children.filter(t=>t.element==="annotation"&&t.classes.contains("error"))}get isEmpty(){return this.children.reject(t=>t.element==="annotation").isEmpty}replaceResult(t){const{result:r}=this;if(Bi(r))return!1;const n=this.content.findIndex(s=>s===r);return n===-1?!1:(this.content[n]=t,!0)}}const qee=(e,t)=>typeof t=="object"&&t!==null&&e in t&&typeof t[e]=="function",Bee=e=>typeof e=="object"&&e!=null&&"_storedElement"in e&&typeof e._storedElement=="string"&&"_content"in e,Lee=(e,t)=>typeof t=="object"&&t!==null&&"primitive"in t?typeof t.primitive=="function"&&t.primitive()===e:!1,Uee=(e,t)=>typeof t=="object"&&t!==null&&"classes"in t&&(Array.isArray(t.classes)||t.classes instanceof ve.ArrayElement)&&t.classes.includes(e),_i=(e,t)=>typeof t=="object"&&t!==null&&"element"in t&&t.element===e,Ue=e=>e({hasMethod:qee,hasBasicElementProps:Bee,primitiveEq:Lee,isElementType:_i,hasClass:Uee}),yr=Ue(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof ve.Element||e(r)&&t(void 0,r)),ht=Ue(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof ve.StringElement||e(r)&&t("string",r)),YA=Ue(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof ve.NumberElement||e(r)&&t("number",r)),XA=Ue(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof ve.NullElement||e(r)&&t("null",r)),fu=Ue(({hasBasicElementProps:e,primitiveEq:t})=>r=>r instanceof ve.BooleanElement||e(r)&&t("boolean",r)),Dt=Ue(({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof ve.ObjectElement||e(n)&&t("object",n)&&r("keys",n)&&r("values",n)&&r("items",n)),Hr=Ue(({hasBasicElementProps:e,primitiveEq:t,hasMethod:r})=>n=>n instanceof ve.ArrayElement&&!(n instanceof ve.ObjectElement)||e(n)&&t("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n)),ds=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ve.MemberElement||e(n)&&t("member",n)&&r(void 0,n)),Q6=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>
55n instanceof ve.LinkElement||e(n)&&t("link",n)&&r(void 0,n)),e8=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ve.RefElement||e(n)&&t("ref",n)&&r(void 0,n)),Vee=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof X6||e(n)&&t("annotation",n)&&r("array",n)),zee=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Z6||e(n)&&t("comment",n)&&r("string",n)),t8=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ui||e(n)&&t("parseResult",n)&&r("array",n)),lo=e=>_i("object",e)||_i("array",e)||_i("boolean",e)||_i("number",e)||_i("string",e)||_i("null",e)||_i("member",e),Pa=e=>yr(e)?Number.isInteger(e.startPositionRow)&&Number.isInteger(e.startPositionColumn)&&Number.isInteger(e.startIndex)&&Number.isInteger(e.endPositionRow)&&Number.isInteger(e.endPositionColumn)&&Number.isInteger(e.endIndex):!1,Wee=(e,t)=>{if(e.length===0)return!0;const r=t.attributes.get("symbols");return Hr(r)?jA(Wp(r.toValue()),e):!1},ga=(e,t)=>e.length===0?!0:jA(Wp(t.classes.toValue()),e),Jee=Object.freeze(Object.defineProperty({__proto__:null,hasElementSourceMap:Pa,includesClasses:ga,includesSymbols:Wee,isAnnotationElement:Vee,isArrayElement:Hr,isBooleanElement:fu,isCommentElement:zee,isElement:yr,isLinkElement:Q6,isMemberElement:ds,isNullElement:XA,isNumberElement:YA,isObjectElement:Dt,isParseResultElement:t8,isPrimitiveElement:lo,isRefElement:e8,isStringElement:ht},Symbol.toStringTag,{value:"Module"}));class r8 extends ve.Namespace{constructor(){super(),this.register("annotation",X6),this.register("comment",Z6),this.register("parseResult",ui)}}const n8=new r8,li=e=>{const t=new r8;return fs(e)&&t.use(e),t},Hee=()=>({predicates:{...Jee},namespace:n8}),Yp=(e,t,r)=>{const n=e[t];if(n!=null){if(!r&&typeof n=="function")return n;const s=r?n.leave:n.enter;if(typeof s=="function")return s}else{const s=r?e.leave:e.enter;if(s!=null){if(typeof s=="function")return s;const i=s[t];if(typeof i=="function")return i}}return null},kt={},pu=e=>e==null?void 0:e.type,s8=e=>typeof pu(e)=="string",ZA=e=>Object.create(Object.getPrototypeOf(e),Object.getOwnPropertyDescriptors(e)),Xp=(e,{visitFnGetter:t=Yp,nodeTypeGetter:r=pu,breakSymbol:n=kt,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{enter(u,l,f,d,h,g){let v=u,y=!1;const E={...g,replaceWith(b,S){g.replaceWith(b,S),v=b}};for(let b=0;b<e.length;b+=1)if(c[b]===a){const S=t(e[b],r(v),!1);if(typeof S=="function"){const _=S.call(e[b],v,l,f,d,h,E);if(typeof(_==null?void 0:_.then)=="function")throw new js("Async visitor not supported in sync mode",{visitor:e[b],visitFn:S});if(_===i)c[b]=v;else if(_===n)c[b]=n;else{if(_===s)return _;if(_!==void 0)if(o)v=_,y=!0;else return _}}}return y?v:void 0},leave(u,l,f,d,h,g){let v=u;const y={...g,replaceWith(E,b){g.replaceWith(E,b),v=E}};for(let E=0;E<e.length;E+=1)if(c[E]===a){const b=t(e[E],r(v),!0);if(typeof b=="function"){const S=b.call(e[E],v,l,f,d,h,y);if(typeof(S==null?void 0:S.then)=="function")throw new js("Async visitor not supported in sync mode",{visitor:e[E],visitFn:b});if(S===n)c[E]=n;else if(S!==void 0&&S!==i)return S}}else c[E]===v&&(c[E]=a)}}},Kee=(e,{visitFnGetter:t=Yp,nodeTypeGetter:r=pu,breakSymbol:n=kt,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:o=!1}={})=>{const a=Symbol("skip"),c=new Array(e.length).fill(a);return{async enter(u,l,f,d,h,g){let v=u,y=!1;const E={...g,replaceWith(b,S){g.replaceWith(b,S),v=b}};for(let b=0;b<e.length;b+=1)if(c[b]===a){const S=t(e[b],r(v),!1);if(typeof S=="function"){const _=await S.call(e[b],v,l,f,d,h,E);if(_===i)c[b]=v;else if(_===n)c[b]=n;else{if(_===s)return _;if(_!==void 0)if(o)v=_,y=!0;else return _}}}return y?v:void 0},async leave(u,l,f,d,h,g){let v=u;const y={...g,replaceWith(E,b){g.replaceWith(E,b),v=E}};for(let E=0;E<e.length;E+=1)if(c[E]===a){const b=t(e[E],r(v),!0);if(typeof b=="function"){const S=await b.call(e[E],v,l,f,d,h,y);if(S===n)c[E]=n;else if(S!==void 0&&S!==i)return S}}else c[E]===v&&(c[E]=a)}}};Xp[Symbol.for("nodejs.util.promisify.custom")]=Kee;const QA=(e,t,{keyMap:r=null,state:n={},breakSymbol:s=kt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Yp,nodeTypeGetter:c=pu,nodePredicate:u=s8,nodeCloneFn:l=ZA,detectCycles:f=!0,detectCyclesCallback:d=null}={})=>{const h=r||{};let g,v=Array.isArray(e),y=[e],E=-1,b,S=[],_=e;const x=[],A=[];do{E+=1;const R=E===y.length;let $;const M=R&&S.length!==0;if(R){if($=A.length===0?void 0:x.pop(),_=b,b=A.pop(),M)if(v){_=_.slice();let N=0;for(const[U,X]of S){const J=U-N;X===i?(_.splice(J,1),N+=1):_[J]=X}}else{_=l(_);for(const[N,U]of S)_[N]=U}E=g.index,y=g.keys,S=g.edits,v=g.inArray,g=g.prev}else if(b!==i&&b!==void 0){if($=v?E:y[E],_=b[$],_===i||_===void 0)continue;x.push($)}let q;if(!Array.isArray(_)){var O;if(!u(_))throw new js(`Invalid AST Node: ${String(_)}`,{node:_});if(f&&A.includes(_)){typeof d=="function"&&d(_,$,b,x,A),x.pop();continue}const N=a(t,c(_),R);if(N){for(const[X,J]of Object.entries(n))t[X]=J;const U={replaceWith(X,J){typeof J=="function"?J(X,_,$,b,x,A):b&&(b[$]=X),R||(_=X)}};q=N.call(t,_,$,b,x,A,U)}if(typeof((O=q)===null||O===void 0?void 0:O.then)=="function")throw new js("Async visitor not supported in sync mode",{visitor:t,visitFn:N});if(q===s)break;if(q===o){if(!R){x.pop();continue}}else if(q!==void 0&&(S.push([$,q]),!R))if(u(q))_=q;else{x.pop();continue}}if(q===void 0&&M&&S.push([$,_]),!R){var I;g={inArray:v,index:E,keys:y,edits:S,prev:g},v=Array.isArray(_),y=v?_:(I=h[c(_)])!==null&&I!==void 0?I:[],E=-1,S=[],b!==i&&b!==void 0&&A.push(b),b=_}}while(g!==void 0);return S.length!==0?S[S.length-1][1]:e};QA[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=null,state:n={},breakSymbol:s=kt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:o=!1,visitFnGetter:a=Yp,nodeTypeGetter:c=pu,nodePredicate:u=s8,nodeCloneFn:l=ZA,detectCycles:f=!0,detectCyclesCallback:d=null}={})=>{const h=r||{};let g,v=Array.isArray(e),y=[e],E=-1,b,S=[],_=e;const x=[],A=[];do{E+=1;const I=E===y.length;let R;const $=I&&S.length!==0;if(I){if(R=A.length===0?void 0:x.pop(),_=b,b=A.pop(),$)if(v){_=_.slice();let q=0;for(const[N,U]of S){const X=N-q;U===i?(_.splice(X,1),q+=1):_[X]=U}}else{_=l(_);for(const[q,N]of S)_[q]=N}E=g.index,y=g.keys,S=g.edits,v=g.inArray,g=g.prev}
55else if(b!==i&&b!==void 0){if(R=v?E:y[E],_=b[R],_===i||_===void 0)continue;x.push(R)}let M;if(!Array.isArray(_)){if(!u(_))throw new js(`Invalid AST Node: ${String(_)}`,{node:_});if(f&&A.includes(_)){typeof d=="function"&&d(_,R,b,x,A),x.pop();continue}const q=a(t,c(_),I);if(q){for(const[U,X]of Object.entries(n))t[U]=X;const N={replaceWith(U,X){typeof X=="function"?X(U,_,R,b,x,A):b&&(b[R]=U),I||(_=U)}};M=await q.call(t,_,R,b,x,A,N)}if(M===s)break;if(M===o){if(!I){x.pop();continue}}else if(M!==void 0&&(S.push([R,M]),!I))if(u(M))_=M;else{x.pop();continue}}if(M===void 0&&$&&S.push([R,_]),!I){var O;g={inArray:v,index:E,keys:y,edits:S,prev:g},v=Array.isArray(_),y=v?_:(O=h[c(_)])!==null&&O!==void 0?O:[],E=-1,S=[],b!==i&&b!==void 0&&A.push(b),b=_}}while(g!==void 0);return S.length!==0?S[S.length-1][1]:e};class i8 extends js{constructor(r,n){super(r,n);G(this,"value");typeof n<"u"&&(this.value=n.value)}}class Gee extends i8{}class Yee extends i8{}const Li=(e,t)=>{const r=ha(e,t);return OQ(n=>{if(fs(n)&&fc("$ref",n)&&PQ(Oo,"$ref",n)){const s=Nr(["$ref"],n),i=F6("#/",s);return Nr(i.split("/"),r)}return fs(n)?Li(n,r):n},e)},e2=(e,t)=>(e.startPositionRow=t==null?void 0:t.startPositionRow,e.startPositionColumn=t==null?void 0:t.startPositionColumn,e.startIndex=t==null?void 0:t.startIndex,e.endPositionRow=t==null?void 0:t.endPositionRow,e.endPositionColumn=t==null?void 0:t.endPositionColumn,e.endIndex=t==null?void 0:t.endIndex,e),Xe=(e,t={})=>{const{visited:r=new WeakMap}=t,n={...t,visited:r};if(r.has(e))return r.get(e);if(e instanceof ve.KeyValuePair){const{key:s,value:i}=e,o=yr(s)?Xe(s,n):s,a=yr(i)?Xe(i,n):i,c=new ve.KeyValuePair(o,a);return r.set(e,c),c}if(e instanceof ve.ObjectSlice){const s=a=>Xe(a,n),i=[...e].map(s),o=new ve.ObjectSlice(i);return r.set(e,o),o}if(e instanceof ve.ArraySlice){const s=a=>Xe(a,n),i=[...e].map(s),o=new ve.ArraySlice(i);return r.set(e,o),o}if(yr(e)){const s=kr(e);if(r.set(e,s),e.content)if(yr(e.content))s.content=Xe(e.content,n);else if(e.content instanceof ve.KeyValuePair)s.content=Xe(e.content,n);else if(Array.isArray(e.content)){const i=o=>Xe(o,n);s.content=e.content.map(i)}else s.content=e.content;else s.content=e.content;return s}throw new Gee("Value provided to cloneDeep function couldn't be cloned",{value:e})};Xe.safe=e=>{try{return Xe(e)}catch{return e}};const o8=e=>{const{key:t,value:r}=e;return new ve.KeyValuePair(t,r)},Xee=e=>{const t=[...e];return new ve.ArraySlice(t)},Zee=e=>{const t=[...e];return new ve.ObjectSlice(t)},a8=e=>{const t=new e.constructor;if(t.element=e.element,Pa(e)&&e2(t,e),e.meta.length>0&&(t._meta=Xe(e.meta)),e.attributes.length>0&&(t._attributes=Xe(e.attributes)),yr(e.content)){const r=e.content;t.content=a8(r)}else Array.isArray(e.content)?t.content=[...e.content]:e.content instanceof ve.KeyValuePair?t.content=o8(e.content):t.content=e.content;return t},kr=e=>{if(e instanceof ve.KeyValuePair)return o8(e);if(e instanceof ve.ObjectSlice)return Zee(e);if(e instanceof ve.ArraySlice)return Xee(e);if(yr(e))return a8(e);throw new Yee("Value provided to cloneShallow function couldn't be cloned",{value:e})};kr.safe=e=>{try{return kr(e)}catch{return e}};const hu=e=>Dt(e)?"ObjectElement":Hr(e)?"ArrayElement":ds(e)?"MemberElement":ht(e)?"StringElement":fu(e)?"BooleanElement":YA(e)?"NumberElement":XA(e)?"NullElement":Q6(e)?"LinkElement":e8(e)?"RefElement":void 0,c8=e=>yr(e)?kr(e):ZA(e),u8=Kr(hu,Oo),$s={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"]};class l8{constructor({predicate:t=IA,returnOnTrue:r,returnOnFalse:n}={}){G(this,"result");G(this,"predicate");G(this,"returnOnTrue");G(this,"returnOnFalse");this.result=[],this.predicate=t,this.returnOnTrue=r,this.returnOnFalse=n}enter(t){return this.predicate(t)?(this.result.push(t),this.returnOnTrue):this.returnOnFalse}}const xr=(e,t,{keyMap:r=$s,...n}={})=>QA(e,t,{keyMap:r,nodeTypeGetter:hu,nodePredicate:u8,nodeCloneFn:c8,...n});xr[Symbol.for("nodejs.util.promisify.custom")]=async(e,t,{keyMap:r=$s,...n}={})=>QA[Symbol.for("nodejs.util.promisify.custom")](e,t,{keyMap:r,nodeTypeGetter:hu,nodePredicate:u8,nodeCloneFn:c8,...n});const f8={toolboxCreator:Hee,visitorOptions:{nodeTypeGetter:hu,expose
55Edits:!0}},fi=(e,t,r={})=>{if(t.length===0)return e;const n=Up(f8,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=t.map(l=>l(o)),c=Xp(a.map(mf({},"visitor")),{...i});a.forEach(wc(["pre"],[]));const u=xr(e,c,i);return a.forEach(wc(["post"],[])),u},Qee=async(e,t,r={})=>{if(t.length===0)return e;const n=Up(f8,r),{toolboxCreator:s,visitorOptions:i}=n,o=s(),a=t.map(d=>d(o)),c=Xp[Symbol.for("nodejs.util.promisify.custom")],u=xr[Symbol.for("nodejs.util.promisify.custom")],l=c(a.map(mf({},"visitor")),{...i});await Promise.allSettled(a.map(wc(["pre"],[])));const f=await u(e,l,i);return await Promise.allSettled(a.map(wc(["post"],[]))),f};fi[Symbol.for("nodejs.util.promisify.custom")]=Qee;var r1={exports:{}},I3;function ete(){return I3||(I3=1,(function(e){var t=(()=>{var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,c=(_,x,A)=>x in _?r(_,x,{enumerable:!0,configurable:!0,writable:!0,value:A}):_[x]=A,u=(_,x)=>{for(var A in x||(x={}))o.call(x,A)&&c(_,A,x[A]);if(i)for(var A of i(x))a.call(x,A)&&c(_,A,x[A]);return _},l=(_,x)=>{for(var A in x)r(_,A,{get:x[A],enumerable:!0})},f=(_,x,A,O)=>{if(x&&typeof x=="object"||typeof x=="function")for(let I of s(x))!o.call(_,I)&&I!==A&&r(_,I,{get:()=>x[I],enumerable:!(O=n(x,I))||O.enumerable});return _},d=_=>f(r({},"__esModule",{value:!0}),_),h=(_,x,A)=>c(_,typeof x!="symbol"?x+"":x,A),g={};l(g,{DEFAULT_OPTIONS:()=>E,DEFAULT_UUID_LENGTH:()=>y,default:()=>S});var v="5.3.2",y=6,E={dictionary:"alphanum",shuffle:!0,debug:!1,length:y,counter:0},b=class{constructor(x={}){h(this,"counter"),h(this,"debug"),h(this,"dict"),h(this,"version"),h(this,"dictIndex",0),h(this,"dictRange",[]),h(this,"lowerBound",0),h(this,"upperBound",0),h(this,"dictLength",0),h(this,"uuidLength"),h(this,"_digit_first_ascii",48),h(this,"_digit_last_ascii",58),h(this,"_alpha_lower_first_ascii",97),h(this,"_alpha_lower_last_ascii",123),h(this,"_hex_last_ascii",103),h(this,"_alpha_upper_first_ascii",65),h(this,"_alpha_upper_last_ascii",91),h(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),h(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]}),h(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),h(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),h(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]}),h(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]}),h(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]}),h(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),h(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}),h(this,"log",(...M)=>{const q=[...M];if(q[0]="[short-unique-id] ".concat(M[0]),this.debug===!0&&typeof console<"u"&&console!==null){console.log(...q);return}}),h(this,"_normalizeDictionary",(M,q)=>{let N;if(M&&Array.isArray(M)&&M.length>1)N=M;else{N=[],this.dictIndex=0;const U="_".concat(M,"_dict_ranges"),X=this._dict_ranges[U];let J=0;for(const[,ne]of Object.entries(X)){const[re,Y]=ne;J+=Math.abs(Y-re)}N=new Array(J);let ee=0;for(const[,ne]of Object.entries(X)){this.dictRange=ne,this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1];const re=this.lowerBound<=this.upperBound,Y=this.lowerBound,ie=this.upperBound;if(re)for(let ce=Y;ce<ie;ce++)N[ee++]=String.fromCharCode(ce),this.dictIndex=ce;else for(let ce=Y;ce>ie;ce--)N[ee++]=String.fromCharCode(ce),this.dictIndex=ce}N.length=ee}if(q){const U=N.length;for(let X=U-1;X>0;X--){const J=Math.floor(Math.random()*(X+1));[N[X],N[J]]=[N[J],N[X]]}}return N}),h(this,"setDictionary",(M,q)=>{this.dict=this._normalizeDictionary(M,q),this.dictLength=this.dict.length,this.setCounter(0)}),h(this,"seq",()=>this.sequentialUUID()),h(this,"sequentialUUID",()=>{const M=this.dictLength,q=this.dict;let N=this.counter;const U=[];do{const J=N%M;N=Math.trunc(N/M),U.push(q[J])}while(N!==0);const X=U.join("");return this.counter+=1,X}),h(this,"rnd",(M=this.uuidLength||y)=>this.randomUUID(M)),h(this,"randomUUID",(M=this.uuidLength||y)=>{if(M===null||typeof M>"u"||M<1)throw new Error("Invalid UUID Length Provided");const q=new Array(M),N=this.dictLength,U=this.dict;for(let X=0;X<M;X++){const J=Math.floor(Math.random()*N);q[X]=U[J]}return q.join("")}),h(this,"fmt",(M,q)=>this.formattedUUID(M,q)),h(this,"formattedUUID",(M,q)=>{const N={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return M.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,X=>{const J=X.slice(0,2),ee=Number.parseInt(X.slice(2),10);return J==="$s"?N[J]().padStart(ee,"0"):J==="$t"&&q?N[J](ee,q):N[J](ee)})}),h(this,"availableUUIDs",(M=this.uuidLength)=>Number.parseFloat(([...new Set(this.dict)].length**M).toFixed(0))),h(this,"_collisionCache",new Map),h(this,"approxMaxBeforeCollision",(M=this.availableUUIDs(this.uuidLength))=>{const q=M,N=this._collisionCache.get(q);if(N!==void 0)return N;const U=Number.parseFloat(Math.sqrt(Math.PI/2*M).toFixed(20));return this._collisionCache.set(q,U),U}),h(this,"collisionProbability",(M=this.availableUUIDs(this.uuidLength),q=this.uuidLength)=>Number.parseFloat((this.approxMaxBeforeCollision(M)/this.availableUUIDs(q)).toFixed(20))),h(this,"uniqueness",(M=this.availableUUIDs(this.uuidLength))=>{const q=Number.parseFloat((1-this.approxMaxBeforeCollision(M)/M).toFixed(20));return q>1?1:q<0?0:q}),h(this,"getVersion",()=>this.version),h(this,"stamp",(M,q)=>{const N=Math.floor(+(q||new Date)/1e3).toString(16);if(typeof M=="number"&&M===0)return N;if(typeof M!="number"||M<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(` 56`));const U=M-9,X=Math.round(Math.random()*(U>15?15:U)),J=this.randomUUID(U);return"".concat(J.substring(0,X)).concat(N).concat(J.substring(X)).concat(X.toString(16))}),h(this,"parseStamp",(M,q)=>{if(q&&!/t0|t[1-9]\d{1,}/.test(q))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const N=q?q.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,X=>{const J={$r:re=>[...Array(re)].map(()=>"r").join(""),$s:re=>[...Array(re)].map(()=>"s").join(""),$t:re=>[...Array(re)].map(()=>"t").join("")},ee=X.slice(0,2),ne=Number.parseInt(X.slice(2),10);return J[ee](ne)}).replace(/^(.*?)(t{8,})(.*)$/g,(X,J,ee)=>M.substring(J.length,J.length+ee.length)):M;if(N.length===8)return new Date(Number.parseInt(N,16)*1e3);
56if(N.length<10)throw new Error("Stamp length invalid");const U=Number.parseInt(N.substring(N.length-1),16);return new Date(Number.parseInt(N.substring(U,U+8),16)*1e3)}),h(this,"setCounter",M=>{this.counter=M}),h(this,"validate",(M,q)=>{const N=q?this._normalizeDictionary(q):this.dict;return M.split("").every(U=>N.includes(U))});const A=u(u({},E),x);this.counter=0,this.debug=!1,this.dict=[],this.version=v;const{dictionary:O,shuffle:I,length:R,counter:$}=A;this.uuidLength=R,this.setDictionary(O,I),this.setCounter($),this.debug=A.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)}};h(b,"default",b);var S=b;return d(g)})();e.exports=t.default,typeof window<"u"&&(t=t.default)})(r1)),r1.exports}var tte=ete();const rte=ut(tte);class nte extends js{constructor(r,n){super(r,n);G(this,"value");typeof n<"u"&&(this.value=n.value)}}class t2{constructor({length:t=6}={}){G(this,"uuid");G(this,"identityMap");this.uuid=new rte({length:t}),this.identityMap=new WeakMap}identify(t){if(!yr(t))throw new nte("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:t});if(t.meta.hasKey("id")&&ht(t.meta.get("id"))&&!t.meta.get("id").equals(""))return t.id;if(this.identityMap.has(t))return this.identityMap.get(t);const r=new ve.StringElement(this.generateId());return this.identityMap.set(t,r),r}forget(t){return this.identityMap.has(t)?(this.identityMap.delete(t),!0):!1}generateId(){return this.uuid.randomUUID()}}new t2;class ste extends Array{constructor(){super(...arguments);G(this,"unknownMediaType","application/octet-stream")}filterByFormat(){throw new jS("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new jS("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new jS("latest method in MediaTypes class is not yet implemented.")}}const ite=(e,t)=>{const r=new l8({predicate:e});return xr(t,r),new ve.ArraySlice(r.result)},p8=(e,t)=>{const r=new l8({predicate:e,returnOnTrue:kt});return xr(t,r),O6(void 0,[0],r.result)},Hl=(e,t=new WeakMap)=>(ds(e)?(t.set(e.key,e),Hl(e.key,t),t.set(e.value,e),Hl(e.value,t)):e.children.forEach(r=>{t.set(r,e),Hl(r,t)}),t),ote=(e,t,r)=>{const n=r.get(e);ds(n)&&(n.key===e&&(n.key=t,r.delete(e),r.set(t,n)),n.value===e&&(n.value=t,r.delete(e),r.set(t,n)))},ate=(e,t,r)=>{const n=r.get(e);Dt(n)&&(n.content=n.map((s,i,o)=>o===e?(r.delete(e),r.set(t,n),t):o))},cte=(e,t,r)=>{const n=r.get(e);Hr(n)&&(n.content=n.map(s=>s===e?(r.delete(e),r.set(t,n),t):s))};class ute{constructor({element:t}){G(this,"element");G(this,"edges");this.element=t}transclude(t,r){var n;if(t===this.element)return r;if(t===r)return this.element;this.edges=(n=this.edges)!==null&&n!==void 0?n:Hl(this.element);const s=this.edges.get(t);if(!Bi(s))return Dt(s)?ate(t,r,this.edges):Hr(s)?cte(t,r,this.edges):ds(s)&&ote(t,r,this.edges),this.element}}const lte=(e,t,r)=>new ute({element:r}).transclude(e,t),h8=(e,t=n8)=>{if(Oo(e))try{return t.fromRefract(JSON.parse(e))}catch{}return fs(e)&&fc("element",e)?t.fromRefract(e):t.toElement(e)},d8=e=>typeof(e==null?void 0:e.type)=="string"?e.type:hu(e),m8={EphemeralObject:["content"],EphemeralArray:["content"],...$s},g8=(e,t,{keyMap:r=m8,...n}={})=>xr(e,t,{keyMap:r,nodeTypeGetter:d8,nodePredicate:ai,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});g8[Symbol.for("nodejs.util.promisify.custom")]=async(e,{keyMap:t=m8,...r}={})=>xr[Symbol.for("nodejs.util.promisify.custom")](e,visitor,{keyMap:t,no
56deTypeGetter:d8,nodePredicate:ai,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});class fte{constructor(t){G(this,"type","EphemeralArray");G(this,"content",[]);G(this,"reference");this.content=t,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}}class pte{constructor(t){G(this,"type","EphemeralObject");G(this,"content",[]);G(this,"reference");this.content=t,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}}let hte=class{constructor(){G(this,"ObjectElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new pte(t.content);return this.references.set(t,r),r}});G(this,"EphemeralObject",{leave:t=>t.toObject()});G(this,"MemberElement",{enter:t=>[t.key,t.value]});G(this,"ArrayElement",{enter:t=>{if(this.references.has(t))return this.references.get(t).toReference();const r=new fte(t.content);return this.references.set(t,r),r}});G(this,"EphemeralArray",{leave:t=>t.toArray()});G(this,"references",new WeakMap)}BooleanElement(t){return t.toValue()}NumberElement(t){return t.toValue()}StringElement(t){return t.toValue()}NullElement(){return null}RefElement(t,...r){var n;const s=r[3];return((n=s[s.length-1])===null||n===void 0?void 0:n.type)==="EphemeralObject"?Symbol.for("delete-node"):String(t.toValue())}LinkElement(t){return ht(t.href)?t.href.toValue():""}};const Ie=e=>yr(e)?ht(e)||YA(e)||fu(e)||XA(e)?e.toValue():g8(e,new hte):e,yf=e=>{const t=e.meta.length>0?Xe(e.meta):void 0,r=e.attributes.length>0?Xe(e.attributes):void 0;return new e.constructor(void 0,t,r)},vf=(e,t)=>t.clone&&t.isMergeableElement(e)?Kn(yf(e),e,t):e,dte=(e,t)=>{if(typeof t.customMerge!="function")return Kn;const r=t.customMerge(e,t);return typeof r=="function"?r:Kn},mte=e=>typeof e.customMetaMerge!="function"?t=>Xe(t):e.customMetaMerge,gte=e=>typeof e.customAttributesMerge!="function"?t=>Xe(t):e.customAttributesMerge,yte=(e,t,r)=>e.concat(t)["fantasy-land/map"](n=>vf(n,r)),vte=(e,t,r)=>{const n=Dt(e)?yf(e):yf(t);return Dt(e)&&e.forEach((s,i,o)=>{const a=kr(o);a.value=vf(s,r),n.content.push(a)}),t.forEach((s,i,o)=>{const a=Ie(i);let c;if(Dt(e)&&e.hasKey(a)&&r.isMergeableElement(s)){const u=e.get(a);c=kr(o),c.value=dte(i,r)(u,s,r)}else c=kr(o),c.value=vf(s,r);n.remove(a),n.content.push(c)}),n},Cl={clone:!0,isMergeableElement:e=>Dt(e)||Hr(e),arrayElementMerge:yte,objectElementMerge:vte,customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Kn=(e,t,r)=>{var n,s,i;const o={...Cl,...r};o.isMergeableElement=(n=o.isMergeableElement)!==null&&n!==void 0?n:Cl.isMergeableElement,o.arrayElementMerge=(s=o.arrayElementMerge)!==null&&s!==void 0?s:Cl.arrayElementMerge,o.objectElementMerge=(i=o.objectElementMerge)!==null&&i!==void 0?i:Cl.objectElementMerge;const a=Hr(t),c=Hr(e);if(!(a===c))return vf(t,o);const l=a&&typeof o.arrayElementMerge=="function"?o.arrayElementMerge(e,t,o):o.objectElementMerge(e,t,o);return l.meta=mte(o)(e.meta,t.meta),l.attributes=gte(o)(e.attributes,t.attributes),l};Kn.all=(e,t)=>{if(!Array.isArray(e))throw new TypeError("First argument of deepmerge should be an array.");return e.length===0?new ve.ObjectElement:e.reduce((r,n)=>Kn(r,n,t),yf(e[0]))};class r2 extends cr{}class y8 extends r2{}const bte=async(e,t)=>{let r=e,n=!1;if(!t8(e)){const o=kr(e);o.classes.push("result"),r=new ui([o]),n=!0}const s=new da({uri:t.resolve.baseURI,parseResult:r,mediaType:t.parse.mediaType}),i=await HA("canDereference",[s,t],t.dereference.strategies);if(lu(i))throw new y8(s.uri);try{const{result:o}=await KA("dereference",[s,t],i);return n?o.get(0):o}catch(o){throw new r2(`Error while dereferencing file "${s.uri}"`,{cause:o})}};let du=class{constructor({name:t,allowEmpty:r=!0,sourceMap:n=!1,fileExtensions:s=[],mediaTypes:i=[]}){G(this,"name");G(this,"allowEmpty");G(this,"sourceMap");G(this,"fileExtensions");G(this,"mediaTypes");this.name=t,this.allowEmpty=r,this.sourceMap=n,this.fileExtensions=s,this.mediaTypes=i}};class Ete{constructor({name:t}){G(this,"name");this.name=t}}
56class Ste extends Ete{constructor(r){const{name:n="http-resolver",timeout:s=5e3,redirects:i=5,withCredentials:o=!1}=r??{};super({name:n});G(this,"timeout");G(this,"redirects");G(this,"withCredentials");this.timeout=s,this.redirects=i,this.withCredentials=o}canRead(r){return JA(r.uri)}}class _te{constructor({name:t}){G(this,"name");this.name=t}}class wte{constructor({name:t}){G(this,"name");this.name=t}}class n1 extends Array{includesCycle(t){return this.filter(r=>r.has(t)).length>1}includes(t,r){return t instanceof Set?super.includes(t,r):this.some(n=>n.has(t))}findItem(t){for(const r of this)for(const n of r)if(yr(n)&&t(n))return n}}let ti=class{constructor({uri:t,depth:r=0,refSet:n,value:s}){G(this,"uri");G(this,"depth");G(this,"value");G(this,"refSet");G(this,"errors");this.uri=t,this.value=s,this.depth=r,this.refSet=n,this.errors=[]}};class v8 extends cr{}class xte extends v8{}class Ate extends cr{}class n2 extends Ate{}class Ote extends v8{constructor(t){super(`Invalid JSON Schema $anchor "${t}".`)}}class aa extends r2{}class Cte extends gf{}class ni extends B_{}const Rte=async(e,t={})=>{const r=V6(U6,t);return bte(e,r)};var P3={},j3;function Tte(){if(j3)return P3;j3=1;var e=Di(),t=EL().includes,r=kn(),n=o6(),s=r(function(){return!Array(1).includes()}),i=r(function(){return[,1].includes(void 0,1)});return e({target:"Array",proto:!0,forced:s||i},{includes:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),n("includes"),P3}var s1,k3;function Ite(){if(k3)return s1;k3=1,Tte();var e=yA();return s1=e("Array","includes"),s1}var N3={},i1,M3;function Pte(){if(M3)return i1;M3=1;var e=Zn(),t=Ip(),r=hs(),n=r("match");return i1=function(s){var i;return e(s)&&((i=s[n])!==void 0?!!i:t(s)==="RegExp")},i1}var o1,D3;function jte(){if(D3)return o1;D3=1;var e=Pte(),t=TypeError;return o1=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},o1}var a1,$3;function kte(){if($3)return a1;$3=1;var e=hs(),t=e("match");return a1=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},a1}
56var F3;function Nte(){if(F3)return N3;F3=1;var e=Di(),t=gn(),r=jte(),n=Xc(),s=Dp(),i=kte(),o=t("".indexOf);return e({target:"String",proto:!0,forced:!i("includes")},{includes:function(c){return!!~o(s(n(this)),s(r(c)),arguments.length>1?arguments[1]:void 0)}}),N3}var c1,q3;function Mte(){if(q3)return c1;q3=1,Nte();var e=yA();return c1=e("String","includes"),c1}var u1,B3;function Dte(){if(B3)return u1;B3=1;var e=Oa(),t=Ite(),r=Mte(),n=Array.prototype,s=String.prototype;return u1=function(i){var o=i.includes;return i===n||e(n,i)&&o===n.includes?t:typeof i=="string"||i===s||e(s,i)&&o===s.includes?r:o},u1}var l1,L3;function $te(){if(L3)return l1;L3=1;var e=Dte();return l1=e,l1}var f1,U3;function Fte(){return U3||(U3=1,f1=$te()),f1}var qte=Fte();const ir=ut(qte);function V3(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Bte(e){if(Array.isArray(e))return e}function Lte(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ute(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Vte(e,t,r){return t&&Ute(e.prototype,t),e}function b8(e,t){return t!=null&&typeof Symbol<"u"&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function zte(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],s=!0,i=!1,o,a;try{for(r=r.call(e);!(s=(o=r.next()).done)&&(n.push(o.value),!(t&&n.length===t));s=!0);}catch(c){i=!0,a=c}finally{try{!s&&r.return!=null&&r.return()}finally{if(i)throw a}}return n}}function Wte(){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 Jte(e,t){return Bte(e)||zte(e,t)||Hte(e,t)||Wte()}function ca(e){"@swc/helpers - typeof";return e&&typeof Symbol<"u"&&e.constructor===Symbol?"symbol":typeof e}function Hte(e,t){if(e){if(typeof e=="string")return V3(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(r);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return V3(e,t)}}var E8=function(e){throw TypeError(e)},S8=function(e,t,r){return t.has(e)||E8("Cannot "+r)},an=function(e,t,r){return S8(e,t,"read from private field"),r?r.call(e):t.get(e)},z3=function(e,t,r){return t.has(e)?E8("Cannot add the same private member more than once"):b8(t,WeakSet)?t.add(e):t.set(e,r)},p1=function(e,t,r,n){return S8(e,t,"write to private field"),t.set(e,r),r},ja=function(e){return Object.prototype.toString.call(e)},_8=function(e){return ArrayBuffer.isView(e)&&!b8(e,DataView)},Kte=function(e){return ja(e)==="[object Date]"},Gte=function(e){return ja(e)==="[object RegExp]"},Yte=function(e){return ja(e)==="[object Error]"},Xte=function(e){return ja(e)==="[object Boolean]"},Zte=function(e){return ja(e)==="[object Number]"},Qte=function(e){return ja(e)==="[object String]"},w8=Array.isArray,ere=Object.getOwnPropertyDescriptor,tre=Object.prototype.propertyIsEnumerable,rre=Object.getOwnPropertySymbols,Kl=Object.prototype.hasOwnProperty;function s2(e){for(var t=Object.keys(e),r=rre(e),n=0;n<r.length;n++)tre.call(e,r[n])&&t.push(r[n]);return t}function nre(e,t){var r;return!(!((r=ere(e,t))===null||r===void 0)&&r.writable)}function x8(e,t){if((typeof e>"u"?"undefined":ca(e))==="object"&&e!==null){var r;if(w8(e))r=[];else if(Kte(e))r=new Date(e.getTime?e.getTime():e);else if(Gte(e))r=new RegExp(e);else if(Yte(e))r={message:e.message};else if(Xte(e)||Zte(e)||Qte(e))r=Object(e);else{if(_8(e))return e.slice();r=Object.create(Object.getPrototypeOf(e))}var n=t.includeSymbols?s2:Object.keys,s=!0,i=!1,o=void 0;try{for(var a=n(e)[Symbol.iterator](),c;!(s=(c=a.next()).done);s=!0){var u=c.value;r[u]=e[u]}}catch(l){i=!0,o=l}finally{try{!s&&a.return!=null&&a.return()}finally{if(i)throw o}}return r}return e}var A8={includeSymbols:!1,immutable:!1};function W3(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:A8,n=[],s=[],i=!0,o=r.includeSymbols?s2:Object.keys,a=!!r.immutable;return(function c(u){var l=a?x8(u,r):u,f={},d=!0,h={node:l,node_:u,path:[].concat(n),parent:s[s.length-1],parents:s,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(q){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;h.isRoot||(h.parent.node[h.key]=q),h.node=q,N&&(d=!1)},delete:function(q){delete h.parent.node[h.key],q&&(d=!1)},remove:function(q){w8(h.parent.node)?h.parent.node.splice(h.key,1):delete h.parent.node[h.key],q&&(d=!1)},keys:null,before:function(q){f.before=q},after:function(q){f.after=q},pre:function(q){f.pre=q},post:function(q){f.post=q},stop:function(){i=!1},block:function(){d=!1}};if(!i)return h;function g(){if(ca(h.node)==="object"&&h.node!==null){(!h.keys||h.node_!==h.node)&&(h.keys=o(h.node)),h.isLeaf=h.keys.length===0;for(var M=0;M<s.length;M++)if(s[M].node_===u){h.circular=s[M];break}}else h.isLeaf=!0,h.keys=null;h.notLeaf=!h.isLeaf,h.notRoot=!h.isRoot}g();var v=t.call(h,h.node);
56if(v!==void 0&&h.update&&h.update(v),f.before&&f.before.call(h,h.node),!d)return h;if(ca(h.node)==="object"&&h.node!==null&&!h.circular){s.push(h),g();var y,E=!0,b=!1,S=void 0;try{for(var _=Object.entries((y=h.keys)!==null&&y!==void 0?y:[])[Symbol.iterator](),x;!(E=(x=_.next()).done);E=!0){var A=Jte(x.value,2),O=A[0],I=A[1],R;n.push(I),f.pre&&f.pre.call(h,h.node[I],I);var $=c(h.node[I]);a&&Kl.call(h.node,I)&&!nre(h.node,I)&&(h.node[I]=$.node),$.isLast=!((R=h.keys)===null||R===void 0)&&R.length?+O===h.keys.length-1:!1,$.isFirst=+O==0,f.post&&f.post.call(h,$),n.pop()}}catch(M){b=!0,S=M}finally{try{!E&&_.return!=null&&_.return()}finally{if(b)throw S}}s.pop()}return f.after&&f.after.call(h,h.node),h})(e).node}var vn,wi,Fs=(function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A8;Lte(this,e),z3(this,vn),z3(this,wi),p1(this,vn,t),p1(this,wi,r)}return Vte(e,[{key:"get",value:function(r){for(var n=an(this,vn),s=0;n&&s<r.length;s++){var i=r[s];if(!Kl.call(n,i)||!an(this,wi).includeSymbols&&(typeof i>"u"?"undefined":ca(i))==="symbol")return;n=n[i]}return n}},{key:"has",value:function(r){for(var n=an(this,vn),s=0;n&&s<r.length;s++){var i=r[s];if(!Kl.call(n,i)||!an(this,wi).includeSymbols&&(typeof i>"u"?"undefined":ca(i))==="symbol")return!1;n=n[i]}return!0}},{key:"set",value:function(r,n){var s=an(this,vn),i=0;for(i=0;i<r.length-1;i++){var o=r[i];Kl.call(s,o)||(s[o]={}),s=s[o]}return s[r[i]]=n,n}},{key:"map",value:function(r){return W3(an(this,vn),r,{immutable:!0,includeSymbols:!!an(this,wi).includeSymbols})}},{key:"forEach",value:function(r){return p1(this,vn,W3(an(this,vn),r,an(this,wi))),an(this,vn)}},{key:"reduce",value:function(r,n){var s=arguments.length===1,i=s?an(this,vn):n;return this.forEach(function(o){(!this.isRoot||!s)&&(i=r.call(this,i,o))}),i}},{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=[],s=an(this,wi);return _8(an(this,vn))?an(this,vn).slice():(function i(o){for(var a=0;a<r.length;a++)if(r[a]===o)return n[a];if((typeof o>"u"?"undefined":ca(o))==="object"&&o!==null){var c=x8(o,s);r.push(o),n.push(c);var u=s.includeSymbols?s2:Object.keys,l=!0,f=!1,d=void 0;try{for(var h=u(o)[Symbol.iterator](),g;!(l=(g=h.next()).done);l=!0){var v=g.value;c[v]=i(o[v])}}catch(y){f=!0,d=y}finally{try{!l&&h.return!=null&&h.return()}finally{if(f)throw d}}return r.pop(),n.pop(),c}return o})(an(this,vn))}}]),e})();vn=new WeakMap;wi=new WeakMap;var qs=function(e,t){return new Fs(e,t)};qs.get=function(e,t,r){return new Fs(e,r).get(t)};qs.set=function(e,t,r,n){return new Fs(e,n).set(t,r)};qs.has=function(e,t,r){return new Fs(e,r).has(t)};qs.map=function(e,t,r){return new Fs(e,r).map(t)};qs.forEach=function(e,t,r){return new Fs(e,r).forEach(t)};qs.reduce=function(e,t,r,n){return new Fs(e,n).reduce(t,r)};qs.paths=function(e,t){return new Fs(e,t).paths()};qs.nodes=function(e,t){return new Fs(e,t).nodes()};qs.clone=function(e,t){return new Fs(e,t).clone()};var sre=qs;const O8="application/json, application/yaml",bf="https://swagger.io",ire=Object.freeze({url:"/"}),C8=3e3,ore=["properties"],are=["properties"],cre=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],ure=["schema/example","items/example"];function R8(e){const t=e[e.length-1],r=e[e.length-2],n=e.join("/");return ore.indexOf(t)>-1&&are.indexOf(r)===-1||cre.indexOf(n)>-1||ure.some(s=>n.indexOf(s)>-1)}function lre(e,t,{specmap:r,getBaseUrlForNodePath:n=i=>r.getContext([...t,...i]).baseDoc,targetKeys:s=["$ref","$$ref"]}={}){const i=[];return sre(e).forEach(function(){if(ir(s).call(s,this.key)&&typeof this.node=="string"){const a=this.path,c=t.concat(this.path),u=L_(this.node,n(a));i.push(r.replace(c,u))}}),i}function L_(e,t){const[r,n]=e.split("#"),s=t??"",i=r??"";let o;if(JA(s))o=zr(s,i);else{const a=zr(bf,s),u=zr(a,i).replace(bf,"");o=i.startsWith("/")?u:u.substring(1)}return n?`${o}#${n}`:o}const fre=/^([a-z]+:\/\/|\/\/)/i;class ya extends js{}const ei={},J3=new WeakMap,pre=[e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="examples",e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="content"&&e[7]==="example",e=>e[0]==="paths"&&e[3]==="responses"&&e[5]==="content"&&e[7]==="examples"&&e[9]==="value",e=>e[0]==="paths"&&e[3]==="requestBody"&&e[4]==="content"&&e[6]==="example",e=>e[0]==="paths"&&e[3]==="requestBody"&&e[4]==="content"&&e[6]==="examples"&&e[8]==="value",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="example",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="example",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="examples"&&e[6]==="value",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="examples"&&e[7]==="value",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="content"&&e[6]==="example",e=>e[0]==="paths"&&e[2]==="parameters"&&e[4]==="content"&&e[6]==="examples"&&e[8]==="value",e=>e[0]==="paths"&&e[3]==="parameters"&&e[4]==="content"&&e[7]==="example",e=>e[0]==="paths"&&e[3]==="parameters"&&e[5]==="content"&&e[7]==="examples"&&e[9]==="value"],hre=e=>pre.some(t=>t(e)),dre={key:"$ref",plugin:(e,t,r,n)=>{const s=n.getInstance(),i=r.slice(0,-1);if(R8(i)||hre(i))return;const{baseDoc:o}=n.getContext(r);if(typeof e!="string")return new ya("$ref: must be a string (JSON-Ref)",{$ref:e,baseDoc:o,fullPath:r});const a=I8(e),c=a[0],u=a[1]||"";let l;try{l=o||c?T8(c,o):null}catch(v){return U_(v,{pointer:u,$ref:e,basePath:l,fullPath:r})}let f,d;if(bre(u,l,i,n)&&!s.useCircularStructures){const v=L_(e,l);return e===v?null:Wt.replace(r,v)}if(l==null?(d=o2(u),f=n.get(d),typeof f>"u"&&(f=new ya(`Could not resolve reference: ${e}`,{pointer:u,$ref:e,baseDoc:o,fullPath:r}))):(f=P8(l,u),f.__value!=null?f=f.__value:f=f.catch(v=>{throw U_(v,{pointer:u,$ref:e,baseDoc:o,fullPath:r})})),f instanceof Error)return[Wt.remove(r),f];const h=L_(e,l),g=Wt.replace(i,f,{$$ref:h});if(l&&l!==o)return[g,Wt.context(i,{baseDoc:l})];try{if(!Ere(n.state,g)||s.useCircularStructures)return g}catch{return null}}},i2=Object.assign(dre,{docCache:ei,absoluteify:T8,clearCache:mre,JSONRef
56Error:ya,wrapError:U_,getDoc:j8,split:I8,extractFromDoc:P8,fetchJSON:gre,extract:V_,jsonPointerToArray:o2,unescapeJsonPointerToken:k8});function T8(e,t){if(!fre.test(e)){if(!t)throw new ya(`Tried to resolve a relative URL, without having a basePath. path: '${e}' basePath: '${t}'`);return zr(t,e)}return e}function U_(e,t){let r;return e&&e.response&&e.response.body?r=`${e.response.body.code} ${e.response.body.message}`:r=e.message,new ya(`Could not resolve reference: ${r}`,{...t,cause:e})}function I8(e){return(e+"").split("#")}function P8(e,t){const r=ei[e];if(r&&!Wt.isPromise(r))try{const n=V_(t,r);return Object.assign(Promise.resolve(n),{__value:n})}catch(n){return Promise.reject(n)}return j8(e).then(n=>V_(t,n))}function mre(e){typeof e<"u"?delete ei[e]:Object.keys(ei).forEach(t=>{delete ei[t]})}function j8(e){const t=ei[e];return t?Wt.isPromise(t)?t:Promise.resolve(t):(ei[e]=i2.fetchJSON(e).then(r=>(ei[e]=r,r)),ei[e])}function gre(e){return fetch(e,{headers:{Accept:O8},loadSpec:!0}).then(t=>t.text()).then(t=>Gn.load(t))}function V_(e,t){const r=o2(e);if(r.length<1)return t;const n=Wt.getIn(t,r);if(typeof n>"u")throw new ya(`Could not resolve pointer: ${e} does not exist in document`,{pointer:e});return n}function o2(e){if(typeof e!="string")throw new TypeError(`Expected a string, got a ${typeof e}`);return e[0]==="/"&&(e=e.substr(1)),e===""?[]:e.split("/").map(k8)}function k8(e){return typeof e!="string"?e:new URLSearchParams(`=${e.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function N8(e){return new URLSearchParams([["",e.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}function yre(e){return e.length===0?"":`/${e.map(N8).join("/")}`}const vre=e=>!e||e==="/"||e==="#";function h1(e,t){if(vre(t))return!0;const r=e.charAt(t.length),n=t.slice(-1);return e.indexOf(t)===0&&(!r||r==="/"||r==="#")&&n!=="#"}function bre(e,t,r,n){let s=J3.get(n);s||(s={},J3.set(n,s));const i=yre(r),o=`${t||"<specmap-base>"}#${e}`,a=i.replace(/allOf\/\d+\/?/g,""),c=n.contextTree.get([]).baseDoc;if(t===c&&h1(a,e))return!0;let u="";if(r.some(f=>(u=`${u}/${N8(f)}`,s[u]&&s[u].some(d=>h1(d,o)||h1(o,d)))))return!0;s[a]=(s[a]||[]).concat(o)}function Ere(e,t){const r=[e];return t.path.reduce((s,i)=>(r.push(s[i]),s[i]),e),n(t.value);function n(s){return Wt.isObject(s)&&(r.indexOf(s)>=0||Object.keys(s).some(i=>n(s[i])))}}const Sre={key:"allOf",plugin:(e,t,r,n,s)=>{if(s.meta&&s.meta.$$ref)return;const i=r.slice(0,-1);if(R8(i))return;if(!Array.isArray(e)){const u=new TypeError("allOf must be an array");return u.fullPath=r,u}let o=!1,a=s.value;if(i.forEach(u=>{a&&(a=a[u])}),a={...a},Object.keys(a).length===0)return;delete a.allOf;const c=[];return c.push(n.replace(i,{})),e.forEach((u,l)=>{if(!n.isObject(u)){if(o)return null;o=!0;const h=new TypeError("Elements in allOf must be objects");return h.fullPath=r,c.push(h)}c.push(n.mergeDeep(i,u));const f=r.slice(0,-1),d=lre(u,f,{getBaseUrlForNodePath:h=>n.getContext([...r,l,...h]).baseDoc,specmap:n});c.push(...d)}),a.example&&c.push(n.remove([].concat(i,"example"))),c.push(n.mergeDeep(i,a)),a.$$ref||c.push(n.remove([].concat(i,"$$ref"))),c}},_re={key:"parameters",plugin:(e,t,r,n)=>{if(Array.isArray(e)&&e.length){const s=Object.assign([],e),i=r.slice(0,-1),o={...Wt.getIn(n.spec,i)};for(let a=0;a<e.length;a+=1){const c=e[a];try{s[a].default=n.parameterMacro(o,c)}catch(u){const l=new Error(u);return l.fullPath=r,l}}return Wt.replace(r,s)}return Wt.replace(r,e)}},wre={key:"properties",plugin:(e,t,r,n)=>{const s={...e};for(const o in e)try{s[o].default=n.modelPropertyMacro(s[o])}catch(a){const c=new Error(a);return c.fullPath=r,c}return Wt.replace(r,s)}};class xre{constructor(t){this.root=d1(t||{})}set(t,r){const n=this.getParent(t,!0);if(!n){Ef(this.root,r,null);return}const s=t[t.length-1],{children:i}=n;if(i[s]){Ef(i[s],r,n);return}i[s]=d1(r,n)}get(t){if(t=t||[],t.length<1)return this.root.value;let r=this.root,n,s;for(let i=0;i<t.length&&(s=t[i],n=r.children,!!n[s]);i+=1)r=n[s];return r&&r.protoValue}getParent(t,r){return!t||t.length<1?null:t.length<2?this.root:t.slice(0,-1).reduce((n,s)=>{if(!n)return n;const{children:i}=n;return!i[s]&&r&&(i[s]=d1(null,n)),i[s]},this.root)}}function d1(e,t){return Ef({children:{}},e,t)}function Ef(e,t,r){return e.value=t||{},e.protoValue=r?{...r.protoValue,...e.value}
56:e.value,Object.keys(e.children).forEach(n=>{const s=e.children[n];e.children[n]=Ef(s,s.value,e)}),e}const H3=100,K3=()=>{};class Are{static getPluginName(t){return t.pluginName}static getPatchesOfType(t,r){return t.filter(r)}constructor(t){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new xre,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),Wt,{getInstance:()=>this}),allowMetaPatches:!1},t),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(Wt.isFunction),this.patches.push(Wt.add([],this.spec)),this.patches.push(Wt.context([],this.context)),this.updatePatches(this.patches)}debug(t,...r){this.debugLevel===t&&console.log(...r)}verbose(t,...r){this.debugLevel==="verbose"&&console.log(`[${t}] `,...r)}wrapPlugin(t,r){const{pathDiscriminator:n}=this;let s=null,i;return t[this.pluginProp]?(s=t,i=t[this.pluginProp]):Wt.isFunction(t)?i=t:Wt.isObject(t)&&(i=o(t)),Object.assign(i.bind(s),{pluginName:t.name||r,isGenerator:Wt.isGenerator(i)});function o(a){const c=(u,l)=>Array.isArray(u)?u.every((f,d)=>f===l[d]):!0;return function*(l,f){const d={};for(const[g,v]of l.filter(Wt.isAdditiveMutation).entries())if(g<C8)yield*h(v.value,v.path,v);else return;function*h(g,v,y){if(!Wt.isObject(g))a.key===v[v.length-1]&&(yield a.plugin(g,a.key,v,f));else{const E=v.length-1,b=v[E],S=v.indexOf("properties"),_=b==="properties"&&E===S,x=f.allowMetaPatches&&d[g.$$ref];for(const A of Object.keys(g)){const O=g[A],I=v.concat(A),R=Wt.isObject(O),$=g.$$ref;if(x||R&&(f.allowMetaPatches&&$&&c(n,I)&&(d[$]=!0),yield*h(O,I,y)),!_&&A===a.key){const M=c(n,v);(!n||M)&&(yield a.plugin(O,A,I,f,y))}}}}}}}nextPlugin(){return this.wrappedPlugins.find(t=>this.getMutationsForPlugin(t).length>0)}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map(t=>t.value))}getPluginHistory(t){const r=this.constructor.getPluginName(t);return this.pluginHistory[r]||[]}getPluginRunCount(t){return this.getPluginHistory(t).length}getPluginHistoryTip(t){const r=this.getPluginHistory(t);return r&&r[r.length-1]||{}}getPluginMutationIndex(t){const r=this.getPluginHistoryTip(t).mutationIndex;return typeof r!="number"?-1:r}updatePluginHistory(t,r){const n=this.constructor.getPluginName(t);this.pluginHistory[n]=this.pluginHistory[n]||[],this.pluginHistory[n].push(r)}updatePatches(t){Wt.normalizeArray(t).forEach(r=>{if(r instanceof Error){this.errors.push(r);return}try{if(!Wt.isObject(r)){this.debug("updatePatches","Got a non-object patch",r);return}if(this.showDebug&&this.allPatches.push(r),Wt.isPromise(r.value)){this.promisedPatches.push(r),this.promisedPatchThen(r);return}if(Wt.isContextPatch(r)){this.setContext(r.path,r.value);return}Wt.isMutation(r)&&this.updateMutations(r)}catch(n){console.error(n),this.errors.push(n)}})}updateMutations(t){typeof t.value=="object"&&!Array.isArray(t.value)&&this.allowMetaPatches&&(t.value={...t.value});const r=Wt.applyPatch(this.state,t,{allowMetaPatches:this.allowMetaPatches});r&&(this.mutations.push(t),this.state=r)}removePromisedPatch(t){const r=this.promisedPatches.indexOf(t);if(r<0){this.debug("Tried to remove a promisedPatch that isn't there!");return}this.promisedPatches.splice(r,1)}promisedPatchThen(t){return t.value=t.value.then(r=>{const n={...t,value:r};this.removePromisedPatch(t),this.updatePatches(n)}).catch(r=>{this.removePromisedPatch(t),this.updatePatches(r)}),t.value}getMutations(t,r){return t=t||0,typeof r!="number"&&(r=this.mutations.length),this.mutations.slice(t,r)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(t){const r=this.getPluginMutationIndex(t);return this.getMutations(r+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(t){return Wt.getIn(this.state,t)}_getContext(t){return this.contextTree.get(t)}setContext(t,r){return this.contextTree.set(t,r)}_hasRun(t){return this.getPluginRunCount(this.getCurrentPlugin())>(t||0)}dispatch(){const t=this,r=this.nextPlugin();if(!r){const i=this.nextPromisedPatch();if(i)return i.then(()=>this.dispatch()).catch(()=>this.dispatch());const o={spec:this.state,errors:this.errors};return this.showDebug&&(o.patches=this.allPatches),Promise.resolve(o)}if(t.pluginCount=t.pluginCount||new WeakMap,t.pluginCount.set(r,(t.pluginCount.get(r)||0)+1),t.pluginCount[r]>H3)return Promise.resolve({spec:t.state,errors:t.errors.concat(new Error(`We've reached a hard limit of ${H3} plugin runs`))});if(r!==this.currentPlugin&&this.promisedPatches.length){const i=this.promisedPatches.map(o=>o.value);return Promise.all(i.map(o=>o.then(K3,K3))).then(()=>this.dispatch())}return n();function n(){t.currentPlugin=r;const i=t.getCurrentMutations(),o=t.mutations.length-1;try{if(r.isGenerator)for(const a of r(i,t.getLib()))s(a);else{const a=r(i,t.getLib());s(a)}}catch(a){console.error(a),s([Object.assign(Object.create(a),{plugin:r})])}finally{t.updatePluginHistory(r,{mutationIndex:o})}return t.dispatch()}function s(i){i&&(i=Wt.fullyNormalizeArray(i),t.updatePatches(i,r))}}}function Ore(e){return new Are(e).dispatch()}const Vo={refs:i2,allOf:Sre,parameters:_re,properties:wre};function M8(e,t={}){const{requestInterceptor:r,responseInterceptor:n}=t,s=e.withCredentials?"include":"same-origin";return i=>e({url:i,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:O8},credentials:s}).then(o=>o.body)}function a2(e,t){return!t&&typeof navigator<"u"&&(t=navigator),t&&t.product==="ReactNative"?!!(e&&typeof e=="object"&&typeof e.uri=="string"):typeof File<"u"&&e instanceof File||typeof Blob<"u"&&e instanceof Blob||ArrayBuffer.isView(e)?!0:e!==null&&typeof e=="object"&&typeof e.pipe=="function"}function D8(e,t){return Array.isArray(e)&&e.some(r=>a2(r,t))}class z_ extends File{constructor(t,r="",n={}){super([t],r,n),this.data=t}valueOf(){return this.data}toString(){return this.valueOf()}}const Cre=e=>":/?#[]@!$&'()*+,;=".indexOf(e)>-1,Rre=e=>/^[a-z0-9\-._~]+$/i.test(e);function $8(e,t="reserved"){return[...e].map(r=>{if(Rre(r)||Cre(r)&&t==="unsafe")return r;const n=new TextEncoder;return Array.from(n.encode(r)).map(i=>`0${i.toString(16).toUpperCase()}`.slice(-2)).map(i=>`%${i}`).join("")}).join("")}function c2(e){const{value:t}=e;
56return Array.isArray(t)?Tre(e):typeof t=="object"?Ire(e):Pre(e)}function Wr(e,t=!1){return Array.isArray(e)||e!==null&&typeof e=="object"?e=JSON.stringify(e):(typeof e=="number"||typeof e=="boolean")&&(e=String(e)),t&&typeof e=="string"&&e.length>0?$8(e,t):e??""}function Tre({key:e,value:t,style:r,explode:n,escape:s}){if(r==="simple")return t.map(i=>Wr(i,s)).join(",");if(r==="label")return`.${t.map(i=>Wr(i,s)).join(".")}`;if(r==="matrix")return t.map(i=>Wr(i,s)).reduce((i,o)=>!i||n?`${i||""};${e}=${o}`:`${i},${o}`,"");if(r==="form"){const i=n?`&${e}=`:",";return t.map(o=>Wr(o,s)).join(i)}if(r==="spaceDelimited"){const i=n?`${e}=`:"";return t.map(o=>Wr(o,s)).join(` ${i}`)}if(r==="pipeDelimited"){const i=n?`${e}=`:"";return t.map(o=>Wr(o,s)).join(`|${i}`)}}function Ire({key:e,value:t,style:r,explode:n,escape:s}){const i=Object.keys(t);if(r==="simple")return i.reduce((o,a)=>{const c=Wr(t[a],s),u=n?"=":",";return`${o?`${o},`:""}${a}${u}${c}`},"");if(r==="label")return i.reduce((o,a)=>{const c=Wr(t[a],s),u=n?"=":".";return`${o?`${o}.`:"."}${a}${u}${c}`},"");if(r==="matrix"&&n)return i.reduce((o,a)=>{const c=Wr(t[a],s);return`${o?`${o};`:";"}${a}=${c}`},"");if(r==="matrix")return i.reduce((o,a)=>{const c=Wr(t[a],s);return`${o?`${o},`:`;${e}=`}${a},${c}`},"");if(r==="form")return i.reduce((o,a)=>{const c=Wr(t[a],s);return`${o?`${o}${n?"&":","}`:""}${a}
56${n?"=":","}${c}`},"")}function Pre({key:e,value:t,style:r,escape:n}){if(r==="simple")return Wr(t,n);if(r==="label")return`.${Wr(t,n)}`;if(r==="matrix")return`;${e}=${Wr(t,n)}`;if(r==="form"||r==="deepObject")return Wr(t,n)}const jre={form:",",spaceDelimited:"%20",pipeDelimited:"|"},kre={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function F8(e,t,r=!1){const{collectionFormat:n,allowEmptyValue:s,serializationOption:i,encoding:o}=t,a=typeof t=="object"&&!Array.isArray(t)?t.value:t,c=r?l=>l.toString():l=>encodeURIComponent(l),u=c(e);if(typeof a>"u"&&s)return[[u,""]];if(a2(a)||D8(a))return[[u,a]];if(i)return G3(e,a,r,i);if(o){if([typeof o.style,typeof o.explode,typeof o.allowReserved].some(l=>l!=="undefined")){const{style:l,explode:f,allowReserved:d}=o;return G3(e,a,r,{style:l,explode:f,allowReserved:d})}if(typeof o.contentType=="string"){if(o.contentType.startsWith("application/json")){const d=typeof a=="string"?a:JSON.stringify(a),h=c(d),g=new z_(h,"blob",{type:o.contentType});return[[u,g]]}const l=c(String(a)),f=new z_(l,"blob",{type:o.contentType});return[[u,f]]}return typeof a!="object"?[[u,c(a)]]:Array.isArray(a)&&a.every(l=>typeof l!="object")?[[u,a.map(c).join(",")]]:[[u,c(JSON.stringify(a))]]}return typeof a!="object"?[[u,c(a)]]:Array.isArray(a)?n==="multi"?[[u,a.map(c)]]:[[u,a.map(c).join(kre[n||"csv"])]]:[[u,""]]}function G3(e,t,r,n){const s=n.style||"form",i=typeof n.explode>"u"?s==="form":n.explode,o=r?!1:n&&n.allowReserved?"unsafe":"reserved",a=u=>Wr(u,o),c=r?u=>u:u=>a(u);return typeof t!="object"?[[c(e),a(t)]]:Array.isArray(t)?i?[[c(e),t.map(a)]]:[[c(e),t.map(a).join(jre[s])]]:s==="deepObject"?Object.keys(t).map(u=>[c(`${e}[${u}]`),a(t[u])]):i?Object.keys(t).map(u=>[c(u),a(t[u])]):[[c(e),Object.keys(t).map(u=>[`${c(u)},${a(t[u])}`]).join(",")]]}function Nre(e){return Object.entries(e).reduce((t,[r,n])=>{for(const[s,i]of F8(r,n,!0))if(Array.isArray(i))for(const o of i)if(ArrayBuffer.isView(o)){const a=new Blob([o]);t.append(s,a)}else t.append(s,o);else if(ArrayBuffer.isView(i)){const o=new Blob([i]);t.append(s,o)}else t.append(s,i);return t},new FormData)}const Mre=(e,{encode:t=!0}={})=>{const r=(i,o,a)=>(Array.isArray(a)?a.reduce((c,u)=>r(i,o,u),i):a instanceof Date?i.append(o,a.toISOString()):typeof a=="object"?Object.entries(a).reduce((c,[u,l])=>r(i,`${o}[${u}]`,l),i):i.append(o,a),i),n=Object.entries(e).reduce((i,[o,a])=>r(i,o,a),new URLSearchParams),s=String(n);return t?s:decodeURIComponent(s)};function Y3(e){const t=Object.keys(e).reduce((r,n)=>{for(const[s,i]of F8(n,e[n]))i instanceof z_?r[s]=i.valueOf():r[s]=i;return r},{});return Mre(t,{encode:!1})}function u2(e={}){const{url:t="",query:r,form:n}=e,s=(...i)=>{const o=i.filter(a=>a).join("&");return o?`?${o}`:""};if(n){const i=Object.keys(n).some(a=>{const{value:c}=n[a];return a2(c)||D8(c)}),o=e.headers["content-type"]||e.headers["Content-Type"];if(i||/multipart\/form-data/i.test(o)){const a=Nre(e.form);e.formdata=a,e.body=a}else e.body=Y3(n);delete e.form}if(r){const[i,o]=t.split("?");let a="";if(o){const u=new URLSearchParams(o);Object.keys(r).forEach(f=>u.delete(f)),a=String(u)}const c=s(a,Y3(r));e.url=i+c,delete e.query}return e}const Dre=(e="")=>/(json|xml|yaml|text)\b/.test(e);function $re(e,t){if(t){if(t.indexOf("application/json")===0||t.indexOf("+json")>0)return JSON.parse(e);if(t.indexOf("application/xml")===0||t.indexOf("+xml")>0)return e}return Gn.load(e)}function Fre(e){return ir(e).call(e,", ")?e.split(", "):e}function qre(e={}){return typeof e.entries!="function"?{}:Array.from(e.entries()).reduce((t,[r,n])=>(t[r]=Fre(n),t),{})}function q8(e,t,{loadSpec:r=!1}={}){const n={ok:e.ok,url:e.url||t,status:e.status,statusText:e.statusText,headers:qre(e.headers)},s=n.headers["content-type"],i=r||Dre(s);return(i?e.text:e.blob||e.buffer).call(e).then(a=>{if(n.text=a,n.data=a,i)try{const c=$re(a,s);n.body=c,n.obj=c}catch(c){n.parseError=c}return n})}async function xc(e,t={}){typeof e=="object"&&(t=e,e=t.url),t.headers=t.headers||{},t=u2(t),t.headers&&Object.keys(t.headers).forEach(s=>{const i=t.headers[s];typeof i=="string"&&(t.headers[s]=i.replace(/\n+/g," "))}),t.requestInterceptor&&(t=await t.requestInterceptor(t)||t);const r=t.headers["content-type"]||t.headers["Content-Type"];/multipart\/form-data/i.test(r)&&(delete t.headers["content-type"],delete t.headers["Content-Type"]);let n;try{n=await(t.userFetch||fetch)(t.url,t),n=await q8(n,e,t),t.responseInterceptor&&(n=await t.responseInterceptor(n)||n)}catch(s){if(!n)throw s;const i=new Error(n.statusText||`response status is ${n.status}`);throw i.status=n.status,i.statusCode=n.status,i.responseError=s,i}if(!n.ok){const s=new Error(n.statusText||`response status is ${n.status}`);throw s.status=n.status,s.statusCode=n.status,s.response=n,s}return n}function Bre(e,t,r){return r=r||(n=>n),t=t||(n=>n),n=>(typeof n=="string"&&(n={url:n}),n=u2(n),n=t(n),r(e(n)))}const l2=e=>{var s;const{baseDoc:t,url:r}=e,n=t??r??"";return typeof((s=globalThis.document)==null?void 0:s.baseURI)=="string"?String(new URL(n,globalThis.document.baseURI)):n},B8=e=>{const{fetch:t,http:r}=e;return t||r||xc};async function f2(e){const{spec:t,mode:r,allowMetaPatches:n=!0,pathDiscriminator:s,modelPropertyMacro:i,parameterMacro:o,requestInterceptor:a,responseInterceptor:c,skipNormalization:u=!1,useCircularStructures:l,strategies:f}=e,d=l2(e),h=B8(e),g=f.find(y=>y.match(t));return v(t);async function v(y){d&&(Vo.refs.docCache[d]=y),Vo.refs.fetchJSON=M8(h,{requestInterceptor:a,responseInterceptor:c});const E=[Vo.refs];typeof o=="function"&&E.push(Vo.parameters),typeof i=="function"&&E.push(Vo.properties),r!=="strict"&&E.push(Vo.allOf);
56const b=await Ore({spec:y,context:{baseDoc:d},plugins:E,allowMetaPatches:n,pathDiscriminator:s,parameterMacro:o,modelPropertyMacro:i,useCircularStructures:l});return u||(b.spec=g.normalize(b.spec)),b}}const L8=e=>e.replace(/\W/gi,"_");function Lre(e,t,{v2OperationIdCompatibilityMode:r}={}){if(r){let n=`${t.toLowerCase()}_${e}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return n=n||`${e.substring(1)}_${t}`,n.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${t.toLowerCase()}${L8(e)}`}function mu(e,t,r="",{v2OperationIdCompatibilityMode:n}={}){return!e||typeof e!="object"?null:(e.operationId||"").replace(/\s/g,"").length?L8(e.operationId):Lre(t,r,{v2OperationIdCompatibilityMode:n})}function p2(e){const{spec:t}=e,{paths:r}=t,n={};if(!r||t.$$normalized)return e;for(const o in r){var s;const a=r[o];if(a==null||!ir(s=["object","function"]).call(s,typeof a))continue;const c=a.parameters;for(const u in a){var i;const l=a[u];if(l==null||!ir(i=["object","function"]).call(i,typeof l))continue;const f=mu(l,o,u);if(f){n[f]?n[f].push(l):n[f]=[l];const d=n[f];if(d.length>1)d.forEach((h,g)=>{h.__originalOperationId=h.__originalOperationId||h.operationId,h.operationId=`${f}${g+1}`});else if(typeof l.operationId<"u"){const h=d[0];h.__originalOperationId=h.__originalOperationId||l.operationId,h.operationId=f}}if(u!=="parameters"){const d=[],h={};for(const g in t)(g==="produces"||g==="consumes"||g==="security")&&(h[g]=t[g],d.push(h));if(c&&(h.parameters=c,d.push(h)),d.length){for(const g of d)for(const v in g)if(!Array.isArray(l[v]))l[v]=g[v];else if(v==="parameters")for(const y of g[v])l[v].some(b=>!fs(b)&&!fs(y)?!1:b===y?!0:["name","$ref","$$ref"].some(S=>typeof b[S]=="string"&&typeof y[S]=="string"&&b[S]===y[S]))||l[v].push(y)}}}}return t.$$normalized=!0,e}const W_={name:"generic",match(){return!0},normalize(e){const{spec:t}=p2({spec:e});return t},async resolve(e){return f2(e)}};async function Ure(e){return f2(e)}const Vre=e=>{try{const{swagger:t}=e;return t==="2.0"}catch{return!1}},U8=e=>{try{const{openapi:t}=e;return typeof t=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},h2=e=>{try{const{openapi:t}=e;return typeof t=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},zre=e=>{try{const{openapi:t}=e;return typeof t=="string"&&/^3\.2\.(?:[1-9]\d*|0)$/.test(t)}catch{return!1}},V8=e=>U8(e)||h2(e)||zre(e),J_={name:"openapi-2",match(e){return Vre(e)},normalize(e){const{spec:t}=p2({spec:e});return t},async resolve(e){return Ure(e)}};async function Wre(e){return f2(e)}const H_={name:"openapi-3-0",match(e){return U8(e)},normalize(e){const{spec:t}=p2({spec:e});return t},async resolve(e){return Wre(e)}},Jre=e=>{try{const t=e.startsWith("#")?e.slice(1):e;return decodeURIComponent(t)}catch{return e}},Wn=e=>{const t=e.indexOf("#"),r=t===-1?"#":e.substring(t);return Jre(r)};function gu(){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]}
56,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(){let t="";return t+=`; JavaScript Object Notation (JSON) Pointer ABNF syntax 57`,t+=`; https://datatracker.ietf.org/doc/html/rfc6901 58`,t+=`json-pointer = *( slash reference-token ) ; MODIFICATION: surrogate text rule used 59`,t+=`reference-token = *( unescaped / escaped ) 60`,t+=`unescaped = %x00-2E / %x30-7D / %x7F-10FFFF 61`,t+=` ; %x2F ('/') and %x7E ('~') are excluded from 'unescaped' 62`,t+=`escaped = "~" ( "0" / "1" ) 63`,t+=` ; representing '~' and '/', respectively 64`,t+=` 65`,t+=`; https://datatracker.ietf.org/doc/html/rfc6901#section-4 66`,t+=`array-location = array-index / array-dash 67`,t+=`array-index = %x30 / ( %x31-39 *(%x30-39) ) 68`,t+=` ; "0", or digits without a leading "0" 69`,t+=`array-dash = "-" 70`,t+=` 71`,t+=`; Surrogate named rules 72`,t+=`slash = "/" 73`,t}}const Qn=function(){const t=Ot,r=Mn,n=this,s="parser.js: Parser(): ",i=function(){this.state=t.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=t.ACTIVE,this.phraseLength=0}};n.ast=void 0,n.stats=void 0,n.trace=void 0,n.callbacks=[];let o=0,a=0,c=0,u=0,l=0,f,d,h,g,v=new i,y,E,b;const S=()=>{o=0,a=0,c=0,u=0,l=0,f=void 0,d=void 0,h=void 0,g=void 0,v.refresh(),y=void 0,E=void 0,b=void 0},_=()=>{const ne=`${s}initializeCallbacks(): `;let re;for(y=[],E=[],re=0;re<f.length;re+=1)y[re]=void 0;for(re=0;re<d.length;re+=1)E[re]=void 0;let Y;const ie=[];for(re=0;re<f.length;re+=1)ie.push(f[re].lower);for(re=0;re<d.length;re+=1)ie.push(d[re].lower);for(const ce in n.callbacks)if(n.callbacks.hasOwnProperty(ce)){if(re=ie.indexOf(ce.toLowerCase()),re<0)throw new Error(`${ne}syntax callback '${ce}' not a rule or udt name`);if(Y=n.callbacks[ce]?n.callbacks[ce]:void 0,typeof Y=="function"||Y===void 0)re<f.length?y[re]=Y:E[re-f.length]=Y;else throw new Error(`${ne}syntax callback[${ce}] must be function reference or falsy)`)}};n.parse=(ne,re,Y,ie)=>{const ce=`${s}parse(): `;S(),g=r.stringToChars(Y),f=ne.rules,d=ne.udts;const ge=re.toLowerCase();let de;for(const W in f)if(f.hasOwnProperty(W)&&ge===f[W].lower){de=f[W].index;break}if(de===void 0)throw new Error(`${ce}start rule name '${startRule}' not recognized`);_(),n.trace&&n.trace.init(f,d,g),n.stats&&n.stats.init(f,d),n.ast&&n.ast.init(f,d,g),b=ie,h=[{type:t.RNM,index:de}],ee(0,0),h=void 0;let ae=!1;switch(v.state){case t.ACTIVE:throw new Error(`${ce}final state should never be 'ACTIVE'`);case t.NOMATCH:ae=!1;break;case t.EMPTY:case t.MATCH:v.phraseLength===g.length?ae=!0:ae=!1;break;default:throw new Error("unrecognized state")}return{success:ae,state:v.state,stateName:t.idName(v.state),length:g.length,matched:v.phraseLength,maxMatched:l,maxTreeDepth:c,nodeHits:u}};const x=(ne,re)=>{const Y=h[ne];for(let ie=0;ie<Y.children.length&&(ee(Y.children[ie],re),v.state===t.NOMATCH);ie+=1);},A=(ne,re)=>{let Y,ie,ce,ge;const de=h[ne];n.ast&&(ie=n.ast.getLength()),Y=!0,ce=re,ge=0;for(let ae=0;ae<de.children.length;ae+=1)if(ee(de.children[ae],ce),v.state===t.NOMATCH){Y=!1;break}else ce+=v.phraseLength,ge+=v.phraseLength;Y?(v.state=ge===0?t.EMPTY:t.MATCH,v.phraseLength=ge):(v.state=t.NOMATCH,v.phraseLength=0,n.ast&&n.ast.setLength(ie))},O=(ne,re)=>{let Y,ie,ce,ge;const de=h[ne];if(de.max===0){v.state=t.EMPTY,v.phraseLength=0;return}for(ie=re,ce=0,ge=0,n.ast&&(Y=n.ast.getLength());!(ie>=g.length||(ee(ne+1,ie),v.state===t.NOMATCH)||v.state===t.EMPTY||(ge+=1,ce+=v.phraseLength,ie+=v.phraseLength,ge===de.max)););v.state===t.EMPTY||ge>=de.min?(v.state=ce===0?t.EMPTY:t.MATCH,v.phraseLength=ce):(v.state=t.NOMATCH,v.phraseLength=0,n.ast&&n.ast.setLength(Y))},I=(ne,re,Y,ie)=>{if(re.phraseLength>Y){let ce=`${s}
73opRNM(${ne.name}): callback function error: `;throw ce+=`sysData.phraseLength: ${re.phraseLength}`,ce+=` must be <= remaining chars: ${Y}`,new Error(ce)}switch(re.state){case t.ACTIVE:if(!ie)throw new Error(`${s}opRNM(${ne.name}): callback function return error. ACTIVE state not allowed.`);break;case t.EMPTY:re.phraseLength=0;break;case t.MATCH:re.phraseLength===0&&(re.state=t.EMPTY);break;case t.NOMATCH:re.phraseLength=0;break;default:throw new Error(`${s}opRNM(${ne.name}): callback function return error. Unrecognized return state: ${re.state}`)}},R=(ne,re)=>{let Y,ie,ce;const ge=h[ne],de=f[ge.index],ae=y[de.index];if(o||(ie=n.ast&&n.ast.ruleDefined(ge.index),ie&&(Y=n.ast.getLength(),n.ast.down(ge.index,f[ge.index].name))),ae){const W=g.length-re;ae(v,g,re,b),I(de,v,W,!0),v.state===t.ACTIVE&&(ce=h,h=de.opcodes,ee(0,re),h=ce,ae(v,g,re,b),I(de,v,W,!1))}else ce=h,h=de.opcodes,ee(0,re),h=ce;o||ie&&(v.state===t.NOMATCH?n.ast.setLength(Y):n.ast.up(ge.index,de.name,re,v.phraseLength))},$=(ne,re)=>{const Y=h[ne];v.state=t.NOMATCH,re<g.length&&Y.min<=g[re]&&g[re]<=Y.max&&(v.state=t.MATCH,v.phraseLength=1)},M=(ne,re)=>{const Y=h[ne],ie=Y.string.length;if(v.state=t.NOMATCH,re+ie<=g.length){for(let ce=0;ce<ie;ce+=1)if(g[re+ce]!==Y.string[ce])return;v.state=t.MATCH,v.phraseLength=ie}},q=(ne,re)=>{let Y;const ie=h[ne];v.state=t.NOMATCH;const ce=ie.string.length;if(ce===0){v.state=t.EMPTY;return}if(re+ce<=g.length){for(let ge=0;ge<ce;ge+=1)if(Y=g[re+ge],Y>=65&&Y<=90&&(Y+=32),Y!==ie.string[ge])return;v.state=t.MATCH,v.phraseLength=ce}},N=(ne,re,Y)=>{if(re.phraseLength>Y){let ie=`${s}opUDT(${ne.name}): callback function error: `;throw ie+=`sysData.phraseLength: ${re.phraseLength}`,ie+=` must be <= remaining chars: ${Y}`,new Error(ie)}switch(re.state){case t.ACTIVE:throw new Error(`${s}opUDT(${ne.name}) ACTIVE state return not allowed.`);case t.EMPTY:if(ne.empty)re.phraseLength=0;else throw new Error(`${s}opUDT(${ne.name}) may not return EMPTY.`);break;case t.MATCH:if(re.phraseLength===0)if(ne.empty)re.state=t.EMPTY;else throw new Error(`${s}opUDT(${ne.name}) may not return EMPTY.`);break;case t.NOMATCH:re.phraseLength=0;break;default:throw new Error(`${s}opUDT(${ne.name}): callback function return error. Unrecognized return state: ${re.state}`)}},U=(ne,re)=>{let Y,ie,ce;const ge=h[ne],de=d[ge.index];v.UdtIndex=de.index,o||(ce=n.ast&&n.ast.udtDefined(ge.index),ce&&(ie=f.length+ge.index,Y=n.ast.getLength(),n.ast.down(ie,de.name)));const ae=g.length-re;E[ge.index](v,g,re,b),N(de,v,ae),o||ce&&(v.state===t.NOMATCH?n.ast.setLength(Y):n.ast.up(ie,de.name,re,v.phraseLength))},X=(ne,re)=>{switch(o+=1,ee(ne+1,re),o-=1,v.phraseLength=0,v.state){case t.EMPTY:v.state=t.EMPTY;break;case t.MATCH:v.state=t.EMPTY;break;case t.NOMATCH:v.state=t.NOMATCH;break;default:throw new Error(`opAND: invalid state ${v.state}`)}},J=(ne,re)=>{switch(o+=1,ee(ne+1,re),o-=1,v.phraseLength=0,v.state){case t.EMPTY:case t.MATCH:v.state=t.NOMATCH;break;case t.NOMATCH:v.state=t.EMPTY;break;default:throw new Error(`opNOT: invalid state ${v.state}`)}},ee=(ne,re)=>{const Y=`${s}opExecute(): `,ie=h[ne];switch(u+=1,a>c&&(c=a),a+=1,v.refresh(),n.trace&&n.trace.down(ie,re),ie.type){case t.ALT:x(ne,re);break;case t.CAT:A(ne,re);break;case t.REP:O(ne,re);break;case t.RNM:R(ne,re);break;case t.TRG:$(ne,re);break;case t.TBS:M(ne,re);break;case t.TLS:q(ne,re);break;case t.UDT:U(ne,re);break;case t.AND:X(ne,re);break;case t.NOT:J(ne,re);break;default:throw new Error(`${Y}unrecognized operator`)}o||re+v.phraseLength>l&&(l=re+v.phraseLength),n.stats&&n.stats.collect(ie,v),n.trace&&n.trace.up(ie,v.state,re,v.phraseLength),a-=1}},d2=function(){const t="parser.js: Ast()): ",r=Ot,n=Mn,s=this;let i,o,a,c=0;const u=[],l=[],f=[];s.callbacks=[],s.init=(h,g,v)=>{l.length=0,f.length=0,c=0,i=h,o=g,a=v;let y;const E=[];for(y=0;y<i.length;y+=1)E.push(i[y].lower);for(y=0;y<o.length;y+=1)E.push(o[y].lower);for(c=i.length+o.length,y=0;y<c;y+=1)u[y]=void 0;for(const b in s.callbacks)if(s.callbacks.hasOwnProperty(b)){const S=b.toLowerCase();if(y=E.indexOf(S),y<0)throw new Error(`${t}init: node '${b}' not a rule or udt name`);u[y]=s.callbacks[b]}}
73,s.ruleDefined=h=>!!u[h],s.udtDefined=h=>!!u[i.length+h],s.down=(h,g)=>{const v=f.length;return l.push(v),f.push({name:g,thisIndex:v,thatIndex:void 0,state:r.SEM_PRE,callbackIndex:h,phraseIndex:void 0,phraseLength:void 0,stack:l.length}),v},s.up=(h,g,v,y)=>{const E=f.length,b=l.pop();return f.push({name:g,thisIndex:E,thatIndex:b,state:r.SEM_POST,callbackIndex:h,phraseIndex:v,phraseLength:y,stack:l.length}),f[b].thatIndex=E,f[b].phraseIndex=v,f[b].phraseLength=y,E},s.translate=h=>{let g,v;for(let y=0;y<f.length;y+=1)v=f[y],g=u[v.callbackIndex],g&&(v.state===r.SEM_PRE?g(r.SEM_PRE,a,v.phraseIndex,v.phraseLength,h):g&&g(r.SEM_POST,a,v.phraseIndex,v.phraseLength,h))},s.setLength=h=>{f.length=h,h>0?l.length=f[h-1].stack:l.length=0},s.getLength=()=>f.length;function d(h){let g="";for(;h-- >0;)g+=" ";return g}s.toXml=()=>{let h="",g=0;return h+=`<?xml version="1.0" encoding="utf-8"?> 74`,h+=`<root nodes="${f.length/2}" characters="${a.length}"> 75`,h+=`<!-- input string --> 76`,h+=d(g+2),h+=n.charsToString(a),h+=` 77`,f.forEach(v=>{v.state===r.SEM_PRE?(g+=1,h+=d(g),h+=`<node name="${v.name}" index="${v.phraseIndex}" length="${v.phraseLength}"> 78`,h+=d(g+2),h+=n.charsToString(a,v.phraseIndex,v.phraseLength),h+=` 79`):(h+=d(g),h+=`</node><!-- name="${v.name}" --> 80`,g-=1)}),h+=`</root> 81`,h}},Hre=function(){const t=Ot,r=Mn,n="parser.js: Trace(): ";let s,i,o,a="",c=0;const u=100,l=this,f=h=>{let g="",v=0;if(h>=0)for(;h--;)v+=1,v===5?(g+="|",v=0):g+=".";return g};l.init=(h,g,v)=>{i=h,o=g,s=v};const d=h=>{let g;switch(h.type){case t.ALT:g="ALT";break;case t.CAT:g="CAT";break;case t.REP:h.max===1/0?g=`REP(${h.min},inf)`:g=`REP(${h.min},${h.max})`;break;case t.RNM:g=`RNM(${i[h.index].name})`;break;case t.TRG:g=`TRG(${h.min},${h.max})`;break;case t.TBS:h.string.length>6?g=`TBS(${r.charsToString(h.string,0,3)}...)`:g=`TBS(${r.charsToString(h.string,0,6)})`;break;case t.TLS:h.string.length>6?g=`TLS(${r.charsToString(h.string,0,3)}...)`:g=`TLS(${r.charsToString(h.string,0,6)})`;break;case t.UDT:g=`UDT(${o[h.index].name})`;break;case t.AND:g="AND";break;case t.NOT:g="NOT";break;default:throw new Error(`${n}Trace: opName: unrecognized opcode`)}return g};l.down=(h,g)=>{const v=f(c),y=Math.min(u,s.length-g);let E=r.charsToString(s,g,y);y<s.length-g&&(E+="..."),E=`${v}|-|[${d(h)}]${E} 82`,a+=E,c+=1},l.up=(h,g,v,y)=>{const E=`${n}trace.up: `;c-=1;const b=f(c);let S,_,x;switch(g){case t.EMPTY:x="|E|",_="''";break;case t.MATCH:x="|M|",S=Math.min(u,y),S<y?_=`'${r.charsToString(s,v,S)}...'`:_=`'${r.charsToString(s,v,S)}'`;break;case t.NOMATCH:x="|N|",_="";break;default:throw new Error(`${E} unrecognized state`)}_=`${b}${x}[${d(h)}]${_} 83`,a+=_},l.displayTrace=()=>a},Kre=function(){const t=Ot,r="parser.js: Stats(): ";let n,s,i;const o=[],a=[],c=[];this.init=(y,E)=>{n=y,s=E,g()},this.collect=(y,E)=>{v(i,E.state,E.phraseLength),v(o[y.type],E.state,E.phraseLength),y.type===t.RNM&&v(a[y.index],E.state,E.phraseLength),y.type===t.UDT&&v(c[y.index],E.state,E.phraseLength)},this.displayStats=()=>{let y="";const E={match:0,empty:0,nomatch:0,total:0},b=(S,_,x,A,O)=>{E.match+=_,E.empty+=x,E.nomatch+=A,E.total+=O;const I=u(_),R=u(x),$=u(A),M=u(O);return`${S} | ${I} | ${R} | ${$} | ${M} | 84`};return y+=` OPERATOR STATS 85`,y+=` | MATCH | EMPTY | NOMATCH | TOTAL | 86`,y+=b(" ALT",o[t.ALT].match,o[t.ALT].empty,o[t.ALT].nomatch,o[t.ALT].total),y+=b(" CAT",o[t.CAT].match,o[t.CAT].empty,o[t.CAT].nomatch,o[t.CAT].total),y+=b(" REP",o[t.REP].match,o[t.REP].empty,o[t.REP].nomatch,o[t.REP].total),y+=b(" RNM",o[t.RNM].match,o[t.RNM].empty,o[t.RNM].nomatch,o[t.RNM].total),y+=b(" TRG",o[t.TRG].match,o[t.TRG].empty,o[t.TRG].nomatch,o[t.TRG].total),y+=b(" TBS",o[t.TBS].match,o[t.TBS].empty,o[t.TBS].nomatch,o[t.TBS].total),y+=b(" TLS",o[t.TLS].match,o[t.TLS].empty,o[t.TLS].nomatch,o[t.TLS].total),y+=b(" UDT",o[t.UDT].match,o[t.UDT].empty,o[t.UDT].nomatch,o[t.UDT].total),y+=b(" AND",o[t.AND].match,o[t.AND].empty,o[t.AND].nomatch,o[t.AND].total),y+=b(" NOT",o[t.NOT].match,o[t.NOT].empty,o[t.NOT].nomatch,o[t.NOT].total),y+=b("TOTAL",E.match,E.empty,E.nomatch,E.total),y},this.displayHits=y=>{let E="";const b=(S,_,x,A,O)=>{i.match+=S,i.empty+=_,i.nomatch+=x,i.total+=A;const I=u(S),R=u(_),$=u(x),M=u(A);return`| ${I} | ${R} | ${$} | ${M} | ${O} 87`};typeof y=="string"&&y.toLowerCase()[0]==="a"?(a.sort(l),c.sort(l),E+=` RULES/UDTS ALPHABETICALLY 88`):typeof y=="string"&&y.toLowerCase()[0]==="i"?(a.sort(d),c.sort(d),E+=` RULES/UDTS BY INDEX 89`):(a.sort(f),c.sort(f),E+=` RULES/UDTS BY HIT COUNT 90`),E+=`| MATCH | EMPTY | NOMATCH | TOTAL | NAME 91`;for(let S=0;S<a.length;S+=1){let _=a[S];_.total&&(E+=b(_.match,_.empty,_.nomatch,_.total,_.name))}for(let S=0;S<c.length;S+=1){let _=c[S];_.total&&(E+=b(_.match,_.empty,_.nomatch,_.total,_.name))}return E};const u=y=>y<10?` ${y}`:y<100?` ${y}`:y<1e3?` ${y}`:y<1e4?` ${y}`:y<1e5?` ${y}`:y<1e6?` ${y}`:`${y}`,l=(y,E)=>y.lower<E.lower?-1:y.lower>E.lower?1:0,f=(y,E)=>y.total<E.total?1:y.total>E.total?-1:l(y,E),d=(y,E)=>y.index<E.index?-1:y.index>E.index?1:0,h=function(){this.empty=0,this.match=0,this.nomatch=0,this.total=0},g=()=>{o.length=0,i=new h,o[t.ALT]=new h,o[t.CAT]=new h,o[t.REP]=new h,o[t.RNM]=new h,o[t.TRG]=new h,o[t.TBS]=new h,o[t.TLS]=new h,o[t.UDT]=new h,o[t.AND]=new h,o[t.NOT]=new h,a.length=0;for(let y=0;y<n.length;y+=1)a.push({empty:0,match:0,nomatch:0,total:0,name:n[y].name,lower:n[y].lower,index:n[y].index});if(s.length>0){c.length=0;for(let y=0;y<s.length;y+=1)c.push({empty:0,match:0,nomatch:0,total:0,name:s[y].name,lower:s[y].lower,index:s[y].index})}},v=(y,E)=>{switch(y.total+=1,E){case t.EMPTY:y.empty+=1;break;case t.MATCH:y.match+=1;break;case t.NOMATCH:y.nomatch+=1;break;default:throw new Error(`${r}collect(): incStat(): unrecognized state: ${E}`)}}},Mn={stringToChars:e=>[...e].map(t=>t.codePointAt(0)),charsToString:(e,t,r)=>{let n=e;for(;!(t===void 0||t<0);){if(r===void 0){n=e.slice(t);break}if(r<=0)return"";n=e.slice(t,t+r);break}return String.fromCodePoint(...n)}},Ot={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:e=>{switch(e){case Ot.ALT:return"ALT";case Ot.CAT:return"CAT";case Ot.REP:return"REP";case Ot.RNM:return"RNM";case Ot.TRG:return"TRG";case Ot.TBS:return"TBS";case Ot.TLS:return"TLS";case Ot.UDT:return"UDT";case Ot.AND:return"AND";case Ot.NOT:return"NOT";case Ot.ACTIVE:return"ACTIVE";
91case Ot.EMPTY:return"EMPTY";case Ot.MATCH:return"MATCH";case Ot.NOMATCH:return"NOMATCH";case Ot.SEM_PRE:return"SEM_PRE";case Ot.SEM_POST:return"SEM_POST";case Ot.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};class Oi extends Error{constructor(t,r=void 0){if(super(t,r),this.name=this.constructor.name,typeof t=="string"&&(this.message=t),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(t).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} 92CAUSE: ${n.stack}`)}if(r!=null&&typeof r=="object"){const{cause:n,...s}=r;Object.assign(this,s)}}}class z8 extends Oi{}const m1=e=>(t,r,n,s,i)=>{if(!(typeof i=="object"&&i!==null&&!Array.isArray(i)))throw new z8("parser's user data must be an object");if(t===Ot.SEM_PRE){const o={type:e,text:Mn.charsToString(r,n,s),start:n,length:s,children:[]};i.stack.length>0?i.stack[i.stack.length-1].children.push(o):i.root=o,i.stack.push(o)}t===Ot.SEM_POST&&i.stack.pop()};class Gre extends d2{constructor(){super(),this.callbacks["json-pointer"]=m1("json-pointer"),this.callbacks["reference-token"]=m1("reference-token"),this.callbacks.slash=m1("text")}getTree(){const t={stack:[],root:null};return this.translate(t),delete t.stack,t}}const Yre=e=>{if(typeof e!="string")throw new TypeError("Reference token must be a string");return e.replace(/~1/g,"/").replace(/~0/g,"~")};class Xre extends Gre{getTree(){const{root:t}=super.getTree();return t.children.filter(({type:r})=>r==="reference-token").map(({text:r})=>Yre(r))}}class Zre extends Array{toString(){return this.map(t=>`"${String(t)}"`).join(", ")}}class Qre extends Hre{inferExpectations(){const t=this.displayTrace().split(` 93`),r=new Set;let n=-1;for(let s=0;s<t.length;s++){const i=t[s];if(i.includes("M|")){const o=i.match(/]'(.*)'$/);o&&o[1]&&(n=s)}if(s>n){const o=i.match(/N\|\[TLS\(([^)]+)\)]/);o&&r.add(o[1])}}return new Zre(...r)}}const ene=new gu,tne=(e,{translator:t=new Xre,stats:r=!1,trace:n=!1}={})=>{if(typeof e!="string")throw new TypeError("JSON Pointer must be a string");try{const s=new Qn;t&&(s.ast=t),r&&(s.stats=new Kre),n&&(s.trace=new Qre);const i=s.parse(ene,"json-pointer",e);return{result:i,tree:i.success&&t?s.ast.getTree():void 0,stats:s.stats,trace:s.trace}}catch(s){throw new z8("Unexpected error during JSON Pointer parsing",{cause:s,jsonPointer:e})}};new gu;new Qn;new gu;new Qn;const rne=new gu,nne=new Qn,sne=e=>{if(typeof e!="string")return!1;try{return nne.parse(rne,"array-index",e).success}catch{return!1}},ine=new gu,one=new Qn,ane=e=>{if(typeof e!="string")return!1;try{return one.parse(ine,"array-dash",e).success}catch{return!1}},cne=e=>{if(typeof e!="string"&&typeof e!="number")throw new TypeError("Reference token must be a string or number");return String(e).replace(/~/g,"~0").replace(/\//g,"~1")};class une extends Oi{}const W8=e=>{if(!Array.isArray(e))throw new TypeError("Reference tokens must be a list of strings or numbers");try{return e.length===0?"":`/${e.map(t=>{if(typeof t!="string"&&typeof t!="number")throw new TypeError("Reference token must be a string or number");return cne(String(t))}).join("/")}`}catch(t){throw new une("Unexpected error during JSON Pointer compilation",{cause:t,referenceTokens:e})}};var Rn,la,fa;class lne{constructor(t,r={}){Js(this,Rn);Js(this,la);Js(this,fa);Bo(this,Rn,t),nr(this,Rn).steps=[],nr(this,Rn).failed=!1,nr(this,Rn).failedAt=-1,nr(this,Rn).message=`JSON Pointer "${r.jsonPointer}" was successfully evaluated against the provided value`,nr(this,Rn).context={...r,realm:r.realm.name},Bo(this,la,[]),Bo(this,fa,r.realm)}step({referenceToken:t,input:r,output:n,success:s=!0,reason:i}){const o=nr(this,la).length;nr(this,la).push(t);const a={referenceToken:t,referenceTokenPosition:o,input:r,inputType:nr(this,fa).isObject(r)?"object":nr(this,fa).isArray(r)?"array":"unrecognized",output:n,success:s};i&&(a.reason=i),nr(this,Rn).steps.push(a),s||(nr(this,Rn).failed=!0,nr(this,Rn).failedAt=o,nr(this,Rn).message=i)}}Rn=new WeakMap,la=new WeakMap,fa=new WeakMap;class J8{constructor(){G(this,"name","")}isArray(t){throw new Oi("Realm.isArray(node) must be implemented in a subclass")}isObject(t){throw new Oi("Realm.isObject(node) must be implemented in a subclass")}sizeOf(t){throw new Oi("Realm.sizeOf(node) must be implemented in a subclass")}has(t,r){throw new Oi("Realm.has(node) must be implemented in a subclass")}evaluate(t,r){throw new Oi("Realm.evaluate(node) must be implemented in a subclass")}}class fo extends Oi{}class sa extends fo{}class fne extends J8{constructor(){super(...arguments);G(this,"name","json")}isArray(r){return Array.isArray(r)}isObject(r){return typeof r=="object"&&r!==null&&!this.isArray(r)}sizeOf(r){return this.isArray(r)?r.length:this.isObject(r)?Object.keys(r).length:0}has(r,n){if(this.isArray(r)){const s=Number(n),i=s>>>0;if(s!==i)throw new sa(`Invalid array index "${n}": index must be an unsinged 32-bit integer`,{referenceToken:n,currentValue:r,realm:this.name});return i<this.sizeOf(r)&&Object.prototype.hasOwnProperty.call(r,s)}return this.isObject(r)?Object.prototype.hasOwnProperty.call(r,n):!1}evaluate(r,n){return this.isArray(r)?r[Number(n)]:r[n]}}class pne extends fo{}class H8 extends fo{}const hne=(e,t,{strictArrays:r=!0,strictObjects:n=!0,realm:s=new fne,trace:i=!0}
93={})=>{const{result:o,tree:a,trace:c}=tne(t,{trace:!!i}),u=typeof i=="object"&&i!==null?new lne(i,{jsonPointer:t,referenceTokens:a,strictArrays:r,strictObjects:n,realm:s,value:e}):null;try{let l;if(!o.success){let f=`Invalid JSON Pointer: "${t}". Syntax error at position ${o.maxMatched}`;throw f+=c?`, expected ${c.inferExpectations()}`:"",new fo(f,{jsonPointer:t,currentValue:e,realm:s.name})}return a.reduce((f,d,h)=>{if(s.isArray(f)){if(ane(d)){if(r)throw new sa(`Invalid array index "-" at position ${h} in "${t}". The "-" token always refers to a nonexistent element during evaluation`,{jsonPointer:t,referenceTokens:a,referenceToken:d,referenceTokenPosition:h,currentValue:f,realm:s.name});return l=s.evaluate(f,String(s.sizeOf(f))),u==null||u.step({referenceToken:d,input:f,output:l}),l}if(!sne(d))throw new sa(`Invalid array index "${d}" at position ${h} in "${t}": index MUST be "0", or digits without a leading "0"`,{jsonPointer:t,referenceTokens:a,referenceToken:d,referenceTokenPosition:h,currentValue:f,realm:s.name});const g=Number(d);if(!Number.isSafeInteger(g))throw new sa(`Invalid array index "${d}" at position ${h} in "${t}": index must be a safe integer`,{jsonPointer:t,referenceTokens:a,referenceToken:d,referenceTokenPosition:h,currentValue:f,realm:s.name});if(!s.has(f,d)&&r)throw new sa(`Invalid array index "${d}" at position ${h} in "${t}": index not found in array`,{jsonPointer:t,referenceTokens:a,referenceToken:d,referenceTokenPosition:h,currentValue:f,realm:s.name});return l=s.evaluate(f,d),u==null||u.step({referenceToken:d,input:f,output:l}),l}if(s.isObject(f)){if(!s.has(f,d)&&n)throw new H8(`Invalid object key "${d}" at position ${h} in "${t}": key not found in object`,{jsonPointer:t,referenceTokens:a,referenceToken:d,referenceTokenPosition:h,currentValue:f,realm:s.name});return l=s.evaluate(f,d),u==null||u.step({referenceToken:d,input:f,output:l}),l}throw new pne(`Invalid reference token "${d}" at position ${h} in "${t}": cannot be applied to a non-object/non-array value`,{jsonPointer:t,referenceTokens:a,referenceToken:d,referenceTokenPosition:h,currentValue:f,realm:s.name})},e)}catch(l){throw u==null||u.step({referenceToken:l.referenceToken,input:l.currentValue,success:!1,reason:l.message}),l instanceof fo?l:new fo("Unexpected error during JSON Pointer evaluation",{cause:l,jsonPointer:t,referenceTokens:a})}};class dne extends J8{constructor(){super(...arguments);G(this,"name","apidom")}isArray(r){return Hr(r)}isObject(r){return Dt(r)}sizeOf(r){return this.isArray(r)||this.isObject(r)?r.length:0}has(r,n){if(this.isArray(r)){const s=Number(n),i=s>>>0;if(s!==i)throw new sa(`Invalid array index "${n}": index must be an unsinged 32-bit integer`,{referenceToken:n,currentValue:r,realm:this.name});return i<this.sizeOf(r)}if(this.isObject(r)){const s=r.keys(),i=new Set(s);if(s.length!==i.size)throw new H8(`Object key "${n}" is not unique â JSON Pointer requires unique member names`,{referenceToken:n,currentValue:r,realm:this.name});return r.hasKey(n)}return!1}evaluate(r,n){return this.isArray(r)?r.get(Number(n)):r.get(n)}}const as=(e,t,r={})=>hne(e,t,{...r,realm:new dne});class m2 extends ste{filterByFormat(t="generic"){const r=t==="generic"?"openapi;version":t;return this.filter(n=>n.includes(r))}findBy(t="3.1.0",r="generic"){const n=r==="generic"?`vnd.oai.openapi;version=${t}`:`vnd.oai.openapi+${r};version=${t}`;return this.find(i=>i.includes(n))||this.unknownMediaType}latest(t="generic"){return Lp(this.filterByFormat(t))}}const va=new m2("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");let yu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="callback"}},vu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(t){this.set("schemas",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get requestBodies(){return this.get("requestBodies")}set requestBodies(t){this.set("requestBodies",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(t){this.set("securitySchemes",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}},bu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="contact"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}get email(){return this.get("email")}set email(t){this.set("email",t)}},Eu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(t){this.set("propertyName",t)}get mapping(){return this.get("mapping")}set mapping(t){this.set("mapping",t)}},Zp=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(t){this.set("contentType",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(t){this.set("allowedReserved",t)}},Su=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="example"}get summary(){return this.get("summary")}
93set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get value(){return this.get("value")}set value(t){this.set("value",t)}get externalValue(){return this.get("externalValue")}set externalValue(t){this.set("externalValue",t)}},_u=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(t){this.set("description",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}},ka=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new ve.BooleanElement(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new ve.BooleanElement(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}};Object.defineProperty(ka.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});let wu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get termsOfService(){return this.get("termsOfService")}set termsOfService(t){this.set("termsOfService",t)}get contact(){return this.get("contact")}set contact(t){this.set("contact",t)}get license(){return this.get("license")}set license(t){this.set("license",t)}get version(){return this.get("version")}set version(t){this.set("version",t)}},xu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="license"}get name(){return this.get("name")}set name(t){this.set("name",t)}get url(){return this.get("url")}set url(t){this.set("url",t)}},Au=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(t){this.set("operationRef",t)}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get operation(){if(ht(this.operationRef)){var t;return(t=this.operationRef)===null||t===void 0?void 0:t.meta.get("operation")}if(ht(this.operationId)){var r;return(r=this.operationId)===null||r===void 0?void 0:r.meta.get("operation")}}set operation(t){this.set("operation",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get server(){return this.get("server")}set server(t){this.set("server",t)}},Ou=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get encoding(){return this.get("encoding")}set encoding(t){this.set("encoding",t)}},Qp=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(t){this.set("authorizationUrl",t)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(t){this.set("tokenUrl",t)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(t){this.set("refreshUrl",t)}get scopes(){return this.get("scopes")}set scopes(t){this.set("scopes",t)}},eh=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}
93set implicit(t){this.set("implicit",t)}get password(){return this.get("password")}set password(t){this.set("password",t)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(t){this.set("clientCredentials",t)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(t){this.set("authorizationCode",t)}},Cu=class extends ve.StringElement{constructor(t,r,n){super(t,r,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}};class th extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}}let Ru=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="operation"}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}set externalDocs(t){this.set("externalDocs",t)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(t){this.set("operationId",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}get responses(){return this.get("responses")}set responses(t){this.set("responses",t)}get callbacks(){return this.get("callbacks")}set callbacks(t){this.set("callbacks",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new ve.BooleanElement(!1)}set deprecated(t){this.set("deprecated",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get servers(){return this.get("severs")}set servers(t){this.set("servers",t)}},Na=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="parameter"}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get required(){return this.hasKey("required")?this.get("required"):new ve.BooleanElement(!1)}set required(t){this.set("required",t)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new ve.BooleanElement(!1)}set deprecated(t){this.set("deprecated",t)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(t){this.set("allowEmptyValue",t)}get style(){return this.get("style")}set style(t){this.set("style",t)}get explode(){return this.get("explode")}set explode(t){this.set("explode",t)}get allowReserved(){return this.get("allowReserved")}set allowReserved(t){this.set("allowReserved",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}};Object.defineProperty(Na.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});let Tu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get GET(){return this.get("get")}set GET(t){this.set("GET",t)}get PUT(){return this.get("put")}set PUT(t){this.set("PUT",t)}get POST(){return this.get("post")}set POST(t){this.set("POST",t)}get DELETE(){return this.get("delete")}set DELETE(t){this.set("DELETE",t)}get OPTIONS(){return this.get("options")}set OPTIONS(t){this.set("OPTIONS",t)}get HEAD(){return this.get("head")}set HEAD(t){this.set("HEAD",t)}get PATCH(){return this.get("patch")}set PATCH(t){this.set("PATCH",t)}get TRACE(){return this.get("trace")}set TRACE(t){this.set("TRACE",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get parameters(){return this.get("parameters")}set parameters(t){this.set("parameters",t)}},Iu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="paths"}},Pu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}},ju=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="requestBody"}get description(){return this.get("description")}set description(t){this.set("description",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get required(){return this.hasKey("required")?this.get("required"):new ve.BooleanElement(!1)}set required(t){this.set("required",t)}},ku=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="response"}get description(){return this.get("description")}set description(t){this.set("description",t)}get headers(){return this.get("headers")}set headers(t){this.set("headers",t)}get contentProp(){return this.get("content")}set contentProp(t){this.set("content",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}},Nu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="responses"}get default(){return this.get("default")}set default(t){this.set("default",t)}},Ma=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(t){this.set("id",t)}get $schema(){return this.get("$schema")}set $schema(t){this.set("$schema",t)}get multipleOf(){return this.get("multipleOf")}set multipleOf(t){this.set("multipleOf",t)}get maximum(){return this.get("maximum")}set maximum(t){this.set("maximum",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get minimum(){return this.get("minimum")}set minimum(t){this.set("minimum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get maxLength(){return this.get("maxLength")}set maxLength(t){this.set("maxLength",t)}get minLength(){return this.get("minLength")}set minLength(t){this.set("minLength",t)}get pattern(){return this.get("pattern")}set pattern(t){this.set("pattern",t)}get additionalItems(){return this.get("additionalItems")}set additionalItems(t){this.set("additionalItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get maxItems(){return this.get("maxItems")}set maxItems(t){this.set("maxItems",t)}get minItems(){return this.get("minItems")}set minItems(t){this.set("minItems",t)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(t){this.set("uniqueItems",t)}get maxProperties(){return this.get("maxProperties")}set maxProperties(t){this.set("maxProperties",t)}get minProperties(){return this.get("minProperties")}set minProperties(t){this.set("minProperties",t)}get required(){return this.get("required")}set required(t){this.set("required",t)}get properties(){return this.get("properties")}set properties(t){this.set("properties",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get patternProperties(){return this.get("patternProperties")}set patternProperties(t){this.set("patternProperties",t)}get dependencies(){return this.get("dependencies")}set dependencies(t){this.set("dependencies",t)}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}get allOf(){return this.get("allOf")}set allOf(t){this.set("allOf",t)}get anyOf(){return this.get("anyOf")}set anyOf(t){this.set("anyOf",t)}get oneOf(){return this.get("oneOf")}set oneOf(t){this.set("oneOf",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get definitions(){return this.get("definitions")}set definitions(t){this.set("definitions",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get format(){return this.get("format")}set format(t){this.set("format",t)}get base(){return this.get("base")}set base(t){this.set("base",t)}get links(){return this.get("links")}set links(t){this.set("links",t)}get media(){return this.get("media")}set media(t){this.set("media",t)}get readOnly(){return this.get("readOnly")}set readOnly(t){this.set("readOnly",t)}};class Da extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}}class Mu extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(t){this.set("binaryEncoding",t)}get type(){return this.get("type")}set type(t){this.set("type",t)}}let Du=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="linkDescription"}get href(){return this.get("href")}set href(t){this.set("href",t)}get rel(){return this.get("rel")}set rel(t){this.set("rel",t)}get title(){return this.get("title")}set title(t){this.set("title",t)}get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get mediaType(){return this.get("mediaType")}set mediaType(t){this.set("mediaType",t)}get method(){return this.get("method")}set method(t){this.set("method",t)}get encType(){return this.get("encType")}set encType(t){this.set("encType",t)}get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}};const mne={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft4",Ma),t.register("jSONReference",Da),t.register("media",Mu),t.register("linkDescription",Du),t}},$u=e=>{if(yr(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},gne={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...$s};let K8=class{constructor(t){G(this,"element");Object.assign(this,t)}copyMetaAndAttributes(t,r){(t.meta.length>0||r.meta.length>0)&&(r.meta=Kn(r.meta,t.meta)),Pa(t)&&e2(r,t),(t.attributes.length>0||t.meta.length>0)&&(r.attributes=Kn(r.attributes,t.attributes))}},Ft=class extends K8{enter(t){return this.element=Xe(t),kt}};const G8=(e,t,r=[])=>{const n=Object.getOwnPropertyDescriptors(t);for(let s of r)delete n[s];Object.defineProperties(e,n)},Ac=(e,t=[e])=>{const r=Object.getPrototypeOf(e);return r===null?t:Ac(r,[...t,r])},yne=(...e)=>{if(e.length===0)return;let t;const r=e.map(n=>Ac(n));for(;r.every(n=>n.length>0);){const n=r.map(i=>i.pop()),s=n[0];if(n.every(i=>i===s))t=s;else break}return t},X3=(e,t,r=[])=>{var n;const s=(n=yne(...e))!==null&&n!==void 0?n:Object.prototype,i=Object.create(s),o=Ac(s);for(let a of e){let c=Ac(a);for(let u=c.length-1;u>=0;u--){let l=c[u];o.indexOf(l)===-1&&(G8(i,l,["constructor",...r]),o.push(l))}}return i.constructor=t,i},K_=e=>e.filter((t,r)=>e.indexOf(t)==r),Y8=new WeakMap,vne=e=>Y8.get(e),bne=(e,t)=>Y8.set(e,t),Z3=(e,t)=>{var r,n;const s=K_([...Object.getOwnPropertyNames(e),...Object.getOwnPropertyNames(t)]),i={};for(let o of s)i[o]=K_([...(r=e==null?void 0:e[o])!==null&&r!==void 0?r:[],...(n=t==null?void 0:t[o])!==null&&n!==void 0?n:[]]);return i},Q3=(e,t)=>{var r,n,s,i;return{property:Z3((r=e==null?void 0:e.property)!==null&&r!==void 0?r:{},(n=t==null?void 0:t.property)!==null&&n!==void 0?n:{}),method:Z3((s=e==null?void 0:e.method)!==null&&s!==void 0?s:{},(i=t==null?void 0:t.method)!==null&&i!==void 0?i:{})}},Ene=(e,t)=>{var r,n,s,i,o,a;return{class:K_([...(r=e==null?void 0:e.class)!==null&&r!==void 0?r:[],...(n=t==null?void 0:t.class)!==null&&n!==void 0?n:[]]),static:Q3((s=e==null?void 0:e.static)!==null&&s!==void 0?s:{},(i=t==null?void 0:t.static)!==null&&i!==void 0?i:{}),instance:Q3((o=e==null?void 0:e.instance)!==null&&o!==void 0?o:{},(a=t==null?void 0:t.instance)!==null&&a!==void 0?a:{})}},Sne=new Map,_ne=(...e)=>{var t;const r=new Set,n=new Set([...e]);for(;n.size>0;)for(let s of n){const i=Ac(s.prototype).map(u=>u.constructor),o=(t=vne(s))!==null&&t!==void 0?t:[],c=[...i,...o].filter(u=>!r.has(u));for(let u of c)n.add(u);r.add(s),n.delete(s)}return[...r]},wne=(...e)=>{const t=_ne(...e).map(r=>Sne.get(r)).filter(r=>!!r);return t.length==0?{}:t.length==1?t[0]:t.reduce((r,n)=>Ene(r,n))};function Be(...e){var t,r,n;const s=e.map(a=>a.prototype);function i(...a){for(const c of e)G8(this,new c(...a))}i.prototype=X3(s,i),Object.setPrototypeOf(i,X3(e,null,["prototype"]));let o=i;{const a=wne(...e);for(let c of(t=a==null?void 0:a.class)!==null&&t!==void 0?t:[]){const u=c(o);u&&(o=u)}e$((r=a==null?void 0:a.static)!==null&&r!==void 0?r:{},o),e$((n=a==null?void 0:a.instance)!==null&&n!==void 0?n:{},o.prototype)}return bne(o,e),o}const e$=(e,t)=>{const r=e.property,n=e.method;if(r)for(let s in r)for(let i of r[s])i(t,s);if(n)for(let s in n)for(let i of n[s])i(t,s,Object.getOwnPropertyDescriptor(t,s))};let Dn=class extends K8{constructor({specObj:r,...n}){super({...n});G(this,"specObj");G(this,"passingOptionsNames",["specObj","parent"]);this.specObj=r}retrievePassingOptions(){return C6(this.passingOptionsNames,this)}retrieveFixedFields(r){const n=Nr(["visitors",...r,"fixedFields"],this.specObj);
93return typeof n=="object"&&n!==null?Object.keys(n):[]}retrieveVisitor(r){return VA(Ao,["visitors",...r],this.specObj)?Nr(["visitors",...r],this.specObj):Nr(["visitors",...r,"$visitor"],this.specObj)}retrieveVisitorInstance(r,n={}){const s=this.retrievePassingOptions(),i=this.retrieveVisitor(r),o={...s,...n};return new i(o)}toRefractedElement(r,n,s={}){const i=this.retrieveVisitorInstance(r,s);return i instanceof Ft&&(i==null?void 0:i.constructor)===Ft?Xe(n):(xr(n,i,s),i.element)}},mo=class extends Dn{constructor({specPath:r,ignoredFields:n,...s}){super({...s});G(this,"specPath");G(this,"ignoredFields");this.specPath=r,this.ignoredFields=n||[]}ObjectElement(r){const n=this.specPath(r),s=this.retrieveFixedFields(n);return r.forEach((i,o,a)=>{if(ht(o)&&s.includes(Ie(o))&&!this.ignoredFields.includes(Ie(o))){const c=this.toRefractedElement([...n,"fixedFields",Ie(o)],i),u=new ve.MemberElement(Xe(o),c);this.copyMetaAndAttributes(a,u),u.classes.push("fixed-field"),this.element.content.push(u)}else this.ignoredFields.includes(Ie(o))||this.element.content.push(Xe(a))}),this.copyMetaAndAttributes(r,this.element),kt}};class Ar{constructor({parent:t}){G(this,"parent");this.parent=t}}const X8=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ma||e(n)&&t("JSONSchemaDraft4",n)&&r("object",n)),g2=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Da||e(n)&&t("JSONReference",n)&&r("object",n)),Z8=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Mu||e(n)&&t("media",n)&&r("object",n)),xne=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Du||e(n)&&t("linkDescription",n)&&r("object",n)),Ane=Object.freeze(Object.defineProperty({__proto__:null,isJSONReferenceElement:g2,isJSONSchemaElement:X8,isLinkDescriptionElement:xne,isMediaElement:Z8},Symbol.toStringTag,{value:"Module"}));let Q8=class extends Be(mo,Ar,Ft){constructor(t){super(t),this.element=new Ma,this.specPath=lt(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(t){return this.handleDialectIdentifier(t),this.handleSchemaIdentifier(t),this.parent=this.element,mo.prototype.ObjectElement.call(this,t)}handleDialectIdentifier(t){if(Bi(this.parent)&&!ht(t.get("$schema")))this.element.setMetaProperty("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(X8(this.parent)&&!ht(t.get("$schema"))){const r=ha(Ie(this.parent.meta.get("inheritedDialectIdentifier")),Ie(this.parent.$schema));this.element.setMetaProperty("inheritedDialectIdentifier",r)}}handleSchemaIdentifier(t,r="id"){const n=this.parent!==void 0?Xe(this.parent.getMetaProperty("ancestorsSchemaIdentifiers",[])):new ve.ArrayElement,s=Ie(t.get(r));zp(s)&&n.push(s),this.element.setMetaProperty("ancestorsSchemaIdentifiers",n)}};const ks=e=>Dt(e)&&e.hasKey("$ref");let e4=class extends Be(Dn,Ar,Ft){ObjectElement(t){const r=ks(t)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(r,t),kt}ArrayElement(t){return this.element=new ve.ArrayElement,this.element.classes.push("json-schema-items"),t.forEach(r=>{const n=ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}};class One extends Ft{ArrayElement(t){const r=this.enter(t);return this.element.classes.push("json-schema-required"),r}}let Cne=class extends Dn{constructor({specPath:r,ignoredFields:n,fieldPatternPredicate:s,...i}){super({...i});G(this,"specPath");G(this,"ignoredFields");G(this,"fieldPatternPredicate",IA);this.specPath=r,this.ignoredFields=n||[],typeof s=="function"&&(this.fieldPatternPredicate=s)}ObjectElement(r){return r.forEach((n,s,i)=>{if(!this.ignoredFields.includes(Ie(s))&&this.fieldPatternPredicate(Ie(s))){const o=this.specPath(n),a=this.toRefractedElement(o,n),c=new ve.MemberElement(Xe(s),a);this.copyMetaAndAttributes(i,c),c.classes.push("patterned-field"),this.element.content.push(c)}else this.ignoredFields.includes(Ie(s))||this.element.content.push(Xe(i))}),this.copyMetaAndAttributes(r,this.element),kt}},Ui=class extends Cne{constructor(t){super(t),this.fieldPatternPredicate=zp}},Rne=class extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-properties"),this.specPath=r=>ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}},Tne=class extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-patternProperties"),this.specPath=r=>ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};class Ine extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-dependencies"),this.specPath=r=>ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}class Pne extends Ft{ArrayElement(t){const r=this.enter(t);return this.element.classes.push("json-schema-enum"),r}}let jne=class extends Ft{StringElement(t){const r=this.enter(t);return this.element.classes.push("json-schema-type"),r}ArrayElement(t){const r=this.enter(t);return this.element.classes.push("json-schema-type"),r}},kne=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-allOf")}ArrayElement(t){return t.forEach(r=>{const n=ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}},Nne=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-anyOf")}ArrayElement(t){return t.forEach(r=>{const n=ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}},Mne=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-oneOf")}ArrayElement(t){return t.forEach(r=>{const n=ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}};class Dne extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-definitions"),this.specPath=r=>ks(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}let $ne=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-links")}ArrayElement(t){return t.forEach(r=>{const n=this.toRefractedElement(["document","objects","LinkDescription"],r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),kt}};class Fne extends Be(mo,Ft){constructor(t){super(t),this.element=new Da,this.specPath=lt(["document","objects","JSONReference"])}ObjectElement(t){const r=mo.prototype.ObjectElement.call(this,t);return ht(this.element.$ref)&&this.element.classes.push("reference-element"),r}}let qne=class extends Ft{StringElement(t){const r=this.enter(t);return this.element.classes.push("reference-value"),r}},Bne=class extends Dn{constructor({alternator:r,...n}){super({...n});G(this,"alternator");this.alternator=r}enter(r){const n=this.alternator.map(({predicate:i,specPath:o})=>BA(i,lt(o),Vp)),s=$6(n)(r);return this.element=this.toRefractedElement(s,r),kt}},zo=class extends Bne{constructor(t){super(t),this.alternator=[{predicate:ks,specPath:["document","objects","JSONReference"]},{predicate:ai,specPath:["document","objects","JSONSchema"]}]}};class Lne extends Be(mo,Ft){constructor(t){super(t),this.element=new Mu,this.specPath=lt(["document","objects","Media"])}}let t4=class extends Be(mo,Ft){constructor(t){super(t),this.element=new Du,this.specPath=lt(["document","objects","LinkDescription"])}};const Vr={visitors:{value:Ft,JSONSchemaOrJSONReferenceVisitor:zo,document:{objects:{JSONSchema:{$visitor:Q8,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:zo,items:e4,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:One,properties:Rne,additionalProperties:zo,patternProperties:Tne,dependencies:Ine,enum:Pne,type:jne,allOf:kne,anyOf:Nne,oneOf:Mne,not:zo,definitions:Dne,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:$ne,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:Fne,fixedFields:{$ref:qne}},Media:{$visitor:Lne,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"}
vendor: 4,671 bytes, line 93
93,type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:t4,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:zo,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:zo}}}}}},Une=()=>{const e=li(mne);return{predicates:{...Ane,isStringElement:ht},namespace:e}},Vne=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Vr}={})=>{const s=ve.refract(e),i=Li(n),o=Nr(t,i),a=new o({specObj:i});return xr(s,a),fi(a.element,r,{toolboxCreator:Une,visitorOptions:{keyMap:gne,nodeTypeGetter:$u}})},rh=e=>(t,r={})=>Vne(t,{specPath:e,...r});Ma.refract=rh(["visitors","document","objects","JSONSchema","$visitor"]);Da.refract=rh(["visitors","document","objects","JSONReference","$visitor"]);Mu.refract=rh(["visitors","document","objects","Media","$visitor"]);Du.refract=rh(["visitors","document","objects","LinkDescription","$visitor"]);let nh=class extends Ma{constructor(t,r,n){super(t,r,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new It("idProp getter in Schema class is not not supported.")}set idProp(t){throw new It("idProp setter in Schema class is not not supported.")}get $schema(){throw new It("$schema getter in Schema class is not not supported.")}set $schema(t){throw new It("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(t){this.set("additionalItems",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get patternProperties(){throw new It("patternProperties getter in Schema class is not not supported.")}set patternProperties(t){throw new It("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new It("dependencies getter in Schema class is not not supported.")}set dependencies(t){throw new It("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(t){this.set("type",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get definitions(){throw new It("definitions getter in Schema class is not not supported.")}set definitions(t){throw new It("definitions setter in Schema class is not not supported.")}get base(){throw new It("base getter in Schema class is not not supported.")}set base(t){throw new It("base setter in Schema class is not not supported.")}get links(){throw new It("links getter in Schema class is not not supported.")}set links(t){throw new It("links setter in Schema class is not not supported.")}get media(){throw new It("media getter in Schema class is not not supported.")}set media(t){throw new It("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(t){this.set("nullable",t)}get discriminator(){return this.get("discriminator")}set discriminator(t){this.set("discriminator",t)}get writeOnly(){return this.get("writeOnly")}set writeOnly(t){this.set("writeOnly",t)}get xml(){return this.get("xml")}set xml(t){this.set("xml",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}get deprecated(){return this.get("deprecated")}set deprecated(t){this.set("deprecated",t)}},Fu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="securityRequirement"}},qu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="securityScheme"}get type(){return this.get("type")}set type(t){this.set("type",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get name(){return this.get("name")}set name(t){this.set("name",t)}get in(){return this.get("in")}set in(t){this.set("in",t)}get scheme(){return this.get("scheme")}set scheme(t){this.set("scheme",t)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(t){this.set("bearerFormat",t)}get flows(){return this.get("flows")}set flows(t){this.set("flows",t)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(t){this.set("openIdConnectUrl",t)}},Bu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="server"}get url(){return this.get("url")}set url(t){this.set("url",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get variables(){return this.get("variables")}
93set variables(t){this.set("variables",t)}},Lu=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(t){this.set("enum",t)}get default(){return this.get("default")}set default(t){this.set("default",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}},sh=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="tag"}get name(){return this.get("name")}set name(t){this.set("name",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}},ih=class extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="xml"}get name(){return this.get("name")}set name(t){this.set("name",t)}get namespace(){return this.get("namespace")}set namespace(t){this.set("namespace",t)}get prefix(){return this.get("prefix")}set prefix(t){this.set("prefix",t)}get attribute(){return this.get("attribute")}set attribute(t){this.set("attribute",t)}get wrapped(){return this.get("wrapped")}set wrapped(t){this.set("wrapped",t)}};const zne={namespace:e=>{const{base:t}=e;return t.register("callback",yu),t.register("components",vu),t.register("contact",bu),t.register("discriminator",Eu),t.register("encoding",Zp),t.register("example",Su),t.register("externalDocumentation",_u),t.register("header",ka),t.register("info",wu),t.register("license",xu),t.register("link",Au),t.register("mediaType",Ou),t.register("oAuthFlow",Qp),t.register("oAuthFlows",eh),t.register("openapi",Cu),t.register("openApi3_0",th),t.register("operation",Ru),t.register("parameter",Na),t.register("pathItem",Tu),t.register("paths",Iu),t.register("reference",Pu),t.register("requestBody",ju),t.register("response",ku),t.register("responses",Nu),t.register("schema",nh),t.register("securityRequirement",Fu),t.register("securityScheme",qu),t.register("server",Bu),t.register("serverVariable",Lu),t.register("tag",sh),t.register("xml",ih),t}},jf=class jf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(jf.primaryClass)}};G(jf,"primaryClass","servers");let Sf=jf;const kf=class kf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(kf.primaryClass)}};G(kf,"primaryClass","security");let G_=kf;const Nf=class Nf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(Nf.primaryClass)}};G(Nf,"primaryClass","tags");let Y_=Nf;const Mf=class Mf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Mf.primaryClass)}};G(Mf,"primaryClass","server-variables");let X_=Mf;const Df=class Df extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Df.primaryClass)}};G(Df,"primaryClass","components-schemas");let _f=Df;const $f=class $f extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push($f.primaryClass)}};G($f,"primaryClass","components-responses");let Z_=$f;const Ff=class Ff extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Ff.primaryClass),this.classes.push("parameters")}};G(Ff,"primaryClass","components-parameters");let Q_=Ff;const qf=class qf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(qf.primaryClass),this.classes.push("examples")}};G(qf,"primaryClass","components-examples");let ew=qf;const Bf=class Bf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Bf.primaryClass)}};G(Bf,"primaryClass","components-request-bodies");let tw=Bf;const Lf=class Lf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Lf.primaryClass)}};G(Lf,"primaryClass","components-headers");let rw=Lf;const Uf=class Uf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Uf.primaryClass)}};G(Uf,"primaryClass","components-security-schemes");let nw=Uf;const Vf=class Vf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Vf.primaryClass)}};G(Vf,"primaryClass","components-links");let sw=Vf;const zf=class zf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(zf.primaryClass)}};G(zf,"primaryClass","components-callbacks");let iw=zf;const Wf=class Wf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(Wf.primaryClass),this.classes.push("servers")}};G(Wf,"primaryClass","path-item-servers");let ow=Wf;const Jf=class Jf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(Jf.primaryClass),this.classes.push("parameters")}};G(Jf,"primaryClass","path-item-parameters");let aw=Jf;const Hf=class Hf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(Hf.primaryClass),this.classes.push("parameters")}};G(Hf,"primaryClass","operation-parameters");let wf=Hf;const Kf=class Kf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Kf.primaryClass),this.classes.push("examples")}};G(Kf,"primaryClass","parameter-examples");let cw=Kf;const Gf=class Gf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Gf.primaryClass),this.classes.push("content")}};G(Gf,"primaryClass","parameter-content");let uw=Gf;const Yf=class Yf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(Yf.primaryClass)}};G(Yf,"primaryClass","operation-tags");let lw=Yf;const Xf=class Xf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Xf.primaryClass)}};G(Xf,"primaryClass","operation-callbacks");let fw=Xf;const Zf=class Zf extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(Zf.primaryClass),this.classes.push("security")}};G(Zf,"primaryClass","operation-security");let xf=Zf;var io;let Wne=(io=class extends ve.ArrayElement{constructor(t,r,n){super(t,r,n),this.classes.push(io.primaryClass),this.classes.push("servers")}},G(io,"primaryClass","operation-servers"),io);const Qf=class Qf extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(Qf.primaryClass),this.classes.push("content")}};G(Qf,"primaryClass","request-body-content");let pw=Qf;
93const ep=class ep extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(ep.primaryClass),this.classes.push("examples")}};G(ep,"primaryClass","media-type-examples");let hw=ep;const tp=class tp extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(tp.primaryClass)}};G(tp,"primaryClass","media-type-encoding");let dw=tp;const rp=class rp extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(rp.primaryClass)}};G(rp,"primaryClass","encoding-headers");let mw=rp;const np=class np extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(np.primaryClass)}};G(np,"primaryClass","response-headers");let gw=np;const sp=class sp extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(sp.primaryClass),this.classes.push("content")}};G(sp,"primaryClass","response-content");let yw=sp;const ip=class ip extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(ip.primaryClass)}};G(ip,"primaryClass","response-links");let vw=ip;const op=class op extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(op.primaryClass)}};G(op,"primaryClass","discriminator-mapping");let bw=op;const ap=class ap extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(ap.primaryClass)}};G(ap,"primaryClass","oauth-flow-scopes");let Ew=ap;const cp=class cp extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(cp.primaryClass)}};G(cp,"primaryClass","link-parameters");let Sw=cp;const up=class up extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(up.primaryClass),this.classes.push("examples")}};G(up,"primaryClass","header-examples");let _w=up;const lp=class lp extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(lp.primaryClass),this.classes.push("content")}};G(lp,"primaryClass","header-content");let ww=lp;const Jne=e=>{if(yr(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},Hne={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"],...$s};class r4{constructor(t={}){G(this,"element");Object.assign(this,t)}copyMetaAndAttributes(t,r){(t.meta.length>0||r.meta.length>0)&&(r.meta=Kn(r.meta,t.meta)),Pa(t)&&e2(r,t),(t.attributes.length>0||t.meta.length>0)&&(r.attributes=Kn(r.attributes,t.attributes))}}class ze extends r4{enter(t){return this.element=Xe(t),kt}}class ms extends r4{constructor({specObj:r,passingOptionsNames:n,openApiGenericElement:s,openApiSemanticElement:i,...o}){super({...o});G(this,"specObj");G(this,"passingOptionsNames",["specObj","openApiGenericElement","openApiSemanticElement"]);G(this,"openApiGenericElement");G(this,"openApiSemanticElement");this.specObj=r,this.openApiGenericElement=s,this.openApiSemanticElement=i,Array.isArray(n)&&(this.passingOptionsNames=n)}retrievePassingOptions(){return C6(this.passingOptionsNames,this)}retrieveFixedFields(r){const n=Nr(["visitors",...r,"fixedFields"],this.specObj);return typeof n=="object"&&n!==null?Object.keys(n):[]}retrieveVisitor(r){return VA(Ao,["visitors",...r],this.specObj)?Nr(["visitors",...r],this.specObj):Nr(["visitors",...r,"$visitor"],this.specObj)}retrieveVisitorInstance(r,n={}){const s=this.retrievePassingOptions(),i=this.retrieveVisitor(r),o={...s,...n};return new i(o)}toRefractedElement(r,n,s={}){const i=this.retrieveVisitorInstance(r,s);return i instanceof ze&&(i==null?void 0:i.constructor)===ze?Xe(n):(xr(n,i,s),i.element)}}const Qt=e=>Dt(e)&&e.hasKey("$ref"),Kne=Dt,Gne=Dt,n4=e=>ht(e.key)&&MQ("x-",Ie(e.key));class Ct extends ms{constructor({specPath:r,ignoredFields:n,canSupportSpecificationExtensions:s,specificationExtensionPredicate:i,...o}){super({...o}
93);G(this,"specPath");G(this,"ignoredFields");G(this,"canSupportSpecificationExtensions",!0);G(this,"specificationExtensionPredicate",n4);this.specPath=r,this.ignoredFields=n||[],typeof s=="boolean"&&(this.canSupportSpecificationExtensions=s),typeof i=="function"&&(this.specificationExtensionPredicate=i)}ObjectElement(r){const n=this.specPath(r),s=this.retrieveFixedFields(n);return r.forEach((i,o,a)=>{if(ht(o)&&s.includes(Ie(o))&&!this.ignoredFields.includes(Ie(o))){const c=this.toRefractedElement([...n,"fixedFields",Ie(o)],i),u=new ve.MemberElement(Xe(o),c);this.copyMetaAndAttributes(a,u),u.classes.push("fixed-field"),this.element.content.push(u)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(a)){const c=this.toRefractedElement(["document","extension"],a);this.element.content.push(c)}else this.ignoredFields.includes(Ie(o))||this.element.content.push(Xe(a))}),this.copyMetaAndAttributes(r,this.element),kt}}class Yne extends Be(Ct,ze){constructor(t){super(t),this.element=new th,this.specPath=lt(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){return Ct.prototype.ObjectElement.call(this,t)}}class Xne extends Be(ms,ze){StringElement(t){const r=new Cu(Ie(t));return this.copyMetaAndAttributes(t,r),this.element=r,kt}}class Zne extends ms{MemberElement(t){return this.element=Xe(t),this.element.classes.push("specification-extension"),kt}}let Qne=class extends Be(Ct,ze){constructor(t){super(t),this.element=new wu,this.specPath=lt(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};class ese extends ze{StringElement(t){const r=super.enter(t);return this.element.classes.push("api-version"),this.element.classes.push("version"),r}}let tse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new bu,this.specPath=lt(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}},rse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new xu,this.specPath=lt(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}},nse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Au,this.specPath=lt(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return(ht(this.element.operationId)||ht(this.element.operationRef))&&this.element.classes.push("reference-element"),r}};class sse extends ze{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}class ise extends ze{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}class ba extends ms{constructor({specPath:r,ignoredFields:n,fieldPatternPredicate:s,canSupportSpecificationExtensions:i,specificationExtensionPredicate:o,...a}){super({...a});G(this,"specPath");G(this,"ignoredFields");G(this,"fieldPatternPredicate",IA);G(this,"canSupportSpecificationExtensions",!1);G(this,"specificationExtensionPredicate",n4);this.specPath=r,this.ignoredFields=n||[],typeof s=="function"&&(this.fieldPatternPredicate=s),typeof i=="boolean"&&(this.canSupportSpecificationExtensions=i),typeof o=="function"&&(this.specificationExtensionPredicate=o)}ObjectElement(r){return r.forEach((n,s,i)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(i)){const o=this.toRefractedElement(["document","extension"],i);this.element.content.push(o)}else if(!this.ignoredFields.includes(Ie(s))&&this.fieldPatternPredicate(Ie(s))){const o=this.specPath(n),a=this.toRefractedElement(o,n),c=new ve.MemberElement(Xe(s),a);this.copyMetaAndAttributes(i,c),c.classes.push("patterned-field"),this.element.content.push(c)}else this.ignoredFields.includes(Ie(s))||this.element.content.push(Xe(i))}),this.copyMetaAndAttributes(r,this.element),kt}}class bt extends ba{constructor(t){super(t),this.fieldPatternPredicate=zp}}let ose=class extends Be(bt,ze){constructor(t){super(t),this.element=new Sw,this.specPath=lt(["value"])}},ase=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Bu,this.specPath=lt(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};class cse extends ze{StringElement(t){const r=super.enter(t);return this.element.classes.push("server-url"),r}}let y2=class extends Be(ms,ze){constructor(t){super(t),this.element=new Sf}ArrayElement(t){return t.forEach(r=>{const n=Kne(r)?["document","objects","Server"]:["value"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}},use=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Lu,this.specPath=lt(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};class lse extends Be(bt,ze){constructor(t){super(t),this.element=new X_,this.specPath=lt(["document","objects","ServerVariable"])}}let fse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Ou,this.specPath=lt(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}};class Ns extends ms{constructor({alternator:r,...n}){super({...n});G(this,"alternator");this.alternator=r||[]}enter(r){const n=this.alternator.map(({predicate:i,specPath:o})=>BA(i,lt(o),Vp)),s=$6(n)(r);return this.element=this.toRefractedElement(s,r),kt}}const pse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof yu||e(n)&&t("callback",n)&&r("object",n)),hse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof vu||e(n)&&t("components",n)&&r("object",n)),dse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof bu||e(n)&&t("contact",n)&&r("object",n)),mse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Su||e(n)&&t("example",n)&&r("object",n)),gse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof _u||e(n)&&t("externalDocumentation",n)&&r("object",n)),$a=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ka||e(n)&&t("header",n)&&r("object",n)),yse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof wu||e(n)&&t("info",n)&&r("object",n)),vse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof xu||e(n)&&t("license",n)&&r("object",n)),bse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>
93n instanceof Au||e(n)&&t("link",n)&&r("object",n)),Ese=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Cu||e(n)&&t("openapi",n)&&r("string",n)),Sse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof th||e(s)&&t("openApi3_0",s)&&r("object",s)&&n("api",s)),s4=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ru||e(n)&&t("operation",n)&&r("object",n)),_se=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Na||e(n)&&t("parameter",n)&&r("object",n)),v2=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Tu||e(n)&&t("pathItem",n)&&r("object",n)),wse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Iu||e(n)&&t("paths",n)&&r("object",n)),Yt=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Pu||e(n)&&t("reference",n)&&r("object",n)),xse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ju||e(n)&&t("requestBody",n)&&r("object",n)),oh=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ku||e(n)&&t("response",n)&&r("object",n)),Ase=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Nu||e(n)&&t("responses",n)&&r("object",n)),Ose=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof nh||e(n)&&t("schema",n)&&r("object",n)),Cse=e=>fu(e)&&e.classes.includes("boolean-json-schema"),Rse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Fu||e(n)&&t("securityRequirement",n)&&r("object",n)),Tse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof qu||e(n)&&t("securityScheme",n)&&r("object",n)),Ise=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Bu||e(n)&&t("server",n)&&r("object",n)),Pse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Lu||e(n)&&t("serverVariable",n)&&r("object",n)),ah=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ou||e(n)&&t("mediaType",n)&&r("object",n)),i4=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof Sf||e(s)&&t("array",s)&&r("array",s)&&n("servers",s)),jse=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Eu||e(n)&&t("discriminator",n)&&r("object",n)),kse=Object.freeze(Object.defineProperty({__proto__:null,isBooleanJsonSchemaElement:Cse,isCallbackElement:pse,isComponentsElement:hse,isContactElement:dse,isDiscriminatorElement:jse,isExampleElement:mse,isExternalDocumentationElement:gse,isHeaderElement:$a,isInfoElement:yse,isLicenseElement:vse,isLinkElement:bse,isMediaTypeElement:ah,isOpenApi3_0Element:Sse,isOpenapiElement:Ese,isOperationElement:s4,isParameterElement:_se,isPathItemElement:v2,isPathsElement:wse,isReferenceElement:Yt,isRequestBodyElement:xse,isResponseElement:oh,isResponsesElement:Ase,isSchemaElement:Ose,isSecurityRequirementElement:Rse,isSecuritySchemeElement:Tse,isServerElement:Ise,isServerVariableElement:Pse,isServersElement:i4},Symbol.toStringTag,{value:"Module"}));let Nse=class extends Be(Ns,ze){constructor(t){super(t),this.alternator=[{predicate:Qt,specPath:["document","objects","Reference"]},{predicate:ai,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=Ns.prototype.enter.call(this,t);return Yt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}},b2=class extends Be(bt,ze){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("examples"),this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","example")}),r}},Mse=class extends b2{constructor(t){super(t),this.element=new hw}},Dse=class extends Be(bt,ze){constructor(t){super(t),this.element=new dw,this.specPath=lt(["document","objects","Encoding"])}},$se=class extends Be(bt,ze){constructor(t){super(t),this.element=new Fu,this.specPath=lt(["value"])}},Fse=class extends Be(ms,ze){constructor(t){super(t),this.element=new G_}ArrayElement(t){return t.forEach(r=>{if(Dt(r)){const n=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(n)}else this.element.push(Xe(r))}),this.copyMetaAndAttributes(t,this.element),kt}},qse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new vu,this.specPath=lt(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}},Bse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new sh,this.specPath=lt(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}},Lse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Pu,this.specPath=lt(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return ht(this.element.$ref)&&this.element.classes.push("reference-element"),r}},Use=class extends ze{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}},Vse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Na,this.specPath=lt(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return Dt(this.element.contentProp)&&this.element.contentProp.filter(ah).forEac
93h((n,s)=>{n.setMetaProperty("media-type",Ie(s))}),r}},zse=class extends Be(Ns,ze){constructor(t){super(t),this.alternator=[{predicate:Qt,specPath:["document","objects","Reference"]},{predicate:ai,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=Ns.prototype.enter.call(this,t);return Yt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}},Wse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new ka,this.specPath=lt(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}},Jse=class extends Be(Ns,ze){constructor(t){super(t),this.alternator=[{predicate:Qt,specPath:["document","objects","Reference"]},{predicate:ai,specPath:["document","objects","Schema"]}]}ObjectElement(t){const r=Ns.prototype.enter.call(this,t);return Yt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}},Hse=class extends b2{constructor(t){super(t),this.element=new _w}},ch=class extends Be(bt,ze){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("content"),this.specPath=lt(["document","objects","MediaType"])}},Kse=class extends ch{constructor(t){super(t),this.element=new ww}},Gse=class extends Be(Ct,ze){constructor(t){super(t),this.element=new nh,this.specPath=lt(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}};const t$=Vr.visitors.document.objects.JSONSchema.fixedFields.allOf;let Yse=class extends t${ArrayElement(t){const r=t$.prototype.ArrayElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const r$=Vr.visitors.document.objects.JSONSchema.fixedFields.anyOf;let Xse=class extends r${ArrayElement(t){const r=r$.prototype.ArrayElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const n$=Vr.visitors.document.objects.JSONSchema.fixedFields.oneOf;let Zse=class extends n${ArrayElement(t){const r=n$.prototype.ArrayElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const s$=Vr.visitors.document.objects.JSONSchema.fixedFields.items;let Qse=class extends s${ObjectElement(t){const r=s$.prototype.ObjectElement.call(this,t);return Yt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}ArrayElement(t){return this.enter(t)}};const i$=Vr.visitors.document.objects.JSONSchema.fixedFields.properties;let eie=class extends i${ObjectElement(t){const r=i$.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const tie=Vr.visitors.document.objects.JSONSchema.fixedFields.type;class rie extends tie{ArrayElement(t){return this.enter(t)}}const o$=Vr.visitors.JSONSchemaOrJSONReferenceVisitor;class a$ extends o${ObjectElement(t){const r=o$.prototype.enter.call(this,t);return Yt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}let nie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Eu,this.specPath=lt(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}};class sie extends Be(bt,ze){constructor(t){super(t),this.element=new bw,this.specPath=lt(["value"])}}let iie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new ih,this.specPath=lt(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}},oie=class extends b2{constructor(t){super(t),this.element=new cw}},aie=class extends ch{constructor(t){super(t),this.element=new uw}},cie=class extends Be(bt,ze){constructor(t){super(t),this.element=new _f,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}},uie=class extends Be(bt,ze){constructor(t){super(t),this.element=new Z_,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>
93{n.setMetaProperty("referenced-element","response")}),this.element.filter(oh).forEach((n,s)=>{n.setMetaProperty("http-status-code",Ie(s))}),r}},lie=class extends Be(bt,ze){constructor(t){super(t),this.element=new Q_,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","parameter")}),r}},fie=class extends Be(bt,ze){constructor(t){super(t),this.element=new ew,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","example")}),r}};class pie extends Be(bt,ze){constructor(t){super(t),this.element=new tw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","requestBody")}),r}}
93let hie=class extends Be(bt,ze){constructor(t){super(t),this.element=new rw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.filter($a).forEach((n,s)=>{n.setMetaProperty("header-name",Ie(s))}),r}};class die extends Be(bt,ze){constructor(t){super(t),this.element=new nw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","securityScheme")}),r}}let mie=class extends Be(bt,ze){constructor(t){super(t),this.element=new sw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","link")}),r}},gie=class extends Be(bt,ze){constructor(t){super(t),this.element=new iw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","callback")}),r}},yie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Su,this.specPath=lt(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return ht(this.element.externalValue)&&this.element.classes.push("reference-element"),r}};class vie extends ze{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}let bie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new _u,this.specPath=lt(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}},Eie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Zp,this.specPath=lt(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return Dt(this.element.headers)&&this.element.headers.filter($a).forEach((n,s)=>{n.setMetaProperty("header-name",Ie(s))}),r}},Sie=class extends Be(bt,ze){constructor(t){super(t),this.element=new mw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.forEach((n,s)=>{if(!$a(n))return;const i=Ie(s);n.setMetaProperty("headerName",i)}),r}},_ie=class extends Be(ba,ze){constructor(t){super(t),this.element=new Iu,this.specPath=lt(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=ai}ObjectElement(t){const r=ba.prototype.ObjectElement.call(this,t);return this.element.filter(v2).forEach((n,s)=>{s.classes.push("openapi-path-template"),s.classes.push("path-template"),n.setMetaProperty("path",Xe(s))}),r}},wie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new ju,this.specPath=lt(["document","objects","RequestBody"])}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return Dt(this.element.contentProp)&&this.element.contentProp.filter(ah).forEach((n,s)=>{n.setMetaProperty("media-type",Ie(s))}),r}},xie=class extends ch{constructor(t){super(t),this.element=new pw}},Aie=class extends Be(ba,ze){constructor(t){super(t),this.element=new yu,this.specPath=lt(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>/{(?<expression>[^}]{1,2083})}/.test(String(r))}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(v2).forEach((n,s)=>
93{n.setMetaProperty("runtime-expression",Ie(s))}),r}},Oie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new ku,this.specPath=lt(["document","objects","Response"])}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return Dt(this.element.contentProp)&&this.element.contentProp.filter(ah).forEach((n,s)=>{n.setMetaProperty("media-type",Ie(s))}),Dt(this.element.headers)&&this.element.headers.filter($a).forEach((n,s)=>{n.setMetaProperty("header-name",Ie(s))}),r}};class Cie extends Be(bt,ze){constructor(t){super(t),this.element=new gw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.forEach((n,s)=>{if(!$a(n))return;const i=Ie(s);n.setMetaProperty("header-name",i)}),r}}class Rie extends ch{constructor(t){super(t),this.element=new yw}}class Tie extends Be(bt,ze){constructor(t){super(t),this.element=new vw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","link")}),r}}class c$ extends Be(Ct,ba){constructor({specPathFixedFields:r,specPathPatternedFields:n,...s}){super({...s});G(this,"specPathFixedFields");G(this,"specPathPatternedFields");this.specPathFixedFields=r,this.specPathPatternedFields=n}ObjectElement(r){const{specPath:n,ignoredFields:s}=this;try{this.specPath=this.specPathFixedFields;const i=this.retrieveFixedFields(this.specPath(r));this.ignoredFields=[...s,...rQ(r.keys(),i)],Ct.prototype.ObjectElement.call(this,r),this.specPath=this.specPathPatternedFields,this.ignoredFields=i,ba.prototype.ObjectElement.call(this,r)}catch(i){throw this.specPath=n,i}return kt}}let Iie=class extends Be(c$,ze){constructor(t){super(t),this.element=new Nu,this.specPathFixedFields=lt(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>Qt(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${jQ(100,600).join("|")})$`).test(String(r))}ObjectElement(t){const r=c$.prototype.ObjectElement.call(this,t);return this.element.filter(Yt).forEach(n=>{n.setMetaProperty("referenced-element","response")}),this.element.filter(oh).forEach((n,s)=>{const i=Xe(s);this.fieldPatternPredicate(Ie(i))&&n.setMetaProperty("http-status-code",i)}),r}};class Pie extends Be(Ns,ze){constructor(t){super(t),this.alternator=[{predicate:Qt,specPath:["document","objects","Reference"]},{predicate:ai,specPath:["document","objects","Response"]}]}ObjectElement(t){const r=Ns.prototype.enter.call(this,t);return Yt(this.element)?this.element.setMetaProperty("referenced-element","response"):oh(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}let jie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Ru,this.specPath=lt(["document","objects","Operation"])}},kie=class extends ze{constructor(t){super(t),this.element=new lw}ArrayElement(t){return this.element=this.element.concat(Xe(t)),kt}},o4=class extends Be(ms,ze){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("parameters")}ArrayElement(t){return t.forEach(r=>{const n=Qt(r)?["document","objects","Reference"]:["document","objects","Parameter"],s=this.toRefractedElement(n,r);Yt(s)&&s.setMetaProperty("referenced-element","parameter"),this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}},Nie=class extends o4{constructor(t){super(t),this.element=new wf}},Mie=class extends Ns{constructor(t){super(t),this.alternator=[{predicate:Qt,specPath:["document","objects","Reference"]},{predicate:ai,specPath:["document","objects","RequestBody"]}]}ObjectElement(t){const r=Ns.prototype.enter.call(this,t);return Yt(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),r}};class Die extends Be(bt,ze){constructor(r){super(r);G(this,"specPath");this.element=new fw,this.specPath=n=>Qt(n)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(r){const n=bt.prototype.ObjectElement.call(this,r);return this.element.filter(Yt).forEach(s=>{s.setMetaProperty("referenced-element","callback")}),n}}class $ie extends Be(ms,ze){constructor(t){super(t),this.element=new xf}ArrayElement(t){return t.forEach(r=>{const n=Dt(r)?["document","objects","SecurityRequirement"]:["value"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}}let Fie=class extends y2{constructor(t){super(t),this.element=new Wne}},qie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Tu,this.specPath=lt(["document","objects","PathItem"])}ObjectElement(t){const r=Ct.prototype.ObjectElement.call(this,t);return this.element.filter(s4).forEach((n,s)=>{const i=Xe(s);i.content=Ie(i).toUpperCase(),n.setMetaProperty("http-method",i)}),ht(this.element.$ref)&&this.element.classes.push("reference-element"),r}};class Bie extends ze{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}class Lie extends y2{constructor(t){super(t),this.element=new ow}}class Uie extends o4{constructor(t){super(t),this.element=new aw}}let Vie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new qu,this.specPath=lt(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}},zie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new eh,this.specPath=lt(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}},Wie=class extends Be(Ct,ze){constructor(t){super(t),this.element=new Qp,this.specPath=lt(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};class Jie extends Be(bt,ze){constructor(t){super(t),this.element=new Ew,this.specPath=lt(["value"])}}class Hie extends Be(ms,ze){constructor(t){super(t),this.element=new Y_}ArrayElement(t){return t.forEach(r=>{const n=Gne(r)?["document","objects","Tag"]:["value"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(t,this.element),kt}}const{fixedFields:Rr}=Vr.visitors.document.objects.JSONSchema,Se={visitors:{value:ze,document:{objects:{OpenApi:{$visitor:Yne,fixedFields:{openapi:Xne,info:{$ref:"#/visitors/document/objects/Info"},servers:y2,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Fse,tags:Hie,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Qne,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:ese}},Contact:{$visitor:tse,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:rse,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:ase,fixedFields:{url:cse,description:{$ref:"#/visitors/value"},variables:lse}},ServerVariable:{$visitor:use,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:qse,fixedFields:{schemas:cie,responses:uie,parameters:lie,examples:fie,requestBodies:pie,headers:hie,securitySchemes:die,links:mie,callbacks:gie}},Paths:{$visitor:_ie},PathItem:{$visitor:qie,fixedFields:{$ref:Bie,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:Lie,parameters:Uie}},Operation:{$visitor:jie,fixedFields:{tags:kie,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:Nie,requestBody:Mie,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Die,deprecated:{$ref:"#/visitors/value"},security:$ie,servers:Fie}}
vendor: 6,362 bytes, line 93
93,ExternalDocumentation:{$visitor:bie,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:Vse,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:zse,example:{$ref:"#/visitors/value"},examples:oie,content:aie}},RequestBody:{$visitor:wie,fixedFields:{description:{$ref:"#/visitors/value"},content:xie,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:fse,fixedFields:{schema:Nse,example:{$ref:"#/visitors/value"},examples:Mse,encoding:Dse}},Encoding:{$visitor:Eie,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:Sie,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:Iie,fixedFields:{default:Pie}},Response:{$visitor:Oie,fixedFields:{description:{$ref:"#/visitors/value"},headers:Cie,content:Rie,links:Tie}},Callback:{$visitor:Aie},Example:{$visitor:yie,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:vie}},Link:{$visitor:nse,fixedFields:{operationRef:sse,operationId:ise,parameters:ose,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Wse,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:Jse,example:{$ref:"#/visitors/value"},examples:Hse,content:Kse}},Tag:{$visitor:Bse,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Lse,fixedFields:{$ref:Use}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:Gse,fixedFields:{title:Rr.title,multipleOf:Rr.multipleOf,maximum:Rr.maximum,exclusiveMaximum:Rr.exclusiveMaximum,minimum:Rr.minimum,exclusiveMinimum:Rr.exclusiveMinimum,maxLength:Rr.maxLength,minLength:Rr.minLength,pattern:Rr.pattern,maxItems:Rr.maxItems,minItems:Rr.minItems,uniqueItems:Rr.uniqueItems,maxProperties:Rr.maxProperties,minProperties:Rr.minProperties,required:Rr.required,enum:Rr.enum,type:rie,allOf:Yse,anyOf:Xse,oneOf:Zse,not:a$,items:Qse,properties:eie,additionalProperties:a$,description:Rr.description,format:Rr.format,default:Rr.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:nie,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:sie}},XML:{$visitor:iie,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:Vie,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:zie,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:Wie,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Jie}},SecurityRequirement:{$visitor:$se}},extension:{$visitor:Zne}}}},Kie=()=>{const e=li(zne);return{predicates:{...kse,isElement:yr,isStringElement:ht,isArrayElement:Hr,isObjectElement:Dt,isMemberElement:ds,includesClasses:ga,hasElementSourceMap:Pa},namespace:e}},Gie=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=ve.refract(e),s=Li(Se),i=Nr(t,s),o=new i({specObj:s});return xr(n,o),fi(o.element,r,{toolboxCreator:Kie,visitorOptions:{keyMap:Hne,nodeTypeGetter:Jne}})},Vt=e=>(t,r={})=>Gie(t,{specPath:e,...r});yu.refract=Vt(["visitors","document","objects","Callback","$visitor"]);vu.refract=Vt(["visitors","document","objects","Components","$visitor"]);bu.refract=Vt(["visitors","document","objects","Contact","$visitor"]);Su.refract=Vt(["visitors","document","objects","Example","$visitor"]);Eu.refract=Vt(["visitors","document","objects","Discriminator","$visitor"]);Zp.refract=Vt(["visitors","document","objects","Encoding","$visitor"]);_u.refract=Vt(["visitors","document","objects","ExternalDocumentation","$visitor"]);ka.refract=Vt(["visitors","document","objects","Header","$visitor"]);wu.refract=Vt(["visitors","document","objects","Info","$visitor"]);xu.refract=Vt(["visitors","document","objects","License","$visitor"]);Au.refract=Vt(["visitors","document","objects","Link","$visitor"]);Ou.refract=Vt(["visitors","document","objects","MediaType","$visitor"]);Qp.refract=Vt(["visitors","document","objects","OAuthFlow","$visitor"]);eh.refract=Vt(["visitors","document","objects","OAuthFlows","$visitor"]);Cu.refract=Vt(["visitors","document","objects","OpenApi","fixedFields","openapi"]);th.refract=Vt(["visitors","document","objects","OpenApi","$visitor"]);Ru.refract=Vt(["visitors","document","objects","Operation","$visitor"]);Na.refract=Vt(["visitors","document","objects","Parameter","$visitor"]);Tu.refract=Vt(["visitors","document","objects","PathItem","$visitor"]);Iu.refract=Vt(["visitors","document","objects","Paths","$visitor"]);Pu.refract=Vt(["visitors","document","objects","Reference","$visitor"]);ju.refract=Vt(["visitors","document","objects","RequestBody","$visitor"]);
93ku.refract=Vt(["visitors","document","objects","Response","$visitor"]);Nu.refract=Vt(["visitors","document","objects","Responses","$visitor"]);nh.refract=Vt(["visitors","document","objects","Schema","$visitor"]);Fu.refract=Vt(["visitors","document","objects","SecurityRequirement","$visitor"]);qu.refract=Vt(["visitors","document","objects","SecurityScheme","$visitor"]);Bu.refract=Vt(["visitors","document","objects","Server","$visitor"]);Lu.refract=Vt(["visitors","document","objects","ServerVariable","$visitor"]);sh.refract=Vt(["visitors","document","objects","Tag","$visitor"]);ih.refract=Vt(["visitors","document","objects","XML","$visitor"]);class uh extends yu{}class lh extends vu{get pathItems(){return this.get("pathItems")}set pathItems(t){this.set("pathItems",t)}}let fh=class extends bu{};class E2 extends Eu{}class S2 extends Zp{}let ph=class extends Su{};class hh extends _u{}class dh extends ka{get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}let mh=class extends wu{get license(){return this.get("license")}set license(t){this.set("license",t)}get summary(){return this.get("summary")}set summary(t){this.set("summary",t)}};const fp=class fp extends ve.StringElement{constructor(t,r,n){super(t,r,n),this.element="jsonSchemaDialect"}};G(fp,"default",new fp("https://spec.openapis.org/oas/3.1/dialect/base"));let go=fp,gh=class extends xu{get identifier(){return this.get("identifier")}set identifier(t){this.set("identifier",t)}},yh=class extends Au{};class vh extends Ou{get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}class _2 extends Qp{}class w2 extends eh{}class x2 extends Cu{}class Vi extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(t){this.set("openapi",t)}get info(){return this.get("info")}set info(t){this.set("info",t)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(t){this.set("jsonSchemaDialect",t)}get servers(){return this.get("servers")}set servers(t){this.set("servers",t)}get paths(){return this.get("paths")}set paths(t){this.set("paths",t)}get components(){return this.get("components")}set components(t){this.set("components",t)}get security(){return this.get("security")}set security(t){this.set("security",t)}get tags(){return this.get("tags")}set tags(t){this.set("tags",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get webhooks(){return this.get("webhooks")}set webhooks(t){this.set("webhooks",t)}}let Uu=class extends Ru{get requestBody(){return this.get("requestBody")}set requestBody(t){this.set("requestBody",t)}};class bh extends Na{get schema(){return this.get("schema")}set schema(t){this.set("schema",t)}}class ji extends Tu{get GET(){return this.get("get")}set GET(t){this.set("GET",t)}get PUT(){return this.get("put")}set PUT(t){this.set("PUT",t)}get POST(){return this.get("post")}set POST(t){this.set("POST",t)}get DELETE(){return this.get("delete")}set DELETE(t){this.set("DELETE",t)}get OPTIONS(){return this.get("options")}set OPTIONS(t){this.set("OPTIONS",t)}get HEAD(){return this.get("head")}set HEAD(t){this.set("HEAD",t)}get PATCH(){return this.get("patch")}set PATCH(t){this.set("PATCH",t)}get TRACE(){return this.get("trace")}set TRACE(t){this.set("TRACE",t)}}class Eh extends Iu{}class zi extends Pu{}Object.defineProperty(zi.prototype,"description",{get(){return this.get("description")},set(e){this.set("description",e)},enumerable:!0});Object.defineProperty(zi.prototype,"summary",{get(){return this.get("summary")},set(e){this.set("summary",e)},enumerable:!0});class Sh extends ju{}let _h=class extends ku{},wh=class extends Nu{},Vu=class extends Ma{constructor(t,r,n){super(t,r,n),this.element="JSONSchemaDraft6"}get idProp(){throw new It("id keyword from Core vocabulary has been renamed to $id.")}set idProp(t){throw new It("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(t){this.set("$id",t)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(t){this.set("exclusiveMaximum",t)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(t){this.set("exclusiveMinimum",t)}get containsProp(){return this.get("contains")}set containsProp(t){this.set("contains",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get propertyNames(){return this.get("propertyNames")}set propertyNames(t){this.set("propertyNames",t)}get const(){return this.get("const")}set const(t){this.set("const",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get examples(){return this.get("examples")}set examples(t){this.set("examples",t)}},zu=class extends Du{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(t){this.set("hrefSchema",t)}get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get schema(){throw new It("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(t){throw new It("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(t){this.set("submissionSchema",t)}get method(){throw new It("method keyword from Hyper-Schema vocabulary has been removed.")}set method(t){throw new It("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new It("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(t){throw new It("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(t){this.set("submissionEncType",t)}};const Yie={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft6",Vu),t.register("jSONReference",Da),t.register("media",Mu),t.register("linkDescription",zu),t}},Xie={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...$s};let a4=class extends Q8{constructor(t){super(t),this.element=new Vu}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(t){const r=this.enter(t);return this.element.classes.push("boolean-json-schema"),r}handleSchemaIdentifier(t,r="$id"){return super.handleSchemaIdentifier(t,r)}},Zie=class extends e4{BooleanElement(t){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],t),kt}};class Qie extends Ft{ArrayElement(t){const r=this.enter(t);return this.element.classes.push("json-schema-examples"),r}}let c4=class extends t4{constructor(t){super(t),this.element=new zu}};const Br=Kr(Le(["visitors","document","objects","JSONSchema","$visitor"],a4),In(["visitors","document","objects","JSONSchema","fixedFields","i
93d"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$id"],Vr.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","contains"],Vr.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","items"],Zie),Le(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Vr.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","const"],Vr.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","examples"],Qie),Le(["visitors","document","objects","LinkDescription","$visitor"],c4),Le(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Vr.visitors.JSONSchemaOrJSONReferenceVisitor),In(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Vr.visitors.JSONSchemaOrJSONReferenceVisitor),In(["visitors","document","objects","LinkDescription","fixedFields","method"]),In(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],Vr.visitors.value))(Vr),eoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Vu||e(n)&&t("JSONSchemaDraft6",n)&&r("object",n)),toe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof zu||e(n)&&t("linkDescription",n)&&r("object",n)),roe=Object.freeze(Object.defineProperty({__proto__:null,isJSONReferenceElement:g2,isJSONSchemaElement:eoe,isLinkDescriptionElement:toe,isMediaElement:Z8},Symbol.toStringTag,{value:"Module"})),noe=()=>{const e=li(Yie);return{predicates:{...roe,isStringElement:ht},namespace:e}},soe=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Br}={})=>{const s=ve.refract(e),i=Li(n),o=Nr(t,i),a=new o({specObj:i});return xr(s,a),fi(a.element,r,{toolboxCreator:noe,visitorOptions:{keyMap:Xie,nodeTypeGetter:$u}})},u4=e=>(t,r={})=>soe(t,{specPath:e,...r});Vu.refract=u4(["visitors","document","objects","JSONSchema","$visitor"]);zu.refract=u4(["visitors","document","objects","LinkDescription","$visitor"]);let Wu=class extends Vu{constructor(t,r,n){super(t,r,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(t){this.set("$comment",t)}get items(){return this.get("items")}set items(t){this.set("items",t)}get if(){return this.get("if")}set if(t){this.set("if",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}get else(){return this.get("else")}set else(t){this.set("else",t)}get not(){return this.get("not")}set not(t){this.set("not",t)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(t){this.set("contentEncoding",t)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(t){this.set("contentMediaType",t)}get media(){throw new It('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(t){throw new It('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(t){this.set("writeOnly",t)}},Ju=class extends zu{get anchor(){return this.get("anchor")}set anchor(t){this.set("anchor",t)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(t){this.set("anchorPointer",t)}get templatePointers(){return this.get("templatePointers")}set templatePointers(t){this.set("templatePointers",t)}get templateRequired(){return this.get("templateRequired")}set templateRequired(t){this.set("templateRequired",t)}get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get mediaType(){throw new It("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(t){throw new It("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(t){this.set("targetMediaType",t)}get targetHints(){return this.get("targetHints")}set targetHints(t){this.set("targetHints",t)}get description(){return this.get("description")}set description(t){this.set("description",t)}get $comment(){return this.get("$comment")}set $comment(t){this.set("$comment",t)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(t){this.set("hrefSchema",t)}get headerSchema(){return this.get("headerSchema")}set headerSchema(t){this.set("headerSchema",t)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(t){this.set("submissionSchema",t)}get submissionEncType(){throw new It("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(t){throw new It("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(t){this.set("submissionMediaType",t)}};const ioe={namespace:e=>{const{base:t}=e;return t.register("jSONSchemaDraft7",Wu),t.register("jSONReference",Da),t.register("linkDescription",Ju),t}},ooe={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...$s};let l4=class extends a4{constructor(t){super(t),this.element=new Wu}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}}
93,f4=class extends c4{constructor(t){super(t),this.element=new Ju}};const xi=Kr(Le(["visitors","document","objects","JSONSchema","$visitor"],l4),Le(["visitors","document","objects","JSONSchema","fixedFields","$comment"],Br.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","if"],Br.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","then"],Br.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","else"],Br.visitors.JSONSchemaOrJSONReferenceVisitor),In(["visitors","document","objects","JSONSchema","fixedFields","media"]),Le(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],Br.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],Br.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],Br.visitors.value),Le(["visitors","document","objects","LinkDescription","$visitor"],f4),Le(["visitors","document","objects","LinkDescription","fixedFields","anchor"],Br.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],Br.visitors.value),In(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Le(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],Br.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],Br.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","description"],Br.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","$comment"],Br.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Br.visitors.JSONSchemaOrJSONReferenceVisitor),In(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],Br.visitors.value))(Br),aoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Wu||e(n)&&t("JSONSchemaDraft7",n)&&r("object",n)),coe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ju||e(n)&&t("linkDescription",n)&&r("object",n)),uoe=Object.freeze(Object.defineProperty({__proto__:null,isJSONReferenceElement:g2,isJSONSchemaElement:aoe,isLinkDescriptionElement:coe},Symbol.toStringTag,{value:"Module"})),loe=()=>{const e=li(ioe);return{predicates:{...uoe,isStringElement:ht},namespace:e}},foe=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=xi}={})=>{const s=ve.refract(e),i=Li(n),o=Nr(t,i),a=new o({specObj:i});return xr(s,a),fi(a.element,r,{toolboxCreator:loe,visitorOptions:{keyMap:ooe,nodeTypeGetter:$u}})},p4=e=>(t,r={})=>foe(t,{specPath:e,...r});Wu.refract=p4(["visitors","document","objects","JSONSchema","$visitor"]);Ju.refract=p4(["visitors","document","objects","LinkDescription","$visitor"]);let Hu=class extends Wu{constructor(t,r,n){super(t,r,n),this.element="JSONSchema201909"}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(t){this.set("$vocabulary",t)}get $anchor(){return this.get("$anchor")}set $anchor(t){this.set("$anchor",t)}get $recursiveAnchor(){return this.get("$recursiveAnchor")}set $recursiveAnchor(t){this.set("$recursiveAnchor",t)}get $recursiveRef(){return this.get("$recursiveRef")}set $recursiveRef(t){this.set("$recursiveRef",t)}get $ref(){return this.get("$ref")}set $ref(t){this.set("$ref",t)}get $defs(){return this.get("$defs")}set $defs(t){this.set("$defs",t)}get definitions(){throw new It("definitions keyword from Validation vocabulary has been renamed to $defs.")}set definitions(t){throw new It("definitions keyword from Validation vocabulary has been renamed to $defs.")}get not(){return this.get("not")}set not(t){this.set("not",t)}get if(){return this.get("if")}set if(t){this.set("if",t)}get then(){return this.get("then")}set then(t){this.set("then",t)}get else(){return this.get("else")}set else(t){this.set("else",t)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(t){this.set("dependentSchemas",t)}get dependencies(){throw new It("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}set dependencies(t){throw new It("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}get items(){return this.get("items")}set items(t){this.set("items",t)}get containsProp(){return this.get("contains")}set containsProp(t){this.set("contains",t)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(t){this.set("additionalProperties",t)}get additionalItems(){return this.get("additionalItems")}set additionalItems(t){this.set("additionalItems",t)}get propertyNames(){return this.get("propertyNames")}set propertyNames(t){this.set("propertyNames",t)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(t){this.set("unevaluatedItems",t)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(t){this.set("unevaluatedProperties",t)}get maxContains(){return this.get("maxContains")}set maxContains(t){this.set("maxContains",t)}get minContains(){return this.get("minContains")}set minContains(t){this.set("minContains",t)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(t){this.set("dependentRequired",t)}get deprecated(){return this.get("deprecated")}set deprecated(t){this.set("deprecated",t)}get contentSchema(){return this.get("contentSchema")}set contentSchema(t){this.set("contentSchema",t)}},Ku=class extends Ju{get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(t){this.set("hrefSchema",t)}get headerSchema(){return this.get("headerSchema")}set headerSchema(t){this.set("headerSchema",t)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(t){this.set("submissionSchema",t)}};const poe={namespace:e=>{const{base:t}=e;return t.register("jSONSchema201909",Hu),t.register("linkDescription",Ku),t}},hoe={JSONSchema201909Element:["content"],LinkDescriptionElement:["content"],...$s};let Lr=class extends l4{constructor(t){super(t),this.element=new Hu}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2019-09/schema"}ObjectElement(t){this.handleDialectIdentifier(t),this.handleSchemaIdentifier(t),this.parent=this.element;const r=mo.prototype.ObjectElement.call(this,t);return ht(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}};class doe extends Ft{ObjectElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-$vocabulary"),r}}class moe extends Ft{StringElement(t){const r=super.enter(t);return this.element.classes.push("reference-value"),r}}let h4=class extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-$defs"),this.specPath=lt(["document","objects","JSONSchema"])}},d4=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-allOf")}ArrayElement(t){return t.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),kt}},m4=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-anyOf")}ArrayElement(t){return t.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),kt}},g4=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-oneOf")}ArrayElement(t){return t.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),kt}},y4=class extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=lt(["document","objects","JSONSchema"])}};class goe extends Be(Dn,Ar,Ft){ObjectElement(t){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],t),kt}ArrayElement(t){return this.element=new ve.ArrayElement,this.element.classes.push("json-schema-items"),t.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),kt}BooleanElement(t){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],t),kt}}let v4=class extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-properties"),this.specPath=lt(["document","objects","JSONSchema"])}},b4=class extends Be(Ui,Ar,Ft){constructor(t){super(t),this.element=new ve.ObjectElement,this.element.classes.push("json-schema-patternProperties"),this.specPath=lt(["document","objects","JSONSchema"])}};class yoe extends Ft{ObjectElement(t){const r=super.enter(t);return this.element.classes.push("json-schema-dependentRequired"),r}}let E4=class extends f4{constructor(t){super(t),this.element=new Ku}};const Gl=Kr(Le(["visitors","document","objects","JSONSchema","$visitor"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","$vocabulary"],doe),Le(["visitors","document","objects","JSONSchema","fixedFields","$anchor"],xi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"],xi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"],xi.visitors.value),In(["visitors","document","objects","JSONReference","$visitor"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$ref"],moe),In(["visitors","document","objects","JSONSchema","fixedFields","definitions"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$defs"],h4),Le(["visitors","document","objects","JSONSchema","fixedFields","allOf"],d4),Le(["visitors","document","objects","JSONSchema","fixedFields","anyOf"],m4),Le(["visitors","document","objects","JSONSchema","fixedFields","oneOf"],g4),Le(["visitors","document","objects","JSONSchema","fixedFields","not"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","if"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","then"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","else"],Lr),In(["visitors","document","objects","JSONSchema","fixedFields","dependencies"]),Le(["visitors","document","objects","JSONSchema","fixedFields","dependentSchemas"],y4),Le(["visitors","document","objects","JSONSchema","fixedFields","items"],goe),Le(["visitors","document","objects","JSONSchema","fixedFields","contains"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","properties"],v4),Le(["visitors","document","objects","JSONSchema","fixedFields","patternProperties"],b4),Le(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],Lr),Le(["visitors","document","objects","JSONSchema","fixedFields","maxContains"],xi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","minContains"],xi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","dependentRequired"],yoe),Le(["visitors","document","objects","JSONSchema","fixedFields","deprecated"],xi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],Lr),Le(["visitors","document","objects","LinkDescription","$visitor"],E4),Le(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],Lr),Le(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Lr),Le(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Lr),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Lr))(xi),voe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Hu||e(n)&&t("JSONSchema201909",n)&&r("object",n)),boe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ku||e(n)&&t("linkDescription",n)&&r("object",n)),Eoe=Object.freeze(Object.defineProperty({__proto__:null,isJSONSchemaElement:voe,isLinkDescriptionElement:boe},Symbol.toStringTag,{value:"Module"})),Soe=()=>{const e=li(poe);return{predicates:{...Eoe,isStringElement:ht},namespace:e}},_oe=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Gl}={})=>{const s=ve.refract(e),i=Li(n),o=Nr(t,i),a=new o({specObj:i});return xr(s,a),fi(a.element,r,{toolboxCreator:Soe,visitorOptions:{keyMap:hoe,n
93odeTypeGetter:$u}})},S4=e=>(t,r={})=>_oe(t,{specPath:e,...r});Hu.refract=S4(["visitors","document","objects","JSONSchema","$visitor"]);Ku.refract=S4(["visitors","document","objects","LinkDescription","$visitor"]);class Gu extends Hu{constructor(t,r,n){super(t,r,n),this.element="JSONSchema202012"}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(t){this.set("$dynamicAnchor",t)}get $recursiveAnchor(){throw new It("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}set $recursiveAnchor(t){throw new It("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(t){this.set("$dynamicRef",t)}get $recursiveRef(){throw new It("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}set $recursiveRef(t){throw new It("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}get prefixItems(){return this.get("prefixItems")}set prefixItems(t){this.set("prefixItems",t)}}class xh extends Ku{get targetSchema(){return this.get("targetSchema")}set targetSchema(t){this.set("targetSchema",t)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(t){this.set("hrefSchema",t)}get headerSchema(){return this.get("headerSchema")}set headerSchema(t){this.set("headerSchema",t)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(t){this.set("submissionSchema",t)}}const woe={namespace:e=>{const{base:t}=e;return t.register("jSONSchema202012",Gu),t.register("linkDescription",xh),t}},xoe={JSONSchema202012Element:["content"],LinkDescriptionElement:["content"],...$s};let Tr=class extends Lr{constructor(t){super(t),this.element=new Gu}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2020-12/schema"}},_4=class extends Be(Dn,Ar,Ft){constructor(t){super(t),this.element=new ve.ArrayElement,this.element.classes.push("json-schema-prefixItems")}ArrayElement(t){return t.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(t,this.element),kt}},Aoe=class extends E4{constructor(t){super(t),this.element=new xh}};const w4=Kr(Le(["visitors","document","objects","JSONSchema","$visitor"],Tr),In(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$dynamicAnchor"],Gl.visitors.value),In(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$dynamicRef"],Gl.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","not"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","if"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","then"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","else"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","prefixItems"],_4),Le(["visitors","document","objects","JSONSchema","fixedFields","items"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","contains"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],Tr),In(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"]),Le(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],Tr),Le(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],Tr),Le(["visitors","document","objects","LinkDescription","$visitor"],Aoe),Le(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],Tr),Le(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Tr),Le(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Tr),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Tr))(Gl),Ooe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Gu||e(n)&&t("JSONSchema202012",n)&&r("object",n)),Coe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof xh||e(n)&&t("linkDescription",n)&&r("object",n)),Roe=Object.freeze(Object.defineProperty({__proto__:null,isJSONSchemaElement:Ooe,isLinkDescriptionElement:Coe},Symbol.toStringTag,{value:"Module"})),Toe=()=>{const e=li(woe);return{predicates:{...Roe,isStringElement:ht},namespace:e}},Ioe=(e,{specPath:t=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=w4}={})=>{const s=ve.refract(e),i=Li(n),o=Nr(t,i),a=new o({specObj:i});return xr(s,a),fi(a.element,r,{toolboxCreator:Toe,visitorOptions:{keyMap:xoe,nodeTypeGetter:$u}})},x4=e=>(t,r={})=>Ioe(t,{specPath:e,...r});Gu.refract=x4(["visitors","document","objects","JSONSchema","$visitor"]);
93xh.refract=x4(["visitors","document","objects","LinkDescription","$visitor"]);class ki extends Gu{constructor(t,r,n){super(t,r,n),this.element="schema"}get discriminator(){return this.get("discriminator")}set discriminator(t){this.set("discriminator",t)}get xml(){return this.get("xml")}set xml(t){this.set("xml",t)}get externalDocs(){return this.get("externalDocs")}set externalDocs(t){this.set("externalDocs",t)}get example(){return this.get("example")}set example(t){this.set("example",t)}}class Ah extends Fu{}class Oh extends qu{}class Ch extends Bu{}class Rh extends Lu{}class A2 extends sh{}class O2 extends ih{}const C2={namespace:e=>{const{base:t}=e;return t.register("callback",uh),t.register("components",lh),t.register("contact",fh),t.register("discriminator",E2),t.register("encoding",S2),t.register("example",ph),t.register("externalDocumentation",hh),t.register("header",dh),t.register("info",mh),t.register("jsonSchemaDialect",go),t.register("license",gh),t.register("link",yh),t.register("mediaType",vh),t.register("oAuthFlow",_2),t.register("oAuthFlows",w2),t.register("openapi",x2),t.register("openApi3_1",Vi),t.register("operation",Uu),t.register("parameter",bh),t.register("pathItem",ji),t.register("paths",Eh),t.register("reference",zi),t.register("requestBody",Sh),t.register("response",_h),t.register("responses",wh),t.register("schema",ki),t.register("securityRequirement",Ah),t.register("securityScheme",Oh),t.register("server",Ch),t.register("serverVariable",Rh),t.register("tag",A2),t.register("xml",O2),t}},pp=class pp extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(pp.primaryClass)}};G(pp,"primaryClass","components-path-items");let xw=pp;const hp=class hp extends ve.ObjectElement{constructor(t,r,n){super(t,r,n),this.classes.push(hp.primaryClass)}};G(hp,"primaryClass","webhooks");let Aw=hp;const Hn=e=>{if(yr(e))return`${e.element.charAt(0).toUpperCase()+e.element.slice(1)}Element`},cs={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"],...$s};class Yu{constructor(t,r,n){G(this,"internalStore");this.storageElement=t,this.storageField=r,this.storageSubField=n}get store(){if(!this.internalStore){let t=this.storageElement.get(this.storageField);Dt(t)||(t=new ve.ObjectElement,this.storageElement.set(this.storageField,t));let r=t.get(this.storageSubField);Hr(r)||(r=new ve.ArrayElement,t.set(this.storageSubField,r)),this.internalStore=r}return this.internalStore}append(t){this.includes(t)||this.store.push(t)}includes(t){return this.store.includes(t)}}const Poe=({storageField:e="x-normalized"}={})=>t=>{const{predicates:r,ancestorLineageToJSONPointer:n}=t,s=(a,c)=>!r.isParameterElement(a)||!r.isParameterElement(c)||!r.isStringElement(a.name)||!r.isStringElement(a.in)||!r.isStringElement(c.name)||!r.isStringElement(c.in)?!1:Ie(a.name)===Ie(c.name)&&Ie(a.in)===Ie(c.in),i=[];let o;return{visitor:{OpenApi3_1Element:{enter(a){o=new Yu(a,e,"parameters")},leave(){o=void 0}},PathItemElement:{enter(a,c,u,l,f){if(f.some(r.isComponentsElement))return;const{parameters:d}=a;r.isArrayElement(d)?i.push([...d.content]):i.push([])},leave(){i.pop()}},OperationElement:{leave(a,c,u,l,f){const d=Lp(i);if(!Array.isArray(d)||d.length===0)return;const h=n([...f,u,a]);if(o.includes(h))return;const g=O6([],["parameters","content"],a),v=P6(s,[...g,...d]);a.parameters=new wf(v),o.append(h)}}}}},joe=({storageField:e="x-normalized"}={})=>t=>{const{predicates:r,ancestorLineageToJSONPointer:n}=t;let s,i;return{visitor:{OpenApi3_1Element:{enter(o){i=new Yu(o,e,"security-requirements"),r.isArrayElement(o.security)&&(s=o.security)},leave(){i=void 0,s=void 0}},OperationElement:{leave(o,a,c,u,l){if(l.some(r.isComponentsElement))return;const f=n([...l,c,o]);if(i.includes(f))return;if(typeof o.security>"u"&&typeof s<"u"){var g;o.security=new xf((g=s)===null||g===void 0?void 0:g.content),i.append(f)}}}}}},Ow=e=>e.replace(/\s/g,""),Cw=e=>e.replace(/\W/gi,"_"),koe=(e,t)=>{const r=Cw(Ow(t.toLowerCase())),n=Cw(Ow(e));return`${r}${n}`},Noe=(e,t,r)=>{const n=Ow(e);return n.length>0?Cw(n):koe(t,r)}
93,Moe=({storageField:e="x-normalized",operationIdNormalizer:t=Noe}={})=>r=>{const{predicates:n,ancestorLineageToJSONPointer:s,namespace:i}=r,o=[],a=[],c=[];let u;return{visitor:{OpenApi3_1Element:{enter(l){u=new Yu(l,e,"operation-ids")},leave(){const l=SQ(f=>Ie(f.operationId),a);Object.entries(l).forEach(([f,d])=>{Array.isArray(d)&&(d.length<=1||d.forEach((h,g)=>{const v=`${f}${g+1}`;h.operationId=new i.elements.String(v)}))}),c.forEach(f=>{if(typeof f.operationId>"u")return;const d=String(Ie(f.operationId)),h=a.find(g=>Ie(g.meta.get("originalOperationId"))===d);typeof h>"u"||(f.operationId=Xe.safe(h.operationId),f.meta.set("originalOperationId",d),f.set("__originalOperationId",d))}),a.length=0,c.length=0,u=void 0}},PathItemElement:{enter(l){const f=ha("path",Ie(l.meta.get("path")));o.push(f)},leave(){o.pop()}},OperationElement:{enter(l,f,d,h,g){if(typeof l.operationId>"u")return;const v=s([...g,d,l]);if(u.includes(v))return;const y=String(Ie(l.operationId)),E=Lp(o),b=ha("method",Ie(l.meta.get("http-method"))),S=t(y,E,b);y!==S&&(l.operationId=new i.elements.String(S),l.set("__originalOperationId",y),l.meta.set("originalOperationId",y),a.push(l),u.append(v))}},LinkElement:{leave(l){n.isLinkElement(l)&&(typeof l.operationId>"u"||c.push(l))}}}}},Doe=({storageField:e="x-normalized"}={})=>t=>{const{predicates:r,ancestorLineageToJSONPointer:n}=t;let s;return{visitor:{OpenApi3_1Element:{enter(i){s=new Yu(i,e,"parameter-examples")},leave(){s=void 0}},ParameterElement:{leave(i,o,a,c,u){var l,f;if(u.some(r.isComponentsElement)||typeof i.schema>"u"||!r.isSchemaElement(i.schema)||typeof((l=i.schema)===null||l===void 0?void 0:l.example)>"u"&&typeof((f=i.schema)===null||f===void 0?void 0:f.examples)>"u")return;const d=n([...u,a,i]);if(!s.includes(d)){if(typeof i.examples<"u"&&r.isObjectElement(i.examples)){const h=i.examples.map(g=>Xe.safe(g.value));typeof i.schema.examples<"u"&&(i.schema.set("examples",h),s.append(d)),typeof i.schema.example<"u"&&(i.schema.set("example",h[0]),s.append(d));return}typeof i.example<"u"&&(typeof i.schema.examples<"u"&&(i.schema.set("examples",[Xe(i.example)]),s.append(d)),typeof i.schema.example<"u"&&(i.schema.set("example",Xe(i.example)),s.append(d)))}}}}}},$oe=({storageField:e="x-normalized"}={})=>t=>{const{predicates:r,ancestorLineageToJSONPointer:n}=t;let s;return{visitor:{OpenApi3_1Element:{enter(i){s=new Yu(i,e,"header-examples")},leave(){s=void 0}},HeaderElement:{leave(i,o,a,c,u){var l,f;if(u.some(r.isComponentsElement)||typeof i.schema>"u"||!r.isSchemaElement(i.schema)||typeof((l=i.schema)===null||l===void 0?void 0:l.example)>"u"&&typeof((f=i.schema)===null||f===void 0?void 0:f.examples)>"u")return;const d=n([...u,a,i]);if(!s.includes(d)){if(typeof i.examples<"u"&&r.isObjectElement(i.examples)){const h=i.examples.map(g=>Xe.safe(g.value));typeof i.schema.examples<"u"&&(i.schema.set("examples",h),s.append(d)),typeof i.schema.example<"u"&&(i.schema.set("example",h[0]),s.append(d));return}typeof i.example<"u"&&(typeof i.schema.examples<"u"&&(i.schema.set("examples",[Xe(i.example)]),s.append(d)),typeof i.schema.example<"u"&&(i.schema.set("example",Xe(i.example)),s.append(d)))}}}}}},Foe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof uh||e(n)&&t("callback",n)&&r("object",n)),qoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof lh||e(n)&&t("components",n)&&r("object",n)),Boe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof fh||e(n)&&t("contact",n)&&r("object",n)),Loe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ph||e(n)&&t("example",n)&&r("object",n)),Uoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof hh||e(n)&&t("externalDocumentation",n)&&r("object",n)),Voe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof dh||e(n)&&t("header",n)&&r("object",n)),zoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof mh||e(n)&&t("info",n)&&r("object",n)),A4=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof go||e(n)&&t("jsonSchemaDialect",n)&&r("string",n)),Woe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof gh||e(n)&&t("license",n)&&r("object",n)),Joe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>
93n instanceof yh||e(n)&&t("link",n)&&r("object",n)),Hoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof x2||e(n)&&t("openapi",n)&&r("string",n)),O4=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r,hasClass:n})=>s=>s instanceof Vi||e(s)&&t("openApi3_1",s)&&r("object",s)&&n("api",s)),C4=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Uu||e(n)&&t("operation",n)&&r("object",n)),Koe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof bh||e(n)&&t("parameter",n)&&r("object",n)),yo=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ji||e(n)&&t("pathItem",n)&&r("object",n)),Goe=e=>{if(!yo(e)||!ht(e.$ref))return!1;const t=Ie(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},Yoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Eh||e(n)&&t("paths",n)&&r("object",n)),Co=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof zi||e(n)&&t("reference",n)&&r("object",n)),Xoe=e=>{if(!Co(e)||!ht(e.$ref))return!1;const t=Ie(e.$ref);return typeof t=="string"&&t.length>0&&!t.startsWith("#")},Zoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Sh||e(n)&&t("requestBody",n)&&r("object",n)),Qoe=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof _h||e(n)&&t("response",n)&&r("object",n)),eae=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof wh||e(n)&&t("responses",n)&&r("object",n)),us=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof ki||e(n)&&t("schema",n)&&r("object",n)),R2=e=>fu(e)&&e.classes.includes("boolean-json-schema"),tae=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ah||e(n)&&t("securityRequirement",n)&&r("object",n)),rae=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Oh||e(n)&&t("securityScheme",n)&&r("object",n)),nae=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Ch||e(n)&&t("server",n)&&r("object",n)),sae=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof Rh||e(n)&&t("serverVariable",n)&&r("object",n)),iae=Ue(({hasBasicElementProps:e,isElementType:t,primitiveEq:r})=>n=>n instanceof vh||e(n)&&t("mediaType",n)&&r("object",n)),oae=Object.freeze(Object.defineProperty({__proto__:null,isBooleanJsonSchemaElement:R2,isCallbackElement:Foe,isComponentsElement:qoe,isContactElement:Boe,isExampleElement:Loe,isExternalDocumentationElement:Uoe,isHeaderElement:Voe,isInfoElement:zoe,isJsonSchemaDialectElement:A4,isLicenseElement:Woe,isLinkElement:Joe,isMediaTypeElement:iae,isOpenApi3_1Element:O4,isOpenapiElement:Hoe,isOperationElement:C4,isParameterElement:Koe,isPathItemElement:yo,isPathItemElementExternal:Goe,isPathsElement:Yoe,isReferenceElement:Co,isReferenceElementExternal:Xoe,isRequestBodyElement:Zoe,isResponseElement:Qoe,isResponsesElement:eae,isSchemaElement:us,isSecurityRequirementElement:tae,isSecuritySchemeElement:rae,isServerElement:nae,isServerVariableElement:sae},Symbol.toStringTag,{value:"Module"})),aae=e=>{const t=e.reduce((r,n,s)=>{if(ds(n)){const i=String(Ie(n.key));r.push(i)}else if(Hr(e[s-2])){const i=String(e[s-2].content.indexOf(n));r.push(i)}return r},[]);return W8(t)},R4=()=>{const e=li(C2);return{predicates:{...oae,isElement:yr,isStringElement:ht,isArrayElement:Hr,isObjectElement:Dt,isMemberElement:ds,isServersElement:i4,includesClasses:ga,hasElementSourceMap:Pa},ancestorLineageToJSONPointer:aae,namespace:e}};class cae extends Be(Ct,ze){constructor(t){super(t),this.element=new Vi,this.specPath=lt(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(t){return this.openApiGenericElement=t,Ct.prototype.ObjectElement.call(this,t)}}const uae=Se.visitors.document.objects.Info.$visitor;class lae extends uae{constructor(t){super(t),this.element=new mh}}const fae=Se.visitors.document.objects.Contact.$visitor;class pae extends fae{constructor(t){super(t),this.element=new fh}}const hae=Se.visitors.document.objects.License.$visitor;class dae extends hae{constructor(t){super(t),this.element=new gh}}const mae=Se.visitors.document.objects.Link.$visitor;class gae extends mae{constructor(t){super(t),this.element=new yh}}class yae extends Be(ms,ze){StringElement(t){const r=new go(Ie(t));return this.copyMetaAndAttributes(t,r),this.element=r,kt}}const vae=Se.visitors.document.objects.Server.$visitor;class bae extends vae{constructor(t){super(t),this.element=new Ch}}const Eae=Se.visitors.document.objects.ServerVariable.$visitor;
93class Sae extends Eae{constructor(t){super(t),this.element=new Rh}}const _ae=Se.visitors.document.objects.MediaType.$visitor;class wae extends _ae{constructor(t){super(t),this.element=new vh}}const xae=Se.visitors.document.objects.SecurityRequirement.$visitor;class Aae extends xae{constructor(t){super(t),this.element=new Ah}}const Oae=Se.visitors.document.objects.Components.$visitor;class Cae extends Oae{constructor(t){super(t),this.element=new lh}}const Rae=Se.visitors.document.objects.Tag.$visitor;class Tae extends Rae{constructor(t){super(t),this.element=new A2}}const Iae=Se.visitors.document.objects.Reference.$visitor;class Pae extends Iae{constructor(t){super(t),this.element=new zi}}const jae=Se.visitors.document.objects.Parameter.$visitor;class kae extends jae{constructor(t){super(t),this.element=new bh}}const Nae=Se.visitors.document.objects.Header.$visitor;class Mae extends Nae{constructor(t){super(t),this.element=new dh}}class Dae extends Be(Ct,Ar,ze){constructor(t){super(t),this.element=new ki,this.specPath=lt(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=go.default,this.passingOptionsNames.push("parent")}ObjectElement(t){this.handleDialectIdentifier(t),this.handleSchemaIdentifier(t),this.parent=this.element;const r=Ct.prototype.ObjectElement.call(this,t);return ht(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(t){return Tr.prototype.BooleanElement.call(this,t)}get defaultDialectIdentifier(){let t;return this.openApiSemanticElement!==void 0&&A4(this.openApiSemanticElement.jsonSchemaDialect)?t=Ie(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&ht(this.openApiGenericElement.get("jsonSchemaDialect"))?t=Ie(this.openApiGenericElement.get("jsonSchemaDialect")):t=Ie(this.jsonSchemaDefaultDialect),t}handleDialectIdentifier(t){return Tr.prototype.handleDialectIdentifier.call(this,t)}handleSchemaIdentifier(t){return Tr.prototype.handleSchemaIdentifier.call(this,t)}}class $ae extends h4{constructor(t){super(t),this.passingOptionsNames.push("parent")}}let Fae=class extends d4{constructor(t){super(t),this.passingOptionsNames.push("parent")}};class qae extends m4{constructor(t){super(t),this.passingOptionsNames.push("parent")}}class Bae extends g4{constructor(t){super(t),this.passingOptionsNames.push("parent")}}class Lae extends y4{constructor(t){super(t),this.passingOptionsNames.push("parent")}}class Uae extends _4{constructor(t){super(t),this.passingOptionsNames.push("parent")}}class Vae extends v4{constructor(t){super(t),this.passingOptionsNames.push("parent")}}class zae extends b4{constructor(t){super(t),this.passingOptionsNames.push("parent")}}const Wae=Se.visitors.document.objects.Discriminator.$visitor;class Jae extends Wae{constructor(t){super(t),this.element=new E2,this.canSupportSpecificationExtensions=!0}}const Hae=Se.visitors.document.objects.XML.$visitor;class Kae extends Hae{constructor(t){super(t),this.element=new O2}}class Gae extends Be(bt,ze){constructor(t){super(t),this.element=new _f,this.specPath=lt(["document","objects","Schema"])}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(us).forEach((n,s)=>{n.setMetaProperty("schemaName",Ie(s))}),r}}class Yae extends Be(bt,ze){constructor(t){super(t),this.element=new xw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Co).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),r}}const Xae=Se.visitors.document.objects.Example.$visitor;class Zae extends Xae{constructor(t){super(t),this.element=new ph}}
93const Qae=Se.visitors.document.objects.ExternalDocumentation.$visitor;class ece extends Qae{constructor(t){super(t),this.element=new hh}}const tce=Se.visitors.document.objects.Encoding.$visitor;class rce extends tce{constructor(t){super(t),this.element=new S2}}const nce=Se.visitors.document.objects.Paths.$visitor;class sce extends nce{constructor(t){super(t),this.element=new Eh}}const ice=Se.visitors.document.objects.RequestBody.$visitor;class oce extends ice{constructor(t){super(t),this.element=new Sh}}const u$=Se.visitors.document.objects.Callback.$visitor;class ace extends u${constructor(t){super(t),this.element=new uh,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=u$.prototype.ObjectElement.call(this,t);return this.element.filter(Co).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),r}}const cce=Se.visitors.document.objects.Response.$visitor;class uce extends cce{constructor(t){super(t),this.element=new _h}}const lce=Se.visitors.document.objects.Responses.$visitor;class fce extends lce{constructor(t){super(t),this.element=new wh}}const pce=Se.visitors.document.objects.Operation.$visitor;class hce extends pce{constructor(t){super(t),this.element=new Uu}}const dce=Se.visitors.document.objects.PathItem.$visitor;class mce extends dce{constructor(t){super(t),this.element=new ji}}const gce=Se.visitors.document.objects.SecurityScheme.$visitor;class yce extends gce{constructor(t){super(t),this.element=new Oh}}const vce=Se.visitors.document.objects.OAuthFlows.$visitor;class bce extends vce{constructor(t){super(t),this.element=new w2}}const Ece=Se.visitors.document.objects.OAuthFlow.$visitor;class Sce extends Ece{constructor(t){super(t),this.element=new _2}}class _ce extends Be(bt,ze){constructor(t){super(t),this.element=new Aw,this.specPath=r=>Qt(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(t){const r=bt.prototype.ObjectElement.call(this,t);return this.element.filter(Co).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),this.element.filter(yo).forEach((n,s)=>{n.setMetaProperty("webhook-name",Ie(s))}),r}}const{JSONSchema:wce,LinkDescription:xce}=w4.visitors.document.objects,Ace={visitors:{value:Se.visitors.value,document:{objects:{OpenApi:{$visitor:cae,fixedFields:{openapi:Se.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:yae,servers:Se.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:_ce,components:{$ref:"#/visitors/document/objects/Components"},security:Se.visitors.document.objects.OpenApi.fixedFields.security,tags:Se.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:lae,fixedFields:{title:Se.visitors.document.objects.Info.fixedFields.title,description:Se.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:Se.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Se.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:pae,fixedFields:{name:Se.visitors.document.objects.Contact.fixedFields.name,url:Se.visitors.document.objects.Contact.fixedFields.url,email:Se.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:dae,fixedFields:{name:Se.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:Se.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:bae,fixedFields:{url:Se.visitors.document.objects.Server.fixedFields.url,description:Se.visitors.document.objects.Server.fixedFields.description,variables:Se.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:Sae,fixedFields:{enum:Se.visitors.document.objects.ServerVariable.fixedFields.enum,default:Se.visitors.document.objects.ServerVariable.fixedFields.default,description:Se.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:Cae,fixedFields:{schemas:Gae,responses:Se.visitors.document.objects.Components.fixedFields.responses,parameters:Se.visitors.document.objects.Components.fixedFields.parameters,examples:Se.visitors.document.objects.Components.fixedFields.examples,requestBodies:Se.visitors.document.objects.Components.fixedFields.requestBodies,headers:Se.visitors.document.objects.Components.fixedFields.headers,securitySchemes:Se.visitors.document.objects.Components.fixedFields.securitySchemes,links:Se.visitors.document.objects.Components.fixedFields.links,callbacks:Se.visitors.document.objects.Components.fixedFields.callbacks,pathItems:Yae}},Paths:{$visitor:sce},PathItem:{$visitor:mce,fixedFields:{$ref:Se.visitors.document.objects.PathItem.fixedFields.$ref,summary:Se.visitors.document.objects.PathItem.fixedFields.summary,description:Se.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:Se.visitors.document.objects.PathItem.fixedFields.servers,parameters:Se.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:hce,fixedFields:{tags:Se.visitors.document.objects.Operation.fixedFields.tags,summary:Se.visitors.document.objects.Operation.fixedFields.summary,description:Se.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:Se.visitors.document.objects.Operation.fixedFields.operationId,parameters:Se.visitors.document.objects.Operation.fixedFields.parameters,requestBody:Se.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Se.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:Se.visitors.document.objects.Operation.fixedFields.deprecated,security:Se.visitors.document.objects.Operation.fixedFields.security,servers:Se.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:ece,fixedFields:{description:Se.visitors.document.objects.Exter
vendor: 9,229 bytes, line 93
93nalDocumentation.fixedFields.description,url:Se.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:kae,fixedFields:{name:Se.visitors.document.objects.Parameter.fixedFields.name,in:Se.visitors.document.objects.Parameter.fixedFields.in,description:Se.visitors.document.objects.Parameter.fixedFields.description,required:Se.visitors.document.objects.Parameter.fixedFields.required,deprecated:Se.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:Se.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:Se.visitors.document.objects.Parameter.fixedFields.style,explode:Se.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:Se.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Se.visitors.document.objects.Parameter.fixedFields.example,examples:Se.visitors.document.objects.Parameter.fixedFields.examples,content:Se.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:oce,fixedFields:{description:Se.visitors.document.objects.RequestBody.fixedFields.description,content:Se.visitors.document.objects.RequestBody.fixedFields.content,required:Se.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:wae,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:Se.visitors.document.objects.MediaType.fixedFields.example,examples:Se.visitors.document.objects.MediaType.fixedFields.examples,encoding:Se.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:rce,fixedFields:{contentType:Se.visitors.document.objects.Encoding.fixedFields.contentType,headers:Se.visitors.document.objects.Encoding.fixedFields.headers,style:Se.visitors.document.objects.Encoding.fixedFields.style,explode:Se.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:Se.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:fce,fixedFields:{default:Se.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:uce,fixedFields:{description:Se.visitors.document.objects.Response.fixedFields.description,headers:Se.visitors.document.objects.Response.fixedFields.headers,content:Se.visitors.document.objects.Response.fixedFields.content,links:Se.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:ace},Example:{$visitor:Zae,fixedFields:{summary:Se.visitors.document.objects.Example.fixedFields.summary,description:Se.visitors.document.objects.Example.fixedFields.description,value:Se.visitors.document.objects.Example.fixedFields.value,externalValue:Se.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:gae,fixedFields:{operationRef:Se.visitors.document.objects.Link.fixedFields.operationRef,operationId:Se.visitors.document.objects.Link.fixedFields.operationId,parameters:Se.visitors.document.objects.Link.fixedFields.parameters,requestBody:Se.visitors.document.objects.Link.fixedFields.requestBody,description:Se.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Mae,fixedFields:{description:Se.visitors.document.objects.Header.fixedFields.description,required:Se.visitors.document.objects.Header.fixedFields.required,deprecated:Se.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:Se.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:Se.visitors.document.objects.Header.fixedFields.style,explode:Se.visitors.document.objects.Header.fixedFields.explode,allowReserved:Se.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Se.visitors.document.objects.Header.fixedFields.example,examples:Se.visitors.document.objects.Header.fixedFields.examples,content:Se.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:Tae,fixedFields:{name:Se.visitors.document.objects.Tag.fixedFields.name,description:Se.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Pae,fixedFields:{$ref:Se.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},LinkDescription:{...xce},Schema:{$visitor:Dae,fixedFields:{...wce.fixedFields,$defs:$ae,allOf:Fae,anyOf:qae,oneOf:Bae,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:Lae,prefixItems:Uae,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:Vae,patternProperties:zae,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:Jae,fixedFields:{propertyName:Se.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:Se.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:Kae,fixedFields:{name:Se.visitors.document.objects.XML.fixedFields.name,namespace:Se.visitors.document.objects.XML.fixedFields.namespace,prefix:Se.visitors.document.objects.XML.fixedFields.prefix,attribute:Se.visitors.document.objects.XML.fixedFields.attribute,wrapped:Se.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:yce,fixedFields:{type:Se.visitors.document.objects.SecurityScheme.fixedFields.type,description:Se.visitors.document.objects.SecurityScheme.fixedFields.description,name:Se.visitors.document.objects.SecurityScheme.fixedFields.name,in:Se.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:Se.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:Se.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Se.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:bce,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:Sce,fixedFields:{authorizationUrl:Se.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:Se.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:Se.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:Se.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:Aae}},extension:{$visitor:Se.visitors.document.extension.$visitor}}}},Oce=(e,{specPath:t=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=ve.refract(e),s=Li(Ace),i=Nr(t,s),o=new i({specObj:s});return xr(n,o),fi(o.element,r,{toolboxCreator:R4,visitorOptions:{keyMap:cs,nodeTypeGetter:Hn}})},Lt=e=>(t,r={})=>Oce(t,{specPath:e,...r});uh.refract=Lt(["visitors","document","objects","Callback","$visitor"]);lh.refract=Lt(["visitors","document","objects","Components","$visitor"]);fh.refract=Lt(["visitors","document","objects","Contact","$visitor"]);ph.refract=Lt(["visitors","document","objects","Example","$visitor"]);E2.refract=Lt(["visitors","document","objects","Discriminator","$visitor"]);S2.refract=Lt(["visitors","document","objects","Encoding","$visitor"]);hh.refract=Lt(["visitors","document","objects","ExternalDocumentation","$visitor"]);dh.refract=Lt(["visitors","document","objects","Header","$visitor"]);mh.refract=Lt(["visitors","document","objects","Info","$visitor"]);go.refract=Lt(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]);gh.refract=Lt(["visitors","document","objects","License","$visitor"]);yh.refract=Lt(["visitors","document","objects","Link","$visitor"]);vh.refract=Lt(["visitors","document","objects","MediaType","$visitor"]);_2.refract=Lt(["visitors","document","objects","OAuthFlow","$visitor"]);w2.refract=Lt(["visitors","document","objects","OAuthFlows","$visitor"]);x2.refract=Lt(["visitors","document","objects","OpenApi","fixedFields","openapi"]);Vi.refract=Lt(["visitors","document","objects","OpenApi","$visitor"]);Uu.refract=Lt(["visitors","document","objects","Operation","$visitor"]);bh.refract=Lt(["visitors","document","objects","Parameter","$visitor"]);ji.refract=Lt(["visitors","document","objects","PathItem","$visitor"]);Eh.refract=Lt(["visitors","document","objects","Paths","$visitor"]);zi.refract=Lt(["visitors","document","objects","Reference","$visitor"]);Sh.refract=Lt(["visitors","document","objects","RequestBody","$visitor"]);
93_h.refract=Lt(["visitors","document","objects","Response","$visitor"]);wh.refract=Lt(["visitors","document","objects","Responses","$visitor"]);ki.refract=Lt(["visitors","document","objects","Schema","$visitor"]);Ah.refract=Lt(["visitors","document","objects","SecurityRequirement","$visitor"]);Oh.refract=Lt(["visitors","document","objects","SecurityScheme","$visitor"]);Ch.refract=Lt(["visitors","document","objects","Server","$visitor"]);Rh.refract=Lt(["visitors","document","objects","ServerVariable","$visitor"]);A2.refract=Lt(["visitors","document","objects","Tag","$visitor"]);O2.refract=Lt(["visitors","document","objects","XML","$visitor"]);class Cce extends du{constructor(t){super({...t??{},name:"binary"})}canParse(t){return this.fileExtensions.length===0?!0:this.fileExtensions.includes(t.extension)}parse(t){try{const r=unescape(encodeURIComponent(t.toString())),n=btoa(r),s=new ui;if(n.length!==0){const i=new ve.StringElement(n);i.classes.push("result"),s.push(i)}return s}catch(r){throw new ni(`Error parsing "${t.uri}"`,{cause:r})}}}class Rce extends _te{constructor(t){super({...t??{},name:"openapi-3-1"})}canResolve(t,r){const n=r.dereference.strategies.find(s=>s.name==="openapi-3-1");return n===void 0?!1:n.canDereference(t,r)}async resolve(t,r){const n=r.dereference.strategies.find(o=>o.name==="openapi-3-1");if(n===void 0)throw new y8('"openapi-3-1" dereference strategy is not available.');const s=new ma,i=V6(r,{resolve:{internal:!1},dereference:{refSet:s}});return await n.dereference(t,i),s}}const{AbortController:Tce,AbortSignal:Ice}=globalThis;typeof globalThis.AbortController>"u"&&(globalThis.AbortController=Tce);typeof globalThis.AbortSignal>"u"&&(globalThis.AbortSignal=Ice);class Pce extends Ste{constructor({swaggerHTTPClient:r=xc,swaggerHTTPClientConfig:n={},...s}={}){super({...s,name:"http-swagger-client"});G(this,"swaggerHTTPClient",xc);G(this,"swaggerHTTPClientConfig");this.swaggerHTTPClient=r,this.swaggerHTTPClientConfig=n}getHttpClient(){return this.swaggerHTTPClient}async read(r){const n=this.getHttpClient(),s=new AbortController,{signal:i}=s,o=setTimeout(()=>{s.abort()},this.timeout),a=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",c=this.redirects===0?"error":"follow",u=this.redirects>0?this.redirects:void 0;try{return(await n({url:r.uri,signal:i,userFetch:async(f,d)=>{let h=await fetch(f,d);try{h.headers.delete("Content-Type")}catch{h=new Response(h.body,{...h,headers:new Headers(h.headers)}),h.headers.delete("Content-Type")}return h},credentials:a,redirect:c,follow:u,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(l){throw new z6(`Error downloading "${r.uri}"`,{cause:l})}finally{clearTimeout(o)}}}class jce extends du{constructor(t={}){super({name:"json-swagger-client",mediaTypes:["application/json"],...t})}async canParse(t){var r,n;const s=this.fileExtensions.length===0?!0:ir(r=this.fileExtensions).call(r,t.extension),i=ir(n=this.mediaTypes).call(n,t.mediaType);if(!s)return!1;if(i)return!0;if(!i)try{return JSON.parse(t.toString()),!0}catch{return!1}return!1}async parse(t){if(this.sourceMap)throw new ni("json-swagger-client parser plugin doesn't support sourceMaps option");const r=new ui,n=t.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const s=h8(JSON.parse(n));return s.classes.push("result"),r.push(s),r}catch(s){throw new ni(`Error parsing "${t.uri}"`,{cause:s})}}}class kce extends du{constructor(t={}){super({name:"yaml-1-2-swagger-client",mediaTypes:["text/yaml","application/yaml"],...t})}async canParse(t){var r,n;const s=this.fileExtensions.length===0?!0:ir(r=this.fileExtensions).call(r,t.extension),i=ir(n=this.mediaTypes).call(n,t.mediaType);if(!s)return!1;if(i)return!0;if(!i)try{return Gn.load(t.toString(),{schema:po}),!0}catch{return!1}return!1}async parse(t){if(this.sourceMap)throw new ni("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const r=new ui,n=t.toString();try{const s=Gn.load(n,{schema:po});if(this.allowEmpty&&typeof s>"u")return r;const i=h8(s);return i.classes.push("result"),r.push(i),r}catch(s){throw new ni(`Error parsing "${t.uri}"`,{cause:s})}}}class Nce extends du{constructor(r={}){super({name:"openapi-json-3-1-swagger-client",mediaTypes:new m2(...va.filterByFormat("generic"),...va.filterByFormat("json")),...r});G(this,"detectionRegExp",/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/)}async canParse(r){var n,s;const i=this.fileExtensions.length===0?!0:ir(n=this.fileExtensions).call(n,r.extension),o=ir(s=this.mediaTypes).call(s,r.mediaType);if(!i)return!1;if(o)return!0;
93if(!o)try{const a=r.toString();return JSON.parse(a),this.detectionRegExp.test(a)}catch{return!1}return!1}async parse(r){if(this.sourceMap)throw new ni("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const n=new ui,s=r.toString();if(this.allowEmpty&&s.trim()==="")return n;try{const i=JSON.parse(s),o=Vi.refract(i,this.refractorOpts);return o.classes.push("result"),n.push(o),n}catch(i){throw new ni(`Error parsing "${r.uri}"`,{cause:i})}}}class Mce extends du{constructor(r={}){super({name:"openapi-yaml-3-1-swagger-client",mediaTypes:new m2(...va.filterByFormat("generic"),...va.filterByFormat("yaml")),...r});G(this,"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)}async canParse(r){var n,s;const i=this.fileExtensions.length===0?!0:ir(n=this.fileExtensions).call(n,r.extension),o=ir(s=this.mediaTypes).call(s,r.mediaType);if(!i)return!1;if(o)return!0;if(!o)try{const a=r.toString();return Gn.load(a),this.detectionRegExp.test(a)}catch{return!1}return!1}async parse(r){if(this.sourceMap)throw new ni("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const n=new ui,s=r.toString();try{const i=Gn.load(s,{schema:po});if(this.allowEmpty&&typeof i>"u")return n;const o=Vi.refract(i,this.refractorOpts);return o.classes.push("result"),n.push(o),n}catch(i){throw new ni(`Error parsing "${r.uri}"`,{cause:i})}}}const Th=e=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(e),Ea=e=>{const t=L6(e);return F6("#",t)},Dce=e=>{if(!Th(e))throw new Ote(e);return e},T2=(e,t)=>{const r=Dce(e),n=p8(s=>us(s)&&Ie(s.$anchor)===r,t);if(Bi(n))throw new xte(`Evaluation failed on token: "${r}"`);return n},T4=(e,t)=>{if(typeof t.$ref>"u")return;const r=L6(Ie(t.$ref)),n=Ie(t.meta.get("ancestorsSchemaIdentifiers"));return`${Ia((i,o)=>zr(i,Jp(Kt(o))),e,[...n,Ie(t.$ref)])}${r==="#"?"":r}`},$ce=(e,t)=>{if(typeof t.$id>"u")return;const r=Ie(t.meta.get("ancestorsSchemaIdentifiers"));return Ia((n,s)=>zr(n,Jp(Kt(s))),e,r)},pc=e=>{if(pc.cache.has(e))return pc.cache.get(e);const t=ki.refract(e);return pc.cache.set(e,t),t};pc.cache=new WeakMap;const Qr=e=>lo(e)?pc(e):e,Ih=(e,t)=>{const{cache:r}=Ih,n=Kt(e),s=o=>us(o)&&typeof o.$id<"u";if(!r.has(t)){const o=ite(s,t);r.set(t,Array.from(o))}const i=r.get(t).find(o=>$ce(n,o)===n);if(Bi(i))throw new n2(`Evaluation failed on URI: "${e}"`);return Th(Ea(e))?T2(Ea(e),i):as(i,Wn(e))};Ih.cache=new WeakMap;const Rl=xr[Symbol.for("nodejs.util.promisify.custom")],qr=new t2,Ln=(e,t,r,n)=>{ds(n)?n.value=e:Array.isArray(n)&&(n[r]=e)};class ro{constructor({reference:t,namespace:r,options:n,indirections:s=[],ancestors:i=new n1,refractCache:o=new Map,allOfDiscriminatorMapping:a=new Map}){G(this,"indirections");G(this,"namespace");G(this,"reference");G(this,"options");G(this,"ancestors");G(this,"refractCache");G(this,"allOfDiscriminatorMapping");G(this,"OpenApi3_1Element",{leave:(t,r,n,s,i,o)=>{var a;if(!((a=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&a!==void 0&&a.dereferenceDiscriminatorMapping))return;const c=kr(t);return c.setMetaProperty("allOfDiscriminatorMapping",Object.fromEntries(this.allOfDiscriminatorMapping)),o.replaceWith(c,Ln),n?void 0:c}});this.indirections=s,this.namespace=r,this.reference=t,this.options=n,this.ancestors=new n1(...i),this.refractCache=o,this.allOfDiscriminatorMapping=a}handleDereferenceError(t,r,n){var s;if((s=this.options.dereference.dereferenceOpts)!==null&&s!==void 0&&s.continueOnError){var i;if(n){const a=[...n].find(c=>Dt(c)&&c.getMetaProperty("ref-referencing-element"));if(a){var o;(o=this.options.dereference.dereferenceOpts)===null||o===void 0||o.errors.push({error:t,refEl:a.getMetaProperty("ref-referencing-element")})}}(i=this.options.dereference.dereferenceOpts)===null||i===void 0||i.errors.push({error:t,refEl:r});return}throw t}getNestedVisitorOptions(t){var r,n;return{...this.options,resolve:{...this.options.resolve,external:(r=this.options.dereference)!==null&&r!==void 0&&(r=r.dereferenceOpts)!==null&&r!==void 0&&r.skipNestedExternal&&Ie(t.get("$ref")).startsWith("#")?!1:this.options.resolve.external},dereference:{...this.options.dereference,dereferenceOpts:{...(n=this.options.dereference)===null||n===void 0?void 0:n.dereferenceOpts,continueOnError:!1}}}}toBaseURI(t){return zr(this.reference.uri,Jp(Kt(t)))}async toReference(t){if(this.reference.depth>=this.options.resolve.maxDepth)throw new Cte(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const r=this.toBaseURI(t),{refSet:n}=this.reference;if(n.has(r))return n.find(R6(r,"uri"));const s=await xee(Os(r),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),i=new ti({uri:r,value:Xe(s),depth:this.reference.depth+1});if(n.add(i),this.options.dereference.immutable){const o=new ti({uri:`immutable://${r}`,value:s,depth:this.reference.depth+1});n.add(o)}return i}toAncestorLineage(t){const r=new Set(t.filter(yr));return[new n1(...this.ancestors,r),r]}async ReferenceElement(t,r,n,s,i,o){var a,c;if(this.indirections.includes(t))return!1;const[u,l]=this.toAncestorLineage([...i,n]),f=this.toBaseURI(Ie(t.$ref)),d=Kt(this.reference.uri)===f,h=!d;if(!this.options.resolve.internal&&d||!this.options.resolve.external&&h)return!1;let g;
93try{g=await this.toReference(Ie(t.$ref))}catch(O){return this.handleDereferenceError(O,t,l)}const v=zr(f,Ie(t.$ref));this.indirections.push(t);const y=Wn(v);let E;try{E=as(g.value.result,y)}catch(O){return this.indirections.pop(),this.handleDereferenceError(O,t,l)}if(E.id=qr.identify(E),lo(E)){const O=Ie(t.meta.get("referenced-element")),I=`${O}-${Ie(qr.identify(E))}`;this.refractCache.has(I)?E=this.refractCache.get(I):Qt(E)?(E=zi.refract(E),E.setMetaProperty("referenced-element",O),this.refractCache.set(I,E)):(E=this.namespace.getElementClass(O).refract(E),this.refractCache.set(I,E))}if(t===E){const O=new cr("Recursive Reference Object detected");return this.indirections.pop(),this.handleDereferenceError(O,t,l)}if(this.indirections.length>this.options.dereference.maxDepth){const O=new aa(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);return this.indirections.pop(),this.handleDereferenceError(O,t,l)}if(u.includes(E)){if(g.refSet.circular=!0,this.options.dereference.circular==="error"){const O=new cr("Circular reference detected");return this.indirections.pop(),this.handleDereferenceError(O,t,l)}if(this.options.dereference.circular==="replace"){var b,S;const O=new ve.RefElement(E.id,{type:"reference",uri:g.uri,$ref:Ie(t.$ref)}),R=((b=(S=this.options.dereference.strategyOpts["openapi-3-1"])===null||S===void 0?void 0:S.circularReplacer)!==null&&b!==void 0?b:this.options.dereference.circularReplacer)(O);return o.replaceWith(R,Ln),n?!1:R}}const _=Kt(g.refSet.rootRef.uri)!==g.uri,x=["error","replace"].includes(this.options.dereference.circular);if((h||_||Co(E)||x||(a=this.options.dereference.dereferenceOpts)!==null&&a!==void 0&&a.continueOnError)&&!u.includesCycle(E)){l.add(t);const O=new ro({reference:g,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(t),refractCache:this.refractCache,ancestors:u,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});try{E=await Rl(E,O,{keyMap:cs,nodeTypeGetter:Hn})}catch(I){return this.indirections.pop(),this.handleDereferenceError(I,t,l)}l.delete(t)}this.indirections.pop();const A=kr(E);return A.setMetaProperty("id",qr.generateId()),A.setMetaProperty("ref-fields",{$ref:Ie(t.$ref),description:Ie(t.description),summary:Ie(t.summary)}),A.setMetaProperty("ref-origin",g.uri),A.setMetaProperty("ref-referencing-element-id",Xe(qr.identify(t))),(c=this.options.dereference.dereferenceOpts)!==null&&c!==void 0&&c.continueOnError&&A.setMetaProperty("ref-referencing-element",t),Dt(E)&&Dt(A)&&(t.hasKey("description")&&"description"in E&&(A.remove("description"),A.set("description",t.get("description"))),t.hasKey("summary")&&"summary"in E&&(A.remove("summary"),A.set("summary",t.get("summary")))),o.replaceWith(A,Ln),n?!1:A}async PathItemElement(t,r,n,s,i,o){var a;if(!ht(t.$ref))return;if(this.indirections.includes(t))return!1;const[c,u]=this.toAncestorLineage([...i,n]),l=this.toBaseURI(Ie(t.$ref)),f=Kt(this.reference.uri)===l,d=!f;if(!this.options.resolve.internal&&f||!this.options.resolve.external&&d)return;let h;try{h=await this.toReference(Ie(t.$ref))}catch(A){return this.handleDereferenceError(A,t,u)}const g=zr(l,Ie(t.$ref));this.indirections.push(t);const v=Wn(g);let y;try{y=as(h.value.result,v)}catch(A){return this.indirections.pop(),this.handleDereferenceError(A,t,u)}if(y.id=qr.identify(y),lo(y)){const A=`path-item-${Ie(qr.identify(y))}`;this.refractCache.has(A)?y=this.refractCache.get(A):(y=ji.refract(y),this.refractCache.set(A,y))}if(t===y){const A=new cr("Recursive Path Item Object reference detected");return this.indirections.pop(),this.handleDereferenceError(A,t,u)}if(this.indirections.length>this.options.dereference.maxDepth){const A=new aa(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);return this.indirections.pop(),this.handleDereferenceError(A,t,u)}if(c.includes(y)){if(h.refSet.circular=!0,this.options.dereference.circular==="error"){const A=new cr("Circular reference detected");return this.indirections.pop(),this.handleDereferenceError(A,t,u)}if(this.options.dereference.circular==="replace"){var E,b;const A=new ve.RefElement(y.id,{type:"path-item",uri:h.uri,$ref:Ie(t.$ref)}),I=((E=(b=this.options.dereference.strategyOpts["openapi-3-1"])===null||b===void 0?void 0:b.circularReplacer)!==null&&E!==void 0?E:this.options.dereference.circularReplacer)(A);return o.replaceWith(I,Ln),n?!1:I}}const S=Kt(h.refSet.rootRef.uri)!==h.uri,_=["error","replace"].includes(this.options.dereference.circular);if((d||S||yo(y)&&ht(y.$ref)||_||(a=this.options.dereference.dereferenceOpts)!==null&&a!==void 0&&a.continueOnError)&&!c.includesCycle(y)){u.add(t);const A=new ro({reference:h,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(t),refractCache:this.refractCache,ancestors:c,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});try{y=await Rl(y,A,{keyMap:cs,nodeTypeGetter:Hn})}catch(O){return this.indirections.pop(),this.handleDereferenceError(O,t,u)}u.delete(t)}if(this.indirections.pop(),yo(y)){var x;const A=new ji([...y.content],Xe(y.meta),Xe(y.attributes));A.setMetaProperty("id",qr.generateId()),t.forEach((O,I,R)=>{A.remove(Ie(I)),A.content.push(R)}),A.remove("$ref"),A.setMetaProperty("ref-fields",{$ref:Ie(t.$ref)}),A.setMetaProperty("ref-origin",h.uri),A.setMetaProperty("ref-referencing-element-id",Xe(qr.identify(t))),(x=this.options.dereference.dereferenceOpts)!==null&&x!==void 0&&x.continueOnError&&A.setMetaProperty("ref-referencing-element",t),y=A}return o.replaceWith(y,Ln),n?void 0:y}async LinkElement(t,r,n,s,i,o){if(!ht(t.operationRef)&&!ht(t.operationId))return;if(ht(t.operationRef)&&ht(t.operationId)){const l=new cr("LinkElement operationRef and operationId fields are mutually exclusive.");return this.handleDereferenceError(l,t)}let a;if(ht(t.operationRef)){var c;const l=Wn(Ie(t.operationRef)),f=this.toBaseURI(Ie(t.operationRef)),d=Kt(this.reference.uri)===f,h=!d;if(!this.options.resolve.internal&&d||!this.options.resolve.external&&h)return;let g;
93try{g=await this.toReference(Ie(t.operationRef)),a=as(g.value.result,l)}catch(y){return this.handleDereferenceError(y,t)}if(lo(a)){const y=`operation-${Ie(qr.identify(a))}`;this.refractCache.has(y)?a=this.refractCache.get(y):(a=Uu.refract(a),this.refractCache.set(y,a))}a=kr(a),a.setMetaProperty("ref-origin",g.uri);const v=kr(t);return(c=v.operationRef)===null||c===void 0||c.meta.set("operation",a),o.replaceWith(v,Ln),n?void 0:v}if(ht(t.operationId)){var u;const l=Ie(t.operationId);let f;try{f=await this.toReference(Os(this.reference.uri))}catch(h){return this.handleDereferenceError(h,t)}if(a=p8(h=>C4(h)&&yr(h.operationId)&&h.operationId.equals(l),f.value.result),Bi(a)){const h=new cr(`OperationElement(operationId=${l}) not found.`);return this.handleDereferenceError(h,t)}const d=kr(t);return(u=d.operationId)===null||u===void 0||u.meta.set("operation",a),o.replaceWith(d,Ln),n?void 0:d}}async ExampleElement(t,r,n,s,i,o){if(!ht(t.externalValue))return;if(t.hasKey("value")&&ht(t.externalValue)){const h=new cr("ExampleElement value and externalValue fields are mutually exclusive.");return this.handleDereferenceError(h,t)}const a=this.toBaseURI(Ie(t.externalValue)),c=Kt(this.reference.uri)===a,u=!c;if(!this.options.resolve.internal&&c||!this.options.resolve.external&&u)return;let l;try{l=await this.toReference(Ie(t.externalValue))}catch(h){return this.handleDereferenceError(h,t)}const f=kr(l.value.result);f.setMetaProperty("ref-origin",l.uri);const d=kr(t);return d.value=f,o.replaceWith(d,Ln),n?void 0:d}async MemberElement(t,r,n,s,i,o){var a;const c=i[i.length-1];if(!Dt(c)||!c.classes.contains("discriminator-mapping"))return;if(!((a=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&a!==void 0&&a.dereferenceDiscriminatorMapping)||!ht(t.key)||!ht(t.value)||this.indirections.includes(t))return!1;this.indirections.push(t);const[u,l]=this.toAncestorLineage([...i,n]),f=[...l].findLast(us),d=Xe(f.getMetaProperty("ancestorsSchemaIdentifiers")),h=Ie(t.value),v=/^[a-zA-Z0-9\\.\\-_]+$/.test(h)?`#/components/schemas/${h}`:h,y=new ki({$ref:v});y.setMetaProperty("ancestorsSchemaIdentifiers",d),l.add(y);const E=new ro({reference:this.reference,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(y),refractCache:this.refractCache,ancestors:u,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});let b;try{b=await Rl(y,E,{keyMap:cs,nodeTypeGetter:Hn})}catch(_){return this.handleDereferenceError(_,y,l)}l.delete(y),this.indirections.pop();const S=kr(t);return S.value.setMetaProperty("ref-schema",b),o.replaceWith(S,Ln),n?void 0:S}async SchemaElement(t,r,n,s,i,o){var a;if(!ht(t.$ref))return;if(this.indirections.includes(t))return!1;const[c,u]=this.toAncestorLineage([...i,n]);let l;try{l=await this.toReference(Os(this.reference.uri))}catch(q){return this.handleDereferenceError(q,t,u)}let{uri:f}=l;const d=T4(f,t),h=Kt(d),g=new da({uri:h}),v=TQ(q=>q.canRead(g),this.options.resolve.resolvers),y=!v;let E=Kt(this.reference.uri)===d,b=!E;this.indirections.push(t);let S;try{if(v||y){f=this.toBaseURI(d);const q=d,N=Qr(l.value.result);if(S=Ih(q,N),S=Qr(S),S.id=qr.identify(S),!this.options.resolve.internal&&E||!this.options.resolve.external&&b)return}else{if(f=this.toBaseURI(d),E=Kt(this.reference.uri)===f,b=!E,!this.options.resolve.internal&&E||!this.options.resolve.external&&b)return;l=await this.toReference(Os(d));const q=Wn(d),N=Qr(l.value.result);S=as(N,q),S=Qr(S),S.id=qr.identify(S)}}catch(q){if(y&&q instanceof n2)if(Th(Ea(d))){if(E=Kt(this.reference.uri)===f,b=!E,!this.options.resolve.internal&&E||!this.options.resolve.external&&b)return;try{l=await this.toReference(Os(d))}catch(X){return this.indirections.pop(),this.handleDereferenceError(X,t,u)}const N=Ea(d),U=Qr(l.value.result);try{S=T2(N,U)}catch(X){return this.indirections.pop(),this.handleDereferenceError(X,t,u)}S=Qr(S),S.id=qr.identify(S)}else{if(f=this.toBaseURI(d),E=Kt(this.reference.uri)===f,b=!E,!this.options.resolve.internal&&E||!this.options.resolve.external&&b)return;try{l=await this.toReference(Os(d))}catch(X){return this.indirections.pop(),this.handleDereferenceError(X,t,u)}const N=Wn(d),U=Qr(l.value.result);try{S=as(U,N)}catch(X){return this.indirections.pop(),this.handleDereferenceError(X,t,u)}S=Qr(S),S.id=qr.identify(S)}else return this.indirections.pop(),this.handleDereferenceError(q,t,u)}if(t===S){const q=new cr("Recursive Schema Object reference detected");return this.indirections.pop(),this.handleDereferenceError(q,t,u)}if(this.indirections.length>this.options.dereference.maxDepth){const q=new aa(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);return this.indirections.pop(),this.handleDereferenceError(q,t,u)}if(c.includes(S)){if(l.refSet.circular=!0,this.options.dereference.circular==="error"){const q=new cr("Circular reference detected");return this.indirections.pop(),this.handleDereferenceError(q,t,u)}if(this.options.dereference.circular==="replace"){var _,x;const q=new ve.RefElement(S.id,{type:"json-schema",uri:l.uri,$ref:Ie(t.$ref)}),U=((_=(x=this.options.dereference.strategyOpts["openapi-3-1"])===null||x===void 0?void 0:x.circularReplacer)!==null&&_!==void 0?_:this.options.dereference.circularReplacer)(q);return o.replaceWith(U,Ln),n?!1:U}}const A=Kt(l.refSet.rootRef.uri)!==l.uri,O=["error","replace"].includes(this.options.dereference.circular);if((b||A||us(S)&&ht(S.$ref)||O||(a=this.options.dereference.dereferenceOpts)!==null&&a!==void 0&&a.continueOnError)&&!c.includesCycle(S)){u.add(t);const q=new ro({reference:l,namespace:this.namespace,indirections:[...this.indirections],options:this.getNestedVisitorOptions(t),refractCache:this.refractCache,ancestors:c,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});try{S=await Rl(S,q,{keyMap:cs,nodeTypeGetter:Hn})}catch(N){return this.indirections.pop(),this.handleDereferenceError(N,t,u)}u.delete(t)}if(this.indirections.pop(),R2(S)){const q=Xe(S);return q.setMetaProperty("id",qr.generateId()),q.setMetaProperty("ref-fields",{$ref:Ie(t.$ref),$refBaseURI:d}),q.setMetaProperty("ref-origin",l.uri),q.setMetaProperty("ref-referencing-element-id",Xe(qr.identify(t))),o.replaceWith(q,Ln),n?!1:q}if(us(S)){var I,R;const q=new ki([...S.content],Xe(S.meta),Xe(S.attributes));if(q.setMetaProperty("id",qr.generateId()),t.forEach((N,U,X)=>{q.remove(Ie(U)),q.content.push(X)}),q.remove("$ref"),q.setMetaProperty("ref-fields",{$ref:Ie(t.$ref),$refBaseURI:d}),q.setMetaProperty("ref-origin",l.uri),q.setMetaProperty("ref-referencing-element-id",Xe(qr.identify(t))),(I=this.options.dereference.dereferenceOpts)!==null&&I!==void 0&&I.continueOnError&&q.setMetaProperty("ref-referencing-element",t),(R=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&R!==void 0&&R.dereferenceDiscriminatorMapping){var $;const N=i[i.length-1],U=[...u].findLast(us),X=U==null?void 0:U.getMetaProperty("schemaName"),J=Ie(q.getMetaProperty("schemaName"));if(J&&X&&N!==null&&N!==void 0&&($=N.classes)!==null&&$!==void 0&&$.contains("json-schema-allOf")){var M;const ee=(M=this.allOfDiscriminatorMapping.get(J))!==null&&M!==void 0?M:[];ee.push(U),this.allOfDiscriminatorMapping.set(J,ee)}}S=q}return o.replaceWith(S,Ln),n?void 0:S}}const Fce=xr[Symbol.for("nodejs.util.promisify.custom")];class qce extends wte{constructor(t){super({...t??{},name:"openapi-3-1"})}canDereference(t){var r;return t.mediaType!=="text/plain"?va.includes(t.mediaType):O4((r=t.parseResult)===null||r===void 0?void 0:r.result)}async dereference(t,r){var n;const s=li(C2),i=(n=r.dereference.refSet)!==null&&n!==void 0?n:new ma,o=new ma;let a=i,c;i.has(t.uri)?c=i.find(R6(t.uri,"uri")):(c=new ti({uri:t.uri,value:t.parseResult}),i.add(c)),r.dereference.immutable&&(i.refs.map(f=>new ti({...f,value:Xe(f.value)}
93)).forEach(f=>o.add(f)),c=o.find(f=>f.uri===t.uri),a=o);const u=new ro({reference:c,namespace:s,options:r}),l=await Fce(a.rootRef.value,u,{keyMap:cs,nodeTypeGetter:Hn});return r.dereference.immutable&&o.refs.filter(f=>f.uri.startsWith("immutable://")).map(f=>new ti({...f,uri:f.uri.replace(/^immutable:\/\//,"")})).forEach(f=>i.add(f)),r.dereference.refSet===null&&i.clean(),o.clean(),l}}const Bce=e=>e.slice(2),is=e=>{const t=Bce(e);return t.reduce((r,n,s)=>{if(ds(n)){const i=String(Ie(n.key));r.push(i)}else if(Hr(t[s-2])){const i=t[s-2].content.indexOf(n);r.push(i)}return r},[])};class Lce{constructor({modelPropertyMacro:t,options:r}){G(this,"modelPropertyMacro");G(this,"options");G(this,"SchemaElement",{leave:(t,r,n,s,i)=>{typeof t.properties>"u"||Dt(t.properties)&&t.properties.forEach(o=>{var a,c,u;if(Dt(o))try{const l=this.modelPropertyMacro(Ie(o));o.set("default",l)}catch(l){const f=new Error(l,{cause:l});f.fullPath=[...is([...i,n,t]),"properties"],(u=(c=(a=this.options.dereference.dereferenceOpts)==null?void 0:a.errors)==null?void 0:c.push)==null||u.call(c,f)}})}});this.modelPropertyMacro=t,this.options=r}}class Uce{constructor({options:t}){G(this,"options");G(this,"SchemaElement",{leave(t,r,n,s,i){var a,c,u,l,f,d;if(typeof t.allOf>"u")return;if(!Hr(t.allOf)){const h=new TypeError("allOf must be an array");h.fullPath=[...is([...i,n,t]),"allOf"],(u=(c=(a=this.options.dereference.dereferenceOpts)==null?void 0:a.errors)==null?void 0:c.push)==null||u.call(c,h);return}if(t.allOf.isEmpty){t.remove("allOf");return}if(!t.allOf.content.every(us)){const h=new TypeError("Elements in allOf must be objects");h.fullPath=[...is([...i,n,t]),"allOf"],(d=(f=(l=this.options.dereference.dereferenceOpts)==null?void 0:l.errors)==null?void 0:f.push)==null||d.call(f,h);return}for(;t.hasKey("allOf");){const{allOf:h}=t;t.remove("allOf");const g=Kn.all([...h.content,t],{customMerge:v=>Ie(v)==="enum"?(y,E)=>{if(ga(["json-schema-enum"],y)&&ga(["json-schema-enum"],E)){const b=(_,x)=>Hr(_)||Hr(x)||Dt(_)||Dt(x)?!1:_.equals(Ie(x)),S=kr(y);return S.content=P6(b)([...y.content,...E.content]),S}return Kn(y,E)}:Kn});if(t.hasKey("$$ref")||g.remove("$$ref"),t.hasKey("example")){const v=g.getMember("example");v&&(v.value=t.get("example"))}if(t.hasKey("examples")){const v=g.getMember("examples");v&&(v.value=t.get("examples"))}t.content=g.content}}});this.options=t}}var oo;class Vce{constructor({parameterMacro:t,options:r}){G(this,"parameterMacro");G(this,"options");Js(this,oo);G(this,"OperationElement",{enter:t=>{Bo(this,oo,t)},leave:()=>{Bo(this,oo,void 0)}});G(this,"ParameterElement",{leave:(t,r,n,s,i)=>{var c,u,l;const o=nr(this,oo)?Ie(nr(this,oo)):null,a=Ie(t);try{const f=this.parameterMacro(o,a);t.set("default",f)}catch(f){const d=new Error(f,{cause:f});d.fullPath=is([...i,n]),(l=(u=(c=this.options.dereference.dereferenceOpts)==null?void 0:c.errors)==null?void 0:u.push)==null||l.call(u,d)}}});this.parameterMacro=t,this.options=r}}oo=new WeakMap;const Tl=e=>{if(e.cause==null)return e;let{cause:t}=e;for(;t.cause!=null;)t=t.cause;return t};class zce extends js{}const{wrapError:g1}=i2,y1=xr[Symbol.for("nodejs.util.promisify.custom")],Un=new t2,Xi=(e,t,r,n)=>{ds(n)?n.value=e:Array.isArray(n)&&(n[r]=e)};class hc extends ro{constructor({allowMetaPatches:r=!0,useCircularStructures:n=!1,basePath:s=null,...i}){super(i);G(this,"useCircularStructures");G(this,"allowMetaPatches");G(this,"basePath");this.allowMetaPatches=r,this.useCircularStructures=n,this.basePath=s}async ReferenceElement(r,n,s,i,o,a){var l,f,d,h;try{var c,u;if(ir(c=this.indirections).call(c,r))return!1;const[g,v]=this.toAncestorLineage([...o,s]),y=this.toBaseURI(Ie(r.$ref)),E=Kt(this.reference.uri)===y,b=!E;if(!this.options.resolve.internal&&E||!this.options.resolve.external&&b)return!1;const S=await this.toReference(Ie(r.$ref)),_=zr(y,Ie(r.$ref));this.indirections.push(r);const x=Wn(_);let A=as(S.value.result,x);if(A.id=Un.identify(A),lo(A)){const $=Ie(r.meta.get("referenced-element")),M=`${$}-${Ie(Un.identify(A))}`;this.refractCache.has(M)?A=this.refractCache.get(M):Qt(A)?(A=zi.refract(A),A.setMetaProperty("referenced-element",$),this.refractCache.set(M,A)):(A=this.namespace.getElementClass($).refract(A),this.refractCache.set(M,A))}if(r===A)throw new cr("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new aa(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(ir(g).call(g,A)){if(S.refSet.circular=!0,this.options.dereference.circular==="error")throw new cr("Circular reference detected");if(this.options.dereference.circular==="replace"){const $=new ve.RefElement(A.id,{type:"reference",uri:S.uri,$ref:Ie(r.$ref),baseURI:_,referencingElement:r}),q=(((l=this.options.dereference.strategyOpts["openapi-3-1"])==null?void 0:l.circularReplacer)??this.options.dereference.circularReplacer)($);return a.replaceWith($,Xi),s?!1:q}}const O=Kt(S.refSet.rootRef.uri)!==S.uri,I=ir(u=["error","replace"]).call(u,this.options.dereference.circular);if((b||O||Co(A)||I)&&!g.includesCycle(A)){v.add(r);const $=new hc({reference:S,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:g,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:this.basePath??[...is([...o,s,r]),"$ref"]});A=await y1(A,$,{keyMap:cs,nodeTypeGetter:Hn}),v.delete(r)}this.indirections.pop();const R=kr(A);if(R.setMetaProperty("ref-fields",{$ref:Ie(r.$ref),description:Ie(r.description),summary:Ie(r.summary)}),R.setMetaProperty("ref-origin",S.uri),R.setMetaProperty("ref-referencing-element-id",Xe(Un.identify(r))),Dt(A)&&(r.hasKey("description")&&"description"in A&&(R.remove("description"),R.set("description",r.get("description"))),r.hasKey("summary")&&"summary"in A&&(R.remove("summary"),R.set("summary",r.get("summary")))),this.allowMetaPatches&&Dt(R)&&!R.hasKey("$$ref")){const $=zr(y,_);R.set("$$ref",$)}return a.replaceWith(R,Xi),s?!1:R}catch(g){const v=Tl(g),y=g1(v,{baseDoc:this.reference.uri,$ref:Ie(r.$ref),pointer:Wn(Ie(r.$ref)),fullPath:this.basePath??[...is([...o,s,r]),"$ref"]});(h=(d=(f=this.options.dereference.dereferenceOpts)==null?void 0:f.errors)==null?void 0:d.push)==null||h.call(d,y);return}}
93async PathItemElement(r,n,s,i,o,a){var l,f,d,h;try{var c,u;if(!ht(r.$ref))return;if(ir(c=this.indirections).call(c,r)||ga(["cycle"],r.$ref))return!1;const[g,v]=this.toAncestorLineage([...o,s]),y=this.toBaseURI(Ie(r.$ref)),E=Kt(this.reference.uri)===y,b=!E;if(!this.options.resolve.internal&&E||!this.options.resolve.external&&b)return;const S=await this.toReference(Ie(r.$ref)),_=zr(y,Ie(r.$ref));this.indirections.push(r);const x=Wn(_);let A=as(S.value.result,x);if(A.id=Un.identify(A),lo(A)){const R=`path-item-${Ie(Un.identify(A))}`;this.refractCache.has(R)?A=this.refractCache.get(R):(A=ji.refract(A),this.refractCache.set(R,A))}if(r===A)throw new cr("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new aa(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(ir(g).call(g,A)){if(S.refSet.circular=!0,this.options.dereference.circular==="error")throw new cr("Circular reference detected");if(this.options.dereference.circular==="replace"){const R=new ve.RefElement(A.id,{type:"path-item",uri:S.uri,$ref:Ie(r.$ref),baseURI:_,referencingElement:r}),M=(((l=this.options.dereference.strategyOpts["openapi-3-1"])==null?void 0:l.circularReplacer)??this.options.dereference.circularReplacer)(R);return a.replaceWith(R,Xi),s?!1:M}}const O=Kt(S.refSet.rootRef.uri)!==S.uri,I=ir(u=["error","replace"]).call(u,this.options.dereference.circular);if((b||O||yo(A)&&ht(A.$ref)||I)&&!g.includesCycle(A)){v.add(r);const R=new hc({reference:S,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:g,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:this.basePath??[...is([...o,s,r]),"$ref"]});A=await y1(A,R,{keyMap:cs,nodeTypeGetter:Hn}),v.delete(r)}if(this.indirections.pop(),yo(A)){const R=new ji([...A.content],Xe(A.meta),Xe(A.attributes));if(r.forEach(($,M,q)=>{R.remove(Ie(M)),R.content.push(q)}),R.remove("$ref"),R.setMetaProperty("ref-fields",{$ref:Ie(r.$ref)}),R.setMetaProperty("ref-origin",S.uri),R.setMetaProperty("ref-referencing-element-id",Xe(Un.identify(r))),this.allowMetaPatches&&typeof R.get("$$ref")>"u"){const $=zr(y,_);R.set("$$ref",$)}A=R}return a.replaceWith(A,Xi),s?void 0:A}catch(g){const v=Tl(g),y=g1(v,{baseDoc:this.reference.uri,$ref:Ie(r.$ref),pointer:Wn(Ie(r.$ref)),fullPath:this.basePath??[...is([...o,s,r]),"$ref"]});(h=(d=(f=this.options.dereference.dereferenceOpts)==null?void 0:f.errors)==null?void 0:d.push)==null||h.call(d,y);return}}async SchemaElement(r,n,s,i,o,a){var l,f,d,h;try{var c,u;if(!ht(r.$ref))return;if(ir(c=this.indirections).call(c,r))return!1;const[g,v]=this.toAncestorLineage([...o,s]);let y=await this.toReference(Os(this.reference.uri)),{uri:E}=y;const b=T4(E,r),S=Kt(b),_=new da({uri:S}),x=!this.options.resolve.resolvers.some(q=>q.canRead(_)),A=!x;let O=Kt(this.reference.uri)===b,I=!O;this.indirections.push(r);let R;try{if(x||A){E=this.toBaseURI(b);const q=b,N=Qr(y.value.result);if(R=Ih(q,N),R=Qr(R),R.id=Un.identify(R),!this.options.resolve.internal&&O||!this.options.resolve.external&&I)return}else{if(E=this.toBaseURI(b),O=Kt(this.reference.uri)===E,I=!O,!this.options.resolve.internal&&O||!this.options.resolve.external&&I)return;y=await this.toReference(Os(b));const q=Wn(b),N=Qr(y.value.result);R=as(N,q),R=Qr(R),R.id=Un.identify(R)}}catch(q){if(A&&q instanceof n2)if(Th(Ea(b))){if(O=Kt(this.reference.uri)===E,I=!O,!this.options.resolve.internal&&O||!this.options.resolve.external&&I)return;y=await this.toReference(Os(b));const N=Ea(b),U=Qr(y.value.result);R=T2(N,U),R=Qr(R),R.id=Un.identify(R)}else{if(E=this.toBaseURI(Ie(b)),O=Kt(this.reference.uri)===E,I=!O,!this.options.resolve.internal&&O||!this.options.resolve.external&&I)return;y=await this.toReference(Os(b));const N=Wn(b),U=Qr(y.value.result);R=as(U,N),R=Qr(R),R.id=Un.identify(R)}else throw q}if(r===R)throw new cr("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new aa(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(ir(g).call(g,R)){if(y.refSet.circular=!0,this.options.dereference.circular==="error")throw new cr("Circular reference detected");if(this.options.dereference.circular==="replace"){const q=new ve.RefElement(R.id,{type:"json-schema",uri:y.uri,$ref:Ie(r.$ref),baseURI:zr(E,b),referencingElement:r}),U=(((l=this.options.dereference.strategyOpts["openapi-3-1"])==null?void 0:l.circularReplacer)??this.options.dereference.circularReplacer)(q);return a.replaceWith(U,Xi),s?!1:U}}const $=Kt(y.refSet.rootRef.uri)!==y.uri,M=ir(u=["error","replace"]).call(u,this.options.dereference.circular);if((I||$||us(R)&&ht(R.$ref)||M)&&!g.includesCycle(R)){v.add(r);const q=new hc({reference:y,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:g,basePath:this.basePath??[...is([...o,s,r]),"$ref"]});R=await y1(R,q,{keyMap:cs,nodeTypeGetter:Hn}),v.delete(r)}if(this.indirections.pop(),R2(R)){const q=Xe(R);return q.setMetaProperty("ref-fields",{$ref:Ie(r.$ref)}),q.setMetaProperty("ref-origin",y.uri),q.setMetaProperty("ref-referencing-element-id",Xe(Un.identify(r))),a.replaceWith(q,Xi),s?!1:q}if(us(R)){const q=new ki([...R.content],Xe(R.meta),Xe(R.attributes));if(r.forEach((N,U,X)=>{q.remove(Ie(U)),q.content.push(X)}),q.remove("$ref"),q.setMetaProperty("ref-fields",{$ref:Ie(r.$ref)}),q.setMetaProperty("ref-origin",y.uri),q.setMetaProperty("ref-referencing-element-id",Xe(Un.identify(r))),this.allowMetaPatches&&typeof q.get("$$ref")>"u"){const N=zr(E,b);q.set("$$ref",N)}R=q}return a.replaceWith(R,Xi),s?void 0:R}catch(g){const v=Tl(g),y=new zce(`Could not resolve reference: ${v.message}`,{baseDoc:this.reference.uri,$ref:Ie(r.$ref),fullPath:this.basePath??[...is([...o,s,r]),"$ref"],cause:v});(h=(d=(f=this.options.dereference.dereferenceOpts)==null?void 0:f.errors)==null?void 0:d.push)==null||h.call(d,y);return}}async LinkElement(){}
93async ExampleElement(r,n,s,i,o,a){var c,u,l;try{return await super.ExampleElement(r,n,s,i,o,a)}catch(f){const d=Tl(f),h=g1(d,{baseDoc:this.reference.uri,externalValue:Ie(r.externalValue),fullPath:this.basePath??[...is([...o,s,r]),"externalValue"]});(l=(u=(c=this.options.dereference.dereferenceOpts)==null?void 0:c.errors)==null?void 0:u.push)==null||l.call(u,h);return}}}const Wce=Xp[Symbol.for("nodejs.util.promisify.custom")];class Jce{constructor({parameterMacro:t,modelPropertyMacro:r,mode:n,options:s,...i}){const o=[];o.push(new hc({...i,options:s})),typeof r=="function"&&o.push(new Lce({modelPropertyMacro:r,options:s})),n!=="strict"&&o.push(new Uce({options:s})),typeof t=="function"&&o.push(new Vce({parameterMacro:t,options:s}));const a=Wce(o,{nodeTypeGetter:Hn});Object.assign(this,a)}}const Hce=xr[Symbol.for("nodejs.util.promisify.custom")];class Kce extends qce{constructor({allowMetaPatches:r=!1,parameterMacro:n=null,modelPropertyMacro:s=null,mode:i="non-strict",ancestors:o=[],...a}={}){super({...a});G(this,"allowMetaPatches");G(this,"parameterMacro");G(this,"modelPropertyMacro");G(this,"mode");G(this,"ancestors");this.name="openapi-3-1-swagger-client",this.allowMetaPatches=r,this.parameterMacro=n,this.modelPropertyMacro=s,this.mode=i,this.ancestors=[...o]}async dereference(r,n){const s=li(C2),i=n.dereference.refSet??new ma,o=new ma;let a=i,c;i.has(r.uri)?c=i.find(f=>f.uri===r.uri):(c=new ti({uri:r.uri,value:r.parseResult}),i.add(c)),n.dereference.immutable&&(i.refs.map(f=>new ti({...f,value:Xe(f.value)})).forEach(f=>o.add(f)),c=o.find(f=>f.uri===r.uri),a=o);const u=new Jce({reference:c,namespace:s,options:n,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors,modelPropertyMacro:this.modelPropertyMacro,mode:this.mode,parameterMacro:this.parameterMacro}),l=await Hce(a.rootRef.value,u,{keyMap:cs,nodeTypeGetter:Hn});return n.dereference.immutable&&o.refs.filter(f=>f.uri.startsWith("immutable://")).map(f=>new ti({...f,uri:f.uri.replace(/^immutable:\/\//,"")})).forEach(f=>i.add(f)),n.dereference.refSet===null&&i.clean(),o.clean(),l}}const Gce=e=>{const t=Ie(e.meta.get("baseURI")),r=e.meta.get("referencingElement");return new ve.ObjectElement({$ref:t},Xe(r.meta),Xe(r.attributes))},Ph=async e=>{const{spec:t,timeout:r,redirects:n,requestInterceptor:s,responseInterceptor:i,pathDiscriminator:o=[],allowMetaPatches:a=!1,useCircularStructures:c=!1,skipNormalization:u=!1,parameterMacro:l=null,modelPropertyMacro:f=null,mode:d="non-strict",strategies:h}=e;try{const{cache:g}=Ph,v=h.find(X=>X.match(t)),y=JA(q_())?q_():bf,E=l2(e),b=zr(y,E);let S;g.has(t)?S=g.get(t):(S=Vi.refract(t),S.classes.push("result"),g.set(t,S));const _=new ui([S]),x=W8(o),A=x===""?"":`#${x}`,O=as(S,x),I=new ti({uri:b,value:_}),R=new ma({refs:[I]});x!==""&&(R.rootRef=void 0);const $=[new Set([O])],M=[],q=await Rte(O,{resolve:{baseURI:`${b}${A}`,resolvers:[new Pce({timeout:r||1e4,redirects:n||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:s,responseInterceptor:i}},strategies:[new Rce]},parse:{mediaType:va.latest(),parsers:[new Nce({allowEmpty:!1,sourceMap:!1}),new Mce({allowEmpty:!1,sourceMap:!1}),new jce({allowEmpty:!1,sourceMap:!1}),new kce({allowEmpty:!1,sourceMap:!1}),new Cce({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[new Kce({allowMetaPatches:a,useCircularStructures:c,parameterMacro:l,modelPropertyMacro:f,mode:d,ancestors:$})],refSet:R,dereferenceOpts:{errors:M},immutable:!1,circular:c?"ignore":"replace",circularReplacer:c?U6.dereference.circularReplacer:Gce}}),N=lte(O,q,S),U=u?N:v.normalize(N);return{spec:Ie(U),errors:M}}catch(g){if(g instanceof fo)return{spec:t,errors:[]};throw g}};Ph.cache=new WeakMap;const l$=e=>{if(!Dt(e))return e;const t=[Moe({operationIdNormalizer:(n,s,i)=>mu({operationId:n},s,i,{v2OperationIdCompatibilityMode:!1})}),Poe(),joe(),Doe(),$oe()];return fi(e,t,{toolboxCreator:R4,visitorOptions:{keyMap:cs,nodeTypeGetter:Hn}})},Yce=e=>t=>{const r=Vi.refract(t);r.classes.push("result");const n=e(r),s=Ie(n);return Ph.cache.set(s,n),Ie(n)},f$={name:"openapi-3-1-apidom",match(e){return h2(e)},normalize(e){if(!yr(e)&&fs(e)&&!e.$$normalized){const t=Yce(l$)(e);return t.$$normalized=!0,t}return yr(e)?l$(e):e},async resolve(e){return Ph(e)}}
93,Xce=async e=>{const{spec:t,requestInterceptor:r,responseInterceptor:n}=e,s=l2(e),i=B8(e),o=t||await M8(i,{requestInterceptor:r,responseInterceptor:n})(s),a={...e,spec:o};return e.strategies.find(u=>u.match(o)).resolve(a)},I4=e=>async t=>{const r={...e,...t};return Xce(r)},Zce=I4({strategies:[H_,J_,W_]});function Qce(){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}
93,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(){let t="";return t+=`; OpenAPI Server URL templating ABNF syntax 94`,t+=`server-url-template = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2 95`,t+=`server-variable = "{" server-variable-name "}" 96`,t+=`server-variable-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI) 97`,t+=` 98`,t+=`; https://www.rfc-editor.org/rfc/rfc6570#section-2.1 99`,t+=`; https://www.rfc-editor.org/errata/eid6937 100`,t+=`literals = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B 101`,t+=` / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate 102`,t+=` / pct-encoded) 103`,t+=` ; any Unicode character except: CTL, SP, 104`,t+=` ; DQUOTE, "%" (aside from pct-encoded), 105`,t+=' ; "<", ">", "\\", "^", "`", "{", "|", "}"\n',t+=` 106`,t+=`; https://www.rfc-editor.org/rfc/rfc6570#section-1.5 107`,t+=`DIGIT = %x30-39 ; 0-9 108`,t+=`HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive 109`,t+=` 110`,t+=`pct-encoded = "%" HEXDIG HEXDIG 111`,t+=` 112`,t+=`ucschar = %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF 113`,t+=` / %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD 114`,t+=` / %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD 115`,t+=` / %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD 116`,t+=` / %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD 117`,t+=` / %xD0000-DFFFD / %xE1000-EFFFD 118`,t+=` 119`,t+=`iprivate = %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD 120`,t}}const eue=(e,t,r,n,s)=>{if(e===Ot.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["server-url-template",Mn.charsToString(t,r,n)])}return Ot.SEM_OK},tue=(e,t,r,n,s)=>{if(e===Ot.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["server-variable",Mn.charsToString(t,r,n)])}return Ot.SEM_OK},rue=(e,t,r,n,s)=>{if(e===Ot.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["server-variable-name",Mn.charsToString(t,r,n)])}return Ot.SEM_OK},nue=(e,t,r,n,s)=>{if(e===Ot.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["literals",Mn.charsToString(t,r,n)])}return Ot.SEM_OK},sue=new Qce,P4=e=>{const t=new Qn;return t.ast=new d2,t.ast.callbacks["server-url-template"]=eue,t.ast.callbacks["server-variable"]=tue,t.ast.callbacks["server-variable-name"]=rue,t.ast.callbacks.literals=nue,{result:t.parse(sue,"server-url-template",e),ast:t.ast}},iue=(e,{strict:t=!1}={})=>{try{const r=P4(e);if(!r.result.success)return!1;const n=[];r.ast.translate(n);const s=n.some(([i])=>i==="server-variable");if(!t&&!s)try{return new URL(e,"https://vladimirgorej.com"),!0}catch{return!1}return t?s:!0}catch{return!1}},oue=e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch{return!1}},aue=e=>oue(e)?e:encodeURIComponent(e).replace(/%5B/g,"[").replace(/%5D/g,"]"),cue=["literals","server-variable-name"],uue=(e,t,r={})=>{const s={...{encoder:aue},...r},i=P4(e);if(!i.result.success)return e;const o=[];return i.ast.translate(o),o.filter(([c])=>cue.includes(c)).map(([c,u])=>c==="server-variable-name"?Object.hasOwn(t,u)?s.encoder(t[u],u):`{${u}}`:u).join("")};function j4(){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]}
120,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(){let t="";return t+=`; OpenAPI Path Templating ABNF syntax 121`,t+=`; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3 122`,t+=`path-template = slash *( path-segment slash ) [ path-segment ] 123`,t+=`path-segment = 1*( path-literal / template-expression ) 124`,t+=`slash = "/" 125`,t+=`path-literal = 1*pchar 126`,t+=`template-expression = "{" template-expression-param-name "}" 127`,t+=`template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI) 128`,t+=` 129`,t+=`; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3 130`,t+=`pchar = unreserved / pct-encoded / sub-delims / ":" / "@" 131`,t+=`unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~" 132`,t+=` ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3 133`,t+=`pct-encoded = "%" HEXDIG HEXDIG 134`,t+=` ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1 135`,t+=`sub-delims = "!" / "$" / "&" / "'" / "(" / ")" 136`,t+=` / "*" / "+" / "," / ";" / "=" 137`,t+=` ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2 138`,t+=` 139`,t+=`; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1 140`,t+=`ALPHA = %x41-5A / %x61-7A ; A-Z / a-z 141`,t+=`DIGIT = %x30-39 ; 0-9 142`,t+=`HEXDIG = DIGIT / "A" / "B" / "C" / "D" / "E" / "F" 143`,t}}const lue=(e,t,r,n,s)=>(e===Ot.SEM_PRE&&s.push(["slash",Mn.charsToString(t,r,n)]),Ot.SEM_OK),fue=(e,t,r,n,s)=>{if(e===Ot.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["path-template",Mn.charsToString(t,r,n)])}return Ot.SEM_OK},pue=(e,t,r,n,s)=>(e===Ot.SEM_PRE&&s.push(["path-literal",Mn.charsToString(t,r,n)]),Ot.SEM_OK),hue=(e,t,r,n,s)=>(e===Ot.SEM_PRE&&s.push(["template-expression",Mn.charsToString(t,r,n)]),Ot.SEM_OK),due=(e,t,r,n,s)=>(e===Ot.SEM_PRE&&s.push(["template-expression-param-name",Mn.charsToString(t,r,n)]),Ot.SEM_OK),mue=new j4,gue=e=>{const t=new Qn;return t.ast=new d2,t.ast.callbacks["path-template"]=fue,t.ast.callbacks.slash=lue,t.ast.callbacks["path-literal"]=pue,t.ast.callbacks["template-expression"]=hue,t.ast.callbacks["template-expression-param-name"]=due,{result:t.parse(mue,"path-template",e),ast:t.ast}},yue=e=>{try{return typeof e=="string"&&decodeURIComponent(e)!==e}catch{return!1}},vue=e=>yue(e)?e:encodeURIComponent(e).replace(/%5B/g,"[").replace(/%5D/g,"]"),bue=["slash","path-literal","template-expression-param-name"],Rw=(e,t,r={})=>{const s={...{encoder:vue},...r},i=gue(e);if(!i.result.success)return e;const o=[];return i.ast.translate(o),o.filter(([c])=>bue.includes(c)).map(([c,u])=>c==="template-expression-param-name"?Object.prototype.hasOwnProperty.call(t,u)?s.encoder(t[u],u):`{${u}}`:u).join("")};new j4;new Qn;const Eue={body:Sue,header:wue,query:Aue,path:xue,formData:_ue};function Sue({req:e,value:t}){t!==void 0&&(e.body=t)}function _ue({req:e,value:t,parameter:r}){if(t===!1&&r.type==="boolean"&&(t="false"),t===0&&["number","integer"].indexOf(r.type)>-1&&(t="0"),t)e.form=e.form||{},e.form[r.name]={collectionFormat:r.collectionFormat,value:t};else if(r.allowEmptyValue&&t!==void 0){e.form=e.form||{};const n=r.name;e.form[n]=e.form[n]||{},e.form[n].allowEmptyValue=!0}}function wue({req:e,parameter:t,value:r}){e.headers=e.headers||{},typeof r<"u"&&(e.headers[t.name]=r)}function xue({req:e,value:t,parameter:r,baseURL:n}
143){if(t!==void 0){const s=e.url.replace(n,""),i=Rw(s,{[r.name]:t});e.url=n+i}}function Aue({req:e,value:t,parameter:r}){if(e.query=e.query||{},t===!1&&r.type==="boolean"&&(t="false"),t===0&&["number","integer"].indexOf(r.type)>-1&&(t="0"),t)e.query[r.name]={collectionFormat:r.collectionFormat,value:t};else if(r.allowEmptyValue&&t!==void 0){const n=r.name;e.query[n]=e.query[n]||{},e.query[n].allowEmptyValue=!0}}function jh(e,t){return ir(t).call(t,"application/json")?typeof e=="string"?e:(Array.isArray(e)&&(e=e.map(r=>{try{return JSON.parse(r)}catch{return r}})),JSON.stringify(e)):String(e)}function Xu(){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]}
143,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]}
143,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(){let t="";return t+=`; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1 144`,t+=`lenient-cookie-string = lenient-cookie-entry *( ";" OWS lenient-cookie-entry ) 145`,t+=`lenient-cookie-entry = lenient-cookie-pair / lenient-cookie-pair-invalid 146`,t+=`lenient-cookie-pair = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS 147`,t+=`lenient-cookie-pair-invalid = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored 148`,t+=`lenient-cookie-name = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "=" 149`,t+=`lenient-cookie-value = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet 150`,t+=`lenient-quoted-value = DQUOTE *( lenient-quoted-char ) DQUOTE 151`,t+=`lenient-quoted-char = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE 152`,t+=`lenient-cookie-octet = %x21-2B / %x2D-3A / %x3C-7E 153`,t+=` ; Allow all printable characters except CTLs, semicolon and SP 154`,t+=` 155`,t+=`; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1 156`,t+=`cookie-string = cookie-pair *( ";
156" SP cookie-pair ) 157`,t+=` 158`,t+=`; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1 159`,t+=`; https://www.rfc-editor.org/errata/eid5518 160`,t+=`cookie-pair = cookie-name "=" cookie-value 161`,t+=`cookie-name = token 162`,t+=`cookie-value = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet 163`,t+=` ; https://www.rfc-editor.org/errata/eid8242 164`,t+=`cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E 165`,t+=` ; US-ASCII characters excluding CTLs, 166`,t+=` ; whitespace, DQUOTE, comma, semicolon, 167`,t+=` ; and backslash 168`,t+=` 169`,t+=`; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2 170`,t+=`OWS = *( [ CRLF ] WSP ) ; "optional" whitespace 171`,t+=` 172`,t+=`; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2 173`,t+=`token = 1*(tchar) 174`,t+=`tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" 175`,t+=' / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"\n',t+=` / DIGIT / ALPHA 176`,t+=` ; any VCHAR, except delimiters 177`,t+=` 178`,t+=`; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2 179`,t+=`CHAR = %x01-7F ; any US-ASCII character (octets 0 - 127) 180`,t+=`CTL = %x00-1F / %x7F ; any US-ASCII control character 181`,t+=`separators = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT 182`,t+=`SP = %x20 ; US-ASCII SP, space (32) 183`,t+=`HT = %x09 ; US-ASCII HT, horizontal-tab (9) 184`,t+=` 185`,t+=`; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1 186`,t+=`ALPHA = %x41-5A / %x61-7A ; A-Z / a-z 187`,t+=`DIGIT = %x30-39 ; 0-9 188`,t+=`DQUOTE = %x22 ; " (Double Quote) 189`,t+=`WSP = SP / HTAB ; white space 190`,t+=`HTAB = %x09 ; horizontal tab 191`,t+=`CRLF = CR LF ; Internet standard newline 192`,t+=`CR = %x0D ; carriage return 193`,t+=`LF = %x0A ; linefeed 194`,t}}new Xu;const Oue=e=>{if(typeof e!="string"||[...e].length!==1)throw new TypeError("Input must be a single character string.");const t=e.codePointAt(0);return t<=127?`%${t.toString(16).toUpperCase().padStart(2,"0")}`:encodeURIComponent(e)},Cue=e=>e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,""),kh=e=>e.length>=2&&e.startsWith('"')&&e.endsWith('"'),k4=e=>kh(e)?e.slice(1,-1):e,N4=e=>`"${e}"`,M4=e=>e,Rue=new Qn,Tue=new Xu,I2=(e,{strict:t=!0,quoted:r=null}={})=>{try{const n=t?"cookie-value":"lenient-cookie-value",s=Rue.parse(Tue,n,e);return typeof r=="boolean"?s.success&&r===kh(e):s.success}catch{return!1}},D4=e=>{const r=new TextEncoder().encode(e).reduce((n,s)=>n+String.fromCharCode(s),"");return btoa(r)},Iue=(e,t=D4)=>{const r=String(e);if(I2(r))return r;const n=kh(r),s=n?k4(r):r,i=t(s);return n?N4(i):i},Pue=e=>Cue(D4(e)),jue=e=>Iue(e,Pue),kue=new Qn,Nue=new Xu,$4=(e,{strict:t=!0}={})=>{try{const r=t?"cookie-name":"lenient-cookie-name";return kue.parse(Nue,r,e).success}catch{return!1}},Mue=e=>{if(!$4(e))throw new TypeError(`Invalid cookie name: ${e}`)},F4=e=>{if(!I2(e))throw new TypeError(`Invalid cookie value: ${e}`)},p$={encoders:{name:M4,value:jue},validators:{name:Mue,value:F4}},Due=(e,t,r={})=>{const n={...r,encoders:{...p$.encoders,...r.encoders},validators:{...p$.validators,...r.validators}},s=n.encoders.name(e),i=n.encoders.value(t);return n.validators.name(s),n.validators.value(i),`${s}=${i}`},$ue=(e,t={})=>(Array.isArray(e)?e:typeof e=="object"&&e!==null?Object.entries(e):[]).map(([n,s])=>Due(n,s,t)).join("; "),Fue=new Qn,que=new Xu,Bue=e=>{const t=String(e);if(I2(t))return t;const r=kh(t),n=r?k4(t):t;let s="";for(const i of n)s+=Fue.parse(que,"cookie-octet",i).success?i:Oue(i);return r?N4(s):s};new Qn;new Xu;const Lue=e=>{if(!$4(e,{strict:!1}))throw new TypeError(`Invalid cookie name: ${e}`)},Uue="%3D",Vue="%26",zue=e=>Bue(e).replace(/[=&]/gu,t=>t==="="?Uue:Vue),Tw=(e,t={})=>$ue(e,Up({encoders:{name:M4,value:zue},validators:{name:Lue,value:F4}},t));function Wue({req:e,value:t,parameter:r,baseURL:n}){const{name:s,style:i,explode:o,content:a}=r;if(t===void 0)return;const c=e.url.replace(n,"");let u;if(a){const l=Object.keys(a)[0];u=Rw(c,{[s]:t},{encoder:f=>$8(jh(f,l))})}else u=Rw(c,{[s]:t},{encoder:l=>c2({key:r.name,value:l,style:i||"simple",explode:o??!1,escape:"reserved"})});e.url=n+u}function Jue({req:e,value:t,parameter:r}){if(e.query=e.query||{},t!==void 0&&r.content){const n=Object.keys(r.content)[0],s=jh(t,n);if(s)e.query[r.name]=s;else if(r.allowEmptyValue){const i=r.name;e.query[i]=e.query[i]||{},e.query[i].allowEmptyValue=!0}return}if(t===!1&&(t="false"),t===0&&(t="0"),t){const{style:n,explode:s,allowReserved:i}=r;e.query[r.name]={value:t,serializationOption:{style:n,explode:s,allowReserved:i}}}else if(r.allowEmptyValue&&t!==void 0){const n=r.name;e.query[n]=e.query[n]||{},e.query[n].allowEmptyValue=!0}}const Hue=["accept","authorization","content-type"];function Kue({req:e,parameter:t,value:r}){if(e.headers=e.headers||{},!(Hue.indexOf(t.name.toLowerCase())>
194-1)){if(r!==void 0&&t.content){const n=Object.keys(t.content)[0];e.headers[t.name]=jh(r,n);return}r!==void 0&&!(Array.isArray(r)&&r.length===0)&&(e.headers[t.name]=c2({key:t.name,value:r,style:t.style||"simple",explode:typeof t.explode>"u"?!1:t.explode,escape:!1}))}}function Gue({req:e,parameter:t,value:r}){const{name:n}=t;if(e.headers=e.headers||{},r!==void 0&&t.content){const s=Object.keys(t.content)[0],i=jh(r,s);e.headers.Cookie=Tw({[n]:i});return}if(r!==void 0&&!(Array.isArray(r)&&r.length===0)){const s=c2({key:t.name,value:r,escape:!1,style:t.style||"form",explode:t.explode??!1}),i=Array.isArray(r)&&t.explode?`${n}=${s}`:s;e.headers.Cookie=Tw({[n]:i})}}const Yue=Object.freeze(Object.defineProperty({__proto__:null,cookie:Gue,header:Kue,path:Wue,query:Jue},Symbol.toStringTag,{value:"Module"})),Xue=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:q4}=Xue;function Zue(e,t){var f,d;const{operation:r,requestBody:n,securities:s,spec:i,attachContentTypeForEmptyPayload:o}=e;let{requestContentType:a}=e;t=Que({request:t,securities:s,operation:r,spec:i});const c=r.requestBody||{},u=Object.keys(c.content||{}),l=a&&u.indexOf(a)>-1;if(n||o){if(a&&l)t.headers["Content-Type"]=a;else if(!a){const h=u[0];h&&(t.headers["Content-Type"]=h,a=h)}}else a&&l&&(t.headers["Content-Type"]=a);if(!e.responseContentType&&r.responses){const h=Object.entries(r.responses).filter(([g,v])=>{const y=parseInt(g,10);return y>=200&&y<300&&fs(v.content)}).reduce((g,[,v])=>g.concat(Object.keys(v.content)),[]);h.length>0&&(t.headers.accept=h.join(", "))}if(n)if(a){if(u.indexOf(a)>
194-1)if(a==="application/x-www-form-urlencoded"||a==="multipart/form-data")if(typeof n=="object"){const h=((f=c.content[a])==null?void 0:f.encoding)??{};t.form={},Object.keys(n).forEach(g=>{let v;try{v=JSON.parse(n[g])}catch{v=n[g]}t.form[g]={value:v,encoding:h[g]||{}}})}else if(typeof n=="string"){const h=((d=c.content[a])==null?void 0:d.encoding)??{};try{t.form={};const g=JSON.parse(n);Object.entries(g).forEach(([v,y])=>{t.form[v]={value:y,encoding:h[v]||{}}})}catch{t.form=n}}else t.form=n;else t.body=n}else t.body=n;return t}function Que({request:e,securities:t={},operation:r={},spec:n}){var u;const s={...e},{authorized:i={}}=t,o=r.security||n.security||[],a=i&&!!Object.keys(i).length,c=((u=n==null?void 0:n.components)==null?void 0:u.securitySchemes)||{};return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(t).length||!a||!o||Array.isArray(r.security)&&!r.security.length?e:(o.forEach(l=>{Object.keys(l).forEach(f=>{const d=i[f],h=c[f];if(!d)return;const g=d.value||d,{type:v}=h;if(d){if(v==="apiKey")h.in==="query"&&(s.query[h.name]=g),h.in==="header"&&(s.headers[h.name]=g),h.in==="cookie"&&(s.cookies[h.name]=g);else if(v==="http"){if(/^basic$/i.test(h.scheme)){const y=g.username||"",E=g.password||"",b=q4(`${y}:${E}`);s.headers.Authorization=`Basic ${b}`}/^bearer$/i.test(h.scheme)&&(s.headers.Authorization=`Bearer ${g}`)}else if(v==="oauth2"||v==="openIdConnect"){const y=d.token||{},E=h["x-tokenName"]||"access_token",b=y[E];let S=y.token_type;(!S||S.toLowerCase()==="bearer")&&(S="Bearer"),s.headers.Authorization=`${S} ${b}`}}})}),s)}function ele(e,t){const{spec:r,operation:n,securities:s,requestContentType:i,responseContentType:o,attachContentTypeForEmptyPayload:a}=e;if(t=tle({request:t,securities:s,operation:n,spec:r}),t.body||t.form||a)i?t.headers["Content-Type"]=i:Array.isArray(n.consumes)?[t.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[t.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter(c=>c.type==="file").length?t.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(c=>c.in==="formData").length&&(t.headers["Content-Type"]="application/x-www-form-urlencoded");else if(i){const c=n.parameters&&n.parameters.filter(l=>l.in==="body").length>0,u=n.parameters&&n.parameters.filter(l=>l.in==="formData").length>0;(c||u)&&(t.headers["Content-Type"]=i)}return!o&&Array.isArray(n.produces)&&n.produces.length>0&&(t.headers.accept=n.produces.join(", ")),t}function tle({request:e,securities:t={},operation:r={},spec:n}){const s={...e},{authorized:i={},specSecurity:o=[]}=t,a=r.security||o,c=i&&!!Object.keys(i).length,u=n.securityDefinitions;return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(t).length||!c||!a||Array.isArray(r.security)&&!r.security.length?e:(a.forEach(l=>{Object.keys(l).forEach(f=>{const d=i[f];if(!d)return;const{token:h}=d,g=d.value||d,v=u[f],{type:y}=v,E=v["x-tokenName"]||"access_token",b=h&&h[E];let S=h&&h.token_type;if(d)if(y==="apiKey"){const _=v.in==="query"?"query":"headers";s[_]=s[_]||{},s[_][v.name]=g}else if(y==="basic")if(g.header)s.headers.authorization=g.header;else{const _=g.username||"",x=g.password||"";g.base64=q4(`${_}:${x}`),s.headers.authorization=`Basic ${g.base64}`}else y==="oauth2"&&b&&(S=!S||S.toLowerCase()==="bearer"?"Bearer":S,s.headers.authorization=`${S} ${b}`)})}),s)}function rle(e,t,r){if(!e||typeof e!="object"||!e.paths||typeof e.paths!="object")return null;const{paths:n}=e;for(const s in n)for(const i in n[s]){if(i.toUpperCase()==="PARAMETERS")continue;const o=n[s][i];if(!o||typeof o!="object")continue;const a={spec:e,pathName:s,method:i.toUpperCase(),operation:o};if(t(a))return a}}function nle(e,t){return rle(e,t)||null}function B4(e,t){return`${t.toLowerCase()}-${e}`}function sle(e,t){return!e||!e.paths?null:nle(e,({pathName:r,method:n,operation:s})=>{if(!s||typeof s!="object")return!1;const i=s.operationId,o=mu(s,r,n),a=B4(r,n);return[o,a,i].some(c=>c&&c===t)})}const h$=e=>Array.isArray(e)?e:[],dc=(e,{recurse:t=!0,depth:r=1}={})=>{var n,s;if(fs(e)){if(e.type==="object"||e.type==="array"||Array.isArray(e.type)&&(ir(n=e.type).call(n,"object")||ir(s=e.type).call(s,"array")))return e;if(!(r>C8)&&t){const i=Array.isArray(e.oneOf)?e.oneOf.find(a=>dc(a,{recurse:t,depth:r+1})):void 0;if(i)return i;const o=Array.isArray(e.anyOf)?e.anyOf.find(a=>dc(a,{recurse:t,depth:r+1})):void 0;if(o)return o}}},v1=({value:e,silentFail:t=!1})=>{try{const r=JSON.parse(e);if(fs(r)||Array.isArray(r))return r;if(!t)throw new Error("Expected JSON serialized object or array")}catch{if(!t)throw new Error("Could not parse parameter value string as JSON Object or JSON Array")}return e},Yl=e=>{try{return new URL(e)}catch{const t=new URL(e,bf),r=String(e).startsWith("/")?t.pathname:t.pathname.substring(1);return{hash:t.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:t.search,searchParams:t.searchParams}}};class ile extends js{}const ole=(e,t)=>
194t.filter(r=>r.name===e),ale=e=>{const t={};e.forEach(n=>{t[n.in]||(t[n.in]={}),t[n.in][n.name]=n});const r=[];return Object.keys(t).forEach(n=>{Object.keys(t[n]).forEach(s=>{r.push(t[n][s])})}),r},cle={buildRequest:L4};function ule({http:e,fetch:t,spec:r,operationId:n,pathName:s,method:i,parameters:o,securities:a,...c}){const u=e||t||xc;s&&i&&!n&&(n=B4(s,i));const l=cle.buildRequest({spec:r,operationId:n,parameters:o,securities:a,http:u,...c});return l.body&&(fs(l.body)||Array.isArray(l.body))&&(l.body=JSON.stringify(l.body)),u(l)}function L4(e){const{spec:t,operationId:r,responseContentType:n,scheme:s,requestInterceptor:i,responseInterceptor:o,contextUrl:a,userFetch:c,server:u,serverVariables:l,http:f,signal:d,serverVariableEncoder:h}=e;let{parameters:g,parameterBuilders:v,baseURL:y}=e;const E=V8(t);v||(E?v=Yue:v=Eue);let S={url:"",credentials:f&&f.withCredentials?"include":"same-origin",headers:{},cookies:{}};d&&(S.signal=d),i&&(S.requestInterceptor=i),o&&(S.responseInterceptor=o),c&&(S.userFetch=c);const _=sle(t,r);if(!_)throw new ile(`Operation ${r} not found`);const{operation:x={},method:A,pathName:O}=_;if(y=y??lle({spec:t,scheme:s,contextUrl:a,server:u,serverVariables:l,pathName:O,method:A,serverVariableEncoder:h}),S.url+=y,!r)return delete S.cookies,S;S.url+=O,S.method=`${A}`.toUpperCase(),g=g||{};const I=t.paths[O]||{};n&&(S.headers.accept=n);const R=ale([].concat(h$(x.parameters)).concat(h$(I.parameters)));R.forEach(M=>{const q=v[M.in];let N;if(M.in==="body"&&M.schema&&M.schema.properties&&(N=g),N=M&&M.name&&g[M.name],typeof N>"u"?N=M&&M.name&&g[`${M.in}.${M.name}`]:ole(M.name,R).length>1&&console.warn(`Parameter '${M.name}' is ambiguous because the defined spec has more than one parameter with the name: '${M.name}' and the passed-in parameter values did not define an 'in' value.`),N!==null){if(typeof M.default<"u"&&typeof N>"u"&&(N=M.default),typeof N>"u"&&M.required&&!M.allowEmptyValue)throw new Error(`Required parameter ${M.name} is not provided`);E&&typeof N=="string"&&(fc("type",M.schema)&&typeof M.schema.type=="string"&&dc(M.schema,{recurse:!1})?N=v1({value:N,silentFail:!1}):fc("type",M.schema)&&Array.isArray(M.schema.type)&&dc(M.schema,{recurse:!1})?N=v1({value:N,silentFail:!0}):!fc("type",M.schema)&&dc(M.schema,{recurse:!0})&&(N=v1({value:N,silentFail:!0}))),q&&q({req:S,parameter:M,value:N,operation:x,spec:t,baseURL:y})}});const $={...e,operation:x};if(E?S=Zue($,S):S=ele($,S),S.cookies&&Object.keys(S.cookies).length>0){const M=Tw(S.cookies);zp(S.headers.Cookie)?S.headers.Cookie+=`; ${M}`:S.headers.Cookie=M}return S.cookies&&delete S.cookies,u2(S)}const Iw=e=>e?e.replace(/\W/g,""):null;function lle(e){return V8(e.spec)?fle(e):hle(e)}const b1=e=>Array.isArray(e)&&e.length>0;function fle({spec:e,pathName:t,method:r,server:n,contextUrl:s,serverVariables:i={},serverVariableEncoder:o}){var h,g,v,y,E;let a=[],c="",u;const l=(v=(g=(h=e==null?void 0:e.paths)==null?void 0:h[t])==null?void 0:g[(r||"").toLowerCase()])==null?void 0:v.servers,f=(E=(y=e==null?void 0:e.paths)==null?void 0:y[t])==null?void 0:E.servers,d=e==null?void 0:e.servers;if(a=b1(l)?l:b1(f)?f:b1(d)?d:[ire],n&&(u=a.find(b=>b.url===n),u&&(c=n)),c||([u]=a,c=u.url),iue(c,{strict:!0})){const b=Object.entries({...u.variables}).reduce((S,[_,x])=>(S[_]=x.default,S),{});c=uue(c,{...b,...i},{encoder:typeof o=="function"?o:_6})}return ple(c,s)}function ple(e="",t=""){const r=Yl(e&&t?zr(t,e):e),n=Yl(t),s=Iw(r.protocol)||Iw(n.protocol),i=r.host||n.host,o=r.pathname;let a;return s&&i?a=`${s}://${i+o}`:a=o,a[a.length-1]==="/"?a.slice(0,-1):a}function hle({spec:e,scheme:t,contextUrl:r=""}){const n=Yl(r),s=Array.isArray(e.schemes)?e.schemes[0]:null,i=t||s||Iw(n.protocol)||"http",o=e.host||n.host||"",a=e.basePath||"";let c;return o?c=`${i}://${o+a}`:c=a,c[c.length-1]==="/"?c.slice(0,-1):c}const dle=async(e,t,r={})=>{const{returnEntireTree:n,baseDoc:s,requestInterceptor:i,responseInterceptor:o,parameterMacro:a,modelPropertyMacro:c,useCircularStructures:u,strategies:l}=r,f={spec:e,pathDiscriminator:t,baseDoc:s,requestInterceptor:i,responseInterceptor:o,parameterMacro:a,modelPropertyMacro:c,useCircularStructures:u,strategies:l},h=l.find(v=>v.match(e)).normalize(e),g=await Zce({spec:h,...f,allowMetaPatches:!0,skipNormalization:!h2(e)});return!n&&Array.isArray(t)&&t.length&&(g.spec=t.reduce((v,y)=>v==null?void 0:v[y],g.spec)||null),g},mle=e=>async(t,r,n={})=>{const s={...e,...n};return dle(t,r,s)};var E1={exports:{}},S1={};/** 195 * @license React 196 * use-sync-external-store-with-selector.production.js 197 * 198 * Copyright (c) Meta Platforms, Inc. and affiliates. 199 * 200 * This source code is licensed under the MIT license found in the 201 * LICENSE file in the root directory of this source tree. 202 */var d$;function gle(){if(d$)return S1;d$=1;var e=Ix();
202function t(c,u){return c===u&&(c!==0||1/c===1/u)||c!==c&&u!==u}var r=typeof Object.is=="function"?Object.is:t,n=e.useSyncExternalStore,s=e.useRef,i=e.useEffect,o=e.useMemo,a=e.useDebugValue;return S1.useSyncExternalStoreWithSelector=function(c,u,l,f,d){var h=s(null);if(h.current===null){var g={hasValue:!1,value:null};h.current=g}else g=h.current;h=o(function(){function y(x){if(!E){if(E=!0,b=x,x=f(x),d!==void 0&&g.hasValue){var A=g.value;if(d(A,x))return S=A}return S=x}if(A=S,r(b,x))return A;var O=f(x);return d!==void 0&&d(A,O)?(b=x,A):(b=x,S=O)}var E=!1,b,S,_=l===void 0?null:l;return[function(){return y(u())},_===null?void 0:function(){return y(_())}]},[u,l,f,d]);var v=n(c,h[0],h[1]);return i(function(){g.hasValue=!0,g.value=v},[v]),a(v),v},S1}var m$;function yle(){return m$||(m$=1,E1.exports=gle()),E1.exports}yle();var vle=we.version.startsWith("19"),ble=Symbol.for(vle?"react.transitional.element":"react.element"),Ele=Symbol.for("react.portal"),Sle=Symbol.for("react.fragment"),_le=Symbol.for("react.strict_mode"),wle=Symbol.for("react.profiler"),xle=Symbol.for("react.consumer"),Ale=Symbol.for("react.context"),U4=Symbol.for("react.forward_ref"),Ole=Symbol.for("react.suspense"),Cle=Symbol.for("react.suspense_list"),P2=Symbol.for("react.memo"),Rle=Symbol.for("react.lazy"),Tle=U4,Ile=P2;function Ple(e){if(typeof e=="object"&&e!==null){const{$$typeof:t}=e;switch(t){case ble:switch(e=e.type,e){case Sle:case wle:case _le:case Ole:case Cle:return e;default:switch(e=e&&e.$$typeof,e){case Ale:case U4:case Rle:case P2:return e;case xle:return e;default:return t}}case Ele:return t}}}function jle(e){return Ple(e)===P2}function kle(e,t,r,n,{areStatesEqual:s,areOwnPropsEqual:i,areStatePropsEqual:o}){let a=!1,c,u,l,f,d;function h(b,S){return c=b,u=S,l=e(c,u),f=t(n,u),d=r(l,f,u),a=!0,d}
202function g(){return l=e(c,u),t.dependsOnOwnProps&&(f=t(n,u)),d=r(l,f,u),d}function v(){return e.dependsOnOwnProps&&(l=e(c,u)),t.dependsOnOwnProps&&(f=t(n,u)),d=r(l,f,u),d}function y(){const b=e(c,u),S=!o(b,l);return l=b,S&&(d=r(l,f,u)),d}function E(b,S){const _=!i(S,u),x=!s(b,c,S,u);return c=b,u=S,_&&x?g():_?v():x?y():d}return function(S,_){return a?E(S,_):h(S,_)}}function Nle(e,{initMapStateToProps:t,initMapDispatchToProps:r,initMergeProps:n,...s}){const i=t(e,s),o=r(e,s),a=n(e,s);return kle(i,o,a,e,s)}function Mle(e,t){const r={};for(const n in e){const s=e[n];typeof s=="function"&&(r[n]=(...i)=>t(s(...i)))}return r}function Pw(e){return function(r){const n=e(r);function s(){return n}return s.dependsOnOwnProps=!1,s}}function g$(e){return e.dependsOnOwnProps?!!e.dependsOnOwnProps:e.length!==1}function V4(e,t){return function(n,{displayName:s}){const i=function(a,c){return i.dependsOnOwnProps?i.mapToProps(a,c):i.mapToProps(a,void 0)};return i.dependsOnOwnProps=!0,i.mapToProps=function(a,c){i.mapToProps=e,i.dependsOnOwnProps=g$(e);let u=i(a,c);return typeof u=="function"&&(i.mapToProps=u,i.dependsOnOwnProps=g$(u),u=i(a,c)),u},i}}function j2(e,t){return(r,n)=>{throw new Error(`Invalid value of type ${typeof e} for ${t} argument when connecting component ${n.wrappedComponentName}.`)}}function Dle(e){return e&&typeof e=="object"?Pw(t=>Mle(e,t)):e?typeof e=="function"?V4(e):j2(e,"mapDispatchToProps"):Pw(t=>({dispatch:t}))}function $le(e){return e?typeof e=="function"?V4(e):j2(e,"mapStateToProps"):Pw(()=>({}))}function Fle(e,t,r){return{...r,...e,...t}}function qle(e){return function(r,{displayName:n,areMergedPropsEqual:s}){let i=!1,o;return function(c,u,l){const f=e(c,u,l);return i?s(f,o)||(o=f):(i=!0,o=f),o}}}function Ble(e){return e?typeof e=="function"?qle(e):j2(e,"mergeProps"):()=>Fle}function Lle(e){e()}function Ule(){let e=null,t=null;return{clear(){e=null,t=null},notify(){Lle(()=>{let r=e;for(;r;)r.callback(),r=r.next})},get(){const r=[];let n=e;for(;n;)r.push(n),n=n.next;return r},subscribe(r){let n=!0;const s=t={callback:r,next:null,prev:t};return s.prev?s.prev.next=s:e=s,function(){!n||e===null||(n=!1,s.next?s.next.prev=s.prev:t=s.prev,s.prev?s.prev.next=s.next:e=s.next)}}}}var y$={notify(){},get:()=>[]};function z4(e,t){let r,n=y$,s=0,i=!1;function o(v){l();const y=n.subscribe(v);let E=!1;return()=>{E||(E=!0,y(),f())}}function a(){n.notify()}function c(){g.onStateChange&&g.onStateChange()}function u(){return i}function l(){s++,r||(r=t?t.addNestedSub(c):e.subscribe(c),n=Ule())}function f(){s--,r&&s===0&&(r(),r=void 0,n.clear(),n=y$)}function d(){i||(i=!0,l())}function h(){i&&(i=!1,f())}const g={addNestedSub:o,notifyNestedSubs:a,handleChangeWrapper:c,isSubscribed:u,trySubscribe:d,tryUnsubscribe:h,getListeners:()=>n};return g}var Vle=()=>typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",zle=Vle(),Wle=()=>typeof navigator<"u"&&navigator.product==="ReactNative",Jle=Wle(),Hle=()=>zle||Jle?we.useLayoutEffect:we.useEffect,Af=Hle();function v$(e,t){return e===t?e!==0||t!==0||1/e===1/t:e!==e&&t!==t}function _1(e,t){if(v$(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(let s=0;s<r.length;s++)if(!Object.prototype.hasOwnProperty.call(t,r[s])||!v$(e[r[s]],t[r[s]]))return!1;return!0}var Kle={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Gle={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Yle={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},W4={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Xle={[Tle]:Yle,[Ile]:W4};function b$(e){return jle(e)?W4:Xle[e.$$typeof]||Kle}var Zle=Object.defineProperty,Qle=Object.getOwnPropertyNames,E$=Object.getOwnPropertySymbols,efe=Object.getOwnPropertyDescriptor,tfe=Object.getPrototypeOf,S$=Object.prototype;function jw(e,t){if(typeof t!="string"){if(S$){const i=tfe(t);i&&i!==S$&&jw(e,i)}let r=Qle(t);E$&&(r=r.concat(E$(t)));const n=b$(e),s=b$(t);for(let i=0;i<r.length;++i){const o=r[i];if(!Gle[o]&&!(s&&s[o])&&!(n&&n[o])){const a=efe(t,o);try{Zle(e,o,a)}catch{}}}}return e}var w1=Symbol.for("react-redux-context"),x1=typeof globalThis<"u"?globalThis:{};function rfe(){if(!we.createContext)return{};const e=x1[w1]??(x1[w1]=new Map);let t=e.get(we.createContext);return t||(t=we.createContext(null),e.set(we.createContext,t)),t}var J4=rfe(),nfe=[null,null];function sfe(e,t,r){Af(()=>e(...t),r)}function ife(e,t,r,n,s,i){e.current=n,r.current=!1,s.current&&(s.current=null,i())}function ofe(e,t,r,n,s,i,o,a,c,u,l){if(!e)return()=>{};let f=!1,d=null;const h=()=>
202{if(f||!a.current)return;const v=t.getState();let y,E;try{y=n(v,s.current)}catch(b){E=b,d=b}E||(d=null),y===i.current?o.current||u():(i.current=y,c.current=y,o.current=!0,l())};return r.onStateChange=h,r.trySubscribe(),h(),()=>{if(f=!0,r.tryUnsubscribe(),r.onStateChange=null,d)throw d}}function afe(e,t){return e===t}function cfe(e,t,r,{pure:n,areStatesEqual:s=afe,areOwnPropsEqual:i=_1,areStatePropsEqual:o=_1,areMergedPropsEqual:a=_1,forwardRef:c=!1,context:u=J4}={}){const l=u,f=$le(e),d=Dle(t),h=Ble(r),g=!!e;return y=>{const E=y.displayName||y.name||"Component",b=`Connect(${E})`,S={shouldHandleStateChanges:g,displayName:b,wrappedComponentName:E,WrappedComponent:y,initMapStateToProps:f,initMapDispatchToProps:d,initMergeProps:h,areStatesEqual:s,areStatePropsEqual:o,areOwnPropsEqual:i,areMergedPropsEqual:a};function _(O){const[I,R,$]=we.useMemo(()=>{const{reactReduxForwardedRef:Re,...ke}=O;return[O.context,Re,ke]},[O]),M=we.useMemo(()=>{let Re=l;return I!=null&&I.Consumer,Re},[I,l]),q=we.useContext(M),N=!!O.store&&!!O.store.getState&&!!O.store.dispatch,U=!!q&&!!q.store,X=N?O.store:q.store,J=U?q.getServerState:X.getState,ee=we.useMemo(()=>Nle(X.dispatch,S),[X]),[ne,re]=we.useMemo(()=>{if(!g)return nfe;const Re=z4(X,N?void 0:q.subscription),ke=Re.notifyNestedSubs.bind(Re);return[Re,ke]},[X,N,q]),Y=we.useMemo(()=>N?q:{...q,subscription:ne},[N,q,ne]),ie=we.useRef(void 0),ce=we.useRef($),ge=we.useRef(void 0),de=we.useRef(!1),ae=we.useRef(!1),W=we.useRef(void 0);Af(()=>(ae.current=!0,()=>{ae.current=!1}),[]);const V=we.useMemo(()=>()=>ge.current&&$===ce.current?ge.current:ee(X.getState(),$),[X,$]),fe=we.useMemo(()=>ke=>ne?ofe(g,X,ne,ee,ce,ie,de,ae,ge,re,ke):()=>{},[ne]);sfe(ife,[ce,ie,de,$,ge,re]);let ye;try{ye=we.useSyncExternalStore(fe,V,J?()=>ee(J(),$):V)}catch(Re){throw W.current&&(Re.message+=` 203The error may be correlated with this previous error: 204${W.current.stack} 205 206`),Re}Af(()=>{W.current=void 0,ge.current=void 0,ie.current=ye});const De=we.useMemo(()=>we.createElement(y,{...ye,ref:R}),[R,y,ye]);return we.useMemo(()=>g?we.createElement(M.Provider,{value:Y},De):De,[M,De,Y])}const A=we.memo(_);if(A.WrappedComponent=y,A.displayName=_.displayName=b,c){const I=we.forwardRef(function($,M){return we.createElement(A,{...$,reactReduxForwardedRef:M})});return I.displayName=b,I.WrappedComponent=y,jw(I,y)}return jw(A,y)}}var ufe=cfe;function lfe(e){const{children:t,context:r,serverState:n,store:s}=e,i=we.useMemo(()=>{const c=z4(s);return{store:s,subscription:c,getServerState:n?()=>n:void 0}},[s,n]),o=we.useMemo(()=>s.getState(),[s]);Af(()=>{const{subscription:c}=i;return c.onStateChange=c.notifyNestedSubs,c.trySubscribe(),o!==s.getState()&&c.notifyNestedSubs(),()=>{c.tryUnsubscribe(),c.onStateChange=void 0}},[i,o]);const a=r||J4;return we.createElement(a.Provider,{value:i},t)}var ffe=lfe,pfe=Wc();const H4=ut(pfe);function hfe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function dfe(e,t){if(e==null)return{};var r,n,s=hfe(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function kw(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function mfe(e){if(Array.isArray(e))return kw(e)}function gfe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function yfe(e,t){if(e){if(typeof e=="string")return kw(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kw(e,t):void 0}}function vfe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. 207In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Nw(e){return mfe(e)||gfe(e)||yfe(e)||vfe()}function Oc(e){"@babel/helpers - typeof";return Oc=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Oc(e)}function bfe(e,t){if(Oc(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Oc(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Efe(e){var t=bfe(e,"string");return Oc(t)=="symbol"?t:t+""}function K4(e,t,r){return(t=Efe(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mw(){return Mw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
207).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Mw.apply(null,arguments)}function _$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function ia(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?_$(Object(r),!0).forEach(function(n){K4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):_$(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Sfe(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(t>=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}var A1={};function _fe(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return A1[t]||(A1[t]=Sfe(e)),A1[t]}function wfe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(i){return i!=="token"}),s=_fe(n);return s.reduce(function(i,o){return ia(ia({},i),r[o])},t)}function w$(e){return e.join(" ")}function xfe(e,t){var r=0;return function(n){return r+=1,n.map(function(s,i){return G4({node:s,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(i)})})}}function G4(e){var t=e.node,r=e.stylesheet,n=e.style,s=n===void 0?{}:n,i=e.useInlineStyles,o=e.key,a=t.properties,c=t.type,u=t.tagName,l=t.value;if(c==="text")return l;if(u){var f=xfe(r,i),d;if(!i)d=ia(ia({},a),{},{className:w$(a.className)});else{var h=Object.keys(r).reduce(function(E,b){return b.split(".").forEach(function(S){E.includes(S)||E.push(S)}),E},[]),g=a.className&&a.className.includes("token")?["token"]:[],v=a.className&&g.concat(a.className.filter(function(E){return!h.includes(E)}));d=ia(ia({},a),{},{className:w$(v)||void 0,style:wfe(a.className,Object.assign({},a.style,s),r)})}var y=f(t.children);return p.createElement(u,Mw({key:o},d),y)}}const Afe=(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1});var Ofe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function x$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function Ci(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};
207t%2?x$(Object(r),!0).forEach(function(n){K4(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x$(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}var Cfe=/\n/g;function Rfe(e){return e.match(Cfe)}function Tfe(e){var t=e.lines,r=e.startingLineNumber,n=e.style;return t.map(function(s,i){var o=i+r;return p.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof n=="function"?n(o):n},"".concat(o,` 208`))})}function Ife(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,s=n===void 0?{float:"left",paddingRight:"10px"}:n,i=e.numberStyle,o=i===void 0?{}:i,a=e.startingLineNumber;return p.createElement("code",{style:Object.assign({},r,s)},Tfe({lines:t.replace(/\n$/,"").split(` 209`),style:o,startingLineNumber:a}))}function Pfe(e){return"".concat(e.toString().length,".25em")}function Y4(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function X4(e,t,r){var n={display:"inline-block",minWidth:Pfe(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},s=typeof e=="function"?e(t):e,i=Ci(Ci({},n),s);return i}function Xl(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,s=e.largestLineNumber,i=e.showInlineLineNumbers,o=e.lineProps,a=o===void 0?{}:o,c=e.className,u=c===void 0?[]:c,l=e.showLineNumbers,f=e.wrapLongLines,d=e.wrapLines,h=d===void 0?!1:d,g=h?Ci({},typeof a=="function"?a(r):a):{};if(g.className=g.className?[].concat(Nw(g.className.trim().split(/\s+/)),Nw(u)):u,r&&i){var v=X4(n,r,s);t.unshift(Y4(r,v))}return f&l&&(g.style=Ci({display:"flex"},g.style)),{type:"element",tagName:"span",properties:g,children:t}}function Z4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];e.length===void 0&&(e=[e]);for(var n=0;n<e.length;n++){var s=e[n];if(s.type==="text")r.push(Xl({children:[s],className:Nw(new Set(t))}));else if(s.children){var i,o=t.concat(((i=s.properties)===null||i===void 0?void 0:i.className)||[]);Z4(s.children,o).forEach(function(a){return r.push(a)})}}return r}function jfe(e,t,r,n,s,i,o,a,c){var u,l=Z4(e.value),f=[],d=-1,h=0;function g(x,A){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Xl({children:x,lineNumber:A,lineNumberStyle:a,largestLineNumber:o,showInlineLineNumbers:s,lineProps:r,className:O,showLineNumbers:n,wrapLongLines:c,wrapLines:t})}function v(x,A){if(n&&A&&s){var O=X4(a,A,o);x.unshift(Y4(A,O))}return x}function y(x,A){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||O.length>0?g(x,A,O):v(x,A)}for(var E=function(){var A=l[h],O=A.children[0].value,I=Rfe(O);if(I){var R=O.split(` 210`);R.forEach(function($,M){var q=n&&f.length+i,N={type:"text",value:"".concat($,` 211`)};if(M===0){var U=l.slice(d+1,h).concat(Xl({children:[N],className:A.properties.className})),X=y(U,q);f.push(X)}else if(M===R.length-1){var J=l[h+1]&&l[h+1].children&&l[h+1].children[0],ee={type:"text",value:"".concat($)};if(J){var ne=Xl({children:[ee],className:A.properties.className});l.splice(h+1,0,ne)}else{var re=[ee],Y=y(re,q,A.properties.className);f.push(Y)}}else{var ie=[N],ce=y(ie,q,A.properties.className);f.push(ce)}}),d=h}h++};h<l.length;)E();if(d!==l.length-1){var b=l.slice(d+1,l.length);if(b&&b.length){var S=n&&f.length+i,_=y(b,S);f.push(_)}}return t?f:(u=[]).concat.apply(u,f)}function kfe(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(s,i){return G4({node:s,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(i)})})}function Q4(e){return e&&typeof e.highlightAuto<"u"}function Nfe(e){var t=e.astGenerator,r=e.language,n=e.code,s=e.defaultCodeValue;if(Q4(t)){var i=Afe(t,r);return r==="text"?{value:s,language:"text"}:i?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:s}}catch{return{value:s}}}function Mfe(e,t){return function(n){var s,i,o=n.language,a=n.children,c=n.style,u=c===void 0?t:c,l=n.customStyle,f=l===void 0?{}:l,d=n.codeTagProps,h=d===void 0?{className:o?"language-".concat(o):void 0,style:Ci(Ci({},u['code[class*="language-"]']),u['code[class*="language-'.concat(o,'"]')])}:d,g=n.useInlineStyles,v=g===void 0?!0:g,y=n.showLineNumbers,E=y===void 0?!1:y,b=n.showInlineLineNumbers,S=b===void 0?!0:b,_=n.startingLineNumber,x=_
211===void 0?1:_,A=n.lineNumberContainerStyle,O=n.lineNumberStyle,I=O===void 0?{}:O,R=n.wrapLines,$=n.wrapLongLines,M=$===void 0?!1:$,q=n.lineProps,N=q===void 0?{}:q,U=n.renderer,X=n.PreTag,J=X===void 0?"pre":X,ee=n.CodeTag,ne=ee===void 0?"code":ee,re=n.code,Y=re===void 0?(Array.isArray(a)?a[0]:a)||"":re,ie=n.astGenerator,ce=dfe(n,Ofe);ie=ie||e;var ge=E?p.createElement(Ife,{containerStyle:A,codeStyle:h.style||{},numberStyle:I,startingLineNumber:x,codeString:Y}):null,de=u.hljs||u['pre[class*="language-"]']||{backgroundColor:"#fff"},ae=Q4(ie)?"hljs":"prismjs",W=v?Object.assign({},ce,{style:Object.assign({},de,f)}):Object.assign({},ce,{className:ce.className?"".concat(ae," ").concat(ce.className):ae,style:Object.assign({},f)});if(M?h.style=Ci({whiteSpace:"pre-wrap"},h.style):h.style=Ci({whiteSpace:"pre"},h.style),!ie)return p.createElement(J,W,ge,p.createElement(ne,h,Y));(R===void 0&&U||M)&&(R=!0),U=U||kfe;var V=[{type:"text",value:Y}],fe=Nfe({astGenerator:ie,language:o,code:Y,defaultCodeValue:V});fe.language===null&&(fe.value=V);var ye=(s=(i=Y.match(/\n/g))===null||i===void 0?void 0:i.length)!==null&&s!==void 0?s:0,De=x+ye,Fe=jfe(fe,R,N,E,S,x,De,I,M);return p.createElement(J,W,p.createElement(ne,h,!S&&ge,U({rows:Fe,stylesheet:u,useInlineStyles:v})))}}var Zi={},O1,A$;function Dfe(){if(A$)return O1;A$=1;function e(ue){return ue instanceof Map?ue.clear=ue.delete=ue.set=function(){throw new Error("map is read-only")}:ue instanceof Set&&(ue.add=ue.clear=ue.delete=function(){throw new Error("set is read-only")}),Object.freeze(ue),Object.getOwnPropertyNames(ue).forEach(function(Te){var Me=ue[Te];typeof Me=="object"&&!Object.isFrozen(Me)&&e(Me)}),ue}var t=e,r=e;t.default=r;class n{constructor(Te){Te.data===void 0&&(Te.data={}),this.data=Te.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function s(ue){return ue.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function i(ue,...Te){const Me=Object.create(null);for(const nt in ue)Me[nt]=ue[nt];return Te.forEach(function(nt){for(const Et in nt)Me[Et]=nt[Et]}),Me}const o="</span>",a=ue=>!!ue.kind;class c{constructor(Te,Me){this.buffer="",this.classPrefix=Me.classPrefix,Te.walk(this)}addText(Te){this.buffer+=s(Te)}openNode(Te){if(!a(Te))return;let Me=Te.kind;Te.sublanguage||(Me=`${this.classPrefix}${Me}`),this.span(Me)}closeNode(Te){a(Te)&&(this.buffer+=o)}value(){return this.buffer}span(Te){this.buffer+=`<span class="${Te}">`}}class u{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Te){this.top.children.push(Te)}openNode(Te){const Me={kind:Te,children:[]};this.add(Me),this.stack.push(Me)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Te){return this.constructor._walk(Te,this.rootNode)}static _walk(Te,Me){return typeof Me=="string"?Te.addText(Me):Me.children&&(Te.openNode(Me),Me.children.forEach(nt=>this._walk(Te,nt)),Te.closeNode(Me)),Te}static _collapse(Te){typeof Te!="string"&&Te.children&&(Te.children.every(Me=>typeof Me=="string")?Te.children=[Te.children.join("")]:Te.children.forEach(Me=>{u._collapse(Me)}))}}class l extends u{constructor(Te){super(),this.options=Te}addKeyword(Te,Me){Te!==""&&(this.openNode(Me),this.addText(Te),this.closeNode())}addText(Te){Te!==""&&this.add(Te)}addSublanguage(Te,Me){const nt=Te.root;nt.kind=Me,nt.sublanguage=!0,this.add(nt)}toHTML(){return new c(this,this.options).value()}finalize(){return!0}}function f(ue){return new RegExp(ue.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function d(ue){return ue?typeof ue=="string"?ue:ue.source:null}function h(...ue){return ue.map(Me=>d(Me)).join("")}function g(...ue){return"("+ue.map(Me=>d(Me)).join("|")+")"}function v(ue){return new RegExp(ue.toString()+"|").exec("").length-1}function y(ue,Te){const Me=ue&&ue.exec(Te);return Me&&Me.index===0}const E=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(ue,Te="|"){let Me=0;return ue.map(nt=>{Me+=1;const Et=Me;let St=d(nt),zt="";for(;St.length>0;){const We=E.exec(St);if(!We){zt+=St;break}zt+=St.substring(0,We.index),St=St.substring(We.index+We[0].length),We[0][0]==="\\"&&We[1]?zt+="\\"+String(Number(We[1])+Et):(zt+=We[0],We[0]==="("&&Me++)}return zt}).map(nt=>`(${nt})`).join(Te)}const S=/\b\B/,_="[a-zA-Z]\\w*",x="[a-zA-Z_]\\w*",A="\\b\\d+(\\.\\d+)?",O="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",I="\\b(0b[01]+)",R="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",$=(ue={})=>{const Te=/^#![ ]*\//;return ue.binary&&(ue.begin=h(Te,/.*\b/,ue.binary,/\b.*/)),i({className:"meta",begin:Te,end:/$/,relevance:0,"on:begin":(Me,nt)=>{Me.index!==0&&nt.ignoreMatch()}},ue)},M={begin:"\\\\[\\s\\S]",relevance:0},q={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[M]},N={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[M]},U={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/},X=function(ue,Te,Me={}){const nt=i({className:"comment",begin:ue,end:Te,contains:[]},Me);return nt.contains.push(U),nt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),nt},J=X("//","$"),ee=X("/\\*","\\*/"),ne=X("#","$"),re={className:"number",begin:A,relevance:0},Y={className:"number",begin:O,relevance:0},ie={className:"number",begin:I,relevance:0},ce={className:"number",begin:A+"(%|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},ge={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[M,{begin:/\[/,end:/\]/,relevance:0,contains:[M]}]}]},de={className:"title",begin:_,relevance:0},ae={className:"title",begin:x,relevance:0},W={begin:"\\.\\s*"+x,relevance:0};var fe=Object.freeze({__proto__:null,MATCH_NOTHING_RE:S,IDENT_RE:_,UNDERSCORE_IDENT_RE:x,NUMBER_RE:A,C_NUMBER_RE:O,BINARY_NUMBER_RE:I,RE_STARTERS_RE:R,SHEBANG:$,BACKSLASH_ESCAPE:M,APOS_STRING_MODE:q,QUOTE_STRING_MODE:N,PHRASAL_WORDS_MODE:U,COMMENT:X,C_LINE_COMMENT_MODE:J,C_BLOCK_COMMENT_MODE:ee,HASH_COMMENT_MODE:ne,NUMBER_MODE:re,C_NUMBER_MODE:Y,BINARY_NUMBER_MODE:ie,CSS_NUMBER_MODE:ce,REGEXP_MODE:ge,TITLE_MODE:de,UNDERSCORE_TITLE_MODE:ae,METHOD_GUARD:W,END_SAME_AS_BEGIN:function(ue){return Object.assign(ue,{"on:begin":(Te,Me)=>
211{Me.data._beginMatch=Te[1]},"on:end":(Te,Me)=>{Me.data._beginMatch!==Te[1]&&Me.ignoreMatch()}})}});function ye(ue,Te){ue.input[ue.index-1]==="."&&Te.ignoreMatch()}function De(ue,Te){Te&&ue.beginKeywords&&(ue.begin="\\b("+ue.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",ue.__beforeBegin=ye,ue.keywords=ue.keywords||ue.beginKeywords,delete ue.beginKeywords,ue.relevance===void 0&&(ue.relevance=0))}function Fe(ue,Te){Array.isArray(ue.illegal)&&(ue.illegal=g(...ue.illegal))}function Re(ue,Te){if(ue.match){if(ue.begin||ue.end)throw new Error("begin & end are not supported with match");ue.begin=ue.match,delete ue.match}}function ke(ue,Te){ue.relevance===void 0&&(ue.relevance=1)}const Je=["of","and","for","in","not","or","if","then","parent","list","value"],be="keyword";function Ee(ue,Te,Me=be){const nt={};return typeof ue=="string"?Et(Me,ue.split(" ")):Array.isArray(ue)?Et(Me,ue):Object.keys(ue).forEach(function(St){Object.assign(nt,Ee(ue[St],Te,St))}),nt;function Et(St,zt){Te&&(zt=zt.map(We=>We.toLowerCase())),zt.forEach(function(We){const Ke=We.split("|");nt[Ke[0]]=[St,xe(Ke[0],Ke[1])]})}}function xe(ue,Te){return Te?Number(Te):L(ue)?0:1}function L(ue){return Je.includes(ue.toLowerCase())}function T(ue,{plugins:Te}){function Me(We,Ke){return new RegExp(d(We),"m"+(ue.case_insensitive?"i":"")+(Ke?"g":""))}class nt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Ke,pt){pt.position=this.position++,this.matchIndexes[this.matchAt]=pt,this.regexes.push([pt,Ke]),this.matchAt+=v(Ke)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Ke=this.regexes.map(pt=>pt[1]);this.matcherRe=Me(b(Ke),!0),this.lastIndex=0}exec(Ke){this.matcherRe.lastIndex=this.lastIndex;const pt=this.matcherRe.exec(Ke);if(!pt)return null;const at=pt.findIndex((Or,Ji)=>Ji>0&&Or!==void 0),mt=this.matchIndexes[at];return pt.splice(0,at),Object.assign(pt,mt)}}class Et{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Ke){if(this.multiRegexes[Ke])return this.multiRegexes[Ke];const pt=new nt;return this.rules.slice(Ke).forEach(([at,mt])=>pt.addRule(at,mt)),pt.compile(),this.multiRegexes[Ke]=pt,pt}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Ke,pt){this.rules.push([Ke,pt]),pt.type==="begin"&&this.count++}exec(Ke){const pt=this.getMatcher(this.regexIndex);pt.lastIndex=this.lastIndex;let at=pt.exec(Ke);if(this.resumingScanAtSamePosition()&&!(at&&at.index===this.lastIndex)){const mt=this.getMatcher(0);mt.lastIndex=this.lastIndex+1,at=mt.exec(Ke)}return at&&(this.regexIndex+=at.position+1,this.regexIndex===this.count&&this.considerAll()),at}}function St(We){const Ke=new Et;return We.contains.forEach(pt=>Ke.addRule(pt.begin,{rule:pt,type:"begin"})),We.terminatorEnd&&Ke.addRule(We.terminatorEnd,{type:"end"}),We.illegal&&Ke.addRule(We.illegal,{type:"illegal"}),Ke}function zt(We,Ke){const pt=We;if(We.isCompiled)return pt;[Re].forEach(mt=>mt(We,Ke)),ue.compilerExtensions.forEach(mt=>mt(We,Ke)),We.__beforeBegin=null,[De,Fe,ke].forEach(mt=>mt(We,Ke)),We.isCompiled=!0;let at=null;if(typeof We.keywords=="object"&&(at=We.keywords.$pattern,delete We.keywords.$pattern),We.keywords&&(We.keywords=Ee(We.keywords,ue.case_insensitive)),We.lexemes&&at)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return at=at||We.lexemes||/\w+/,pt.keywordPatternRe=Me(at,!0),Ke&&(We.begin||(We.begin=/\B|\b/),pt.beginRe=Me(We.begin),We.endSameAsBegin&&(We.end=We.begin),!We.end&&!We.endsWithParent&&(We.end=/\B|\b/),We.end&&(pt.endRe=Me(We.end)),pt.terminatorEnd=d(We.end)||"",We.endsWithParent&&Ke.terminatorEnd&&(pt.terminatorEnd+=(We.end?"|":"")+Ke.terminatorEnd)),We.illegal&&(pt.illegalRe=Me(We.illegal)),We.contains||(We.contains=[]),We.contains=[].concat(...We.contains.map(function(mt){return z(mt==="self"?We:mt)})),We.contains.forEach(function(mt){zt(mt,pt)}),We.starts&&zt(We.starts,Ke),pt.matcher=St(pt),pt}if(ue.compilerExtensions||(ue.compilerExtensions=[]),ue.contains&&ue.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return ue.classNameAliases=i(ue.classNameAliases||{}),zt(ue)}
211function j(ue){return ue?ue.endsWithParent||j(ue.starts):!1}function z(ue){return ue.variants&&!ue.cachedVariants&&(ue.cachedVariants=ue.variants.map(function(Te){return i(ue,{variants:null},Te)})),ue.cachedVariants?ue.cachedVariants:j(ue)?i(ue,{starts:ue.starts?i(ue.starts):null}):Object.isFrozen(ue)?i(ue):ue}var Q="10.7.3";function oe(ue){return!!(ue||ue==="")}function he(ue){const Te={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!ue.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,s(this.code);let nt={};return this.autoDetect?(nt=ue.highlightAuto(this.code),this.detectedLanguage=nt.language):(nt=ue.highlight(this.language,this.code,this.ignoreIllegals),this.detectedLanguage=this.language),nt.value},autoDetect(){return!this.language||oe(this.autodetect)},ignoreIllegals(){return!0}},render(nt){return nt("pre",{},[nt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:Te,VuePlugin:{install(nt){nt.component("highlightjs",Te)}}}}const $e={"after:highlightElement":({el:ue,result:Te,text:Me})=>{const nt=F(ue);if(!nt.length)return;const Et=document.createElement("div");Et.innerHTML=Te.value,Te.value=C(nt,F(Et),Me)}};function tt(ue){return ue.nodeName.toLowerCase()}function F(ue){const Te=[];return(function Me(nt,Et){for(let St=nt.firstChild;St;St=St.nextSibling)St.nodeType===3?Et+=St.nodeValue.length:St.nodeType===1&&(Te.push({event:"start",offset:Et,node:St}),Et=Me(St,Et),tt(St).match(/br|hr|img|input/)||Te.push({event:"stop",offset:Et,node:St}));return Et})(ue,0),Te}function C(ue,Te,Me){let nt=0,Et="";const St=[];function zt(){return!ue.length||!Te.length?ue.length?ue:Te:ue[0].offset!==Te[0].offset?ue[0].offset<Te[0].offset?ue:Te:Te[0].event==="start"?ue:Te}function We(at){function mt(Or){return" "+Or.nodeName+'="'+s(Or.value)+'"'}Et+="<"+tt(at)+[].map.call(at.attributes,mt).join("")+">"}function Ke(at){Et+="</"+tt(at)+">"}function pt(at){(at.event==="start"?We:Ke)(at.node)}for(;ue.length||Te.length;){let at=zt();if(Et+=s(Me.substring(nt,at[0].offset)),nt=at[0].offset,at===ue){St.reverse().forEach(Ke);do pt(at.splice(0,1)[0]),at=zt();while(at===ue&&at.length&&at[0].offset===nt);St.reverse().forEach(We)}else at[0].event==="start"?St.push(at[0].node):St.pop(),pt(at.splice(0,1)[0])}return Et+s(Me.substr(nt))}const P={},H=ue=>{console.error(ue)},le=(ue,...Te)=>{console.log(`WARN: ${ue}`,...Te)},me=(ue,Te)=>{P[`${ue}/${Te}`]||(console.log(`Deprecated as of ${ue}. ${Te}`),P[`${ue}/${Te}`]=!0)},Ae=s,ot=i,ft=Symbol("nomatch");var dt=function(ue){const Te=Object.create(null),Me=Object.create(null),nt=[];let Et=!0;const St=/(^(<[^>]+>|\t|)+|\n)/gm,zt="Could not find the language '{}', did you forget to load/include a language module?",We={disableAutodetect:!0,name:"Plain text",contains:[]};let Ke={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:l};function pt(Ce){return Ke.noHighlightRe.test(Ce)}function at(Ce){let Ne=Ce.className+" ";Ne+=Ce.parentNode?Ce.parentNode.className:"";const et=Ke.languageDetectRe.exec(Ne);if(et){const vt=Cr(et[1]);return vt||(le(zt.replace("{}",et[1])),le("Falling back to no-highlight mode for this block.",Ce)),vt?et[1]:"no-highlight"}return Ne.split(/\s+/).find(vt=>pt(vt)||Cr(vt))}function mt(Ce,Ne,et,vt){let qt="",or="";typeof Ne=="object"?(qt=Ce,et=Ne.ignoreIllegals,or=Ne.language,vt=void 0):(me("10.7.0","highlight(lang, code, ...args) has been deprecated."),me("10.7.0",`Please use highlight(code, options) instead. 212https://github.com/highlightjs/highlight.js/issues/2277`),or=Ce,qt=Ne);const Gr={code:qt,language:or};te("before:highlight",Gr);const Ut=Gr.result?Gr.result:Or(Gr.language,Gr.code,et,vt);return Ut.code=Gr.code,te("after:highlight",Ut),Ut}function Or(Ce,Ne,et,vt){function qt(rt,st){const Rt=vi.case_insensitive?st[0].toLowerCase():st[0];return Object.prototype.hasOwnProperty.call(rt.keywords,Rt)&&rt.keywords[Rt]}function or(){if(!Tt.keywords){xt.addText(ar);return}let rt=0;Tt.keywordPatternRe.lastIndex=0;let st=Tt.keywordPatternRe.exec(ar),Rt="";for(;st;){Rt+=ar.substring(rt,st.index);const Bt=qt(Tt,st);if(Bt){const[Xr,bi]=Bt;if(xt.addText(Rt),Rt="",Yi+=bi,Xr.startsWith("_"))Rt+=st[0];else{const Ei=vi.classNameAliases[Xr]||Xr;xt.addKeyword(st[0],Ei)}}else Rt+=st[0];rt=Tt.keywordPatternRe.lastIndex,st=Tt.keywordPatternRe.exec(ar)}Rt+=ar.substr(rt),xt.addText(Rt)}function Gr(){if(ar==="")return;let rt=null;if(typeof Tt.subLanguage=="string"){if(!Te[Tt.subLanguage]){xt.addText(ar);return}rt=Or(Tt.subLanguage,ar,!0,ul[Tt.subLanguage]),ul[Tt.subLanguage]=rt.top}else rt=Vs(ar,Tt.subLanguage.length?Tt.subLanguage:null);Tt.relevance>0&&(Yi+=rt.relevance),xt.addSublanguage(rt.emitter,rt.language)}function Ut(){Tt.subLanguage!=null?Gr():or(),ar=""}function sn(rt){return rt.className&&xt.openNode(vi.classNameAliases[rt.className]||rt.className),Tt=Object.create(rt,{parent:{value:Tt}}),Tt}function Yr(rt,st,Rt){let Bt=y(rt.endRe,Rt);if(Bt){if(rt["on:end"]){const Xr=new n(rt);rt["on:end"](st,Xr),Xr.isMatchIgnored&&(Bt=!1)}if(Bt){for(;rt.endsParent&&rt.parent;)rt=rt.parent;return rt}}if(rt.endsWithParent)return Yr(rt.parent,st,Rt)}function il(rt){return Tt.matcher.regexIndex===0?(ar+=rt[0],1):(Ws=!0,0)}function ol(rt){const st=rt[0],Rt=rt.rule,Bt=new n(Rt),Xr=[Rt.__beforeBegin,Rt["on:begin"]];for(const bi of Xr)if(bi&&(bi(rt,Bt),Bt.isMatchIgnored))return il(st);return Rt&&Rt.endSameAsBegin&&(Rt.endRe=f(st)),Rt.skip?ar+=st:(Rt.excludeBegin&&(ar+=st),Ut(),!Rt.returnBegin&&!Rt.excludeBegin&&(ar=st)),sn(Rt),Rt.returnBegin?0:st.length}function al(rt){const st=rt[0],Rt=Ne.substr(rt.index),Bt=Yr(Tt,rt,Rt);if(!Bt)return ft;const Xr=Tt;Xr.skip?ar+=st:(Xr.returnEnd||Xr.excludeEnd||(ar+=st),Ut(),Xr.excludeEnd&&(ar=st));do Tt.className&&xt.closeNode(),!Tt.skip&&!Tt.subLanguage&&(Yi+=Tt.relevance),Tt=Tt.parent;while(Tt!==Bt.parent);return Bt.starts&&(Bt.endSameAsBegin&&(Bt.starts.endRe=Bt.endRe),sn(Bt.starts)),Xr.returnEnd?0:st.length}function cl(){const rt=[];for(let st=Tt;st!==vi;st=st.parent)st.className&&rt.unshift(st.className);rt.forEach(st=>xt.openNode(st))}let Gi={};function Ba(rt,st){const Rt=st&&st[0];if(ar+=rt,Rt==null)return Ut(),0;if(Gi.type==="begin"&&st.type==="end"&&Gi.index===st.index&&Rt===""){if(ar+=Ne.slice(st.index,st.index+1),!Et){const Bt=new Error("0 width match regex");throw Bt.languageName=Ce,Bt.badRule=Gi.rule,Bt}return 1}if(Gi=st,st.type==="begin")return ol(st);if(st.type==="illegal"&&!et){const Bt=new Error('Illegal lexeme "'+Rt+'" for mode "'+(Tt.className||"<unnamed>")+'"');throw Bt.mode=Tt,Bt}else if(st.type==="end"){const Bt=al(st);if(Bt!==ft)return Bt}if(st.type==="illegal"&&Rt==="")return 1;if(qn>1e5&&qn>st.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ar+=Rt,Rt.length}const vi=Cr(Ce);if(!vi)throw H(zt.replace("{}",Ce)),new Error('Unknown language: "'+Ce+'"');const Gh=T(vi,{plugins:nt});let La="",Tt=vt||Gh;const ul={},xt=new Ke.__emitter(Ke);cl();let ar="",Yi=0,lr=0,qn=0,Ws=!1;try{for(Tt.matcher.considerAll();;){qn++,Ws?Ws=!1:Tt.matcher.considerAll(),Tt.matcher.lastIndex=lr;const rt=Tt.matcher.exec(Ne);if(!rt)break;const st=Ne.substring(lr,rt.index),Rt=Ba(st,rt);lr=rt.index+Rt}return Ba(Ne.substr(lr)),xt.closeAllNodes(),xt.finalize(),La=xt.toHTML(),{relevance:Math.floor(Yi),value:La,language:Ce,illegal:!1,emitter:xt,top:Tt}}catch(rt){if(rt.message&&rt.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:rt.message,context:Ne.slice(lr-100,lr+100),mode:rt.mode},sofar:La,relevance:0,value:Ae(Ne),emitter:xt};if(Et)return{illegal:!1,relevance:0,value:Ae(Ne),emitter:xt,language:Ce,top:Tt,errorRaised:rt};throw rt}}function Ji(Ce){const Ne={relevance:0,emitter:new Ke.__emitter(Ke),value:Ae(Ce),illegal:!1,top:We};return Ne.emitter.addText(Ce),Ne}function Vs(Ce,Ne){Ne=Ne||Ke.languages||Object.keys(Te);const et=Ji(Ce),vt=Ne.filter(Cr).filter(yn).map(sn=>Or(sn,Ce,!1));vt.unshift(et);const qt=vt.sort((sn,Yr)=>{if(sn.relevance!==Yr.relevance)return Yr.relevance-sn.relevance;if(sn.language&&Yr.language){if(Cr(sn.language).supersetOf===Yr.language)return 1;if(Cr(Yr.language).supersetOf===sn.language)return-1}return 0}),[or,Gr]=qt,Ut=or;return Ut.second_best=Gr,Ut}function di(Ce){return Ke.tabReplace||Ke.useBR?Ce.replace(St,Ne=>Ne===` 213`?Ke.useBR?"<br>":Ne:Ke.tabReplace?Ne.replace(/\t/g,Ke.tabReplace):Ne):Ce}function ko(Ce,Ne,et){const vt=Ne?Me[Ne]:et;Ce.classList.add("hljs"),vt&&Ce.classList.add(vt)}const mi={"before:highlightElement":({el:Ce})=>{Ke.useBR&&(Ce.innerHTML=Ce.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,` 214`))},"after:highlightElement":({result:Ce})=>{Ke.useBR&&(Ce.value=Ce.value.replace(/\n/g,"<br>"))}},Hi=/^(<[^>]+>|\t)+/gm,$r={"after:highlightElement":({result:Ce})=>{Ke.tabReplace&&(Ce.value=Ce.value.replace(Hi,Ne=>Ne.replace(/\t/g,Ke.tabReplace)))}};function vr(Ce){let Ne=null;const et=at(Ce);if(pt(et))return;te("before:highlightElement",{el:Ce,language:et}),Ne=Ce;const vt=Ne.textContent,qt=et?mt(vt,{language:et,ignoreIllegals:!0}):Vs(vt);te("after:highlightElement",{el:Ce,result:qt,text:vt}),Ce.innerHTML=qt.value,ko(Ce,et,qt.language),Ce.result={language:qt.language,re:qt.relevance,relavance:qt.relevance},qt.second_best&&(Ce.second_best={language:qt.second_best.language,re:qt.second_best.relevance,relavance:qt.second_best.relevance})}function No(Ce){Ce.useBR&&(me("10.3.0","'useBR' will be removed entirely in v11.0"),me("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Ke=ot(Ke,Ce)}const gi=()=>
214{if(gi.called)return;gi.called=!0,me("10.6.0","initHighlighting() is deprecated. Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(vr)};function yi(){me("10.6.0","initHighlightingOnLoad() is deprecated. Use highlightAll() instead."),Fn=!0}let Fn=!1;function ur(){if(document.readyState==="loading"){Fn=!0;return}document.querySelectorAll("pre code").forEach(vr)}function _t(){Fn&&ur()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",_t,!1);function nn(Ce,Ne){let et=null;try{et=Ne(ue)}catch(vt){if(H("Language definition for '{}' could not be registered.".replace("{}",Ce)),Et)H(vt);else throw vt;et=We}et.name||(et.name=Ce),Te[Ce]=et,et.rawDefinition=Ne.bind(null,ue),et.aliases&&rs(et.aliases,{languageName:Ce})}function Ki(Ce){delete Te[Ce];for(const Ne of Object.keys(Me))Me[Ne]===Ce&&delete Me[Ne]}function wt(){return Object.keys(Te)}function zs(Ce){me("10.4.0","requireLanguage will be removed entirely in v11."),me("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const Ne=Cr(Ce);if(Ne)return Ne;throw new Error("The '{}' language is required, but not loaded.".replace("{}",Ce))}function Cr(Ce){return Ce=(Ce||"").toLowerCase(),Te[Ce]||Te[Me[Ce]]}function rs(Ce,{languageName:Ne}){typeof Ce=="string"&&(Ce=[Ce]),Ce.forEach(et=>{Me[et.toLowerCase()]=Ne})}function yn(Ce){const Ne=Cr(Ce);return Ne&&!Ne.disableAutodetect}function Pr(Ce){Ce["before:highlightBlock"]&&!Ce["before:highlightElement"]&&(Ce["before:highlightElement"]=Ne=>{Ce["before:highlightBlock"](Object.assign({block:Ne.el},Ne))}),Ce["after:highlightBlock"]&&!Ce["after:highlightElement"]&&(Ce["after:highlightElement"]=Ne=>{Ce["after:highlightBlock"](Object.assign({block:Ne.el},Ne))})}function Ye(Ce){Pr(Ce),nt.push(Ce)}function te(Ce,Ne){const et=Ce;nt.forEach(function(vt){vt[et]&&vt[et](Ne)})}function Pe(Ce){return me("10.2.0","fixMarkup will be removed entirely in v11.0"),me("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),di(Ce)}function Ve(Ce){return me("10.7.0","highlightBlock will be removed entirely in v12.0"),me("10.7.0","Please use highlightElement now."),vr(Ce)}Object.assign(ue,{highlight:mt,highlightAuto:Vs,highlightAll:ur,fixMarkup:Pe,highlightElement:vr,highlightBlock:Ve,configure:No,initHighlighting:gi,initHighlightingOnLoad:yi,registerLanguage:nn,unregisterLanguage:Ki,listLanguages:wt,getLanguage:Cr,registerAliases:rs,requireLanguage:zs,autoDetection:yn,inherit:ot,addPlugin:Ye,vuePlugin:he(ue).VuePlugin}),ue.debugMode=function(){Et=!1},ue.safeMode=function(){Et=!0},ue.versionString=Q;for(const Ce in fe)typeof fe[Ce]=="object"&&t(fe[Ce]);return Object.assign(ue,fe),ue.addPlugin(mi),ue.addPlugin($e),ue.addPlugin($r),ue}({});return O1=dt,O1}var C1={exports:{}},O$;function $fe(){return O$||(O$=1,(function(e){(function(){var t;t=e.exports=s,t.format=s,t.vsprintf=n,typeof console<"u"&&typeof console.log=="function"&&(t.printf=r);function r(){console.log(s.apply(null,arguments))}function n(i,o){return s.apply(null,[i].concat(o))}function s(i){for(var o=1,a=[].slice.call(arguments),c=0,u=i.length,l="",f,d=!1,h,g,v=!1,y,E=function(){return a[o++]},b=function(){for(var S="";/\d/.test(i[c]);)S+=i[c++],f=i[c];return S.length>0?parseInt(S):null};c<u;++c)if(f=i[c],d)switch(d=!1,f=="."?(v=!1,f=i[++c]):f=="0"&&i[c+1]=="."?(v=!0,c+=2,f=i[c]):v=!0,y=b(),f){case"b":l+=parseInt(E(),10).toString(2);break;case"c":h=E(),typeof h=="string"||h instanceof String?l+=h:l+=String.fromCharCode(parseInt(h,10));break;case"d":l+=parseInt(E(),10);break;case"f":g=String(parseFloat(E()).toFixed(y||6)),l+=v?g:g.replace(/^0/,"");break;case"j":l+=JSON.stringify(E());break;case"o":l+="0"+parseInt(E(),10).toString(8);break;case"s":l+=E();break;case"x":l+="0x"+parseInt(E(),10).toString(16);break;case"X":l+="0x"+parseInt(E(),10).toString(16).toUpperCase();break;default:l+=f;break}else f==="%"?d=!0:l+=f;return l}})()})(C1)),C1.exports}var R1,C$;function Ffe(){if(C$)return R1;C$=1;var e=$fe(),t=r(Error);R1=t,t.eval=r(EvalError),t.range=r(RangeError),t.reference=r(ReferenceError),t.syntax=r(SyntaxError),t.type=r(TypeError),t.uri=r(URIError),t.create=r;function r(n){return s.displayName=n.displayName||n.name,s;function s(i){return i&&(i=e.apply(null,arguments)),new n(i)}}return R1}var R$;function qfe(){if(R$)return Zi;R$=1;var e=Dfe(),t=Ffe();Zi.highlight=n,Zi.highlightAuto=s,Zi.registerLanguage=i,Zi.listLanguages=o,Zi.registerAlias=a,c.prototype.addText=f,c.prototype.addKeyword=u,c.prototype.addSublanguage=l,c.prototype.openNode=d,c.prototype.closeNode=h,c.prototype.closeAllNodes=v,c.prototype.finalize=v,c.prototype.toHTML=g;var r="hljs-";function n(y,E,b){var S=e.configure({}),_=b||{},x=_.prefix,A;
214if(typeof y!="string")throw t("Expected `string` for name, got `%s`",y);if(!e.getLanguage(y))throw t("Unknown language: `%s` is not registered",y);if(typeof E!="string")throw t("Expected `string` for value, got `%s`",E);if(x==null&&(x=r),e.configure({__emitter:c,classPrefix:x}),A=e.highlight(E,{language:y,ignoreIllegals:!0}),e.configure(S||{}),A.errorRaised)throw A.errorRaised;return{relevance:A.relevance,language:A.language,value:A.emitter.rootNode.children}}function s(y,E){var b=E||{},S=b.subset||e.listLanguages();b.prefix;var _=S.length,x=-1,A,O,I,R;if(typeof y!="string")throw t("Expected `string` for value, got `%s`",y);for(O={relevance:0,language:null,value:[]},A={relevance:0,language:null,value:[]};++x<_;)R=S[x],e.getLanguage(R)&&(I=n(R,y,E),I.language=R,I.relevance>O.relevance&&(O=I),I.relevance>A.relevance&&(O=A,A=I));return O.language&&(A.secondBest=O),A}function i(y,E){e.registerLanguage(y,E)}function o(){return e.listLanguages()}function a(y,E){var b=y,S;E&&(b={},b[y]=E);for(S in b)e.registerAliases(b[S],{languageName:S})}function c(y){this.options=y,this.rootNode={children:[]},this.stack=[this.rootNode]}function u(y,E){this.openNode(E),this.addText(y),this.closeNode()}function l(y,E){var b=this.stack,S=b[b.length-1],_=y.rootNode.children,x=E?{type:"element",tagName:"span",properties:{className:[E]},children:_}:_;S.children=S.children.concat(x)}function f(y){var E=this.stack,b,S;y!==""&&(b=E[E.length-1],S=b.children[b.children.length-1],S&&S.type==="text"?S.value+=y:b.children.push({type:"text",value:y}))}function d(y){var E=this.stack,b=this.options.classPrefix+y,S=E[E.length-1],_={type:"element",tagName:"span",properties:{className:[b]},children:[]};S.children.push(_),E.push(_)}function h(){this.stack.pop()}function g(){return""}function v(){}return Zi}var Bfe=qfe();const eU=ut(Bfe);var As=Mfe(eU,{});As.registerLanguage=eU.registerLanguage;var T1,T$;function Lfe(){if(T$)return T1;T$=1;const e="[A-Za-z$_][0-9A-Za-z$_]*",t=["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"],r=["true","false","null","undefined","NaN","Infinity"],n=["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"],s=["EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],i=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],o=["arguments","this","super","console","window","document","localStorage","module","global"],a=[].concat(i,o,n,s);function c(d){return d?typeof d=="string"?d:d.source:null}function u(d){return l("(?=",d,")")}function l(...d){return d.map(g=>c(g)).join("")}function f(d){const h=(J,{after:ee})=>{const ne="</"+J[0].slice(1);return J.input.indexOf(ne,ee)!==-1},g=e,v={begin:"<>",end:"</>"},y={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(J,ee)=>{const ne=J[0].length+J.index,re=J.input[ne];if(re==="<"){ee.ignoreMatch();return}re===">"&&(h(J,{after:ne})||ee.ignoreMatch())}},E={$pattern:e,keyword:t,literal:r,built_in:a},b="[0-9](_?[0-9])*",S=`\\.(${b})`,_="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",x={className:"number",variants:[{begin:`(\\b(${_})((${S})|\\.)?|(${S}))[eE][+-]?(${b})\\b`},{begin:`\\b(${_})\\b((${S})\\b|\\.)?|(${S})\\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},A={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},O={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,A],subLanguage:"xml"}},I={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[d.BACKSLASH_ESCAPE,A],subLanguage:"css"}},R={className:"string",begin:"`",end:"`",contains:[d.BACKSLASH_ESCAPE,A]},M={className:"comment",variants:[d.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0}
214,{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),d.C_BLOCK_COMMENT_MODE,d.C_LINE_COMMENT_MODE]},q=[d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,I,R,x,d.REGEXP_MODE];A.contains=q.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(q)});const N=[].concat(M,A.contains),U=N.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(N)}]),X={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:U};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:U},illegal:/#(?![$_A-z])/,contains:[d.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},d.APOS_STRING_MODE,d.QUOTE_STRING_MODE,O,I,R,M,x,{begin:l(/[{,\n]\s*/,u(l(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,g+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:g+u("\\s*:"),relevance:0}]},{begin:"("+d.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[M,d.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+d.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:d.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:U}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:v.begin,end:v.end},{begin:y.begin,"on:begin":y.isTrulyOpeningTag,end:y.end}],subLanguage:"xml",contains:[{begin:y.begin,end:y.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:E,contains:["self",d.inherit(d.TITLE_MODE,{begin:g}),X],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:d.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[X,d.inherit(d.TITLE_MODE,{begin:g})]},{variants:[{begin:"\\."+g},{begin:"\\$"+g}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},d.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[d.inherit(d.TITLE_MODE,{begin:g}),"self",X]},{begin:"(get|set)\\s+(?="+g+"\\()",end:/\{/,keywords:"get set",contains:[d.inherit(d.TITLE_MODE,{begin:g}),{begin:/\(\)/},X]},{begin:/\$[(.]/}]}}return T1=f,T1}var Ufe=Lfe();const I$=ut(Ufe);var I1,P$;function Vfe(){if(P$)return I1;P$=1;function e(t){const r={literal:"true false null"},n=[t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],s=[t.QUOTE_STRING_MODE,t.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:s,keywords:r},o={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE],illegal:"\\n"},t.inherit(i,{begin:/:/})].concat(n),illegal:"\\S"},a={begin:"\\[",end:"\\]",contains:[t.inherit(i)],illegal:"\\S"};return s.push(o,a),n.forEach(function(c){s.push(c)}),{name:"JSON",contains:s,keywords:r,illegal:"\\S"}}return I1=e,I1}var zfe=Vfe();const Wfe=ut(zfe);var P1,j$;function Jfe(){if(j$)return P1;j$=1;function e(o){return o?typeof o=="string"?o:o.source:null}function t(o){return n("(?=",o,")")}function r(o){return n("(",o,")?")}function n(...o){return o.map(c=>e(c)).join("")}function s(...o){return"("+o.map(c=>e(c)).join("|")+")"}function i(o){const a=n(/[A-Z_]/,r(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),c=/[A-Za-z0-9._:-]+/,u={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},l={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},f=o.inherit(l,{begin:/\(/,end:/\)/}),d=o.inherit(o.APOS_STRING_MODE,{className:"meta-string"}),h=o.inherit(o.QUOTE_STRING_MODE,{className:"meta-string"}),g={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:c,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[u]},{begin:/'/,end:/'/,contains:[u]},{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:[l,h,d,f,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[l,f,h,d]}]}]},o.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},u,{className:"meta",begin:/<\?xml/,end:/\?>/,relevance:10},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[g],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[g],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:n(/</,t(n(a,s(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:a,relevance:0,starts:g}]},{className:"tag",begin:n(/<\//,t(n(a,/>/))),contains:[{className:"name",begin:a,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return P1=i,P1}var Hfe=Jfe();const Kfe=ut(Hfe);var j1,k$;function Gfe(){if(k$)return j1;k$=1;function e(n){return n?typeof n=="string"?n:n.source:null}function t(...n){return n.map(i=>e(i)).join("")}function r(n){const s={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:t(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const o={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},a={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},c={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,s,o]};
214o.contains.push(c);const u={className:"",begin:/\\"/},l={className:"string",begin:/'/,end:/'/},f={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,s]},d=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],h=n.SHEBANG({binary:`(${d.join("|")})`,relevance:10}),g={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[n.inherit(n.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:[h,n.SHEBANG(),g,f,n.HASH_COMMENT_MODE,a,c,u,l,s]}}return j1=r,j1}var Yfe=Gfe();const Xfe=ut(Yfe);var k1,N$;function Zfe(){if(N$)return k1;N$=1;function e(t){var r="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},o={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,i]},a=t.inherit(o,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),c="[0-9]{4}(-[0-9][0-9]){0,2}",u="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",l="(\\.[0-9]*)?",f="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",d={className:"number",begin:"\\b"+c+u+l+f+"\\b"},h={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},g={begin:/\{/,end:/\}/,contains:[h],illegal:"\\n",relevance:0},v={begin:"\\[",end:"\\]",contains:[h],illegal:"\\n",relevance:0},y=[s,{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+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},d,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},g,v,o],E=[...y];return E.pop(),E.push(a),h.contains=E,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:y}}return k1=e,k1}var Qfe=Zfe();const epe=ut(Qfe);var N1,M$;function tpe(){if(M$)return N1;M$=1;function e(n){return n?typeof n=="string"?n:n.source:null}function t(...n){return n.map(i=>e(i)).join("")}function r(n){const s="HTTP/(2|1\\.[01])",o={className:"attribute",begin:t("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},a=[o,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+s+" \\d{3})",end:/$/,contains:[{className:"meta",begin:s},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:a}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}
214],starts:{end:/\b\B/,illegal:/\S/,contains:a}},n.inherit(o,{relevance:0})]}}return N1=r,N1}var rpe=tpe();const npe=ut(rpe);var M1,D$;function spe(){if(D$)return M1;D$=1;function e(t){const r=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],n="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",s="-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",i={$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"},o=/\w[\w\d]*((-)[\w\d]+)*/,a={begin:"`[\\s\\S]",relevance:0},c={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},u={className:"literal",begin:/\$(null|true|false)\b/},l={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[a,c,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},f={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},d={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},h=t.inherit(t.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[d]}),g={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},v={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[t.TITLE_MODE]},y={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:o,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[c]}]},E={begin:/using\s/,end:/$/,returnBegin:!0,contains:[l,f,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},b={variants:[{className:"operator",begin:"(".concat(s,")\\b")},{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},S={className:"selector-tag",begin:/@\B/,relevance:0},_={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(i.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},t.inherit(t.TITLE_MODE,{endsParent:!0})]},x=[_,h,a,t.NUMBER_MODE,l,f,g,c,u,S],A={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",x,{begin:"("+r.join("|")+")",className:"built_in",relevance:0}
214,{className:"type",begin:/[\.\w\d]+/,relevance:0})};return _.contains.unshift(A),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:i,contains:x.concat(v,y,E,b,A)}}return M1=e,M1}var ipe=spe();const ope=ut(ipe),tU={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"}},ape={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"}},cpe={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"}},upe={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"}},lpe={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"}},fpe={"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"}},ppe={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"}};var D1,$$;function hpe(){return $$||($$=1,D1=function(e,t,r,n){var s=typeof n<"u"?[n,e]:[e],i=new Blob(s,{type:r||"application/octet-stream"});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(i,t);else{var o=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(i):window.webkitURL.createObjectURL(i),a=document.createElement("a");a.style.display="none",a.href=o,a.setAttribute("download",t),typeof a.download>"u"&&a.setAttribute("target","_blank"),document.body.appendChild(a),a.click(),setTimeout(function(){document.body.removeChild(a),window.URL.revokeObjectURL(o)},200)}}),D1}var dpe=hpe();const mpe=ut(dpe);var $1,F$;function gpe(){if(F$)return $1;F$=1;function e(t,r,n){for(var s=-1,i=t.length,o=r.length,a={};++s<i;){var c=s<o?r[s]:void 0;
214n(a,t[s],c)}return a}return $1=e,$1}var F1,q$;function ype(){if(q$)return F1;q$=1;var e=Rp(),t=gpe();function r(n,s){return t(n||[],s||[],e)}return F1=r,F1}var vpe=ype();const bpe=ut(vpe);var Epe=ii();const Spe=ut(Epe);/*! 215 * repeat-string <https://github.com/jonschlinkert/repeat-string> 216 * 217 * Copyright (c) 2014-2015, Jon Schlinkert. 218 * Licensed under the MIT License. 219 */var q1,B$;function _pe(){if(B$)return q1;B$=1;var e="",t;q1=r;function r(n,s){if(typeof n!="string")throw new TypeError("expected a string");if(s===1)return n;if(s===2)return n+n;var i=n.length*s;if(t!==n||typeof t>"u")t=n,e="";else if(e.length>=i)return e.substr(0,i);for(;i>e.length&&s>1;)s&1&&(e+=n),s>>=1,n+=n;return e+=n,e=e.substr(0,i),e}return q1}var B1,L$;function wpe(){if(L$)return B1;L$=1;var e=_pe(),t=function(u){return u.split(/(<\/?[^>]+>)/g).filter(function(l){return l.trim()!==""})},r=function(u){return/<[^>!]+>/.test(u)},n=function(u){return/<\/+[^>]+>/.test(u)},s=function(u){return/<[^>]+\/>/.test(u)},i=function(u){return r(u)&&!n(u)&&!s(u)};B1=function(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},l=u.indentor,f=u.textNodesOnSameLine,d=0,h=[];l=l||" ";var g=o(c).map(function(v,y,E){var b=v.value,S=v.type;S==="ClosingTag"&&d--;var _=e(l,d),x=_+b;if(S==="OpeningTag"&&d++,f){var A=E[y-1],O=E[y-2];S==="ClosingTag"&&A.type==="Text"&&O.type==="OpeningTag"&&(x=""+_+O.value+A.value+b,h.push(y-2,y-1))}return x});return h.forEach(function(v){return g[v]=null}),g.filter(function(v){return!!v}).join(` 220`)};function o(c){var u=t(c);return u.map(function(l){return{value:l,type:a(l)}})}function a(c){return n(c)?"ClosingTag":i(c)?"OpeningTag":s(c)?"SelfClosingTag":"Text"}return B1}var xpe=wpe();const Ape=ut(xpe);var L1,U$;function Ope(){if(U$)return L1;U$=1;var e=ii();function t(r){return e(r).toLowerCase()}return L1=t,L1}var Cpe=Ope();const V$=ut(Cpe);var Il;function rU(e){return Il=Il||document.createElement("textarea"),Il.innerHTML="&"+e+";",Il.value}var Rpe=Object.prototype.hasOwnProperty;function Tpe(e,t){return e?Rpe.call(e,t):!1}function nU(e){var t=[].slice.call(arguments,1);return t.forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(n){e[n]=r[n]})}}),e}var Ipe=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Cc(e){return e.indexOf("\\")<0?e:e.replace(Ipe,"$1")}function sU(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Dw(e){if(e>65535){e-=65536;var t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var Ppe=/&([a-z#][a-z0-9]{1,31});/gi,jpe=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function kpe(e,t){var r=0,n=rU(t);return t!==n?n:t.charCodeAt(0)===35&&jpe.test(t)&&(r=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10),sU(r))?Dw(r):e}function vo(e){return e.indexOf("&")<0?e:e.replace(Ppe,kpe)}var Npe=/[&<>"]/,Mpe=/[&<>"]/g,Dpe={"&":"&","<":"<",">":">",'"':"""};function $pe(e){return Dpe[e]}function _n(e){return Npe.test(e)?e.replace(Mpe,$pe):e}var Ze={};Ze.blockquote_open=function(){return`<blockquote> 221`};Ze.blockquote_close=function(e,t){return"</blockquote>"+Ro(e,t)};Ze.code=function(e,t){return e[t].block?"<pre><code>"+_n(e[t].content)+"</code></pre>"+Ro(e,t):"<code>"+_n(e[t].content)+"</code>"};Ze.fence=function(e,t,r,n,s){var i=e[t],o="",a=r.langPrefix,c="",u,l,f;if(i.params){if(u=i.params.split(/\s+/g),l=u.join(" "),Tpe(s.rules.fence_custom,u[0]))return s.rules.fence_custom[u[0]](e,t,r,n,s);c=_n(vo(Cc(l))),o=' class="'+a+c+'"'}return r.highlight?f=r.highlight.apply(r.highlight,[i.content].concat(u))||_n(i.content):f=_n(i.content),"<pre><code"+o+">"+f+"</code></pre>"+Ro(e,t)};Ze.fence_custom={};Ze.heading_open=function(e,t){return"<h"+e[t].hLevel+">"};Ze.heading_close=function(e,t){return"</h"+e[t].hLevel+`> 222`};Ze.hr=function(e,t,r){return(r.xhtmlOut?"<hr />":"<hr>")+Ro(e,t)};Ze.bullet_list_open=function(){return`<ul> 223`};Ze.bullet_list_close=function(e,t){return"</ul>"+Ro(e,t)};Ze.list_item_open=function(){return"<li>"};Ze.list_item_close=function(){return`</li> 224`};Ze.ordered_list_open=function(e,t){var r=e[t],n=r.order>1?' start="'+r.order+'"':"";return"<ol"+n+`> 225`};Ze.ordered_list_close=function(e,t){return"</ol>"+Ro(e,t)};Ze.paragraph_open=function(e,t){return e[t].tight?"":"<p>"};Ze.paragraph_close=function(e,t){var r=!(e[t].tight&&t&&e[t-1].type==="inline"&&!e[t-1].content);return(e[t].tight?"":"</p>")+(r?Ro(e,t):"")};Ze.link_open=function(e,t,r){var n=e[t].title?' title="'+_n(vo(e[t].title))+'"':"",s=r.linkTarget?' target="'+r.linkTarget+'"':"";return'<a href="'+_n(e[t].href)+'"'+n+s+">"};Ze.link_close=function(){return"</a>"};Ze.image=function(e,t,r){var n=' src="'+_n(e[t].src)+'"',s=e[t].title?' title="'+_n(vo(e[t].title))+'"':"",i=' alt="'+(e[t].alt?_n(vo(Cc(e[t].alt))):"")+'"',o=r.xhtmlOut?" /":"";return"<img"+n+i+s+o+">"};Ze.table_open=function(){return`<table> 226`};Ze.table_close=function(){return`</table> 227`};Ze.thead_open=function(){return`<thead> 228`};Ze.thead_close=function(){return`</thead> 229`};Ze.tbody_open=function(){return`<tbody> 230`};Ze.tbody_close=function(){return`</tbody> 231`};Ze.tr_open=function(){return"<tr>"};Ze.tr_close=function(){return`</tr> 232`};Ze.th_open=function(e,t){var r=e[t];return"<th"+(r.align?' style="text-align:'+r.align+'"':"")+">"};Ze.th_close=function(){return"</th>"};Ze.td_open=function(e,t){var r=e[t];return"<td"+(r.align?' style="text-align:'+r.align+'"':"")+">"};Ze.td_close=function(){return"</td>"};Ze.strong_open=function(){return"<strong>"};Ze.strong_close=function(){return"</strong>"};Ze.em_open=function(){return"<em>"};Ze.em_close=function(){return"</em>"};Ze.del_open=function(){return"<del>"};Ze.del_close=function(){return"</del>"};Ze.ins_open=function(){return"<ins>"};Ze.ins_close=function(){return"</ins>"};Ze.mark_open=function(){return"<mark>"};Ze.mark_close=function(){return"</mark>"};Ze.sub=function(e,t){return"<sub>"+_n(e[t].content)+"</sub>"};Ze.sup=function(e,t){return"<sup>"+_n(e[t].content)+"</sup>"};Ze.hardbreak=function(e,t,r){return r.xhtmlOut?`<br /> 233`:`<br> 234`};Ze.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?`<br /> 235`:`<br> 236`:` 237`};Ze.text=function(e,t){return _n(e[t].content)};Ze.htmlblock=function(e,t){return e[t].content};Ze.htmltag=function(e,t){return e[t].content};Ze.abbr_open=function(e,t){return'<abbr title="'+_n(vo(e[t].title))+'">'};Ze.abbr_close=function(){return"</abbr>"};Ze.footnote_ref=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r;return e[t].subId>0&&(n+=":"+e[t].subId),'<sup class="footnote-ref"><a href="#fn'+r+'" id="'+n+'">['+r+"]</a></sup>"};Ze.footnote_block_open=function(e,t,r){var n=r.xhtmlOut?`<hr class="footnotes-sep" /> 238`:`<hr class="footnotes-sep"> 239`;return n+`<section class="footnotes"> 240<ol class="footnotes-list"> 241`};Ze.footnote_block_close=function(){return`</ol> 242</section> 243`};Ze.footnote_open=function(e,t){var r=Number(e[t].id+1).toString();return'<li id="fn'+r+'" class="footnote-item">'};Ze.footnote_close=function(){return`</li> 244`};Ze.footnote_anchor=function(e,t){var r=Number(e[t].id+1).toString(),n="fnref"+r;return e[t].subId>0&&(n+=":"+e[t].subId),' <a href="#'+n+'" class="footnote-backref">â©</a>'};Ze.dl_open=function(){return`<dl> 245`};Ze.dt_open=function(){return"<dt>"};Ze.dd_open=function(){return"<dd>"};Ze.dl_close=function(){return`</dl> 246`};Ze.dt_close=function(){return`</dt> 247`};Ze.dd_close=function(){return`</dd> 248`};function iU(e,t){return++t>=e.length-2?t:e[t].type==="paragraph_open"&&e[t].tight&&e[t+1].type==="inline"&&e[t+1].content.length===0&&e[t+2].type==="paragraph_close"&&e[t+2].tight?iU(e,t+2):t}var Ro=Ze.getBreak=function(t,r){return r=iU(t,r),r<t.length&&t[r].type==="list_item_close"?"":` 249`};function k2(){this.rules=nU({},Ze),this.getBreak=Ze.getBreak}k2.prototype.renderInline=function(e,t,r){for(var n=this.rules,s=e.length,i=0,o="";s--;)o+=n[e[i].type](e,i++,t,r,this);return o};k2.prototype.render=function(e,t,r){for(var n=this.rules,s=e.length,i=-1,o="";++i<s;)e[i].type==="inline"?o+=this.renderInline(e[i].children,t,r):o+=n[e[i].type](e,i,t,r,this);return o};function $n(){this.__rules__=[],this.__cache__=null}$n.prototype.__find__=function(e){for(var t=this.__rules__.length,r=-1;t--;)if(this.__rules__[++r].name===e)return r;return-1};$n.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){t.indexOf(n)<0&&t.push(n)})}),e.__cache__={},t.forEach(function(r){e.__cache__[r]=[],e.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||e.__cache__[r].push(n.fn))})})};$n.prototype.at=function(e,t,r){var n=this.__find__(e),s=r||{};if(n===-1)throw new Error("Parser rule not found: "+e);this.__rules__[n].fn=t,this.__rules__[n].alt=s.alt||[],this.__cache__=null};$n.prototype.before=function(e,t,r,n){var s=this.__find__(e),i=n||{};if(s===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(s,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};$n.prototype.after=function(e,t,r,n){var s=this.__find__(e),i=n||{};if(s===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(s+1,0,{name:t,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};$n.prototype.push=function(e,t,r){var n=r||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null};$n.prototype.enable=function(e,t){e=Array.isArray(e)?e:[e],t&&this.__rules__.forEach(function(r){r.enabled=!1}),e.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};$n.prototype.disable=function(e){e=Array.isArray(e)?e:[e],e.forEach(function(t){var r=this.__find__(t);if(r<0)throw new Error("Rules manager: invalid rule name "+t);this.__rules__[r].enabled=!1},this),this.__cache__=null};$n.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};function Fpe(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)}function To(e,t,r,n,s){this.src=e,this.env=n,this.options=r,this.parser=t,this.tokens=s,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}To.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""};To.prototype.push=function(e){this.pending&&this.pushPending(),this.tokens.push(e),this.pendingLevel=this.level};To.prototype.cacheSet=function(e,t){for(var r=this.cache.length;r<=e;r++)this.cache.push(0);this.cache[e]=t};To.prototype.cacheGet=function(e){return e<this.cache.length?this.cache[e]:0};function Rc(e,t){var r,n,s,i=-1,o=e.posMax,a=e.pos,c=e.isInLabel;if(e.isInLabel)return-1;if(e.labelUnmatchedScopes)return e.labelUnmatchedScopes--,-1;for(e.pos=t+1,e.isInLabel=!0,r=1;e.pos<o;
249){if(s=e.src.charCodeAt(e.pos),s===91)r++;else if(s===93&&(r--,r===0)){n=!0;break}e.parser.skipToken(e)}return n?(i=e.pos,e.labelUnmatchedScopes=0):e.labelUnmatchedScopes=r-1,e.pos=a,e.isInLabel=c,i}function qpe(e,t,r,n){var s,i,o,a,c,u;if(e.charCodeAt(0)!==42||e.charCodeAt(1)!==91||e.indexOf("]:")===-1||(s=new To(e,t,r,n,[]),i=Rc(s,1),i<0||e.charCodeAt(i+1)!==58))return-1;for(a=s.posMax,o=i+2;o<a&&s.src.charCodeAt(o)!==10;o++);return c=e.slice(2,i),u=e.slice(i+2,o).trim(),u.length===0?-1:(n.abbreviations||(n.abbreviations={}),typeof n.abbreviations[":"+c]>"u"&&(n.abbreviations[":"+c]=u),o)}function Bpe(e){var t=e.tokens,r,n,s,i;if(!e.inlineMode){for(r=1,n=t.length-1;r<n;r++)if(t[r-1].type==="paragraph_open"&&t[r].type==="inline"&&t[r+1].type==="paragraph_close"){for(s=t[r].content;s.length&&(i=qpe(s,e.inline,e.options,e.env),!(i<0));)s=s.slice(i).trim();t[r].content=s,s.length||(t[r-1].tight=!0,t[r+1].tight=!0)}}}function $w(e){var t=vo(e);try{t=decodeURI(t)}catch{}return encodeURI(t)}function oU(e,t){var r,n,s,i=t,o=e.posMax;if(e.src.charCodeAt(t)===60){for(t++;t<o;){if(r=e.src.charCodeAt(t),r===10)return!1;if(r===62)return s=$w(Cc(e.src.slice(i+1,t))),e.parser.validateLink(s)?(e.pos=t+1,e.linkContent=s,!0):!1;if(r===92&&t+1<o){t+=2;continue}t++}return!1}for(n=0;t<o&&(r=e.src.charCodeAt(t),!(r===32||r<32||r===127));){if(r===92&&t+1<o){t+=2;continue}if(r===40&&(n++,n>1)||r===41&&(n--,n<0))break;t++}return i===t||(s=Cc(e.src.slice(i,t)),!e.parser.validateLink(s))?!1:(e.linkContent=s,e.pos=t,!0)}function aU(e,t){var r,n=t,s=e.posMax,i=e.src.charCodeAt(t);if(i!==34&&i!==39&&i!==40)return!1;for(t++,i===40&&(i=41);t<s;){if(r=e.src.charCodeAt(t),r===i)return e.pos=t+1,e.linkContent=Cc(e.src.slice(n+1,t)),!0;if(r===92&&t+1<s){t+=2;continue}t++}return!1}function cU(e){return e.trim().replace(/\s+/g," ").toUpperCase()}function Lpe(e,t,r,n){var s,i,o,a,c,u,l,f,d;if(e.charCodeAt(0)!==91||e.indexOf("]:")===-1||(s=new To(e,t,r,n,[]),i=Rc(s,0),i<0||e.charCodeAt(i+1)!==58))return-1;for(a=s.posMax,o=i+2;o<a&&(c=s.src.charCodeAt(o),!(c!==32&&c!==10));o++);if(!oU(s,o))return-1;for(l=s.linkContent,o=s.pos,u=o,o=o+1;o<a&&(c=s.src.charCodeAt(o),!(c!==32&&c!==10));o++);for(o<a&&u!==o&&aU(s,o)?(f=s.linkContent,o=s.pos):(f="",o=u);o<a&&s.src.charCodeAt(o)===32;)o++;return o<a&&s.src.charCodeAt(o)!==10?-1:(d=cU(e.slice(1,i)),typeof n.references[d]>"u"&&(n.references[d]={title:f,href:l}),o)}function Upe(e){var t=e.tokens,r,n,s,i;if(e.env.references=e.env.references||{},!e.inlineMode){for(r=1,n=t.length-1;r<n;r++)if(t[r].type==="inline"&&t[r-1].type==="paragraph_open"&&t[r+1].type==="paragraph_close"){for(s=t[r].content;s.length&&(i=Lpe(s,e.inline,e.options,e.env),!(i<0));)s=s.slice(i).trim();t[r].content=s,s.length||(t[r-1].tight=!0,t[r+1].tight=!0)}}}function Vpe(e){var t=e.tokens,r,n,s;for(n=0,s=t.length;n<s;n++)r=t[n],r.type==="inline"&&e.inline.parse(r.content,e.options,e.env,r.children)}function zpe(e){var t,r,n,s,i,o,a,c,u,l=0,f=!1,d={};if(e.env.footnotes&&(e.tokens=e.tokens.filter(function(h){return h.type==="footnote_reference_open"?(f=!0,c=[],u=h.label,!1):h.type==="footnote_reference_close"?(f=!1,d[":"+u]=c,!1):(f&&c.push(h),!f)}),!!e.env.footnotes.list)){for(o=e.env.footnotes.list,e.tokens.push({type:"footnote_block_open",level:l++}),t=0,r=o.length;t<r;t++){for(e.tokens.push({type:"footnote_open",id:t,level:l++}),o[t].tokens?(a=[],a.push({type:"paragraph_open",tight:!1,level:l++}),a.push({type:"inline",content:"",level:l,children:o[t].tokens}),a.push({type:"paragraph_close",tight:!1,level:--l})):o[t].label&&(a=d[":"+o[t].label]),e.tokens=e.tokens.concat(a),e.tokens[e.tokens.length-1].type==="paragraph_close"?i=e.tokens.pop():i=null,s=o[t].count>0?o[t].count:1,n=0;n<s;n++)e.tokens.push({type:"footnote_anchor",id:t,subId:n,level:l});i&&e.tokens.push(i),e.tokens.push({type:"footnote_close",level:--l})}e.tokens.push({type:"footnote_block_close",level:--l})}}var z$=` 250()[]'".,!?-`;function U1(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}function Wpe(e){var t,r,n,s,i,o,a,c,u,l,f,d,h=e.tokens;if(e.env.abbreviations){for(e.env.abbrRegExp||(d="(^|["+z$.split("").map(U1).join("")+"])("+Object.keys(e.env.abbreviations).map(function(g){return g.substr(1)}).sort(function(g,v){return v.length-g.length}).map(U1).join("|")+")($|["+z$.split("").map(U1).join("")+"])",e.env.abbrRegExp=new RegExp(d,"g")),l=e.env.abbrRegExp,r=0,n=h.length;r<n;r++)if(h[r].type==="inline"){for(s=h[r].children,t=s.length-1;t>=0;t--)if(i=s[t],i.type==="text"){for(c=0,o=i.content,l.lastIndex=0,u=i.level,a=[];f=l.exec(o);)l.lastIndex>c&&a.push({type:"text",content:o.slice(c,f.index+f[1].length),level:u}),a.push({type:"abbr_open",title:e.env.abbreviations[":"+f[2]],level:u++}),a.push({type:"text",content:f[2],level:u}),a.push({type:"abbr_close",level:--u}),c=l.lastIndex-f[3].length;a.length&&(c<o.length&&a.push({type:"text",content:o.slice(c),level:u}),h[r].children=s=[].concat(s.slice(0,t),a,s.slice(t+1)))}}}}var Jpe=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Hpe=/\((c|tm|r|p)\)/ig,Kpe={c:"©",r:"®",p:"§",tm:"â¢"};function Gpe(e){return e.indexOf("(")<0?e:e.replace(Hpe,function(t,r){return Kpe[r.toLowerCase()]})}function Ype(e){var t,r,n,s,i;if(e.options.typographer){for(i=e.tokens.length-1;i>=0;i--)if(e.tokens[i].type==="inline")for(s=e.tokens[i].children,t=s.length-1;t>=0;t--)r=s[t],r.type==="text"&&(n=r.content,n=Gpe(n),Jpe.test(n)&&(n=n.replace(/\+-/g,"±").replace(/\.{2,}/g,"â¦").replace(/([?!])â¦/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1â$2").replace(/(^|\s)--(\s|$)/mg,"$1â$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1â$2")),r.content=n)}}var Xpe=/['"]/,W$=/['"]/g,Zpe=/[-\s()\[\]]/,J$="â";function H$(e,t){return t<0||t>=e.length?!1:!Zpe.test(e[t])}function Wo(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Qpe(e){var t,r,n,s,i,o,a,c,u,l,f,d,h,g,v,y,E;if(e.options.typographer){for(E=[],v=e.tokens.length-1;v>=0;v--)if(e.tokens[v].type==="inline"){for(y=e.tokens[v].children,E.length=0,t=0;t<y.length;t++)if(r=y[t],!(r.type!=="text"||Xpe.test(r.text))){for(a=y[t].level,h=E.length-1;h>=0&&!(E[h].level<=a);h--);E.length=h+1,n=r.content,i=0,o=n.length;e:for(;i<o&&(W$.lastIndex=i,s=W$.exec(n),!!s);){if(c=!H$(n,s.index-1),i=s.index+1,g=s[0]==="'",u=!H$(n,i),!u&&!c){g&&(r.content=Wo(r.content,s.index,J$));continue}if(f=!u,d=!c,d){for(h=E.length-1;h>=0&&(l=E[h],!(E[h].level<a));h--)if(l.single===g&&E[h].level===a){l=E[h],g?(y[l.token].content=Wo(y[l.token].content,l.pos,e.options.quotes[2]),r.content=Wo(r.content,s.index,e.options.quotes[3])):(y[l.token].content=Wo(y[l.token].content,l.pos,e.options.quotes[0]),r.content=Wo(r.content,s.index,e.options.quotes[1])),E.length=h;continue e}}f?E.push({token:t,pos:s.index,single:g,level:a}):d&&g&&(r.content=Wo(r.content,s.index,J$))}}}}}var V1=[["block",Fpe],["abbr",Bpe],["references",Upe],["inline",Vpe],["footnote_tail",zpe],["abbr2",Wpe],["replacements",Ype],["smartquotes",Qpe]];function uU(){this.options={},this.ruler=new $n;for(var e=0;e<V1.length;e++)this.ruler.push(V1[e][0],V1[e][1])}uU.prototype.process=function(e){var t,r,n;for(n=this.ruler.getRules(""),t=0,r=n.length;t<r;t++)n[t](e)};function Io(e,t,r,n,s){var i,o,a,c,u,l,f;for(this.src=e,this.parser=t,this.options=r,this.env=n,this.tokens=s,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="",o=this.src,l=0,f=!1,a=c=l=0,u=o.length;c<u;
250c++){if(i=o.charCodeAt(c),!f)if(i===32){l++;continue}else f=!0;(i===10||c===u-1)&&(i!==10&&c++,this.bMarks.push(a),this.eMarks.push(c),this.tShift.push(l),f=!1,l=0,a=c+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}Io.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Io.prototype.skipEmptyLines=function(t){for(var r=this.lineMax;t<r&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Io.prototype.skipSpaces=function(t){for(var r=this.src.length;t<r&&this.src.charCodeAt(t)===32;t++);return t};Io.prototype.skipChars=function(t,r){for(var n=this.src.length;t<n&&this.src.charCodeAt(t)===r;t++);return t};Io.prototype.skipCharsBack=function(t,r,n){if(t<=n)return t;for(;t>n;)if(r!==this.src.charCodeAt(--t))return t+1;return t};Io.prototype.getLines=function(t,r,n,s){var i,o,a,c,u,l=t;if(t>=r)return"";if(l+1===r)return o=this.bMarks[l]+Math.min(this.tShift[l],n),a=s?this.eMarks[l]+1:this.eMarks[l],this.src.slice(o,a);for(c=new Array(r-t),i=0;l<r;l++,i++)u=this.tShift[l],u>n&&(u=n),u<0&&(u=0),o=this.bMarks[l]+u,l+1<r||s?a=this.eMarks[l]+1:a=this.eMarks[l],c[i]=this.src.slice(o,a);return c.join("")};function ehe(e,t,r){var n,s;if(e.tShift[t]-e.blkIndent<4)return!1;for(s=n=t+1;n<r;){if(e.isEmpty(n)){n++;continue}if(e.tShift[n]-e.blkIndent>=4){n++,s=n;continue}break}return e.line=n,e.tokens.push({type:"code",content:e.getLines(t,s,4+e.blkIndent,!0),block:!0,lines:[t,e.line],level:e.level}),!0}function the(e,t,r,n){var s,i,o,a,c,u=!1,l=e.bMarks[t]+e.tShift[t],f=e.eMarks[t];if(l+3>f||(s=e.src.charCodeAt(l),s!==126&&s!==96)||(c=l,l=e.skipChars(l,s),i=l-c,i<3)||(o=e.src.slice(l,f).trim(),o.indexOf("`")>=0))return!1;if(n)return!0;for(a=t;a++,!(a>=r||(l=c=e.bMarks[a]+e.tShift[a],f=e.eMarks[a],l<f&&e.tShift[a]<e.blkIndent));)if(e.src.charCodeAt(l)===s&&!(e.tShift[a]-e.blkIndent>=4)&&(l=e.skipChars(l,s),!(l-c<i)&&(l=e.skipSpaces(l),!(l<f)))){u=!0;break}return i=e.tShift[t],e.line=a+(u?1:0),e.tokens.push({type:"fence",params:o,content:e.getLines(t+1,a,i,!0),lines:[t,e.line],level:e.level}),!0}function rhe(e,t,r,n){var s,i,o,a,c,u,l,f,d,h,g,v=e.bMarks[t]+e.tShift[t],y=e.eMarks[t];if(v>y||e.src.charCodeAt(v++)!==62||e.level>=e.options.maxNesting)return!1;if(n)return!0;for(e.src.charCodeAt(v)===32&&v++,c=e.blkIndent,e.blkIndent=0,a=[e.bMarks[t]],e.bMarks[t]=v,v=v<y?e.skipSpaces(v):v,i=v>=y,o=[e.tShift[t]],e.tShift[t]=v-e.bMarks[t],f=e.parser.ruler.getRules("blockquote"),s=t+1;s<r&&(v=e.bMarks[s]+e.tShift[s],y=e.eMarks[s],!(v>=y));s++){if(e.src.charCodeAt(v++)===62){e.src.charCodeAt(v)===32&&v++,a.push(e.bMarks[s]),e.bMarks[s]=v,v=v<y?e.skipSpaces(v):v,i=v>=y,o.push(e.tShift[s]),e.tShift[s]=v-e.bMarks[s];continue}if(i)break;for(g=!1,d=0,h=f.length;d<h;d++)if(f[d](e,s,r,!0)){g=!0;break}if(g)break;a.push(e.bMarks[s]),o.push(e.tShift[s]),e.tShift[s]=-1337}for(u=e.parentType,e.parentType="blockquote",e.tokens.push({type:"blockquote_open",lines:l=[t,0],level:e.level++}),e.parser.tokenize(e,t,s),e.tokens.push({type:"blockquote_close",level:--e.level}),e.parentType=u,l[1]=e.line,d=0;d<o.length;d++)e.bMarks[d+t]=a[d],e.tShift[d+t]=o[d];return e.blkIndent=c,!0}function nhe(e,t,r,n){var s,i,o,a=e.bMarks[t],c=e.eMarks[t];if(a+=e.tShift[t],a>c||(s=e.src.charCodeAt(a++),s!==42&&s!==45&&s!==95))return!1;for(i=1;a<c;){if(o=e.src.charCodeAt(a++),o!==s&&o!==32)return!1;o===s&&i++}return i<3?!1:(n||(e.line=t+1,e.tokens.push({type:"hr",lines:[t,e.line],level:e.level})),!0)}function K$(e,t){var r,n,s;return n=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],n>=s||(r=e.src.charCodeAt(n++),r!==42&&r!==45&&r!==43)||n<s&&e.src.charCodeAt(n)!==32?-1:n}function G$(e,t){var r,n=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(n+1>=s||(r=e.src.charCodeAt(n++),r<48||r>57))return-1;for(;;){if(n>=s)return-1;if(r=e.src.charCodeAt(n++),!(r>=48&&r<=57)){if(r===41||r===46)break;return-1}}return n<s&&e.src.charCodeAt(n)!==32?-1:n}function she(e,t){var r,n,s=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===s&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].tight=!0,e.tokens[r].tight=!0,r+=2)}function ihe(e,t,r,n){var s,i,o,a,c,u,l,f,d,h,g,v,y,E,b,S,_,x,A=!0,O,I,R,$;if((f=G$(e,t))>=0)y=!0;else if((f=K$(e,t))>=0)y=!1;else return!1;if(e.level>=e.options.maxNesting)return!1;
250if(v=e.src.charCodeAt(f-1),n)return!0;for(b=e.tokens.length,y?(l=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(l,f-l-1)),e.tokens.push({type:"ordered_list_open",order:g,lines:_=[t,0],level:e.level++})):e.tokens.push({type:"bullet_list_open",lines:_=[t,0],level:e.level++}),s=t,S=!1,O=e.parser.ruler.getRules("list");s<r&&(E=e.skipSpaces(f),d=e.eMarks[s],E>=d?h=1:h=E-f,h>4&&(h=1),h<1&&(h=1),i=f-e.bMarks[s]+h,e.tokens.push({type:"list_item_open",lines:x=[t,0],level:e.level++}),a=e.blkIndent,c=e.tight,o=e.tShift[t],u=e.parentType,e.tShift[t]=E-e.bMarks[t],e.blkIndent=i,e.tight=!0,e.parentType="list",e.parser.tokenize(e,t,r,!0),(!e.tight||S)&&(A=!1),S=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=a,e.tShift[t]=o,e.tight=c,e.parentType=u,e.tokens.push({type:"list_item_close",level:--e.level}),s=t=e.line,x[1]=s,E=e.bMarks[t],!(s>=r||e.isEmpty(s)||e.tShift[s]<e.blkIndent));){for($=!1,I=0,R=O.length;I<R;I++)if(O[I](e,s,r,!0)){$=!0;break}if($)break;if(y){if(f=G$(e,s),f<0)break}else if(f=K$(e,s),f<0)break;if(v!==e.src.charCodeAt(f-1))break}return e.tokens.push({type:y?"ordered_list_close":"bullet_list_close",level:--e.level}),_[1]=s,e.line=s,A&&she(e,b),!0}function ohe(e,t,r,n){var s,i,o,a,c,u=e.bMarks[t]+e.tShift[t],l=e.eMarks[t];if(u+4>l||e.src.charCodeAt(u)!==91||e.src.charCodeAt(u+1)!==94||e.level>=e.options.maxNesting)return!1;for(a=u+2;a<l;a++){if(e.src.charCodeAt(a)===32)return!1;if(e.src.charCodeAt(a)===93)break}return a===u+2||a+1>=l||e.src.charCodeAt(++a)!==58?!1:(n||(a++,e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.refs||(e.env.footnotes.refs={}),c=e.src.slice(u+2,a-2),e.env.footnotes.refs[":"+c]=-1,e.tokens.push({type:"footnote_reference_open",label:c,level:e.level++}),s=e.bMarks[t],i=e.tShift[t],o=e.parentType,e.tShift[t]=e.skipSpaces(a)-a,e.bMarks[t]=a,e.blkIndent+=4,e.parentType="footnote",e.tShift[t]<e.blkIndent&&(e.tShift[t]+=e.blkIndent,e.bMarks[t]-=e.blkIndent),e.parser.tokenize(e,t,r,!0),e.parentType=o,e.blkIndent-=4,e.tShift[t]=i,e.bMarks[t]=s,e.tokens.push({type:"footnote_reference_close",level:--e.level})),!0)}function ahe(e,t,r,n){var s,i,o,a=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(a>=c||(s=e.src.charCodeAt(a),s!==35||a>=c))return!1;for(i=1,s=e.src.charCodeAt(++a);s===35&&a<c&&i<=6;)i++,s=e.src.charCodeAt(++a);return i>6||a<c&&s!==32?!1:(n||(c=e.skipCharsBack(c,32,a),o=e.skipCharsBack(c,35,a),o>a&&e.src.charCodeAt(o-1)===32&&(c=o),e.line=t+1,e.tokens.push({type:"heading_open",hLevel:i,lines:[t,e.line],level:e.level}),a<c&&e.tokens.push({type:"inline",content:e.src.slice(a,c).trim(),level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"heading_close",hLevel:i,level:e.level})),!0)}function che(e,t,r){var n,s,i,o=t+1;return o>=r||e.tShift[o]<e.blkIndent||e.tShift[o]-e.blkIndent>3||(s=e.bMarks[o]+e.tShift[o],i=e.eMarks[o],s>=i)||(n=e.src.charCodeAt(s),n!==45&&n!==61)||(s=e.skipChars(s,n),s=e.skipSpaces(s),s<i)?!1:(s=e.bMarks[t]+e.tShift[t],e.line=o+1,e.tokens.push({type:"heading_open",hLevel:n===61?1:2,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:e.src.slice(s,e.eMarks[t]).trim(),level:e.level+1,lines:[t,e.line-1],children:[]}),e.tokens.push({type:"heading_close",hLevel:n===61?1:2,level:e.level}),!0)}var lU={};["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(e){lU[e]=!0});var uhe=/^<([a-zA-Z]{1,15})[\s\/>]/,lhe=/^<\/([a-zA-Z]{1,15})[\s>]/;function fhe(e){var t=e|32;return t>=97&&t<=122}function phe(e,t,r,n){var s,i,o,a=e.bMarks[t],c=e.eMarks[t],u=e.tShift[t];if(a+=u,!e.options.html||u>3||a+2>=c||e.src.charCodeAt(a)!==60)return!1;if(s=e.src.charCodeAt(a+1),s===33||s===63){if(n)return!0}else if(s===47||fhe(s)){if(s===47){if(i=e.src.slice(a,c).match(lhe),!i)return!1}else if(i=e.src.slice(a,c).match(uhe),!i)return!1;if(lU[i[1].toLowerCase()]!==!0)return!1;if(n)return!0}else return!1;for(o=t+1;o<e.lineMax&&!e.isEmpty(o);)o++;return e.line=o,e.tokens.push({type:"htmlblock",level:e.level,lines:[t,e.line],content:e.getLines(t,o,0,!0)}),!0}function z1(e,t){var r=e.bMarks[t]+e.blkIndent,n=e.eMarks[t];return e.src.substr(r,n-r)}function hhe(e,t,r,n){var s,i,o,a,c,u,l,f,d,h,g;if(t+2>r||(c=t+1,e.tShift[c]<e.blkIndent)||(o=e.bMarks[c]+e.tShift[c],o>
250=e.eMarks[c])||(s=e.src.charCodeAt(o),s!==124&&s!==45&&s!==58)||(i=z1(e,t+1),!/^[-:| ]+$/.test(i))||(u=i.split("|"),u<=2))return!1;for(f=[],a=0;a<u.length;a++){if(d=u[a].trim(),!d){if(a===0||a===u.length-1)continue;return!1}if(!/^:?-+:?$/.test(d))return!1;d.charCodeAt(d.length-1)===58?f.push(d.charCodeAt(0)===58?"center":"right"):d.charCodeAt(0)===58?f.push("left"):f.push("")}if(i=z1(e,t).trim(),i.indexOf("|")===-1||(u=i.replace(/^\||\|$/g,"").split("|"),f.length!==u.length))return!1;if(n)return!0;for(e.tokens.push({type:"table_open",lines:h=[t,0],level:e.level++}),e.tokens.push({type:"thead_open",lines:[t,t+1],level:e.level++}),e.tokens.push({type:"tr_open",lines:[t,t+1],level:e.level++}),a=0;a<u.length;a++)e.tokens.push({type:"th_open",align:f[a],lines:[t,t+1],level:e.level++}),e.tokens.push({type:"inline",content:u[a].trim(),lines:[t,t+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:g=[t+2,0],level:e.level++}),c=t+2;c<r&&!(e.tShift[c]<e.blkIndent||(i=z1(e,c).trim(),i.indexOf("|")===-1));c++){for(u=i.replace(/^\||\|$/g,"").split("|"),e.tokens.push({type:"tr_open",level:e.level++}),a=0;a<u.length;a++)e.tokens.push({type:"td_open",align:f[a],level:e.level++}),l=u[a].substring(u[a].charCodeAt(0)===124?1:0,u[a].charCodeAt(u[a].length-1)===124?u[a].length-1:u[a].length).trim(),e.tokens.push({type:"inline",content:l,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}),h[1]=g[1]=c,e.line=c,!0}function Pl(e,t){var r,n,s=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return s>=i||(n=e.src.charCodeAt(s++),n!==126&&n!==58)||(r=e.skipSpaces(s),s===r)||r>=i?-1:r}function dhe(e,t){var r,n,s=e.level+2;for(r=t+2,n=e.tokens.length-2;r<n;r++)e.tokens[r].level===s&&e.tokens[r].type==="paragraph_open"&&(e.tokens[r+2].tight=!0,e.tokens[r].tight=!0,r+=2)}function mhe(e,t,r,n){var s,i,o,a,c,u,l,f,d,h,g,v,y,E;if(n)return e.ddIndent<0?!1:Pl(e,t)>=0;if(l=t+1,e.isEmpty(l)&&++l>r||e.tShift[l]<e.blkIndent||(s=Pl(e,l),s<0)||e.level>=e.options.maxNesting)return!1;u=e.tokens.length,e.tokens.push({type:"dl_open",lines:c=[t,0],level:e.level++}),o=t,i=l;e:for(;;){for(E=!0,y=!1,e.tokens.push({type:"dt_open",lines:[o,o],level:e.level++}),e.tokens.push({type:"inline",content:e.getLines(o,o+1,e.blkIndent,!1).trim(),level:e.level+1,lines:[o,o],children:[]}),e.tokens.push({type:"dt_close",level:--e.level});;){if(e.tokens.push({type:"dd_open",lines:a=[l,0],level:e.level++}),v=e.tight,d=e.ddIndent,f=e.blkIndent,g=e.tShift[i],h=e.parentType,e.blkIndent=e.ddIndent=e.tShift[i]+2,e.tShift[i]=s-e.bMarks[i],e.tight=!0,e.parentType="deflist",e.parser.tokenize(e,i,r,!0),(!e.tight||y)&&(E=!1),y=e.line-i>1&&e.isEmpty(e.line-1),e.tShift[i]=g,e.tight=v,e.parentType=h,e.blkIndent=f,e.ddIndent=d,e.tokens.push({type:"dd_close",level:--e.level}),a[1]=l=e.line,l>=r||e.tShift[l]<e.blkIndent)break e;if(s=Pl(e,l),s<0)break;i=l}if(l>=r||(o=l,e.isEmpty(o))||e.tShift[o]<e.blkIndent||(i=o+1,i>=r)||(e.isEmpty(i)&&i++,i>=r)||e.tShift[i]<e.blkIndent||(s=Pl(e,i),s<0))break}return e.tokens.push({type:"dl_close",level:--e.level}),c[1]=l,e.line=l,E&&dhe(e,u),!0}function ghe(e,t){var r,n,s,i,o,a=t+1,c;if(r=e.lineMax,a<r&&!e.isEmpty(a)){for(c=e.parser.ruler.getRules("paragraph");a<r&&!e.isEmpty(a);a++)if(!(e.tShift[a]-e.blkIndent>3)){for(s=!1,i=0,o=c.length;i<o;i++)if(c[i](e,a,r,!0)){s=!0;break}if(s)break}}return n=e.getLines(t,a,e.blkIndent,!1).trim(),e.line=a,n.length&&(e.tokens.push({type:"paragraph_open",tight:!1,lines:[t,e.line],level:e.level}),e.tokens.push({type:"inline",content:n,level:e.level+1,lines:[t,e.line],children:[]}),e.tokens.push({type:"paragraph_close",tight:!1,level:e.level})),!0}var jl=[["code",ehe],["fences",the,["paragraph","blockquote","list"]],["blockquote",rhe,["paragraph","blockquote","list"]],["hr",nhe,["paragraph","blockquote","list"]],["list",ihe,["paragraph","blockquote"]],["footnote",ohe,["paragraph"]],["heading",ahe,["paragraph","blockquote"]],["lheading",che],["htmlblock",phe,["paragraph","blockquote"]],["table",hhe,["paragraph"]],["deflist",mhe,["paragraph"]],["paragraph",ghe]];function N2(){this.ruler=new $n;for(var e=0;e<jl.length;e++)this.ruler.push(jl[e][0],jl[e][1],{alt:(jl[e][2]||[]).slice()})}N2.prototype.tokenize=function(e,t,r){for(var n=this.ruler.getRules(""),s=n.length,i=t,o=!1,a,c;i<r&&(e.line=i=e.skipEmptyLines(i),!(i>=r||e.tShift[i]<e.blkIndent));){for(c=0;c<s&&(a=n[c](e,i,r,!1),!a);c++);
250if(e.tight=!o,e.isEmpty(e.line-1)&&(o=!0),i=e.line,i<r&&e.isEmpty(i)){if(o=!0,i++,i<r&&e.parentType==="list"&&e.isEmpty(i))break;e.line=i}}};var yhe=/[\n\t]/g,vhe=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,bhe=/\u00a0/g;N2.prototype.parse=function(e,t,r,n){var s,i=0,o=0;if(!e)return[];e=e.replace(bhe," "),e=e.replace(vhe,` 251`),e.indexOf(" ")>=0&&(e=e.replace(yhe,function(a,c){var u;return e.charCodeAt(c)===10?(i=c+1,o=0,a):(u=" ".slice((c-i-o)%4),o=c-i+1,u)})),s=new Io(e,this,t,r,n),this.tokenize(s,s.line,s.lineMax)};function Ehe(e){switch(e){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}}function She(e,t){for(var r=e.pos;r<e.posMax&&!Ehe(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)}function _he(e,t){var r,n,s=e.pos;if(e.src.charCodeAt(s)!==10)return!1;if(r=e.pending.length-1,n=e.posMax,!t)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(var i=r-2;i>=0;i--)if(e.pending.charCodeAt(i)!==32){e.pending=e.pending.substring(0,i+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<n&&e.src.charCodeAt(s)===32;)s++;return e.pos=s,!0}var M2=[];for(var Y$=0;Y$<256;Y$++)M2.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){M2[e.charCodeAt(0)]=1});function whe(e,t){var r,n=e.pos,s=e.posMax;if(e.src.charCodeAt(n)!==92)return!1;if(n++,n<s){if(r=e.src.charCodeAt(n),r<256&&M2[r]!==0)return t||(e.pending+=e.src[n]),e.pos+=2,!0;if(r===10){for(t||e.push({type:"hardbreak",level:e.level}),n++;n<s&&e.src.charCodeAt(n)===32;)n++;return e.pos=n,!0}}return t||(e.pending+="\\"),e.pos++,!0}function xhe(e,t){var r,n,s,i,o,a=e.pos,c=e.src.charCodeAt(a);if(c!==96)return!1;for(r=a,a++,n=e.posMax;a<n&&e.src.charCodeAt(a)===96;)a++;for(s=e.src.slice(r,a),i=o=a;(i=e.src.indexOf("`",o))!==-1;){for(o=i+1;o<n&&e.src.charCodeAt(o)===96;)o++;if(o-i===s.length)return t||e.push({type:"code",content:e.src.slice(a,i).replace(/[ \n]+/g," ").trim(),block:!1,level:e.level}),e.pos=o,!0}return t||(e.pending+=s),e.pos+=s.length,!0}function Ahe(e,t){var r,n,s,i=e.posMax,o=e.pos,a,c;if(e.src.charCodeAt(o)!==126||t||o+4>=i||e.src.charCodeAt(o+1)!==126||e.level>=e.options.maxNesting||(a=o>0?e.src.charCodeAt(o-1):-1,c=e.src.charCodeAt(o+2),a===126)||c===126||c===32||c===10)return!1;for(n=o+2;n<i&&e.src.charCodeAt(n)===126;)n++;if(n>o+3)return e.pos+=n-o,t||(e.pending+=e.src.slice(o,n)),!0;for(e.pos=o+2,s=1;e.pos+1<i;){if(e.src.charCodeAt(e.pos)===126&&e.src.charCodeAt(e.pos+1)===126&&(a=e.src.charCodeAt(e.pos-1),c=e.pos+2<i?e.src.charCodeAt(e.pos+2):-1,c!==126&&a!==126&&(a!==32&&a!==10?s--:c!==32&&c!==10&&s++,s<=0))){r=!0;break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=o+2,t||(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=i,!0):(e.pos=o,!1)}function Ohe(e,t){var r,n,s,i=e.posMax,o=e.pos,a,c;if(e.src.charCodeAt(o)!==43||t||o+4>=i||e.src.charCodeAt(o+1)!==43||e.level>=e.options.maxNesting||(a=o>0?e.src.charCodeAt(o-1):-1,c=e.src.charCodeAt(o+2),a===43)||c===43||c===32||c===10)return!1;for(n=o+2;n<i&&e.src.charCodeAt(n)===43;)n++;if(n!==o+2)return e.pos+=n-o,t||(e.pending+=e.src.slice(o,n)),!0;for(e.pos=o+2,s=1;e.pos+1<i;){if(e.src.charCodeAt(e.pos)===43&&e.src.charCodeAt(e.pos+1)===43&&(a=e.src.charCodeAt(e.pos-1),c=e.pos+2<i?e.src.charCodeAt(e.pos+2):-1,c!==43&&a!==43&&(a!==32&&a!==10?s--:c!==32&&c!==10&&s++,s<=0))){r=!0;break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=o+2,t||(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=i,!0):(e.pos=o,!1)}function Che(e,t){var r,n,s,i=e.posMax,o=e.pos,a,c;if(e.src.charCodeAt(o)!==61||t||o+4>=i||e.src.charCodeAt(o+1)!==61||e.level>=e.options.maxNesting||(a=o>
vendor: 1,162 bytes, line 251
2510?e.src.charCodeAt(o-1):-1,c=e.src.charCodeAt(o+2),a===61)||c===61||c===32||c===10)return!1;for(n=o+2;n<i&&e.src.charCodeAt(n)===61;)n++;if(n!==o+2)return e.pos+=n-o,t||(e.pending+=e.src.slice(o,n)),!0;for(e.pos=o+2,s=1;e.pos+1<i;){if(e.src.charCodeAt(e.pos)===61&&e.src.charCodeAt(e.pos+1)===61&&(a=e.src.charCodeAt(e.pos-1),c=e.pos+2<i?e.src.charCodeAt(e.pos+2):-1,c!==61&&a!==61&&(a!==32&&a!==10?s--:c!==32&&c!==10&&s++,s<=0))){r=!0;break}e.parser.skipToken(e)}return r?(e.posMax=e.pos,e.pos=o+2,t||(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=i,!0):(e.pos=o,!1)}function X$(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}function Z$(e,t){var r=t,n,s,i,o=!0,a=!0,c=e.posMax,u=e.src.charCodeAt(t);for(n=t>0?e.src.charCodeAt(t-1):-1;r<c&&e.src.charCodeAt(r)===u;)r++;return r>=c&&(o=!1),i=r-t,i>=4?o=a=!1:(s=r<c?e.src.charCodeAt(r):-1,(s===32||s===10)&&(o=!1),(n===32||n===10)&&(a=!1),u===95&&(X$(n)&&(o=!1),X$(s)&&(a=!1))),{can_open:o,can_close:a,delims:i}}function Rhe(e,t){var r,n,s,i,o,a,c,u=e.posMax,l=e.pos,f=e.src.charCodeAt(l);if(f!==95&&f!==42||t)return!1;
251if(c=Z$(e,l),r=c.delims,!c.can_open)return e.pos+=r,t||(e.pending+=e.src.slice(l,e.pos)),!0;if(e.level>=e.options.maxNesting)return!1;for(e.pos=l+r,a=[r];e.pos<u;){if(e.src.charCodeAt(e.pos)===f){if(c=Z$(e,e.pos),n=c.delims,c.can_close){for(i=a.pop(),o=n;i!==o;){if(o<i){a.push(i-o);break}if(o-=i,a.length===0)break;e.pos+=i,i=a.pop()}if(a.length===0){r=i,s=!0;break}e.pos+=n;continue}c.can_open&&a.push(n),e.pos+=n;continue}e.parser.skipToken(e)}return s?(e.posMax=e.pos,e.pos=l+r,t||((r===2||r===3)&&e.push({type:"strong_open",level:e.level++}),(r===1||r===3)&&e.push({type:"em_open",level:e.level++}),e.parser.tokenize(e),(r===1||r===3)&&e.push({type:"em_close",level:--e.level}),(r===2||r===3)&&e.push({type:"strong_close",level:--e.level})),e.pos=e.posMax+r,e.posMax=u,!0):(e.pos=l,!1)}var The=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ihe(e,t){var r,n,s=e.posMax,i=e.pos;if(e.src.charCodeAt(i)!==126||t||i+2>=s||e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos<s;){if(e.src.charCodeAt(e.pos)===126){r=!0;break}e.parser.skipToken(e)}return!r||i+1===e.pos||(n=e.src.slice(i+1,e.pos),n.match(/(^|[^\\])(\\\\)*\s/))?(e.pos=i,!1):(e.posMax=e.pos,e.pos=i+1,t||e.push({type:"sub",level:e.level,content:n.replace(The,"$1")}),e.pos=e.posMax+1,e.posMax=s,!0)}var Phe=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function jhe(e,t){var r,n,s=e.posMax,i=e.pos;if(e.src.charCodeAt(i)!==94||t||i+2>=s||e.level>=e.options.maxNesting)return!1;for(e.pos=i+1;e.pos<s;){if(e.src.charCodeAt(e.pos)===94){r=!0;break}e.parser.skipToken(e)}return!r||i+1===e.pos||(n=e.src.slice(i+1,e.pos),n.match(/(^|[^\\])(\\\\)*\s/))?(e.pos=i,!1):(e.posMax=e.pos,e.pos=i+1,t||e.push({type:"sup",level:e.level,content:n.replace(Phe,"$1")}),e.pos=e.posMax+1,e.posMax=s,!0)}function khe(e,t){var r,n,s,i,o,a,c,u,l=!1,f=e.pos,d=e.posMax,h=e.pos,g=e.src.charCodeAt(h);if(g===33&&(l=!0,g=e.src.charCodeAt(++h)),g!==91||e.level>=e.options.maxNesting||(r=h+1,n=Rc(e,h),n<0))return!1;if(a=n+1,a<d&&e.src.charCodeAt(a)===40){for(a++;a<d&&(u=e.src.charCodeAt(a),!(u!==32&&u!==10));a++);if(a>=d)return!1;for(h=a,oU(e,a)?(i=e.linkContent,a=e.pos):i="",h=a;a<d&&(u=e.src.charCodeAt(a),!(u!==32&&u!==10));a++);if(a<d&&h!==a&&aU(e,a))for(o=e.linkContent,a=e.pos;a<d&&(u=e.src.charCodeAt(a),!(u!==32&&u!==10));a++);else o="";if(a>=d||e.src.charCodeAt(a)!==41)return e.pos=f,!1;a++}else{if(e.linkLevel>0)return!1;for(;a<d&&(u=e.src.charCodeAt(a),!(u!==32&&u!==10));a++);if(a<d&&e.src.charCodeAt(a)===91&&(h=a+1,a=Rc(e,a),a>=0?s=e.src.slice(h,a++):a=h-1),s||(typeof s>"u"&&(a=n+1),s=e.src.slice(r,n)),c=e.env.references[cU(s)],!c)return e.pos=f,!1;i=c.href,o=c.title}return t||(e.pos=r,e.posMax=n,l?e.push({type:"image",src:i,title:o,alt:e.src.substr(r,n-r),level:e.level}):(e.push({type:"link_open",href:i,title:o,level:e.level++}),e.linkLevel++,e.parser.tokenize(e),e.linkLevel--,e.push({type:"link_close",level:--e.level}))),e.pos=a,e.posMax=d,!0}function Nhe(e,t){var r,n,s,i,o=e.posMax,a=e.pos;return a+2>=o||e.src.charCodeAt(a)!==94||e.src.charCodeAt(a+1)!==91||e.level>=e.options.maxNesting||(r=a+2,n=Rc(e,a+1),n<0)?!1:(t||(e.env.footnotes||(e.env.footnotes={}),e.env.footnotes.list||(e.env.footnotes.list=[]),s=e.env.footnotes.list.length,e.pos=r,e.posMax=n,e.push({type:"footnote_ref",id:s,level:e.level}),e.linkLevel++,i=e.tokens.length,e.parser.tokenize(e),e.env.footnotes.list[s]={tokens:e.tokens.splice(i)},e.linkLevel--),e.pos=n+1,e.posMax=o,!0)}function Mhe(e,t){var r,n,s,i,o=e.posMax,a=e.pos;if(a+3>o||!e.env.footnotes||!e.env.footnotes.refs||e.src.charCodeAt(a)!==91||e.src.charCodeAt(a+1)!==94||e.level>=e.options.maxNesting)return!1;for(n=a+2;n<o;n++){if(e.src.charCodeAt(n)===32||e.src.charCodeAt(n)===10)return!1;if(e.src.charCodeAt(n)===93)break}return n===a+2||n>=o||(n++,r=e.src.slice(a+2,n-1),typeof e.env.footnotes.refs[":"+r]>"u")?!1:(t||(e.env.footnotes.list||(e.env.footnotes.list=[]),e.env.footnotes.refs[":"+r]<0?(s=e.env.footnotes.list.length,e.env.footnotes.list[s]={label:r,count:0},e.env.footnotes.refs[":"+r]=s):s=e.env.footnotes.refs[":"+r],i=e.env.footnotes.list[s].count,e.env.footnotes.list[s].count++,e.push({type:"footnote_ref",id:s,subId:i,level:e.level})),e.pos=n,e.posMax=o,!0)}var Dhe=["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"],$he=/^<([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])?)*)>/,Fhe=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function qhe(e,t){var r,n,s,i,o,a=e.pos;
251return e.src.charCodeAt(a)!==60||(r=e.src.slice(a),r.indexOf(">")<0)?!1:(n=r.match(Fhe),n?Dhe.indexOf(n[1].toLowerCase())<0||(i=n[0].slice(1,-1),o=$w(i),!e.parser.validateLink(i))?!1:(t||(e.push({type:"link_open",href:o,level:e.level}),e.push({type:"text",content:i,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=n[0].length,!0):(s=r.match($he),s?(i=s[0].slice(1,-1),o=$w("mailto:"+i),e.parser.validateLink(o)?(t||(e.push({type:"link_open",href:o,level:e.level}),e.push({type:"text",content:i,level:e.level+1}),e.push({type:"link_close",level:e.level})),e.pos+=s[0].length,!0):!1):!1))}function Nh(e,t){return e=e.source,t=t||"",function r(n,s){return n?(s=s.source||s,e=e.replace(n,s),r):new RegExp(e,t)}}var Bhe=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,Lhe=/[^"'=<>`\x00-\x20]+/,Uhe=/'[^']*'/,Vhe=/"[^"]*"/,zhe=Nh(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",Lhe)("single_quoted",Uhe)("double_quoted",Vhe)(),Whe=Nh(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",Bhe)("attr_value",zhe)(),Jhe=Nh(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",Whe)(),Hhe=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,Khe=/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,Ghe=/<[?].*?[?]>/,Yhe=/<![A-Z]+\s+[^>]*>/,Xhe=/<!\[CDATA\[[\s\S]*?\]\]>/,Zhe=Nh(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",Jhe)("close_tag",Hhe)("comment",Khe)("processing",Ghe)("declaration",Yhe)("cdata",Xhe)();function Qhe(e){var t=e|32;return t>=97&&t<=122}function ede(e,t){var r,n,s,i=e.pos;return!e.options.html||(s=e.posMax,e.src.charCodeAt(i)!==60||i+2>=s)||(r=e.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!Qhe(r))||(n=e.src.slice(i).match(Zhe),!n)?!1:(t||e.push({type:"htmltag",content:e.src.slice(i,i+n[0].length),level:e.level}),e.pos+=n[0].length,!0)}var tde=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,rde=/^&([a-z][a-z0-9]{1,31});/i;function nde(e,t){var r,n,s,i=e.pos,o=e.posMax;if(e.src.charCodeAt(i)!==38)return!1;
251if(i+1<o){if(r=e.src.charCodeAt(i+1),r===35){if(s=e.src.slice(i).match(tde),s)return t||(n=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),e.pending+=sU(n)?Dw(n):Dw(65533)),e.pos+=s[0].length,!0}else if(s=e.src.slice(i).match(rde),s){var a=rU(s[1]);if(s[1]!==a)return t||(e.pending+=a),e.pos+=s[0].length,!0}}return t||(e.pending+="&"),e.pos++,!0}var W1=[["text",She],["newline",_he],["escape",whe],["backticks",xhe],["del",Ahe],["ins",Ohe],["mark",Che],["emphasis",Rhe],["sub",Ihe],["sup",jhe],["links",khe],["footnote_inline",Nhe],["footnote_ref",Mhe],["autolink",qhe],["htmltag",ede],["entity",nde]];function Mh(){this.ruler=new $n;for(var e=0;e<W1.length;e++)this.ruler.push(W1[e][0],W1[e][1]);this.validateLink=sde}Mh.prototype.skipToken=function(e){var t=this.ruler.getRules(""),r=t.length,n=e.pos,s,i;if((i=e.cacheGet(n))>0){e.pos=i;return}for(s=0;s<r;s++)if(t[s](e,!0)){e.cacheSet(n,e.pos);return}e.pos++,e.cacheSet(n,e.pos)};Mh.prototype.tokenize=function(e){for(var t=this.ruler.getRules(""),r=t.length,n=e.posMax,s,i;e.pos<n;){for(i=0;i<r&&(s=t[i](e,!1),!s);i++);if(s){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};Mh.prototype.parse=function(e,t,r,n){var s=new To(e,this,t,r,n);this.tokenize(s)};function sde(e){var t=["vbscript","javascript","file","data"],r=e.trim().toLowerCase();return r=vo(r),!(r.indexOf(":")!==-1&&t.indexOf(r.split(":")[0])!==-1)}var ide={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"]}}},ode={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"ââââ",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},ade={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"]}}},cde={default:ide,full:ode,commonmark:ade};function fU(e,t,r){this.src=t,this.env=r,this.options=e.options,this.tokens=[],this.inlineMode=!1,this.inline=e.inline,this.block=e.block,this.renderer=e.renderer,this.typographer=e.typographer}function pi(e,t){typeof e!="string"&&(t=e,e="default"),t&&t.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead: 252 253import Remarkable from 'remarkable'; 254import linkify from 'remarkable/linkify'; 255new Remarkable().use(linkify) 256`),this.inline=new Mh,this.block=new N2,this.core=new uU,this.renderer=new k2,this.ruler=new $n,this.options={},this.configure(cde[e]),this.set(t||{})}pi.prototype.set=function(e){nU(this.options,e)};pi.prototype.configure=function(e){var t=this;if(!e)throw new Error("Wrong `remarkable` preset, check name/content");e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enable(e.components[r].rules,!0)})};pi.prototype.use=function(e,t){return e(this,t),this};pi.prototype.parse=function(e,t){var r=new fU(this,e,t);return this.core.process(r),r.tokens};pi.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};pi.prototype.parseInline=function(e,t){var r=new fU(this,e,t);return r.inlineMode=!0,this.core.process(r),r.tokens};pi.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var ude="3.16.2";function lde(e,t){for(var r in t)t.hasOwnProperty(r)&&e[r]===void 0&&(e[r]=t[r]);return e}function fde(e,t,r){var n;return e.length>t&&(r==null?(r="…",n=3):n=r.length,e=e.substring(0,t-n)+r),e}function Q$(e,t){if(Array.prototype.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Qi(e,t){for(var r=e.length-1;r>=0;r--)t(e[r])===!0&&e.splice(r,1)}function pde(e,t){if(!t.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var r=[],n=0,s;s=t.exec(e);)r.push(e.substring(n,s.index)),r.push(s[0]),n=s.index+s[0].length;return r.push(e.substring(n)),r}function D2(e){throw new Error("Unhandled case for value: '".concat(e,"'"))}var Fw=(function(){function e(t){t===void 0&&(t={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=t.tagName||"",this.attrs=t.attrs||{},this.innerHTML=t.innerHtml||t.innerHTML||""}return e.prototype.setTagName=function(t){return this.tagName=t,this},e.prototype.getTagName=function(){return this.tagName||""},e.prototype.setAttr=function(t,r){var n=this.getAttrs();return n[t]=r,this},e.prototype.getAttr=function(t){return this.getAttrs()[t]},e.prototype.setAttrs=function(t){return Object.assign(this.getAttrs(),t),this},e.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},e.prototype.setClass=function(t){return this.setAttr("class",t)},e.prototype.addClass=function(t){for(var r=this.getClass(),n=this.whitespaceRegex,s=r?r.split(n):[],i=t.split(n),o;o=i.shift();)Q$(s,o)===-1&&s.push(o);return this.getAttrs().class=s.join(" "),this},e.prototype.removeClass=function(t){for(var r=this.getClass(),n=this.whitespaceRegex,s=r?r.split(n):[],i=t.split(n),o;s.length&&(o=i.shift());){var a=Q$(s,o);a!==-1&&s.splice(a,1)}return this.getAttrs().class=s.join(" "),this},e.prototype.getClass=function(){return this.getAttrs().class||""},e.prototype.hasClass=function(t){return(" "+this.getClass()+" ").indexOf(" "+t+" ")!==-1},e.prototype.setInnerHTML=function(t){return this.innerHTML=t,this},e.prototype.setInnerHtml=function(t){return this.setInnerHTML(t)},e.prototype.getInnerHTML=function(){return this.innerHTML||""},e.prototype.getInnerHtml=function(){return this.getInnerHTML()},e.prototype.toAnchorString=function(){var t=this.getTagName(),r=this.buildAttrsStr();return r=r?" "+r:"",["<",t,r,">",this.getInnerHtml(),"</",t,">"].join("")},e.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var t=this.getAttrs(),r=[];for(var n in t)t.hasOwnProperty(n)&&r.push(n+'="'+t[n]+'"');return r.join(" ")},e})();function hde(e,t,r){var n,s;r==null?(r="…",s=3,n=8):(s=r.length,n=r.length);var i=function(b){var S={},_=b,x=_.match(/^([a-z]+):\/\//i);return x&&(S.scheme=x[1],_=_.substr(x[0].length)),x=_.match(/^(.*?)(?=(\?|#|\/|$))/i),x&&(S.host=x[1],_=_.substr(x[0].length)),x=_.match(/^\/(.*?)(?=(\?|#|$))/i),x&&(S.path=x[1],_=_.substr(x[0].length)),x=_.match(/^\?(.*?)(?=(#|$))/i),x&&(S.query=x[1],_=_.substr(x[0].length)),x=_.match(/^#(.*?)$/i),x&&(S.fragment=x[1]),S},o=function(b){var S="";return b.scheme&&b.host&&(S+=b.scheme+"://"),b.host&&(S+=b.host),b.path&&(S+="/"+b.path),b.query&&(S+="?"+b.query),b.fragment&&(S+="#"+b.fragment),S},a=function(b,S){var _=S/2,x=Math.ceil(_),A=-1*Math.floor(_),O="";return A<0&&(O=b.substr(A)),b.substr(0,x)+r+O};if(e.length<=t)return e;var c=t-s,u=i(e);if(u.query){var l=u.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);l&&(u.query=u.query.substr(0,l[1].length),e=o(u))}if(e.length<=t||(u.host&&(u.host=u.host.replace(/^www\./,""),e=o(u)),e.length<=t))return e;var f="";if(u.host&&(f+=u.host),f.length>=c)return u.host.length==t?(u.host.substr(0,t-s)+r).substr(0,c+n):a(f,c).substr(0,c+n);var d="";if(u.path&&(d+="/"+u.path),u.query&&(d+="?"+u.query),d)if((f+d).length>
256=c){if((f+d).length==t)return(f+d).substr(0,t);var h=c-f.length;return(f+a(d,h)).substr(0,c+n)}else f+=d;if(u.fragment){var g="#"+u.fragment;if((f+g).length>=c){if((f+g).length==t)return(f+g).substr(0,t);var v=c-f.length;return(f+a(g,v)).substr(0,c+n)}else f+=g}if(u.scheme&&u.host){var y=u.scheme+"://";if((f+y).length<c)return(y+f).substr(0,t)}if(f.length<=t)return f;var E="";return c>0&&(E=f.substr(-1*Math.floor(c/2))),(f.substr(0,Math.ceil(c/2))+r+E).substr(0,c+n)}function dde(e,t,r){if(e.length<=t)return e;var n,s;r==null?(r="…",n=8,s=3):(n=r.length,s=r.length);var i=t-s,o="";return i>0&&(o=e.substr(-1*Math.floor(i/2))),(e.substr(0,Math.ceil(i/2))+r+o).substr(0,i+n)}function mde(e,t,r){return fde(e,t,r)}var eF=(function(){function e(t){t===void 0&&(t={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=t.newWindow||!1,this.truncate=t.truncate||{},this.className=t.className||""}return e.prototype.build=function(t){return new Fw({tagName:"a",attrs:this.createAttrs(t),innerHtml:this.processAnchorText(t.getAnchorText())})},e.prototype.createAttrs=function(t){var r={href:t.getAnchorHref()},n=this.createCssClass(t);return n&&(r.class=n),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<t.getAnchorText().length&&(r.title=t.getAnchorHref()),r},e.prototype.createCssClass=function(t){var r=this.className;if(r){for(var n=[r],s=t.getCssClassSuffixes(),i=0,o=s.length;i<o;i++)n.push(r+"-"+s[i]);return n.join(" ")}else return""},e.prototype.processAnchorText=function(t){return t=this.doTruncate(t),t},e.prototype.doTruncate=function(t){var r=this.truncate;if(!r||!r.length)return t;var n=r.length,s=r.location;return s==="smart"?hde(t,n):s==="middle"?dde(t,n):mde(t,n)},e})(),Fa=(function(){function e(t){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=t.tagBuilder,this.matchedText=t.matchedText,this.offset=t.offset}return e.prototype.getMatchedText=function(){return this.matchedText},e.prototype.setOffset=function(t){this.offset=t},e.prototype.getOffset=function(){return this.offset},e.prototype.getCssClassSuffixes=function(){return[this.getType()]},e.prototype.buildTag=function(){return this.tagBuilder.build(this)},e})(),qw=function(e,t){return qw=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(r[s]=n[s])},qw(e,t)};function Bs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");qw(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var pr=function(){return pr=Object.assign||function(t){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},pr.apply(this,arguments)};var pU=(function(e){Bs(t,e);function t(r){var n=e.call(this,r)||this;return n.email="",n.email=r.email,n}return t.prototype.getType=function(){return"email"},t.prototype.getEmail=function(){return this.email},t.prototype.getAnchorHref=function(){return"mailto:"+this.email},t.prototype.getAnchorText=function(){return this.email},t})(Fa),hU=(function(e){Bs(t,e);function t(r){var n=e.call(this,r)||this;return n.serviceName="",n.hashtag="",n.serviceName=r.serviceName,n.hashtag=r.hashtag,n}return t.prototype.getType=function(){return"hashtag"},t.prototype.getServiceName=function(){return this.serviceName},t.prototype.getHashtag=function(){return this.hashtag},t.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)}},t.prototype.getAnchorText=function(){return"#"+this.hashtag},t})(Fa),dU=(function(e){Bs(t,e);function t(r){var n=e.call(this,r)||this;return n.serviceName="twitter",n.mention="",n.mention=r.mention,n.serviceName=r.serviceName,n}return t.prototype.getType=function(){return"mention"},t.prototype.getMention=function(){return this.mention},t.prototype.getServiceName=function(){return this.serviceName},t.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)}},t.prototype.getAnchorText=function(){return"@"+this.mention},t.prototype.getCssClassSuffixes=function(){var r=e.prototype.getCssClassSuffixes.call(this),n=this.getServiceName();return n&&r.push(n),r},t})(Fa),mU=(function(e){Bs(t,e);function t(r){var n=e.call(this,r)||this;return n.number="",n.plusSign=!1,n.number=r.number,n.plusSign=r.plusSign,n}return t.prototype.getType=function(){return"phone"},t.prototype.getPhoneNumber=function(){return this.number},t.prototype.getNumber=function(){return this.getPhoneNumber()},t.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},t.prototype.getAnchorText=function(){return this.matchedText},t})(Fa),gU=(function(e){Bs(t,e);function t(r){var n=e.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 t.prototype.getType=function(){return"url"},t.prototype.getUrlMatchType=function(){return this.urlMatchType},t.prototype.getUrl=function(){var r=this.url;return!this.protocolRelativeMatch&&!this.protocolUrlMatch&&!this.protocolPrepended&&(r=this.url="http://"+r,this.protocolPrepended=!0),r},t.prototype.getAnchorHref=function(){var r=this.getUrl();return r.replace(/&/g,"&")},t.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},t.prototype.stripSchemePrefix=function(r){return r.replace(this.schemePrefixRegex,"")},t.prototype.stripWwwPrefix=function(r){return r.replace(this.wwwPrefixRegex,"$1")},t.prototype.stripProtocolRelativePrefix=function(r){return r.replace(this.protocolRelativeRegex,"")},t.prototype.removeTrailingSlash=function(r){return r.charAt(r.length-1)==="/"&&(r=r.slice(0,-1)),r},t.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}},t})(Fa),qa=(function(){function e(t){this.__jsduckDummyDocProp=null,this.tagBuilder=t.tagBuilder}return e})(),J1=/[A-Za-z]/,gde=/[\d]/,yde=/[\D]/,eo=/\s/,H1=/['"]/,vde=/[\x00-\x1F\x7F]/,yU=/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\u
2560EB3\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,bde=/\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,Ede=/\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\u2D
2567F\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,vU=yU+bde+Ede,Of=/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,Sde=vU+Of,dr=vU+Of,ic=new RegExp("[".concat(dr,"]")),_de="(?:["+Of+"]{1,3}\\.){3}["+Of+"]{1,3}",wde="["+dr+"](?:["+dr+"\\-_]{0,61}["+dr+"])?",tF=function(e){return"(?=("+wde+"))\\"+e},K1=function(e){return"(?:"+tF(e)+"(?:\\."+tF(e+1)+"){0,126}|"+_de+")"},kl=ic,bU
vendor: 11,453 bytes, line 256
256=/(?: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|ελ|εÏ
|бг|еÑ|ÑÑ|áá|ë·ë·|ë·ì»´|ì¼ì±|íêµ|ã³ã |ä¸ç|ä¸ä¿¡|ä¸å½|ä¸å|ä¼ä¸|ä½å±±|ä¿¡æ¯|å¥åº·|å
«å¦|å
¬å¸|å
¬ç|å°æ¹¾|å°ç£|åå|ååº|åæ |åé|å¨çº¿|大æ¿|娱ä¹|å®¶é»|广ä¸|å¾®å|æ
å|ææº|æè|æ¿å¡|æ¿åº|æ°é»|æ¶å°|æ¸ç±|æºæ|游æ|æ¾³é|ç¹ç|ç§»å¨|ç½å|ç½åº|ç½ç«|ç½ç»|èé|è°·æ|è´ç©|é販|éå¢|é£å|é¤å
|馿¸¯)/,
256xde=new RegExp("[".concat(dr,"!#$%&'*+/=?^_`{|}~-]")),Ade=new RegExp("^".concat(bU.source,"$")),rF=(function(e){Bs(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.localPartCharRegex=xde,r.strictTldRegex=Ade,r}return t.prototype.parseMatches=function(r){for(var n=this.tagBuilder,s=this.localPartCharRegex,i=this.strictTldRegex,o=[],a=r.length,c=new Nl,u={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},l=0,f=0,d=c;l<a;){var h=r.charAt(l);switch(f){case 0:g(h);break;case 1:v(r.charAt(l-1),h);break;case 2:y(h);break;case 3:E(h);break;case 4:b(h);break;case 5:S(h);break;case 6:_(h);break;case 7:x(h);break;default:D2(f)}l++}return I(),o;function g(R){R==="m"?A(1):s.test(R)&&A()}function v(R,$){R===":"?s.test($)?(f=2,d=new Nl(pr(pr({},d),{hasMailtoPrefix:!0}))):O():u[R]===$||(s.test($)?f=2:$==="."?f=3:$==="@"?f=4:O())}function y(R){R==="."?f=3:R==="@"?f=4:s.test(R)||O()}function E(R){R==="."||R==="@"?O():s.test(R)?f=2:O()}function b(R){kl.test(R)?f=5:O()}function S(R){R==="."?f=7:R==="-"?f=6:kl.test(R)||I()}function _(R){R==="-"||R==="."?I():kl.test(R)?f=5:I()}function x(R){R==="."||R==="-"?I():kl.test(R)?(f=5,d=new Nl(pr(pr({},d),{hasDomainDot:!0}))):I()}function A(R){R===void 0&&(R=2),f=R,d=new Nl({idx:l})}function O(){f=0,d=c}function I(){if(d.hasDomainDot){var R=r.slice(d.idx,l);/[-.]$/.test(R)&&(R=R.slice(0,-1));var $=d.hasMailtoPrefix?R.slice(7):R;M($)&&o.push(new pU({tagBuilder:n,matchedText:R,offset:d.idx,email:$}))}O();function M(q){var N=q.split(".").pop()||"",U=N.toLowerCase(),X=i.test(U);return X}}},t})(qa),Nl=(function(){function e(t){t===void 0&&(t={}),this.idx=t.idx!==void 0?t.idx:-1,this.hasMailtoPrefix=!!t.hasMailtoPrefix,this.hasDomainDot=!!t.hasDomainDot}return e})(),Ode=(function(){function e(){}return e.isValid=function(t,r){return!(r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(t,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(t,r)&&!this.isValidIpAddress(t)||this.containsMultipleDots(t))},e.isValidIpAddress=function(t){var r=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source),n=t.match(r);return n!==null},e.containsMultipleDots=function(t){var r=t;return this.hasFullProtocolRegex.test(t)&&(r=t.split("://")[1]),r.split("/")[0].indexOf("..")>-1},e.isValidUriScheme=function(t){var r=t.match(this.uriSchemeRegex),n=r&&r[0].toLowerCase();return n!=="javascript:"&&n!=="vbscript:"},e.urlMatchDoesNotHaveProtocolOrDot=function(t,r){return!!t&&(!r||!this.hasFullProtocolRegex.test(r))&&t.indexOf(".")===-1},e.urlMatchDoesNotHaveAtLeastOneWordChar=function(t,r){return t&&r?!this.hasFullProtocolRegex.test(r)&&!this.hasWordCharAfterProtocolRegex.test(t):!1},e.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,e.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,e.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+yU+"]"),e.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]*)?\/?$/,e})(),Cde=(function(){var e=/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/,t=/(?:www\.)/,r=new RegExp("[/?#](?:["+dr+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^â]*["+dr+"\\-+&@#/%=~_()|'$*\\[\\]{}â])?");return new RegExp(["(?:","(",e.source,K1(2),")","|","(","(//)?",t.source,K1(6),")","|","(","(//)?",K1(10)+"\\.",bU.source,"(?![-"+Sde+"])",")",")","(?::[0-9]+)?","(?:"+r.source+")?"].join(""),"gi")})(),Rde=new RegExp("["+dr+"]"),nF=(function(e){Bs(t,e);function t(r){var n=e.call(this,r)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=Cde,n.wordCharRegExp=Rde,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return t.prototype.parseMatches=function(r){for(var n=this.matcherRegex,s=this.stripPrefix,i=this.stripTrailingSlash,o=this.decodePercentEncoding,a=this.tagBuilder,c=[],u,l=function(){var d=u[0],h=u[1],g=u[4],v=u[5],y=u[9],E=u.index,b=v||y,S=r.charAt(E-1);if(!Ode.isValid(d,h)||E>0&&S==="@"||E>0&&b&&f.wordCharRegExp.test(S))return"continue";if(/\?$/.test(d)&&(d=d.substr(0,d.length-1)),f.matchHasUnbalancedClosingParen(d))d=d.substr(0,d.length-1);else{var _=f.matchHasInvalidCharAfterTld(d,h);_>-1&&(d=d.substr(0,_))}var x=["http://","https://"].find(function(R){return!!h&&h.indexOf(R)!==-1});if(x){var A=d.indexOf(x);d=d.substr(A),h=h.substr(A),E=E+A}var O=h?"scheme":g?"www":"tld",I=!!h;
256c.push(new gU({tagBuilder:a,matchedText:d,offset:E,urlMatchType:O,url:d,protocolUrlMatch:I,protocolRelativeMatch:!!b,stripPrefix:s,stripTrailingSlash:i,decodePercentEncoding:o}))},f=this;(u=n.exec(r))!==null;)l();return c},t.prototype.matchHasUnbalancedClosingParen=function(r){var n=r.charAt(r.length-1),s;if(n===")")s="(";else if(n==="]")s="[";else if(n==="}")s="{";else return!1;for(var i=0,o=0,a=r.length-1;o<a;o++){var c=r.charAt(o);c===s?i++:c===n&&(i=Math.max(i-1,0))}return i===0},t.prototype.matchHasInvalidCharAfterTld=function(r,n){if(!r)return-1;var s=0;n&&(s=r.indexOf(":"),r=r.slice(s));var i=new RegExp("^((.?//)?[-."+dr+"]*[-"+dr+"]\\.[-"+dr+"]+)"),o=i.exec(r);return o===null?-1:(s+=o[1].length,r=r.slice(o[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(r)?s:-1)},t})(qa),sF=new RegExp("[_".concat(dr,"]")),iF=(function(e){Bs(t,e);function t(r){var n=e.call(this,r)||this;return n.serviceName="twitter",n.serviceName=r.serviceName,n}return t.prototype.parseMatches=function(r){for(var n=this.tagBuilder,s=this.serviceName,i=[],o=r.length,a=0,c=-1,u=0;a<o;){var l=r.charAt(a);switch(u){case 0:f(l);break;case 1:d(l);break;case 2:h(l);break;case 3:g(l);break;default:D2(u)}a++}return v(),i;function f(y){y==="#"?(u=2,c=a):ic.test(y)&&(u=1)}function d(y){ic.test(y)||(u=0)}function h(y){sF.test(y)?u=3:ic.test(y)?u=1:u=0}function g(y){sF.test(y)||(v(),c=-1,ic.test(y)?u=1:u=0)}function v(){if(c>-1&&a-c<=140){var y=r.slice(c,a),E=new hU({tagBuilder:n,matchedText:y,offset:c,serviceName:s,hashtag:y.slice(1)});i.push(E)}}},t})(qa),Tde=["twitter","facebook","instagram","tiktok"],Ide=/(?:(?:(?:(\+)?\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]+#?)*/,Pde=/(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})/,jde=new RegExp("".concat(Ide.source,"|").concat(Pde.source),"g"),oF=(function(e){Bs(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.matcherRegex=jde,r}return t.prototype.parseMatches=function(r){for(var n=this.matcherRegex,s=this.tagBuilder,i=[],o;(o=n.exec(r))!==null;){var a=o[0],c=a.replace(/[^0-9,;#]/g,""),u=!!(o[1]||o[2]),l=o.index==0?"":r.substr(o.index-1,1),f=r.substr(o.index+a.length,1),d=!l.match(/\d/)&&!f.match(/\d/);this.testMatch(o[3])&&this.testMatch(a)&&d&&i.push(new mU({tagBuilder:s,matchedText:a,offset:o.index,number:c,plusSign:u}))}return i},t.prototype.testMatch=function(r){return yde.test(r)},t})(qa),kde=new RegExp("@[_".concat(dr,"]{1,50}(?![_").concat(dr,"])"),"g"),Nde=new RegExp("@[_.".concat(dr,"]{1,30}(?![_").concat(dr,"])"),"g"),Mde=new RegExp("@[-_.".concat(dr,"]{1,50}(?![-_").concat(dr,"])"),"g"),Dde=new RegExp("@[_.".concat(dr,"]{1,23}[_").concat(dr,"](?![_").concat(dr,"])"),"g"),$de=new RegExp("[^"+dr+"]"),aF=(function(e){Bs(t,e);function t(r){var n=e.call(this,r)||this;return n.serviceName="twitter",n.matcherRegexes={twitter:kde,instagram:Nde,soundcloud:Mde,tiktok:Dde},n.nonWordCharRegex=$de,n.serviceName=r.serviceName,n}return t.prototype.parseMatches=function(r){var n=this.serviceName,s=this.matcherRegexes[this.serviceName],i=this.nonWordCharRegex,o=this.tagBuilder,a=[],c;if(!s)return a;for(;(c=s.exec(r))!==null;){var u=c.index,l=r.charAt(u-1);if(u===0||i.test(l)){var f=c[0].replace(/\.+$/g,""),d=f.slice(1);a.push(new dU({tagBuilder:o,matchedText:f,offset:u,serviceName:n,mention:d}))}}return a},t})(qa);function Fde(e,t){for(var r=t.onOpenTag,n=t.onCloseTag,s=t.onText,i=t.onComment,o=t.onDoctype,a=new _s,c=0,u=e.length,l=0,f=0,d=a;c<u;){var h=e.charAt(c);switch(l){case 0:g(h);break;case 1:v(h);break;case 2:E(h);break;case 3:y(h);break;case 4:b(h);break;case 5:S(h);break;case 6:_(h);break;case 7:x(h);break;case 8:A(h);break;case 9:O(h);break;case 10:I(h);break;case 11:R(h);break;case 12:$(h);break;case 13:M();break;case 14:q(h);break;case 15:N(h);break;case 16:U(h);break;case 17:X(h);break;case 18:J(h);break;case 19:ee(h);break;case 20:ne(h);break;default:D2(l)}c++}f<c&&ce();function g(ae){ae==="<"&&Y()}function v(ae){ae==="!"?l=13:ae==="/"?(l=2,d=new _s(pr(pr({},d),{isClosing:!0}))):ae==="<"?Y():J1.test(ae)?(l=3,d=new _s(pr(pr({},d),{isOpening:!0}))):(l=0,d=a)}function y(ae){eo.test(ae)?(d=new _s(pr(pr({},d),{name:ge()})),l=4):ae==="<"?Y():ae==="/"?(d=new _s(pr(pr({},d),{name:ge()})),l=12):ae===">"?(d=new _s(pr(pr({},d),{name:ge()})),ie()):!J1.test(ae)&&!gde.test(ae)&&ae!==":"&&re()}function E(ae){ae===">"?re():J1.test(ae)?l=3:re()}function b(ae){eo.test(ae)||(ae==="/"?l=12:ae===">"?ie():ae==="<"?Y():ae==="="||H1.test(ae)||vde.test(ae)?re():l=5)}function S(ae){eo.test(ae)?l=6:ae==="/"?l=12:ae==="="?l=7:ae===">"?ie():ae==="<"?Y():H1.test(ae)&&re()}function _(ae){eo.test(ae)||(ae==="/"?l=12:ae==="="?l=7:ae===">"?ie():ae==="<"?Y():H1.test(ae)?re():l=5)}function x(ae){eo.test(ae)||(ae==='"'?l=8:ae==="'"?l=9:/[>=`]/.test(ae)?re():ae==="<"?Y():l=10)}function A(ae){ae==='"'&&(l=11)}function O(ae){ae==="'"&&(l=11)}function I(ae){eo.test(ae)?l=4:ae===">"?ie():ae==="<"&&Y()}function R(ae){eo.test(ae)?l=4:ae==="/"?l=12:ae===">"?ie():ae==="<"?Y():(l=4,de())}function $(ae){ae===">"?(d=new _s(pr(pr({},d),{isClosing:!0})),ie()):l=4}function M(ae){e.substr(c,2)==="--"?(c+=2,d=new _s(pr(pr({}
256,d),{type:"comment"})),l=14):e.substr(c,7).toUpperCase()==="DOCTYPE"?(c+=7,d=new _s(pr(pr({},d),{type:"doctype"})),l=20):re()}function q(ae){ae==="-"?l=15:ae===">"?re():l=16}function N(ae){ae==="-"?l=18:ae===">"?re():l=16}function U(ae){ae==="-"&&(l=17)}function X(ae){ae==="-"?l=18:l=16}function J(ae){ae===">"?ie():ae==="!"?l=19:ae==="-"||(l=16)}function ee(ae){ae==="-"?l=17:ae===">"?ie():l=16}function ne(ae){ae===">"?ie():ae==="<"&&Y()}function re(){l=0,d=a}function Y(){l=1,d=new _s({idx:c})}function ie(){var ae=e.slice(f,d.idx);ae&&s(ae,f),d.type==="comment"?i(d.idx):d.type==="doctype"?o(d.idx):(d.isOpening&&r(d.name,d.idx),d.isClosing&&n(d.name,d.idx)),re(),f=c+1}function ce(){var ae=e.slice(f,c);s(ae,f),f=c+1}function ge(){var ae=d.idx+(d.isClosing?2:1);return e.slice(ae,c).toLowerCase()}function de(){c--}}var _s=(function(){function e(t){t===void 0&&(t={}),this.idx=t.idx!==void 0?t.idx:-1,this.type=t.type||"tag",this.name=t.name||"",this.isOpening=!!t.isOpening,this.isClosing=!!t.isClosing}return e})(),qde=(function(){function e(t){t===void 0&&(t={}),this.version=e.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(t.urls),this.email=typeof t.email=="boolean"?t.email:this.email,this.phone=typeof t.phone=="boolean"?t.phone:this.phone,this.hashtag=t.hashtag||this.hashtag,this.mention=t.mention||this.mention,this.newWindow=typeof t.newWindow=="boolean"?t.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(t.stripPrefix),this.stripTrailingSlash=typeof t.stripTrailingSlash=="boolean"?t.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=typeof t.decodePercentEncoding=="boolean"?t.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=t.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&&Tde.indexOf(n)===-1)throw new Error("invalid `hashtag` cfg '".concat(n,"' - see docs"));this.truncate=this.normalizeTruncateCfg(t.truncate),this.className=t.className||this.className,this.replaceFn=t.replaceFn||this.replaceFn,this.context=t.context||this}return e.link=function(t,r){var n=new e(r);return n.link(t)},e.parse=function(t,r){var n=new e(r);return n.parse(t)},e.prototype.normalizeUrlsCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{schemeMatches:t,wwwMatches:t,tldMatches:t}:{schemeMatches:typeof t.schemeMatches=="boolean"?t.schemeMatches:!0,wwwMatches:typeof t.wwwMatches=="boolean"?t.wwwMatches:!0,tldMatches:typeof t.tldMatches=="boolean"?t.tldMatches:!0}},e.prototype.normalizeStripPrefixCfg=function(t){return t==null&&(t=!0),typeof t=="boolean"?{scheme:t,www:t}:{scheme:typeof t.scheme=="boolean"?t.scheme:!0,www:typeof t.www=="boolean"?t.www:!0}},e.prototype.normalizeTruncateCfg=function(t){return typeof t=="number"?{length:t,location:"end"}:lde(t||{},{length:Number.POSITIVE_INFINITY,location:"end"})},e.prototype.parse=function(t){var r=this,n=["a","style","script"],s=0,i=[];return Fde(t,{onOpenTag:function(o){n.indexOf(o)>=0&&s++},onText:function(o,a){if(s===0){var c=/( | |<|<|>|>|"|"|')/gi,u=pde(o,c),l=a;u.forEach(function(f,d){if(d%2===0){var h=r.parseText(f,l);i.push.apply(i,h)}l+=f.length})}},onCloseTag:function(o){n.indexOf(o)>=0&&(s=Math.max(s-1,0))},onComment:function(o){},onDoctype:function(o){}}),i=this.compactMatches(i),i=this.removeUnwantedMatches(i),i},e.prototype.compactMatches=function(t){t.sort(function(c,u){return c.getOffset()-u.getOffset()});for(var r=0;r<t.length-1;){var n=t[r],s=n.getOffset(),i=n.getMatchedText().length,o=s+i;if(r+1<t.length){if(t[r+1].getOffset()===s){var a=t[r+1].getMatchedText().length>i?r:r+1;t.splice(a,1);continue}if(t[r+1].getOffset()<o){t.splice(r+1,1);continue}}r++}return t},e.prototype.removeUnwantedMatches=function(t){return this.hashtag||Qi(t,function(r){return r.getType()==="hashtag"}),this.email||Qi(t,function(r){return r.getType()==="email"}),this.phone||Qi(t,function(r){return r.getType()==="phone"}),this.mention||Qi(t,function(r){return r.getType()==="mention"}),this.urls.schemeMatches||Qi(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"}),this.urls.wwwMatches||Qi(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="www"}),this.urls.tldMatches||Qi(t,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="tld"}),t},e.prototype.parseText=function(t,r){r===void 0&&(r=0),r=r||0;for(var n=this.getMatchers(),s=[],i=0,o=n.length;i<o;i++){for(var a=n[i].parseMatches(t),c=0,u=a.length;c<u;c++)a[c].setOffset(r+a[c].getOffset());s.push.apply(s,a)}return s},e.prototype.link=function(t){if(!t)return"";this.sanitizeHtml&&(t=t.replace(/</g,"<").replace(/>/g,">"));for(var r=this.parse(t),n=[],s=0,i=0,o=r.length;i<o;i++){var a=r[i];n.push(t.substring(s,a.getOffset())),n.push(this.createMatchReturnVal(a)),s=a.getOffset()+a.getMatchedText().length}return n.push(t.substring(s)),n.join("")},e.prototype.createMatchReturnVal=function(t){var r;if(this.replaceFn&&(r=this.replaceFn.call(this.context,t)),typeof r=="string")return r;if(r===!1)return t.getMatchedText();if(r instanceof Fw)return r.toAnchorString();var n=t.buildTag();return n.toAnchorString()},e.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var t=this.getTagBuilder(),r=[new iF({tagBuilder:t,serviceName:this.hashtag}),new rF({tagBuilder:t}),new oF({tagBuilder:t}),new aF({tagBuilder:t,serviceName:this.mention}),new nF({tagBuilder:t,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=r},e.prototype.getTagBuilder=function(){var t=this.tagBuilder;return t||(t=this.tagBuilder=new eF({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),t},e.version=ude,e.AnchorTagBuilder=eF,e.HtmlTag=Fw,e.matcher={Email:rF,Hashtag:iF,Matcher:qa,Mention:aF,Phone:oF,Url:nF},e.match={Email:pU,Hashtag:hU,Match:Fa,Mention:dU,Phone:mU,Url:gU},e})(),Bde=/www|@|\:\/\//;function Lde(e){return/^<a[>\s]/i.test(e)}function Ude(e){return/^<\/a\s*>/i.test(e)}function Vde(){var e=[],t=new qde({stripPrefix:!1,url:!0,email:!0,replaceFn:function(r){switch(r.getType()){case"url":e.push({text:r.matchedText,url:r.getUrl()});break;case"email":e.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")});break}return!1}});return{links:e,autolinker:t}}function zde(e){var t,r,n,s,i,o,a,c,u,l,f,d=e.tokens,h=null,g,v;for(r=0,n=d.length;r<n;r++)if(d[r].type==="inline")for(s=d[r].children,f=0,t=s.length-1;t>=0;t--){if(i=s[t],i.type==="link_close"){for(t--;s[t].level!==i.level&&s[t].type!=="link_open";)t--;continue}if(i.type==="htmltag"&&(Lde(i.content)&&f>0&&f--,Ude(i.content)&&f++),!(f>0)&&i.type==="text"&&Bde.test(i.content)){if(h||(h=Vde(),g=h.links,v=h.autolinker),o=i.content,g.length=0,v.link(o),!g.length)continue;for(a=[],l=i.level,c=0;c<g.length;c++)e.inline.validateLink(g[c].url)&&(u=o.indexOf(g[c].text),u&&a.push({type:"text",content:o.slice(0,u),level:l}),a.push({type:"link_open",href:g[c].url,title:"",level:l++}),a.push({type:"text",content:g[c].text,level:l}),a.push({type:"link_close",level:--l}),o=o.slice(u+g[c].text.length));o.length&&a.push({type:"text",content:o,level:l}),d[r].children=s=[].concat(s.slice(0,t),a,s.slice(t+1))}}}function Wde(e){e.core.ruler.push("linkify",zde)}/*! @license DOMPurify 3.4.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.7/LICENSE */function cF(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function Jde(e){if(Array.isArray(e))return e}function Hde(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,s,i,o,a=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(c=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);c=!0);}catch(l){u=!0,s=l}
vendor: 6,700 bytes, lines 256-257
256finally{try{if(!c&&r.return!=null&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw s}}return a}}function Kde(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 257In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Gde(e,t){return Jde(e)||Hde(e,t)||Yde(e,t)||Kde()}function Yde(e,t){if(e){if(typeof e=="string")return cF(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?cF(e,t):void 0}}const EU=Object.entries,uF=Object.setPrototypeOf,Xde=Object.isFrozen,Zde=Object.getPrototypeOf,Qde=Object.getOwnPropertyDescriptor;let fn=Object.freeze,Yn=Object.seal,Zo=Object.create,SU=typeof Reflect<"u"&&Reflect,Bw=SU.apply,Lw=SU.construct;fn||(fn=function(t){return t});Yn||(Yn=function(t){return t});Bw||(Bw=function(t,r){for(var n=arguments.length,s=new Array(n>2?n-2:0),i=2;i<n;i++)s[i-2]=arguments[i];return t.apply(r,s)});Lw||(Lw=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),s=1;s<r;s++)n[s-1]=arguments[s];return new t(...n)});const Jo=wr(Array.prototype.forEach),eme=wr(Array.prototype.lastIndexOf),lF=wr(Array.prototype.pop),Ho=wr(Array.prototype.push),tme=wr(Array.prototype.splice),un=Array.isArray,oc=wr(String.prototype.toLowerCase),G1=wr(String.prototype.toString),fF=wr(String.prototype.match),Ko=wr(String.prototype.replace),pF=wr(String.prototype.indexOf),rme=wr(String.prototype.trim),nme=wr(Number.prototype.toString),sme=wr(Boolean.prototype.toString),hF=typeof BigInt>"u"?null:wr(BigInt.prototype.toString),dF=typeof Symbol>"u"?null:wr(Symbol.prototype.toString),fr=wr(Object.prototype.hasOwnProperty),Ya=wr(Object.prototype.toString),Ur=wr(RegExp.prototype.test),Xa=ime(TypeError);function wr(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),s=1;s<r;s++)n[s-1]=arguments[s];return Bw(e,t,n)}}function ime(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return Lw(e,r)}}function At(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:oc;if(uF&&uF(e,null),!un(t))return e;let n=t.length;for(;n--;){let s=t[n];if(typeof s=="string"){const i=r(s);i!==s&&(Xde(t)||(t[n]=i),s=i)}e[s]=!0}return e}function ome(e){for(let t=0;t<e.length;t++)fr(e,t)||(e[t]=null);return e}function Zr(e){const t=Zo(null);for(const n of EU(e)){var r=Gde(n,2);const s=r[0],i=r[1];fr(e,s)&&(un(i)?t[s]=ome(i):i&&typeof i=="object"&&i.constructor===Object?t[s]=Zr(i):t[s]=i)}return t}function ame(e){switch(typeof e){case"string":return e;case"number":return nme(e);case"boolean":return sme(e);case"bigint":return hF?hF(e):"0";case"symbol":return dF?dF(e):"Symbol()";case"undefined":return Ya(e);case"function":case"object":{if(e===null)return Ya(e);const t=e,r=xs(t,"toString");if(typeof r=="function"){const n=r(t);return typeof n=="string"?n:Ya(n)}return Ya(e)}default:return Ya(e)}}function xs(e,t){for(;e!==null;){const n=Qde(e,t);if(n){if(n.get)return wr(n.get);if(typeof n.value=="function")return wr(n.value)}e=Zde(e)}function r(){return null}return r}function cme(e){try{return Ur(e,""),!0}catch{return!1}}const mF=fn(["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","search","section","select","shadow","slot","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"]),Y1=fn(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),X1=fn(["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"]),ume=fn(["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"]),Z1=fn(["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"]),lme=fn(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),gF=fn(["#text"]),yF=fn(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
257spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Q1=fn(["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","mask-type","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"]),vF=fn(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),Ml=fn(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),fme=Yn(/{{[\w\W]*|^[\w\W]*}}/g),pme=Yn(/<%[\w\W]*|^[\w\W]*%>/g),hme=Yn(/\${[\w\W]*/g),dme=Yn(/^data-[\-\w.\u00B7-\uFFFF]+$/),mme=Yn(/^aria-[\-\w]+$/),bF=Yn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),gme=Yn(/^(?:\w+script|data):/i),yme=Yn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vme=Yn(/^html$/i),bme=Yn(/^[a-z][.\w]*(-[.\w]+)+$/i),ws={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Eme=function(){return typeof window>"u"?null:window},Sme=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;
257const s="data-tt-policy-suffix";r&&r.hasAttribute(s)&&(n=r.getAttribute(s));const i="dompurify"+(n?"#"+n:"");try{return t.createPolicy(i,{createHTML(o){return o},createScriptURL(o){return o}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},EF=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function _U(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Eme();const t=Ye=>_U(Ye);if(t.version="3.4.7",t.removed=[],!e||!e.document||e.document.nodeType!==ws.document||!e.Element)return t.isSupported=!1,t;let r=e.document;const n=r,s=n.currentScript;e.DocumentFragment;const i=e.HTMLTemplateElement,o=e.Node,a=e.Element,c=e.NodeFilter,u=e.NamedNodeMap;u===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const l=e.DOMParser,f=e.trustedTypes,d=a.prototype,h=xs(d,"cloneNode"),g=xs(d,"remove"),v=xs(d,"nextSibling"),y=xs(d,"childNodes"),E=xs(d,"parentNode"),b=xs(d,"shadowRoot"),S=xs(d,"attributes"),_=o&&o.prototype?xs(o.prototype,"nodeType"):null,x=o&&o.prototype?xs(o.prototype,"nodeName"):null;if(typeof i=="function"){const Ye=r.createElement("template");Ye.content&&Ye.content.ownerDocument&&(r=Ye.content.ownerDocument)}let A,O="";const I=r,R=I.implementation,$=I.createNodeIterator,M=I.createDocumentFragment,q=I.getElementsByTagName,N=n.importNode;let U=EF();t.isSupported=typeof EU=="function"&&typeof E=="function"&&R&&R.createHTMLDocument!==void 0;const X=fme,J=pme,ee=hme,ne=dme,re=mme,Y=gme,ie=yme,ce=bme;let ge=bF,de=null;const ae=At({},[...mF,...Y1,...X1,...Z1,...gF]);let W=null;const V=At({},[...yF,...Q1,...vF,...Ml]);let fe=Object.seal(Zo(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}})),ye=null,De=null;const Fe=Object.seal(Zo(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Re=!0,ke=!0,Je=!1,be=!0,Ee=!1,xe=!0,L=!1,T=!1,j=!1,z=!1,Q=!1,oe=!1,he=!0,$e=!1;const tt="user-content-";let F=!0,C=!1,P={},H=null;const le=At({},["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 me=null;const Ae=At({},["audio","video","img","source","image","track"]);let ot=null;const ft=At({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Mt="http://www.w3.org/1998/Math/MathML",dt="http://www.w3.org/2000/svg",ue="http://www.w3.org/1999/xhtml";let Te=ue,Me=!1,nt=null;const Et=At({},[Mt,dt,ue],G1);let St=At({},["mi","mo","mn","ms","mtext"]),zt=At({},["annotation-xml"]);const We=At({},["title","style","font","a","script"]);let Ke=null;const pt=["application/xhtml+xml","text/html"],at="text/html";let mt=null,Or=null;const Ji=r.createElement("form"),Vs=function(te){return te instanceof RegExp||te instanceof Function},di=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Or&&Or===te)return;(!te||typeof te!="object")&&(te={}),te=Zr(te),Ke=pt.indexOf(te.PARSER_MEDIA_TYPE)===-1?at:te.PARSER_MEDIA_TYPE,mt=Ke==="application/xhtml+xml"?G1:oc,de=fr(te,"ALLOWED_TAGS")&&un(te.ALLOWED_TAGS)?At({},te.ALLOWED_TAGS,mt):ae,W=fr(te,"ALLOWED_ATTR")&&un(te.ALLOWED_ATTR)?At({},te.ALLOWED_ATTR,mt):V,nt=fr(te,"ALLOWED_NAMESPACES")&&un(te.ALLOWED_NAMESPACES)?At({},te.ALLOWED_NAMESPACES,G1):Et,ot=fr(te,"ADD_URI_SAFE_ATTR")&&un(te.ADD_URI_SAFE_ATTR)?At(Zr(ft),te.ADD_URI_SAFE_ATTR,mt):ft,me=fr(te,"ADD_DATA_URI_TAGS")&&un(te.ADD_DATA_URI_TAGS)?At(Zr(Ae),te.ADD_DATA_URI_TAGS,mt):Ae,H=fr(te,"FORBID_CONTENTS")&&un(te.FORBID_CONTENTS)?At({},te.FORBID_CONTENTS,mt):le,ye=fr(te,"FORBID_TAGS")&&un(te.FORBID_TAGS)?At({},te.FORBID_TAGS,mt):Zr({}),De=fr(te,"FORBID_ATTR")&&un(te.FORBID_ATTR)?At({},te.FORBID_ATTR,mt):Zr({}),P=fr(te,"USE_PROFILES")?te.USE_PROFILES&&typeof te.USE_PROFILES=="object"?Zr(te.USE_PROFILES):te.USE_PROFILES:!1,Re=te.ALLOW_ARIA_ATTR!==!1,ke=te.ALLOW_DATA_ATTR!==!1,Je=te.ALLOW_UNKNOWN_PROTOCOLS||!1,be=te.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ee=te.SAFE_FOR_TEMPLATES||!1,xe=te.SAFE_FOR_XML!==!1,L=te.WHOLE_DOCUMENT||!1,z=te.RETURN_DOM||!1,Q=te.RETURN_DOM_FRAGMENT||!1,oe=te.RETURN_TRUSTED_TYPE||!1,j=te.FORCE_BODY||!1,he=te.SANITIZE_DOM!==!1,$e=te.SANITIZE_NAMED_PROPS||!1,F=te.KEEP_CONTENT!==!1,C=te.IN_PLACE||!1,ge=cme(te.ALLOWED_URI_REGEXP)?te.ALLOWED_URI_REGEXP:bF,Te=typeof te.NAMESPACE=="str
257ing"?te.NAMESPACE:ue,St=fr(te,"MATHML_TEXT_INTEGRATION_POINTS")&&te.MATHML_TEXT_INTEGRATION_POINTS&&typeof te.MATHML_TEXT_INTEGRATION_POINTS=="object"?Zr(te.MATHML_TEXT_INTEGRATION_POINTS):At({},["mi","mo","mn","ms","mtext"]),zt=fr(te,"HTML_INTEGRATION_POINTS")&&te.HTML_INTEGRATION_POINTS&&typeof te.HTML_INTEGRATION_POINTS=="object"?Zr(te.HTML_INTEGRATION_POINTS):At({},["annotation-xml"]);const Pe=fr(te,"CUSTOM_ELEMENT_HANDLING")&&te.CUSTOM_ELEMENT_HANDLING&&typeof te.CUSTOM_ELEMENT_HANDLING=="object"?Zr(te.CUSTOM_ELEMENT_HANDLING):Zo(null);if(fe=Zo(null),fr(Pe,"tagNameCheck")&&Vs(Pe.tagNameCheck)&&(fe.tagNameCheck=Pe.tagNameCheck),fr(Pe,"attributeNameCheck")&&Vs(Pe.attributeNameCheck)&&(fe.attributeNameCheck=Pe.attributeNameCheck),fr(Pe,"allowCustomizedBuiltInElements")&&typeof Pe.allowCustomizedBuiltInElements=="boolean"&&(fe.allowCustomizedBuiltInElements=Pe.allowCustomizedBuiltInElements),Ee&&(ke=!1),Q&&(z=!0),P&&(de=At({},gF),W=Zo(null),P.html===!0&&(At(de,mF),At(W,yF)),P.svg===!0&&(At(de,Y1),At(W,Q1),At(W,Ml)),P.svgFilters===!0&&(At(de,X1),At(W,Q1),At(W,Ml)),P.mathMl===!0&&(At(de,Z1),At(W,vF),At(W,Ml))),Fe.tagCheck=null,Fe.attributeCheck=null,fr(te,"ADD_TAGS")&&(typeof te.ADD_TAGS=="function"?Fe.tagCheck=te.ADD_TAGS:un(te.ADD_TAGS)&&(de===ae&&(de=Zr(de)),At(de,te.ADD_TAGS,mt))),fr(te,"ADD_ATTR")&&(typeof te.ADD_ATTR=="function"?Fe.attributeCheck=te.ADD_ATTR:un(te.ADD_ATTR)&&(W===V&&(W=Zr(W)),At(W,te.ADD_ATTR,mt))),fr(te,"ADD_URI_SAFE_ATTR")&&un(te.ADD_URI_SAFE_ATTR)&&At(ot,te.ADD_URI_SAFE_ATTR,mt),fr(te,"FORBID_CONTENTS")&&un(te.FORBID_CONTENTS)&&(H===le&&(H=Zr(H)),At(H,te.FORBID_CONTENTS,mt)),fr(te,"ADD_FORBID_CONTENTS")&&un(te.ADD_FORBID_CONTENTS)&&(H===le&&(H=Zr(H)),At(H,te.ADD_FORBID_CONTENTS,mt)),F&&(de["#text"]=!0),L&&At(de,["html","head","body"]),de.table&&(At(de,["tbody"]),delete ye.tbody),te.TRUSTED_TYPES_POLICY){if(typeof te.TRUSTED_TYPES_POLICY.createHTML!="function")throw Xa('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof te.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Xa('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');A=te.TRUSTED_TYPES_POLICY,O=A.createHTML("")}else A===void 0&&(A=Sme(f,s)),A!==null&&typeof O=="string"&&(O=A.createHTML(""));(U.uponSanitizeElement.length>0||U.uponSanitizeAttribute.length>0)&&de===ae&&(de=Zr(de)),U.uponSanitizeAttribute.length>0&&W===V&&(W=Zr(W)),fn&&fn(te),Or=te},ko=At({},[...Y1,...X1,...ume]),mi=At({},[...Z1,...lme]),Hi=function(te){let Pe=E(te);(!Pe||!Pe.tagName)&&(Pe={namespaceURI:Te,tagName:"template"});const Ve=oc(te.tagName),Ce=oc(Pe.tagName);return nt[te.namespaceURI]?te.namespaceURI===dt?Pe.namespaceURI===ue?Ve==="svg":Pe.namespaceURI===Mt?Ve==="svg"&&(Ce==="annotation-xml"||St[Ce]):!!ko[Ve]:te.namespaceURI===Mt?Pe.namespaceURI===ue?Ve==="math":Pe.namespaceURI===dt?Ve==="math"&&zt[Ce]:!!mi[Ve]:te.namespaceURI===ue?Pe.namespaceURI===dt&&!zt[Ce]||Pe.namespaceURI===Mt&&!St[Ce]?!1:!mi[Ve]&&(We[Ve]||!ko[Ve]):!!(Ke==="application/xhtml+xml"&&nt[te.namespaceURI]):!1},$r=function(te){Ho(t.removed,{element:te});try{E(te).removeChild(te)}catch{g(te)}},vr=function(te,Pe){try{Ho(t.removed,{attribute:Pe.getAttributeNode(te),from:Pe})}catch{Ho(t.removed,{attribute:null,from:Pe})}if(Pe.removeAttribute(te),te==="is")if(z||Q)try{$r(Pe)}catch{}else try{Pe.setAttribute(te,"")}catch{}},No=function(te){let Pe=null,Ve=null;if(j)te="<remove></remove>"+te;else{const et=fF(te,/^[\r\n\t ]+/);Ve=et&&et[0]}Ke==="application/xhtml+xml"&&Te===ue&&(te='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+te+"</body></html>");const Ce=A?A.createHTML(te):te;if(Te===ue)try{Pe=new l().parseFromString(Ce,Ke)}catch{}if(!Pe||!Pe.documentElement){Pe=R.createDocument(Te,"template",null);try{Pe.documentElement.innerHTML=Me?O:Ce}catch{}}const Ne=Pe.body||Pe.documentElement;return te&&Ve&&Ne.insertBefore(r.createTextNode(Ve),Ne.childNodes[0]||null),Te===ue?q.call(Pe,L?"html":"body")[0]:L?Pe.documentElement:Ne},gi=function(te){return $.call(te.ownerDocument||te,te,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},yi=function(te){te.normalize();const Pe=$.call(te.ownerDocument||te,te,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let Ve=Pe.nextNode();for(;Ve;){let Ce=Ve.data;Jo([X,J,ee],Ne=>{Ce=Ko(Ce,Ne," ")}),Ve.data=Ce,Ve=Pe.nextNode()}},Fn=function(te){const Pe=x?x(te):null;
257return typeof Pe!="string"||mt(Pe)!=="form"?!1:typeof te.nodeName!="string"||typeof te.textContent!="string"||typeof te.removeChild!="function"||te.attributes!==S(te)||typeof te.removeAttribute!="function"||typeof te.setAttribute!="function"||typeof te.namespaceURI!="string"||typeof te.insertBefore!="function"||typeof te.hasChildNodes!="function"||te.nodeType!==_(te)||te.childNodes!==y(te)},ur=function(te){if(!_||typeof te!="object"||te===null)return!1;try{return _(te)===ws.documentFragment}catch{return!1}},_t=function(te){if(!_||typeof te!="object"||te===null)return!1;try{return typeof _(te)=="number"}catch{return!1}};function nn(Ye,te,Pe){Jo(Ye,Ve=>{Ve.call(t,te,Pe,Or)})}const Ki=function(te){let Pe=null;if(nn(U.beforeSanitizeElements,te,null),Fn(te))return $r(te),!0;const Ve=mt(te.nodeName);if(nn(U.uponSanitizeElement,te,{tagName:Ve,allowedTags:de}),xe&&te.hasChildNodes()&&!_t(te.firstElementChild)&&Ur(/<[/\w!]/g,te.innerHTML)&&Ur(/<[/\w!]/g,te.textContent)||xe&&te.namespaceURI===ue&&Ve==="style"&&_t(te.firstElementChild)||te.nodeType===ws.progressingInstruction||xe&&te.nodeType===ws.comment&&Ur(/<[/\w]/g,te.data))return $r(te),!0;if(ye[Ve]||!(Fe.tagCheck instanceof Function&&Fe.tagCheck(Ve))&&!de[Ve]){if(!ye[Ve]&&Cr(Ve)&&(fe.tagNameCheck instanceof RegExp&&Ur(fe.tagNameCheck,Ve)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(Ve)))return!1;if(F&&!H[Ve]){const Ne=E(te),et=y(te);if(et&&Ne){const vt=et.length;for(let qt=vt-1;qt>=0;--qt){const or=h(et[qt],!0);Ne.insertBefore(or,v(te))}}}return $r(te),!0}return(_?_(te):te.nodeType)===ws.element&&!Hi(te)||(Ve==="noscript"||Ve==="noembed"||Ve==="noframes")&&Ur(/<\/no(script|embed|frames)/i,te.innerHTML)?($r(te),!0):(Ee&&te.nodeType===ws.text&&(Pe=te.textContent,Jo([X,J,ee],Ne=>{Pe=Ko(Pe,Ne," ")}),te.textContent!==Pe&&(Ho(t.removed,{element:te.cloneNode()}),te.textContent=Pe)),nn(U.afterSanitizeElements,te,null),!1)},wt=function(te,Pe,Ve){if(De[Pe]||he&&(Pe==="id"||Pe==="name")&&(Ve in r||Ve in Ji))return!1;const Ce=W[Pe]||Fe.attributeCheck instanceof Function&&Fe.attributeCheck(Pe,te);if(!(ke&&!De[Pe]&&Ur(ne,Pe))){if(!(Re&&Ur(re,Pe))){if(!Ce||De[Pe]){if(!(Cr(te)&&(fe.tagNameCheck instanceof RegExp&&Ur(fe.tagNameCheck,te)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(te))&&(fe.attributeNameCheck instanceof RegExp&&Ur(fe.attributeNameCheck,Pe)||fe.attributeNameCheck instanceof Function&&fe.attributeNameCheck(Pe,te))||Pe==="is"&&fe.allowCustomizedBuiltInElements&&(fe.tagNameCheck instanceof RegExp&&Ur(fe.tagNameCheck,Ve)||fe.tagNameCheck instanceof Function&&fe.tagNameCheck(Ve))))return!1}else if(!ot[Pe]){if(!Ur(ge,Ko(Ve,ie,""))){if(!((Pe==="src"||Pe==="xlink:href"||Pe==="href")&&te!=="script"&&pF(Ve,"data:")===0&&me[te])){if(!(Je&&!Ur(Y,Ko(Ve,ie,"")))){if(Ve)return!1}}}}}}return!0},zs=At({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Cr=function(te){return!zs[oc(te)]&&Ur(ce,te)},rs=function(te){nn(U.beforeSanitizeAttributes,te,null);const Pe=te.attributes;if(!Pe||Fn(te))return;const Ve={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:W,forceKeepAttr:void 0};let Ce=Pe.length;for(;Ce--;){const Ne=Pe[Ce],et=Ne.name,vt=Ne.namespaceURI,qt=Ne.value,or=mt(et),Gr=qt;let Ut=et==="value"?Gr:rme(Gr);if(Ve.attrName=or,Ve.attrValue=Ut,Ve.keepAttr=!0,Ve.forceKeepAttr=void 0,nn(U.uponSanitizeAttribute,te,Ve),Ut=Ve.attrValue,$e&&(or==="id"||or==="name")&&pF(Ut,tt)!==0&&(vr(et,te),Ut=tt+Ut),xe&&Ur(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Ut)){vr(et,te);continue}if(or==="attributename"&&fF(Ut,"href")){vr(et,te);continue}if(Ve.forceKeepAttr)continue;if(!Ve.keepAttr){vr(et,te);continue}if(!be&&Ur(/\/>/i,Ut)){vr(et,te);continue}Ee&&Jo([X,J,ee],Yr=>{Ut=Ko(Ut,Yr," ")});const sn=mt(te.nodeName);if(!wt(sn,or,Ut)){vr(et,te);continue}if(A&&typeof f=="object"&&typeof f.getAttributeType=="function"&&!vt)switch(f.getAttributeType(sn,or)){case"TrustedHTML":{Ut=A.createHTML(Ut);break}case"TrustedScriptURL":{Ut=A.createScriptURL(Ut);break}}if(Ut!==Gr)try{vt?te.setAttributeNS(vt,et,Ut):te.setAttribute(et,Ut),Fn(te)?$r(te):lF(t.removed)}catch{vr(et,te)}}nn(U.afterSanitizeAttributes,te,null)},yn=function(te){let Pe=null;const Ve=gi(te);for(nn(U.beforeSanitizeShadowDOM,te,null);Pe=Ve.nextNode();)if(nn(U.uponSanitizeShadowNode,Pe,null),Ki(Pe),rs(Pe),ur(Pe.content)&&yn(Pe.content),(_?_(Pe):Pe.nodeType)===ws.element){const Ne=b?b(Pe):Pe.shadowRoot;ur(Ne)&&(Pr(Ne),yn(Ne))}nn(U.afterSanitizeShadowDOM,te,null)},Pr=function(te){const Pe=_?_(te):te.nodeType;if(Pe===ws.element){const Ne=b?b(te):te.shadowRoot;ur(Ne)&&(Pr(Ne),yn(Ne))}const Ve=y?y(te):te.childNodes;if(!Ve)return;const Ce=[];Jo(Ve,Ne=>{Ho(Ce,Ne)});for(const Ne of Ce)Pr(Ne);if(Pe===ws.element){const Ne=x?x(te):null;if(typeof Ne=="string"&&mt(Ne)==="template"){const et=te.content;ur(et)&&Pr(et)}}};return t.sanitize=function(Ye){let te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Pe=null,Ve=null,Ce=null,Ne=null;if(Me=!Ye,Me&&(Ye="<!-->
257"),typeof Ye!="string"&&!_t(Ye)&&(Ye=ame(Ye),typeof Ye!="string"))throw Xa("dirty is not a string, aborting");if(!t.isSupported)return Ye;if(T||di(te),t.removed=[],typeof Ye=="string"&&(C=!1),C){const qt=x?x(Ye):Ye.nodeName;if(typeof qt=="string"){const or=mt(qt);if(!de[or]||ye[or])throw Xa("root node is forbidden and cannot be sanitized in-place")}if(Fn(Ye))throw Xa("root node is clobbered and cannot be sanitized in-place");Pr(Ye)}else if(_t(Ye))Pe=No("<!---->"),Ve=Pe.ownerDocument.importNode(Ye,!0),Ve.nodeType===ws.element&&Ve.nodeName==="BODY"||Ve.nodeName==="HTML"?Pe=Ve:Pe.appendChild(Ve),Pr(Ve);else{if(!z&&!Ee&&!L&&Ye.indexOf("<")===-1)return A&&oe?A.createHTML(Ye):Ye;if(Pe=No(Ye),!Pe)return z?null:oe?O:""}Pe&&j&&$r(Pe.firstChild);const et=gi(C?Ye:Pe);for(;Ce=et.nextNode();)Ki(Ce),rs(Ce),ur(Ce.content)&&yn(Ce.content);if(C)return Ee&&yi(Ye),Ye;if(z){if(Ee&&yi(Pe),Q)for(Ne=M.call(Pe.ownerDocument);Pe.firstChild;)Ne.appendChild(Pe.firstChild);else Ne=Pe;return(W.shadowroot||W.shadowrootmode)&&(Ne=N.call(n,Ne,!0)),Ne}let vt=L?Pe.outerHTML:Pe.innerHTML;return L&&de["!doctype"]&&Pe.ownerDocument&&Pe.ownerDocument.doctype&&Pe.ownerDocument.doctype.name&&Ur(vme,Pe.ownerDocument.doctype.name)&&(vt="<!DOCTYPE "+Pe.ownerDocument.doctype.name+`> 258`+vt),Ee&&Jo([X,J,ee],qt=>{vt=Ko(vt,qt," ")}),A&&oe?A.createHTML(vt):vt},t.setConfig=function(){let Ye=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};di(Ye),T=!0},t.clearConfig=function(){Or=null,T=!1},t.isValidAttribute=function(Ye,te,Pe){Or||di({});const Ve=mt(Ye),Ce=mt(te);return wt(Ve,Ce,Pe)},t.addHook=function(Ye,te){typeof te=="function"&&Ho(U[Ye],te)},t.removeHook=function(Ye,te){if(te!==void 0){const Pe=eme(U[Ye],te);return Pe===-1?void 0:tme(U[Ye],Pe,1)[0]}return lF(U[Ye])},t.removeHooks=function(Ye){U[Ye]=[]},t.removeAllHooks=function(){U=EF()},t}var Uw=_U(),e_,SF;function _me(){if(SF)return e_;SF=1;var e=ii(),t=/[\\^$.*+?()[\]{}|]/g,r=RegExp(t.source);function n(s){return s=e(s),s&&r.test(s)?s.replace(t,"\\$&"):s}return e_=n,e_}var wme=_me();const xme=ut(wme);var t_,_F;function Ame(){if(_F)return t_;_F=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n,s){return n!=null&&t.call(n,s)}return t_=r,t_}var r_,wF;function Ome(){if(wF)return r_;wF=1;var e=Ame(),t=iB();function r(n,s){return n!=null&&t(n,s,e)}return r_=r,r_}var Cme=Ome();const Rme=ut(Cme);var Tme=UL();const Ime=ut(Tme);/*! For license information please see swagger-ui-es-bundle-core.js.LICENSE.txt */var Pme={287:function(e,t,r){const n=r(987),s=r(362),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=c,t.SlowBuffer=function(T){return+T!=T&&(T=0),c.alloc(+T)},t.INSPECT_MAX_BYTES=50;const o=2147483647;function a(L){if(L>o)throw new RangeError('The value "'+L+'" is invalid for option "size"');const T=new Uint8Array(L);return Object.setPrototypeOf(T,c.prototype),T}function c(L,T,j){if(typeof L=="number"){if(typeof T=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(L)}return u(L,T,j)}function u(L,T,j){if(typeof L=="string")return(function(he,$e){if(typeof $e=="string"&&$e!==""||($e="utf8"),!c.isEncoding($e))throw new TypeError("Unknown encoding: "+$e);const tt=0|v(he,$e);let F=a(tt);const C=F.write(he,$e);return C!==tt&&(F=F.slice(0,C)),F})(L,T);if(ArrayBuffer.isView(L))return(function(he){if(ke(he,Uint8Array)){const $e=new Uint8Array(he);return h($e.buffer,$e.byteOffset,$e.byteLength)}return d(he)})(L);if(L==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof L);if(ke(L,ArrayBuffer)||L&&ke(L.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke(L,SharedArrayBuffer)||L&&ke(L.buffer,SharedArrayBuffer)))return h(L,T,j);if(typeof L=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const z=L.valueOf&&L.valueOf();if(z!=null&&z!==L)return c.from(z,T,j);const Q=(function(he){if(c.isBuffer(he)){const $e=0|g(he.length),tt=a($e);return tt.length===0||he.copy(tt,0,0,$e),tt}if(he.length!==void 0)return typeof he.length!="number"||Je(he.length)?a(0):d(he);
258if(he.type==="Buffer"&&Array.isArray(he.data))return d(he.data)})(L);if(Q)return Q;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof L[Symbol.toPrimitive]=="function")return c.from(L[Symbol.toPrimitive]("string"),T,j);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof L)}function l(L){if(typeof L!="number")throw new TypeError('"size" argument must be of type number');if(L<0)throw new RangeError('The value "'+L+'" is invalid for option "size"')}function f(L){return l(L),a(L<0?0:0|g(L))}function d(L){const T=L.length<0?0:0|g(L.length),j=a(T);for(let z=0;z<T;z+=1)j[z]=255&L[z];return j}function h(L,T,j){if(T<0||L.byteLength<T)throw new RangeError('"offset" is outside of buffer bounds');if(L.byteLength<T+(j||0))throw new RangeError('"length" is outside of buffer bounds');let z;return z=T===void 0&&j===void 0?new Uint8Array(L):j===void 0?new Uint8Array(L,T):new Uint8Array(L,T,j),Object.setPrototypeOf(z,c.prototype),z}function g(L){if(L>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return 0|L}function v(L,T){if(c.isBuffer(L))return L.length;if(ArrayBuffer.isView(L)||ke(L,ArrayBuffer))return L.byteLength;if(typeof L!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof L);const j=L.length,z=arguments.length>2&&arguments[2]===!0;if(!z&&j===0)return 0;let Q=!1;for(;;)switch(T){case"ascii":case"latin1":case"binary":return j;case"utf8":case"utf-8":return De(L).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*j;case"hex":return j>>>1;case"base64":return Fe(L).length;default:if(Q)return z?-1:De(L).length;T=(""+T).toLowerCase(),Q=!0}}function y(L,T,j){let z=!1;if((T===void 0||T<0)&&(T=0),T>this.length||((j===void 0||j>this.length)&&(j=this.length),j<=0)||(j>>>=0)<=(T>>>=0))return"";for(L||(L="utf8");;)switch(L){case"hex":return U(this,T,j);case"utf8":case"utf-8":return $(this,T,j);case"ascii":return q(this,T,j);case"latin1":case"binary":return N(this,T,j);case"base64":return R(this,T,j);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return X(this,T,j);default:if(z)throw new TypeError("Unknown encoding: "+L);L=(L+"").toLowerCase(),z=!0}}function E(L,T,j){const z=L[T];L[T]=L[j],L[j]=z}function b(L,T,j,z,Q){if(L.length===0)return-1;if(typeof j=="string"?(z=j,j=0):j>2147483647?j=2147483647:j<-2147483648&&(j=-2147483648),Je(j=+j)&&(j=Q?0:L.length-1),j<0&&(j=L.length+j),j>=L.length){if(Q)return-1;j=L.length-1}else if(j<0){if(!Q)return-1;j=0}if(typeof T=="string"&&(T=c.from(T,z)),c.isBuffer(T))return T.length===0?-1:S(L,T,j,z,Q);if(typeof T=="number")return T&=255,typeof Uint8Array.prototype.indexOf=="function"?Q?Uint8Array.prototype.indexOf.call(L,T,j):Uint8Array.prototype.lastIndexOf.call(L,T,j):S(L,[T],j,z,Q);throw new TypeError("val must be string, number or Buffer")}function S(L,T,j,z,Q){let oe,he=1,$e=L.length,tt=T.length;if(z!==void 0&&((z=String(z).toLowerCase())==="ucs2"||z==="ucs-2"||z==="utf16le"||z==="utf-16le")){if(L.length<2||T.length<2)return-1;he=2,$e/=2,tt/=2,j/=2}function F(C,P){return he===1?C[P]:C.readUInt16BE(P*he)}if(Q){let C=-1;for(oe=j;oe<$e;oe++)if(F(L,oe)===F(T,C===-1?0:oe-C)){if(C===-1&&(C=oe),oe-C+1===tt)return C*he}else C!==-1&&(oe-=oe-C),C=-1}else for(j+tt>$e&&(j=$e-tt),oe=j;oe>=0;oe--){let C=!0;for(let P=0;P<tt;P++)if(F(L,oe+P)!==F(T,P)){C=!1;break}if(C)return oe}return-1}function _(L,T,j,z){j=Number(j)||0;const Q=L.length-j;z?(z=Number(z))>Q&&(z=Q):z=Q;const oe=T.length;let he;for(z>oe/2&&(z=oe/2),he=0;he<z;++he){const $e=parseInt(T.substr(2*he,2),16);if(Je($e))return he;L[j+he]=$e}return he}function x(L,T,j,z){return Re(De(T,L.length-j),L,j,z)}function A(L,T,j,z){return Re((function(oe){const he=[];for(let $e=0;$e<oe.length;++$e)he.push(255&oe.charCodeAt($e));return he})(T),L,j,z)}function O(L,T,j,z){return Re(Fe(T),L,j,z)}function I(L,T,j,z){return Re((function(oe,he){let $e,tt,F;const C=[];for(let P=0;P<oe.length&&!((he-=2)<0);++P)$e=oe.charCodeAt(P),tt=$e>>8,F=$e%256,C.push(F),C.push(tt);return C})(T,L.length-j),L,j,z)}function R(L,T,j){return T===0&&j===L.length?n.fromByteArray(L):n.fromByteArray(L.slice(T,j))}function $(L,T,j){j=Math.min(L.length,j);const z=[];let Q=T;for(;Q<j;){const oe=L[Q];let he=null,$e=oe>239?4:oe>223?3:oe>191?2:1;if(Q+$e<=j){let tt,F,C,P;switch($e){case 1:oe<128&&(he=oe);break;case 2:tt=L[Q+1],(192&tt)==128&&(P=(31&oe)<<6|63&tt,P>127&&(he=P));break;case 3:tt=L[Q+1],F=L[Q+2],(192&tt)==128&&(192&F)==128&&(P=(15&oe)<<12|(63&tt)<<6|63&F,P>2047&&(P<55296||P>57343)&&(he=P));break;case 4:tt=L[Q+1],F=L[Q+2],C=L[Q+3],(192&tt)==128&&(192&F)==128&&(192&C)==128&&(P=(15&oe)<<18|(63&tt)<<12|(63&F)<<6|63&C,P>65535&&P<1114112&&(he=P))}}he===null?(he=65533,$e=1):he>65535&&(he-=65536,z.push(he>>>10&1023|55296),he=56320|1023&he),z.push(he),Q+=$e}return(function(he){const $e=he.length;if($e<=M)return String.fromCharCode.apply(String,he);let tt="",F=0;for(;F<$e;)tt+=String.fromCharCode.apply(String,he.slice(F,F+=M));return tt})(z)}t.kMaxLength=o,c.TYPED_ARRAY_SUPPORT=(function(){try{const T=new Uint8Array(1),j={foo:function(){return 42}};return Object.setPrototypeOf(j,Uint8Array.prototype),Object.setPrototypeOf(T,j),T.foo()===42}catch{return!1}})(),c.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(c.prototype,"parent",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.buffer}}),Object.defineProperty(c.prototype,"offset",{enumerable:!0,get:function(){if(c.isBuffer(this))return this.byteOffset}}),c.poolSize=8192,c.from=function(L,T,j){return u(L,T,j)},Object.setPrototypeOf(c.prototype,Uint8Array.prototype),Object.setPrototypeOf(c,Uint8Array),c.alloc=function(L,T,j){return(function(Q,oe,he){return l(Q),Q<=0?a(Q):oe!==void 0?typeof he=="string"?a(Q).fill(oe,he):a(Q).fill(oe):a(Q)})(L,T,j)},c.allocUnsafe=function(L){return f(L)},c.allocUnsafeSlow=function(L){return f(L)},c.isBuffer=function(T){return T!=null&&T._isBuffer===!0&&T!==c.prototype},c.compare=function(T,j){if(ke(T,Uint8Array)&&(T=c.from(T,T.offset,T.byteLength)),ke(j,Uint8Array)&&(j=c.from(j,j.offset,j.byteLength)),!c.isBuffer(T)||!c.isBuffer(j))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(T===j)return 0;let z=T.length,Q=j.length;for(let oe=0,he=Math.min(z,Q);oe<he;++oe)if(T[oe]!==j[oe]){z=T[oe],Q=j[oe];break}return z<Q?-1:Q<z?1:0},c.isEncoding=function(T){switch(String(T).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}},c.concat=function(T,j){if(!Array.isArray(T))throw new TypeError('"list" argument must be an Array of Buffers');if(T.length===0)return c.alloc(0);let z;if(j===void 0)for(j=0,z=0;z<T.length;++z)j+=T[z].length;const Q=c.allocUnsafe(j);let oe=0;for(z=0;z<T.length;++z){let he=T[z];if(ke(he,Uint8Array))oe+he.length>Q.length?(c.isBuffer(he)||(he=c.from(he)),he.copy(Q,oe)):Uint8Array.prototype.set.call(Q,he,oe);else{if(!c.isBuffer(he))throw new TypeError('"list" argument must be an Array of Buffers');he.copy(Q,oe)}oe+=he.length}return Q},c.byteLength=v,c.prototype._isBuffer=!0,c.prototype.swap16=function(){const T=this.length;if(T%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let j=0;j<T;j+=2)E(this,j,j+1);return this},c.prototype.swap32=function(){const T=this.length;if(T%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let j=0;j<T;j+=4)E(this,j,j+3),E(this,j+1,j+2);return this},c.prototype.swap64=function(){const T=this.length;if(T%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let j=0;j<T;
vendor: 12,414 bytes, line 258
258j+=8)E(this,j,j+7),E(this,j+1,j+6),E(this,j+2,j+5),E(this,j+3,j+4);return this},c.prototype.toString=function(){const T=this.length;return T===0?"":arguments.length===0?$(this,0,T):y.apply(this,arguments)},c.prototype.toLocaleString=c.prototype.toString,c.prototype.equals=function(T){if(!c.isBuffer(T))throw new TypeError("Argument must be a Buffer");return this===T||c.compare(this,T)===0},c.prototype.inspect=function(){let T="";const j=t.INSPECT_MAX_BYTES;return T=this.toString("hex",0,j).replace(/(.{2})/g,"$1 ").trim(),this.length>j&&(T+=" ... "),"<Buffer "+T+">"},i&&(c.prototype[i]=c.prototype.inspect),c.prototype.compare=function(T,j,z,Q,oe){if(ke(T,Uint8Array)&&(T=c.from(T,T.offset,T.byteLength)),!c.isBuffer(T))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof T);if(j===void 0&&(j=0),z===void 0&&(z=T?T.length:0),Q===void 0&&(Q=0),oe===void 0&&(oe=this.length),j<0||z>T.length||Q<0||oe>this.length)throw new RangeError("out of range index");if(Q>=oe&&j>=z)return 0;if(Q>=oe)return-1;if(j>=z)return 1;if(this===T)return 0;let he=(oe>>>=0)-(Q>>>=0),$e=(z>>>=0)-(j>>>=0);const tt=Math.min(he,$e),F=this.slice(Q,oe),C=T.slice(j,z);for(let P=0;P<tt;++P)if(F[P]!==C[P]){he=F[P],$e=C[P];break}return he<$e?-1:$e<he?1:0},c.prototype.includes=function(T,j,z){return this.indexOf(T,j,z)!==-1},c.prototype.indexOf=function(T,j,z){return b(this,T,j,z,!0)},c.prototype.lastIndexOf=function(T,j,z){return b(this,T,j,z,!1)},c.prototype.write=function(T,j,z,Q){if(j===void 0)Q="utf8",z=this.length,j=0;else if(z===void 0&&typeof j=="string")Q=j,z=this.length,j=0;else{if(!isFinite(j))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");j>>>=0,isFinite(z)?(z>>>=0,Q===void 0&&(Q="utf8")):(Q=z,z=void 0)}const oe=this.length-j;if((z===void 0||z>oe)&&(z=oe),T.length>0&&(z<0||j<0)||j>this.length)throw new RangeError("Attempt to write outside buffer bounds");Q||(Q="utf8");let he=!1;for(;;)switch(Q){case"hex":return _(this,T,j,z);case"utf8":case"utf-8":return x(this,T,j,z);case"ascii":case"latin1":case"binary":return A(this,T,j,z);case"base64":return O(this,T,j,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,T,j,z);default:if(he)throw new TypeError("Unknown encoding: "+Q);Q=(""+Q).toLowerCase(),he=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const M=4096;function q(L,T,j){let z="";j=Math.min(L.length,j);for(let Q=T;Q<j;++Q)z+=String.fromCharCode(127&L[Q]);return z}function N(L,T,j){let z="";j=Math.min(L.length,j);for(let Q=T;Q<j;++Q)z+=String.fromCharCode(L[Q]);return z}function U(L,T,j){const z=L.length;(!T||T<0)&&(T=0),(!j||j<0||j>z)&&(j=z);let Q="";for(let oe=T;oe<j;++oe)Q+=be[L[oe]];return Q}function X(L,T,j){const z=L.slice(T,j);let Q="";for(let oe=0;oe<z.length-1;oe+=2)Q+=String.fromCharCode(z[oe]+256*z[oe+1]);return Q}function J(L,T,j){if(L%1!=0||L<0)throw new RangeError("offset is not uint");if(L+T>j)throw new RangeError("Trying to access beyond buffer length")}function ee(L,T,j,z,Q,oe){if(!c.isBuffer(L))throw new TypeError('"buffer" argument must be a Buffer instance');if(T>Q||T<oe)throw new RangeError('"value" argument is out of bounds');if(j+z>L.length)throw new RangeError("Index out of range")}function ne(L,T,j,z,Q){W(T,z,Q,L,j,7);let oe=Number(T&BigInt(4294967295));L[j++]=oe,oe>>=8,L[j++]=oe,oe>>=8,L[j++]=oe,oe>>=8,L[j++]=oe;let he=Number(T>>BigInt(32)&BigInt(4294967295));return L[j++]=he,he>>=8,L[j++]=he,he>>=8,L[j++]=he,he>>=8,L[j++]=he,j}function re(L,T,j,z,Q){W(T,z,Q,L,j,7);let oe=Number(T&BigInt(4294967295));L[j+7]=oe,oe>>=8,L[j+6]=oe,oe>>=8,L[j+5]=oe,oe>>=8,L[j+4]=oe;let he=Number(T>>BigInt(32)&BigInt(4294967295));return L[j+3]=he,he>>=8,L[j+2]=he,he>>=8,L[j+1]=he,he>>=8,L[j]=he,j+8}function Y(L,T,j,z,Q,oe){if(j+z>L.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("Index out of range")}function ie(L,T,j,z,Q){return T=+T,j>>>=0,Q||Y(L,0,j,4),s.write(L,T,j,z,23,4),j+4}function ce(L,T,j,z,Q){return T=+T,j>>>=0,Q||Y(L,0,j,8),s.write(L,T,j,z,52,8),j+8}c.prototype.slice=function(T,j){const z=this.length;(T=~~T)<0?(T+=z)<0&&(T=0):T>z&&(T=z),(j=j===void 0?z:~~j)<0?(j+=z)<0&&(j=0):j>z&&(j=z),j<T&&(j=T);const Q=this.subarray(T,j);return Object.setPrototypeOf(Q,c.prototype),Q},c.prototype.readUintLE=c.prototype.readUIntLE=function(T,j,z){T>>>=0,j>>>=0,z||J(T,j,this.length);let Q=this[T],oe=1,he=0;for(;++he<j&&(oe*=256);)Q+=this[T+he]*oe;return Q},c.prototype.readUintBE=c.prototype.readUIntBE=function(T,j,z){T>>>=0,j>>>=0,z||J(T,j,this.length);let Q=this[T+--j],oe=1;for(;j>0&&(oe*=256);)Q+=this[T+--j]*oe;return Q},c.prototype.readUint8=c.prototype.readUInt8=function(T,j){return T>>>=0,j||J(T,1,this.length),this[T]},c.prototype.readUint16LE=c.prototype.readUInt16LE=function(T,j){return T>>>=0,j||J(T,2,this.length),this[T]|this[T+1]<<8},c.prototype.readUint16BE=c.prototype.readUInt16BE=function(T,j){return T>>>=0,j||J(T,2,this.length),this[T]<<8|this[T+1]},c.prototype.readUint32LE=c.prototype.readUInt32LE=function(T,j){return T>>>=0,j||J(T,4,this.length),(this[T]|this[T+1]<<8|this[T+2]<<16)+16777216*this[T+3]},c.prototype.readUint32BE=c.prototype.readUInt32BE=function(T,j){return T>>>=0,j||J(T,4,this.length),16777216*this[T]+(this[T+1]<<16|this[T+2]<<8|this[T+3])},c.prototype.readBigUInt64LE=Ee((function(T){V(T>>>=0,"offset");const j=this[T],z=this[T+7];j!==void 0&&z!==void 0||fe(T,this.length-8);const Q=j+256*this[++T]+65536*this[++T]+this[++T]*2**24,oe=this[++T]+256*this[++T]+65536*this[++T]+z*2**24;return BigInt(Q)+(BigInt(oe)<<BigInt(32))})),c.prototype.readBigUInt64BE=Ee((function(T){V(T>>>=0,"offset");const j=this[T],z=this[T+7];j!==void 0&&z!==void 0||fe(T,this.length-8);const Q=j*2**24+65536*this[++T]+256*this[++T]+this[++T],oe=this[++T]*2**24+65536*this[++T]+256*this[++T]+z;return(BigInt(Q)<<BigInt(32))+BigInt(oe)})),c.prototype.readIntLE=function(T,j,z){T>>>=0,j>>>=0,z||J(T,j,this.length);let Q=this[T],oe=1,he=0;for(;++he<j&&(oe*=256);)Q+=this[T+he]*oe;return oe*=128,Q>=oe&&(Q-=Math.pow(2,8*j)),Q},c.prototype.readIntBE=function(T,j,z){T>>>=0,j>>>=0,z||J(T,j,this.length);let Q=j,oe=1,he=this[T+--Q];for(;Q>0&&(oe*=256);)he+=this[T+--Q]*oe;return oe*=128,he>=oe&&(he-=Math.pow(2,8*j)),he},c.prototype.readInt8=function(T,j){return T>>>=0,j||J(T,1,this.length),128&this[T]?-1*(255-this[T]+1):this[T]},c.prototype.readInt16LE=function(T,j){T>>>=0,j||J(T,2,this.length);const z=this[T]|this[T+1]<<8;return 32768&z?4294901760|z:z},c.prototype.readInt16BE=function(T,j){T>>>=0,j||J(T,2,this.length);const z=this[T+1]|this[T]<<8;return 32768&z?4294901760|z:z},c.prototype.readInt32LE=function(T,j){return T>>>=0,j||J(T,4,this.length),this[T]|this[T+1]<<8|this[T+2]<<16|this[T+3]<<24},c.prototype.readInt32BE=function(T,j){return T>>>=0,j||J(T,4,this.length),this[T]<<24|this[T+1]<<16|this[T+2]<<8|this[T+3]},c.prototype.readBigInt64LE=Ee((function(T){V(T>>>=0,"offset");const j=this[T],z=this[T+7];j!==void 0&&z!==void 0||fe(T,this.length-8);const Q=this[T+4]+256*this[T+5]+65536*this[T+6]+(z<<24);return(BigInt(Q)<<BigInt(32))+BigInt(j+256*this[++T]+65536*this[++T]+this[++T]*2**24)})),c.prototype.readBigInt64BE=Ee((function(T){V(T>>>=0,"offset");const j=this[T],z=this[T+7];j!==void 0&&z!==void 0||fe(T,this.length-8);const Q=(j<<24)+65536*this[++T]+256*this[++T]+this[++T];return(BigInt(Q)<<BigInt(32))+BigInt(this[++T]*2**24+65536*this[++T]+256*this[++T]+z)})),c.prototype.readFloatLE=function(T,j){return T>>>=0,j||J(T,4,this.length),s.read(this,T,!0,23,4)},c.prototype.readFloatBE=function(T,j){return T>>>=0,j||J(T,4,this.length),s.read(this,T,!1,23,4)},c.prototype.readDoubleLE=function(T,j){return T>>>=0,j||J(T,8,this.length),s.read(this,T,!0,52,8)},c.prototype.readDoubleBE=function(T,j){return T>>>=0,j||J(T,8,this.length),s.read(this,T,!1,52,8)},c.prototype.writeUintLE=c.prototype.writeUIntLE=function(T,j,z,Q){T=+T,j>>>=0,z>>>=0,!Q&&ee(this,T,j,z,Math.pow(2,8*z)-1,0);let oe=1,he=0;for(this[j]=255&T;++he<z&&(oe*=256);)this[j+he]=T/oe&255;return j+z},c.prototype.writeUintBE=c.prototype.writeUIntBE=function(T,j,z,Q){T=+T,j>>>=0,z>>>=0,!Q&&ee(this,T,j,z,Math.pow(2,8*z)-1,0);let oe=z-1,he=1;for(this[j+oe]=255&T;--oe>=0&&(he*=256);)this[j+oe]=T/he&255;return j+z},c.prototype.writeUint8=c.prototype.writeUInt8=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,1,255,0),this[j]=255&T,j+1},c.prototype.writeUint16LE=c.prototype.writeUInt16LE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,2,65535,0),this[j]=255&T,this[j+1]=T>>>8,j+2},c.prototype.writeUint16BE=c.prototype.writeUInt16BE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,2,65535,0),this[j]=T>>>8,this[j+1]=255&T,j+2},c.prototype.writeUint32LE=c.prototype.writeUInt32LE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,4,4294967295,0),this[j+3]=T>>>24,this[j+2]=T>>>16,this[j+1]=T>>>8,this[j]=255&T,j+4},c.prototype.writeUint32BE=c.prototype.writeUInt32BE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,4,4294967295,0),this[j]=T>>>24,this[j+1]=T>>>16,this[j+2]=T>>>8,this[j+3]=255&T,j+4},c.prototype.writeBigUInt64LE=Ee((function(T,j=0){return ne(this,T,j,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeBigUInt64BE=Ee((function(T,j=0){return re(this,T,j,BigInt(0),BigInt("0xffffffffffffffff"))})),c.prototype.writeIntLE=function(T,j,z,Q){if(T=+T,j>>>=0,!Q){const tt=Math.pow(2,8*z-1);ee(this,T,j,z,tt-1,-tt)}let oe=0,he=1,$e=0;for(this[j]=255&T;++oe<z&&(he*=256);)T<0&&$e===0&&this[j+oe-1]!==0&&($e=1),this[j+oe]=(T/he|0)-$e&255;return j+z},c.prototype.writeIntBE=function(T,j,z,Q){if(T=+T,j>>>=0,!Q){const tt=Math.pow(2,8*z-1);ee(this,T,j,z,tt-1,-tt)}let oe=z-1,he=1,$e=0;for(this[j+oe]=255&T;--oe>=0&&(he*=256);)T<0&&$e===0&&this[j+oe+1]!==0&&($e=1),this[j+oe]=(T/he|0)-$e&255;return j+z},c.prototype.writeInt8=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,1,127,-128),T<0&&(T=255+T+1),this[j]=255&T,j+1},c.prototype.writeInt16LE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,2,32767,-32768),this[j]=255&T,this[j+1]=T>>>8,j+2},c.prototype.writeInt16BE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,2,32767,-32768),this[j]=T>>>8,this[j+1]=255&T,j+2},c.prototype.writeInt32LE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,4,2147483647,-2147483648),this[j]=255&T,this[j+1]=T>>>8,this[j+2]=T>>>16,this[j+3]=T>>>24,j+4},c.prototype.writeInt32BE=function(T,j,z){return T=+T,j>>>=0,z||ee(this,T,j,4,2147483647,-2147483648),T<0&&(T=4294967295+T+1),this[j]=T>>>24,this[j+1]=T>>>16,this[j+2]=T>>>8,this[j+3]=255&T,j+4},c.prototype.writeBigInt64LE=Ee((function(T,j=0){return ne(this,T,j,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeBigInt64BE=Ee((function(T,j=0){return re(this,T,j,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),c.prototype.writeFloatLE=function(T,j,z){return ie(this,T,j,!0,z)},c.prototype.writeFloatBE=function(T,j,z){return ie(this,T,j,!1,z)},c.prototype.writeDoubleLE=function(T,j,z){return ce(this,T,j,!0,z)},c.prototype.writeDoubleBE=function(T,j,z){return ce(this,T,j,!1,z)},c.prototype.copy=function(T,j,z,Q){if(!c.isBuffer(T))throw new TypeError("argument should be a Buffer");if(z||(z=0),Q||Q===0||(Q=this.length),j>=T.length&&(j=T.length),j||(j=0),Q>0&&Q<z&&(Q=z),Q===z||T.length===0||this.length===0)return 0;if(j<0)throw new RangeError("targetStart out of bounds");if(z<0||z>=this.length)throw new RangeError("Index out of range");if(Q<0)throw new RangeError("sourceEnd out of bounds");Q>this.length&&(Q=this.length),T.length-j<Q-z&&(Q=T.length-j+z);const oe=Q-z;return this===T&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(j,z,Q):Uint8Array.prototype.set.call(T,this.subarray(z,Q),j),oe},c.prototype.fill=function(T,j,z,Q){if(typeof T=="string"){if(typeof j=="string"?(Q=j,j=0,z=this.length):typeof z=="string"&&(Q=z,z=this.length),Q!==void 0&&typeof Q!="string")throw new TypeError("encoding must be a string");if(typeof Q=="string"&&!c.isEncoding(Q))throw new TypeError("Unknown encoding: "+Q);if(T.length===1){const he=T.charCodeAt(0);(Q==="utf8"&&he<128||Q==="latin1")&&(T=he)}}else typeof T=="number"?T&=255:typeof T=="boolean"&&(T=Number(T));if(j<0||this.length<j||this.length<z)throw new RangeError("Out of range index");if(z<=j)return this;let oe;if(j>>>=0,z=z===void 0?this.length:z>>>0,T||(T=0),typeof T=="number")for(oe=j;oe<z;++oe)this[oe]=T;else{const he=c.isBuffer(T)?T:c.from(T,Q),$e=he.length;
258if($e===0)throw new TypeError('The value "'+T+'" is invalid for argument "value"');for(oe=0;oe<z-j;++oe)this[oe+j]=he[oe%$e]}return this};const ge={};function de(L,T,j){ge[L]=class extends j{constructor(){super(),Object.defineProperty(this,"message",{value:T.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${L}]`,this.stack,delete this.name}get code(){return L}set code(Q){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Q,writable:!0})}toString(){return`${this.name} [${L}]: ${this.message}`}}}function ae(L){let T="",j=L.length;const z=L[0]==="-"?1:0;for(;j>=z+4;j-=3)T=`_${L.slice(j-3,j)}${T}`;return`${L.slice(0,j)}${T}`}function W(L,T,j,z,Q,oe){if(L>j||L<T){const he=typeof T=="bigint"?"n":"";let $e;throw $e=T===0||T===BigInt(0)?`>= 0${he} and < 2${he} ** ${8*(oe+1)}${he}`:`>= -(2${he} ** ${8*(oe+1)-1}${he}) and < 2 ** ${8*(oe+1)-1}${he}`,new ge.ERR_OUT_OF_RANGE("value",$e,L)}(function($e,tt,F){V(tt,"offset"),$e[tt]!==void 0&&$e[tt+F]!==void 0||fe(tt,$e.length-(F+1))})(z,Q,oe)}function V(L,T){if(typeof L!="number")throw new ge.ERR_INVALID_ARG_TYPE(T,"number",L)}function fe(L,T,j){throw Math.floor(L)!==L?(V(L,j),new ge.ERR_OUT_OF_RANGE("offset","an integer",L)):T<0?new ge.ERR_BUFFER_OUT_OF_BOUNDS:new ge.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${T}`,L)}de("ERR_BUFFER_OUT_OF_BOUNDS",(function(L){return L?`${L} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),de("ERR_INVALID_ARG_TYPE",(function(L,T){return`The "${L}" argument must be of type number. Received type ${typeof T}`}),TypeError),de("ERR_OUT_OF_RANGE",(function(L,T,j){let z=`The value of "${L}" is out of range.`,Q=j;return Number.isInteger(j)&&Math.abs(j)>2**32?Q=ae(String(j)):typeof j=="bigint"&&(Q=String(j),(j>BigInt(2)**BigInt(32)||j<-(BigInt(2)**BigInt(32)))&&(Q=ae(Q)),Q+="n"),z+=` It must be ${T}. Received ${Q}`,z}),RangeError);const ye=/[^+/0-9A-Za-z-_]/g;function De(L,T){let j;T=T||1/0;const z=L.length;let Q=null;const oe=[];for(let he=0;he<z;++he){if(j=L.charCodeAt(he),j>55295&&j<57344){if(!Q){if(j>56319){(T-=3)>-1&&oe.push(239,191,189);continue}if(he+1===z){(T-=3)>-1&&oe.push(239,191,189);continue}Q=j;continue}if(j<56320){(T-=3)>-1&&oe.push(239,191,189),Q=j;continue}j=65536+(Q-55296<<10|j-56320)}else Q&&(T-=3)>-1&&oe.push(239,191,189);if(Q=null,j<128){if((T-=1)<0)break;oe.push(j)}else if(j<2048){if((T-=2)<0)break;oe.push(j>>6|192,63&j|128)}else if(j<65536){if((T-=3)<0)break;oe.push(j>>12|224,j>>6&63|128,63&j|128)}else{if(!(j<1114112))throw new Error("Invalid code point");if((T-=4)<0)break;oe.push(j>>18|240,j>>12&63|128,j>>6&63|128,63&j|128)}}return oe}function Fe(L){return n.toByteArray((function(j){if((j=(j=j.split("=")[0]).trim().replace(ye,"")).length<2)return"";for(;j.length%4!=0;)j+="=";return j})(L))}function Re(L,T,j,z){let Q;for(Q=0;Q<z&&!(Q+j>=T.length||Q>=L.length);++Q)T[Q+j]=L[Q];return Q}function ke(L,T){return L instanceof T||L!=null&&L.constructor!=null&&L.constructor.name!=null&&L.constructor.name===T.name}function Je(L){return L!=L}const be=(function(){const L="0123456789abcdef",T=new Array(256);for(let j=0;j<16;++j){const z=16*j;for(let Q=0;Q<16;++Q)T[z+Q]=L[j]+L[Q]}return T})();function Ee(L){return typeof BigInt>"u"?xe:L}function xe(){throw new Error("BigInt not supported")}},919:function(e,t,r){var n=r(287).Buffer;function s(u){return u instanceof n||u instanceof Date||u instanceof RegExp}function i(u){if(u instanceof n){var l=n.alloc?n.alloc(u.length):new n(u.length);return u.copy(l),l}if(u instanceof Date)return new Date(u.getTime());if(u instanceof RegExp)return new RegExp(u);throw new Error("Unexpected situation")}function o(u){var l=[];return u.forEach((function(f,d){typeof f=="object"&&f!==null?Array.isArray(f)?l[d]=o(f):s(f)?l[d]=i(f):l[d]=c({},f):l[d]=f})),l}function a(u,l){return l==="__proto__"?void 0:u[l]}var c=e.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var u,l,f=arguments[0];return Array.prototype.slice.call(arguments,1).forEach((function(d){typeof d!="object"||d===null||Array.isArray(d)||Object.keys(d).forEac
258h((function(h){return l=a(f,h),(u=a(d,h))===f?void 0:typeof u!="object"||u===null?void(f[h]=u):Array.isArray(u)?void(f[h]=o(u)):s(u)?void(f[h]=i(u)):typeof l!="object"||l===null||Array.isArray(l)?void(f[h]=c({},u)):void(f[h]=c(l,u))}))})),f}},7:function(e){var t,r=typeof Reflect=="object"?Reflect:null,n=r&&typeof r.apply=="function"?r.apply:function(E,b,S){return Function.prototype.apply.call(E,b,S)};t=r&&typeof r.ownKeys=="function"?r.ownKeys:Object.getOwnPropertySymbols?function(E){return Object.getOwnPropertyNames(E).concat(Object.getOwnPropertySymbols(E))}:function(E){return Object.getOwnPropertyNames(E)};var s=Number.isNaN||function(E){return E!=E};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(E,b){return new Promise((function(S,_){function x(O){E.removeListener(b,A),_(O)}function A(){typeof E.removeListener=="function"&&E.removeListener("error",x),S([].slice.call(arguments))}v(E,b,A,{once:!0}),b!=="error"&&(function(I,R,$){typeof I.on=="function"&&v(I,"error",R,$)})(E,x,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var o=10;function a(y){if(typeof y!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof y)}function c(y){return y._maxListeners===void 0?i.defaultMaxListeners:y._maxListeners}function u(y,E,b,S){var _,x,A;if(a(b),(x=y._events)===void 0?(x=y._events=Object.create(null),y._eventsCount=0):(x.newListener!==void 0&&(y.emit("newListener",E,b.listener?b.listener:b),x=y._events),A=x[E]),A===void 0)A=x[E]=b,++y._eventsCount;else if(typeof A=="function"?A=x[E]=S?[b,A]:[A,b]:S?A.unshift(b):A.push(b),(_=c(y))>0&&A.length>_&&!A.warned){A.warned=!0;var O=new Error("Possible EventEmitter memory leak detected. "+A.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");O.name="MaxListenersExceededWarning",O.emitter=y,O.type=E,O.count=A.length,(function(R){console&&console.warn&&console.warn(R)})(O)}return y}function l(){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 f(y,E,b){var S={fired:!1,wrapFn:void 0,target:y,type:E,listener:b},_=l.bind(S);return _.listener=b,S.wrapFn=_,_}function d(y,E,b){var S=y._events;if(S===void 0)return[];var _=S[E];return _===void 0?[]:typeof _=="function"?b?[_.listener||_]:[_]:b?(function(A){for(var O=new Array(A.length),I=0;I<O.length;++I)O[I]=A[I].listener||A[I];return O})(_):g(_,_.length)}function h(y){var E=this._events;if(E!==void 0){var b=E[y];if(typeof b=="function")return 1;if(b!==void 0)return b.length}return 0}function g(y,E){for(var b=new Array(E),S=0;S<E;++S)b[S]=y[S];return b}function v(y,E,b,S){if(typeof y.on=="function")S.once?y.once(E,b):y.on(E,b);else{if(typeof y.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof y);y.addEventListener(E,(function _(x){S.once&&y.removeEventListener(E,_),b(x)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return o},set:function(y){if(typeof y!="number"||y<0||s(y))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+y+".");o=y}}),i.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},i.prototype.setMaxListeners=function(E){if(typeof E!="number"||E<0||s(E))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+E+".");return this._maxListeners=E,this},i.prototype.getMaxListeners=function(){return c(this)},i.prototype.emit=function(E){for(var b=[],S=1;S<arguments.length;S++)b.push(arguments[S]);var _=E==="error",x=this._events;if(x!==void 0)_=_&&x.error===void 0;else if(!_)return!1;if(_){var A;if(b.length>0&&(A=b[0]),A instanceof Error)throw A;var O=new Error("Unhandled error."+(A?" ("+A.message+")":""));throw O.context=A,O}var I=x[E];if(I===void 0)return!1;if(typeof I=="function")n(I,this,b);else{var R=I.length,$=g(I,R);for(S=0;S<R;++S)n($[S],this,b)}return!0},i.prototype.addListener=function(E,b){return u(this,E,b,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(E,b){return u(this,E,b,!0)},i.prototype.once=function(E,b){return a(b),this.on(E,f(this,E,b)),this},i.prototype.prependOnceListener=function(E,b){return a(b),this.prependListener(E,f(this,E,b)),this},i.prototype.removeListener=function(E,b){var S,_,x,A,O;if(a(b),(_=this._events)===void 0)return this;if((S=_[E])===void 0)return this;if(S===b||S.listener===b)--this._eventsCount==0?this._events=Object.create(null):(delete _[E],_.removeListener&&this.emit
258("removeListener",E,S.listener||b));else if(typeof S!="function"){for(x=-1,A=S.length-1;A>=0;A--)if(S[A]===b||S[A].listener===b){O=S[A].listener,x=A;break}if(x<0)return this;x===0?S.shift():(function(R,$){for(;$+1<R.length;$++)R[$]=R[$+1];R.pop()})(S,x),S.length===1&&(_[E]=S[0]),_.removeListener!==void 0&&this.emit("removeListener",E,O||b)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(E){var b,S,_;if((S=this._events)===void 0)return this;if(S.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):S[E]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete S[E]),this;if(arguments.length===0){var x,A=Object.keys(S);for(_=0;_<A.length;++_)(x=A[_])!=="removeListener"&&this.removeAllListeners(x);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(b=S[E])=="function")this.removeListener(E,b);else if(b!==void 0)for(_=b.length-1;_>=0;_--)this.removeListener(E,b[_]);return this},i.prototype.listeners=function(E){return d(this,E,!0)},i.prototype.rawListeners=function(E){return d(this,E,!1)},i.listenerCount=function(y,E){return typeof y.listenerCount=="function"?y.listenerCount(E):h.call(y,E)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},698:function(e){typeof Object.create=="function"?e.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(r,n){if(n){r.super_=n;var s=function(){};s.prototype=n.prototype,r.prototype=new s,r.prototype.constructor=r}}},606:function(e){var t,r,n=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(v){if(t===setTimeout)return setTimeout(v,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(v,0);try{return t(v,0)}catch{try{return t.call(null,v,0)}catch{return t.call(this,v,0)}}}(function(){try{t=typeof setTimeout=="function"?setTimeout:s}catch{t=s}try{r=typeof clearTimeout=="function"?clearTimeout:i}catch{r=i}})();var a,c=[],u=!1,l=-1;function f(){u&&a&&(u=!1,a.length?c=a.concat(c):l=-1,c.length&&d())}function d(){if(!u){var v=o(f);u=!0;for(var y=c.length;y;){for(a=c,c=[];++l<y;)a&&a[l].run();l=-1,y=c.length}a=null,u=!1,(function(b){if(r===clearTimeout)return clearTimeout(b);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(b);try{return r(b)}catch{try{return r.call(null,b)}catch{return r.call(this,b)}}})(v)}}function h(v,y){this.fun=v,this.array=y}function g(){}n.nextTick=function(v){var y=new Array(arguments.length-1);if(arguments.length>1)for(var E=1;E<arguments.length;E++)y[E-1]=arguments[E];c.push(new h(v,y)),c.length!==1||u||o(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(v){return[]},n.binding=function(v){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(v){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},209:function(e,t,r){var n=r(606),s=65536,i=4294967295,o=r(861).Buffer,a=r.g.crypto||r.g.msCrypto;a&&a.getRandomValues?e.exports=function(u,l){if(u>i)throw new RangeError("requested too many random bytes");var f=o.allocUnsafe(u);if(u>0)if(u>s)for(var d=0;d<u;d+=s)a.getRandomValues(f.slice(d,d+s));else a.getRandomValues(f);return typeof l=="function"?n.nextTick((function(){l(null,f)})):f}:e.exports=function(){throw new Error(`Secure random number generation is not supported by this browser. 259Use Chrome, Firefox or Internet Explorer 11`)}},48:function(e){var t={};function r(s,i,o){o||(o=Error);var a=(function(c){function u(l,f,d){return c.call(this,(function(g,v,y){return typeof i=="string"?i:i(g,v,y)})(l,f,d))||this}return(function(f,d){f.prototype=Object.create(d.prototype),f.prototype.constructor=f,f.__proto__=d})(u,c),u})(o);a.prototype.name=o.name,a.prototype.code=s,t[s]=a}
259function n(s,i){if(Array.isArray(s)){var o=s.length;return s=s.map((function(a){return String(a)})),o>2?"one of ".concat(i," ").concat(s.slice(0,o-1).join(", "),", or ")+s[o-1]:o===2?"one of ".concat(i," ").concat(s[0]," or ").concat(s[1]):"of ".concat(i," ").concat(s[0])}return"of ".concat(i," ").concat(String(s))}r("ERR_INVALID_OPT_VALUE",(function(s,i){return'The value "'+i+'" is invalid for option "'+s+'"'}),TypeError),r("ERR_INVALID_ARG_TYPE",(function(s,i,o){var a,c;if(typeof i=="string"&&(function(f,d,h){return f.substr(0,d.length)===d})(i,"not ")?(a="must not be",i=i.replace(/^not /,"")):a="must be",(function(f,d,h){return(h===void 0||h>f.length)&&(h=f.length),f.substring(h-d.length,h)===d})(s," argument"))c="The ".concat(s," ").concat(a," ").concat(n(i,"type"));else{var u=(function(f,d,h){return typeof h!="number"&&(h=0),!(h+d.length>f.length)&&f.indexOf(d,h)!==-1})(s,".")?"property":"argument";c='The "'.concat(s,'" ').concat(u," ").concat(a," ").concat(n(i,"type"))}return c+=". Received type ".concat(typeof o)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",(function(s){return"The "+s+" method is not implemented"})),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",(function(s){return"Cannot call "+s+" after a stream was destroyed"})),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",(function(s){return"Unknown encoding: "+s}),TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},382:function(e,t,r){var n=r(606),s=Object.keys||function(h){var g=[];for(var v in h)g.push(v);return g};e.exports=l;var i=r(412),o=r(708);r(698)(l,i);for(var a=s(o.prototype),c=0;c<a.length;c++){var u=a[c];l.prototype[u]||(l.prototype[u]=o.prototype[u])}function l(h){if(!(this instanceof l))return new l(h);i.call(this,h),o.call(this,h),this.allowHalfOpen=!0,h&&(h.readable===!1&&(this.readable=!1),h.writable===!1&&(this.writable=!1),h.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",f)))}function f(){this._writableState.ended||n.nextTick(d,this)}function d(h){h.end()}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(l.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(l.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(l.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._writableState!==void 0&&this._readableState.destroyed&&this._writableState.destroyed},set:function(g){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=g,this._writableState.destroyed=g)}})},600:function(e,t,r){e.exports=s;var n=r(610);function s(i){if(!(this instanceof s))return new s(i);n.call(this,i)}r(698)(s,n),s.prototype._transform=function(i,o,a){a(null,i)}},412:function(e,t,r){var n,s=r(606);e.exports=R,R.ReadableState=I,r(7).EventEmitter;var i=function(V,fe){return V.listeners(fe).length},o=r(345),a=r(287).Buffer,c=(r.g!==void 0?r.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},u,l=r(838);u=l&&l.debuglog?l.debuglog("stream"):function(){};var f,d,h,g=r(726),v=r(896),y=r(291).getHighWaterMark,E=r(48).F,b=E.ERR_INVALID_ARG_TYPE,S=E.ERR_STREAM_PUSH_AFTER_EOF,_=E.ERR_METHOD_NOT_IMPLEMENTED,x=E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(698)(R,o);var A=v.errorOrDestroy,O=["error","close","destroy","pause","resume"];function I(W,V,fe){n=n||r(382),W=W||{},typeof fe!="boolean"&&(fe=V instanceof n),this.objectMode=!!W.objectMode,fe&&(this.objectMode=this.objectMode||!!W.readableObjectMode),this.highWaterMark=y(this,W,"readableHighWaterMark",fe),this.buffer=new g,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=W.emitClose!==!1,this.autoDestroy=!!W.autoDestroy,this.destroyed=!1,this.defaultEncoding=W.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,W.encoding&&(f||(f=r(141).I),this.decoder=new f(W.encoding),this.encoding=W.encoding)}function R(W){if(n=n||r(382),!(this instanceof R))return new R(W);var V=this instanceof n;this._readableState=new I(W,this,V),this.readable=!0,W&&(typeof W.read=="function"&&(this._read=W.read),typeof W.destroy=="function"&&(this._destroy=W.destroy)),o.call(this)}function $(W,V,fe,ye,De){u("readableAddChunk",V);var Fe,Re=W._readableState;if(V===null)Re.reading=!1,(function(Je,be){if(u("onEofChunk"),!be.ended){if(be.decoder){var Ee=be.decoder.end();Ee&&Ee.length&&(be.buffer.push(Ee),be.length+=be.objectMode?1:Ee.length)}be.ended=!0,be.sync?U(Je):(be.needReadable=!1,be.emittedReadable||(be.emittedReadable=!0,X(Je)))}})(W,Re);else if(De||(Fe=(function(Je,be){var Ee;return(function(L){return a.isBuffer(L)||L instanceof c})(be)||typeof be=="string"||be===void 0||Je.objectMode||(Ee=new b("chunk",["string","Buffer","Uint8Array"],be)),Ee})(Re,V)),Fe)A(W,Fe);else if(Re.objectMode||V&&V.length>0)if(typeof V=="string"||Re.objectMode||Object.getPrototypeOf(V)===a.prototype||(V=(function(Je){return a.from(Je)})(V)),ye)Re.endEmitted?A(W,new x):M(W,Re,V,!0);else if(Re.ended)A(W,new S);else{if(Re.destroyed)return!1;Re.reading=!1,Re.decoder&&!fe?(V=Re.decoder.write(V),Re.objectMode||V.length!==0?M(W,Re,V,!1):J(W,Re)):M(W,Re,V,!1)}else ye||(Re.reading=!1,J(W,Re));return!Re.ended&&(Re.length<Re.highWaterMark||Re.length===0)}function M(W,V,fe,ye){V.flowing&&V.length===0&&!V.sync?(V.awaitDrain=0,W.emit("data",fe)):(V.length+=V.objectMode?1:fe.length,ye?V.buffer.unshift(fe):V.buffer.push(fe),V.needReadable&&U(W)),J(W,V)}Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(V){this._readableState&&(this._readableState.destroyed=V)}}),R.prototype.destroy=v.destroy,R.prototype._undestroy=v.undestroy,R.prototype._destroy=function(W,V){V(W)},R.prototype.push=function(W,V){var fe,ye=this._readableState;return ye.objectMode?fe=!0:typeof W=="string"&&((V=V||ye.defaultEncoding)!==ye.encoding&&(W=a.from(W,V),V=""),fe=!0),$(this,W,V,!1,fe)},R.prototype.unshift=function(W){return $(this,W,null,!0,!1)},R.prototype.isPaused=function(){return this._readableState.flowing===!1},R.prototype.setEncoding=function(W){f||(f=r(141).I);var V=new f(W);this._readableState.decoder=V,this._readableState.encoding=this._readableState.decoder.encoding;
259for(var fe=this._readableState.buffer.head,ye="";fe!==null;)ye+=V.write(fe.data),fe=fe.next;return this._readableState.buffer.clear(),ye!==""&&this._readableState.buffer.push(ye),this._readableState.length=ye.length,this};var q=1073741824;function N(W,V){return W<=0||V.length===0&&V.ended?0:V.objectMode?1:W!=W?V.flowing&&V.length?V.buffer.head.data.length:V.length:(W>V.highWaterMark&&(V.highWaterMark=(function(ye){return ye>=q?ye=q:(ye--,ye|=ye>>>1,ye|=ye>>>2,ye|=ye>>>4,ye|=ye>>>8,ye|=ye>>>16,ye++),ye})(W)),W<=V.length?W:V.ended?V.length:(V.needReadable=!0,0))}function U(W){var V=W._readableState;u("emitReadable",V.needReadable,V.emittedReadable),V.needReadable=!1,V.emittedReadable||(u("emitReadable",V.flowing),V.emittedReadable=!0,s.nextTick(X,W))}function X(W){var V=W._readableState;u("emitReadable_",V.destroyed,V.length,V.ended),V.destroyed||!V.length&&!V.ended||(W.emit("readable"),V.emittedReadable=!1),V.needReadable=!V.flowing&&!V.ended&&V.length<=V.highWaterMark,ie(W)}function J(W,V){V.readingMore||(V.readingMore=!0,s.nextTick(ee,W,V))}function ee(W,V){for(;!V.reading&&!V.ended&&(V.length<V.highWaterMark||V.flowing&&V.length===0);){var fe=V.length;if(u("maybeReadMore read 0"),W.read(0),fe===V.length)break}V.readingMore=!1}function ne(W){var V=W._readableState;V.readableListening=W.listenerCount("readable")>0,V.resumeScheduled&&!V.paused?V.flowing=!0:W.listenerCount("data")>0&&W.resume()}function re(W){u("readable nexttick read 0"),W.read(0)}function Y(W,V){u("resume",V.reading),V.reading||W.read(0),V.resumeScheduled=!1,W.emit("resume"),ie(W),V.flowing&&!V.reading&&W.read(0)}function ie(W){var V=W._readableState;for(u("flow",V.flowing);V.flowing&&W.read()!==null;);}function ce(W,V){return V.length===0?null:(V.objectMode?fe=V.buffer.shift():!W||W>=V.length?(fe=V.decoder?V.buffer.join(""):V.buffer.length===1?V.buffer.first():V.buffer.concat(V.length),V.buffer.clear()):fe=V.buffer.consume(W,V.decoder),fe);var fe}function ge(W){var V=W._readableState;u("endReadable",V.endEmitted),V.endEmitted||(V.ended=!0,s.nextTick(de,V,W))}function de(W,V){if(u("endReadableNT",W.endEmitted,W.length),!W.endEmitted&&W.length===0&&(W.endEmitted=!0,V.readable=!1,V.emit("end"),W.autoDestroy)){var fe=V._writableState;(!fe||fe.autoDestroy&&fe.finished)&&V.destroy()}}function ae(W,V){for(var fe=0,ye=W.length;fe<ye;fe++)if(W[fe]===V)return fe;return-1}R.prototype.read=function(W){u("read",W),W=parseInt(W,10);var V=this._readableState,fe=W;if(W!==0&&(V.emittedReadable=!1),W===0&&V.needReadable&&((V.highWaterMark!==0?V.length>=V.highWaterMark:V.length>0)||V.ended))return u("read: emitReadable",V.length,V.ended),V.length===0&&V.ended?ge(this):U(this),null;if((W=N(W,V))===0&&V.ended)return V.length===0&&ge(this),null;var ye,De=V.needReadable;return u("need readable",De),(V.length===0||V.length-W<V.highWaterMark)&&u("length less than watermark",De=!0),V.ended||V.reading?u("reading or ended",De=!1):De&&(u("do read"),V.reading=!0,V.sync=!0,V.length===0&&(V.needReadable=!0),this._read(V.highWaterMark),V.sync=!1,V.reading||(W=N(fe,V))),(ye=W>0?ce(W,V):null)===null?(V.needReadable=V.length<=V.highWaterMark,W=0):(V.length-=W,V.awaitDrain=0),V.length===0&&(V.ended||(V.needReadable=!0),fe!==W&&V.ended&&ge(this)),ye!==null&&this.emit("data",ye),ye},R.prototype._read=function(W){A(this,new _("_read()"))},R.prototype.pipe=function(W,V){var fe=this,ye=this._readableState;switch(ye.pipesCount){case 0:ye.pipes=W;break;case 1:ye.pipes=[ye.pipes,W];break;default:ye.pipes.push(W)}ye.pipesCount+=1,u("pipe count=%d opts=%j",ye.pipesCount,V);var De=(!V||V.end!==!1)&&W!==s.stdout&&W!==s.stderr?Re:T;function Fe(j,z){u("onunpipe"),j===fe&&z&&z.hasUnpiped===!1&&(z.hasUnpiped=!0,(function(){u("cleanup"),W.removeListener("close",xe),W.removeListener("finish",L),W.removeListener("drain",ke),W.removeListener("error",Ee),W.removeListener("unpipe",Fe),fe.removeListener("end",Re),fe.removeListener("end",T),fe.removeListener("data",be),Je=!0,!ye.awaitDrain||W._writableState&&!W._writableState.needDrain||ke()})())}function Re(){u("onend"),W.end()}ye.endEmitted?s.nextTick(De):fe.once("end",De),W.on("unpipe",Fe);var ke=(function(z){return function(){var oe=z._readableState;u("pipeOnDrain",oe.awaitDrain),oe.awaitDrain&&oe.awaitDrain--,oe.awaitDrain===0&&i(z,"data")&&(oe.flowing=!0,ie(z))}})(fe);W.on("drain",ke);var Je=!1;function be(j){u("ondata");var z=W.write(j);u("dest.write",z),z===!1&&((ye.pipesCount===1&&ye.pipes===W||ye.pipesCount>1&&ae(ye.pipes,W)!==-1)&&!Je&&(u("false write response, pause",ye.awaitDrain),ye.awaitDrain++),fe.pause())}function Ee(j){u("onerror",j),T(),W.removeListener("error",Ee),i(W,"error")===0&&A(W,j)}function xe(){W.removeListener("finish",L),T()}function L(){u("onfinish"),W.removeListener("close",xe),T()}function T(){u("unpipe"),fe.unpipe(W)}return fe.on("data",be),(function(z,Q,oe){if(typeof z.prependListener=="function")return z.prependListener(Q,oe);z._events&&z._events[Q]?Array.isArray(z._events[Q])?z._events[Q].unshift(oe):z._events[Q]=[oe,z._events[Q]]:z.on(Q,oe)})(W,"error",Ee),W.once("close",xe),W.once("finish",L),W.emit("pipe",fe),ye.flowing||(u("pipe resume"),fe.resume()),W},R.prototype.unpipe=function(W){var V=this._readableState,fe={hasUnpiped:!1};if(V.pipesCount===0)return this;if(V.pipesCount===1)return W&&W!==V.pipes||(W||(W=V.pipes),V.pipes=null,V.pipesCount=0,V.flowing=!1,W&&W.emit("unpipe",this,fe)),this;if(!W){var ye=V.pipes,De=V.pipesCount;V.pipes=null,V.pipesCount=0,V.flowing=!1;for(var Fe=0;Fe<De;Fe++)ye[Fe].emit("unpipe",this,{hasUnpiped:!1});return this}var Re=ae(V.pipes,W);return Re===-1||(V.pipes.splice(Re,1),V.pipesCount-=1,V.pipesCount===1&&(V.pipes=V.pipes[0]),W.emit("unpipe",this,fe)),this},R.prototype.on=function(W,V){var fe=o.prototype.on.call(this,W,V),ye=this._readableState;return W==="data"?(ye.readableListening=this.listenerCount("readable")>0,ye.flowing!==!1&&this.resume()):W==="readable"&&(ye.endEmitted||ye.readableListening||(ye.readableListening=ye.needReadable=!0,ye.flowing=!1,ye.emittedReadable=!1,u("on readable",ye.length,ye.reading),ye.length?U(this):ye.reading||s.nextTick(re,this))),fe},R.prototype.addListener=R.prototype.on,R.prototype.removeListener=function(W,V){var fe=o.prototype.removeListener.call(this,W,V);return W==="readable"&&s.nextTick(ne,this),fe},R.prototype.removeAllListeners=function(W){var V=o.prototype.removeAllListeners.apply(this,arguments);return W!=="readable"&&W!==void 0||s.nextTick(ne,this),V},R.prototype.resume=function(){var W=this._readableState;return W.flowing||(u("resume"),W.flowing=!W.readableListening,(function(fe,ye){ye.resumeScheduled||(ye.resumeScheduled=!0,s.nextTick(Y,fe,ye))})(this,W)),W.paused=!1,this},R.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(u("pause"),this._readableState.flowing=!1,this.emit
259("pause")),this._readableState.paused=!0,this},R.prototype.wrap=function(W){var V=this,fe=this._readableState,ye=!1;for(var De in W.on("end",(function(){if(u("wrapped end"),fe.decoder&&!fe.ended){var Re=fe.decoder.end();Re&&Re.length&&V.push(Re)}V.push(null)})),W.on("data",(function(Re){u("wrapped data"),fe.decoder&&(Re=fe.decoder.write(Re)),fe.objectMode&&Re==null||(fe.objectMode||Re&&Re.length)&&(V.push(Re)||(ye=!0,W.pause()))})),W)this[De]===void 0&&typeof W[De]=="function"&&(this[De]=(function(ke){return function(){return W[ke].apply(W,arguments)}})(De));for(var Fe=0;Fe<O.length;Fe++)W.on(O[Fe],this.emit.bind(this,O[Fe]));return this._read=function(Re){u("wrapped _read",Re),ye&&(ye=!1,W.resume())},this},typeof Symbol=="function"&&(R.prototype[Symbol.asyncIterator]=function(){return d===void 0&&(d=r(955)),d(this)}),Object.defineProperty(R.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(R.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(R.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(V){this._readableState&&(this._readableState.flowing=V)}}),R._fromList=ce,Object.defineProperty(R.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(R.from=function(W,V){return h===void 0&&(h=r(157)),h(R,W,V)})},610:function(e,t,r){e.exports=l;var n=r(48).F,s=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,o=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=n.ERR_TRANSFORM_WITH_LENGTH_0,c=r(382);function u(h,g){var v=this._transformState;v.transforming=!1;var y=v.writecb;if(y===null)return this.emit("error",new i);v.writechunk=null,v.writecb=null,g!=null&&this.push(g),y(h);var E=this._readableState;E.reading=!1,(E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}function l(h){if(!(this instanceof l))return new l(h);c.call(this,h),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,h&&(typeof h.transform=="function"&&(this._transform=h.transform),typeof h.flush=="function"&&(this._flush=h.flush)),this.on("prefinish",f)}function f(){var h=this;typeof this._flush!="function"||this._readableState.destroyed?d(this,null,null):this._flush((function(g,v){d(h,g,v)}))}function d(h,g,v){if(g)return h.emit("error",g);if(v!=null&&h.push(v),h._writableState.length)throw new a;if(h._transformState.transforming)throw new o;return h.push(null)}r(698)(l,c),l.prototype.push=function(h,g){return this._transformState.needTransform=!1,c.prototype.push.call(this,h,g)},l.prototype._transform=function(h,g,v){v(new s("_transform()"))},l.prototype._write=function(h,g,v){var y=this._transformState;if(y.writecb=v,y.writechunk=h,y.writeencoding=g,!y.transforming){var E=this._readableState;(y.needTransform||E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}},l.prototype._read=function(h){var g=this._transformState;g.writechunk===null||g.transforming?g.needTransform=!0:(g.transforming=!0,this._transform(g.writechunk,g.writeencoding,g.afterTransform))},l.prototype._destroy=function(h,g){c.prototype._destroy.call(this,h,(function(v){g(v)}))}},708:function(e,t,r){var n,s=r(606);function i(J){var ee=this;this.next=null,this.entry=null,this.finish=function(){(function(re,Y,ie){var ce=re.entry;for(re.entry=null;ce;){var ge=ce.callback;Y.pendingcb--,ge(ie),ce=ce.next}Y.corkedRequestsFree.next=re})(ee,J)}}e.exports=R,R.WritableState=I;var o={deprecate:r(643)},a=r(345),c=r(287).Buffer,u=(r.g!==void 0?r.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},l,f=r(896),d=r(291).getHighWaterMark,h=r(48).F,g=h.ERR_INVALID_ARG_TYPE,v=h.ERR_METHOD_NOT_IMPLEMENTED,y=h.ERR_MULTIPLE_CALLBACK,E=h.ERR_STREAM_CANNOT_PIPE,b=h.ERR_STREAM_DESTROYED,S=h.ERR_STREAM_NULL_VALUES,_=h.ERR_STREAM_WRITE_AFTER_END,x=h.ERR_UNKNOWN_ENCODING,A=f.errorOrDestroy;function O(){}function I(J,ee,ne){n=n||r(382),J=J||{},typeof ne!="boolean"&&(ne=ee instanceof n),this.objectMode=!!J.objectMode,ne&&(this.objectMode=this.objectMode||!!J.writableObjectMode),this.highWaterMark=d(this,J,"writableHighWaterMark",ne),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var re=J.decodeStrings===!1;this.decodeStrings=!re,this.defaultEncoding=J.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Y){(function(ce,ge){var de=ce._writableState,ae=de.sync,W=de.writecb;if(typeof W!="function")throw new y;if((function(ye){ye.writing=!1,ye.writecb=null,ye.length-=ye.writelen,ye.writelen=0})(de),ge)(function(ye,De,Fe,Re,ke){--De.pendingcb,Fe?(s.nextTick(ke,Re),s.nextTick(X,ye,De),ye._writableState.errorEmitted=!0,A(ye,Re)):(ke(Re),ye._writableState.errorEmitted=!0,A(ye,Re),X(ye,De))})(ce,de,ae,ge,W);else{var V=N(de)||ce.destroyed;V||de.corked||de.bufferProcessing||!de.bufferedRequest||q(ce,de),ae?s.nextTick(M,ce,de,V,W):M(ce,de,V,W)}})(ee,Y)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=J.emitClose!==!1,this.autoDestroy=!!J.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function R(J){var ee=this instanceof(n=n||r(382));
259if(!ee&&!l.call(R,this))return new R(J);this._writableState=new I(J,this,ee),this.writable=!0,J&&(typeof J.write=="function"&&(this._write=J.write),typeof J.writev=="function"&&(this._writev=J.writev),typeof J.destroy=="function"&&(this._destroy=J.destroy),typeof J.final=="function"&&(this._final=J.final)),a.call(this)}function $(J,ee,ne,re,Y,ie,ce){ee.writelen=re,ee.writecb=ce,ee.writing=!0,ee.sync=!0,ee.destroyed?ee.onwrite(new b("write")):ne?J._writev(Y,ee.onwrite):J._write(Y,ie,ee.onwrite),ee.sync=!1}function M(J,ee,ne,re){ne||(function(ie,ce){ce.length===0&&ce.needDrain&&(ce.needDrain=!1,ie.emit("drain"))})(J,ee),ee.pendingcb--,re(),X(J,ee)}function q(J,ee){ee.bufferProcessing=!0;var ne=ee.bufferedRequest;if(J._writev&&ne&&ne.next){var re=ee.bufferedRequestCount,Y=new Array(re),ie=ee.corkedRequestsFree;ie.entry=ne;for(var ce=0,ge=!0;ne;)Y[ce]=ne,ne.isBuf||(ge=!1),ne=ne.next,ce+=1;Y.allBuffers=ge,$(J,ee,!0,ee.length,Y,"",ie.finish),ee.pendingcb++,ee.lastBufferedRequest=null,ie.next?(ee.corkedRequestsFree=ie.next,ie.next=null):ee.corkedRequestsFree=new i(ee),ee.bufferedRequestCount=0}else{for(;ne;){var de=ne.chunk,ae=ne.encoding,W=ne.callback;if($(J,ee,!1,ee.objectMode?1:de.length,de,ae,W),ne=ne.next,ee.bufferedRequestCount--,ee.writing)break}ne===null&&(ee.lastBufferedRequest=null)}ee.bufferedRequest=ne,ee.bufferProcessing=!1}function N(J){return J.ending&&J.length===0&&J.bufferedRequest===null&&!J.finished&&!J.writing}function U(J,ee){J._final((function(ne){ee.pendingcb--,ne&&A(J,ne),ee.prefinished=!0,J.emit("prefinish"),X(J,ee)}))}function X(J,ee){var ne=N(ee);if(ne&&((function(ie,ce){ce.prefinished||ce.finalCalled||(typeof ie._final!="function"||ce.destroyed?(ce.prefinished=!0,ie.emit("prefinish")):(ce.pendingcb++,ce.finalCalled=!0,s.nextTick(U,ie,ce)))})(J,ee),ee.pendingcb===0&&(ee.finished=!0,J.emit("finish"),ee.autoDestroy))){var re=J._readableState;(!re||re.autoDestroy&&re.endEmitted)&&J.destroy()}return ne}r(698)(R,a),I.prototype.getBuffer=function(){for(var ee=this.bufferedRequest,ne=[];ee;)ne.push(ee),ee=ee.next;return ne},(function(){try{Object.defineProperty(I.prototype,"buffer",{get:o.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"?(l=Function.prototype[Symbol.hasInstance],Object.defineProperty(R,Symbol.hasInstance,{value:function(ee){return!!l.call(this,ee)||this===R&&ee&&ee._writableState instanceof I}})):l=function(ee){return ee instanceof this},R.prototype.pipe=function(){A(this,new E)},R.prototype.write=function(J,ee,ne){var re=this._writableState,Y=!1,ie=!re.objectMode&&(function(ge){return c.isBuffer(ge)||ge instanceof u})(J);return ie&&!c.isBuffer(J)&&(J=(function(ge){return c.from(ge)})(J)),typeof ee=="function"&&(ne=ee,ee=null),ie?ee="buffer":ee||(ee=re.defaultEncoding),typeof ne!="function"&&(ne=O),re.ending?(function(ge,de){var ae=new _;A(ge,ae),s.nextTick(de,ae)})(this,ne):(ie||(function(ge,de,ae,W){var V;return ae===null?V=new S:typeof ae=="string"||de.objectMode||(V=new g("chunk",["string","Buffer"],ae)),!V||(A(ge,V),s.nextTick(W,V),!1)})(this,re,J,ne))&&(re.pendingcb++,Y=(function(ge,de,ae,W,V,fe){if(!ae){var ye=(function(Je,be,Ee){return Je.objectMode||Je.decodeStrings===!1||typeof be!="string"||(be=c.from(be,Ee)),be})(de,W,V);W!==ye&&(ae=!0,V="buffer",W=ye)}var De=de.objectMode?1:W.length;de.length+=De;var Fe=de.length<de.highWaterMark;if(Fe||(de.needDrain=!0),de.writing||de.corked){var Re=de.lastBufferedRequest;de.lastBufferedRequest={chunk:W,encoding:V,isBuf:ae,callback:fe,next:null},Re?Re.next=de.lastBufferedRequest:de.bufferedRequest=de.lastBufferedRequest,de.bufferedRequestCount+=1}else $(ge,de,!1,De,W,V,fe);return Fe})(this,re,ie,J,ee,ne)),Y},R.prototype.cork=function(){this._writableState.corked++},R.prototype.uncork=function(){var J=this._writableState;J.corked&&(J.corked--,J.writing||J.corked||J.bufferProcessing||!J.bufferedRequest||q(this,J))},R.prototype.setDefaultEncoding=function(ee){if(typeof ee=="string"&&(ee=ee.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((ee+"").toLowerCase())>-1))throw new x(ee);return this._writableState.defaultEncoding=ee,this},Object.defineProperty(R.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(R.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}
259),R.prototype._write=function(J,ee,ne){ne(new v("_write()"))},R.prototype._writev=null,R.prototype.end=function(J,ee,ne){var re=this._writableState;return typeof J=="function"?(ne=J,J=null,ee=null):typeof ee=="function"&&(ne=ee,ee=null),J!=null&&this.write(J,ee),re.corked&&(re.corked=1,this.uncork()),re.ending||(function(ie,ce,ge){ce.ending=!0,X(ie,ce),ge&&(ce.finished?s.nextTick(ge):ie.once("finish",ge)),ce.ended=!0,ie.writable=!1})(this,re,ne),this},Object.defineProperty(R.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(R.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(ee){this._writableState&&(this._writableState.destroyed=ee)}}),R.prototype.destroy=f.destroy,R.prototype._undestroy=f.undestroy,R.prototype._destroy=function(J,ee){ee(J)}},955:function(e,t,r){var n,s=r(606);function i(S,_,x){return(_=(function(O){var I=(function($,M){if(typeof $!="object"||$===null)return $;var q=$[Symbol.toPrimitive];if(q!==void 0){var N=q.call($,M);if(typeof N!="object")return N;throw new TypeError("@@toPrimitive must return a primitive value.")}return(M==="string"?String:Number)($)})(O,"string");return typeof I=="symbol"?I:String(I)})(_))in S?Object.defineProperty(S,_,{value:x,enumerable:!0,configurable:!0,writable:!0}):S[_]=x,S}var o=r(238),a=Symbol("lastResolve"),c=Symbol("lastReject"),u=Symbol("error"),l=Symbol("ended"),f=Symbol("lastPromise"),d=Symbol("handlePromise"),h=Symbol("stream");function g(S,_){return{value:S,done:_}}function v(S){var _=S[a];if(_!==null){var x=S[h].read();x!==null&&(S[f]=null,S[a]=null,S[c]=null,_(g(x,!1)))}}function y(S){s.nextTick(v,S)}var E=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i(n={get stream(){return this[h]},next:function(){var _=this,x=this[u];if(x!==null)return Promise.reject(x);if(this[l])return Promise.resolve(g(void 0,!0));if(this[h].destroyed)return new Promise((function(R,$){s.nextTick((function(){_[u]?$(_[u]):R(g(void 0,!0))}))}));var A,O=this[f];if(O)A=new Promise((function($,M){return function(q,N){$.then((function(){M[l]?q(g(void 0,!0)):M[d](q,N)}),N)}})(O,this));else{var I=this[h].read();if(I!==null)return Promise.resolve(g(I,!1));A=new Promise(this[d])}return this[f]=A,A}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var _=this;return new Promise((function(x,A){_[h].destroy(null,(function(O){O?A(O):x(g(void 0,!0))}))}))})),n),E);e.exports=function(_){var x,A=Object.create(b,(i(x={},h,{value:_,writable:!0}),i(x,a,{value:null,writable:!0}),i(x,c,{value:null,writable:!0}),i(x,u,{value:null,writable:!0}),i(x,l,{value:_._readableState.endEmitted,writable:!0}),i(x,d,{value:function(I,R){var $=A[h].read();$?(A[f]=null,A[a]=null,A[c]=null,I(g($,!1))):(A[a]=I,A[c]=R)},writable:!0}),x));return A[f]=null,o(_,(function(O){if(O&&O.code!=="ERR_STREAM_PREMATURE_CLOSE"){var I=A[c];return I!==null&&(A[f]=null,A[a]=null,A[c]=null,I(O)),void(A[u]=O)}var R=A[a];R!==null&&(A[f]=null,A[a]=null,A[c]=null,R(g(void 0,!0))),A[l]=!0})),_.on("readable",y.bind(null,A)),A}},726:function(e,t,r){function n(d,h){var g=Object.keys(d);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(d);h&&(v=v.filter((function(y){return Object.getOwnPropertyDescriptor(d,y).enumerable}))),g.push.apply(g,v)}return g}function s(d){for(var h=1;h<arguments.length;h++){var g=arguments[h]!=null?arguments[h]:{};h%2?n(Object(g),!0).forEach((function(v){i(d,v,g[v])})):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(g)):n(Object(g)).forEach((function(v){Object.defineProperty(d,v,Object.getOwnPropertyDescriptor(g,v))}))}return d}function i(d,h,g){return(h=a(h))in d?Object.defineProperty(d,h,{value:g,enumerable:!0,configurable:!0,writable:!0}):d[h]=g,d}function o(d,h){for(var g=0;g<h.length;g++){var v=h[g];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(d,a(v.key),v)}}function a(d){var h=(function(v,y){if(typeof v!="object"||v===null)return v;var E=v[Symbol.toPrimitive];if(E!==void 0){var b=E.call(v,y);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(v)}
259)(d,"string");return typeof h=="symbol"?h:String(h)}var c=r(287).Buffer,u=r(340).inspect,l=u&&u.custom||"inspect";function f(d,h,g){c.prototype.copy.call(d,h,g)}e.exports=(function(){function d(){(function(g,v){if(!(g instanceof v))throw new TypeError("Cannot call a class as a function")})(this,d),this.head=null,this.tail=null,this.length=0}return(function(g,v,y){return v&&o(g.prototype,v),Object.defineProperty(g,"prototype",{writable:!1}),g})(d,[{key:"push",value:function(g){var v={data:g,next:null};this.length>0?this.tail.next=v:this.head=v,this.tail=v,++this.length}},{key:"unshift",value:function(g){var v={data:g,next:this.head};this.length===0&&(this.tail=v),this.head=v,++this.length}},{key:"shift",value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(g){if(this.length===0)return"";for(var v=this.head,y=""+v.data;v=v.next;)y+=g+v.data;return y}},{key:"concat",value:function(g){if(this.length===0)return c.alloc(0);for(var v=c.allocUnsafe(g>>>0),y=this.head,E=0;y;)f(y.data,v,E),E+=y.data.length,y=y.next;return v}},{key:"consume",value:function(g,v){var y;return g<this.head.data.length?(y=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):y=g===this.head.data.length?this.shift():v?this._getString(g):this._getBuffer(g),y}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var v=this.head,y=1,E=v.data;for(g-=E.length;v=v.next;){var b=v.data,S=g>b.length?b.length:g;if(S===b.length?E+=b:E+=b.slice(0,g),(g-=S)===0){S===b.length?(++y,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=b.slice(S));break}++y}return this.length-=y,E}},{key:"_getBuffer",value:function(g){var v=c.allocUnsafe(g),y=this.head,E=1;for(y.data.copy(v),g-=y.data.length;y=y.next;){var b=y.data,S=g>b.length?b.length:g;if(b.copy(v,v.length-g,0,S),(g-=S)===0){S===b.length?(++E,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=b.slice(S));break}++E}return this.length-=E,v}},{key:l,value:function(g,v){return u(this,s(s({},v),{},{depth:0,customInspect:!1}))}}]),d})()},896:function(e,t,r){var n=r(606);function s(a,c){o(a,c),i(a)}function i(a){a._writableState&&!a._writableState.emitClose||a._readableState&&!a._readableState.emitClose||a.emit("close")}function o(a,c){a.emit("error",c)}e.exports={destroy:function(c,u){var l=this,f=this._readableState&&this._readableState.destroyed,d=this._writableState&&this._writableState.destroyed;return f||d?(u?u(c):c&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(o,this,c)):n.nextTick(o,this,c)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(c||null,(function(h){!u&&h?l._writableState?l._writableState.errorEmitted?n.nextTick(i,l):(l._writableState.errorEmitted=!0,n.nextTick(s,l,h)):n.nextTick(s,l,h):u?(n.nextTick(i,l),u(h)):n.nextTick(i,l)})),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(c,u){var l=c._readableState,f=c._writableState;l&&l.autoDestroy||f&&f.autoDestroy?c.destroy(u):c.emit("error",u)}}},238:function(e,t,r){var n=r(48).F.ERR_STREAM_PREMATURE_CLOSE;function s(){}e.exports=function i(o,a,c){if(typeof a=="function")return i(o,null,a);a||(a={}),c=(function(_){var x=!1;return function(){if(!x){x=!0;for(var A=arguments.length,O=new Array(A),I=0;I<A;I++)O[I]=arguments[I];_.apply(this,O)}}})(c||s);var u=a.readable||a.readable!==!1&&o.readable,l=a.writable||a.writable!==!1&&o.writable,f=function(){o.writable||h()},d=o._writableState&&o._writableState.finished,h=function(){l=!1,d=!0,u||c.call(o)},g=o._readableState&&o._readableState.endEmitted,v=function(){u=!1,g=!0,l||c.call(o)},y=function(_){c.call(o,_)},E=function(){var _;return u&&!g?(o._readableState&&o._readableState.ended||(_=new n),c.call(o,_)):l&&!d?(o._writableState&&o._writableState.ended||(_=new n),c.call(o,_)):void 0},b=function(){o.req.on("finish",h)};return(function(_){return _.setHeader&&typeof _.abort=="function"})(o)?(o.on("complete",h),o.on("abort",E),o.req?b():o.on("request",b)):l&&!o._writableState&&(o.on("end",f),o.on("close",f)),o.on("end",v),o.on("finish",h),a.error!==!1&&o.on("error",y),o.on("close",E),function(){o.removeListener("complete",h),o.removeListener("abort",E),o.removeListener("request",b),o.req&&o.req.removeListener("finish",h),o.removeListener("end",f),o.removeListener("close",f),o.removeListener("finish",h),o.removeListener("end",v),o.removeListener("error",y),o.removeListener("close",E)}}},157:function(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},758:function(e,t,r){var n,s=r(48).F,i=s.ERR_MISSING_ARGS,o=s.ERR_STREAM_DESTROYED;function a(l){if(l)throw l}function c(l){l()}function u(l,f){return l.pipe(f)}e.exports=function(){for(var f=arguments.length,d=new Array(f),h=0;h<f;h++)d[h]=arguments[h];var g,v=(function(b){return b.length?typeof b[b.length-1]!="function"?a:b.pop():a})(d);if(Array.isArray(d[0])&&(d=d[0]),d.length<2)throw new i("streams");var y=d.map((function(E,b){var S=b<d.length-1;return(function(x,A,O,I){I=(function(q){var N=!1;return function(){N||(N=!0,q.apply(void 0,arguments))}})(I);var R=!1;x.on("close",(function(){R=!0})),n===void 0&&(n=r(238)),n(x,{readable:A,writable:O},(function(M){if(M)return I(M);R=!0,I()}));var $=!1;return function(M){if(!R&&!$)return $=!0,(function(N){return N.setHeader&&typeof N.abort=="function"})(x)?x.abort():typeof x.destroy=="function"?x.destroy():void I(M||new o("pipe"))}})(E,S,b>
2590,(function(_){g||(g=_),_&&y.forEach(c),S||(y.forEach(c),v(g))}))}));return d.reduce(u)}},291:function(e,t,r){var n=r(48).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(i,o,a,c){var u=(function(f,d,h){return f.highWaterMark!=null?f.highWaterMark:d?f[h]:null})(o,c,a);if(u!=null){if(!isFinite(u)||Math.floor(u)!==u||u<0)throw new n(c?a:"highWaterMark",u);return Math.floor(u)}return i.objectMode?16:16384}}},345:function(e,t,r){e.exports=r(7).EventEmitter},861:function(e,t,r){var n=r(287),s=n.Buffer;function i(a,c){for(var u in a)c[u]=a[u]}function o(a,c,u){return s(a,c,u)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=o),o.prototype=Object.create(s.prototype),i(s,o),o.from=function(a,c,u){if(typeof a=="number")throw new TypeError("Argument must not be a number");return s(a,c,u)},o.alloc=function(a,c,u){if(typeof a!="number")throw new TypeError("Argument must be a number");var l=s(a);return c!==void 0?typeof u=="string"?l.fill(c,u):l.fill(c):l.fill(0),l},o.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return s(a)},o.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(a)}},392:function(e,t,r){var n=r(861).Buffer,s=r(496);function i(o,a){this._block=n.alloc(o),this._finalSize=a,this._blockSize=o,this._len=0}i.prototype.update=function(o,a){o=s(o,a||"utf8");for(var c=this._block,u=this._blockSize,l=o.length,f=this._len,d=0;d<l;){for(var h=f%u,g=Math.min(l-d,u-h),v=0;v<g;v++)c[h+v]=o[d+v];d+=g,(f+=g)%u==0&&this._update(c)}return this._len+=l,this},i.prototype.digest=function(o){var a=this._len%this._blockSize;this._block[a]=128,this._block.fill(0,a+1),a>=this._finalSize&&(this._update(this._block),this._block.fill(0));var c=8*this._len;if(c<=4294967295)this._block.writeUInt32BE(c,this._blockSize-4);else{var u=(4294967295&c)>>>0,l=(c-u)/4294967296;this._block.writeUInt32BE(l,this._blockSize-8),this._block.writeUInt32BE(u,this._blockSize-4)}this._update(this._block);var f=this._hash();return o?f.toString(o):f},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=i},802:function(e,t,r){e.exports=function(s){var i=s.toLowerCase(),o=e.exports[i];if(!o)throw new Error(i+" is not supported (we accept pull requests)");return new o},e.exports.sha=r(816),e.exports.sha1=r(737),e.exports.sha224=r(710),e.exports.sha256=r(107),e.exports.sha384=r(827),e.exports.sha512=r(890)},816:function(e,t,r){var n=r(698),s=r(392),i=r(861).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,s.call(this,64,56)}function u(f){return f<<30|f>>>2}function l(f,d,h,g){return f===0?d&h|~d&g:f===2?d&h|d&g|h&g:d^h^g}n(c,s),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(f){for(var d,h=this._w,g=0|this._a,v=0|this._b,y=0|this._c,E=0|this._d,b=0|this._e,S=0;S<16;++S)h[S]=f.readInt32BE(4*S);for(;S<80;++S)h[S]=h[S-3]^h[S-8]^h[S-14]^h[S-16];for(var _=0;_<80;++_){var x=~~(_/20),A=0|((d=g)<<5|d>>>27)+l(x,v,y,E)+b+h[_]+o[x];b=E,E=y,y=u(v),v=g,g=A}this._a=g+this._a|0,this._b=v+this._b|0,this._c=y+this._c|0,this._d=E+this._d|0,this._e=b+this._e|0},c.prototype._hash=function(){var f=i.allocUnsafe(20);return f.writeInt32BE(0|this._a,0),f.writeInt32BE(0|this._b,4),f.writeInt32BE(0|this._c,8),f.writeInt32BE(0|this._d,12),f.writeInt32BE(0|this._e,16),f},e.exports=c},737:function(e,t,r){var n=r(698),s=r(392),i=r(861).Buffer,o=[1518500249,1859775393,-1894007588,-899497514],a=new Array(80);function c(){this.init(),this._w=a,s.call(this,64,56)}function u(d){return d<<5|d>>>27}function l(d){return d<<30|d>>>2}function f(d,h,g,v){return d===0?h&g|~h&v:d===2?h&g|h&v|g&v:h^g^v}n(c,s),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(d){for(var h,g=this._w,v=0|this._a,y=0|this._b,E=0|this._c,b=0|this._d,S=0|this._e,_=0;_<16;++_)g[_]=d.readInt32BE(4*_);for(;_<80;++_)g[_]=(h=g[_-3]^g[_-8]^g[_-14]^g[_-16])<<1|h>>>31;for(var x=0;x<80;
vendor: 5,093 bytes, line 259
259++x){var A=~~(x/20),O=u(v)+f(A,y,E,b)+S+g[x]+o[A]|0;S=b,b=E,E=l(y),y=v,v=O}this._a=v+this._a|0,this._b=y+this._b|0,this._c=E+this._c|0,this._d=b+this._d|0,this._e=S+this._e|0},c.prototype._hash=function(){var d=i.allocUnsafe(20);return d.writeInt32BE(0|this._a,0),d.writeInt32BE(0|this._b,4),d.writeInt32BE(0|this._c,8),d.writeInt32BE(0|this._d,12),d.writeInt32BE(0|this._e,16),d},e.exports=c},710:function(e,t,r){var n=r(698),s=r(107),i=r(392),o=r(861).Buffer,a=new Array(64);function c(){this.init(),this._w=a,i.call(this,64,56)}n(c,s),c.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},c.prototype._hash=function(){var u=o.allocUnsafe(28);return u.writeInt32BE(this._a,0),u.writeInt32BE(this._b,4),u.writeInt32BE(this._c,8),u.writeInt32BE(this._d,12),u.writeInt32BE(this._e,16),u.writeInt32BE(this._f,20),u.writeInt32BE(this._g,24),u},e.exports=c},107:function(e,t,r){var n=r(698),s=r(392),i=r(861).Buffer,o=[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],a=new Array(64);function c(){this.init(),this._w=a,s.call(this,64,56)}function u(g,v,y){return y^g&(v^y)}function l(g,v,y){return g&v|y&(g|v)}function f(g){return(g>>>2|g<<30)^(g>>>13|g<<19)^(g>>>22|g<<10)}function d(g){return(g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7)}function h(g){return(g>>>7|g<<25)^(g>>>18|g<<14)^g>>>3}n(c,s),c.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},c.prototype._update=function(g){for(var v,y=this._w,E=0|this._a,b=0|this._b,S=0|this._c,_=0|this._d,x=0|this._e,A=0|this._f,O=0|this._g,I=0|this._h,R=0;R<16;++R)y[R]=g.readInt32BE(4*R);for(;R<64;++R)y[R]=0|(((v=y[R-2])>>>17|v<<15)^(v>>>19|v<<13)^v>>>10)+y[R-7]+h(y[R-15])+y[R-16];for(var $=0;$<64;++$){var M=I+d(x)+u(x,A,O)+o[$]+y[$]|0,q=f(E)+l(E,b,S)|0;I=O,O=A,A=x,x=_+M|0,_=S,S=b,b=E,E=M+q|0}this._a=E+this._a|0,this._b=b+this._b|0,this._c=S+this._c|0,this._d=_+this._d|0,this._e=x+this._e|0,this._f=A+this._f|0,this._g=O+this._g|0,this._h=I+this._h|0},c.prototype._hash=function(){var g=i.allocUnsafe(32);return g.writeInt32BE(this._a,0),g.writeInt32BE(this._b,4),g.writeInt32BE(this._c,8),g.writeInt32BE(this._d,12),g.writeInt32BE(this._e,16),g.writeInt32BE(this._f,20),g.writeInt32BE(this._g,24),g.writeInt32BE(this._h,28),g},e.exports=c},827:function(e,t,r){var n=r(698),s=r(890),i=r(392),o=r(861).Buffer,a=new Array(160);function c(){this.init(),this._w=a,i.call(this,128,112)}n(c,s),c.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},c.prototype._hash=function(){var u=o.allocUnsafe(48);function l(f,d,h){u.writeInt32BE(f,h),u.writeInt32BE(d,h+4)}return l(this._ah,this._al,0),l(this._bh,this._bl,8),l(this._ch,this._cl,16),l(this._dh,this._dl,24),l(this._eh,this._el,32),l(this._fh,this._fl,40),u},e.exports=c},890:function(e,t,r){var n=r(698),s=r(392),i=r(861).Buffer,o=[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,
2591322822218,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],a=new Array(160);function c(){this.init(),this._w=a,s.call(this,128,112)}function u(b,S,_){return _^b&(S^_)}function l(b,S,_){return b&S|_&(b|S)}function f(b,S){return(b>>>28|S<<4)^(S>>>2|b<<30)^(S>>>7|b<<25)}function d(b,S){return(b>>>14|S<<18)^(b>>>18|S<<14)^(S>>>9|b<<23)}function h(b,S){return(b>>>1|S<<31)^(b>>>8|S<<24)^b>>>7}function g(b,S){return(b>>>1|S<<31)^(b>>>8|S<<24)^(b>>>7|S<<25)}function v(b,S){return(b>>>19|S<<13)^(S>>>29|b<<3)^b>>>6}function y(b,S){return(b>>>19|S<<13)^(S>>>29|b<<3)^(b>>>6|S<<26)}function E(b,S){return b>>>0<S>>>0?1:0}n(c,s),c.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},c.prototype._update=function(b){for(var S=this._w,_=0|this._ah,x=0|this._bh,A=0|this._ch,O=0|this._dh,I=0|this._eh,R=0|this._fh,$=0|this._gh,M=0|this._hh,q=0|this._al,N=0|this._bl,U=0|this._cl,X=0|this._dl,J=0|this._el,ee=0|this._fl,ne=0|this._gl,re=0|this._hl,Y=0;Y<32;Y+=2)S[Y]=b.readInt32BE(4*Y),S[Y+1]=b.readInt32BE(4*Y+4);for(;Y<160;Y+=2){var ie=S[Y-30],ce=S[Y-30+1],ge=h(ie,ce),de=g(ce,ie),ae=v(ie=S[Y-4],ce=S[Y-4+1]),W=y(ce,ie),V=S[Y-14],fe=S[Y-14+1],ye=S[Y-32],De=S[Y-32+1],Fe=de+fe|0,Re=ge+V+E(Fe,de)|0;Re=(Re=Re+ae+E(Fe=Fe+W|0,W)|0)+ye+E(Fe=Fe+De|0,De)|0,S[Y]=Re,S[Y+1]=Fe}for(var ke=0;ke<160;ke+=2){Re=S[ke],Fe=S[ke+1];var Je=l(_,x,A),be=l(q,N,U),Ee=f(_,q),xe=f(q,_),L=d(I,J),T=d(J,I),j=o[ke],z=o[ke+1],Q=u(I,R,$),oe=u(J,ee,ne),he=re+T|0,$e=M+L+E(he,re)|0;$e=($e=($e=$e+Q+E(he=he+oe|0,oe)|0)+j+E(he=he+z|0,z)|0)+Re+E(he=he+Fe|0,Fe)|0;var tt=xe+be|0,F=Ee+Je+E(tt,xe)|0;M=$,re=ne,$=R,ne=ee,R=I,ee=J,I=O+$e+E(J=X+he|0,X)|0,O=A,X=U,A=x,U=N,x=_,N=q,_=$e+F+E(q=he+tt|0,he)|0}this._al=this._al+q|0,this._bl=this._bl+N|0,this._cl=this._cl+U|0,this._dl=this._dl+X|0,this._el=this._el+J|0,this._fl=this._fl+ee|0,this._gl=this._gl+ne|0,this._hl=this._hl+re|0,this._ah=this._ah+_+E(this._al,q)|0,this._bh=this._bh+x+E(this._bl,N)|0,this._ch=this._ch+A+E(this._cl,U)|0,this._dh=this._dh+O+E(this._dl,X)|0,this._eh=this._eh+I+E(this._el,J)|0,this._fh=this._fh+R+E(this._fl,ee)|0,this._gh=this._gh+$+E(this._gl,ne)|0,this._hh=this._hh+M+E(this._hl,re)|0},c.prototype._hash=function(){var b=i.allocUnsafe(64);function S(_,x,A){b.writeInt32BE(_,A),b.writeInt32BE(x,A+4)}return S(this._ah,this._al,0),S(this._bh,this._bl,8),S(this._ch,this._cl,16),S(this._dh,this._dl,24),S(this._eh,this._el,32),S(this._fh,this._fl,40),S(this._gh,this._gl,48),S(this._hh,this._hl,56),b},e.exports=c},310:function(e,t,r){e.exports=s;var n=r(7).EventEmitter;function s(){n.call(this)}r(698)(s,n),s.Readable=r(412),s.Writable=r(708),s.Duplex=r(382),s.Transform=r(610),s.PassThrough=r(600),s.finished=r(238),s.pipeline=r(758),s.Stream=s,s.prototype.pipe=function(i,o){var a=this;function c(v){i.writable&&i.write(v)===!1&&a.pause&&a.pause()}function u(){a.readable&&a.resume&&a.resume()}a.on("data",c),i.on("drain",u),i._isStdio||o&&o.end===!1||(a.on("end",f),a.on("close",d));var l=!1;function f(){l||(l=!0,i.end())}function d(){l||(l=!0,typeof i.destroy=="function"&&i.destroy())}function h(v){if(g(),n.listenerCount(this,"error")===0)throw v}function g(){a.removeListener("data",c),i.removeListener("drain",u),a.removeListener("end",f),a.removeListener("close",d),a.removeListener("error",h),i.removeListener("error",h),a.removeListener("end",g),a.removeListener("close",g),i.removeListener("close",g)}return a.on("error",h),i.on("error",h),a.on("end",g),a.on("close",g),i.on("close",g),i.emit("pipe",a),i}},141:function(e,t,r){var n=r(861).Buffer,s=n.isEncoding||function(g){switch((g=""+g)&&g.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 i(g){var v;switch(this.encoding=(function(E){var b=(function(_){if(!_)return"utf8";for(var x;;)switch(_){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";
259case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return _;default:if(x)return;_=(""+_).toLowerCase(),x=!0}})(E);if(typeof b!="string"&&(n.isEncoding===s||!s(E)))throw new Error("Unknown encoding: "+E);return b||E})(g),this.encoding){case"utf16le":this.text=c,this.end=u,v=4;break;case"utf8":this.fillLast=a,v=4;break;case"base64":this.text=l,this.end=f,v=3;break;default:return this.write=d,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(v)}function o(g){return g<=127?0:g>>5==6?2:g>>4==14?3:g>>3==30?4:g>>6==2?-1:-2}function a(g){var v=this.lastTotal-this.lastNeed,y=(function(b,S,_){if((192&S[0])!=128)return b.lastNeed=0,"�";if(b.lastNeed>1&&S.length>1){if((192&S[1])!=128)return b.lastNeed=1,"�";if(b.lastNeed>2&&S.length>2&&(192&S[2])!=128)return b.lastNeed=2,"�"}})(this,g);return y!==void 0?y:this.lastNeed<=g.length?(g.copy(this.lastChar,v,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(g.copy(this.lastChar,v,0,g.length),void(this.lastNeed-=g.length))}function c(g,v){if((g.length-v)%2==0){var y=g.toString("utf16le",v);if(y){var E=y.charCodeAt(y.length-1);if(E>=55296&&E<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1],y.slice(0,-1)}return y}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",v,g.length-1)}function u(g){var v=g&&g.length?this.write(g):"";if(this.lastNeed){var y=this.lastTotal-this.lastNeed;return v+this.lastChar.toString("utf16le",0,y)}return v}function l(g,v){var y=(g.length-v)%3;return y===0?g.toString("base64",v):(this.lastNeed=3-y,this.lastTotal=3,y===1?this.lastChar[0]=g[g.length-1]:(this.lastChar[0]=g[g.length-2],this.lastChar[1]=g[g.length-1]),g.toString("base64",v,g.length-y))}function f(g){var v=g&&g.length?this.write(g):"";return this.lastNeed?v+this.lastChar.toString("base64",0,3-this.lastNeed):v}function d(g){return g.toString(this.encoding)}function h(g){return g&&g.length?this.write(g):""}t.I=i,i.prototype.write=function(g){if(g.length===0)return"";var v,y;if(this.lastNeed){if((v=this.fillLast(g))===void 0)return"";y=this.lastNeed,this.lastNeed=0}else y=0;return y<g.length?v?v+this.text(g,y):this.text(g,y):v||""},i.prototype.end=function(v){var y=v&&v.length?this.write(v):"";return this.lastNeed?y+"�":y},i.prototype.text=function(v,y){var E=(function(_,x,A){var O=x.length-1;if(O<A)return 0;var I=o(x[O]);return I>=0?(I>0&&(_.lastNeed=I-1),I):--O<A||I===-2?0:(I=o(x[O]),I>=0?(I>0&&(_.lastNeed=I-2),I):--O<A||I===-2?0:(I=o(x[O]),I>=0?(I>0&&(I===2?I=0:_.lastNeed=I-3),I):0))})(this,v,y);if(!this.lastNeed)return v.toString("utf8",y);this.lastTotal=E;var b=v.length-(E-this.lastNeed);return v.copy(this.lastChar,0,b),v.toString("utf8",y,b)},i.prototype.fillLast=function(g){if(this.lastNeed<=g.length)return g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);g.copy(this.lastChar,this.lastTotal-this.lastNeed,0,g.length),this.lastNeed-=g.length}},643:function(e,t,r){function n(s){try{if(!r.g.localStorage)return!1}catch{return!1}var i=r.g.localStorage[s];return i!=null&&String(i).toLowerCase()==="true"}e.exports=function(i,o){if(n("noDeprecation"))return i;var a=!1;return function(){if(!a){if(n("throwDeprecation"))throw new Error(o);n("traceDeprecation")?console.trace(o):console.warn(o),a=!0}return i.apply(this,arguments)}}},499:function(e){var t={"&":"&",'"':""","'":"'","<":"<",">":">"};e.exports=function(n){return n&&n.replace?n.replace(/([&"<>'])/g,(function(s,i){return t[i]})):n}},123:function(e,t,r){var n=r(606),s=r(499),i=r(310).Stream;function o(c,u,l){var f,d=(function(S,_){return new Array(_||0).join(S||"")})(u,l=l||0),h=c;if(typeof c=="object"&&(h=c[f=Object.keys(c)[0]])&&h._elem)return h._elem.name=f,h._elem.icount=l,h._elem.indent=u,h._elem.indents=d,h._elem.interrupt=h,h._elem;var g,v=[],y=[];function E(b){Object.keys(b).forEach((function(S){v.push((function(x,A){return x+'="'+s(A)+'"'})(S,b[S]))}))}switch(typeof h){case"object":if(h===null)break;h._attr&&E(h._attr),h._cdata&&y.push(("<![CDATA["+h._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),h.forEach&&(g=!1,y.push(""),h.forEach((function(b){typeof b=="object"?Object.keys(b)[0]=="_attr"?E(b._attr):y.push(o(b,u,l+1)):(y.pop(),g=!0,y.push(s(b)))})),g||y.push(""));break;default:y.push(s(h))}return{name:f,interrupt:!1,attributes:v,content:y,icount:l,indents:d,indent:u}}function a(c,u,l){if(typeof u!="object")return c(!1,u);var f=u.interrupt?1:u.content.length;function d(){for(;u.content.length;){var g=u.content.shift();if(g!==void 0){if(h(g))return;a(c,g)}}c(!1,(f>1?u.indents:"")+(u.name?"</"+u.name+">":"")+(u.indent&&!l?` 260`:"")),l&&l()}function h(g){return!!g.interrupt&&(g.interrupt.append=c,g.interrupt.end=d,g.interrupt=!1,c(!0),!0)}if(c(!1,u.indents+(u.name?"<"+u.name:"")+(u.attributes.length?" "+u.attributes.join(" "):"")+(f?u.name?">":"":u.name?"/>":"")+(u.indent&&f>1?` 261`:"")),!f)return c(!1,u.indent?` 262`:"");h(u)||d()}e.exports=function(u,l){typeof l!="object"&&(l={indent:l});
262var f=l.stream?new i:null,d="",h=!1,g=l.indent?l.indent===!0?" ":l.indent:"",v=!0;function y(_){v?n.nextTick(_):_()}function E(_,x){if(x!==void 0&&(d+=x),_&&!h&&(f=f||new i,h=!0),_&&h){var A=d;y((function(){f.emit("data",A)})),d=""}}function b(_,x){a(E,o(_,g,g?1:0),x)}function S(){if(f){var _=d;y((function(){f.emit("data",_),f.emit("end"),f.readable=!1,f.emit("close")}))}}return y((function(){v=!1})),l.declaration&&(function(x){var A={version:"1.0",encoding:x.encoding||"UTF-8"};x.standalone&&(A.standalone=x.standalone),b({"?xml":{_attr:A}}),d=d.replace("/>","?>")})(l.declaration),u&&u.forEach?u.forEach((function(_,x){var A;x+1===u.length&&(A=S),b(_,A)})):b(u,S),f?(f.readable=!0,f):d},e.exports.element=e.exports.Element=function(){var u={_elem:o(Array.prototype.slice.call(arguments)),push:function(l){if(!this.append)throw new Error("not assigned to a parent!");var f=this,d=this._elem.indent;a(this.append,o(l,d,this._elem.icount+(d?1:0)),(function(){f.append(!0)}))},close:function(l){l!==void 0&&this.push(l),this.end&&this.end()}};return u}},987:function(e){e.exports=K7},362:function(e){e.exports=Y7},496:function(e){e.exports=NV},340:function(){},838:function(){}},xF={};function Ge(e){var t=xF[e];if(t!==void 0)return t.exports;var r=xF[e]={exports:{}};return Pme[e](r,r.exports,Ge),r.exports}Ge.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return Ge.d(t,{a:t}),t},Ge.d=function(e,t){for(var r in t)Ge.o(t,r)&&!Ge.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},Ge.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),Ge.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},Ge.r=function(e){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var Vw={};Ge.r(Vw),Ge.d(Vw,{CLEAR:function(){return L2},CLEAR_BY:function(){return U2},NEW_AUTH_ERR:function(){return B2},NEW_SPEC_ERR:function(){return F2},NEW_SPEC_ERR_BATCH:function(){return q2},NEW_THROWN_ERR:function(){return Dh},NEW_THROWN_ERR_BATCH:function(){return $2},clear:function(){return Fme},clearBy:function(){return qme},newAuthErr:function(){return $me},newSpecErr:function(){return Mme},newSpecErrBatch:function(){return Dme},newThrownErr:function(){return kme},newThrownErrBatch:function(){return Nme}});var zw={};Ge.r(zw),Ge.d(zw,{AUTHORIZE:function(){return W2},AUTHORIZE_OAUTH2:function(){return H2},CONFIGURE_AUTH:function(){return K2},LOGOUT:function(){return J2},RESTORE_AUTHORIZATION:function(){return G2},SHOW_AUTH_POPUP:function(){return z2},authPopup:function(){return uge},authorize:function(){return Kme},authorizeAccessCodeWithBasicAuthentication:function(){return sge},authorizeAccessCodeWithFormParams:function(){return nge},authorizeApplication:function(){return rge},authorizeOauth2:function(){return Qme},authorizeOauth2WithPersistOption:function(){return ege},authorizePassword:function(){return tge},authorizeRequest:function(){return ige},authorizeWithPersistOption:function(){return Gme},configureAuth:function(){return oge},logout:function(){return Yme},logoutWithPersistOption:function(){return Xme},persistAuthorizationIfNeeded:function(){return cge},preAuthorizeImplicit:function(){return Zme},restoreAuthorization:function(){return age},showDefinitions:function(){return Hme}});var Ww={};Ge.r(Ww),Ge.d(Ww,{authorized:function(){return gge},definitionsForRequirements:function(){return mge},definitionsToAuthorize:function(){return pge},getConfigs:function(){return vge},getDefinitionsByNames:function(){return dge},isAuthorized:function(){return yge},selectAuthPath:function(){return hge},shownDefinitions:function(){return fge}});var Jw={};Ge.r(Jw),Ge.d(Jw,{TOGGLE_CONFIGS:function(){return X2},UPDATE_CONFIGS:function(){return Y2},downloadConfig:function(){return Ige},getConfigByUrl:function(){return Pge},loaded:function(){return Tge},toggle:function(){return Rge},update:function(){return Cge}});var Hw={};Ge.r(Hw),Ge.d(Hw,{get:function(){return jge}});var Kw={};Ge.r(Kw),Ge.d(Kw,{transform:function(){return $ge}});var Gw={};Ge.r(Gw),Ge.d(Gw,{transform:function(){return Fge}});var Yw={};Ge.r(Yw),Ge.d(Yw,{allErrors:function(){return jU},lastError:function(){return Bge}});var Xw={};Ge.r(Xw),Ge.d(Xw,{SHOW:function(){return tO},UPDATE_FILTER:function(){return Q2},UPDATE_LAYOUT:function(){return Z2},UPDATE_MODE:function(){return eO},changeMode:function(){return Zge},show:function(){return Xge},updateFilter:function(){return Yge},updateLayout:function(){return Gge}});var Zw={};Ge.r(Zw),Ge.d(Zw,{current:function(){return eye},currentFilter:function(){return tye},isShown:function(){return DU},showSummary:function(){return nye},whatMode:function(){return rye}});var Qw={};Ge.r(Qw),Ge.d(Qw,{taggedOperations:function(){return sye}});var ex={};Ge.r(ex),Ge.d(ex,{getActiveLanguage:function(){return fye},getDefaultExpanded:function(){return pye},getGenerators:function(){return LU},getSnippetGenerators:function(){return lye}});var tx={};Ge.r(tx),Ge.d(tx,{JsonSchemaArrayItemFile:function(){return iO},JsonSchemaArrayItemText:function(){return sO},JsonSchemaForm:function(){return WU},JsonSchema_array:function(){return HU},JsonSchema_boolean:function(){return KU},JsonSchema_object:function(){return GU},JsonSchema_string:function(){return JU}});var rx={};Ge.r(rx),Ge.d(rx,{allowTryItOutFor:function(){return pve},basePath:function(){return ive},canExecuteScheme:function(){return Eve},consumes:function(){return u9},consumesOptionsFor:function(){return bve},contentTypeValues:function(){return yve},currentProducesFor:function(){return E9},definitions:function(){return sve},externalDocs:function(){return Zye},findDefinition:function(){return nve},getOAS3RequiredRequestBodyContentType:function(){return _ve},getParameter:function(){return dve},hasHost:function(){return mve},host:function(){return ove},info:function(){return i9},isMediaTypeSchemaPropertiesEqual:function(){return wve},isOAS3:function(){return Xye},lastError:function(){return zye},mutatedRequestFor:function(){return fve},mutatedRequests:function(){return g9},operationScheme:function(){return S9},operationWithMeta:function(){return v9},operations:function(){return c9},operationsWithRootInherited:function(){return f9},operationsWithTags:function(){return h9},parameterInclusionSettingFor:function(){return y9},parameterValues:function(){return b9},parameterWithMeta:function(){return hve},parameterWithMetaByIdentity:function(){return cO},parametersIncludeIn:function(){return gve},parametersIncludeType:function(){return Ex},paths:function(){return a9},produces:function(){return l9},producesOptionsFor:function(){return vve},requestFor:function(){return lve},requests:function(){return m9},responseFor:function(){return uve},responses:function(){return d9},schemes:function(){return ave},security:function(){return tve},securityDefinitions:function(){return rve},semver:function(){return Qye},spec:function(){return xn},specJS:function(){return Kye},specJson:function(){return oO},specJsonWithResolvedSubtrees:function(){return gs},specResolved:function(){return Gye},specResolvedSubtree:function(){return Yye},specSource:function(){return Hye},specStr:function(){return Jye},tagDetails:function(){return p9},taggedOperations:function(){return cve},tags:function(){return aO},url:function(){return Wye},validOperationMethods:function(){return eve},validateBeforeExecute:function(){return Sve},validationErrors:function(){return _9},version:function(){return o9}});var nx={};Ge.r(nx),Ge.d(nx,{CLEAR_REQUEST:function(){return vO},CLEAR_RESPONSE:function(){return yO},CLEAR_VALIDATE_PARAMS:function(){return bO},LOG_REQUEST:function(){return x9},SET_MUTATED_REQUEST:function(){return gO},SET_REQUEST:function(){return mO},SET_RESPONSE:function(){return dO},SET_SCHEME:function(){return SO},UPDATE_EMPTY_PARAM_INCLUSION:function(){return pO},UPDATE_JSON:function(){return fO},UPDATE_OPERATION_META_VALUE:function(){return Bh},UPDATE_PARAM:function(){return qh},UPDATE_RESOLVED:function(){return EO},UPDATE_RESOLVED_SUBTREE:function(){return Lh},UPDATE_SPEC:function(){return uO},UPDATE_URL:function(){return lO},VALIDATE_PARAMS:function(){return hO},changeConsumesValue:function(){return Bve},changeParam:function(){return kve},changeParamByIdentity:function(){return Nve},changeProducesValue:function(){return Lve},clearRequest:function(){return Gve},clearResponse:function(){return Kve},clearValidateParams:function(){return qve},execute:function(){return Hve},executeRequest:function(){return Jve},invalidateResolvedSubtreeCache:function(){return Dve},logRequest:function(){return Wve},parseToJson:function(){return Tve},requestResolvedSubtree:function(){return jve},resolveSpec:function(){return Ive},setMutatedRequest:function(){return zve},setRequest:function(){return Vve},setResponse:function(){return Uve},setScheme:function(){return Yve},updateEmptyParamInclusion:function(){return Fve},updateJsonSpec:function(){return Rve},updateResolved:function(){return Ove},updateResolvedSubtree:function(){return Mve},updateSpec:function(){return Ave},updateUrl:function(){return Cve},validateParams:function(){return $ve}});var sx={};Ge.r(sx),Ge.d(sx,{executeRequest:function(){return e0e},updateJsonSpec:function(){return Qve},updateSpec:function(){return Zve},validateParams:function(){return t0e}});var ix={};Ge.r(ix),Ge.d(ix,{Button:function(){return K9},Col:function(){return rbe},Collapse:function(){return X9},Container:function(){return tbe},Input:function(){return ibe},Link:function(){return Y9},Row:function(){return nbe},Select:function(){return G9},TextArea:function(){return sbe}});var ox={};Ge.r(ox),Ge.d(ox,{basePath:function(){return qbe},consumes:function(){return Bbe},definitions:function(){return Nbe},findDefinition:function(){return kbe},hasHost:function(){return Mbe},host:function(){return Fbe},produces:function(){return Lbe},schemes:function(){return Ube},securityDefinitions:function(){return Dbe},validOperationMethods:function(){return $be}});var ax={};Ge.r(ax),Ge.d(ax,{definitionsToAuthorize:function(){return Vbe}});var cx={};Ge.r(cx),Ge.d(cx,{callbacksOperations:function(){return Ybe},findSchema:function(){return Gbe},isOAS3:function(){return Hbe},isOAS30:function(){return Jbe},isSwagger2:function(){return Wbe},servers:function(){return Kbe}});var ux={};Ge.r(ux),Ge.d(ux,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:function(){return Vh},CLEAR_REQUEST_BODY_VALUE:function(){return jO},SET_REQUEST_BODY_VALIDATE_ERROR:function(){return PO},UPDATE_ACTIVE_EXAMPLES_MEMBER:function(){return CO},UPDATE_REQUEST_BODY_INCLUSION:function(){return OO},UPDATE_REQUEST_BODY_VALUE:function(){return xO},UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:function(){return AO},UPDATE_REQUEST_CONTENT_TYPE:function(){return RO},UPDATE_RESPONSE_CONTENT_TYPE:function(){return TO},UPDATE_SELECTED_SERVER:function(){return wO},UPDATE_SERVER_VARIABLE_VALUE:function(){return IO},clearRequestBodyValidateError:function(){return SEe},clearRequestBodyValue:function(){return wEe},initRequestBodyValidateError:function(){return _Ee},setActiveExamplesMember:function(){return gEe},setRequestBodyInclusion:function(){return mEe},setRequestBodyValidateError:function(){return EEe},setRequestBodyValue:function(){return hEe},setRequestContentType:function(){return yEe},setResponseContentType:function(){return vEe},setRetainRequestBodyValueFlag:function(){return dEe},setSelectedServer:function(){return pEe},setServerVariableValue:function(){return bEe}});var lx={};Ge.r(lx),Ge.d(lx,{activeExamplesMember:function(){return PEe},hasUserEditedBody:function(){return REe},requestBodyErrors:function(){return IEe},requestBodyInclusionSetting:function(){return TEe},requestBodyValue:function(){return AEe},requestContentType:function(){return jEe},responseContentType:function(){return kEe},selectDefaultRequestBodyValue:function(){return CEe},selectedServer:function(){return xEe},serverEffectiveValue:function(){return DEe},serverVariableValue:function(){return NEe},serverVariables:function(){return MEe},shouldRetainRequestBodyValue:function(){return OEe},validOperationMethods:function(){return qEe},validateBeforeExecute:function(){return $Ee},validateShallowRequired:function(){return FEe}});var jme=Ge(919),Tc=Ge.n(jme);const Dh="err_new_thrown_err",$2="err_new_thrown_err_batch",F2="err_new_spec_err",q2="err_new_spec_err_batch",B2="err_new_auth_err",L2="err_clear",U2="err_clear_by";function kme(e){return{type:Dh,payload:Cq.serializeError(e)}}function Nme(e){return{type:$2,payload:e}}function Mme(e){return{type:F2,payload:e}}function Dme(e){return{type:q2,payload:e}}function $me(e){return{type:B2,payload:e}}function Fme(e={}){return{type:L2,payload:e}}function qme(e=()=>!0){return{type:U2,payload:e}}var Zt=(function(){var t={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if(typeof window>"u")return t;try{t=window;for(var r of["File","Blob","FormData"])r in window&&(t[r]=window[r])}catch(n){console.error(n)}return t})(),Bme=Ge(209),oa=Ge.n(Bme),Lme=Ge(802),Ume=Ge.n(Lme);const Vme=$t.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function Zl(e,{isOAS3:t}={}){if(!$t.Map.isMap(e))return{schema:$t.Map(),parameterContentMediaType:null};if(!t)return e.get("in")==="body"?{schema:e.get("schema",$t.Map()),parameterContentMediaType:null}:{schema:e.filter(((r,n)=>Vme.includes(n))),parameterContentMediaType:null};if(e.get("content")){const r=e.get("content",$t.Map({})).keySeq().first();return{schema:e.getIn(["content",r,"schema"],$t.Map()),parameterContentMediaType:r}}return{schema:e.get("schema")?e.get("schema",$t.Map()):$t.Map(),parameterContentMediaType:null}}var AF=Ge(287).Buffer;const OF="default",Zu=e=>$t.Iterable.isIterable(e),Ni=e=>Zu(e)?e.toJS():e;function no(e){return Rs(e)?Ni(e):{}}function Cs(e){if(Zu(e)||e instanceof Zt.File||!Rs(e))return e;if(Array.isArray(e))return $t.Seq(e).map(Cs).toList();if(WP(e.entries)){const t=(function(n){if(!WP(n.entries))return n;const s={},i="_**[]",o={};for(let a of n.entries())s[a[0]]||o[a[0]]&&o[a[0]].containsMultiple?(o[a[0]]||(o[a[0]]={containsMultiple:!0,length:1},s[`${a[0]}${i}${o[a[0]].length}`]=s[a[0]],delete s[a[0]]),o[a[0]].length+=1,s[`${a[0]}${i}${o[a[0]].length}`]=a[1]):s[a[0]]=a[1];return s})(e);return $t.OrderedMap(t).map(Cs)}return $t.OrderedMap(e).map(Cs)}function Po(e){return Array.isArray(e)?e:[e]}function n_(e){return typeof e=="function"}function Rs(e){return!!e&&typeof e=="object"}function si(e){return typeof e=="function"}function Cf(e){return Array.isArray(e)}const zme=rc;function ss(e,t){return Object.keys(e).reduce(((r,n)=>(r[n]=t(e[n],n),r)),{})}function CF(e,t){return Object.keys(e).reduce(((r,n)=>{let s=t(e[n],n);return s&&typeof s=="object"&&Object.assign(r,s),r}),{})}function Wme(e){return({dispatch:t,getState:r})=>n=>s=>typeof s=="function"?s(e()):n(s)}function fx(e,t,r,n,s,i){if(!t)return[];let o=[],a=t.get("nullable"),c=t.get("required"),u=t.get("maximum"),l=t.get("minimum"),f=t.get("type"),d=t.get("format"),h=t.get("maxLength"),g=t.get("minLength"),v=t.get("uniqueItems"),y=t.get("maxItems"),E=t.get("minItems"),b=t.get("pattern");const S=r||c===!0,_=e!=null,x=S||_&&f==="array"||!(!S&&!_),A=a&&e===null;if(S&&!_&&!A&&!n&&!f)return o.push("Required field is not provided"),o;if(A||!f||!x)return[];let O=f==="string"&&e,I=f==="array"&&Array.isArray(e)&&e.length,R=f==="array"&&$t.List.isList(e)&&e.count(),$=f==="array"&&typeof e=="string"&&e;const M=[O,I,R,f==="file"&&e instanceof Zt.File,f==="boolean"&&(e||e===!1),f==="number"&&(e||e===0),f==="integer"&&(e||e===0),f==="object"&&typeof e=="object"&&e!==null,f==="object"&&typeof e=="string"&&e],q=(i?M:M.concat($)).some((N=>!!N));if(S&&!q&&!n)return o.push("Required field is not provided"),o;if(f==="object"&&(s===null||s==="application/json")){let N=e;if(typeof e=="string")try{N=JSON.parse(e)}catch{return o.push("Parameter string value must be valid JSON"),o}
262t&&t.has("required")&&si(c.isList)&&c.isList()&&c.forEach((U=>{N[U]===void 0&&o.push({propKey:U,error:"Required property not found"})})),t&&t.has("properties")&&t.get("properties").forEach(((U,X)=>{const J=fx(N[X],U,!1,n,s,i);o.push(...J.map((ee=>({propKey:X,error:ee}))))}))}if(b){let N=((U,X)=>{if(!new RegExp(X).test(U))return"Value must follow pattern "+X})(e,b);N&&o.push(N)}if(E&&f==="array"){let N=((U,X)=>{if(!U&&X>=1||U&&U.length<X)return`Array must contain at least ${X} item${X===1?"":"s"}`})(e,E);N&&o.push(N)}if(y&&f==="array"){let N=((U,X)=>{if(U&&U.length>X)return`Array must not contain more then ${X} item${X===1?"":"s"}`})(e,y);N&&o.push({needRemove:!0,error:N})}if(v&&f==="array"){let N=((U,X)=>{if(U&&(X==="true"||X===!0)){const J=Z.fromJS(U),ee=J.toSet();if(U.length>ee.size){let ne=Z.Set();if(J.forEach(((re,Y)=>{J.filter((ie=>si(ie.equals)?ie.equals(re):ie===re)).size>1&&(ne=ne.add(Y))})),ne.size!==0)return ne.map((re=>({index:re,error:"No duplicates allowed."}))).toArray()}}})(e,v);N&&o.push(...N)}if(h||h===0){let N=((U,X)=>{if(U.length>X)return`Value must be no longer than ${X} character${X!==1?"s":""}`})(e,h);N&&o.push(N)}if(g){let N=((U,X)=>{if(U.length<X)return`Value must be at least ${X} character${X!==1?"s":""}`})(e,g);N&&o.push(N)}if(u||u===0){let N=((U,X)=>{if(U>X)return`Value must be less than or equal to ${X}`})(e,u);N&&o.push(N)}if(l||l===0){let N=((U,X)=>{if(U<X)return`Value must be greater than or equal to ${X}`})(e,l);N&&o.push(N)}if(f==="string"){let N;if(N=d==="date-time"?(U=>{if(isNaN(Date.parse(U)))return"Value must be a DateTime"})(e):d==="uuid"?(U=>{if(U=U.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(U))return"Value must be a Guid"})(e):(U=>{if(U&&typeof U!="string")return"Value must be a string"})(e),!N)return o;o.push(N)}else if(f==="boolean"){let N=(U=>{if(U!=="true"&&U!=="false"&&U!==!0&&U!==!1)return"Value must be a boolean"})(e);if(!N)return o;o.push(N)}else if(f==="number"){let N=(U=>{if(!/^-?\d+(\.?\d+)?$/.test(U))return"Value must be a number"})(e);if(!N)return o;o.push(N)}else if(f==="integer"){let N=(U=>{if(!/^-?\d+$/.test(U))return"Value must be an integer"})(e);if(!N)return o;o.push(N)}else if(f==="array"){if(!I&&!R)return o;e&&e.forEach(((N,U)=>{const X=fx(N,t.get("items"),!1,n,s,i);o.push(...X.map((J=>({index:U,error:J}))))}))}else if(f==="file"){let N=(U=>{if(U&&!(U instanceof Zt.File))return"Value must be a file"})(e);if(!N)return o;o.push(N)}return o}const Qu=e=>{let t;return t=e instanceof AF?e:AF.from(e.toString(),"utf-8"),t.toString("base64")},RF={operationsSorter:{alpha:(e,t)=>e.get("path").localeCompare(t.get("path")),method:(e,t)=>e.get("method").localeCompare(t.get("method"))},tagsSorter:{alpha:(e,t)=>e.localeCompare(t)}},$h=e=>{let t=[];for(let r in e){let n=e[r];n!==void 0&&n!==""&&t.push([r,"=",encodeURIComponent(n).replace(/%20/g,"+")].join(""))}return t.join("&")},Jme=(e,t,r)=>!!kW(r,(n=>BW(e[n],t[n])));function TF(e){return!(!e||e.indexOf("localhost")>=0||e.indexOf("127.0.0.1")>=0||e==="none")}const Ic=e=>typeof e=="string"||e instanceof String?e.trim().replace(/\s/g,"%20"):"",wU=e=>WW(Ic(e).replace(/%20/g,"_")),px=e=>/^x-/.test(e),Wi=e=>Z.Map.isMap(e)?e.filter(((t,r)=>px(r))):Object.keys(e).filter((t=>px(t))),xU=e=>e.filter(((t,r)=>/^pattern|maxLength|minLength|maximum|minimum/.test(r)));function AU(e,t,r=()=>!0){if(typeof e!="object"||Array.isArray(e)||e===null||!t)return e;const n=Object.assign({},e);return Object.keys(n).forEach((s=>{s===t&&r(n[s],s)?delete n[s]:n[s]=AU(n[s],t,r)})),n}function Mr(e){if(typeof e=="string")return e;if(e&&e.toJS&&(e=e.toJS()),typeof e=="object"&&e!==null)try{return JSON.stringify(e,null,2)}catch{return String(e)}return e==null?"":e.toString()}function Rf(e,{returnAll:t=!1,allowHashes:r=!0}={}){if(!$t.Map.isMap(e))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");const n=e.get("name"),s=e.get("in");let i=[];return e&&e.hashCode&&s&&n&&r&&i.push(`${s}.${n}.hash-${e.hashCode()}`),s&&n&&i.push(`${s}.${n}`),i.push(n),t?i:i[0]||""}function OU(e,t){return Rf(e,{returnAll:!0}).map((r=>t[r])).filter((r=>r!==void 0))[0]}function IF(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const V2=e=>!e||!(!Zu(e)||!e.isEmpty()),PF=e=>e;class CU{constructor(t={}){Tc()(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}}
262,t),this.getSystem=this._getSystem.bind(this),this.store=(function(n,s,i){return(function(a,c,u){let l=[Wme(u)];const f=Zt.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Mx;return Aq(a,c,f(qV(...l)))})(n,s,i)})(PF,Z.fromJS(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(t,r=!0){var n=hx(t,this.getSystem());RU(this.system,n),r&&this.buildSystem(),dx.call(this.system,t,this.getSystem())&&this.buildSystem()}buildSystem(t=!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()),t&&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:$t,React:p},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(t){this.system.configs=t}rebuildReducer(){this.store.replaceReducer((function(r,n){return(function(i,o){let a=Object.keys(i).reduce(((c,u)=>(c[u]=(function(f,d){return(h=new Z.Map,g)=>{if(!f)return h;let v=f[g.type];if(v){const y=ac(v,d)(h,g);return y===null?h:y}return h}})(i[u],o),c)),{});return Object.keys(a).length?JV.combineReducers(a):PF})(ss(r,(s=>s.reducers)),n)})(this.system.statePlugins,this.getSystem))}getType(t){let r=t[0].toUpperCase()+t.slice(1);return CF(this.system.statePlugins,((n,s)=>{let i=n[t];if(i)return{[s+r]:i}}))}getSelectors(){return this.getType("selectors")}getActions(){return ss(this.getType("actions"),(t=>CF(t,((r,n)=>{if(n_(r))return{[n]:r}}))))}getWrappedAndBoundActions(t){return ss(this.getBoundActions(t),((r,n)=>{let s=this.system.statePlugins[n.slice(0,-7)].wrapActions;return s?ss(r,((i,o)=>{let a=s[o];return a?(Array.isArray(a)||(a=[a]),a.reduce(((c,u)=>{let l=(...f)=>u(c,this.getSystem())(...f);if(!n_(l))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return ac(l,this.getSystem)}),i||Function.prototype)):i})):r}))}getWrappedAndBoundSelectors(t,r){return ss(this.getBoundSelectors(t,r),((n,s)=>{let i=[s.slice(0,-9)],o=this.system.statePlugins[i].wrapSelectors;return o?ss(n,((a,c)=>{let u=o[c];return u?(Array.isArray(u)||(u=[u]),u.reduce(((l,f)=>{let d=(...h)=>f(l,this.getSystem())(t().getIn(i),...h);if(!n_(d))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return d}),a||Function.prototype)):a})):n}))}getStates(t){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=t.get(n),r)),{})}getStateThunks(t){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=()=>t().get(n),r)),{})}getFn(){return{fn:this.system.fn}}getComponents(t){const r=this.system.components[t];return Array.isArray(r)?r.reduce(((n,s)=>s(n,this.getSystem()))):t!==void 0?this.system.components[t]:this.system.components}getBoundSelectors(t,r){return ss(this.getSelectors(),((n,s)=>{let i=[s.slice(0,-9)];return ss(n,(o=>(...a)=>
262{let c=ac(o,this.getSystem).apply(null,[t().getIn(i),...a]);return typeof c=="function"&&(c=ac(c,this.getSystem)(r())),c}))}))}getBoundActions(t){t=t||this.getStore().dispatch;const r=this.getActions(),n=s=>typeof s!="function"?ss(s,(i=>n(i))):(...i)=>{var o=null;try{o=s(...i)}catch(a){o={type:Dh,error:!0,payload:Cq.serializeError(a)}}finally{return o}};return ss(r,(s=>FV(n(s),t)))}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(t){return r=>Tc()({},this.getWrappedAndBoundActions(r),this.getFn(),t)}}function hx(e,t){return Rs(e)&&!Cf(e)?Fz({},e):si(e)?hx(e(t),t):Cf(e)?e.map((r=>hx(r,t))).reduce(RU,{components:t.getComponents()}):{}}function dx(e,t,{hasLoaded:r}={}){let n=r;return Rs(e)&&!Cf(e)&&typeof e.afterLoad=="function"&&(n=!0,ac(e.afterLoad,t.getSystem).call(this,t)),si(e)?dx.call(this,e(t),t,{hasLoaded:n}):Cf(e)?e.map((s=>dx.call(this,s,t,{hasLoaded:n}))):n}function RU(e={},t={}){if(!Rs(e))return{};if(!Rs(t))return e;t.wrapComponents&&(ss(t.wrapComponents,((n,s)=>{const i=e.components&&e.components[s];i&&Array.isArray(i)?(e.components[s]=i.concat([n]),delete t.wrapComponents[s]):i&&(e.components[s]=[i,n],delete t.wrapComponents[s])})),Object.keys(t.wrapComponents).length||delete t.wrapComponents);const{statePlugins:r}=e;if(Rs(r))for(let n in r){const s=r[n];if(!Rs(s))continue;const{wrapActions:i,wrapSelectors:o}=s;if(Rs(i))for(let a in i){let c=i[a];Array.isArray(c)||(c=[c],i[a]=c),t&&t.statePlugins&&t.statePlugins[n]&&t.statePlugins[n].wrapActions&&t.statePlugins[n].wrapActions[a]&&(t.statePlugins[n].wrapActions[a]=i[a].concat(t.statePlugins[n].wrapActions[a]))}if(Rs(o))for(let a in o){let c=o[a];Array.isArray(c)||(c=[c],o[a]=c),t&&t.statePlugins&&t.statePlugins[n]&&t.statePlugins[n].wrapSelectors&&t.statePlugins[n].wrapSelectors[a]&&(t.statePlugins[n].wrapSelectors[a]=o[a].concat(t.statePlugins[n].wrapSelectors[a]))}}return Tc()(e,t)}function ac(e,t,{logErrors:r=!0}={}){return typeof e!="function"?e:function(...n){try{return e.call(this,...n
262)}catch(s){if(r){const{uncaughtExceptionHandler:i}=t().getConfigs();typeof i=="function"?i(s):console.error(s)}return null}}}const z2="show_popup",W2="authorize",J2="logout",H2="authorize_oauth2",K2="configure_auth",G2="restore_authorization";function Hme(e){return{type:z2,payload:e}}function Kme(e){return{type:W2,payload:e}}const Gme=e=>({authActions:t})=>{t.authorize(e),t.persistAuthorizationIfNeeded()};function Yme(e){return{type:J2,payload:e}}const Xme=e=>({authActions:t})=>{t.logout(e),t.persistAuthorizationIfNeeded()},Zme=e=>({authActions:t,errActions:r})=>{let{auth:n,token:s,isValid:i}=e,{schema:o,name:a}=n,c=o.get("flow");delete Zt.swaggerUIRedirectOauth2,c==="accessCode"||i||r.newAuthErr({authId:a,source:"auth",level:"warning",message:"Authorization may be unsafe, passed state was changed in server Passed state wasn't returned from auth server"}),s.error?r.newAuthErr({authId:a,source:"auth",level:"error",message:JSON.stringify(s)}):t.authorizeOauth2WithPersistOption({auth:n,token:s})};function Qme(e){return{type:H2,payload:e}}const ege=e=>({authActions:t})=>{t.authorizeOauth2(e),t.persistAuthorizationIfNeeded()},tge=e=>({authActions:t})=>{let{schema:r,name:n,username:s,password:i,passwordType:o,clientId:a,clientSecret:c}=e,u={grant_type:"password",scope:e.scopes.join(" "),username:s,password:i},l={};switch(o){case"request-body":(function(d,h,g){h&&Object.assign(d,{client_id:h}),g&&Object.assign(d,{client_secret:g})})(u,a,c);break;case"basic":l.Authorization="Basic "+Qu(a+":"+c);break;default:console.warn(`Warning: invalid passwordType ${o} was passed, not including client id and secret`)}return t.authorizeRequest({body:$h(u),url:r.get("tokenUrl"),name:n,headers:l,query:{},auth:e})},rge=e=>({authActions:t})=>{let{schema:r,scopes:n,name:s,clientId:i,clientSecret:o}=e,a={Authorization:"Basic "+Qu(i+":"+o)},c={grant_type:"client_credentials",scope:n.join(" ")};return t.authorizeRequest({body:$h(c),name:s,url:r.get("tokenUrl"),auth:e,headers:a})},nge=({auth:e,redirectUrl:t})=>({authActions:r})=>{let{schema:n,name:s,clientId:i,clientSecret:o,codeVerifier:a}=e,c={grant_type:"authorization_code",code:e.code,client_id:i,client_secret:o,redirect_uri:t,code_verifier:a};return r.authorizeRequest({body:$h(c),name:s,url:n.get("tokenUrl"),auth:e})},sge=({auth:e,redirectUrl:t})=>({authActions:r})=>{let{schema:n,name:s,clientId:i,clientSecret:o,codeVerifier:a}=e,c={Authorization:"Basic "+Qu(i+":"+o)},u={grant_type:"authorization_code",code:e.code,client_id:i,redirect_uri:t,code_verifier:a};return r.authorizeRequest({body:$h(u),name:s,url:n.get("tokenUrl"),auth:e,headers:c})},ige=e=>({fn:t,getConfigs:r,authActions:n,errActions:s,oas3Selectors:i,specSelectors:o,authSelectors:a})=>{let c,{body:u,query:l={},headers:f={},name:d,url:h,auth:g}=e,{additionalQueryStringParams:v}=a.getConfigs()||{};if(o.isOAS3()){let b=i.serverEffectiveValue(i.selectedServer());c=mc(h,b,!0)}else c=mc(h,o.url(),!0);typeof v=="object"&&(c.query=Object.assign({},c.query,v));const y=c.toString();let E=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},f);t.fetch({url:y,method:"post",headers:E,query:l,body:u,requestInterceptor:r().requestInterceptor,responseInterceptor:r().responseInterceptor}).then((function(b){let S=JSON.parse(b.data),_=S&&(S.error||""),x=S&&(S.parseError||"");b.ok?_||x?s.newAuthErr({authId:d,level:"error",source:"auth",message:JSON.stringify(S)}):n.authorizeOauth2WithPersistOption({auth:g,token:S}):s.newAuthErr({authId:d,level:"error",source:"auth",message:b.statusText})})).catch((b=>{let S=new Error(b).message;if(b.response&&b.response.data){const _=b.response.data;try{const x=typeof _=="string"?JSON.parse(_):_;x.error&&(S+=`, error: ${x.error}`),x.error_description&&(S+=`, description: ${x.error_description}`)}catch{}}s.newAuthErr({authId:d,level:"error",source:"auth",message:S})}))};function oge(e){return{type:K2,payload:e}}function age(e){return{type:G2,payload:e}}const cge=()=>({authSelectors:e,getConfigs:t})=>{if(!t().persistAuthorization)return;const r=e.authorized().toJS();localStorage.setItem("authorized",JSON.stringify(r))},uge=(e,t)=>
262()=>{Zt.swaggerUIRedirectOauth2=t,Zt.open(e)};var lge={[z2]:(e,{payload:t})=>e.set("showDefinitions",t),[W2]:(e,{payload:t})=>{let r=Z.fromJS(t),n=e.get("authorized")||Z.Map();return r.entrySeq().forEach((([s,i])=>{if(!si(i.getIn))return e.set("authorized",n);let o=i.getIn(["schema","type"]);if(o==="apiKey"||o==="http")n=n.set(s,i);else if(o==="basic"){let a=i.getIn(["value","username"]),c=i.getIn(["value","password"]);n=n.setIn([s,"value"],{username:a,header:"Basic "+Qu(a+":"+c)}),n=n.setIn([s,"schema"],i.get("schema"))}})),e.set("authorized",n)},[H2]:(e,{payload:t})=>{let r,{auth:n,token:s}=t;n.token=Object.assign({},s),r=Z.fromJS(n);let i=e.get("authorized")||Z.Map();return i=i.set(r.get("name"),r),e.set("authorized",i)},[J2]:(e,{payload:t})=>{let r=e.get("authorized").withMutations((n=>{t.forEach((s=>{n.delete(s)}))}));return e.set("authorized",r)},[K2]:(e,{payload:t})=>e.set("configs",t),[G2]:(e,{payload:t})=>e.set("authorized",Z.fromJS(t.authorized))};const Fh=e=>e,fge=ct(Fh,(e=>e.get("showDefinitions"))),pge=ct(Fh,(()=>({specSelectors:e})=>{let t=e.securityDefinitions()||Z.Map({}),r=Z.List();return t.entrySeq().forEach((([n,s])=>{let i=Z.Map();i=i.set(n,s),r=r.push(i)})),r})),hge=(e,t)=>({specSelectors:r})=>Z.List(r.isOAS3()?["components","securitySchemes",t]:["securityDefinitions",t]),dge=(e,t)=>({specSelectors:r})=>{console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");let n=r.securityDefinitions(),s=Z.List();return t.valueSeq().forEach((i=>{let o=Z.Map();i.entrySeq().forEach((([a,c])=>{let u,l=n.get(a);l.get("type")==="oauth2"&&c.size&&(u=l.get("scopes"),u.keySeq().forEach((f=>{c.contains(f)||(u=u.delete(f))})),l=l.set("allowedScopes",u)),o=o.set(a,l)})),s=s.push(o)})),s},mge=(e,t=Z.List())=>({authSelectors:r})=>{const n=r.definitionsToAuthorize()||Z.List();let s=Z.List();return n.forEach((i=>{let o=t.find((a=>a.get(i.keySeq().first())));o&&(i.forEach(((a,c)=>{if(a.get("type")==="oauth2"){const u=o.get(c);let l=a.get("scopes");Z.List.isList(u)&&Z.Map.isMap(l)&&(l.keySeq().forEach((f=>{u.contains(f)||(l=l.delete(f))})),i=i.set(c,a.set("scopes",l)))}})),s=s.push(i))})),s},gge=ct(Fh,(e=>e.get("authorized")||Z.Map())),yge=(e,t)=>({authSelectors:r})=>{let n=r.authorized();return Z.List.isList(t)?!!t.toJS().filter((s=>Object.keys(s).map((i=>!!n.get(i))).indexOf(!1)===-1)).length:null},vge=ct(Fh,(e=>e.get("configs"))),bge=(e,{authSelectors:t,specSelectors:r})=>({path:n,method:s,operation:i,extras:o})=>{let a={authorized:t.authorized()&&t.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()};return e({path:n,method:s,operation:i,securities:a,...o})},Ege=(e,t)=>r=>{const{getConfigs:n,authActions:s}=t,i=n();if(e(r),i.persistAuthorization){const o=localStorage.getItem("authorized");o&&s.restoreAuthorization({authorized:JSON.parse(o)})}},Sge=(e,t)=>r=>{if(e(r),t.getConfigs().persistAuthorization)try{const[{schema:n,value:s}]=Object.values(r),i=Z.fromJS(n),o=i.get("type")==="apiKey",a=i.get("in")==="cookie";o&&a&&(document.cookie=`${i.get("name")}=${s}; SameSite=None; Secure`)}catch(n){console.error("Error persisting cookie based apiKey in document.cookie.",n)}},_ge=(e,t)=>r=>{const n=t.getConfigs(),s=t.authSelectors.authorized();try{n.persistAuthorization&&Array.isArray(r)&&r.forEach((i=>{const o=s.get(i,{}),a=o.getIn(["schema","type"])==="apiKey",c=o.getIn(["schema","in"])==="cookie";if(a&&c){const u=o.getIn(["schema","name"]);document.cookie=`${u}=; Max-Age=-99999999`}}))}catch(i){console.error("Error deleting cookie based apiKey from document.cookie.",i)}e(r)};class wge extends p.Component{mapStateToProps(t,r){return{state:t,ownProps:rA(r,Object.keys(r.getSystem()))}}render(){const{getComponent:t,ownProps:r}=this.props,n=t("LockIcon");return p.createElement(n,r)}}var jF=wge;class xge extends p.Component{mapStateToProps(t,r){return{state:t,ownProps:rA(r,Object.keys(r.getSystem()))}}render(){const{getComponent:t,ownProps:r}=this.props,n=t("UnlockIcon");return p.createElement(n,r)}}var kF=xge;function TU(){return{afterLoad(e){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=e.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=Oge.bind(null,e),this.rootInjects.preauthorizeBasic=Age.bind(null,e)},components:{LockAuthIcon:jF,UnlockAuthIcon:kF,LockAuthOperationIcon:jF,UnlockAuthOperationIcon:kF},statePlugins:{auth:{reducers:lge,actions:zw,selectors:Ww,wrapActions:{authorize:Sge,logout:_ge}},configs:{wrapActions:{loaded:Ege}},spec:{wrapActions:{execute:bge}}}}}function Age(e,t,r,n){const{authActions:{authorize:s},specSelectors:{specJson:i,isOAS3:o}}=e,a=o()?["components","securitySchemes"]:["securityDefinitions"],c=i().getIn([...a,t]);return c?s({[t]:{value:{username:r,password:n},schema:c.toJS()}}):null}function Oge(e,t,r){const{authActions:{authorize:n},specSelectors:{specJson:s,isOAS3:i}}=e,o=i()?["components","securitySchemes"]:["securityDefinitions"],a=s().getIn([...o,t]);return a?n({[t]:{value:r,schema:a.toJS()}}):null}const Y2="configs_update",X2="configs_toggle";function Cge(e,t){return{type:Y2,payload:{[e]:t}}}function Rge(e){return{type:X2,payload:e}}const Tge=()=>()=>{},Ige=e=>t=>{const{fn:{fetch:r}}=t;return r(e)},Pge=(e,t)=>
262r=>{const{specActions:n,configsActions:s}=r;if(e)return s.downloadConfig(e).then(i,i);function i(o){o instanceof Error||o.status>=400?(n.updateLoadingStatus("failedConfig"),n.updateLoadingStatus("failedConfig"),n.updateUrl(""),console.error(o.statusText+" "+e.url),t(null)):t(((a,c)=>{try{return Gn.load(a)}catch(u){return c&&c.errActions.newThrownErr(new Error(u)),{}}})(o.text,r))}},jge=(e,t)=>e.getIn(Array.isArray(t)?t:[t]);var kge={[Y2]:(e,t)=>e.merge(Z.fromJS(t.payload)),[X2]:(e,t)=>{const r=t.payload,n=e.get(r);return e.set(r,!n)}};function IU(){return{statePlugins:{configs:{reducers:kge,actions:Jw,selectors:Hw}}}}const s_=e=>e?history.pushState(null,null,`#${e}`):window.location.hash="",NF="layout_scroll_to",MF="layout_clear_scroll";var Nge={fn:{getScrollParent:function(t,r){const n=document.documentElement;let s=getComputedStyle(t);const i=s.position==="absolute",o=r?/(auto|scroll|hidden)/:/(auto|scroll)/;if(s.position==="fixed")return n;for(let a=t;a=a.parentElement;)if(s=getComputedStyle(a),(!i||s.position!=="static")&&o.test(s.overflow+s.overflowY+s.overflowX))return a;return n}},statePlugins:{layout:{actions:{scrollToElement:(e,t)=>r=>{try{t=t||r.fn.getScrollParent(e),HK.createScroller(t).to(e)}catch(n){console.error(n)}},scrollTo:e=>({type:NF,payload:Array.isArray(e)?e:[e]}),clearScrollTo:()=>({type:MF}),readyToScroll:(e,t)=>r=>{const n=r.layoutSelectors.getScrollToKey();$t.is(n,Z.fromJS(e))&&(r.layoutActions.scrollToElement(t),r.layoutActions.clearScrollTo())},parseDeepLinkHash:e=>({layoutActions:t,layoutSelectors:r,getConfigs:n})=>{if(n().deepLinking&&e){let s=e.slice(1);s[0]==="!"&&(s=s.slice(1)),s[0]==="/"&&(s=s.slice(1));const i=s.split("/").map((l=>l||"")),o=r.isShownKeyFromUrlHashArray(i),[a,c="",u=""]=o;if(a==="operations"){const l=r.isShownKeyFromUrlHashArray([c]);c.indexOf("_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),t.show(l.map((f=>f.replace(/_/g," "))),!0)),t.show(l,!0)}(c.indexOf("_")>-1||u.indexOf("_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),t.show(o.map((l=>l.replace(/_/g," "))),!0)),t.show(o,!0),t.scrollTo(o)}}},selectors:{getScrollToKey:e=>e.get("scrollToKey"),isShownKeyFromUrlHashArray(e,t){const[r,n]=t;return n?["operations",r,n]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey(e,t){let[r,n,s]=t;return r=="operations"?[n,s]:r=="operations-tag"?[n]:[]}},reducers:{[NF]:(e,t)=>e.set("scrollToKey",$t.fromJS(t.payload)),[MF]:e=>e.delete("scrollToKey")},wrapActions:{show:(e,{getConfigs:t,layoutSelectors:r})=>(...n)=>{if(e(...n),t().deepLinking)try{let[s,i]=n;s=Array.isArray(s)?s:[s];const o=r.urlHashArrayFromIsShownKey(s);if(!o.length)return;const[a,c]=o;if(!i)return s_("/");o.length===2?s_(Ic(`/${encodeURIComponent(a)}/${encodeURIComponent(c)}`)):o.length===1&&s_(Ic(`/${encodeURIComponent(a)}`))}catch(s){console.error(s)}}}}}},Mge=(e,t)=>
262class extends p.Component{constructor(){super(...arguments);G(this,"onLoad",s=>{const{operation:i}=this.props,{tag:o,operationId:a}=i.toObject();let{isShownKey:c}=i.toObject();c=c||["operations",o,a],t.layoutActions.readyToScroll(c,s)})}render(){return p.createElement("span",{ref:this.onLoad},p.createElement(e,this.props))}},Dge=(e,t)=>class extends p.Component{constructor(){super(...arguments);G(this,"onLoad",s=>{const{tag:i}=this.props,o=["operations-tag",i];t.layoutActions.readyToScroll(o,s)})}render(){return p.createElement("span",{ref:this.onLoad},p.createElement(e,this.props))}};function PU(){return[Nge,{statePlugins:{configs:{wrapActions:{loaded:(e,t)=>(...r)=>{e(...r);const n=decodeURIComponent(window.location.hash);t.layoutActions.parseDeepLinkHash(n)}}}},wrapComponents:{operation:Mge,OperationTag:Dge}}]}function $ge(e){return e.map((t=>{let r="is not of a type(s)",n=t.get("message").indexOf(r);if(n>-1){let s=t.get("message").slice(n+19).split(",");return t.set("message",t.get("message").slice(0,n)+(function(o){return o.reduce(((a,c,u,l)=>u===l.length-1&&l.length>1?a+"or "+c:l[u+1]&&l.length>2?a+c+", ":l[u+1]?a+c+" ":a+c),"should be a")})(s))}return t}))}function Fge(e,{jsSpec:t}){return e}const qge=[Kw,Gw];function Za(e){let t={jsSpec:{}};return QK(qge,((n,s)=>{try{return s.transform(n,t).filter((i=>!!i))}catch(i){return console.error("Transformer error:",i),n}}),e).filter((n=>!!n)).map((n=>(!n.get("line")&&n.get("path"),n)))}let i_={line:0,level:"error",message:"Unknown error"};const jU=ct((e=>e),(e=>e.get("errors",Z.List()))),Bge=ct(jU,(e=>e.last()));function kU(e){return{statePlugins:{err:{reducers:{[Dh]:(t,{payload:r})=>{let n=Object.assign(i_,r,{type:"thrown"});return t.update("errors",(s=>(s||Z.List()).push(Z.fromJS(n)))).update("errors",(s=>Za(s)))},[$2]:(t,{payload:r})=>(r=r.map((n=>Z.fromJS(Object.assign(i_,n,{type:"thrown"})))),t.update("errors",(n=>(n||Z.List()).concat(Z.fromJS(r)))).update("errors",(n=>Za(n)))),[F2]:(t,{payload:r})=>{let n=Z.fromJS(r);return n=n.set("type","spec"),t.update("errors",(s=>(s||Z.List()).push(Z.fromJS(n)).sortBy((i=>i.get("line"))))).update("errors",(s=>Za(s)))},[q2]:(t,{payload:r})=>(r=r.map((n=>Z.fromJS(Object.assign(i_,n,{type:"spec"})))),t.update("errors",(n=>(n||Z.List()).concat(Z.fromJS(r)))).update("errors",(n=>Za(n)))),[B2]:(t,{payload:r})=>{let n=Z.fromJS(Object.assign({},r));return n=n.set("type","auth"),t.update("errors",(s=>(s||Z.List()).push(Z.fromJS(n)))).update("errors",(s=>Za(s)))},[L2]:(t,{payload:r})=>{if(!r||!t.get("errors"))return t;let n=t.get("errors").filter((s=>s.keySeq().every((i=>{const o=s.get(i),a=r[i];return!a||o!==a}))));return t.merge({errors:n})},[U2]:(t,{payload:r})=>{if(!r||typeof r!="function")return t;let n=t.get("errors").filter((s=>r(s)));return t.merge({errors:n})}},actions:Vw,selectors:Yw}}}}function Lge(e,t){return e.filter(((r,n)=>n.indexOf(t)!==-1))}function NU(){return{fn:{opsFilter:Lge}}}var Uge=({className:e=null,width:t=20,height:r=20,...n})=>p.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),Vge=({className:e=null,width:t=20,height:r=20,...n})=>p.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),zge=({className:e=null,width:t=20,height:r=20,...n})=>p.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),Wge=({className:e=null,width:t=20,height:r=20,...n})=>p.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),Jge=({className:e=null,width:t=15,height:r=16,...n})=>p.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("g",{transform:"translate(2, -1)"},p.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"}))),Hge=({className:e=null,width:t=20,height:r=20,...n})=>p.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),Kge=({className:e=null,width:t=20,height:r=20,...n})=>p.createElement("svg",jt({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:e,width:t,height:r,"aria-hidden":"true",focusable:"false"},n),p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),MU=()=>({components:{ArrowUpIcon:Uge,ArrowDownIcon:Vge,ArrowIcon:zge,CloseIcon:Wge,CopyIcon:Jge,LockIcon:Hge,UnlockIcon:Kge}});const Z2="layout_update_layout",Q2="layout_update_filter",eO="layout_update_mode",tO="layout_show";function Gge(e){return{type:Z2,payload:e}}function Yge(e){return{type:Q2,payload:e}}function Xge(e,t=!0){return e=Po(e),{type:tO,payload:{thing:e,shown:t}}}function Zge(e,t=""){return e=Po(e),{type:eO,payload:{thing:e,mode:t}}}var Qge={[Z2]:(e,t)=>e.set("layout",t.payload),[Q2]:(e,t)=>e.set("filter",t.payload),[tO]:(e,t)=>{const r=t.payload.shown,n=Z.fromJS(t.payload.thing);return e.update("shown",Z.fromJS({}),(s=>s.set(n,r)))},[eO]:(e,t)=>{let r=t.payload.thing,n=t.payload.mode;return e.setIn(["modes"].concat(r),(n||"")+"")}};const eye=e=>e.get("layout"),tye=e=>e.get("filter"),DU=(e,t,r)=>(t=Po(t),e.get("shown",Z.fromJS({})).get(Z.fromJS(t),r)),rye=(e,t,r="")=>(t=Po(t),e.getIn(["modes",...t],r)),nye=ct((e=>e),(e=>!DU(e,"editor"))),sye=(e,t)=>(r,...n)=>{let s=e(r,...n);const{fn:i,layoutSelectors:o,getConfigs:a}=t.getSystem(),c=a(),{maxDisplayedTags:u}=c;let l=o.currentFilter();return l&&l!==!0&&(s=i.opsFilter(s,l)),u>=0&&(s=s.slice(0,u)),s};function $U(){return{statePlugins:{layout:{reducers:Qge,actions:Xw,selectors:Zw},spec:{wrapSelectors:Qw}}}}function FU({configs:e}){const t={debug:0,info:1,log:2,warn:3,error:4},r=o=>t[o]||-1;let{logLevel:n}=e,s=r(n);function i(o,...a){r(o)>=s&&console[o](...a)}return i.warn=i.bind(null,"warn"),i.error=i.bind(null,"error"),i.info=i.bind(null,"info"),i.debug=i.bind(null,"debug"),{rootInjects:{log:i}}}let o_=!1;function qU(){return{statePlugins:{spec:{wrapActions:{updateSpec:e=>(...t)=>(o_=!0,e(...t)),updateJsonSpec:(e,t)=>(...r)=>{const n=t.getConfigs().onComplete;return o_&&typeof n=="function"&&(setTimeout(n,0),o_=!1),e(...r)}}}}}}const DF=e=>{const t="_**[]";return e.indexOf(t)<0?e:e.split(t)[0].trim()},iye=e=>e==="-d "||/^[_\/-]/g.test(e)?e:"'"+e.replace(/'/g,"'\\''")+"'",oye=e=>(e=e.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,`^ 263`))==="-d "?e.replace(/-d /g,`-d ^ 264`):/^[_\/-]/g.test(e)?e:'"'+e+'"',aye=e=>e==="-d "?e:/\n/.test(e)?`@" 265${e.replace(/`/g,"``").replace(/\$/g,"`$")} 266"@`:/^[_\/-]/.test(e)?e:`'${e.replace(/'/g,"''")}'`,rO=(e,t,r,n="")=>{let s=!1,i="";const o=(...h)=>i+=" "+h.map(t).join(" "),a=(...h)=>i+=h.map(t).join(" "),c=()=>i+=` ${r}`,u=(h=1)=>i+=" ".repeat(h);let l=e.get("headers");i+="curl"+n;const f=e.get("curlOptions");
266if(Z.List.isList(f)&&!f.isEmpty()&&o(...e.get("curlOptions")),o("-X",e.get("method")),c(),u(),a(`${e.get("url")}`),l&&l.size)for(let h of e.get("headers").entries()){c(),u();let[g,v]=h;a("-H",`${g}: ${v}`),s=s||/^content-type$/i.test(g)&&/^multipart\/form-data$/i.test(v)}const d=e.get("body");if(d)if(s&&["POST","PUT","PATCH"].includes(e.get("method")))for(let[h,g]of d.entrySeq()){let v=DF(h);c(),u(),a("-F"),g instanceof Zt.File&&typeof g.valueOf()=="string"?o(`${v}=${g.data}${g.type?`;type=${g.type}`:""}`):g instanceof Zt.File?o(`${v}=@${g.name}${g.type?`;type=${g.type}`:""}`):o(`${v}=${g}`)}else if(d instanceof Zt.File)c(),u(),a(`--data-binary '@${d.name}'`);else{c(),u(),a("-d ");let h=d;Z.Map.isMap(h)?a((function(v){let y=[];for(let[E,b]of v.get("body").entrySeq()){let S=DF(E);b instanceof Zt.File?y.push(` "${S}": { 267 "name": "${b.name}"${b.type?`, 268 "type": "${b.type}"`:""} 269 }`):y.push(` "${S}": ${JSON.stringify(b,null,2).replace(/(\r\n|\r|\n)/g,` 270 `)}`)}return`{ 271${y.join(`, 272`)} 273}`})(e)):(typeof h!="string"&&(h=JSON.stringify(h)),a(h))}else d||e.get("method")!=="POST"||(c(),u(),a("-d ''"));return i},cye=e=>rO(e,aye,"`\n",".exe"),BU=e=>rO(e,iye,`\\ 274`),uye=e=>rO(e,oye,`^ 275`),nO=e=>e||Z.Map(),LU=ct(nO,(e=>{const t=e.get("languages"),r=e.get("generators",Z.Map());return!t||t.isEmpty()?r:r.filter(((n,s)=>t.includes(s)))})),lye=e=>({fn:t})=>LU(e).map(((r,n)=>{const s=(i=>t[`requestSnippetGenerator_${i}`])(n);return typeof s!="function"?null:r.set("fn",s)})).filter((r=>r)),fye=ct(nO,(e=>e.get("activeLanguage"))),pye=ct(nO,(e=>e.get("defaultExpanded"))),hye={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"},dye={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"};var mye=({request:e,requestSnippetsSelectors:t,getComponent:r})=>{var E;const n=we.useRef(null),s=r("ArrowUpIcon"),i=r("ArrowDownIcon"),o=r("SyntaxHighlighter",!0),[a,c]=we.useState((E=t.getSnippetGenerators())==null?void 0:E.keySeq().first()),[u,l]=we.useState(t==null?void 0:t.getDefaultExpanded()),f=t.getSnippetGenerators(),d=f.get(a),h=d.get("fn")(e),g=()=>{l(!u)},v=b=>b===a?dye:hye,y=b=>{const{target:S,deltaY:_}=b,{scrollHeight:x,offsetHeight:A,scrollTop:O}=S;x>A&&(O===0&&_<0||A+O>=x&&_>0)&&b.preventDefault()};return we.useEffect((()=>{}),[]),we.useEffect((()=>{const b=Array.from(n.current.childNodes).filter((S=>{var _;return!!S.nodeType&&((_=S.classList)==null?void 0:_.contains("curl-command"))}));return b.forEach((S=>S.addEventListener("mousewheel",y,{passive:!1}))),()=>{b.forEach((S=>S.removeEventListener("mousewheel",y)))}}),[e]),p.createElement("div",{className:"request-snippets",ref:n},p.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},p.createElement("h4",{onClick:()=>g(),style:{cursor:"pointer"}},"Snippets"),p.createElement("button",{onClick:()=>g(),style:{border:"none",background:"none"},title:u?"Collapse operation":"Expand operation"},u?p.createElement(i,{className:"arrow",width:"10",height:"10"}):p.createElement(s,{className:"arrow",width:"10",height:"10"}))),u&&p.createElement("div",{className:"curl-command"},p.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},f.entrySeq().map((([b,S])=>p.createElement("div",{className:Nt("btn",{active:b===a}),style:v(b),key:b,onClick:()=>(_=>{a!==_&&c(_)})(b)},p.createElement("h4",{style:b===a?{color:"white"}:{}},S.get("title")))))),p.createElement("div",{className:"copy-to-clipboard"},p.createElement(Pp.CopyToClipboard,{text:h},p.createElement("button",null))),p.createElement("div",null,p.createElement(o,{language:d.get("syntax"),className:"curl microlight",renderPlainText:({children:b,PlainTextViewer:S})=>p.createElement(S,{className:"curl"},b)},h))))},UU=()=>({components:{RequestSnippets:mye},fn:{requestSnippetGenerator_curl_bash:BU,requestSnippetGenerator_curl_cmd:uye,requestSnippetGenerator_curl_powershell:cye},statePlugins:{requestSnippets:{selectors:ex}}});const dp=class dp extends we.Component{constructor(r,n){super(r,n);G(this,"toggleCollapsed",()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})});G(this,"onLoad",r=>{if(r&&this.props.layoutSelectors){const n=this.props.layoutSelectors.getScrollToKey();$t.is(n,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,r.parentElement)}});let{expanded:s,collapsedContent:i}=this.props;this.state={expanded:s,collapsedContent:i||dp.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:r,expanded:n,modelName:s}=this.props;r&&n&&this.props.onToggle(s,n)}UNSAFE_componentWillReceiveProps(r){this.props.expanded!==r.expanded&&this.setState({expanded:r.expanded})}render(){const{title:r,classes:n}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?p.createElement("span",{className:n||""},this.props.children):p.createElement("span",{className:n||"",ref:this.onLoad},p.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},r&&p.createElement("span",{className:"pointer"},r),p.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&p.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}};G(dp,"defaultProps",{collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:$t.List([])});let mx=dp;const gye=({initialTab:e,isExecute:t,schema:r,example:n})=>{const s=we.useMemo((()=>({example:"example",model:"model"})),[]),i=we.useMemo((()=>Object.keys(s)),[s]).includes(e)&&r&&!t?e:s.example,o=(l=>{const f=we.useRef();return we.useEffect((()=>{f.current=l})),f.current})(t),[a,c]=we.useState(i),u=we.useCallback((l=>{c(l.target.dataset.name)}),[]);return we.useEffect((()=>{o&&!t&&n&&c(s.example)}),[o,t,n]),{activeTab:a,onTabChange:u,tabs:s}};var $F,yye=({schema:e,example:t,isExecute:r=!1,specPath:n,includeWriteOnly:s=!1,includeReadOnly:i=!1,getComponent:o,getConfigs:a,specSelectors:c})=>{const{defaultModelRendering:u,defaultModelExpandDepth:l}=a(),f=o("ModelWrapper"),d=o("HighlightCode",!0),h=oa()(5).toString("base64"),g=oa()(5).toString("base64"),v=o
vendor: 1,831 bytes, line 275
275a()(5).toString("base64"),y=oa()(5).toString("base64"),E=c.isOAS3(),{activeTab:b,tabs:S,onTabChange:_}=gye({initialTab:u,isExecute:r,schema:e,example:t});return p.createElement("div",{className:"model-example"},p.createElement("ul",{className:"tab",role:"tablist"},p.createElement("li",{className:Nt("tabitem",{active:b===S.example}),role:"presentation"},p.createElement("button",{"aria-controls":g,"aria-selected":b===S.example,className:"tablinks","data-name":"example",id:h,onClick:_,role:"tab"},r?"Edit Value":"Example Value")),e&&p.createElement("li",{className:Nt("tabitem",{active:b===S.model}),role:"presentation"},p.createElement("button",{"aria-controls":y,"aria-selected":b===S.model,className:Nt("tablinks",{inactive:r}),"data-name":"model",id:v,onClick:_,role:"tab"},E?"Schema":"Model"))),b===S.example&&p.createElement("div",{"aria-hidden":b!==S.example,"aria-labelledby":h,"data-name":"examplePanel",id:g,role:"tabpanel",tabIndex:"0"},t||p.createElement(d,null,"(no example available")),b===S.model&&p.createElement("div",{className:"model-container","aria-hidden":b===S.example,"aria-labelledby":v,"data-name":"modelPanel",id:y,role:"tabpanel",tabIndex:"0"},p.createElement(f,{schema:e,getComponent:o,getConfigs:a,specSelectors:c,expandDepth:l,specPath:n,includeReadOnly:i,includeWriteOnly:s})))};class vye extends we.Component{constructor(){super(...arguments);G(this,"onToggle",(r,n)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,n)})}render(){let{getComponent:r,getConfigs:n}=this.props;const s=r("Model");let i;return this.props.layoutSelectors&&(i=this.props.layoutSelectors.isShown(this.props.fullPath)),p.createElement("div",{className:"model-box"},p.createElement(s,jt({},this.props,{getConfigs:n,expanded:i,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||
2750})))}}function gx(){return gx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},gx.apply(null,arguments)}var VU=e=>we.createElement("svg",gx({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"},e),$F||($F=we.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},we.createElement("animateTransform",{attributeName:"transform",begin:"0s",calcMode:"linear",dur:"1s",keyTimes:"0;1",repeatCount:"indefinite",type:"rotate",values:"0 50 50;360 50 50"}))));const FF=e=>{const t=e.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(t)}catch{return t}};class zU extends HG{constructor(){super(...arguments);G(this,"getModelName",r=>r.indexOf("#/definitions/")!==-1?FF(r.replace(/^.*#\/definitions\//,"")):r.indexOf("#/components/schemas/")!==-1?FF(r.replace(/^.*#\/components\/schemas\//,"")):void 0);G(this,"getRefSchema",r=>{let{specSelectors:n}=this.props;return n.findDefinition(r)})}render(){let{getComponent:r,getConfigs:n,specSelectors:s,schema:i,required:o,name:a,isRef:c,specPath:u,displayName:l,includeReadOnly:f,includeWriteOnly:d}=this.props;const h=r("ObjectModel"),g=r("ArrayModel"),v=r("PrimitiveModel");let y="object",E=i&&i.get("$$ref"),b=i&&i.get("$ref");if(!a&&E&&(a=this.getModelName(E)),b){const _=this.getModelName(b),x=this.getRefSchema(_);Z.Map.isMap(x)?(i=x.mergeDeep(i),E||(i=i.set("$$ref",b),E=b)):Z.Map.isMap(i)&&i.size===1&&(i=null,a=b)}if(!i)return p.createElement("span",{className:"model model-title"},p.createElement("span",{className:"model-title__text"},l||a),!b&&p.createElement(VU,{height:"20px",width:"20px"}));const S=s.isOAS3()&&i.get("deprecated");switch(c=c!==void 0?c:!!E,y=i&&i.get("type")||y,y){case"object":return p.createElement(h,jt({className:"object"},this.props,{specPath:u,getConfigs:n,schema:i,name:a,deprecated:S,isRef:c,includeReadOnly:f,includeWriteOnly:d}));case"array":return p.createElement(g,jt({className:"array"},this.props,{getConfigs:n,schema:i,name:a,deprecated:S,required:o,includeReadOnly:f,includeWriteOnly:d}));default:return p.createElement(v,jt({},this.props,{getComponent:r,getConfigs:n,schema:i,name:a,deprecated:S,required:o}))}}}G(zU,"propTypes",{schema:Lj.map.isRequired,getComponent:bn.func.isRequired,getConfigs:bn.func.isRequired,specSelectors:bn.object.isRequired,name:bn.string,displayName:bn.string,isRef:bn.bool,required:bn.bool,expandDepth:bn.number,depth:bn.number,specPath:Lj.list.isRequired,includeReadOnly:bn.bool,includeWriteOnly:bn.bool});class bye extends we.Component{constructor(){super(...arguments);G(this,"getSchemaBasePath",()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"]);G(this,"getCollapsedContent",()=>" ");G(this,"handleToggle",(r,n)=>{const{layoutActions:s}=this.props;s.show([...this.getSchemaBasePath(),r],n),n&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),r])});G(this,"onLoadModels",r=>{r&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),r)});G(this,"onLoadModel",r=>{if(r){const n=r.getAttribute("data-name");this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),n],r)}})}render(){let{specSelectors:r,getComponent:n,layoutSelectors:s,layoutActions:i,getConfigs:o}=this.props,a=r.definitions(),{docExpansion:c,defaultModelsExpandDepth:u}=o();if(!a.size||u<0)return null;const l=this.getSchemaBasePath();let f=s.isShown(l,u>0&&c!=="none");const d=r.isOAS3(),h=n("ModelWrapper"),g=n("Collapse"),v=n("ModelCollapse"),y=n("JumpToPath",!0),E=n("ArrowUpIcon"),b=n("ArrowDownIcon");return p.createElement("section",{className:f?"models is-open":"models",ref:this.onLoadModels},p.createElement("h4",null,p.createElement("button",{"aria-expanded":f,className:"models-control",onClick:()=>i.show(l,!f)},p.createElement("span",null,d?"Schemas":"Models"),f?p.createElement(E,null):p.createElement(b,null))),p.createElement(g,{isOpened:f},a.entrySeq().map((([S])=>{const _=[...l,S],x=$t.List(_),A=r.specResolvedSubtree(_),O=r.specJson().getIn(_),I=Z.Map.isMap(A)?A:$t.Map(),R=Z.Map.isMap(O)?O:$t.Map(),$=I.get("title")||R.get("title")||S,M=s.isShown(_,!1);M&&I.size===0&&R.size>0&&this.props.specActions.requestResolvedSubtree(_);const q=p.createElement(h,{name:S,expandDepth:u,schema:I||$t.Map(),displayName:$,fullPath:_,specPath:x,getComponent:n,specSelectors:r,getConfigs:o,layoutSelectors:s,layoutActions:i,includeReadOnly:!0,includeWriteOnly:!0}),N=p.createElement("span",{className:"model-box"},p.createElement("span",{className:"model model-title"},$));return p.createElement("div",{id:`model-${S}`,className:"model-container",key:`models-section-${S}`,"data-name":S,ref:this.onLoadModel},p.createElement("span",{className:"models-jump-to-path"},p.createElement(y,{path:x})),p.createElement(v,{classes:"model-box",collapsedContent:this.getCollapsedContent(S),onToggle:this.handleToggle,title:N,displayName:$,modelName:S,specPath:x,layoutSelectors:s,layoutActions:i,hideSelfOnExpand:!0,expanded:u>0&&M},q))})).toArray()))}}var Eye=({value:e,getComponent:t})=>{let r=t("ModelCollapse"),n=p.createElement("span",null,"Array [ ",e.count()," ]");return p.createElement("span",{className:"prop-enum"},"Enum:",p.createElement("br",null),p.createElement(r,{collapsedContent:n},"[ ",e.map(String).join(", ")," ]"))};function yx(e){return e.match(/^(?:[a-z]+:)?\/\//i)}function Sye(e,t){return e?yx(e)?(function(n){return n.match(/^\/\//i)?`${window.location.protocol}${n}`:n})(e):new URL(e,t).href:t}function jn(e,t,{selectedServer:r=""}={}){try{return(function(s,i,{selectedServer:o=""}={}){if(!s)return;if(yx(s))return s;const a=Sye(o,i);return yx(a)?new URL(s,a).href:new URL(s,window.location.href).href})(e,t,{selectedServer:r})}catch{return}}function mr(e){if(typeof e!="string"||e.trim()==="")return"";
275const t=e.trim(),r="about:blank";try{const n=`https://base${String(Math.random()).slice(2)}`,s=new URL(t,n),i=s.protocol.slice(0,-1);return["javascript","data","vbscript"].includes(i.toLowerCase())?r:s.origin===n?t.startsWith("/")?`${s.pathname}${s.search}${s.hash}`:t.startsWith("./")||t.startsWith("../")?`${t.match(/^(\.\.?\/)+/)[0]}${s.pathname.substring(1)}${s.search}${s.hash}`:`${s.pathname.substring(1)}${s.search}${s.hash}`:String(s)}catch{return r}}class _ye extends we.Component{render(){let{schema:t,name:r,displayName:n,isRef:s,getComponent:i,getConfigs:o,depth:a,onToggle:c,expanded:u,specPath:l,...f}=this.props,{specSelectors:d,expandDepth:h,includeReadOnly:g,includeWriteOnly:v}=f;const{isOAS3:y}=d,E=a>2||a===2&&l.last()!=="items";if(!t)return null;const{showExtensions:b}=o(),S=b?Wi(t):Z.List();let _=t.get("description"),x=t.get("properties"),A=t.get("additionalProperties"),O=t.get("title")||n||r,I=t.get("required"),R=t.filter(((V,fe)=>["maxProperties","minProperties","nullable","example"].indexOf(fe)!==-1)),$=t.get("deprecated"),M=t.getIn(["externalDocs","url"]),q=t.getIn(["externalDocs","description"]);const N=i("JumpToPath",!0),U=i("Markdown",!0),X=i("Model"),J=i("ModelCollapse"),ee=i("Property"),ne=i("Link"),re=i("ModelExtensions"),Y=()=>p.createElement("span",{className:"model-jump-to-path"},p.createElement(N,{path:l})),ie=p.createElement("span",null,p.createElement("span",null,"{"),"...",p.createElement("span",null,"}"),s?p.createElement(Y,null):""),ce=d.isOAS3()?t.get("allOf"):null,ge=d.isOAS3()?t.get("anyOf"):null,de=d.isOAS3()?t.get("oneOf"):null,ae=d.isOAS3()?t.get("not"):null,W=O&&p.createElement("span",{className:"model-title"},s&&t.get("$$ref")&&p.createElement("span",{className:Nt("model-hint",{"model-hint--embedded":E})},t.get("$$ref")),p.createElement("span",{className:"model-title__text"},O));return p.createElement("span",{className:"model"},p.createElement(J,{modelName:r,title:W,onToggle:c,expanded:!!u||a<=h,collapsedContent:ie},p.createElement("span",{className:"brace-open object"},"{"),s?p.createElement(Y,null):null,p.createElement("span",{className:"inner-object"},p.createElement("table",{className:"model"},p.createElement("tbody",null,_?p.createElement("tr",{className:"description"},p.createElement("td",null,"description:"),p.createElement("td",null,p.createElement(U,{source:_}))):null,M&&p.createElement("tr",{className:"external-docs"},p.createElement("td",null,"externalDocs:"),p.createElement("td",null,p.createElement(ne,{target:"_blank",href:mr(M)},q||M))),$?p.createElement("tr",{className:"property"},p.createElement("td",null,"deprecated:"),p.createElement("td",null,"true")):null,x&&x.size?x.entrySeq().filter((([,V])=>(!V.get("readOnly")||g)&&(!V.get("writeOnly")||v))).map((([V,fe])=>{let ye=y()&&fe.get("deprecated"),De=Z.List.isList(I)&&I.contains(V),Fe=["property-row"];return ye&&Fe.push("deprecated"),De&&Fe.push("required"),p.createElement("tr",{key:V,className:Fe.join(" ")},p.createElement("td",null,V,De&&p.createElement("span",{className:"star"},"*")),p.createElement("td",null,p.createElement(X,jt({key:`object-${r}-${V}_${fe}`},f,{required:De,getComponent:i,specPath:l.push("properties",V),getConfigs:o,schema:fe,depth:a+1}))))})).toArray():null,S.size===0?null:p.createElement(p.Fragment,null,p.createElement("tr",null,p.createElement("td",null,"Â ")),p.createElement(re,{extensions:S,propClass:"extension"})),A&&A.size?p.createElement("tr",null,p.createElement("td",null,"< * >:"),p.createElement("td",null,p.createElement(X,jt({},f,{required:!1,getComponent:i,specPath:l.push("additionalProperties"),getConfigs:o,schema:A,depth:a+1})))):null,ce?p.createElement("tr",null,p.createElement("td",null,"allOf ->"),p.createElement("td",null,ce.map(((V,fe)=>p.createElement("div",{key:fe},p.createElement(X,jt({},f,{required:!1,getComponent:i,specPath:l.push("allOf",fe),getConfigs:o,schema:V,depth:a+1}))))))):null,ge?p.createElement("tr",null,p.createElement("td",null,"anyOf ->"),p.createElement("td",null,ge.map(((V,fe)=>p.createElement("div",{key:fe},p.createElement(X,jt({},f,{required:!1,getComponent:i,specPath:l.push("anyOf",fe),getConfigs:o,schema:V,depth:a+1}
275))))))):null,de?p.createElement("tr",null,p.createElement("td",null,"oneOf ->"),p.createElement("td",null,de.map(((V,fe)=>p.createElement("div",{key:fe},p.createElement(X,jt({},f,{required:!1,getComponent:i,specPath:l.push("oneOf",fe),getConfigs:o,schema:V,depth:a+1}))))))):null,ae?p.createElement("tr",null,p.createElement("td",null,"not ->"),p.createElement("td",null,p.createElement("div",null,p.createElement(X,jt({},f,{required:!1,getComponent:i,specPath:l.push("not"),getConfigs:o,schema:ae,depth:a+1}))))):null))),p.createElement("span",{className:"brace-close"},"}")),R.size?R.entrySeq().map((([V,fe])=>p.createElement(ee,{key:`${V}-${fe}`,propKey:V,propVal:fe,propClass:"property"}))):null)}}class wye extends we.Component{render(){let{getComponent:t,getConfigs:r,schema:n,depth:s,expandDepth:i,name:o,displayName:a,specPath:c}=this.props,u=n.get("description"),l=n.get("items"),f=n.get("title")||a||o,d=n.filter(((x,A)=>["type","items","description","$$ref","externalDocs"].indexOf(A)===-1)),h=n.getIn(["externalDocs","url"]),g=n.getIn(["externalDocs","description"]);const v=t("Markdown",!0),y=t("ModelCollapse"),E=t("Model"),b=t("Property"),S=t("Link"),_=f&&p.createElement("span",{className:"model-title"},p.createElement("span",{className:"model-title__text"},f));return p.createElement("span",{className:"model"},p.createElement(y,{title:_,expanded:s<=i,collapsedContent:"[...]"},"[",d.size?d.entrySeq().map((([x,A])=>p.createElement(b,{key:`${x}-${A}`,propKey:x,propVal:A,propClass:"property"}))):null,u?p.createElement(v,{source:u}):d.size?p.createElement("div",{className:"markdown"}):null,h&&p.createElement("div",{className:"external-docs"},p.createElement(S,{target:"_blank",href:mr(h)},g||h)),p.createElement("span",null,p.createElement(E,jt({},this.props,{getConfigs:r,specPath:c.push("items"),name:null,schema:l,required:!1,depth:s+1}))),"]"))}}const Dl="property primitive";class xye extends we.Component{render(){let{schema:t,getComponent:r,getConfigs:n,name:s,displayName:i,depth:o,expandDepth:a}=this.props;const{showExtensions:c}=n();if(!t||!t.get)return p.createElement("div",null);let u=t.get("type"),l=t.get("format"),f=t.get("xml"),d=t.get("enum"),h=t.get("title")||i||s,g=t.get("description");const v=Wi(t);let y=t.filter((($,M)=>["enum","type","format","description","$$ref","externalDocs"].indexOf(M)===-1)).filterNot((($,M)=>v.has(M))),E=t.getIn(["externalDocs","url"]),b=t.getIn(["externalDocs","description"]);const S=r("Markdown",!0),_=r("EnumModel"),x=r("Property"),A=r("ModelCollapse"),O=r("Link"),I=r("ModelExtensions"),R=h&&p.createElement("span",{className:"model-title"},p.createElement("span",{className:"model-title__text"},h));return p.createElement("span",{className:"model"},p.createElement(A,{title:R,expanded:o<=a,collapsedContent:"[...]"},p.createElement("span",{className:"prop"},s&&o>1&&p.createElement("span",{className:"prop-name"},h),p.createElement("span",{className:"prop-type"},u),l&&p.createElement("span",{className:"prop-format"},"($",l,")"),y.size?y.entrySeq().map((([$,M])=>p.createElement(x,{key:`${$}-${M}`,propKey:$,propVal:M,propClass:Dl}))):null,c&&v.size>0?p.createElement(I,{extensions:v,propClass:`${Dl} extension`}):null,g?p.createElement(S,{source:g}):null,E&&p.createElement("div",{className:"external-docs"},p.createElement(O,{target:"_blank",href:mr(E)},b||E)),f&&f.size?p.createElement("span",null,p.createElement("br",null),p.createElement("span",{className:Dl},"xml:"),f.entrySeq().map((([$,M])=>p.createElement("span",{key:`${$}-${M}`,className:Dl},p.createElement("br",null),"Â Â Â ",$,": ",String(M)))).toArray()):null,d&&p.createElement(_,{value:d,getComponent:r}))))}}class Aye extends p.Component{constructor(){super(...arguments);G(this,"onChange",r=>{this.setScheme(r.target.value)});G(this,"setScheme",r=>{let{path:n,method:s,specActions:i}=this.props;i.setScheme(r,n,s)})}UNSAFE_componentWillMount(){let{schemes:r}=this.props;this.setScheme(r.first())}UNSAFE_componentWillReceiveProps(r){this.props.currentScheme&&r.schemes.includes(this.props.currentScheme)||this.setScheme(r.schemes.first())}render(){let{schemes:r,currentScheme:n}=this.props;return p.createElement("label",{htmlFor:"schemes"},p.createElement("span",{className:"schemes-title"},"Schemes"),p.createElement("select",{onChange:this.onChange,value:n,id:"schemes"},r.valueSeq().map((s=>p.createElement("option",{value:s,key:s},s))).toArray()))}}class Oye extends p.Component{render(){const{specActions:t,specSelectors:r,getComponent:n}=this.props,s=r.operationScheme(),i=r.schemes(),o=n("schemes");return i&&i.size?p.createElement(o,{currentScheme:s,schemes:i,specActions:t}):null}}const jo={value:"",onChange:()=>{},schema:{}
275,keyName:"",required:!1,errors:Z.List()};class WU extends we.Component{componentDidMount(){const{dispatchInitialValue:t,value:r,onChange:n}=this.props;t?n(r):t===!1&&n("")}render(){let{schema:t,errors:r,value:n,onChange:s,getComponent:i,fn:o,disabled:a}=this.props;const c=t&&t.get?t.get("format"):null,u=t&&t.get?t.get("type"):null,l=o.getSchemaObjectType(t),f=o.isFileUploadIntended(t);let d=g=>i(g,!1,{failSilently:!0}),h=u?d(c?`JsonSchema_${u}_${c}`:`JsonSchema_${u}`):i("JsonSchema_string");return f||!Z.List.isList(u)||l!=="array"&&l!=="object"||(h=i("JsonSchema_object")),h||(h=i("JsonSchema_string")),p.createElement(h,jt({},this.props,{errors:r,fn:o,getComponent:i,value:n,onChange:s,schema:t,disabled:a}))}}G(WU,"defaultProps",jo);class JU extends we.Component{constructor(){super(...arguments);G(this,"onChange",r=>{const n=this.props.schema&&this.props.schema.get("type")==="file"?r.target.files[0]:r.target.value;this.props.onChange(n,this.props.keyName)});G(this,"onEnumChange",r=>this.props.onChange(r))}render(){let{getComponent:r,value:n,schema:s,errors:i,required:o,description:a,disabled:c}=this.props;const u=s&&s.get?s.get("enum"):null,l=s&&s.get?s.get("format"):null,f=s&&s.get?s.get("type"):null,d=s&&s.get?s.get("in"):null;if(n?(Zu(n)||typeof n=="object")&&(n=Mr(n)):n="",i=i.toJS?i.toJS():[],u){const v=r("Select");return p.createElement(v,{className:i.length?"invalid":"",title:i.length?i:"",allowedValues:[...u],value:n,allowEmptyValue:!o,disabled:c,onChange:this.onEnumChange})}const h=c||d&&d==="formData"&&!("FormData"in window),g=r("Input");return f&&f==="file"?p.createElement(g,{type:"file",className:i.length?"invalid":"",title:i.length?i:"",onChange:this.onChange,disabled:h}):p.createElement(xL,{type:l&&l==="password"?"password":"text",className:i.length?"invalid":"",title:i.length?i:"",value:n,minLength:0,debounceTimeout:350,placeholder:a,onChange:this.onChange,disabled:h})}}G(JU,"defaultProps",jo);class HU extends we.PureComponent{constructor(r,n){super(r,n);G(this,"onChange",()=>{this.props.onChange(this.state.value)});G(this,"onItemChange",(r,n)=>{this.setState((({value:s})=>({value:s.set(n,r)})),this.onChange)});G(this,"removeItem",r=>{this.setState((({value:n})=>({value:n.delete(r)})),this.onChange)});G(this,"addItem",()=>{const{fn:r}=this.props;let n=a_(this.state.value);this.setState((()=>({value:n.push(r.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))}
275)),this.onChange)});G(this,"onEnumChange",r=>{this.setState((()=>({value:r})),this.onChange)});this.state={value:a_(r.value),schema:r.schema}}UNSAFE_componentWillReceiveProps(r){const n=a_(r.value);n!==this.state.value&&this.setState({value:n}),r.schema!==this.state.schema&&this.setState({schema:r.schema})}render(){let{getComponent:r,required:n,schema:s,errors:i,fn:o,disabled:a}=this.props;i=i.toJS?i.toJS():Array.isArray(i)?i:[];const c=i.filter((A=>typeof A=="string")),u=i.filter((A=>A.needRemove!==void 0)).map((A=>A.error)),l=this.state.value,f=!!(l&&l.count&&l.count()>0),d=s.getIn(["items","enum"]),h=s.get("items"),g=o.getSchemaObjectType(h),v=o.getSchemaObjectTypeLabel(h),y=s.getIn(["items","format"]),E=s.get("items");let b,S=!1,_=g==="file"||g==="string"&&y==="binary";if(g&&y?b=r(`JsonSchema_${g}_${y}`):g!=="boolean"&&g!=="array"&&g!=="object"||(b=r(`JsonSchema_${g}`)),!Z.List.isList(h==null?void 0:h.get("type"))||g!=="array"&&g!=="object"||(b=r("JsonSchema_object")),b||_||(S=!0),d){const A=r("Select");return p.createElement(A,{className:i.length?"invalid":"",title:i.length?i:"",multiple:!0,value:l,disabled:a,allowedValues:d,allowEmptyValue:!n,onChange:this.onEnumChange})}
275const x=r("Button");return p.createElement("div",{className:"json-schema-array"},f?l.map(((A,O)=>{const I=Z.fromJS([...i.filter((R=>R.index===O)).map((R=>R.error))]);return p.createElement("div",{key:O,className:"json-schema-form-item"},_?p.createElement(iO,{value:A,onChange:R=>this.onItemChange(R,O),disabled:a,errors:I,getComponent:r}):S?p.createElement(sO,{value:A,onChange:R=>this.onItemChange(R,O),disabled:a,errors:I}):p.createElement(b,jt({},this.props,{value:A,onChange:R=>this.onItemChange(R,O),disabled:a,errors:I,schema:E,getComponent:r,fn:o})),a?null:p.createElement(x,{className:`btn btn-sm json-schema-form-item-remove ${u.length?"invalid":null}`,title:u.length?u:"",onClick:()=>this.removeItem(O)}," - "))})):null,a?null:p.createElement(x,{className:`btn btn-sm json-schema-form-item-add ${c.length?"invalid":null}`,title:c.length?c:"",onClick:this.addItem},"Add ",v," item"))}}G(HU,"defaultProps",jo);class sO extends we.Component{constructor(){super(...arguments);G(this,"onChange",r=>{const n=r.target.value;this.props.onChange(n,this.props.keyName)})}render(){let{value:r,errors:n,description:s,disabled:i}=this.props;return r?(Zu(r)||typeof r=="object")&&(r=Mr(r)):r="",n=n.toJS?n.toJS():[],p.createElement(xL,{type:"text",className:n.length?"invalid":"",title:n.length?n:"",value:r,minLength:0,debounceTimeout:350,placeholder:s,onChange:this.onChange,disabled:i})}}G(sO,"defaultProps",jo);class iO extends we.Component{constructor(){super(...arguments);G(this,"onFileChange",r=>{const n=r.target.files[0];this.props.onChange(n,this.props.keyName)})}render(){let{getComponent:r,errors:n,disabled:s}=this.props;const i=r("Input"),o=s||!("FormData"in window);return p.createElement(i,{type:"file",className:n.length?"invalid":"",title:n.length?n:"",onChange:this.onFileChange,disabled:o})}}G(iO,"defaultProps",jo);class KU extends we.Component{constructor(){super(...arguments);G(this,"onEnumChange",r=>this.props.onChange(r))}render(){let{getComponent:r,value:n,errors:s,schema:i,required:o,disabled:a}=this.props;s=s.toJS?s.toJS():[];let c=i&&i.get?i.get("enum"):null,u=!c||!o,l=!c&&["true","false"];const f=r("Select");return p.createElement(f,{className:s.length?"invalid":"",title:s.length?s:"",value:String(n),disabled:a,allowedValues:c?[...c]:l,allowEmptyValue:u,onChange:this.onEnumChange})}}G(KU,"defaultProps",jo);const Cye=e=>e.map((t=>{const r=t.propKey!==void 0?t.propKey:t.index;let n=typeof t=="string"?t:typeof t.error=="string"?t.error:null;if(!r&&n)return n;let s=t.error,i=`/${t.propKey}`;for(;typeof s=="object";){const o=s.propKey!==void 0?s.propKey:s.index;if(o===void 0||(i+=`/${o}`,!s.error))break;s=s.error}return`${i}: ${s}`}));class GU extends we.PureComponent{constructor(){super();G(this,"onChange",r=>{this.props.onChange(r)});G(this,"handleOnChange",r=>{const n=r.target.value;this.onChange(n)})}render(){let{getComponent:r,value:n,errors:s,disabled:i}=this.props;const o=r("TextArea");return s=s.toJS?s.toJS():Array.isArray(s)?s:[],p.createElement("div",null,p.createElement(o,{className:Nt({invalid:s.length}),title:s.length?Cye(s).join(", "):"",value:Mr(n),disabled:i,onChange:this.handleOnChange}))}}G(GU,"defaultProps",jo);function a_(e){return Z.List.isList(e)?e:Array.isArray(e)?Z.fromJS(e):Z.List()}const Rye=({extensions:e,propClass:t=""})=>e.entrySeq().map((([r,n])=>{const s=Ni(n)??null;return p.createElement("tr",{key:r,className:t},p.createElement("td",null,r),p.createElement("td",null,JSON.stringify(s)))})).toArray(),Tye=(e,t)=>{const r=Z.Map.isMap(e);if(!r&&!Ps(e))return!1;const n=r?e.get("type"):e.type;return t===n||Array.isArray(t)&&t.includes(n)},YU=(e,t=new WeakSet)=>{if(e==null||t.has(e))return"any";t.add(e);const{type:r,items:n}=e;return Object.hasOwn(e,"items")?n?`array<${YU(n,t)}>`:"array<any>":r},Iye=e=>YU(Ni(e));var XU=()=>({components:{modelExample:yye,ModelWrapper:vye,ModelCollapse:mx,Model:zU,Models:bye,EnumModel:Eye,ObjectModel:_ye,ArrayModel:wye,PrimitiveModel:xye,ModelExtensions:Rye,schemes:Aye,SchemesContainer:Oye,...tx},fn:{hasSchemaType:Tye,getSchemaObjectTypeLabel:Iye}}),Pye=Ge(123),ZU=Ge.n(Pye);const c_=e=>t=>Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every(((r,n)=>r===t[n])),jye=(...e)=>e;class kye extends Map{delete(t){const r=Array.from(this.keys()).find(c_(t));return super.delete(r)}get(t){const r=Array.from(this.keys()).find(c_(t));return super.get(r)}has(t){return Array.from(this.keys()).findIndex(c_(t))!==-1}}var el=(e,t=jye)=>{const{Cache:r}=rc;rc.Cache=kye;const n=rc(e,t);return rc.Cache=r,n};const qF={string:e=>e.pattern?(t=>{try{const r=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),n=t.replace(r,"100"),s=new OL(n);return s.max=100,s.gen()}catch{return"string"}})(e.pattern):"string",string_email:()=>"[email protected]","string_date-time":()=>new Date().toISOString(),string_date:()=>new Date().toISOString().substring(0,10),string_time:()=>new Date().toISOString().substring(11),string_uuid:()=>
275"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:e=>typeof e.default!="boolean"||e.default},BF=e=>{e=no(e);let{type:t,format:r}=e,n=qF[`${t}_${r}`]||qF[t];return si(n)?n(e):"Unknown Type: "+e.type},Nye=e=>AU(e,"$$ref",(t=>typeof t=="string"&&t.indexOf("#")>-1)),QU=["maxProperties","minProperties"],e9=["minItems","maxItems"],t9=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],Mye=["minLength","maxLength"],ua=(e,t,r={})=>{const n={...e};if(["example","default","enum","xml","type",...QU,...e9,...t9,...Mye].forEach((s=>(i=>{n[i]===void 0&&t[i]!==void 0&&(n[i]=t[i])})(s))),t.required!==void 0&&Array.isArray(t.required)&&(n.required!==void 0&&n.required.length||(n.required=[]),t.required.forEach((s=>{n.required.includes(s)||n.required.push(s)}))),t.properties){n.properties||(n.properties={});let s=no(t.properties);for(let i in s)Object.prototype.hasOwnProperty.call(s,i)&&(s[i]&&s[i].deprecated||s[i]&&s[i].readOnly&&!r.includeReadOnly||s[i]&&s[i].writeOnly&&!r.includeWriteOnly||n.properties[i]||(n.properties[i]=s[i],!t.required&&Array.isArray(t.required)&&t.required.indexOf(i)!==-1&&(n.required?n.required.push(i):n.required=[i])))}return t.items&&(n.items||(n.items={}),n.items=ua(n.items,t.items,r)),n},zn=(e,t={},r=void 0,n=!1)=>{e&&si(e.toJS)&&(e=e.toJS());let s=r!==void 0||e&&e.example!==void 0||e&&e.default!==void 0;const i=!s&&e&&e.oneOf&&e.oneOf.length>0,o=!s&&e&&e.anyOf&&e.anyOf.length>0;if(!s&&(i||o)){const N=no(i?e.oneOf[0]:e.anyOf[0]);if(!(e=ua(e,N,t)).xml&&N.xml&&(e.xml=N.xml),e.example!==void 0&&N.example!==void 0)s=!0;else if(N.properties){e.properties||(e.properties={});let U=no(N.properties);for(let X in U)Object.prototype.hasOwnProperty.call(U,X)&&(U[X]&&U[X].deprecated||U[X]&&U[X].readOnly&&!t.includeReadOnly||U[X]&&U[X].writeOnly&&!t.includeWriteOnly||e.properties[X]||(e.properties[X]=U[X],!N.required&&Array.isArray(N.required)&&N.required.indexOf(X)!==-1&&(e.required?e.required.push(X):e.required=[X])))}}const a={};let{xml:c,type:u,example:l,properties:f,additionalProperties:d,items:h}=e||{},{includeReadOnly:g,includeWriteOnly:v}=t;c=c||{};let y,{name:E,prefix:b,namespace:S}=c,_={};n&&(E=E||"notagname",y=(b?b+":":"")+E,S)&&(a[b?"xmlns:"+b:"xmlns"]=S),n&&(_[y]=[]);const x=N=>N.some((U=>Object.prototype.hasOwnProperty.call(e,U)));e&&!u&&(f||d||x(QU)?u="object":h||x(e9)?u="array":x(t9)?(u="number",e.type="number"):s||e.enum||(u="string",e.type="string"));const A=N=>{if((e==null?void 0:e.maxItems)!=null&&(N=N.slice(0,e==null?void 0:e.maxItems)),(e==null?void 0:e.minItems)!=null){let U=0;for(;N.length<(e==null?void 0:e.minItems);)N.push(N[U++%N.length])}return N},O=no(f);let I,R=0;const $=()=>e&&e.maxProperties!==null&&e.maxProperties!==void 0&&R>=e.maxProperties,M=N=>!e||e.maxProperties===null||e.maxProperties===void 0||!$()&&(!(U=>!(e&&e.required&&e.required.length&&e.required.includes(U)))(N)||e.maxProperties-R-(()=>{if(!e||!e.required)return 0;let U=0;return n?e.required.forEach((X=>U+=_[X]===void 0?0:1)):e.required.forEach((X=>{var J;return U+=((J=_[y])==null?void 0:J.find((ee=>ee[X]!==void 0)))===void 0?0:1})),e.required.length-U})()>0);if(I=n?(N,U=void 0)=>{if(e&&O[N]){if(O[N].xml=O[N].xml||{},O[N].xml.attribute){const J=Array.isArray(O[N].enum)?O[N].enum[0]:void 0,ee=O[N].example,ne=O[N].default;return void(a[O[N].xml.name||N]=ee!==void 0?ee:ne!==void 0?ne:J!==void 0?J:BF(O[N]))}O[N].xml.name=O[N].xml.name||N}else O[N]||d===!1||(O[N]={xml:{name:N}});let X=zn(e&&O[N]||void 0,t,U,n);M(N)&&(R++,Array.isArray(X)?_[y]=_[y].concat(X):_[y].push(X))}:(N,U)=>{if(M(N)){if(Object.prototype.hasOwnProperty.call(e,"discriminator")&&e.discriminator&&Object.prototype.hasOwnProperty.call(e.discriminator,"mapping")&&e.discriminator.mapping&&Object.prototype.hasOwnProperty.call(e,"$$ref")&&e.$$ref&&e.discriminator.propertyName===N){for(let X in e.discriminator.mapping)if(e.$$ref.search(e.discriminator.mapping[X])!==-1){_[N]=X;break}}else _[N]=zn(O[N],t,U,n);R++}},s){let N;if(N=Nye(r!==void 0?r:l!==void 0?l:e.default),!n){if(typeof N=="number"&&u==="string")return`${N}`;
275if(typeof N!="string"||u==="string")return N;try{return JSON.parse(N)}catch{return N}}if(e||(u=Array.isArray(N)?"array":typeof N),u==="array"){if(!Array.isArray(N)){if(typeof N=="string")return N;N=[N]}const U=e?e.items:void 0;U&&(U.xml=U.xml||c||{},U.xml.name=U.xml.name||c.name);let X=N.map((J=>zn(U,t,J,n)));return X=A(X),c.wrapped?(_[y]=X,Ts(a)||_[y].push({_attr:a})):_=X,_}if(u==="object"){if(typeof N=="string")return N;for(let U in N)Object.prototype.hasOwnProperty.call(N,U)&&(e&&O[U]&&O[U].readOnly&&!g||e&&O[U]&&O[U].writeOnly&&!v||(e&&O[U]&&O[U].xml&&O[U].xml.attribute?a[O[U].xml.name||U]=N[U]:I(U,N[U])));return Ts(a)||_[y].push({_attr:a}),_}return _[y]=Ts(a)?N:[{_attr:a},N],_}if(u==="object"){for(let N in O)Object.prototype.hasOwnProperty.call(O,N)&&(O[N]&&O[N].deprecated||O[N]&&O[N].readOnly&&!g||O[N]&&O[N].writeOnly&&!v||I(N));if(n&&a&&_[y].push({_attr:a}),$())return _;if(d===!0)n?_[y].push({additionalProp:"Anything can be here"}):_.additionalProp1={},R++;else if(d){const N=no(d),U=zn(N,t,void 0,n);if(n&&N.xml&&N.xml.name&&N.xml.name!=="notagname")_[y].push(U);else{const X=N["x-additionalPropertiesName"]||"additionalProp",J=e.minProperties!==null&&e.minProperties!==void 0&&R<e.minProperties?e.minProperties-R:3;for(let ee=1;ee<=J;ee++){if($())return _;if(n){const ne={};ne[X+ee]=U.notagname,_[y].push(ne)}else _[X+ee]=U;R++}}}return _}if(u==="array"){if(!h)return;let N;if(n&&(h.xml=h.xml||(e==null?void 0:e.xml)||{},h.xml.name=h.xml.name||c.name),Array.isArray(h.anyOf))N=h.anyOf.map((U=>zn(ua(U,h,t),t,void 0,n)));else if(Array.isArray(h.oneOf))N=h.oneOf.map((U=>zn(ua(U,h,t),t,void 0,n)));else{if(!(!n||n&&c.wrapped))return zn(h,t,void 0,n);N=[zn(h,t,void 0,n)]}return N=A(N),n&&c.wrapped?(_[y]=N,Ts(a)||_[y].push({_attr:a}),_):N}let q;if(e&&Array.isArray(e.enum))q=Po(e.enum)[0];else{if(!e)return;if(q=BF(e),typeof q=="number"){let N=e.minimum;N!=null&&(e.exclusiveMinimum&&N++,q=N);let U=e.maximum;U!=null&&(e.exclusiveMaximum&&U--,q=U)}if(typeof q=="string"&&(e.maxLength!==null&&e.maxLength!==void 0&&(q=q.slice(0,e.maxLength)),e.minLength!==null&&e.minLength!==void 0)){let N=0;for(;q.length<e.minLength;)q+=q[N++%q.length]}}if(u!=="file")return n?(_[y]=Ts(a)?q:[{_attr:a},q],_):q},LF=e=>(e.schema&&(e=e.schema),e.properties&&(e.type="object"),e),vx=(e,t,r)=>{const n=zn(e,t,r,!0);if(n)return typeof n=="string"?n:ZU()(n,{declaration:!0,indent:" "})},bx=(e,t,r)=>zn(e,t,r,!1),r9=(e,t,r)=>[e,JSON.stringify(t),JSON.stringify(r)],UF=el(vx,r9),VF=el(bx,r9),Dye=e=>{var t;return((t=Ni(e))==null?void 0:t.type)??"string"},$ye=[{when:/json/,shouldStringifyTypes:["string"]}],Fye=["object"];var qye=e=>(t,r,n,s)=>{const{fn:i}=e(),o=i.memoizedSampleFromSchema(t,r,s),a=typeof o,c=$ye.reduce(((u,l)=>l.when.test(n)?[...u,...l.shouldStringifyTypes]:u),Fye);return uB(c,(u=>u===a))?JSON.stringify(o,null,2):o},Bye=e=>(t,r,n,s)=>{const{fn:i}=e(),o=i.getJsonSampleSchema(t,r,n,s);let a;try{a=Gn.dump(Gn.load(o),{lineWidth:-1},{schema:po}),a[a.length-1]===` 276`&&(a=a.slice(0,a.length-1))}catch(c){return console.error(c),"error: could not generate yaml example"}return a.replace(/\t/g," ")},Lye=e=>(t,r,n)=>{const{fn:s}=e();if(t&&!t.xml&&(t.xml={}),t&&!t.xml.name){if(!t.$$ref&&(t.type||t.items||t.properties||t.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?> 277<!-- XML example cannot be generated; root element name is undefined -->`;if(t.$$ref){let i=t.$$ref.match(/\S*\/(\S+)$/);t.xml.name=i[1]}}return s.memoizedCreateXMLExample(t,r,n)},Uye=e=>(t,r="",n={},s=void 0)=>{const{fn:i}=e();return typeof(s==null?void 0:s.toJS)=="function"&&(s=s.toJS()),/xml/.test(r)?(typeof(t==null?void 0:t.toJS)=="function"&&(t=t.toJS()),i.getXmlSampleSchema(t,n,s)):/(yaml|yml)/.test(r)?i.getYamlSampleSchema(t,n,r,s):i.getJsonSampleSchema(t,n,r,s)},n9=({getSystem:e})=>{const t=qye(e),r=Bye(e),n=Lye(e),s=Uye(e);return{fn:{jsonSchema5:{inferSchema:LF,sampleFromSchema:bx,sampleFromSchemaGeneric:zn,createXMLExample:vx,memoizedSampleFromSchema:VF,memoizedCreateXMLExample:UF,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:s,mergeJsonSchema:ua},inferSchema:LF,sampleFromSchema:bx,sampleFromSchemaGeneric:zn,createXMLExample:vx,memoizedSampleFromSchema:VF,memoizedCreateXMLExample:UF,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:s,mergeJsonSchema:ua,getSchemaObjectType:Dye}}};const Vye=["get","put","post","delete","options","head","patch","trace","query"],Ls=e=>e||Z.Map(),zye=ct(Ls,(e=>e.get("lastError"))),Wye=ct(Ls,(e=>e.get("url"))),Jye=ct(Ls,(e=>e.get("spec")||"")),Hye=ct(Ls,(e=>e.get("specSource")||"not-editor")),oO=ct(Ls,(e=>e.get("json",Z.Map()))),Kye=ct(oO,(e=>e.toJS())),Gye=ct(Ls,(e=>e.get("resolved",Z.Map()))),Yye=(e,t)=>e.getIn(["resolvedSubtrees",...t],void 0),s9=(e,t)=>Z.Map.isMap(e)&&Z.Map.isMap(t)?t.get("$$ref")?t:Z.OrderedMap().mergeWith(s9,e,t):t,gs=ct(Ls,(e=>Z.OrderedMap().mergeWith(s9,e.get("json"),e.get("resolvedSubtrees")))),xn=e=>oO(e),Xye=ct(xn,(()=>!1)),i9=ct(xn,(e=>w9(e&&e.get("info")))),Zye=ct(xn,(e=>w9(e&&e.get("externalDocs")))),o9=ct(i9,(e=>e&&e.get("version"))),Qye=ct(o9,(e=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(e).slice(1))),a9=ct(gs,(e=>e.get("paths"))),eve=nu(["get","put","post","delete","options","head","patch"]),c9=ct(a9,(e=>{let t=Z.List();return!Z.Map.isMap(e)||e.isEmpty()||e.forEach(((r,n)=>{if(!r||!r.forEach)return{};r.forEach(((s,i)=>{Vye.indexOf(i)<0||(t=t.push(Z.fromJS({path:n,method:i,operation:s,id:`${i}-${n}`,specPath:["paths",n,i]})))}))})),t})),u9=ct(xn,(e=>Z.Set(e.get("consumes")))),l9=ct(xn,(e=>Z.Set(e.get("produces")))),tve=ct(xn,(e=>e.get("security",Z.List()))),rve=ct(xn,(e=>e.get("securityDefinitions"))),nve=(e,t)=>
277{const r=e.getIn(["resolvedSubtrees","definitions",t],null),n=e.getIn(["json","definitions",t],null);return r||n||null},sve=ct(xn,(e=>{const t=e.get("definitions");return Z.Map.isMap(t)?t:Z.Map()})),ive=ct(xn,(e=>e.get("basePath"))),ove=ct(xn,(e=>e.get("host"))),ave=ct(xn,(e=>e.get("schemes",Z.Map()))),f9=ct([c9,u9,l9],((e,t,r)=>e.map((n=>n.update("operation",(s=>Z.Map.isMap(s)?s.withMutations((i=>(i.get("consumes")||i.update("consumes",(o=>Z.Set(o).merge(t))),i.get("produces")||i.update("produces",(o=>Z.Set(o).merge(r))),i))):Z.Map())))))),aO=ct(xn,(e=>{const t=e.get("tags",Z.List());return Z.List.isList(t)?t.filter((r=>Z.Map.isMap(r))):Z.List()})),p9=(e,t)=>(aO(e)||Z.List()).filter(Z.Map.isMap).find((r=>r.get("name")===t),Z.Map()),h9=ct(f9,aO,((e,t)=>e.reduce(((r,n)=>{let s=Z.Set(n.getIn(["operation","tags"]));return s.count()<1?r.update("default",Z.List(),(i=>i.push(n))):s.reduce(((i,o)=>i.update(o,Z.List(),(a=>a.push(n)))),r)}),t.reduce(((r,n)=>r.set(n.get("name"),Z.List())),Z.OrderedMap())))),cve=e=>({getConfigs:t})=>{let{tagsSorter:r,operationsSorter:n}=t();return h9(e).sortBy(((s,i)=>i),((s,i)=>{let o=typeof r=="function"?r:RF.tagsSorter[r];return o?o(s,i):null})).map(((s,i)=>{let o=typeof n=="function"?n:RF.operationsSorter[n],a=o?s.sort(o):s;return Z.Map({tagDetails:p9(e,i),operations:a})}))},d9=ct(Ls,(e=>e.get("responses",Z.Map()))),m9=ct(Ls,(e=>e.get("requests",Z.Map()))),g9=ct(Ls,(e=>e.get("mutatedRequests",Z.Map()))),uve=(e,t,r)=>d9(e).getIn([t,r],null),lve=(e,t,r)=>m9(e).getIn([t,r],null),fve=(e,t,r)=>g9(e).getIn([t,r],null),pve=()=>!0,cO=(e,t,r)=>{const n=gs(e).getIn(["paths",...t,"parameters"],Z.OrderedMap()),s=e.getIn(["meta","paths",...t,"parameters"],Z.OrderedMap());return n.map((i=>{const o=s.get(`${r.get("in")}.${r.get("name")}`),a=s.get(`${r.get("in")}.${r.get("name")}.hash-${r.hashCode()}`);return Z.OrderedMap().merge(i,o,a)})).find((i=>i.get("in")===r.get("in")&&i.get("name")===r.get("name")),Z.OrderedMap())},y9=(e,t,r,n)=>{const s=`${n}.${r}`;return e.getIn(["meta","paths",...t,"parameter_inclusions",s],!1)},hve=(e,t,r,n)=>{const s=gs(e).getIn(["paths",...t,"parameters"],Z.OrderedMap()).find((i=>i.get("in")===n&&i.get("name")===r),Z.OrderedMap());return cO(e,t,s)},v9=(e,t,r)=>{const n=gs(e).getIn(["paths",t,r],Z.OrderedMap()),s=e.getIn(["meta","paths",t,r],Z.OrderedMap()),i=n.get("parameters",Z.List()).map((o=>cO(e,[t,r],o)));return Z.OrderedMap().merge(n,s).set("parameters",i)};function dve(e,t,r,n){return t=t||[],e.getIn(["meta","paths",...t,"parameters"],Z.fromJS([])).find((s=>Z.Map.isMap(s)&&s.get("name")===r&&s.get("in")===n))||Z.Map()}const mve=ct(xn,(e=>{const t=e.get("host");return typeof t=="string"&&t.length>0&&t[0]!=="/"}));function b9(e,t,r){return t=t||[],v9(e,...t).get("parameters",Z.List()).reduce(((n,s)=>{let i=r&&s.get("in")==="body"?s.get("value_xml"):s.get("value");return Z.List.isList(i)&&(i=i.filter((o=>o!==""))),n.set(Rf(s,{allowHashes:!1}),i)}),Z.fromJS({}))}function gve(e,t=""){if(Z.List.isList(e))return e.some((r=>Z.Map.isMap(r)&&r.get("in")===t))}function Ex(e,t=""){if(Z.List.isList(e))return e.some((r=>Z.Map.isMap(r)&&r.get("type")===t))}function yve(e,t){t=t||[];let r=gs(e).getIn(["paths",...t],Z.fromJS({})),n=e.getIn(["meta","paths",...t],Z.fromJS({})),s=E9(e,t);const i=r.get("parameters")||new Z.List,o=n.get("consumes_value")?n.get("consumes_value"):Ex(i,"file")?"multipart/form-data":Ex(i,"formData")?"application/x-www-form-urlencoded":void 0;return Z.fromJS({requestContentType:o,responseContentType:s})}function E9(e,t){t=t||[];const r=gs(e).getIn(["paths",...t],null);if(r===null)return;const n=e.getIn(["meta","paths",...t,"produces_value"],null),s=r.getIn(["produces",0],null);return n||s||"application/json"}function vve(e,t){t=t||[];const r=gs(e),n=r.getIn(["paths",...t],null);if(n===null)return;const[s]=t,i=n.get("produces",null),o=r.getIn(["paths",s,"produces"],null),a=r.getIn(["produces"],null);return i||o||a}function bve(e,t){t=t||[];const r=gs(e),n=r.getIn(["paths",...t],null);if(n===null)return;const[s]=t,i=n.get("consumes",null),o=r.getIn(["paths",s,"consumes"],null),a=r.getIn(["consumes"],null);return i||o||a}const S9=(e,t,r)=>{let n=e.get("url").match(/^([a-z][a-z0-9+\-.]*):/),s=Array.isArray(n)?n[1]:null;return e.getIn(["scheme",t,r])||e.getIn(["scheme","_defaultScheme"])||s||""},Eve=(e,t,r)=>["http","https"].indexOf(S9(e,t,r))>-1,_9=(e,t)=>
277{t=t||[];const r=e.getIn(["meta","paths",...t,"parameters"],Z.fromJS([])),n=[];if(r.length===0)return n;const s=(i,o=[])=>{const a=(c,u)=>{const l=[...u,c.get("propKey")||c.get("index")];return Z.Map.isMap(c.get("error"))?s(c.get("error"),l):{error:c.get("error"),path:l}};return Z.List.isList(i)?i.map((c=>Z.Map.isMap(c)?a(c,o):{error:c,path:o})):a(i,o)};return r.forEach(((i,o)=>{const a=o.split(".").slice(1,-1).join("."),c=i.get("errors");c&&c.count()&&s(c).forEach((({error:u,path:l})=>{n.push(((f,d,h)=>`For '${h}'${(d=d.reduce(((g,v)=>typeof v=="number"?`${g}[${v}]`:g?`${g}.${v}`:v),""))?` at path '${d}'`:""}: ${f}.`)(u,l,a))}))})),n},Sve=(e,t)=>_9(e,t).length===0,_ve=(e,t)=>{let r={requestBody:!1,requestContentType:{}},n=e.getIn(["resolvedSubtrees","paths",...t,"requestBody"],Z.fromJS([]));return n.size<1||(n.getIn(["required"])&&(r.requestBody=n.getIn(["required"])),n.getIn(["content"]).entrySeq().forEach((s=>{const i=s[0];if(s[1].getIn(["schema","required"])){const o=s[1].getIn(["schema","required"]).toJS();r.requestContentType[i]=o}}))),r},wve=(e,t,r,n)=>{if((r||n)&&r===n)return!0;let s=e.getIn(["resolvedSubtrees","paths",...t,"requestBody","content"],Z.fromJS([]));if(s.size<2||!r||!n)return!1;let i=s.getIn([r,"schema","properties"],Z.fromJS([])),o=s.getIn([n,"schema","properties"],Z.fromJS([]));return!!i.equals(o)};function w9(e){return Z.Map.isMap(e)?e:new Z.Map}const uO="spec_update_spec",lO="spec_update_url",fO="spec_update_json",qh="spec_update_param",pO="spec_update_empty_param_inclusion",hO="spec_validate_param",dO="spec_set_response",mO="spec_set_request",gO="spec_set_mutated_request",x9="spec_log_request",yO="spec_clear_response",vO="spec_clear_request",bO="spec_clear_validate_param",Bh="spec_update_operation_meta_value",EO="spec_update_resolved",Lh="spec_update_resolved_subtree",SO="set_scheme",xve=e=>uY(e)?e:"";function Ave(e){const t=xve(e).replace(/\t/g," ");if(typeof e=="string")return{type:uO,payload:t}}function Ove(e){return{type:EO,payload:e}}function Cve(e){return{type:lO,payload:e}}function Rve(e){return{type:fO,payload:e}}const Tve=e=>({specActions:t,specSelectors:r,errActions:n})=>{let{specStr:s}=r,i=null;try{e=e||s(),n.clear({source:"parser"}),i=Gn.load(e,{schema:po})}catch(o){return console.error(o),n.newSpecErr({source:"parser",level:"error",message:o.reason,line:o.mark&&o.mark.line?o.mark.line+1:void 0})}return i&&typeof i=="object"?t.updateJsonSpec(i):t.updateJsonSpec({})};let zF=!1;const Ive=(e,t)=>({specActions:r,specSelectors:n,errActions:s,fn:{fetch:i,resolve:o,AST:a={}},getConfigs:c})=>{zF||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),zF=!0);const{modelPropertyMacro:u,parameterMacro:l,requestInterceptor:f,responseInterceptor:d}=c();e===void 0&&(e=n.specJson()),t===void 0&&(t=n.url());let h=a.getLineNumberForPath?a.getLineNumberForPath:()=>{},g=n.specStr();return o({fetch:i,spec:e,baseDoc:String(new URL(t,document.baseURI)),modelPropertyMacro:u,parameterMacro:l,requestInterceptor:f,responseInterceptor:d}).then((({spec:v,errors:y})=>{if(s.clear({type:"thrown"}),Array.isArray(y)&&y.length>0){let E=y.map((b=>(console.error(b),b.line=b.fullPath?h(g,b.fullPath):null,b.path=b.fullPath?b.fullPath.join("."):null,b.level="error",b.type="thrown",b.source="resolver",Object.defineProperty(b,"message",{enumerable:!0,value:b.message}),b)));s.newThrownErrBatch(E)}return r.updateResolved(v)}))};let Tf=[];const Pve=hY((()=>{const e=Tf.reduce(((t,{path:r,system:n})=>(t.has(n)||t.set(n,[]),t.get(n).push(r),t)),new Map);Tf=[],e.forEach((async(t,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:s,fn:{resolveSubtree:i,fetch:o,AST:a={}},specSelectors:c,specActions:u}=r,l=a.getLineNumberForPath??nu(void 0),f=c.specStr(),{modelPropertyMacro:d,parameterMacro:h,requestInterceptor:g,responseInterceptor:v}=r.getConfigs();try{const y=await t.reduce((async(E,b)=>{let{resultMap:S,specWithCurrentSubtrees:_}=await E;const{errors:x,spec:A}=await i(_,b,{baseDoc:String(new URL(c.url(),document.baseURI)),modelPropertyMacro:d,parameterMacro:h,requestInterceptor:g,responseInterceptor:v});if(s.allErrors().size&&n.clearBy((O=>{var I;return O.get("type")!=="thrown"||O.get("source")!=="resolver"||!((I=O.get("fullPath"))!=null&&I.every(((R,$)=>R===b[$]||b[$]===void 0)))})),Array.isArray(x)&&x.length>0){let O=x.map((I=>(I.line=I.fullPath?l(f,I.fullPath):null,I.path=I.fullPath?I.fullPath.join("."):null,I.level="error",I.type="thrown",I.source="resolver",Object.defineProperty(I,"message",{enumerable:!0,value:
277I.message}),I)));n.newThrownErrBatch(O)}return A&&c.isOAS3()&&b[0]==="components"&&b[1]==="securitySchemes"&&await Promise.all(Object.values(A).filter((O=>(O==null?void 0:O.type)==="openIdConnect")).map((async O=>{const I={url:O.openIdConnectUrl,requestInterceptor:g,responseInterceptor:v};try{const R=await o(I);R instanceof Error||R.status>=400?console.error(R.statusText+" "+I.url):O.openIdConnectData=JSON.parse(R.text)}catch(R){console.error(R)}}))),TL(S,b,A),_=GY(b,A,_),{resultMap:S,specWithCurrentSubtrees:_}}),Promise.resolve({resultMap:(c.specResolvedSubtree([])||Z.Map()).toJS(),specWithCurrentSubtrees:c.specJS()}));u.updateResolvedSubtree([],y.resultMap)}catch(y){console.error(y)}}))}),35),jve=e=>t=>{Tf.find((({path:r,system:n})=>n===t&&r.toString()===e.toString()))||(Tf.push({path:e,system:t}),Pve())};function kve(e,t,r,n,s){return{type:qh,payload:{path:e,value:n,paramName:t,paramIn:r,isXml:s}}}function Nve(e,t,r,n){return{type:qh,payload:{path:e,param:t,value:r,isXml:n}}}const Mve=(e,t)=>({type:Lh,payload:{path:e,value:t}}),Dve=()=>({type:Lh,payload:{path:[],value:Z.Map()}}),$ve=(e,t)=>({type:hO,payload:{pathMethod:e,isOAS3:t}}),Fve=(e,t,r,n)=>({type:pO,payload:{pathMethod:e,paramName:t,paramIn:r,includeEmptyValue:n}});function qve(e){return{type:bO,payload:{pathMethod:e}}}function Bve(e,t){return{type:Bh,payload:{path:e,value:t,key:"consumes_value"}}}function Lve(e,t){return{type:Bh,payload:{path:e,value:t,key:"produces_value"}}}const Uve=(e,t,r)=>({payload:{path:e,method:t,res:r},type:dO}),Vve=(e,t,r)=>({payload:{path:e,method:t,req:r},type:mO}),zve=(e,t,r)=>({payload:{path:e,method:t,req:r},type:gO}),Wve=e=>({payload:e,type:x9}),Jve=e=>({fn:t,specActions:r,specSelectors:n,getConfigs:s,oas3Selectors:i})=>{let{pathName:o,method:a,operation:c}=e,{requestInterceptor:u,responseInterceptor:l}=s(),f=c.toJS();if(c&&c.get("parameters")&&c.get("parameters").filter((g=>g&&g.get("allowEmptyValue")===!0)).forEach((g=>{if(n.parameterInclusionSettingFor([o,a],g.get("name"),g.get("in"))){e.parameters=e.parameters||{};const v=OU(g,e.parameters);(!v||v&&v.size===0)&&(e.parameters[g.get("name")]="")}})),e.contextUrl=mc(n.url()).toString(),f&&f.operationId?e.operationId=f.operationId:f&&o&&a&&(e.operationId=t.opId(f,o,a)),n.isOAS3()){const g=`${o}:${a}`;e.server=i.selectedServer(g)||i.selectedServer();const v=i.serverVariables({server:e.server,namespace:g}).toJS(),y=i.serverVariables({server:e.server}).toJS();e.serverVariables=Object.keys(v).length?v:y,e.requestContentType=i.requestContentType(o,a),e.responseContentType=i.responseContentType(o,a)||"*/*";const E=i.requestBodyValue(o,a),b=i.requestBodyInclusionSetting(o,a);E&&E.toJS?e.requestBody=E.map((S=>Z.Map.isMap(S)?S.get("value"):S)).filter(((S,_)=>(Array.isArray(S)?S.length!==0:!V2(S))||b.get(_))).toJS():e.requestBody=E}let d=Object.assign({},e);d=t.buildRequest(d),r.setRequest(e.pathName,e.method,d),e.requestInterceptor=async g=>{let v=await u.apply(void 0,[g]),y=Object.assign({},v);return r.setMutatedRequest(e.pathName,e.method,y),v},e.responseInterceptor=l;const h=Date.now();return t.execute(e).then((g=>{g.duration=Date.now()-h,r.setResponse(e.pathName,e.method,g)})).catch((g=>{g.message==="Failed to fetch"&&(g.name="",g.message=`**Failed to fetch.** 278**Possible Reasons:** 279 - CORS 280 - Network Failure 281 - URL scheme must be "http" or "https" for CORS request.`),r.setResponse(e.pathName,e.method,{error:!0,err:g})}))},Hve=({path:e,method:t,...r}={})=>n=>{let{fn:{fetch:s},specSelectors:i,specActions:o}=n,a=i.specJsonWithResolvedSubtrees().toJS(),c=i.operationScheme(e,t),{requestContentType:u,responseContentType:l}=i.contentTypeValues([e,t]).toJS(),f=/xml/i.test(u),d=i.parameterValues([e,t],f).toJS();return o.executeRequest({...r,fetch:s,spec:a,pathName:e,method:t,parameters:d,requestContentType:u,scheme:c,responseContentType:l})};function Kve(e,t){return{type:yO,payload:{path:e,method:t}}}function Gve(e,t){return{type:vO,payload:{path:e,method:t}}}function Yve(e,t,r){return{type:SO,payload:{scheme:e,path:t,method:r}}}var Xve={[uO]:(e,t)=>typeof t.payload=="string"?e.set("spec",t.payload):e,[lO]:(e,t)=>e.set("url",t.payload+""),[fO]:(e,t)=>e.set("json",Cs(t.payload)),[EO]:(e,t)=>e.setIn(["resolved"],Cs(t.payload)),[Lh]:(e,t)=>{const{value:r,path:n}=t.payload;return e.setIn(["resolvedSubtrees",...n],Cs(r))},[qh]:(e,{payload:t})=>{let{path:r,paramName:n,paramIn:s,param:i,value:o,isXml:a}=t,c=i?Rf(i):`${s}.${n}`;const u=a?"value_xml":"value";return e.setIn(["meta","paths",...r,"parameters",c,u],Z.fromJS(o))},[pO]:(e,{payload:t})=>{let{pathMethod:r,paramName:n,paramIn:s,includeEmptyValue:i}=t;if(!n||!s)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),e;const o=`${s}.${n}`;return e.setIn(["meta","paths",...r,"parameter_inclusions",o],i)},[hO]:(e,{payload:{pathMethod:t,isOAS3:r}})=>{const n=gs(e).getIn(["paths",...t]),s=b9(e,t).toJS();return e.updateIn(["meta","paths",...t,"parameters"],Z.fromJS({}),(i=>n.get("parameters",Z.List()).reduce(((o,a)=>{const c=OU(a,s),u=y9(e,t,a.get("name"),a.get("in")),l=((f,d,{isOAS3:h=!1,bypassRequiredCheck:g=!1}={})=>{let v=f.get("required"),{schema:y,parameterContentMediaType:E}=Zl(f,{isOAS3:h});return fx(d,y,v,g,E,h)})(a,c,{bypassRequiredCheck:u,isOAS3:r});
vendor: 2,383 bytes, line 281
281return o.setIn([Rf(a),"errors"],Z.fromJS(l))}),i)))},[bO]:(e,{payload:{pathMethod:t}})=>e.updateIn(["meta","paths",...t,"parameters"],Z.fromJS([]),(r=>r.map((n=>n.set("errors",Z.fromJS([])))))),[dO]:(e,{payload:{res:t,path:r,method:n}})=>{let s;s=t.error?Object.assign({error:!0,name:t.err.name,message:t.err.message,statusCode:t.err.statusCode},t.err.response):t,s.headers=s.headers||{};let i=e.setIn(["responses",r,n],Cs(s));return Zt.Blob&&s.data instanceof Zt.Blob&&(i=i.setIn(["responses",r,n,"text"],s.data)),i},[mO]:(e,{payload:{req:t,path:r,method:n}})=>e.setIn(["requests",r,n],Cs(t)),[gO]:(e,{payload:{req:t,path:r,method:n}})=>e.setIn(["mutatedRequests",r,n],Cs(t)),[Bh]:(e,{payload:{path:t,value:r,key:n}})=>{let s=["paths",...t],i=["meta","paths",...t];return e.getIn(["json",...s])||e.getIn(["resolved",...s])||e.getIn(["resolvedSubtrees",...s])?e.setIn([...i,n],Z.fromJS(r)):e},[yO]:(e,{payload:{path:t,method:r}})=>e.deleteIn(["responses",t,r]),[vO]:(e,{payload:{path:t,method:r}})=>e.deleteIn(["requests",t,r]),[SO]:(e,{payload:{scheme:t,path:r,method:n}})=>r&&n?e.setIn(["scheme",r,n],t):r||n?void 0:e.setIn(["scheme","_defaultScheme"],t)};const Zve=(e,{specActions:t})=>(...r)=>{e(...r),t.parseToJson(...r)},Qve=(e,{specActions:t})=>(...r)=>{e(...r),t.invalidateResolvedSubtreeCache();const[n]=r,s=C_(n,["paths"])||{};Object.keys(s).forEach((i=>{const o=C_(s,[i]);Ps(o)&&o.$ref&&t.requestResolvedSubtree(["paths",i])})),t.requestResolvedSubtree(["components","securitySchemes"])},e0e=(e,{specActions:t})=>r=>(t.logRequest(r),e(r)),t0e=(e,{specSelectors:t})=>r=>e(r,t.isOAS3());var A9=()=>({statePlugins:{spec:{wrapActions:{...sx},reducers:{...Xve},actions:{...nx},selectors:{...rx}}}});const r0e=(e,t)=>(...r)=>{e(...r);const n=t.getConfigs().withCredentials;t.fn.fetch.withCredentials=n};function O9({configs:e,getConfigs:t}){return{fn:{fetch:Bre(xc,e.preFetch,e.postFetch),buildRequest:L4,execute:ule,resolve:I4({strategies:[f$,H_,J_,W_]}),resolveSubtree:async(r,n,s={})=>{const i=t(),o={modelPropertyMacro:i.modelPropertyMacro,parameterMacro:i.parameterMacro,requestInterceptor:i.requestInterceptor,responseInterceptor:i.responseInterceptor,strategies:[f$,H_,J_,W_]};return mle(o)(r,n,s)},serializeRes:q8,opId:mu},statePlugins:{configs:{wrapActions:{loaded:r0e}}}}}function C9(){return{fn:{shallowEqualKeys:Jme,sanitizeUrl:mr}}}const n0e=e=>t=>{const{fn:r}=e();
281class n extends we.Component{render(){return p.createElement(t,jt({},e(),this.props,this.context))}}return n.displayName=`WithSystem(${r.getDisplayName(t)})`,n},s0e=(e,t)=>r=>{const{fn:n}=e();class s extends we.Component{render(){return p.createElement(ffe,{store:t},p.createElement(r,jt({},this.props,this.context)))}}return s.displayName=`WithRoot(${n.getDisplayName(r)})`,s},WF=(e,t,r)=>Mx(r?s0e(e,r):H4,ufe(((n,s)=>{var a;const i={...s,...e()};return(((a=t.prototype)==null?void 0:a.mapStateToProps)||(c=>({state:c})))(n,i)})),n0e(e))(t),JF=(e,t,r,n)=>{for(const s in t){const i=t[s];typeof i=="function"&&i(r[s],n[s],e())}},i0e=(e,t,r)=>(n,s)=>{const{fn:i}=e(),o=r(n,"root");class a extends we.Component{constructor(u,l){super(u,l),JF(e,s,u,{})}UNSAFE_componentWillReceiveProps(u){JF(e,s,u,this.props)}render(){const u=rA(this.props,s?Object.keys(s):[]);return p.createElement(o,u)}}return a.displayName=`WithMappedContainer(${i.getDisplayName(o)})`,a},o0e=(e,t,r,n)=>s=>{const i=r(e,t,n)("App","root"),{createRoot:o}=lq;o(s).render(p.createElement(i,null))},Sx=(e,t,r)=>(n,s,i={})=>{if(typeof n!="string")throw new TypeError("Need a string, to fetch a component. Was given a "+typeof n);const o=r(n);return o?s?s==="root"?WF(e,o,t()):WF(e,o):o:(i.failSilently||e().log.warn("Could not find component:",n),null)},a0e=e=>e.displayName||e.name||"Component";var R9=({getComponents:e,getStore:t,getSystem:r})=>{const n=(s=Sx(r,t,e),zme(s,((...o)=>JSON.stringify(o))));var s;const i=(o=>el(o,((...a)=>
281a)))(i0e(r,0,n));return{rootInjects:{getComponent:n,makeMappedContainer:i,render:o0e(r,t,Sx,e)},fn:{getDisplayName:a0e}}},T9=({React:e,getSystem:t,getStore:r,getComponents:n})=>{const s={},i=parseInt(e==null?void 0:e.version,10);return i>=16&&i<18&&(s.render=((o,a,c,u)=>l=>{const f=c(o,a,u)("App","root");lq.render(p.createElement(f,null),l)})(t,r,Sx,n)),{rootInjects:s}};function I9(e){let{fn:t}=e;const r={download:s=>({errActions:i,specSelectors:o,specActions:a,getConfigs:c})=>{let{fetch:u}=t;const l=c();function f(d){if(d instanceof Error||d.status>=400)return a.updateLoadingStatus("failed"),i.newThrownErr(Object.assign(new Error((d.message||d.statusText)+" "+s),{source:"fetch"})),void(!d.status&&d instanceof Error&&(function(){try{let g;if("URL"in Zt?g=new URL(s):(g=document.createElement("a"),g.href=s),g.protocol!=="https:"&&Zt.location.protocol==="https:"){const v=Object.assign(new Error(`Possible mixed-content issue? The page was loaded over https:// but a ${g.protocol}// URL was specified. Check that you are not attempting to load mixed content.`),{source:"fetch"});return void i.newThrownErr(v)}if(g.origin!==Zt.location.origin){const v=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${g.origin}) does not match the page (${Zt.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});i.newThrownErr(v)}}catch{return}})());a.updateLoadingStatus("success"),a.updateSpec(d.text),o.url()!==s&&a.updateUrl(s)}s=s||o.url(),a.updateLoadingStatus("loading"),i.clear({source:"fetch"}),u({url:s,loadSpec:!0,requestInterceptor:l.requestInterceptor||(d=>d),responseInterceptor:l.responseInterceptor||(d=>d),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(f,f)},updateLoadingStatus:s=>{let i=[null,"loading","failed","success","failedConfig"];return i.indexOf(s)===-1&&console.error(`Error: ${s} is not one of ${JSON.stringify(i)}`),{type:"spec_update_loading_status",payload:s}}};let n={loadingStatus:ct((s=>s||Z.Map()),(s=>s.get("loadingStatus")||null))};return{statePlugins:{spec:{actions:r,reducers:{spec_update_loading_status:(s,i)=>typeof i.payload=="string"?s.set("loadingStatus",i.payload):s},selectors:n}}}}var c0e=()=>{As.registerLanguage("json",Wfe),As.registerLanguage("js",I$),As.registerLanguage("xml",Kfe),As.registerLanguage("yaml",epe),As.registerLanguage("http",npe),As.registerLanguage("bash",Xfe),As.registerLanguage("powershell",ope),As.registerLanguage("javascript",I$)};const u0e={agate:tU,arta:ape,monokai:cpe,nord:upe,obsidian:lpe,"tomorrow-night":fpe,idea:ppe},l0e=tU;var f0e=({language:e,className:t="",getConfigs:r,syntaxHighlighting:n={},children:s=""})=>{const i=r().syntaxHighlight.theme,{styles:o,defaultStyle:a}=n,c=(o==null?void 0:o[i])??a;return p.createElement(As,{language:e,className:t,style:c},s)},p0e=({fileName:e="response.txt",className:t,downloadable:r,getComponent:n,canCopy:s,language:i,children:o})=>{const a=we.useRef(null),c=n("SyntaxHighlighter",!0),u=l=>{const{target:f,deltaY:d}=l,{scrollHeight:h,offsetHeight:g,scrollTop:v}=f;h>g&&(v===0&&d<0||g+v>=h&&d>0)&&l.preventDefault()};return we.useEffect((()=>{const l=Array.from(a.current.childNodes).filter((f=>!!f.nodeType&&f.classList.contains("microlight")));return l.forEach((f=>f.addEventListener("mousewheel",u,{passive:!1}))),()=>{l.forEach((f=>f.removeEventListener("mousewheel",u)))}}),[o,t,i]),p.createElement("div",{className:"highlight-code",ref:a},s&&p.createElement("div",{className:"copy-to-clipboard"},p.createElement(Pp.CopyToClipboard,{text:o},p.createElement("button",null))),r?p.createElement("button",{className:"download-contents",onClick:()=>{mpe(o,e)}},"Download"):null,p.createElement(c,{language:i,className:Nt(t,"microlight"),renderPlainText:({children:l,PlainTextViewer:f})=>p.createElement(f,{className:t},l)},o))},h0e=({className:e="",children:t})=>p.createElement("pre",{className:Nt("microlight",e)},t),d0e=(e,t)=>({renderPlainText:r,children:n,...s})=>{const i=t.getConfigs().syntaxHighlight.activated,o=t.getComponent("PlainTextViewer");return i||typeof r!="function"?i?p.createElement(e,s,n):p.createElement(o,null,n):r({children:n,PlainTextViewer:o})};const m0e=()=>({afterLoad:c0e,rootInjects:{syntaxHighlighting:{styles:u0e,defaultStyle:l0e}},components:{SyntaxHighlighter:f0e,HighlightCode:p0e,PlainTextViewer:h0e}}),g0e=()=>({wrapComponents:{SyntaxHighlighter:d0e}});var P9=()=>[m0e,g0e],y0e=()=>{const{GIT_DIRTY:e,GIT_COMMIT:t,PACKAGE_VERSION:r,BUILD_TIME:n}={PACKAGE_VERSION:"5.32.6",GIT_COMMIT:"g871b8974",GIT_DIRTY:!0,BUILD_TIME:"Tue, 12 May 2026 09:34:58 GMT"};Zt.versions=Zt.versions||{},Zt.versions.swaggerUI={version:r,gitRevision:t,gitDirty:e,buildTimestamp:n}}
281,j9=()=>({afterLoad:y0e});const k9=console.error,v0e=e=>t=>{const{getComponent:r,fn:n}=e(),s=r("ErrorBoundary"),i=n.getDisplayName(t);class o extends we.Component{render(){return p.createElement(s,{targetName:i,getComponent:r,fn:n},p.createElement(t,jt({},this.props,this.context)))}}var a;return o.displayName=`WithErrorBoundary(${i})`,(a=t).prototype&&a.prototype.isReactComponent&&(o.prototype.mapStateToProps=t.prototype.mapStateToProps),o};var N9=({name:e})=>p.createElement("div",{className:"fallback"},"ð± ",p.createElement("i",null,"Could not render ",e==="t"?"this component":e,", see the console.")),b_,b0e=(b_=class extends we.Component{static getDerivedStateFromError(t){return{hasError:!0,error:t}}constructor(...t){super(...t),this.state={hasError:!1,error:null}}componentDidCatch(t,r){this.props.fn.componentDidCatch(t,r)}render(){const{getComponent:t,targetName:r,children:n}=this.props;if(this.state.hasError){const s=t("Fallback");return p.createElement(s,{name:r})}return n}},G(b_,"defaultProps",{targetName:"this component",getComponent:()=>N9,fn:{componentDidCatch:k9},children:null}),b_),M9=({componentList:e=[],fullOverride:t=!1}={})=>({getSystem:r})=>{const n=t?e:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...e],s=bpe(n,Array(n.length).fill(((i,{fn:o})=>o.withErrorBoundary(i))));return{fn:{componentDidCatch:k9,withErrorBoundary:v0e(r)},components:{ErrorBoundary:b0e,Fallback:N9},wrapComponents:s}};class E0e extends p.Component{getLayout(){const{getComponent:t,layoutSelectors:r}=this.props,n=r.current();return t(n,!0)||(()=>p.createElement("h1",null,' No layout defined for "',n,'" '))}render(){const t=this.getLayout();return p.createElement(t,null)}}var S0e=E0e;class _0e extends p.Component{constructor(){super(...arguments);G(this,"close",()=>{let{authActions:r}=this.props;r.showDefinitions(!1)})}render(){let{authSelectors:r,authActions:n,getComponent:s,errSelectors:i,specSelectors:o,fn:{AST:a={}}}=this.props,c=r.shownDefinitions();const u=s("auths"),l=s("CloseIcon");return p.createElement("div",{className:"dialog-ux"},p.createElement("div",{className:"backdrop-ux"}),p.createElement("div",{className:"modal-ux"},p.createElement("div",{className:"modal-dialog-ux"},p.createElement("div",{className:"modal-ux-inner"},p.createElement("div",{className:"modal-ux-header"},p.createElement("h3",null,"Available authorizations"),p.createElement("button",{type:"button",className:"close-modal",onClick:this.close},p.createElement(l,null))),p.createElement("div",{className:"modal-ux-content"},c.valueSeq().map(((f,d)=>p.createElement(u,{key:d,AST:a,definitions:f,getComponent:s,errSelectors:i,authSelectors:r,authActions:n,specSelectors:o}))))))))}}class w0e extends p.Component{render(){let{isAuthorized:t,showPopup:r,onClick:n,getComponent:s}=this.props;const i=s("authorizationPopup",!0),o=s("LockAuthIcon",!0),a=s("UnlockAuthIcon",!0);return p.createElement("div",{className:"auth-wrapper"},p.createElement("button",{className:t?"btn authorize locked":"btn authorize unlocked",onClick:n},p.createElement("span",null,"Authorize"),t?p.createElement(o,null):p.createElement(a,null)),r&&p.createElement(i,null))}}class x0e extends p.Component{render(){const{authActions:t,authSelectors:r,specSelectors:n,getComponent:s}=this.props,i=n.securityDefinitions(),o=r.definitionsToAuthorize(),a=s("authorizeBtn");return i?p.createElement(a,{onClick:()=>t.showDefinitions(o),isAuthorized:!!r.authorized().size,showPopup:!!r.shownDefinitions(),getComponent:s}):null}}class A0e extends p.Component{constructor(){super(...arguments);G(this,"onClick",r=>{r.stopPropagation();let{onClick:n}=this.props;n&&n()})}render(){let{isAuthorized:r,getComponent:n}=this.props;const s=n("LockAuthOperationIcon",!0),i=n("UnlockAuthOperationIcon",!0);return p.createElement("button",{className:"authorization__btn","aria-label":r?"authorization button locked":"authorization button unlocked",onClick:this.onClick},r?p.createElement(s,{className:"locked"}):p.createElement(i,{className:"unlocked"}))}}class O0e extends p.Component{constructor(r,n){super(r,n);G(this,"onAuthChange",r=>{let{name:n}=r;this.setState({[n]:r})});G(this,"submitAuth",r=>{r.preventDefault();let{authActions:n}=this.props;n.authorizeWithPersistOption(this.state)});G(this,"logoutClick",r=>{r.preventDefault();let{authActions:n,definitions:s}=this.props,i=s.map(((o,a)=>a)).toArray();this.setState(i.reduce(((o,a)=>(o[a]="",o)),{})),n.logoutWithPersistOption(i)});G(this,"close",r=>{r.preventDefault();let{authActions:n}=this.props;n.showDefinitions(!1)});this.state={}}render(){let{definitions:r,getComponent:n,authSelectors:s,errSelectors:i}=this.props;const o=n("AuthItem"),a=n("oauth2",!0),c=n("Button");let u=s.authorized(),l=r.filter(((h,g)=>!!u.get(g))),f=r.filter((h=>h.get("type")!=="oauth2")),d=r.filter((h=>h.get("type")==="oauth2"));return p.createElement("div",{className:"auth-container"},!!f.size&&p.createElement("form",{onSubmit:this.submitAuth},f.map(((h,g)=>p.createElement(o,{key:g,schema:h,name:g,getComponent:n,onAuthChange:this.onAuthChange,authorized:u,errSelectors:i,authSelectors:s}))).toArray(),p.createElement("div",{className:"auth-btn-wrapper"},f.size===l.size?p.createElement(c,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):p.createElement(c,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),p.createElement(c,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),d&&d.size?p.createElement("div",null,p.createElement("div",{className:"scope-def"},p.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),p.
281createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),r.filter((h=>h.get("type")==="oauth2")).map(((h,g)=>p.createElement("div",{key:g},p.createElement(a,{authorized:u,schema:h,name:g})))).toArray()):null)}}class C0e extends p.Component{render(){let{schema:t,name:r,getComponent:n,onAuthChange:s,authorized:i,errSelectors:o,authSelectors:a}=this.props;const c=n("apiKeyAuth"),u=n("basicAuth");let l;const f=t.get("type");switch(f){case"apiKey":l=p.createElement(c,{key:r,schema:t,name:r,errSelectors:o,authorized:i,getComponent:n,onChange:s,authSelectors:a});break;case"basic":l=p.createElement(u,{key:r,schema:t,name:r,errSelectors:o,authorized:i,getComponent:n,onChange:s,authSelectors:a});break;default:l=p.createElement("div",{key:r},"Unknown security definition type ",f)}return p.createElement("div",{key:`${r}-jump`},l)}}class R0e extends p.Component{render(){let{error:t}=this.props,r=t.get("level"),n=t.get("message"),s=t.get("source");return p.createElement("div",{className:"errors"},p.createElement("b",null,s," ",r),p.createElement("span",null,n))}}class T0e extends p.Component{constructor(r,n){super(r,n);G(this,"onChange",r=>{let{onChange:n}=this.props,s=r.target.value,i=Object.assign({},this.state,{value:s});this.setState(i),n(i)});let{name:s,schema:i}=this.props,o=this.getValue();this.state={name:s,schema:i,value:o}}getValue(){let{name:r,authorized:n}=this.props;return n&&n.getIn([r,"value"])}render(){let{schema:r,getComponent:n,errSelectors:s,name:i,authSelectors:o}=this.props;const a=n("Input"),c=n("Row"),u=n("Col"),l=n("authError"),f=n("Markdown",!0),d=n("JumpToPath",!0),h=o.selectAuthPath(i);let g=this.getValue(),v=s.allErrors().filter((y=>y.get("authId")===i));return p.createElement("div",null,p.createElement("h4",null,p.createElement("code",null,i||r.get("name")),"Â (apiKey)",p.createElement(d,{path:h})),g&&p.createElement("h6",null,"Authorized"),p.createElement(c,null,p.createElement(f,{source:r.get("description")})),p.createElement(c,null,p.createElement("p",null,"Name: ",p.createElement("code",null,r.get("name")))),p.createElement(c,null,p.createElement("p",null,"In: ",p.createElement("code",null,r.get("in")))),p.createElement(c,null,p.createElement("label",{htmlFor:"api_key_value"},"Value:"),g?p.createElement("code",null," ****** "):p.createElement(u,null,p.createElement(a,{id:"api_key_value",type:"text",onChange:this.onChange,autoFocus:!0}))),v.valueSeq().map(((y,E)=>p.createElement(l,{error:y,key:E}))))}}class I0e extends p.Component{constructor(r,n){super(r,n);G(this,"onChange",r=>{let{onChange:n}=this.props,{value:s,name:i}=r.target,o=this.state.value;o[i]=s,this.setState({value:o}),n(this.state)});let{schema:s,name:i}=this.props,o=this.getValue().username;this.state={name:i,schema:s,value:o?{username:o}:{}}}getValue(){let{authorized:r,name:n}=this.props;return r&&r.getIn([n,"value"])||{}}render(){let{schema:r,getComponent:n,name:s,errSelectors:i,authSelectors:o}=this.props;const a=n("Input"),c=n("Row"),u=n("Col"),l=n("authError"),f=n("JumpToPath",!0),d=n("Markdown",!0),h=o.selectAuthPath(s);let g=this.getValue().username,v=i.allErrors().filter((y=>y.get("authId")===s));return p.createElement("div",null,p.createElement("h4",null,"Basic authorization",p.createElement(f,{path:h})),g&&p.createElement("h6",null,"Authorized"),p.createElement(c,null,p.createElement(d,{source:r.get("description")})),p.createElement(c,null,p.createElement("label",{htmlFor:"auth_username"},"Username:"),g?p.createElement("code",null," ",g," "):p.createElement(u,null,p.createElement(a,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),p.createElement(c,null,p.createElement("label",{htmlFor:"auth_password"},"Password:"),g?p.createElement("code",null," ****** "):p.createElement(u,null,p.createElement(a,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),v.valueSeq().map(((y,E)=>p.createElement(l,{error:y,key:E}))))}}function P0e(e){const{example:t,showValue:r,getComponent:n}=e,s=n("Markdown",!0),i=n("HighlightCode",!0);return t&&Z.Map.isMap(t)?p.createElement("div",{className:"example"},t.get("description")?p.createElement("section",{className:"example__section"},p.createElement("div",{className:"example__section-header"},"Example Description"),p.createElement("p",null,p.createElement(s,{source:t.get("description")}))):null,r&&t.has("value")?p.createElement("section",{className:"example__section"},p.createElement("div",{className:"example__section-header"},"Example Value"),p.createElement(i,null,Mr(t.get("value")))):null):null}class D9 extends p.PureComponent{constructor(){super(...arguments);G(this,"_onSelect",(r,{isSyntheticChange:n=!1}={})=>{typeof this.props.onSelect=="function"&&this.props.onSelect(r,{isSyntheticChange:n})});G(this,"_onDomSelect",r=>{if(typeof this.props.onSelect=="function"){const n=r.target.selectedOptions[0].getAttribute("value");this._onSelect(n,{isSyntheticChange:!1})}});G(this,"getCurrentExample",()=>{const{examples:r,currentExampleKey:n}=this.props,s=r.get(n),i=r.keySeq().first(),o=r.get(i);return s||o||Z.Map({})})}componentDidMount(){const{onSelect:r,examples:n}=this.props;if(typeof r=="function"){const s=n.first(),i=n.keyOf(s);this._onSelect(i,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(r){const{currentExampleKey:n,examples:s}=r;if(s!==this.props.examples&&!s.has(n)){const i=s.first(),o=s.keyOf(i);this._onSelect(o,{isSyntheticChange:!0})}}render(){const{examples:r,currentExampleKey:n,isValueModified:s,isModifiedValueAvailable:i,showLabels:o}=this.props;return p.createElement("div",{className:"examples-select"},o?p.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,p.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:i&&s?"__MODIFIED__VALUE__":n||""},i?p.createElement("option",{value:"__MODIFIED__VALUE__"}
281,"[Modified value]"):null,r.map(((a,c)=>p.createElement("option",{key:c,value:c},Z.Map.isMap(a)&&a.get("summary")||c))).valueSeq()))}}G(D9,"defaultProps",{examples:Z.Map({}),onSelect:(...r)=>console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...r),currentExampleKey:null,showLabels:!0});const u_=e=>Z.List.isList(e)?e:Mr(e);class $9 extends p.PureComponent{constructor(r){super(r);G(this,"_getStateForCurrentNamespace",()=>{const{currentNamespace:r}=this.props;return(this.state[r]||Z.Map()).toObject()});G(this,"_setStateForCurrentNamespace",r=>{const{currentNamespace:n}=this.props;return this._setStateForNamespace(n,r)});G(this,"_setStateForNamespace",(r,n)=>{const s=(this.state[r]||Z.Map()).mergeDeep(n);return this.setState({[r]:s})});G(this,"_isCurrentUserInputSameAsExampleValue",()=>{const{currentUserInputValue:r}=this.props;return this._getCurrentExampleValue()===r});G(this,"_getValueForExample",(r,n)=>{const{examples:s}=n||this.props;return u_((s||Z.Map({})).getIn([r,"value"]))});G(this,"_getCurrentExampleValue",r=>{const{currentKey:n}=r||this.props;return this._getValueForExample(n,r||this.props)});G(this,"_onExamplesSelect",(r,{isSyntheticChange:n}={},...s)=>{const{onSelect:i,updateValue:o,currentUserInputValue:a,userHasEditedBody:c}=this.props,{lastUserEditedValue:u}=this._getStateForCurrentNamespace(),l=this._getValueForExample(r);if(r==="__MODIFIED__VALUE__")return o(u_(u)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0});typeof i=="function"&&i(r,{isSyntheticChange:n},...s),this._setStateForCurrentNamespace({lastDownstreamValue:l,isModifiedValueSelected:n&&c||!!a&&a!==l}),n||typeof o=="function"&&o(u_(l))});const n=this._getCurrentExampleValue();this.state={[r.currentNamespace]:Z.Map({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:n,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==n})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}UNSAFE_componentWillReceiveProps(r){const{currentUserInputValue:n,examples:s,onSelect:i,userHasEditedBody:o}=r,{lastUserEditedValue:a,lastDownstreamValue:c}=this._getStateForCurrentNamespace(),u=this._getValueForExample(r.currentKey,r),l=s.filter((f=>Z.Map.isMap(f)&&(f.get("value")===n||Mr(f.get("value"))===n)));if(l.size){let f;f=l.has(r.currentKey)?r.currentKey:l.keySeq().first(),i(f,{isSyntheticChange:!0})}else n!==this.props.currentUserInputValue&&n!==a&&n!==c&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(r.currentNamespace,{lastUserEditedValue:r.currentUserInputValue,isModifiedValueSelected:o||n!==u}))}render(){const{currentUserInputValue:r,examples:n,currentKey:s,getComponent:i,userHasEditedBody:o}=this.props,{lastDownstreamValue:a,lastUserEditedValue:c,isModifiedValueSelected:u}=this._getStateForCurrentNamespace(),l=i("ExamplesSelect");return p.createElement(l,{examples:n,currentExampleKey:s,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!c&&c!==a,isValueModified:r!==void 0&&u&&r!==this._getCurrentExampleValue()||o})}}G($9,"defaultProps",{userHasEditedBody:!1,examples:Z.Map({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:(...r)=>console.log("ExamplesSelectValueRetainer: no `onSelect` function was provided",...r),updateValue:(...r)=>console.log("ExamplesSelectValueRetainer: no `updateValue` function was provided",...r)});function j0e({auth:e,authActions:t,errActions:r,configs:n,authConfigs:s={},currentServer:i}){let{schema:o,scopes:a,name:c,clientId:u}=e,l=o.get("flow"),f=[];switch(l){case"password":return void t.authorizePassword(e);case"application":case"clientCredentials":case"client_credentials":return void t.authorizeApplication(e);case"accessCode":case"authorizationCode":case"authorization_code":f.push("response_type=code");break;case"implicit":f.push("response_type=token")}typeof u=="string"&&f.push("client_id="+encodeURIComponent(u));let d=n.oauth2RedirectUrl;if(d===void 0)return void r.newAuthErr({authId:c,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});f.push("redirect_uri="+encodeURIComponent(d));let h=[];
281if(Array.isArray(a)?h=a:$t.List.isList(a)&&(h=a.toArray()),h.length>0){let _=s.scopeSeparator||" ";f.push("scope="+encodeURIComponent(h.join(_)))}let g=Qu(new Date);if(f.push("state="+encodeURIComponent(g)),s.realm!==void 0&&f.push("realm="+encodeURIComponent(s.realm)),(l==="authorizationCode"||l==="authorization_code"||l==="accessCode")&&s.usePkceWithAuthorizationCodeGrant){const _=(function(){return IF(oa()(32).toString("base64"))})(),x=(function(O){return IF(Ume()("sha256").update(O).digest("base64"))})(_);f.push("code_challenge="+x),f.push("code_challenge_method=S256"),e.codeVerifier=_}let{additionalQueryStringParams:v}=s;for(let _ in v)v[_]!==void 0&&f.push([_,v[_]].map(encodeURIComponent).join("="));const y=o.get("authorizationUrl");let E;E=i?mc(mr(y),i,!0).toString():mr(y);let b,S=[E,f.join("&")].join(typeof y!="string"||y.includes("?")?"&":"?");b=l==="implicit"?t.preAuthorizeImplicit:s.useBasicAuthenticationWithAccessCodeGrant?t.authorizeAccessCodeWithBasicAuthentication:t.authorizeAccessCodeWithFormParams,t.authPopup(S,{auth:e,state:g,redirectUrl:d,callback:b,errCb:r.newAuthErr})}class k0e extends p.Component{constructor(r,n){super(r,n);G(this,"close",r=>{r.preventDefault();let{authActions:n}=this.props;n.showDefinitions(!1)});G(this,"authorize",()=>{let{authActions:r,errActions:n,getConfigs:s,authSelectors:i,oas3Selectors:o}=this.props,a=s(),c=i.getConfigs();n.clear({authId:name,type:"auth",source:"auth"}),j0e({auth:this.state,currentServer:o.serverEffectiveValue(o.selectedServer()),authActions:r,errActions:n,configs:a,authConfigs:c})});G(this,"onScopeChange",r=>{let{target:n}=r,{checked:s}=n,i=n.dataset.value;if(s&&this.state.scopes.indexOf(i)===-1){let o=this.state.scopes.concat([i]);this.setState({scopes:o})}else!s&&this.state.scopes.indexOf(i)>-1&&this.setState({scopes:this.state.scopes.filter((o=>o!==i))})});G(this,"onInputChange",r=>{let{target:{dataset:{name:n},value:s}}=r,i={[n]:s};this.setState(i)});G(this,"selectScopes",r=>{r.target.dataset.all?this.setState({scopes:Array.from((this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).keys())}):this.setState({scopes:[]})});G(this,"logout",r=>{r.preventDefault();let{authActions:n,errActions:s,name:i}=this.props;s.clear({authId:i,type:"auth",source:"auth"}),n.logoutWithPersistOption([i])});let{name:s,schema:i,authorized:o,authSelectors:a}=this.props,c=o&&o.get(s),u=a.getConfigs()||{},l=c&&c.get("username")||"",f=c&&c.get("clientId")||u.clientId||"",d=c&&c.get("clientSecret")||u.clientSecret||"",h=c&&c.get("passwordType")||"basic",g=c&&c.get("scopes")||u.scopes||[];typeof g=="string"&&(g=g.split(u.scopeSeparator||" ")),this.state={appName:u.appName,name:s,schema:i,scopes:g,clientId:f,clientSecret:d,username:l,password:"",passwordType:h}}render(){let{schema:r,getComponent:n,authSelectors:s,errSelectors:i,name:o,specSelectors:a}=this.props;const c=n("Input"),u=n("Row"),l=n("Col"),f=n("Button"),d=n("authError"),h=n("JumpToPath",!0),g=n("Markdown",!0),v=n("InitializedInput"),{isOAS3:y}=a;let E=y()?r.get("openIdConnectUrl"):null;const b="implicit",S="password",_=y()?E?"authorization_code":"authorizationCode":"accessCode",x=y()?E?"client_credentials":"clientCredentials":"application",A=s.selectAuthPath(o);let O=!!(s.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,I=r.get("flow"),R=I===_&&O?I+" with PKCE":I,$=r.get("allowedScopes")||r.get("scopes"),M=!!s.authorized().get(o),q=i.allErrors().filter((X=>X.get("authId")===o)),N=!q.filter((X=>X.get("source")==="validation")).size,U=r.get("description");return p.createElement("div",null,p.createElement("h4",null,o," (OAuth2, ",R,") ",p.createElement(h,{path:A})),this.state.appName?p.createElement("h5",null,"Application: ",this.state.appName," "):null,U&&p.createElement(g,{source:r.get("description")}),M&&p.createElement("h6",null,"Authorized"),E&&p.createElement("p",null,"OpenID Connect URL: ",p.createElement("code",null,E)),(I===b||I===_)&&p.createElement("p",null,"Authorization URL: ",p.createElement("code",null,r.get("authorizationUrl"))),(I===S||I===_||I===x)&&p.createElement("p",null,"Token URL:",p.createElement("code",null," ",r.get("tokenUrl"))),p.createElement("p",{className:"flow"},"Flow: ",p.createElement("code",null,R)),I!==S?null:p.createElement(u,null,p.createElement(u,null,p.createElement("label",{htmlFor:"oauth_username"},"username:"),M?p.createElement("code",null," ",this.state.username," "):p.createElement(l,{tablet:10,desktop:10},p.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),p.createElement(u,null,p.createElement("label",{htmlFor:"oauth_password"},"password:"),M?p.createElement("code",null," ****** "):p.createElement(l,{tablet:10,desktop:10},p.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}
vendor: 4,710 bytes, line 281
281))),p.createElement(u,null,p.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),M?p.createElement("code",null," ",this.state.passwordType," "):p.createElement(l,{tablet:10,desktop:10},p.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},p.createElement("option",{value:"basic"},"Authorization header"),p.createElement("option",{value:"request-body"},"Request body"))))),(I===x||I===b||I===_||I===S)&&(!M||M&&this.state.clientId)&&p.createElement(u,null,p.createElement("label",{htmlFor:`client_id_${I}`},"client_id:"),M?p.createElement("code",null," ****** "):p.createElement(l,{tablet:10,desktop:10},p.createElement(v,{id:`client_id_${I}`,type:"text",required:I===S,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(I===x||I===_||I===S)&&p.createElement(u,null,p.createElement("label",{htmlFor:`client_secret_${I}`},"client_secret:"),M?p.createElement("code",null," ****** "):p.createElement(l,{tablet:10,desktop:10},p.createElement(v,{id:`client_secret_${I}`,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!M&&$&&$.size?p.createElement("div",{className:"scopes"},p.createElement("h2",null,"Scopes:",p.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),p.createElement("a",{onClick:this.selectScopes},"select none")),$.map(((X,J)=>p.createElement(u,{key:J},p.createElement("div",{className:"checkbox"},p.createElement(c,{"data-value":J,id:`${J}-${I}-checkbox-${this.state.name}`,disabled:M,checked:this.state.scopes.includes(J),type:"checkbox",onChange:this.onScopeChange}),p.createElement("label",{htmlFor:`${J}-${I}-checkbox-${this.state.name}`},p.createElement("span",{className:"item"}),p.createElement("div",{className:"text"},p.createElement("p",{className:"name"},J),p.createElement("p",{className:"description"},X))))))).toArray()):null,q.valueSeq().map(((X,J)=>p.createElement(d,{error:X,key:J}))),p.createElement("div",{className:"auth-btn-wrapper"},N&&(M?p.createElement(f,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):p.createElement(f,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),p.createElement(f,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class N0e extends we.Component{constructor(){super(...arguments);G(this,"onClick",()=>{let{specActions:r,path:n,method:s}=this.props;r.clearResponse(n,s),r.clearRequest(n,s)})}render(){return p.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const M0e=({headers:e})=>p.createElement("div",null,p.createElement("h5",null,"Response headers"),p.createElement("pre",{className:"microlight"},e)),D0e=({duration:e})=>p.createElement("div",null,p.createElement("h5",null,"Request duration"),p.createElement("pre",{className:"microlight"},e," ms"));class $0e extends p.Component{shouldComponentUpdate(t){return this.props.response!==t.response||this.props.path!==t.path||this.props.method!==t.method||this.props.displayRequestDuration!==t.displayRequestDuration}render(){const{response:t,getComponent:r,getConfigs:n,displayRequestDuration:s,specSelectors:i,path:o,method:a}=this.props,{showMutatedRequest:c,requestSnippetsEnabled:u}=n(),l=c?i.mutatedRequestFor(o,a):i.requestFor(o,a),f=t.get("status"),d=l.get("url"),h=t.get("headers").toJS(),g=t.get("notDocumented"),v=t.get("error"),y=t.get("text"),E=t.get("duration"),b=Object.keys(h),S=h["content-type"]||h["Content-Type"],_=r("responseBody"),x=b.map(($=>{var M=Array.isArray(h[$])?h[$].join():h[$];return p.createElement("span",{className:"headerline",key:$}," ",$,": ",M," ")})),A=x.length!==0,O=r("Markdown",!0),I=r("RequestSnippets",!0),R=r("curl",!0);return p.createElement("div",null,l&&u?p.createElement(I,{request:l}):p.createElement(R,{request:l}),d&&p.createElement("div",null,p.createElement("div",{className:"request-url"},p.createElement("h4",null,"Request URL"),p.createElement("pre",{className:"microlight"},d))),p.createElement("h4",null,"Server response"),p.createElement("table",{className:"responses-table live-responses-table"},p.createElement("thead",null,p.createElement("tr",{className:"responses-header"},p.createElement("td",{className:"col_header response-col_status"},"Code"),p.createElement("td",{className:"col_header response-col_description"},"Details"))),p.createElement("tbody",null,p.createElement("tr",{className:"response"},p.createElement("td",{className:"response-col_status"},f,g?p.createElement("div",{className:"response-undocumented"}
281,p.createElement("i",null," Undocumented ")):null),p.createElement("td",{className:"response-col_description"},v?p.createElement(O,{source:`${t.get("name")!==""?`${t.get("name")}: `:""}${t.get("message")}`}):null,y?p.createElement(_,{content:y,contentType:S,url:d,headers:h,getConfigs:n,getComponent:r}):null,A?p.createElement(M0e,{headers:x}):null,s&&E?p.createElement(D0e,{duration:E}):null)))))}}class F9 extends p.Component{constructor(r,n){super(r,n);G(this,"getDefinitionUrl",()=>{let{specSelectors:r}=this.props;return new mc(r.url(),Zt.location).toString()});let{getConfigs:s}=r,{validatorUrl:i}=s();this.state={url:this.getDefinitionUrl(),validatorUrl:i===void 0?"https://validator.swagger.io/validator":i}}UNSAFE_componentWillReceiveProps(r){let{getConfigs:n}=r,{validatorUrl:s}=n();this.setState({url:this.getDefinitionUrl(),validatorUrl:s===void 0?"https://validator.swagger.io/validator":s})}render(){let{getConfigs:r}=this.props,{spec:n}=r(),s=mr(this.state.validatorUrl);return typeof n=="object"&&Object.keys(n).length?null:this.state.url&&TF(this.state.validatorUrl)&&TF(this.state.url)?p.createElement("span",{className:"float-right"},p.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${s}/debug?url=${encodeURIComponent(this.state.url)}`},p.createElement(F0e,{src:`${s}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class F0e extends p.Component{constructor(t){super(t),this.state={loaded:!1,error:!1}}componentDidMount(){const t=new Image;t.onload=()=>{this.setState({loaded:!0})},t.onerror=()=>{this.setState({error:!0})},t.src=this.props.src}UNSAFE_componentWillReceiveProps(t){if(t.src!==this.props.src){const r=new Image;r.onload=()=>{this.setState({loaded:!0})},r.onerror=()=>{this.setState({error:!0})},r.src=t.src}}render(){return this.state.error?p.createElement("img",{alt:"Error"}):this.state.loaded?p.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class q0e extends p.Component{constructor(){super(...arguments);G(this,"renderOperationTag",(r,n)=>{const{specSelectors:s,getComponent:i,oas3Selectors:o,layoutSelectors:a,layoutActions:c,getConfigs:u}=this.props,l=s.validOperationMethods(),f=i("OperationContainer",!0),d=i("OperationTag"),h=r.get("operations");return p.createElement(d,{key:"operation-"+n,tagObj:r,tag:n,oas3Selectors:o,layoutSelectors:a,layoutActions:c,getConfigs:u,getComponent:i,specUrl:s.url()},p.createElement("div",{className:"operation-tag-content"},h.map((g=>{const v=g.get("path"),y=g.get("method"),E=g.get("specPath");return l.indexOf(y)===-1?null:p.createElement(f,{key:`${v}-${y}`,specPath:E,op:g,path:v,method:y,tag:n})})).toArray()))})}render(){let{specSelectors:r}=this.props;const n=r.taggedOperations();return n.size===0?p.createElement("h3",null," No operations defined in spec!"):p.createElement("div",null,n.map(this.renderOperationTag).toArray(),n.size<1?p.createElement("h3",null," No operations defined in spec! "):null)}}class q9 extends p.Component{render(){const{tagObj:t,tag:r,children:n,oas3Selectors:s,layoutSelectors:i,layoutActions:o,getConfigs:a,getComponent:c,specUrl:u}=this.props;let{docExpansion:l,deepLinking:f}=a();const d=c("Collapse"),h=c("Markdown",!0),g=c("DeepLink"),v=c("Link"),y=c("ArrowUpIcon"),E=c("ArrowDownIcon");let b,S=t.getIn(["tagDetails","description"],null),_=t.getIn(["tagDetails","externalDocs","description"]),x=t.getIn(["tagDetails","externalDocs","url"]);b=si(s)&&si(s.selectedServer)?jn(x,u,{selectedServer:s.selectedServer()}):x;let A=["operations-tag",r],O=i.isShown(A,l==="full"||l==="list");return p.createElement("div",{className:O?"opblock-tag-section is-open":"opblock-tag-section"},p.createElement("h3",{onClick:()=>o.show(A,!O),className:S?"opblock-tag":"opblock-tag no-desc",id:A.map((I=>wU(I))).join("-"),"data-tag":r,"data-is-open":O},p.createElement(g,{enabled:f,isShown:O,path:Ic(r),text:r}),S?p.createElement("small",null,p.createElement(h,{source:S})):p.createElement("small",null),b?p.createElement("div",{className:"info__externaldocs"},p.createElement("small",null,p.createElement(v,{href:mr(b),onClick:I=>I.stopPropagation(),target:"_blank"},_||b))):null,p.createElement("button",{"aria-expanded":O,className:"expand-operation",title:O?"Collapse operation":"Expand operation",onClick:()=>o.show(A,!O)},O?p.createElement(y,{className:"arrow"}):p.createElement(E,{className:"arrow"}))),p.createElement(d,{isOpened:O},n))}}G(q9,"defaultProps",{tagObj:$t.fromJS({}),tag:""});class B9 extends we.PureComponent{render(){var L,T;let{specPath:t,response:r,request:n,toggleShown:s,onTryoutClick:i,onResetClick:o,onCancelClick:a,onExecute:c,fn:u,getComponent:l,getConfigs:f,specActions:d,specSelectors:h,authActions:g,authSelectors:v,oas3Actions:y,oas3Selectors:E}=this.props,b=this.props.operation,{deprecated:S,isShown:_,path:x,method:A,op:O,tag:I,operationId:R,allowTryItOut:$,displayRequestDuration:M,tryItOutEnabled:q,executeInProgress:N}=b.toObject();const U=O.get("description"),X=(L=O.get("externalDocs"))==null?void 0:L.toJS(),J=(T=O.get("schemes"))==null?void 0:T.toJS(),ee=X?jn(X.url,h.url(),{selectedServer:E.selectedServer()}):"";let ne=b.getIn(["op"]),re=ne.get("responses"),Y=(function(z,Q){if(!$t.Iterable.isIterable(z))return $t.List();let oe=z.getIn(Array.isArray(Q)?Q:[Q]);return $t.List.isList(oe)?oe:$t.List()})(ne,["parameters"]),ie=h.operationScheme(x,A),ce=["operations",I,R],ge=Wi(ne);const de=l("responses",!0),ae=l("parameters",!0),W=l("execute"),V=l("clear"),fe=l("Collapse"),ye=l("Markdown",!0),De=l("schemes"),Fe=l("OperationServers"),Re=l("OperationExt"),ke=l("OperationSummary"),Je=l("Link"),{showExtensions:be}=f();if(re&&r&&r.size>0){let j=!re.get(String(r.get("status")))&&!re.get("default");r=r.set("notDocumented",j)}let Ee=[x,A];const xe=h.validationErrors([x,A]);return p.createElement("div",{className:S?"opblock opblock-deprecated":_?`opblock opblock-${A} is-open`:`opblock opblock-${A}`,id:wU(ce.join("-"))},p.createElement(ke,{operationProps:b,isShown:_,toggleShown:s,getComponent:l,authActions:g,authSelectors:v,specPath:t}),p.createElement(fe,{isOpened:_},p.createElement("div",{className:"opblock-body"},ne&&ne.size||ne===null?null:p.createElement(VU,{height:"32px",width:"32px",className:"opblock-loading-animation"}),S&&p.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),U&&p.createElement("div",{className:"opblock-description-wrapper"},p.createElement("div",{className:"opblock-description"},p.createElement(ye,{source:U}))),ee?p.createElement("div",{className:"opblock-external-docs-wrapper"},p.createElement("h4",{className:"opblock-title_normal"},"Find more details"),p.createElement("div",{className:"opblock-external-docs"},X.description&&p.createElement("span",{className:"opblock-external-docs__description"},p.createElement(ye,{source:X.description})),p.createElement(Je,{target:"_blank",className:"opblock-external-docs__link",href:mr(ee)},ee))):null,ne&&ne.size?p.createElement(ae,{parameters:Y,specPath:t.push("parameters"),operation:ne,onChangeKey:Ee,onTryoutClick:i,onResetClick:o,onCancelClick:a,tryItOutEnabled:q,allowTryItOut:$,fn:u,getComponent:l,specActions:d,specSelectors:h,pathMethod:[x,A],getConfigs:f,oas3Actions:y,oas3Selectors:E}):null,q?p.createElement(Fe,{getComponent:l,path:x,method:A,operationServers:ne.get("servers"),pathServers:h.paths().getIn([x,"servers"]),getSelectedServer:E.selectedServer,setSelectedServer:y.setSelectedServer,setServerVariableValue:y.setServerVariableValue,getServerVariable:E.serverVariableValue,getEffectiveServerValue:E.serverEffectiveValue}):null,q&&$&&J&&J.size?p.createElement("div",{className:"opblock-schemes"},p.createElement(De,{schemes:J,path:x,method:A,specActions:d,currentScheme:ie})):null,!q||!$||xe.length<=0?null:p.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",p.createElement("ul",null,xe.map(((j,z)=>p.createElement("li",{key:z}," ",j," "))))),p.createElement("div",{className:q&&r&&$?"btn-group":"execute-wrapper"},q&&$?p.createElement(W,{operation:ne,specActions:d,specSelectors:h,oas3Selectors:E,oas3Actions:y,path:x,method:A,onExecute:c,disabled:N}):null,q&&r&&$?p.createElement(V,{specActions:d,path:x,method:A}):null),N?p.createElement("div",{className:"loading-container"},p.createElement("div",{className:"loading"})):null,re?p.createElement(de,{responses:re,request:n,tryItOutResponse:r,getComponent:l,getConfigs:f,specSelectors:h,oas3Actions:y,oas3Selectors:E,specActions:d,produces:h.producesOptionsFor([x,A]),producesValue:h.currentProducesFor([x,A]),specPath:t.push("responses"),path:x,method:A,displayRequestDuration:M,fn:u}):null,be&&ge.size?p.createElement(Re,{extensions:ge,getComponent:l}):null)))}}G(B9,"defaultProps",{operation:null,response:null,request:null,specPath:Z.List(
281),summary:""});class L9 extends we.PureComponent{constructor(r,n){super(r,n);G(this,"toggleShown",()=>{let{layoutActions:r,tag:n,operationId:s,isShown:i}=this.props;const o=this.getResolvedSubtree();i||o!==void 0||this.requestResolvedSubtree(),r.show(["operations",n,s],!i)});G(this,"onCancelClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})});G(this,"onTryoutClick",()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})});G(this,"onResetClick",r=>{const n=this.props.oas3Selectors.selectDefaultRequestBodyValue(...r),s=this.props.oas3Selectors.requestContentType(...r);if(s==="application/x-www-form-urlencoded"||s==="multipart/form-data"){const i=JSON.parse(n);Object.entries(i).forEach((([o,a])=>{Array.isArray(a)?i[o]=i[o].map((c=>typeof c=="object"?JSON.stringify(c,null,2):c)):typeof a=="object"&&(i[o]=JSON.stringify(i[o],null,2))})),this.props.oas3Actions.setRequestBodyValue({value:Z.fromJS(i),pathMethod:r})}else this.props.oas3Actions.setRequestBodyValue({value:n,pathMethod:r})});G(this,"onExecute",()=>{this.setState({executeInProgress:!0})});G(this,"getResolvedSubtree",()=>{const{specSelectors:r,path:n,method:s,specPath:i}=this.props;return i?r.specResolvedSubtree(i.toJS()):r.specResolvedSubtree(["paths",n,s])});G(this,"requestResolvedSubtree",()=>{const{specActions:r,path:n,method:s,specPath:i}=this.props;return i?r.requestResolvedSubtree(i.toJS()):r.requestResolvedSubtree(["paths",n,s])});const{tryItOutEnabled:s}=r.getConfigs();this.state={tryItOutEnabled:s,executeInProgress:!1}}mapStateToProps(r,n){const{op:s,layoutSelectors:i,getConfigs:o}=n,{docExpansion:a,deepLinking:c,displayOperationId:u,displayRequestDuration:l,supportedSubmitMethods:f}=o(),d=i.showSummary(),h=s.getIn(["operation","__originalOperationId"])||s.getIn(["operation","operationId"])||mu(s.get("operation"),n.path,n.method)||s.get("id"),g=["operations",n.tag,h],v=f.indexOf(n.method)>=0&&(n.allowTryItOut===void 0?n.specSelectors.allowTryItOutFor(n.path,n.method):n.allowTryItOut),y=s.getIn(["operation","security"])||n.specSelectors.security();return{operationId:h,isDeepLinkingEnabled:c,showSummary:d,displayOperationId:u,displayRequestDuration:l,allowTryItOut:v,security:y,isAuthorized:n.authSelectors.isAuthorized(y),isShown:i.isShown(g,a==="full"),jumpToKey:`paths.${n.path}.${n.method}`,response:n.specSelectors.responseFor(n.path,n.method),request:n.specSelectors.requestFor(n.path,n.method)}}componentDidMount(){const{isShown:r}=this.props,n=this.getResolvedSubtree();r&&n===void 0&&this.requestResolvedSubtree()}componentDidUpdate(r){const{response:n,isShown:s}=this.props,i=this.getResolvedSubtree();n!==r.response&&this.setState({executeInProgress:!1}),s&&i===void 0&&this.requestResolvedSubtree()}render(){let{op:r,tag:n,path:s,method:i,security:o,isAuthorized:a,operationId:c,showSummary:u,isShown:l,jumpToKey:f,allowTryItOut:d,response:h,request:g,displayOperationId:v,displayRequestDuration:y,isDeepLinkingEnabled:E,specPath:b,specSelectors:S,specActions:_,getComponent:x,getConfigs:A,layoutSelectors:O,layoutActions:I,authActions:R,authSelectors:$,oas3Actions:M,oas3Selectors:q,fn:N}=this.props;const U=x("operation"),X=this.getResolvedSubtree()||Z.Map(),J=Z.fromJS({op:X,tag:n,path:s,summary:r.getIn(["operation","summary"])||"",deprecated:X.get("deprecated")||r.getIn(["operation","deprecated"])||!1,method:i,security:o,isAuthorized:a,operationId:c,originalOperationId:X.getIn(["operation","__originalOperationId"]),showSummary:u,isShown:l,jumpToKey:f,allowTryItOut:d,request:g,displayOperationId:v,displayRequestDuration:y,isDeepLinkingEnabled:E,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return p.createElement(U,{operation:J,response:h,request:g,isShown:l,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:b,specActions:_,specSelectors:S,oas3Actions:M,oas3Selectors:q,layoutActions:I,layoutSelectors:O,authActions:R,authSelectors:$,getComponent:x,getConfigs:A,fn:N})}}G(L9,"defaultProps",{showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1});class U9 extends we.PureComponent{render(){let{isShown:t,toggleShown:r,getComponent:n,authActions:s,authSelectors:i,operationProps:o,specPath:a}=this.props,{summary:c,isAuthorized:u,method:l,op:f,showSummary:d,path:h,operationId:g,originalOperationId:v,dis
281playOperationId:y}=o.toObject();const E=f.get("summary"),b=o.get("security"),S=n("authorizeOperationBtn",!0),_=n("OperationSummaryMethod"),x=n("OperationSummaryPath"),A=n("JumpToPath",!0),O=n("CopyToClipboardBtn",!0),I=n("ArrowUpIcon"),R=n("ArrowDownIcon"),$=b&&!!b.count(),M=$&&b.size===1&&b.first().isEmpty(),q=!$||M;return p.createElement("div",{className:`opblock-summary opblock-summary-${l}`},p.createElement("button",{"aria-expanded":t,className:"opblock-summary-control",onClick:r},p.createElement(_,{method:l}),p.createElement("div",{className:"opblock-summary-path-description-wrapper"},p.createElement(x,{getComponent:n,operationProps:o,specPath:a}),d?p.createElement("div",{className:"opblock-summary-description"},Spe(E||c)):null),y&&(v||g)?p.createElement("span",{className:"opblock-summary-operation-id"},v||g):null),p.createElement(O,{textToCopy:`${a.get(1)}`}),q?null:p.createElement(S,{isAuthorized:u,onClick:()=>{const N=i.definitionsForRequirements(b);s.showDefinitions(N)}}),p.createElement(A,{path:a}),p.createElement("button",{"aria-label":`${l} ${h.replace(/\//g,"â/")}`,className:"opblock-control-arrow","aria-expanded":t,tabIndex:"-1",onClick:r},t?p.createElement(I,{className:"arrow"}):p.createElement(R,{className:"arrow"})))}}G(U9,"defaultProps",{operationProps:null,specPath:Z.List(),summary:""});class V9 extends we.PureComponent{render(){let{method:t}=this.props;return p.createElement("span",{className:"opblock-summary-method"},t.toUpperCase())}}G(V9,"defaultProps",{operationProps:null});class B0e extends we.PureComponent{render(){let{getComponent:t,operationProps:r}=this.props,{deprecated:n,isShown:s,path:i,tag:o,operationId:a,isDeepLinkingEnabled:c}=r.toObject();const u=i.split(/(?=\/)/g);for(let f=1;f<u.length;f+=2)u.splice(f,0,p.createElement("wbr",{key:f}));const l=t("DeepLink");return p.createElement("span",{className:n?"opblock-summary-path__deprecated":"opblock-summary-path","data-path":i},p.createElement(l,{enabled:c,isShown:s,path:Ic(`${o}/${a}`),text:u}))}}var L0e=({extensions:e,getComponent:t})=>{let r=t("OperationExtRow");return p.createElement("div",{className:"opblock-section"},p.createElement("div",{className:"opblock-section-header"},p.createElement("h4",null,"Extensions")),p.createElement("div",{className:"table-container"},p.createElement("table",null,p.createElement("thead",null,p.createElement("tr",null,p.createElement("td",{className:"col_header"},"Field"),p.createElement("td",{className:"col_header"},"Value"))),p.createElement("tbody",null,e.entrySeq().map((([n,s])=>p.createElement(r,{key:`${n}-${s}`,xKey:n,xVal:s})))))))},U0e=({xKey:e,xVal:t})=>{const r=t?t.toJS?t.toJS():t:null;return p.createElement("tr",null,p.createElement("td",null,e),p.createElement("td",null,JSON.stringify(r)))};function _O(e,t="_"){return e.replace(/[^\w-]/g,t)}const mp=class mp extends p.Component{constructor(){super(...arguments);G(this,"onChangeProducesWrapper",r=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],r));G(this,"onResponseContentTypeChange",({controlsAcceptHeader:r,value:n})=>{const{oas3Actions:s,path:i,method:o}=this.props;r&&s.setResponseContentType({value:n,path:i,method:o})})}render(){let{responses:r,tryItOutResponse:n,getComponent:s,getConfigs:i,specSelectors:o,fn:a,producesValue:c,displayRequestDuration:u,specPath:l,path:f,method:d,oas3Selectors:h,oas3Actions:g}=this.props,v=(function(R){let $=R.keySeq();return $.contains(OF)?OF:$.filter((M=>(M+"")[0]==="2")).sort().first()})(r);const y=s("contentType"),E=s("liveResponse"),b=s("response");let S=this.props.produces&&this.props.produces.size?this.props.produces:mp.defaultProps.produces;const _=o.isOAS3()?(function(R){if(!$t.OrderedMap.isOrderedMap(R)||!R.size)return null;const $=R.find(((N,U)=>U.startsWith("2")&&Object.keys(N.get("content")||{}).length>0)),M=R.get("default")||$t.OrderedMap(),q=(M.get("content")||$t.OrderedMap()).keySeq().toJS().length?M:null;return $||q})(r):null,x=r.filter(((I,R)=>!px(R))),A=_O(`${d}${f}_responses`),O=`${A}_select`;return x&&x.size?p.createElement("div",{className:"responses-wrapper"},p.createElement("div",{className:"opblock-section-header"},p.createElement("h4",null,"Responses"),o.isOAS3()?null:p.createElement("label",{htmlFor:O},p.createElement("span",null,"Response content type"),p.createElement(y,{value:c,ariaControl
281s:A,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:S,controlId:O,onChange:this.onChangeProducesWrapper}))),p.createElement("div",{className:"responses-inner"},n?p.createElement("div",null,p.createElement(E,{response:n,getComponent:s,getConfigs:i,specSelectors:o,path:this.props.path,method:this.props.method,displayRequestDuration:u}),p.createElement("h4",null,"Responses")):null,p.createElement("table",{"aria-live":"polite",className:"responses-table",id:A,role:"region"},p.createElement("thead",null,p.createElement("tr",{className:"responses-header"},p.createElement("td",{className:"col_header response-col_status"},"Code"),p.createElement("td",{className:"col_header response-col_description"},"Description"),o.isOAS3()?p.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),p.createElement("tbody",null,x.entrySeq().map((([I,R])=>{let $=n&&n.get("status")==I?"response_current":"";return p.createElement(b,{key:I,path:f,method:d,specPath:l.push(I),isDefault:v===I,fn:a,className:$,code:I,response:R,specSelectors:o,controlsAcceptHeader:R===_,onContentTypeChange:this.onResponseContentTypeChange,contentType:c,getConfigs:i,activeExamplesKey:h.activeExamplesMember(f,d,"responses",I),oas3Actions:g,getComponent:s})})).toArray())))):null}};G(mp,"defaultProps",{tryItOutResponse:null,produces:Z.fromJS(["application/json"]),displayRequestDuration:!1});let _x=mp;function Uh(e){return(function(r){try{return!!JSON.parse(r)}catch{return null}})(e)?"json":null}var E_;let V0e=(E_=class extends p.Component{constructor(r,n){super(r,n);G(this,"_onContentTypeChange",r=>{const{onContentTypeChange:n,controlsAcceptHeader:s}=this.props;this.setState({responseContentType:r}),n({value:r,controlsAcceptHeader:s})});G(this,"getTargetExamplesKey",()=>{const{response:r,contentType:n,activeExamplesKey:s}=this.props,i=this.state.responseContentType||n,o=r.getIn(["content",i],Z.Map({})).get("examples",null).keySeq().first();return s||o});this.state={responseContentType:""}}render(){var ae;let{path:r,method:n,code:s,response:i,className:o,specPath:a,fn:c,getComponent:u,getConfigs:l,specSelectors:f,contentType:d,controlsAcceptHeader:h,oas3Actions:g}=this.props,{inferSchema:v,getSampleSchema:y}=c,E=f.isOAS3();const{showExtensions:b}=l();let S=b?Wi(i):null,_=i.get("headers"),x=i.get("links");const A=u("ResponseExtension"),O=u("headers"),I=u("HighlightCode",!0),R=u("modelExample"),$=u("Markdown",!0),M=u("operationLink"),q=u("contentType"),N=u("ExamplesSelect"),U=u("Example");var X,J;const ee=this.state.responseContentType||d,ne=i.getIn(["content",ee],Z.Map({})),re=ne.get("examples",null);if(E){const W=ne.get("schema");X=W?v(W.toJS()):null,J=W?a.push("content",this.state.responseContentType,"schema"):a}else X=i.get("schema"),J=i.has("schema")?a.push("schema"):a;let Y,ie,ce=!1,ge={includeReadOnly:!0};if(E)if(ie=(ae=ne.get("schema"))==null?void 0:ae.toJS(),Z.Map.isMap(re)&&!re.isEmpty()){const W=this.getTargetExamplesKey(),V=fe=>Z.Map.isMap(fe)?fe.get("value"):void 0;Y=V(re.get(W,Z.Map({}))),Y===void 0&&(Y=V(re.values().next().value)),ce=!0}else ne.get("example")!==void 0&&(Y=ne.get("example"),ce=!0);else{ie=X,ge={...ge,includeWriteOnly:!0};const W=i.getIn(["examples",ee]);W&&(Y=W,ce=!0)}const de=((W,V)=>{if(W==null)return null;const fe=Uh(W)?"json":null;return p.createElement("div",null,p.createElement(V,{className:"example",language:fe},Mr(W)))})(y(ie,ee,ge,ce?Y:void 0),I);return p.createElement("tr",{className:"response "+(o||""),"data-code":s},p.createElement("td",{className:"response-col_status"},s),p.createElement("td",{className:"response-col_description"},p.createElement("div",{className:"response-col_description__inner"},p.createElement($,{source:i.get("description")})),b&&S.size?S.entrySeq().map((([W,V])=>p.createElement(A,{key:`${W}-${V}`,xKey:W,xVal:V}))):null,E&&i.get("content")?p.createElement("section",{className:"response-control
281s"},p.createElement("div",{className:Nt("response-control-media-type",{"response-control-media-type--accept-controller":h})},p.createElement("small",{className:"response-control-media-type__title"},"Media type"),p.createElement(q,{value:this.state.responseContentType,contentTypes:i.get("content")?i.get("content").keySeq():Z.Seq(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),h?p.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",p.createElement("code",null,"Accept")," header."):null),Z.Map.isMap(re)&&!re.isEmpty()?p.createElement("div",{className:"response-control-examples"},p.createElement("small",{className:"response-control-examples__title"},"Examples"),p.createElement(N,{examples:re,currentExampleKey:this.getTargetExamplesKey(),onSelect:W=>g.setActiveExamplesMember({name:W,pathMethod:[r,n],contextType:"responses",contextName:s}),showLabels:!1})):null):null,de||X?p.createElement(R,{specPath:J,getComponent:u,getConfigs:l,specSelectors:f,schema:Cs(X),example:de,includeReadOnly:!0}):null,E&&re?p.createElement(U,{example:re.get(this.getTargetExamplesKey(),Z.Map({})),getComponent:u,getConfigs:l,omitValue:!0}):null,_?p.createElement(O,{headers:_,getComponent:u}):null),E?p.createElement("td",{className:"response-col_links"},x?x.toSeq().entrySeq().map((([W,V])=>p.createElement(M,{key:W,name:W,link:V,getComponent:u}))):p.createElement("i",null,"No links")):null)}},G(E_,"defaultProps",{response:Z.fromJS({}),onContentTypeChange:()=>{}}),E_);var z0e=({xKey:e,xVal:t})=>p.createElement("div",{className:"response__extension"},e,": ",String(t));class W0e extends p.PureComponent{constructor(){super(...arguments);G(this,"state",{parsedContent:null});G(this,"updateParsedContent",r=>{const{content:n}=this.props;if(r!==n)if(n&&n instanceof Blob){var s=new FileReader;s.onload=()=>{this.setState({parsedContent:s.result})},s.readAsText(n)}else this.setState({parsedContent:n.toString()})})}componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(r){this.updateParsedContent(r.content)}render(){let{content:r,contentType:n,url:s,headers:i={},getComponent:o}=this.props;const{parsedContent:a}=this.state,c=o("HighlightCode",!0),u="response_"+new Date().getTime();let l,f;if(s=s||"",(/^application\/octet-stream/i.test(n)||i["Content-Disposition"]&&/attachment/i.test(i["Content-Disposition"])||i["content-disposition"]&&/attachment/i.test(i["content-disposition"])||i["Content-Description"]&&/File Transfer/i.test(i["Content-Description"])||i["content-description"]&&/File Transfer/i.test(i["content-description"]))&&(r.size>0||r.length>0))if("Blob"in window){let d=n||"text/html",h=r instanceof Blob?r:new Blob([r],{type:d}),g=window.URL.createObjectURL(h),v=[d,s.substr(s.lastIndexOf("/")+1),g].join(":"),y=i["content-disposition"]||i["Content-Disposition"];if(y!==void 0){let E=(function(S){let _;if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some((x=>(_=x.exec(S),_!==null))),_!==null&&_.length>1)try{return decodeURIComponent(_[1])}catch(x){console.error(x)}return null})(y);E!==null&&(v=E)}f=Zt.navigator&&Zt.navigator.msSaveOrOpenBlob?p.createElement("div",null,p.createElement("a",{href:g,onClick:()=>Zt.navigator.msSaveOrOpenBlob(h,v)},"Download file")):p.createElement("div",null,p.createElement("a",{href:g,download:v},"Download file"))}else f=p.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(n)){let d=null;Uh(r)&&(d="json");try{l=JSON.stringify(JSON.parse(r),null," ")}catch{l=`can't parse JSON. Raw result: 282 283`+r}f=p.createElement(c,{language:d,downloadable:!0,fileName:`${u}.json`,canCopy:!0},l)}else/xml/i.test(n)?(l=Ape(r,{textNodesOnSameLine:!0,indentor:" "}),f=p.createElement(c,{downloadable:!0,fileName:`${u}.xml`,canCopy:!0},l)):f=V$(n)==="text/html"||/text\/plain/.test(n)?p.createElement(c,{downloadable:!0,fileName:`${u}.html`,canCopy:!0},r):V$(n)==="text/csv"||/text\/csv/.test(n)?p.createElement(c,{downloadable:!0,fileName:`${u}.csv`,canCopy:!0},r):/^image\//i.test(n)?n.includes("svg")?p.createElement("div",null," ",r," "):p.createElement("img",{src:window.URL.createObjectURL(r)}):/^audio\//i.test(n)?p.createElement("pre",{className:"microlight"},p.createElement("audio",{controls:!0,key:s},p.createElement("source",{src:s,type:n}))):typeof r=="string"?p.createElement(c,{downloadable:!0,fileName:`${u}.txt`,canCopy:!0},r):r.size>0?a?p.createElement("div",null,p.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),p.createElement(c,{downloadable:!0,fileName:`${u}.txt`,canCopy:!0},a)):p.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return f?p.createElement("div",null,p.createElement("h5",null,"Response body"),f):null}}class z9 extends we.Component{constructor(r){super(r);G(this,"onChange",(r,n,s)=>{let{specActions:{changeParamByIdentity:i},onChangeKey:o}=this.props;i(o,r,n,s)});G(this,"onChangeConsumesWrapper",r=>{let{specActions:{changeConsumesValue:n},onChangeKey:s}=this.props;n(s,r)});G(this,"toggleTab",r=>r==="parameters"?this.setState({parametersVisible:!0,callbackVisible:!1}):r==="callbacks"?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0);G(this,"onChangeMediaType",({value:r,pathMethod:n})=>{let{specActions:s,oas3Selectors:i,oas3Actions:o}=this.props;const a=i.hasUserEditedBody(...n),c=i.shouldRetainRequestBodyValue(...n);o.setRequestContentType({value:r,pathMethod:n}),o.initRequestBodyValidateError({pathMethod:n}),a||(c||o.setRequestBodyValue({value:void 0,pathMethod:n}),s.clearResponse(...n),s.clearRequest(...n),s.clearValidateParams(n))});this.state={callbackVisible:!1,parametersVisible:!0}}render(){let{onTryoutClick:r,onResetClick:n,parameters:s,allowTryItOut:i,tryItOutEnabled:o,specPath:a,fn:c,getComponent:u,getConfigs:l,specSelectors:f,specActions:d,pathMethod:h,oas3Actions:g,oas3Selectors:v,operation:y}=this.props;const E=u("parameterRow"),b=u("TryItOutButton"),S=u("contentType"),_=u("Callbacks",!0),x=u("RequestBody",!0),A=o&&i,O=f.isOAS3(),I=`${_O(`${h[1]}${h[0]}_requests`)}_select`,R=y.get("requestBody"),$=Object.values(s.reduce(((M,q)=>{if(Z.Map.isMap(q)){const N=q.get("in");M[N]??(M[N]=[]),M[N].push(q)}return M}),{})).reduce(((M,q)=>M.concat(q)),[]);return p.createElement("div",{className:"opblock-section"},p.createElement("div",{className:"opblock-section-header"},O?p.createElement("div",{className:"tab-header"},p.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},p.createElement("h4",{className:"opblock-title"},p.createElement("span",null,"Parameters"))),y.get("callbacks")?p.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},p.createElement("h4",{className:"opblock-title"},p.createElement("span",null,"Callbacks"))):null):p.createElement("div",{className:"tab-header"},p.createElement("h4",{className:"opblock-title"},"Parameters")),i?p.createElement(b,{isOAS3:f.isOAS3(),hasUserEditedBody:v.hasUserEditedBody(...h),enabled:o,onCancelClick:this.props.onCancelClick,onTryoutClick:r,onResetClick:()=>n(h)}):null),this.state.parametersVisible?p.createElement("div",{className:"parameters-container"},$.length?p.createElement("div",{className:"table-container"},p.createElement("table",{className:"parameters"},p.createElement("thead",null,p.createElement("tr",null,p.createElement("th",{className:"col_header parameters-col_name"},"Name"),p.createElement("th",{className:"col_header parameters-col_description"},"Description"))),p.createElement("tbody",null,$.map(((M,q)=>p.createElement(E,{fn:c,specPath:a.push(q.toString()),getComponent:u,getConfigs:l,rawParam:M,param:f.parameterWithMetaByIdentity(h,M),key:`${M.get("in")}.${M.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:f,specActions:d,oas3Actions:g,oas3Selectors:v,pathMethod:h,isExecute:A})))))):p.createElement("div",{className:"opblock-description-wrapper"},p.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?p.createElement("div",{className:"callbacks-container opblock-description-wrapper"},p.createElement(_,{callbacks:Z.Map(y.get("callbacks")),specPath:a.slice(0,-1).push("callbacks")})):null,O&&R&&this.state.parametersVisible&&p.createElement("div",{className:"opblock-section opblock-section-request-body"},p.createElement("div",{className:"opblock-section-header"},p.createElement("h4",{className:`opblock-title parameter__name ${R.get("required")&&"required"}`},"Request body"),p.createElement("label",{id:I},p.createElement(S,{value:v.requestContentType(...h),contentTypes:R.get("content",Z.List()).keySeq(),onChange:M=>{this.onChangeMediaType({value:M,pathMethod:h})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:I}))),p.createElement("div",{className:"opblock-description-wrapper"},p.createElement(x,{setRetainRequestBodyValueFlag:M=>g.setRetainRequestBodyValueFlag({value:M,pathMethod:h}),userHasEditedBody:v.hasUserEditedBody(...h),specPath:a.slice(0,-1).push("requestBody"),requestBody:R,requestBodyValue:v.requestBodyValue(...h),requestBodyInclusionSetting:v.requestBodyInclusionSetting(...h),requestBodyErrors:v.requestBodyErrors(...h),isExecute:A,getConfigs:l,activeExamplesKey:v.activeExamplesMember(...h,"requestBody","requestBody"),updateActiveExamplesKey:M=>{this.props.oas3Actions.setActiveExamplesMember({name:M,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(M,q)=>{if(q){const N=v.requestBodyValue(...h),U=Z.Map.isMap(N)?N:Z.Map();return g.setRequestBodyValue({pathMethod:h,value:U.setIn(q,M)})}g.setRequestBodyValue({value:M,pathMethod:h})},onChangeIncludeEmpty:(M,q)=>{g.setRequestBodyInclusion({pathMethod:h,value:q,name:M})},contentType:v.requestContentType(...h)}))))}}G(z9,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]});var J0e=({xKey:e,xVal:t})=>p.createElement("div",{className:"parameter__extension"},e,": ",String(t));const H0e={onChange:()=>{},isIncludedOptions:{}};class W9 extends we.Component{constructor(){super(...arguments);G(this,"onCheckboxChange",r=>{const{onChange:n}=this.props;n(r.target.checked)})}componentDidMount(){const{isIncludedOptions:r,onChange:n}=this.props,{shouldDispatchInit:s,defaultValue:i}=r;s&&n(i)}render(){let{isIncluded:r,isDisabled:n}=this.props;return p.createElement("div",null,p.createElement("label",{htmlFor:"include_empty_value",className:Nt("parameter__empty_value_toggle",{disabled:n})},p.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:n,checked:!n&&r,onChange:this.onCheckboxChange}),"Send empty value"))}}G(W9,"defaultProps",H0e);class K0e extends we.Component{constructor(r,n){super(r,n);G(this,"onChangeWrapper",(r,n=!1)=>{let s,{onChange:i,rawParam:o}=this.props;return s=r===""||r&&r.size===0?null:r,i(o,s,n)});G(this,"_onExampleSelect",r=>{this.props.oas3Actions.setActiveExamplesMember({name:r,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})});G(this,"onChangeIncludeEmpty",r=>{let{specActions:n,param:s,pathMethod:i}=this.props;const o=s.get("name"),a=s.get("in");return n.updateEmptyParamInclusion(i,o,a,r)});G(this,"setDefaultValue",()=>{let{specSelectors:r,pathMethod:n,rawParam:s,oas3Selectors:i,fn:o}=this.props;const a=r.parameterWithMetaByIdentity(n,s)||Z.Map();let{schema:c}=Zl(a,{isOAS3:r.isOAS3()});
283const u=a.get("content",Z.Map()).keySeq().first(),l=c?o.getSampleSchema(c.toJS(),u,{includeWriteOnly:!0}):null;if(a&&a.get("value")===void 0&&a.get("in")!=="body"){let f;if(r.isSwagger2())f=a.get("x-example")!==void 0?a.get("x-example"):a.getIn(["schema","example"])!==void 0?a.getIn(["schema","example"]):c&&c.getIn(["default"]);else if(r.isOAS3()){c=this.composeJsonSchema(c);const g=i.activeExamplesMember(...n,"parameters",this.getParamKey());f=a.getIn(["examples",g,"value"])!==void 0?a.getIn(["examples",g,"value"]):a.getIn(["content",u,"example"])!==void 0?a.getIn(["content",u,"example"]):a.get("example")!==void 0?a.get("example"):(c&&c.get("example"))!==void 0?c&&c.get("example"):(c&&c.get("default"))!==void 0?c&&c.get("default"):a.get("default")}f===void 0||Z.List.isList(f)||(f=Mr(f));const d=o.getSchemaObjectType(c),h=o.getSchemaObjectType(c==null?void 0:c.get("items"));f!==void 0?this.onChangeWrapper(f):d==="object"&&l&&!a.get("examples")?this.onChangeWrapper(Z.List.isList(l)?l:Mr(l)):d==="array"&&h==="object"&&l&&!a.get("examples")&&this.onChangeWrapper(Z.List.isList(l)?l:Z.List(JSON.parse(l)))}});this.setDefaultValue()}UNSAFE_componentWillReceiveProps(r){let n,{specSelectors:s,pathMethod:i,rawParam:o}=r,a=s.isOAS3(),c=s.parameterWithMetaByIdentity(i,o)||new Z.Map;if(c=c.isEmpty()?o:c,a){let{schema:f}=Zl(c,{isOAS3:a});n=f?f.get("enum"):void 0}else n=c?c.get("enum"):void 0;let u,l=c?c.get("value"):void 0;l!==void 0?u=l:o.get("required")&&n&&n.size&&(u=n.first()),u!==void 0&&u!==l&&this.onChangeWrapper((function(d){return typeof d=="number"?d.toString():d})(u)),this.setDefaultValue()}getParamKey(){const{param:r}=this.props;return r?`${r.get("name")}-${r.get("in")}`:null}composeJsonSchema(r){var o,a,c,u;const{fn:n}=this.props,s=(a=(o=r.get("oneOf"))==null?void 0:o.get(0))==null?void 0:a.toJS(),i=(u=(c=r.get("anyOf"))==null?void 0:c.get(0))==null?void 0:u.toJS();return Z.fromJS(n.mergeJsonSchema(r.toJS(),s??i??{}))}render(){let{param:r,rawParam:n,getComponent:s,getConfigs:i,isExecute:o,fn:a,onChangeConsumes:c,specSelectors:u,pathMethod:l,specPath:f,oas3Selectors:d}=this.props,h=u.isOAS3();const{showExtensions:g,showCommonExtensions:v}=i();if(r||(r=n),!n)return null;const y=s("JsonSchemaForm"),E=s("ParamBody");let b=r.get("in"),S=b!=="body"?null:p.createElement(E,{getComponent:s,getConfigs:i,fn:a,param:r,consumes:u.consumesOptionsFor(l),consumesValue:u.contentTypeValues(l).get("requestContentType"),onChange:this.onChangeWrapper,onChangeConsumes:c,isExecute:o,specSelectors:u,pathMethod:l});const _=s("modelExample"),x=s("Markdown",!0),A=s("ParameterExt"),O=s("ParameterIncludeEmpty"),I=s("ExamplesSelectValueRetainer"),R=s("Example");let{schema:$}=Zl(r,{isOAS3:h}),M=u.parameterWithMetaByIdentity(l,n)||Z.Map();const q=M.get("content",Z.Map()).keySeq().first();h&&($=this.composeJsonSchema($));let N=$?$.get("format"):null,U=b==="formData",X="FormData"in Zt,J=r.get("required");const ee=a.getSchemaObjectType($),ne=a.getSchemaObjectType($==null?void 0:$.get("items")),re=a.getSchemaObjectTypeLabel($),Y=!S&&ee==="object",ie=!S&&ne==="object";let ce,ge,de,ae,W=M?M.get("value"):"",V=v?xU($):null,fe=g?Wi(r):null,ye=!1;r!==void 0&&$&&(ce=$.get("items")),ce!==void 0?(ge=ce.get("enum"),de=ce.get("default")):$&&(ge=$.get("enum")),ge&&ge.size&&ge.size>0&&(ye=!0),r!==void 0&&($&&(de=$.get("default")),de===void 0&&(de=r.get("default")),ae=r.get("example"),ae===void 0&&(ae=r.get("x-example")));const De=S?null:p.createElement(y,{fn:a,getComponent:s,value:W,required:J,disabled:!o,description:r.get("name"),onChange:this.onChangeWrapper,errors:M.get("errors"),schema:$});return p.createElement("tr",{"data-param-name":r.get("name"),"data-param-in":r.get("in")},p.createElement("td",{className:"parameters-col_name"},p.createElement("div",{className:J?"parameter__name required":"parameter__name"},r.get("name"),J?p.createElement("span",null,"Â *"):null),p.createElement("div",{className:"parameter__type"},re,N&&p.createElement("span",{className:"prop-format"},"($",N,")")),p.createElement("div",{className:"parameter__deprecated"},h&&r.get("deprecated")?"deprecated":null),p.createElement("div",{className:"parameter__in"},"(",r.get("in"),")")),p.createElement("td",{className:"parameters-col_description"},r.get("description")?p.createElement(x,{source:r.get("description")}):null,!S&&o||!ye?null:p.createElement(x,{className:"parameter__enum",source:"<i>Available values</i> : "+ge.map((function(Fe){return Fe})).toArray().map(String).join(", ")}),!S&&o||de===void 0?null:p.createElement(x,{className:"parameter__default",source:"<i>Default value</i> : "+de}),!S&&o||ae===void 0?null:p.createElement(x,{source:"<i>Example</i> : "+ae}
vendor: 6,794 bytes, line 283
283),U&&!X&&p.createElement("div",null,"Error: your browser does not support FormData"),h&&r.get("examples")?p.createElement("section",{className:"parameter-controls"},p.createElement(I,{examples:r.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:s,defaultToFirstExample:!0,currentKey:d.activeExamplesMember(...l,"parameters",this.getParamKey()),currentUserInputValue:W})):null,Y||ie?p.createElement(_,{getComponent:s,specPath:q?f.push("content",q,"schema"):f.push("schema"),getConfigs:i,isExecute:o,specSelectors:u,schema:$,example:De}):De,S&&$?p.createElement(_,{getComponent:s,specPath:f.push("schema"),getConfigs:i,isExecute:o,specSelectors:u,schema:$,example:S,includeWriteOnly:!0}):null,!S&&o&&r.get("allowEmptyValue")?p.createElement(O,{onChange:this.onChangeIncludeEmpty,isIncluded:u.parameterInclusionSettingFor(l,r.get("name"),r.get("in")),isDisabled:!V2(W)}):null,h&&r.get("examples")?p.createElement(R,{example:r.getIn(["examples",d.activeExamplesMember(...l,"parameters",this.getParamKey())]),getComponent:s,getConfigs:i}):null,v&&V.size?V.entrySeq().map((([Fe,Re])=>p.createElement(A,{key:`${Fe}-${Re}`,xKey:Fe,xVal:Re}))):null,g&&fe.size?fe.entrySeq().map((([Fe,Re])=>p.createElement(A,{key:`${Fe}-${Re}`,xKey:Fe,xVal:Re}))):null))}}class G0e extends we.Component{constructor(){super(...arguments);G(this,"handleValidateParameters",()=>{let{specSelectors:r,specActions:n,path:s,method:i}=this.props;return n.validateParams([s,i]),r.validateBeforeExecute([s,i])});G(this,"handleValidateRequestBody",()=>{let{path:r,method:n,specSelectors:s,oas3Selectors:i,oas3Actions:o}=this.props,a={missingBodyValue:!1,missingRequiredKeys:[]};o.clearRequestBodyValidateError({path:r,method:n});let c=s.getOAS3RequiredRequestBodyContentType([r,n]),u=i.requestBodyValue(r,n),l=i.validateBeforeExecute([r,n]),f=i.requestContentType(r,n);if(!l)return a.missingBodyValue=!0,o.setRequestBodyValidateError({path:r,method:n,validationErrors:a}),!1;if(!c)return!0;let d=i.validateShallowRequired({oas3RequiredRequestBodyContentType:c,oas3RequestContentType:f,oas3RequestBodyValue:u});return!d||d.length<1||(d.forEach((h=>{a.missingRequiredKeys.push(h)})),o.setRequestBodyValidateError({path:r,method:n,validationErrors:a}),!1)});G(this,"handleValidationResultPass",()=>{let{specActions:r,operation:n,path:s,method:i}=this.props;this.props.onExecute&&this.props.onExecute(),r.execute({operation:n,path:s,method:i})});G(this,"handleValidationResultFail",()=>{let{specActions:r,path:n,method:s}=this.props;r.clearValidateParams([n,s]),setTimeout((()=>{r.validateParams([n,s])}),40)});G(this,"handleValidationResult",r=>{r?this.handleValidationResultPass():this.handleValidationResultFail()});G(this,"onClick",()=>{let r=this.handleValidateParameters(),n=this.handleValidateRequestBody(),s=r&&n;this.handleValidationResult(s)});G(this,"onChangeProducesWrapper",r=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],r))}render(){const{disabled:r}=this.props;return p.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:r},"Execute")}}class Y0e extends p.Component{render(){let{headers:t,getComponent:r}=this.props;const n=r("Property"),s=r("Markdown",!0);return t&&t.size?p.createElement("div",{className:"headers-wrapper"},p.createElement("h4",{className:"headers__title"},"Headers:"),p.createElement("table",{className:"headers"},p.createElement("thead",null,p.createElement("tr",{className:"header-row"},p.createElement("th",{className:"header-col"},"Name"),p.createElement("th",{className:"header-col"},"Description"),p.createElement("th",{className:"header-col"},"Type"))),p.createElement("tbody",null,t.entrySeq().map((([i,o])=>{if(!$t.Map.isMap(o))return null;const a=o.get("description"),c=o.getIn(["schema"])?o.getIn(["schema","type"]):o.getIn(["type"]),u=o.getIn(["schema","example"]);return p.createElement("tr",{key:i},p.createElement("td",{className:"header-col"},i),p.createElement("td",{className:"header-col"},a?p.createElement(s,{source:a}):null),p.createElement("td",{className:"header-col"},c," ",u?p.createElement(n,{propKey:"Example",propVal:u,propClass:"header-example"}):null))})).toArray()))):null}}class X0e extends p.Component{render(){let{editorActions:t,errSelectors:r,layoutSelectors:n,layoutActions:s,getComponent:i}=this.props;const o=i("Collapse");if(t&&t.jumpToLine)var a=t.jumpToLine;let c=r.allErrors().filter((f=>f.get("type")==="thrown"||f.get("level")==="error"));if(!c||c.count()<1)return null;let u=n.isShown(["errorPane"],!0),l=c.sortBy((f=>f.get("line")));return p.createElement("pre",{className:"errors-wrapper"},p.createElement("hgroup",{className:"error"},p.createElement("h4",{className:"errors__title"},"Errors"),p.createElement("button",{className:"btn errors__clear-btn",onClick:()=>s.show(["errorPane"],!u)},u?"Hide":"Show")),p.createElement(o,{isOpened:u,animated:!0},p.createElement("div",{className:"errors"},l.map(((f,d)=>{let h=f.get("type");return h==="thrown"||h==="auth"?p.createElement(Z0e,{key:d,error:f.get("error")||f,jumpToLine:a}):h==="spec"?p.createElement(Q0e,{key:d,error:f,jumpToLine:a}):void 0})))))}}const Z0e=({error:e,jumpToLine:t})=>{if(!e)return null;let r=e.get("line");return p.createElement("div",{className:"error-wrapper"},e?p.createElement("div",null,p.createElement("h4",null,e.get("source")&&e.get("level")?J9(e.get("source"))+" "+e.get("level"):"",e.get("path")?p.createElement("small",null," at ",e.get("path")):null),p.createElement("span",{className:"message thrown"},e.get("message")),p.createElement("div",{className:"error-line"},r&&t?p.createElement("a",{onClick:t.bind(null,r)},"Jump to line ",r):null)):null)},Q0e=({error:e,jumpToLine:t=null})=>{let r=null;return e.get("path")?r=Z.List.isList(e.get("path"))?p.createElement("small",null,"at ",e.get("path").join(".")):p.createElement("small",null,"at ",e.get("path")):e.get("line")&&!t&&(r=p.createElement("small",null,"on line ",e.get("line"))),p.createElement("div",{className:"error-wrapper"},e?p.createElement("div",null,p.createElement("h4",null,J9(e.get("source"))+" "+e.get("level"),"Â ",r),p.createElement("span",{className:"message"},e.get("message")),p.createElement("div",{className:"error-line"},t?p.createElement("a",{onClick:t.bind(null,e.get("line"))},"Jump to line ",e.get("line")):null)):null)};function J9(e){return(e||"").split(" ").map((t=>t[0].toUpperCase()+t.slice(1))).join(" ")}const ebe=()=>{};class H9 extends p.Component{constructor(){super(...arguments);G(this,"onChangeWrapper",r=>this.props.onChange(r.target.value))}componentDidMount(){const{contentTypes:r,onChange:n}=this.props;r&&r.size&&n(r.first())}componentDidUpdate(){const{contentTypes:r,value:n,onChange:s}=this.props;r&&r.size&&(r.includes(n)||s(r.first()))}
283render(){let{ariaControls:r,ariaLabel:n,className:s,contentTypes:i,controlId:o,value:a}=this.props;return i&&i.size?p.createElement("div",{className:"content-type-wrapper "+(s||"")},p.createElement("select",{"aria-controls":r,"aria-label":n,className:"content-type",id:o,onChange:this.onChangeWrapper,value:a||""},i.map((c=>p.createElement("option",{key:c,value:c},c))).toArray())):null}}G(H9,"defaultProps",{onChange:ebe,value:null,contentTypes:Z.fromJS(["application/json"])});function tl(...e){return e.filter((t=>!!t)).join(" ").trim()}class tbe extends p.Component{render(){let{fullscreen:t,full:r,...n}=this.props;if(t)return p.createElement("section",n);let s="swagger-container"+(r?"-full":"");return p.createElement("section",jt({},n,{className:tl(n.className,s)}))}}const l_={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class rbe extends p.Component{render(){const{hide:t,keepContents:r,mobile:n,tablet:s,desktop:i,large:o,...a}=this.props;if(t&&!r)return p.createElement("span",null);let c=[];for(let l in l_){if(!Object.prototype.hasOwnProperty.call(l_,l))continue;let f=l_[l];if(l in this.props){let d=this.props[l];if(d<1){c.push("none"+f);continue}c.push("block"+f),c.push("col-"+d+f)}}t&&c.push("hidden");let u=tl(a.className,...c);return p.createElement("section",jt({},a,{className:u}))}}class nbe extends p.Component{render(){return p.createElement("div",jt({},this.props,{className:tl(this.props.className,"wrapper")}))}}class K9 extends p.Component{render(){return p.createElement("button",jt({},this.props,{className:tl(this.props.className,"button")}))}}G(K9,"defaultProps",{className:""});const sbe=e=>p.createElement("textarea",e),ibe=e=>p.createElement("input",e);class G9 extends p.Component{constructor(r,n){let s;super(r,n);G(this,"onChange",r=>{let n,{onChange:s,multiple:i}=this.props,o=[].slice.call(r.target.options);n=i?o.filter((function(a){return a.selected})).map((function(a){return a.value})):r.target.value,this.setState({value:n}),s&&s(n)});s=r.value?r.value:r.multiple?[""]:"",this.state={value:s}}UNSAFE_componentWillReceiveProps(r){r.value!==this.props.value&&this.setState({value:r.value})}render(){var a,c;let{allowedValues:r,multiple:n,allowEmptyValue:s,disabled:i}=this.props,o=((c=(a=this.state.value)==null?void 0:a.toJS)==null?void 0:c.call(a))||this.state.value;return p.createElement("select",{className:this.props.className,multiple:n,value:o,onChange:this.onChange,disabled:i},s?p.createElement("option",{value:""},"--"):null,r.map((function(u,l){return p.createElement("option",{key:l,value:String(u)},String(u))})))}}G(G9,"defaultProps",{multiple:!1,allowEmptyValue:!0});class Y9 extends p.Component{render(){return p.createElement("a",jt({},this.props,{rel:"noopener noreferrer",className:tl(this.props.className,"link")}))}}const HF=({children:e})=>p.createElement("div",{className:"no-margin"}," ",e," ");class X9 extends p.Component{renderNotAnimated(){return this.props.isOpened?p.createElement(HF,null,this.props.children):p.createElement("noscript",null)}render(){let{animated:t,isOpened:r,children:n}=this.props;return t?(n=r?n:null,p.createElement(HF,null,n)):this.renderNotAnimated()}}G(X9,"defaultProps",{isOpened:!1,animated:!1});class obe extends p.Component{constructor(...t){super(...t),this.setTagShown=this._setTagShown.bind(this)}_setTagShown(t,r){this.props.layoutActions.show(t,r)}showOp(t,r){let{layoutActions:n}=this.props;n.show(t,r)}render(){let{specSelectors:t,layoutSelectors:r,layoutActions:n,getComponent:s}=this.props,i=t.taggedOperations();const o=s("Collapse");return p.createElement("div",null,p.createElement("h4",{className:"overview-title"},"Overview"),i.map(((a,c)=>{let u=a.get("operations"),l=["overview-tags",c],f=r.isShown(l,!0);return p.createElement("div",{key:"overview-"+c},p.createElement("h4",{onClick:()=>n.show(l,!f),className:"link overview-tag"}," ",f?"-":"+",c),p.createElement(o,{isOpened:f,animated:!0},u.map((d=>{let{path:h,method:g,id:v}=d.toObject(),y="operations",E=v,b=r.isShown([y,E]);return p.createElement(abe,{key:v,path:h,method:g,id:h+"-"+g,shown:b,showOpId:E,showOpIdPrefix:y,href:`#operation-${E}`,onClick:n.show})})).toArray()))})).toArray(),i.size<1&&p.createElement("h3",null," No operations defined in spec! "))}}class abe extends p.Component{constructor(t){super(t),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:t,showOpIdPrefix:r,onClick:n,shown:s}=this.props;n([r,t],!s)}render(){let{id:t,method:r,shown:n,href:s}=this.props;return p.createElement(Y9,{href:s,onClick:this.onClick,className:"block opblock-link "+(n?"shown":"")},p.createElement("div",null,p.createElement("small",{className:`bold-label-${r}`},r.toUpperCase()),p.createElement("span",{className:"bold-label"},t)))}}class cbe extends p.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:t,defaultValue:r,initialValue:n,...s}=this.props;return p.createElement("input",jt({},s,{ref:i=>this.inputRef=i}))}}class ube extends p.Component{render(){const{host:t,basePath:r}=this.props;return p.createElement("pre",{className:"base-url"},"[ Base URL: ",t,r," ]")}}class lbe extends p.PureComponent{render(){const{url:t,getComponent:r}=this.props,n=r("Link");return p.createElement(n,{target:"_blank",href:mr(t)},p.createElement("span",{className:"url"}," ",t))}}class fbe extends p.Component{render(){const{info:t,url:r,host:n,basePath:s,getComponent:i,externalDocs:o,selectedServer:a,url:c}=this.props,u=t.get("version"),l=t.get("description"),f=t.get("title"),d=jn(t.get("termsOfService"),c,{selectedServer:a}),h=t.get("contact"),g=t.get("license"),v=jn(o&&o.get("url"),c,{selectedServer:a}),y=o&&o.get("description"),E=i("Markdown",!0),b=i("Link"),S=i("VersionStamp"),_=i("OpenAPIVersion"),x=i("InfoUrl"),A=i("InfoBasePath"),O=i("License"),I=i("Contact");return p.createElement("div",{className:"info"}
283,p.createElement("hgroup",{className:"main"},p.createElement("h1",{className:"title"},f,p.createElement("span",null,u&&p.createElement(S,{version:u}),p.createElement(_,{oasVersion:"2.0"}))),n||s?p.createElement(A,{host:n,basePath:s}):null,r&&p.createElement(x,{getComponent:i,url:r})),p.createElement("div",{className:"description"},p.createElement(E,{source:l})),d&&p.createElement("div",{className:"info__tos"},p.createElement(b,{target:"_blank",href:mr(d)},"Terms of service")),(h==null?void 0:h.size)>0&&p.createElement(I,{getComponent:i,data:h,selectedServer:a,url:r}),(g==null?void 0:g.size)>0&&p.createElement(O,{getComponent:i,license:g,selectedServer:a,url:r}),v?p.createElement(b,{className:"info__extdocs",target:"_blank",href:mr(v)},y||v):null)}}var pbe=fbe;class hbe extends p.Component{render(){const{specSelectors:t,getComponent:r,oas3Selectors:n}=this.props,s=t.info(),i=t.url(),o=t.basePath(),a=t.host(),c=t.externalDocs(),u=n.selectedServer(),l=r("info");return p.createElement("div",null,s&&s.count()?p.createElement(l,{info:s,url:i,host:a,basePath:o,externalDocs:c,getComponent:r,selectedServer:u}):null)}}class dbe extends p.Component{render(){const{data:t,getComponent:r,selectedServer:n,url:s}=this.props,i=t.get("name","the developer"),o=jn(t.get("url"),s,{selectedServer:n}),a=t.get("email"),c=r("Link");return p.createElement("div",{className:"info__contact"},o&&p.createElement("div",null,p.createElement(c,{href:mr(o),target:"_blank"},i," - Website")),a&&p.createElement(c,{href:mr(`mailto:${a}`)},o?`Send email to ${i}`:`Contact ${i}`))}}var mbe=dbe;class gbe extends p.Component{render(){const{license:t,getComponent:r,selectedServer:n,url:s}=this.props,i=t.get("name","License"),o=jn(t.get("url"),s,{selectedServer:n}),a=r("Link");return p.createElement("div",{className:"info__license"},o?p.createElement("div",{className:"info__license__url"},p.createElement(a,{target:"_blank",href:mr(o)},i)):p.createElement("span",null,i))}}var ybe=gbe;class vbe extends p.Component{render(){return null}}class bbe extends p.Component{render(){let{getComponent:t}=this.props;const r=t("CopyIcon");return p.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},p.createElement(Pp.CopyToClipboard,{text:this.props.textToCopy},p.createElement(r,null)))}}class Ebe extends p.Component{render(){return p.createElement("div",{className:"footer"})}}class Sbe extends p.Component{constructor(){super(...arguments);G(this,"onFilterChange",r=>{const{target:{value:n}}=r;this.props.layoutActions.updateFilter(n)})}render(){const{specSelectors:r,layoutSelectors:n,getComponent:s}=this.props,i=s("Col"),o=r.loadingStatus()==="loading",a=r.loadingStatus()==="failed",c=n.currentFilter(),u=["operation-filter-input"];return a&&u.push("failed"),o&&u.push("loading"),p.createElement("div",null,c===!1?null:p.createElement("div",{className:"filter-container"},p.createElement(i,{className:"filter wrapper",mobile:12},p.createElement("input",{className:u.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:typeof c=="string"?c:"",disabled:o}))))}}const f_=Function.prototype,gp=class gp extends we.PureComponent{constructor(r,n){super(r,n);G(this,"updateValues",r=>{let{param:n,isExecute:s,consumesValue:i=""}=r,o=/xml/i.test(i),a=/json/i.test(i),c=o?n.get("value_xml"):n.get("value");if(c!==void 0){let u=!c&&a?"{}":c;this.setState({value:u}),this.onChange(u,{isXml:o,isEditBox:s})}else o?this.onChange(this.sample("xml"),{isXml:o,isEditBox:s}):this.onChange(this.sample(),{isEditBox:s})});G(this,"sample",r=>{let{param:n,fn:s}=this.props,i=s.inferSchema(n.toJS());return s.getSampleSchema(i,r,{includeWriteOnly:!0})});G(this,"onChange",(r,{isEditBox:n,isXml:s})=>{this.setState({value:r,isEditBox:n}),this._onChange(r,s)});G(this,"_onChange",(r,n)=>{(this.props.onChange||f_)(r,n)});G(this,"handleOnChange",r=>{const{consumesValue:n}=this.props,s=/xml/i.test(n),i=r.target.value;this.onChange(i,{isXml:s,isEditBox:this.state.isEditBox})});G(this,"toggleIsEditBox",()=>this.setState((r=>({isEditBox:!r.isEditBox}))));this.state={isEditBox:!1,value:""}}
283componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(r){this.updateValues.call(this,r)}render(){let{onChangeConsumes:r,param:n,isExecute:s,specSelectors:i,pathMethod:o,getComponent:a}=this.props;const c=a("Button"),u=a("TextArea"),l=a("HighlightCode",!0),f=a("contentType");let d=(i?i.parameterWithMetaByIdentity(o,n):n).get("errors",Z.List()),h=i.contentTypeValues(o).get("requestContentType"),g=this.props.consumes&&this.props.consumes.size?this.props.consumes:gp.defaultProp.consumes,{value:v,isEditBox:y}=this.state,E=null;Uh(v)&&(E="json");const b=`${_O(`${o[1]}${o[0]}_parameters`)}_select`;return p.createElement("div",{className:"body-param","data-param-name":n.get("name"),"data-param-in":n.get("in")},y&&s?p.createElement(u,{className:"body-param__text"+(d.count()?" invalid":""),value:v,onChange:this.handleOnChange}):v&&p.createElement(l,{className:"body-param__example",language:E},v),p.createElement("div",{className:"body-param-options"},s?p.createElement("div",{className:"body-param-edit"},p.createElement(c,{className:y?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},y?"Cancel":"Edit")):null,p.createElement("label",{htmlFor:b},p.createElement("span",null,"Parameter content type"),p.createElement(f,{value:h,contentTypes:g,onChange:r,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:b}))))}};G(gp,"defaultProp",{consumes:Z.fromJS(["application/json"]),param:Z.fromJS({}),onChange:f_,onChangeConsumes:f_});let wx=gp;class _be extends p.Component{render(){const{request:t,getComponent:r}=this.props,n=BU(t),s=r("SyntaxHighlighter",!0);return p.createElement("div",{className:"curl-command"},p.createElement("h4",null,"Curl"),p.createElement("div",{className:"copy-to-clipboard"},p.createElement(Pp.CopyToClipboard,{text:n},p.createElement("button",null))),p.createElement("div",null,p.createElement(s,{language:"bash",className:"curl microlight",renderPlainText:({children:i,PlainTextViewer:o})=>p.createElement(o,{className:"curl"},i)},n)))}}var wbe=({propKey:e,propVal:t,propClass:r})=>p.createElement("span",{className:r},p.createElement("br",null),e,": ",Mr(t));class Z9 extends p.Component{render(){const{onTryoutClick:t,onCancelClick:r,onResetClick:n,enabled:s,hasUserEditedBody:i,isOAS3:o}=this.props,a=o&&i;return p.createElement("div",{className:a?"try-out btn-group":"try-out"},s?p.createElement("button",{className:"btn try-out__btn cancel",onClick:r},"Cancel"):p.createElement("button",{className:"btn try-out__btn",onClick:t},"Try it out "),a&&p.createElement("button",{className:"btn try-out__btn reset",onClick:n},"Reset"))}}G(Z9,"defaultProps",{onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1});class Q9 extends p.PureComponent{render(){const{bypass:t,isSwagger2:r,isOAS3:n,alsoShow:s}=this.props;return t?p.createElement("div",null,this.props.children):r&&n?p.createElement("div",{className:"version-pragma"},s,p.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,p.createElement("code",null,"swagger")," and ",p.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),p.createElement("p",null,"Supported version fields are ",p.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",p.createElement("code",null,"openapi: 3.0.n")," (for example, ",p.createElement("code",null,"openapi: 3.0.4"),").")))):r||n?p.createElement("div",null,this.props.children):p.createElement("div",{className:"version-pragma"},s,p.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,"The provided definition does not specify a valid version field."),p.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",p.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",p.createElement("code",null,"openapi: 3.0.n")," (for example, ",p.createElement("code",null,"openapi: 3.0.4"),").")))
283)}}G(Q9,"defaultProps",{alsoShow:null,children:null,bypass:!1});var xbe=({version:e})=>p.createElement("small",null,p.createElement("pre",{className:"version"}," ",e," ")),Abe=({oasVersion:e})=>p.createElement("small",{className:"version-stamp"},p.createElement("pre",{className:"version"},"OAS ",e)),Obe=({enabled:e,path:t,text:r})=>p.createElement("a",{className:"nostyle",onClick:e?n=>n.preventDefault():null,href:e?`#/${t}`:null},p.createElement("span",null,r)),Cbe=()=>p.createElement("div",null,p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},p.createElement("defs",null,p.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V6h2v-.801C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},p.createElement("path",{d:"M15.8 8H14V5.6C14 2.703 12.665 1 10 1 7.334 1 6 2.703 6 5.6V8H4c-.553 0-1 .646-1 1.199V17c0 .549.428 1.139.951 1.307l1.197.387C5.672 18.861 6.55 19 7.1 19h5.8c.549 0 1.428-.139 1.951-.307l1.196-.387c.524-.167.953-.757.953-1.306V9.199C17 8.646 16.352 8 15.8 8zM12 8H8V5.199C8 3.754 8.797 3 10 3c1.203 0 2 .754 2 2.199V8z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},p.createElement("path",{d:"M14.348 14.849c-.469.469-1.229.469-1.697 0L10 11.819l-2.651 3.029c-.469.469-1.229.469-1.697 0-.469-.469-.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-.469-.469-.469-1.228 0-1.697.469-.469 1.228-.469 1.697 0L10 8.183l2.651-3.031c.469-.469 1.228-.469 1.697 0 .469.469.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c.469.469.469 1.229 0 1.698z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},p.createElement("path",{d:"M13.25 10L6.109 2.58c-.268-.27-.268-.707 0-.979.268-.27.701-.27.969 0l7.83 7.908c.268.271.268.709 0 .979l-7.83 7.908c-.268.271-.701.27-.969 0-.268-.269-.268-.707 0-.979L13.25 10z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},p.createElement("path",{d:"M17.418 6.109c.272-.268.709-.268.979 0s.271.701 0 .969l-7.908 7.83c-.27.268-.707.268-.979 0l-7.908-7.83c-.27-.268-.27-.701 0-.969.271-.268.709-.268.979 0L10 13.25l7.418-7.141z"})),p.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},p.createElement("path",{d:"M 17.418 14.908 C 17.69 15.176 18.127 15.176 18.397 14.908 C 18.667 14.64 18.668 14.207 18.397 13.939 L 10.489 6.109 C 10.219 5.841 9.782 5.841 9.51 6.109 L 1.602 13.939 C 1.332 14.207 1.332 14.64 1.602 14.908 C 1.873 15.176 2.311 15.176 2.581 14.908 L 10 7.767 L 17.418 14.908 Z"})),p.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},p.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),p.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},p.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),p.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},p.createElement("g",{transform:"translate(2, -1)"},p.createElement("path",{fill:"#ffffff",fillRule:"evenodd",d:"M2 13h4v1H2v-1zm5-6H2v1h5V7zm2 3V8l-3 3 3 3v-2h5v-2H9zM4.5 9H2v1h2.5V9zM2 12h2.5v-1H2v1zm9 1h1v2c-.02.28-.11.52-.3.7-.19.18-.42.28-.7.3H1c-.55 0-1-.45-1-1V4c0-.55.45-1 1-1h3c0-1.11.89-2 2-2 1.11 0 2 .89 2 2h3c.55 0 1 .45 1 1v5h-1V6H1v9h10v-2zM2 5h8c0-.55-.45-1-1-1H8c-.55 0-1-.45-1-1s-.45-1-1-1-1 .45-1 1-.45 1-1 1H3c-.55 0-1 .45-1 1z"}))))));Uw.addHook&&Uw.addHook("beforeSanitizeElements",(function(e){return e.href&&e.setAttribute("rel","noopener noreferrer"),e}));var Rbe=function({source:t,className:r="",getConfigs:n=()=>({useUnsafeMarkdown:!1})}){if(typeof t!="string")return null;const s=new pi({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(Wde);s.core.ruler.disable(["replacements","smartquotes"]);const{useUnsafeMarkdown:i}=n(),o=s.render(t),a=Pc(o,{useUnsafeMarkdown:i});return t&&o&&a?p.createElement("div",{className:Nt(r,"markdown"),dangerouslySetInnerHTML:{__html:a}}):null};function Pc(e,{useUnsafeMarkdown:t=!1}={}){const r=t,n=t?[]:["style","class"];return t&&!Pc.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),Pc.hasWarnedAboutDeprecation=!0),Uw.sanitize(e,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}Pc.hasWarnedAboutDeprecation=!1;class Tbe extends p.Component{render(){const{errSelectors:t,specSelectors:r,getComponent:n}=this.props,s=n("SvgAssets"),i=n("InfoContainer",!0),o=n("VersionPragmaFilter"),a=n("operations",!0),c=n("Models",!0),u=n("Webhooks",!0),l=n("Row"),f=n("Col"),d=n("errors",!0),h=n("ServersContainer",!0),g=n("SchemesContainer",!0),v=n("AuthorizeBtnContainer",!0),y=n("FilterContainer",!0),E=r.isSwagger2(),b=r.isOAS3(),S=r.isOAS31(),_=r.isOAS32(),x=!r.specStr(),A=r.loadingStatus();let O=null;if(A==="loading"&&(O=p.createElement("div",{className:"info"}
283,p.createElement("div",{className:"loading-container"},p.createElement("div",{className:"loading"})))),A==="failed"&&(O=p.createElement("div",{className:"info"},p.createElement("div",{className:"loading-container"},p.createElement("h4",{className:"title"},"Failed to load API definition."),p.createElement(d,null)))),A==="failedConfig"){const N=t.lastError(),U=N?N.get("message"):"";O=p.createElement("div",{className:"info failed-config"},p.createElement("div",{className:"loading-container"},p.createElement("h4",{className:"title"},"Failed to load remote configuration."),p.createElement("p",null,U)))}if(!O&&x&&(O=p.createElement("h4",null,"No API definition provided.")),O)return p.createElement("div",{className:"swagger-ui"},p.createElement("div",{className:"loading-container"},O));const I=r.servers(),R=r.schemes(),$=I&&I.size,M=R&&R.size,q=!!r.securityDefinitions();return p.createElement("div",{className:"swagger-ui"},p.createElement(s,null),p.createElement(o,{isSwagger2:E,isOAS3:b,isOAS31:S,isOAS32:_,alsoShow:p.createElement(d,null)},p.createElement(d,null),p.createElement(l,{className:"information-container"},p.createElement(f,{mobile:12},p.createElement(i,null))),$||M||q?p.createElement("div",{className:"scheme-container"},p.createElement(f,{className:"schemes wrapper",mobile:12},$||M?p.createElement("div",{className:"schemes-server-container"},$?p.createElement(h,null):null,M?p.createElement(g,null):null):null,q?p.createElement(v,null):null)):null,p.createElement(y,null),p.createElement(l,null,p.createElement(f,{mobile:12,desktop:12},p.createElement(a,null))),S&&p.createElement(l,{className:"webhooks-container"},p.createElement(f,{mobile:12,desktop:12},p.createElement(u,null))),p.createElement(l,null,p.createElement(f,{mobile:12,desktop:12},p.createElement(c,null)))))}}var Ibe=()=>({components:{App:S0e,authorizationPopup:_0e,authorizeBtn:w0e,AuthorizeBtnContainer:x0e,authorizeOperationBtn:A0e,auths:O0e,AuthItem:C0e,authError:R0e,oauth2:k0e,apiKeyAuth:T0e,basicAuth:I0e,clear:N0e,liveResponse:$0e,InitializedInput:cbe,info:pbe,InfoContainer:hbe,InfoUrl:lbe,InfoBasePath:ube,Contact:mbe,License:ybe,JumpToPath:vbe,CopyToClipboardBtn:bbe,onlineValidatorBadge:F9,operations:q0e,operation:B9,OperationSummary:U9,OperationSummaryMethod:V9,OperationSummaryPath:B0e,responses:_x,response:V0e,ResponseExtension:z0e,responseBody:W0e,parameters:z9,parameterRow:K0e,execute:G0e,headers:Y0e,errors:X0e,contentType:H9,overview:obe,footer:Ebe,FilterContainer:Sbe,ParamBody:wx,curl:_be,Property:wbe,TryItOutButton:Z9,Markdown:Rbe,BaseLayout:Tbe,VersionPragmaFilter:Q9,VersionStamp:xbe,OperationExt:L0e,OperationExtRow:U0e,ParameterExt:J0e,ParameterIncludeEmpty:W9,OperationTag:q9,OperationContainer:L9,OpenAPIVersion:Abe,DeepLink:Obe,SvgAssets:Cbe,Example:P0e,ExamplesSelect:D9,ExamplesSelectValueRetainer:$9}}),Pbe=()=>({components:{...ix}}),e5=()=>[IU,C9,FU,R9,T9,A9,kU,MU,$U,XU,n9,Ibe,Pbe,O9,TU,I9,PU,NU,qU,UU,P9,j9,M9()];const jbe=Z.Map();function rl(e){return(t,r)=>(...n)=>{if(r.getSystem().specSelectors.isOAS3()){const s=e(...n);return typeof s=="function"?s(r):s}return t(...n)}}const nl=rl(nu(null)),kbe=rl(((e,t)=>r=>r.getSystem().specSelectors.findSchema(t))),Nbe=rl((()=>e=>{const t=e.getSystem().specSelectors.specJson().getIn(["components","schemas"]);return Z.Map.isMap(t)?t:jbe})),Mbe=rl((()=>e=>e.getSystem().specSelectors.specJson().hasIn(["servers",0]))),Dbe=rl(ct(gs,(e=>e.getIn(["components","securitySchemes"])||null))),$be=(e,t)=>(r,...n)=>t.specSelectors.isOAS3()?t.oas3Selectors.validOperationMethods():e(...n),Fbe=nl,qbe=nl,Bbe=nl,Lbe=nl,Ube=nl,Vbe=(function(t){return(r,n)=>(...s)=>{if(n.getSystem().specSelectors.isOAS3()){let i=n.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return t(n,i,...s)}return r(...s)}})(ct((e=>e),(({specSelectors:e})=>e.securityDefinitions()),((e,t)=>{let r=Z.List();return t&&t.entrySeq().forEach((([n,s])=>{const i=s==null?void 0:s.get("type");if(i==="oauth2"&&s.get("flows").entrySeq().forEach((([o,a])=>{let c=Z.fromJS({flow:o,authorizationUrl:a.get("authorizationUrl"),tokenUrl:a.get("tokenUrl"),scopes:a.get("scopes"),t
283ype:s.get("type"),description:s.get("description")});r=r.push(new Z.Map({[n]:c.filter((u=>u!==void 0))}))})),i!=="http"&&i!=="apiKey"||(r=r.push(new Z.Map({[n]:s}))),i==="openIdConnect"&&s.get("openIdConnectData")){let o=s.get("openIdConnectData");(o.get("grant_types_supported")||["authorization_code","implicit"]).forEach((a=>{let c=o.get("scopes_supported")&&o.get("scopes_supported").reduce(((l,f)=>l.set(f,"")),new Z.Map),u=Z.fromJS({flow:a,authorizationUrl:o.get("authorization_endpoint"),tokenUrl:o.get("token_endpoint"),scopes:c,type:"oauth2",openIdConnectUrl:s.get("openIdConnectUrl")});r=r.push(new Z.Map({[n]:u.filter((l=>l!==void 0))}))}))}})),r})));function sl(e){return(t,r)=>n=>{var s;return typeof((s=r.specSelectors)==null?void 0:s.isOAS3)=="function"?r.specSelectors.isOAS3()?p.createElement(e,jt({},n,r,{Ori:t})):p.createElement(t,n):(console.warn("OAS3 wrapper: couldn't get spec"),null)}}const zbe=Z.Map(),Wbe=()=>e=>(function(r){const n=r.get("swagger");return typeof n=="string"&&n==="2.0"})(e.getSystem().specSelectors.specJson()),Jbe=()=>e=>(function(r){const n=r.get("openapi");return typeof n=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(n)})(e.getSystem().specSelectors.specJson()),Hbe=()=>e=>e.getSystem().specSelectors.isOAS30();function t5(e){return(t,...r)=>n=>{if(n.specSelectors.isOAS3()){const s=e(t,...r);return typeof s=="function"?s(n):s}return null}}const Kbe=t5((()=>e=>e.specSelectors.specJson().get("servers",zbe))),Gbe=(e,t)=>{const r=e.getIn(["resolvedSubtrees","components","schemas",t],null),n=e.getIn(["json","components","schemas",t],null);return r||n||null},Ybe=t5(((e,{callbacks:t,specPath:r})=>n=>{const s=n.specSelectors.validOperationMethods();return Z.Map.isMap(t)?t.reduce(((i,o,a)=>{if(!Z.Map.isMap(o))return i;const c=o.reduce(((u,l,f)=>{if(!Z.Map.isMap(l))return u;const d=l.entrySeq().filter((([h])=>s.includes(h))).map((([h,g])=>({operation:Z.Map({operation:g}),method:h,path:f,callbackName:a,specPath:r.concat([a,f,h])})));return u.concat(d)}),Z.List());return i.concat(c)}),Z.List()).groupBy((i=>i.callbackName)).map((i=>i.toArray())).toObject():{}}));var Xbe=({callbacks:e,specPath:t,specSelectors:r,getComponent:n})=>{const s=r.callbacksOperations({callbacks:e,specPath:t}),i=Object.keys(s),o=n("OperationContainer",!0);return i.length===0?p.createElement("span",null,"No callbacks"):p.createElement("div",null,i.map((a=>p.createElement("div",{key:`${a}`},p.createElement("h2",null,a),s[a].map((c=>p.createElement(o,{key:`${a}-${c.path}-${c.method}`,op:c.operation,tag:"callbacks",method:c.method,path:c.path,specPath:c.specPath,allowTryItOut:!1})))))))};const If=(e,t,r,n)=>{const s=e.getIn(["content",t])??Z.OrderedMap(),i=s.get("schema",Z.OrderedMap()),o=s.get("examples")!==void 0,a=s.get("example"),c=o?s.getIn(["examples",r,"value"]):a;return Mr(n.getSampleSchema(i,t,{includeWriteOnly:!0},c))};var Zbe=({userHasEditedBody:e,requestBody:t,requestBodyValue:r,requestBodyInclusionSetting:n,requestBodyErrors:s,getComponent:i,getConfigs:o,specSelectors:a,fn:c,contentType:u,isExecute:l,specPath:f,onChange:d,onChangeIncludeEmpty:h,activeExamplesKey:g,updateActiveExamplesKey:v,setRetainRequestBodyValueFlag:y})=>{const E=Y=>{d(Y.target.files[0])},b=Y=>{let ie={key:Y,shouldDispatchInit:!1,defaultValue:!0};return n.get(Y,"no value")==="no value"&&(ie.shouldDispatchInit=!0),ie},S=i("Markdown",!0),_=i("modelExample"),x=i("RequestBodyEditor"),A=i("HighlightCode",!0),O=i("ExamplesSelectValueRetainer"),I=i("Example"),R=i("ParameterIncludeEmpty"),{showCommonExtensions:$}=o(),M=(t==null?void 0:t.get("description"))??null,q=(t==null?void 0:t.get("content"))??new Z.OrderedMap;u=u||q.keySeq().first()||"";const N=q.get(u)??Z.OrderedMap(),U=N.get("schema",Z.OrderedMap()),X=N.get("examples",null),J=X==null?void 0:X.map(((Y,ie)=>{const ce=Y==null?void 0:Y.get("value",null);return ce&&(Y=Y.set("value",If(t,u,ie,c),ce)),Y}));if(s=Z.List.isList(s)?s:Z.List(),c.isFileUploadIntended(N==null?void 0:N.get("schema"),u)){const Y=i("Input");return l?p.createElement(Y,{type:"file",onChange:E}):p.createElement("i",null,"Example values are not available for ",p.createElement("code",null,u)," media types.")}if(!N.size)return null;if(c.hasSchemaType(N.get("schema"),"object")&&(u==="application/x-www-form-urlencoded"||u.indexOf("multipart/")===0)&&U.get("properties",Z.OrderedMap()).size>0){const Y=i("JsonSchemaForm"),ie=i("ParameterExt"),ce=U.get("properties",Z.OrderedMap());return r=Z.Map.isMap(r)?r:Z.OrderedMap(),p.createElement("div",{className:"table-container"},M&&p.createElement(S,{source:M}),p.createElement("table",null,p.createElement("tbody",null,Z.Map.isMap(ce)&&ce.entrySeq().map((([ge,de])=>{var j,z,Q,oe;if(de.get("readOnly"))return;const ae=(z=(j=de.get("oneOf"))==null?void 0:j.get(0))==null?void 0:z.toJS(),W=(oe=(Q=de.get("anyOf"))==null?void 0:Q.get(0))==null?void 0:oe.toJS();de=Z.fromJS(c.mergeJsonSchema(de.toJS(),ae??W??{}));let V=$?xU(de):null;const fe=U.get("required",Z.List()).includes(ge),ye=c.getSchemaObjectType(de),De=c.get
283SchemaObjectTypeLabel(de),Fe=c.getSchemaObjectType(de==null?void 0:de.get("items")),Re=de.get("format"),ke=de.get("description"),Je=r.getIn([ge,"value"]),be=r.getIn([ge,"errors"])||s,Ee=n.get(ge)||!1;let xe=c.getSampleSchema(de,!1,{includeWriteOnly:!0});xe===!1&&(xe="false"),xe===0&&(xe="0"),typeof xe!="string"&&ye==="object"&&(xe=Mr(xe)),typeof xe=="string"&&ye==="array"&&(xe=JSON.parse(xe));const L=c.isFileUploadIntended(de),T=p.createElement(Y,{fn:c,dispatchInitialValue:!L,schema:de,description:ge,getComponent:i,value:Je===void 0?xe:Je,required:fe,errors:be,onChange:he=>{d(he,[ge])}});return p.createElement("tr",{key:ge,className:"parameters","data-property-name":ge},p.createElement("td",{className:"parameters-col_name"},p.createElement("div",{className:fe?"parameter__name required":"parameter__name"},ge,fe?p.createElement("span",null,"Â *"):null),p.createElement("div",{className:"parameter__type"},De,Re&&p.createElement("span",{className:"prop-format"},"($",Re,")"),$&&V.size?V.entrySeq().map((([he,$e])=>p.createElement(ie,{key:`${he}-${$e}`,xKey:he,xVal:$e}))):null),p.createElement("div",{className:"parameter__deprecated"},de.get("deprecated")?"deprecated":null)),p.createElement("td",{className:"parameters-col_description"},p.createElement(S,{source:ke}),l?p.createElement("div",null,ye==="object"||Fe==="object"?p.createElement(_,{getComponent:i,specPath:f.push("schema"),getConfigs:o,isExecute:l,specSelectors:a,schema:de,example:T}):T,fe?null:p.createElement(R,{onChange:he=>h(ge,he),isIncluded:Ee,isIncludedOptions:b(ge),isDisabled:Array.isArray(Je)?Je.length!==0:!V2(Je)})):null))})))))}const ee=If(t,u,g,c);let ne=null;Uh(ee)&&(ne="json");const re=l?p.createElement(x,{value:r,errors:s,defaultValue:ee,onChange:d,getComponent:i}):p.createElement(A,{className:"body-param__example",language:ne},Mr(r)||ee);return p.createElement("div",null,M&&p.createElement(S,{source:M}),J?p.createElement(O,{userHasEditedBody:e,examples:J,currentKey:g,currentUserInputValue:r,onSelect:Y=>{v(Y)},updateValue:d,defaultToFirstExample:!0,getComponent:i,setRetainRequestBodyValueFlag:y}):null,p.createElement(_,{getComponent:i,getConfigs:o,specSelectors:a,expandDepth:1,isExecute:l,schema:N.get("schema"),specPath:f.push("content",u,"schema"),example:re,includeWriteOnly:!0}),J?p.createElement(I,{example:J.get(g),getComponent:i,getConfigs:o}):null)},Qbe=class extends we.Component{render(){const{link:t,name:r,getComponent:n}=this.props,s=n("Markdown",!0);let i=t.get("operationId")||t.get("operationRef"),o=t.get("parameters")&&t.get("parameters").toJS(),a=t.get("description");return p.createElement("div",{className:"operation-link"},p.createElement("div",{className:"description"},p.createElement("b",null,p.createElement("code",null,r)),a?p.createElement(s,{source:a}):null),p.createElement("pre",null,"Operation `",i,"`",p.createElement("br",null),p.createElement("br",null),"Parameters ",(function(u,l){return typeof l!="string"?"":l.split(` 284`).map(((f,d)=>d>0?Array(u+1).join(" ")+f:f)).join(` 285`)})(0,JSON.stringify(o,null,2))||"{}",p.createElement("br",null)))}},eEe=({servers:e,currentServer:t,setSelectedServer:r,setServerVariableValue:n,getServerVariable:s,getEffectiveServerValue:i})=>{const o=(e.find((l=>l.get("url")===t))||Z.OrderedMap()).get("variables")||Z.OrderedMap(),a=o.size!==0;we.useEffect((()=>{var l;t||r((l=e.first())==null?void 0:l.get("url"))}),[]),we.useEffect((()=>{const l=e.find((f=>f.get("url")===t));if(!l)return void r(e.first().get("url"));(l.get("variables")||Z.OrderedMap()).map(((f,d)=>{n({server:t,key:d,val:f.get("default")||""})}))}),[t,e]);const c=we.useCallback((l=>{r(l.target.value)}),[r]),u=we.useCallback((l=>{const f=l.target.getAttribute("data-variable"),d=l.target.value;n({server:t,key:f,val:d})}),[n,t]);return p.createElement("div",{className:"servers"},p.createElement("label",{htmlFor:"servers"},p.createElement("select",{onChange:c,value:t,id:"servers"},e.valueSeq().map((l=>p.createElement("option",{value:l.get("url"),key:l.get("url")},l.get("url"),l.get("description")&&` - ${l.get("description")}`))).toArray())),a&&p.createElement("div",null,p.createElement("div",{className:"computed-url"},"Computed URL:",p.createElement("code",null,i(t))),p.createElement("h4",null,"Server variables"),p.createElement("table",null,p.createElement("tbody",null,o.entrySeq().map((([l,f])=>p.createElement("tr",{key:l},p.createElement("td",null,l),p.createElement("td",null,f.get("enum")?p.createElement("select",{"data-variable":l,onChange:u},f.get("enum").map((d=>p.createElement("option",{selected:d===s(t,l),key:d,value:d},d)))):p.createElement("input",{type:"text",value:s(t,l)||"",onChange:u,"data-variable":l})))))))))};class tEe extends p.Component{render(){const{specSelectors:t,oas3Selectors:r,oas3Actions:n,getComponent:s}=this.props,i=t.servers(),o=s("Servers");return i&&i.size?p.createElement("div",null,p.createElement("span",{className:"servers-title"},"Servers"),p.createElement(o,{servers:i,currentServer:r.selectedServer(),setSelectedServer:n.setSelectedServer,setServerVariableValue:n.setServerVariableValue,getServerVariable:r.serverVariableValue,getEffectiveServerValue:r.serverEffectiveValue})):null}}const rEe=Function.prototype;class nEe extends p.Component{constructor(r,n){super(r,n);G(this,"onChange",r=>{let{onChange:n}=this.props,{value:s,name:i}=r.target,o=Object.assign({},this.state.value);i?o[i]=s:o=s,this.setState({value:o},(()=>n(this.state)))});let{name:s,schema:i}=this.props,o=this.getValue();this.state={name:s,schema:i,value:o}}getValue(){let{name:r,authorized:n}=this.props;return n&&n.getIn([r,"value"])}render(){let{schema:r,getComponent:n,errSelectors:s,name:i,authSelectors:o}=this.props;const a=n("Input"),c=n("Row"),u=n("Col"),l=n("authError"),f=n("Markdown",!0),d=n("JumpToPath",!0),h=(r.get("scheme")||"").toLowerCase(),g=o.selectAuthPath(i);let v=this.getValue(),y=s.allErrors().filter((E=>E.get("authId")===i));if(h==="basic"){let E=v?v.get("username"):null;return p.createElement("div",null,p.createElement("h4",null,p.createElement("code",null,i),"Â (http, Basic)",p.createElement(d,{path:g})),E&&p.createElement("h6",null,"Authorized"),p.createElement(c,null,p.createElement(f,{source:r.get("description")})),p.createElement(c,null,p.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),E?p.createElement("code",null," ",E," "):p.createElement(u,null,p.createElement(a,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),p.createElement(c,null,p.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),E?p.createElement("code",null," ****** "):p.createElement(u,null,p.createElement(a,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}
285))),y.valueSeq().map(((b,S)=>p.createElement(l,{error:b,key:S}))))}return h==="bearer"?p.createElement("div",null,p.createElement("h4",null,p.createElement("code",null,i),"Â (http, Bearer)",p.createElement(d,{path:g})),v&&p.createElement("h6",null,"Authorized"),p.createElement(c,null,p.createElement(f,{source:r.get("description")})),p.createElement(c,null,p.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),v?p.createElement("code",null," ****** "):p.createElement(u,null,p.createElement(a,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),y.valueSeq().map(((E,b)=>p.createElement(l,{error:E,key:b})))):p.createElement("div",null,p.createElement("em",null,p.createElement("b",null,i)," HTTP authentication: unsupported scheme ",`'${h}'`))}}class sEe extends p.Component{constructor(){super(...arguments);G(this,"setSelectedServer",r=>{const{path:n,method:s}=this.props;return this.forceUpdate(),this.props.setSelectedServer(r,`${n}:${s}`)});G(this,"setServerVariableValue",r=>{const{path:n,method:s}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...r,namespace:`${n}:${s}`})});G(this,"getSelectedServer",()=>{const{path:r,method:n}=this.props;return this.props.getSelectedServer(`${r}:${n}`)});G(this,"getServerVariable",(r,n)=>{const{path:s,method:i}=this.props;return this.props.getServerVariable({namespace:`${s}:${i}`,server:r},n)});G(this,"getEffectiveServerValue",r=>{const{path:n,method:s}=this.props;return this.props.getEffectiveServerValue({server:r,namespace:`${n}:${s}`})})}render(){const{operationServers:r,pathServers:n,getComponent:s}=this.props;if(!r&&!n)return null;const i=s("Servers"),o=r||n,a=r?"operation":"path";return p.createElement("div",{className:"opblock-section operation-servers"},p.createElement("div",{className:"opblock-section-header"},p.createElement("div",{className:"tab-header"},p.createElement("h4",{className:"opblock-title"},"Servers"))),p.createElement("div",{className:"opblock-description-wrapper"},p.createElement("h4",{className:"message"},"These ",a,"-level options override the global server options."),p.createElement(i,{servers:o,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}var S_,iEe={Callbacks:Xbe,HttpAuth:nEe,RequestBody:Zbe,Servers:eEe,ServersContainer:tEe,RequestBodyEditor:(S_=class extends we.PureComponent{constructor(r,n){super(r,n);G(this,"applyDefaultValue",r=>{const{onChange:n,defaultValue:s}=r||this.props;return this.setState({value:s}),n(s)});G(this,"onChange",r=>{this.props.onChange(Mr(r))});G(this,"onDomChange",r=>{const n=r.target.value;this.setState({value:n},(()=>this.onChange(n)))});this.state={value:Mr(r.value)||r.defaultValue},r.onChange(r.value)}UNSAFE_componentWillReceiveProps(r){this.props.value!==r.value&&r.value!==this.state.value&&this.setState({value:Mr(r.value)}),!r.value&&r.defaultValue&&this.state.value&&this.applyDefaultValue(r)}render(){let{getComponent:r,errors:n}=this.props,{value:s}=this.state,i=n.size>0;const o=r("TextArea");return p.createElement("div",{className:"body-param"},p.createElement(o,{className:Nt("body-param__text",{invalid:i}),title:n.size?n.join(", "):"",value:s,onChange:this.onDomChange}))}},G(S_,"defaultProps",{onChange:rEe,userHasEditedBody:!1}),S_),OperationServers:sEe,operationLink:Qbe};const xx=new pi("commonmark");xx.block.ruler.enable(["table"]),xx.set({linkTarget:"_blank"});var oEe=sl((({source:e,className:t="",getConfigs:r=()=>({useUnsafeMarkdown:!1})})=>{if(typeof e!="string")return null;if(e){const{useUnsafeMarkdown:n}=r(),s=Pc(xx.render(e),{useUnsafeMarkdown:n});let i;return typeof s=="string"&&(i=s.trim()),p.createElement("div",{dangerouslySetInnerHTML:{__html:i},className:Nt(t,"renderedMarkdown")})}return null})),aEe=sl((({Ori:e,...t})=>{const{schema:r,getComponent:n,errSelectors:s,authorized:i,onAuthChange:o,name:a,authSelectors:c}=t,u=n("HttpAuth");return r.get("type")==="http"?p.createElement(u,{key:a,schema:r,name:a,errSelectors:s,authorized:i,getComponent:n,onChange:o,authSelectors:c}):p.createElement(e,t)})),cEe=sl(F9),uEe=sl(class extends we.Component{render(){let{getConfigs:t,schema:r,Ori:n}=this.props,s=["model-box"],i=null;return r.get("deprecated")===!0&&(s.push("deprecated"),i=p.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),p.createElement("div",{className:s.join(" ")},i,p.createElement(n,jt({},this.props,{getConfigs:t,depth:1,expandDepth:this.props.expandDepth||
2850})))}}),lEe=sl((({Ori:e,...t})=>{const{schema:r,getComponent:n,errors:s,onChange:i,fn:o}=t,a=o.isFileUploadIntended(r),c=n("Input");return a?p.createElement(c,{type:"file",className:s.length?"invalid":"",title:s.length?s:"",onChange:u=>{i(u.target.files[0])},disabled:e.isDisabled}):p.createElement(e,t)})),fEe={Markdown:oEe,AuthItem:aEe,OpenAPIVersion:(function(t){return(r,n)=>s=>{var i;return typeof((i=n.specSelectors)==null?void 0:i.isOAS30)=="function"?n.specSelectors.isOAS30()?p.createElement(t,jt({},s,n,{Ori:r})):p.createElement(r,s):(console.warn("OAS30 wrapper: couldn't get spec"),null)}})((e=>{const{Ori:t}=e;return p.createElement(t,{oasVersion:"3.0"})})),JsonSchema_string:lEe,model:uEe,onlineValidatorBadge:cEe};const wO="oas3_set_servers",xO="oas3_set_request_body_value",AO="oas3_set_request_body_retain_flag",OO="oas3_set_request_body_inclusion",CO="oas3_set_active_examples_member",RO="oas3_set_request_content_type",TO="oas3_set_response_content_type",IO="oas3_set_server_variable_value",PO="oas3_set_request_body_validate_error",Vh="oas3_clear_request_body_validate_error",jO="oas3_clear_request_body_value";function pEe(e,t){return{type:wO,payload:{selectedServerUrl:e,namespace:t}}}function hEe({value:e,pathMethod:t}){return{type:xO,payload:{value:e,pathMethod:t}}}const dEe=({value:e,pathMethod:t})=>({type:AO,payload:{value:e,pathMethod:t}});function mEe({value:e,pathMethod:t,name:r}){return{type:OO,payload:{value:e,pathMethod:t,name:r}}}function gEe({name:e,pathMethod:t,contextType:r,contextName:n}){return{type:CO,payload:{name:e,pathMethod:t,contextType:r,contextName:n}}}function yEe({value:e,pathMethod:t}){return{type:RO,payload:{value:e,pathMethod:t}}}function vEe({value:e,path:t,method:r}){return{type:TO,payload:{value:e,path:t,method:r}}}function bEe({server:e,namespace:t,key:r,val:n}){return{type:IO,payload:{server:e,namespace:t,key:r,val:n}}}const EEe=({path:e,method:t,validationErrors:r})=>({type:PO,payload:{path:e,method:t,validationErrors:r}}),SEe=({path:e,method:t})=>({type:Vh,payload:{path:e,method:t}}),_Ee=({pathMethod:e})=>({type:Vh,payload:{path:e[0],method:e[1]}}),wEe=({pathMethod:e})=>({type:jO,payload:{pathMethod:e}}),es=e=>(t,...r)=>n=>{if(n.getSystem().specSelectors.isOAS3()){const s=e(t,...r);return typeof s=="function"?s(n):s}return null},xEe=es(((e,t)=>{const r=t?[t,"selectedServer"]:["selectedServer"];return e.getIn(r)||""})),AEe=es(((e,t,r)=>e.getIn(["requestData",t,r,"bodyValue"])||null)),OEe=es(((e,t,r)=>e.getIn(["requestData",t,r,"retainBodyValue"])||!1)),CEe=(e,t,r)=>n=>{const{oas3Selectors:s,specSelectors:i,fn:o}=n.getSystem();if(i.isOAS3()){const a=s.requestContentType(t,r);if(a)return If(i.specResolvedSubtree(["paths",t,r,"requestBody"]),a,s.activeExamplesMember(t,r,"requestBody","requestBody"),o)}return null},REe=es(((e,t,r)=>n=>{const{oas3Selectors:s,specSelectors:i,fn:o}=n;let a=!1;const c=s.requestContentType(t,r);let u=s.requestBodyValue(t,r);const l=i.specResolvedSubtree(["paths",t,r,"requestBody"]);if(!l)return!1;if(Z.Map.isMap(u)&&(u=Mr(u.mapEntries((f=>Z.Map.isMap(f[1])?[f[0],f[1].get("value")]:f)).toJS())),Z.List.isList(u)&&(u=Mr(u)),c){const f=If(l,c,s.activeExamplesMember(t,r,"requestBody","requestBody"),o);a=!!u&&u!==f}return a})),TEe=es(((e,t,r)=>e.getIn(["requestData",t,r,"bodyInclusion"])||Z.Map())),IEe=es(((e,t,r)=>e.getIn(["requestData",t,r,"errors"])||null)),PEe=es(((e,t,r,n,s)=>e.getIn(["examples",t,r,n,s,"activeExample"])||null)),jEe=es(((e,t,r)=>e.getIn(["requestData",t,r,"requestContentType"])||null)),kEe=es(((e,t,r)=>e.getIn(["requestData",t,r,"responseContentType"])||null)),NEe=es(((e,t,r)=>{let n;if(typeof t!="string"){const{server:s,namespace:i}=t;n=i?[i,"serverVariableValues",s,r]:["serverVariableValues",s,r]}else n=["serverVariableValues",t,r];return e.getIn(n)||null})),MEe=es(((e,t)=>{let r;if(typeof t!="string"){const{server:n,namespace:s}=t;r=s?[s,"serverVariableValues",n]:["serverVariableValues",n]}else r=["serverVariableValues",t];return e.getIn(r)||Z.OrderedMap()})),DEe=es(((e,t)=>{var r,n;if(typeof t!="string"){const{server:i,namespace:o}=t;n=i,r=o?e.getIn([o,"serverVariableValues",n]):e.getIn(["serverVariableValues",n])}else n=t,r=e.getIn(["serverVariableValues",n]);r=r||Z.OrderedMap();let s=n;return r.map(((i,o)=>{s=s.replace(new RegExp(`{${xme(o)}}`,"g"),i)})),s})),$Ee=(function(t){return(...r)=>n=>{const s=n.getSystem().specSelectors.specJson();let i=[...r][1]||[];return!s.getIn(["paths",...i,"requestBody","required"])||t(...r)}})(((e,t)=>((r,n)=>(n=n||[],!!r.getIn(["requestData",...n,"bodyValue"])))(e,t))),FEe
285=(e,{oas3RequiredRequestBodyContentType:t,oas3RequestContentType:r,oas3RequestBodyValue:n})=>{let s=[];if(!Z.Map.isMap(n))return s;let i=[];return Object.keys(t.requestContentType).forEach((o=>{o===r&&t.requestContentType[o].forEach((a=>{i.indexOf(a)<0&&i.push(a)}))})),i.forEach((o=>{n.getIn([o,"value"])||s.push(o)})),s},qEe=nu(["get","put","post","delete","options","head","patch","trace"]);var BEe={[wO]:(e,{payload:{selectedServerUrl:t,namespace:r}})=>{const n=r?[r,"selectedServer"]:["selectedServer"];return e.setIn(n,t)},[xO]:(e,{payload:{value:t,pathMethod:r}})=>{let[n,s]=r;if(!Z.Map.isMap(t))return e.setIn(["requestData",n,s,"bodyValue"],t);let i=e.getIn(["requestData",n,s,"bodyValue"])||Z.Map();Z.Map.isMap(i)||(i=Z.Map());let o=i;const[...a]=t.keys();return a.forEach((c=>{let u=t.getIn([c]);o.has(c)&&Z.Map.isMap(u)||(o=o.setIn([c,"value"],u))})),e.setIn(["requestData",n,s,"bodyValue"],o)},[AO]:(e,{payload:{value:t,pathMethod:r}})=>{let[n,s]=r;return e.setIn(["requestData",n,s,"retainBodyValue"],t)},[OO]:(e,{payload:{value:t,pathMethod:r,name:n}})=>{let[s,i]=r;return e.setIn(["requestData",s,i,"bodyInclusion",n],t)},[CO]:(e,{payload:{name:t,pathMethod:r,contextType:n,contextName:s}})=>{let[i,o]=r;return e.setIn(["examples",i,o,n,s,"activeExample"],t)},[RO]:(e,{payload:{value:t,pathMethod:r}})=>{let[n,s]=r;return e.setIn(["requestData",n,s,"requestContentType"],t)},[TO]:(e,{payload:{value:t,path:r,method:n}})=>e.setIn(["requestData",r,n,"responseContentType"],t),[IO]:(e,{payload:{server:t,namespace:r,key:n,val:s}})=>{const i=r?[r,"serverVariableValues",t,n]:["serverVariableValues",t,n];return e.setIn(i,s)},[PO]:(e,{payload:{path:t,method:r,validationErrors:n}})=>{let s=[];if(s.push("Required field is not provided"),n.missingBodyValue)return e.setIn(["requestData",t,r,"errors"],Z.fromJS(s));if(n.missingRequiredKeys&&n.missingRequiredKeys.length>0){const{missingRequiredKeys:i}=n;return e.updateIn(["requestData",t,r,"bodyValue"],Z.fromJS({}),(o=>i.reduce(((a,c)=>a.setIn([c,"errors"],Z.fromJS(s))),o)))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),e},[Vh]:(e,{payload:{path:t,method:r}})=>{const n=e.getIn(["requestData",t,r,"bodyValue"]);if(!Z.Map.isMap(n))return e.setIn(["requestData",t,r,"errors"],Z.fromJS([]));const[...s]=n.keys();return s?e.updateIn(["requestData",t,r,"bodyValue"],Z.fromJS({}),(i=>s.reduce(((o,a)=>o.setIn([a,"errors"],Z.fromJS([]))),i))):e},[jO]:(e,{payload:{pathMethod:t}})=>{let[r,n]=t;const s=e.getIn(["requestData",r,n,"bodyValue"]);return s?Z.Map.isMap(s)?e.setIn(["requestData",r,n,"bodyValue"],Z.Map()):e.setIn(["requestData",r,n,"bodyValue"],""):e}};function Ax({getSystem:e}){const t=(r=>(n,s=null)=>{const{getConfigs:i,fn:o}=r(),{fileUploadMediaTypes:a}=i();if(typeof s=="string"&&a.some((l=>s.startsWith(l))))return!0;const c=Z.Map.isMap(n);if(!c&&!Ps(n))return!1;const u=c?n.get("format"):n.format;return o.hasSchemaType(n,"string")&&["binary","byte"].includes(u)})(e);return{components:iEe,wrapComponents:fEe,statePlugins:{spec:{wrapSelectors:ox,selectors:cx},auth:{wrapSelectors:ax},oas3:{actions:{...ux},reducers:BEe,selectors:{...lx}}},fn:{isFileUploadIntended:t,isFileUploadIntendedOAS30:t}}}var LEe=({specSelectors:e,getComponent:t})=>{const r=e.selectWebhooksOperations();if(!r)return null;const n=Object.keys(r),s=t("OperationContainer",!0);return n.length===0?null:p.createElement("div",{className:"webhooks"},p.createElement("h2",null,"Webhooks"),n.map((i=>p.createElement("div",{key:`${i}-webhook`},r[i].map((o=>p.createElement(s,{key:`${i}-${o.method}-webhook`,op:o.operation,tag:"webhooks",method:o.method,path:i,specPath:Z.List(o.specPath),allowTryItOut:!1})))))))},UEe=({getComponent:e,specSelectors:t})=>{const r=t.selectLicenseNameField(),n=t.selectLicenseUrl(),s=e("Link");return p.createElement("div",{className:"info__license"},n?p.createElement("div",{className:"info__license__url"},p.createElement(s,{target:"_blank",href:mr(n)},r)):p.createElement("span",null,r))},VEe=({getComponent:e,specSelectors:t})=>{const r=t.selectContactNameField(),n=t.selectContactUrl(),s=t.selectContactEmailField(),i=e("Link");return p.createElement("div",{className:"info__contact"},n&&p.createElement("div",null,p.createElement(i,{href:mr(n),target:"_blank"},r," - Website")),s&&p.createElement(i,{href:mr(`mailto:${s}`)},n?`Send email to ${r}`:`Contact ${r}`))},zEe=({getComponent:e,specSelectors:t})=>{const r=t.version(),n=t.url(),s=t.basePath(),i=t.host(),o=t.selectInfoSummaryField(),a=t.selectInfoDescriptionField(),c=t.selectInfoTitleField(),u=t.selectInfoTermsOfServiceUrl(),l=t.selectExternalDocsUrl(),f=t.selectExternalDocsDescriptionField(),d=t.contact(),h=t.license(),g=e("Markdown",!0),v=e("Link"),y=e("VersionStamp"),E=e("OpenAPIVersion"),b=e("InfoUrl"),S=e("InfoBasePath"),_=e("License",!0),x=e("Contact",!0),A=e("JsonSchemaDialect",!0);return p.createElement("div",{className:"info"}
vendor: 2,503 bytes, line 285
285,p.createElement("hgroup",{className:"main"},p.createElement("h1",{className:"title"},c,p.createElement("span",null,r&&p.createElement(y,{version:r}),p.createElement(E,{oasVersion:"3.1"}))),(i||s)&&p.createElement(S,{host:i,basePath:s}),n&&p.createElement(b,{getComponent:e,url:n})),o&&p.createElement("p",{className:"info__summary"},o),p.createElement("div",{className:"info__description description"},p.createElement(g,{source:a})),u&&p.createElement("div",{className:"info__tos"},p.createElement(v,{target:"_blank",href:mr(u)},"Terms of service")),d.size>0&&p.createElement(x,null),h.size>0&&p.createElement(_,null),l&&p.createElement(v,{className:"info__extdocs",target:"_blank",href:mr(l)},f||l),p.createElement(A,null))},WEe=({getComponent:e,specSelectors:t})=>{const r=t.selectJsonSchemaDialectField(),n=t.selectJsonSchemaDialectDefault(),s=e("Link");return p.createElement(p.Fragment,null,r&&r===n&&p.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",p.createElement(s,{target:"_blank",href:mr(r)},r)),r&&r!==n&&p.createElement("div",{className:"error-wrapper"},p.createElement("div",{className:"no-margin"},p.createElement("div",{className:"errors"},p.createElement("div",{className:"errors-wrapper"},p.createElement("h4",{className:"center"},"Warning"),p.createElement("p",{className:"message"},p.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",p.createElement(s,{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."))))))},JEe=({bypass:e,isSwagger2:t,isOAS3:r,isOAS31:n,alsoShow:s,children:i})=>e?p.createElement("div",null,i):t&&(r||n)?p.createElement("div",{className:"version-pragma"},s,p.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,p.createElement("code",null,"swagger")," and ",p.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),p.createElement("p",null,"Supported version fields are ",p.createElement("code",null,'swagger: "2.0"'),","," ",p.createElement("code",null,"openapi: 3.0.x"),", or ",p.createElement("code",null,"openapi: 3.1.x")," (for example, ",p.createElement("code",null,"openapi: 3.1.0"),").")))
285):t||r||n?p.createElement("div",null,i):p.createElement("div",{className:"version-pragma"},s,p.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,"The provided definition does not specify a valid version field."),p.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",p.createElement("code",null,'swagger: "2.0"'),","," ",p.createElement("code",null,"openapi: 3.0.x"),", or ",p.createElement("code",null,"openapi: 3.1.x")," (for example, ",p.createElement("code",null,"openapi: 3.1.0"),")."))));const HEe=e=>typeof e=="string"&&e.includes("#/components/schemas/")?(t=>{const r=t.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(r)}catch{return r}})(e.replace(/^.*#\/components\/schemas\//,"")):null,KEe=we.forwardRef((({schema:e,getComponent:t,onToggle:r=()=>{},specPath:n},s)=>{const i=t("JSONSchema202012"),o=HEe(e.get("$$ref")),a=we.useCallback(((c,u)=>{r(o,u)}),[o,r]);return p.createElement(i,{name:o,schema:e.toJS(),ref:s,onExpand:a,identifier:n.toJS().join("_")})}));var GEe=KEe,YEe=({specActions:e,specSelectors:t,layoutSelectors:r,layoutActions:n,getComponent:s,getConfigs:i,fn:o})=>{const a=t.selectSchemas(),c=Object.keys(a).length>0,u=["components","schemas"],{docExpansion:l,defaultModelsExpandDepth:f}=i(),d=f>0&&l!=="none",h=r.isShown(u,d),g=s("Collapse"),v=s("JSONSchema202012"),y=s("ArrowUpIcon"),E=s("ArrowDownIcon"),{getTitle:b}=o.jsonSchema202012.useFn();we.useEffect((()=>{const O=Object.entries(a).some((([$])=>r.isShown([...u,$],!1))),I=h&&(f>1||O),R=t.specResolvedSubtree(u)!=null;I&&!R&&e.requestResolvedSubtree(u)}),[h,f]);const S=we.useCallback((()=>{n.show(u,!h)}),[h]),_=we.useCallback((O=>{O!==null&&n.readyToScroll(u,O)}),[]),x=O=>I=>{I!==null&&n.readyToScroll([...u,O],I)},A=O=>(I,R)=>{const $=[...u,O];R?(t.specResolvedSubtree($)!=null||e.requestResolvedSubtree([...u,O]),n.show($,!0)):n.show($,!1)};return!c||f<0?null:p.createElement("section",{className:Nt("models",{"is-open":h}),ref:_},p.createElement("h4",null,p.createElement("button",{"aria-expanded":h,className:"models-control",onClick:S},p.createElement("span",null,"Schemas"),h?p.createElement(y,null):p.createElement(E,null))),p.createElement(g,{isOpened:h},Object.entries(a).map((([O,I])=>{const R=b(I,{lookup:"basic"})||O;return p.createElement(v,{key:O,ref:x(O),schema:I,name:R,onExpand:A(O)})}))))},XEe=({schema:e,getComponent:t,name:r,authSelectors:n})=>{const s=t("JumpToPath",!0),i=n.selectAuthPath(r);return p.createElement("div",null,p.createElement("h4",null,r," (mutualTLS) ",p.createElement(s,{path:i})),p.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),p.createElement("p",null,e.get("description")))};class ZEe extends p.Component{constructor(r,n){super(r,n);G(this,"onAuthChange",r=>{let{name:n}=r;this.setState({[n]:r})});G(this,"submitAuth",r=>{r.preventDefault();let{authActions:n}=this.props;n.authorizeWithPersistOption(this.state)});G(this,"logoutClick",r=>{r.preventDefault();let{authActions:n,definitions:s}=this.props,i=s.map(((o,a)=>a)).toArray();this.setState(i.reduce(((o,a)=>(o[a]="",o)),{})),n.logoutWithPersistOption(i)});G(this,"close",r=>{r.preventDefault();let{authActions:n}=this.props;n.showDefinitions(!1)});this.state={}}render(){let{definitions:r,getComponent:n,authSelectors:s,errSelectors:i}=this.props;const o=n("AuthItem"),a=n("oauth2",!0),c=n("Button"),u=s.authorized(),l=r.filter(((g,v)=>!!u.get(v))),f=r.filter((g=>g.get("type")!=="oauth2"&&g.get("type")!=="mutualTLS")),d=r.filter((g=>g.get("type")==="oauth2")),h=r.filter((g=>g.get("type")==="mutualTLS"));return p.createElement("div",{className:"auth-container"},f.size>0&&p.createElement("form",{onSubmit:this.submitAuth},f.map(((g,v)=>p.createElement(o,{key:v,schema:g,name:v,getComponent:n,onAuthChange:this.onAuthChange,authorized:u,errSelectors:i,authSelectors:s}))).toArray(),p.createElement("div",{className:"auth-btn-wrapper"},f.size===l.size?p.createElement(c,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):p.createElement(c,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),p.createElement(c,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),d.size>0?p.createElement("div",null,p.createElement("div",{className:"scope-def"},p.createElement("p",null,"Scopes are used to grant an application different levels of access to data on behalf of the end user. Each API may declare one or more scopes."),p.
285createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),r.filter((g=>g.get("type")==="oauth2")).map(((g,v)=>p.createElement("div",{key:v},p.createElement(a,{authorized:u,schema:g,name:v})))).toArray()):null,h.size>0&&p.createElement("div",null,h.map(((g,v)=>p.createElement(o,{key:v,schema:g,name:v,getComponent:n,onAuthChange:this.onAuthChange,authorized:u,errSelectors:i,authSelectors:s}))).toArray()))}}var QEe=ZEe;const r5=e=>{const t=e.get("openapi");return typeof t=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(t)},KF=e=>(t,...r)=>n=>{if(n.getSystem().specSelectors.isOAS31()){const s=e(t,...r);return typeof s=="function"?s(n):s}return null},n5=e=>(t,r)=>(n,...s)=>{if(r.getSystem().specSelectors.isOAS31()){const i=e(n,...s);return typeof i=="function"?i(t,r):i}return t(...s)},GF=e=>(t,...r)=>n=>{const s=e(t,n,...r);return typeof s=="function"?s(n):s},Us=e=>(t,r)=>n=>r.specSelectors.isOAS31()?p.createElement(e,jt({},n,{originalComponent:t,getSystem:r.getSystem})):p.createElement(t,n),p_=(e,t)=>{const{fn:r,specSelectors:n}=t;return Object.fromEntries(Object.entries(e).map((([s,i])=>{const o=r[s];return[s,(...a)=>n.isOAS31()?i(...a):typeof o=="function"?o(...a):void 0]})))};var eSe=Us((({getSystem:e})=>{const t=e().getComponent("OAS31License",!0);return p.createElement(t,null)})),tSe=Us((({getSystem:e})=>{const t=e().getComponent("OAS31Contact",!0);return p.createElement(t,null)})),rSe=Us((({getSystem:e})=>{const t=e().getComponent("OAS31Info",!0);return p.createElement(t,null)}));const nSe=(e,{includeReadOnly:t,includeWriteOnly:r})=>{if(!(e!=null&&e.properties))return{};const n=Object.entries(e.properties).filter((([,s])=>((s==null?void 0:s.readOnly)!==!0||t)&&((s==null?void 0:s.writeOnly)!==!0||r)));return Object.fromEntries(n)},s5=e=>{if(typeof e!="function")return null;const t=e();return()=>[...t,"discriminator","xml","externalDocs","example","$$ref"]},Ys=Us((({getSystem:e,...t})=>{var l;const r=e(),{getComponent:n,fn:s,getConfigs:i}=r,o=i(),a=((l=window==null?void 0:window.location)==null?void 0:l.pathname)??"/";if(Ys.ModelWithJSONSchemaContext&&Ys.pathname===a)return p.createElement(Ys.ModelWithJSONSchemaContext,t);const c=n("OAS31Model"),u=n("withJSONSchema202012SystemContext");return Ys.ModelWithJSONSchemaContext=u(c,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:o.defaultModelExpandDepth,includeReadOnly:t.includeReadOnly,includeWriteOnly:t.includeWriteOnly},fn:{getProperties:s.jsonSchema202012.getProperties,isExpandable:s.jsonSchema202012.isExpandable,getSchemaKeywords:s5(s.jsonSchema202012.getSchemaKeywords)}}),Ys.pathname=a,p.createElement(Ys.ModelWithJSONSchemaContext,t)}));Ys.ModelWithJSONSchemaContext=null,Ys.pathname=null;var sSe=Ys;const Xs=Us((({getSystem:e})=>{var c;const{getComponent:t,fn:r,getConfigs:n}=e(),s=n(),i=((c=window==null?void 0:window.location)==null?void 0:c.pathname)??"/";if(Xs.ModelsWithJSONSchemaContext&&Xs.pathname===i)return p.createElement(Xs.ModelsWithJSONSchemaContext,null);const o=t("OAS31Models",!0),a=t("withJSONSchema202012SystemContext");return Xs.ModelsWithJSONSchemaContext=a(o,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:s.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},fn:{getProperties:r.jsonSchema202012.getProperties,isExpandable:r.jsonSchema202012.isExpandable,getSchemaKeywords:s5(r.jsonSchema202012.getSchemaKeywords)}}),Xs.pathname=i,p.createElement(Xs.ModelsWithJSONSchemaContext,null)}));Xs.ModelsWithJSONSchemaContext=null,Xs.pathname=null;var iSe=Xs,oSe=(e,t)=>r=>{const n=t.specSelectors.isOAS31(),s=t.getComponent("OAS31VersionPragmaFilter");return p.createElement(s,jt({isOAS31:n},r))};const aSe=Us((({originalComponent:e,...t})=>{const{getComponent:r,schema:n,name:s}=t,i=r("MutualTLSAuth",!0);return n.get("type")==="mutualTLS"?p.createElement(i,{schema:n,name:s}):p.createElement(e,t)}));var cSe=aSe,uSe=Us((({getSystem:e,...t})=>{const r=e().getComponent("OAS31Auths",!0);return p.createElement(r,t)}));const kO=Z.Map(),lSe=ct(((e,t)=>t.specSelectors.specJson()),r5),fSe=()=>e=>{const t=e.specSelectors.specJson().get("webhooks");return Z.Map.isMap(t)?t:kO},pSe=ct([(e,t)=>t.specSelectors.webhooks(),(e,t)=>t.specSelectors.validOperationMethods(),(e,t)=>t.specSelectors.specResolvedSubtree(["webhooks"])],((e,t)=>e.reduce(((r,n,s)=>{if(!Z.Map.isMap(n))return r;
285const i=n.entrySeq().filter((([o])=>t.includes(o))).map((([o,a])=>({operation:Z.Map({operation:a}),method:o,path:s,specPath:["webhooks",s,o]})));return r.concat(i)}),Z.List()).groupBy((r=>r.path)).map((r=>r.toArray())).toObject())),hSe=()=>e=>{const t=e.specSelectors.info().get("license");return Z.Map.isMap(t)?t:kO},dSe=()=>e=>e.specSelectors.license().get("name","License"),mSe=()=>e=>e.specSelectors.license().get("url"),gSe=ct([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectLicenseUrlField()],((e,t,r)=>{if(r)return jn(r,e,{selectedServer:t})})),ySe=()=>e=>e.specSelectors.license().get("identifier"),vSe=()=>e=>{const t=e.specSelectors.info().get("contact");return Z.Map.isMap(t)?t:kO},bSe=()=>e=>e.specSelectors.contact().get("name","the developer"),ESe=()=>e=>e.specSelectors.contact().get("email"),SSe=()=>e=>e.specSelectors.contact().get("url"),_Se=ct([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectContactUrlField()],((e,t,r)=>{if(r)return jn(r,e,{selectedServer:t})})),wSe=()=>e=>e.specSelectors.info().get("title"),xSe=()=>e=>e.specSelectors.info().get("summary"),ASe=()=>e=>e.specSelectors.info().get("description"),OSe=()=>e=>e.specSelectors.info().get("termsOfService"),CSe=ct([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectInfoTermsOfServiceField()],((e,t,r)=>{if(r)return jn(r,e,{selectedServer:t})})),RSe=()=>e=>e.specSelectors.externalDocs().get("description"),TSe=()=>e=>e.specSelectors.externalDocs().get("url"),ISe=ct([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectExternalDocsUrlField()],((e,t,r)=>{if(r)return jn(r,e,{selectedServer:t})})),PSe=()=>e=>e.specSelectors.specJson().get("jsonSchemaDialect"),jSe=()=>"https://spec.openapis.org/oas/3.1/dialect/base",kSe=ct(((e,t)=>t.specSelectors.definitions()),((e,t)=>t.specSelectors.specResolvedSubtree(["components","schemas"])),((e,t)=>Z.Map.isMap(e)?Z.Map.isMap(t)?Object.entries(e.toJS()).reduce(((r,[n,s])=>{const i=t.get(n);return r[n]=(i==null?void 0:i.toJS())||s,r}),{}):e.toJS():{})),NSe=(e,t)=>(r,...n)=>t.specSelectors.isOAS31()||e(...n),MSe=n5((()=>(e,t)=>t.oas31Selectors.selectLicenseUrl())),DSe=n5((()=>(e,t)=>{const r=t.specSelectors.securityDefinitions();let n=e();return r&&r.entrySeq().forEach((([s,i])=>{(i==null?void 0:i.get("type"))==="mutualTLS"&&(n=n.push(new Z.Map({[s]:i})))})),n})),$Se=ct([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectLicenseUrlField(),(e,t)=>t.specSelectors.selectLicenseIdentifierField()],((e,t,r,n)=>r?jn(r,e,{selectedServer:t}):n?`https://spdx.org/licenses/${n}.html`:void 0));var FSe=({schema:e,getSystem:t})=>{const{fn:r,getComponent:n}=t(),{hasKeyword:s}=r.jsonSchema202012.useFn(),i=n("JSONSchema202012JSONViewer");return s(e,"example")?p.createElement(i,{name:"Example",value:e.example,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"}):null},qSe=({schema:e,getSystem:t})=>{const r=(e==null?void 0:e.xml)||{},{fn:n,getComponent:s,getConfigs:i}=t(),{showExtensions:o}=i(),{useComponent:a,useIsExpanded:c,usePath:u,useLevel:l}=n.jsonSchema202012,{path:f}=u("xml"),{isExpanded:d,setExpanded:h,setCollapsed:g}=c("xml"),[v,y]=l(),E=o?Wi(r):[],b=!!(r.name||r.namespace||r.prefix||E.length>0),S=a("Accordion"),_=a("ExpandDeepButton"),x=s("OpenAPI31Extensions"),A=s("JSONSchema202012PathContext")(),O=s("JSONSchema202012LevelContext")(),I=we.useCallback((()=>{d?g():h()}),[d,h,g]),R=we.useCallback((($,M)=>{M?h({deep:!0}):g({deep:!0})}),[h,g]);return Object.keys(r).length===0?null:p.createElement(A.Provider,{value:f},p.createElement(O.Provider,{value:y},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml","data-json-schema-level":v},b?p.createElement(p.Fragment,null,p.createElement(S,{expanded:d,onChange:I},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),p.createElement(_,{expanded:d,onClick:R})):p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),r.attribute===!0&&p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),r.wrapped===!0&&p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!d})},d&&p.createElement(p.Fragment,null,r.name&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"}
285,p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.name))),r.namespace&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.namespace))),r.prefix&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.prefix)))),E.length>0&&p.createElement(x,{openAPISpecObj:r,openAPIExtensions:E,getSystem:t})))))},BSe=({discriminator:e})=>{const t=(e==null?void 0:e.mapping)||{};return Object.keys(t).length===0?null:Object.entries(t).map((([r,n])=>p.createElement("div",{key:`${r}-${n}`,className:"json-schema-2020-12-keyword"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},r),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},n))))},LSe=({schema:e,getSystem:t})=>{const r=(e==null?void 0:e.discriminator)||{},{fn:n,getComponent:s,getConfigs:i}=t(),{showExtensions:o}=i(),{useComponent:a,useIsExpanded:c,usePath:u,useLevel:l}=n.jsonSchema202012,f="discriminator",{path:d}=u(f),{isExpanded:h,setExpanded:g,setCollapsed:v}=c(f),[y,E]=l(),b=o?Wi(r):[],S=!!(r.mapping||b.length>0),_=a("Accordion"),x=a("ExpandDeepButton"),A=s("OpenAPI31Extensions"),O=s("JSONSchema202012PathContext")(),I=s("JSONSchema202012LevelContext")(),R=we.useCallback((()=>{h?v():g()}),[h,g,v]),$=we.useCallback(((M,q)=>{q?g({deep:!0}):v({deep:!0})}),[g,v]);return Object.keys(r).length===0?null:p.createElement(O.Provider,{value:d},p.createElement(I.Provider,{value:E},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator","data-json-schema-level":y},S?p.createElement(p.Fragment,null,p.createElement(_,{expanded:h,onChange:R},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator")),p.createElement(x,{expanded:h,onClick:$})):p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),r.propertyName&&p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},r.propertyName),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!h})},h&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement(BSe,{discriminator:r})),b.length>0&&p.createElement(A,{openAPISpecObj:r,openAPIExtensions:b,getSystem:t})))))},USe=({openAPISpecObj:e,getSystem:t,openAPIExtensions:r})=>{const{fn:n}=t(),{useComponent:s}=n.jsonSchema202012,i=s("JSONViewer");return r.map((o=>p.createElement(i,{key:o,name:o,value:e[o],className:"json-schema-2020-12-json-viewer-extension-keyword"})))},VSe=({schema:e,getSystem:t})=>{const r=(e==null?void 0:e.externalDocs)||{},{fn:n,getComponent:s,getConfigs:i}=t(),{showExtensions:o}=i(),{useComponent:a,useIsExpanded:c,usePath:u,useLevel:l}=n.jsonSchema202012,f="externalDocs",{path:d}=u(f),{isExpanded:h,setExpanded:g,setCollapsed:v}=c(f),[y,E]=l(),b=o?Wi(r):[],S=!!(r.description||r.url||b.length>0),_=a("Accordion"),x=a("ExpandDeepButton"),A=s("JSONSchema202012KeywordDescription"),O=s("Link"),I=s("OpenAPI31Extensions"),R=s("JSONSchema202012PathContext")(),$=s("JSONSchema202012LevelContext")(),M=we.useCallback((()=>{h?v():g()}),[h,g,v]),q=we.useCallback(((N,U)=>{U?g({deep:!0}):v({deep:!0})}),[g,v]);return Object.keys(r).length===0?null:p.createElement(R.Provider,{value:d},p.createElement($.Provider,{value:E},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs","data-json-schema-level":y},S?p.createElement(p.Fragment,null,p.createElement(_,{expanded:h,onChange:M},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),p.createElement(x,{expanded:h,onClick:q})):p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!h})},h&&p.createElement(p.Fragment,null,r.description&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement(A,{schema:r,getSystem:t})),r.url&&p.createElement("li",{className:"json-schema-2020-12-property"},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"}
285,p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},p.createElement(O,{target:"_blank",href:mr(r.url)},r.url))))),b.length>0&&p.createElement(I,{openAPISpecObj:r,openAPIExtensions:b,getSystem:t})))))},zSe=({schema:e,getSystem:t})=>{if(!(e!=null&&e.description))return null;const{getComponent:r}=t(),n=r("Markdown");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},p.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},p.createElement(n,{source:e.description})))},WSe=Us(zSe);const JSe=Us((({schema:e,getSystem:t,originalComponent:r})=>{const{getComponent:n}=t(),s=n("JSONSchema202012KeywordDiscriminator"),i=n("JSONSchema202012KeywordXml"),o=n("JSONSchema202012KeywordExample"),a=n("JSONSchema202012KeywordExternalDocs");return p.createElement(p.Fragment,null,p.createElement(r,{schema:e}),p.createElement(s,{schema:e,getSystem:t}),p.createElement(i,{schema:e,getSystem:t}),p.createElement(a,{schema:e,getSystem:t}),p.createElement(o,{schema:e,getSystem:t}))}));var HSe=JSe,KSe=({schema:e,getSystem:t})=>{const{fn:r,getComponent:n}=t(),{useComponent:s,usePath:i}=r.jsonSchema202012,{getDependentRequired:o,getProperties:a}=r.jsonSchema202012.useFn(),c=r.jsonSchema202012.useConfig(),u=Array.isArray(e==null?void 0:e.required)?e.required:[],{path:l}=i("properties"),f=s("JSONSchema"),d=n("JSONSchema202012PathContext")(),h=a(e,c);return Object.keys(h).length===0?null:p.createElement(d.Provider,{value:l},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},p.createElement("ul",null,Object.entries(h).map((([g,v])=>{const y=u.includes(g),E=o(g,e);return p.createElement("li",{key:g,className:Nt("json-schema-2020-12-property",{"json-schema-2020-12-property--required":y})},p.createElement(f,{name:g,schema:v,dependentRequired:E}))})))))},GSe=Us(KSe),YSe=function({fn:t,getSystem:r}){if(t.jsonSchema202012){const i=((o,a)=>{const{fn:c}=a();if(typeof o!="function")return null;const{hasKeyword:u}=c.jsonSchema202012;return l=>o(l)||u(l,"example")||(l==null?void 0:l.xml)||(l==null?void 0:l.discriminator)||(l==null?void 0:l.externalDocs)})(t.jsonSchema202012.isExpandable,r);Object.assign(this.fn.jsonSchema202012,{isExpandable:i,getProperties:nSe})}if(typeof t.sampleFromSchema=="function"&&t.jsonSchema202012){const i=p_({sampleFromSchema:t.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:t.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:t.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:t.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:t.jsonSchema202012.memoizedCreateXMLExample,getJsonSampleSchema:t.jsonSchema202012.getJsonSampleSchema,getYamlSampleSchema:t.jsonSchema202012.getYamlSampleSchema,getXmlSampleSchema:t.jsonSchema202012.getXmlSampleSchema,getSampleSchema:t.jsonSchema202012.getSampleSchema,mergeJsonSchema:t.jsonSchema202012.mergeJsonSchema,getSchemaObjectTypeLabel:o=>t.jsonSchema202012.getType(Ni(o)),getSchemaObjectType:o=>{var a;return t.jsonSchema202012.foldType((a=Ni(o))==null?void 0:a.type)}},r());Object.assign(this.fn,i)}const n=(i=>(o,a=null)=>{const{fn:c}=i();if(c.isFileUploadIntendedOAS30(o,a))return!0;const u=Z.Map.isMap(o);
285if(!u&&!Ps(o))return!1;const l=u?o.get("contentMediaType"):o.contentMediaType,f=u?o.get("contentEncoding"):o.contentEncoding;return typeof l=="string"&&l!==""||typeof f=="string"&&f!==""})(r),{isFileUploadIntended:s}=p_({isFileUploadIntended:n},r());if(this.fn.isFileUploadIntended=s,this.fn.isFileUploadIntendedOAS31=n,t.jsonSchema202012){const{hasSchemaType:i}=p_({hasSchemaType:t.jsonSchema202012.hasSchemaType},r());this.fn.hasSchemaType=i}},XSe=({fn:e})=>{const t=e.createSystemSelector||GF,r=e.createOnlyOAS31Selector||KF;return{afterLoad:YSe,fn:{isOAS31:r5,createSystemSelector:GF,createOnlyOAS31Selector:KF},components:{Webhooks:LEe,JsonSchemaDialect:WEe,MutualTLSAuth:XEe,OAS31Info:zEe,OAS31License:UEe,OAS31Contact:VEe,OAS31VersionPragmaFilter:JEe,OAS31Model:GEe,OAS31Models:YEe,OAS31Auths:QEe,JSONSchema202012KeywordExample:FSe,JSONSchema202012KeywordXml:qSe,JSONSchema202012KeywordDiscriminator:LSe,JSONSchema202012KeywordExternalDocs:VSe,OpenAPI31Extensions:USe},wrapComponents:{InfoContainer:rSe,License:eSe,Contact:tSe,VersionPragmaFilter:oSe,Model:sSe,Models:iSe,AuthItem:cSe,auths:uSe,JSONSchema202012KeywordDescription:WSe,JSONSchema202012KeywordExamples:HSe,JSONSchema202012KeywordProperties:GSe},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:DSe}},spec:{selectors:{isOAS31:t(lSe),license:hSe,selectLicenseNameField:dSe,selectLicenseUrlField:mSe,selectLicenseIdentifierField:r(ySe),selectLicenseUrl:t(gSe),contact:vSe,selectContactNameField:bSe,selectContactEmailField:ESe,selectContactUrlField:SSe,selectContactUrl:t(_Se),selectInfoTitleField:wSe,selectInfoSummaryField:r(xSe),selectInfoDescriptionField:ASe,selectInfoTermsOfServiceField:OSe,selectInfoTermsOfServiceUrl:t(CSe),selectExternalDocsDescriptionField:RSe,selectExternalDocsUrlField:TSe,selectExternalDocsUrl:t(ISe),webhooks:r(fSe),selectWebhooksOperations:r(t(pSe)),selectJsonSchemaDialectField:PSe,selectJsonSchemaDialectDefault:jSe,selectSchemas:t(kSe)},wrapSelectors:{isOAS3:NSe,selectLicenseUrl:MSe}},oas31:{selectors:{selectLicenseUrl:r(t($Se))}}}}},ZSe=({bypass:e,isSwagger2:t,isOAS3:r,isOAS31:n,isOAS32:s,alsoShow:i,children:o})=>e?p.createElement("div",null,o):t&&(r||n||s)?p.createElement("div",{className:"version-pragma"},i,p.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,p.createElement("code",null,"swagger")," and ",p.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),p.createElement("p",null,"Supported version fields are ",p.createElement("code",null,'swagger: "2.0"')," ","and ",p.createElement("code",null,"openapi: 3.0.x"),", ",p.createElement("code",null,"openapi: 3.1.x"),", or"," ",p.createElement("code",null,"openapi: 3.2.x")," (for example,"," ",p.createElement("code",null,"openapi: 3.2.0"),").")))):t||r||n||s?p.createElement("div",null,o):p.createElement("div",{className:"version-pragma"},i,p.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},p.createElement("div",null,p.createElement("h3",null,"Unable to render this definition"),p.createElement("p",null,"The provided definition does not specify a valid version field."),p.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",p.createElement("code",null,'swagger: "2.0"')," ","and ",p.createElement("code",null,"openapi: 3.0.x"),", ",p.createElement("code",null,"openapi: 3.1.x"),", or"," ",p.createElement("code",null,"openapi: 3.2.x")," (for example,"," ",p.createElement("code",null,"openapi: 3.2.0"),")."))));const i5=e=>{const t=e.get("openapi");return typeof t=="string"&&/^3\.2\.(?:[1-9]\d*|0)$/.test(t)},QSe=e=>(t,...r)=>n=>{if(n.getSystem().specSelectors.isOAS32()){const s=e(t,...r);return typeof s=="function"?s(n):s}return null},YF=e=>(t,...r)=>n=>{const s=e(t,n,...r);return typeof s=="function"?s(n):s},hi=e=>(t,r)=>n=>r.specSelectors.isOAS32()?p.createElement(e,jt({},n,{originalComponent:t,getSystem:r.getSystem})):p.createElement(t,n),h_=(e,t)=>{const{fn:r,specSelectors:n}=t;return Object.fromEntries(Object.entries(e).map((([s,i])=>{const o=r[s];return[s,(...a)=>n.isOAS32()?i(...a):typeof o=="function"?o(...a):void 0]})))};var e1e=hi((e=>{const{getSystem:t}=e,r=t().getComponent("OAS31Contact",!0);return p.createElement(r,e)})),t1e=hi((({getSystem:e})=>{const t=e().getComponent("OAS31Info",!0);return p.createElement(t,null)})),r1e=hi((e=>{const{getSystem:t}=e,r=t().getComponent("OAS31License",!0);return p.createElement(r,e)}));const o5=e=>{if(typeof e!="function")return null;const t=e();return()=>[...t,"discriminator","xml","externalDocs","example","$$ref"]},Zs=hi((({getSystem:e,...t})=>{var l;const r=e(),{getComponent:n,fn:s,getConfigs:i}=r,o=i(),a=((l=window==null?void 0:window.location)==null?void 0:l.pathname)??"/";if(Zs.ModelWithJSONSchemaContext&&Zs.pathname===a)return p.createElement(Zs.ModelWithJSONSchemaContext,t);const c=n("OAS31Model"),u=n("withJSONSchema202012SystemContext");return Zs.ModelWithJSONSchemaContext=u(c,{config:{default$schema:"https://spec.openapis.org/oas/3.2/schema/2025-09-17",defaultExpandedLevels:o.defaultModelExpandDepth,includeReadOnly:t.includeReadOnly,includeWriteOnly:t.includeWriteOnly},fn:{getProperties:s.jsonSchema202012.getProperties,isExpandable:s.jsonSchema202012.isExpandable,getSchemaKeywords:o5(s.jsonSchema202012.getSchemaKeywords)}}),Zs.pathname=a,p.createElement(Zs.ModelWithJSONSchemaContext,t)}));Zs.ModelWithJSONSchemaContext=null,Zs.pathname=null;var n1e=Zs;
285const Qs=hi((({getSystem:e})=>{var c;const{getComponent:t,fn:r,getConfigs:n}=e(),s=n(),i=((c=window==null?void 0:window.location)==null?void 0:c.pathname)??"/";if(Qs.ModelsWithJSONSchemaContext&&Qs.pathname===i)return p.createElement(Qs.ModelsWithJSONSchemaContext,null);const o=t("OAS31Models",!0),a=t("withJSONSchema202012SystemContext");return Qs.ModelsWithJSONSchemaContext=a(o,{config:{default$schema:"https://spec.openapis.org/oas/3.2/schema/2025-09-17",defaultExpandedLevels:s.defaultModelsExpandDepth-1,includeReadOnly:!0,includeWriteOnly:!0},fn:{getProperties:r.jsonSchema202012.getProperties,isExpandable:r.jsonSchema202012.isExpandable,getSchemaKeywords:o5(r.jsonSchema202012.getSchemaKeywords)}}),Qs.pathname=i,p.createElement(Qs.ModelsWithJSONSchemaContext,null)}));Qs.ModelsWithJSONSchemaContext=null,Qs.pathname=null;var s1e=Qs,i1e=hi((e=>{const{originalComponent:t}=e;return p.createElement(t,{oasVersion:"3.2"})})),o1e=(e,t)=>r=>{const n=t.specSelectors.isOAS32(),s=t.getComponent("OAS32VersionPragmaFilter");return p.createElement(s,jt({isOAS32:n},r))},a1e=({schema:e,getSystem:t})=>{if(!(e!=null&&e.description))return null;const{getComponent:r}=t(),n=r("Markdown");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},p.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},p.createElement(n,{source:e.description})))},c1e=hi(a1e);const u1e=hi((({schema:e,getSystem:t,originalComponent:r})=>{const{getComponent:n}=t(),s=n("JSONSchema202012KeywordDiscriminator"),i=n("JSONSchema202012KeywordXml"),o=n("JSONSchema202012KeywordExample"),a=n("JSONSchema202012KeywordExternalDocs");return p.createElement(p.Fragment,null,p.createElement(r,{schema:e}),p.createElement(s,{schema:e,getSystem:t}),p.createElement(i,{schema:e,getSystem:t}),p.createElement(a,{schema:e,getSystem:t}),p.createElement(o,{schema:e,getSystem:t}))}));var l1e=u1e,f1e=({schema:e,getSystem:t})=>{const{fn:r,getComponent:n}=t(),{useComponent:s,usePath:i}=r.jsonSchema202012,{getDependentRequired:o,getProperties:a}=r.jsonSchema202012.useFn(),c=r.jsonSchema202012.useConfig(),u=Array.isArray(e==null?void 0:e.required)?e.required:[],{path:l}=i("properties"),f=s("JSONSchema"),d=n("JSONSchema202012PathContext")(),h=a(e,c);return Object.keys(h).length===0?null:p.createElement(d.Provider,{value:l},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},p.createElement("ul",null,Object.entries(h).map((([g,v])=>{const y=u.includes(g),E=o(g,e);return p.createElement("li",{key:g,className:Nt("json-schema-2020-12-property",{"json-schema-2020-12-property--required":y})},p.createElement(f,{name:g,schema:v,dependentRequired:E}))})))))},p1e=hi(f1e);const h1e=nu(["get","put","post","delete","options","head","patch","trace","query"]),d1e=(e,t)=>(r,...n)=>t.specSelectors.isOAS32()||e(...n),m1e=(XF=()=>(e,t)=>t.oas32Selectors.validOperationMethods(),(e,t)=>(r,...n)=>{if(t.getSystem().specSelectors.isOAS32()){const s=XF(r,...n);return typeof s=="function"?s(e,t):s}return e(...n)});var XF;const a5=Z.Map(),g1e=(e,t)=>()=>{const r=t.specSelectors.specJson();return i5(r)},y1e=()=>e=>{const t=e.specSelectors.info().get("license");return Z.Map.isMap(t)?t:a5},v1e=()=>e=>e.specSelectors.license().get("name","License"),b1e=()=>e=>e.specSelectors.license().get("url"),E1e=ct([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectLicenseUrlField()],((e,t,r)=>{if(r)return jn(r,e,{selectedServer:t})})),S1e=()=>e=>e.specSelectors.license().get("identifier"),_1e=()=>e=>{const t=e.specSelectors.info().get("contact");return Z.Map.isMap(t)?t:a5},w1e=()=>e=>e.specSelectors.contact().get("name","the developer"),x1e=()=>e=>e.specSelectors.contact().get("email"),A1e=()=>e=>e.specSelectors.contact().get("url"),O1e=ct([(e,t)=>t.specSelectors.url(),(e,t)=>t.oas3Selectors.selectedServer(),(e,t)=>t.specSelectors.selectContactUrlField()],((e,t,r)=>{if(r)return jn(r,e,{selectedServer:t})})),C1e=()=>e=>e.specSelectors.info().get("summary");var R1e=function({fn:t,getSystem:r}){if(typeof t.sampleFromSchema=="function"&&t.jsonSchema202012){const i=h_({sampleFromSchema:t.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:t.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:t.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:t.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:t.jsonSchema202012.memoizedCreateXMLExample,getJsonSampleSchema:t.jsonSchema202012.getJsonSampleSchema,getYamlSampleSchema:t.jsonSchema202012.getYamlSampleSchema,getXmlSampleSchema:t.jsonSchema202012.getXmlSampleSchema,getSampleSchema:t.jsonSchema202012.getSampleSchema,mergeJsonSchema:t.jsonSchema202012.mergeJsonSchema,getSchemaObjectTypeLabel:o=>t.jsonSchema202012.getType(Ni(o)),getSchemaObjectType:o=>{var a;return t.jsonSchema202012.foldType((a=Ni(o))==null?void 0:a.type)}},r());Object.assign(this.fn,i)}const n=(i=>(o,a=null)=>{const{fn:c}=i();if(c.isFileUploadIntendedOAS30(o,a))return!0;const u=Z.Map.isMap(o);
285if(!u&&!Ps(o))return!1;const l=u?o.get("contentMediaType"):o.contentMediaType,f=u?o.get("contentEncoding"):o.contentEncoding;return typeof l=="string"&&l!==""||typeof f=="string"&&f!==""})(r),{isFileUploadIntended:s}=h_({isFileUploadIntended:n},r());if(this.fn.isFileUploadIntended=s,this.fn.isFileUploadIntendedOAS32=n,t.jsonSchema202012){const{hasSchemaType:i}=h_({hasSchemaType:t.jsonSchema202012.hasSchemaType},r());this.fn.hasSchemaType=i}},T1e=({fn:e})=>{const t=e.createSystemSelector||YF;return{afterLoad:R1e,fn:{isOAS32:i5,createSystemSelector:YF,createOnlyOAS32Selector:QSe},components:{OAS32VersionPragmaFilter:ZSe},wrapComponents:{Contact:e1e,InfoContainer:t1e,License:r1e,Model:n1e,Models:s1e,OpenAPIVersion:i1e,VersionPragmaFilter:o1e,JSONSchema202012KeywordDescription:c1e,JSONSchema202012KeywordExamples:l1e,JSONSchema202012KeywordProperties:p1e},statePlugins:{spec:{selectors:{isOAS32:t(g1e),selectInfoSummaryField:C1e,license:y1e,selectLicenseNameField:v1e,selectLicenseUrlField:b1e,selectLicenseIdentifierField:S1e,selectLicenseUrl:t(E1e),contact:_1e,selectContactNameField:w1e,selectContactEmailField:x1e,selectContactUrlField:A1e,selectContactUrl:t(O1e)},wrapSelectors:{isOAS3:d1e,validOperationMethods:m1e}},oas32:{selectors:{validOperationMethods:h1e}}}}};const I1e=bn.object,P1e=bn.bool,bo=(bn.oneOfType([I1e,P1e]),we.createContext(null));bo.displayName="JSONSchemaContext";const ts=we.createContext(0);ts.displayName="JSONSchemaLevelContext";const Ox=we.createContext(new Set),An=we.createContext([]);class En{}G(En,"Collapsed","collapsed"),G(En,"Expanded","expanded"),G(En,"DeeplyExpanded","deeply-expanded");const NO=()=>{const{config:e}=we.useContext(bo);return e},qe=e=>{const{components:t}=we.useContext(bo);return t[e]||null},Gt=(e=void 0)=>{const{fn:t}=we.useContext(bo);return e!==void 0?t[e]:t},c5=()=>{const[,e]=we.useState(null),{state:t}=we.useContext(bo);return{state:t,setState:r=>{r(t),e({})}}},Xn=()=>{const e=we.useContext(ts);return[e,e+1]},pn=e=>{const t=we.useContext(An),{setState:r}=c5(),n=typeof e=="string"?[...t,e]:t;return{path:n,pathMutator:(s,i={deep:!1})=>{const o=n.toString(),a=u=>{u.paths[o]=s,s===En.Collapsed&&Object.keys(u.paths).forEach((l=>{l.startsWith(o)&&u.paths[l]===En.DeeplyExpanded&&(u.paths[l]=En.Expanded)}))},c=u=>{Object.keys(u.paths).forEach((l=>{l.startsWith(o)&&(u.paths[l]=s)}))};i.deep?r(c):r(a)}}},ys=e=>{const[t]=Xn(),{defaultExpandedLevels:r}=NO(),{path:n,pathMutator:s}=pn(e),{path:i}=pn(),{state:o}=c5(),a=o.paths[n.toString()],c=o.paths[i.toString()]??o.paths[i.slice(0,-1).toString()],u=a??(r-t>0?En.Expanded:En.Collapsed),l=u!==En.Collapsed;return we.useEffect((()=>{s(c===En.DeeplyExpanded?En.DeeplyExpanded:u)}),[c]),{isExpanded:l,setExpanded:we.useCallback(((f={deep:!1})=>{s(f.deep?En.DeeplyExpanded:En.Expanded)}),[]),setCollapsed:we.useCallback(((f={deep:!1})=>{s(En.Collapsed,f)}),[])}},ZF=(e=void 0)=>{if(e===void 0)return we.useContext(Ox);const t=we.useContext(Ox);return new Set([...t,e])},j1e=we.forwardRef((({schema:e,name:t="",dependentRequired:r=[],onExpand:n=()=>{},identifier:s=""},i)=>{const o=Gt(),a=s||(e==null?void 0:e.$id)||t,{path:c}=pn(a),{isExpanded:u,setExpanded:l,setCollapsed:f}=ys(a),[d,h]=Xn(),g=(()=>{const[F]=Xn();return F>0})(),v=o.isExpandable(e)||r.length>0,y=(F=>ZF().has(F))(e),E=ZF(e),b=o.stringifyConstraints(e),S=qe("Accordion"),_=qe("Keyword$schema"),x=qe("Keyword$vocabulary"),A=qe("Keyword$id"),O=qe("Keyword$anchor"),I=qe("Keyword$dynamicAnchor"),R=qe("Keyword$ref"),$=qe("Keyword$dynamicRef"),M=qe("Keyword$defs"),q=qe("Keyword$comment"),N=qe("KeywordAllOf"),U=qe("KeywordAnyOf"),X=qe("KeywordOneOf"),J=qe("KeywordNot"),ee=qe("KeywordIf"),ne=qe("KeywordThen"),re=qe("KeywordElse"),Y=qe("Ke
285ywordDependentSchemas"),ie=qe("KeywordPrefixItems"),ce=qe("KeywordItems"),ge=qe("KeywordContains"),de=qe("KeywordProperties"),ae=qe("KeywordPatternProperties"),W=qe("KeywordAdditionalProperties"),V=qe("KeywordPropertyNames"),fe=qe("KeywordUnevaluatedItems"),ye=qe("KeywordUnevaluatedProperties"),De=qe("KeywordType"),Fe=qe("KeywordEnum"),Re=qe("KeywordConst"),ke=qe("KeywordConstraint"),Je=qe("KeywordDependentRequired"),be=qe("KeywordContentSchema"),Ee=qe("KeywordTitle"),xe=qe("KeywordDescription"),L=qe("KeywordDefault"),T=qe("KeywordDeprecated"),j=qe("KeywordReadOnly"),z=qe("KeywordWriteOnly"),Q=qe("KeywordExamples"),oe=qe("ExtensionKeywords"),he=qe("ExpandDeepButton"),$e=we.useCallback(((F,C)=>{C?l():f(),n(F,C,!1)}),[n,l,f]),tt=we.useCallback(((F,C)=>{C?l({deep:!0}):f({deep:!0}),n(F,C,!0)}),[n,l,f]);return p.createElement(An.Provider,{value:c},p.createElement(ts.Provider,{value:h},p.createElement(Ox.Provider,{value:E},p.createElement("article",{ref:i,"data-json-schema-level":d,className:Nt("json-schema-2020-12",{"json-schema-2020-12--embedded":g,"json-schema-2020-12--circular":y})},p.createElement("div",{className:"json-schema-2020-12-head"},v&&!y?p.createElement(p.Fragment,null,p.createElement(S,{expanded:u,onChange:$e},p.createElement(Ee,{title:t,schema:e})),p.createElement(he,{expanded:u,onClick:tt})):p.createElement(Ee,{title:t,schema:e}),p.createElement(T,{schema:e}),p.createElement(j,{schema:e}),p.createElement(z,{schema:e}),p.createElement(De,{schema:e,isCircular:y}),b.length>0&&b.map((F=>p.createElement(ke,{key:`${F.scope}-${F.value}`,constraint:F})))),p.createElement("div",{className:Nt("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!u})},u&&p.createElement(p.Fragment,null,p.createElement(xe,{schema:e}),!y&&v&&p.createElement(p.Fragment,null,p.createElement(de,{schema:e}),p.createElement(ae,{schema:e}),p.createElement(W,{schema:e}),p.createElement(ye,{schema:e}),p.createElement(V,{schema:e}),p.createElement(N,{schema:e}),p.createElement(U,{schema:e}),p.createElement(X,{schema:e}),p.createElement(J,{schema:e}),p.createElement(ee,{schema:e}),p.createElement(ne,{schema:e}),p.createElement(re,{schema:e}),p.createElement(Y,{schema:e}),p.createElement(ie,{schema:e}),p.createElement(ce,{schema:e}),p.createElement(fe,{schema:e}),p.createElement(ge,{schema:e}),p.createElement(be,{schema:e})),p.createElement(Fe,{schema:e}),p.createElement(Re,{schema:e}),p.createElement(Je,{schema:e,dependentRequired:r}),p.createElement(L,{schema:e}),p.createElement(Q,{schema:e}),p.createElement(_,{schema:e}),p.createElement(x,{schema:e}),p.createElement(A,{schema:e}),p.createElement(O,{schema:e}),p.createElement(I,{schema:e}),p.createElement(R,{schema:e}),!y&&v&&p.createElement(M,{schema:e}),p.createElement($,{schema:e}),p.createElement(q,{schema:e}),p.createElement(oe,{schema:e})))))))}));var u5=j1e,l5=({schema:e})=>e!=null&&e.$schema?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$schema)):null,f5=({schema:e})=>{const t="$vocabulary",{path:r}=pn(t),{isExpanded:n,setExpanded:s,setCollapsed:i}=ys(t),o=qe("Accordion"),a=we.useCallback((()=>{n?i():s()}),[n,s,i]);return e!=null&&e.$vocabulary?typeof e.$vocabulary!="object"?null:p.createElement(An.Provider,{value:r},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},p.createElement(o,{expanded:n,onChange:a},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",null,n&&Object.entries(e.$vocabulary).map((([c,u])=>p.createElement("li",{key:c,className:Nt("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!u})},p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},c))))))):null},p5=({schema:e})=>e!=null&&e.$id?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$id)):null,h5=({schema:e})=>e!=null&&e.$anchor?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$anchor)):null,d5=({schema:e})=>e!=null&&e.$dynamicAnchor?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$dynamicAnchor)):null,m5=({schema:e})=>e!=null&&e.$ref?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$ref)):null,g5=({schema:e})=>e!=null&&e.$dynamicRef?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$dynamicRef)):null,y5=({schema:e})=>{const t=(e==null?void 0:e.$defs)||{},r="$defs",{path:n}=pn(r),{isExpanded:s,setExpanded:i,setCollapsed:o}=ys(r),[a,c]=Xn(),u=qe("Accordion"),l=qe("ExpandDeepButton"),f=qe("JSONSchema"),d=we.useCallback((()=>{s?o():i()}),[s,i,o]),h=we.useCallback(((g,v)=>{v?i({deep:!0}):o({deep:!0})}),[i,o]);return Object.keys(t).length===0?null:p.createElement(An.Provider,{value:n},p.createElement(ts.Provider,{value:c},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs","data-json-schema-level":a},p.createElement(u,{expanded:s,onChange:d},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),p.createElement(l,{expanded:s,onClick:h}),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&p.createElement(p.Fragment,null,Object.entries(t).map((([g,v])=>p.createElement("li",{key:g,className:"json-schema-2020-12-property"},p.createElement(f,{name:g,schema:v})))))))))},v5=({schema:e})=>e!=null&&e.$comment?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},e.$comment)):null,b5=({schema:e})=>{const t=(e==null?void 0:e.allOf)||[],r=Gt(),n="allOf",{path:s}=pn(n),{isExpanded:i,setExpanded:o,setCollapsed:a}=ys(n),[c,u]=Xn(),l=qe("Accordion"),f=qe("ExpandDeepButton"),d=qe("JSONSchema"),h=qe("KeywordType"),g=we.useCallback((()=>{i?a():o()}),[i,o,a]),v=we.useCallback(((y,E)=>{E?o({deep:!0}):a({deep:!0})}),[o,a]);return Array.isArray(t)&&t.length!==0?p.createElement(An.Provider,{value:s},p.createElement(ts.Provider,{value:u},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf","data-json-schema-level":c},p.createElement(l,{expanded:i,onChange:g},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),p.createElement(f,{expanded:i,onClick:v}),p.createElement(h,{schema:{allOf:t}}),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&p.createElement(p.Fragment,null,t.map(((y,E)=>p.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},p.createElement(d,{name:`#${E} ${r.getTitle(y)}`,schema:y}))))))))):null},E5=({schema:e})=>{const t=(e==null?void 0:e.anyOf)||[],r=Gt(),n="anyOf",{path:s}=pn(n),{isExpanded:i,setExpanded:o,setCollapsed:a}=ys(n),[c,u]=Xn(),l=qe("Accordion"),f=qe("ExpandDeepButton"),d=qe("JSONSchema"),h=qe("KeywordType"),g=we.useCallback((()=>{i?a():o()}),[i,o,a]),v=we.useCallback(((y,E)=>{E?o({deep:!0}):a({deep:!0})}),[o,a]);return Array.isArray(t)&&t.length!==0?p.createElement(An.Provider,{value:s},p.createElement(ts.Provider,{value:u},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf","data-json-schema-level":c},p.createElement(l,{expanded:i,onChange:g},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),p.createElement(f,{expanded:i,onClick:v}),p.createElement(h,{schema:{anyOf:t}}),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&p.createElement(p.Fragment,null,t.map(((y,E)=>p.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},p.createElement(d,{name:`#${E} ${r.getTitle(y)}`,schema:y}))))))))):null},S5=({schema:e})=>{const t=(e==null?void 0:e.oneOf)||[],r=Gt(),n="oneOf",{path:s}=pn(n),{isExpanded:i,setExpanded:o,setCollapsed:a}=ys(n),[c,u]=Xn(),l=qe("Accordion"),f=qe("ExpandDeepButton"),d=qe("JSONSchema"),h=qe("KeywordType"),g=we.useCallback((()=>{i?a():o()}),[i,o,a]),v=we.useCallback(((y,E)=>{E?o({deep:!0}):a({deep:!0})}),[o,a]);return Array.isArray(t)&&t.length!==0?p.createElement(An.Provider,{value:s},p.createElement(ts.Provider,{value:u},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf","data-json-schema-level":c},p.createElement(l,{expanded:i,onChange:g},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),p.createElement(f,{expanded:i,onClick:v}),p.createElement(h,{schema:{oneOf:t}}),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&p.createElement(p.Fragment,null,t.map(((y,E)=>p.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},p.createElement(d,{name:`#${E} ${r.getTitle(y)}`,schema:y}))))))))):null},_5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"not"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},p.createElement(r,{name:n,schema:e.not,identifier:"not"}))},w5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"if"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},p.createElement(r,{name:n,schema:e.if,identifier:"if"}))},x5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"then"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},p.createElement(r,{name:n,schema:e.then,identifier:"then"}))},A5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"else"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},p.createElement(r,{name:n,schema:e.else,identifier:"else"}))},O5=({schema:e})=>{const t=(e==null?void 0:e.dependentSchemas)||[],r="dependentSchemas",{path:n}=pn(r),{isExpanded:s,setExpanded:i,setCollapsed:o}=ys(r),[a,c]=Xn(),u=qe("Accordion"),l=qe("ExpandDeepButton"),f=qe("JSONSchema"),d=we.useCallback((()=>{s?o():i()}),[s,i,o]),h=we.useCallback(((g,v)=>{v?i({deep:!0}):o({deep:!0})}),[i,o]);return typeof t!="object"||Object.keys(t).length===0?null:p.createElement(An.Provider,{value:n},p.createElement(ts.Provider,{value:c},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas","data-json-schema-level":a},p.createElement(u,{expanded:s,onChange:d},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),p.createElement(l,{expanded:s,onClick:h}),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&p.createElement(p.Fragment,null,Object.entries(t).map((([g,v])=>p.createElement("li",{key:g,className:"json-schema-2020-12-property"},p.createElement(f,{name:g,schema:v})))))))))},C5=({schema:e})=>{const t=(e==null?void 0:e.prefixItems)||[],r=Gt(),n="prefixItems",{path:s}=pn(n),{isExpanded:i,setExpanded:o,setCollapsed:a}=ys(n),[c,u]=Xn(),l=qe("Accordion"),f=qe("ExpandDeepButton"),d=qe("JSONSchema"),h=qe("KeywordType"),g=we.useCallback((()=>{i?a():o()}),[i,o,a]),v=we.useCallback(((y,E)=>{E?o({deep:!0}):a({deep:!0})}),[o,a]);return Array.isArray(t)&&t.length!==0?p.createElement(An.Provider,{value:s},p.createElement(ts.Provider,{value:u},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems","data-json-schema-level":c},p.createElement(l,{expanded:i,onChange:g},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),p.createElement(f,{expanded:i,onClick:v}),p.createElement(h,{schema:{prefixItems:t}}),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&p.createElement(p.Fragment,null,t.map(((y,E)=>p.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},p.createElement(d,{name:`#${E} ${r.getTitle(y)}`,schema:y}))))))))):null},R5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"items"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},p.createElement(r,{name:n,schema:e.items,identifier:"items"}))},T5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"contains"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},p.createElement(r,{name:n,schema:e.contains,identifier:"contains"}))},I5=({schema:e})=>
285{const t=Gt(),r=(e==null?void 0:e.properties)||{},n=Array.isArray(e==null?void 0:e.required)?e.required:[],s=qe("JSONSchema"),{path:i}=pn("properties");return Object.keys(r).length===0?null:p.createElement(An.Provider,{value:i},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},p.createElement("ul",null,Object.entries(r).map((([o,a])=>{const c=n.includes(o),u=t.getDependentRequired(o,e);return p.createElement("li",{key:o,className:Nt("json-schema-2020-12-property",{"json-schema-2020-12-property--required":c})},p.createElement(s,{name:o,schema:a,dependentRequired:u}))})))))},P5=({schema:e})=>{const t=(e==null?void 0:e.patternProperties)||{},r=qe("JSONSchema"),{path:n}=pn("patternProperties");return Object.keys(t).length===0?null:p.createElement(An.Provider,{value:n},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},p.createElement("ul",null,Object.entries(t).map((([s,i])=>p.createElement("li",{key:s,className:"json-schema-2020-12-property"},p.createElement(r,{name:s,schema:i})))))))},j5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"additionalProperties"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},e.additionalProperties===!0?p.createElement(p.Fragment,null,n,p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):e.additionalProperties===!1?p.createElement(p.Fragment,null,n,p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):p.createElement(r,{name:n,schema:e.additionalProperties,identifier:"additionalProperties"}))},k5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema"),n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names");return t.hasKeyword(e,"propertyNames")?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},p.createElement(r,{name:n,schema:e.propertyNames,identifier:"propertyNames"})):null},N5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"unevaluatedItems"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},p.createElement(r,{name:n,schema:e.unevaluatedItems,identifier:"unevaluatedItems"}))},M5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"unevaluatedProperties"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},p.createElement(r,{name:n,schema:e.unevaluatedProperties,identifier:"unevaluatedProperties"}))},D5=({schema:e,isCircular:t=!1})=>{const r=Gt().getType(e),n=t?" [circular]":"";return p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},`${r}${n}`)},$5=({schema:e})=>{const t=qe("JSONViewer");return Array.isArray(e==null?void 0:e.enum)?p.createElement(t,{name:"Enum",value:e.enum,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"}):null},F5=({schema:e})=>{const t=Gt(),r=qe("JSONViewer");return t.hasKeyword(e,"const")?p.createElement(r,{name:"Const",value:e.const,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"}):null};
285const q5=e=>typeof e=="string"?`${e.charAt(0).toUpperCase()}${e.slice(1)}`:e,B5=e=>(t,{lookup:r="extended"}={})=>{const n=e();if((t==null?void 0:t.title)!=null)return n.upperFirst(String(t.title));if(r==="extended"){if((t==null?void 0:t.$anchor)!=null)return n.upperFirst(String(t.$anchor));if((t==null?void 0:t.$id)!=null)return String(t.$id)}return""},L5=e=>{const t=(r,n=new WeakSet)=>{const s=e();if(r==null)return"any";if(s.isBooleanJSONSchema(r))return r?"any":"never";if(typeof r!="object"||n.has(r))return"any";n.add(r);const{type:i,prefixItems:o,items:a}=r,c=()=>{if(Array.isArray(o)){const f=o.map((h=>t(h,n))),d=a?t(a,n):"any";return`array<[${f.join(", ")}], ${d}>`}return a?`array<${t(a,n)}>`:"array<any>"};if(r.not&&t(r.not)==="any")return"never";const u=(f,d)=>Array.isArray(r[f])?`(${r[f].map((h=>t(h,n))).join(d)})`:null,l=[Array.isArray(i)?i.map((f=>f==="array"?c():f)).join(" | "):i==="array"?c():["null","boolean","object","array","number","integer","string"].includes(i)?i:(()=>{if(Object.hasOwn(r,"prefixItems")||Object.hasOwn(r,"items")||Object.hasOwn(r,"contains"))return c();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})(),u("oneOf"," | "),u("anyOf"," | "),u("allOf"," & ")].filter(Boolean).join(" | ");return n.delete(r),l||"any"};return t},U5=e=>typeof e=="boolean",V5=(e,t)=>e!==null&&typeof e=="object"&&Object.hasOwn(e,t),z5=e=>t=>{const r=e();return(t==null?void 0:t.$schema)||(t==null?void 0:t.$vocabulary)||(t==null?void 0:t.$id)||(t==null?void 0:t.$anchor)||(t==null?void 0:t.$dynamicAnchor)||(t==null?void 0:t.$ref)||(t==null?void 0:t.$dynamicRef)||(t==null?void 0:t.$defs)||(t==null?void 0:t.$comment)||(t==null?void 0:t.allOf)||(t==null?void 0:t.anyOf)||(t==null?void 0:t.oneOf)||r.hasKeyword(t,"not")||r.hasKeyword(t,"if")||r.hasKeyword(t,"then")||r.hasKeyword(t,"else")||(t==null?void 0:t.dependentSchemas)||(t==null?void 0:t.prefixItems)||r.hasKeyword(t,"items")||r.hasKeyword(t,"contains")||(t==null?void 0:t.properties)||(t==null?void 0:t.patternProperties)||r.hasKeyword(t,"additionalProperties")||r.hasKeyword(t,"propertyNames")||r.hasKeyword(t,"unevaluatedItems")||r.hasKeyword(t,"unevaluatedProperties")||(t==null?void 0:t.description)||(t==null?void 0:t.enum)||r.hasKeyword(t,"const")||r.hasKeyword(t,"contentSchema")||r.hasKeyword(t,"default")||(t==null?void 0:t.examples)||r.getExtensionKeywords(t).length>0},W5=e=>e===null||["number","bigint","boolean"].includes(typeof e)?String(e):Array.isArray(e)?`[${e.map(W5).join(", ")}]`:JSON.stringify(e),$l=(e,t,r)=>{const n=typeof t=="number",s=typeof r=="number";return n&&s?t===r?`${t} ${e}`:`[${t}, ${r}] ${e}`:n?`⥠${t} ${e}`:s?`⤠${r} ${e}`:null},k1e=e=>{const t=[],r=(c=>{if(typeof(c==null?void 0:c.multipleOf)!="number"||c.multipleOf<=0||c.multipleOf===1)return null;const{multipleOf:u}=c;if(Number.isInteger(u))return`multiple of ${u}`;const l=10**u.toString().split(".")[1].length;return`multiple of ${u*l}/${l}`})(e);r!==null&&t.push({scope:"number",value:r});const n=(c=>{const u=c==null?void 0:c.minimum,l=c==null?void 0:c.maximum,f=c==null?void 0:c.exclusiveMinimum,d=c==null?void 0:c.exclusiveMaximum,h=typeof u=="number",g=typeof l=="number",v=typeof f=="number",y=typeof d=="number",E=v&&(!h||u<f),b=y&&(!g||l>d);
285return(h||v)&&(g||y)?`${E?"(":"["}${E?f:u}, ${b?d:l}${b?")":"]"}`:h||v?`${E?">":"â¥"} ${E?f:u}`:g||y?`${b?"<":"â¤"} ${b?d:l}`:null})(e);n!==null&&t.push({scope:"number",value:n}),e!=null&&e.format&&t.push({scope:"string",value:e.format});const s=$l("characters",e==null?void 0:e.minLength,e==null?void 0:e.maxLength);s!==null&&t.push({scope:"string",value:s}),e!=null&&e.pattern&&t.push({scope:"string",value:`matches ${e==null?void 0:e.pattern}`}),e!=null&&e.contentMediaType&&t.push({scope:"string",value:`media type: ${e.contentMediaType}`}),e!=null&&e.contentEncoding&&t.push({scope:"string",value:`encoding: ${e.contentEncoding}`});const i=$l(e!=null&&e.uniqueItems?"unique items":"items",e==null?void 0:e.minItems,e==null?void 0:e.maxItems);i!==null&&t.push({scope:"array",value:i}),e!=null&&e.uniqueItems&&!i&&t.push({scope:"array",value:"unique"});const o=$l("contained items",e==null?void 0:e.minContains,e==null?void 0:e.maxContains);o!==null&&t.push({scope:"array",value:o});const a=$l("properties",e==null?void 0:e.minProperties,e==null?void 0:e.maxProperties);return a!==null&&t.push({scope:"object",value:a}),t},N1e=(e,t)=>t!=null&&t.dependentRequired?Array.from(Object.entries(t.dependentRequired).reduce(((r,[n,s])=>(Array.isArray(s)&&s.includes(e)&&r.add(n),r)),new Set)):[],zh=e=>typeof e=="object"&&e!==null&&!Array.isArray(e)&&(Object.getPrototypeOf(e)===null||Object.getPrototypeOf(e)===Object.prototype),J5=()=>["$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"],H5=e=>t=>{const r=e().getSchemaKeywords();return zh(t)?((n,s)=>{const i=new Set(s);return n.filter((o=>!i.has(o)))})(Object.keys(t),r):[]},M1e=(e,t)=>{const r=Z.Map.isMap(e);if(!r&&!zh(e))return!1;const n=i=>t===i||Array.isArray(t)&&t.includes(i),s=r?e.get("type"):e.type;return Z.List.isList(s)||Array.isArray(s)?s.some((i=>n(i))):n(s)},D1e=({constraint:e})=>zh(e)&&typeof e.scope=="string"&&typeof e.value=="string"?p.createElement("span",{className:`json-schema-2020-12__constraint json-schema-2020-12__constraint--${e.scope}`},e.value):null;var K5=p.memo(D1e),G5=({dependentRequired:e})=>Array.isArray(e)&&e.length!==0?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),p.createElement("ul",null,e.map((t=>p.createElement("li",{key:t},p.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},t)))))):null,Y5=({schema:e})=>{const t=Gt(),r=qe("JSONSchema");if(!t.hasKeyword(e,"contentSchema"))return null;const n=p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema");return p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},p.createElement(r,{name:n,schema:e.contentSchema,identifier:"contentSchema"}))},X5=({title:e="",schema:t})=>{const r=Gt(),n=e||r.getTitle(t);return n?p.createElement("div",{className:"json-schema-2020-12__title"},n):null},Z5=({schema:e})=>e!=null&&e.description?p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},p.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},e.description)):null,Q5=({schema:e})=>{const t=Gt(),r=qe("JSONViewer");return t.hasKeyword(e,"default")?p.createElement(r,{name:"Default",value:e.default,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"}):null},e7=({schema:e})=>(e==null?void 0:e.deprecated)!==!0?null:p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),t7=({schema:e})=>(e==null?void 0:e.readOnly)!==!0?null:p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),r7=({schema:e})=>(e==null?void 0:e.writeOnly)!==!0?null:p.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),n7=({schema:e})=>{const t=(e==null?void 0:e.examples)||[],r=qe("JSONViewer");return Array.isArray(t)&&t.length!==0?p.createElement(r,{name:"Examples",value:e.examples,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--examples"}):null},s7=({schema:e})=>{const t=Gt(),r="ExtensionKeywords",{path:n}=pn(r),{isExpanded:s,setExpanded:i,setCollapsed:o}=ys(r),[a,c]=Xn(),u=qe("Accordion"),l=qe("ExpandDeepButton"),f=qe("JSONViewer"),{showExtensionKeywords:d}=NO(),h=t.getExtensionKeywords(e),g=we.useCallback((()=>{s?o():i()}),[s,i,o]),v=we.useCallback(((y,E)=>{E?i({deep:!0}):o({deep:!0})}),[i,o]);return d&&h.length!==0?p.createElement(An.Provider,{value:n},p.createElement(ts.Provider,{value:c},p.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--extension-keywords","data-json-schema-level":a},p.createElement(u,{expanded:s,onChange:g},p.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--extension"},"Extension Keywords")),p.createElement(l,{expanded:s,onClick:v}),p.createElement("ul",{className:Nt("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&p.createElement(p.Fragment,null,h.map((y=>p.createElement(f,{key:y,name:y,value:e[y],className:"json-schema-2020-12-json-viewer-extension-keyword"})))))))):null};const Cx=({name:e,value:t,className:r})=>{const n=Gt(),{path:s}=pn(e),{isExpanded:i,setExpanded:o,setCollapsed:a}=ys(e),[c,u]=Xn(),l=qe("Accordion"),f=qe("ExpandDeepButton"),d=typeof t=="string"||typeof t=="number"||typeof t=="bigint"||typeof t=="boolean"||typeof t=="symbol"||t==null,h=(y=>zh(y)&&Object.keys(y).length===0)(t)||(y=>Array.isArray(y)&&y.length===0)(t),g=we.useCallback((()=>{i?a():o()}),[i,o,a]),v=we.useCallback(((y,E)=>{E?o({deep:!0}):a({deep:!0})}),[o,a]);return d?p.createElement("div",{className:Nt("json-schema-2020-12-json-viewer",r)},p.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},e),p.createElement("span",{className:"json-schema-2020-12-json-viewer__value json-schema-2020-12-json-viewer__value--secondary"},n.stringify(t))):h?p.createElement("div",{className:Nt("json-schema-2020-12-json-viewer",r)},p.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},e),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(t)?"empty array":"empty object")):p.createElement(An.Provider,{value:s},p.createElement(ts.Provider,{value:u},p.createElement("div",{className:Nt("json-schema-2020-12-json-viewer",r),"data-json-schema-level":c},p.createElement(l,{expanded:i,onChange:g},p.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},e)),p.createElement(f,{expanded:i,onClick:v}),p.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(t)?"array":"object"),p.createElement("ul",{className:Nt("json-schema-2020-12-json-viewer__children",{"json-schema-2020-12-json-viewer__children--collapsed":!i})},i&&p.createElement(p.Fragment,null,Array.isArray(t)?t.map(((y,E)=>p.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},p.createElement(Cx,{name:`#${E}`,value:y,className:r})))):Object.entries(t).map((([y,E])=>p.createElement("li",{key:y,className:"json-schema-2020-12-property"},p.createElement(Cx,{name:y,value:E,className:r})))))))))};var i7=Cx,o7=({expanded:e=!1,children:t,onChange:r})=>{const n=qe("ChevronRightIcon"),s=we.useCallback((i=>{r(i,!e)}),[e,r]);return p.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:s},p.createElement("div",{className:"json-schema-2020-12-accordion__children"},t),p.createElement("span",{className:Nt("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":e,"json-schema-2020-12-accordion__icon--collapsed":!e})},p.createElement(n,null)))},a7=({expanded:e,onClick:t})=>{const r=we.useCallback((n=>{t(n,!e)}),[e,t]);return p.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:r},e?"Collapse all":"Expand all")},c7=()=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},p.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}));const u7=(e,t={})=>{const r={components:{JSONSchema:u5,Keyword$schema:l5,Keyword$vocabulary:f5,Keyword$id:p5,Keyword$anchor:h5,Keyword$dynamicAnchor:d5,Keyword$ref:m5,Keyword$dynamicRef:g5,Keyword$defs:y5,Keyword$comment:v5,KeywordAllOf:b5,KeywordAnyOf:E5,KeywordOneOf:S5,KeywordNot:_5,KeywordIf:w5,KeywordThen:x5,KeywordElse:A5,KeywordDependentSchemas:O5,KeywordPrefixItems:C5,KeywordItems:R5,KeywordContains:T5,KeywordProperties:I5,KeywordPatternProperties:P5,KeywordAdditionalProperties:j5,KeywordPropertyNames:k5,KeywordUnevaluatedItems:N5,KeywordUnevaluatedProperties:M5,KeywordType:D5,KeywordEnum:$5,KeywordConst:F5,KeywordConstraint:K5,KeywordDependentRequired:G5,KeywordContentSchema:Y5,KeywordTitle:X5,KeywordDescription:Z5,KeywordDefault:Q5,KeywordDeprecated:e7,KeywordReadOnly:t7,KeywordWriteOnly:r7,KeywordExamples:n7,ExtensionKeywords:s7,JSONViewer:i7,Accordion:o7,ExpandDeepButton:a7,ChevronRightIcon:c7,...t.components},config:{default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,showExtensionKeywords:!0,...t.config},fn:{upperFirst:q5,getTitle:B5(Gt),getType:L5(Gt),isBooleanJSONSchema:U5,hasKeyword:V5,isExpandable:z5(Gt),stringify:W5,stringifyConstraints:k1e,getDependentRequired:N1e,getSchemaKeywords:J5,getExtensionKeywords:H5(Gt),...t.fn},state:{paths:{}}},n=s=>p.createElement(bo.Provider,{value:r},p.createElement(e,s));return n.contexts={JSONSchemaContext:bo},n.displayName=e.displayName,n},$1e=({getSystem:e})=>(t,r={})=>{const{getComponent:n,getConfigs:s}=e(),i=s(),o=n("JSONSchema202012"),a=n("JSONSchema202012Keyword$schema"),c=n("JSONSchema202012Keyword$vocabulary"),u=n("JSONSchema202012Keyword$id"),l=n("JSONSchema202012Keyword$anchor"),f=n("JSONSchema202012Keyword$dynamicAnchor"),d=n("JSONSchema202012Keyword$ref"),h=n("JSONSchema202012Keyword$dynamicRef"),g=n("JSONSchema202012Keyword$defs"),v=n("JSONSchema202012Keyword$comment"),y=n("JSONSchema202012KeywordAllOf"),E=n("JSONSchema202012KeywordAnyOf"),b=n("JSONSchema202012KeywordOneOf"),S=n("JSONSchema202012KeywordNot"),_=n("JSONSchema202012KeywordIf"),x=n("JSONSchema202012KeywordThen"),A=n("JSONSchema202012KeywordElse"),O=n("JSONSchema202012KeywordDependentSchemas"),I=n("JSONSchema202012KeywordPrefixItems"),R=n("JSONSchema202012KeywordItems"),$=n("JSONSchema202012KeywordContains"),M=n("JSONSchema202012KeywordProperties"),q=n("JSONSchema202012KeywordPatternProperties"),N=n("JSONSchema202012KeywordAdditionalProperties"),U=n("JSONSchema202012KeywordPropertyNames"),X=n("JSONSchema202012KeywordUnevaluatedItems"),J=n("JSONSchema202012KeywordUnevaluatedProperties"),ee=n("JSONSchema202012KeywordType"),ne=n("JSONSchema202012KeywordEnum"),re=n("JSONSchema202012KeywordConst"),Y=n("JSONSchema202012KeywordConstraint"),ie=n("JSONSchema202012KeywordDependentRequired"),
285ce=n("JSONSchema202012KeywordContentSchema"),ge=n("JSONSchema202012KeywordTitle"),de=n("JSONSchema202012KeywordDescription"),ae=n("JSONSchema202012KeywordDefault"),W=n("JSONSchema202012KeywordDeprecated"),V=n("JSONSchema202012KeywordReadOnly"),fe=n("JSONSchema202012KeywordWriteOnly"),ye=n("JSONSchema202012KeywordExamples"),De=n("JSONSchema202012ExtensionKeywords"),Fe=n("JSONSchema202012JSONViewer"),Re=n("JSONSchema202012Accordion"),ke=n("JSONSchema202012ExpandDeepButton"),Je=n("JSONSchema202012ChevronRightIcon");return u7(t,{components:{JSONSchema:o,Keyword$schema:a,Keyword$vocabulary:c,Keyword$id:u,Keyword$anchor:l,Keyword$dynamicAnchor:f,Keyword$ref:d,Keyword$dynamicRef:h,Keyword$defs:g,Keyword$comment:v,KeywordAllOf:y,KeywordAnyOf:E,KeywordOneOf:b,KeywordNot:S,KeywordIf:_,KeywordThen:x,KeywordElse:A,KeywordDependentSchemas:O,KeywordPrefixItems:I,KeywordItems:R,KeywordContains:$,KeywordProperties:M,KeywordPatternProperties:q,KeywordAdditionalProperties:N,KeywordPropertyNames:U,KeywordUnevaluatedItems:X,KeywordUnevaluatedProperties:J,KeywordType:ee,KeywordEnum:ne,KeywordConst:re,KeywordConstraint:Y,KeywordDependentRequired:ie,KeywordContentSchema:ce,KeywordTitle:ge,KeywordDescription:de,KeywordDefault:ae,KeywordDeprecated:W,KeywordReadOnly:V,KeywordWriteOnly:fe,KeywordExamples:ye,ExtensionKeywords:De,JSONViewer:Fe,Accordion:Re,ExpandDeepButton:ke,ChevronRightIcon:Je,...r.components},config:{showExtensionKeywords:i.showExtensions,...r.config},fn:{...r.fn}})};var l7=({getSystem:e,fn:t})=>{const r=()=>({upperFirst:t.upperFirst,...t.jsonSchema202012});return{components:{JSONSchema202012:u5,JSONSchema202012Keyword$schema:l5,JSONSchema202012Keyword$vocabulary:f5,JSONSchema202012Keyword$id:p5,JSONSchema202012Keyword$anchor:h5,JSONSchema202012Keyword$dynamicAnchor:d5,JSONSchema202012Keyword$ref:m5,JSONSchema202012Keyword$dynamicRef:g5,JSONSchema202012Keyword$defs:y5,JSONSchema202012Keyword$comment:v5,JSONSchema202012KeywordAllOf:b5,JSONSchema202012KeywordAnyOf:E5,JSONSchema202012KeywordOneOf:S5,JSONSchema202012KeywordNot:_5,JSONSchema202012KeywordIf:w5,JSONSchema202012KeywordThen:x5,JSONSchema202012KeywordElse:A5,JSONSchema202012KeywordDependentSchemas:O5,JSONSchema202012KeywordPrefixItems:C5,JSONSchema202012KeywordItems:R5,JSONSchema202012KeywordContains:T5,JSONSchema202012KeywordProperties:I5,JSONSchema202012KeywordPatternProperties:P5,JSONSchema202012KeywordAdditionalProperties:j5,JSONSchema202012KeywordPropertyNames:k5,JSONSchema202012KeywordUnevaluatedItems:N5,JSONSchema202012KeywordUnevaluatedProperties:M5,JSONSchema202012KeywordType:D5,JSONSchema202012KeywordEnum:$5,JSONSchema202012KeywordConst:F5,JSONSchema202012KeywordConstraint:K5,JSONSchema202012KeywordDependentRequired:G5,JSONSchema202012KeywordContentSchema:Y5,JSONSchema202012KeywordTitle:X5,JSONSchema202012KeywordDescription:Z5,JSONSchema202012KeywordDefault:Q5,JSONSchema202012KeywordDeprecated:e7,JSONSchema202012KeywordReadOnly:t7,JSONSchema202012KeywordWriteOnly:r7,JSONSchema202012KeywordExamples:n7,JSONSchema202012ExtensionKeywords:s7,JSONSchema202012JSONViewer:i7,JSONSchema202012Accordion:o7,JSONSchema202012ExpandDeepButton:a7,JSONSchema202012ChevronRightIcon:c7,withJSONSchema202012Context:u7,withJSONSchema202012SystemContext:$1e(e()),JSONSchema202012PathContext:()=>An,JSONSchema202012LevelContext:()=>ts},fn:{upperFirst:q5,jsonSchema202012:{getTitle:B5(r),getType:L5(r),isExpandable:z5(r),isBooleanJSONSchema:U5,hasKeyword:V5,useFn:Gt,useConfig:NO,useComponent:qe,useIsExpanded:ys,usePath:pn,useLevel:Xn,getSchemaKeywords:J5,getExtensionKeywords:H5(r),hasSchemaType:M1e}}}},F1e=(e,{sample:t=[]}={})=>((r,n={})=>{const{minItems:s,maxItems:i,uniqueItems:o}=n,{contains:a,minContains:c,maxContains:u}=n;let l=[...r];if(a!=null&&typeof a=="object"&&Number.isInteger(c)&&c>1){const f=l.at(0);for(let d=1;d<c;d+=1)l.unshift(f)}if(Number.isInteger(i)&&i>0&&(l=r.slice(0,i)),Number.isInteger(s)&&s>0)for(let f=0;l.length<s;
285f+=1)l.push(l[f%l.length]);return o===!0&&(l=Array.from(new Set(l))),l})(t,e),q1e=()=>{throw new Error("Not implemented")};const Wh=e=>oa()(e),Ql=e=>e.at(0),so=e=>typeof e=="boolean",os=e=>Ps(e),Gs=e=>so(e)||os(e);var Jh=class{constructor(){G(this,"data",{})}register(t,r){this.data[t]=r}unregister(t){t===void 0?this.data={}:delete this.data[t]}get(t){return this.data[t]}},f7=()=>0,p7=()=>0,B1e=()=>.1,L1e=()=>.1,U1e=()=>"[email protected]",V1e=()=>"ì¤ë¡@example.com",z1e=()=>"example.com",W1e=()=>"ì¤ë¡.com",J1e=()=>"198.51.100.42",H1e=()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",K1e=()=>"https://example.com/",G1e=()=>"path/index.html",Y1e=()=>"https://ì¤ë¡.com/",X1e=()=>"path/ì¤ë¡.html",Z1e=()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",Q1e=()=>"https://example.com/dictionary/{term:1}/{term}",e_e=()=>"/a/b/c",t_e=()=>"1/0",r_e=()=>new Date().toISOString(),n_e=()=>new Date().toISOString().substring(0,10),s_e=()=>new Date().toISOString().substring(11),i_e=()=>"P3D",o_e=()=>"********",a_e=()=>"^[a-z]+$",jc,oq;const ef=new(oq=class extends Jh{constructor(){super(...arguments);Js(this,jc,{int32:f7,int64:p7,float:B1e,double:L1e,email:U1e,"idn-email":V1e,hostname:z1e,"idn-hostname":W1e,ipv4:J1e,ipv6:H1e,uri:K1e,"uri-reference":G1e,iri:Y1e,"iri-reference":X1e,uuid:Z1e,"uri-template":Q1e,"json-pointer":e_e,"relative-json-pointer":t_e,"date-time":r_e,date:n_e,time:s_e,duration:i_e,password:o_e,regex:a_e});G(this,"data",{...nr(this,jc)})}get defaults(){return{...nr(this,jc)}}},jc=new WeakMap,oq),h7=(e,t)=>typeof t=="function"?ef.register(e,t):t===null?ef.unregister(e):ef.get(e);h7.getDefaults=()=>ef.defaults;var Hh=h7,c_e=Ge(287).Buffer,u_e=e=>c_e.from(e).toString("ascii"),l_e=Ge(287).Buffer,f_e=e=>l_e.from(e).toString("utf8"),p_e=Ge(287).Buffer,h_e=e=>p_e.from(e).toString("binary"),d_e=e=>{let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);if(n===61)t+="=3D";else if(n>=33&&n<=60||n>=62&&n<=126||n===9||n===32)t+=e.charAt(r);else if(n===13||n===10)t+=`\r 286`;else if(n>126){const s=unescape(encodeURIComponent(e.charAt(r)));for(let i=0;i<s.length;i++)t+="="+("0"+s.charCodeAt(i).toString(16)).slice(-2).toUpperCase()}else t+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return t},m_e=Ge(287).Buffer,g_e=e=>m_e.from(e).toString("hex"),y_e=Ge(287).Buffer,v_e=e=>{const t=y_e.from(e).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let n=0,s="",i=0,o=0;for(let a=0;a<t.length;a++)for(i=i<<8|t.charCodeAt(a),o+=8;o>=5;)s+=r.charAt(i>>>o-5&31),o-=5;o>0&&(s+=r.charAt(i<<5-o&31),n=(8-8*t.length%5)%5);for(let a=0;a<n;a++)s+="=";return s},b_e=Ge(287).Buffer,E_e=e=>b_e.from(e).toString("base64"),S_e=Ge(287).Buffer,__e=e=>S_e.from(e).toString("base64url"),kc,aq;const tf=new(aq=class extends Jh{constructor(){super(...arguments);Js(this,kc,{"7bit":u_e,"8bit":f_e,binary:h_e,"quoted-printable":d_e,base16:g_e,base32:v_e,base64:E_e,base64url:__e});G(this,"data",{...nr(this,kc)})}get defaults(){return{...nr(this,kc)}}},kc=new WeakMap,aq),d7=(e,t)=>typeof t=="function"?tf.register(e,t):t===null?tf.unregister(e):tf.get(e);d7.getDefaults=()=>tf.defaults;var m7=d7,w_e={"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_e={"image/*":()=>Wh(25).toString("binary")},A_e={"audio/*":()=>Wh(25).toString("binary")},O_e={"video/*":()=>Wh(25).toString("binary")},C_e={"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/*":()=>Wh(25).toString("binary")},Nc,cq;const Qo=new(cq=class extends Jh{constructor(){super(...arguments);Js(this,Nc,{...w_e,...x_e,...A_e,...O_e,...C_e});G(this,"data",{...nr(this,Nc)})}get defaults(){return{...nr(this,Nc)}}},Nc=new WeakMap,cq),g7=(e,t)=>{if(typeof t=="function")return Qo.register(e,t);if(t===null)return Qo.unregister(e);const r=e.split(";").at(0),n=`${r.split("/").at(0)}/*`;return Qo.get(e)||Qo.get(r)||Qo.get(n)};g7.getDefaults=()=>Qo.defaults;var y7=g7;const d_=(e,t={})=>{const{maxLength:r,minLength:n}=t;let s=e;if(Number.isInteger(r)&&r>0&&(s=s.slice(0,r)),Number.isInteger(n)&&n>0){let i=0;for(;s.length<n;)s+=s[i++%s.length]}return s};var R_e=(e,{sample:t}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:s}=e,{pattern:i,format:o}=e,a=m7(r)||H4;let c;return c=typeof i=="string"?d_((u=>{try{const l=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),f=u.replace(l,"100"),d=new OL(f);return d.max=100,d.gen()}catch{return"string"}}
286)(i),e):typeof o=="string"?(u=>{const{format:l}=u,f=Hh(l);return typeof f=="function"?f(u):"string"})(e):Gs(s)&&typeof n=="string"&&t!==void 0?Array.isArray(t)||typeof t=="object"?JSON.stringify(t):d_(String(t),e):typeof n=="string"?(u=>{const{contentMediaType:l}=u,f=y7(l);return typeof f=="function"?f(u):"string"})(e):d_("string",e),a(c)};const v7=(e,t={})=>{const{minimum:r,maximum:n,exclusiveMinimum:s,exclusiveMaximum:i}=t,{multipleOf:o}=t,a=Number.isInteger(e)?1:Number.EPSILON;let c=typeof r=="number"?r:null,u=typeof n=="number"?n:null,l=e;if(typeof s=="number"&&(c=c!==null?Math.max(c,s+a):s+a),typeof i=="number"&&(u=u!==null?Math.min(u,i-a):i-a),l=c>u&&e||c||u||l,typeof o=="number"&&o>0){const f=l%o;l=f===0?l:l+o-f}return l};var T_e=e=>{const{format:t}=e;let r;return r=typeof t=="string"?(n=>{const{format:s}=n,i=Hh(s);return typeof i=="function"?i(n):0})(e):0,v7(r,e)},I_e=e=>{const{format:t}=e;let r;return r=typeof t=="string"?(n=>{const{format:s}=n,i=Hh(s);if(typeof i=="function")return i(n);switch(s){case"int32":return f7();case"int64":return p7()}return 0})(e):0,v7(r,e)},P_e=e=>typeof e.default!="boolean"||e.default,Fl=new Proxy({array:F1e,object:q1e,string:R_e,number:T_e,integer:I_e,boolean:P_e,null:()=>null},{get:(e,t)=>typeof t=="string"&&Object.hasOwn(e,t)?e[t]:()=>`Unknown Type: ${t}`});const QF=["array","object","number","integer","string","boolean","null"],cc=e=>{if(!os(e))return!1;const{examples:t,example:r,default:n}=e;return!!(Array.isArray(t)&&t.length>=1)||n!==void 0||r!==void 0},Rx=e=>{if(!os(e))return null;const{examples:t,example:r,default:n}=e;return Array.isArray(t)&&t.length>=1?t.at(0):n!==void 0?n:r!==void 0?r:void 0},Pf={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"]};Pf.number=Pf.integer;const m_="string",eq=e=>e===void 0?null:e===null?"null":Array.isArray(e)?"array":Number.isInteger(e)?"integer":typeof e,rf=e=>{if(Array.isArray(e)&&e.length>=1){if(e.includes("array"))return"array";if(e.includes("object"))return"object";{const t=e.filter((n=>n!=="null")),r=Ql(t.length>0?t:e);if(QF.includes(r))return r}}return QF.includes(e)?e:null},Tx=(e,t=new WeakSet)=>{if(!os(e)||t.has(e))return m_;t.add(e);let{type:r,const:n}=e;if(r=rf(r),typeof r!="string"){const s=Object.keys(Pf);e:for(let i=0;i<s.length;i+=1){const o=s[i],a=Pf[o];for(let c=0;c<a.length;c+=1){const u=a[c];if(Object.hasOwn(e,u)){r=o;break e}}}}if(typeof r!="string"&&n!==void 0){const s=eq(n);r=typeof s=="string"?s:r}if(typeof r!="string"){const s=u=>{if(Array.isArray(e[u])){const l=e[u].map((f=>Tx(f,t)));return rf(l)}return null},i=s("allOf"),o=s("anyOf"),a=s("oneOf"),c=e.not?Tx(e.not,t):null;(i||o||a||c)&&(r=rf([i,o,a,c].filter(Boolean)))}if(typeof r!="string"&&cc(e)){const s=Rx(e),i=eq(s);r=typeof i=="string"?i:r}return t.delete(e),r||m_},tq=e=>Tx(e),g_=e=>so(e)?(t=>t===!1?{not:{}}:{})(e):os(e)?e:{},uc=(e,t,r={})=>{if(so(e)&&e===!0)return!0;if(so(e)&&e===!1)return!1;if(so(t)&&t===!0)return!0;if(so(t)&&t===!1)return!1;if(!Gs(e))return t;if(!Gs(t))return e;const n={...t,...e};
286if(t.type&&e.type&&Array.isArray(t.type)&&typeof t.type=="string"){const s=Po(t.type).concat(e.type);n.type=Array.from(new Set(s))}if(Array.isArray(t.required)&&Array.isArray(e.required)&&(n.required=[...new Set([...e.required,...t.required])]),t.properties&&e.properties){const s=new Set([...Object.keys(t.properties),...Object.keys(e.properties)]);n.properties={};for(const i of s){const o=t.properties[i]||{},a=e.properties[i]||{};o.readOnly&&!r.includeReadOnly||o.writeOnly&&!r.includeWriteOnly?n.required=(n.required||[]).filter((c=>c!==i)):n.properties[i]=uc(a,o,r)}}return Gs(t.items)&&Gs(e.items)&&(n.items=uc(e.items,t.items,r)),Gs(t.contains)&&Gs(e.contains)&&(n.contains=uc(e.contains,t.contains,r)),Gs(t.contentSchema)&&Gs(e.contentSchema)&&(n.contentSchema=uc(e.contentSchema,t.contentSchema,r)),n};var ea=uc;const jr=(e,t={},r=void 0,n=!1)=>{var M,q,N,U,X,J,ee,ne,re;if(e==null&&r===void 0)return;typeof(e==null?void 0:e.toJS)=="function"&&(e=e.toJS()),e=g_(e);let s=r!==void 0||cc(e);const i=!s&&Array.isArray(e.oneOf)&&e.oneOf.length>0,o=!s&&Array.isArray(e.anyOf)&&e.anyOf.length>0;if(!s&&(i||o)){const Y=g_(Ql(i?e.oneOf:e.anyOf));!(e=ea(e,Y,t)).xml&&Y.xml&&(e.xml=Y.xml),cc(e)&&cc(Y)&&(s=!0)}const a={};let{xml:c,properties:u,additionalProperties:l,items:f,contains:d}=e||{},h=tq(e),{includeReadOnly:g,includeWriteOnly:v}=t;c=c||{};let y,{name:E,prefix:b,namespace:S}=c,_={};Object.hasOwn(e,"type")||(e.type=h),n&&(E=E||"notagname",y=(b?`${b}:`:"")+E,S)&&(a[b?`xmlns:${b}`:"xmlns"]=S),n&&(_[y]=[]);const x=no(u);let A,O=0;const I=()=>Number.isInteger(e.maxProperties)&&e.maxProperties>0&&O>=e.maxProperties,R=Y=>!(Number.isInteger(e.maxProperties)&&e.maxProperties>0)||!I()&&(!(ie=>!Array.isArray(e.required)||e.required.length===0||!e.required.includes(ie))(Y)||e.maxProperties-O-(()=>{if(!Array.isArray(e.required)||e.required.length===0)return 0;let ie=0;return n?e.required.forEach((ce=>ie+=_[ce]===void 0?0:1)):e.required.forEach((ce=>{var ge;ie+=((ge=_[y])==null?void 0:ge.find((de=>de[ce]!==void 0)))===void 0?0:1})),e.required.length-ie})()>0);if(A=n?(Y,ie=void 0)=>{if(e&&x[Y]){if(x[Y].xml=x[Y].xml||{},x[Y].xml.attribute){const ge=Array.isArray(x[Y].enum)?Ql(x[Y].enum):void 0;if(cc(x[Y]))a[x[Y].xml.name||Y]=Rx(x[Y]);else if(ge!==void 0)a[x[Y].xml.name||Y]=ge;else{const de=g_(x[Y]),ae=tq(de),W=x[Y].xml.name||Y;if(ae==="array"){const V=jr(x[Y],t,ie,!1);a[W]=V.map((fe=>Ps(fe)?"UnknownTypeObject":Array.isArray(fe)?"UnknownTypeArray":fe)).join(" ")}else a[W]=ae==="object"?"UnknownTypeObject":Fl[ae](de)}return}x[Y].xml.name=x[Y].xml.name||Y}else x[Y]||l===!1||(x[Y]={xml:{name:Y}});let ce=jr(x[Y],t,ie,n);R(Y)&&(O++,Array.isArray(ce)?_[y]=_[y].concat(ce):_[y].push(ce))}:(Y,ie)=>{var ce;if(R(Y)){if(Ps((ce=e.discriminator)==null?void 0:ce.mapping)&&e.discriminator.propertyName===Y&&typeof e.$$ref=="string"){for(const ge in e.discriminator.mapping)if(e.$$ref.search(e.discriminator.mapping[ge])!==-1){_[Y]=ge;break}}else _[Y]=jr(x[Y],t,ie,n);O++}},s){let Y;if(Y=r!==void 0?r:Rx(e),!n){if(typeof Y=="number"&&h==="string")return`${Y}`;if(typeof Y!="string"||h==="string")return Y;try{return JSON.parse(Y)}catch{return Y}}if(h==="array"){if(!Array.isArray(Y)){if(typeof Y=="string")return Y;Y=[Y]}let ie=[];return os(f)&&(f.xml=f.xml||c||{},f.xml.name=f.xml.name||c.name,ie=Y.map((ce=>jr(f,t,ce,n)))),os(d)&&(d.xml=d.xml||c||{},d.xml.name=d.xml.name||c.name,ie=[jr(d,t,void 0,n),...ie]),ie=Fl.array(e,{sample:ie}),c.wrapped?(_[y]=ie,Ts(a)||_[y].push({_attr:a})):_=ie,_}if(h==="object"){if(typeof Y=="string")return Y;for(const ie in Y)Object.hasOwn(Y,ie)&&((M=x[ie])!=null&&M.readOnly&&!g||(q=x[ie])!=null&&q.writeOnly&&!v||((U=(N=x[ie])==null?void 0:N.xml)!=null&&U.attribute?a[x[ie].xml.name||ie]=Y[ie]:A(ie,Y[ie])));return Ts(a)||_[y].push({_attr:a}),_}return _[y]=Ts(a)?Y:[{_attr:a},Y],_}if(h==="array"){let Y=[];if(os(d))if(n&&(d.xml=d.xml||e.xml||{},d.xml.name=d.xml.name||c.name),Array.isArray(d.anyOf)){const{anyOf:ie,...ce}=f;Y.push(...d.anyOf.map((ge=>jr(ea(ge,ce,t),t,void 0,n))))}else if(Array.isArray(d.oneOf)){const{oneOf:ie,...ce}=f;Y.push(...d.oneOf.map((ge=>jr(ea(ge,ce,t),t,void 0,n))))}else{if(!(!n||n&&c.wrapped))return jr(d,t,void 0,n);Y.push(jr(d,t,void 0,n))}if(os(f))if(n&&(f.xml=f.xml||e.xml||{},f.xml.name=f.xml.name||c.name),Array.isArray(f.anyOf)){const{anyOf:ie,...ce}=f;Y.push(...f.anyOf.map((ge=>jr(ea(ge,ce,t),t,void 0,n))))}else if(Array.isArray(f.oneOf)){const{oneOf:ie,...ce}=f;Y.push(...f.oneOf.map((ge=>jr(ea(ge,ce,t),t,void 0,n))))}else{if(!(!n||n&&c.wrapped))return jr(f,t,void 0,n);Y.push(jr(f,t,void 0,n))}return Y=Fl.array(e,{sample:Y}),n&&c.wrapped?(_[y]=Y,Ts(a)||_[y].push({_attr:a}),_):Y}if(h==="object"){for(let Y in x)Object.hasOwn(x,Y)&&((X=x[Y])!=null&&X.deprecated||(J=x[Y])!=null&&J.readOnly&&!g||(ee=x[Y])!=null&&ee.writeOnly&&!v||A(Y));if(n&&a&&_[y].push({_attr:a}),I())return _;if(so(l)&&l)n?_[y].push({additionalProp:"Anything can be here"}):_.additionalProp1={},O++;else if(os(l)){const Y=l,ie=jr(Y,t,void 0,n);if(n&&typeof((ne=Y==null?void 0:Y.xml)==null?void 0:ne.name)=="str
286ing"&&((re=Y==null?void 0:Y.xml)==null?void 0:re.name)!=="notagname")_[y].push(ie);else{const ce=(Y==null?void 0:Y["x-additionalPropertiesName"])||"additionalProp",ge=Number.isInteger(e.minProperties)&&e.minProperties>0&&O<e.minProperties?e.minProperties-O:3;for(let de=1;de<=ge;de++){if(I())return _;if(n){const ae={};ae[ce+de]=ie.notagname,_[y].push(ae)}else _[ce+de]=ie;O++}}}return _}let $;if(e.const!==void 0)$=e.const;else if(e&&Array.isArray(e.enum))$=Ql(Po(e.enum));else{const Y=os(e.contentSchema)?jr(e.contentSchema,t,void 0,n):void 0;$=Fl[h](e,{sample:Y})}return n?(_[y]=Ts(a)?$:[{_attr:a},$],_):$},b7=(e,t,r)=>{const n=jr(e,t,r,!0);if(n)return typeof n=="string"?n:ZU()(n,{declaration:!0,indent:" "})},E7=(e,t,r)=>jr(e,t,r,!1),S7=(e,t,r)=>[e,JSON.stringify(t),JSON.stringify(r)],j_e=el(b7,S7),k_e=el(E7,S7);var Mc,uq;const rq=new(uq=class extends Jh{constructor(){super(...arguments);Js(this,Mc,{});G(this,"data",{...nr(this,Mc)})}get defaults(){return{...nr(this,Mc)}}},Mc=new WeakMap,uq);var N_e=(e,t)=>(t!==void 0&&rq.register(e,t),rq.get(e));const M_e=[{when:/json/,shouldStringifyTypes:["string"]}],D_e=["object"];var $_e=e=>(t,r,n,s)=>{const{fn:i}=e(),o=i.jsonSchema202012.memoizedSampleFromSchema(t,r,s),a=typeof o,c=M_e.reduce(((u,l)=>l.when.test(n)?[...u,...l.shouldStringifyTypes]:u),D_e);return uB(c,(u=>u===a))?JSON.stringify(o,null,2):o},F_e=e=>(t,r,n,s)=>{const{fn:i}=e(),o=i.jsonSchema202012.getJsonSampleSchema(t,r,n,s);let a;try{a=Gn.dump(Gn.load(o),{lineWidth:-1},{schema:po}),a[a.length-1]===` 287`&&(a=a.slice(0,a.length-1))}catch(c){return console.error(c),"error: could not generate yaml example"}return a.replace(/\t/g," ")},q_e=e=>(t,r,n)=>{const{fn:s}=e();if(t&&!t.xml&&(t.xml={}),t&&!t.xml.name){if(!t.$$ref&&(t.type||t.items||t.properties||t.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?> 288<!-- XML example cannot be generated; root element name is undefined -->`;if(t.$$ref){let i=t.$$ref.match(/\S*\/(\S+)$/);t.xml.name=i[1]}}return s.jsonSchema202012.memoizedCreateXMLExample(t,r,n)},B_e=e=>(t,r="",n={},s=void 0)=>{const{fn:i}=e();return typeof(t==null?void 0:t.toJS)=="function"&&(t=t.toJS()),typeof(s==null?void 0:s.toJS)=="function"&&(s=s.toJS()),/xml/.test(r)?i.jsonSchema202012.getXmlSampleSchema(t,n,s):/(yaml|yml)/.test(r)?i.jsonSchema202012.getYamlSampleSchema(t,n,r,s):i.jsonSchema202012.getJsonSampleSchema(t,n,r,s)},_7=({getSystem:e})=>{const t=$_e(e),r=F_e(e),n=q_e(e),s=B_e(e);return{fn:{jsonSchema202012:{sampleFromSchema:E7,sampleFromSchemaGeneric:jr,sampleOptionAPI:N_e,sampleEncoderAPI:m7,sampleFormatAPI:Hh,sampleMediaTypeAPI:y7,createXMLExample:b7,memoizedSampleFromSchema:k_e,memoizedCreateXMLExample:j_e,getJsonSampleSchema:t,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:s,mergeJsonSchema:ea,foldType:rf}}}};function w7(){return[e5,Ax,l7,_7,XSe,T1e]}var L_e=e=>()=>({fn:e.fn,components:e.components}),U_e=e=>{const t=Tc()({layout:{layout:e.layout,filter:e.filter},spec:{spec:"",url:e.url},requestSnippets:e.requestSnippets},e.initialState);if(e.initialState)for(const[r,n]of Object.entries(e.initialState))n===void 0&&delete t[r];return{system:{configs:e.configs},plugins:e.presets,state:t}},V_e=()=>e=>{const t=e.queryConfigEnabled?(()=>{const r=new URLSearchParams(Zt.location.search);return Object.fromEntries(r)})():{};return Object.entries(t).reduce(((r,[n,s])=>(n==="config"?r.configUrl=s:n==="urls.primaryName"?r[n]=s:r=TL(r,n,s),r)),{})},z_e=({url:e,system:t})=>async r=>{var s;if(!e)return{};if(typeof((s=t.configsActions)==null?void 0:s.getConfigByUrl)!="function")return{};const n=(()=>{const i={};return i.promise=new Promise(((o,a)=>{i.resolve=o,i.reject=a})),i})();return t.configsActions.getConfigByUrl({url:e,loadRemoteConfig:!0,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor},(i=>{n.resolve(i)})),n.promise},W_e=()=>()=>{const e={};return globalThis.location&&(e.oauth2RedirectUrl=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname.substring(0,globalThis.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`),e},sr=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:e=>(e.curlOptions=[],e),responseInterceptor:e=>e,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:[w7],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}),ql=(e,t=[])=>Array.isArray(e)?e:t,Vn=(e,t=!1)=>e===!0||e==="true"||e===1||e==="1"||e!==!1&&e!=="false"&&e!==0&&e!=="0"&&t,J_e=e=>e===null||e==="null"?null:e,H_e=e=>{const t=String(e);return Vn(e,t)},nq=(e,t)=>typeof e=="function"?e:t,K_e=e=>Array.isArray(e)?e:null,Bl=e=>typeof e=="function"?e:null,y_=e=>e===null||e==="null"?null:String(e),v_=(e,t=-1)=>{const r=parseInt(e,10);return Number.isNaN(r)?t:r},Go=(e,t={})=>Ps(e)?e:t,sq=e=>typeof e=="function"||typeof e=="string"?e:null,Yo=e=>String(e),G_e=(e,t)=>
288Ps(e)?e:e===!1||e==="false"||e===0||e==="0"?{activated:!1}:t,Y_e=e=>e===void 0||e==="undefined"?void 0:String(e),x7={components:{typeCaster:Go},configs:{typeCaster:Go},configUrl:{typeCaster:y_},deepLinking:{typeCaster:Vn,defaultValue:sr.deepLinking},defaultModelExpandDepth:{typeCaster:v_,defaultValue:sr.defaultModelExpandDepth},defaultModelRendering:{typeCaster:Yo},defaultModelsExpandDepth:{typeCaster:v_,defaultValue:sr.defaultModelsExpandDepth},displayOperationId:{typeCaster:Vn,defaultValue:sr.displayOperationId},displayRequestDuration:{typeCaster:Vn,defaultValue:sr.displayRequestDuration},docExpansion:{typeCaster:Yo},dom_id:{typeCaster:y_},domNode:{typeCaster:J_e},fileUploadMediaTypes:{typeCaster:ql,defaultValue:sr.fileUploadMediaTypes},filter:{typeCaster:H_e},fn:{typeCaster:Go},initialState:{typeCaster:Go},layout:{typeCaster:Yo},maxDisplayedTags:{typeCaster:v_,defaultValue:sr.maxDisplayedTags},modelPropertyMacro:{typeCaster:Bl},oauth2RedirectUrl:{typeCaster:Y_e},onComplete:{typeCaster:Bl},operationsSorter:{typeCaster:sq},paramaterMacro:{typeCaster:Bl},persistAuthorization:{typeCaster:Vn,defaultValue:sr.persistAuthorization},plugins:{typeCaster:ql,defaultValue:sr.plugins},presets:{typeCaster:ql,defaultValue:sr.presets},requestInterceptor:{typeCaster:nq,defaultValue:sr.requestInterceptor},requestSnippets:{typeCaster:Go,defaultValue:sr.requestSnippets},requestSnippetsEnabled:{typeCaster:Vn,defaultValue:sr.requestSnippetsEnabled},responseInterceptor:{typeCaster:nq,defaultValue:sr.responseInterceptor},showCommonExtensions:{typeCaster:Vn,defaultValue:sr.showCommonExtensions},showExtensions:{typeCaster:Vn,defaultValue:sr.showExtensions},showMutatedRequest:{typeCaster:Vn,defaultValue:sr.showMutatedRequest},spec:{typeCaster:Go,defaultValue:sr.spec},supportedSubmitMethods:{typeCaster:ql,defaultValue:sr.supportedSubmitMethods},syntaxHighlight:{typeCaster:G_e,defaultValue:sr.syntaxHighlight},"syntaxHighlight.activated":{typeCaster:Vn,defaultValue:sr.syntaxHighlight.activated},"syntaxHighlight.theme":{typeCaster:Yo},tagsSorter:{typeCaster:sq},tryItOutEnabled:{typeCaster:Vn,defaultValue:sr.tryItOutEnabled},url:{typeCaster:Yo},urls:{typeCaster:K_e},"urls.primaryName":{typeCaster:Yo},validatorUrl:{typeCaster:y_},withCredentials:{typeCaster:Vn,defaultValue:sr.withCredentials},uncaughtExceptionHandler:{typeCaster:Bl}},A7=e=>Object.entries(x7).reduce(((t,[r,{typeCaster:n,defaultValue:s}])=>{if(Rme(t,r)){const i=n(C_(t,r),s);t=Ime(r,i,t)}return t}),{...e}),X_e=(e,...t)=>{let r=Symbol.for("domNode"),n=Symbol.for("primaryName");const s=[];for(const o of t){const a={...o};Object.hasOwn(a,"domNode")&&(r=a.domNode,delete a.domNode),Object.hasOwn(a,"urls.primaryName")?(n=a["urls.primaryName"],delete a["urls.primaryName"]):Array.isArray(a.urls)&&Object.hasOwn(a.urls,"primaryName")&&(n=a.urls.primaryName,delete a.urls.primaryName),s.push(a)}const i=Tc()(e,...s);return r!==Symbol.for("domNode")&&(i.domNode=r),n!==Symbol.for("primaryName")&&Array.isArray(i.urls)&&(i.urls.primaryName=n),A7(i)};function Ri(e){const t=V_e()(e),r=W_e()(),n=Ri.config.merge({},Ri.config.defaults,r,e,t),s=U_e(n),i=L_e(n),o=new CU(s);o.register([n.plugins,i]);const a=o.getSystem(),c=f=>{o.setConfigs(f),a.configsActions.loaded()},u=f=>{!t.url&&typeof f.spec=="object"&&Object.keys(f.spec).length>0?(a.specActions.updateUrl(""),a.specActions.updateLoadingStatus("success"),a.specActions.updateSpec(JSON.stringify(f.spec))):typeof a.specActions.download=="function"&&f.url&&!f.urls&&(a.specActions.updateUrl(f.url),a.specActions.download(f.url))},l=f=>{if(f.domNode)a.render(f.domNode,"App");else if(f.dom_id){const d=document.querySelector(f.dom_id);a.render(d,"App")}else f.dom_id===null||f.domNode===null||console.error("Skipped rendering: no `dom_id` or `domNode` was specified")};return n.configUrl?((async()=>{const{configUrl:f}=n,d=await z_e({url:f,system:a})(n),h=Ri.config.merge({},n,d,t);c(h),d!==null&&u(h),l(h)})(),a):(c(n),u(n),l(n),a)}Ri.System=CU,Ri.config={defaults:sr,merge:X_e,typeCast:A7,typeCastMappings:x7},Ri.presets={base:e5,apis:w7},Ri.plugins={Auth:TU,Configs:IU,DeepLining:PU,Err:kU,Filter:NU,Icons:MU,JSONSchema5:XU,JSONSchema5Samples:n9,JSONSchema202012:l7,JSONSchema202012Samples:_7,Layout:$U,Logs:FU,OpenAPI30:Ax,OpenAPI31:Ax,OnComplete:qU,RequestSnippets:UU,Spec:A9,SwaggerClient:O9,Util:C9,View:R9,ViewLegacy:T9,DownloadUrl:I9,SyntaxHighlighting:P9,Versions:j9,SafeRender:M9};var Ii=Ri;const{config:Ht}=Ii,iq=e=>{const t=we.useRef();return we.useEffect(()=>{t.current=e},[e]),t.current},Kh=({spec:e=Ht.defaults.spec,url:t=Ht.defaults.url,layout:r=Ht.defaults.layout,requestInterceptor:n=Ht.defaults.requestInterceptor,responseInterceptor:s=Ht.defaults.responseInterceptor,supportedSubmitMethods:i=Ht.defaults.supportedSubmitMethods,queryConfigEnabled:o=Ht.defaults.queryConfigEnabled,plugins:a=Ht.defaults.plugins,displayOperationId:c=Ht.defaults.displayOperationId,showMutatedRequest:u=Ht.defaults.showMutatedRequest,docExpansion:l=Ht.defaults.docExpansion,defaultModelExpandDepth:f=Ht.defaults.defaultModelExpandDepth,defaultModelsExpandDepth:d=Ht.defaults.defaultModelsExpandDepth,defaultModelRendering:h=Ht.defaults.defaultModelRendering,presets:g=Ht.defaults.presets,deepLinking:v=Ht.defaults.deepLinking,showExtensions:y=Ht.defaults.showExtensions,showCommonExtensions:E=Ht.defaults.showCommonExtensions,filter:b=Ht.defaults.filter,requestSnippetsEnabled:S=Ht.defaults.requestSnippetsEnabled,requestSnippets:_=Ht.defaults.requestSnippets,tryItOutEnabled:x=Ht.defaults.tryItOutEnabled,displayRequestDuration:A=Ht.defaults.displayRequestDuration,withCredentials:O=Ht.defaults.withCredentials,persistAuthorization:I=Ht.defaults.persistAuthorization,oauth2RedirectUrl:R=Ht.defaults.oauth2RedirectUrl,onComplete:$=null,initialState:M=Ht.defaults.initialState,uncaughtExceptionHandler:q=Ht.defaults.uncaughtExceptionHandler})=>{const[N,U]=we.useState(null),X=N==null?void 0:N.getComponent("App","root"),J=iq(e),ee=iq(t);return we.useEffect(()=>{const ne=Ii({plugins:a,spec:e,url:t,layout:r,defaultModelsExpandDepth:d,defaultModelRendering:h,presets:[Ii.presets.apis,...g],requestInterceptor:n,responseInterceptor:s,onComplete:()=>{typeof $=="function"&&$(ne)},docExpansion:l,supportedSubmitMethods:i,queryConfigEnabled:o,defaultModelExpandDepth:f,displayOperationId:c,tryItOutEnabled:x,displayRequestDuration:A,requestSnippetsEnabled:S,requestSnippets:_,showMutatedRequest:u,deepLinking:v,showExtensions:y,showCommonExtensions:E,filter:b,persistAuthorization:I,withCredentials:O,initialState:M,uncaughtExceptionHandler:q,...typeof R=="str
288ing"?{oauth2RedirectUrl:R}:{}});U(ne)},[]),we.useEffect(()=>{if(N){const ne=N.specSelectors.url();(t!==ne||t!==ee)&&(N.specActions.updateSpec(""),t&&(N.specActions.updateUrl(t),N.specActions.download(t)))}},[N,t]),we.useEffect(()=>{if(N){const ne=N.specSelectors.specStr();if(e&&e!==Ii.config.defaults.spec&&(e!==ne||e!==J)){const re=typeof e=="object"?JSON.stringify(e):e;N.specActions.updateSpec(re)}}},[N,e]),X?p.createElement(X,null):null};Kh.System=Ii.System;Kh.presets=Ii.presets;Kh.plugins=Ii.plugins;Kh.config=Ii.config;export{Kh as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.