PageSourceSearch

https://app.snapto.ai/assets/ApiDocumentation-MReJxg1h.js

js snapto.ai collected 2026-10-05 15:07:26 UTC 1,296,157 bytes, 252 lines download raw bytes

1import{g as ut,ai as Nn,bG as E3,R as Xn,bH as CU,bI as S3,_ as BS,r as dr,bJ as RU,bK as IU,bL as TU,bM as kU,bo as PU,bN as jU,bO as NU,t as MU,p as wo,L as y2,T as DU,x as FU,bj as qU}from"./index-C9IH3k-2.js";import{r as Ys,d as vn,e as bn,f as an,g as BU,h as af,j as of,k as LU,l as $U}from"./MainApp-BoiAvjMg.js";import{c as UU}from"./reselect-Cg9BXdu5.js";import{r as VU}from"./index-Chjiymov.js";import{c as zU}from"./index-CQTPiLHY.js";import{ae as WU,I as JU}from"./TemplateUtil-D1DzmWLm.js";import"./HelperMethods-C-ewwU_x.js";import"./Wrapper-ChjuDa3w.js";function u_(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const s in n)if(s!=="default"&&!(s in t)){const i=Object.getOwnPropertyDescriptor(n,s);i&&Object.defineProperty(t,s,i.get?i:{enumerable:!0,get:()=>n[s]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var HU=VU();const KU=ut(HU);var Kl={};var v2;function _3(){return v2||(v2=1,Kl.read=function(t,e,r,n,s){var i,a,o=s*8-n-1,u=(1<<o)-1,l=u>>1,c=-7,p=r?s-1:0,m=r?-1:1,d=t[e+p];for(p+=m,i=d&(1<<-c)-1,d>>=-c,c+=o;c>0;i=i*256+t[e+p],p+=m,c-=8);for(a=i&(1<<-c)-1,i>>=-c,c+=n;c>0;a=a*256+t[e+p],p+=m,c-=8);if(i===0)i=1-l;else{if(i===u)return a?NaN:(d?-1:1)*(1/0);a=a+Math.pow(2,n),i=i-l}return(d?-1:1)*a*Math.pow(2,i-n)},Kl.write=function(t,e,r,n,s,i){var a,o,u,l=i*8-s-1,c=(1<<l)-1,p=c>>1,m=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:i-1,g=n?1:-1,y=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,a=c):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),a+p>=1?e+=m/u:e+=m*Math.pow(2,1-p),e*u>=2&&(a++,u/=2),a+p>=c?(o=0,a=c):a+p>=1?(o=(e*u-1)*Math.pow(2,s),a=a+p):(o=e*Math.pow(2,p-1)*Math.pow(2,s),a=0));s>=8;t[r+d]=o&255,d+=g,o/=256,s-=8);for(a=a<<s|o,l+=s;l>0;t[r+d]=a&255,d+=g,a/=256,l-=8);t[r+d-g]|=y*128}),Kl}var w3=_3();const GU=ut(w3),YU=u_({__proto__:null,default:GU},[w3]);var Gl={exports:{}},rd={},xo={},b2;function x3(){if(b2)return xo;b2=1,xo.byteLength=o,xo.toByteArray=l,xo.fromByteArray=m;for(var t=[],e=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,i=n.length;s<i;++s)t[s]=n[s],e[n.charCodeAt(s)]=s;e[45]=62,e[95]=63;function a(d){var g=d.length;if(g%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var y=d.indexOf("=");y===-1&&(y=g);var v=y===g?0:4-y%4;return[y,v]}function o(d){var g=a(d),y=g[0],v=g[1];return(y+v)*3/4-v}function u(d,g,y){return(g+y)*3/4-y}function l(d){var g,y=a(d),v=y[0],E=y[1],b=new r(u(d,v,E)),_=0,w=E>0?v-4:v,S;for(S=0;S<w;S+=4)g=e[d.charCodeAt(S)]<<18|e[d.charCodeAt(S+1)]<<12|e[d.charCodeAt(S+2)]<<6|e[d.charCodeAt(S+3)],b[_++]=g>>16&255,b[_++]=g>>8&255,b[_++]=g&255;
vendor: 27,016 bytes, line 1
1return E===2&&(g=e[d.charCodeAt(S)]<<2|e[d.charCodeAt(S+1)]>>4,b[_++]=g&255),E===1&&(g=e[d.charCodeAt(S)]<<10|e[d.charCodeAt(S+1)]<<4|e[d.charCodeAt(S+2)]>>2,b[_++]=g>>8&255,b[_++]=g&255),b}function c(d){return t[d>>18&63]+t[d>>12&63]+t[d>>6&63]+t[d&63]}function p(d,g,y){for(var v,E=[],b=g;b<y;b+=3)v=(d[b]<<16&16711680)+(d[b+1]<<8&65280)+(d[b+2]&255),E.push(c(v));return E.join("")}function m(d){for(var g,y=d.length,v=y%3,E=[],b=16383,_=0,w=y-v;_<w;_+=b)E.push(p(d,_,_+b>w?w:_+b));return v===1?(g=d[y-1],E.push(t[g>>2]+t[g<<4&63]+"==")):v===2&&(g=(d[y-2]<<8)+d[y-1],E.push(t[g>>10]+t[g>>4&63]+t[g<<2&63]+"=")),E.join("")}return xo}var E2;function XU(){return E2||(E2=1,(function(t){const e=x3(),r=_3(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=o,t.SlowBuffer=b,t.INSPECT_MAX_BYTES=50;const s=2147483647;t.kMaxLength=s,o.TYPED_ARRAY_SUPPORT=i(),!o.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 q=new Uint8Array(1),O={foo:function(){return 42}};return Object.setPrototypeOf(O,Uint8Array.prototype),Object.setPrototypeOf(q,O),q.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function a(q){if(q>s)throw new RangeError('The value "'+q+'" is invalid for option "size"');const O=new Uint8Array(q);return Object.setPrototypeOf(O,o.prototype),O}function o(q,O,T){if(typeof q=="number"){if(typeof O=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p(q)}return u(q,O,T)}o.poolSize=8192;function u(q,O,T){if(typeof q=="string")return m(q,O);if(ArrayBuffer.isView(q))return g(q);if(q==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof q);if(Y(q,ArrayBuffer)||q&&Y(q.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Y(q,SharedArrayBuffer)||q&&Y(q.buffer,SharedArrayBuffer)))return y(q,O,T);if(typeof q=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const H=q.valueOf&&q.valueOf();if(H!=null&&H!==q)return o.from(H,O,T);const ie=v(q);if(ie)return ie;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof q[Symbol.toPrimitive]=="function")return o.from(q[Symbol.toPrimitive]("string"),O,T);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof q)}o.from=function(q,O,T){return u(q,O,T)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function l(q){if(typeof q!="number")throw new TypeError('"size" argument must be of type number');if(q<0)throw new RangeError('The value "'+q+'" is invalid for option "size"')}function c(q,O,T){return l(q),q<=0?a(q):O!==void 0?typeof T=="string"?a(q).fill(O,T):a(q).fill(O):a(q)}o.alloc=function(q,O,T){return c(q,O,T)};function p(q){return l(q),a(q<0?0:E(q)|0)}o.allocUnsafe=function(q){return p(q)},o.allocUnsafeSlow=function(q){return p(q)};function m(q,O){if((typeof O!="string"||O==="")&&(O="utf8"),!o.isEncoding(O))throw new TypeError("Unknown encoding: "+O);const T=_(q,O)|0;let H=a(T);const ie=H.write(q,O);return ie!==T&&(H=H.slice(0,ie)),H}function d(q){const O=q.length<0?0:E(q.length)|0,T=a(O);for(let H=0;H<O;H+=1)T[H]=q[H]&255;return T}function g(q){if(Y(q,Uint8Array)){const O=new Uint8Array(q);return y(O.buffer,O.byteOffset,O.byteLength)}return d(q)}function y(q,O,T){if(O<0||q.byteLength<O)throw new RangeError('"offset" is outside of buffer bounds');if(q.byteLength<O+(T||0))throw new RangeError('"length" is outside of buffer bounds');let H;return O===void 0&&T===void 0?H=new Uint8Array(q):T===void 0?H=new Uint8Array(q,O):H=new Uint8Array(q,O,T),Object.setPrototypeOf(H,o.prototype),H}function v(q){if(o.isBuffer(q)){const O=E(q.length)|0,T=a(O);return T.length===0||q.copy(T,0,0,O),T}if(q.length!==void 0)return typeof q.length!="number"||ne(q.length)?a(0):d(q);if(q.type==="Buffer"&&Array.isArray(q.data))return d(q.data)}function E(q){if(q>=s)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s.toString(16)+" bytes");return q|0}function b(q){return+q!=q&&(q=0),o.alloc(+q)}o.isBuffer=function(O){return O!=null&&O._isBuffer===!0&&O!==o.prototype},o.compare=function(O,T){if(Y(O,Uint8Array)&&(O=o.from(O,O.offset,O.byteLength)),Y(T,Uint8Array)&&(T=o.from(T,T.offset,T.byteLength)),!o.isBuffer(O)||!o.isBuffer(T))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(O===T)return 0;let H=O.length,ie=T.length;for(let de=0,xe=Math.min(H,ie);de<xe;++de)if(O[de]!==T[de]){H=O[de],ie=T[de];break}return H<ie?-1:ie<H?1:0},o.isEncoding=function(O){switch(String(O).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}},o.concat=function(O,T){if(!Array.isArray(O))throw new TypeError('"list" argument must be an Array of Buffers');if(O.length===0)return o.alloc(0);let H;if(T===void 0)for(T=0,H=0;H<O.length;++H)T+=O[H].length;const ie=o.allocUnsafe(T);let de=0;for(H=0;H<O.length;++H){let xe=O[H];if(Y(xe,Uint8Array))de+xe.length>ie.length?(o.isBuffer(xe)||(xe=o.from(xe)),xe.copy(ie,de)):Uint8Array.prototype.set.call(ie,xe,de);else if(o.isBuffer(xe))xe.copy(ie,de);else throw new TypeError('"list" argument must be an Array of Buffers');de+=xe.length}return ie};function _(q,O){if(o.isBuffer(q))return q.length;if(ArrayBuffer.isView(q)||Y(q,ArrayBuffer))return q.byteLength;if(typeof q!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof q);const T=q.length,H=arguments.length>2&&arguments[2]===!0;if(!H&&T===0)return 0;let ie=!1;for(;;)switch(O){case"ascii":case"latin1":case"binary":return T;case"utf8":case"utf-8":return we(q).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T*2;case"hex":return T>>>1;case"base64":return j(q).length;default:if(ie)return H?-1:we(q).length;O=(""+O).toLowerCase(),ie=!0}}o.byteLength=_;function w(q,O,T){let H=!1;if((O===void 0||O<0)&&(O=0),O>this.length||((T===void 0||T>this.length)&&(T=this.length),T<=0)||(T>>>=0,O>>>=0,T<=O))return"";for(q||(q="utf8");;)switch(q){case"hex":return ee(this,O,T);case"utf8":case"utf-8":return G(this,O,T);case"ascii":return Z(this,O,T);case"latin1":case"binary":return X(this,O,T);case"base64":return M(this,O,T);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ce(this,O,T);default:if(H)throw new TypeError("Unknown encoding: "+q);q=(q+"").toLowerCase(),H=!0}}o.prototype._isBuffer=!0;function S(q,O,T){const H=q[O];q[O]=q[T],q[T]=H}o.prototype.swap16=function(){const O=this.length;if(O%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let T=0;T<O;T+=2)S(this,T,T+1);return this},o.prototype.swap32=function(){const O=this.length;if(O%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let T=0;T<O;T+=4)S(this,T,T+3),S(this,T+1,T+2);return this},o.prototype.swap64=function(){const O=this.length;if(O%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let T=0;T<O;T+=8)S(this,T,T+7),S(this,T+1,T+6),S(this,T+2,T+5),S(this,T+3,T+4);return this},o.prototype.toString=function(){const O=this.length;return O===0?"":arguments.length===0?G(this,0,O):w.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(O){if(!o.isBuffer(O))throw new TypeError("Argument must be a Buffer");return this===O?!0:o.compare(this,O)===0},o.prototype.inspect=function(){let O="";const T=t.INSPECT_MAX_BYTES;return O=this.toString("hex",0,T).replace(/(.{2})/g,"$1 ").trim(),this.length>T&&(O+=" ... "),"<Buffer "+O+">"},n&&(o.prototype[n]=o.prototype.inspect),o.prototype.compare=function(O,T,H,ie,de){if(Y(O,Uint8Array)&&(O=o.from(O,O.offset,O.byteLength)),!o.isBuffer(O))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof O);if(T===void 0&&(T=0),H===void 0&&(H=O?O.length:0),ie===void 0&&(ie=0),de===void 0&&(de=this.length),T<0||H>O.length||ie<0||de>this.length)throw new RangeError("out of range index");if(ie>=de&&T>=H)return 0;if(ie>=de)return-1;if(T>=H)return 1;if(T>>>=0,H>>>=0,ie>>>=0,de>>>=0,this===O)return 0;let xe=de-ie,Ze=H-T;const it=Math.min(xe,Ze),kt=this.slice(ie,de),ft=O.slice(T,H);for(let ae=0;ae<it;++ae)if(kt[ae]!==ft[ae]){xe=kt[ae],Ze=ft[ae];break}return xe<Ze?-1:Ze<xe?1:0};function A(q,O,T,H,ie){if(q.length===0)return-1;if(typeof T=="string"?(H=T,T=0):T>2147483647?T=2147483647:T<-2147483648&&(T=-2147483648),T=+T,ne(T)&&(T=ie?0:q.length-1),T<0&&(T=q.length+T),T>=q.length){if(ie)return-1;T=q.length-1}else if(T<0)if(ie)T=0;else return-1;if(typeof O=="string"&&(O=o.from(O,H)),o.isBuffer(O))return O.length===0?-1:I(q,O,T,H,ie);if(typeof O=="number")return O=O&255,typeof Uint8Array.prototype.indexOf=="function"?ie?Uint8Array.prototype.indexOf.call(q,O,T):Uint8Array.prototype.lastIndexOf.call(q,O,T):I(q,[O],T,H,ie);throw new TypeError("val must be string, number or Buffer")}function I(q,O,T,H,ie){let de=1,xe=q.length,Ze=O.length;if(H!==void 0&&(H=String(H).toLowerCase(),H==="ucs2"||H==="ucs-2"||H==="utf16le"||H==="utf-16le")){if(q.length<2||O.length<2)return-1;de=2,xe/=2,Ze/=2,T/=2}function it(ft,ae){return de===1?ft[ae]:ft.readUInt16BE(ae*de)}let kt;if(ie){let ft=-1;for(kt=T;kt<xe;kt++)if(it(q,kt)===it(O,ft===-1?0:kt-ft)){if(ft===-1&&(ft=kt),kt-ft+1===Ze)return ft*de}else ft!==-1&&(kt-=kt-ft),ft=-1}else for(T+Ze>xe&&(T=xe-Ze),kt=T;kt>=0;kt--){let ft=!0;for(let ae=0;ae<Ze;ae++)if(it(q,kt+ae)!==it(O,ae)){ft=!1;break}if(ft)return kt}return-1}o.prototype.includes=function(O,T,H){return this.indexOf(O,T,H)!==-1},o.prototype.indexOf=function(O,T,H){return A(this,O,T,H,!0)},o.prototype.lastIndexOf=function(O,T,H){return A(this,O,T,H,!1)};function k(q,O,T,H){T=Number(T)||0;const ie=q.length-T;H?(H=Number(H),H>ie&&(H=ie)):H=ie;const de=O.length;H>de/2&&(H=de/2);let xe;for(xe=0;xe<H;++xe){const Ze=parseInt(O.substr(xe*2,2),16);if(ne(Ze))return xe;q[T+xe]=Ze}return xe}function P(q,O,T,H){return U(we(O,q.length-T),q,T,H)}function F(q,O,T,H){return U($(O),q,T,H)}function R(q,O,T,H){return U(j(O),q,T,H)}function L(q,O,T,H){return U(C(O,q.length-T),q,T,H)}o.prototype.write=function(O,T,H,ie){if(T===void 0)ie="utf8",H=this.length,T=0;else if(H===void 0&&typeof T=="string")ie=T,H=this.length,T=0;else if(isFinite(T))T=T>>>0,isFinite(H)?(H=H>>>0,ie===void 0&&(ie="utf8")):(ie=H,H=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const de=this.length-T;if((H===void 0||H>de)&&(H=de),O.length>0&&(H<0||T<0)||T>this.length)throw new RangeError("Attempt to write outside buffer bounds");ie||(ie="utf8");let xe=!1;for(;;)switch(ie){case"hex":return k(this,O,T,H);case"utf8":case"utf-8":return P(this,O,T,H);case"ascii":case"latin1":case"binary":return F(this,O,T,H);case"base64":return R(this,O,T,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,O,T,H);default:if(xe)throw new TypeError("Unknown encoding: "+ie);ie=(""+ie).toLowerCase(),xe=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function M(q,O,T){return O===0&&T===q.length?e.fromByteArray(q):e.fromByteArray(q.slice(O,T))}function G(q,O,T){T=Math.min(q.length,T);const H=[];let ie=O;for(;ie<T;){const de=q[ie];let xe=null,Ze=de>239?4:de>223?3:de>191?2:1;if(ie+Ze<=T){let it,kt,ft,ae;switch(Ze){case 1:de<128&&(xe=de);break;case 2:it=q[ie+1],(it&192)===128&&(ae=(de&31)<<6|it&63,ae>127&&(xe=ae));break;case 3:it=q[ie+1],kt=q[ie+2],(it&192)===128&&(kt&192)===128&&(ae=(de&15)<<12|(it&63)<<6|kt&63,ae>2047&&(ae<55296||ae>57343)&&(xe=ae));break;case 4:it=q[ie+1],kt=q[ie+2],ft=q[ie+3],(it&192)===128&&(kt&192)===128&&(ft&192)===128&&(ae=(de&15)<<18|(it&63)<<12|(kt&63)<<6|ft&63,ae>65535&&ae<1114112&&(xe=ae))}}xe===null?(xe=65533,Ze=1):xe>65535&&(xe-=65536,H.push(xe>>>10&1023|55296),xe=56320|xe&1023),H.push(xe),ie+=Ze}return K(H)}const re=4096;function K(q){const O=q.length;if(O<=re)return String.fromCharCode.apply(String,q);let T="",H=0;for(;H<O;)T+=String.fromCharCode.apply(String,q.slice(H,H+=re));return T}function Z(q,O,T){let H="";T=Math.min(q.length,T);for(let ie=O;ie<T;++ie)H+=String.fromCharCode(q[ie]&127);return H}function X(q,O,T){let H="";T=Math.min(q.length,T);for(let ie=O;ie<T;++ie)H+=String.fromCharCode(q[ie]);return H}function ee(q,O,T){const H=q.length;(!O||O<0)&&(O=0),(!T||T<0||T>H)&&(T=H);let ie="";for(let de=O;de<T;++de)ie+=fe[q[de]];return ie}function ce(q,O,T){const H=q.slice(O,T);let ie="";for(let de=0;de<H.length-1;de+=2)ie+=String.fromCharCode(H[de]+H[de+1]*256);return ie}o.prototype.slice=function(O,T){const H=this.length;O=~~O,T=T===void 0?H:~~T,O<0?(O+=H,O<0&&(O=0)):O>H&&(O=H),T<0?(T+=H,T<0&&(T=0)):T>H&&(T=H),T<O&&(T=O);const ie=this.subarray(O,T);return Object.setPrototypeOf(ie,o.prototype),ie};function se(q,O,T){if(q%1!==0||q<0)throw new RangeError("offset is not uint");if(q+O>T)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(O,T,H){O=O>>>0,T=T>>>0,H||se(O,T,this.length);let ie=this[O],de=1,xe=0;for(;++xe<T&&(de*=256);)ie+=this[O+xe]*de;return ie},o.prototype.readUintBE=o.prototype.readUIntBE=function(O,T,H){O=O>>>0,T=T>>>0,H||se(O,T,this.length);let ie=this[O+--T],de=1;for(;T>0&&(de*=256);)ie+=this[O+--T]*de;return ie},o.prototype.readUint8=o.prototype.readUInt8=function(O,T){return O=O>>>0,T||se(O,1,this.length),this[O]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(O,T){return O=O>>>0,T||se(O,2,this.length),this[O]|this[O+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(O,T){return O=O>>>0,T||se(O,2,this.length),this[O]<<8|this[O+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(O,T){return O=O>>>0,T||se(O,4,this.length),(this[O]|this[O+1]<<8|this[O+2]<<16)+this[O+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(O,T){return O=O>>>0,T||se(O,4,this.length),this[O]*16777216+(this[O+1]<<16|this[O+2]<<8|this[O+3])},o.prototype.readBigUInt64LE=Ne(function(O){O=O>>>0,ke(O,"offset");const T=this[O],H=this[O+7];(T===void 0||H===void 0)&&$e(O,this.length-8);const ie=T+this[++O]*2**8+this[++O]*2**16+this[++O]*2**24,de=this[++O]+this[++O]*2**8+this[++O]*2**16+H*2**24;return BigInt(ie)+(BigInt(de)<<BigInt(32))}),o.prototype.readBigUInt64BE=Ne(function(O){O=O>>>0,ke(O,"offset");const T=this[O],H=this[O+7];(T===void 0||H===void 0)&&$e(O,this.length-8);const ie=T*2**24+this[++O]*2**16+this[++O]*2**8+this[++O],de=this[++O]*2**24+this[++O]*2**16+this[++O]*2**8+H;return(BigInt(ie)<<BigInt(32))+BigInt(de)}),o.prototype.readIntLE=function(O,T,H){O=O>>>0,T=T>>>0,H||se(O,T,this.length);let ie=this[O],de=1,xe=0;for(;++xe<T&&(de*=256);)ie+=this[O+xe]*de;return de*=128,ie>=de&&(ie-=Math.pow(2,8*T)),ie},o.prototype.readIntBE=function(O,T,H){O=O>>>0,T=T>>>0,H||se(O,T,this.length);let ie=T,de=1,xe=this[O+--ie];for(;ie>0&&(de*=256);)xe+=this[O+--ie]*de;return de*=128,xe>=de&&(xe-=Math.pow(2,8*T)),xe},o.prototype.readInt8=function(O,T){return O=O>>>0,T||se(O,1,this.length),this[O]&128?(255-this[O]+1)*-1:this[O]},o.prototype.readInt16LE=function(O,T){O=O>>>0,T||se(O,2,this.length);const H=this[O]|this[O+1]<<8;return H&32768?H|4294901760:H},o.prototype.readInt16BE=function(O,T){O=O>>>0,T||se(O,2,this.length);const H=this[O+1]|this[O]<<8;return H&32768?H|4294901760:H},o.prototype.readInt32LE=function(O,T){return O=O>>>0,T||se(O,4,this.length),this[O]|this[O+1]<<8|this[O+2]<<16|this[O+3]<<24},o.prototype.readInt32BE=function(O,T){return O=O>>>0,T||se(O,4,this.length),this[O]<<24|this[O+1]<<16|this[O+2]<<8|this[O+3]},o.prototype.readBigInt64LE=Ne(function(O){O=O>>>0,ke(O,"offset");const T=this[O],H=this[O+7];(T===void 0||H===void 0)&&$e(O,this.length-8);const ie=this[O+4]+this[O+5]*2**8+this[O+6]*2**16+(H<<24);return(BigInt(ie)<<BigInt(32))+BigInt(T+this[++O]*2**8+this[++O]*2**16+this[++O]*2**24)}),o.prototype.readBigInt64BE=Ne(function(O){O=O>>>0,ke(O,"offset");const T=this[O],H=this[O+7];(T===void 0||H===void 0)&&$e(O,this.length-8);const ie=(T<<24)+this[++O]*2**16+this[++O]*2**8+this[++O];return(BigInt(ie)<<BigInt(32))+BigInt(this[++O]*2**24+this[++O]*2**16+this[++O]*2**8+H)}),o.prototype.readFloatLE=function(O,T){return O=O>>>0,T||se(O,4,this.length),r.read(this,O,!0,23,4)},o.prototype.readFloatBE=function(O,T){return O=O>>>0,T||se(O,4,this.length),r.read(this,O,!1,23,4)},o.prototype.readDoubleLE=function(O,T){return O=O>>>0,T||se(O,8,this.length),r.read(this,O,!0,52,8)},o.prototype.readDoubleBE=function(O,T){return O=O>>>0,T||se(O,8,this.length),r.read(this,O,!1,52,8)};function ue(q,O,T,H,ie,de){if(!o.isBuffer(q))throw new TypeError('"buffer" argument must be a Buffer instance');if(O>ie||O<de)throw new RangeError('"value" argument is out of bounds');if(T+H>q.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(O,T,H,ie){if(O=+O,T=T>>>0,H=H>>>0,!ie){const Ze=Math.pow(2,8*H)-1;ue(this,O,T,H,Ze,0)}let de=1,xe=0;for(this[T]=O&255;++xe<H&&(de*=256);)this[T+xe]=O/de&255;return T+H},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(O,T,H,ie){if(O=+O,T=T>>>0,H=H>>>0,!ie){const Ze=Math.pow(2,8*H)-1;ue(this,O,T,H,Ze,0)}let de=H-1,xe=1;for(this[T+de]=O&255;--de>=0&&(xe*=256);)this[T+de]=O/xe&255;return T+H},o.prototype.writeUint8=o.prototype.writeUInt8=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,1,255,0),this[T]=O&255,T+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,2,65535,0),this[T]=O&255,this[T+1]=O>>>8,T+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,2,65535,0),this[T]=O>>>8,this[T+1]=O&255,T+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,4,4294967295,0),this[T+3]=O>>>24,this[T+2]=O>>>16,this[T+1]=O>>>8,this[T]=O&255,T+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,4,4294967295,0),this[T]=O>>>24,this[T+1]=O>>>16,this[T+2]=O>>>8,this[T+3]=O&255,T+4};function ye(q,O,T,H,ie){Te(O,H,ie,q,T,7);let de=Number(O&BigInt(4294967295));q[T++]=de,de=de>>8,q[T++]=de,de=de>>8,q[T++]=de,de=de>>8,q[T++]=de;let xe=Number(O>>BigInt(32)&BigInt(4294967295));return q[T++]=xe,xe=xe>>8,q[T++]=xe,xe=xe>>8,q[T++]=xe,xe=xe>>8,q[T++]=xe,T}function he(q,O,T,H,ie){Te(O,H,ie,q,T,7);let de=Number(O&BigInt(4294967295));q[T+7]=de,de=de>>8,q[T+6]=de,de=de>>8,q[T+5]=de,de=de>>8,q[T+4]=de;let xe=Number(O>>BigInt(32)&BigInt(4294967295));return q[T+3]=xe,xe=xe>>8,q[T+2]=xe,xe=xe>>8,q[T+1]=xe,xe=xe>>8,q[T]=xe,T+8}o.prototype.writeBigUInt64LE=Ne(function(O,T=0){return ye(this,O,T,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=Ne(function(O,T=0){return he(this,O,T,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(O,T,H,ie){if(O=+O,T=T>>>0,!ie){const it=Math.pow(2,8*H-1);ue(this,O,T,H,it-1,-it)}let de=0,xe=1,Ze=0;for(this[T]=O&255;++de<H&&(xe*=256);)O<0&&Ze===0&&this[T+de-1]!==0&&(Ze=1),this[T+de]=(O/xe>>0)-Ze&255;return T+H},o.prototype.writeIntBE=function(O,T,H,ie){if(O=+O,T=T>>>0,!ie){const it=Math.pow(2,8*H-1);ue(this,O,T,H,it-1,-it)}let de=H-1,xe=1,Ze=0;for(this[T+de]=O&255;--de>=0&&(xe*=256);)O<0&&Ze===0&&this[T+de+1]!==0&&(Ze=1),this[T+de]=(O/xe>>0)-Ze&255;return T+H},o.prototype.writeInt8=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,1,127,-128),O<0&&(O=255+O+1),this[T]=O&255,T+1},o.prototype.writeInt16LE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,2,32767,-32768),this[T]=O&255,this[T+1]=O>>>8,T+2},o.prototype.writeInt16BE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,2,32767,-32768),this[T]=O>>>8,this[T+1]=O&255,T+2},o.prototype.writeInt32LE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,4,2147483647,-2147483648),this[T]=O&255,this[T+1]=O>>>8,this[T+2]=O>>>16,this[T+3]=O>>>24,T+4},o.prototype.writeInt32BE=function(O,T,H){return O=+O,T=T>>>0,H||ue(this,O,T,4,2147483647,-2147483648),O<0&&(O=4294967295+O+1),this[T]=O>>>24,this[T+1]=O>>>16,this[T+2]=O>>>8,this[T+3]=O&255,T+4},o.prototype.writeBigInt64LE=Ne(function(O,T=0){return ye(this,O,T,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=Ne(function(O,T=0){return he(this,O,T,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function te(q,O,T,H,ie,de){if(T+H>q.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("Index out of range")}function W(q,O,T,H,ie){return O=+O,T=T>>>0,ie||te(q,O,T,4),r.write(q,O,T,H,23,4),T+4}o.prototype.writeFloatLE=function(O,T,H){return W(this,O,T,!0,H)},o.prototype.writeFloatBE=function(O,T,H){return W(this,O,T,!1,H)};function V(q,O,T,H,ie){return O=+O,T=T>>>0,ie||te(q,O,T,8),r.write(q,O,T,H,52,8),T+8}o.prototype.writeDoubleLE=function(O,T,H){return V(this,O,T,!0,H)},o.prototype.writeDoubleBE=function(O,T,H){return V(this,O,T,!1,H)},o.prototype.copy=function(O,T,H,ie){if(!o.isBuffer(O))throw new TypeError("argument should be a Buffer");if(H||(H=0),!ie&&ie!==0&&(ie=this.length),T>=O.length&&(T=O.length),T||(T=0),ie>0&&ie<H&&(ie=H),ie===H||O.length===0||this.length===0)return 0;if(T<0)throw new RangeError("targetStart out of bounds");if(H<0||H>=this.length)throw new RangeError("Index out of range");if(ie<0)throw new RangeError("sourceEnd out of bounds");ie>this.length&&(ie=this.length),O.length-T<ie-H&&(ie=O.length-T+H);const de=ie-H;return this===O&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(T,H,ie):Uint8Array.prototype.set.call(O,this.subarray(H,ie),T),de},o.prototype.fill=function(O,T,H,ie){if(typeof O=="string"){if(typeof T=="string"?(ie=T,T=0,H=this.length):typeof H=="string"&&(ie=H,H=this.length),ie!==void 0&&typeof ie!="string")throw new TypeError("encoding must be a string");if(typeof ie=="string"&&!o.isEncoding(ie))throw new TypeError("Unknown encoding: "+ie);if(O.length===1){const xe=O.charCodeAt(0);(ie==="utf8"&&xe<128||ie==="latin1")&&(O=xe)}}else typeof O=="number"?O=O&255:typeof O=="boolean"&&(O=Number(O));if(T<0||this.length<T||this.length<H)throw new RangeError("Out of range index");if(H<=T)return this;T=T>>>0,H=H===void 0?this.length:H>>>0,O||(O=0);let de;if(typeof O=="number")for(de=T;de<H;++de)this[de]=O;else{const xe=o.isBuffer(O)?O:o.from(O,ie),Ze=xe.length;if(Ze===0)throw new TypeError('The value "'+O+'" is invalid for argument "value"');for(de=0;de<H-T;++de)this[de+T]=xe[de%Ze]}return this};const me={};function ve(q,O,T){me[q]=class extends T{constructor(){super(),Object.defineProperty(this,"message",{value:O.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${q}]`,this.stack,delete this.name}get code(){return q}set code(ie){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:ie,writable:!0})}toString(){return`${this.name} [${q}]: ${this.message}`}}}ve("ERR_BUFFER_OUT_OF_BOUNDS",function(q){return q?`${q} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ve("ERR_INVALID_ARG_TYPE",function(q,O){return`The "${q}" argument must be of type number. Received type ${typeof O}`},TypeError),ve("ERR_OUT_OF_RANGE",function(q,O,T){let H=`The value of "${q}" is out of range.`,ie=T;return Number.isInteger(T)&&Math.abs(T)>2**32?ie=Me(String(T)):typeof T=="bigint"&&(ie=String(T),(T>BigInt(2)**BigInt(32)||T<-(BigInt(2)**BigInt(32)))&&(ie=Me(ie)),ie+="n"),H+=` It must be ${O}. Received ${ie}`,H},RangeError);function Me(q){let O="",T=q.length;const H=q[0]==="-"?1:0;for(;T>=H+4;T-=3)O=`_${q.slice(T-3,T)}${O}`;return`${q.slice(0,T)}${O}`}function Be(q,O,T){ke(O,"offset"),(q[O]===void 0||q[O+T]===void 0)&&$e(O,q.length-(T+1))}function Te(q,O,T,H,ie,de){if(q>T||q<O){const xe=typeof O=="bigint"?"n":"";let Ze;throw O===0||O===BigInt(0)?Ze=`>= 0${xe} and < 2${xe} ** ${(de+1)*8}${xe}`:Ze=`>= -(2${xe} ** ${(de+1)*8-1}${xe}) and < 2 ** ${(de+1)*8-1}${xe}`,new me.ERR_OUT_OF_RANGE("value",Ze,q)}Be(H,ie,de)}function ke(q,O){if(typeof q!="number")throw new me.ERR_INVALID_ARG_TYPE(O,"number",q)}function $e(q,O,T){throw Math.floor(q)!==q?(ke(q,T),new me.ERR_OUT_OF_RANGE("offset","an integer",q)):O<0?new me.ERR_BUFFER_OUT_OF_BOUNDS:new me.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${O}`,q)}const ge=/[^+/0-9A-Za-z-_]/g;function Se(q){if(q=q.split("=")[0],q=q.trim().replace(ge,""),q.length<2)return"";for(;q.length%4!==0;)q=q+"=";return q}function we(q,O){O=O||1/0;let T;const H=q.length;let ie=null;const de=[];for(let xe=0;xe<H;++xe){if(T=q.charCodeAt(xe),T>55295&&T<57344){if(!ie){if(T>56319){(O-=3)>-1&&de.push(239,191,189);continue}else if(xe+1===H){(O-=3)>-1&&de.push(239,191,189);continue}ie=T;continue}if(T<56320){(O-=3)>-1&&de.push(239,191,189),ie=T;continue}T=(ie-55296<<10|T-56320)+65536}else ie&&(O-=3)>-1&&de.push(239,191,189);if(ie=null,T<128){if((O-=1)<0)break;de.push(T)}else if(T<2048){if((O-=2)<0)break;de.push(T>>6|192,T&63|128)}else if(T<65536){if((O-=3)<0)break;de.push(T>>12|224,T>>6&63|128,T&63|128)}else if(T<1114112){if((O-=4)<0)break;de.push(T>>18|240,T>>12&63|128,T>>6&63|128,T&63|128)}else throw new Error("Invalid code point")}return de}function $(q){const O=[];for(let T=0;T<q.length;++T)O.push(q.charCodeAt(T)&255);return O}function C(q,O){let T,H,ie;const de=[];for(let xe=0;xe<q.length&&!((O-=2)<0);++xe)T=q.charCodeAt(xe),H=T>>8,ie=T%256,de.push(ie),de.push(H);return de}function j(q){return e.toByteArray(Se(q))}function U(q,O,T,H){let ie;for(ie=0;ie<H&&!(ie+T>=O.length||ie>=q.length);++ie)O[ie+T]=q[ie];return ie}function Y(q,O){return q instanceof O||q!=null&&q.constructor!=null&&q.constructor.name!=null&&q.constructor.name===O.name}function ne(q){return q!==q}const fe=(function(){const q="0123456789abcdef",O=new Array(256);for(let T=0;T<16;++T){const H=T*16;for(let ie=0;ie<16;++ie)O[H+ie]=q[T]+q[ie]}return O})();function Ne(q){return typeof BigInt>"u"?Ge:q}function Ge(){throw new Error("BigInt not supported")}})(rd)),rd}var S2;function ZU(){return S2||(S2=1,(function(t,e){var r=XU(),n=r.Buffer;function s(a,o){for(var u in a)o[u]=a[u]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?t.exports=r:(s(r,e),e.Buffer=i);function i(a,o,u){return n(a,o,u)}i.prototype=Object.create(n.prototype),s(n,i),i.from=function(a,o,u){if(typeof a=="number")throw new TypeError("Argument must not be a number");return n(a,o,u)},i.alloc=function(a,o,u){if(typeof a!="number")throw new TypeError("Argument must be a number");var l=n(a);return o!==void 0?typeof u=="string"?l.fill(o,u):l.fill(o):l.fill(0),l}
vendor: 7,079 bytes, line 1
1,i.allocUnsafe=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return n(a)},i.allocUnsafeSlow=function(a){if(typeof a!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(a)}})(Gl,Gl.exports)),Gl.exports}var nd,_2;function QU(){if(_2)return nd;_2=1;var t={}.toString;return nd=Array.isArray||function(e){return t.call(e)=="[object Array]"},nd}var sd,w2;function mu(){return w2||(w2=1,sd=TypeError),sd}var id,x2;function A3(){return x2||(x2=1,id=Object),id}var ad,A2;function e9(){return A2||(A2=1,ad=Error),ad}var od,O2;function t9(){return O2||(O2=1,od=EvalError),od}var ud,C2;function r9(){return C2||(C2=1,ud=RangeError),ud}var ld,R2;function n9(){return R2||(R2=1,ld=ReferenceError),ld}var cd,I2;function O3(){return I2||(I2=1,cd=SyntaxError),cd}var fd,T2;function s9(){return T2||(T2=1,fd=URIError),fd}var pd,k2;function i9(){return k2||(k2=1,pd=Math.abs),pd}var dd,P2;function a9(){return P2||(P2=1,dd=Math.floor),dd}var hd,j2;function o9(){return j2||(j2=1,hd=Math.max),hd}var md,N2;function u9(){return N2||(N2=1,md=Math.min),md}var gd,M2;function l9(){return M2||(M2=1,gd=Math.pow),gd}var yd,D2;function c9(){return D2||(D2=1,yd=Math.round),yd}var vd,F2;function f9(){return F2||(F2=1,vd=Number.isNaN||function(e){return e!==e}),vd}var bd,q2;function p9(){if(q2)return bd;q2=1;var t=f9();return bd=function(r){return t(r)||r===0?r:r<0?-1:1},bd}var Ed,B2;function d9(){return B2||(B2=1,Ed=Object.getOwnPropertyDescriptor),Ed}var Sd,L2;function gu(){if(L2)return Sd;L2=1;var t=d9();if(t)try{t([],"length")}catch{t=null}return Sd=t,Sd}var _d,$2;function uf(){if($2)return _d;$2=1;var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch{t=!1}return _d=t,_d}var wd,U2;function C3(){return U2||(U2=1,wd=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},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;e[r]=s;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(e,r);if(o.value!==s||o.enumerable!==!0)return!1}return!0}),wd}var xd,V2;function h9(){if(V2)return xd;V2=1;var t=typeof Symbol<"u"&&Symbol,e=C3();return xd=function(){return typeof t!="function"||typeof Symbol!="function"||typeof t("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:e()},xd}var Ad,z2;function R3(){return z2||(z2=1,Ad=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Ad}var Od,W2;function I3(){if(W2)return Od;W2=1;var t=A3();return Od=t.getPrototypeOf||null,Od}var Cd,J2;function m9(){if(J2)return Cd;J2=1;var t="Function.prototype.bind called on incompatible ",e=Object.prototype.toString,r=Math.max,n="[object Function]",s=function(u,l){for(var c=[],p=0;p<u.length;p+=1)c[p]=u[p];for(var m=0;m<l.length;m+=1)c[m+u.length]=l[m];return c},i=function(u,l){for(var c=[],p=l,m=0;p<u.length;p+=1,m+=1)c[m]=u[p];return c},a=function(o,u){for(var l="",c=0;c<o.length;c+=1)l+=o[c],c+1<o.length&&(l+=u);return l};return Cd=function(u){var l=this;if(typeof l!="function"||e.apply(l)!==n)throw new TypeError(t+l);for(var c=i(arguments,1),p,m=function(){if(this instanceof p){var E=l.apply(this,s(c,arguments));return Object(E)===E?E:this}return l.apply(u,s(c,arguments))},d=r(0,l.length-c.length),g=[],y=0;y<d;y++)g[y]="$"+y;if(p=Function("binder","return function ("+a(g,",")+"){ return binder.apply(this,arguments); }")(m),l.prototype){var v=function(){};v.prototype=l.prototype,p.prototype=new v,v.prototype=null}return p},Cd}var Rd,H2;function yu(){if(H2)return Rd;H2=1;var t=m9();return Rd=Function.prototype.bind||t,Rd}var Id,K2;function l_(){return K2||(K2=1,Id=Function.prototype.call),Id}var Td,G2;function c_(){return G2||(G2=1,Td=Function.prototype.apply),Td}var kd,Y2;function g9(){return Y2||(Y2=1,kd=typeof Reflect<"u"&&Reflect&&Reflect.apply),kd}var Pd,X2;function T3(){if(X2)return Pd;X2=1;var t=yu(),e=c_(),r=l_(),n=g9();return Pd=n||t.call(r,e),Pd}var jd,Z2;function f_(){if(Z2)return jd;Z2=1;var t=yu(),e=mu(),r=l_(),n=T3();return jd=function(i){if(i.length<1||typeof i[0]!="function")throw new e("a function is required");return n(t,r,i)},jd}var Nd,Q2;function y9(){if(Q2)return Nd;Q2=1;var t=f_(),e=gu(),r;try{r=[].__proto__===Array.prototype}catch(a){if(!a||typeof a!="object"||!("code"in a)||a.code!=="ERR_PROTO_ACCESS")throw a}var n=!!r&&e&&e(Object.prototype,"__proto__"),s=Object,i=s.getPrototypeOf;return Nd=n&&typeof n.get=="function"?t([n.get]):typeof i=="function"?function(o){return i(o==null?o:s(o))}:!1,Nd}var Md,eO;function k3(){if(eO)return Md;eO=1;var t=R3(),e=I3(),r=y9();return Md=t?function(s){return t(s)}:e?function(s){if(!s||typeof s!="object"&&typeof s!="function")throw new TypeError("getProto: not an object");return e(s)}:r?function(s){return r(s)}:null,Md}var Dd,tO;function v9(){if(tO)return Dd;tO=1;var t=Function.prototype.call,e=Object.prototype.hasOwnProperty,r=yu();return Dd=r.call(t,e),Dd}var Fd,rO;function P3(){if(rO)return Fd;rO=1;var t,e=A3(),r=e9(),n=t9(),s=r9(),i=n9(),a=O3(),o=mu(),u=s9(),l=i9(),c=a9(),p=o9(),m=u9(),d=l9(),g=c9(),y=p9(),v=Function,E=function(ve){try{return v('"use strict"; return ('+ve+").constructor;")()}catch{}},b=gu(),_=uf(),w=function(){throw new o},S=b?(function(){try{return arguments.callee,w}catch{try{return b(arguments,"callee").get}catch{return w}}})():w,A=h9()(),I=k3(),k=I3(),P=R3(),F=c_(),R=l_(),L={},M=typeof Uint8Array>"u"||!I?t:I(Uint8Array),G={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?t:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?t:ArrayBuffer,"%ArrayIteratorPrototype%":A&&I?I([][Symbol.iterator]()):t,"%AsyncFromSyncIteratorPrototype%":t,"%AsyncFunction%":L,"%AsyncGenerator%":L,"%AsyncGeneratorFunction%":L,"%AsyncIteratorPrototype%":L,"%Atomics%":typeof Atomics>"u"?t:Atomics,"%BigInt%":typeof BigInt>"u"?t:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?t:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?t:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?t:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?t:Float16Array,"%Float32Array%":typeof Float32Array>"u"?t:Float32Array,"%Float64Array%":typeof Float64Array>"u"?t:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?t:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":L,"%Int8Array%":typeof Int8Array>"u"?t:Int8Array,"%Int16Array%":typeof Int16Array>"u"?t:Int16Array,"%Int32Array%":typeof Int32Array>
1"u"?t:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":A&&I?I(I([][Symbol.iterator]())):t,"%JSON%":typeof JSON=="object"?JSON:t,"%Map%":typeof Map>"u"?t:Map,"%MapIteratorPrototype%":typeof Map>"u"||!A||!I?t:I(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":e,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?t:Promise,"%Proxy%":typeof Proxy>"u"?t:Proxy,"%RangeError%":s,"%ReferenceError%":i,"%Reflect%":typeof Reflect>"u"?t:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?t:Set,"%SetIteratorPrototype%":typeof Set>"u"||!A||!I?t:I(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?t:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":A&&I?I(""[Symbol.iterator]()):t,"%Symbol%":A?Symbol:t,"%SyntaxError%":a,"%ThrowTypeError%":S,"%TypedArray%":M,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?t:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?t:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?t:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?t:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>"u"?t:WeakMap,"%WeakRef%":typeof WeakRef>"u"?t:WeakRef,"%WeakSet%":typeof WeakSet>"u"?t:WeakSet,"%Function.prototype.call%":R,"%Function.prototype.apply%":F,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":k,"%Math.abs%":l,"%Math.floor%":c,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":d,"%Math.round%":g,"%Math.sign%":y,"%Reflect.getPrototypeOf%":P};if(I)try{null.error}catch(ve){var re=I(I(ve));G["%Error.prototype%"]=re}var K=function ve(Me){var Be;if(Me==="%AsyncFunction%")Be=E("async function () {}");else if(Me==="%GeneratorFunction%")Be=E("function* () {}");else if(Me==="%AsyncGeneratorFunction%")Be=E("async function* () {}");else if(Me==="%AsyncGenerator%"){var Te=ve("%AsyncGeneratorFunction%");Te&&(Be=Te.prototype)}else if(Me==="%AsyncIteratorPrototype%"){var ke=ve("%AsyncGenerator%");ke&&I&&(Be=I(ke.prototype))}return G[Me]=Be,Be},Z={__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"]},X=yu(),ee=v9(),ce=X.call(R,Array.prototype.concat),se=X.call(F,Array.prototype.splice),ue=X.call(R,String.prototype.replace),ye=X.call(R,String.prototype.slice),he=X.call(R,RegExp.prototype.exec),te=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,V=function(Me){var Be=ye(Me,0,1),Te=ye(Me,-1);if(Be==="%"&&Te!=="%")throw new a("invalid intrinsic syntax, expected closing `%`");if(Te==="%"&&Be!=="%")throw new a("invalid intrinsic syntax, expected opening `%`");var ke=[];return ue(Me,te,function($e,ge,Se,we){ke[ke.length]=Se?ue(we,W,"$1"):ge||$e}),ke},me=function(Me,Be){var Te=Me,ke;if(ee(Z,Te)&&(ke=Z[Te],Te="%"+ke[0]+"%"),ee(G,Te)){var $e=G[Te];if($e===L&&($e=K(Te)),typeof $e>"u"&&!Be)throw new o("intrinsic "+Me+" exists, but is not available. Please file an issue!");return{alias:ke,name:Te,value:$e}}throw new a("intrinsic "+Me+" does not exist!")};return Fd=function(Me,Be){if(typeof Me!="string"||Me.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Be!="boolean")throw new o('"allowMissing" argument must be a boolean');if(he(/^%?[^%]*%?$/,Me)===null)throw new a("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Te=V(Me),ke=Te.length>0?Te[0]:"",$e=me("%"+ke+"%",Be),ge=$e.name,Se=$e.value,we=!1,$=$e.alias;$&&(ke=$[0],se(Te,ce([0,1],$)));for(var C=1,j=!0;C<Te.length;C+=1){var U=Te[C],Y=ye(U,0,1),ne=ye(U,-1);if((Y==='"'||Y==="'"||Y==="`"||ne==='"'||ne==="'"||ne==="`")&&Y!==ne)throw new a("property names with quotes must have matching quotes");if((U==="constructor"||!j)&&(we=!0),ke+="."+U,ge="%"+ke+"%",ee(G,ge))Se=G[ge];else if(Se!=null){if(!(U in Se)){if(!Be)throw new o("base intrinsic for "+Me+" exists, but the property is not available.");return}if(b&&C+1>=Te.length){var fe=b(Se,U);j=!!fe,j&&"get"in fe&&!("originalValue"in fe.get)?Se=fe.get:Se=Se[U]}else j=ee(Se,U),Se=Se[U];j&&!we&&(G[ge]=Se)}}return Se},Fd}var qd,nO;function j3(){if(nO)return qd;nO=1;var t=P3(),e=f_(),r=e([t("%String.prototype.indexOf%")]);return qd=function(s,i){var a=t(s,!!i);return typeof a=="function"&&r(s,".prototype.")>-1?e([a]):a},qd}var Bd,sO;function b9(){if(sO)return Bd;sO=1;var t=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},e(function(){throw 42},null,r)}catch(b){b!==n&&(e=null)}else e=null;var s=/^\s*class\b/,i=function(_){try{var w=t.call(_);return s.test(w)}catch{return!1}},a=function(_){try{return i(_)?!1:(t.call(_),!0)}catch{return!1}},o=Object.prototype.toString,u="[object Object]",l="[object Function]",c="[object GeneratorFunction]",p="[object HTMLAllCollection]",m="[object HTML document.all class]",d="[object HTMLCollection]",g=typeof Symbol=="function"&&!!Symbol.toStringTag,y=!(0 in[,]),v=function(){return!1};if(typeof document=="object"){var E=document.all;o.call(E)===o.call(document.all)&&(v=function(_){if((y||!_)&&(typeof _>"u"||typeof _=="object"))try{var w=o.call(_);return(w===p||w===m||w===d||w===u)&&_("")==null}catch{}return!1})}return Bd=e?function(_){if(v(_))return!0;
1if(!_||typeof _!="function"&&typeof _!="object")return!1;try{e(_,null,r)}catch(w){if(w!==n)return!1}return!i(_)&&a(_)}:function(_){if(v(_))return!0;if(!_||typeof _!="function"&&typeof _!="object")return!1;if(g)return a(_);if(i(_))return!1;var w=o.call(_);return w!==l&&w!==c&&!/^\[object HTML/.test(w)?!1:a(_)},Bd}var Ld,iO;function E9(){if(iO)return Ld;iO=1;var t=b9(),e=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(u,l,c){for(var p=0,m=u.length;p<m;p++)r.call(u,p)&&(c==null?l(u[p],p,u):l.call(c,u[p],p,u))},s=function(u,l,c){for(var p=0,m=u.length;p<m;p++)c==null?l(u.charAt(p),p,u):l.call(c,u.charAt(p),p,u)},i=function(u,l,c){for(var p in u)r.call(u,p)&&(c==null?l(u[p],p,u):l.call(c,u[p],p,u))};function a(o){return e.call(o)==="[object Array]"}return Ld=function(u,l,c){if(!t(l))throw new TypeError("iterator must be a function");var p;arguments.length>=3&&(p=c),a(u)?n(u,l,p):typeof u=="string"?s(u,l,p):i(u,l,p)},Ld}var $d,aO;function S9(){return aO||(aO=1,$d=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),$d}var Ud,oO;function _9(){if(oO)return Ud;oO=1;var t=S9(),e=typeof globalThis>"u"?Nn:globalThis;return Ud=function(){for(var n=[],s=0;s<t.length;s++)typeof e[t[s]]=="function"&&(n[n.length]=t[s]);return n},Ud}var Vd={exports:{}},zd,uO;function w9(){if(uO)return zd;uO=1;var t=uf(),e=O3(),r=mu(),n=gu();return zd=function(i,a,o){if(!i||typeof i!="object"&&typeof i!="function")throw new r("`obj` must be an object or a function`");if(typeof a!="string"&&typeof a!="symbol")throw new r("`property` must be a string or a symbol`");if(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 u=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,p=arguments.length>6?arguments[6]:!1,m=!!n&&n(i,a);if(t)t(i,a,{configurable:c===null&&m?m.configurable:!c,enumerable:u===null&&m?m.enumerable:!u,value:o,writable:l===null&&m?m.writable:!l});else if(p||!u&&!l&&!c)i[a]=o;else throw new e("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},zd}var Wd,lO;function x9(){if(lO)return Wd;lO=1;var t=uf(),e=function(){return!!t};return e.hasArrayLengthDefineBug=function(){if(!t)return null;try{return t([],"length",{value:1}).length!==1}catch{return!0}},Wd=e,Wd}var Jd,cO;function A9(){if(cO)return Jd;cO=1;var t=P3(),e=w9(),r=x9()(),n=gu(),s=mu(),i=t("%Math.floor%");return Jd=function(o,u){if(typeof o!="function")throw new s("`fn` is not a function");if(typeof u!="number"||u<0||u>4294967295||i(u)!==u)throw new s("`length` must be a positive 32-bit integer");var l=arguments.length>2&&!!arguments[2],c=!0,p=!0;if("length"in o&&n){var m=n(o,"length");m&&!m.configurable&&(c=!1),m&&!m.writable&&(p=!1)}return(c||p||!l)&&(r?e(o,"length",u,!0,!0):e(o,"length",u)),o},Jd}var Hd,fO;function O9(){if(fO)return Hd;fO=1;var t=yu(),e=c_(),r=T3();return Hd=function(){return r(t,e,arguments)},Hd}var pO;function C9(){return pO||(pO=1,(function(t){var e=A9(),r=uf(),n=f_(),s=O9();t.exports=function(a){var o=n(arguments),u=a.length-(arguments.length-1);return e(o,1+(u>0?u:0),!0)},r?r(t.exports,"apply",{value:s}):t.exports.apply=s})(Vd)),Vd.exports}var Kd,dO;function R9(){if(dO)return Kd;dO=1;var t=C3();return Kd=function(){return t()&&!!Symbol.toStringTag},Kd}var Gd,hO;function I9(){if(hO)return Gd;hO=1;var t=E9(),e=_9(),r=C9(),n=j3(),s=gu(),i=k3(),a=n("Object.prototype.toString"),o=R9()(),u=typeof globalThis>"u"?Nn:globalThis,l=e(),c=n("String.prototype.slice"),p=n("Array.prototype.indexOf",!0)||function(v,E){for(var b=0;b<v.length;b+=1)if(v[b]===E)return b;return-1},m={__proto__:null};o&&s&&i?t(l,function(y){var v=new u[y];if(Symbol.toStringTag in v&&i){var E=i(v),b=s(E,Symbol.toStringTag);if(!b&&E){var _=i(E);b=s(_,Symbol.toStringTag)}m["$"+y]=r(b.get)}}):t(l,function(y){var v=new u[y],E=v.slice||v.set;E&&(m["$"+y]=r(E))});var d=function(v){var E=!1;return t(m,function(b,_){if(!E)try{"$"+b(v)===_&&(E=c(_,1))}catch{}}),E},g=function(v){var E=!1;return t(m,function(b,_){if(!E)try{b(v),E=c(_,1)}catch{}}),E};return Gd=function(v){if(!v||typeof v!="object")return!1;if(!o){var E=c(a(v),8,-1);return p(l,E)>-1?E:E!=="Object"?!1:g(v)}return s?d(v):null},Gd}var Yd,mO;function T9(){if(mO)return Yd;mO=1;var t=I9();return Yd=function(r){return!!t(r)},Yd}var Xd,gO;function k9(){if(gO)return Xd;gO=1;var t=mu(),e=j3(),r=e("TypedArray.prototype.buffer",!0),n=T9();return Xd=r||function(i){if(!n(i))throw new t("Not a Typed Array");return i.buffer},Xd}var Zd,yO;function P9(){if(yO)return Zd;yO=1;var t=ZU().Buffer,e=QU(),r=k9(),n=ArrayBuffer.isView||function(u){try{return r(u),!0}catch{return!1}},s=typeof Uint8Array<"u",i=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",a=i&&(t.prototype instanceof Uint8Array||t.TYPED_ARRAY_SUPPORT);return Zd=function(u,l){if(t.isBuffer(u))return u.constructor&&!("isBuffer"in u)?t.from(u):u;if(typeof u=="string")return t.from(u,l);if(i&&n(u)){if(u.byteLength===0)return t.alloc(0);if(a){var c=t.from(u.buffer,u.byteOffset,u.byteLength);if(c.byteLength===u.byteLength)return c}var p=u instanceof Uint8Array?u:new Uint8Array(u.buffer,u.byteOffset,u.byteLength),m=t.from(p);if(m.length===u.byteLength)return m}if(s&&u instanceof Uint8Array)return t.from(u);var d=e(u);
1if(d)for(var g=0;g<u.length;g+=1){var y=u[g];if(typeof y!="number"||y<0||y>255||~~y!==y)throw new RangeError("Array items must be numbers in the range 0-255.")}if(d||t.isBuffer(u)&&u.constructor&&typeof u.constructor.isBuffer=="function"&&u.constructor.isBuffer(u))return t.from(u);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},Zd}var N3=P9();const j9=ut(N3),N9=u_({__proto__:null,default:j9},[N3]);var M3=x3();const M9=ut(M3),D9=u_({__proto__:null,default:M9},[M3]);var yc={exports:{}},F9=yc.exports,vO;function lf(){return vO||(vO=1,(function(t,e){(function(r,n){t.exports=n()})(F9,function(){var r=Array.prototype.slice;function n(h,x){x&&(h.prototype=Object.create(x.prototype)),h.prototype.constructor=h}function s(h){return u(h)?h:ke(h)}n(i,s);function i(h){return l(h)?h:$e(h)}n(a,s);function a(h){return c(h)?h:ge(h)}n(o,s);function o(h){return u(h)&&!p(h)?h:Se(h)}function u(h){return!!(h&&h[d])}function l(h){return!!(h&&h[g])}function c(h){return!!(h&&h[y])}
vendor: 55,099 bytes, line 1
1function p(h){return l(h)||c(h)}function m(h){return!!(h&&h[v])}s.isIterable=u,s.isKeyed=l,s.isIndexed=c,s.isAssociative=p,s.isOrdered=m,s.Keyed=i,s.Indexed=a,s.Set=o;var d="@@__IMMUTABLE_ITERABLE__@@",g="@@__IMMUTABLE_KEYED__@@",y="@@__IMMUTABLE_INDEXED__@@",v="@@__IMMUTABLE_ORDERED__@@",E="delete",b=5,_=1<<b,w=_-1,S={},A={value:!1},I={value:!1};function k(h){return h.value=!1,h}function P(h){h&&(h.value=!0)}function F(){}function R(h,x){x=x||0;for(var N=Math.max(0,h.length-x),D=new Array(N),B=0;B<N;B++)D[B]=h[B+x];return D}function L(h){return h.size===void 0&&(h.size=h.__iterate(G)),h.size}function M(h,x){if(typeof x!="number"){var N=x>>>0;if(""+N!==x||N===4294967295)return NaN;x=N}return x<0?L(h)+x:x}function G(){return!0}function re(h,x,N){return(h===0||N!==void 0&&h<=-N)&&(x===void 0||N!==void 0&&x>=N)}function K(h,x){return X(h,x,0)}function Z(h,x){return X(h,x,x)}function X(h,x,N){return h===void 0?N:h<0?Math.max(0,x+h):x===void 0?h:Math.min(x,h)}var ee=0,ce=1,se=2,ue=typeof Symbol=="function"&&Symbol.iterator,ye="@@iterator",he=ue||ye;function te(h){this.next=h}te.prototype.toString=function(){return"[Iterator]"},te.KEYS=ee,te.VALUES=ce,te.ENTRIES=se,te.prototype.inspect=te.prototype.toSource=function(){return this.toString()},te.prototype[he]=function(){return this};function W(h,x,N,D){var B=h===0?x:h===1?N:[x,N];return D?D.value=B:D={value:B,done:!1},D}function V(){return{value:void 0,done:!0}}function me(h){return!!Be(h)}function ve(h){return h&&typeof h.next=="function"}function Me(h){var x=Be(h);return x&&x.call(h)}function Be(h){var x=h&&(ue&&h[ue]||h[ye]);if(typeof x=="function")return x}function Te(h){return h&&typeof h.length=="number"}n(ke,s);function ke(h){return h==null?fe():u(h)?h.toSeq():q(h)}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(h,x){return T(this,h,x,!0)},ke.prototype.__iterator=function(h,x){return H(this,h,x,!0)},n($e,ke);function $e(h){return h==null?fe().toKeyedSeq():u(h)?l(h)?h.toSeq():h.fromEntrySeq():Ne(h)}$e.prototype.toKeyedSeq=function(){return this},n(ge,ke);function ge(h){return h==null?fe():u(h)?l(h)?h.entrySeq():h.toIndexedSeq():Ge(h)}ge.of=function(){return ge(arguments)},ge.prototype.toIndexedSeq=function(){return this},ge.prototype.toString=function(){return this.__toString("Seq [","]")},ge.prototype.__iterate=function(h,x){return T(this,h,x,!1)},ge.prototype.__iterator=function(h,x){return H(this,h,x,!1)},n(Se,ke);function Se(h){return(h==null?fe():u(h)?l(h)?h.entrySeq():h:Ge(h)).toSetSeq()}Se.of=function(){return Se(arguments)},Se.prototype.toSetSeq=function(){return this},ke.isSeq=Y,ke.Keyed=$e,ke.Set=Se,ke.Indexed=ge;var we="@@__IMMUTABLE_SEQ__@@";ke.prototype[we]=!0,n($,ge);function $(h){this._array=h,this.size=h.length}$.prototype.get=function(h,x){return this.has(h)?this._array[M(this,h)]:x},$.prototype.__iterate=function(h,x){for(var N=this._array,D=N.length-1,B=0;B<=D;B++)if(h(N[x?D-B:B],B,this)===!1)return B+1;return B},$.prototype.__iterator=function(h,x){var N=this._array,D=N.length-1,B=0;return new te(function(){return B>D?V():W(h,B,N[x?D-B++:B++])})},n(C,$e);function C(h){var x=Object.keys(h);this._object=h,this._keys=x,this.size=x.length}C.prototype.get=function(h,x){return x!==void 0&&!this.has(h)?x:this._object[h]},C.prototype.has=function(h){return this._object.hasOwnProperty(h)},C.prototype.__iterate=function(h,x){for(var N=this._object,D=this._keys,B=D.length-1,J=0;J<=B;J++){var Q=D[x?B-J:J];if(h(N[Q],Q,this)===!1)return J+1}return J},C.prototype.__iterator=function(h,x){var N=this._object,D=this._keys,B=D.length-1,J=0;return new te(function(){var Q=D[x?B-J:J];return J++>B?V():W(h,Q,N[Q])})},C.prototype[v]=!0,n(j,ge);function j(h){this._iterable=h,this.size=h.length||h.size}j.prototype.__iterateUncached=function(h,x){if(x)return this.cacheResult().__iterate(h,x);var N=this._iterable,D=Me(N),B=0;if(ve(D))for(var J;!(J=D.next()).done&&h(J.value,B++,this)!==!1;);return B},j.prototype.__iteratorUncached=function(h,x){if(x)return this.cacheResult().__iterator(h,x);var N=this._iterable,D=Me(N);if(!ve(D))return new te(V);var B=0;return new te(function(){var J=D.next();return J.done?J:W(h,B++,J.value)})},n(U,ge);function U(h){this._iterator=h,this._iteratorCache=[]}U.prototype.__iterateUncached=function(h,x){if(x)return this.cacheResult().__iterate(h,x);for(var N=this._iterator,D=this._iteratorCache,B=0;B<D.length;)if(h(D[B],B++,this)===!1)return B;for(var J;!(J=N.next()).done;){var Q=J.value;if(D[B]=Q,h(Q,B++,this)===!1)break}return B},U.prototype.__iteratorUncached=function(h,x){if(x)return this.cacheResult().__iterator(h,x);var N=this._iterator,D=this._iteratorCache,B=0;return new te(function(){if(B>=D.length){var J=N.next();if(J.done)return J;D[B]=J.value}return W(h,B,D[B++])})};function Y(h){return!!(h&&h[we])}var ne;function fe(){return ne||(ne=new $([]))}function Ne(h){var x=Array.isArray(h)?new $(h).fromEntrySeq():ve(h)?new U(h).fromEntrySeq():me(h)?new j(h).fromEntrySeq():typeof h=="object"?new C(h):void 0;if(!x)throw new TypeError("Expected Array or iterable object of [k, v] entries, or keyed object: "+h);return x}function Ge(h){var x=O(h);if(!x)throw new TypeError("Expected Array or iterable object of values: "+h);return x}function q(h){var x=O(h)||typeof h=="object"&&new C(h);if(!x)throw new TypeError("Expected Array or iterable object of values, or keyed object: "+h);return x}function O(h){return Te(h)?new $(h):ve(h)?new U(h):me(h)?new j(h):void 0}function T(h,x,N,D){var B=h._cache;if(B){for(var J=B.length-1,Q=0;Q<=J;Q++){var le=B[N?J-Q:Q];if(x(le[1],D?le[0]:Q,h)===!1)return Q+1}return Q}return h.__iterateUncached(x,N)}function H(h,x,N,D){var B=h._cache;if(B){var J=B.length-1,Q=0;return new te(function(){var le=B[N?J-Q:Q];return Q++>J?V():W(x,D?le[0]:Q-1,le[1])})}return h.__iteratorUncached(x,N)}function ie(h,x){return x?de(x,h,"",{"":h}):xe(h)}function de(h,x,N,D){return Array.isArray(x)?h.call(D,N,ge(x).map(function(B,J){return de(h,B,J,x)})):Ze(x)?h.call(D,N,$e(x).map(function(B,J){return de(h,B,J,x)})):x}function xe(h){return Array.isArray(h)?ge(h).map(xe).toList():Ze(h)?$e(h).map(xe).toMap():h}function Ze(h){return h&&(h.constructor===Object||h.constructor===void 0)}function it(h,x){if(h===x||h!==h&&x!==x)return!0;if(!h||!x)return!1;if(typeof h.valueOf=="function"&&typeof x.valueOf=="function"){if(h=h.valueOf(),x=x.valueOf(),h===x||h!==h&&x!==x)return!0;if(!h||!x)return!1}return!!(typeof h.equals=="function"&&typeof x.equals=="function"&&h.equals(x))}function kt(h,x){if(h===x)return!0;if(!u(x)||h.size!==void 0&&x.size!==void 0&&h.size!==x.size||h.__hash!==void 0&&x.__hash!==void 0&&h.__hash!==x.__hash||l(h)!==l(x)||c(h)!==c(x)||m(h)!==m(x))return!1;if(h.size===0&&x.size===0)return!0;var N=!p(h);if(m(h)){var D=h.entries();return x.every(function(_e,Ae){var Ie=D.next().value;return Ie&&it(Ie[1],_e)&&(N||it(Ie[0],Ae))})&&D.next().done}var B=!1;if(h.size===void 0)if(x.size===void 0)typeof h.cacheResult=="function"&&h.cacheResult();else{B=!0;var J=h;h=x,x=J}var Q=!0,le=x.__iterate(function(_e,Ae){if(N?!h.has(_e):B?!it(_e,h.get(Ae,S)):!it(h.get(Ae,S),_e))return Q=!1,!1});return Q&&h.size===le}n(ft,ge);function ft(h,x){if(!(this instanceof ft))return new ft(h,x);if(this._value=h,this.size=x===void 0?1/0:Math.max(0,x),this.size===0){if(ae)return ae;ae=this}}ft.prototype.toString=function(){return this.size===0?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},ft.prototype.get=function(h,x){return this.has(h)?this._value:x},ft.prototype.includes=function(h){return it(this._value,h)},ft.prototype.slice=function(h,x){var N=this.size;return re(h,x,N)?this:new ft(this._value,Z(x,N)-K(h,N))},ft.prototype.reverse=function(){return this},ft.prototype.indexOf=function(h){return it(this._value,h)?0:-1},ft.prototype.lastIndexOf=function(h){return it(this._value,h)?this.size:-1},ft.prototype.__iterate=function(h,x){for(var N=0;N<this.size;N++)if(h(this._value,N,this)===!1)return N+1;return N},ft.prototype.__iterator=function(h,x){var N=this,D=0;return new te(function(){return D<N.size?W(h,D++,N._value):V()})},ft.prototype.equals=function(h){return h instanceof ft?it(this._value,h._value):kt(h)};var ae;function Ce(h,x){if(!h)throw new Error(x)}n(je,ge);function je(h,x,N){if(!(this instanceof je))return new je(h,x,N);if(Ce(N!==0,"Cannot step a Range by 0"),h=h||0,x===void 0&&(x=1/0),N=N===void 0?1:Math.abs(N),x<h&&(N=-N),this._start=h,this._end=x,this._step=N,this.size=Math.max(0,Math.ceil((x-h)/N-1)+1),this.size===0){if(tt)return tt;tt=this}}je.prototype.toString=function(){return this.size===0?"Range []":"Range [ "+this._start+"..."+this._end+(this._step!==1?" by "+this._step:"")+" ]"},je.prototype.get=function(h,x){return this.has(h)?this._start+M(this,h)*this._step:x},je.prototype.includes=function(h){var x=(h-this._start)/this._step;return x>=0&&x<this.size&&x===Math.floor(x)},je.prototype.slice=function(h,x){return re(h,x,this.size)?this:(h=K(h,this.size),x=Z(x,this.size),x<=h?new je(0,0):new je(this.get(h,this._end),this.get(x,this._end),this._step))},je.prototype.indexOf=function(h){var x=h-this._start;if(x%this._step===0){var N=x/this._step;if(N>=0&&N<this.size)return N}return-1},je.prototype.lastIndexOf=function(h){return this.indexOf(h)},je.prototype.__iterate=function(h,x){for(var N=this.size-1,D=this._step,B=x?this._start+N*D:this._start,J=0;J<=N;J++){if(h(B,J,this)===!1)return J+1;B+=x?-D:D}return J},je.prototype.__iterator=function(h,x){var N=this.size-1,D=this._step,B=x?this._start+N*D:this._start,J=0;return new te(function(){var Q=B;return B+=x?-D:D,J>N?V():W(h,J++,Q)})},je.prototype.equals=function(h){return h instanceof je?this._start===h._start&&this._end===h._end&&this._step===h._step:kt(this,h)};var tt;n(pt,s);function pt(){throw TypeError("Abstract")}n(St,pt);function St(){}n($t,pt);function $t(){}n(De,pt);function De(){}pt.Keyed=St,pt.Indexed=$t,pt.Set=De;var Je=typeof Math.imul=="function"&&Math.imul(4294967295,2)===-2?Math.imul:function(x,N){x=x|0,N=N|0;var D=x&65535,B=N&65535;return D*B+((x>>>16)*B+D*(N>>>16)<<16>>>0)|0};function lt(h){return h>>>1&1073741824|h&3221225471}function rt(h){if(h===!1||h===null||h===void 0||typeof h.valueOf=="function"&&(h=h.valueOf(),h===!1||h===null||h===void 0))return 0;if(h===!0)return 1;var x=typeof h;if(x==="number"){if(h!==h||h===1/0)return 0;var N=h|0;for(N!==h&&(N^=h*4294967295);h>4294967295;)h/=4294967295,N^=h;return lt(N)}if(x==="string")return h.length>fn?Ut(h):Vr(h);if(typeof h.hashCode=="function")return h.hashCode();if(x==="object")return ni(h);if(typeof h.toString=="function")return Vr(h.toString());throw new Error("Value type "+x+" cannot be hashed.")}function Ut(h){var x=ds[h];return x===void 0&&(x=Vr(h),ui===oi&&(ui=0,ds={}),ui++,ds[h]=x),x}function Vr(h){for(var x=0,N=0;N<h.length;N++)x=31*x+h.charCodeAt(N)|0;return lt(x)}function ni(h){var x;if(ii&&(x=ai.get(h),x!==void 0)||(x=h[Wr],x!==void 0)||!zr&&(x=h.propertyIsEnumerable&&h.propertyIsEnumerable[Wr],x!==void 0||(x=ps(h),x!==void 0)))return x;if(x=++Ms,Ms&1073741824&&(Ms=0),ii)ai.set(h,x);else{if(si!==void 0&&si(h)===!1)throw new Error("Non-extensible objects are not allowed as keys.");if(zr)Object.defineProperty(h,Wr,{enumerable:!1,configurable:!1,writable:!1,value:x});else if(h.propertyIsEnumerable!==void 0&&h.propertyIsEnumerable===h.constructor.prototype.propertyIsEnumerable)h.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},h.propertyIsEnumerable[Wr]=x;else if(h.nodeType!==void 0)h[Wr]=x;else throw new Error("Unable to set a non-enumerable property on object.")}return x}var si=Object.isExtensible,zr=(function(){try{return Object.defineProperty({},"@",{}),!0}catch{return!1}})();function ps(h){if(h&&h.nodeType>0)switch(h.nodeType){case 1:return h.uniqueID;case 9:return h.documentElement&&h.documentElement.uniqueID}}var ii=typeof WeakMap=="function",ai;ii&&(ai=new WeakMap);var Ms=0,Wr="__immutablehash__";typeof Symbol=="function"&&(Wr=Symbol(Wr));var fn=16,oi=255,ui=0,ds={};function Er(h){Ce(h!==1/0,"Cannot perform this action with an infinite size.")}n(xt,St);function xt(h){return h==null?ze():Qe(h)&&!m(h)?h:ze().withMutations(function(x){var N=i(h);Er(N.size),N.forEach(function(D,B){return x.set(B,D)})})}xt.of=function(){var h=r.call(arguments,0);return ze().withMutations(function(x){for(var N=0;N<h.length;N+=2){if(N+1>=h.length)throw new Error("Missing value for key: "+h[N]);x.set(h[N],h[N+1])}})},xt.prototype.toString=function(){return this.__toString("Map {","}")},xt.prototype.get=function(h,x){return this._root?this._root.get(0,void 0,h,x):x},xt.prototype.set=function(h,x){return Ot(this,h,x)},xt.prototype.setIn=function(h,x){return this.updateIn(h,S,function(){return x})},xt.prototype.remove=function(h){return Ot(this,h,S)},xt.prototype.deleteIn=function(h){return this.updateIn(h,function(){return S})},xt.prototype.update=function(h,x,N){return arguments.length===1?h(this):this.updateIn([h],x,N)},xt.prototype.updateIn=function(h,x,N){N||(N=x,x=void 0);var D=ql(this,r2(h),x,N);return D===S?void 0:D},xt.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):ze()},xt.prototype.merge=function(){return pn(this,void 0,arguments)},xt.prototype.mergeWith=function(h){var x=r.call(arguments,1);return pn(this,h,x)},xt.prototype.mergeIn=function(h){var x=r.call(arguments,1);return this.updateIn(h,ze(),function(N){return typeof N.merge=="function"?N.merge.apply(N,x):x[x.length-1]})},xt.prototype.mergeDeep=function(){return pn(this,Ml,arguments)},xt.prototype.mergeDeepWith=function(h){var x=r.call(arguments,1);return pn(this,Dl(h),x)},xt.prototype.mergeDeepIn=function(h){var x=r.call(arguments,1);return this.updateIn(h,ze(),function(N){return typeof N.mergeDeep=="function"?N.mergeDeep.apply(N,x):x[x.length-1]})},xt.prototype.sort=function(h){return pr(Sa(this,h))},xt.prototype.sortBy=function(h,x){return pr(Sa(this,x,h))},xt.prototype.withMutations=function(h){var x=this.asMutable();return h(x),x.wasAltered()?x.__ensureOwner(this.__ownerID):this},xt.prototype.asMutable=function(){return this.__ownerID?this:this.__ensureOwner(new F)},xt.prototype.asImmutable=function(){return this.__ensureOwner()},xt.prototype.wasAltered=function(){return this.__altered},xt.prototype.__iterator=function(h,x){return new Jr(this,h,x)},xt.prototype.__iterate=function(h,x){var N=this,D=0;return this._root&&this._root.iterate(function(B){return D++,h(B[1],B[0],N)},x),D},xt.prototype.__ensureOwner=function(h){return h===this.__ownerID?this:h?sr(this.size,this._root,h,this.__hash):(this.__ownerID=h,this.__altered=!1,this)};function Qe(h){return!!(h&&h[oe])}xt.isMap=Qe;var oe="@@__IMMUTABLE_MAP__@@",Oe=xt.prototype;Oe[oe]=!0,Oe[E]=Oe.remove,Oe.removeIn=Oe.deleteIn;function He(h,x){this.ownerID=h,this.entries=x}He.prototype.get=function(h,x,N,D){for(var B=this.entries,J=0,Q=B.length;J<Q;J++)if(it(N,B[J][0]))return B[J][1];return D},He.prototype.update=function(h,x,N,D,B,J,Q){for(var le=B===S,_e=this.entries,Ae=0,Ie=_e.length;Ae<Ie&&!it(D,_e[Ae][0]);Ae++);var We=Ae<Ie;if(We?_e[Ae][1]===B:le)return this;if(P(Q),(le||!We)&&P(J),!(le&&_e.length===1)){if(!We&&!le&&_e.length>=Eo)return xn(h,_e,D,B);var Xe=h&&h===this.ownerID,ht=Xe?_e:R(_e);return We?le?Ae===Ie-1?ht.pop():ht[Ae]=ht.pop():ht[Ae]=[D,B]:ht.push([D,B]),Xe?(this.entries=ht,this):new He(h,ht)}};function gt(h,x,N){this.ownerID=h,this.bitmap=x,this.nodes=N}gt.prototype.get=function(h,x,N,D){x===void 0&&(x=rt(N));var B=1<<((h===0?x:x>>>h)&w),J=this.bitmap;return(J&B)===0?D:this.nodes[Fi(J&B-1)].get(h+b,x,N,D)},gt.prototype.update=function(h,x,N,D,B,J,Q){N===void 0&&(N=rt(D));var le=(x===0?N:N>>>x)&w,_e=1<<le,Ae=this.bitmap,Ie=(Ae&_e)!==0;if(!Ie&&B===S)return this;var We=Fi(Ae&_e-1),Xe=this.nodes,ht=Ie?Xe[We]:void 0,At=Ft(ht,h,x+b,N,D,B,J,Q);if(At===ht)return this;if(!Ie&&At&&Xe.length>=_t)return On(h,Xe,Ae,le,At);if(Ie&&!At&&Xe.length===2&&fr(Xe[We^1]))return Xe[We^1];if(Ie&&At&&Xe.length===1&&fr(At))return At;var er=h&&h===this.ownerID,Wn=Ie?At?Ae:Ae^_e:Ae|_e,ys=Ie?At?bo(Xe,We,At,er):Wp(Xe,We,er):ci(Xe,We,At,er);return er?(this.bitmap=Wn,this.nodes=ys,this):new gt(h,Wn,ys)};function Xt(h,x,N){this.ownerID=h,this.count=x,this.nodes=N}Xt.prototype.get=function(h,x,N,D){x===void 0&&(x=rt(N));var B=(h===0?x:x>>>h)&w,J=this.nodes[B];return J?J.get(h+b,x,N,D):D},Xt.prototype.update=function(h,x,N,D,B,J,Q){N===void 0&&(N=rt(D));var le=(x===0?N:N>>>x)&w,_e=B===S,Ae=this.nodes,Ie=Ae[le];if(_e&&!Ie)return this;var We=Ft(Ie,h,x+b,N,D,B,J,Q);if(We===Ie)return this;var Xe=this.count;if(!Ie)Xe++;else if(!We&&(Xe--,Xe<Bl))return An(h,Ae,Xe,le);var ht=h&&h===this.ownerID,At=bo(Ae,le,We,ht);return ht?(this.count=Xe,this.nodes=At,this):new Xt(h,Xe,At)};function Lt(h,x,N){this.ownerID=h,this.keyHash=x,this.entries=N}Lt.prototype.get=function(h,x,N,D){for(var B=this.entries,J=0,Q=B.length;J<Q;J++)if(it(N,B[J][0]))return B[J][1];return D},Lt.prototype.update=function(h,x,N,D,B,J,Q){N===void 0&&(N=rt(D));var le=B===S;if(N!==this.keyHash)return le?this:(P(Q),P(J),zn(this,h,x,N,[D,B]));for(var _e=this.entries,Ae=0,Ie=_e.length;Ae<Ie&&!it(D,_e[Ae][0]);Ae++);var We=Ae<Ie;if(We?_e[Ae][1]===B:le)return this;if(P(Q),(le||!We)&&P(J),le&&Ie===2)return new Kt(h,this.keyHash,_e[Ae^1]);var Xe=h&&h===this.ownerID,ht=Xe?_e:R(_e);return We?le?Ae===Ie-1?ht.pop():ht[Ae]=ht.pop():ht[Ae]=[D,B]:ht.push([D,B]),Xe?(this.entries=ht,this):new Lt(h,this.keyHash,ht)};function Kt(h,x,N){this.ownerID=h,this.keyHash=x,this.entry=N}Kt.prototype.get=function(h,x,N,D){return it(N,this.entry[0])?this.entry[1]:D},Kt.prototype.update=function(h,x,N,D,B,J,Q){var le=B===S,_e=it(D,this.entry[0]);if(_e?B===this.entry[1]:le)return this;if(P(Q),le){P(J);return}return _e?h&&h===this.ownerID?(this.entry[1]=B,this):new Kt(h,this.keyHash,[D,B]):(P(J),zn(this,h,x,rt(D),[D,B]))},He.prototype.iterate=Lt.prototype.iterate=function(h,x){for(var N=this.entries,D=0,B=N.length-1;D<=B;D++)if(h(N[x?B-D:D])===!1)return!1},gt.prototype.iterate=Xt.prototype.iterate=function(h,x){for(var N=this.nodes,D=0,B=N.length-1;D<=B;D++){var J=N[x?B-D:D];if(J&&J.iterate(h,x)===!1)return!1}},Kt.prototype.iterate=function(h,x){return h(this.entry)},n(Jr,te);function Jr(h,x,N){this._type=x,this._reverse=N,this._stack=h._root&&li(h._root)}Jr.prototype.next=function(){for(var h=this._type,x=this._stack;x;){var N=x.node,D=x.index++,B;if(N.entry){if(D===0)return en(h,N.entry)}else if(N.entries){if(B=N.entries.length-1,D<=B)return en(h,N.entries[this._reverse?B-D:D])}else if(B=N.nodes.length-1,D<=B){var J=N.nodes[this._reverse?B-D:D];if(J){if(J.entry)return en(h,J.entry);x=this._stack=li(J,x)}continue}x=this._stack=this._stack.__prev}return V()};function en(h,x){return W(h,x[0],x[1])}function li(h,x){return{node:h,index:0,__prev:x}}function sr(h,x,N,D){var B=Object.create(Oe);return B.size=h,B._root=x,B.__ownerID=N,B.__hash=D,B.__altered=!1,B}var Pe;function ze(){return Pe||(Pe=sr(0))}function Ot(h,x,N){var D,B;if(h._root){var J=k(A),Q=k(I);if(D=Ft(h._root,h.__ownerID,0,void 0,x,N,J,Q),!Q.value)return h;B=h.size+(J.value?N===S?-1:1:0)}else{if(N===S)return h;B=1,D=new He(h.__ownerID,[[x,N]])}return h.__ownerID?(h.size=B,h._root=D,h.__hash=void 0,h.__altered=!0,h):D?sr(B,D):ze()}function Ft(h,x,N,D,B,J,Q,le){return h?h.update(x,N,D,B,J,Q,le):J===S?h:(P(le),P(Q),new Kt(x,D,[B,J]))}function fr(h){return h.constructor===Kt||h.constructor===Lt}function zn(h,x,N,D,B){if(h.keyHash===D)return new Lt(x,D,[h.entry,B]);var J=(N===0?h.keyHash:h.keyHash>>>N)&w,Q=(N===0?D:D>>>N)&w,le,_e=J===Q?[zn(h,x,N+b,D,B)]:(le=new Kt(x,D,B),J<Q?[h,le]:[le,h]);return new gt(x,1<<J|1<<Q,_e)}function xn(h,x,N,D){h||(h=new F);for(var B=new Kt(h,rt(N),[N,D]),J=0;J<x.length;J++){var Q=x[J];B=B.update(h,0,void 0,Q[0],Q[1])}return B}function An(h,x,N,D){for(var B=0,J=0,Q=new Array(N),le=0,_e=1,Ae=x.length;le<Ae;le++,_e<<=1){var Ie=x[le];Ie!==void 0&&le!==D&&(B|=_e,Q[J++]=Ie)}return new gt(h,B,Q)}function On(h,x,N,D,B){for(var J=0,Q=new Array(_),le=0;N!==0;le++,N>>>=1)Q[le]=N&1?x[J++]:void 0;return Q[D]=B,new Xt(h,J+1,Q)}function pn(h,x,N){for(var D=[],B=0;B<N.length;B++){var J=N[B],Q=i(J);u(J)||(Q=Q.map(function(le){return ie(le)})),D.push(Q)}return Fl(h,x,D)}function Ml(h,x,N){return h&&h.mergeDeep&&u(x)?h.mergeDeep(x):it(h,x)?h:x}function Dl(h){return function(x,N,D){if(x&&x.mergeDeepWith&&u(N))return x.mergeDeepWith(h,N);var B=h(x,N,D);return it(x,B)?x:B}}function Fl(h,x,N){return N=N.filter(function(D){return D.size!==0}),N.length===0?h:h.size===0&&!h.__ownerID&&N.length===1?h.constructor(N[0]):h.withMutations(function(D){for(var B=x?function(Q,le){D.update(le,S,function(_e){return _e===S?Q:x(_e,Q,le)})}:function(Q,le){D.set(le,Q)},J=0;J<N.length;J++)N[J].forEach(B)})}function ql(h,x,N,D){var B=h===S,J=x.next();if(J.done){var Q=B?N:h,le=D(Q);return le===Q?h:le}Ce(B||h&&h.set,"invalid keyPath");var _e=J.value,Ae=B?S:h.get(_e,S),Ie=ql(Ae,x,N,D);return Ie===Ae?h:Ie===S?h.remove(_e):(B?ze():h).set(_e,Ie)}function Fi(h){return h=h-(h>>1&1431655765),h=(h&858993459)+(h>>2&858993459),h=h+(h>>4)&252645135,h=h+(h>>8),h=h+(h>>16),h&127}function bo(h,x,N,D){var B=D?h:R(h);return B[x]=N,B}function ci(h,x,N,D){var B=h.length+1;if(D&&x+1===B)return h[x]=N,h;for(var J=new Array(B),Q=0,le=0;le<B;le++)le===x?(J[le]=N,Q=-1):J[le]=h[le+Q];return J}function Wp(h,x,N){var D=h.length-1;if(N&&x===D)return h.pop(),h;for(var B=new Array(D),J=0,Q=0;Q<D;Q++)Q===x&&(J=1),B[Q]=h[Q+J];return B}var Eo=_/4,_t=_/2,Bl=_/4;n(yt,$t);function yt(h){var x=Nt();if(h==null)return x;if(rr(h))return h;var N=a(h),D=N.size;return D===0?x:(Er(D),D>0&&D<_?nt(0,D,b,null,new Cn(N.toArray())):x.withMutations(function(B){B.setSize(D),N.forEach(function(J,Q){return B.set(Q,J)})}))}yt.of=function(){return this(arguments)},yt.prototype.toString=function(){return this.__toString("List [","]")},yt.prototype.get=function(h,x){if(h=M(this,h),h>=0&&h<this.size){h+=this._origin;var N=UA(this,h);return N&&N.array[h&w]}return x},yt.prototype.set=function(h,x){return Br(this,h,x)},yt.prototype.remove=function(h){return this.has(h)?h===0?this.shift():h===this.size-1?this.pop():this.splice(h,1):this},yt.prototype.insert=function(h,x){return this.splice(h,0,x)},yt.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):Nt()},yt.prototype.push=function(){var h=arguments,x=this.size;return this.withMutations(function(N){di(N,0,x+h.length);for(var D=0;D<h.length;D++)N.set(x+D,h[D])})},yt.prototype.pop=function(){return di(this,0,-1)},yt.prototype.unshift=function(){var h=arguments;return this.withMutations(function(x){di(x,-h.length);for(var N=0;N<h.length;N++)x.set(N,h[N])})},yt.prototype.shift=function(){return di(this,1)},yt.prototype.merge=function(){return Ll(this,void 0,arguments)},yt.prototype.mergeWith=function(h){var x=r.call(arguments,1);return Ll(this,h,x)},yt.prototype.mergeDeep=function(){return Ll(this,Ml,arguments)},yt.prototype.mergeDeepWith=function(h){var x=r.call(arguments,1);return Ll(this,Dl(h),x)},yt.prototype.setSize=function(h){return di(this,0,h)},yt.prototype.slice=function(h,x){var N=this.size;return re(h,x,N)?this:di(this,K(h,N),Z(x,N))},yt.prototype.__iterator=function(h,x){var N=0,D=et(this,x);return new te(function(){var B=D();return B===Ds?V():W(h,N++,B)})},yt.prototype.__iterate=function(h,x){for(var N=0,D=et(this,x),B;(B=D())!==Ds&&h(B,N++,this)!==!1;);return N},yt.prototype.__ensureOwner=function(h){return h===this.__ownerID?this:h?nt(this._origin,this._capacity,this._level,this._root,this._tail,h,this.__hash):(this.__ownerID=h,this)};function rr(h){return!!(h&&h[qi])}yt.isList=rr;var qi="@@__IMMUTABLE_LIST__@@",ir=yt.prototype;ir[qi]=!0,ir[E]=ir.remove,ir.setIn=Oe.setIn,ir.deleteIn=ir.removeIn=Oe.removeIn,ir.update=Oe.update,ir.updateIn=Oe.updateIn,ir.mergeIn=Oe.mergeIn,ir.mergeDeepIn=Oe.mergeDeepIn,ir.withMutations=Oe.withMutations,ir.asMutable=Oe.asMutable,ir.asImmutable=Oe.asImmutable,ir.wasAltered=Oe.wasAltered;function Cn(h,x){this.array=h,this.ownerID=x}Cn.prototype.removeBefore=function(h,x,N){if(N===x?1<<x:this.array.length===0)return this;var D=N>>>x&w;if(D>=this.array.length)return new Cn([],h);var B=D===0,J;if(x>0){var Q=this.array[D];if(J=Q&&Q.removeBefore(h,x-b,N),J===Q&&B)return this}if(B&&!J)return this;var le=pi(this,h);if(!B)for(var _e=0;_e<D;_e++)le.array[_e]=void 0;return J&&(le.array[D]=J),le},Cn.prototype.removeAfter=function(h,x,N){if(N===(x?1<<x:0)||this.array.length===0)return this;var D=N-1>>>x&w;if(D>=this.array.length)return this;var B;if(x>0){var J=this.array[D];if(B=J&&J.removeAfter(h,x-b,N),B===J&&D===this.array.length-1)return this}var Q=pi(this,h);return Q.array.splice(D+1),B&&(Q.array[D]=B),Q};var Ds={};function et(h,x){var N=h._origin,D=h._capacity,B=So(D),J=h._tail;return Q(h._root,h._level,0);function Q(Ae,Ie,We){return Ie===0?le(Ae,We):_e(Ae,Ie,We)}function le(Ae,Ie){var We=Ie===B?J&&J.array:Ae&&Ae.array,Xe=Ie>N?0:N-Ie,ht=D-Ie;return ht>_&&(ht=_),function(){if(Xe===ht)return Ds;var At=x?--ht:Xe++;return We&&We[At]}}function _e(Ae,Ie,We){var Xe,ht=Ae&&Ae.array,At=We>N?0:N-We>>Ie,er=(D-We>>Ie)+1;return er>_&&(er=_),function(){do{if(Xe){var Wn=Xe();if(Wn!==Ds)return Wn;Xe=null}if(At===er)return Ds;var ys=x?--er:At++;Xe=Q(ht&&ht[ys],Ie-b,We+(ys<<Ie))}while(!0)}}}function nt(h,x,N,D,B,J,Q){var le=Object.create(ir);return le.size=x-h,le._origin=h,le._capacity=x,le._level=N,le._root=D,le._tail=B,le.__ownerID=J,le.__hash=Q,le.__altered=!1,le}var Et;function Nt(){return Et||(Et=nt(0,0,b))}function Br(h,x,N){if(x=M(h,x),x!==x)return h;if(x>=h.size||x<0)return h.withMutations(function(Q){x<0?di(Q,x).set(0,N):di(Q,0,x+1).set(x,N)});x+=h._origin;var D=h._tail,B=h._root,J=k(I);return x>=So(h._capacity)?D=fi(D,h.__ownerID,0,x,N,J):B=fi(B,h.__ownerID,h._level,x,N,J),J.value?h.__ownerID?(h._root=B,h._tail=D,h.__hash=void 0,h.__altered=!0,h):nt(h._origin,h._capacity,h._level,B,D):h}function fi(h,x,N,D,B,J){var Q=D>>>N&w,le=h&&Q<h.array.length;if(!le&&B===void 0)return h;var _e;if(N>0){var Ae=h&&h.array[Q],Ie=fi(Ae,x,N-b,D,B,J);return Ie===Ae?h:(_e=pi(h,x),_e.array[Q]=Ie,_e)}return le&&h.array[Q]===B?h:(P(J),_e=pi(h,x),B===void 0&&Q===_e.array.length-1?_e.array.pop():_e.array[Q]=B,_e)}function pi(h,x){return x&&h&&x===h.ownerID?h:new Cn(h?h.array.slice():[],x)}function UA(h,x){if(x>=So(h._capacity))return h._tail;if(x<1<<h._level+b){for(var N=h._root,D=h._level;N&&D>0;)N=N.array[x>>>D&w],D-=b;return N}}function di(h,x,N){x!==void 0&&(x=x|0),N!==void 0&&(N=N|0);var D=h.__ownerID||new F,B=h._origin,J=h._capacity,Q=B+x,le=N===void 0?J:N<0?J+N:B+N;if(Q===B&&le===J)return h;if(Q>=le)return h.clear();for(var _e=h._level,Ae=h._root,Ie=0;Q+Ie<0;)Ae=new Cn(Ae&&Ae.array.length?[void 0,Ae]:[],D),_e+=b,Ie+=1<<_e;Ie&&(Q+=Ie,B+=Ie,le+=Ie,J+=Ie);for(var We=So(J),Xe=So(le);Xe>=1<<_e+b;)Ae=new Cn(Ae&&Ae.array.length?[Ae]:[],D),_e+=b;var ht=h._tail,At=Xe<We?UA(h,le-1):Xe>We?new Cn([],D):ht;if(ht&&Xe>We&&Q<J&&ht.array.length){Ae=pi(Ae,D);for(var er=Ae,Wn=_e;Wn>b;Wn-=b){var ys=We>>>Wn&w;er=er.array[ys]=pi(er.array[ys],D)}er.array[We>>>b&w]=ht}if(le<J&&(At=At&&At.removeAfter(D,0,le)),Q>=Xe)Q-=Xe,le-=Xe,_e=b,Ae=null,At=At&&At.removeBefore(D,0,Q);else if(Q>B||Xe<We){for(Ie=0;Ae;){var Hl=Q>>>_e&w;if(Hl!==Xe>>>_e&w)break;Hl&&(Ie+=(1<<_e)*Hl),_e-=b,Ae=Ae.array[Hl]}Ae&&Q>B&&(Ae=Ae.removeBefore(D,_e,Q-Ie)),Ae&&Xe<We&&(Ae=Ae.removeAfter(D,_e,Xe-Ie)),Ie&&(Q-=Ie,le-=Ie)}return h.__ownerID?(h.size=le-Q,h._origin=Q,h._capacity=le,h._level=_e,h._root=Ae,h._tail=At,h.__hash=void 0,h.__altered=!0,h):nt(Q,le,_e,Ae,At)}function Ll(h,x,N){for(var D=[],B=0,J=0;J<N.length;J++){var Q=N[J],le=a(Q);le.size>B&&(B=le.size),u(Q)||(le=le.map(function(_e){return ie(_e)})),D.push(le)}return B>h.size&&(h=h.setSize(B)),Fl(h,x,D)}function So(h){return h<_?0:h-1>>>b<<b}n(pr,xt);function pr(h){return h==null?$l():VA(h)?h:$l().withMutations(function(x){var N=i(h);Er(N.size),N.forEach(function(D,B){return x.set(B,D)})})}pr.of=function(){return this(arguments)},pr.prototype.toString=function(){return this.__toString("OrderedMap {","}")},pr.prototype.get=function(h,x){var N=this._map.get(h);return N!==void 0?this._list.get(N)[1]:x},pr.prototype.clear=function(){return this.size===0?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this):$l()},pr.prototype.set=function(h,x){return WA(this,h,x)},pr.prototype.remove=function(h){return WA(this,h,S)},pr.prototype.wasAltered=function(){return this._map.wasAltered()||this._list.wasAltered()},pr.prototype.__iterate=function(h,x){var N=this;return this._list.__iterate(function(D){return D&&h(D[1],D[0],N)},x)},pr.prototype.__iterator=function(h,x){return this._list.fromEntrySeq().__iterator(h,x)},pr.prototype.__ensureOwner=function(h){if(h===this.__ownerID)return this;var x=this._map.__ensureOwner(h),N=this._list.__ensureOwner(h);return h?Jp(x,N,h,this.__hash):(this.__ownerID=h,this._map=x,this._list=N,this)};function VA(h){return Qe(h)&&m(h)}pr.isOrderedMap=VA,pr.prototype[v]=!0,pr.prototype[E]=pr.prototype.remove;function Jp(h,x,N,D){var B=Object.create(pr.prototype);return B.size=h?h.size:0,B._map=h,B._list=x,B.__ownerID=N,B.__hash=D,B}var zA;function $l(){return zA||(zA=Jp(ze(),Nt()))}function WA(h,x,N){var D=h._map,B=h._list,J=D.get(x),Q=J!==void 0,le,_e;if(N===S){if(!Q)return h;B.size>=_&&B.size>=D.size*2?(_e=B.filter(function(Ae,Ie){return Ae!==void 0&&J!==Ie}),le=_e.toKeyedSeq().map(function(Ae){return Ae[0]}).flip().toMap(),h.__ownerID&&(le.__ownerID=_e.__ownerID=h.__ownerID)):(le=D.remove(x),_e=J===B.size-1?B.pop():B.set(J,void 0))}else if(Q){if(N===B.get(J)[1])return h;le=D,_e=B.set(J,[x,N])}else le=D.set(x,B.size),_e=B.set(B.size,[x,N]);return h.__ownerID?(h.size=le.size,h._map=le,h._list=_e,h.__hash=void 0,h):Jp(le,_e)}n(Rn,$e);function Rn(h,x){this._iter=h,this._useKeys=x,this.size=h.size}Rn.prototype.get=function(h,x){return this._iter.get(h,x)},Rn.prototype.has=function(h){return this._iter.has(h)},Rn.prototype.valueSeq=function(){return this._iter.valueSeq()},Rn.prototype.reverse=function(){var h=this,x=Hp(this,!0);return this._useKeys||(x.valueSeq=function(){return h._iter.toSeq().reverse()}),x},Rn.prototype.map=function(h,x){var N=this,D=HA(this,h,x);return this._useKeys||(D.valueSeq=function(){return N._iter.toSeq().map(h,x)}),D},Rn.prototype.__iterate=function(h,x){var N=this,D;return this._iter.__iterate(this._useKeys?function(B,J){return h(B,J,N)}:(D=x?QA(this):0,function(B){return h(B,x?--D:D++,N)}),x)},Rn.prototype.__iterator=function(h,x){if(this._useKeys)return this._iter.__iterator(h,x);var N=this._iter.__iterator(ce,x),D=x?QA(this):0;return new te(function(){var B=N.next();return B.done?B:W(h,x?--D:D++,B.value,B)})},Rn.prototype[v]=!0,n(va,ge);function va(h){this._iter=h,this.size=h.size}va.prototype.includes=function(h){return this._iter.includes(h)},va.prototype.__iterate=function(h,x){var N=this,D=0;return this._iter.__iterate(function(B){return h(B,D++,N)},x)},va.prototype.__iterator=function(h,x){var N=this._iter.__iterator(ce,x),D=0;return new te(function(){var B=N.next();return B.done?B:W(h,D++,B.value,B)})},n(ba,Se);function ba(h){this._iter=h,this.size=h.size}ba.prototype.has=function(h){return this._iter.includes(h)},ba.prototype.__iterate=function(h,x){var N=this;return this._iter.__iterate(function(D){return h(D,D,N)},x)},ba.prototype.__iterator=function(h,x){var N=this._iter.__iterator(ce,x);return new te(function(){var D=N.next();return D.done?D:W(h,D.value,D.value,D)})},n(Ea,$e);function Ea(h){this._iter=h,this.size=h.size}Ea.prototype.entrySeq=function(){return this._iter.toSeq()},Ea.prototype.__iterate=function(h,x){var N=this;return this._iter.__iterate(function(D){if(D){ZA(D);var B=u(D);return h(B?D.get(1):D[1],B?D.get(0):D[0],N)}},x)},Ea.prototype.__iterator=function(h,x){var N=this._iter.__iterator(ce,x);return new te(function(){for(;;){var D=N.next();if(D.done)return D;var B=D.value;if(B){ZA(B);var J=u(B);return W(h,J?B.get(0):B[0],J?B.get(1):B[1],D)}}})},va.prototype.cacheResult=Rn.prototype.cacheResult=ba.prototype.cacheResult=Ea.prototype.cacheResult=Yp;function JA(h){var x=hs(h);return x._iter=h,x.size=h.size,x.flip=function(){return h},x.reverse=function(){var N=h.reverse.apply(this);return N.flip=function(){return h.reverse()},N},x.has=function(N){return h.includes(N)},x.includes=function(N){return h.has(N)},x.cacheResult=Yp,x.__iterateUncached=function(N,D){var B=this;return h.__iterate(function(J,Q){return N(Q,J,B)!==!1},D)},x.__iteratorUncached=function(N,D){if(N===se){var B=h.__iterator(N,D);return new te(function(){var J=B.next();if(!J.done){var Q=J.value[0];J.value[0]=J.value[1],J.value[1]=Q}return J})}return h.__iterator(N===ce?ee:ce,D)},x}function HA(h,x,N){var D=hs(h);return D.size=h.size,D.has=function(B){return h.has(B)},D.get=function(B,J){var Q=h.get(B,S);return Q===S?J:x.call(N,Q,B,h)},D.__iterateUncached=function(B,J){var Q=this;return h.__iterate(function(le,_e,Ae){return B(x.call(N,le,_e,Ae),_e,Q)!==!1},J)},D.__iteratorUncached=function(B,J){var Q=h.__iterator(se,J);return new te(function(){var le=Q.next();if(le.done)return le;var _e=le.value,Ae=_e[0];return W(B,Ae,x.call(N,_e[1],Ae,h),le)})},D}function Hp(h,x){var N=hs(h);return N._iter=h,N.size=h.size,N.reverse=function(){return h},h.flip&&(N.flip=function(){var D=JA(h);return D.reverse=function(){return h.flip()},D}),N.get=function(D,B){return h.get(x?D:-1-D,B)},N.has=function(D){return h.has(x?D:-1-D)},N.includes=function(D){return h.includes(D)},N.cacheResult=Yp,N.__iterate=function(D,B){var J=this;return h.__iterate(function(Q,le){return D(Q,le,J)},!B)},N.__iterator=function(D,B){return h.__iterator(D,!B)},N}function KA(h,x,N,D){var B=hs(h);return D&&(B.has=function(J){var Q=h.get(J,S);return Q!==S&&!!x.call(N,Q,J,h)},B.get=function(J,Q){var le=h.get(J,S);return le!==S&&x.call(N,le,J,h)?le:Q}),B.__iterateUncached=function(J,Q){var le=this,_e=0;return h.__iterate(function(Ae,Ie,We){if(x.call(N,Ae,Ie,We))return _e++,J(Ae,D?Ie:_e-1,le)},Q),_e},B.__iteratorUncached=function(J,Q){var le=h.__iterator(se,Q),_e=0;return new te(function(){for(;;){var Ae=le.next();if(Ae.done)return Ae;var Ie=Ae.value,We=Ie[0],Xe=Ie[1];if(x.call(N,Xe,We,h))return W(J,D?We:_e++,Xe,Ae)}})},B}function dU(h,x,N){var D=xt().asMutable();return h.__iterate(function(B,J){D.update(x.call(N,B,J,h),0,function(Q){return Q+1})}),D.asImmutable()}function hU(h,x,N){var D=l(h),B=(m(h)?pr():xt()).asMutable();h.__iterate(function(Q,le){B.update(x.call(N,Q,le,h),function(_e){return _e=_e||[],_e.push(D?[le,Q]:Q),_e})});var J=e2(h);return B.map(function(Q){return Ht(h,J(Q))})}function Kp(h,x,N,D){var B=h.size;if(x!==void 0&&(x=x|0),N!==void 0&&(N===1/0?N=B:N=N|0),re(x,N,B))return h;var J=K(x,B),Q=Z(N,B);if(J!==J||Q!==Q)return Kp(h.toSeq().cacheResult(),x,N,D);var le=Q-J,_e;le===le&&(_e=le<0?0:le);var Ae=hs(h);return Ae.size=_e===0?_e:h.size&&_e||void 0,!D&&Y(h)&&_e>=0&&(Ae.get=function(Ie,We){return Ie=M(this,Ie),Ie>=0&&Ie<_e?h.get(Ie+J,We):We}),Ae.__iterateUncached=function(Ie,We){var Xe=this;if(_e===0)return 0;if(We)return this.cacheResult().__iterate(Ie,We);var ht=0,At=!0,er=0;return h.__iterate(function(Wn,ys){if(!(At&&(At=ht++<J)))return er++,Ie(Wn,D?ys:er-1,Xe)!==!1&&er!==_e}),er},Ae.__iteratorUncached=function(Ie,We){if(_e!==0&&We)return this.cacheResult().__iterator(Ie,We);var Xe=_e!==0&&h.__iterator(Ie,We),ht=0,At=0;return new te(function(){for(;ht++<J;)Xe.next();if(++At>_e)return V();var er=Xe.next();return D||Ie===ce?er:Ie===ee?W(Ie,At-1,void 0,er):W(Ie,At-1,er.value[1],er)})},Ae}function mU(h,x,N){var D=hs(h);return D.__iterateUncached=function(B,J){var Q=this;if(J)return this.cacheResult().__iterate(B,J);var le=0;return h.__iterate(function(_e,Ae,Ie){return x.call(N,_e,Ae,Ie)&&++le&&B(_e,Ae,Q)}),le},D.__iteratorUncached=function(B,J){var Q=this;if(J)return this.cacheResult().__iterator(B,J);var le=h.__iterator(se,J),_e=!0;return new te(function(){if(!_e)return V();var Ae=le.next();if(Ae.done)return Ae;var Ie=Ae.value,We=Ie[0],Xe=Ie[1];return x.call(N,Xe,We,Q)?B===se?Ae:W(B,We,Xe,Ae):(_e=!1,V())})},D}function GA(h,x,N,D){var B=hs(h);return B.__iterateUncached=function(J,Q){var le=this;if(Q)return this.cacheResult().__iterate(J,Q);var _e=!0,Ae=0;return h.__iterate(function(Ie,We,Xe){if(!(_e&&(_e=x.call(N,Ie,We,Xe))))return Ae++,J(Ie,D?We:Ae-1,le)}),Ae},B.__iteratorUncached=function(J,Q){var le=this;if(Q)return this.cacheResult().__iterator(J,Q);var _e=h.__iterator(se,Q),Ae=!0,Ie=0;return new te(function(){var We,Xe,ht;do{if(We=_e.next(),We.done)return D||J===ce?We:J===ee?W(J,Ie++,void 0,We):W(J,Ie++,We.value[1],We);var At=We.value;Xe=At[0],ht=At[1],Ae&&(Ae=x.call(N,ht,Xe,le))}while(Ae);return J===se?We:W(J,Xe,ht,We)})},B}function gU(h,x){var N=l(h),D=[h].concat(x).map(function(Q){return u(Q)?N&&(Q=i(Q)):Q=N?Ne(Q):Ge(Array.isArray(Q)?Q:[Q]),Q}).filter(function(Q){return Q.size!==0});if(D.length===0)return h;if(D.length===1){var B=D[0];if(B===h||N&&l(B)||c(h)&&c(B))return B}var J=new $(D);return N?J=J.toKeyedSeq():c(h)||(J=J.toSetSeq()),J=J.flatten(!0),J.size=D.reduce(function(Q,le){if(Q!==void 0){var _e=le.size;if(_e!==void 0)return Q+_e}},0),J}function YA(h,x,N){var D=hs(h);return D.__iterateUncached=function(B,J){var Q=0,le=!1;function _e(Ae,Ie){var We=this;Ae.__iterate(function(Xe,ht){return(!x||Ie<x)&&u(Xe)?_e(Xe,Ie+1):B(Xe,N?ht:Q++,We)===!1&&(le=!0),!le},J)}return _e(h,0),Q},D.__iteratorUncached=function(B,J){var Q=h.__iterator(B,J),le=[],_e=0;return new te(function(){for(;Q;){var Ae=Q.next();if(Ae.done!==!1){Q=le.pop();continue}var Ie=Ae.value;if(B===se&&(Ie=Ie[1]),(!x||le.length<x)&&u(Ie))le.push(Q),Q=Ie.__iterator(B,J);else return N?Ae:W(B,_e++,Ie,Ae)}return V()})},D}function yU(h,x,N){var D=e2(h);return h.toSeq().map(function(B,J){return D(x.call(N,B,J,h))}).flatten(!0)}function vU(h,x){var N=hs(h);return N.size=h.size&&h.size*2-1,N.__iterateUncached=function(D,B){var J=this,Q=0;return h.__iterate(function(le,_e){return(!Q||D(x,Q++,J)!==!1)&&D(le,Q++,J)!==!1},B),Q},N.__iteratorUncached=function(D,B){var J=h.__iterator(ce,B),Q=0,le;return new te(function(){return(!le||Q%2)&&(le=J.next(),le.done)?le:Q%2?W(D,Q++,x):W(D,Q++,le.value,le)})},N}function Sa(h,x,N){x||(x=t2);var D=l(h),B=0,J=h.toSeq().map(function(Q,le){return[le,Q,B++,N?N(Q,le,h):Q]}).toArray();return J.sort(function(Q,le){return x(Q[3],le[3])||Q[2]-le[2]}).forEach(D?function(Q,le){J[le].length=2}:function(Q,le){J[le]=Q[1]}),D?$e(J):c(h)?ge(J):Se(J)}function Ul(h,x,N){if(x||(x=t2),N){var D=h.toSeq().map(function(B,J){return[B,N(B,J,h)]}).reduce(function(B,J){return XA(x,B[1],J[1])?J:B});return D&&D[0]}else return h.reduce(function(B,J){return XA(x,B,J)?J:B})}function XA(h,x,N){var D=h(N,x);return D===0&&N!==x&&(N==null||N!==N)||D>0}function Gp(h,x,N){var D=hs(h);return D.size=new $(N).map(function(B){return B.size}).min(),D.__iterate=function(B,J){for(var Q=this.__iterator(ce,J),le,_e=0;!(le=Q.next()).done&&B(le.value,_e++,this)!==!1;);return _e},D.__iteratorUncached=function(B,J){var Q=N.map(function(Ae){return Ae=s(Ae),Me(J?Ae.reverse():Ae)}),le=0,_e=!1;return new te(function(){var Ae;return _e||(Ae=Q.map(function(Ie){return Ie.next()}),_e=Ae.some(function(Ie){return Ie.done})),_e?V():W(B,le++,x.apply(null,Ae.map(function(Ie){return Ie.value})))})},D}function Ht(h,x){return Y(h)?x:h.constructor(x)}function ZA(h){if(h!==Object(h))throw new TypeError("Expected [K, V] tuple: "+h)}function QA(h){return Er(h.size),L(h)}function e2(h){return l(h)?i:c(h)?a:o}function hs(h){return Object.create((l(h)?$e:c(h)?ge:Se).prototype)}function Yp(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):ke.prototype.cacheResult.call(this)}function t2(h,x){return h>x?1:h<x?-1:0}function r2(h){var x=Me(h);if(!x){if(!Te(h))throw new TypeError("Expected iterable or array-like: "+h);x=Me(s(h))}return x}n(dn,St);function dn(h,x){var N,D=function(Q){if(Q instanceof D)return Q;if(!(this instanceof D))return new D(Q);if(!N){N=!0;var le=Object.keys(h);bU(B,le),B.size=le.length,B._name=x,B._keys=le,B._defaultValues=h}this._map=xt(Q)},B=D.prototype=Object.create(Ir);return B.constructor=D,D}dn.prototype.toString=function(){return this.__toString(n2(this)+" {","}")},dn.prototype.has=function(h){return this._defaultValues.hasOwnProperty(h)},dn.prototype.get=function(h,x){if(!this.has(h))return x;var N=this._defaultValues[h];return this._map?this._map.get(h,N):N},dn.prototype.clear=function(){if(this.__ownerID)return this._map&&this._map.clear(),this;var h=this.constructor;return h._empty||(h._empty=Vl(this,ze()))},dn.prototype.set=function(h,x){if(!this.has(h))throw new Error('Cannot set unknown key "'+h+'" on '+n2(this));if(this._map&&!this._map.has(h)){var N=this._defaultValues[h];if(x===N)return this}var D=this._map&&this._map.set(h,x);return this.__ownerID||D===this._map?this:Vl(this,D)},dn.prototype.remove=function(h){if(!this.has(h))return this;var x=this._map&&this._map.remove(h);return this.__ownerID||x===this._map?this:Vl(this,x)},dn.prototype.wasAltered=function(){return this._map.wasAltered()},dn.prototype.__iterator=function(h,x){var N=this;return i(this._defaultValues).map(function(D,B){return N.get(B)}).__iterator(h,x)},dn.prototype.__iterate=function(h,x){var N=this;return i(this._defaultValues).map(function(D,B){return N.get(B)}).__iterate(h,x)},dn.prototype.__ensureOwner=function(h){if(h===this.__ownerID)return this;var x=this._map&&this._map.__ensureOwner(h);return h?Vl(this,x,h):(this.__ownerID=h,this._map=x,this)};var Ir=dn.prototype;Ir[E]=Ir.remove,Ir.deleteIn=Ir.removeIn=Oe.removeIn,Ir.merge=Oe.merge,Ir.mergeWith=Oe.mergeWith,Ir.mergeIn=Oe.mergeIn,Ir.mergeDeep=Oe.mergeDeep,Ir.mergeDeepWith=Oe.mergeDeepWith,Ir.mergeDeepIn=Oe.mergeDeepIn,Ir.setIn=Oe.setIn,Ir.update=Oe.update,Ir.updateIn=Oe.updateIn,Ir.withMutations=Oe.withMutations,Ir.asMutable=Oe.asMutable,Ir.asImmutable=Oe.asImmutable;function Vl(h,x,N){var D=Object.create(Object.getPrototypeOf(h));return D._map=x,D.__ownerID=N,D}function n2(h){return h._name||h.constructor.name||"Record"}function bU(h,x){try{x.forEach(EU.bind(void 0,h))}catch{}}function EU(h,x){Object.defineProperty(h,x,{get:function(){return this.get(x)},set:function(N){Ce(this.__ownerID,"Cannot set on an immutable record."),this.set(x,N)}})}n(Qt,De);function Qt(h){return h==null?Qp():Xp(h)&&!m(h)?h:Qp().withMutations(function(x){var N=o(h);Er(N.size),N.forEach(function(D){return x.add(D)})})}Qt.of=function(){return this(arguments)},Qt.fromKeys=function(h){return this(i(h).keySeq())},Qt.prototype.toString=function(){return this.__toString("Set {","}")},Qt.prototype.has=function(h){return this._map.has(h)},Qt.prototype.add=function(h){return Zp(this,this._map.set(h,!0))},Qt.prototype.remove=function(h){return Zp(this,this._map.remove(h))},Qt.prototype.clear=function(){return Zp(this,this._map.clear())},Qt.prototype.union=function(){var h=r.call(arguments,0);return h=h.filter(function(x){return x.size!==0}),h.length===0?this:this.size===0&&!this.__ownerID&&h.length===1?this.constructor(h[0]):this.withMutations(function(x){for(var N=0;N<h.length;N++)o(h[N]).forEach(function(D){return x.add(D)})})},Qt.prototype.intersect=function(){var h=r.call(arguments,0);if(h.length===0)return this;h=h.map(function(N){return o(N)});var x=this;return this.withMutations(function(N){x.forEach(function(D){h.every(function(B){return B.includes(D)})||N.remove(D)})})},Qt.prototype.subtract=function(){var h=r.call(arguments,0);if(h.length===0)return this;h=h.map(function(N){return o(N)});var x=this;return this.withMutations(function(N){x.forEach(function(D){h.some(function(B){return B.includes(D)})&&N.remove(D)})})},Qt.prototype.merge=function(){return this.union.apply(this,arguments)},Qt.prototype.mergeWith=function(h){var x=r.call(arguments,1);return this.union.apply(this,x)},Qt.prototype.sort=function(h){return ms(Sa(this,h))},Qt.prototype.sortBy=function(h,x){return ms(Sa(this,x,h))},Qt.prototype.wasAltered=function(){return this._map.wasAltered()},Qt.prototype.__iterate=function(h,x){var N=this;return this._map.__iterate(function(D,B){return h(B,B,N)},x)},Qt.prototype.__iterator=function(h,x){return this._map.map(function(N,D){return D}).__iterator(h,x)},Qt.prototype.__ensureOwner=function(h){if(h===this.__ownerID)return this;var x=this._map.__ensureOwner(h);return h?this.__make(x,h):(this.__ownerID=h,this._map=x,this)};function Xp(h){return!!(h&&h[s2])}Qt.isSet=Xp;var s2="@@__IMMUTABLE_SET__@@",hn=Qt.prototype;hn[s2]=!0,hn[E]=hn.remove,hn.mergeDeep=hn.merge,hn.mergeDeepWith=hn.mergeWith,hn.withMutations=Oe.withMutations,hn.asMutable=Oe.asMutable,hn.asImmutable=Oe.asImmutable,hn.__empty=Qp,hn.__make=i2;function Zp(h,x){return h.__ownerID?(h.size=x.size,h._map=x,h):x===h._map?h:x.size===0?h.__empty():h.__make(x)}function i2(h,x){var N=Object.create(hn);return N.size=h?h.size:0,N._map=h,N.__ownerID=x,N}var a2;function Qp(){return a2||(a2=i2(ze()))}n(ms,Qt);function ms(h){return h==null?ed():o2(h)?h:ed().withMutations(function(x){var N=o(h);Er(N.size),N.forEach(function(D){return x.add(D)})})}ms.of=function(){return this(arguments)},ms.fromKeys=function(h){return this(i(h).keySeq())},ms.prototype.toString=function(){return this.__toString("OrderedSet {","}")};function o2(h){return Xp(h)&&m(h)}ms.isOrderedSet=o2;var zl=ms.prototype;zl[v]=!0,zl.__empty=ed,zl.__make=u2;function u2(h,x){var N=Object.create(zl);return N.size=h?h.size:0,N._map=h,N.__ownerID=x,N}var l2;function ed(){return l2||(l2=u2($l()))}n(hr,$t);function hr(h){return h==null?td():c2(h)?h:td().unshiftAll(h)}hr.of=function(){return this(arguments)},hr.prototype.toString=function(){return this.__toString("Stack [","]")},hr.prototype.get=function(h,x){var N=this._head;for(h=M(this,h);N&&h--;)N=N.next;return N?N.value:x},hr.prototype.peek=function(){return this._head&&this._head.value},hr.prototype.push=function(){if(arguments.length===0)return this;for(var h=this.size+arguments.length,x=this._head,N=arguments.length-1;N>=0;N--)x={value:arguments[N],next:x};return this.__ownerID?(this.size=h,this._head=x,this.__hash=void 0,this.__altered=!0,this):_o(h,x)},hr.prototype.pushAll=function(h){if(h=a(h),h.size===0)return this;Er(h.size);var x=this.size,N=this._head;return h.reverse().forEach(function(D){x++,N={value:D,next:N}}),this.__ownerID?(this.size=x,this._head=N,this.__hash=void 0,this.__altered=!0,this):_o(x,N)},hr.prototype.pop=function(){return this.slice(1)},hr.prototype.unshift=function(){return this.push.apply(this,arguments)},hr.prototype.unshiftAll=function(h){return this.pushAll(h)},hr.prototype.shift=function(){return this.pop.apply(this,arguments)},hr.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):td()},hr.prototype.slice=function(h,x){if(re(h,x,this.size))return this;var N=K(h,this.size),D=Z(x,this.size);if(D!==this.size)return $t.prototype.slice.call(this,h,x);for(var B=this.size-N,J=this._head;N--;)J=J.next;return this.__ownerID?(this.size=B,this._head=J,this.__hash=void 0,this.__altered=!0,this):_o(B,J)},hr.prototype.__ensureOwner=function(h){return h===this.__ownerID?this:h?_o(this.size,this._head,h,this.__hash):(this.__ownerID=h,this.__altered=!1,this)},hr.prototype.__iterate=function(h,x){if(x)return this.reverse().__iterate(h);for(var N=0,D=this._head;D&&h(D.value,N++,this)!==!1;)D=D.next;return N},hr.prototype.__iterator=function(h,x){if(x)return this.reverse().__iterator(h);var N=0,D=this._head;return new te(function(){if(D){var B=D.value;return D=D.next,W(h,N++,B)}return V()})};function c2(h){return!!(h&&h[f2])}hr.isStack=c2;var f2="@@__IMMUTABLE_STACK__@@",_a=hr.prototype;_a[f2]=!0,_a.withMutations=Oe.withMutations,_a.asMutable=Oe.asMutable,_a.asImmutable=Oe.asImmutable,_a.wasAltered=Oe.wasAltered;function _o(h,x,N,D){var B=Object.create(_a);return B.size=h,B._head=x,B.__ownerID=N,B.__hash=D,B.__altered=!1,B}var p2;function td(){return p2||(p2=_o(0))}function gs(h,x){var N=function(D){h.prototype[D]=x[D]};return Object.keys(x).forEach(N),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(x).forEach(N),h}s.Iterator=te,gs(s,{toArray:function(){Er(this.size);var h=new Array(this.size||0);return this.valueSeq().__iterate(function(x,N){h[N]=x}),h},toIndexedSeq:function(){return new va(this)},toJS:function(){return this.toSeq().map(function(h){return h&&typeof h.toJS=="function"?h.toJS():h}).__toJS()},toJSON:function(){return this.toSeq().map(function(h){return h&&typeof h.toJSON=="function"?h.toJSON():h}).__toJS()},toKeyedSeq:function(){return new Rn(this,!0)},toMap:function(){return xt(this.toKeyedSeq())},toObject:function(){Er(this.size);var h={};return this.__iterate(function(x,N){h[N]=x}),h},toOrderedMap:function(){return pr(this.toKeyedSeq())},toOrderedSet:function(){return ms(l(this)?this.valueSeq():this)},toSet:function(){return Qt(l(this)?this.valueSeq():this)},toSetSeq:function(){return new ba(this)},toSeq:function(){return c(this)?this.toIndexedSeq():l(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return hr(l(this)?this.valueSeq():this)},toList:function(){return yt(l(this)?this.valueSeq():this)},toString:function(){return"[Iterable]"},__toString:function(h,x){return this.size===0?h+x:h+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+x},concat:function(){var h=r.call(arguments,0);return Ht(this,gU(this,h))},includes:function(h){return this.some(function(x){return it(x,h)})},entries:function(){return this.__iterator(se)},every:function(h,x){Er(this.size);var N=!0;return this.__iterate(function(D,B,J){if(!h.call(x,D,B,J))return N=!1,!1}),N},filter:function(h,x){return Ht(this,KA(this,h,x,!0))},find:function(h,x,N){var D=this.findEntry(h,x);return D?D[1]:N},forEach:function(h,x){return Er(this.size),this.__iterate(x?h.bind(x):h)},join:function(h){Er(this.size),h=h!==void 0?""+h:",";var x="",N=!0;return this.__iterate(function(D){N?N=!1:x+=h,x+=D!=null?D.toString():""}),x},keys:function(){return this.__iterator(ee)},map:function(h,x){return Ht(this,HA(this,h,x))},reduce:function(h,x,N){Er(this.size);var D,B;return arguments.length<2?B=!0:D=x,this.__iterate(function(J,Q,le){B?(B=!1,D=J):D=h.call(N,D,J,Q,le)}),D},reduceRight:function(h,x,N){var D=this.toKeyedSeq().reverse();return D.reduce.apply(D,arguments)},reverse:function(){return Ht(this,Hp(this,!0))},slice:function(h,x){return Ht(this,Kp(this,h,x,!0))},some:function(h,x){return!this.every(Jl(h),x)},sort:function(h){return Ht(this,Sa(this,h))},values:function(){return this.__iterator(ce)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return this.size!==void 0?this.size===0:!this.some(function(){return!0})},count:function(h,x){return L(h?this.toSeq().filter(h,x):this)},countBy:function(h,x){return dU(this,h,x)},equals:function(h){return kt(this,h)},entrySeq:function(){var h=this;if(h._cache)return new $(h._cache);var x=h.toSeq().map(_U).toIndexedSeq();return x.fromEntrySeq=function(){return h.toSeq()},x},filterNot:function(h,x){return this.filter(Jl(h),x)},findEntry:function(h,x,N){var D=N;return this.__iterate(function(B,J,Q){if(h.call(x,B,J,Q))return D=[J,B],!1}),D},findKey:function(h,x){var N=this.findEntry(h,x);return N&&N[0]},findLast:function(h,x,N){return this.toKeyedSeq().reverse().find(h,x,N)},findLastEntry:function(h,x,N){return this.toKeyedSeq().reverse().findEntry(h,x,N)},findLastKey:function(h,x){return this.toKeyedSeq().reverse().findKey(h,x)},first:function(){return this.find(G)},flatMap:function(h,x){return Ht(this,yU(this,h,x))},flatten:function(h){return Ht(this,YA(this,h,!0))},fromEntrySeq:function(){return new Ea(this)},get:function(h,x){return this.find(function(N,D){return it(D,h)},void 0,x)},getIn:function(h,x){for(var N=this,D=r2(h),B;!(B=D.next()).done;){var J=B.value;if(N=N&&N.get?N.get(J,S):S,N===S)return x}return N},groupBy:function(h,x){return hU(this,h,x)},has:function(h){return this.get(h,S)!==S},hasIn:function(h){return this.getIn(h,S)!==S},isSubset:function(h){return h=typeof h.includes=="function"?h:s(h),this.every(function(x){return h.includes(x)})},isSuperset:function(h){return h=typeof h.isSubset=="function"?h:s(h),h.isSubset(this)},keyOf:function(h){return this.findKey(function(x){return it(x,h)})},keySeq:function(){return this.toSeq().map(SU).toIndexedSeq()},last:function(){return this.toSeq().reverse().first()},lastKeyOf:function(h){return this.toKeyedSeq().reverse().keyOf(h)},max:function(h){return Ul(this,h)},maxBy:function(h,x){return Ul(this,x,h)},min:function(h){return Ul(this,h?d2(h):m2)},minBy:function(h,x){return Ul(this,x?d2(x):m2,h)},rest:function(){return this.slice(1)},skip:function(h){return this.slice(Math.max(0,h))},skipLast:function(h){return Ht(this,this.toSeq().reverse().skip(h).reverse())},skipWhile:function(h,x){return Ht(this,GA(this,h,x,!0))},skipUntil:function(h,x){return this.skipWhile(Jl(h),x)},sortBy:function(h,x){return Ht(this,Sa(this,x,h))},take:function(h){return this.slice(0,Math.max(0,h))},takeLast:function(h){return Ht(this,this.toSeq().reverse().take(h).reverse())},takeWhile:function(h,x){return Ht(this,mU(this,h,x))},takeUntil:function(h,x){return this.takeWhile(Jl(h),x)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=xU(this))}});var Hr=s.prototype;Hr[d]=!0,Hr[he]=Hr.values,Hr.__toJS=Hr.toArray,Hr.__toStringMapper=h2,Hr.inspect=Hr.toSource=function(){return this.toString()},Hr.chain=Hr.flatMap,Hr.contains=Hr.includes,gs(i,{flip:function(){return Ht(this,JA(this))},mapEntries:function(h,x){var N=this,D=0;return Ht(this,this.toSeq().map(function(B,J){return h.call(x,[J,B],D++,N)}).fromEntrySeq())},mapKeys:function(h,x){var N=this;return Ht(this,this.toSeq().flip().map(function(D,B){return h.call(x,D,B,N)}).flip())}});var Wl=i.prototype;Wl[g]=!0,Wl[he]=Hr.entries,Wl.__toJS=Hr.toObject,Wl.__toStringMapper=function(h,x){return JSON.stringify(x)+": "+h2(h)},gs(a,{toKeyedSeq:function(){return new Rn(this,!1)},filter:function(h,x){return Ht(this,KA(this,h,x,!1))},findIndex:function(h,x){var N=this.findEntry(h,x);return N?N[0]:-1},indexOf:function(h){var x=this.keyOf(h);return x===void 0?-1:x},lastIndexOf:function(h){var x=this.lastKeyOf(h);return x===void 0?-1:x},reverse:function(){return Ht(this,Hp(this,!1))},slice:function(h,x){return Ht(this,Kp(this,h,x,!1))},splice:function(h,x){var N=arguments.length;if(x=Math.max(x|0,0),N===0||N===2&&!x)return this;h=K(h,h<0?this.count():this.size);var D=this.slice(0,h);return Ht(this,N===1?D:D.concat(R(arguments,2),this.slice(h+x)))},findLastIndex:function(h,x){var N=this.findLastEntry(h,x);return N?N[0]:-1},first:function(){return this.get(0)},flatten:function(h){return Ht(this,YA(this,h,!1))},get:function(h,x){return h=M(this,h),h<0||this.size===1/0||this.size!==void 0&&h>this.size?x:this.find(function(N,D){return D===h},void 0,x)},has:function(h){return h=M(this,h),h>
1=0&&(this.size!==void 0?this.size===1/0||h<this.size:this.indexOf(h)!==-1)},interpose:function(h){return Ht(this,vU(this,h))},interleave:function(){var h=[this].concat(R(arguments)),x=Gp(this.toSeq(),ge.of,h),N=x.flatten(!0);return x.size&&(N.size=x.size*h.length),Ht(this,N)},keySeq:function(){return je(0,this.size)},last:function(){return this.get(-1)},skipWhile:function(h,x){return Ht(this,GA(this,h,x,!1))},zip:function(){var h=[this].concat(R(arguments));return Ht(this,Gp(this,wU,h))},zipWith:function(h){var x=R(arguments);return x[0]=this,Ht(this,Gp(this,h,x))}}),a.prototype[y]=!0,a.prototype[v]=!0,gs(o,{get:function(h,x){return this.has(h)?h:x},includes:function(h){return this.has(h)},keySeq:function(){return this.valueSeq()}}),o.prototype.has=Hr.includes,o.prototype.contains=o.prototype.includes,gs($e,i.prototype),gs(ge,a.prototype),gs(Se,o.prototype),gs(St,i.prototype),gs($t,a.prototype),gs(De,o.prototype);function SU(h,x){return x}function _U(h,x){return[x,h]}function Jl(h){return function(){return!h.apply(this,arguments)}}function d2(h){return function(){return-h.apply(this,arguments)}}function h2(h){return typeof h=="string"?JSON.stringify(h):String(h)}function wU(){return R(arguments)}function m2(h,x){return h<x?1:h>x?-1:0}function xU(h){if(h.size===1/0)return 0;var x=m(h),N=l(h),D=x?1:0,B=h.__iterate(N?x?function(J,Q){D=31*D+g2(rt(J),rt(Q))|0}:function(J,Q){D=D+g2(rt(J),rt(Q))|0}:x?function(J){D=31*D+rt(J)|0}:function(J){D=D+rt(J)|0});return AU(B,D)}function AU(h,x){return x=Je(x,3432918353),x=Je(x<<15|x>>>-15,461845907),x=Je(x<<13|x>>>-13,5),x=(x+3864292196|0)^h,x=Je(x^x>>>16,2246822507),x=Je(x^x>>>13,3266489909),x=lt(x^x>>>16),x}function g2(h,x){return h^x+2654435769+(h<<6)+(h>>2)|0}var OU={Iterable:s,Seq:ke,Collection:pt,Map:xt,OrderedMap:pr,List:yt,Stack:hr,Set:Qt,OrderedSet:ms,Record:dn,Range:je,Repeat:ft,is:it,fromJS:ie};return OU})})(yc)),yc.exports}var Us=lf();const q9=ut(Us);var Ao={},Yl={exports:{}},Fs={},Xl={exports:{}},bO;function D3(){return bO||(bO=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(r){return r&&r.type==="@@redux/INIT"?"initialState argument passed to createStore":"previous state received by the reducer"},t.exports=e.default})(Xl,Xl.exports)),Xl.exports}var Zl={exports:{}},EO;function B9(){return EO||(EO=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0});var r=lf(),n=a(r),s=D3(),i=a(s);function a(o){return o&&o.__esModule?o:{default:o}}e.default=function(o,u,l){var c=Object.keys(u);if(!c.length)return"Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers.";var p=(0,i.default)(l);if(n.default.isImmutable?!n.default.isImmutable(o):!n.default.Iterable.isIterable(o))return"The "+p+' is of unexpected type. Expected argument to be an instance of Immutable.Collection or Immutable.Record with the following properties: "'+c.join('", "')+'".';var m=o.toSeq().keySeq().toArray().filter(function(d){return!u.hasOwnProperty(d)});return m.length>0?"Unexpected "+(m.length===1?"property":"properties")+' "'+m.join('", "')+'" found in '+p+'. Expected to find one of the known reducer property names instead: "'+c.join('", "')+'". Unexpected properties will be ignored.':null},t.exports=e.default})(Zl,Zl.exports)),Zl.exports}var Ql={exports:{}},SO;function L9(){return SO||(SO=1,(function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.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.')},t.exports=e.default})(Ql,Ql.exports)),Ql.exports}var _O;function $9(){if(_O)return Fs;_O=1,Object.defineProperty(Fs,"__esModule",{value:!0}),Fs.validateNextState=Fs.getUnexpectedInvocationParameterMessage=Fs.getStateName=void 0;var t=D3(),e=a(t),r=B9(),n=a(r),s=L9(),i=a(s);function a(o){return o&&o.__esModule?o:{default:o}}return Fs.getStateName=e.default,Fs.getUnexpectedInvocationParameterMessage=n.default,Fs.validateNextState=i.default,Fs}var wO;function U9(){return wO||(wO=1,(function(t,e){Object.defineProperty(e,"__esMo
1dule",{value:!0});var r=lf(),n=i(r),s=$9();function i(a){return a&&a.__esModule?a:{default:a}}e.default=function(a){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:n.default.Map,u=Object.keys(a);return function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),c=arguments[1];return l.withMutations(function(p){u.forEach(function(m){var d=a[m],g=p.get(m),y=d(g,c);(0,s.validateNextState)(y,m,c),p.set(m,y)})})}},t.exports=e.default})(Yl,Yl.exports)),Yl.exports}var xO;function V9(){if(xO)return Ao;xO=1,Object.defineProperty(Ao,"__esModule",{value:!0}),Ao.combineReducers=void 0;var t=U9(),e=r(t);function r(n){return n&&n.__esModule?n:{default:n}}return Ao.combineReducers=e.default,Ao}var z9=V9(),Qd,AO;function W9(){if(AO)return Qd;AO=1;class t extends Error{constructor(u){super(t._prepareSuperMessage(u)),Object.defineProperty(this,"name",{value:"NonError",configurable:!0,writable:!0}),Error.captureStackTrace&&Error.captureStackTrace(this,t)}static _prepareSuperMessage(u){try{return JSON.stringify(u)}catch{return String(u)}}}const e=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],r=Symbol(".toJSON called"),n=o=>{o[r]=!0;const u=o.toJSON();return delete o[r],u},s=({from:o,seen:u,to_:l,forceEnumerable:c,maxDepth:p,depth:m})=>{const d=l||(Array.isArray(o)?[]:{});if(u.push(o),m>=p)return d;if(typeof o.toJSON=="function"&&o[r]!==!0)return n(o);for(const[g,y]of Object.entries(o)){if(typeof Buffer=="function"&&Buffer.isBuffer(y)){d[g]="[object Buffer]";continue}if(typeof y!="function"){if(!y||typeof y!="object"){d[g]=y;continue}if(!u.includes(o[g])){m++,d[g]=s({from:o[g],seen:u.slice(),forceEnumerable:c,maxDepth:p,depth:m});continue}d[g]="[Circular]"}}for(const{property:g,enumerable:y}of e)typeof o[g]=="string"&&Object.defineProperty(d,g,{value:o[g],enumerable:c?!0:y,configurable:!0,writable:!0});return d};return Qd={serializeError:(o,u={})=>{const{maxDepth:l=Number.POSITIVE_INFINITY}=u;return typeof o=="object"&&o!==null?s({from:o,seen:[],forceEnumerable:!0,maxDepth:l,depth:0}):typeof o=="function"?`[Function: ${o.name||"anonymous"}]`:o},deserializeError:(o,u={})=>{const{maxDepth:l=Number.POSITIVE_INFINITY}=u;if(o instanceof Error)return o;if(typeof o=="object"&&o!==null&&!Array.isArray(o)){const c=new Error;return s({from:o,seen:[],to_:c,maxDepth:l,depth:0}),c}return new t(o)}},Qd}var J9=W9(),eh,OO;function H9(){if(OO)return eh;OO=1;function t(){this.__data__=[],this.size=0}return eh=t,eh}var th,CO;function Qa(){if(CO)return th;CO=1;function t(e,r){return e===r||e!==e&&r!==r}return th=t,th}var rh,RO;function cf(){if(RO)return rh;RO=1;var t=Qa();function e(r,n){for(var s=r.length;s--;)if(t(r[s][0],n))return s;return-1}return rh=e,rh}var nh,IO;function K9(){if(IO)return nh;IO=1;var t=cf(),e=Array.prototype,r=e.splice;function n(s){var i=this.__data__,a=t(i,s);if(a<0)return!1;var o=i.length-1;return a==o?i.pop():r.call(i,a,1),--this.size,!0}return nh=n,nh}var sh,TO;function G9(){if(TO)return sh;TO=1;var t=cf();function e(r){var n=this.__data__,s=t(n,r);return s<0?void 0:n[s][1]}return sh=e,sh}var ih,kO;function Y9(){if(kO)return ih;kO=1;var t=cf();function e(r){return t(this.__data__,r)>-1}return ih=e,ih}var ah,PO;function X9(){if(PO)return ah;PO=1;var t=cf();function e(r,n){var s=this.__data__,i=t(s,r);return i<0?(++this.size,s.push([r,n])):s[i][1]=n,this}return ah=e,ah}var oh,jO;function ff(){if(jO)return oh;jO=1;var t=H9(),e=K9(),r=G9(),n=Y9(),s=X9();function i(a){var o=-1,u=a==null?0:a.length;for(this.clear();++o<u;){var l=a[o];this.set(l[0],l[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=s,oh=i,oh}var uh,NO;function Z9(){if(NO)return uh;NO=1;var t=ff();function e(){this.__data__=new t,this.size=0}return uh=e,uh}var lh,MO;function Q9(){if(MO)return lh;MO=1;function t(e){var r=this.__data__,n=r.delete(e);return this.size=r.size,n}return lh=t,lh}var ch,DO;function e5(){if(DO)return ch;DO=1;function t(e){return this.__data__.get(e)}return ch=t,ch}var fh,FO;function t5(){if(FO)return fh;FO=1;function t(e){return this.__data__.has(e)}return fh=t,fh}var ph,qO;function vu(){if(qO)return ph;qO=1;var t=Ys(),e=vn(),r="[object AsyncFunction]",n="[object Function]",s="[object GeneratorFunction]",i="[object Proxy]";function a(o){if(!e(o))return!1;var u=t(o);return u==n||u==s||u==r||u==i}return ph=a,ph}var dh,BO;function r5(){if(BO)return dh;BO=1;var t=bn(),e=t["__core-js_shared__"];return dh=e,dh}var hh,LO;function n5(){if(LO)return hh;LO=1;var t=r5(),e=(function(){var n=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");
vendor: 31,217 bytes, line 1
1return n?"Symbol(src)_1."+n:""})();function r(n){return!!e&&e in n}return hh=r,hh}var mh,$O;function F3(){if($O)return mh;$O=1;var t=Function.prototype,e=t.toString;function r(n){if(n!=null){try{return e.call(n)}catch{}try{return n+""}catch{}}return""}return mh=r,mh}var gh,UO;function s5(){if(UO)return gh;UO=1;var t=vu(),e=n5(),r=vn(),n=F3(),s=/[\\^$.*+?()[\]{}|]/g,i=/^\[object .+?Constructor\]$/,a=Function.prototype,o=Object.prototype,u=a.toString,l=o.hasOwnProperty,c=RegExp("^"+u.call(l).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(m){if(!r(m)||e(m))return!1;var d=t(m)?c:i;return d.test(n(m))}return gh=p,gh}var yh,VO;function i5(){if(VO)return yh;VO=1;function t(e,r){return e?.[r]}return yh=t,yh}var vh,zO;function sa(){if(zO)return vh;zO=1;var t=s5(),e=i5();function r(n,s){var i=e(n,s);return t(i)?i:void 0}return vh=r,vh}var bh,WO;function p_(){if(WO)return bh;WO=1;var t=sa(),e=bn(),r=t(e,"Map");return bh=r,bh}var Eh,JO;function pf(){if(JO)return Eh;JO=1;var t=sa(),e=t(Object,"create");return Eh=e,Eh}var Sh,HO;function a5(){if(HO)return Sh;HO=1;var t=pf();function e(){this.__data__=t?t(null):{},this.size=0}return Sh=e,Sh}var _h,KO;function o5(){if(KO)return _h;KO=1;function t(e){var r=this.has(e)&&delete this.__data__[e];return this.size-=r?1:0,r}return _h=t,_h}var wh,GO;function u5(){if(GO)return wh;GO=1;var t=pf(),e="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function s(i){var a=this.__data__;if(t){var o=a[i];return o===e?void 0:o}return n.call(a,i)?a[i]:void 0}return wh=s,wh}var xh,YO;function l5(){if(YO)return xh;YO=1;var t=pf(),e=Object.prototype,r=e.hasOwnProperty;function n(s){var i=this.__data__;return t?i[s]!==void 0:r.call(i,s)}return xh=n,xh}var Ah,XO;function c5(){if(XO)return Ah;XO=1;var t=pf(),e="__lodash_hash_undefined__";function r(n,s){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=t&&s===void 0?e:s,this}return Ah=r,Ah}var Oh,ZO;function f5(){if(ZO)return Oh;ZO=1;var t=a5(),e=o5(),r=u5(),n=l5(),s=c5();function i(a){var o=-1,u=a==null?0:a.length;for(this.clear();++o<u;){var l=a[o];this.set(l[0],l[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=s,Oh=i,Oh}var Ch,QO;function p5(){if(QO)return Ch;QO=1;var t=f5(),e=ff(),r=p_();function n(){this.size=0,this.__data__={hash:new t,map:new(r||e),string:new t}}return Ch=n,Ch}var Rh,eC;function d5(){if(eC)return Rh;eC=1;function t(e){var r=typeof e;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?e!=="__proto__":e===null}return Rh=t,Rh}var Ih,tC;function df(){if(tC)return Ih;tC=1;var t=d5();function e(r,n){var s=r.__data__;return t(n)?s[typeof n=="string"?"string":"hash"]:s.map}return Ih=e,Ih}var Th,rC;function h5(){if(rC)return Th;rC=1;var t=df();function e(r){var n=t(this,r).delete(r);return this.size-=n?1:0,n}return Th=e,Th}var kh,nC;function m5(){if(nC)return kh;nC=1;var t=df();function e(r){return t(this,r).get(r)}return kh=e,kh}var Ph,sC;function g5(){if(sC)return Ph;sC=1;var t=df();function e(r){return t(this,r).has(r)}return Ph=e,Ph}var jh,iC;function y5(){if(iC)return jh;iC=1;var t=df();function e(r,n){var s=t(this,r),i=s.size;return s.set(r,n),this.size+=s.size==i?0:1,this}return jh=e,jh}var Nh,aC;function d_(){if(aC)return Nh;aC=1;var t=p5(),e=h5(),r=m5(),n=g5(),s=y5();function i(a){var o=-1,u=a==null?0:a.length;for(this.clear();++o<u;){var l=a[o];this.set(l[0],l[1])}}return i.prototype.clear=t,i.prototype.delete=e,i.prototype.get=r,i.prototype.has=n,i.prototype.set=s,Nh=i,Nh}var Mh,oC;function v5(){if(oC)return Mh;oC=1;var t=ff(),e=p_(),r=d_(),n=200;function s(i,a){var o=this.__data__;if(o instanceof t){var u=o.__data__;if(!e||u.length<n-1)return u.push([i,a]),this.size=++o.size,this;o=this.__data__=new r(u)}return o.set(i,a),this.size=o.size,this}return Mh=s,Mh}var Dh,uC;function hf(){if(uC)return Dh;uC=1;var t=ff(),e=Z9(),r=Q9(),n=e5(),s=t5(),i=v5();function a(o){var u=this.__data__=new t(o);this.size=u.size}return a.prototype.clear=e,a.prototype.delete=r,a.prototype.get=n,a.prototype.has=s,a.prototype.set=i,Dh=a,Dh}var Fh,lC;function q3(){if(lC)return Fh;lC=1;var t=sa(),e=(function(){try{var r=t(Object,"defineProperty");return r({},"",{}),r}catch{}})();return Fh=e,Fh}var qh,cC;function h_(){if(cC)return qh;cC=1;var t=q3();function e(r,n,s){n=="__proto__"&&t?t(r,n,{configurable:!0,enumerable:!0,value:s,writable:!0}):r[n]=s}return qh=e,qh}var Bh,fC;function B3(){if(fC)return Bh;fC=1;var t=h_(),e=Qa();function r(n,s,i){(i!==void 0&&!e(n[s],i)||i===void 0&&!(s in n))&&t(n,s,i)}return Bh=r,Bh}var Lh,pC;function b5(){if(pC)return Lh;pC=1;function t(e){return function(r,n,s){for(var i=-1,a=Object(r),o=s(r),u=o.length;u--;){var l=o[e?u:++i];if(n(a[l],l,a)===!1)break}return r}}return Lh=t,Lh}var $h,dC;function L3(){if(dC)return $h;dC=1;var t=b5(),e=t();return $h=e,$h}var Do={exports:{}};Do.exports;var hC;function $3(){return hC||(hC=1,(function(t,e){var r=bn(),n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===n,a=i?r.Buffer:void 0,o=a?a.allocUnsafe:void 0;function u(l,c){if(c)return l.slice();var p=l.length,m=o?o(p):new l.constructor(p);return l.copy(m),m}t.exports=u})(Do,Do.exports)),Do.exports}var Uh,mC;function U3(){if(mC)return Uh;mC=1;var t=bn(),e=t.Uint8Array;return Uh=e,Uh}var Vh,gC;function m_(){if(gC)return Vh;gC=1;var t=U3();function e(r){var n=new r.constructor(r.byteLength);return new t(n).set(new t(r)),n}return Vh=e,Vh}var zh,yC;function V3(){if(yC)return zh;yC=1;var t=m_();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.length)}return zh=e,zh}var Wh,vC;function bu(){if(vC)return Wh;vC=1;function t(e,r){var n=-1,s=e.length;for(r||(r=Array(s));++n<s;)r[n]=e[n];return r}return Wh=t,Wh}var Jh,bC;function mf(){if(bC)return Jh;bC=1;var t=vn(),e=Object.create,r=(function(){function n(){}return function(s){if(!t(s))return{};if(e)return e(s);n.prototype=s;var i=new n;return n.prototype=void 0,i}})();return Jh=r,Jh}var Hh,EC;function z3(){if(EC)return Hh;EC=1;function t(e,r){return function(n){return e(r(n))}}return Hh=t,Hh}var Kh,SC;function g_(){if(SC)return Kh;SC=1;var t=z3(),e=t(Object.getPrototypeOf,Object);return Kh=e,Kh}var Gh,_C;function gf(){if(_C)return Gh;_C=1;var t=Object.prototype;function e(r){var n=r&&r.constructor,s=typeof n=="function"&&n.prototype||t;return r===s}return Gh=e,Gh}var Yh,wC;function W3(){if(wC)return Yh;wC=1;var t=mf(),e=g_(),r=gf();function n(s){return typeof s.constructor=="function"&&!r(s)?t(e(s)):{}}return Yh=n,Yh}var Xh,xC;function E5(){if(xC)return Xh;xC=1;var t=Ys(),e=an(),r="[object Arguments]";function n(s){return e(s)&&t(s)==r}return Xh=n,Xh}var Zh,AC;function Eu(){if(AC)return Zh;AC=1;var t=E5(),e=an(),r=Object.prototype,n=r.hasOwnProperty,s=r.propertyIsEnumerable,i=t((function(){return arguments})())?t:function(a){return e(a)&&n.call(a,"callee")&&!s.call(a,"callee")};return Zh=i,Zh}var Qh,OC;function Rr(){if(OC)return Qh;OC=1;var t=Array.isArray;return Qh=t,Qh}var em,CC;function y_(){if(CC)return em;CC=1;var t=9007199254740991;function e(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=t}return em=e,em}var tm,RC;function ia(){if(RC)return tm;RC=1;var t=vu(),e=y_();function r(n){return n!=null&&e(n.length)&&!t(n)}return tm=r,tm}var rm,IC;function S5(){if(IC)return rm;IC=1;var t=ia(),e=an();function r(n){return e(n)&&t(n)}return rm=r,rm}var Fo={exports:{}},nm,TC;function _5(){if(TC)return nm;TC=1;function t(){return!1}return nm=t,nm}Fo.exports;var kC;function Su(){return kC||(kC=1,(function(t,e){var r=bn(),n=_5(),s=e&&!e.nodeType&&e,i=s&&!0&&t&&!t.nodeType&&t,a=i&&i.exports===s,o=a?r.Buffer:void 0,u=o?o.isBuffer:void 0,l=u||n;t.exports=l})(Fo,Fo.exports)),Fo.exports}var sm,PC;function yf(){if(PC)return sm;PC=1;var t=Ys(),e=g_(),r=an(),n="[object Object]",s=Function.prototype,i=Object.prototype,a=s.toString,o=i.hasOwnProperty,u=a.call(Object);function l(c){if(!r(c)||t(c)!=n)return!1;var p=e(c);if(p===null)return!0;var m=o.call(p,"constructor")&&p.constructor;return typeof m=="function"&&m instanceof m&&a.call(m)==u}return sm=l,sm}var im,jC;function w5(){if(jC)return im;jC=1;var t=Ys(),e=y_(),r=an(),n="[object Arguments]",s="[object Array]",i="[object Boolean]",a="[object Date]",o="[object Error]",u="[object Function]",l="[object Map]",c="[object Number]",p="[object Object]",m="[object RegExp]",d="[object Set]",g="[object String]",y="[object WeakMap]",v="[object ArrayBuffer]",E="[object DataView]",b="[object Float32Array]",_="[object Float64Array]",w="[object Int8Array]",S="[object Int16Array]",A="[object Int32Array]",I="[object Uint8Array]",k="[object Uint8ClampedArray]",P="[object Uint16Array]",F="[object Uint32Array]",R={};R[b]=R[_]=R[w]=R[S]=R[A]=R[I]=R[k]=R[P]=R[F]=!0,R[n]=R[s]=R[v]=R[i]=R[E]=R[a]=R[o]=R[u]=R[l]=R[c]=R[p]=R[m]=R[d]=R[g]=R[y]=!1;function L(M){return r(M)&&e(M.length)&&!!R[t(M)]}return im=L,im}var am,NC;function v_(){if(NC)return am;NC=1;function t(e){return function(r){return e(r)}}return am=t,am}var qo={exports:{}};qo.exports;var MC;function b_(){return MC||(MC=1,(function(t,e){var r=BU(),n=e&&!e.nodeType&&e,s=n&&!0&&t&&!t.nodeType&&t,i=s&&s.exports===n,a=i&&r.process,o=(function(){try{var u=s&&s.require&&s.require("util").types;return u||a&&a.binding&&a.binding("util")}catch{}})();t.exports=o})(qo,qo.exports)),qo.exports}var om,DC;function vf(){if(DC)return om;DC=1;var t=w5(),e=v_(),r=b_(),n=r&&r.isTypedArray,s=n?e(n):t;return om=s,om}var um,FC;function J3(){if(FC)return um;FC=1;function t(e,r){if(!(r==="constructor"&&typeof e[r]=="function")&&r!="__proto__")return e[r]}return um=t,um}var lm,qC;function bf(){if(qC)return lm;qC=1;var t=h_(),e=Qa(),r=Object.prototype,n=r.hasOwnProperty;function s(i,a,o){var u=i[a];(!(n.call(i,a)&&e(u,o))||o===void 0&&!(a in i))&&t(i,a,o)}return lm=s,lm}var cm,BC;function eo(){if(BC)return cm;BC=1;var t=bf(),e=h_();function r(n,s,i,a){var o=!i;i||(i={});for(var u=-1,l=s.length;++u<l;){var c=s[u],p=a?a(i[c],n[c],c,i,n):void 0;p===void 0&&(p=n[c]),o?e(i,c,p):t(i,c,p)}return i}return cm=r,cm}var fm,LC;function x5(){if(LC)return fm;LC=1;function t(e,r){for(var n=-1,s=Array(e);++n<e;)s[n]=r(n);return s}return fm=t,fm}var pm,$C;function _u(){if($C)return pm;$C=1;var t=9007199254740991,e=/^(?:0|[1-9]\d*)$/;function r(n,s){var i=typeof n;return s=s??t,!!s&&(i=="number"||i!="symbol"&&e.test(n))&&n>-1&&n%1==0&&n<s}return pm=r,pm}var dm,UC;function H3(){if(UC)return dm;UC=1;var t=x5(),e=Eu(),r=Rr(),n=Su(),s=_u(),i=vf(),a=Object.prototype,o=a.hasOwnProperty;function u(l,c){var p=r(l),m=!p&&e(l),d=!p&&!m&&n(l),g=!p&&!m&&!d&&i(l),y=p||m||d||g,v=y?t(l.length,String):[],E=v.length;for(var b in l)(c||o.call(l,b))&&!(y&&(b=="length"||d&&(b=="offset"||b=="parent")||g&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||s(b,E)))&&v.push(b);return v}return dm=u,dm}var hm,VC;function A5(){if(VC)return hm;VC=1;function t(e){var r=[];if(e!=null)for(var n in Object(e))r.push(n);return r}return hm=t,hm}var mm,zC;function O5(){if(zC)return mm;zC=1;var t=vn(),e=gf(),r=A5(),n=Object.prototype,s=n.hasOwnProperty;function i(a){if(!t(a))return r(a);var o=e(a),u=[];for(var l in a)l=="constructor"&&(o||!s.call(a,l))||u.push(l);return u}return mm=i,mm}var gm,WC;function wu(){if(WC)return gm;WC=1;var t=H3(),e=O5(),r=ia();function n(s){return r(s)?t(s,!0):e(s)}return gm=n,gm}var ym,JC;function C5(){if(JC)return ym;JC=1;var t=eo(),e=wu();function r(n){return t(n,e(n))}return ym=r,ym}var vm,HC;function R5(){if(HC)return vm;HC=1;var t=B3(),e=$3(),r=V3(),n=bu(),s=W3(),i=Eu(),a=Rr(),o=S5(),u=Su(),l=vu(),c=vn(),p=yf(),m=vf(),d=J3(),g=C5();function y(v,E,b,_,w,S,A){var I=d(v,b),k=d(E,b),P=A.get(k);if(P){t(v,b,P);return}var F=S?S(I,k,b+"",v,E,A):void 0,R=F===void 0;if(R){var L=a(k),M=!L&&u(k),G=!L&&!M&&m(k);F=k,L||M||G?a(I)?F=I:o(I)?F=n(I):M?(R=!1,F=e(k,!0)):G?(R=!1,F=r(k,!0)):F=[]:p(k)||i(k)?(F=I,i(I)?F=g(I):(!c(I)||l(I))&&(F=s(k))):R=!1}R&&(A.set(k,F),w(F,k,_,S,A),A.delete(k)),t(v,b,F)}return vm=y,vm}var bm,KC;function I5(){if(KC)return bm;KC=1;var t=hf(),e=B3(),r=L3(),n=R5(),s=vn(),i=wu(),a=J3();function o(u,l,c,p,m){u!==l&&r(l,function(d,g){if(m||(m=new t),s(d))n(u,l,g,c,o,p,m);else{var y=p?p(a(u,g),d,g+"",u,l,m):void 0;y===void 0&&(y=d),e(u,g,y)}},i)}return bm=o,bm}var Em,GC;function xu(){if(GC)return Em;GC=1;function t(e){return e}return Em=t,Em}var Sm,YC;function E_(){if(YC)return Sm;YC=1;function t(e,r,n){switch(n.length){case 0:return e.call(r);case 1:return e.call(r,n[0]);case 2:return e.call(r,n[0],n[1]);case 3:return e.call(r,n[0],n[1],n[2])}return e.apply(r,n)}return Sm=t,Sm}var _m,XC;function K3(){if(XC)return _m;XC=1;var t=E_(),e=Math.max;function r(n,s,i){return s=e(s===void 0?n.length-1:s,0),function(){for(var a=arguments,o=-1,u=e(a.length-s,0),l=Array(u);++o<u;)l[o]=a[s+o];o=-1;for(var c=Array(s+1);++o<s;)c[o]=a[o];return c[s]=i(l),t(n,this,c)}}return _m=r,_m}var wm,ZC;function G3(){if(ZC)return wm;ZC=1;function t(e){return function(){return e}}return wm=t,wm}var xm,QC;function T5(){if(QC)return xm;QC=1;var t=G3(),e=q3(),r=xu(),n=e?function(s,i){return e(s,"toString",{configurable:!0,enumerable:!1,value:t(i),writable:!0})}:r;return xm=n,xm}var Am,eR;function Y3(){if(eR)return Am;eR=1;var t=800,e=16,r=Date.now;function n(s){var i=0,a=0;return function(){var o=r(),u=e-(o-a);if(a=o,u>0){if(++i>=t)return arguments[0]}else i=0;return s.apply(void 0,arguments)}}return Am=n,Am}var Om,tR;function S_(){if(tR)return Om;tR=1;var t=T5(),e=Y3(),r=e(t);return Om=r,Om}var Cm,rR;function k5(){if(rR)return Cm;rR=1;var t=xu(),e=K3(),r=S_();function n(s,i){return r(e(s,i,t),s+"")}return Cm=n,Cm}var Rm,nR;function X3(){if(nR)return Rm;nR=1;var t=Qa(),e=ia(),r=_u(),n=vn();function s(i,a,o){if(!n(o))return!1;var u=typeof a;return(u=="number"?e(o)&&r(a,o.length):u=="string"&&a in o)?t(o[a],i):!1}return Rm=s,Rm}var Im,sR;function P5(){if(sR)return Im;sR=1;var t=k5(),e=X3();function r(n){return t(function(s,i){var a=-1,o=i.length,u=o>1?i[o-1]:void 0,l=o>2?i[2]:void 0;for(u=n.length>3&&typeof u=="function"?(o--,u):void 0,l&&e(i[0],i[1],l)&&(u=o<3?void 0:u,o=1),s=Object(s);++a<o;){var c=i[a];c&&n(s,c,a,u)}return s})}return Im=r,Im}var Tm,iR;function j5(){if(iR)return Tm;iR=1;var t=I5(),e=P5(),r=e(function(n,s,i){t(n,s,i)});return Tm=r,Tm}var N5=j5();const M5=ut(N5);var km,aR;function __(){if(aR)return km;aR=1;function t(e,r){for(var n=-1,s=e==null?0:e.length,i=Array(s);++n<s;)i[n]=r(e[n],n,e);return i}return km=t,km}var Pm,oR;function D5(){if(oR)return Pm;oR=1;var t=af(),e=__(),r=Rr(),n=of(),s=t?t.prototype:void 0,i=s?s.toString:void 0;function a(o){if(typeof o=="string")return o;if(r(o))return e(o,a)+"";if(n(o))return i?i.call(o):"";var u=o+"";return u=="0"&&1/o==-1/0?"-0":u}return Pm=a,Pm}var jm,uR;function Xs(){if(uR)return jm;uR=1;var t=D5();function e(r){return r==null?"":t(r)}return jm=e,jm}var Nm,lR;function Z3(){if(lR)return Nm;lR=1;function t(e,r,n){var s=-1,i=e.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 a=Array(i);++s<i;)a[s]=e[s+r];return a}return Nm=t,Nm}var Mm,cR;function F5(){if(cR)return Mm;cR=1;var t=Z3();function e(r,n,s){var i=r.length;return s=s===void 0?i:s,!n&&s>=i?r:t(r,n,s)}return Mm=e,Mm}var Dm,fR;function Q3(){if(fR)return Dm;fR=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=e+r+n,i="\\ufe0e\\ufe0f",a="\\u200d",o=RegExp("["+a+t+s+i+"]");function u(l){return o.test(l)}return Dm=u,Dm}var Fm,pR;function q5(){if(pR)return Fm;pR=1;function t(e){return e.split("")}return Fm=t,Fm}var qm,dR;function B5(){if(dR)return qm;dR=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=e+r+n,i="\\ufe0e\\ufe0f",a="["+t+"]",o="["+s+"]",u="\\ud83c[\\udffb-\\udfff]",l="(?:"+o+"|"+u+")",c="[^"+t+"]",p="(?:\\ud83c[\\udde6-\\uddff]){2}",m="[\\ud800-\\udbff][\\udc00-\\udfff]",d="\\u200d",g=l+"?",y="["+i+"]?",v="(?:"+d+"(?:"+[c,p,m].join("|")+")"+y+g+")*",E=y+g+v,b="(?:"+[c+o+"?",o,p,m,a].join("|")+")",_=RegExp(u+"(?="+u+")|"+b+E,"g");function w(S){return S.match(_)||[]}return qm=w,qm}var Bm,hR;function L5(){if(hR)return Bm;hR=1;var t=q5(),e=Q3(),r=B5();function n(s){return e(s)?r(s):t(s)}return Bm=n,Bm}var Lm,mR;function $5(){if(mR)return Lm;mR=1;var t=F5(),e=Q3(),r=L5(),n=Xs();function s(i){return function(a){a=n(a);var o=e(a)?r(a):void 0,u=o?o[0]:a.charAt(0),l=o?t(o,1).join(""):a.slice(1);return u[i]()+l}}return Lm=s,Lm}var $m,gR;function eF(){if(gR)return $m;gR=1;var t=$5(),e=t("toUpperCase");return $m=e,$m}var Um,yR;function U5(){if(yR)return Um;yR=1;var t=Xs(),e=eF();function r(n){return e(t(n).toLowerCase())}return Um=r,Um}var Vm,vR;function tF(){if(vR)return Vm;vR=1;function t(e,r,n,s){var i=-1,a=e==null?0:e.length;for(s&&a&&(n=e[++i]);++i<a;)n=r(n,e[i],i,e);return n}return Vm=t,Vm}var zm,bR;function V5(){if(bR)return zm;bR=1;function t(e){return function(r){return e?.[r]}}return zm=t,zm}var Wm,ER;function z5(){if(ER)return Wm;ER=1;var t=V5(),e={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},r=t(e);return Wm=r,Wm}var Jm,SR;function W5(){if(SR)return Jm;SR=1;var t=z5(),e=Xs(),r=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,n="\\u0300-\\u036f",s="\\ufe20-\\ufe2f",i="\\u20d0-\\u20ff",a=n+s+i,o="["+a+"]",u=RegExp(o,"g");function l(c){return c=e(c),c&&c.replace(r,t).replace(u,"")}return Jm=l,Jm}var Hm,_R;function J5(){if(_R)return Hm;_R=1;var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function e(r){return r.match(t)||[]}return Hm=e,Hm}var Km,wR;function H5(){if(wR)return Km;wR=1;var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function e(r){return t.test(r)}return Km=e,Km}var Gm,xR;function K5(){if(xR)return Gm;xR=1;var t="\\ud800-\\udfff",e="\\u0300-\\u036f",r="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",s=e+r+n,i="\\u2700-\\u27bf",a="a-z\\xdf-\\xf6\\xf8-\\xff",o="\\xac\\xb1\\xd7\\xf7",u="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",l="\\u2000-\\u206f",c=" \\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",p="A-Z\\xc0-\\xd6\\xd8-\\xde",m="\\ufe0e\\ufe0f",d=o+u+l+c,g="['’]",y="["+d+"]",v="["+s+"]",E="\\d+",b="["+i+"]",_="["+a+"]",w="[^"+t+d+E+i+a+p+"]",S="\\ud83c[\\udffb-\\udfff]",A="(?:"+v+"|"+S+")",I="[^"+t+"]",k="(?:\\ud83c[\\udde6-\\uddff]){2}",P="[\\ud800-\\udbff][\\udc00-\\udfff]",F="["+p+"]",R="\\u200d",L="(?:"+_+"|"+w+")",M="(?:"+F+"|"+w+")",G="(?:"+g+"(?:d|ll|m|re|s|t|ve))?",re="(?:"+g+"(?:D|LL|M|RE|S|T|VE))?",K=A+"?",Z="["+m+"]?",X="(?:"+R+"(?:"+[I,k,P].join("|")+")"+Z+K+")*",ee="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ce="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",se=Z+K+X,ue="(?:"+[b,k,P].join("|")+")"+se,ye=RegExp([F+"?"+_+"+"+G+"(?="+[y,F,"$"].join("|")+")",M+"+"+re+"(?="+[y,F+L,"$"].join("|")+")",F+"?"+L+"+"+G,F+"+"+re,ce,ee,E,ue].join("|"),"g");function he(te){return te.match(ye)||[]}return Gm=he,Gm}var Ym,AR;function G5(){if(AR)return Ym;AR=1;var t=J5(),e=H5(),r=Xs(),n=K5();function s(i,a,o){return i=r(i),a=o?void 0:a,a===void 0?e(i)?n(i):t(i):i.match(a)||[]}return Ym=s,Ym}var Xm,OR;function Y5(){if(OR)return Xm;OR=1;var t=tF(),e=W5(),r=G5(),n="['’]",s=RegExp(n,"g");function i(a){return function(o){return t(r(e(o).replace(s,"")),a,"")}}return Xm=i,Xm}var Zm,CR;function X5(){if(CR)return Zm;CR=1;var t=U5(),e=Y5(),r=e(function(n,s,i){return s=s.toLowerCase(),n+(i?t(s):s)});return Zm=r,Zm}X5();eF();var Qm,RR;function rF(){if(RR)return Qm;RR=1;var t=d_(),e="Expected a function";function r(n,s){if(typeof n!="function"||s!=null&&typeof s!="function")throw new TypeError(e);var i=function(){var a=arguments,o=s?s.apply(this,a):a[0],u=i.cache;if(u.has(o))return u.get(o);var l=n.apply(this,a);return i.cache=u.set(o,l)||u,l};return i.cache=new(r.Cache||t),i}return r.Cache=t,Qm=r,Qm}var Z5=rF();const Q5=ut(Z5);var eg,IR;function e7(){if(IR)return eg;IR=1;var t="__lodash_hash_undefined__";function e(r){return this.__data__.set(r,t),this}return eg=e,eg}var tg,TR;function t7(){if(TR)return tg;TR=1;function t(e){return this.__data__.has(e)}return tg=t,tg}var rg,kR;function r7(){if(kR)return rg;kR=1;var t=d_(),e=e7(),r=t7();function n(s){var i=-1,a=s==null?0:s.length;for(this.__data__=new t;++i<a;)this.add(s[i])}return n.prototype.add=n.prototype.push=e,n.prototype.has=r,rg=n,rg}var ng,PR;function nF(){if(PR)return ng;PR=1;function t(e,r){for(var n=-1,s=e==null?0:e.length;++n<s;)if(r(e[n],n,e))return!0;return!1}return ng=t,ng}var sg,jR;function n7(){if(jR)return sg;jR=1;function t(e,r){return e.has(r)}return sg=t,sg}var ig,NR;function sF(){if(NR)return ig;NR=1;var t=r7(),e=nF(),r=n7(),n=1,s=2;function i(a,o,u,l,c,p){var m=u&n,d=a.length,g=o.length;if(d!=g&&!(m&&g>d))return!1;var y=p.get(a),v=p.get(o);if(y&&v)return y==o&&v==a;var E=-1,b=!0,_=u&s?new t:void 0;for(p.set(a,o),p.set(o,a);++E<d;){var w=a[E],S=o[E];if(l)var A=m?l(S,w,E,o,a,p):l(w,S,E,a,o,p);if(A!==void 0){if(A)continue;b=!1;break}if(_){if(!e(o,function(I,k){if(!r(_,k)&&(w===I||c(w,I,u,l,p)))return _.push(k)})){b=!1;break}}else if(!(w===S||c(w,S,u,l,p))){b=!1;break}}return p.delete(a),p.delete(o),b}return ig=i,ig}var ag,MR;function s7(){if(MR)return ag;MR=1;function t(e){var r=-1,n=Array(e.size);return e.forEach(function(s,i){n[++r]=[i,s]}),n}return ag=t,ag}var og,DR;function i7(){if(DR)return og;DR=1;function t(e){var r=-1,n=Array(e.size);return e.forEach(function(s){n[++r]=s}),n}return og=t,og}var ug,FR;function a7(){if(FR)return ug;FR=1;var t=af(),e=U3(),r=Qa(),n=sF(),s=s7(),i=i7(),a=1,o=2,u="[object Boolean]",l="[object Date]",c="[object Error]",p="[object Map]",m="[object Number]",d="[object RegExp]",g="[object Set]",y="[object String]",v="[object Symbol]",E="[object ArrayBuffer]",b="[object DataView]",_=t?t.prototype:void 0,w=_?_.valueOf:void 0;function S(A,I,k,P,F,R,L){switch(k){case b:if(A.byteLength!=I.byteLength||A.byteOffset!=I.byteOffset)return!1;A=A.buffer,I=I.buffer;case E:return!(A.byteLength!=I.byteLength||!R(new e(A),new e(I)));case u:case l:case m:return r(+A,+I);case c:return A.name==I.name&&A.message==I.message;case d:case y:return A==I+"";case p:var M=s;case g:var G=P&a;if(M||(M=i),A.size!=I.size&&!G)return!1;var re=L.get(A);if(re)return re==I;P|=o,L.set(A,I);var K=n(M(A),M(I),P,F,R,L);return L.delete(A),K;case v:if(w)return w.call(A)==w.call(I)}return!1}return ug=S,ug}var lg,qR;function w_(){if(qR)return lg;qR=1;function t(e,r){for(var n=-1,s=r.length,i=e.length;++n<s;)e[i+n]=r[n];return e}return lg=t,lg}var cg,BR;function iF(){if(BR)return cg;BR=1;var t=w_(),e=Rr();function r(n,s,i){var a=s(n);return e(n)?a:t(a,i(n))}return cg=r,cg}var fg,LR;function o7(){if(LR)return fg;LR=1;function t(e,r){for(var n=-1,s=e==null?0:e.length,i=0,a=[];++n<s;){var o=e[n];r(o,n,e)&&(a[i++]=o)}return a}return fg=t,fg}var pg,$R;function aF(){if($R)return pg;$R=1;function t(){return[]}return pg=t,pg}var dg,UR;function x_(){if(UR)return dg;UR=1;var t=o7(),e=aF(),r=Object.prototype,n=r.propertyIsEnumerable,s=Object.getOwnPropertySymbols,i=s?function(a){return a==null?[]:(a=Object(a),t(s(a),function(o){return n.call(a,o)}))}:e;return dg=i,dg}var hg,VR;function u7(){if(VR)return hg;VR=1;var t=z3(),e=t(Object.keys,Object);return hg=e,hg}var mg,zR;function A_(){if(zR)return mg;zR=1;var t=gf(),e=u7(),r=Object.prototype,n=r.hasOwnProperty;function s(i){if(!t(i))return e(i);var a=[];for(var o in Object(i))n.call(i,o)&&o!="constructor"&&a.push(o);return a}return mg=s,mg}var gg,WR;function to(){if(WR)return gg;WR=1;var t=H3(),e=A_(),r=ia();function n(s){return r(s)?t(s):e(s)}return gg=n,gg}var yg,JR;function oF(){if(JR)return yg;JR=1;var t=iF(),e=x_(),r=to();function n(s){return t(s,r,e)}return yg=n,yg}var vg,HR;function l7(){if(HR)return vg;HR=1;var t=oF(),e=1,r=Object.prototype,n=r.hasOwnProperty;function s(i,a,o,u,l,c){var p=o&e,m=t(i),d=m.length,g=t(a),y=g.length;if(d!=y&&!p)return!1;for(var v=d;v--;){var E=m[v];if(!(p?E in a:n.call(a,E)))return!1}var b=c.get(i),_=c.get(a);if(b&&_)return b==a&&_==i;var w=!0;c.set(i,a),c.set(a,i);for(var S=p;++v<d;){E=m[v];var A=i[E],I=a[E];if(u)var k=p?u(I,A,E,a,i,c):u(A,I,E,i,a,c);if(!(k===void 0?A===I||l(A,I,o,u,c):k)){w=!1;break}S||(S=E=="constructor")}if(w&&!S){var P=i.constructor,F=a.constructor;P!=F&&"constructor"in i&&"constructor"in a&&!(typeof P=="function"&&P instanceof P&&typeof F=="function"&&F instanceof F)&&(w=!1)}return c.delete(i),c.delete(a),w}return vg=s,vg}var bg,KR;function c7(){if(KR)return bg;KR=1;var t=sa(),e=bn(),r=t(e,"DataView");return bg=r,bg}var Eg,GR;function f7(){if(GR)return Eg;GR=1;var t=sa(),e=bn(),r=t(e,"Promise");return Eg=r,Eg}var Sg,YR;function p7(){if(YR)return Sg;YR=1;var t=sa(),e=bn(),r=t(e,"Set");return Sg=r,Sg}var _g,XR;function uF(){if(XR)return _g;XR=1;var t=sa(),e=bn(),r=t(e,"WeakMap");return _g=r,_g}var wg,ZR;function ro(){if(ZR)return wg;ZR=1;var t=c7(),e=p_(),r=f7(),n=p7(),s=uF(),i=Ys(),a=F3(),o="[object Map]",u="[object Object]",l="[object Promise]",c="[object Set]",p="[object WeakMap]",m="[object DataView]",d=a(t),g=a(e),y=a(r),v=a(n),E=a(s),b=i;return(t&&b(new t(new ArrayBuffer(1)))!=m||e&&b(new e)!=o||r&&b(r.resolve())!=l||n&&b(new n)!=c||s&&b(new s)!=p)&&(b=function(_){var w=i(_),S=w==u?_.constructor:void 0,A=S?a(S):"";if(A)switch(A){case d:return m;case g:return o;case y:return l;case v:return c;case E:return p}return w}),wg=b,wg}var xg,QR;function d7(){if(QR)return xg;QR=1;var t=hf(),e=sF(),r=a7(),n=l7(),s=ro(),i=Rr(),a=Su(),o=vf(),u=1,l="[object Arguments]",c="[object Array]",p="[object Object]",m=Object.prototype,d=m.hasOwnProperty;function g(y,v,E,b,_,w){var S=i(y),A=i(v),I=S?c:s(y),k=A?c:s(v);I=I==l?p:I,k=k==l?p:k;var P=I==p,F=k==p,R=I==k;if(R&&a(y)){if(!a(v))return!1;S=!0,P=!1}if(R&&!P)return w||(w=new t),S||o(y)?e(y,v,E,b,_,w):r(y,v,I,E,b,_,w);if(!(E&u)){var L=P&&d.call(y,"__wrapped__"),M=F&&d.call(v,"__wrapped__");if(L||M){var G=L?y.value():y,re=M?v.value():v;return w||(w=new t),_(G,re,E,b,w)}}return R?(w||(w=new t),n(y,v,E,b,_,w)):!1}return xg=g,xg}var Ag,eI;function O_(){if(eI)return Ag;eI=1;var t=d7(),e=an();function r(n,s,i,a,o){return n===s?!0:n==null||s==null||!e(n)&&!e(s)?n!==n&&s!==s:t(n,s,i,a,r,o)}return Ag=r,Ag}var Og,tI;function h7(){if(tI)return Og;tI=1;var t=hf(),e=O_(),r=1,n=2;function s(i,a,o,u){var l=o.length,c=l,p=!u;if(i==null)return!c;for(i=Object(i);l--;){var m=o[l];if(p&&m[2]?m[1]!==i[m[0]]:!(m[0]in i))return!1}for(;++l<c;){m=o[l];var d=m[0],g=i[d],y=m[1];if(p&&m[2]){if(g===void 0&&!(d in i))return!1}else{var v=new t;if(u)var E=u(g,y,d,i,a,v);if(!(E===void 0?e(y,g,r|n,u,v):E))return!1}}return!0}return Og=s,Og}var Cg,rI;function lF(){if(rI)return Cg;rI=1;var t=vn();function e(r){return r===r&&!t(r)}return Cg=e,Cg}var Rg,nI;function m7(){if(nI)return Rg;nI=1;var t=lF(),e=to();function r(n){for(var s=e(n),i=s.length;i--;){var a=s[i],o=n[a];s[i]=[a,o,t(o)]}return s}return Rg=r,Rg}var Ig,sI;function cF(){if(sI)return Ig;sI=1;function t(e,r){return function(n){return n==null?!1:n[e]===r&&(r!==void 0||e in Object(n))}}return Ig=t,Ig}var Tg,iI;function g7(){if(iI)return Tg;iI=1;var t=h7(),e=m7(),r=cF();function n(s){var i=e(s);return i.length==1&&i[0][2]?r(i[0][0],i[0][1]):function(a){return a===s||t(a,s,i)}}return Tg=n,Tg}var kg,aI;function C_(){if(aI)return kg;aI=1;var t=Rr(),e=of(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function s(i,a){if(t(i))return!1;var o=typeof i;return o=="number"||o=="symbol"||o=="boolean"||i==null||e(i)?!0:n.test(i)||!r.test(i)||a!=null&&i in Object(a)}return kg=s,kg}var Pg,oI;function y7(){if(oI)return Pg;oI=1;var t=rF(),e=500;function r(n){var s=t(n,function(a){return i.size===e&&i.clear(),a}),i=s.cache;return s}return Pg=r,Pg}var jg,uI;function fF(){if(uI)return jg;uI=1;var t=y7(),e=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=t(function(s){var i=[];return s.charCodeAt(0)===46&&i.push(""),s.replace(e,function(a,o,u,l){i.push(u?l.replace(r,"$1"):o||a)}),i});return jg=n,jg}var Ng,lI;function Au(){if(lI)return Ng;lI=1;var t=Rr(),e=C_(),r=fF(),n=Xs();function s(i,a){return t(i)?i:e(i,a)?[i]:r(n(i))}return Ng=s,Ng}var Mg,cI;function aa(){if(cI)return Mg;cI=1;var t=of();function e(r){if(typeof r=="string"||t(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return Mg=e,Mg}var Dg,fI;function R_(){if(fI)return Dg;fI=1;var t=Au(),e=aa();function r(n,s){s=t(s,n);for(var i=0,a=s.length;n!=null&&i<a;)n=n[e(s[i++])];return i&&i==a?n:void 0}return Dg=r,Dg}var Fg,pI;function pF(){if(pI)return Fg;pI=1;var t=R_();function e(r,n,s){var i=r==null?void 0:t(r,n);return i===void 0?s:i}return Fg=e,Fg}var qg,dI;function v7(){if(dI)return qg;dI=1;function t(e,r){return e!=null&&r in Object(e)}return qg=t,qg}var Bg,hI;function dF(){if(hI)return Bg;hI=1;var t=Au(),e=Eu(),r=Rr(),n=_u(),s=y_(),i=aa();function a(o,u,l){u=t(u,o);for(var c=-1,p=u.length,m=!1;++c<p;){var d=i(u[c]);if(!(m=o!=null&&l(o,d)))break;o=o[d]}return m||++c!=p?m:(p=o==null?0:o.length,!!p&&s(p)&&n(d,p)&&(r(o)||e(o)))}return Bg=a,Bg}var Lg,mI;function b7(){if(mI)return Lg;mI=1;var t=v7(),e=dF();function r(n,s){return n!=null&&e(n,s,t)}return Lg=r,Lg}var $g,gI;function E7(){if(gI)return $g;gI=1;var t=O_(),e=pF(),r=b7(),n=C_(),s=lF(),i=cF(),a=aa(),o=1,u=2;function l(c,p){return n(c)&&s(p)?i(a(c),p):function(m){var d=e(m,c);return d===void 0&&d===p?r(m,c):t(p,d,o|u)}}return $g=l,$g}var Ug,yI;function S7(){if(yI)return Ug;yI=1;function t(e){return function(r){return r?.[e]}}return Ug=t,Ug}var Vg,vI;function _7(){if(vI)return Vg;vI=1;var t=R_();function e(r){return function(n){return t(n,r)}}return Vg=e,Vg}var zg,bI;function w7(){if(bI)return zg;bI=1;var t=S7(),e=_7(),r=C_(),n=aa();function s(i){return r(i)?t(n(i)):e(i)}return zg=s,zg}var Wg,EI;function Ou(){if(EI)return Wg;EI=1;var t=g7(),e=E7(),r=xu(),n=Rr(),s=w7();function i(a){return typeof a=="function"?a:a==null?r:typeof a=="object"?n(a)?e(a[0],a[1]):t(a):s(a)}return Wg=i,Wg}var Jg,SI;function x7(){if(SI)return Jg;SI=1;var t=Ou(),e=ia(),r=to();function n(s){return function(i,a,o){var u=Object(i);
1if(!e(i)){var l=t(a,3);i=r(i),a=function(p){return l(u[p],p,u)}}var c=s(i,a,o);return c>-1?u[l?i[c]:c]:void 0}}return Jg=n,Jg}var Hg,_I;function hF(){if(_I)return Hg;_I=1;function t(e,r,n,s){for(var i=e.length,a=n+(s?1:-1);s?a--:++a<i;)if(r(e[a],a,e))return a;return-1}return Hg=t,Hg}var Kg,wI;function A7(){if(wI)return Kg;wI=1;var t=LU(),e=1/0,r=17976931348623157e292;function n(s){if(!s)return s===0?s:0;if(s=t(s),s===e||s===-e){var i=s<0?-1:1;return i*r}return s===s?s:0}return Kg=n,Kg}var Gg,xI;function I_(){if(xI)return Gg;xI=1;var t=A7();function e(r){var n=t(r),s=n%1;return n===n?s?n-s:n:0}return Gg=e,Gg}var Yg,AI;function O7(){if(AI)return Yg;AI=1;var t=hF(),e=Ou(),r=I_(),n=Math.max;function s(i,a,o){var u=i==null?0:i.length;if(!u)return-1;var l=o==null?0:r(o);return l<0&&(l=n(u+l,0)),t(i,e(a,3),l)}return Yg=s,Yg}var Xg,OI;function C7(){if(OI)return Xg;OI=1;var t=x7(),e=O7(),r=t(e);return Xg=r,Xg}var R7=C7();const I7=ut(R7);var Zg,CI;function T7(){if(CI)return Zg;CI=1;var t=L3(),e=to();function r(n,s){return n&&t(n,s,e)}return Zg=r,Zg}var Qg,RI;function k7(){if(RI)return Qg;RI=1;var t=ia();function e(r,n){return function(s,i){if(s==null)return s;if(!t(s))return r(s,i);for(var a=s.length,o=n?a:-1,u=Object(s);(n?o--:++o<a)&&i(u[o],o,u)!==!1;);return s}}return Qg=e,Qg}var ey,II;function mF(){if(II)return ey;II=1;var t=T7(),e=k7(),r=e(t);return ey=r,ey}var ty,TI;function P7(){if(TI)return ty;TI=1;var t=mF();function e(r,n){var s;return t(r,function(i,a,o){return s=n(i,a,o),!s}),!!s}return ty=e,ty}var ry,kI;function j7(){if(kI)return ry;kI=1;var t=nF(),e=Ou(),r=P7(),n=Rr(),s=X3();function i(a,o,u){var l=n(a)?t:r;return u&&s(a,o,u)&&(o=void 0),l(a,e(o,3))}return ry=i,ry}var N7=j7();const M7=ut(N7);var D7=Qa();const F7=ut(D7);var q7=vu();const B7=ut(q7);var vc={exports:{}};var L7=vc.exports,PI;function $7(){return PI||(PI=1,(function(t,e){(function(r,n){t.exports=n(r)})(typeof Nn<"u"?Nn:L7,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),a=i.length,o=-1,u,l="",c=i.charCodeAt(0);++o<a;){if(u=i.charCodeAt(o),u==0){l+="�";continue}if(u>=1&&u<=31||u==127||o==0&&u>=48&&u<=57||o==1&&u>=48&&u<=57&&c==45){l+="\\"+u.toString(16)+" ";continue}if(o==0&&a==1&&u==45){l+="\\"+i.charAt(o);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){l+=i.charAt(o);continue}l+="\\"+i.charAt(o)}return l};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})})(vc)),vc.exports}var U7=$7();const V7=ut(U7);var ny,jI;function z7(){return jI||(jI=1,ny=function(e,r){if(r=r.split(":")[0],e=+e,!e)return!1;switch(r){case"http":case"ws":return e!==80;case"https":case"wss":return e!==443;case"ftp":return e!==21;case"gopher":return e!==70;case"file":return!1}return e!==0}),ny}var ec={},NI;function W7(){if(NI)return ec;NI=1;var t=Object.prototype.hasOwnProperty,e;function r(a){try{return decodeURIComponent(a.replace(/\+/g," "))}catch{return null}}function n(a){try{return encodeURIComponent(a)}catch{return null}}function s(a){for(var o=/([^=?#&]+)=?([^&]*)/g,u={},l;l=o.exec(a);){var c=r(l[1]),p=r(l[2]);c===null||p===null||c in u||(u[c]=p)}return u}function i(a,o){o=o||"";var u=[],l,c;typeof o!="string"&&(o="?");for(c in a)if(t.call(a,c)){if(l=a[c],!l&&(l===null||l===e||isNaN(l))&&(l=""),c=n(c),l=n(l),c===null||l===null)continue;u.push(c+"="+l)}return u.length?o+u.join("&"):""}return ec.stringify=i,ec.parse=s,ec}var sy,MI;function J7(){if(MI)return sy;MI=1;var t=z7(),e=W7(),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+$/,a=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,o=/^[a-zA-Z]:/;function u(b){return(b||"").toString().replace(r,"")}var l=[["#","hash"],["?","query"],function(_,w){return m(w.protocol)?_.replace(/\\/g,"/"):_},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],c={hash:1,query:1};function p(b){var _;typeof window<"u"?_=window:typeof Nn<"u"?_=Nn:typeof self<"u"?_=self:_={};var w=_.location||{};b=b||w;var S={},A=typeof b,I;if(b.protocol==="blob:")S=new y(unescape(b.pathname),{});else if(A==="string"){S=new y(b,{});for(I in c)delete S[I]}else if(A==="object"){for(I in b)I in c||(S[I]=b[I]);S.slashes===void 0&&(S.slashes=s.test(b.href))}return S}function m(b){return b==="file:"||b==="ftp:"||b==="http:"||b==="https:"||b==="ws:"||b==="wss:"}function d(b,_){b=u(b),b=b.replace(n,""),_=_||{};var w=a.exec(b),S=w[1]?w[1].toLowerCase():"",A=!!w[2],I=!!w[3],k=0,P;return A?I?(P=w[2]+w[3]+w[4],k=w[2].length+w[3].length):(P=w[2]+w[4],k=w[2].length):I?(P=w[3]+w[4],k=w[3].length):P=w[4],S==="file:"?k>=2&&(P=P.slice(2)):m(S)?P=w[4]:S?A&&(P=P.slice(2)):k>=2&&m(_.protocol)&&(P=w[4]),{protocol:S,slashes:A||m(S),slashesCount:k,rest:P}}function g(b,_){if(b==="")return _;for(var w=(_||"/").split("/").slice(0,-1).concat(b.split("/")),S=w.length,A=w[S-1],I=!1,k=0;S--;)w[S]==="."?w.splice(S,1):w[S]===".."?(w.splice(S,1),k++):k&&(S===0&&(I=!0),w.splice(S,1),k--);return I&&w.unshift(""),(A==="."||A==="..")&&w.push(""),w.join("/")}function y(b,_,w){if(b=u(b),b=b.replace(n,""),!(this instanceof y))return new y(b,_,w);var S,A,I,k,P,F,R=l.slice(),L=typeof _,M=this,G=0;for(L!=="object"&&L!=="string"&&(w=_,_=null),w&&typeof w!="function"&&(w=e.parse),_=p(_),A=d(b||"",_),S=!A.protocol&&!A.slashes,M.slashes=A.slashes||S&&_.slashes,M.protocol=A.protocol||_.protocol||"",b=A.rest,(A.protocol==="file:"&&(A.slashesCount!==2||o.test(b))||!A.slashes&&(A.protocol||A.slashesCount<2||!m(M.protocol)))&&(R[3]=[/(.*)/,"pathname"]);G<R.length;G++){if(k=R[G],typeof k=="function"){b=k(b,M);continue}
1I=k[0],F=k[1],I!==I?M[F]=b:typeof I=="string"?(P=I==="@"?b.lastIndexOf(I):b.indexOf(I),~P&&(typeof k[2]=="number"?(M[F]=b.slice(0,P),b=b.slice(P+k[2])):(M[F]=b.slice(P),b=b.slice(0,P)))):(P=I.exec(b))&&(M[F]=P[1],b=b.slice(0,P.index)),M[F]=M[F]||S&&k[3]&&_[F]||"",k[4]&&(M[F]=M[F].toLowerCase())}w&&(M.query=w(M.query)),S&&_.slashes&&M.pathname.charAt(0)!=="/"&&(M.pathname!==""||_.pathname!=="")&&(M.pathname=g(M.pathname,_.pathname)),M.pathname.charAt(0)!=="/"&&m(M.protocol)&&(M.pathname="/"+M.pathname),t(M.port,M.protocol)||(M.host=M.hostname,M.port=""),M.username=M.password="",M.auth&&(P=M.auth.indexOf(":"),~P?(M.username=M.auth.slice(0,P),M.username=encodeURIComponent(decodeURIComponent(M.username)),M.password=M.auth.slice(P+1),M.password=encodeURIComponent(decodeURIComponent(M.password))):M.username=encodeURIComponent(decodeURIComponent(M.auth)),M.auth=M.password?M.username+":"+M.password:M.username),M.origin=M.protocol!=="file:"&&m(M.protocol)&&M.host?M.protocol+"//"+M.host:"null",M.href=M.toString()}function v(b,_,w){var S=this;switch(b){case"query":typeof _=="string"&&_.length&&(_=(w||e.parse)(_)),S[b]=_;break;case"port":S[b]=_,t(_,S.protocol)?_&&(S.host=S.hostname+":"+_):(S.host=S.hostname,S[b]="");break;case"hostname":S[b]=_,S.port&&(_+=":"+S.port),S.host=_;break;case"host":S[b]=_,i.test(_)?(_=_.split(":"),S.port=_.pop(),S.hostname=_.join(":")):(S.hostname=_,S.port="");break;case"protocol":S.protocol=_.toLowerCase(),S.slashes=!w;break;case"pathname":case"hash":if(_){var A=b==="pathname"?"/":"#";S[b]=_.charAt(0)!==A?A+_:_}else S[b]=_;break;case"username":case"password":S[b]=encodeURIComponent(_);break;case"auth":var I=_.indexOf(":");~I?(S.username=_.slice(0,I),S.username=encodeURIComponent(decodeURIComponent(S.username)),S.password=_.slice(I+1),S.password=encodeURIComponent(decodeURIComponent(S.password))):S.username=encodeURIComponent(decodeURIComponent(_))}for(var k=0;k<l.length;k++){var P=l[k];P[4]&&(S[P[1]]=S[P[1]].toLowerCase())}return S.auth=S.password?S.username+":"+S.password:S.username,S.origin=S.protocol!=="file:"&&m(S.protocol)&&S.host?S.protocol+"//"+S.host:"null",S.href=S.toString(),S}function E(b){(!b||typeof b!="function")&&(b=e.stringify);var _,w=this,S=w.host,A=w.protocol;A&&A.charAt(A.length-1)!==":"&&(A+=":");var I=A+(w.protocol&&w.slashes||m(w.protocol)?"//":"");return w.username?(I+=w.username,w.password&&(I+=":"+w.password),I+="@"):w.password?(I+=":"+w.password,I+="@"):w.protocol!=="file:"&&m(w.protocol)&&!S&&w.pathname!=="/"&&(I+="@"),(S[S.length-1]===":"||i.test(w.hostname)&&!w.port)&&(S+=":"),I+=S+w.pathname,_=typeof w.query=="object"?b(w.query):w.query,_&&(I+=_.charAt(0)!=="?"?"?"+_:_),w.hash&&(I+=w.hash),I}return y.prototype={set:v,toString:E},y.extractProtocol=d,y.location=p,y.trimLeft=u,y.qs=e,sy=y,sy}var H7=J7();const K7=ut(H7);var iy,DI;function T_(){if(DI)return iy;DI=1;function t(e,r){for(var n=-1,s=e==null?0:e.length;++n<s&&r(e[n],n,e)!==!1;);return e}return iy=t,iy}var ay,FI;function gF(){if(FI)return ay;FI=1;var t=eo(),e=to();function r(n,s){return n&&t(s,e(s),n)}return ay=r,ay}var oy,qI;function G7(){if(qI)return oy;qI=1;var t=eo(),e=wu();function r(n,s){return n&&t(s,e(s),n)}return oy=r,oy}var uy,BI;function Y7(){if(BI)return uy;BI=1;var t=eo(),e=x_();function r(n,s){return t(n,e(n),s)}return uy=r,uy}var ly,LI;function yF(){if(LI)return ly;LI=1;var t=w_(),e=g_(),r=x_(),n=aF(),s=Object.getOwnPropertySymbols,i=s?function(a){for(var o=[];a;)t(o,r(a)),a=e(a);return o}:n;return ly=i,ly}var cy,$I;function X7(){if($I)return cy;$I=1;var t=eo(),e=yF();function r(n,s){return t(n,e(n),s)}return cy=r,cy}var fy,UI;function vF(){if(UI)return fy;UI=1;var t=iF(),e=yF(),r=wu();function n(s){return t(s,r,e)}return fy=n,fy}var py,VI;function Z7(){if(VI)return py;VI=1;var t=Object.prototype,e=t.hasOwnProperty;function r(n){var s=n.length,i=new n.constructor(s);return s&&typeof n[0]=="string"&&e.call(n,"index")&&(i.index=n.index,i.input=n.input),i}return py=r,py}var dy,zI;function Q7(){if(zI)return dy;zI=1;var t=m_();function e(r,n){var s=n?t(r.buffer):r.buffer;return new r.constructor(s,r.byteOffset,r.byteLength)}return dy=e,dy}var hy,WI;function eV(){if(WI)return hy;WI=1;var t=/\w*$/;function e(r){var n=new r.constructor(r.source,t.exec(r));return n.lastIndex=r.lastIndex,n}return hy=e,hy}var my,JI;function tV(){if(JI)return my;JI=1;var t=af(),e=t?t.prototype:void 0,r=e?e.valueOf:void 0;function n(s){return r?Object(r.call(s)):{}}return my=n,my}var gy,HI;function rV(){if(HI)return gy;HI=1;var t=m_(),e=Q7(),r=eV(),n=tV(),s=V3(),i="[object Boolean]",a="[object Date]",o="[object Map]",u="[object Number]",l="[object RegExp]",c="[object Set]",p="[object String]",m="[object Symbol]",d="[object ArrayBuffer]",g="[object DataView]",y="[object Float32Array]",v="[object Float64Array
1]",E="[object Int8Array]",b="[object Int16Array]",_="[object Int32Array]",w="[object Uint8Array]",S="[object Uint8ClampedArray]",A="[object Uint16Array]",I="[object Uint32Array]";function k(P,F,R){var L=P.constructor;switch(F){case d:return t(P);case i:case a:return new L(+P);case g:return e(P,R);case y:case v:case E:case b:case _:case w:case S:case A:case I:return s(P,R);case o:return new L;case u:case p:return new L(P);case l:return r(P);case c:return new L;case m:return n(P)}}return gy=k,gy}var yy,KI;function nV(){if(KI)return yy;KI=1;var t=ro(),e=an(),r="[object Map]";function n(s){return e(s)&&t(s)==r}return yy=n,yy}var vy,GI;function sV(){if(GI)return vy;GI=1;var t=nV(),e=v_(),r=b_(),n=r&&r.isMap,s=n?e(n):t;return vy=s,vy}var by,YI;function iV(){if(YI)return by;YI=1;var t=ro(),e=an(),r="[object Set]";function n(s){return e(s)&&t(s)==r}return by=n,by}var Ey,XI;function aV(){if(XI)return Ey;XI=1;var t=iV(),e=v_(),r=b_(),n=r&&r.isSet,s=n?e(n):t;return Ey=s,Ey}var Sy,ZI;function k_(){if(ZI)return Sy;ZI=1;var t=hf(),e=T_(),r=bf(),n=gF(),s=G7(),i=$3(),a=bu(),o=Y7(),u=X7(),l=oF(),c=vF(),p=ro(),m=Z7(),d=rV(),g=W3(),y=Rr(),v=Su(),E=sV(),b=vn(),_=aV(),w=to(),S=wu(),A=1,I=2,k=4,P="[object Arguments]",F="[object Array]",R="[object Boolean]",L="[object Date]",M="[object Error]",G="[object Function]",re="[object GeneratorFunction]",K="[object Map]",Z="[object Number]",X="[object Object]",ee="[object RegExp]",ce="[object Set]",se="[object String]",ue="[object Symbol]",ye="[object WeakMap]",he="[object ArrayBuffer]",te="[object DataView]",W="[object Float32Array]",V="[object Float64Array]",me="[object Int8Array]",ve="[object Int16Array]",Me="[object Int32Array]",Be="[object Uint8Array]",Te="[object Uint8ClampedArray]",ke="[object Uint16Array]",$e="[object Uint32Array]",ge={};ge[P]=ge[F]=ge[he]=ge[te]=ge[R]=ge[L]=ge[W]=ge[V]=ge[me]=ge[ve]=ge[Me]=ge[K]=ge[Z]=ge[X]=ge[ee]=ge[ce]=ge[se]=ge[ue]=ge[Be]=ge[Te]=ge[ke]=ge[$e]=!0,ge[M]=ge[G]=ge[ye]=!1;function Se(we,$,C,j,U,Y){var ne,fe=$&A,Ne=$&I,Ge=$&k;if(C&&(ne=U?C(we,j,U,Y):C(we)),ne!==void 0)return ne;if(!b(we))return we;var q=y(we);if(q){if(ne=m(we),!fe)return a(we,ne)}else{var O=p(we),T=O==G||O==re;if(v(we))return i(we,fe);if(O==X||O==P||T&&!U){if(ne=Ne||T?{}:g(we),!fe)return Ne?u(we,s(ne,we)):o(we,n(ne,we))}else{if(!ge[O])return U?we:{};ne=d(we,O,fe)}}Y||(Y=new t);var H=Y.get(we);if(H)return H;Y.set(we,ne),_(we)?we.forEach(function(xe){ne.add(Se(xe,$,C,xe,we,Y))}):E(we)&&we.forEach(function(xe,Ze){ne.set(Ze,Se(xe,$,C,Ze,we,Y))});var ie=Ge?Ne?c:l:Ne?S:w,de=q?void 0:ie(we);return e(de||we,function(xe,Ze){de&&(Ze=xe,xe=we[Ze]),r(ne,Ze,Se(xe,$,C,Ze,we,Y))}),ne}return Sy=Se,Sy}var _y,QI;function oV(){if(QI)return _y;QI=1;function t(e){var r=e==null?0:e.length;return r?e[r-1]:void 0}return _y=t,_y}var wy,eT;function uV(){if(eT)return wy;eT=1;var t=R_(),e=Z3();function r(n,s){return s.length<2?n:t(n,e(s,0,-1))}return wy=r,wy}var xy,tT;function lV(){if(tT)return xy;tT=1;var t=Au(),e=oV(),r=uV(),n=aa();function s(i,a){return a=t(a,i),i=r(i,a),i==null||delete i[n(e(a))]}return xy=s,xy}var Ay,rT;function cV(){if(rT)return Ay;rT=1;var t=yf();function e(r){return t(r)?void 0:r}return Ay=e,Ay}var Oy,nT;function fV(){if(nT)return Oy;nT=1;var t=af(),e=Eu(),r=Rr(),n=t?t.isConcatSpreadable:void 0;function s(i){return r(i)||e(i)||!!(n&&i&&i[n])}return Oy=s,Oy}var Cy,sT;function pV(){if(sT)return Cy;sT=1;var t=w_(),e=fV();function r(n,s,i,a,o){var u=-1,l=n.length;for(i||(i=e),o||(o=[]);++u<l;){var c=n[u];s>0&&i(c)?s>1?r(c,s-1,i,a,o):t(o,c):a||(o[o.length]=c)}return o}return Cy=r,Cy}var Ry,iT;function dV(){if(iT)return Ry;iT=1;var t=pV();function e(r){var n=r==null?0:r.length;return n?t(r,1):[]}return Ry=e,Ry}var Iy,aT;function bF(){if(aT)return Iy;aT=1;var t=dV(),e=K3(),r=S_();function n(s){return r(e(s,void 0,t),s+"")}return Iy=n,Iy}var Ty,oT;function hV(){if(oT)return Ty;oT=1;var t=__(),e=k_(),r=lV(),n=Au(),s=eo(),i=cV(),a=bF(),o=vF(),u=1,l=2,c=4,p=a(function(m,d){var g={};if(m==null)return g;var y=!1;d=t(d,function(E){return E=n(E,m),y||(y=E.length>1),E}),s(m,o(m),g),y&&(g=e(g,u|l|c,i));for(var v=d.length;v--;)r(g,d[v]);return g});return Ty=p,Ty}var mV=hV();const gV=ut(mV);function EF(t){return typeof t>"u"||t===null}function yV(t){return typeof t=="object"&&t!==null}function vV(t){return Array.isArray(t)?t:EF(t)?[]:[t]}function bV(t,e){var r,n,s,i;if(e)for(i=Object.keys(e),r=0,n=i.length;r<n;r+=1)s=i[r],t[s]=e[s];return t}function EV(t,e){var r="",n;for(n=0;n<e;n+=1)r+=t;return r}function SV(t){return t===0&&Number.NEGATIVE_INFINITY===1/t}var _V=EF,wV=yV,xV=vV,AV=EV,OV=SV,CV=bV,wr={isNothing:_V,isObject:wV,toArray:xV,repeat:AV,isNegativeZero:OV,extend:CV};function SF(t,e){var r="",n=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(r+='in "'+t.mark.name+'" '),r+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(r+=`
2
3`+t.mark.snippet),n+" "+r):n}function Zo(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=SF(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}Zo.prototype=Object.create(Error.prototype);Zo.prototype.constructor=Zo;Zo.prototype.toString=function(e){return this.name+": "+SF(this,e)};var Yr=Zo;function ky(t,e,r,n,s){var i="",a="",o=Math.floor(s/2)-1;return n-e>o&&(i=" ... ",e=n-o+i.length),r-n>o&&(a=" ...",r=n+o-a.length),{str:i+t.slice(e,r).replace(/\t/g,"→")+a,pos:n-e+i.length}}function Py(t,e){return wr.repeat(" ",e-t.length)+t}function RV(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),typeof e.indent!="number"&&(e.indent=1),typeof e.linesBefore!="number"&&(e.linesBefore=3),typeof e.linesAfter!="number"&&(e.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],s=[],i,a=-1;i=r.exec(t.buffer);)s.push(i.index),n.push(i.index+i[0].length),t.position<=i.index&&a<0&&(a=n.length-2);a<0&&(a=n.length-1);var o="",u,l,c=Math.min(t.line+e.linesAfter,s.length).toString().length,p=e.maxLength-(e.indent+c+3);for(u=1;u<=e.linesBefore&&!(a-u<0);u++)l=ky(t.buffer,n[a-u],s[a-u],t.position-(n[a]-n[a-u]),p),o=wr.repeat(" ",e.indent)+Py((t.line-u+1).toString(),c)+" | "+l.str+`
4`+o;for(l=ky(t.buffer,n[a],s[a],t.position,p),o+=wr.repeat(" ",e.indent)+Py((t.line+1).toString(),c)+" | "+l.str+`
5`,o+=wr.repeat("-",e.indent+c+3+l.pos)+`^
6`,u=1;u<=e.linesAfter&&!(a+u>=s.length);u++)l=ky(t.buffer,n[a+u],s[a+u],t.position-(n[a]-n[a+u]),p),o+=wr.repeat(" ",e.indent)+Py((t.line+u+1).toString(),c)+" | "+l.str+`
7`;return o.replace(/\n$/,"")}var IV=RV,TV=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],kV=["scalar","sequence","mapping"];function PV(t){var e={};return t!==null&&Object.keys(t).forEach(function(r){t[r].forEach(function(n){e[String(n)]=r})}),e}function jV(t,e){if(e=e||{},Object.keys(e).forEach(function(r){if(TV.indexOf(r)===-1)throw new Yr('Unknown option "'+r+'" is met in definition of "'+t+'" YAML type.')}),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(r){return r},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=PV(e.styleAliases||null),kV.indexOf(this.kind)===-1)throw new Yr('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var Dr=jV;function uT(t,e){var r=[];return t[e].forEach(function(n){var s=r.length;r.forEach(function(i,a){i.tag===n.tag&&i.kind===n.kind&&i.multi===n.multi&&(s=a)}),r[s]=n}),r}function NV(){var t={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},e,r;function n(s){s.multi?(t.multi[s.kind].push(s),t.multi.fallback.push(s)):t[s.kind][s.tag]=t.fallback[s.tag]=s}for(e=0,r=arguments.length;e<r;e+=1)arguments[e].forEach(n);return t}function LS(t){return this.extend(t)}LS.prototype.extend=function(e){var r=[],n=[];if(e instanceof Dr)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(r=r.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new Yr("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");r.forEach(function(i){if(!(i instanceof Dr))throw new Yr("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(i.loadKind&&i.loadKind!=="scalar")throw new Yr("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
vendor: 9,750 bytes, lines 7-9
7if(i.multi)throw new Yr("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 Dr))throw new Yr("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var s=Object.create(LS.prototype);return s.implicit=(this.implicit||[]).concat(r),s.explicit=(this.explicit||[]).concat(n),s.compiledImplicit=uT(s,"implicit"),s.compiledExplicit=uT(s,"explicit"),s.compiledTypeMap=NV(s.compiledImplicit,s.compiledExplicit),s};var _F=LS,wF=new Dr("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return t!==null?t:""}}),xF=new Dr("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return t!==null?t:[]}}),AF=new Dr("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return t!==null?t:{}}}),OF=new _F({explicit:[wF,xF,AF]});function MV(t){if(t===null)return!0;var e=t.length;return e===1&&t==="~"||e===4&&(t==="null"||t==="Null"||t==="NULL")}function DV(){return null}function FV(t){return t===null}var CF=new Dr("tag:yaml.org,2002:null",{kind:"scalar",resolve:MV,construct:DV,predicate:FV,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function qV(t){if(t===null)return!1;var e=t.length;return e===4&&(t==="true"||t==="True"||t==="TRUE")||e===5&&(t==="false"||t==="False"||t==="FALSE")}function BV(t){return t==="true"||t==="True"||t==="TRUE"}function LV(t){return Object.prototype.toString.call(t)==="[object Boolean]"}var RF=new Dr("tag:yaml.org,2002:bool",{kind:"scalar",resolve:qV,construct:BV,predicate:LV,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function $V(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function UV(t){return 48<=t&&t<=55}function VV(t){return 48<=t&&t<=57}function zV(t){if(t===null)return!1;var e=t.length,r=0,n=!1,s;if(!e)return!1;if(s=t[r],(s==="-"||s==="+")&&(s=t[++r]),s==="0"){if(r+1===e)return!0;if(s=t[++r],s==="b"){for(r++;r<e;r++)if(s=t[r],s!=="_"){if(s!=="0"&&s!=="1")return!1;n=!0}return n&&s!=="_"}if(s==="x"){for(r++;r<e;r++)if(s=t[r],s!=="_"){if(!$V(t.charCodeAt(r)))return!1;n=!0}return n&&s!=="_"}if(s==="o"){for(r++;r<e;r++)if(s=t[r],s!=="_"){if(!UV(t.charCodeAt(r)))return!1;n=!0}return n&&s!=="_"}}if(s==="_")return!1;for(;r<e;r++)if(s=t[r],s!=="_"){if(!VV(t.charCodeAt(r)))return!1;n=!0}return!(!n||s==="_")}function WV(t){var e=t,r=1,n;if(e.indexOf("_")!==-1&&(e=e.replace(/_/g,"")),n=e[0],(n==="-"||n==="+")&&(n==="-"&&(r=-1),e=e.slice(1),n=e[0]),e==="0")return 0;if(n==="0"){if(e[1]==="b")return r*parseInt(e.slice(2),2);if(e[1]==="x")return r*parseInt(e.slice(2),16);if(e[1]==="o")return r*parseInt(e.slice(2),8)}return r*parseInt(e,10)}function JV(t){return Object.prototype.toString.call(t)==="[object Number]"&&t%1===0&&!wr.isNegativeZero(t)}var IF=new Dr("tag:yaml.org,2002:int",{kind:"scalar",resolve:zV,construct:WV,predicate:JV,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),HV=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function KV(t){return!(t===null||!HV.test(t)||t[t.length-1]==="_")}function GV(t){var e,r;return e=t.replace(/_/g,"").toLowerCase(),r=e[0]==="-"?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),e===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:e===".nan"?NaN:r*parseFloat(e,10)}var YV=/^[-+]?[0-9]+e/;function XV(t,e){var r;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(wr.isNegativeZero(t))return"-0.0";return r=t.toString(10),YV.test(r)?r.replace("e",".e"):r}function ZV(t){return Object.prototype.toString.call(t)==="[object Number]"&&(t%1!==0||wr.isNegativeZero(t))}var TF=new Dr("tag:yaml.org,2002:float",{kind:"scalar",resolve:KV,construct:GV,predicate:ZV,represent:XV,defaultStyle:"lowercase"}),kF=OF.extend({implicit:[CF,RF,IF,TF]}),PF=kF,jF=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),NF=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 QV(t){return t===null?!1:jF.exec(t)!==null||NF.exec(t)!==null}function ez(t){var e,r,n,s,i,a,o,u=0,l=null,c,p,m;if(e=jF.exec(t),e===null&&(e=NF.exec(t)),e===null)throw new Error("Date resolve error");if(r=+e[1],n=+e[2]-1,s=+e[3],!e[4])return new Date(Date.UTC(r,n,s));if(i=+e[4],a=+e[5],o=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(c=+e[10],p=+(e[11]||0),l=(c*60+p)*6e4,e[9]==="-"&&(l=-l)),m=new Date(Date.UTC(r,n,s,i,a,o,u)),l&&m.setTime(m.getTime()-l),m}function tz(t){return t.toISOString()}var MF=new Dr("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:QV,construct:ez,instanceOf:Date,represent:tz});function rz(t){return t==="<<"||t===null}var DF=new Dr("tag:yaml.org,2002:merge",{kind:"scalar",resolve:rz}),P_=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
8\r`;function nz(t){if(t===null)return!1;var e,r,n=0,s=t.length,i=P_;for(r=0;r<s;r++)if(e=i.indexOf(t.charAt(r)),!(e>64)){if(e<0)return!1;n+=6}return n%8===0}function sz(t){var e,r,n=t.replace(/[\r\n=]/g,""),s=n.length,i=P_,a=0,o=[];for(e=0;e<s;e++)e%4===0&&e&&(o.push(a>>16&255),o.push(a>>8&255),o.push(a&255)),a=a<<6|i.indexOf(n.charAt(e));return r=s%4*6,r===0?(o.push(a>>16&255),o.push(a>>8&255),o.push(a&255)):r===18?(o.push(a>>10&255),o.push(a>>2&255)):r===12&&o.push(a>>4&255),new Uint8Array(o)}function iz(t){var e="",r=0,n,s,i=t.length,a=P_;for(n=0;n<i;n++)n%3===0&&n&&(e+=a[r>>18&63],e+=a[r>>12&63],e+=a[r>>6&63],e+=a[r&63]),r=(r<<8)+t[n];return s=i%3,s===0?(e+=a[r>>18&63],e+=a[r>>12&63],e+=a[r>>6&63],e+=a[r&63]):s===2?(e+=a[r>>10&63],e+=a[r>>4&63],e+=a[r<<2&63],e+=a[64]):s===1&&(e+=a[r>>2&63],e+=a[r<<4&63],e+=a[64],e+=a[64]),e}function az(t){return Object.prototype.toString.call(t)==="[object Uint8Array]"}var FF=new Dr("tag:yaml.org,2002:binary",{kind:"scalar",resolve:nz,construct:sz,predicate:az,represent:iz}),oz=Object.prototype.hasOwnProperty,uz=Object.prototype.toString;function lz(t){if(t===null)return!0;var e=[],r,n,s,i,a,o=t;for(r=0,n=o.length;r<n;r+=1){if(s=o[r],a=!1,uz.call(s)!=="[object Object]")return!1;for(i in s)if(oz.call(s,i))if(!a)a=!0;else return!1;if(!a)return!1;if(e.indexOf(i)===-1)e.push(i);else return!1}return!0}function cz(t){return t!==null?t:[]}var qF=new Dr("tag:yaml.org,2002:omap",{kind:"sequence",resolve:lz,construct:cz}),fz=Object.prototype.toString;function pz(t){if(t===null)return!0;var e,r,n,s,i,a=t;for(i=new Array(a.length),e=0,r=a.length;e<r;e+=1){if(n=a[e],fz.call(n)!=="[object Object]"||(s=Object.keys(n),s.length!==1))return!1;i[e]=[s[0],n[s[0]]]}return!0}function dz(t){if(t===null)return[];var e,r,n,s,i,a=t;for(i=new Array(a.length),e=0,r=a.length;e<r;e+=1)n=a[e],s=Object.keys(n),i[e]=[s[0],n[s[0]]];return i}var BF=new Dr("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:pz,construct:dz}),hz=Object.prototype.hasOwnProperty;function mz(t){if(t===null)return!0;var e,r=t;for(e in r)if(hz.call(r,e)&&r[e]!==null)return!1;return!0}function gz(t){return t!==null?t:{}}var LF=new Dr("tag:yaml.org,2002:set",{kind:"mapping",resolve:mz,construct:gz}),j_=PF.extend({implicit:[MF,DF],explicit:[FF,qF,BF,LF]}),wi=Object.prototype.hasOwnProperty,Nc=1,$F=2,UF=3,Mc=4,jy=1,yz=2,lT=3,vz=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,bz=/[\x85\u2028\u2029]/,Ez=/[,\[\]\{\}]/,VF=/^(?:!|!!|![a-z\-]+!)$/i,zF=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function cT(t){return Object.prototype.toString.call(t)}function ws(t){return t===10||t===13}function Hi(t){return t===9||t===32}function nn(t){return t===9||t===32||t===10||t===13}function ja(t){return t===44||t===91||t===93||t===123||t===125}function Sz(t){var e;return 48<=t&&t<=57?t-48:(e=t|32,97<=e&&e<=102?e-97+10:-1)}function _z(t){return t===120?2:t===117?4:t===85?8:0}function wz(t){return 48<=t&&t<=57?t-48:-1}function fT(t){return t===48?"\0":t===97?"\x07":t===98?"\b":t===116||t===9?"	":t===110?`
9`:t===118?"\v":t===102?"\f":t===114?"\r":t===101?"\x1B":t===32?" ":t===34?'"':t===47?"/":t===92?"\\":t===78?"…":t===95?" ":t===76?"\u2028":t===80?"\u2029":""}function xz(t){return t<=65535?String.fromCharCode(t):String.fromCharCode((t-65536>>10)+55296,(t-65536&1023)+56320)}function WF(t,e,r){e==="__proto__"?Object.defineProperty(t,e,{configurable:!0,enumerable:!0,writable:!0,value:r}):t[e]=r}var JF=new Array(256),HF=new Array(256);for(var wa=0;wa<256;wa++)JF[wa]=fT(wa)?1:0,HF[wa]=fT(wa);function Az(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||j_,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.impl
vendor: 10,450 bytes, lines 9-16
9icitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function KF(t,e){var r={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return r.snippet=IV(r),new Yr(e,r)}function st(t,e){throw KF(t,e)}function Dc(t,e){t.onWarning&&t.onWarning.call(null,KF(t,e))}var pT={YAML:function(e,r,n){var s,i,a;e.version!==null&&st(e,"duplication of %YAML directive"),n.length!==1&&st(e,"YAML directive accepts exactly one argument"),s=/^([0-9]+)\.([0-9]+)$/.exec(n[0]),s===null&&st(e,"ill-formed argument of the YAML directive"),i=parseInt(s[1],10),a=parseInt(s[2],10),i!==1&&st(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,a!==1&&a!==2&&Dc(e,"unsupported YAML version of the document")},TAG:function(e,r,n){var s,i;n.length!==2&&st(e,"TAG directive accepts exactly two arguments"),s=n[0],i=n[1],VF.test(s)||st(e,"ill-formed tag handle (first argument) of the TAG directive"),wi.call(e.tagMap,s)&&st(e,'there is a previously declared suffix for "'+s+'" tag handle'),zF.test(i)||st(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch{st(e,"tag prefix is malformed: "+i)}e.tagMap[s]=i}};function Si(t,e,r,n){var s,i,a,o;if(e<r){if(o=t.input.slice(e,r),n)for(s=0,i=o.length;s<i;s+=1)a=o.charCodeAt(s),a===9||32<=a&&a<=1114111||st(t,"expected valid JSON character");else vz.test(o)&&st(t,"the stream contains non-printable characters");t.result+=o}}function dT(t,e,r,n){var s,i,a,o;for(wr.isObject(r)||st(t,"cannot merge mappings; the provided source object is unacceptable"),s=Object.keys(r),a=0,o=s.length;a<o;a+=1)i=s[a],wi.call(e,i)||(WF(e,i,r[i]),n[i]=!0)}function Na(t,e,r,n,s,i,a,o,u){var l,c;if(Array.isArray(s))for(s=Array.prototype.slice.call(s),l=0,c=s.length;l<c;l+=1)Array.isArray(s[l])&&st(t,"nested arrays are not supported inside keys"),typeof s=="object"&&cT(s[l])==="[object Object]"&&(s[l]="[object Object]");if(typeof s=="object"&&cT(s)==="[object Object]"&&(s="[object Object]"),s=String(s),e===null&&(e={}),n==="tag:yaml.org,2002:merge")if(Array.isArray(i))for(l=0,c=i.length;l<c;l+=1)dT(t,e,i[l],r);else dT(t,e,i,r);else!t.json&&!wi.call(r,s)&&wi.call(e,s)&&(t.line=a||t.line,t.lineStart=o||t.lineStart,t.position=u||t.position,st(t,"duplicated mapping key")),WF(e,s,i),delete r[s];return e}function N_(t){var e;e=t.input.charCodeAt(t.position),e===10?t.position++:e===13?(t.position++,t.input.charCodeAt(t.position)===10&&t.position++):st(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function gr(t,e,r){for(var n=0,s=t.input.charCodeAt(t.position);s!==0;){for(;Hi(s);)s===9&&t.firstTabInLine===-1&&(t.firstTabInLine=t.position),s=t.input.charCodeAt(++t.position);if(e&&s===35)do s=t.input.charCodeAt(++t.position);while(s!==10&&s!==13&&s!==0);if(ws(s))for(N_(t),s=t.input.charCodeAt(t.position),n++,t.lineIndent=0;s===32;)t.lineIndent++,s=t.input.charCodeAt(++t.position);else break}return r!==-1&&n!==0&&t.lineIndent<r&&Dc(t,"deficient indentation"),n}function Ef(t){var e=t.position,r;return r=t.input.charCodeAt(e),!!((r===45||r===46)&&r===t.input.charCodeAt(e+1)&&r===t.input.charCodeAt(e+2)&&(e+=3,r=t.input.charCodeAt(e),r===0||nn(r)))}function M_(t,e){e===1?t.result+=" ":e>1&&(t.result+=wr.repeat(`
10`,e-1))}function Oz(t,e,r){var n,s,i,a,o,u,l,c,p=t.kind,m=t.result,d;if(d=t.input.charCodeAt(t.position),nn(d)||ja(d)||d===35||d===38||d===42||d===33||d===124||d===62||d===39||d===34||d===37||d===64||d===96||(d===63||d===45)&&(s=t.input.charCodeAt(t.position+1),nn(s)||r&&ja(s)))return!1;for(t.kind="scalar",t.result="",i=a=t.position,o=!1;d!==0;){if(d===58){if(s=t.input.charCodeAt(t.position+1),nn(s)||r&&ja(s))break}else if(d===35){if(n=t.input.charCodeAt(t.position-1),nn(n))break}else{if(t.position===t.lineStart&&Ef(t)||r&&ja(d))break;if(ws(d))if(u=t.line,l=t.lineStart,c=t.lineIndent,gr(t,!1,-1),t.lineIndent>=e){o=!0,d=t.input.charCodeAt(t.position);continue}else{t.position=a,t.line=u,t.lineStart=l,t.lineIndent=c;break}}o&&(Si(t,i,a,!1),M_(t,t.line-u),i=a=t.position,o=!1),Hi(d)||(a=t.position+1),d=t.input.charCodeAt(++t.position)}return Si(t,i,a,!1),t.result?!0:(t.kind=p,t.result=m,!1)}function Cz(t,e){var r,n,s;if(r=t.input.charCodeAt(t.position),r!==39)return!1;for(t.kind="scalar",t.result="",t.position++,n=s=t.position;(r=t.input.charCodeAt(t.position))!==0;)if(r===39)if(Si(t,n,t.position,!0),r=t.input.charCodeAt(++t.position),r===39)n=t.position,t.position++,s=t.position;else return!0;else ws(r)?(Si(t,n,s,!0),M_(t,gr(t,!1,e)),n=s=t.position):t.position===t.lineStart&&Ef(t)?st(t,"unexpected end of the document within a single quoted scalar"):(t.position++,s=t.position);st(t,"unexpected end of the stream within a single quoted scalar")}function Rz(t,e){var r,n,s,i,a,o;if(o=t.input.charCodeAt(t.position),o!==34)return!1;for(t.kind="scalar",t.result="",t.position++,r=n=t.position;(o=t.input.charCodeAt(t.position))!==0;){if(o===34)return Si(t,r,t.position,!0),t.position++,!0;if(o===92){if(Si(t,r,t.position,!0),o=t.input.charCodeAt(++t.position),ws(o))gr(t,!1,e);else if(o<256&&JF[o])t.result+=HF[o],t.position++;else if((a=_z(o))>0){for(s=a,i=0;s>0;s--)o=t.input.charCodeAt(++t.position),(a=Sz(o))>=0?i=(i<<4)+a:st(t,"expected hexadecimal character");t.result+=xz(i),t.position++}else st(t,"unknown escape sequence");r=n=t.position}else ws(o)?(Si(t,r,n,!0),M_(t,gr(t,!1,e)),r=n=t.position):t.position===t.lineStart&&Ef(t)?st(t,"unexpected end of the document within a double quoted scalar"):(t.position++,n=t.position)}st(t,"unexpected end of the stream within a double quoted scalar")}function Iz(t,e){var r=!0,n,s,i,a=t.tag,o,u=t.anchor,l,c,p,m,d,g=Object.create(null),y,v,E,b;if(b=t.input.charCodeAt(t.position),b===91)c=93,d=!1,o=[];else if(b===123)c=125,d=!0,o={};else return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=o),b=t.input.charCodeAt(++t.position);b!==0;){if(gr(t,!0,e),b=t.input.charCodeAt(t.position),b===c)return t.position++,t.tag=a,t.anchor=u,t.kind=d?"mapping":"sequence",t.result=o,!0;r?b===44&&st(t,"expected the node content, but found ','"):st(t,"missed comma between flow collection entries"),v=y=E=null,p=m=!1,b===63&&(l=t.input.charCodeAt(t.position+1),nn(l)&&(p=m=!0,t.position++,gr(t,!0,e))),n=t.line,s=t.lineStart,i=t.position,Va(t,e,Nc,!1,!0),v=t.tag,y=t.result,gr(t,!0,e),b=t.input.charCodeAt(t.position),(m||t.line===n)&&b===58&&(p=!0,b=t.input.charCodeAt(++t.position),gr(t,!0,e),Va(t,e,Nc,!1,!0),E=t.result),d?Na(t,o,g,v,y,E,n,s,i):p?o.push(Na(t,null,g,v,y,E,n,s,i)):o.push(y),gr(t,!0,e),b=t.input.charCodeAt(t.position),b===44?(r=!0,b=t.input.charCodeAt(++t.position)):r=!1}st(t,"unexpected end of the stream within a flow collection")}function Tz(t,e){var r,n,s=jy,i=!1,a=!1,o=e,u=0,l=!1,c,p;if(p=t.input.charCodeAt(t.position),p===124)n=!1;else if(p===62)n=!0;else return!1;for(t.kind="scalar",t.result="";p!==0;)if(p=t.input.charCodeAt(++t.position),p===43||p===45)jy===s?s=p===43?lT:yz:st(t,"repeat of a chomping mode identifier");else if((c=wz(p))>=0)c===0?st(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):a?st(t,"repeat of an indentation width identifier"):(o=e+c-1,a=!0);else break;if(Hi(p)){do p=t.input.charCodeAt(++t.position);while(Hi(p));if(p===35)do p=t.input.charCodeAt(++t.position);while(!ws(p)&&p!==0)}for(;p!==0;){for(N_(t),t.lineIndent=0,p=t.input.charCodeAt(t.position);(!a||t.lineIndent<o)&&p===32;)t.lineIndent++,p=t.input.charCodeAt(++t.position);if(!a&&t.lineIndent>o&&(o=t.lineIndent),ws(p)){u++;continue}if(t.lineIndent<o){s===lT?t.result+=wr.repeat(`
11`,i?1+u:u):s===jy&&i&&(t.result+=`
12`);break}for(n?Hi(p)?(l=!0,t.result+=wr.repeat(`
13`,i?1+u:u)):l?(l=!1,t.result+=wr.repeat(`
14`,u+1)):u===0?i&&(t.result+=" "):t.result+=wr.repeat(`
15`,u):t.result+=wr.repeat(`
16`,i?1+u:u),i=!0,a=!0,u=0,r=t.position;!ws(p)&&p!==0;)p=t.input.charCodeAt(++t.position);Si(t,r,t.position,!1)}return!0}function hT(t,e){var r,n=t.tag,s=t.anchor,i=[],a,o=!1,u;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=i),u=t.input.charCodeAt(t.position);u!==0&&(t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,st(t,"tab characters must not be used in indentation")),!(u!==45||(a=t.input.charCodeAt(t.position+1),!nn(a))));){if(o=!0,t.position++,gr(t,!0,-1)&&t.lineIndent<=e){i.push(null),u=t.input.charCodeAt(t.position);continue}if(r=t.line,Va(t,e,UF,!1,!0),i.push(t.result),gr(t,!0,-1),u=t.input.charCodeAt(t.position),(t.line===r||t.lineIndent>e)&&u!==0)st(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break}return o?(t.tag=n,t.anchor=s,t.kind="sequence",t.result=i,!0):!1}function kz(t,e,r){var n,s,i,a,o,u,l=t.tag,c=t.anchor,p={},m=Object.create(null),d=null,g=null,y=null,v=!1,E=!1,b;if(t.firstTabInLine!==-1)return!1;for(t.anchor!==null&&(t.anchorMap[t.anchor]=p),b=t.input.charCodeAt(t.position);b!==0;){if(!v&&t.firstTabInLine!==-1&&(t.position=t.firstTabInLine,st(t,"tab characters must not be used in indentation")),n=t.input.charCodeAt(t.position+1),i=t.line,(b===63||b===58)&&nn(n))b===63?(v&&(Na(t,p,m,d,g,null,a,o,u),d=g=y=null),E=!0,v=!0,s=!0):v?(v=!1,s=!0):st(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,b=n;else{if(a=t.line,o=t.lineStart,u=t.position,!Va(t,r,$F,!1,!0))break;if(t.line===i){for(b=t.input.charCodeAt(t.position);Hi(b);)b=t.input.charCodeAt(++t.position);if(b===58)b=t.input.charCodeAt(++t.position),nn(b)||st(t,"a whitespace character is expected after the key-value separator within a block mapping"),v&&(Na(t,p,m,d,g,null,a,o,u),d=g=y=null),E=!0,v=!1,s=!1,d=t.tag,g=t.result;else if(E)st(t,"can not read an implicit mapping pair; a colon is missed");else return t.tag=l,t.anchor=c,!0}else if(E)st(t,"can not read a block mapping entry; a multiline key may not be an implicit key");else return t.tag=l,t.anchor=c,!0}if((t.line===i||t.lineIndent>e)&&(v&&(a=t.line,o=t.lineStart,u=t.position),Va(t,e,Mc,!0,s)&&(v?g=t.result:y=t.result),v||(Na(t,p,m,d,g,y,a,o,u),d=g=y=null),gr(t,!0,-1),b=t.input.charCodeAt(t.position)),(t.line===i||t.lineIndent>e)&&b!==0)st(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return v&&Na(t,p,m,d,g,null,a,o,u),E&&(t.tag=l,t.anchor=c,t.kind="mapping",t.result=p),E}function Pz(t){var e,r=!1,n=!1,s,i,a;
vendor: 11,938 bytes, lines 16-31
16if(a=t.input.charCodeAt(t.position),a!==33)return!1;if(t.tag!==null&&st(t,"duplication of a tag property"),a=t.input.charCodeAt(++t.position),a===60?(r=!0,a=t.input.charCodeAt(++t.position)):a===33?(n=!0,s="!!",a=t.input.charCodeAt(++t.position)):s="!",e=t.position,r){do a=t.input.charCodeAt(++t.position);while(a!==0&&a!==62);t.position<t.length?(i=t.input.slice(e,t.position),a=t.input.charCodeAt(++t.position)):st(t,"unexpected end of the stream within a verbatim tag")}else{for(;a!==0&&!nn(a);)a===33&&(n?st(t,"tag suffix cannot contain exclamation marks"):(s=t.input.slice(e-1,t.position+1),VF.test(s)||st(t,"named tag handle cannot contain such characters"),n=!0,e=t.position+1)),a=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),Ez.test(i)&&st(t,"tag suffix cannot contain flow indicator characters")}i&&!zF.test(i)&&st(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch{st(t,"tag name is malformed: "+i)}return r?t.tag=i:wi.call(t.tagMap,s)?t.tag=t.tagMap[s]+i:s==="!"?t.tag="!"+i:s==="!!"?t.tag="tag:yaml.org,2002:"+i:st(t,'undeclared tag handle "'+s+'"'),!0}function jz(t){var e,r;if(r=t.input.charCodeAt(t.position),r!==38)return!1;for(t.anchor!==null&&st(t,"duplication of an anchor property"),r=t.input.charCodeAt(++t.position),e=t.position;r!==0&&!nn(r)&&!ja(r);)r=t.input.charCodeAt(++t.position);return t.position===e&&st(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function Nz(t){var e,r,n;if(n=t.input.charCodeAt(t.position),n!==42)return!1;for(n=t.input.charCodeAt(++t.position),e=t.position;n!==0&&!nn(n)&&!ja(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&st(t,"name of an alias node must contain at least one character"),r=t.input.slice(e,t.position),wi.call(t.anchorMap,r)||st(t,'unidentified alias "'+r+'"'),t.result=t.anchorMap[r],gr(t,!0,-1),!0}function Va(t,e,r,n,s){var i,a,o,u=1,l=!1,c=!1,p,m,d,g,y,v;if(t.listener!==null&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,i=a=o=Mc===r||UF===r,n&&gr(t,!0,-1)&&(l=!0,t.lineIndent>e?u=1:t.lineIndent===e?u=0:t.lineIndent<e&&(u=-1)),u===1)for(;Pz(t)||jz(t);)gr(t,!0,-1)?(l=!0,o=i,t.lineIndent>e?u=1:t.lineIndent===e?u=0:t.lineIndent<e&&(u=-1)):o=!1;if(o&&(o=l||s),(u===1||Mc===r)&&(Nc===r||$F===r?y=e:y=e+1,v=t.position-t.lineStart,u===1?o&&(hT(t,v)||kz(t,v,y))||Iz(t,y)?c=!0:(a&&Tz(t,y)||Cz(t,y)||Rz(t,y)?c=!0:Nz(t)?(c=!0,(t.tag!==null||t.anchor!==null)&&st(t,"alias node should not have any properties")):Oz(t,y,Nc===r)&&(c=!0,t.tag===null&&(t.tag="?")),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):u===0&&(c=o&&hT(t,v))),t.tag===null)t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);else if(t.tag==="?"){for(t.result!==null&&t.kind!=="scalar"&&st(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),p=0,m=t.implicitTypes.length;p<m;p+=1)if(g=t.implicitTypes[p],g.resolve(t.result)){t.result=g.construct(t.result),t.tag=g.tag,t.anchor!==null&&(t.anchorMap[t.anchor]=t.result);break}}else if(t.tag!=="!"){if(wi.call(t.typeMap[t.kind||"fallback"],t.tag))g=t.typeMap[t.kind||"fallback"][t.tag];else for(g=null,d=t.typeMap.multi[t.kind||"fallback"],p=0,m=d.length;p<m;p+=1)if(t.tag.slice(0,d[p].tag.length)===d[p].tag){g=d[p];break}g||st(t,"unknown tag !<"+t.tag+">"),t.result!==null&&g.kind!==t.kind&&st(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+g.kind+'", not "'+t.kind+'"'),g.resolve(t.result,t.tag)?(t.result=g.construct(t.result,t.tag),t.anchor!==null&&(t.anchorMap[t.anchor]=t.result)):st(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return t.listener!==null&&t.listener("close",t),t.tag!==null||t.anchor!==null||c}function Mz(t){var e=t.position,r,n,s,i=!1,a;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);(a=t.input.charCodeAt(t.position))!==0&&(gr(t,!0,-1),a=t.input.charCodeAt(t.position),!(t.lineIndent>0||a!==37));){for(i=!0,a=t.input.charCodeAt(++t.position),r=t.position;a!==0&&!nn(a);)a=t.input.charCodeAt(++t.position);for(n=t.input.slice(r,t.position),s=[],n.length<1&&st(t,"directive name must not be less than one character in length");a!==0;){for(;Hi(a);)a=t.input.charCodeAt(++t.position);if(a===35){do a=t.input.charCodeAt(++t.position);while(a!==0&&!ws(a));break}if(ws(a))break;for(r=t.position;a!==0&&!nn(a);)a=t.input.charCodeAt(++t.position);s.push(t.input.slice(r,t.position))}a!==0&&N_(t),wi.call(pT,n)?pT[n](t,n,s):Dc(t,'unknown document directive "'+n+'"')}if(gr(t,!0,-1),t.lineIndent===0&&t.input.charCodeAt(t.position)===45&&t.input.charCodeAt(t.position+1)===45&&t.input.charCodeAt(t.position+2)===45?(t.position+=3,gr(t,!0,-1)):i&&st(t,"directives end mark is expected"),Va(t,t.lineIndent-1,Mc,!1,!0),gr(t,!0,-1),t.checkLineBreaks&&bz.test(t.input.slice(e,t.position))&&Dc(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Ef(t)){t.input.charCodeAt(t.position)===46&&(t.position+=3,gr(t,!0,-1));return}if(t.position<t.length-1)st(t,"end of the stream or a document separator is expected");else return}function GF(t,e){t=String(t),e=e||{},t.length!==0&&(t.charCodeAt(t.length-1)!==10&&t.charCodeAt(t.length-1)!==13&&(t+=`
17`),t.charCodeAt(0)===65279&&(t=t.slice(1)));var r=new Az(t,e),n=t.indexOf("\0");for(n!==-1&&(r.position=n,st(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;)Mz(r);return r.documents}function Dz(t,e,r){e!==null&&typeof e=="object"&&typeof r>"u"&&(r=e,e=null);var n=GF(t,r);if(typeof e!="function")return n;for(var s=0,i=n.length;s<i;s+=1)e(n[s])}function Fz(t,e){var r=GF(t,e);if(r.length!==0){if(r.length===1)return r[0];throw new Yr("expected a single document in the stream, but found more")}}var qz=Dz,Bz=Fz,YF={loadAll:qz,load:Bz},XF=Object.prototype.toString,ZF=Object.prototype.hasOwnProperty,D_=65279,Lz=9,Qo=10,$z=13,Uz=32,Vz=33,zz=34,$S=35,Wz=37,Jz=38,Hz=39,Kz=42,QF=44,Gz=45,Fc=58,Yz=61,Xz=62,Zz=63,Qz=64,eq=91,tq=93,eW=96,rq=123,tW=124,nq=125,$r={};$r[0]="\\0";$r[7]="\\a";$r[8]="\\b";$r[9]="\\t";$r[10]="\\n";$r[11]="\\v";$r[12]="\\f";$r[13]="\\r";$r[27]="\\e";$r[34]='\\"';$r[92]="\\\\";$r[133]="\\N";$r[160]="\\_";$r[8232]="\\L";$r[8233]="\\P";var rW=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],nW=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function sW(t,e){var r,n,s,i,a,o,u;if(e===null)return{};for(r={},n=Object.keys(e),s=0,i=n.length;s<i;s+=1)a=n[s],o=String(e[a]),a.slice(0,2)==="!!"&&(a="tag:yaml.org,2002:"+a.slice(2)),u=t.compiledTypeMap.fallback[a],u&&ZF.call(u.styleAliases,o)&&(o=u.styleAliases[o]),r[a]=o;return r}function iW(t){var e,r,n;if(e=t.toString(16).toUpperCase(),t<=255)r="x",n=2;else if(t<=65535)r="u",n=4;else if(t<=4294967295)r="U",n=8;else throw new Yr("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+r+wr.repeat("0",n-e.length)+e}var aW=1,eu=2;function oW(t){this.schema=t.schema||j_,this.indent=Math.max(1,t.indent||2),this.noArrayIndent=t.noArrayIndent||!1,this.skipInvalid=t.skipInvalid||!1,this.flowLevel=wr.isNothing(t.flowLevel)?-1:t.flowLevel,this.styleMap=sW(this.schema,t.styles||null),this.sortKeys=t.sortKeys||!1,this.lineWidth=t.lineWidth||80,this.noRefs=t.noRefs||!1,this.noCompatMode=t.noCompatMode||!1,this.condenseFlow=t.condenseFlow||!1,this.quotingType=t.quotingType==='"'?eu:aW,this.forceQuotes=t.forceQuotes||!1,this.replacer=typeof t.replacer=="function"?t.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function mT(t,e){for(var r=wr.repeat(" ",e),n=0,s=-1,i="",a,o=t.length;n<o;)s=t.indexOf(`
18`,n),s===-1?(a=t.slice(n),n=o):(a=t.slice(n,s+1),n=s+1),a.length&&a!==`
19`&&(i+=r),i+=a;return i}function US(t,e){return`
20`+wr.repeat(" ",t.indent*e)}function uW(t,e){var r,n,s;for(r=0,n=t.implicitTypes.length;r<n;r+=1)if(s=t.implicitTypes[r],s.resolve(e))return!0;return!1}function qc(t){return t===Uz||t===Lz}function tu(t){return 32<=t&&t<=126||161<=t&&t<=55295&&t!==8232&&t!==8233||57344<=t&&t<=65533&&t!==D_||65536<=t&&t<=1114111}function gT(t){return tu(t)&&t!==D_&&t!==$z&&t!==Qo}function yT(t,e,r){var n=gT(t),s=n&&!qc(t);return(r?n:n&&t!==QF&&t!==eq&&t!==tq&&t!==rq&&t!==nq)&&t!==$S&&!(e===Fc&&!s)||gT(e)&&!qc(e)&&t===$S||e===Fc&&s}function lW(t){return tu(t)&&t!==D_&&!qc(t)&&t!==Gz&&t!==Zz&&t!==Fc&&t!==QF&&t!==eq&&t!==tq&&t!==rq&&t!==nq&&t!==$S&&t!==Jz&&t!==Kz&&t!==Vz&&t!==tW&&t!==Yz&&t!==Xz&&t!==Hz&&t!==zz&&t!==Wz&&t!==Qz&&t!==eW}function cW(t){return!qc(t)&&t!==Fc}function Bo(t,e){var r=t.charCodeAt(e),n;return r>=55296&&r<=56319&&e+1<t.length&&(n=t.charCodeAt(e+1),n>=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function sq(t){var e=/^\n* /;return e.test(t)}var iq=1,VS=2,aq=3,oq=4,Ta=5;function fW(t,e,r,n,s,i,a,o){var u,l=0,c=null,p=!1,m=!1,d=n!==-1,g=-1,y=lW(Bo(t,0))&&cW(Bo(t,t.length-1));if(e||a)for(u=0;u<t.length;l>=65536?u+=2:u++){if(l=Bo(t,u),!tu(l))return Ta;y=y&&yT(l,c,o),c=l}else{for(u=0;u<t.length;l>=65536?u+=2:u++){if(l=Bo(t,u),l===Qo)p=!0,d&&(m=m||u-g-1>n&&t[g+1]!==" ",g=u);else if(!tu(l))return Ta;y=y&&yT(l,c,o),c=l}m=m||d&&u-g-1>n&&t[g+1]!==" "}return!p&&!m?y&&!a&&!s(t)?iq:i===eu?Ta:VS:r>9&&sq(t)?Ta:a?i===eu?Ta:VS:m?oq:aq}function pW(t,e,r,n,s){t.dump=(function(){if(e.length===0)return t.quotingType===eu?'""':"''";if(!t.noCompatMode&&(rW.indexOf(e)!==-1||nW.test(e)))return t.quotingType===eu?'"'+e+'"':"'"+e+"'";var i=t.indent*Math.max(1,r),a=t.lineWidth===-1?-1:Math.max(Math.min(t.lineWidth,40),t.lineWidth-i),o=n||t.flowLevel>-1&&r>=t.flowLevel;function u(l){return uW(t,l)}switch(fW(e,o,t.indent,a,u,t.quotingType,t.forceQuotes&&!n,s)){case iq:return e;case VS:return"'"+e.replace(/'/g,"''")+"'";case aq:return"|"+vT(e,t.indent)+bT(mT(e,i));case oq:return">"+vT(e,t.indent)+bT(mT(dW(e,a),i));case Ta:return'"'+hW(e)+'"';default:throw new Yr("impossible error: invalid scalar style")}})()}function vT(t,e){var r=sq(t)?String(e):"",n=t[t.length-1]===`
21`,s=n&&(t[t.length-2]===`
22`||t===`
23`),i=s?"+":n?"":"-";return r+i+`
24`}function bT(t){return t[t.length-1]===`
25`?t.slice(0,-1):t}function dW(t,e){for(var r=/(\n+)([^\n]*)/g,n=(function(){var l=t.indexOf(`
26`);return l=l!==-1?l:t.length,r.lastIndex=l,ET(t.slice(0,l),e)})(),s=t[0]===`
27`||t[0]===" ",i,a;a=r.exec(t);){var o=a[1],u=a[2];i=u[0]===" ",n+=o+(!s&&!i&&u!==""?`
28`:"")+ET(u,e),s=i}return n}function ET(t,e){if(t===""||t[0]===" ")return t;for(var r=/ [^ ]/g,n,s=0,i,a=0,o=0,u="";n=r.exec(t);)o=n.index,o-s>e&&(i=a>s?a:o,u+=`
29`+t.slice(s,i),s=i+1),a=o;return u+=`
30`,t.length-s>e&&a>s?u+=t.slice(s,a)+`
31`+t.slice(a+1):u+=t.slice(s),u.slice(1)}function hW(t){for(var e="",r=0,n,s=0;s<t.length;r>=65536?s+=2:s++)r=Bo(t,s),n=$r[r],!n&&tu(r)?(e+=t[s],r>=65536&&(e+=t[s+1])):e+=n||iW(r);return e}function mW(t,e,r){var n="",s=t.tag,i,a,o;for(i=0,a=r.length;i<a;i+=1)o=r[i],t.replacer&&(o=t.replacer.call(r,String(i),o)),(Js(t,e,o,!1,!1)||typeof o>"u"&&Js(t,e,null,!1,!1))&&(n!==""&&(n+=","+(t.condenseFlow?"":" ")),n+=t.dump);t.tag=s,t.dump="["+n+"]"}function ST(t,e,r,n){var s="",i=t.tag,a,o,u;for(a=0,o=r.length;a<o;a+=1)u=r[a],t.replacer&&(u=t.replacer.call(r,String(a),u)),(Js(t,e+1,u,!0,!0,!1,!0)||typeof u>"u"&&Js(t,e+1,null,!0,!0,!1,!0))&&((!n||s!=="")&&(s+=US(t,e)),t.dump&&Qo===t.dump.charCodeAt(0)?s+="-":s+="- ",s+=t.dump);t.tag=i,t.dump=s||"[]"}function gW(t,e,r){var n="",s=t.tag,i=Object.keys(r),a,o,u,l,c;for(a=0,o=i.length;a<o;a+=1)c="",n!==""&&(c+=", "),t.condenseFlow&&(c+='"'),u=i[a],l=r[u],t.replacer&&(l=t.replacer.call(r,u,l)),Js(t,e,u,!1,!1)&&(t.dump.length>1024&&(c+="? "),c+=t.dump+(t.condenseFlow?'"':"")+":"+(t.condenseFlow?"":" "),Js(t,e,l,!1,!1)&&(c+=t.dump,n+=c));t.tag=s,t.dump="{"+n+"}"}function yW(t,e,r,n){var s="",i=t.tag,a=Object.keys(r),o,u,l,c,p,m;if(t.sortKeys===!0)a.sort();
vendor: 2,197 bytes, line 31
31else if(typeof t.sortKeys=="function")a.sort(t.sortKeys);else if(t.sortKeys)throw new Yr("sortKeys must be a boolean or a function");for(o=0,u=a.length;o<u;o+=1)m="",(!n||s!=="")&&(m+=US(t,e)),l=a[o],c=r[l],t.replacer&&(c=t.replacer.call(r,l,c)),Js(t,e+1,l,!0,!0,!0)&&(p=t.tag!==null&&t.tag!=="?"||t.dump&&t.dump.length>1024,p&&(t.dump&&Qo===t.dump.charCodeAt(0)?m+="?":m+="? "),m+=t.dump,p&&(m+=US(t,e)),Js(t,e+1,c,!0,p)&&(t.dump&&Qo===t.dump.charCodeAt(0)?m+=":":m+=": ",m+=t.dump,s+=m));t.tag=i,t.dump=s||"{}"}function _T(t,e,r){var n,s,i,a,o,u;for(s=r?t.explicitTypes:t.implicitTypes,i=0,a=s.length;i<a;i+=1)if(o=s[i],(o.instanceOf||o.predicate)&&(!o.instanceOf||typeof e=="object"&&e instanceof o.instanceOf)&&(!o.predicate||o.predicate(e))){if(r?o.multi&&o.representName?t.tag=o.representName(e):t.tag=o.tag:t.tag="?",o.represent){if(u=t.styleMap[o.tag]||o.defaultStyle,XF.call(o.represent)==="[object Function]")n=o.represent(e,u);else if(ZF.call(o.represent,u))n=o.represent[u](e,u);else throw new Yr("!<"+o.tag+'> tag resolver accepts not "'+u+'" style');t.dump=n}return!0}return!1}function Js(t,e,r,n,s,i,a){t.tag=null,t.dump=r,_T(t,r,!1)||_T(t,r,!0);var o=XF.call(t.dump),u=n,l;n&&(n=t.flowLevel<0||t.flowLevel>e);var c=o==="[object Object]"||o==="[object Array]",p,m;if(c&&(p=t.duplicates.indexOf(r),m=p!==-1),(t.tag!==null&&t.tag!=="?"||m||t.indent!==2&&e>0)&&(s=!1),m&&t.usedDuplicates[p])t.dump="*ref_"+p;else{if(c&&m&&!t.usedDuplicates[p]&&(t.usedDuplicates[p]=!0),o==="[object Object]")n&&Object.keys(t.dump).length!==0?(yW(t,e,t.dump,s),m&&(t.dump="&ref_"+p+t.dump)):(gW(t,e,t.dump),m&&(t.dump="&ref_"+p+" "+t.dump));else if(o==="[object Array]")n&&t.dump.length!==0?(t.noArrayIndent&&!a&&e>0?ST(t,e-1,t.dump,s):ST(t,e,t.dump,s),m&&(t.dump="&ref_"+p+t.dump)):(mW(t,e,t.dump),m&&(t.dump="&ref_"+p+" "+t.dump));else if(o==="[object String]")t.tag!=="?"&&pW(t,t.dump,e,i,u);else{if(o==="[object Undefined]")return!1;if(t.skipInvalid)return!1;throw new Yr("unacceptable kind of an object to dump "+o)}t.tag!==null&&t.tag!=="?"&&(l=encodeURI(t.tag[0]==="!"?t.tag.slice(1):t.tag).replace(/!/g,"%21"),t.tag[0]==="!"?l="!"+l:l.slice(0,18)==="tag:yaml.org,2002:"?l="!!"+l.slice(18):l="!<"
31+l+">",t.dump=l+" "+t.dump)}return!0}function vW(t,e){var r=[],n=[],s,i;for(zS(t,r,n),s=0,i=n.length;s<i;s+=1)e.duplicates.push(r[n[s]]);e.usedDuplicates=new Array(i)}function zS(t,e,r){var n,s,i;if(t!==null&&typeof t=="object")if(s=e.indexOf(t),s!==-1)r.indexOf(s)===-1&&r.push(s);else if(e.push(t),Array.isArray(t))for(s=0,i=t.length;s<i;s+=1)zS(t[s],e,r);else for(n=Object.keys(t),s=0,i=n.length;s<i;s+=1)zS(t[n[s]],e,r)}function bW(t,e){e=e||{};var r=new oW(e);r.noRefs||vW(t,r);var n=t;return r.replacer&&(n=r.replacer.call({"":n},"",n)),Js(r,0,n,!0,!0)?r.dump+`
32`:""}var EW=bW,SW={dump:EW};function F_(t,e){return function(){throw new Error("Function yaml."+t+" is removed in js-yaml 4. Use yaml."+e+" instead, which is now safe by default.")}}var _W=Dr,wW=_F,xW=OF,ru=kF,AW=PF,OW=j_,CW=YF.load,RW=YF.loadAll,IW=SW.dump,TW=Yr,kW={binary:FF,float:TF,map:AF,null:CF,pairs:BF,set:LF,timestamp:MF,bool:RF,int:IF,merge:DF,omap:qF,seq:xF,str:wF},PW=F_("safeLoad","load"),jW=F_("safeLoadAll","loadAll"),NW=F_("safeDump","dump"),Zi={Type:_W,Schema:wW,FAILSAFE_SCHEMA:xW,JSON_SCHEMA:ru,CORE_SCHEMA:AW,DEFAULT_SCHEMA:OW,load:CW,loadAll:RW,dump:IW,YAMLException:TW,types:kW,safeLoad:PW,safeLoadAll:jW,safeDump:NW},bc={exports:{}},MW=bc.exports,wT;function DW(){return wT||(wT=1,(function(t){(function(e,r){t.exports?t.exports=r():(function n(){document&&document.body?e.zenscroll=r():setTimeout(n,9)})()})(MW,function(){var e=function(l){return l&&"getComputedStyle"in window&&window.getComputedStyle(l)["scroll-behavior"]==="smooth"};if(typeof window>"u"||!("document"in window))return{};var r=function(l,c,p){c=c||999,!p&&p!==0&&(p=9);var m,d=function(S){m=S},g=function(){clearTimeout(m),d(0)},y=function(S){return Math.max(0,l.getTopOf(S)-p)},v=function(S,A,I){if(g(),A===0||A&&A<0||e(l.body))l.toY(S),I&&I();else{var k=l.getY(),P=Math.max(0,S)-k,F=new Date().getTime();A=A||Math.min(Math.abs(P),c),(function R(){d(setTimeout(function(){var L=Math.min(1,(new Date().getTime()-F)/A),M=Math.max(0,Math.floor(k+P*(L<.5?2*L*L:L*(4-L*2)-1)));l.toY(M),L<1&&l.getHeight()+M<l.body.scrollHeight?R():(setTimeout(g,99),I&&I())},9))})()}},E=function(S,A,I){v(y(S),A,I)},b=function(S,A,I){var k=S.getBoundingClientRect().height,P=l.getTopOf(S)+k,F=l.getHeight(),R=l.getY(),L=R+F;y(S)<R||k+p>F?E(S,A,I):P+p>L?v(P-F+p,A,I):I&&I()},_=function(S,A,I,k){v(Math.max(0,l.getTopOf(S)-l.getHeight()/2+(I||S.getBoundingClientRect().height/2)),A,k)},w=function(S,A){return(S===0||S)&&(c=S),(A===0||A)&&(p=A),{defaultDuration:c,edgeOffset:p}};return{setup:w,to:E,toY:v,intoView:b,center:_,stop:g,moving:function(){return!!m},getY:l.getY,getTopOf:l.getTopOf}},n=document.documentElement,s=function(){return window.scrollY||n.scrollTop},i=r({body:document.scrollingElement||document.body,toY:function(l){window.scrollTo(0,l)},getY:s,getHeight:function(){return window.innerHeight||n.clientHeight},getTopOf:function(l){return l.getBoundingClientRect().top+s()-n.offsetTop}});if(i.createScroller=function(l,c,p){return r({body:l,toY:function(m){l.scrollTop=m},getY:function(){return l.scrollTop},getHeight:function(){return Math.min(l.clientHeight,window.innerHeight||n.clientHeight)},getTopOf:function(m){return m.offsetTop}},c,p)},"addEventListener"in window&&!window.noZensmooth&&!e(document.body)){var a="history"in window&&"pushState"in history,o=a&&"scrollRestoration"in history;o&&(history.scrollRestoration="auto"),window.addEventListener("load",function(){o&&(setTimeout(function(){history.scrollRestoration="manual"},9),window.addEventListener("popstate",function(l){l.state&&"zenscrollY"in l.state&&i.toY(l.state.zenscrollY)},!1)),window.location.hash&&setTimeout(function(){var l=i.setup().edgeOffset;if(l){var c=document.getElementById(window.location.href.split("#")[1]);if(c){var p=Math.max(0,i.getTopOf(c)-l),m=i.getY()-p;0<=m&&m<9&&window.scrollTo(0,p)}}},9)},!1);var u=new RegExp("(^|\\s)noZensmooth(\\s|$)");window.addEventListener("click",function(l){for(var c=l.target;c&&c.tagName!=="A";)c=c.parentNode;if(!(!c||l.which!==1||l.shiftKey||l.metaKey||l.ctrlKey||l.altKey)){if(o){var p=history.state&&typeof history.state=="object"?history.state:{};p.zenscrollY=i.getY();try{history.replaceState(p,"")}catch{}}var m=c.getAttribute("href")||"";if(m.indexOf("#")===0&&!u.test(c.className)){var d=0,g=document.getElementById(m.substring(1));if(m!=="#"){if(!g)return;d=i.getTopOf(g)}l.preventDefault();var y=function(){window.location=m},v=i.setup().edgeOffset;v&&(d=Math.max(0,d-v),a&&(y=function(){history.pushState({},"",m)})),i.toY(d,null,y)}}},!1)}return i})})(bc)),bc.exports}var FW=DW();const qW=ut(FW);var Ny,xT;function BW(){if(xT)return Ny;xT=1;var t=lf(),e="<<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=u("Indexed",t.Iterable.isIndexed),r.iterable.keyed=u("Keyed",t.Iterable.isKeyed);function i(l){var c=typeof l;return Array.isArray(l)?"array":l instanceof RegExp?"object":l instanceof t.Iterable?"Immutable."+l.toSource().split(" ")[0]:c}function a(l){function c(m,d,g,y,v,E){for(var b=arguments.length,_=Array(b>6?b-6:0),w=6;w<b;w++)_[w-6]=arguments[w];if(E=E||g,y=y||e,d[g]==null){var S=v;if(m)return new Error("Required "+S+" `"+E+"` was not specified in "+("`"+y+"`."))}else return l.apply(void 0,[d,g,y,v,E].concat(_))}var p=c.bind(null,!1);return p.isRequired=c.bind(null,!0),p}function o(l,c){function p(m,d,g,y,v){var E=m[d];if(!c(E)){var b=i(E);return new Error("Invalid "+y+" `"+v+"` of type `"+b+"` "+("supplied to `"+g+"`, expected `"+l+"`."))}return null}return a(p)}function u(l,c){return o("Iterable."+l,function(p){return t.Iterable.isIterable(p)&&c(p)})}return Ny=r,Ny}var LW=BW();const $W=ut(LW);var My,AT;function UW(){if(AT)return My;AT=1;function t(e,r,n,s,i){return i(e,function(a,o,u){n=s?(s=!1,a):r(n,a,o,u)}),n}return My=t,My}var Dy,OT;function VW(){if(OT)return Dy;OT=1;
32var t=tF(),e=mF(),r=Ou(),n=UW(),s=Rr();function i(a,o,u){var l=s(a)?t:n,c=arguments.length<3;return l(a,r(o,4),u,c,e)}return Dy=i,Dy}var zW=VW();const WW=ut(zW);var JW=pF();const HW=ut(JW);var CT={},Oo,RT;function on(){if(RT)return Oo;RT=1;var t=function(e){return e&&e.Math===Math&&e};return Oo=t(typeof globalThis=="object"&&globalThis)||t(typeof window=="object"&&window)||t(typeof self=="object"&&self)||t(typeof Nn=="object"&&Nn)||t(typeof Oo=="object"&&Oo)||(function(){return this})()||Function("return this")(),Oo}var Fy,IT;function Ln(){return IT||(IT=1,Fy=function(t){try{return!!t()}catch{return!0}}),Fy}var qy,TT;function Cu(){if(TT)return qy;TT=1;var t=Ln();return qy=!t(function(){var e=(function(){}).bind();return typeof e!="function"||e.hasOwnProperty("prototype")}),qy}var By,kT;function q_(){if(kT)return By;kT=1;var t=Cu(),e=Function.prototype,r=e.apply,n=e.call;return By=typeof Reflect=="object"&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),By}var Ly,PT;function un(){if(PT)return Ly;PT=1;var t=Cu(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return Ly=t?n:function(s){return function(){return r.apply(s,arguments)}},Ly}var $y,jT;function B_(){if(jT)return $y;jT=1;var t=un(),e=t({}.toString),r=t("".slice);return $y=function(n){return r(e(n),8,-1)},$y}var Uy,NT;function uq(){if(NT)return Uy;NT=1;var t=B_(),e=un();return Uy=function(r){if(t(r)==="Function")return e(r)},Uy}var Vy,MT;function En(){if(MT)return Vy;MT=1;var t=typeof document=="object"&&document.all;return Vy=typeof t>"u"&&t!==void 0?function(e){return typeof e=="function"||e===t}:function(e){return typeof e=="function"},Vy}var zy={},Wy,DT;function Cs(){if(DT)return Wy;DT=1;var t=Ln();return Wy=!t(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),Wy}var Jy,FT;function Oi(){if(FT)return Jy;FT=1;var t=Cu(),e=Function.prototype.call;return Jy=t?e.bind(e):function(){return e.apply(e,arguments)},Jy}var Hy={},qT;function lq(){if(qT)return Hy;qT=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return Hy.f=r?function(s){var i=e(this,s);return!!i&&i.enumerable}:t,Hy}var Ky,BT;function Ru(){return BT||(BT=1,Ky=function(t,e){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:e}}),Ky}var Gy,LT;function cq(){if(LT)return Gy;LT=1;var t=un(),e=Ln(),r=B_(),n=Object,s=t("".split);return Gy=e(function(){return!n("z").propertyIsEnumerable(0)})?function(i){return r(i)==="String"?s(i,""):n(i)}:n,Gy}var Yy,$T;function L_(){return $T||($T=1,Yy=function(t){return t==null}),Yy}var Xy,UT;function Sf(){if(UT)return Xy;UT=1;var t=L_(),e=TypeError;return Xy=function(r){if(t(r))throw new e("Can't call method on "+r);return r},Xy}var Zy,VT;function Iu(){if(VT)return Zy;VT=1;var t=cq(),e=Sf();return Zy=function(r){return t(e(r))},Zy}var Qy,zT;function is(){if(zT)return Qy;zT=1;var t=En();return Qy=function(e){return typeof e=="object"?e!==null:t(e)},Qy}var ev,WT;function Tu(){return WT||(WT=1,ev={}),ev}var tv,JT;function ku(){if(JT)return tv;JT=1;var t=Tu(),e=on(),r=En(),n=function(s){return r(s)?s:void 0};return tv=function(s,i){return arguments.length<2?n(t[s])||n(e[s]):t[s]&&t[s][i]||e[s]&&e[s][i]},tv}var rv,HT;function Pu(){if(HT)return rv;HT=1;var t=un();return rv=t({}.isPrototypeOf),rv}var nv,KT;function KW(){if(KT)return nv;KT=1;var t=on(),e=t.navigator,r=e&&e.userAgent;return nv=r?String(r):"",nv}var sv,GT;function GW(){if(GT)return sv;GT=1;var t=on(),e=KW(),r=t.process,n=t.Deno,s=r&&r.versions||n&&n.version,i=s&&s.v8,a,o;return i&&(a=i.split("."),o=a[0]>0&&a[0]<4?1:+(a[0]+a[1])),!o&&e&&(a=e.match(/Edge\/(\d+)/),(!a||a[1]>=74)&&(a=e.match(/Chrome\/(\d+)/),a&&(o=+a[1]))),sv=o,sv}var iv,YT;function fq(){if(YT)return iv;YT=1;var t=GW(),e=Ln(),r=on(),n=r.String;return iv=!!Object.getOwnPropertySymbols&&!e(function(){var s=Symbol("symbol detection");return!n(s)||!(Object(s)instanceof Symbol)||!Symbol.sham&&t&&t<41}),iv}var av,XT;function pq(){if(XT)return av;XT=1;var t=fq();return av=t&&!Symbol.sham&&typeof Symbol.iterator=="symbol",av}var ov,ZT;function dq(){if(ZT)return ov;ZT=1;var t=ku(),e=En(),r=Pu(),n=pq(),s=Object;return ov=n?function(i){return typeof i=="symbol"}:function(i){var a=t("Symbol");return e(a)&&r(a.prototype,s(i))},ov}var uv,QT;function $_(){if(QT)return uv;QT=1;var t=String;return uv=function(e){try{return t(e)}catch{return"Object"}},uv}var lv,ek;
32function ju(){if(ek)return lv;ek=1;var t=En(),e=$_(),r=TypeError;return lv=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")},lv}var cv,tk;function U_(){if(tk)return cv;tk=1;var t=ju(),e=L_();return cv=function(r,n){var s=r[n];return e(s)?void 0:t(s)},cv}var fv,rk;function YW(){if(rk)return fv;rk=1;var t=Oi(),e=En(),r=is(),n=TypeError;return fv=function(s,i){var a,o;if(i==="string"&&e(a=s.toString)&&!r(o=t(a,s))||e(a=s.valueOf)&&!r(o=t(a,s))||i!=="string"&&e(a=s.toString)&&!r(o=t(a,s)))return o;throw new n("Can't convert object to primitive value")},fv}var pv={exports:{}},dv,nk;function Nu(){return nk||(nk=1,dv=!0),dv}var hv,sk;function XW(){if(sk)return hv;sk=1;var t=on(),e=Object.defineProperty;return hv=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch{t[r]=n}return n},hv}var ik;function hq(){if(ik)return pv.exports;ik=1;var t=Nu(),e=on(),r=XW(),n="__core-js_shared__",s=pv.exports=e[n]||r(n,{});return(s.versions||(s.versions=[])).push({version:"3.47.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)",license:"https://github.com/zloirock/core-js/blob/v3.47.0/LICENSE",source:"https://github.com/zloirock/core-js"}),pv.exports}var mv,ak;function mq(){if(ak)return mv;ak=1;var t=hq();return mv=function(e,r){return t[e]||(t[e]=r||{})},mv}var gv,ok;function V_(){if(ok)return gv;ok=1;var t=Sf(),e=Object;return gv=function(r){return e(t(r))},gv}var yv,uk;function as(){if(uk)return yv;uk=1;var t=un(),e=V_(),r=t({}.hasOwnProperty);return yv=Object.hasOwn||function(s,i){return r(e(s),i)},yv}var vv,lk;function gq(){if(lk)return vv;lk=1;var t=un(),e=0,r=Math.random(),n=t(1.1.toString);return vv=function(s){return"Symbol("+(s===void 0?"":s)+")_"+n(++e+r,36)},vv}var bv,ck;function Zs(){if(ck)return bv;ck=1;var t=on(),e=mq(),r=as(),n=gq(),s=fq(),i=pq(),a=t.Symbol,o=e("wks"),u=i?a.for||a:a&&a.withoutSetter||n;return bv=function(l){return r(o,l)||(o[l]=s&&r(a,l)?a[l]:u("Symbol."+l)),o[l]},bv}var Ev,fk;function ZW(){if(fk)return Ev;fk=1;var t=Oi(),e=is(),r=dq(),n=U_(),s=YW(),i=Zs(),a=TypeError,o=i("toPrimitive");return Ev=function(u,l){if(!e(u)||r(u))return u;var c=n(u,o),p;if(c){if(l===void 0&&(l="default"),p=t(c,u,l),!e(p)||r(p))return p;throw new a("Can't convert object to primitive value")}return l===void 0&&(l="number"),s(u,l)},Ev}var Sv,pk;function yq(){if(pk)return Sv;pk=1;var t=ZW(),e=dq();return Sv=function(r){var n=t(r,"string");return e(n)?n:n+""},Sv}var _v,dk;function vq(){if(dk)return _v;dk=1;var t=on(),e=is(),r=t.document,n=e(r)&&e(r.createElement);return _v=function(s){return n?r.createElement(s):{}},_v}var wv,hk;function bq(){if(hk)return wv;hk=1;var t=Cs(),e=Ln(),r=vq();return wv=!t&&!e(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),wv}var mk;function Eq(){if(mk)return zy;mk=1;var t=Cs(),e=Oi(),r=lq(),n=Ru(),s=Iu(),i=yq(),a=as(),o=bq(),u=Object.getOwnPropertyDescriptor;return zy.f=t?u:function(c,p){if(c=s(c),p=i(p),o)try{return u(c,p)}catch{}if(a(c,p))return n(!e(r.f,c,p),c[p])},zy}var xv,gk;function QW(){if(gk)return xv;gk=1;var t=Ln(),e=En(),r=/#|\.prototype\./,n=function(u,l){var c=i[s(u)];return c===o?!0:c===a?!1:e(l)?t(l):!!l},s=n.normalize=function(u){return String(u).replace(r,".").toLowerCase()},i=n.data={},a=n.NATIVE="N",o=n.POLYFILL="P";return xv=n,xv}var Av,yk;function Sq(){if(yk)return Av;yk=1;var t=uq(),e=ju(),r=Cu(),n=t(t.bind);return Av=function(s,i){return e(s),i===void 0?s:r?n(s,i):function(){return s.apply(i,arguments)}},Av}var Ov={},Cv,vk;function _q(){if(vk)return Cv;vk=1;var t=Cs(),e=Ln();return Cv=t&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),Cv}var Rv,bk;function oa(){if(bk)return Rv;bk=1;var t=is(),e=String,r=TypeError;return Rv=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")},Rv}var Ek;function no(){if(Ek)return Ov;Ek=1;var t=Cs(),e=bq(),r=_q(),n=oa(),s=yq(),i=TypeError,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,u="enumerable",l="configurable",c="writable";return Ov.f=t?r?function(m,d,g){if(n(m),d=s(d),n(g),typeof m=="function"&&d==="prototype"&&"value"in g&&c in g&&!g[c]){var y=o(m,d);y&&y[c]&&(m[d]=g.value,g={configurable:l in g?g[l]:y[l],enumerable:u in g?g[u]:y[u],writable:!1})}return a(m,d,g)}:a:function(m,d,g){if(n(m),d=s(d),n(g),e)try{return a(m,d,g)}catch{}if("get"in g||"set"in g)throw new i("Accessors not supported");return"value"in g&&(m[d]=g.value),m},Ov}var Iv,Sk;function Qs(){if(Sk)return Iv;Sk=1;var t=Cs(),e=no(),r=Ru();
32return Iv=t?function(n,s,i){return e.f(n,s,r(1,i))}:function(n,s,i){return n[s]=i,n},Iv}var Tv,_k;function so(){if(_k)return Tv;_k=1;var t=on(),e=q_(),r=uq(),n=En(),s=Eq().f,i=QW(),a=Tu(),o=Sq(),u=Qs(),l=as(),c=function(p){var m=function(d,g,y){if(this instanceof m){switch(arguments.length){case 0:return new p;case 1:return new p(d);case 2:return new p(d,g)}return new p(d,g,y)}return e(p,this,arguments)};return m.prototype=p.prototype,m};return Tv=function(p,m){var d=p.target,g=p.global,y=p.stat,v=p.proto,E=g?t:y?t[d]:t[d]&&t[d].prototype,b=g?a:a[d]||u(a,d,{})[d],_=b.prototype,w,S,A,I,k,P,F,R,L;for(I in m)w=i(g?I:d+(y?".":"#")+I,p.forced),S=!w&&E&&l(E,I),P=b[I],S&&(p.dontCallGetSet?(L=s(E,I),F=L&&L.value):F=E[I]),k=S&&F?F:m[I],!(!w&&!v&&typeof P==typeof k)&&(p.bind&&S?R=o(k,t):p.wrap&&S?R=c(k):v&&n(k)?R=r(k):R=k,(p.sham||k&&k.sham||P&&P.sham)&&u(R,"sham",!0),u(b,I,R),v&&(A=d+"Prototype",l(a,A)||u(a,A,{}),u(a[A],I,k),p.real&&_&&(w||!_[I])&&u(_,I,k)))},Tv}var kv,wk;function eJ(){if(wk)return kv;wk=1;var t=Math.ceil,e=Math.floor;return kv=Math.trunc||function(n){var s=+n;return(s>0?e:t)(s)},kv}var Pv,xk;function z_(){if(xk)return Pv;xk=1;var t=eJ();return Pv=function(e){var r=+e;return r!==r||r===0?0:t(r)},Pv}var jv,Ak;function tJ(){if(Ak)return jv;Ak=1;var t=z_(),e=Math.max,r=Math.min;return jv=function(n,s){var i=t(n);return i<0?e(i+s,0):r(i,s)},jv}var Nv,Ok;function rJ(){if(Ok)return Nv;Ok=1;var t=z_(),e=Math.min;return Nv=function(r){var n=t(r);return n>0?e(n,9007199254740991):0},Nv}var Mv,Ck;function wq(){if(Ck)return Mv;Ck=1;var t=rJ();return Mv=function(e){return t(e.length)},Mv}var Dv,Rk;
32function nJ(){if(Rk)return Dv;Rk=1;var t=Iu(),e=tJ(),r=wq(),n=function(s){return function(i,a,o){var u=t(i),l=r(u);if(l===0)return!s&&-1;var c=e(o,l),p;if(s&&a!==a){for(;l>c;)if(p=u[c++],p!==p)return!0}else for(;l>c;c++)if((s||c in u)&&u[c]===a)return s||c||0;return!s&&-1}};return Dv={includes:n(!0),indexOf:n(!1)},Dv}var Fv,Ik;function W_(){return Ik||(Ik=1,Fv={}),Fv}var qv,Tk;function xq(){if(Tk)return qv;Tk=1;var t=un(),e=as(),r=Iu(),n=nJ().indexOf,s=W_(),i=t([].push);return qv=function(a,o){var u=r(a),l=0,c=[],p;for(p in u)!e(s,p)&&e(u,p)&&i(c,p);for(;o.length>l;)e(u,p=o[l++])&&(~n(c,p)||i(c,p));return c},qv}var Bv,kk;function J_(){return kk||(kk=1,Bv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),Bv}var Lv,Pk;function Aq(){if(Pk)return Lv;Pk=1;var t=xq(),e=J_();return Lv=Object.keys||function(n){return t(n,e)},Lv}var $v={},jk;function Oq(){return jk||(jk=1,$v.f=Object.getOwnPropertySymbols),$v}var Uv,Nk;function sJ(){if(Nk)return Uv;Nk=1;var t=Cs(),e=un(),r=Oi(),n=Ln(),s=Aq(),i=Oq(),a=lq(),o=V_(),u=cq(),l=Object.assign,c=Object.defineProperty,p=e([].concat);return Uv=!l||n(function(){if(t&&l({b:1},l(c({},"a",{enumerable:!0,get:function(){c(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var m={},d={},g=Symbol("assign detection"),y="abcdefghijklmnopqrst";return m[g]=7,y.split("").forEach(function(v){d[v]=v}),l({},m)[g]!==7||s(l({},d)).join("")!==y})?function(d,g){for(var y=o(d),v=arguments.length,E=1,b=i.f,_=a.f;v>E;)for(var w=u(arguments[E++]),S=b?p(s(w),b(w)):s(w),A=S.length,I=0,k;A>I;)k=S[I++],(!t||r(_,w,k))&&(y[k]=w[k]);return y}:l,Uv}var Mk;function iJ(){if(Mk)return CT;Mk=1;var t=so(),e=sJ();return t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e}),CT}var Vv,Dk;function aJ(){if(Dk)return Vv;Dk=1,iJ();var t=Tu();return Vv=t.Object.assign,Vv}var zv,Fk;function oJ(){if(Fk)return zv;Fk=1;var t=aJ();return zv=t,zv}var Wv,qk;function uJ(){if(qk)return Wv;qk=1;var t=oJ();return Wv=t,Wv}var Jv,Bk;function lJ(){if(Bk)return Jv;Bk=1;var t=uJ();return Jv=t,Jv}var Hv,Lk;function cJ(){return Lk||(Lk=1,Hv=lJ()),Hv}var fJ=cJ();const $k=ut(fJ);var Uk={},Kv,Vk;function pJ(){if(Vk)return Kv;Vk=1;var t=un();return Kv=t([].slice),Kv}var Gv,zk;function dJ(){if(zk)return Gv;zk=1;var t=un(),e=ju(),r=is(),n=as(),s=pJ(),i=Cu(),a=Function,o=t([].concat),u=t([].join),l={},c=function(p,m,d){if(!n(l,m)){for(var g=[],y=0;y<m;y++)g[y]="a["+y+"]";l[m]=a("C,a","return new C("+u(g,",")+")")}return l[m](p,d)};return Gv=i?a.bind:function(m){var d=e(this),g=d.prototype,y=s(arguments,1),v=function(){var b=o(y,s(arguments));return this instanceof v?c(d,b.length,b):d.apply(m,b)};return r(g)&&(v.prototype=g),v},Gv}var Wk;function hJ(){if(Wk)return Uk;Wk=1;var t=so(),e=dJ();return t({target:"Function",proto:!0,forced:Function.bind!==e},{bind:e}),Uk}var Yv,Jk;function mJ(){if(Jk)return Yv;Jk=1;var t=on(),e=Tu();return Yv=function(r,n){var s=e[r+"Prototype"],i=s&&s[n];if(i)return i;var a=t[r],o=a&&a.prototype;return o&&o[n]},Yv}var Xv,Hk;function gJ(){if(Hk)return Xv;Hk=1,hJ();var t=mJ();return Xv=t("Function","bind"),Xv}var Zv,Kk;function yJ(){if(Kk)return Zv;Kk=1;var t=Pu(),e=gJ(),r=Function.prototype;return Zv=function(n){var s=n.bind;return n===r||t(r,n)&&s===r.bind?e:s},Zv}var Qv,Gk;function vJ(){if(Gk)return Qv;Gk=1;var t=yJ();return Qv=t,Qv}var e0,Yk;function bJ(){if(Yk)return e0;Yk=1;var t=vJ();return e0=t,e0}var t0,Xk;function EJ(){if(Xk)return t0;Xk=1;var t=bJ();return t0=t,t0}var r0,Zk;function SJ(){return Zk||(Zk=1,r0=EJ()),r0}var _J=SJ();const wJ=ut(_J);function WS(){var t;return WS=$k?wJ(t=$k).call(t):function(e){for(var r=1;r<arguments.length;r++){var n=arguments[r];for(var s in n)({}).hasOwnProperty.call(n,s)&&(e[s]=n[s])}return e},WS.apply(null,arguments)}var Co={},n0,Qk;function xJ(){return Qk||(Qk=1,n0=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,r=[],n=0;n<t.rangeCount;n++)r.push(t.getRangeAt(n));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null;break}return t.removeAllRanges(),function(){t.type==="Caret"&&t.removeAllRanges(),t.rangeCount||r.forEach(function(s){t.addRange(s)}),e&&e.focus()}}),n0}var s0,eP;function AJ(){if(eP)return s0;eP=1;var t=xJ(),e={"text/plain":"Text","text/html":"Url",default:"Text"},r="Copy to clipboard: #{key}, Enter";function n(i){var a=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return i.replace(/#{\s*key\s*}/g,a)}function s(i,a){var o,u,l,c,p,m,d=!1;a||(a={}),o=a.debug||!1;try{l=t(),c=document.createRange(),p=document.getSelection(),m=document.createElement("span"),m.textContent=i,m.ariaHidden="true",m.
32style.all="unset",m.style.position="fixed",m.style.top=0,m.style.clip="rect(0, 0, 0, 0)",m.style.whiteSpace="pre",m.style.webkitUserSelect="text",m.style.MozUserSelect="text",m.style.msUserSelect="text",m.style.userSelect="text",m.addEventListener("copy",function(y){if(y.stopPropagation(),a.format)if(y.preventDefault(),typeof y.clipboardData>"u"){o&&console.warn("unable to use e.clipboardData"),o&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var v=e[a.format]||e.default;window.clipboardData.setData(v,i)}else y.clipboardData.clearData(),y.clipboardData.setData(a.format,i);a.onCopy&&(y.preventDefault(),a.onCopy(y.clipboardData))}),document.body.appendChild(m),c.selectNodeContents(m),p.addRange(c);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");d=!0}catch(y){o&&console.error("unable to copy using execCommand: ",y),o&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(a.format||"text",i),a.onCopy&&a.onCopy(window.clipboardData),d=!0}catch(v){o&&console.error("unable to copy using clipboardData: ",v),o&&console.error("falling back to prompt"),u=n("message"in a?a.message:r),window.prompt(u,i)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(c):p.removeAllRanges()),m&&document.body.removeChild(m),l()}return d}return s0=s,s0}var tP;function OJ(){if(tP)return Co;tP=1;function t(S){"@babel/helpers - typeof";return t=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},t(S)}Object.defineProperty(Co,"__esModule",{value:!0}),Co.CopyToClipboard=void 0;var e=s(E3()),r=s(AJ()),n=["text","onCopy","options","children"];function s(S){return S&&S.__esModule?S:{default:S}}function i(S,A){var I=Object.keys(S);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(S);A&&(k=k.filter(function(P){return Object.getOwnPropertyDescriptor(S,P).enumerable})),I.push.apply(I,k)}return I}function a(S){for(var A=1;A<arguments.length;A++){var I=arguments[A]!=null?arguments[A]:{};A%2?i(Object(I),!0).forEach(function(k){_(S,k,I[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(I)):i(Object(I)).forEach(function(k){Object.defineProperty(S,k,Object.getOwnPropertyDescriptor(I,k))})}return S}function o(S,A){if(S==null)return{};var I=u(S,A),k,P;if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(S);for(P=0;P<F.length;P++)k=F[P],!(A.indexOf(k)>=0)&&Object.prototype.propertyIsEnumerable.call(S,k)&&(I[k]=S[k])}return I}function u(S,A){if(S==null)return{};var I={},k=Object.keys(S),P,F;for(F=0;F<k.length;F++)P=k[F],!(A.indexOf(P)>=0)&&(I[P]=S[P]);return I}function l(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")}function c(S,A){for(var I=0;I<A.length;I++){var k=A[I];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(S,k.key,k)}}function p(S,A,I){return A&&c(S.prototype,A),Object.defineProperty(S,"prototype",{writable:!1}),S}function m(S,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(A&&A.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),Object.defineProperty(S,"prototype",{writable:!1}),A&&d(S,A)}function d(S,A){return d=Object.setPrototypeOf||function(k,P){return k.__proto__=P,k},d(S,A)}function g(S){var A=E();return function(){var k=b(S),P;if(A){var F=b(this).constructor;P=Reflect.construct(k,arguments,F)}else P=k.apply(this,arguments);return y(this,P)}}function y(S,A){if(A&&(t(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(S)}function v(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}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(S){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},b(S)}function _(S,A,I){return A in S?Object.defineProperty(S,A,{value:I,enumerable:!0,configurable:!0,writable:!0}):S[A]=I,S}var w=(function(S){m(I,S);var A=g(I);function I(){var k;l(this,I);for(var P=arguments.length,F=new Array(P),R=0;R<P;R++)F[R]=arguments[R];return k=A.call.apply(A,[this].concat(F)),_(v(k),"onClick",function(L){var M=k.props,G=M.text,re=M.onCopy,K=M.children,Z=M.options,X=e.default.Children.only(K),ee=(0,r.default)(G,Z);re&&re(G,ee),X&&X.props&&typeof X.props.onClick=="function"&&X.props.onClick(L)}),k}return p(I,[{key:"render",value:function(){var P=this.props;P.text,P.onCopy,P.options;var F=P.children,R=o(P,n),L=e.default.Children.only(F);return e.default.cloneElement(L,a(a({},R),{},{onClick:this.onClick}))}}]),I})(e.default.PureComponent);return Co.CopyToClipboard=w,_(w,"defaultProps",{onCopy:void 0,options:void 0}),Co}var i0,rP;function CJ(){if(rP)return i0;rP=1;var t=OJ(),e=t.CopyToClipboard;return e.CopyToClipboard=e,i0=e,i0}var RJ=CJ();function Ec(t){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ec=function(e){return typeof e}:Ec=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ec(t)}function IJ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function TJ(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function kJ(t,e,r){return e&&TJ(t.prototype,e),t}function PJ(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function nP(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function jJ(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
32e%2?nP(r,!0).forEach(function(n){PJ(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):nP(r).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function NJ(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&HS(t,e)}function JS(t){return JS=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},JS(t)}function HS(t,e){return HS=Object.setPrototypeOf||function(n,s){return n.__proto__=s,n},HS(t,e)}function MJ(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DJ(t,e){return e&&(typeof e=="object"||typeof e=="function")?e:MJ(t)}var sP={};function FJ(t){return t!==null&&Ec(t)==="object"&&typeof t.get=="function"&&typeof t.has=="function"}function qJ(t){return t==null}function BJ(t,e,r){return qJ(t)?r:FJ(t)?t.has(e)?t.get(e):r:hasOwnProperty.call(t,e)?t[e]:r}function iP(t,e,r){for(var n=0;n!==e.length;)if(t=BJ(t,e[n++],sP),t===sP)return r;return t}function aP(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=LJ(e,r),s=t||Object.keys(jJ({},r,{},e));return s.every(n)}function LJ(t,e){return function(r){if(typeof r=="string")return Us.is(e[r],t[r]);if(Array.isArray(r))return Us.is(iP(e,r),iP(t,r));throw new TypeError("Invalid key: expected Array or string: "+r)}}var $J=(function(t){NJ(e,t);function e(){return IJ(this,e),DJ(this,JS(e).apply(this,arguments))}return kJ(e,[{key:"shouldComponentUpdate",value:function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return!aP(this.updateOnProps,this.props,n,"updateOnProps")||!aP(this.updateOnStates,this.state,s,"updateOnStates")}}]),e})(Xn.Component),Ro={},a0,oP;function UJ(){if(oP)return a0;oP=1;var t="Expected a function",e=NaN,r="[object Symbol]",n=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,o=parseInt,u=typeof Nn=="object"&&Nn&&Nn.Object===Object&&Nn,l=typeof self=="object"&&self&&self.Object===Object&&self,c=u||l||Function("return this")(),p=Object.prototype,m=p.toString,d=Math.max,g=Math.min,y=function(){return c.Date.now()};function v(S,A,I){var k,P,F,R,L,M,G=0,re=!1,K=!1,Z=!0;if(typeof S!="function")throw new TypeError(t);A=w(A)||0,E(I)&&(re=!!I.leading,K="maxWait"in I,F=K?d(w(I.maxWait)||0,A):F,Z="trailing"in I?!!I.trailing:Z);function X(V){var me=k,ve=P;return k=P=void 0,G=V,R=S.apply(ve,me),R}function ee(V){return G=V,L=setTimeout(ue,A),re?X(V):R}function ce(V){var me=V-M,ve=V-G,Me=A-me;return K?g(Me,F-ve):Me}function se(V){var me=V-M,ve=V-G;return M===void 0||me>=A||me<0||K&&ve>=F}function ue(){var V=y();if(se(V))return ye(V);L=setTimeout(ue,ce(V))}function ye(V){return L=void 0,Z&&k?X(V):(k=P=void 0,R)}function he(){L!==void 0&&clearTimeout(L),G=0,k=M=P=L=void 0}function te(){return L===void 0?R:ye(y())}function W(){var V=y(),me=se(V);if(k=arguments,P=this,M=V,me){if(L===void 0)return ee(M);if(K)return L=setTimeout(ue,A),X(M)}return L===void 0&&(L=setTimeout(ue,A)),R}return W.cancel=he,W.flush=te,W}function E(S){var A=typeof S;return!!S&&(A=="object"||A=="function")}function b(S){return!!S&&typeof S=="object"}function _(S){return typeof S=="symbol"||b(S)&&m.call(S)==r}function w(S){if(typeof S=="number")return S;if(_(S))return e;if(E(S)){var A=typeof S.valueOf=="function"?S.valueOf():S;S=E(A)?A+"":A}if(typeof S!="string")return S===0?S:+S;S=S.replace(n,"");var I=i.test(S);return I||a.test(S)?o(S.slice(2),I?2:8):s.test(S)?e:+S}return a0=v,a0}var uP;function VJ(){if(uP)return Ro;uP=1;function t(S){"@babel/helpers - typeof";return t=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},t(S)}Object.defineProperty(Ro,"__esModule",{value:!0}),Ro.DebounceInput=void 0;
32var e=s(E3()),r=s(UJ()),n=["element","onChange","value","minLength","debounceTimeout","forceNotifyByEnter","forceNotifyOnBlur","onKeyDown","onBlur","inputRef"];function s(S){return S&&S.__esModule?S:{default:S}}function i(S,A){if(S==null)return{};var I=a(S,A),k,P;if(Object.getOwnPropertySymbols){var F=Object.getOwnPropertySymbols(S);for(P=0;P<F.length;P++)k=F[P],!(A.indexOf(k)>=0)&&Object.prototype.propertyIsEnumerable.call(S,k)&&(I[k]=S[k])}return I}function a(S,A){if(S==null)return{};var I={},k=Object.keys(S),P,F;for(F=0;F<k.length;F++)P=k[F],!(A.indexOf(P)>=0)&&(I[P]=S[P]);return I}function o(S,A){var I=Object.keys(S);if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(S);A&&(k=k.filter(function(P){return Object.getOwnPropertyDescriptor(S,P).enumerable})),I.push.apply(I,k)}return I}function u(S){for(var A=1;A<arguments.length;A++){var I=arguments[A]!=null?arguments[A]:{};A%2?o(Object(I),!0).forEach(function(k){_(S,k,I[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(I)):o(Object(I)).forEach(function(k){Object.defineProperty(S,k,Object.getOwnPropertyDescriptor(I,k))})}return S}function l(S,A){if(!(S instanceof A))throw new TypeError("Cannot call a class as a function")}function c(S,A){for(var I=0;I<A.length;I++){var k=A[I];k.enumerable=k.enumerable||!1,k.configurable=!0,"value"in k&&(k.writable=!0),Object.defineProperty(S,k.key,k)}}function p(S,A,I){return A&&c(S.prototype,A),Object.defineProperty(S,"prototype",{writable:!1}),S}function m(S,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function");S.prototype=Object.create(A&&A.prototype,{constructor:{value:S,writable:!0,configurable:!0}}),Object.defineProperty(S,"prototype",{writable:!1}),A&&d(S,A)}function d(S,A){return d=Object.setPrototypeOf||function(k,P){return k.__proto__=P,k},d(S,A)}function g(S){var A=E();return function(){var k=b(S),P;if(A){var F=b(this).constructor;P=Reflect.construct(k,arguments,F)}else P=k.apply(this,arguments);return y(this,P)}}function y(S,A){if(A&&(t(A)==="object"||typeof A=="function"))return A;if(A!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return v(S)}function v(S){if(S===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return S}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(S){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(I){return I.__proto__||Object.getPrototypeOf(I)},b(S)}function _(S,A,I){return A in S?Object.defineProperty(S,A,{value:I,enumerable:!0,configurable:!0,writable:!0}):S[A]=I,S}var w=(function(S){m(I,S);var A=g(I);function I(k){var P;l(this,I),P=A.call(this,k),_(v(P),"onChange",function(R){R.persist();var L=P.state.value,M=P.props.minLength;P.setState({value:R.target.value},function(){var G=P.state.value;if(G.length>=M){P.notify(R);return}L.length>G.length&&P.notify(u(u({},R),{},{target:u(u({},R.target),{},{value:""})}))})}),_(v(P),"onKeyDown",function(R){R.key==="Enter"&&P.forceNotify(R);var L=P.props.onKeyDown;L&&(R.persist(),L(R))}),_(v(P),"onBlur",function(R){P.forceNotify(R);var L=P.props.onBlur;L&&(R.persist(),L(R))}),_(v(P),"createNotifier",function(R){if(R<0)P.notify=function(){return null};else if(R===0)P.notify=P.doNotify;else{var L=(0,r.default)(function(M){P.isDebouncing=!1,P.doNotify(M)},R);P.notify=function(M){P.isDebouncing=!0,L(M)},P.flush=function(){return L.flush()},P.cancel=function(){P.isDebouncing=!1,L.cancel()}}}),_(v(P),"doNotify",function(){var R=P.props.onChange;R.apply(void 0,arguments)}),_(v(P),"forceNotify",function(R){var L=P.props.debounceTimeout;if(!(!P.isDebouncing&&L>0)){P.cancel&&P.cancel();var M=P.state.value,G=P.props.minLength;M.length>=G?P.doNotify(R):P.doNotify(u(u({},R),{},{target:u(u({},R.target),{},{value:M})}))}}),P.isDebouncing=!1,P.state={value:typeof k.value>"u"||k.value===null?"":k.value};var F=P.props.debounceTimeout;return P.createNotifier(F),P}
32return p(I,[{key:"componentDidUpdate",value:function(P){if(!this.isDebouncing){var F=this.props,R=F.value,L=F.debounceTimeout,M=P.debounceTimeout,G=P.value,re=this.state.value;typeof R<"u"&&G!==R&&re!==R&&this.setState({value:R}),L!==M&&this.createNotifier(L)}}},{key:"componentWillUnmount",value:function(){this.flush&&this.flush()}},{key:"render",value:function(){var P=this.props,F=P.element;P.onChange,P.value,P.minLength,P.debounceTimeout;var R=P.forceNotifyByEnter,L=P.forceNotifyOnBlur,M=P.onKeyDown,G=P.onBlur,re=P.inputRef,K=i(P,n),Z=this.state.value,X;R?X={onKeyDown:this.onKeyDown}:M?X={onKeyDown:M}:X={};var ee;L?ee={onBlur:this.onBlur}:G?ee={onBlur:G}:ee={};var ce=re?{ref:re}:{};return e.default.createElement(F,u(u(u(u({},K),{},{onChange:this.onChange,value:Z},X),ee),ce))}}]),I})(e.default.PureComponent);return Ro.DebounceInput=w,_(w,"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}),Ro}var o0,lP;function zJ(){if(lP)return o0;lP=1;var t=VJ(),e=t.DebounceInput;return e.DebounceInput=e,o0=e,o0}var WJ=zJ();const JJ=ut(WJ);var HJ=yf();const KJ=ut(HJ);var tc={exports:{}},u0={},l0,cP;function _f(){return cP||(cP=1,l0={ROOT:0,GROUP:1,POSITION:2,SET:3,RANGE:4,REPETITION:5,REFERENCE:6,CHAR:7}),l0}var qs={},fP;function Cq(){if(fP)return qs;fP=1;const t=_f(),e=()=>[{type:t.RANGE,from:48,to:57}],r=()=>[{type:t.CHAR,value:95},{type:t.RANGE,from:97,to:122},{type:t.RANGE,from:65,to:90}].concat(e()),n=()=>[{type:t.CHAR,value:9},{type:t.CHAR,value:10},{type:t.CHAR,value:11},{type:t.CHAR,value:12},{type:t.CHAR,value:13},{type:t.CHAR,value:32},{type:t.CHAR,value:160},{type:t.CHAR,value:5760},{type:t.RANGE,from:8192,to:8202},{type:t.CHAR,value:8232},{type:t.CHAR,value:8233},{type:t.CHAR,value:8239},{type:t.CHAR,value:8287},{type:t.CHAR,value:12288},{type:t.CHAR,value:65279}],s=()=>[{type:t.CHAR,value:10},{type:t.CHAR,value:13},{type:t.CHAR,value:8232},{type:t.CHAR,value:8233}];return qs.words=()=>({type:t.SET,set:r(),not:!1}),qs.notWords=()=>({type:t.SET,set:r(),not:!0}),qs.ints=()=>({type:t.SET,set:e(),not:!1}),qs.notInts=()=>({type:t.SET,set:e(),not:!0}),qs.whitespace=()=>({type:t.SET,set:n(),not:!1}),qs.notWhitespace=()=>({type:t.SET,set:n(),not:!0}),qs.anyChar=()=>({type:t.SET,set:s(),not:!0}),qs}var pP;function GJ(){return pP||(pP=1,(function(t){const e=_f(),r=Cq(),n="@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^ ?",s={0:0,t:9,n:10,v:11,f:12,r:13};t.strToChars=function(i){var a=/(\[\\b\])|(\\)?\\(?:u([A-F0-9]{4})|x([A-F0-9]{2})|(0?[0-7]{2})|c([@A-Z[\\\]^?])|([0tnvfr]))/g;return i=i.replace(a,function(o,u,l,c,p,m,d,g){if(l)return o;var y=u?8:c?parseInt(c,16):p?parseInt(p,16):m?parseInt(m,8):d?n.indexOf(d):s[g],v=String.fromCharCode(y);return/[[\]{}^$.|?*+()]/.test(v)&&(v="\\"+v),v}),i},t.tokenizeClass=(i,a)=>{for(var o=[],u=/\\(?:(w)|(d)|(s)|(W)|(D)|(S))|((?:(?:\\)(.)|([^\]\\]))-(?:\\)?([^\]]))|(\])|(?:\\)?([^])/g,l,c;(l=u.exec(i))!=null;)if(l[1])o.push(r.words());else if(l[2])o.push(r.ints());else if(l[3])o.push(r.whitespace());else if(l[4])o.push(r.notWords());else if(l[5])o.push(r.notInts());else if(l[6])o.push(r.notWhitespace());else if(l[7])o.push({type:e.RANGE,from:(l[8]||l[9]).charCodeAt(0),to:l[10].charCodeAt(0)});else if(c=l[12])o.push({type:e.CHAR,value:c.charCodeAt(0)});else return[o,u.lastIndex];t.error(a,"Unterminated character class")},t.error=(i,a)=>{throw new SyntaxError("Invalid regular expression: /"+i+"/: "+a)}})(u0)),u0}var xa={},dP;function YJ(){if(dP)return xa;dP=1;const t=_f();return xa.wordBoundary=()=>({type:t.POSITION,value:"b"}),xa.nonWordBoundary=()=>({type:t.POSITION,value:"B"}),xa.begin=()=>({type:t.POSITION,value:"^"}),xa.end=()=>({type:t.POSITION,value:"$"}),xa}var hP;function XJ(){if(hP)return tc.exports;hP=1;const t=GJ(),e=_f(),r=Cq(),n=YJ();return tc.exports=s=>{var i=0,a,o,u={type:e.ROOT,stack:[]},l=u,c=u.stack,p=[],m=S=>{t.error(s,`Nothing to repeat at column ${S-1}`)},d=t.strToChars(s);for(a=d.length;i<a;)switch(o=d[i++],o){case"\\":switch(o=d[i++],o){case"b":c.push(n.wordBoundary());break;case"B":c.push(n.nonWordBoundary());break;case"w":c.push(r.words());break;case"W":c.push(r.notWords());break;case"d":c.push(r.ints());break;case"D":c.push(r.notInts());break;case"s":c.push(r.whitespace());break;case"S":c.push(r.notWhitespace());break;default:/\d/.test(o)?c.push({type:e.REFERENCE,value:parseInt(o,10)}
32):c.push({type:e.CHAR,value:o.charCodeAt(0)})}break;case"^":c.push(n.begin());break;case"$":c.push(n.end());break;case"[":var g;d[i]==="^"?(g=!0,i++):g=!1;var y=t.tokenizeClass(d.slice(i),s);i+=y[1],c.push({type:e.SET,set:y[0],not:g});break;case".":c.push(r.anyChar());break;case"(":var v={type:e.GROUP,stack:[],remember:!0};o=d[i],o==="?"&&(o=d[i+1],i+=2,o==="="?v.followedBy=!0:o==="!"?v.notFollowedBy=!0:o!==":"&&t.error(s,`Invalid group, character '${o}' after '?' at column ${i-1}`),v.remember=!1),c.push(v),p.push(l),l=v,c=v.stack;break;case")":p.length===0&&t.error(s,`Unmatched ) at column ${i-1}`),l=p.pop(),c=l.options?l.options[l.options.length-1]:l.stack;break;case"|":l.options||(l.options=[l.stack],delete l.stack);var E=[];l.options.push(E),c=E;break;case"{":var b=/^(\d+)(,(\d+)?)?\}/.exec(d.slice(i)),_,w;b!==null?(c.length===0&&m(i),_=parseInt(b[1],10),w=b[2]?b[3]?parseInt(b[3],10):1/0:_,i+=b[0].length,c.push({type:e.REPETITION,min:_,max:w,value:c.pop()})):c.push({type:e.CHAR,value:123});break;case"?":c.length===0&&m(i),c.push({type:e.REPETITION,min:0,max:1,value:c.pop()});break;case"+":c.length===0&&m(i),c.push({type:e.REPETITION,min:1,max:1/0,value:c.pop()});break;case"*":c.length===0&&m(i),c.push({type:e.REPETITION,min:0,max:1/0,value:c.pop()});break;default:c.push({type:e.CHAR,value:o.charCodeAt(0)})}return p.length!==0&&t.error(s,"Unterminated group"),u},tc.exports.types=e,tc.exports}var c0,mP;function ZJ(){if(mP)return c0;mP=1;class t{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 t(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 t(this.low,n.low-1),new t(n.high+1,this.high)]:n.low<=this.low?[new t(n.high+1,this.high)]:[new t(this.low,n.low-1)]}toString(){return this.low==this.high?this.low.toString():this.low+"-"+this.high}}class e{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=a=>{for(var o=0;o<this.ranges.length&&!a.touches(this.ranges[o]);)o++;for(var u=this.ranges.slice(0,o);o<this.ranges.length&&a.touches(this.ranges[o]);)a=a.add(this.ranges[o]),o++;u.push(a),this.ranges=u.concat(this.ranges.slice(o)),this._update_length()};return n instanceof e?n.ranges.forEach(i):(s==null&&(s=n),i(new t(n,s))),this}subtract(n,s){var i=a=>{for(var o=0;o<this.ranges.length&&!a.overlaps(this.ranges[o]);)o++;for(var u=this.ranges.slice(0,o);o<this.ranges.length&&a.overlaps(this.ranges[o]);)u=u.concat(this.ranges[o].subtract(a)),o++;this.ranges=u.concat(this.ranges.slice(o)),this._update_length()};return n instanceof e?n.ranges.forEach(i):(s==null&&(s=n),i(new t(n,s))),this}intersect(n,s){var i=[],a=o=>{for(var u=0;u<this.ranges.length&&!o.overlaps(this.ranges[u]);)u++;for(;u<this.ranges.length&&o.overlaps(this.ranges[u]);){var l=Math.max(this.ranges[u].low,o.low),c=Math.min(this.ranges[u].high,o.high);i.push(new t(l,c)),u++}};return n instanceof e?n.ranges.forEach(a):(s==null&&(s=n),a(new t(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 e(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 c0=e,c0}var f0,gP;function QJ(){if(gP)return f0;gP=1;const t=XJ(),e=ZJ(),r=t.types;return f0=class Lo{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=t(s)}_setDefaults(s){this.max=s.max!=null?s.max:Lo.prototype.max!=null?Lo.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 a,o,u,l,c;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),a=s.options?this._randSelect(s.options):s.stack,o="",l=0,c=a.length;l<c;l++)o+=this._gen(a[l],i);return s.remember&&(i[s.groupNumber]=o),o;case r.POSITION:return"";case r.SET:var p=this._expand(s);return p.length?String.fromCharCode(this._randSelect(p)):"";case r.REPETITION:for(u=this.randInt(s.min,s.max===1/0?s.min+this.max:s.max),o="",l=0;l<u;l++)o+=this._gen(s.value,i);return o;case r.REFERENCE:return i[s.value-1]||"";case r.CHAR:var m=this.ignoreCase&&this._randBool()?this._toOtherCase(s.value):s.value;return String.fromCharCode(m)}}_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 e?s.index(this.randInt(0,s.length-1)):s[this.randInt(0,s.length-1)]}_expand(s){if(s.type===t.types.CHAR)return new e(s.value);if(s.type===t.types.RANGE)return new e(s.from,s.to);{let i=new e;for(let a=0;a<s.set.length;a++){let o=this._expand(s.set[a]);if(i.add(o),this.ignoreCase)for(let u=0;u<o.length;u++){let l=o.index(u),c=this._toOtherCase(l);l!==c&&i.add(c)}}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 e(32,126)}set defaultRange(s){this._range=s}static randexp(s,i){var a;return typeof s=="string"&&(s=new RegExp(s,i)),s._randexp===void 0?(a=new Lo(s,i),s._randexp=a):(a=s._randexp,a._setDefaults(s)),a.gen()}static sugar(){RegExp.prototype.gen=function(){return Lo.randexp(this)}}},f0}var eH=QJ();const tH=ut(eH);var p0,yP;function rH(){if(yP)return p0;yP=1;var t=A_(),e=ro(),r=Eu(),n=Rr(),s=ia(),i=Su(),a=gf(),o=vf(),u="[object Map]",l="[object Set]",c=Object.prototype,p=c.hasOwnProperty;function m(d){if(d==null)return!0;
32if(s(d)&&(n(d)||typeof d=="string"||typeof d.splice=="function"||i(d)||o(d)||r(d)))return!d.length;var g=e(d);if(g==u||g==l)return!d.size;if(a(d))return!t(d).length;for(var y in d)if(p.call(d,y))return!1;return!0}return p0=m,p0}var nH=rH();const sH=ut(nH);var iH=G3();const aH=ut(iH);var d0,vP;function Rq(){if(vP)return d0;vP=1;var t=Ys(),e=Rr(),r=an(),n="[object String]";function s(i){return typeof i=="string"||!e(i)&&r(i)&&t(i)==n}return d0=s,d0}var oH=Rq();const uH=ut(oH);var h0,bP;function lH(){if(bP)return h0;bP=1;var t=bf(),e=Au(),r=_u(),n=vn(),s=aa();function i(a,o,u,l){if(!n(a))return a;o=e(o,a);for(var c=-1,p=o.length,m=p-1,d=a;d!=null&&++c<p;){var g=s(o[c]),y=u;if(g==="__proto__"||g==="constructor"||g==="prototype")return a;if(c!=m){var v=d[g];y=l?l(v,g,d):void 0,y===void 0&&(y=n(v)?v:r(o[c+1])?[]:{})}t(d,g,y),d=d[g]}return a}return h0=i,h0}var m0,EP;function Iq(){if(EP)return m0;EP=1;var t=lH();function e(r,n,s){return r==null?r:t(r,n,s)}return m0=e,m0}var cH=Iq();const fH=ut(cH);var g0={},SP;function pH(){return SP||(SP=1,(function(t){t.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"},t.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"]},t.aryRearg={2:[1,0],3:[2,0,1],4:[3,2,0,1]},t.iterateeAry={dropRightWhile:1,dropWhile:1,every:1,filter:1,find:1,findFrom:1,findIndex:1,findIndexFrom:1,findKey:1,findLast:1,findLastFrom
32: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},t.iterateeRearg={mapKeys:[1],reduceRight:[1,0]},t.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]},t.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}},t.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}},t.realToAlias=(function(){var e=Object.prototype.hasOwnProperty,r=t.aliasToReal,n={};for(var s in r){var i=r[s];e.call(n,i)?n[i].push(s):n[i]=[s]}return n})(),t.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"},t.skipFixed={castArray:!0,flow:!0,flowRight:!0,iteratee:!0,mixin:!0,rearg:!0,runInContext:!0},t.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}})(g0)),g0}var y0,_P;function Tq(){return _P||(_P=1,y0={}),y0}var v0,wP;function dH(){if(wP)return v0;wP=1;var t=pH(),e=Tq(),r=Array.prototype.push;function n(c,p){return p==2?function(m,d){return c.apply(void 0,arguments)}:function(m){return c.apply(void 0,arguments)}}function s(c,p){return p==2?function(m,d){return c(m,d)}:function(m){return c(m)}}function i(c){for(var p=c?c.length:0,m=Array(p);p--;)m[p]=c[p];return m}function a(c){return function(p){return c({},p)}}function o(c,p){return function(){for(var m=arguments.length,d=m-1,g=Array(m);m--;)g[m]=arguments[m];var y=g[p],v=g.slice(0,p);return y&&r.apply(v,y),p!=d&&r.apply(v,g.slice(p+1)),c.apply(this,v)}}function u(c,p){return function(){var m=arguments.length;if(m){for(var d=Array(m);m--;)d[m]=arguments[m];var g=d[0]=p.apply(void 0,d);return c.apply(void 0,d),g}}}function l(c,p,m,d){var g=typeof p=="function",y=p===Object(p);if(y&&(d=m,m=p,p=void 0),m==null)throw new TypeError;d||(d={});var v={cap:"cap"in d?d.cap:!0,curry:"curry"in d?d.curry:!0,fixed:"fixed"in d?d.fixed:!0,immutable:"immutable"in d?d.immutable:!0,rearg:"rearg"in d?d.rearg:!0},E=g?m:e,b="curry"in d&&d.curry,_="fixed"in d&&d.fixed,w="rearg"in d&&d.rearg,S=g?m.runInContext():void 0,A=g?m:{ary:c.ary,assign:c.assign,clone:c.clone,curry:c.curry,forEac
32h:c.forEach,isArray:c.isArray,isError:c.isError,isFunction:c.isFunction,isWeakMap:c.isWeakMap,iteratee:c.iteratee,keys:c.keys,rearg:c.rearg,toInteger:c.toInteger,toPath:c.toPath},I=A.ary,k=A.assign,P=A.clone,F=A.curry,R=A.forEach,L=A.isArray,M=A.isError,G=A.isFunction,re=A.isWeakMap,K=A.keys,Z=A.rearg,X=A.toInteger,ee=A.toPath,ce=K(t.aryMethod),se={castArray:function(ge){return function(){var Se=arguments[0];return L(Se)?ge(i(Se)):ge.apply(void 0,arguments)}},iteratee:function(ge){return function(){var Se=arguments[0],we=arguments[1],$=ge(Se,we),C=$.length;return v.cap&&typeof we=="number"?(we=we>2?we-2:1,C&&C<=we?$:s($,we)):$}},mixin:function(ge){return function(Se){var we=this;if(!G(we))return ge(we,Object(Se));var $=[];return R(K(Se),function(C){G(Se[C])&&$.push([C,we.prototype[C]])}),ge(we,Object(Se)),R($,function(C){var j=C[1];G(j)?we.prototype[C[0]]=j:delete we.prototype[C[0]]}),we}},nthArg:function(ge){return function(Se){var we=Se<0?1:X(Se)+1;return F(ge(Se),we)}},rearg:function(ge){return function(Se,we){var $=we?we.length:0;return F(ge(Se,we),$)}},runInContext:function(ge){return function(Se){return l(c,ge(Se),d)}}};function ue(ge,Se){if(v.cap){var we=t.iterateeRearg[ge];if(we)return Me(Se,we);var $=!g&&t.iterateeAry[ge];if($)return ve(Se,$)}return Se}function ye(ge,Se,we){return b||v.curry&&we>1?F(Se,we):Se}function he(ge,Se,we){if(v.fixed&&(_||!t.skipFixed[ge])){var $=t.methodSpread[ge],C=$&&$.start;return C===void 0?I(Se,we):o(Se,C)}return Se}function te(ge,Se,we){return v.rearg&&we>1&&(w||!t.skipRearg[ge])?Z(Se,t.methodRearg[ge]||t.aryRearg[we]):Se}function W(ge,Se){Se=ee(Se);for(var we=-1,$=Se.length,C=$-1,j=P(Object(ge)),U=j;U!=null&&++we<$;){var Y=Se[we],ne=U[Y];ne!=null&&!(G(ne)||M(ne)||re(ne))&&(U[Y]=P(we==C?ne:Object(ne))),U=U[Y]}return j}function V(ge){return ke.runInContext.convert(ge)(void 0)}function me(ge,Se){var we=t.aliasToReal[ge]||ge,$=t.remap[we]||we,C=d;return function(j){var U=g?S:A,Y=g?S[$]:Se,ne=k(k({},C),j);return l(U,we,Y,ne)}}function ve(ge,Se){return Be(ge,function(we){return typeof we=="function"?s(we,Se):we})}function Me(ge,Se){return Be(ge,function(we){var $=Se.length;return n(Z(s(we,$),Se),$)})}function Be(ge,Se){return function(){var we=arguments.length;if(!we)return ge();for(var $=Array(we);we--;)$[we]=arguments[we];var C=v.rearg?0:we-1;return $[C]=Se($[C]),ge.apply(void 0,$)}}function Te(ge,Se,we){var $,C=t.aliasToReal[ge]||ge,j=Se,U=se[C];return U?j=U(Se):v.immutable&&(t.mutate.array[C]?j=u(Se,i):t.mutate.object[C]?j=u(Se,a(Se)):t.mutate.set[C]&&(j=u(Se,W))),R(ce,function(Y){return R(t.aryMethod[Y],function(ne){if(C==ne){var fe=t.methodSpread[C],Ne=fe&&fe.afterRearg;return $=Ne?he(C,te(C,j,Y),Y):te(C,he(C,j,Y),Y),$=ue(C,$),$=ye(C,$,Y),!1}}),!$}),$||($=j),$==Se&&($=b?F($,1):function(){return Se.apply(this,arguments)}),$.convert=me(C,Se),$.placeholder=Se.placeholder=we,$}if(!y)return Te(p,m,E);var ke=m,$e=[];return R(ce,function(ge){R(t.aryMethod[ge],function(Se){var we=ke[t.remap[Se]||Se];we&&$e.push([Se,Te(Se,we,ke)])})}),R(K(ke),function(ge){var Se=ke[ge];if(typeof Se=="function"){for(var we=$e.length;we--;)if($e[we][0]==ge)return;Se.convert=me(ge,Se),$e.push([ge,Se])}}),R($e,function(ge){ke[ge[0]]=ge[1]}),ke.convert=V,ke.placeholder=ke,R(K(ke),function(ge){R(t.realToAlias[ge]||[],function(Se){ke[Se]=ke[ge]})}),ke}return v0=l,v0}var b0,xP;function kq(){if(xP)return b0;xP=1;var t=uF(),e=t&&new t;return b0=e,b0}var E0,AP;function Pq(){if(AP)return E0;AP=1;var t=xu(),e=kq(),r=e?function(n,s){return e.set(n,s),n}:t;return E0=r,E0}var S0,OP;function wf(){if(OP)return S0;OP=1;var t=mf(),e=vn();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=t(n.prototype),a=n.apply(i,s);return e(a)?a:i}}return S0=r,S0}var _0,CP;function hH(){if(CP)return _0;CP=1;var t=wf(),e=bn(),r=1;function n(s,i,a){var o=i&r,u=t(s);function l(){var c=this&&this!==e&&this instanceof l?u:s;return c.apply(o?a:this,arguments)}return l}return _0=n,_0}var w0,RP;function jq(){if(RP)return w0;RP=1;var t=Math.max;function e(r,n,s,i){for(var a=-1,o=r.length,u=s.length,l=-1,c=n.length,p=t(o-u,0),m=Array(c+p),d=!i;++l<c;)m[l]=n[l];for(;++a<u;)(d||a<o)&&(m[s[a]]=r[a]);for(;p--;)m[l++]=r[a++];return m}return w0=e,w0}var x0,IP;function Nq(){if(IP)return x0;IP=1;var t=Math.max;function e(r,n,s,i){for(var a=-1,o=r.length,u=-1,l=s.length,c=-1,p=n.length,m=t(o-l,0),d=Array(m+p),g=!i;++a<m;)d[a]=r[a];for(var y=a;++c<p;)d[y+c]=n[c];for(;++u<l;)(g||a<o)&&(d[y+s[u]]=r[a++]);return d}return x0=e,x0}var A0,TP;function mH(){if(TP)return A0;TP=1;function t(e,r){for(var n=e.length,s=0;n--;)e[n]===r&&++s;return s}return A0=t,A0}var O0,kP;function H_(){if(kP)return O0;kP=1;function t(){}return O0=t,O0}var C0,PP;function K_(){if(PP)return C0;PP=1;var t=mf(),e=H_(),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=t(e.prototype),n.prototype.constructor=n,C0=n,C0}var R0,jP;function gH(){if(jP)return R0;jP=1;function t(){}return R0=t,R0}var I0,NP;
32function Mq(){if(NP)return I0;NP=1;var t=kq(),e=gH(),r=t?function(n){return t.get(n)}:e;return I0=r,I0}var T0,MP;function yH(){if(MP)return T0;MP=1;var t={};return T0=t,T0}var k0,DP;function vH(){if(DP)return k0;DP=1;var t=yH(),e=Object.prototype,r=e.hasOwnProperty;function n(s){for(var i=s.name+"",a=t[i],o=r.call(t,i)?a.length:0;o--;){var u=a[o],l=u.func;if(l==null||l==s)return u.name}return i}return k0=n,k0}var P0,FP;function Dq(){if(FP)return P0;FP=1;var t=mf(),e=H_();function r(n,s){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!s,this.__index__=0,this.__values__=void 0}return r.prototype=t(e.prototype),r.prototype.constructor=r,P0=r,P0}var j0,qP;function bH(){if(qP)return j0;qP=1;var t=K_(),e=Dq(),r=bu();function n(s){if(s instanceof t)return s.clone();var i=new e(s.__wrapped__,s.__chain__);return i.__actions__=r(s.__actions__),i.__index__=s.__index__,i.__values__=s.__values__,i}return j0=n,j0}var N0,BP;function EH(){if(BP)return N0;BP=1;var t=K_(),e=Dq(),r=H_(),n=Rr(),s=an(),i=bH(),a=Object.prototype,o=a.hasOwnProperty;function u(l){if(s(l)&&!n(l)&&!(l instanceof t)){if(l instanceof e)return l;if(o.call(l,"__wrapped__"))return i(l)}return new e(l)}return u.prototype=r.prototype,u.prototype.constructor=u,N0=u,N0}var M0,LP;function SH(){if(LP)return M0;LP=1;var t=K_(),e=Mq(),r=vH(),n=EH();function s(i){var a=r(i),o=n[a];if(typeof o!="function"||!(a in t.prototype))return!1;if(i===o)return!0;var u=e(o);return!!u&&i===u[0]}return M0=s,M0}var D0,$P;function Fq(){if($P)return D0;$P=1;var t=Pq(),e=Y3(),r=e(t);return D0=r,D0}var F0,UP;function _H(){if(UP)return F0;UP=1;var t=/\{\n\/\* \[wrapped with (.+)\] \*/,e=/,? & /;function r(n){var s=n.match(t);return s?s[1].split(e):[]}return F0=r,F0}var q0,VP;function wH(){if(VP)return q0;VP=1;var t=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;function e(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(t,`{
33/* [wrapped with `+n+`] */
34`)}return q0=e,q0}var B0,zP;function xH(){if(zP)return B0;zP=1;function t(e){return e!==e}return B0=t,B0}var L0,WP;function AH(){if(WP)return L0;WP=1;function t(e,r,n){for(var s=n-1,i=e.length;++s<i;)if(e[s]===r)return s;return-1}return L0=t,L0}var $0,JP;function OH(){if(JP)return $0;JP=1;var t=hF(),e=xH(),r=AH();function n(s,i,a){return i===i?r(s,i,a):t(s,e,a)}return $0=n,$0}var U0,HP;function CH(){if(HP)return U0;HP=1;var t=OH();function e(r,n){var s=r==null?0:r.length;return!!s&&t(r,n,0)>-1}return U0=e,U0}var V0,KP;function RH(){if(KP)return V0;KP=1;var t=T_(),e=CH(),r=1,n=2,s=8,i=16,a=32,o=64,u=128,l=256,c=512,p=[["ary",u],["bind",r],["bindKey",n],["curry",s],["curryRight",i],["flip",c],["partial",a],["partialRight",o],["rearg",l]];function m(d,g){return t(p,function(y){var v="_."+y[0];g&y[1]&&!e(d,v)&&d.push(v)}),d.sort()}return V0=m,V0}var z0,GP;function qq(){if(GP)return z0;GP=1;var t=_H(),e=wH(),r=S_(),n=RH();function s(i,a,o){var u=a+"";return r(i,e(u,n(t(u),o)))}return z0=s,z0}var W0,YP;function Bq(){if(YP)return W0;YP=1;var t=SH(),e=Fq(),r=qq(),n=4,s=8,i=32,a=64;function o(u,l,c,p,m,d,g,y,v,E){var b=l&s,_=b?g:void 0,w=b?void 0:g,S=b?d:void 0,A=b?void 0:d;l|=b?i:a,l&=~(b?a:i),l&n||(l&=-4);var I=[u,l,m,S,_,A,w,y,v,E],k=c.apply(void 0,I);return t(u)&&e(k,I),k.placeholder=p,r(k,u,l)}return W0=o,W0}var J0,XP;function Lq(){if(XP)return J0;XP=1;function t(e){var r=e;return r.placeholder}return J0=t,J0}var H0,ZP;function IH(){if(ZP)return H0;ZP=1;var t=bu(),e=_u(),r=Math.min;function n(s,i){for(var a=s.length,o=r(i.length,a),u=t(s);o--;){var l=i[o];s[o]=e(l,a)?u[l]:void 0}return s}return H0=n,H0}var K0,QP;function G_(){if(QP)return K0;QP=1;var t="__lodash_placeholder__";function e(r,n){for(var s=-1,i=r.length,a=0,o=[];++s<i;){var u=r[s];(u===n||u===t)&&(r[s]=t,o[a++]=s)}return o}return K0=e,K0}var G0,ej;function $q(){if(ej)return G0;ej=1;var t=jq(),e=Nq(),r=mH(),n=wf(),s=Bq(),i=Lq(),a=IH(),o=G_(),u=bn(),l=1,c=2,p=8,m=16,d=128,g=512;function y(v,E,b,_,w,S,A,I,k,P){var F=E&d,R=E&l,L=E&c,M=E&(p|m),G=E&g,re=L?void 0:n(v);function K(){for(var Z=arguments.length,X=Array(Z),ee=Z;ee--;)X[ee]=arguments[ee];if(M)var ce=i(K),se=r(X,ce);
34if(_&&(X=t(X,_,w,M)),S&&(X=e(X,S,A,M)),Z-=se,M&&Z<P){var ue=o(X,ce);return s(v,E,y,K.placeholder,b,X,ue,I,k,P-Z)}var ye=R?b:this,he=L?ye[v]:v;return Z=X.length,I?X=a(X,I):G&&Z>1&&X.reverse(),F&&k<Z&&(X.length=k),this&&this!==u&&this instanceof K&&(he=re||n(he)),he.apply(ye,X)}return K}return G0=y,G0}var Y0,tj;function TH(){if(tj)return Y0;tj=1;var t=E_(),e=wf(),r=$q(),n=Bq(),s=Lq(),i=G_(),a=bn();function o(u,l,c){var p=e(u);function m(){for(var d=arguments.length,g=Array(d),y=d,v=s(m);y--;)g[y]=arguments[y];var E=d<3&&g[0]!==v&&g[d-1]!==v?[]:i(g,v);if(d-=E.length,d<c)return n(u,l,r,m.placeholder,void 0,g,E,void 0,void 0,c-d);var b=this&&this!==a&&this instanceof m?p:u;return t(b,this,g)}return m}return Y0=o,Y0}var X0,rj;function kH(){if(rj)return X0;rj=1;var t=E_(),e=wf(),r=bn(),n=1;function s(i,a,o,u){var l=a&n,c=e(i);function p(){for(var m=-1,d=arguments.length,g=-1,y=u.length,v=Array(y+d),E=this&&this!==r&&this instanceof p?c:i;++g<y;)v[g]=u[g];for(;d--;)v[g++]=arguments[++m];return t(E,l?o:this,v)}return p}return X0=s,X0}var Z0,nj;function PH(){if(nj)return Z0;nj=1;var t=jq(),e=Nq(),r=G_(),n="__lodash_placeholder__",s=1,i=2,a=4,o=8,u=128,l=256,c=Math.min;function p(m,d){var g=m[1],y=d[1],v=g|y,E=v<(s|i|u),b=y==u&&g==o||y==u&&g==l&&m[7].length<=d[8]||y==(u|l)&&d[7].length<=d[8]&&g==o;if(!(E||b))return m;y&s&&(m[2]=d[2],v|=g&s?0:a);var _=d[3];if(_){var w=m[3];m[3]=w?t(w,_,d[4]):_,m[4]=w?r(m[3],n):d[4]}return _=d[5],_&&(w=m[5],m[5]=w?e(w,_,d[6]):_,m[6]=w?r(m[5],n):d[6]),_=d[7],_&&(m[7]=_),y&u&&(m[8]=m[8]==null?d[8]:c(m[8],d[8])),m[9]==null&&(m[9]=d[9]),m[0]=d[0],m[1]=v,m}return Z0=p,Z0}var Q0,sj;function Y_(){if(sj)return Q0;sj=1;var t=Pq(),e=hH(),r=TH(),n=$q(),s=kH(),i=Mq(),a=PH(),o=Fq(),u=qq(),l=I_(),c="Expected a function",p=1,m=2,d=8,g=16,y=32,v=64,E=Math.max;function b(_,w,S,A,I,k,P,F){var R=w&m;if(!R&&typeof _!="function")throw new TypeError(c);var L=A?A.length:0;if(L||(w&=-97,A=I=void 0),P=P===void 0?P:E(l(P),0),F=F===void 0?F:l(F),L-=I?I.length:0,w&v){var M=A,G=I;A=I=void 0}var re=R?void 0:i(_),K=[_,w,S,A,I,M,G,k,P,F];if(re&&a(K,re),_=K[0],w=K[1],S=K[2],A=K[3],I=K[4],F=K[9]=K[9]===void 0?R?0:_.length:E(K[9]-L,0),!F&&w&(d|g)&&(w&=-25),!w||w==p)var Z=e(_,w,S);else w==d||w==g?Z=r(_,w,F):(w==y||w==(p|y))&&!I.length?Z=s(_,w,S,A):Z=n.apply(void 0,K);var X=re?t:o;return u(X(Z,K),_,w)}return Q0=b,Q0}var eb,ij;function jH(){if(ij)return eb;ij=1;var t=Y_(),e=128;function r(n,s,i){return s=i?void 0:s,s=n&&s==null?n.length:s,t(n,e,void 0,void 0,void 0,void 0,s)}return eb=r,eb}var tb,aj;function NH(){if(aj)return tb;aj=1;var t=k_(),e=4;function r(n){return t(n,e)}return tb=r,tb}var rb,oj;function MH(){if(oj)return rb;oj=1;var t=Y_(),e=8;function r(n,s,i){s=i?void 0:s;var a=t(n,e,void 0,void 0,void 0,void 0,void 0,s);return a.placeholder=r.placeholder,a}return r.placeholder={},rb=r,rb}var nb,uj;function DH(){if(uj)return nb;uj=1;var t=Ys(),e=an(),r=yf(),n="[object DOMException]",s="[object Error]";function i(a){if(!e(a))return!1;var o=t(a);return o==s||o==n||typeof a.message=="string"&&typeof a.name=="string"&&!r(a)}return nb=i,nb}var sb,lj;function FH(){if(lj)return sb;lj=1;var t=ro(),e=an(),r="[object WeakMap]";function n(s){return e(s)&&t(s)==r}return sb=n,sb}var ib,cj;function qH(){if(cj)return ib;cj=1;var t=k_(),e=Ou(),r=1;function n(s){return e(typeof s=="function"?s:t(s,r))}return ib=n,ib}var ab,fj;function BH(){if(fj)return ab;fj=1;var t=Y_(),e=bF(),r=256,n=e(function(s,i){return t(s,r,void 0,void 0,void 0,i)});return ab=n,ab}var ob,pj;function LH(){if(pj)return ob;pj=1;var t=__(),e=bu(),r=Rr(),n=of(),s=fF(),i=aa(),a=Xs();function o(u){return r(u)?t(u,i):n(u)?[u]:e(s(a(u)))}return ob=o,ob}var ub,dj;function $H(){return dj||(dj=1,ub={ary:jH(),assign:gF(),clone:NH(),curry:MH(),forEach:T_(),isArray:Rr(),isError:DH(),isFunction:vu(),isWeakMap:FH(),iteratee:qH(),keys:A_(),rearg:BH(),toInteger:I_(),toPath:LH()}),ub}var lb,hj;function UH(){if(hj)return lb;hj=1;var t=dH(),e=$H();function r(n,s,i){return t(e,n,s,i)}return lb=r,lb}var cb,mj;function Uq(){if(mj)return cb;mj=1;var t=UH(),e=t("set",Iq());return e.placeholder=Tq(),cb=e,cb}var fb,gj;function VH(){return gj||(gj=1,fb=Uq()),fb}var zH=VH();const WH=ut(zH);var JH=(function(){var t=function(e,r){return t=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])},t(e,r)};return function(e,r){t(e,r);function n(){this.constructor=e}
vendor: 5,257 bytes, lines 34-35
34e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}})(),HH=Object.prototype.hasOwnProperty;function KS(t,e){return HH.call(t,e)}function GS(t){if(Array.isArray(t)){for(var e=new Array(t.length),r=0;r<e.length;r++)e[r]=""+r;return e}if(Object.keys)return Object.keys(t);var n=[];for(var s in t)KS(t,s)&&n.push(s);return n}function mn(t){switch(typeof t){case"object":return JSON.parse(JSON.stringify(t));case"undefined":return null;default:return t}}function YS(t){for(var e=0,r=t.length,n;e<r;){if(n=t.charCodeAt(e),n>=48&&n<=57){e++;continue}return!1}return!0}function Vi(t){return t.indexOf("/")===-1&&t.indexOf("~")===-1?t:t.replace(/~/g,"~0").replace(/\//g,"~1")}function Vq(t){return t.replace(/~1/g,"/").replace(/~0/g,"~")}function XS(t){if(t===void 0)return!0;if(t){if(Array.isArray(t)){for(var e=0,r=t.length;e<r;e++)if(XS(t[e]))return!0}else if(typeof t=="object"){for(var n=GS(t),s=n.length,i=0;i<s;i++)if(XS(t[n[i]]))return!0}}return!1}function yj(t,e){var r=[t];for(var n in e){var s=typeof e[n]=="object"?JSON.stringify(e[n],null,2):e[n];typeof s<"u"&&r.push(n+": "+s)}return r.join(`
35`)}var zq=(function(t){JH(e,t);function e(r,n,s,i,a){var o=this.constructor,u=t.call(this,yj(r,{name:n,index:s,operation:i,tree:a}))||this;return u.name=n,u.index=s,u.operation=i,u.tree=a,Object.setPrototypeOf(u,o.prototype),u.message=yj(r,{name:n,index:s,operation:i,tree:a}),u}return e})(Error),or=zq,KH=mn,Ma={add:function(t,e,r){return t[e]=this.value,{newDocument:r}},remove:function(t,e,r){var n=t[e];return delete t[e],{newDocument:r,removed:n}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:function(t,e,r){var n=nu(r,this.path);n&&(n=mn(n));var s=Ki(r,{op:"remove",path:this.from}).removed;return Ki(r,{op:"add",path:this.path,value:s}),{newDocument:r,removed:n}},copy:function(t,e,r){var n=nu(r,this.from);return Ki(r,{op:"add",path:this.path,value:mn(n)}),{newDocument:r}},test:function(t,e,r){return{newDocument:r,test:su(t[e],this.value)}},_get:function(t,e,r){return this.value=t[e],{newDocument:r}}},GH={add:function(t,e,r){return YS(e)?t.splice(e,0,this.value):t[e]=this.value,{newDocument:r,index:e}},remove:function(t,e,r){var n=t.splice(e,1);return{newDocument:r,removed:n[0]}},replace:function(t,e,r){var n=t[e];return t[e]=this.value,{newDocument:r,removed:n}},move:Ma.move,copy:Ma.copy,test:Ma.test,_get:Ma._get};function nu(t,e){if(e=="")return t;var r={op:"_get",path:e};return Ki(t,r),r.value}function Ki(t,e,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(e,0,t,e.path):Bc(e,0)),e.path===""){var a={newDocument:t};if(e.op==="add")return a.newDocument=e.value,a;if(e.op==="replace")return a.newDocument=e.value,a.removed=t,a;if(e.op==="move"||e.op==="copy")return a.newDocument=nu(t,e.from),e.op==="move"&&(a.removed=t),a;if(e.op==="test"){if(a.test=su(t,e.value),a.test===!1)throw new or("Test operation failed","TEST_OPERATION_FAILED",i,e,t);return a.newDocument=t,a}else{if(e.op==="remove")return a.removed=t,a.newDocument=null,a;if(e.op==="_get")return e.value=t,a;if(r)throw new or("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",i,e,t);return a}}else{n||(t=mn(t));var o=e.path||"",u=o.split("/"),l=t,c=1,p=u.length,m=void 0,d=void 0,g=void 0;for(typeof r=="function"?g=r:g=Bc;;){if(d=u[c],d&&d.indexOf("~")!=-1&&(d=Vq(d)),s&&(d=="__proto__"||d=="prototype"&&c>0&&u[c-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&&m===void 0&&(l[d]===void 0?m=u.slice(0,c).join("/"):c==p-1&&(m=e.path),m!==void 0&&g(e,0,t,m)),c++,Array.isArray(l)){if(d==="-")d=l.length;else{if(r&&!YS(d))throw new or("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,e,t);YS(d)&&(d=~~d)}if(c>=p){if(r&&e.op==="add"&&d>l.length)throw new or("The specified index MUST NOT be greater than the number of elements in the array","OPERATION_VALUE_OUT_OF_BOUNDS",i,e,t);var a=GH[e.op].call(e,l,d,t);if(a.test===!1)throw new or("Test operation failed","TEST_OPERATION_FAILED",i,e,t);return a}}else if(c>=p){var a=Ma[e.op].call(e,l,d,t);if(a.test===!1)throw new or("Test operation failed","TEST_OPERATION_FAILED",i,e,t);return a}if(l=l[d],r&&c<p&&(!l||typeof l!="object"))throw new or("Cannot perform operation at the desired path","OPERATION_PATH_UNRESOLVABLE",i,e,t)}}}function yi(t,e,r,n,s){if(n===void 0&&(n=!0),s===void 0&&(s=!0),r&&!Array.isArray(e))throw new or("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");n||(t=mn(t));for(var i=new Array(e.length),a=0,o=e.length;a<o;a++)i[a]=Ki(t,e[a],r,!0,s,a),t=i[a].newDocument;return i.newDocument=t,i}function YH(t,e,r){var n=Ki(t,e);if(n.test===!1)throw new or("Test operation failed","TEST_OPERATION_FAILED",r,e,t);return n.newDocument}function Bc(t,e,r,n){if(typeof t!="object"||t===null||Array.isArray(t))throw new or("Operation is not an object","OPERATION_NOT_AN_OBJECT",e,t,r);
vendor: 4,970 bytes, line 35
35if(Ma[t.op]){if(typeof t.path!="string")throw new or("Operation `path` property is not a string","OPERATION_PATH_INVALID",e,t,r);if(t.path.indexOf("/")!==0&&t.path.length>0)throw new or('Operation `path` property must start with "/"',"OPERATION_PATH_INVALID",e,t,r);if((t.op==="move"||t.op==="copy")&&typeof t.from!="string")throw new or("Operation `from` property is not present (applicable in `move` and `copy` operations)","OPERATION_FROM_REQUIRED",e,t,r);if((t.op==="add"||t.op==="replace"||t.op==="test")&&t.value===void 0)throw new or("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_REQUIRED",e,t,r);if((t.op==="add"||t.op==="replace"||t.op==="test")&&XS(t.value))throw new or("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)","OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED",e,t,r);if(r){if(t.op=="add"){var s=t.path.split("/").length,i=n.split("/").length;if(s!==i+1&&s!==i)throw new or("Cannot perform an `add` operation at the desired path","OPERATION_PATH_CANNOT_ADD",e,t,r)}else if(t.op==="replace"||t.op==="remove"||t.op==="_get"){if(t.path!==n)throw new or("Cannot perform the operation at a path that does not exist","OPERATION_PATH_UNRESOLVABLE",e,t,r)}else if(t.op==="move"||t.op==="copy"){var a={op:"_get",path:t.from,value:void 0},o=Wq([a],r);if(o&&o.name==="OPERATION_PATH_UNRESOLVABLE")throw new or("Cannot perform the operation from a path that does not exist","OPERATION_FROM_UNRESOLVABLE",e,t,r)}}}else throw new or("Operation `op` property is not one of operations defined in RFC-6902","OPERATION_OP_INVALID",e,t,r)}function Wq(t,e,r){try{if(!Array.isArray(t))throw new or("Patch sequence must be an array","SEQUENCE_NOT_AN_ARRAY");if(e)yi(mn(e),mn(t),r||!0);else{r=r||Bc;for(var n=0;n<t.length;n++)r(t[n],n,e,void 0)}}catch(s){if(s instanceof or)return s;throw s}}function su(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){var r=Array.isArray(t),n=Array.isArray(e),s,i,a;if(r&&n){if(i=t.length,i!=e.length)return!1;for(s=i;s--!==0;)if(!su(t[s],e[s]))return!1;return!0}if(r!=n)return!1;var o=Object.keys(t);if(i=o.length,i!==Object.keys(e).length)return!1;for(s=i;s--!==0;)if(!e.hasOwnProperty(o[s]))return!1;for(s=i;s--!==0;)if(a=o[s],!su(t[a],e[a]))return!1;return!0}return t!==t&&e!==e}const XH=Object.freeze(Object.defineProperty({__proto__:null,JsonPatchError:or,_areEquals:su,applyOperation:Ki,applyPatch:yi,applyReducer:YH,deepClone:KH,getValueByPointer:nu,validate:Wq,validator:Bc},Symbol.toStringTag,{value:"Module"}));var X_=new WeakMap,ZH=(function(){function t(e){this.observers=new Map,this.obj=e}return t})(),QH=(function(){function t(e,r){this.callback=e,this.observer=r}return t})();function eK(t){return X_.get(t)}function tK(t,e){return t.observers.get(e)}function rK(t,e){t.observers.delete(e.callback)}function nK(t,e){e.unobserve()}function sK(t,e){var r=[],n,s=eK(t);if(!s)s=new ZH(t),X_.set(t,s);else{var i=tK(s,e);n=i&&i.observer}if(n)return n;if(n={},s.value=mn(t),e){n.callback=e,n.next=null;var a=function(){ZS(n)},o=function(){clearTimeout(n.next),n.next=setTimeout(a)};typeof window<"u"&&(window.addEventListener("mouseup",o),window.addEventListener("keyup",o),window.addEventListener("mousedown",o),window.addEventListener("keydown",o),window.addEventListener("change",o))}return n.patches=r,n.object=t,n.unobserve=function(){ZS(n),clearTimeout(n.next),rK(s,n),typeof window<"u"&&(window.removeEventListener("mouseup",o),window.removeEventListener("keyup",o),window.removeEventListener("mousedown",o),window.removeEventListener("keydown",o),window.removeEventListener("change",o))},s.observers.set(e,new QH(e,n)),n}function ZS(t,e){e===void 0&&(e=!1);var r=X_.get(t.object);Z_(r.value,t.object,t.patches,"",e),t.patches.length&&yi(r.value,t.patches);var n=t.patches;return n.length>0&&(t.patches=[],t.callback&&t.callback(n)),n}function Z_(t,e,r,n,s){if(e!==t){typeof e.toJSON=="function"&&(e=e.toJSON());for(var i=GS(e),a=GS(t),o=!1,u=a.length-1;u>=0;u--){var l=a[u],c=t[l];if(KS(e,l)&&!(e[l]===void 0&&c!==void 0&&Array.isArray(e)===!1)){var p=e[l];typeof c=="object"&&c!=null&&typeof p=="object"&&p!=null&&Array.isArray(c)===Array.isArray(p)?Z_(c,p,r,n+"/"+Vi(l),s):c!==p&&(s&&r.push({op:"test",path:n+"/"+Vi(l),value:mn(c)}),r.push({op:"replace",path:n+"/"+Vi(l),value:mn(p)}))}else Array.isArray(t)===Array.isArray(e)?(s&&r.push({op:"test",path:n+"/"+Vi(l),value:mn(c)}),r.push({op:"remove",path:n+"/"+Vi(l)}),o=!0):(s&&r.push({op:"test",path:n,value:t}),r.push({op:"replace",path:n,value:e}))}if(!(!o&&i.length==a.length))for(var u=0;u<i.length;u++){var l=i[u];!KS(t,l)&&e[l]!==void 0&&r.push({op:"add",path:n+"/"+Vi(l),value:mn(e[l])})}}}function iK(t,e,r){r===void 0&&(r=!1);var n=[];return Z_(t,e,n,"",r),n}const aK=Object.freeze(Object.defineProperty({__proto__:null,compare:iK,generate:ZS,observe:sK,unobserve:nK},Symbol.toStringTag,{value:"Module"}));Object.assign({}
35,XH,aK,{JsonPatchError:zq,deepClone:mn,escapePathComponent:Vi,unescapePathComponent:Vq});var pb,vj;function oK(){if(vj)return pb;vj=1;var t=function(b){return e(b)&&!r(b)};function e(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 a(E){return Array.isArray(E)?[]:{}}function o(E,b){return b.clone!==!1&&b.isMergeableObject(E)?y(a(E),E,b):E}function u(E,b,_){return E.concat(b).map(function(w){return o(w,_)})}function l(E,b){if(!b.customMerge)return y;var _=b.customMerge(E);return typeof _=="function"?_:y}function c(E){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(E).filter(function(b){return Object.propertyIsEnumerable.call(E,b)}):[]}function p(E){return Object.keys(E).concat(c(E))}function m(E,b){try{return b in E}catch{return!1}}function d(E,b){return m(E,b)&&!(Object.hasOwnProperty.call(E,b)&&Object.propertyIsEnumerable.call(E,b))}function g(E,b,_){var w={};return _.isMergeableObject(E)&&p(E).forEach(function(S){w[S]=o(E[S],_)}),p(b).forEach(function(S){d(E,S)||(m(E,S)&&_.isMergeableObject(b[S])?w[S]=l(S,_)(E[S],b[S],_):w[S]=o(b[S],_))}),w}function y(E,b,_){_=_||{},_.arrayMerge=_.arrayMerge||u,_.isMergeableObject=_.isMergeableObject||t,_.cloneUnlessOtherwiseSpecified=o;var w=Array.isArray(b),S=Array.isArray(E),A=w===S;return A?w?_.arrayMerge(E,b,_):g(E,b,_):o(b,_)}y.all=function(b,_){if(!Array.isArray(b))throw new Error("first argument should be an array");return b.reduce(function(w,S){return y(w,S,_)},{})};var v=y;return pb=v,pb}var uK=oK();const bj=ut(uK),qt={add:cK,replace:Sc,remove:fK,merge:pK,mergeDeep:dK,context:hK,getIn:vK,applyPatch:lK,parentPathMatch:yK,flatten:Mu,fullyNormalizeArray:bK,normalizeArray:Hq,isPromise:EK,forEachNew:mK,forEachNewPrimitive:gK,isJsonPatch:Yq,isContextPatch:wK,isPatch:xf,isMutation:Xq,isAdditiveMutation:Lc,isGenerator:_K,isFunction:Gq,isObject:Gi,isError:SK};function lK(t,e,r){if(r=r||{},e={...e,path:e.path&&Ej(e.path)},e.op==="merge"){const n=db(t,e.path);Object.assign(n,e.value),yi(t,[Sc(e.path,n)])}else if(e.op==="mergeDeep"){const n=db(t,e.path),s=bj(n,e.value,{customMerge:i=>{if(i==="enum")return(a,o)=>Array.isArray(a)&&Array.isArray(o)?[...new Set([...a,...o])]:bj(a,o)}});t=yi(t,[Sc(e.path,s)]).newDocument}else if(e.op==="add"&&e.path===""&&Gi(e.value)){const n=Object.keys(e.value).reduce((s,i)=>(s.push({op:"add",path:`/${Ej(i)}`,value:e.value[i]}),s),[]);yi(t,n)}else if(e.op==="replace"&&e.path===""){let{value:n}=e;r.allowMetaPatches&&e.meta&&Lc(e)&&(Array.isArray(e.value)||Gi(e.value))&&(n={...n,...e.meta}
35),t=n}else if(yi(t,[e]),r.allowMetaPatches&&e.meta&&Lc(e)&&(Array.isArray(e.value)||Gi(e.value))){const s={...db(t,e.path),...e.meta};yi(t,[Sc(e.path,s)])}return t}function Ej(t){return Array.isArray(t)?t.length<1?"":`/${t.map(e=>(e+"").replace(/~/g,"~0").replace(/\//g,"~1")).join("/")}`:t}function cK(t,e){return{op:"add",path:t,value:e}}function Sc(t,e,r){return{op:"replace",path:t,value:e,meta:r}}function fK(t){return{op:"remove",path:t}}function pK(t,e){return{type:"mutation",op:"merge",path:t,value:e}}function dK(t,e){return{type:"mutation",op:"mergeDeep",path:t,value:e}}function hK(t,e){return{type:"context",path:t,value:e}}function mK(t,e){try{return Jq(t,e1,e)}catch(r){return r}}function gK(t,e){try{return Jq(t,QS,e)}catch(r){return r}}function Jq(t,e,r){const n=t.filter(Lc).map(a=>e(a.value,r,a.path))||[],s=Mu(n);return Kq(s)}function QS(t,e,r){return r=r||[],Array.isArray(t)?t.map((n,s)=>QS(n,e,r.concat(s))):Gi(t)?Object.keys(t).map(n=>QS(t[n],e,r.concat(n))):e(t,r[r.length-1],r)}function e1(t,e,r){r=r||[];let n=[];if(r.length>0){const s=e(t,r[r.length-1],r);s&&(n=n.concat(s))}if(Array.isArray(t)){const s=t.map((i,a)=>e1(i,e,r.concat(a)));s&&(n=n.concat(s))}else if(Gi(t)){const s=Object.keys(t).map(i=>e1(t[i],e,r.concat(i)));s&&(n=n.concat(s))}return n=Mu(n),n}function yK(t,e){if(!Array.isArray(e))return!1;for(let r=0,n=e.length;r<n;r+=1)if(e[r]!==t[r])return!1;return!0}function vK(t,e){return e.reduce((r,n)=>typeof n<"u"&&r?r[n]:r,t)}function bK(t){return Kq(Mu(Hq(t)))}function Hq(t){return Array.isArray(t)?t:[t]}function Mu(t){return[].concat(...t.map(e=>Array.isArray(e)?Mu(e):e))}function Kq(t){return t.filter(e=>typeof e<"u")}function Gi(t){return t&&typeof t=="object"}function EK(t){return Gi(t)&&Gq(t.then)}function Gq(t){return t&&typeof t=="function"}function SK(t){return t instanceof Error}function Yq(t){if(xf(t)){const{op:e}=t;return e==="add"||e==="remove"||e==="replace"}return!1}function _K(t){return Object.prototype.toString.call(t)==="[object GeneratorFunction]"}function Xq(t){return Yq(t)||xf(t)&&t.type==="mutation"}function Lc(t){return Xq(t)&&(t.op==="add"||t.op==="replace"||t.op==="merge"||t.op==="mergeDeep")}function wK(t){return xf(t)&&t.type==="context"}function xf(t){return t&&typeof t=="object"}function db(t,e){try{return nu(t,e)}catch(r){return console.error(r),{}}}var Sj={},_j={},wj={},hb,xj;function Q_(){if(xj)return hb;xj=1;var t=mq(),e=gq(),r=t("keys");return hb=function(n){return r[n]||(r[n]=e(n))},hb}var mb,Aj;function xK(){if(Aj)return mb;Aj=1;var t=Ln();return mb=!t(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),mb}var gb,Oj;function ew(){if(Oj)return gb;Oj=1;var t=as(),e=En(),r=V_(),n=Q_(),s=xK(),i=n("IE_PROTO"),a=Object,o=a.prototype;return gb=s?a.getPrototypeOf:function(u){var l=r(u);if(t(l,i))return l[i];var c=l.constructor;return e(c)&&l instanceof c?c.prototype:l instanceof a?o:null},gb}var yb,Cj;function AK(){if(Cj)return yb;Cj=1;var t=un(),e=ju();return yb=function(r,n,s){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[s]))}catch{}},yb}var vb,Rj;function OK(){if(Rj)return vb;Rj=1;var t=is();return vb=function(e){return t(e)||e===null},vb}var bb,Ij;function CK(){if(Ij)return bb;Ij=1;var t=OK(),e=String,r=TypeError;return bb=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")},bb}var Eb,Tj;function Af(){if(Tj)return Eb;Tj=1;var t=AK(),e=is(),r=Sf(),n=CK();return Eb=Object.setPrototypeOf||("__proto__"in{}?(function(){var s=!1,i={},a;try{a=t(Object.prototype,"__proto__","set"),a(i,[]),s=i instanceof Array}catch{}return function(u,l){return r(u),n(l),e(u)&&(s?a(u,l):u.__proto__=l),u}})():void 0),Eb}var Sb={},kj;function RK(){if(kj)return Sb;kj=1;var t=xq(),e=J_(),r=e.concat("length","prototype");return Sb.f=Object.getOwnPropertyNames||function(s){return t(s,r)},Sb}var _b,Pj;function IK(){if(Pj)return _b;Pj=1;var t=ku(),e=un(),r=RK(),n=Oq(),s=oa(),i=e([].concat);return _b=t("Reflect","ownKeys")||function(o){var u=r.f(s(o)),l=n.f;return l?i(u,l(o)):u},_b}var wb,jj;function Zq(){if(jj)return wb;jj=1;var t=as(),e=IK(),r=Eq(),n=no();return wb=function(s,i,a){for(var o=e(i),u=n.f,l=r.f,c=0;c<o.length;c++){var p=o[c];!t(s,p)&&!(a&&t(a,p))&&u(s,p,l(i,p))}},wb}var xb={},Nj;function TK(){if(Nj)return xb;Nj=1;var t=Cs(),e=_q(),r=no(),n=oa(),s=Iu(),i=Aq();return xb.f=t&&!e?Object.defineProperties:function(o,u){n(o);for(var l=s(u),c=i(u),p=c.length,m=0,d;p>m;)r.f(o,d=c[m++],l[d]);return o},xb}var Ab,Mj;function kK(){if(Mj)return Ab;Mj=1;var t=ku();return Ab=t("document","documentElement"),Ab}var Ob,Dj;
35function tw(){if(Dj)return Ob;Dj=1;var t=oa(),e=TK(),r=J_(),n=W_(),s=kK(),i=vq(),a=Q_(),o=">",u="<",l="prototype",c="script",p=a("IE_PROTO"),m=function(){},d=function(b){return u+c+o+b+u+"/"+c+o},g=function(b){b.write(d("")),b.close();var _=b.parentWindow.Object;return b=null,_},y=function(){var b=i("iframe"),_="java"+c+":",w;return b.style.display="none",s.appendChild(b),b.src=String(_),w=b.contentWindow.document,w.open(),w.write(d("document.F=Object")),w.close(),w.F},v,E=function(){try{v=new ActiveXObject("htmlfile")}catch{}E=typeof document<"u"?document.domain&&v?g(v):y():g(v);for(var b=r.length;b--;)delete E[l][r[b]];return E()};return n[p]=!0,Ob=Object.create||function(_,w){var S;return _!==null?(m[l]=t(_),S=new m,m[l]=null,S[p]=_):S=E(),w===void 0?S:e.f(S,w)},Ob}var Cb,Fj;function Qq(){if(Fj)return Cb;Fj=1;var t=is(),e=Qs();return Cb=function(r,n){t(n)&&"cause"in n&&e(r,"cause",n.cause)},Cb}var Rb,qj;function PK(){if(qj)return Rb;qj=1;var t=un(),e=Error,r=t("".replace),n=(function(a){return String(new e(a).stack)})("zxcasd"),s=/\n\s*at [^:]*:[^\n]*/,i=s.test(n);return Rb=function(a,o){if(i&&typeof a=="string"&&!e.prepareStackTrace)for(;o--;)a=r(a,s,"");return a},Rb}var Ib,Bj;function jK(){if(Bj)return Ib;Bj=1;var t=Ln(),e=Ru();return Ib=!t(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",e(1,7)),r.stack!==7):!0}),Ib}var Tb,Lj;function eB(){if(Lj)return Tb;Lj=1;var t=Qs(),e=PK(),r=jK(),n=Error.captureStackTrace;return Tb=function(s,i,a,o){r&&(n?n(s,i):t(s,"stack",e(a,o)))},Tb}var kb,$j;function io(){return $j||($j=1,kb={}),kb}var Pb,Uj;function NK(){if(Uj)return Pb;Uj=1;var t=Zs(),e=io(),r=t("iterator"),n=Array.prototype;return Pb=function(s){return s!==void 0&&(e.Array===s||n[r]===s)},Pb}var jb,Vj;function rw(){if(Vj)return jb;Vj=1;var t=Zs(),e=t("toStringTag"),r={};return r[e]="z",jb=String(r)==="[object z]",jb}var Nb,zj;function nw(){if(zj)return Nb;zj=1;var t=rw(),e=En(),r=B_(),n=Zs(),s=n("toStringTag"),i=Object,a=r((function(){return arguments})())==="Arguments",o=function(u,l){try{return u[l]}catch{}};return Nb=t?r:function(u){var l,c,p;return u===void 0?"Undefined":u===null?"Null":typeof(c=o(l=i(u),s))=="string"?c:a?r(l):(p=r(l))==="Object"&&e(l.callee)?"Arguments":p},Nb}var Mb,Wj;function tB(){if(Wj)return Mb;Wj=1;var t=nw(),e=U_(),r=L_(),n=io(),s=Zs(),i=s("iterator");return Mb=function(a){if(!r(a))return e(a,i)||e(a,"@@iterator")||n[t(a)]},Mb}var Db,Jj;function MK(){if(Jj)return Db;Jj=1;var t=Oi(),e=ju(),r=oa(),n=$_(),s=tB(),i=TypeError;return Db=function(a,o){var u=arguments.length<2?s(a):o;if(e(u))return r(t(u,a));throw new i(n(a)+" is not iterable")},Db}var Fb,Hj;function DK(){if(Hj)return Fb;Hj=1;var t=Oi(),e=oa(),r=U_();return Fb=function(n,s,i){var a,o;e(n);try{if(a=r(n,"return"),!a){if(s==="throw")throw i;return i}a=t(a,n)}catch(u){o=!0,a=u}if(s==="throw")throw i;if(o)throw a;return e(a),i},Fb}var qb,Kj;function FK(){if(Kj)return qb;Kj=1;var t=Sq(),e=Oi(),r=oa(),n=$_(),s=NK(),i=wq(),a=Pu(),o=MK(),u=tB(),l=DK(),c=TypeError,p=function(d,g){this.stopped=d,this.result=g},m=p.prototype;return qb=function(d,g,y){var v=y&&y.that,E=!!(y&&y.AS_ENTRIES),b=!!(y&&y.IS_RECORD),_=!!(y&&y.IS_ITERATOR),w=!!(y&&y.INTERRUPTED),S=t(g,v),A,I,k,P,F,R,L,M=function(re){return A&&l(A,"normal"),new p(!0,re)},G=function(re){return E?(r(re),w?S(re[0],re[1],M):S(re[0],re[1])):w?S(re,M):S(re)};if(b)A=d.iterator;else if(_)A=d;else{if(I=u(d),!I)throw new c(n(d)+" is not iterable");if(s(I)){for(k=0,P=i(d);P>k;k++)if(F=G(d[k]),F&&a(m,F))return F;return new p(!1)}A=o(d,I)}for(R=b?d.next:A.next;!(L=e(R,A)).done;){try{F=G(L.value)}catch(re){l(A,"throw",re)}if(typeof F=="object"&&F&&a(m,F))return F}return new p(!1)},qb}var Bb,Gj;function sw(){if(Gj)return Bb;Gj=1;var t=nw(),e=String;return Bb=function(r){if(t(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(r)},Bb}var Lb,Yj;function rB(){if(Yj)return Lb;Yj=1;var t=sw();return Lb=function(e,r){return e===void 0?arguments.length<2?"":r:t(e)},Lb}var Xj;function qK(){if(Xj)return wj;Xj=1;var t=so(),e=Pu(),r=ew(),n=Af(),s=Zq(),i=tw(),a=Qs(),o=Ru(),u=Qq(),l=eB(),c=FK(),p=rB(),m=Zs(),d=m("toStringTag"),g=Error,y=[].push,v=function(_,w){var S=e(E,this),A;n?A=n(new g,S?r(this):E):(A=S?this:i(E),a(A,d,"Error")),w!==void 0&&a(A,"message",p(w)),l(A,v,A.stack,1),arguments.length>2&&u(A,arguments[2]);var I=[];return c(_,y,{that:I}),a(A,"errors",I),A};n?n(v,g):s(v,g,{name:!0});var E=v.prototype=i(g.prototype,{constructor:o(1,v),message:o(1,""),name:o(1,"AggregateError")});return t({global:!0,constructor:!0,arity:2},{AggregateError:v}),wj}var Zj;function nB(){return Zj||(Zj=1,qK()),_j}var Qj;function sB(){return Qj||(Qj=1,nB()),Sj}var eN={},$b,tN;function BK(){if(tN)return $b;tN=1;var t=no().f;return $b=function(e,r,n){n in e||t(e,n,{configurable:!0,get:function(){return r[n]},set:function(s){r[n]=s}})},$b}var Ub,rN;function LK(){if(rN)return Ub;rN=1;var t=En(),e=is(),r=Af();return Ub=function(n,s,i){var a,o;return r&&t(a=s.constructor)&&a!==i&&e(o=a.prototype)&&o!==i.prototype&&r(n,o),n},Ub}var Vb,nN;function iB(){if(nN)return Vb;nN=1;var t=ku(),e=as(),r=Qs(),n=Pu(),s=Af(),i=Zq(),a=BK(),o=LK(),u=rB(),l=Qq(),c=eB(),p=Cs(),m=Nu();return Vb=function(d,g,y,v){var E="stackTraceLimit",b=v?2:1,_=d.split("."),w=_[_.length-1],S=t.apply(null,_);if(S){var A=S.prototype;if(!m&&e(A,"cause")&&delete A.cause,!y)return S;var I=t("Error"),k=g(function(P,F){var R=u(v?F:P,void 0),L=v?new S(P):new S;return R!==void 0&&r(L,"message",R),c(L,k,L.stack,2),this&&n(A,this)&&o(L,this,k),arguments.length>b&&l(L,arguments[b]),L});if(k.prototype=A,w!=="Error"?s?s(k,I):i(k,I,{name:!0}):p&&E in S&&(a(k,S,E),a(k,S,"prepareStackTrace")),i(k,S),!m)try{A.name!==w&&r(A,"name",w),A.constructor=k}catch{}return k}},Vb}var sN;function $K(){if(sN)return eN;sN=1;var t=so(),e=on(),r=q_(),n=iB(),s="WebAssembly",i=e[s],a=new Error("e",{cause:7}).cause!==7,o=function(l,c){var p={};p[l]=n(l,c,a),t({global:!0,constructor:!0,arity:1,forced:a},p)}
35,u=function(l,c){if(i&&i[l]){var p={};p[l]=n(s+"."+l,c,a),t({target:s,stat:!0,constructor:!0,arity:1,forced:a},p)}};return o("Error",function(l){return function(p){return r(l,this,arguments)}}),o("EvalError",function(l){return function(p){return r(l,this,arguments)}}),o("RangeError",function(l){return function(p){return r(l,this,arguments)}}),o("ReferenceError",function(l){return function(p){return r(l,this,arguments)}}),o("SyntaxError",function(l){return function(p){return r(l,this,arguments)}}),o("TypeError",function(l){return function(p){return r(l,this,arguments)}}),o("URIError",function(l){return function(p){return r(l,this,arguments)}}),u("CompileError",function(l){return function(p){return r(l,this,arguments)}}),u("LinkError",function(l){return function(p){return r(l,this,arguments)}}),u("RuntimeError",function(l){return function(p){return r(l,this,arguments)}}),eN}var iN={},aN;function UK(){if(aN)return iN;aN=1;var t=so(),e=ku(),r=q_(),n=Ln(),s=iB(),i="AggregateError",a=e(i),o=!n(function(){return a([1]).errors[0]!==1})&&n(function(){return a([1],i,{cause:7}).cause!==7});return t({global:!0,constructor:!0,arity:2,forced:o},{AggregateError:s(i,function(u){return function(c,p){return r(u,this,arguments)}},o,!0)}),iN}var zb,oN;function VK(){return oN||(oN=1,zb=function(){}),zb}var Wb,uN;function zK(){if(uN)return Wb;uN=1;var t=on(),e=En(),r=t.WeakMap;return Wb=e(r)&&/native code/.test(String(r)),Wb}var Jb,lN;function aB(){if(lN)return Jb;lN=1;var t=zK(),e=on(),r=is(),n=Qs(),s=as(),i=hq(),a=Q_(),o=W_(),u="Object already initialized",l=e.TypeError,c=e.WeakMap,p,m,d,g=function(b){return d(b)?m(b):p(b,{})},y=function(b){return function(_){var w;if(!r(_)||(w=m(_)).type!==b)throw new l("Incompatible receiver, "+b+" required");return w}};if(t||i.state){var v=i.state||(i.state=new c);v.get=v.get,v.has=v.has,v.set=v.set,p=function(b,_){if(v.has(b))throw new l(u);return _.facade=b,v.set(b,_),_},m=function(b){return v.get(b)||{}},d=function(b){return v.has(b)}}else{var E=a("state");o[E]=!0,p=function(b,_){if(s(b,E))throw new l(u);return _.facade=b,n(b,E,_),_},m=function(b){return s(b,E)?b[E]:{}},d=function(b){return s(b,E)}}return Jb={set:p,get:m,has:d,enforce:g,getterFor:y},Jb}var Hb,cN;function WK(){if(cN)return Hb;cN=1;var t=Cs(),e=as(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,s=e(r,"name"),i=s&&(function(){}).name==="something",a=s&&(!t||t&&n(r,"name").configurable);return Hb={EXISTS:s,PROPER:i,CONFIGURABLE:a},Hb}var Kb,fN;function oB(){if(fN)return Kb;fN=1;var t=Qs();return Kb=function(e,r,n,s){return s&&s.enumerable?e[r]=n:t(e,r,n),e},Kb}var Gb,pN;function uB(){if(pN)return Gb;pN=1;var t=Ln(),e=En(),r=is(),n=tw(),s=ew(),i=oB(),a=Zs(),o=Nu(),u=a("iterator"),l=!1,c,p,m;[].keys&&(m=[].keys(),"next"in m?(p=s(s(m)),p!==Object.prototype&&(c=p)):l=!0);var d=!r(c)||t(function(){var g={};return c[u].call(g)!==g});return d?c={}:o&&(c=n(c)),e(c[u])||i(c,u,function(){return this}),Gb={IteratorPrototype:c,BUGGY_SAFARI_ITERATORS:l},Gb}var Yb,dN;function JK(){if(dN)return Yb;dN=1;var t=rw(),e=nw();return Yb=t?{}.toString:function(){return"[object "+e(this)+"]"},Yb}var Xb,hN;function iw(){if(hN)return Xb;hN=1;var t=rw(),e=no().f,r=Qs(),n=as(),s=JK(),i=Zs(),a=i("toStringTag");return Xb=function(o,u,l,c){var p=l?o:o&&o.prototype;p&&(n(p,a)||e(p,a,{configurable:!0,value:u}),c&&!t&&r(p,"toString",s))},Xb}var Zb,mN;function HK(){if(mN)return Zb;mN=1;var t=uB().IteratorPrototype,e=tw(),r=Ru(),n=iw(),s=io(),i=function(){return this};return Zb=function(a,o,u,l){var c=o+" Iterator";return a.prototype=e(t,{next:r(+!l,u)}),n(a,c,!1,!0),s[c]=i,a},Zb}var Qb,gN;function lB(){if(gN)return Qb;gN=1;var t=so(),e=Oi(),r=Nu(),n=WK(),s=En(),i=HK(),a=ew(),o=Af(),u=iw(),l=Qs(),c=oB(),p=Zs(),m=io(),d=uB(),g=n.PROPER,y=n.CONFIGURABLE,v=d.IteratorPrototype,E=d.BUGGY_SAFARI_ITERATORS,b=p("iterator"),_="keys",w="values",S="entries",A=function(){return this};return Qb=function(I,k,P,F,R,L,M){i(P,k,F);var G=function(he){if(he===R&&ee)return ee;if(!E&&he&&he in Z)return Z[he];switch(he){case _:return function(){return new P(this,he)};case w:return function(){return new P(this,he)};case S:return function(){return new P(this,he)}}return function(){return new P(this)}},re=k+" Iterator",K=!1,Z=I.prototype,X=Z[b]||Z["@@iterator"]||R&&Z[R],ee=!E&&X||G(R),ce=k==="Array"&&Z.entries||X,se,ue,ye;if(ce&&(se=a(ce.call(new I)),se!==Object.prototype&&se.next&&(!r&&a(se)!==v&&(o?o(se,v):s(se[b])||c(se,b,A)),u(se,re,!0,!0),r&&(m[re]=A))),g&&R===w&&X&&X.name!==w&&(!r&&y?l(Z,"name",w):(K=!0,ee=function(){return e(X,this)})),R)if(ue={values:G(w),keys:L?ee:G(_),entries:G(S)}
35,M)for(ye in ue)(E||K||!(ye in Z))&&c(Z,ye,ue[ye]);else t({target:k,proto:!0,forced:E||K},ue);return(!r||M)&&Z[b]!==ee&&c(Z,b,ee,{name:R}),m[k]=ee,ue},Qb}var eE,yN;function cB(){return yN||(yN=1,eE=function(t,e){return{value:t,done:e}}),eE}var tE,vN;function fB(){if(vN)return tE;vN=1;var t=Iu(),e=VK(),r=io(),n=aB(),s=no().f,i=lB(),a=cB(),o=Nu(),u=Cs(),l="Array Iterator",c=n.set,p=n.getterFor(l);tE=i(Array,"Array",function(d,g){c(this,{type:l,target:t(d),index:0,kind:g})},function(){var d=p(this),g=d.target,y=d.index++;if(!g||y>=g.length)return d.target=null,a(void 0,!0);switch(d.kind){case"keys":return a(y,!1);case"values":return a(g[y],!1)}return a([y,g[y]],!1)},"values");var m=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!o&&u&&m.name!=="values")try{s(m,"name",{value:"values"})}catch{}return tE}var bN={},rE,EN;function KK(){if(EN)return rE;EN=1;var t=un(),e=z_(),r=sw(),n=Sf(),s=t("".charAt),i=t("".charCodeAt),a=t("".slice),o=function(u){return function(l,c){var p=r(n(l)),m=e(c),d=p.length,g,y;return m<0||m>=d?u?"":void 0:(g=i(p,m),g<55296||g>56319||m+1===d||(y=i(p,m+1))<56320||y>57343?u?s(p,m):g:u?a(p,m,m+2):(g-55296<<10)+(y-56320)+65536)}};return rE={codeAt:o(!1),charAt:o(!0)},rE}var SN;function GK(){if(SN)return bN;SN=1;var t=KK().charAt,e=sw(),r=aB(),n=lB(),s=cB(),i="String Iterator",a=r.set,o=r.getterFor(i);return n(String,"String",function(u){a(this,{type:i,string:e(u),index:0})},function(){var l=o(this),c=l.string,p=l.index,m;return p>=c.length?s(void 0,!0):(m=t(c,p),l.index+=m.length,s(m,!1))}),bN}var nE,_N;function YK(){if(_N)return nE;_N=1,$K(),nB(),UK(),fB(),GK();var t=Tu();return nE=t.AggregateError,nE}var wN={},sE,xN;function XK(){return xN||(xN=1,sE={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}),sE}var AN;function ZK(){if(AN)return wN;AN=1,fB();var t=XK(),e=on(),r=iw(),n=io();for(var s in t)r(e[s],s),n[s]=n.Array;return wN}var iE,ON;function QK(){if(ON)return iE;ON=1,sB();var t=YK();return ZK(),iE=t,iE}var aE,CN;function eG(){if(CN)return aE;CN=1;var t=QK();return aE=t,aE}var oE,RN;function tG(){if(RN)return oE;RN=1,sB();var t=eG();return oE=t,oE}var uE,IN;function rG(){return IN||(IN=1,uE=tG()),uE}var lE,TN;function nG(){return TN||(TN=1,lE=rG()),lE}var sG=nG();const iG=ut(sG);class aG extends iG{constructor(e,r,n){if(super(e,r,n),this.name=this.constructor.name,typeof r=="string"&&(this.message=r),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(r).stack,n!=null&&typeof n=="object"&&Object.hasOwn(n,"cause")&&!("cause"in this)){const{cause:s}=n;this.cause=s,s instanceof Error&&"stack"in s&&(this.stack=`${this.stack}
36CAUSE: ${s.stack}`)}}}class nr extends Error{static[Symbol.hasInstance](e){return super[Symbol.hasInstance](e)||Function.prototype[Symbol.hasInstance].call(aG,e)}constructor(e,r){if(super(e,r),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,r!=null&&typeof r=="object"&&Object.hasOwn(r,"cause")&&!("cause"in this)){const{cause:n}=r;this.cause=n,n instanceof Error&&"stack"in n&&(this.stack=`${this.stack}
37CAUSE: ${n.stack}`)}}}class xs extends nr{constructor(e,r){if(super(e,r),r!=null&&typeof r=="object"){const{cause:n,...s}=r;Object.assign(this,s)}}}class wt extends nr{}class cE extends wt{}var aw=function(){return!1},ei=function(){return!0};function Zt(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Bt(t){return function e(r){return arguments.length===0||Zt(r)?e:t.apply(this,arguments)}}function dt(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return Zt(r)?e:Bt(function(s){return t(r,s)});default:return Zt(r)&&Zt(n)?e:Zt(r)?Bt(function(s){return t(s,n)}):Zt(n)?Bt(function(s){return t(r,s)}):t(r,n)}}}function oG(t,e){t=t||[],e=e||[];var r,n=t.length,s=e.length,i=[];for(r=0;r<n;)i[i.length]=t[r],r+=1;for(r=0;r<s;)i[i.length]=e[r],r+=1;return i}function Of(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,s){return e.apply(this,arguments)};case 4:return function(r,n,s,i){return e.apply(this,arguments)};case 5:return function(r,n,s,i,a){return e.apply(this,arguments)};case 6:return function(r,n,s,i,a,o){return e.apply(this,arguments)};case 7:return function(r,n,s,i,a,o,u){return e.apply(this,arguments)};case 8:return function(r,n,s,i,a,o,u,l){return e.apply(this,arguments)};case 9:return function(r,n,s,i,a,o,u,l,c){return e.apply(this,arguments)};case 10:return function(r,n,s,i,a,o,u,l,c,p){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function ow(t,e,r){return function(){for(var n=[],s=0,i=t,a=0,o=!1;a<e.length||s<arguments.length;){var u;a<e.length&&(!Zt(e[a])||s>=arguments.length)?u=e[a]:(u=arguments[s],s+=1),n[a]=u,Zt(u)?o=!0:i-=1,a+=1}return!o&&i<=0?r.apply(this,n):Of(Math.max(0,i),ow(t,n,r))}}var yr=dt(function(e,r){return e===1?Bt(r):Of(e,ow(e,[],r))});function Ur(t){return function e(r,n,s){switch(arguments.length){case 0:return e;case 1:return Zt(r)?e:dt(function(i,a){return t(r,i,a)});case 2:return Zt(r)&&Zt(n)?e:Zt(r)?dt(function(i,a){return t(i,n,a)}):Zt(n)?dt(function(i,a){return t(r,i,a)}):Bt(function(i){return t(r,n,i)});default:return Zt(r)&&Zt(n)&&Zt(s)?e:Zt(r)&&Zt(n)?dt(function(i,a){return t(i,a,s)}):Zt(r)&&Zt(s)?dt(function(i,a){return t(i,n,a)}):Zt(n)&&Zt(s)?dt(function(i,a){return t(r,i,a)}):Zt(r)?Bt(function(i){return t(i,n,s)}):Zt(n)?Bt(function(i){return t(r,i,s)}):Zt(s)?Bt(function(i){return t(r,n,i)}):t(r,n,s)}}}const ua=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function uG(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ci(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!ua(n)){for(var s=0;s<t.length;){if(typeof n[t[s]]=="function")return n[t[s]].apply(n,Array.prototype.slice.call(arguments,0,-1));s+=1}if(uG(n)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(n)}}return r.apply(this,arguments)}}function Cf(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const yn={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};var lG=(function(){function t(e,r){this.xf=r,this.f=e,this.all=!0}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=function(e){return this.all&&(e=this.xf["@@transducer/step"](e,!0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.f(r)||(this.all=!1,e=Cf(this.xf["@@transducer/step"](e,!1))),e},t})();function cG(t){return function(e){return new lG(t,e)}}
37var uw=dt(Ci(["all"],cG,function(e,r){for(var n=0;n<r.length;){if(!e(r[n]))return!1;n+=1}return!0}));function kN(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function $c(t,e,r){for(var n=0,s=r.length;n<s;){if(t(e,r[n]))return!0;n+=1}return!1}function fG(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function Mn(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function pG(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const Ho=typeof Object.is=="function"?Object.is:pG;var PN=Object.prototype.toString,pB=(function(){return PN.call(arguments)==="[object Arguments]"?function(e){return PN.call(e)==="[object Arguments]"}:function(e){return Mn("callee",e)}})(),dG=!{toString:null}.propertyIsEnumerable("toString"),jN=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],NN=(function(){return arguments.propertyIsEnumerable("length")})(),hG=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},Qi=Bt(typeof Object.keys=="function"&&!NN?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var r,n,s=[],i=NN&&pB(e);for(r in e)Mn(r,e)&&(!i||r!=="length")&&(s[s.length]=r);if(dG)for(n=jN.length-1;n>=0;)r=jN[n],Mn(r,e)&&!hG(s,r)&&(s[s.length]=r),n-=1;return s}),ts=Bt(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function MN(t,e,r,n){var s=kN(t),i=kN(e);function a(o,u){return lw(o,u,r.slice(),n.slice())}return!$c(function(o,u){return!$c(a,u,o)},i,s)}function lw(t,e,r,n){if(Ho(t,e))return!0;var s=ts(t);if(s!==ts(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(s){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&fG(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&Ho(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!Ho(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=r.length-1;i>=0;){if(r[i]===t)return n[i]===e;i-=1}switch(s){case"Map":return t.size!==e.size?!1:MN(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size!==e.size?!1:MN(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var a=Qi(t);if(a.length!==Qi(e).length)return!1;var o=r.concat([t]),u=n.concat([e]);for(i=a.length-1;i>=0;){var l=a[i];if(!(Mn(l,e)&&lw(e[l],t[l],o,u)))return!1;i-=1}return!0}var Ri=dt(function(e,r){return lw(e,r,[],[])});function mG(t,e,r){var n,s;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(n=1/e;r<t.length;){if(s=t[r],s===0&&1/s===n)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(s=t[r],typeof s=="number"&&s!==s)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Ri(t[r],e))return r;r+=1}return-1}function Uc(t,e){return mG(e,t,0)>=0}function _c(t,e){for(var r=0,n=e.length,s=Array(n);r<n;)s[r]=t(e[r]),r+=1;return s}function fE(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var Io=function(e){return(e<10?"0":"")+e},gG=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Io(e.getUTCMonth()+1)+"-"+Io(e.getUTCDate())+"T"+Io(e.getUTCHours())+":"+Io(e.getUTCMinutes())+":"+Io(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function dB(t){return function(){return!t.apply(this,arguments)}}function Du(t,e,r){for(var n=0,s=r.length;n<s;)e=t(e,r[n]),n+=1;return e}function yG(t,e){for(var r=0,n=e.length,s=[];r<n;)t(e[r])&&(s[s.length]=e[r]),r+=1;return s}function Vc(t){return Object.prototype.toString.call(t)==="[object Object]"}var vG=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=yn.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t})();function bG(t){return function(e){return new vG(t,e)}}var EG=dt(Ci(["fantasy-land/filter","filter"],bG,function(t,e){return Vc(e)?Du(function(r,n){return t(e[n])&&(r[n]=e[n]),r},{},Qi(e)):yG(t,e)})),SG=dt(function(e,r){return EG(dB(e),r)});function hB(t,e){var r=function(a){var o=e.concat([t]);return Uc(a,o)?"<Circular>":hB(a,o)},n=function(i,a){return _c(function(o){return fE(o)+": "+r(i[o])},a.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+_c(r,t).join(", ")+"))";case"[object Array]":return"["+_c(r,t).concat(n(t,SG(function(i){return/^\d+$/.test(i)},Qi(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):fE(gG(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":fE(t);
37case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var s=t.toString();if(s!=="[object Object]")return s}return"{"+n(t,Qi(t)).join(", ")+"}"}}var za=Bt(function(e){return hB(e,[])}),mB=dt(function(e,r){if(e===r)return r;function n(u,l){if(u>l!=l>u)return l>u?l:u}var s=n(e,r);if(s!==void 0)return s;var i=n(typeof e,typeof r);if(i!==void 0)return i===typeof e?e:r;var a=za(e),o=n(a,za(r));return o!==void 0&&o===a?e:r}),_G=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=yn.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t})(),wG=function(e){return function(r){return new _G(e,r)}},Rf=dt(Ci(["fantasy-land/map","map"],wG,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return yr(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return Du(function(n,s){return n[s]=e(r[s]),n},{},Qi(r));default:return _c(e,r)}}));const ao=Number.isInteger||function(e){return e<<0===e};function cw(t){return Object.prototype.toString.call(t)==="[object String]"}function If(t,e){var r=t<0?e.length+t:t;return cw(e)?e.charAt(r):e[r]}var Fu=dt(function(e,r){if(r!=null)return ao(e)?If(e,r):r[e]}),gB=dt(function(e,r){return Rf(Fu(e),r)}),xG=Bt(function(e){return ua(e)?!0:!e||typeof e!="object"||cw(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),DN=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function yB(t,e,r){return function(s,i,a){if(xG(a))return t(s,i,a);if(a==null)return i;if(typeof a["fantasy-land/reduce"]=="function")return e(s,i,a,"fantasy-land/reduce");if(a[DN]!=null)return r(s,i,a[DN]());if(typeof a.next=="function")return r(s,i,a);if(typeof a.reduce=="function")return e(s,i,a,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function AG(t,e,r){for(var n=0,s=r.length;n<s;){if(e=t["@@transducer/step"](e,r[n]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}var vB=dt(function(e,r){return Of(e.length,function(){return e.apply(r,arguments)})});function OG(t,e,r){for(var n=r.next();!n.done;){if(e=t["@@transducer/step"](e,n.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function CG(t,e,r,n){return t["@@transducer/result"](r[n](vB(t["@@transducer/step"],t),e))}var fw=yB(AG,CG,OG),RG=(function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t})();function bB(t){return new RG(t)}var oo=Ur(function(t,e,r){return fw(typeof t=="function"?bB(t):t,e,r)}),IG=Bt(function(e){return yr(oo(mB,0,gB("length",e)),function(){for(var r=0,n=e.length;r<n;){if(!e[r].apply(this,arguments))return!1;r+=1}return!0})}),ot=Bt(function(e){return function(){return e}}),TG=dt(function(e,r){return e&&r}),kG=Bt(function(e){return yr(oo(mB,0,gB("length",e)),function(){for(var r=0,n=e.length;r<n;){if(e[r].apply(this,arguments))return!0;r+=1}return!1})});function PG(t,e,r){for(var n=r.next();!n.done;)e=t(e,n.value),n=r.next();return e}function jG(t,e,r,n){return r[n](t,e)}var NG=yB(Du,jG,PG),MG=dt(function(e,r){return typeof r["fantasy-land/ap"]=="function"?r["fantasy-land/ap"](e):typeof e.ap=="function"?e.ap(r):typeof e=="function"?function(n){return e(n)(r(n))}:NG(function(n,s){return oG(n,Rf(s,r))},[],e)}),DG=dt(function(e,r){return e.apply(this,r)}),pw=Bt(function(e){return yr(e.length,e)});function FG(t,e,r){if(ao(t)&&ua(r)){var n=[].concat(r);return n[t]=e,n}var s={};for(var i in r)s[i]=r[i];return s[t]=e,s}var zc=Bt(function(e){return e==null}),Le=Ur(function t(e,r,n){if(e.length===0)return r;var s=e[0];if(e.length>1){var i=!zc(n)&&Mn(s,n)&&typeof n[s]=="object"?n[s]:ao(e[1])?[]:{};r=t(Array.prototype.slice.call(e,1),r,i)}return FG(s,r,n)}),qG=Ur(function(e,r,n){return Le([e],r,n)});function dw(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}var BG=dt(function(e,r){var n=yr(e,r);
37return yr(e,function(){return Du(MG,Rf(n,arguments[0]),Array.prototype.slice.call(arguments,1))})}),hw=Bt(function(e){return BG(e.length,e)}),qu=dt(function(e,r){return dw(e)?function(){return e.apply(this,arguments)&&r.apply(this,arguments)}:hw(TG)(e,r)});function EB(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function SB(t,e,r){if(r||(r=new $G),LG(t))return t;var n=function(i){var a=r.get(t);if(a)return a;r.set(t,i);for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(i[o]=t[o]);return i};switch(ts(t)){case"Object":return n(Object.create(Object.getPrototypeOf(t)));case"Array":return n(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return EB(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function LG(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var $G=(function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){var n=this.hash(e),s=this.map[n];s||(this.map[n]=s=[]),s.push([e,r]),this.length+=1},t.prototype.hash=function(e){var r=[];for(var n in e)r.push(Object.prototype.toString.call(e[n]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(var r in this.map)for(var a=this.map[r],n=0;n<a.length;n+=1){var s=a[n];if(s[0]===e)return s[1]}return}var i=this.hash(e),a=this.map[i];if(a)for(var n=0;n<a.length;n+=1){var s=a[n];if(s[0]===e)return s[1]}},t})(),UG=Bt(function(e){return function(r,n){return e(r,n)?-1:e(n,r)?1:0}}),VG=Bt(function(e){return!e}),Bu=hw(VG);function zG(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function mw(t,e){return function(){var r=arguments.length;if(r===0)return e();var n=arguments[r-1];return ua(n)||typeof n[t]!="function"?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var Lu=Ur(mw("slice",function(e,r,n){return Array.prototype.slice.call(n,e,r)})),WG=Bt(mw("tail",Lu(1,1/0)));function qr(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Of(arguments[0].length,oo(zG,arguments[0],WG(arguments)))}var JG=Bt(function(t){return If(0,t)});function HG(t){return t}var _B=Bt(HG),KG=(function(){function t(e,r,n,s){this.valueFn=e,this.valueAcc=r,this.keyFn=n,this.xf=s,this.inputs={}}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(Mn(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,SB(this.valueAcc)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),e},t})();function GG(t,e,r){return function(n){return new KG(t,e,r,n)}}var YG=ow(4,[],Ci([],GG,function(e,r,n,s){var i=bB(function(a,o){var u=n(o),l=e(Mn(u,a)?a[u]:SB(r),o);return l&&l["@@transducer/reduced"]?Cf(a):(a[u]=l,a)});return fw(i,{},s)})),Wa=dt(function(e,r){return r==null||r!==r?e:r}),XG=(function(){function t(){this._nativeSet=typeof Set=="function"?new Set:null,this._items={}}return t.prototype.add=function(e){return!FN(e,!0,this)},t.prototype.has=function(e){return FN(e,!1,this)},t})();function FN(t,e,r){var n=typeof t,s,i;switch(n){case"string":case"number":return t===0&&1/t===-1/0?r._items["-0"]?!0:(e&&(r._items["-0"]=!0),!1):r._nativeSet!==null?e?(s=r._nativeSet.size,r._nativeSet.add(t),i=r._nativeSet.size,i===s):r._nativeSet.has(t):n in r._items?t in r._items[n]?!0:(e&&(r._items[n][t]=!0),!1):(e&&(r._items[n]={},r._items[n][t]=!0),!1);case"boolean":if(n in r._items){var a=t?1:0;return r._items[n][a]?!0:(e&&(r._items[n][a]=!0),!1)}else return e&&(r._items[n]=t?[!1,!0]:[!0,!1]),!1;case"function":return r._nativeSet!==null?e?(s=r._nativeSet.size,r._nativeSet.add(t),i=r._nativeSet.size,i===s):r._nativeSet.has(t):n in r._items?Uc(t,r._items[n])?!0:(e&&r._items[n].push(t),!1):(e&&(r._items[n]=[t]),!1);case"undefined":return r._items[n]?!0:(e&&(r._items[n]=!0),!1);case"object":if(t===null)return r._items.null?!0:(e&&(r._items.null=!0),!1);default:return n=Object.prototype.toString.call(t),n in r._items?Uc(t,r._items[n])?!0:(e&&r._items[n].push(t),!1):(e&&(r._items[n]=[t]),!1)}}var ZG=dt(function(e,r){for(var n=[],s=0,i=e.length,a=r.length,o=new XG,u=0;u<a;u+=1)o.add(r[u]);for(;s<i;)o.add(e[s])&&(n[n.length]=e[s]),s+=1;return n}),QG=Ur(function(e,r,n){var s=Array.prototype.slice.call(n,0);return s.splice(e,r),s});function eY(t,e){if(e==null)return e;if(ao(t)&&ua(e))return QG(t,1,e);var r={};for(var n in e)r[n]=e[n];return delete r[t],r}function tY(t,e){if(ao(t)&&ua(e))return[].concat(e);var r={};for(var n in e)r[n]=e[n];return r}var gn=dt(function t(e,r){if(r==null)return r;switch(e.length){case 0:return r;case 1:return eY(e[0],r);default:var n=e[0],s=Array.prototype.slice.call(e,1);return r[n]==null?tY(n,r):qG(n,t(s,r[n]),r)}}),rY=(function(){function t(e,r){this.xf=r,this.n=e,this.i=0}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=yn.result,t.prototype["@@transducer/step"]=function(e,r){this.i+=1;var n=this.n===0?e:this.xf["@@transducer/step"](e,r);return this.n>=0&&this.i>=this.n?Cf(n):n},t})();function nY(t){return function(e){return new rY(t,e)}}var sY=dt(Ci(["take"],nY,function(e,r){return Lu(0,e<0?1/0:e,r)}));function iY(t,e){for(var r=e.length-1;r>=0&&t(e[r]);)r-=1;return Lu(0,r+1,e)}var aY=(function(){function t(e,r){this.f=e,this.retained=[],this.xf=r}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=function(e){return this.retained=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.retain(e,r):this.flush(e,r)},t.prototype.flush=function(e,r){return e=fw(this.xf,e,this.retained),this.retained=[],this.xf["@@transducer/step"](e,r)},t.prototype.retain=function(e,r){return this.retained.push(r),e},t})();function oY(t){return function(e){return new aY(t,e)}}var uY=dt(Ci([],oY,iY)),Tf=Bt(function(t){return If(-1,t)}),lY=(function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=yn.result,t.prototype["@@transducer/step"]=function(e,r){if(this.f){if(this.f(r))return e;this.f=null}return this.xf["@@transducer/step"](e,r)},t})();function cY(t){return function(e){return new lY(t,e)}}
37var fY=dt(Ci(["dropWhile"],cY,function(e,r){for(var n=0,s=r.length;n<s&&e(r[n]);)n+=1;return Lu(n,1/0,r)})),pY=dt(function(e,r){return e||r}),dY=dt(function(e,r){return dw(e)?function(){return e.apply(this,arguments)||r.apply(this,arguments)}:hw(pY)(e,r)});function hY(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var mY=Bt(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():ua(e)?[]:cw(e)?"":Vc(e)?{}:pB(e)?(function(){return arguments})():hY(e)?e.constructor.from(""):void 0}),gY=Bt(function(e){return yr(e.length,function(r,n){var s=Array.prototype.slice.call(arguments,0);return s[0]=n,s[1]=r,e.apply(this,s)})}),yY=dt(mw("groupBy",YG(function(t,e){return t.push(e),t},[]))),vY=dt(function(e,r){if(e.length===0||zc(r))return!1;for(var n=r,s=0;s<e.length;)if(!zc(n)&&Mn(e[s],n))n=n[e[s]],s+=1;else return!1;return!0}),Ko=dt(function(e,r){return vY([e],r)}),Ii=function(t,e){switch(arguments.length){case 0:return Ii;case 1:return(function(){return function r(n){switch(arguments.length){case 0:return r;default:return Ho(t,n)}}})();default:return Ho(t,e)}},gw=Ur(function(e,r,n){return yr(Math.max(e.length,r.length,n.length),function(){return e.apply(this,arguments)?r.apply(this,arguments):n.apply(this,arguments)})}),bY=dt(Uc),EY=Lu(0,-1),yw=dt(function(e,r){return yr(e+1,function(){var n=arguments[e];if(n!=null&&dw(n[r]))return n[r].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(za(n)+' does not have a method named "'+r+'"')})}),$u=Bt(function(e){return e!=null&&Ri(e,mY(e))}),wB=Bt(function(e){return!$u(e)}),xB=yw(1,"join");function qN(t){return Object.prototype.toString.call(t)==="[object Number]"}var SY=dt(function(e,r){return function(n){return function(s){return Rf(function(i){return r(i,s)},n(e(s)))}}});function vw(t,e){for(var r=e,n=0;n<t.length;n+=1){if(r==null)return;var s=t[n];ao(s)?r=If(s,r):r=r[s]}return r}var _Y=dt(function(e,r){return Du(function(n,s){return n[s]=e(r[s],s,r),n},{},Qi(r))}),wY=Ur(function(e,r,n){var s={},i;r=r||{},n=n||{};for(i in r)Mn(i,r)&&(s[i]=Mn(i,n)?e(i,r[i],n[i]):r[i]);for(i in n)Mn(i,n)&&!Mn(i,s)&&(s[i]=n[i]);return s}),xY=Ur(function t(e,r,n){return wY(function(s,i,a){return Vc(i)&&Vc(a)?t(e,i,a):e(s,i,a)},r,n)}),kf=dt(function(e,r){return xY(function(n,s,i){return i},e,r)}),AY=dt(function(e,r){return uw(dB(e),r)}),AB=function(t){return{value:t,map:function(e){return AB(e(t))}}},OY=Ur(function(e,r,n){return e(function(s){return AB(r(s))})(n).value}),Or=dt(vw),OB=Ur(function(e,r,n){return Wa(e,vw(r,n))}),Pf=Ur(function(e,r,n){return e(vw(r,n))}),CB=dt(function(e,r){for(var n={},s=0;s<e.length;)e[s]in r&&(n[e[s]]=r[e[s]]),s+=1;return n}),RB=Ur(function(e,r,n){return Ri(e,Fu(r,n))}),Wc=Ur(function(e,r,n){return Wa(e,Fu(r,n))}),CY=Ur(function(e,r,n){return e(Fu(r,n))}),RY=dt(function(e,r){if(!(qN(e)&&qN(r)))throw new TypeError("Both arguments to range must be numbers");for(var n=Array(e<r?r-e:0),s=e<0?r+Math.abs(e):r-e,i=0;i<s;)n[i]=i+e,i+=1;return n}),IY=Bt(Cf),IB=Ur(function(e,r,n){return n.replace(e,r)}),TY=dt(function(e,r){return Array.prototype.slice.call(r,0).sort(e)}),TB=yw(1,"split"),kY=dt(function(t,e){return Ri(sY(t.length,e),t)});function PY(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var jY=dt(function(e,r){if(!PY(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+za(e));return EB(e).test(r)}),NY=(function(){function t(e,r){this.xf=r,this.pred=e,this.items=[]}return t.prototype["@@transducer/init"]=yn.init,t.prototype["@@transducer/result"]=yn.result,t.prototype["@@transducer/step"]=function(e,r){return $c(this.pred,r,this.items)?e:(this.items.push(r),this.xf["@@transducer/step"](e,r))},t})();function MY(t){return function(e){return new NY(t,e)}}var kB=dt(Ci([],MY,function(t,e){for(var r=0,n=e.length,s=[],i;r<n;)i=e[r],$c(t,i,s)||(s[s.length]=i),r+=1;return s})),DY=Ur(function(e,r,n){return e(n)?r(n):n}),jf=ot(void 0),Ti=Ri(jf()),PB=Bu(Ti),jB=Ri(null),NB=Bu(jB),FY=Bu(zc),qY=yr(1,qr(ts,Ii("GeneratorFunction"))),BY=yr(1,qr(ts,Ii("AsyncFunction"))),la=kG([qr(ts,Ii("Function")),qY,BY]),MB=yr(1,la(Array.isArray)?Array.isArray:qr(ts,Ii("Array"))),LY=qu(MB,$u),$Y=qu(MB,wB),ca=yr(1,qr(ts,Ii("String"))),UY=Ri("");function t1(t){"@babel/helpers - typeof";return t1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t1(t)}var DB=function(e){return t1(e)==="object"}
37,VY=yr(1,qu(NB,dY(DB,la))),zY=Bu(VY),Nf=IG([ca,zY,wB]),WY=Bu(la),JY=yr(1,qu(NB,DB)),HY=qr(ts,Ii("Object")),KY=qr(za,Ri(za(Object))),GY=Pf(qu(la,KY),["constructor"]),rs=yr(1,function(t){if(!JY(t)||!HY(t))return!1;var e=Object.getPrototypeOf(t);return jB(e)?!0:GY(e)}),YY=yr(1,qr(ts,Ii("RegExp")));function XY(t){return tX(t)||eX(t)||QY(t)||ZY()}function ZY(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
38In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QY(t,e){if(t){if(typeof t=="string")return r1(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?r1(t,e):void 0}}function eX(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tX(t){if(Array.isArray(t))return r1(t)}function r1(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var rX=UG(function(t,e){return t.length>e.length}),nX=qr(TY(rX),JG,Fu("length")),sX=pw(function(t,e,r){var n=r.apply(void 0,XY(t));return FY(n)?IY(n):e}),iX=function(e){var r=nX(e);return yr(r,function(){for(var n=arguments.length,s=new Array(n),i=0;i<n;i++)s[i]=arguments[i];return oo(sX(s),void 0,e)})},FB=gw($Y,iX,jf),Mf=gY(bY),iu=yr(3,function(t,e,r){var n=Or(t,r),s=Or(EY(t),r);if(!WY(n)&&!LY(t)){var i=vB(n,s);return DG(i,e)}}),aX=DY(ca,IB(/[.*+?^${}()|[\]\\-]/g,"\\$&")),oX=function(e,r,n){if(n==null||e==null||r==null)throw TypeError("Input values must not be `null` or `undefined`")},BN=function(e,r){if(typeof e!="string"&&!(e instanceof String))throw TypeError("`".concat(r,"` must be a string"))},uX=function(e){if(typeof e!="string"&&!(e instanceof String)&&!(e instanceof RegExp))throw TypeError("`searchValue` must be a string or an regexp")},lX=function(e,r,n){oX(e,r,n),BN(n,"str"),BN(r,"replaceValue"),uX(e);var s=new RegExp(YY(e)?e:aX(e),"g");return IB(s,r,n)},cX=yr(3,lX),fX=yw(2,"replaceAll"),pX=la(String.prototype.replaceAll)?fX:cX,dX=pw(function(t,e){return qr(TB(""),uY(Mf(t)),xB(""))(e)}),qB=pw(function(t,e){return qr(TB(""),fY(Mf(t)),xB(""))(e)}),pE={exports:{}},LN;function hX(){if(LN)return pE.exports;LN=1;var t=pE.exports={},e,r;function n(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=n}catch{e=n}try{typeof clearTimeout=="function"?r=clearTimeout:r=s}catch{r=s}})();function i(y){if(e===setTimeout)return setTimeout(y,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(y,0);try{return e(y,0)}catch{try{return e.call(null,y,0)}catch{return e.call(this,y,0)}}}function a(y){if(r===clearTimeout)return clearTimeout(y);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(y);try{return r(y)}catch{try{return r.call(null,y)}catch{return r.call(this,y)}}}var o=[],u=!1,l,c=-1;function p(){!u||!l||(u=!1,l.length?o=l.concat(o):c=-1,o.length&&m())}function m(){if(!u){var y=i(p);u=!0;for(var v=o.length;v;){for(l=o,o=[];++c<v;)l&&l[c].run();c=-1,v=o.length}l=null,u=!1,a(y)}}t.nextTick=function(y){var v=new Array(arguments.length-1);if(arguments.length>1)for(var E=1;E<arguments.length;E++)v[E-1]=arguments[E];o.push(new d(y,v)),o.length===1&&!u&&i(m)};function d(y,v){this.fun=y,this.array=v}d.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={};function g(){}return t.on=g,t.addListener=g,t.once=g,t.off=g,t.removeListener=g,t.removeAllListeners=g,t.emit=g,t.prependListener=g,t.prependOnceListener=g,t.listeners=function(y){return[]},t.binding=function(y){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(y){throw new Error("process.chdir is not supported")},t.umask=function(){return 0},pE.exports}var mX=hX();const Jc=ut(mX),bw=()=>Pf(jY(/^win/),["platform"],Jc),Ew=t=>{try{const e=new URL(t);return dX(":",e.protocol)}catch{return}};qr(Ew,PB);const gX=t=>{const e=t.lastIndexOf(".");return e>=0?t.substring(e).toLowerCase():""},BB=t=>{if(Jc.browser)return!1;const e=Ew(t);return Ti(e)||e==="file"||/^[a-zA-Z]$/.test(e)},Sw=t=>{const e=Ew(t);return e==="http"||e==="https"},LB=(t,e)=>{const r=[/%23/g,"#",/%24/g,"$",/%26/g,"&",/%2C/g,",",/%40/g,"@"],n=Wc(!1,"keepFileProtocol",e),s=Wc(bw,"isWindows",e);let i=decodeURI(t);for(let o=0;o<r.length;o+=2)i=i.replace(r[o],r[o+1]);let a=i.substring(0,7).toLowerCase()==="file://";return a&&(i=i[7]==="/"?i.substring(8):i.substring(7),s()&&i[1]==="/"&&(i=`${i[0]}:${i.substring(1)}`),n?i=`file:///${i}`:(a=!1,i=s()?i:`/${i}
38`)),s()&&!a&&(i=pX("/","\\",i),i.substring(1,3)===":\\"&&(i=i[0].toUpperCase()+i.substring(1))),i},yX=t=>{const e=[/\?/g,"%3F",/#/g,"%23"];let r=t;bw()&&(r=r.replace(/\\/g,"/")),r=encodeURI(r);for(let n=0;n<e.length;n+=2)r=r.replace(e[n],e[n+1]);return r},$B=t=>{const e=t.indexOf("#");return e!==-1?t.substring(e):"#"},zt=t=>{const e=t.indexOf("#");let r=t;return e>=0&&(r=t.substring(0,e)),r},n1=()=>{if(Jc.browser)return zt(globalThis.location.href);const t=Jc.cwd(),e=Tf(t);return["/","\\"].includes(e)?t:t+(bw()?"\\":"/")},Nr=(t,e)=>{const r=new URL(e,new URL(t,"resolve://"));if(r.protocol==="resolve:"){const{pathname:n,search:s,hash:i}=r;return n+s+i}return r.toString()},Df=t=>{if(BB(t))return yX(LB(t));try{return new URL(t).toString()}catch{return encodeURI(decodeURI(t)).replace(/%5B/g,"[").replace(/%5D/g,"]")}},bs=t=>BB(t)?LB(t):decodeURI(t);let au=class{uri;mediaType;data;parseResult;constructor({uri:e,mediaType:r="text/plain",data:n,parseResult:s}){this.uri=e,this.mediaType=r,this.data=n,this.parseResult=s}get extension(){return ca(this.uri)?gX(this.uri):""}toString(){return typeof this.data=="string"?this.data:this.data instanceof ArrayBuffer||["ArrayBuffer"].includes(ts(this.data))||ArrayBuffer.isView(this.data)?new TextDecoder("utf-8").decode(this.data):String(this.data)}};class Ja{rootRef;refs;circular;constructor({refs:e=[],circular:r=!1}={}){this.refs=[],this.circular=r,e.forEach(this.add.bind(this))}get size(){return this.refs.length}add(e){return this.has(e)||(this.refs.push(e),this.rootRef=this.rootRef===void 0?e:this.rootRef,e.refSet=this),this}merge(e){for(const r of e.values())this.add(r);return this}has(e){const r=ca(e)?e:e.uri;return PB(this.find(n=>n.uri===r))}find(e){return this.refs.find(e)}*values(){yield*this.refs}clean(){this.refs.forEach(e=>{e.refSet=void 0}),this.rootRef=void 0,this.refs.length=0}}const UB={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:_B,immutable:!0},bundle:{strategies:[],refSet:null,maxDepth:1/0}},vX=SY(Or(["resolve","baseURI"]),Le(["resolve","baseURI"])),bX=t=>UY(t)?n1():t,VB=(t,e)=>{const r=kf(t,e);return OY(vX,bX,r)};class EX extends nr{plugin;constructor(e,r){super(e,{cause:r.cause}),this.plugin=r.plugin}}const _w=async(t,e,r)=>{const n=await Promise.all(r.map(iu([t],e)));return r.filter((s,i)=>n[i])},ww=async(t,e,r)=>{let n;for(const s of r)try{const i=await s[t].call(s,...e);return{plugin:s,result:i}}catch(i){n=new EX("Error while running plugin",{cause:i,plugin:s})}return Promise.reject(n)};class s1 extends nr{}class xw extends nr{}class zB extends xw{}class WB extends zB{}const SX=async(t,e)=>{const r=e.resolve.resolvers.map(s=>{const i=Object.create(s);return Object.assign(i,e.resolve.resolverOpts)}),n=await _w("canRead",[t,e],r);if($u(n))throw new WB(t.uri);try{const{result:s}=await ww("read",[t],n);return s}catch(s){throw new xw(`Error while reading file "${t.uri}"`,{cause:s})}},_X=async(t,e)=>{const r=e.parse.parsers.map(s=>{const i=Object.create(s);return Object.assign(i,e.parse.parserOpts)}),n=await _w("canParse",[t,e],r);if($u(n))throw new WB(t.uri);try{const{plugin:s,result:i}=await ww("parse",[t,e],n);return!s.allowEmpty&&i.isEmpty?Promise.reject(new s1(`Error while parsing file "${t.uri}". File is empty.`)):i}catch(s){throw new s1(`Error while parsing file "${t.uri}"`,{cause:s})}},wX=async(t,e)=>{const r=new au({uri:Df(zt(t)),mediaType:e.parse.mediaType}),n=await SX(r,e);return _X(new au({...r,data:n}),e)};var mr={},dE,$N;function xX(){if($N)return dE;$N=1;function t(e){return e===null}return dE=t,dE}var hE,UN;function AX(){if(UN)return hE;UN=1;var t=Ys(),e=an(),r="[object Number]";function n(s){return typeof s=="number"||e(s)&&t(s)==r}return hE=n,hE}var mE,VN;function OX(){if(VN)return mE;VN=1;var t=Ys(),e=an(),r="[object Boolean]";function n(s){return s===!0||s===!1||e(s)&&t(s)==r}return mE=n,mE}var gE,zN;function Aw(){if(zN)return gE;zN=1;class t{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
38ontaining 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 gE=t,gE}var yE,WN;function CX(){if(WN)return yE;WN=1;var t=O_();function e(r,n){return t(r,n)}return yE=e,yE}var vE,JN;function Ff(){if(JN)return vE;JN=1;class t{constructor(r,n){this.key=r,this.value=n}clone(){const r=new t;return this.key&&(r.key=this.key.clone()),this.value&&(r.value=this.value.clone()),r}}return vE=t,vE}var bE,HN;function qf(){if(HN)return bE;HN=1;var t="Expected a function";function e(r){if(typeof r!="function")throw new TypeError(t);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 bE=e,bE}var EE,KN;function Bf(){if(KN)return EE;KN=1;const t=qf();function e(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((a,o)=>a.concat(o),[])}compactMap(s,i){const a=[];return this.forEach(o=>{const u=s.bind(i)(o);u&&a.push(u)}),a}filter(s,i){return s=e(s),new r(this.elements.filter(s,i))}reject(s,i){return s=e(s),new r(this.elements.filter(t(s),i))}find(s,i){return s=e(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]()}),EE=r,EE}var SE,GN;function ti(){if(GN)return SE;GN=1;const t=CX(),e=Ff(),r=Bf();class n{constructor(i,a,o){a&&(this.meta=a),o&&(this.attributes=o),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(a=>a.clone()):i.content=this.content:i.content=this.content,i}toValue(){return this.content instanceof n?this.content.toValue():this.content instanceof e?{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 a=new this.RefElement(this.id.toValue());return i&&(a.path=i),a}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 a=i.pop();let o=new r;const u=(c,p)=>(c.push(p),c),l=(c,p)=>{p.element===a&&c.push(p);const m=p.findRecursive(a);
38return m&&m.reduce(u,c),p.content instanceof e&&(p.content.key&&l(c,p.content.key),p.content.value&&l(c,p.content.value)),c};return this.content&&(this.content.element&&l(o,this.content),Array.isArray(this.content)&&this.content.reduce(l,o)),i.isEmpty||(o=o.filter(c=>{let p=c.parents.map(m=>m.element);for(const m in i){const d=i[m],g=p.indexOf(d);if(g!==-1)p=p.splice(0,g);else return!1}return!0})),o}set(i){return this.content=i,this}equals(i){return t(this.toValue(),i)}getMetaProperty(i,a){if(!this.meta.hasKey(i)){if(this.isFrozen){const o=this.refract(a);return o.freeze(),o}this.meta.set(i,a)}return this.meta.get(i)}setMetaProperty(i,a){this.meta.set(i,a)}get 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 e)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(a=>new this.MemberElement(a,i[a]));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 a=new r;for(;i;)a.push(i),i=i.parent;return a}get children(){if(Array.isArray(this.content))return new r(this.content);if(this.content instanceof e){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(a=>{i.push(a),a.recursiveChildren.forEach(o=>{i.push(o)})}),i}}return SE=n,SE}var _E,YN;function RX(){if(YN)return _E;YN=1;const t=ti();class e extends t{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 _E=e,_E}var wE,XN;function IX(){if(XN)return wE;XN=1;const t=ti();return wE=class extends t{constructor(r,n,s){super(r,n,s),this.element="string"}primitive(){return"string"}get length(){return this.content.length}},wE}var xE,ZN;function TX(){if(ZN)return xE;ZN=1;const t=ti();return xE=class extends t{constructor(r,n,s){super(r,n,s),this.element="number"}primitive(){return"number"}},xE}var AE,QN;function kX(){if(QN)return AE;QN=1;const t=ti();return AE=class extends t{constructor(r,n,s){super(r,n,s),this.element="boolean"}primitive(){return"boolean"}},AE}var OE,eM;function JB(){if(eM)return OE;eM=1;const t=qf(),e=ti(),r=Bf();class n extends e{constructor(i,a,o){super(i||[],a,o),this.element="array"}primitive(){return"array"}get(i){return this.content[i]}getValue(i){const a=this.get(i);if(a)return a.toValue()}getIndex(i){return this.content[i]}set(i,a){return this.content[i]=this.refract(a),this}remove(i){const a=this.content.splice(i,1);return a.length?a[0]:null}map(i,a){return this.content.map(i,a)}flatMap(i,a){return this.map(i,a).reduce((o,u)=>o.concat(u),[])}compactMap(i,a){const o=[];return this.forEach(u=>{const l=i.bind(a)(u);l&&o.push(l)}),o}filter(i,a){return new r(this.content.filter(i,a))}reject(i,a){return this.filter(t(i),a)}reduce(i,a){let o,u;a!==void 0?(o=0,u=this.refract(a)):(o=1,u=this.primitive()==="object"?this.first.value:this.first);for(let l=o;l<this.length;l+=1){const c=this.content[l];this.primitive()==="object"?u=this.refract(i(u,c.value,c.key,c,this)):u=this.refract(i(u,c,l,this))}return u}forEach(i,a){this.content.forEach((o,u)=>{i.bind(a)(o,this.refract(u))})}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,a){const o=a||{},u=!!o.recursive,l=o.results===void 0?[]:o.results;return this.forEach((c,p,m)=>{u&&c.findElements!==void 0&&c.findElements(i,{results:l,recursive:u}),i(c,p,m)&&l.push(c)}),l}find(i){return new r(this.findElements(i,{recursive:!0}))}findByElement(i){return this.find(a=>a.element===i)}findByClass(i){return this.find(a=>a.classes.includes(i))}getById(i){return this.find(a=>a.id.toValue()===i).first}includes(i){return this.content.some(a=>a.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(a=>i(a),this).reduce((a,o)=>a.concat(o),this.empty())}"fantasy-land/filter"(i){return new this.constructor(this.content.filter(i))}"fantasy-land/reduce"(i,a){return this.content.reduce(i,a)}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]()}),OE=n,OE}var CE,tM;function HB(){if(tM)return CE;tM=1;const t=Ff(),e=ti();return CE=class extends e{constructor(n,s,i,a){super(new t,i,a),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)}},CE}var RE,rM;function KB(){if(rM)return RE;rM=1;const t=qf(),e=Bf();class r extends e{map(s,i){return this.elements.map(a=>s.bind(i)(a.value,a.key,a))}filter(s,i){return new r(this.elements.filter(a=>s.bind(i)(a.value,a.key,a)))}reject(s,i){return this.filter(t(s.bind(i)))}
38forEach(s,i){return this.elements.forEach((a,o)=>{s.bind(i)(a.value,a.key,a,o)})}keys(){return this.map((s,i)=>i.toValue())}values(){return this.map(s=>s.toValue())}}return RE=r,RE}var IE,nM;function PX(){if(nM)return IE;nM=1;const t=qf(),e=vn(),r=JB(),n=HB(),s=KB();class i extends r{constructor(o,u,l){super(o||[],u,l),this.element="object"}primitive(){return"object"}toValue(){return this.content.reduce((o,u)=>(o[u.key.toValue()]=u.value?u.value.toValue():void 0,o),{})}get(o){const u=this.getMember(o);if(u)return u.value}getMember(o){if(o!==void 0)return this.content.find(u=>u.key.toValue()===o)}remove(o){let u=null;return this.content=this.content.filter(l=>l.key.toValue()===o?(u=l,!1):!0),u}getKey(o){const u=this.getMember(o);if(u)return u.key}set(o,u){if(e(o))return Object.keys(o).forEach(p=>{this.set(p,o[p])}),this;const l=o,c=this.getMember(l);return c?c.value=u:this.content.push(new n(l,u)),this}keys(){return this.content.map(o=>o.key.toValue())}values(){return this.content.map(o=>o.value.toValue())}hasKey(o){return this.content.some(u=>u.key.equals(o))}items(){return this.content.map(o=>[o.key.toValue(),o.value.toValue()])}map(o,u){return this.content.map(l=>o.bind(u)(l.value,l.key,l))}compactMap(o,u){const l=[];return this.forEach((c,p,m)=>{const d=o.bind(u)(c,p,m);d&&l.push(d)}),l}filter(o,u){return new s(this.content).filter(o,u)}reject(o,u){return this.filter(t(o),u)}forEach(o,u){return this.content.forEach(l=>o.bind(u)(l.value,l.key,l))}}return IE=i,IE}var TE,sM;function jX(){if(sM)return TE;sM=1;const t=ti();return TE=class extends t{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)}},TE}var kE,iM;function NX(){if(iM)return kE;iM=1;const t=ti();return kE=class extends t{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)}},kE}var PE,aM;function GB(){if(aM)return PE;aM=1;const t=ti(),e=RX(),r=IX(),n=TX(),s=kX(),i=JB(),a=HB(),o=PX(),u=jX(),l=NX(),c=Bf(),p=KB(),m=Ff();function d(g){return g instanceof t?g:typeof g=="string"?new r(g):typeof g=="number"?new n(g):typeof g=="boolean"?new s(g):g===null?new e:Array.isArray(g)?new i(g.map(d)):typeof g=="object"?new o(g):g}return t.prototype.ObjectElement=o,t.prototype.RefElement=l,t.prototype.MemberElement=a,t.prototype.refract=d,c.prototype.refract=d,PE={Element:t,NullElement:e,StringElement:r,NumberElement:n,BooleanElement:s,ArrayElement:i,MemberElement:a,ObjectElement:o,LinkElement:u,RefElement:l,refract:d,ArraySlice:c,ObjectSlice:p,KeyValuePair:m},PE}var jE,oM;function MX(){if(oM)return jE;oM=1;const t=xX(),e=Rq(),r=AX(),n=OX(),s=vn(),i=Aw(),a=GB();class o{constructor(l){this.elementMap={},this.elementDetection=[],this.Element=a.Element,this.KeyValuePair=a.KeyValuePair,(!l||!l.noDefault)&&this.useDefault(),this._attributeElementKeys=[],this._attributeElementArrayKeys=[]}use(l){return l.namespace&&l.namespace({base:this}),l.load&&l.load({base:this}),this}useDefault(){return this.register("null",a.NullElement).register("string",a.StringElement).register("number",a.NumberElement).register("boolean",a.BooleanElement).register("array",a.ArrayElement).register("object",a.ObjectElement).register("member",a.MemberElement).register("ref",a.RefElement).register("link",a.LinkElement),this.detect(t,a.NullElement,!1).detect(e,a.StringElement,!1).detect(r,a.NumberElement,!1).detect(n,a.BooleanElement,!1).detect(Array.isArray,a.ArrayElement,!1).detect(s,a.ObjectElement,!1),this}register(l,c){return this._elements=void 0,this.elementMap[l]=c,this}unregister(l){return this._elements=void 0,delete this.elementMap[l],this}detect(l,c,p){return(p===void 0?!0:p)?this.elementDetection.unshift([l,c]):this.elementDetection.push([l,c]),this}toElement(l){if(l instanceof this.Element)return l;let c;for(let p=0;p<this.elementDetection.length;p+=1){const m=this.elementDetection[p][0],d=this.elementDetection[p][1];if(m(l)){c=new d(l);break}}return c}getElementClass(l){const c=this.elementMap[l];return c===void 0?this.Element:c}fromRefract(l){return this.serialiser.deserialise(l)}toRefract(l){return this.serialiser.serialise(l)}get elements(){return this._elements===void 0&&(this._elements={Element:this.Element}
38,Object.keys(this.elementMap).forEach(l=>{const c=l[0].toUpperCase()+l.substr(1);this._elements[c]=this.elementMap[l]})),this._elements}get serialiser(){return new i(this)}}return i.prototype.Namespace=o,jE=o,jE}var NE,uM;function DX(){if(uM)return NE;uM=1;const t=Aw();return NE=class extends t{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 a=this.enumSerialiseAttributes(r);a&&(s.attributes=a)}else if(r._attributes&&r._attributes.length>0){let{attributes:a}=r;a.get("metadata")&&(a=a.clone(),a.set("meta",a.get("metadata")),a.remove("metadata")),r.element==="member"&&n&&(a=a.clone(),a.remove("variable")),a.length>0&&(s.attributes=this.serialiseObject(a))}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 a;n&&r.content.key?(a=r.content.clone(),a.key.attributes.set("variable",n),a=this.serialiseContent(a)):a=this.serialiseContent(r.content),this.shouldSerialiseContent(r,a)&&(s.content=a)}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 a=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]))),a.forEach(o=>{o.content&&o.content.element&&o.content.attributes.remove("typeAttributes")}),r.content&&s.length!==0&&a.unshift(r.content),a=a.map(o=>o instanceof this.namespace.elements.Array?[o]:new this.namespace.elements.Array([o.content])),a.length&&n.set("samples",a),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 a=s.attributes.get("samples");if(s.attributes.remove("samples"),a){const u=a;a=new this.namespace.elements.Array,u.forEach(c=>{c.forEach(p=>{const m=new n(p);m.element=s.element,a.push(m)})});const l=a.shift();l?s.content=l.content:s.content=void 0,s.attributes.set("samples",a)}else s.content=void 0;let o=s.attributes.get("default");if(o&&o.length>0){o=o.get(0);const u=new n(o);u.element=s.element,s.attributes.set("default",u)}}else if(s.element==="dataStructure"&&Array.isArray(s.content))[s.content]=s.content;else if(s.element==="category"){const a=s.attributes.get("meta");a&&(s.attributes.set("metadata",a),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);
38if(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 a=i.toValue();n[a]=this.convertKeyToRefract(a,s)}}),n}deserialiseObject(r,n){Object.keys(r).forEach(s=>{n.set(s,this.deserialise(r[s]))})}},NE}var lM;function FX(){if(lM)return mr;lM=1;const t=MX(),e=GB();return mr.Namespace=t,mr.namespace=function(n){return new t(n)},mr.KeyValuePair=Ff(),mr.ArraySlice=e.ArraySlice,mr.ObjectSlice=e.ObjectSlice,mr.Element=e.Element,mr.StringElement=e.StringElement,mr.NumberElement=e.NumberElement,mr.BooleanElement=e.BooleanElement,mr.NullElement=e.NullElement,mr.ArrayElement=e.ArrayElement,mr.ObjectElement=e.ObjectElement,mr.MemberElement=e.MemberElement,mr.RefElement=e.RefElement,mr.LinkElement=e.LinkElement,mr.refract=e.refract,mr.JSONSerialiser=Aw(),mr.JSON06Serialiser=DX(),mr}var pe=FX();class Hc extends pe.StringElement{constructor(e,r,n){super(e,r,n),this.element="annotation"}get code(){return this.attributes.get("code")}set code(e){this.attributes.set("code",e)}}class Kc extends pe.StringElement{constructor(e,r,n){super(e,r,n),this.element="comment"}}class ns extends pe.ArrayElement{constructor(e,r,n){super(e,r,n),this.element="parseResult"}get api(){return this.children.filter(e=>e.classes.contains("api")).first}get results(){return this.children.filter(e=>e.classes.contains("result"))}get result(){return this.results.first}get annotations(){return this.children.filter(e=>e.element==="annotation")}get warnings(){return this.children.filter(e=>e.element==="annotation"&&e.classes.contains("warning"))}get errors(){return this.children.filter(e=>e.element==="annotation"&&e.classes.contains("error"))}get isEmpty(){return this.children.reject(e=>e.element==="annotation").isEmpty}replaceResult(e){const{result:r}=this;if(Ti(r))return!1;const n=this.content.findIndex(s=>s===r);return n===-1?!1:(this.content[n]=e,!0)}}const qX=(t,e)=>typeof e=="object"&&e!==null&&t in e&&typeof e[t]=="function",BX=t=>typeof t=="object"&&t!=null&&"_storedElement"in t&&typeof t._storedElement=="string"&&"_content"in t,LX=(t,e)=>typeof e=="object"&&e!==null&&"primitive"in e?typeof e.primitive=="function"&&e.primitive()===t:!1,$X=(t,e)=>typeof e=="object"&&e!==null&&"classes"in e&&(Array.isArray(e.classes)||e.classes instanceof pe.ArrayElement)&&e.classes.includes(t),hi=(t,e)=>typeof e=="object"&&e!==null&&"element"in e&&e.element===t,Ue=t=>t({hasMethod:qX,hasBasicElementProps:BX,primitiveEq:LX,isElementType:hi,hasClass:$X}),ur=Ue(({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof pe.Element||t(r)&&e(void 0,r)),ct=Ue(({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof pe.StringElement||t(r)&&e("string",r)),Ow=Ue(({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof pe.NumberElement||t(r)&&e("number",r)),Cw=Ue(({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof pe.NullElement||t(r)&&e("null",r)),Uu=Ue(({hasBasicElementProps:t,primitiveEq:e})=>r=>r instanceof pe.BooleanElement||t(r)&&e("boolean",r)),Pt=Ue(({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof pe.ObjectElement||t(n)&&e("object",n)&&r("keys",n)&&r("values",n)&&r("items",n)),Fr=Ue(({hasBasicElementProps:t,primitiveEq:e,hasMethod:r})=>n=>n instanceof pe.ArrayElement&&!(n instanceof pe.ObjectElement)||t(n)&&e("array",n)&&r("push",n)&&r("unshift",n)&&r("map",n)&&r("reduce",n)),os=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>
38n instanceof pe.MemberElement||t(n)&&e("member",n)&&r(void 0,n)),YB=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pe.LinkElement||t(n)&&e("link",n)&&r(void 0,n)),XB=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof pe.RefElement||t(n)&&e("ref",n)&&r(void 0,n)),UX=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Hc||t(n)&&e("annotation",n)&&r("array",n)),VX=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Kc||t(n)&&e("comment",n)&&r("string",n)),ZB=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ns||t(n)&&e("parseResult",n)&&r("array",n)),Yi=t=>hi("object",t)||hi("array",t)||hi("boolean",t)||hi("number",t)||hi("string",t)||hi("null",t)||hi("member",t),uo=t=>ur(t)?Number.isInteger(t.startPositionRow)&&Number.isInteger(t.startPositionColumn)&&Number.isInteger(t.startIndex)&&Number.isInteger(t.endPositionRow)&&Number.isInteger(t.endPositionColumn)&&Number.isInteger(t.endIndex):!1,zX=(t,e)=>{if(t.length===0)return!0;const r=e.attributes.get("symbols");return Fr(r)?uw(Mf(r.toValue()),t):!1},Ha=(t,e)=>t.length===0?!0:uw(Mf(e.classes.toValue()),t),WX=Object.freeze(Object.defineProperty({__proto__:null,hasElementSourceMap:uo,includesClasses:Ha,includesSymbols:zX,isAnnotationElement:UX,isArrayElement:Fr,isBooleanElement:Uu,isCommentElement:VX,isElement:ur,isLinkElement:YB,isMemberElement:os,isNullElement:Cw,isNumberElement:Ow,isObjectElement:Pt,isParseResultElement:ZB,isPrimitiveElement:Yi,isRefElement:XB,isStringElement:ct},Symbol.toStringTag,{value:"Module"}));class QB extends pe.Namespace{constructor(){super(),this.register("annotation",Hc),this.register("comment",Kc),this.register("parseResult",ns)}}const eL=new QB,ri=t=>{const e=new QB;return rs(t)&&e.use(t),e},tL=()=>({predicates:{...WX},namespace:eL}),Lf=(t,e,r)=>{const n=t[e];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?t.leave:t.enter;if(s!=null){if(typeof s=="function")return s;const i=s[e];if(typeof i=="function")return i}}return null},Rt={},Vu=t=>t?.type,rL=t=>typeof Vu(t)=="string",Rw=t=>Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),$f=(t,{visitFnGetter:e=Lf,nodeTypeGetter:r=Vu,breakSymbol:n=Rt,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:a=!1}={})=>{const o=Symbol("skip"),u=new Array(t.length).fill(o);return{enter(l,c,p,m,d,g){let y=l,v=!1;const E={...g,replaceWith(b,_){g.replaceWith(b,_),y=b}};for(let b=0;b<t.length;b+=1)if(u[b]===o){const _=e(t[b],r(y),!1);if(typeof _=="function"){const w=_.call(t[b],y,c,p,m,d,E);if(typeof w?.then=="function")throw new xs("Async visitor not supported in sync mode",{visitor:t[b],visitFn:_});if(w===i)u[b]=y;else if(w===n)u[b]=n;else{if(w===s)return w;if(w!==void 0)if(a)y=w,v=!0;else return w}}}return v?y:void 0},leave(l,c,p,m,d,g){let y=l;const v={...g,replaceWith(E,b){g.replaceWith(E,b),y=E}};for(let E=0;E<t.length;E+=1)if(u[E]===o){const b=e(t[E],r(y),!0);if(typeof b=="function"){const _=b.call(t[E],y,c,p,m,d,v);if(typeof _?.then=="function")throw new xs("Async visitor not supported in sync mode",{visitor:t[E],visitFn:b});if(_===n)u[E]=n;else if(_!==void 0&&_!==i)return _}}else u[E]===y&&(u[E]=o)}}},JX=(t,{visitFnGetter:e=Lf,nodeTypeGetter:r=Vu,breakSymbol:n=Rt,deleteNodeSymbol:s=null,skipVisitingNodeSymbol:i=!1,exposeEdits:a=!1}={})=>{const o=Symbol("skip"),u=new Array(t.length).fill(o);return{async enter(l,c,p,m,d,g){let y=l,v=!1;const E={...g,replaceWith(b,_){g.replaceWith(b,_),y=b}};for(let b=0;b<t.length;b+=1)if(u[b]===o){const _=e(t[b],r(y),!1);if(typeof _=="function"){const w=await _.call(t[b],y,c,p,m,d,E);if(w===i)u[b]=y;else if(w===n)u[b]=n;else{if(w===s)return w;if(w!==void 0)if(a)y=w,v=!0;else return w}}}return v?y:void 0},async leave(l,c,p,m,d,g){let y=l;const v={...g,replaceWith(E,b){g.replaceWith(E,b),y=E}};for(let E=0;E<t.length;E+=1)if(u[E]===o){const b=e(t[E],r(y),!0);if(typeof b=="function"){const _=await b.call(t[E],y,c,p,m,d,v);if(_===n)u[E]=n;else if(_!==void 0&&_!==i)return _}}else u[E]===y&&(u[E]=o)}}};$f[Symbol.for("nodejs.util.promisify.custom")]=JX;const Iw=(t,e,{keyMap:r=null,state:n={},breakSymbol:s=Rt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:a=!1,visitFnGetter:o=Lf,nodeTypeGetter:u=Vu,nodePredicate:l=rL,nodeCloneFn:c=Rw,detectCycles:p=!0,detectCyclesCallback:m=null}={})=>{const d=r||{};let g,y=Array.isArray(t),v=[t],E=-1,b,_=[],w=t;const S=[],A=[];do{E+=1;const P=E===v.length;let F;const R=P&&_.length!==0;if(P){if(F=A.length===0?void 0:S.pop(),w=b,b=A.pop(),R)if(y){w=w.slice();let M=0;for(const[G,re]of _){const K=G-M;re===i?(w.splice(K,1),M+=1):w[K]=re}}else{w=c(w);for(const[M,G]of _)w[M]=G}E=g.index,v=g.keys,_=g.edits,y=g.inArray,g=g.prev}else if(b!==i&&b!==void 0){if(F=y?E:v[E],w=b[F],w===i||w===void 0)continue;S.push(F)}let L;if(!Array.isArray(w)){var I;if(!l(w))throw new xs(`Invalid AST Node:  ${String(w)}`,{node:w});if(p&&A.includes(w)){typeof m=="function"&&m(w,F,b,S,A),S.pop();continue}const M=o(e,u(w),P);if(M){for(const[re,K]of Object.entries(n))e[re]=K;const G={replaceWith(re,K){typeof K=="function"?K(re,w,F,b,S,A):b&&(b[F]=re),P||(w=re)}};L=M.call(e,w,F,b,S,A,G)}if(typeof((I=L)===null||I===void 0?void 0:I.then)=="function")throw new xs("Async visitor not supported in sync mode",{visitor:e,visitFn:M});if(L===s)break;if(L===a){if(!P){S.pop();continue}}else if(L!==void 0&&(_.push([F,L]),!P))if(l(L))w=L;else{S.pop();continue}}if(L===void 0&&R&&_.push([F,w]),!P){var k;g={inArray:y,index:E,keys:v,edits:_,prev:g},y=Array.isArray(w),v=y?w:(k=d[u(w)])!==null&&k!==void 0?k:[],E=-1,_=[],b!==i&&b!==void 0&&A.push(b),b=w}
38}while(g!==void 0);return _.length!==0?_[_.length-1][1]:t};Iw[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=null,state:n={},breakSymbol:s=Rt,deleteNodeSymbol:i=null,skipVisitingNodeSymbol:a=!1,visitFnGetter:o=Lf,nodeTypeGetter:u=Vu,nodePredicate:l=rL,nodeCloneFn:c=Rw,detectCycles:p=!0,detectCyclesCallback:m=null}={})=>{const d=r||{};let g,y=Array.isArray(t),v=[t],E=-1,b,_=[],w=t;const S=[],A=[];do{E+=1;const k=E===v.length;let P;const F=k&&_.length!==0;if(k){if(P=A.length===0?void 0:S.pop(),w=b,b=A.pop(),F)if(y){w=w.slice();let L=0;for(const[M,G]of _){const re=M-L;G===i?(w.splice(re,1),L+=1):w[re]=G}}else{w=c(w);for(const[L,M]of _)w[L]=M}E=g.index,v=g.keys,_=g.edits,y=g.inArray,g=g.prev}else if(b!==i&&b!==void 0){if(P=y?E:v[E],w=b[P],w===i||w===void 0)continue;S.push(P)}let R;if(!Array.isArray(w)){if(!l(w))throw new xs(`Invalid AST Node: ${String(w)}`,{node:w});if(p&&A.includes(w)){typeof m=="function"&&m(w,P,b,S,A),S.pop();continue}const L=o(e,u(w),k);if(L){for(const[G,re]of Object.entries(n))e[G]=re;const M={replaceWith(G,re){typeof re=="function"?re(G,w,P,b,S,A):b&&(b[P]=G),k||(w=G)}};R=await L.call(e,w,P,b,S,A,M)}if(R===s)break;if(R===a){if(!k){S.pop();continue}}else if(R!==void 0&&(_.push([P,R]),!k))if(l(R))w=R;else{S.pop();continue}}if(R===void 0&&F&&_.push([P,w]),!k){var I;g={inArray:y,index:E,keys:v,edits:_,prev:g},y=Array.isArray(w),v=y?w:(I=d[u(w)])!==null&&I!==void 0?I:[],E=-1,_=[],b!==i&&b!==void 0&&A.push(b),b=w}}while(g!==void 0);return _.length!==0?_[_.length-1][1]:t};class nL extends xs{value;constructor(e,r){super(e,r),typeof r<"u"&&(this.value=r.value)}}class HX extends nL{}class KX extends nL{}const ki=(t,e)=>{const r=Wa(t,e);return _Y(n=>{if(rs(n)&&Ko("$ref",n)&&CY(ca,"$ref",n)){const s=Or(["$ref"],n),i=qB("#/",s);return Or(i.split("/"),r)}return rs(n)?ki(n,r):n},t)},Tw=(t,e)=>(t.startPositionRow=e?.startPositionRow,t.startPositionColumn=e?.startPositionColumn,t.startIndex=e?.startIndex,t.endPositionRow=e?.endPositionRow,t.endPositionColumn=e?.endPositionColumn,t.endIndex=e?.endIndex,t),Ke=(t,e={})=>{const{visited:r=new WeakMap}=e,n={...e,visited:r};if(r.has(t))return r.get(t);if(t instanceof pe.KeyValuePair){const{key:s,value:i}=t,a=ur(s)?Ke(s,n):s,o=ur(i)?Ke(i,n):i,u=new pe.KeyValuePair(a,o);return r.set(t,u),u}if(t instanceof pe.ObjectSlice){const s=o=>Ke(o,n),i=[...t].map(s),a=new pe.ObjectSlice(i);return r.set(t,a),a}if(t instanceof pe.ArraySlice){const s=o=>Ke(o,n),i=[...t].map(s),a=new pe.ArraySlice(i);return r.set(t,a),a}if(ur(t)){const s=Ar(t);if(r.set(t,s),t.content)if(ur(t.content))s.content=Ke(t.content,n);else if(t.content instanceof pe.KeyValuePair)s.content=Ke(t.content,n);else if(Array.isArray(t.content)){const i=a=>Ke(a,n);s.content=t.content.map(i)}else s.content=t.content;else s.content=t.content;return s}throw new HX("Value provided to cloneDeep function couldn't be cloned",{value:t})};Ke.safe=t=>{try{return Ke(t)}catch{return t}};const sL=t=>{const{key:e,value:r}=t;return new pe.KeyValuePair(e,r)},GX=t=>{const e=[...t];return new pe.ArraySlice(e)},YX=t=>{const e=[...t];return new pe.ObjectSlice(e)},iL=t=>{const e=new t.constructor;if(e.element=t.element,uo(t)&&Tw(e,t),t.meta.length>0&&(e._meta=Ke(t.meta)),t.attributes.length>0&&(e._attributes=Ke(t.attributes)),ur(t.content)){const r=t.content;e.content=iL(r)}else Array.isArray(t.content)?e.content=[...t.content]:t.content instanceof pe.KeyValuePair?e.content=sL(t.content):e.content=t.content;return e},Ar=t=>{if(t instanceof pe.KeyValuePair)return sL(t);if(t instanceof pe.ObjectSlice)return YX(t);if(t instanceof pe.ArraySlice)return GX(t);if(ur(t))return iL(t);throw new KX("Value provided to cloneShallow function couldn't be cloned",{value:t})};Ar.safe=t=>{try{return Ar(t)}catch{return t}};const lo=t=>Pt(t)?"ObjectElement":Fr(t)?"ArrayElement":os(t)?"MemberElement":ct(t)?"StringElement":Uu(t)?"BooleanElement":Ow(t)?"NumberElement":Cw(t)?"NullElement":YB(t)?"LinkElement":XB(t)?"RefElement":void 0,aL=t=>ur(t)?Ar(t):Rw(t),oL=qr(lo,ca),Rs={ObjectElement:["content"],ArrayElement:["content"],MemberElement:["key","value"],StringElement:[],BooleanElement:[],NumberElement:[],NullElement:[],RefElement:[],LinkElement:[],Annotation:[],Comment:[],ParseResultElement:["content"]};class uL{result;predicate;returnOnTrue;returnOnFalse;constructor({predicate:e=aw,returnOnTrue:r,returnOnFalse:n}={}){this.result=[],this.predicate=e,this.returnOnTrue=r,this.returnOnFalse=n}enter(e){return this.predicate(e)?(this.result.push(e),this.returnOnTrue):this.returnOnFalse}}const vr=(t,e,{keyMap:r=Rs,...n}={})=>
38Iw(t,e,{keyMap:r,nodeTypeGetter:lo,nodePredicate:oL,nodeCloneFn:aL,...n});vr[Symbol.for("nodejs.util.promisify.custom")]=async(t,e,{keyMap:r=Rs,...n}={})=>Iw[Symbol.for("nodejs.util.promisify.custom")](t,e,{keyMap:r,nodeTypeGetter:lo,nodePredicate:oL,nodeCloneFn:aL,...n});const lL={toolboxCreator:tL,visitorOptions:{nodeTypeGetter:lo,exposeEdits:!0}},Is=(t,e,r={})=>{if(e.length===0)return t;const n=kf(lL,r),{toolboxCreator:s,visitorOptions:i}=n,a=s(),o=e.map(c=>c(a)),u=$f(o.map(Wc({},"visitor")),{...i});o.forEach(iu(["pre"],[]));const l=vr(t,u,i);return o.forEach(iu(["post"],[])),l},XX=async(t,e,r={})=>{if(e.length===0)return t;const n=kf(lL,r),{toolboxCreator:s,visitorOptions:i}=n,a=s(),o=e.map(m=>m(a)),u=$f[Symbol.for("nodejs.util.promisify.custom")],l=vr[Symbol.for("nodejs.util.promisify.custom")],c=u(o.map(Wc({},"visitor")),{...i});await Promise.allSettled(o.map(iu(["pre"],[])));const p=await l(t,c,i);return await Promise.allSettled(o.map(iu(["post"],[]))),p};Is[Symbol.for("nodejs.util.promisify.custom")]=XX;var ME={exports:{}},cM;function ZX(){return cM||(cM=1,(function(t){var e=(()=>{var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,u=(w,S,A)=>S in w?r(w,S,{enumerable:!0,configurable:!0,writable:!0,value:A}):w[S]=A,l=(w,S)=>{for(var A in S||(S={}))a.call(S,A)&&u(w,A,S[A]);if(i)for(var A of i(S))o.call(S,A)&&u(w,A,S[A]);return w},c=(w,S)=>{for(var A in S)r(w,A,{get:S[A],enumerable:!0})},p=(w,S,A,I)=>{if(S&&typeof S=="object"||typeof S=="function")for(let k of s(S))!a.call(w,k)&&k!==A&&r(w,k,{get:()=>S[k],enumerable:!(I=n(S,k))||I.enumerable});return w},m=w=>p(r({},"__esModule",{value:!0}),w),d=(w,S,A)=>u(w,typeof S!="symbol"?S+"":S,A),g={};c(g,{DEFAULT_OPTIONS:()=>E,DEFAULT_UUID_LENGTH:()=>v,default:()=>_});var y="5.3.2",v=6,E={dictionary:"alphanum",shuffle:!0,debug:!1,length:v,counter:0},b=class{constructor(S={}){d(this,"counter"),d(this,"debug"),d(this,"dict"),d(this,"version"),d(this,"dictIndex",0),d(this,"dictRange",[]),d(this,"lowerBound",0),d(this,"upperBound",0),d(this,"dictLength",0),d(this,"uuidLength"),d(this,"_digit_first_ascii",48),d(this,"_digit_last_ascii",58),d(this,"_alpha_lower_first_ascii",97),d(this,"_alpha_lower_last_ascii",123),d(this,"_hex_last_ascii",103),d(this,"_alpha_upper_first_ascii",65),d(this,"_alpha_upper_last_ascii",91),d(this,"_number_dict_ranges",{digits:[this._digit_first_ascii,this._digit_last_ascii]}),d(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]}),d(this,"_alpha_lower_dict_ranges",{lowerCase:[this._alpha_lower_first_ascii,this._alpha_lower_last_ascii]}),d(this,"_alpha_upper_dict_ranges",{upperCase:[this._alpha_upper_first_ascii,this._alpha_upper_last_ascii]}),d(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]}),d(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]}),d(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]}),d(this,"_hex_dict_ranges",{decDigits:[this._digit_first_ascii,this._digit_last_ascii],alphaDigits:[this._alpha_lower_first_ascii,this._hex_last_ascii]}),d(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}),d(this,"log",(...R)=>{const L=[...R];if(L[0]="[short-unique-id] ".concat(R[0]),this.debug===!0&&typeof console<"u"&&console!==null){console.log(...L);return}}),d(this,"_normalizeDictionary",(R,L)=>{let M;if(R&&Array.isArray(R)&&R.length>1)M=R;else{M=[],this.dictIndex=0;const G="_".concat(R,"_dict_ranges"),re=this._dict_ranges[G];let K=0;for(const[,X]of Object.entries(re)){const[ee,ce]=X;K+=Math.abs(ce-ee)}M=new Array(K);let Z=0;for(const[,X]of Object.entries(re)){this.dictRange=X,this.lowerBound=this.dictRange[0],this.upperBound=this.dictRange[1];const ee=this.lowerBound<=this.upperBound,ce=this.lowerBound,se=this.upperBound;if(ee)for(let ue=ce;ue<se;ue++)M[Z++]=String.fromCharCode(ue),this.dictIndex=ue;else for(let ue=ce;ue>se;ue--)M[Z++]=String.fromCharCode(ue),this.dictIndex=ue}M.length=Z}if(L){const G=M.length;for(let re=G-1;re>0;re--){const K=Math.floor(Math.random()*(re+1));[M[re],M[K]]=[M[K],M[re]]}}return M}),d(this,"setDictionary",(R,L)=>{this.dict=this._normalizeDictionary(R,L),this.dictLength=this.dict.length,this.setCounter(0)}),d(this,"seq",()=>this.sequentialUUID()),d(this,"sequentialUUID",()=>{const R=this.dictLength,L=this.dict;let M=this.counter;const G=[];do{const K=M%R;M=Math.trunc(M/R),G.push(L[K])}while(M!==0);const re=G.join("");return this.counter+=1,re}),d(this,"rnd",(R=this.uuidLength||v)=>this.randomUUID(R)),d(this,"randomUUID",(R=this.uuidLength||v)=>{if(R===null||typeof R>"u"||R<1)throw new Error("Invalid UUID Length Provided");const L=new Array(R),M=this.dictLength,G=this.dict;for(let re=0;re<R;re++){const K=Math.floor(Math.random()*M);L[re]=G[K]}return L.join("")}),d(this,"fmt",(R,L)=>this.formattedUUID(R,L)),d(this,"formattedUUID",(R,L)=>{const M={$r:this.randomUUID,$s:this.sequentialUUID,$t:this.stamp};return R.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,re=>{const K=re.slice(0,2),Z=Number.parseInt(re.slice(2),10);return K==="$s"?M[K]().padStart(Z,"0"):K==="$t"&&L?M[K](Z,L):M[K](Z)})}),d(this,"availableUUIDs",(R=this.uuidLength)=>Number.parseFloat(([...new Set(this.dict)].length**R).toFixed(0))),d(this,"_collisionCache",new Map),d(this,"approxMaxBeforeCollision",(R=this.availableUUIDs(this.uuidLength))=>{const L=R,M=this._collisionCache.get(L);if(M!==void 0)return M;const G=Number.parseFloat(Math.sqrt(Math.PI/2*R).toFixed(20));return this._collisionCache.set(L,G),G}),d(this,"collisionProbability",(R=this.availableUUIDs(this.uuidLength),L=this.uuidLength)=>Number.parseFloat((this.approxMaxBeforeCollision(R)/this.availableUUIDs(L)).toFixed(20))),d(this,"uniqueness",(R=this.availableUUIDs(this.uuidLength))=>{const L=Number.parseFloat((1-this.approxMaxBeforeCollision(R)/R).toFixed(20));return L>1?1:L<0?0:L}),d(this,"getVersion",()=>this.version),d(this,"stamp",(R,L)=>{const M=Math.floor(+(L||new Date)/1e3).toString(16);if(typeof R=="number"&&R===0)return M;if(typeof R!="number"||R<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(`
39`));const G=R-9,re=Math.round(Math.random()*(G>15?15:G)),K=this.randomUUID(G);
39return"".concat(K.substring(0,re)).concat(M).concat(K.substring(re)).concat(re.toString(16))}),d(this,"parseStamp",(R,L)=>{if(L&&!/t0|t[1-9]\d{1,}/.test(L))throw new Error("Cannot extract date from a formated UUID with no timestamp in the format");const M=L?L.replace(/\$[rs]\d{0,}|\$t0|\$t[1-9]\d{1,}/g,re=>{const K={$r:ee=>[...Array(ee)].map(()=>"r").join(""),$s:ee=>[...Array(ee)].map(()=>"s").join(""),$t:ee=>[...Array(ee)].map(()=>"t").join("")},Z=re.slice(0,2),X=Number.parseInt(re.slice(2),10);return K[Z](X)}).replace(/^(.*?)(t{8,})(.*)$/g,(re,K,Z)=>R.substring(K.length,K.length+Z.length)):R;if(M.length===8)return new Date(Number.parseInt(M,16)*1e3);if(M.length<10)throw new Error("Stamp length invalid");const G=Number.parseInt(M.substring(M.length-1),16);return new Date(Number.parseInt(M.substring(G,G+8),16)*1e3)}),d(this,"setCounter",R=>{this.counter=R}),d(this,"validate",(R,L)=>{const M=L?this._normalizeDictionary(L):this.dict;return R.split("").every(G=>M.includes(G))});const A=l(l({},E),S);this.counter=0,this.debug=!1,this.dict=[],this.version=y;const{dictionary:I,shuffle:k,length:P,counter:F}=A;this.uuidLength=P,this.setDictionary(I,k),this.setCounter(F),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)}};d(b,"default",b);var _=b;return m(g)})();t.exports=e.default,typeof window<"u"&&(e=e.default)})(ME)),ME.exports}var QX=ZX();const eZ=ut(QX);class tZ extends xs{value;constructor(e,r){super(e,r),typeof r<"u"&&(this.value=r.value)}}class kw{uuid;identityMap;constructor({length:e=6}={}){this.uuid=new eZ({length:e}),this.identityMap=new WeakMap}identify(e){if(!ur(e))throw new tZ("Cannot not identify the element. `element` is neither structurally compatible nor a subclass of an Element class.",{value:e});if(e.meta.hasKey("id")&&ct(e.meta.get("id"))&&!e.meta.get("id").equals(""))return e.id;if(this.identityMap.has(e))return this.identityMap.get(e);const r=new pe.StringElement(this.generateId());return this.identityMap.set(e,r),r}forget(e){return this.identityMap.has(e)?(this.identityMap.delete(e),!0):!1}generateId(){return this.uuid.randomUUID()}}new kw;class rZ extends Array{unknownMediaType="application/octet-stream";filterByFormat(){throw new cE("filterByFormat method in MediaTypes class is not yet implemented.")}findBy(){throw new cE("findBy method in MediaTypes class is not yet implemented.")}latest(){throw new cE("latest method in MediaTypes class is not yet implemented.")}}const nZ=(t,{Type:e,plugins:r=[]})=>{const n=new e(t);return ur(t)&&(t.meta.length>0&&(n.meta=Ke(t.meta)),t.attributes.length>0&&(n.attributes=Ke(t.attributes))),Is(n,r,{toolboxCreator:tL,visitorOptions:{nodeTypeGetter:lo}})},us=t=>(e,r={})=>nZ(e,{...r,Type:t});pe.ObjectElement.refract=us(pe.ObjectElement);pe.ArrayElement.refract=us(pe.ArrayElement);pe.StringElement.refract=us(pe.StringElement);pe.BooleanElement.refract=us(pe.BooleanElement);pe.NullElement.refract=us(pe.NullElement);pe.NumberElement.refract=us(pe.NumberElement);pe.LinkElement.refract=us(pe.LinkElement);pe.RefElement.refract=us(pe.RefElement);Hc.refract=us(Hc);Kc.refract=us(Kc);ns.refract=us(ns);const sZ=(t,e)=>{const r=new uL({predicate:t});return vr(e,r),new pe.ArraySlice(r.result)},cL=(t,e)=>{const r=new uL({predicate:t,returnOnTrue:Rt});return vr(e,r),OB(void 0,[0],r.result)},wc=(t,e=new WeakMap)=>(os(t)?(e.set(t.key,t),wc(t.key,e),e.set(t.value,t),wc(t.value,e)):t.children.forEac
39h(r=>{e.set(r,t),wc(r,e)}),e),iZ=(t,e,r)=>{const n=r.get(t);os(n)&&(n.key===t&&(n.key=e,r.delete(t),r.set(e,n)),n.value===t&&(n.value=e,r.delete(t),r.set(e,n)))},aZ=(t,e,r)=>{const n=r.get(t);Pt(n)&&(n.content=n.map((s,i,a)=>a===t?(r.delete(t),r.set(e,n),e):a))},oZ=(t,e,r)=>{const n=r.get(t);Fr(n)&&(n.content=n.map(s=>s===t?(r.delete(t),r.set(e,n),e):s))};class uZ{element;edges;constructor({element:e}){this.element=e}transclude(e,r){var n;if(e===this.element)return r;if(e===r)return this.element;this.edges=(n=this.edges)!==null&&n!==void 0?n:wc(this.element);const s=this.edges.get(e);if(!Ti(s))return Pt(s)?aZ(e,r,this.edges):Fr(s)?oZ(e,r,this.edges):os(s)&&iZ(e,r,this.edges),this.element}}const lZ=(t,e,r)=>new uZ({element:r}).transclude(t,e),fL=(t,e=eL)=>{if(ca(t))try{return e.fromRefract(JSON.parse(t))}catch{}return rs(t)&&Ko("element",t)?e.fromRefract(t):e.toElement(t)},pL=t=>typeof t?.type=="string"?t.type:lo(t),dL={EphemeralObject:["content"],EphemeralArray:["content"],...Rs},hL=(t,e,{keyMap:r=dL,...n}={})=>vr(t,e,{keyMap:r,nodeTypeGetter:pL,nodePredicate:ei,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...n});hL[Symbol.for("nodejs.util.promisify.custom")]=async(t,{keyMap:e=dL,...r}={})=>vr[Symbol.for("nodejs.util.promisify.custom")](t,visitor,{keyMap:e,nodeTypeGetter:pL,nodePredicate:ei,detectCycles:!1,deleteNodeSymbol:Symbol.for("delete-node"),skipVisitingNodeSymbol:Symbol.for("skip-visiting-node"),...r});class cZ{type="EphemeralArray";content=[];reference=void 0;constructor(e){this.content=e,this.reference=[]}toReference(){return this.reference}toArray(){return this.reference.push(...this.content),this.reference}}class fZ{type="EphemeralObject";content=[];reference=void 0;constructor(e){this.content=e,this.reference={}}toReference(){return this.reference}toObject(){return Object.assign(this.reference,Object.fromEntries(this.content))}}let pZ=class{ObjectElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new fZ(e.content);return this.references.set(e,r),r}};EphemeralObject={leave:e=>e.toObject()};MemberElement={enter:e=>[e.key,e.value]};ArrayElement={enter:e=>{if(this.references.has(e))return this.references.get(e).toReference();const r=new cZ(e.content);return this.references.set(e,r),r}};EphemeralArray={leave:e=>e.toArray()};references=new WeakMap;BooleanElement(e){return e.toValue()}NumberElement(e){return e.toValue()}StringElement(e){return e.toValue()}NullElement(){return null}RefElement(e,...r){var n;const s=r[3];return((n=s[s.length-1])===null||n===void 0?void 0:n.type)==="EphemeralObject"?Symbol.for("delete-node"):String(e.toValue())}LinkElement(e){return ct(e.href)?e.href.toValue():""}};const Re=t=>ur(t)?ct(t)||Ow(t)||Uu(t)||Cw(t)?t.toValue():hL(t,new pZ):t,Gc=t=>{const e=t.meta.length>0?Ke(t.meta):void 0,r=t.attributes.length>0?Ke(t.attributes):void 0;return new t.constructor(void 0,e,r)},Yc=(t,e)=>e.clone&&e.isMergeableElement(t)?Fn(Gc(t),t,e):t,dZ=(t,e)=>{if(typeof e.customMerge!="function")return Fn;const r=e.customMerge(t,e);return typeof r=="function"?r:Fn},hZ=t=>typeof t.customMetaMerge!="function"?e=>Ke(e):t.customMetaMerge,mZ=t=>typeof t.customAttributesMerge!="function"?e=>Ke(e):t.customAttributesMerge,gZ=(t,e,r)=>t.concat(e)["fantasy-land/map"](n=>Yc(n,r)),yZ=(t,e,r)=>{const n=Pt(t)?Gc(t):Gc(e);return Pt(t)&&t.forEach((s,i,a)=>{const o=Ar(a);o.value=Yc(s,r),n.content.push(o)}),e.forEach((s,i,a)=>{const o=Re(i);let u;if(Pt(t)&&t.hasKey(o)&&r.isMergeableElement(s)){const l=t.get(o);u=Ar(a),u.value=dZ(i,r)(l,s,r)}else u=Ar(a),u.value=Yc(s,r);n.remove(o),n.content.push(u)}),n},rc={clone:!0,isMergeableElement:t=>Pt(t)||Fr(t),arrayElementMerge:gZ,objectElementMerge:yZ,customMerge:void 0,customMetaMerge:void 0,customAttributesMerge:void 0},Fn=(t,e,r)=>{var n,s,i;const a={...rc,...r};a.isMergeableElement=(n=a.isMergeableElement)!==null&&n!==void 0?n:rc.isMergeableElement,a.arrayElementMerge=(s=a.arrayElementMerge)!==null&&s!==void 0?s:rc.arrayElementMerge,a.objectElementMerge=(i=a.objectElementMerge)!==null&&i!==void 0?i:rc.objectElementMerge;
39const o=Fr(e),u=Fr(t);if(!(o===u))return Yc(e,a);const c=o&&typeof a.arrayElementMerge=="function"?a.arrayElementMerge(t,e,a):a.objectElementMerge(t,e,a);return c.meta=hZ(a)(t.meta,e.meta),c.attributes=mZ(a)(t.attributes,e.attributes),c};Fn.all=(t,e)=>{if(!Array.isArray(t))throw new TypeError("First argument of deepmerge should be an array.");return t.length===0?new pe.ObjectElement:t.reduce((r,n)=>Fn(r,n,e),Gc(t[0]))};class Pw extends nr{}class mL extends Pw{}const vZ=async(t,e)=>{let r=t,n=!1;if(!ZB(t)){const a=Ar(t);a.classes.push("result"),r=new ns([a]),n=!0}const s=new au({uri:e.resolve.baseURI,parseResult:r,mediaType:e.parse.mediaType}),i=await _w("canDereference",[s,e],e.dereference.strategies);if($u(i))throw new mL(s.uri);try{const{result:a}=await ww("dereference",[s,e],i);return n?a.get(0):a}catch(a){throw new Pw(`Error while dereferencing file "${s.uri}"`,{cause:a})}};let zu=class{name;allowEmpty;sourceMap;fileExtensions;mediaTypes;constructor({name:e,allowEmpty:r=!0,sourceMap:n=!1,fileExtensions:s=[],mediaTypes:i=[]}){this.name=e,this.allowEmpty=r,this.sourceMap=n,this.fileExtensions=s,this.mediaTypes=i}};class bZ{name;constructor({name:e}){this.name=e}}class EZ extends bZ{timeout;redirects;withCredentials;constructor(e){const{name:r="http-resolver",timeout:n=5e3,redirects:s=5,withCredentials:i=!1}=e??{};super({name:r}),this.timeout=n,this.redirects=s,this.withCredentials=i}canRead(e){return Sw(e.uri)}}class SZ{name;constructor({name:e}){this.name=e}}class _Z{name;constructor({name:e}){this.name=e}}class DE extends Array{includesCycle(e){return this.filter(r=>r.has(e)).length>1}includes(e,r){return e instanceof Set?super.includes(e,r):this.some(n=>n.has(e))}findItem(e){for(const r of this)for(const n of r)if(ur(n)&&e(n))return n}}let zs=class{uri;depth;value;refSet;errors;constructor({uri:e,depth:r=0,refSet:n,value:s}){this.uri=e,this.value=s,this.depth=r,this.refSet=n,this.errors=[]}};class gL extends nr{}class wZ extends gL{}class xZ extends nr{}class jw extends xZ{}class AZ extends gL{constructor(e){super(`Invalid JSON Schema $anchor "${e}".`)}}class La extends Pw{}class OZ extends xw{}class Hs extends s1{}const CZ=async(t,e={})=>{const r=VB(UB,e);return vZ(t,r)},{fetch:RZ,Response:IZ,Headers:TZ,Request:kZ,FormData:PZ,File:jZ,Blob:NZ}=globalThis;typeof globalThis.fetch>"u"&&(globalThis.fetch=RZ);typeof globalThis.Headers>"u"&&(globalThis.Headers=TZ);typeof globalThis.Request>"u"&&(globalThis.Request=kZ);typeof globalThis.Response>"u"&&(globalThis.Response=IZ);typeof globalThis.FormData>"u"&&(globalThis.FormData=PZ);typeof globalThis.File>"u"&&(globalThis.File=jZ);typeof globalThis.Blob>"u"&&(globalThis.Blob=NZ);function fM(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function MZ(t){if(Array.isArray(t))return t}function DZ(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FZ(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function qZ(t,e,r){return e&&FZ(t.prototype,e),t}function yL(t,e){return e!=null&&typeof Symbol<"u"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function BZ(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var n=[],s=!0,i=!1,a,o;try{for(r=r.call(t);!(s=(a=r.next()).done)&&(n.push(a.value),!(e&&n.length===e));s=!0);}catch(u){i=!0,o=u}finally{try{!s&&r.return!=null&&r.return()}finally{if(i)throw o}}return n}}function LZ(){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 $Z(t,e){return MZ(t)||BZ(t,e)||UZ(t,e)||LZ()}function $a(t){"@swc/helpers - typeof";return t&&typeof Symbol<"u"&&t.constructor===Symbol?"symbol":typeof t}function UZ(t,e){if(t){if(typeof t=="string")return fM(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(r);
39if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fM(t,e)}}var vL=function(t){throw TypeError(t)},bL=function(t,e,r){return e.has(t)||vL("Cannot "+r)},Kr=function(t,e,r){return bL(t,e,"read from private field"),r?r.call(t):e.get(t)},pM=function(t,e,r){return e.has(t)?vL("Cannot add the same private member more than once"):yL(e,WeakSet)?e.add(t):e.set(t,r)},FE=function(t,e,r,n){return bL(t,e,"write to private field"),e.set(t,r),r},co=function(t){return Object.prototype.toString.call(t)},EL=function(t){return ArrayBuffer.isView(t)&&!yL(t,DataView)},VZ=function(t){return co(t)==="[object Date]"},zZ=function(t){return co(t)==="[object RegExp]"},WZ=function(t){return co(t)==="[object Error]"},JZ=function(t){return co(t)==="[object Boolean]"},HZ=function(t){return co(t)==="[object Number]"},KZ=function(t){return co(t)==="[object String]"},SL=Array.isArray,GZ=Object.getOwnPropertyDescriptor,YZ=Object.prototype.propertyIsEnumerable,XZ=Object.getOwnPropertySymbols,xc=Object.prototype.hasOwnProperty;function Nw(t){for(var e=Object.keys(t),r=XZ(t),n=0;n<r.length;n++)YZ.call(t,r[n])&&e.push(r[n]);return e}function ZZ(t,e){var r;return!(!((r=GZ(t,e))===null||r===void 0)&&r.writable)}function _L(t,e){if((typeof t>"u"?"undefined":$a(t))==="object"&&t!==null){var r;if(SL(t))r=[];else if(VZ(t))r=new Date(t.getTime?t.getTime():t);else if(zZ(t))r=new RegExp(t);else if(WZ(t))r={message:t.message};else if(JZ(t)||HZ(t)||KZ(t))r=Object(t);else{if(EL(t))return t.slice();r=Object.create(Object.getPrototypeOf(t))}var n=e.includeSymbols?Nw:Object.keys,s=!0,i=!1,a=void 0;try{for(var o=n(t)[Symbol.iterator](),u;!(s=(u=o.next()).done);s=!0){var l=u.value;r[l]=t[l]}}catch(c){i=!0,a=c}finally{try{!s&&o.return!=null&&o.return()}finally{if(i)throw a}}return r}return t}var wL={includeSymbols:!1,immutable:!1};function dM(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:wL,n=[],s=[],i=!0,a=r.includeSymbols?Nw:Object.keys,o=!!r.immutable;return(function u(l){var c=o?_L(l,r):l,p={},m=!0,d={node:c,node_:l,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(L){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;d.isRoot||(d.parent.node[d.key]=L),d.node=L,M&&(m=!1)},delete:function(L){delete d.parent.node[d.key],L&&(m=!1)},remove:function(L){SL(d.parent.node)?d.parent.node.splice(d.key,1):delete d.parent.node[d.key],L&&(m=!1)},keys:null,before:function(L){p.before=L},after:function(L){p.after=L},pre:function(L){p.pre=L},post:function(L){p.post=L},stop:function(){i=!1},block:function(){m=!1}};if(!i)return d;function g(){if($a(d.node)==="object"&&d.node!==null){(!d.keys||d.node_!==d.node)&&(d.keys=a(d.node)),d.isLeaf=d.keys.length===0;for(var R=0;R<s.length;R++)if(s[R].node_===l){d.circular=s[R];break}}else d.isLeaf=!0,d.keys=null;d.notLeaf=!d.isLeaf,d.notRoot=!d.isRoot}g();var y=e.call(d,d.node);if(y!==void 0&&d.update&&d.update(y),p.before&&p.before.call(d,d.node),!m)return d;if($a(d.node)==="object"&&d.node!==null&&!d.circular){s.push(d),g();var v,E=!0,b=!1,_=void 0;try{for(var w=Object.entries((v=d.keys)!==null&&v!==void 0?v:[])[Symbol.iterator](),S;!(E=(S=w.next()).done);E=!0){var A=$Z(S.value,2),I=A[0],k=A[1],P;n.push(k),p.pre&&p.pre.call(d,d.node[k],k);var F=u(d.node[k]);o&&xc.call(d.node,k)&&!ZZ(d.node,k)&&(d.node[k]=F.node),F.isLast=!((P=d.keys)===null||P===void 0)&&P.length?+I===d.keys.length-1:!1,F.isFirst=+I==0,p.post&&p.post.call(d,F),n.pop()}}catch(R){b=!0,_=R}finally{try{!E&&w.return!=null&&w.return()}finally{if(b)throw _}}s.pop()}return p.after&&p.after.call(d,d.node),d})(t).node}var tn,mi,Ts=(function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:wL;DZ(this,t),pM(this,tn),pM(this,mi),FE(this,tn,e),FE(this,mi,r)}return qZ(t,[{key:"get",value:function(r){for(var n=Kr(this,tn),s=0;n&&s<r.length;s++){var i=r[s];if(!xc.call(n,i)||!Kr(this,mi).includeSymbols&&(typeof i>"u"?"undefined":$a(i))==="symbol")return;n=n[i]}return n}},{key:"has",value:function(r){for(var n=Kr(this,tn),s=0;n&&s<r.length;s++){var i=r[s];if(!xc.call(n,i)||!Kr(this,mi).includeSymbols&&(typeof i>"u"?"undefined":$a(i))==="symbol")return!1;n=n[i]}return!0}},{key:"set",value:function(r,n){var s=Kr(this,tn),i=0;for(i=0;i<r.length-1;i++){var a=r[i];xc.call(s,a)||(s[a]={}),s=s[a]}return s[r[i]]=n,n}},{key:"map",value:function(r){return dM(Kr(this,tn),r,{immutable:!0,includeSymbols:!!Kr(this,mi).includeSymbols})}}
39,{key:"forEach",value:function(r){return FE(this,tn,dM(Kr(this,tn),r,Kr(this,mi))),Kr(this,tn)}},{key:"reduce",value:function(r,n){var s=arguments.length===1,i=s?Kr(this,tn):n;return this.forEach(function(a){(!this.isRoot||!s)&&(i=r.call(this,i,a))}),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=Kr(this,mi);return EL(Kr(this,tn))?Kr(this,tn).slice():(function i(a){for(var o=0;o<r.length;o++)if(r[o]===a)return n[o];if((typeof a>"u"?"undefined":$a(a))==="object"&&a!==null){var u=_L(a,s);r.push(a),n.push(u);var l=s.includeSymbols?Nw:Object.keys,c=!0,p=!1,m=void 0;try{for(var d=l(a)[Symbol.iterator](),g;!(c=(g=d.next()).done);c=!0){var y=g.value;u[y]=i(a[y])}}catch(v){p=!0,m=v}finally{try{!c&&d.return!=null&&d.return()}finally{if(p)throw m}}return r.pop(),n.pop(),u}return a})(Kr(this,tn))}}]),t})();tn=new WeakMap;mi=new WeakMap;var ks=function(t,e){return new Ts(t,e)};ks.get=function(t,e,r){return new Ts(t,r).get(e)};ks.set=function(t,e,r,n){return new Ts(t,n).set(e,r)};ks.has=function(t,e,r){return new Ts(t,r).has(e)};ks.map=function(t,e,r){return new Ts(t,r).map(e)};ks.forEach=function(t,e,r){return new Ts(t,r).forEach(e)};ks.reduce=function(t,e,r,n){return new Ts(t,n).reduce(e,r)};ks.paths=function(t,e){return new Ts(t,e).paths()};ks.nodes=function(t,e){return new Ts(t,e).nodes()};ks.clone=function(t,e){return new Ts(t,e).clone()};var QZ=ks;const xL="application/json, application/yaml",Xc="https://swagger.io",eQ=Object.freeze({url:"/"}),AL=3e3,tQ=["properties"],rQ=["properties"],nQ=["definitions","parameters","responses","securityDefinitions","components/schemas","components/responses","components/parameters","components/securitySchemes"],sQ=["schema/example","items/example"];function OL(t){const e=t[t.length-1],r=t[t.length-2],n=t.join("/");return tQ.indexOf(e)>-1&&rQ.indexOf(r)===-1||nQ.indexOf(n)>-1||sQ.some(s=>n.indexOf(s)>-1)}function iQ(t,e,{specmap:r,getBaseUrlForNodePath:n=i=>r.getContext([...e,...i]).baseDoc,targetKeys:s=["$ref","$$ref"]}={}){const i=[];return QZ(t).forEach(function(){if(s.includes(this.key)&&typeof this.node=="string"){const o=this.path,u=e.concat(this.path),l=i1(this.node,n(o));i.push(r.replace(u,l))}}),i}function i1(t,e){const[r,n]=t.split("#"),s=e??"",i=r??"";let a;if(Sw(s))a=Nr(s,i);else{const o=Nr(Xc,s),l=Nr(o,i).replace(Xc,"");a=i.startsWith("/")?l:l.substring(1)}return n?`${a}#${n}`:a}const aQ=/^([a-z]+:\/\/|\/\/)/i;class Ka extends xs{}const Vs={},hM=new WeakMap,oQ=[t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="examples",t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="content"&&t[7]==="example",t=>t[0]==="paths"&&t[3]==="responses"&&t[5]==="content"&&t[7]==="examples"&&t[9]==="value",t=>t[0]==="paths"&&t[3]==="requestBody"&&t[4]==="content"&&t[6]==="example",t=>t[0]==="paths"&&t[3]==="requestBody"&&t[4]==="content"&&t[6]==="examples"&&t[8]==="value",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="example",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="example",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="examples"&&t[6]==="value",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="examples"&&t[7]==="value",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="content"&&t[6]==="example",t=>t[0]==="paths"&&t[2]==="parameters"&&t[4]==="content"&&t[6]==="examples"&&t[8]==="value",t=>t[0]==="paths"&&t[3]==="parameters"&&t[4]==="content"&&t[7]==="example",t=>t[0]==="paths"&&t[3]==="parameters"&&t[5]==="content"&&t[7]==="examples"&&t[9]==="value"],uQ=t=>oQ.some(e=>e(t)),lQ={key:"$ref",plugin:(t,e,r,n)=>{const s=n.getInstance(),i=r.slice(0,-1);if(OL(i)||uQ(i))return;const{baseDoc:a}=n.getContext(r);if(typeof t!="string")return new Ka("$ref: must be a string (JSON-Ref)",{$ref:t,baseDoc:a,fullPath:r});const o=RL(t),u=o[0],l=o[1]||"";let c;try{c=a||u?CL(u,a):null}catch(y){return a1(y,{pointer:l,$ref:t,basePath:c,fullPath:r})}let p,m;if(hQ(l,c,i,n)&&!s.useCircularStructures){const y=i1(t,c);return t===y?null:qt.replace(r,y)}if(c==null?(m=Dw(l),p=n.get(m),typeof p>"u"&&(p=new Ka(`Could not resolve reference: ${t}`,{pointer:l,$ref:t,baseDoc:a,fullPath:r}))):(p=IL(c,l),p.__value!=null?p=p.__value:p=p.catch(y=>{throw a1(y,{pointer:l,$ref:t,baseDoc:a,fullPath:r})})),p instanceof Error)return[qt.remove(r),p];const d=i1(t,c),g=qt.replace(i,p,{$$ref:d});if(c&&c!==a)return[g,qt.context(i,{baseDoc:c})];try{if(!mQ(n.state,g)||s.useCircularStructures)return g}catch{return null}}},Mw=Object.assign(lQ,{docCache:Vs,absoluteify:CL,clearCache:cQ,JSONRefError:Ka,wrapError:a1,getDoc:TL,split:RL,extractFromDoc:IL,fetchJSON:fQ,extract:o1,jsonPointerToArray:Dw,unescapeJsonPointerToken:kL});function CL(t,e){if(!aQ.test(t)){if(!e)throw new Ka(`Tried to resolve a relative URL, without having a basePath. path: '${t}' basePath: '${e}'`);return Nr(e,t)}return t}function a1(t,e){let r;return t&&t.response&&t.response.body?r=`${t.response.body.code} ${t.response.body.message}`:r=t.message,new Ka(`Could not resolve reference: ${r}`,{...e,cause:t})}function RL(t){return(t+"").split("#")}function IL(t,e){const r=Vs[t];if(r&&!qt.isPromise(r))try{const n=o1(e,r);return Object.assign(Promise.resolve(n),{__value:n})}catch(n){return Promise.reject(n)}return TL(t).then(n=>o1(e,n))}
39function cQ(t){typeof t<"u"?delete Vs[t]:Object.keys(Vs).forEach(e=>{delete Vs[e]})}function TL(t){const e=Vs[t];return e?qt.isPromise(e)?e:Promise.resolve(e):(Vs[t]=Mw.fetchJSON(t).then(r=>(Vs[t]=r,r)),Vs[t])}function fQ(t){return fetch(t,{headers:{Accept:xL},loadSpec:!0}).then(e=>e.text()).then(e=>Zi.load(e))}function o1(t,e){const r=Dw(t);if(r.length<1)return e;const n=qt.getIn(e,r);if(typeof n>"u")throw new Ka(`Could not resolve pointer: ${t} does not exist in document`,{pointer:t});return n}function Dw(t){if(typeof t!="string")throw new TypeError(`Expected a string, got a ${typeof t}`);return t[0]==="/"&&(t=t.substr(1)),t===""?[]:t.split("/").map(kL)}function kL(t){return typeof t!="string"?t:new URLSearchParams(`=${t.replace(/~1/g,"/").replace(/~0/g,"~")}`).get("")}function PL(t){return new URLSearchParams([["",t.replace(/~/g,"~0").replace(/\//g,"~1")]]).toString().slice(1)}function pQ(t){return t.length===0?"":`/${t.map(PL).join("/")}`}const dQ=t=>!t||t==="/"||t==="#";function qE(t,e){if(dQ(e))return!0;const r=t.charAt(e.length),n=e.slice(-1);return t.indexOf(e)===0&&(!r||r==="/"||r==="#")&&n!=="#"}function hQ(t,e,r,n){let s=hM.get(n);s||(s={},hM.set(n,s));const i=pQ(r),a=`${e||"<specmap-base>"}#${t}`,o=i.replace(/allOf\/\d+\/?/g,""),u=n.contextTree.get([]).baseDoc;if(e===u&&qE(o,t))return!0;let l="";if(r.some(p=>(l=`${l}/${PL(p)}`,s[l]&&s[l].some(m=>qE(m,a)||qE(a,m)))))return!0;s[o]=(s[o]||[]).concat(a)}function mQ(t,e){const r=[t];return e.path.reduce((s,i)=>(r.push(s[i]),s[i]),t),n(e.value);function n(s){return qt.isObject(s)&&(r.indexOf(s)>=0||Object.keys(s).some(i=>n(s[i])))}}const gQ={key:"allOf",plugin:(t,e,r,n,s)=>{if(s.meta&&s.meta.$$ref)return;const i=r.slice(0,-1);if(OL(i))return;if(!Array.isArray(t)){const l=new TypeError("allOf must be an array");return l.fullPath=r,l}let a=!1,o=s.value;if(i.forEach(l=>{o&&(o=o[l])}),o={...o},Object.keys(o).length===0)return;delete o.allOf;const u=[];return u.push(n.replace(i,{})),t.forEach((l,c)=>{if(!n.isObject(l)){if(a)return null;a=!0;const d=new TypeError("Elements in allOf must be objects");return d.fullPath=r,u.push(d)}u.push(n.mergeDeep(i,l));const p=r.slice(0,-1),m=iQ(l,p,{getBaseUrlForNodePath:d=>n.getContext([...r,c,...d]).baseDoc,specmap:n});u.push(...m)}),o.example&&u.push(n.remove([].concat(i,"example"))),u.push(n.mergeDeep(i,o)),o.$$ref||u.push(n.remove([].concat(i,"$$ref"))),u}},yQ={key:"parameters",plugin:(t,e,r,n)=>{if(Array.isArray(t)&&t.length){const s=Object.assign([],t),i=r.slice(0,-1),a={...qt.getIn(n.spec,i)};for(let o=0;o<t.length;o+=1){const u=t[o];try{s[o].default=n.parameterMacro(a,u)}catch(l){const c=new Error(l);return c.fullPath=r,c}}return qt.replace(r,s)}return qt.replace(r,t)}},vQ={key:"properties",plugin:(t,e,r,n)=>{const s={...t};for(const a in t)try{s[a].default=n.modelPropertyMacro(s[a])}catch(o){const u=new Error(o);return u.fullPath=r,u}return qt.replace(r,s)}};class bQ{constructor(e){this.root=BE(e||{})}set(e,r){const n=this.getParent(e,!0);if(!n){Zc(this.root,r,null);return}const s=e[e.length-1],{children:i}=n;if(i[s]){Zc(i[s],r,n);return}i[s]=BE(r,n)}get(e){if(e=e||[],e.length<1)return this.root.value;let r=this.root,n,s;for(let i=0;i<e.length&&(s=e[i],n=r.children,!!n[s]);i+=1)r=n[s];return r&&r.protoValue}getParent(e,r){return!e||e.length<1?null:e.length<2?this.root:e.slice(0,-1).reduce((n,s)=>{if(!n)return n;const{children:i}=n;return!i[s]&&r&&(i[s]=BE(null,n)),i[s]},this.root)}}function BE(t,e){return Zc({children:{}},t,e)}function Zc(t,e,r){return t.value=e||{},t.protoValue=r?{...r.protoValue,...t.value}:t.value,Object.keys(t.children).forEach(n=>{const s=t.children[n];t.children[n]=Zc(s,s.value,t)}),t}const mM=100,gM=()=>{};class EQ{static getPluginName(e){return e.pluginName}static getPatchesOfType(e,r){return e.filter(r)}constructor(e){Object.assign(this,{spec:"",debugLevel:"info",plugins:[],pluginHistory:{},errors:[],mutations:[],promisedPatches:[],state:{},patches:[],context:{},contextTree:new bQ,showDebug:!1,allPatches:[],pluginProp:"specMap",libMethods:Object.assign(Object.create(this),qt,{getInstance:()=>this}),allowMetaPatches:!1},e),this.get=this._get.bind(this),this.getContext=this._getContext.bind(this),this.hasRun=this._hasRun.bind(this),this.wrappedPlugins=this.plugins.map(this.wrapPlugin.bind(this)).filter(qt.isFunction),this.patches.push(qt.add([],this.spec)),this.patches.push(qt.context([],this.context)),this.updatePatches(this.patches)}debug(e,...r){this.debugLevel===e&&console.log(...r)}verbose(e,...r){this.debugLevel==="verbose"&&console.log(`[${e}]   `,...r)}wrapPlugin(e,r){const{pathDiscriminator:n}=this;let s=null,i;return e[this.pluginProp]?(s=e,i=e[this.pluginProp]):qt.isFunction(e)?i=e:qt.isObject(e)&&(i=a(e)),Object.assign(i.bind(s),{pluginName:e.n
39ame||r,isGenerator:qt.isGenerator(i)});function a(o){const u=(l,c)=>Array.isArray(l)?l.every((p,m)=>p===c[m]):!0;return function*(c,p){const m={};for(const[g,y]of c.filter(qt.isAdditiveMutation).entries())if(g<AL)yield*d(y.value,y.path,y);else return;function*d(g,y,v){if(!qt.isObject(g))o.key===y[y.length-1]&&(yield o.plugin(g,o.key,y,p));else{const E=y.length-1,b=y[E],_=y.indexOf("properties"),w=b==="properties"&&E===_,S=p.allowMetaPatches&&m[g.$$ref];for(const A of Object.keys(g)){const I=g[A],k=y.concat(A),P=qt.isObject(I),F=g.$$ref;if(S||P&&(p.allowMetaPatches&&F&&u(n,k)&&(m[F]=!0),yield*d(I,k,v)),!w&&A===o.key){const R=u(n,y);(!n||R)&&(yield o.plugin(I,A,k,p,v))}}}}}}}nextPlugin(){return this.wrappedPlugins.find(e=>this.getMutationsForPlugin(e).length>0)}nextPromisedPatch(){if(this.promisedPatches.length>0)return Promise.race(this.promisedPatches.map(e=>e.value))}getPluginHistory(e){const r=this.constructor.getPluginName(e);return this.pluginHistory[r]||[]}getPluginRunCount(e){return this.getPluginHistory(e).length}getPluginHistoryTip(e){const r=this.getPluginHistory(e);return r&&r[r.length-1]||{}}getPluginMutationIndex(e){const r=this.getPluginHistoryTip(e).mutationIndex;return typeof r!="number"?-1:r}updatePluginHistory(e,r){const n=this.constructor.getPluginName(e);this.pluginHistory[n]=this.pluginHistory[n]||[],this.pluginHistory[n].push(r)}updatePatches(e){qt.normalizeArray(e).forEach(r=>{if(r instanceof Error){this.errors.push(r);return}try{if(!qt.isObject(r)){this.debug("updatePatches","Got a non-object patch",r);return}if(this.showDebug&&this.allPatches.push(r),qt.isPromise(r.value)){this.promisedPatches.push(r),this.promisedPatchThen(r);return}if(qt.isContextPatch(r)){this.setContext(r.path,r.value);return}qt.isMutation(r)&&this.updateMutations(r)}catch(n){console.error(n),this.errors.push(n)}})}updateMutations(e){typeof e.value=="object"&&!Array.isArray(e.value)&&this.allowMetaPatches&&(e.value={...e.value});const r=qt.applyPatch(this.state,e,{allowMetaPatches:this.allowMetaPatches});r&&(this.mutations.push(e),this.state=r)}removePromisedPatch(e){const r=this.promisedPatches.indexOf(e);if(r<0){this.debug("Tried to remove a promisedPatch that isn't there!");return}this.promisedPatches.splice(r,1)}promisedPatchThen(e){return e.value=e.value.then(r=>{const n={...e,value:r};this.removePromisedPatch(e),this.updatePatches(n)}).catch(r=>{this.removePromisedPatch(e),this.updatePatches(r)}),e.value}getMutations(e,r){return e=e||0,typeof r!="number"&&(r=this.mutations.length),this.mutations.slice(e,r)}getCurrentMutations(){return this.getMutationsForPlugin(this.getCurrentPlugin())}getMutationsForPlugin(e){const r=this.getPluginMutationIndex(e);return this.getMutations(r+1)}getCurrentPlugin(){return this.currentPlugin}getLib(){return this.libMethods}_get(e){return qt.getIn(this.state,e)}_getContext(e){return this.contextTree.get(e)}setContext(e,r){return this.contextTree.set(e,r)}_hasRun(e){return this.getPluginRunCount(this.getCurrentPlugin())>(e||0)}dispatch(){const e=this,r=this.nextPlugin();if(!r){const i=this.nextPromisedPatch();if(i)return i.then(()=>this.dispatch()).catch(()=>this.dispatch());const a={spec:this.state,errors:this.errors};return this.showDebug&&(a.patches=this.allPatches),Promise.resolve(a)}if(e.pluginCount=e.pluginCount||new WeakMap,e.pluginCount.set(r,(e.pluginCount.get(r)||0)+1),e.pluginCount[r]>mM)return Promise.resolve({spec:e.state,errors:e.errors.concat(new Error(`We've reached a hard limit of ${mM} plugin runs`))});if(r!==this.currentPlugin&&this.promisedPatches.length){const i=this.promisedPatches.map(a=>a.value);return Promise.all(i.map(a=>a.then(gM,gM))).then(()=>this.dispatch())}return n();function n(){e.currentPlugin=r;const i=e.getCurrentMutations(),a=e.mutations.length-1;try{if(r.isGenerator)for(const o of r(i,e.getLib()))s(o);else{const o=r(i,e.getLib());s(o)}}catch(o){console.error(o),s([Object.assign(Object.create(o),{plugin:r})])}finally{e.updatePluginHistory(r,{mutationIndex:a})}return e.dispatch()}function s(i){i&&(i=qt.fullyNormalizeArray(i),e.updatePatches(i,r))}}}function SQ(t){return new EQ(t).dispatch()}const Aa={refs:Mw,allOf:gQ,parameters:yQ,properties:vQ};function jL(t,e={}){const{requestInterceptor:r,responseInterceptor:n}=e,s=t.withCredentials?"include":"same-origin";return i=>t({url:i,loadSpec:!0,requestInterceptor:r,responseInterceptor:n,headers:{Accept:xL},credentials:s}).then(a=>a.body)}function Fw(t,e){return!e&&typeof navigator<"u"&&(e=navigator),e&&e.product==="ReactNative"?!!(t&&typeof t=="object"&&typeof t.uri=="string"):typeof File<"u"&&t instanceof File||typeof Blob<"u"&&t instanceof Blob||ArrayBuffer.isView(t)?!0:t!==null&&typeof t=="object"&&typeof t.pipe=="function"}function NL(t,e){return Array.isArray(t)&&t.some(r=>Fw(r,e))}class u1 extends File{constructor(e,r="",n={}){super([e],r,n),this.data=e}valueOf(){return this.data}toString(){return this.valueOf()}}const _Q=t=>":/?#[]@!$&'()*+,;=".indexOf(t)>-1,wQ=t=>/^[a-z0-9\-._~]+$/i.test(t);function ML(t,e="reserved"){return[...t].map(r=>{if(wQ(r)||_Q(r)&&e==="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 qw(t){const{value:e}=t;return Array.isArray(e)?xQ(t):typeof e=="object"?AQ(t):OQ(t)}function Mr(t,e=!1){return Array.isArray(t)||t!==null&&typeof t=="object"?t=JSON.stringify(t):(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),e&&typeof t=="string"&&t.length>0?ML(t,e):t??""}function xQ({key:t,value:e,style:r,explode:n,escape:s}){if(r==="simple")return e.map(i=>Mr(i,s)).join(",");if(r==="label")return`.${e.map(i=>Mr(i,s)).join(".")}`;if(r==="matrix")return e.map(i=>Mr(i,s)).reduce((i,a)=>!i||n?`${i||""};${t}=${a}`:`${i},${a}`,"");if(r==="form"){const i=n?`&${t}=`:",";return e.map(a=>Mr(a,s)).join(i)}if(r==="spaceDelimited"){const i=n?`${t}=`:"";return e.map(a=>Mr(a,s)).join(` ${i}`)}if(r==="pipeDelimited"){const i=n?`${t}=`:"";return e.map(a=>Mr(a,s)).join(`|${i}`)}}function AQ({key:t,value:e,style:r,explode:n,escape:s}){const i=Object.keys(e);if(r==="simple")return i.reduce((a,o)=>{const u=Mr(e[o],s),l=n?"=":",";return`${a?`${a},`:""}${o}${l}${u}`},"");if(r==="label")return i.reduce((a,o)=>{const u=Mr(e[o],s),l=n?"=":".";return`${a?`${a}.`:"."}${o}${l}${u}`},"");if(r==="matrix"&&n)return i.reduce((a,o)=>{const u=Mr(e[o],s);return`${a?`${a};`:";"}${o}=${u}`},"");if(r==="matrix")return i.reduce((a,o)=>{const u=Mr(e[o],s);return`${a?`${a},`:`;${t}=`}${o},${u}`},"");if(r==="form")return i.reduce((a,o)=>{const u=Mr(e[o],s);return`${a?`${a}${n?"&":","}`:""}${o}${n?"=":","}${u}`},"")}function OQ({key:t,value:e,style:r,escape:n}){if(r==="simple")return Mr(e,n);if(r==="label")return`.${Mr(e,n)}`;if(r==="matrix")return`;${t}=${Mr(e,n)}`;if(r==="form"||r==="deepObject")return Mr(e,n)}const CQ={form:",",spaceDelimited:"%20",pipeDelimited:"|"},RQ={csv:",",ssv:"%20",tsv:"%09",pipes:"|"};function DL(t,e,r=!1){const{collectionFormat:n,allowEmptyValue:s,serializationOption:i,encoding:a}=e,o=typeof e=="object"&&!Array.isArray(e)?e.value:e,u=r?c=>c.toString():c=>encodeURIComponent(c),l=u(t);if(typeof o>"u"&&s)return[[l,""]];if(Fw(o)||NL(o))return[[l,o]];if(i)return yM(t,o,r,i);if(a){if([typeof a.style,typeof a.explode,typeof a.allowReserved].some(c=>c!=="undefined")){const{style:c,explode:p,allowReserved:m}=a;return yM(t,o,r,{style:c,explode:p,allowReserved:m})}if(typeof a.contentType=="string"){if(a.contentType.startsWith("application/json")){const m=typeof o=="str
39ing"?o:JSON.stringify(o),d=u(m),g=new u1(d,"blob",{type:a.contentType});return[[l,g]]}const c=u(String(o)),p=new u1(c,"blob",{type:a.contentType});return[[l,p]]}return typeof o!="object"?[[l,u(o)]]:Array.isArray(o)&&o.every(c=>typeof c!="object")?[[l,o.map(u).join(",")]]:[[l,u(JSON.stringify(o))]]}return typeof o!="object"?[[l,u(o)]]:Array.isArray(o)?n==="multi"?[[l,o.map(u)]]:[[l,o.map(u).join(RQ[n||"csv"])]]:[[l,""]]}function yM(t,e,r,n){const s=n.style||"form",i=typeof n.explode>"u"?s==="form":n.explode,a=r?!1:n&&n.allowReserved?"unsafe":"reserved",o=l=>Mr(l,a),u=r?l=>l:l=>o(l);return typeof e!="object"?[[u(t),o(e)]]:Array.isArray(e)?i?[[u(t),e.map(o)]]:[[u(t),e.map(o).join(CQ[s])]]:s==="deepObject"?Object.keys(e).map(l=>[u(`${t}[${l}]`),o(e[l])]):i?Object.keys(e).map(l=>[u(l),o(e[l])]):[[u(t),Object.keys(e).map(l=>[`${u(l)},${o(e[l])}`]).join(",")]]}function IQ(t){return Object.entries(t).reduce((e,[r,n])=>{for(const[s,i]of DL(r,n,!0))if(Array.isArray(i))for(const a of i)if(ArrayBuffer.isView(a)){const o=new Blob([a]);e.append(s,o)}else e.append(s,a);else if(ArrayBuffer.isView(i)){const a=new Blob([i]);e.append(s,a)}else e.append(s,i);return e},new FormData)}const TQ=(t,{encode:e=!0}={})=>{const r=(i,a,o)=>(Array.isArray(o)?o.reduce((u,l)=>r(i,a,l),i):o instanceof Date?i.append(a,o.toISOString()):typeof o=="object"?Object.entries(o).reduce((u,[l,c])=>r(i,`${a}[${l}]`,c),i):i.append(a,o),i),n=Object.entries(t).reduce((i,[a,o])=>r(i,a,o),new URLSearchParams),s=String(n);return e?s:decodeURIComponent(s)};function vM(t){const e=Object.keys(t).reduce((r,n)=>{for(const[s,i]of DL(n,t[n]))i instanceof u1?r[s]=i.valueOf():r[s]=i;return r},{});return TQ(e,{encode:!1})}function Bw(t={}){const{url:e="",query:r,form:n}=t,s=(...i)=>{const a=i.filter(o=>o).join("&");return a?`?${a}`:""};if(n){const i=Object.keys(n).some(o=>{const{value:u}=n[o];return Fw(u)||NL(u)}),a=t.headers["content-type"]||t.headers["Content-Type"];if(i||/multipart\/form-data/i.test(a)){const o=IQ(t.form);t.formdata=o,t.body=o}else t.body=vM(n);delete t.form}if(r){const[i,a]=e.split("?");let o="";if(a){const l=new URLSearchParams(a);Object.keys(r).forEach(p=>l.delete(p)),o=String(l)}const u=s(o,vM(r));t.url=i+u,delete t.query}return t}const kQ=(t="")=>/(json|xml|yaml|text)\b/.test(t);function PQ(t,e){if(e){if(e.indexOf("application/json")===0||e.indexOf("+json")>0)return JSON.parse(t);if(e.indexOf("application/xml")===0||e.indexOf("+xml")>0)return t}return Zi.load(t)}function jQ(t){return t.includes(", ")?t.split(", "):t}function NQ(t={}){return typeof t.entries!="function"?{}:Array.from(t.entries()).reduce((e,[r,n])=>(e[r]=jQ(n),e),{})}function FL(t,e,{loadSpec:r=!1}={}){const n={ok:t.ok,url:t.url||e,status:t.status,statusText:t.statusText,headers:NQ(t.headers)},s=n.headers["content-type"],i=r||kQ(s);return(i?t.text:t.blob||t.buffer).call(t).then(o=>{if(n.text=o,n.data=o,i)try{const u=PQ(o,s);n.body=u,n.obj=u}catch(u){n.parseError=u}return n})}async function ou(t,e={}){typeof t=="object"&&(e=t,t=e.url),e.headers=e.headers||{},e=Bw(e),e.headers&&Object.keys(e.headers).forEach(s=>{const i=e.headers[s];typeof i=="string"&&(e.headers[s]=i.replace(/\n+/g," "))}),e.requestInterceptor&&(e=await e.requestInterceptor(e)||e);const r=e.headers["content-type"]||e.headers["Content-Type"];/multipart\/form-data/i.test(r)&&(delete e.headers["content-type"],delete e.headers["Content-Type"]);let n;try{n=await(e.userFetch||fetch)(e.url,e),n=await FL(n,t,e),e.responseInterceptor&&(n=await e.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 MQ(t,e,r){return r=r||(n=>n),e=e||(n=>n),n=>(typeof n=="string"&&(n={url:n}),n=Bw(n),n=e(n),r(t(n)))}const Lw=t=>{var e,r;const{baseDoc:n,url:s}=t,i=(e=n??s)!==null&&e!==void 0?e:"";return typeof((r=globalThis.document)===null||r===void 0?void 0:r.baseURI)=="string"?String(new URL(i,globalThis.document.baseURI)):i},qL=t=>{const{fetch:e,http:r}=t;return e||r||ou};async function $w(t){const{spec:e,mode:r,allowMetaPatches:n=!0,pathDiscriminator:s,modelPropertyMacro:i,parameterMacro:a,requestInterceptor:o,responseInterceptor:u,skipNormalization:l=!1,useCircularStructures:c,strategies:p}=t,m=Lw(t),d=qL(t),g=p.find(v=>v.match(e));return y(e);async function y(v){m&&(Aa.refs.docCache[m]=v),Aa.refs.fetchJSON=jL(d,{requestInterceptor:o,responseInterceptor:u});const E=[Aa.refs];typeof a=="function"&&E.push(Aa.parameters),typeof i=="function"&&E.push(Aa.properties),r!=="strict"&&E.push(Aa.allOf);const b=await SQ({spec:v,context:{baseDoc:m},plugins:E,allowMetaPatches:n,pathDiscriminator:s,parameterMacro:a,modelPropertyMacro:i,useCircularStructures:c});return l||(b.spec=g.normalize(b.spec)),b}}const BL=t=>t.replace(/\W/gi,"_");function DQ(t,e,{v2OperationIdCompatibilityMode:r}={}){if(r){let n=`${e.toLowerCase()}_${t}`.replace(/[\s!@#$%^&*()_+=[{\]};:<>|./?,\\'""-]/g,"_");return n=n||`${t.substring(1)}_${e}`,n.replace(/((_){2,})/g,"_").replace(/^(_)*/g,"").replace(/([_])*$/g,"")}return`${e.toLowerCase()}${BL(t)}`}function Uf(t,e,r="",{v2OperationIdCompatibilityMode:n}={}){return!t||typeof t!="object"?null:(t.operationId||"").replace(/\s/g,"").length?BL(t.operationId):DQ(e,r,{v2OperationIdCompatibilityMode:n})}function Uw(t){const{spec:e}=t,{paths:r}=e,n={};if(!r||e.$$normalized)return t;for(const s in r){const i=r[s];if(i==null||!["object","function"].includes(typeof i))continue;const a=i.parameters;for(const o in i){const u=i[o];if(u==null||!["object","function"].includes(typeof u))continue;const l=Uf(u,s,o);if(l){n[l]?n[l].push(u):n[l]=[u];const c=n[l];if(c.length>1)c.forEach((p,m)=>{p.__originalOperationId=p.__originalOperationId||p.operationId,p.operationId=`${l}${m+1}`});else if(typeof u.operationId<"u"){const p=c[0];p.__originalOperationId=p.__originalOperationId||u.operationId,p.operationId=l}}if(o!=="parameters"){const c=[],p={};for(const m in e)(m==="produces"||m==="consumes"||m==="security")&&(p[m]=e[m],c.push(p));if(a&&(p.parameters=a,c.push(p)),c.length){for(const m of c)for(const d in m)if(!Array.isArray(u[d]))u[d]=m[d];else if(d==="parameters")for(const g of m[d])u[d].some(v=>!rs(v)&&!rs(g)?!1:v===g?!0:["name","$ref","$$ref"].some(E=>typeof v[E]=="string"&&typeof g[E]=="string"&&v[E]===g[E]))||u[d].push(g)}}}}return e.$$normalized=!0,t}const LL={name:"generic",match(){return!0},normalize(t){const{spec:e}=Uw({spec:t});return e},async resolve(t){return $w(t)}};async function FQ(t){return $w(t)}const qQ=t=>{try{const{swagger:e}=t;return e==="2.0"}catch{return!1}},$L=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},Vw=t=>{try{const{openapi:e}=t;return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)}catch{return!1}},UL=t=>$L(t)||Vw(t),VL={name:"openapi-2",match(t){return qQ(t)},normalize(t){const{spec:e}=Uw({spec:t});return e},async resolve(t){return FQ(t)}};async function BQ(t){return $w(t)}const zL={name:"openapi-3-0",match(t){return $L(t)},normalize(t){const{spec:e}=Uw({spec:t});return e},async resolve(t){return BQ(t)}},LQ=t=>{try{const e=t.startsWith("#")?t.slice(1):t;return decodeURIComponent(e)}catch{return t}},jn=t=>{const e=t.indexOf("#"),r=e===-1?"#":t.substring(e);return LQ(r)};function Wu(){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}
39,this.rules[0].opcodes[1]={type:2,children:[2,3]},this.rules[0].opcodes[2]={type:4,index:7},this.rules[0].opcodes[3]={type:4,index:1},this.rules[1].opcodes=[],this.rules[1].opcodes[0]={type:3,min:0,max:1/0},this.rules[1].opcodes[1]={type:1,children:[2,3]},this.rules[1].opcodes[2]={type:4,index:2},this.rules[1].opcodes[3]={type:4,index:3},this.rules[2].opcodes=[],this.rules[2].opcodes[0]={type:1,children:[1,2,3]},this.rules[2].opcodes[1]={type:5,min:0,max:46},this.rules[2].opcodes[2]={type:5,min:48,max:125},this.rules[2].opcodes[3]={type:5,min:127,max:1114111},this.rules[3].opcodes=[],this.rules[3].opcodes[0]={type:2,children:[1,2]},this.rules[3].opcodes[1]={type:7,string:[126]},this.rules[3].opcodes[2]={type:1,children:[3,4]},this.rules[3].opcodes[3]={type:7,string:[48]},this.rules[3].opcodes[4]={type:7,string:[49]},this.rules[4].opcodes=[],this.rules[4].opcodes[0]={type:1,children:[1,2]},this.rules[4].opcodes[1]={type:4,index:5},this.rules[4].opcodes[2]={type:4,index:6},this.rules[5].opcodes=[],this.rules[5].opcodes[0]={type:1,children:[1,2]},this.rules[5].opcodes[1]={type:6,string:[48]},this.rules[5].opcodes[2]={type:2,children:[3,4]},this.rules[5].opcodes[3]={type:5,min:49,max:57},this.rules[5].opcodes[4]={type:3,min:0,max:1/0},this.rules[5].opcodes[5]={type:5,min:48,max:57},this.rules[6].opcodes=[],this.rules[6].opcodes[0]={type:7,string:[45]},this.rules[7].opcodes=[],this.rules[7].opcodes[0]={type:7,string:[47]},this.toString=function(){let e="";return e+=`; JavaScript Object Notation (JSON) Pointer ABNF syntax
40`,e+=`; https://datatracker.ietf.org/doc/html/rfc6901
41`,e+=`json-pointer    = *( slash reference-token ) ; MODIFICATION: surrogate text rule used
42`,e+=`reference-token = *( unescaped / escaped )
43`,e+=`unescaped       = %x00-2E / %x30-7D / %x7F-10FFFF
44`,e+=`                ; %x2F ('/') and %x7E ('~') are excluded from 'unescaped'
45`,e+=`escaped         = "~" ( "0" / "1" )
46`,e+=`                ; representing '~' and '/', respectively
47`,e+=`
48`,e+=`; https://datatracker.ietf.org/doc/html/rfc6901#section-4
49`,e+=`array-location  = array-index / array-dash
50`,e+=`array-index     = %x30 / ( %x31-39 *(%x30-39) )
51`,e+=`                ; "0", or digits without a leading "0"
52`,e+=`array-dash      = "-"
53`,e+=`
54`,e+=`; Surrogate named rules
55`,e+=`slash           = "/"
56`,e}}const $n=function(){const e=vt,r=Sn,n=this,s="parser.js: Parser(): ",i=function(){this.state=e.ACTIVE,this.phraseLength=0,this.refresh=()=>{this.state=e.ACTIVE,this.phraseLength=0}};n.ast=void 0,n.stats=void 0,n.trace=void 0,n.callbacks=[];let a=0,o=0,u=0,l=0,c=0,p,m,d,g,y=new i,v,E,b;const _=()=>{a=0,o=0,u=0,l=0,c=0,p=void 0,m=void 0,d=void 0,g=void 0,y.refresh(),v=void 0,E=void 0,b=void 0},w=()=>{const X=`${s}initializeCallbacks(): `;let ee;for(v=[],E=[],ee=0;ee<p.length;ee+=1)v[ee]=void 0;for(ee=0;ee<m.length;ee+=1)E[ee]=void 0;let ce;const se=[];for(ee=0;ee<p.length;ee+=1)se.push(p[ee].lower);for(ee=0;ee<m.length;ee+=1)se.push(m[ee].lower);for(const ue in n.callbacks)if(n.callbacks.hasOwnProperty(ue)){if(ee=se.indexOf(ue.toLowerCase()),ee<0)throw new Error(`${X}syntax callback '${ue}' not a rule or udt name`);if(ce=n.callbacks[ue]?n.callbacks[ue]:void 0,typeof ce=="function"||ce===void 0)ee<p.length?v[ee]=ce:E[ee-p.length]=ce;else throw new Error(`${X}syntax callback[${ue}] must be function reference or falsy)`)}};n.parse=(X,ee,ce,se)=>{const ue=`${s}parse(): `;_(),g=r.stringToChars(ce),p=X.rules,m=X.udts;const ye=ee.toLowerCase();let he;for(const W in p)if(p.hasOwnProperty(W)&&ye===p[W].lower){he=p[W].index;break}if(he===void 0)throw new Error(`${ue}start rule name '${startRule}' not recognized`);w(),n.trace&&n.trace.init(p,m,g),n.stats&&n.stats.init(p,m),n.ast&&n.ast.init(p,m,g),b=se,d=[{type:e.RNM,index:he}],Z(0,0),d=void 0;let te=!1;switch(y.state){case e.ACTIVE:throw new Error(`${ue}final state should never be 'ACTIVE'`);case e.NOMATCH:te=!1;break;case e.EMPTY:case e.MATCH:y.phraseLength===g.length?te=!0:te=!1;break;default:throw new Error("unrecognized state")}return{success:te,state:y.state,stateName:e.idName(y.state),length:g.length,matched:y.phraseLength,maxMatched:c,maxTreeDepth:u,nodeHits:l}};const S=(X,ee)=>{const ce=d[X];for(let se=0;se<ce.children.length&&(Z(ce.children[se],ee),y.state===e.NOMATCH);se+=1);},A=(X,ee)=>{let ce,se,ue,ye;const he=d[X];n.ast&&(se=n.ast.getLength()),ce=!0,ue=ee,ye=0;for(let te=0;te<he.children.length;te+=1)if(Z(he.children[te],ue),y.state===e.NOMATCH){ce=!1;break}else ue+=y.phraseLength,ye+=y.phraseLength;ce?(y.state=ye===0?e.EMPTY:e.MATCH,y.phraseLength=ye):(y.state=e.NOMATCH,y.phraseLength=0,n.ast&&n.ast.setLength(se))},I=(X,ee)=>{let ce,se,ue,ye;const he=d[X];if(he.max===0){y.state=e.EMPTY,y.phraseLength=0;return}for(se=ee,ue=0,ye=0,n.ast&&(ce=n.ast.getLength());!(se>=g.length||(Z(X+1,se),y.state===e.NOMATCH)||y.state===e.EMPTY||(ye+=1,ue+=y.phraseLength,se+=y.phraseLength,ye===he.max)););y.state===e.EMPTY||ye>=he.min?(y.state=ue===0?e.EMPTY:e.MATCH,y.phraseLength=ue):(y.state=e.NOMATCH,y.phraseLength=0,n.ast&&n.ast.setLength(ce))},k=(X,ee,ce,se)=>{if(ee.phraseLength>ce){let ue=`${s}opRNM(${X.name}): callback function error: `;throw ue+=`sysData.phraseLength: ${ee.phraseLength}`,ue+=` must be <= remaining chars: ${ce}`,new Error(ue)}switch(ee.state){case e.ACTIVE:if(!se)throw new Error(`${s}opRNM(${X.name}): callback function return error. ACTIVE state not allowed.`);break;case e.EMPTY:ee.phraseLength=0;break;case e.MATCH:ee.phraseLength===0&&(ee.state=e.EMPTY);break;case e.NOMATCH:ee.phraseLength=0;break;default:throw new Error(`${s}opRNM(${X.name}): callback function return error. Unrecognized return state: ${ee.state}`)}},P=(X,ee)=>{let ce,se,ue;
56const ye=d[X],he=p[ye.index],te=v[he.index];if(a||(se=n.ast&&n.ast.ruleDefined(ye.index),se&&(ce=n.ast.getLength(),n.ast.down(ye.index,p[ye.index].name))),te){const W=g.length-ee;te(y,g,ee,b),k(he,y,W,!0),y.state===e.ACTIVE&&(ue=d,d=he.opcodes,Z(0,ee),d=ue,te(y,g,ee,b),k(he,y,W,!1))}else ue=d,d=he.opcodes,Z(0,ee),d=ue;a||se&&(y.state===e.NOMATCH?n.ast.setLength(ce):n.ast.up(ye.index,he.name,ee,y.phraseLength))},F=(X,ee)=>{const ce=d[X];y.state=e.NOMATCH,ee<g.length&&ce.min<=g[ee]&&g[ee]<=ce.max&&(y.state=e.MATCH,y.phraseLength=1)},R=(X,ee)=>{const ce=d[X],se=ce.string.length;if(y.state=e.NOMATCH,ee+se<=g.length){for(let ue=0;ue<se;ue+=1)if(g[ee+ue]!==ce.string[ue])return;y.state=e.MATCH,y.phraseLength=se}},L=(X,ee)=>{let ce;const se=d[X];y.state=e.NOMATCH;const ue=se.string.length;if(ue===0){y.state=e.EMPTY;return}if(ee+ue<=g.length){for(let ye=0;ye<ue;ye+=1)if(ce=g[ee+ye],ce>=65&&ce<=90&&(ce+=32),ce!==se.string[ye])return;y.state=e.MATCH,y.phraseLength=ue}},M=(X,ee,ce)=>{if(ee.phraseLength>ce){let se=`${s}opUDT(${X.name}): callback function error: `;throw se+=`sysData.phraseLength: ${ee.phraseLength}`,se+=` must be <= remaining chars: ${ce}`,new Error(se)}switch(ee.state){case e.ACTIVE:throw new Error(`${s}opUDT(${X.name}) ACTIVE state return not allowed.`);case e.EMPTY:if(X.empty)ee.phraseLength=0;else throw new Error(`${s}opUDT(${X.name}) may not return EMPTY.`);break;case e.MATCH:if(ee.phraseLength===0)if(X.empty)ee.state=e.EMPTY;else throw new Error(`${s}opUDT(${X.name}) may not return EMPTY.`);break;case e.NOMATCH:ee.phraseLength=0;break;default:throw new Error(`${s}opUDT(${X.name}): callback function return error. Unrecognized return state: ${ee.state}`)}},G=(X,ee)=>{let ce,se,ue;const ye=d[X],he=m[ye.index];y.UdtIndex=he.index,a||(ue=n.ast&&n.ast.udtDefined(ye.index),ue&&(se=p.length+ye.index,ce=n.ast.getLength(),n.ast.down(se,he.name)));const te=g.length-ee;E[ye.index](y,g,ee,b),M(he,y,te),a||ue&&(y.state===e.NOMATCH?n.ast.setLength(ce):n.ast.up(se,he.name,ee,y.phraseLength))},re=(X,ee)=>{switch(a+=1,Z(X+1,ee),a-=1,y.phraseLength=0,y.state){case e.EMPTY:y.state=e.EMPTY;break;case e.MATCH:y.state=e.EMPTY;break;case e.NOMATCH:y.state=e.NOMATCH;break;default:throw new Error(`opAND: invalid state ${y.state}`)}},K=(X,ee)=>{switch(a+=1,Z(X+1,ee),a-=1,y.phraseLength=0,y.state){case e.EMPTY:case e.MATCH:y.state=e.NOMATCH;break;case e.NOMATCH:y.state=e.EMPTY;break;default:throw new Error(`opNOT: invalid state ${y.state}`)}},Z=(X,ee)=>{const ce=`${s}opExecute(): `,se=d[X];switch(l+=1,o>u&&(u=o),o+=1,y.refresh(),n.trace&&n.trace.down(se,ee),se.type){case e.ALT:S(X,ee);break;case e.CAT:A(X,ee);break;
56case e.REP:I(X,ee);break;case e.RNM:P(X,ee);break;case e.TRG:F(X,ee);break;case e.TBS:R(X,ee);break;case e.TLS:L(X,ee);break;case e.UDT:G(X,ee);break;case e.AND:re(X,ee);break;case e.NOT:K(X,ee);break;default:throw new Error(`${ce}unrecognized operator`)}a||ee+y.phraseLength>c&&(c=ee+y.phraseLength),n.stats&&n.stats.collect(se,y),n.trace&&n.trace.up(se,y.state,ee,y.phraseLength),o-=1}},zw=function(){const e="parser.js: Ast()): ",r=vt,n=Sn,s=this;let i,a,o,u=0;const l=[],c=[],p=[];s.callbacks=[],s.init=(d,g,y)=>{c.length=0,p.length=0,u=0,i=d,a=g,o=y;let v;const E=[];for(v=0;v<i.length;v+=1)E.push(i[v].lower);for(v=0;v<a.length;v+=1)E.push(a[v].lower);for(u=i.length+a.length,v=0;v<u;v+=1)l[v]=void 0;for(const b in s.callbacks)if(s.callbacks.hasOwnProperty(b)){const _=b.toLowerCase();if(v=E.indexOf(_),v<0)throw new Error(`${e}init: node '${b}' not a rule or udt name`);l[v]=s.callbacks[b]}},s.ruleDefined=d=>!!l[d],s.udtDefined=d=>!!l[i.length+d],s.down=(d,g)=>{const y=p.length;return c.push(y),p.push({name:g,thisIndex:y,thatIndex:void 0,state:r.SEM_PRE,callbackIndex:d,phraseIndex:void 0,phraseLength:void 0,stack:c.length}),y},s.up=(d,g,y,v)=>{const E=p.length,b=c.pop();return p.push({name:g,thisIndex:E,thatIndex:b,state:r.SEM_POST,callbackIndex:d,phraseIndex:y,phraseLength:v,stack:c.length}),p[b].thatIndex=E,p[b].phraseIndex=y,p[b].phraseLength=v,E},s.translate=d=>{let g,y;for(let v=0;v<p.length;v+=1)y=p[v],g=l[y.callbackIndex],g&&(y.state===r.SEM_PRE?g(r.SEM_PRE,o,y.phraseIndex,y.phraseLength,d):g&&g(r.SEM_POST,o,y.phraseIndex,y.phraseLength,d))},s.setLength=d=>{p.length=d,d>0?c.length=p[d-1].stack:c.length=0},s.getLength=()=>p.length;function m(d){let g="";for(;d-- >0;)g+=" ";return g}s.toXml=()=>{let d="",g=0;return d+=`<?xml version="1.0" encoding="utf-8"?>
57`,d+=`<root nodes="${p.length/2}" characters="${o.length}">
58`,d+=`<!-- input string -->
59`,d+=m(g+2),d+=n.charsToString(o),d+=`
60`,p.forEach(y=>{y.state===r.SEM_PRE?(g+=1,d+=m(g),d+=`<node name="${y.name}" index="${y.phraseIndex}" length="${y.phraseLength}">
61`,d+=m(g+2),d+=n.charsToString(o,y.phraseIndex,y.phraseLength),d+=`
62`):(d+=m(g),d+=`</node><!-- name="${y.name}" -->
63`,g-=1)}),d+=`</root>
64`,d}},$Q=function(){const e=vt,r=Sn,n="parser.js: Trace(): ";let s,i,a,o="",u=0;const l=100,c=this,p=d=>{let g="",y=0;if(d>=0)for(;d--;)y+=1,y===5?(g+="|",y=0):g+=".";return g};c.init=(d,g,y)=>{i=d,a=g,s=y};const m=d=>{let g;switch(d.type){case e.ALT:g="ALT";break;case e.CAT:g="CAT";break;case e.REP:d.max===1/0?g=`REP(${d.min},inf)`:g=`REP(${d.min},${d.max})`;break;case e.RNM:g=`RNM(${i[d.index].name})`;break;case e.TRG:g=`TRG(${d.min},${d.max})`;break;case e.TBS:d.string.length>6?g=`TBS(${r.charsToString(d.string,0,3)}...)`:g=`TBS(${r.charsToString(d.string,0,6)})`;break;case e.TLS:d.string.length>6?g=`TLS(${r.charsToString(d.string,0,3)}...)`:g=`TLS(${r.charsToString(d.string,0,6)})`;break;case e.UDT:g=`UDT(${a[d.index].name})`;break;case e.AND:g="AND";break;case e.NOT:g="NOT";break;default:throw new Error(`${n}Trace: opName: unrecognized opcode`)}return g};c.down=(d,g)=>{const y=p(u),v=Math.min(l,s.length-g);let E=r.charsToString(s,g,v);v<s.length-g&&(E+="..."),E=`${y}|-|[${m(d)}]${E}
65`,o+=E,u+=1},c.up=(d,g,y,v)=>{const E=`${n}trace.up: `;u-=1;const b=p(u);let _,w,S;switch(g){case e.EMPTY:S="|E|",w="''";break;case e.MATCH:S="|M|",_=Math.min(l,v),_<v?w=`'${r.charsToString(s,y,_)}...'`:w=`'${r.charsToString(s,y,_)}'`;break;case e.NOMATCH:S="|N|",w="";break;default:throw new Error(`${E} unrecognized state`)}w=`${b}${S}[${m(d)}]${w}
66`,o+=w},c.displayTrace=()=>o},UQ=function(){const e=vt,r="parser.js: Stats(): ";let n,s,i;const a=[],o=[],u=[];this.init=(v,E)=>{n=v,s=E,g()},this.collect=(v,E)=>{y(i,E.state,E.phraseLength),y(a[v.type],E.state,E.phraseLength),v.type===e.RNM&&y(o[v.index],E.state,E.phraseLength),v.type===e.UDT&&y(u[v.index],E.state,E.phraseLength)},this.displayStats=()=>{let v="";const E={match:0,empty:0,nomatch:0,total:0},b=(_,w,S,A,I)=>{E.match+=w,E.empty+=S,E.nomatch+=A,E.total+=I;const k=l(w),P=l(S),F=l(A),R=l(I);return`${_} | ${k} | ${P} | ${F} | ${R} |
67`};return v+=`          OPERATOR STATS
68`,v+=`      |   MATCH |   EMPTY | NOMATCH |   TOTAL |
69`,v+=b("  ALT",a[e.ALT].match,a[e.ALT].empty,a[e.ALT].nomatch,a[e.ALT].total),v+=b("  CAT",a[e.CAT].match,a[e.CAT].empty,a[e.CAT].nomatch,a[e.CAT].total),v+=b("  REP",a[e.REP].match,a[e.REP].empty,a[e.REP].nomatch,a[e.REP].total),v+=b("  RNM",a[e.RNM].match,a[e.RNM].empty,a[e.RNM].nomatch,a[e.RNM].total),v+=b("  TRG",a[e.TRG].match,a[e.TRG].empty,a[e.TRG].nomatch,a[e.TRG].total),v+=b("  TBS",a[e.TBS].match,a[e.TBS].empty,a[e.TBS].nomatch,a[e.TBS].total),v+=b("  TLS",a[e.TLS].match,a[e.TLS].empty,a[e.TLS].nomatch,a[e.TLS].total),v+=b("  UDT",a[e.UDT].match,a[e.UDT].empty,a[e.UDT].nomatch,a[e.UDT].total),v+=b("  AND",a[e.AND].match,a[e.AND].empty,a[e.AND].nomatch,a[e.AND].total),v+=b("  NOT",a[e.NOT].match,a[e.NOT].empty,a[e.NOT].nomatch,a[e.NOT].total),v+=b("TOTAL",E.match,E.empty,E.nomatch,E.total),v},this.displayHits=v=>{let E="";const b=(_,w,S,A,I)=>{i.match+=_,i.empty+=w,i.nomatch+=S,i.total+=A;const k=l(_),P=l(w),F=l(S),R=l(A);return`| ${k} | ${P} | ${F} | ${R} | ${I}
70`};typeof v=="string"&&v.toLowerCase()[0]==="a"?(o.sort(c),u.sort(c),E+=`    RULES/UDTS ALPHABETICALLY
71`):typeof v=="string"&&v.toLowerCase()[0]==="i"?(o.sort(m),u.sort(m),E+=`    RULES/UDTS BY INDEX
72`):(o.sort(p),u.sort(p),E+=`    RULES/UDTS BY HIT COUNT
73`),E+=`|   MATCH |   EMPTY | NOMATCH |   TOTAL | NAME
74`;for(let _=0;_<o.length;_+=1){let w=o[_];w.total&&(E+=b(w.match,w.empty,w.nomatch,w.total,w.name))}for(let _=0;_<u.length;_+=1){let w=u[_];w.total&&(E+=b(w.match,w.empty,w.nomatch,w.total,w.name))}return E};const l=v=>v<10?`      ${v}`:v<100?`     ${v}`:v<1e3?`    ${v}`:v<1e4?`   ${v}`:v<1e5?`  ${v}`:v<1e6?` ${v}`:`${v}`,c=(v,E)=>v.lower<E.lower?-1:v.lower>E.lower?1:0,p=(v,E)=>v.total<E.total?1:v.total>E.total?-1:c(v,E),m=(v,E)=>v.index<E.index?-1:v.index>
74E.index?1:0,d=function(){this.empty=0,this.match=0,this.nomatch=0,this.total=0},g=()=>{a.length=0,i=new d,a[e.ALT]=new d,a[e.CAT]=new d,a[e.REP]=new d,a[e.RNM]=new d,a[e.TRG]=new d,a[e.TBS]=new d,a[e.TLS]=new d,a[e.UDT]=new d,a[e.AND]=new d,a[e.NOT]=new d,o.length=0;for(let v=0;v<n.length;v+=1)o.push({empty:0,match:0,nomatch:0,total:0,name:n[v].name,lower:n[v].lower,index:n[v].index});if(s.length>0){u.length=0;for(let v=0;v<s.length;v+=1)u.push({empty:0,match:0,nomatch:0,total:0,name:s[v].name,lower:s[v].lower,index:s[v].index})}},y=(v,E)=>{switch(v.total+=1,E){case e.EMPTY:v.empty+=1;break;case e.MATCH:v.match+=1;break;case e.NOMATCH:v.nomatch+=1;break;default:throw new Error(`${r}collect(): incStat(): unrecognized state: ${E}`)}}},Sn={stringToChars:t=>[...t].map(e=>e.codePointAt(0)),charsToString:(t,e,r)=>{let n=t;for(;!(e===void 0||e<0);){if(r===void 0){n=t.slice(e);break}if(r<=0)return"";n=t.slice(e,e+r);break}return String.fromCodePoint(...n)}},vt={ALT:1,CAT:2,REP:3,RNM:4,TRG:5,TBS:6,TLS:7,UDT:11,AND:12,NOT:13,ACTIVE:100,MATCH:101,EMPTY:102,NOMATCH:103,SEM_PRE:200,SEM_POST:201,SEM_OK:300,idName:t=>{switch(t){case vt.ALT:return"ALT";case vt.CAT:return"CAT";case vt.REP:return"REP";case vt.RNM:return"RNM";case vt.TRG:return"TRG";case vt.TBS:return"TBS";case vt.TLS:return"TLS";case vt.UDT:return"UDT";case vt.AND:return"AND";case vt.NOT:return"NOT";case vt.ACTIVE:return"ACTIVE";case vt.EMPTY:return"EMPTY";case vt.MATCH:return"MATCH";case vt.NOMATCH:return"NOMATCH";case vt.SEM_PRE:return"SEM_PRE";case vt.SEM_POST:return"SEM_POST";case vt.SEM_OK:return"SEM_OK";default:return"UNRECOGNIZED STATE"}}};class vi extends Error{constructor(e,r=void 0){if(super(e,r),this.name=this.constructor.name,typeof e=="string"&&(this.message=e),typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack,r!=null&&typeof r=="object"&&Object.prototype.hasOwnProperty.call(r,"cause")&&!("cause"in this)){const{cause:n}=r;this.cause=n,n instanceof Error&&"stack"in n&&(this.stack=`${this.stack}
75CAUSE: ${n.stack}`)}if(r!=null&&typeof r=="object"){const{cause:n,...s}=r;Object.assign(this,s)}}}class WL extends vi{}const LE=t=>(e,r,n,s,i)=>{if(!(typeof i=="object"&&i!==null&&!Array.isArray(i)))throw new WL("parser's user data must be an object");if(e===vt.SEM_PRE){const a={type:t,text:Sn.charsToString(r,n,s),start:n,length:s,children:[]};i.stack.length>0?i.stack[i.stack.length-1].children.push(a):i.root=a,i.stack.push(a)}e===vt.SEM_POST&&i.stack.pop()};class VQ extends zw{constructor(){super(),this.callbacks["json-pointer"]=LE("json-pointer"),this.callbacks["reference-token"]=LE("reference-token"),this.callbacks.slash=LE("text")}getTree(){const e={stack:[],root:null};return this.translate(e),delete e.stack,e}}const zQ=t=>{if(typeof t!="string")throw new TypeError("Reference token must be a string");return t.replace(/~1/g,"/").replace(/~0/g,"~")};class WQ extends VQ{getTree(){const{root:e}=super.getTree();return e.children.filter(({type:r})=>r==="reference-token").map(({text:r})=>zQ(r))}}class JQ extends Array{toString(){return this.map(e=>`"${String(e)}"`).join(", ")}}class HQ extends $Q{inferExpectations(){const e=this.displayTrace().split(`
76`),r=new Set;let n=-1;for(let s=0;s<e.length;s++){const i=e[s];if(i.includes("M|")){const a=i.match(/]'(.*)'$/);a&&a[1]&&(n=s)}if(s>n){const a=i.match(/N\|\[TLS\(([^)]+)\)]/);a&&r.add(a[1])}}return new JQ(...r)}}const KQ=new Wu,GQ=(t,{translator:e=new WQ,stats:r=!1,trace:n=!1}={})=>{if(typeof t!="string")throw new TypeError("JSON Pointer must be a string");try{const s=new $n;e&&(s.ast=e),r&&(s.stats=new UQ),n&&(s.trace=new HQ);const i=s.parse(KQ,"json-pointer",t);return{result:i,tree:i.success&&e?s.ast.getTree():void 0,stats:s.stats,trace:s.trace}}catch(s){throw new WL("Unexpected error during JSON Pointer parsing",{cause:s,jsonPointer:t})}};new Wu;new $n;new Wu;new $n;const YQ=new Wu,XQ=new $n,ZQ=t=>{if(typeof t!="string")return!1;try{return XQ.parse(YQ,"array-index",t).success}catch{return!1}},QQ=new Wu,eee=new $n,tee=t=>{if(typeof t!="string")return!1;try{return eee.parse(QQ,"array-dash",t).success}catch{return!1}},ree=t=>{if(typeof t!="string"&&typeof t!="number")throw new TypeError("Reference token must be a string or number");return String(t).replace(/~/g,"~0").replace(/\//g,"~1")};
76class nee extends vi{}const JL=t=>{if(!Array.isArray(t))throw new TypeError("Reference tokens must be a list of strings or numbers");try{return t.length===0?"":`/${t.map(e=>{if(typeof e!="string"&&typeof e!="number")throw new TypeError("Reference token must be a string or number");return ree(String(e))}).join("/")}`}catch(e){throw new nee("Unexpected error during JSON Pointer compilation",{cause:e,referenceTokens:t})}};class see{#e;#t;#r;constructor(e,r={}){this.#e=e,this.#e.steps=[],this.#e.failed=!1,this.#e.failedAt=-1,this.#e.message=`JSON Pointer "${r.jsonPointer}" was successfully evaluated against the provided value`,this.#e.context={...r,realm:r.realm.name},this.#t=[],this.#r=r.realm}step({referenceToken:e,input:r,output:n,success:s=!0,reason:i}){const a=this.#t.length;this.#t.push(e);const o={referenceToken:e,referenceTokenPosition:a,input:r,inputType:this.#r.isObject(r)?"object":this.#r.isArray(r)?"array":"unrecognized",output:n,success:s};i&&(o.reason=i),this.#e.steps.push(o),s||(this.#e.failed=!0,this.#e.failedAt=a,this.#e.message=i)}}class HL{name="";isArray(e){throw new vi("Realm.isArray(node) must be implemented in a subclass")}isObject(e){throw new vi("Realm.isObject(node) must be implemented in a subclass")}sizeOf(e){throw new vi("Realm.sizeOf(node) must be implemented in a subclass")}has(e,r){throw new vi("Realm.has(node) must be implemented in a subclass")}evaluate(e,r){throw new vi("Realm.evaluate(node) must be implemented in a subclass")}}class Xi extends vi{}class Da extends Xi{}class iee extends HL{name="json";isArray(e){return Array.isArray(e)}isObject(e){return typeof e=="object"&&e!==null&&!this.isArray(e)}sizeOf(e){return this.isArray(e)?e.length:this.isObject(e)?Object.keys(e).length:0}has(e,r){if(this.isArray(e)){const n=Number(r),s=n>>>0;if(n!==s)throw new Da(`Invalid array index "${r}": index must be an unsinged 32-bit integer`,{referenceToken:r,currentValue:e,realm:this.name});return s<this.sizeOf(e)&&Object.prototype.hasOwnProperty.call(e,n)}return this.isObject(e)?Object.prototype.hasOwnProperty.call(e,r):!1}evaluate(e,r){return this.isArray(e)?e[Number(r)]:e[r]}}class aee extends Xi{}class KL extends Xi{}const oee=(t,e,{strictArrays:r=!0,strictObjects:n=!0,realm:s=new iee,trace:i=!0}={})=>{const{result:a,tree:o,trace:u}=GQ(e,{trace:!!i}),l=typeof i=="object"&&i!==null?new see(i,{jsonPointer:e,referenceTokens:o,strictArrays:r,strictObjects:n,realm:s,value:t}):null;try{let c;if(!a.success){let p=`Invalid JSON Pointer: "${e}". Syntax error at position ${a.maxMatched}`;throw p+=u?`, expected ${u.inferExpectations()}`:"",new Xi(p,{jsonPointer:e,currentValue:t,realm:s.name})}return o.reduce((p,m,d)=>{if(s.isArray(p)){if(tee(m)){if(r)throw new Da(`Invalid array index "-" at position ${d} in "${e}". The "-" token always refers to a nonexistent element during evaluation`,{jsonPointer:e,referenceTokens:o,referenceToken:m,referenceTokenPosition:d,currentValue:p,realm:s.name});return c=s.evaluate(p,String(s.sizeOf(p))),l?.step({referenceToken:m,input:p,output:c}),c}if(!ZQ(m))throw new Da(`Invalid array index "${m}" at position ${d} in "${e}": index MUST be "0", or digits without a leading "0"`,{jsonPointer:e,referenceTokens:o,referenceToken:m,referenceTokenPosition:d,currentValue:p,realm:s.name});const g=Number(m);if(!Number.isSafeInteger(g))throw new Da(`Invalid array index "${m}" at position ${d} in "${e}": index must be a safe integer`,{jsonPointer:e,referenceTokens:o,referenceToken:m,referenceTokenPosition:d,currentValue:p,realm:s.name});if(!s.has(p,m)&&r)throw new Da(`Invalid array index "${m}" at position ${d} in "${e}": index not found in array`,{jsonPointer:e,referenceTokens:o,referenceToken:m,referenceTokenPosition:d,currentValue:p,realm:s.name});return c=s.evaluate(p,m),l?.step({referenceToken:m,input:p,output:c}),c}if(s.isObject(p)){if(!s.has(p,m)&&n)throw new KL(`Invalid object key "${m}" at position ${d} in "${e}": key not found in object`,{jsonPointer:e,referenceTokens:o,referenceToken:m,referenceTokenPosition:d,currentValue:p,realm:s.name});return c=s.evaluate(p,m),l?.step({referenceToken:m,input:p,output:c}),c}throw new aee(`Invalid reference token "${m}" at position ${d} in "${e}": cannot be applied to a non-object/non-array value`,{jsonPointer:e,referenceTokens:o,referenceToken:m,referenceTokenPosition:d,currentValue:p,realm:s.name})},t)}
76catch(c){throw l?.step({referenceToken:c.referenceToken,input:c.currentValue,success:!1,reason:c.message}),c instanceof Xi?c:new Xi("Unexpected error during JSON Pointer evaluation",{cause:c,jsonPointer:e,referenceTokens:o})}};class uee extends HL{name="apidom";isArray(e){return Fr(e)}isObject(e){return Pt(e)}sizeOf(e){return this.isArray(e)||this.isObject(e)?e.length:0}has(e,r){if(this.isArray(e)){const n=Number(r),s=n>>>0;if(n!==s)throw new Da(`Invalid array index "${r}": index must be an unsinged 32-bit integer`,{referenceToken:r,currentValue:e,realm:this.name});return s<this.sizeOf(e)}if(this.isObject(e)){const n=e.keys(),s=new Set(n);if(n.length!==s.size)throw new KL(`Object key "${r}" is not unique — JSON Pointer requires unique member names`,{referenceToken:r,currentValue:e,realm:this.name});return e.hasKey(r)}return!1}evaluate(e,r){return this.isArray(e)?e.get(Number(r)):e.get(r)}}const Zn=(t,e,r={})=>oee(t,e,{...r,realm:new uee});class Ww extends rZ{filterByFormat(e="generic"){const r=e==="generic"?"openapi;version":e;return this.filter(n=>n.includes(r))}findBy(e="3.1.0",r="generic"){const n=r==="generic"?`vnd.oai.openapi;version=${e}`:`vnd.oai.openapi+${r};version=${e}`;return this.find(i=>i.includes(n))||this.unknownMediaType}latest(e="generic"){return Tf(this.filterByFormat(e))}}const Ga=new Ww("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 Ju=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="callback"}},Hu=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="components"}get schemas(){return this.get("schemas")}set schemas(e){this.set("schemas",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get requestBodies(){return this.get("requestBodies")}set requestBodies(e){this.set("requestBodies",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get securitySchemes(){return this.get("securitySchemes")}set securitySchemes(e){this.set("securitySchemes",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}},Ku=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="contact"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}get email(){return this.get("email")}set email(e){this.set("email",e)}},Gu=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="discriminator"}get propertyName(){return this.get("propertyName")}set propertyName(e){this.set("propertyName",e)}get mapping(){return this.get("mapping")}set mapping(e){this.set("mapping",e)}},Vf=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="encoding"}get contentType(){return this.get("contentType")}set contentType(e){this.set("contentType",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowedReserved(){return this.get("allowedReserved")}set allowedReserved(e){this.set("allowedReserved",e)}},Yu=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="example"}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get value(){return this.get("value")}set value(e){this.set("value",e)}get externalValue(){return this.get("externalValue")}set externalValue(e){this.set("externalValue",e)}},Xu=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="externalDocumentation"}get description(){return this.get("description")}set description(e){this.set("description",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}},fo=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="header"}get required(){return this.hasKey("required")?this.get("required"):new pe.BooleanElement(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new pe.BooleanElement(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}};Object.defineProperty(fo.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});let Zu=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="info",this.classes.push("info")}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get termsOfService(){return this.get("termsOfService")}set termsOfService(e){this.set("termsOfService",e)}get contact(){return this.get("contact")}set contact(e){this.set("contact",e)}get license(){return this.get("license")}set license(e){this.set("license",e)}get version(){return this.get("version")}set version(e){this.set("version",e)}},Qu=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="license"}get name(){return this.get("name")}set name(e){this.set("name",e)}get url(){return this.get("url")}set url(e){this.set("url",e)}},el=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="link"}get operationRef(){return this.get("operationRef")}set operationRef(e){this.set("operationRef",e)}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get operation(){if(ct(this.operationRef)){var e;return(e=this.operationRef)===null||e===void 0?void 0:e.meta.get("operation")}if(ct(this.operationId)){var r;return(r=this.operationId)===null||r===void 0?void 0:r.meta.get("operation")}}set operation(e){this.set("operation",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get server(){return this.get("server")}set server(e){this.set("server",e)}},tl=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="mediaType"}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get encoding(){return this.get("encoding")}set encoding(e){this.set("encoding",e)}},zf=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="oAuthFlow"}get authorizationUrl(){return this.get("authorizationUrl")}set authorizationUrl(e){this.set("authorizationUrl",e)}get tokenUrl(){return this.get("tokenUrl")}set tokenUrl(e){this.set("tokenUrl",e)}get refreshUrl(){return this.get("refreshUrl")}set refreshUrl(e){this.set("refreshUrl",e)}get scopes(){return this.get("scopes")}set scopes(e){this.set("scopes",e)}},Wf=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="oAuthFlows"}get implicit(){return this.get("implicit")}
76set implicit(e){this.set("implicit",e)}get password(){return this.get("password")}set password(e){this.set("password",e)}get clientCredentials(){return this.get("clientCredentials")}set clientCredentials(e){this.set("clientCredentials",e)}get authorizationCode(){return this.get("authorizationCode")}set authorizationCode(e){this.set("authorizationCode",e)}},rl=class extends pe.StringElement{constructor(e,r,n){super(e,r,n),this.element="openapi",this.classes.push("spec-version"),this.classes.push("version")}};class Jf extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="openApi3_0",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}}let nl=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="operation"}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}set externalDocs(e){this.set("externalDocs",e)}get externalDocs(){return this.get("externalDocs")}get operationId(){return this.get("operationId")}set operationId(e){this.set("operationId",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}get responses(){return this.get("responses")}set responses(e){this.set("responses",e)}get callbacks(){return this.get("callbacks")}set callbacks(e){this.set("callbacks",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new pe.BooleanElement(!1)}set deprecated(e){this.set("deprecated",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get servers(){return this.get("severs")}set servers(e){this.set("servers",e)}},po=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="parameter"}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get required(){return this.hasKey("required")?this.get("required"):new pe.BooleanElement(!1)}set required(e){this.set("required",e)}get deprecated(){return this.hasKey("deprecated")?this.get("deprecated"):new pe.BooleanElement(!1)}set deprecated(e){this.set("deprecated",e)}get allowEmptyValue(){return this.get("allowEmptyValue")}set allowEmptyValue(e){this.set("allowEmptyValue",e)}get style(){return this.get("style")}set style(e){this.set("style",e)}get explode(){return this.get("explode")}set explode(e){this.set("explode",e)}get allowReserved(){return this.get("allowReserved")}set allowReserved(e){this.set("allowReserved",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}};Object.defineProperty(po.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});let sl=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="pathItem"}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get parameters(){return this.get("parameters")}set parameters(e){this.set("parameters",e)}},il=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="paths"}},al=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="reference",this.classes.push("openapi-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}},ol=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="requestBody"}get description(){return this.get("description")}set description(e){this.set("description",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get required(){return this.hasKey("required")?this.get("required"):new pe.BooleanElement(!1)}set required(e){this.set("required",e)}},ul=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="response"}get description(){return this.get("description")}set description(e){this.set("description",e)}get headers(){return this.get("headers")}set headers(e){this.set("headers",e)}get contentProp(){return this.get("content")}set contentProp(e){this.set("content",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}},ll=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="responses"}get default(){return this.get("default")}set default(e){this.set("default",e)}},ho=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft4"}get idProp(){return this.get("id")}set idProp(e){this.set("id",e)}get $schema(){return this.get("$schema")}set $schema(e){this.set("$schema",e)}get multipleOf(){return this.get("multipleOf")}set multipleOf(e){this.set("multipleOf",e)}get maximum(){return this.get("maximum")}set maximum(e){this.set("maximum",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get minimum(){return this.get("minimum")}set minimum(e){this.set("minimum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get maxLength(){return this.get("maxLength")}set maxLength(e){this.set("maxLength",e)}get minLength(){return this.get("minLength")}set minLength(e){this.set("minLength",e)}get pattern(){return this.get("pattern")}set pattern(e){this.set("pattern",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get maxItems(){return this.get("maxItems")}set maxItems(e){this.set("maxItems",e)}get minItems(){return this.get("minItems")}set minItems(e){this.set("minItems",e)}get uniqueItems(){return this.get("uniqueItems")}set uniqueItems(e){this.set("uniqueItems",e)}get maxProperties(){return this.get("maxProperties")}set maxProperties(e){this.set("maxProperties",e)}get minProperties(){return this.get("minProperties")}set minProperties(e){this.set("minProperties",e)}get required(){return this.get("required")}set required(e){this.set("required",e)}get properties(){return this.get("properties")}set properties(e){this.set("properties",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){return this.get("patternProperties")}set patternProperties(e){this.set("patternProperties",e)}get dependencies(){return this.get("dependencies")}set dependencies(e){this.set("dependencies",e)}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}get allOf(){return this.get("allOf")}set allOf(e){this.set("allOf",e)}get anyOf(){return this.get("anyOf")}set anyOf(e){this.set("anyOf",e)}get oneOf(){return this.get("oneOf")}set oneOf(e){this.set("oneOf",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){return this.get("definitions")}set definitions(e){this.set("definitions",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get format(){return this.get("format")}set format(e){this.set("format",e)}get base(){return this.get("base")}set base(e){this.set("base",e)}get links(){return this.get("links")}set links(e){this.set("links",e)}get media(){return this.get("media")}set media(e){this.set("media",e)}get readOnly(){return this.get("readOnly")}set readOnly(e){this.set("readOnly",e)}};class mo extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="JSONReference",this.classes.push("json-reference")}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}}class cl extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="media"}get binaryEncoding(){return this.get("binaryEncoding")}set binaryEncoding(e){this.set("binaryEncoding",e)}get type(){return this.get("type")}set type(e){this.set("type",e)}}let fl=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="linkDescription"}get href(){return this.get("href")}set href(e){this.set("href",e)}get rel(){return this.get("rel")}set rel(e){this.set("rel",e)}get title(){return this.get("title")}set title(e){this.set("title",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){return this.get("mediaType")}set mediaType(e){this.set("mediaType",e)}get method(){return this.get("method")}set method(e){this.set("method",e)}get encType(){return this.get("encType")}set encType(e){this.set("encType",e)}get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}};const lee={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft4",ho),e.register("jSONReference",mo),e.register("media",cl),e.register("linkDescription",fl),e}},pl=t=>{if(ur(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},cee={JSONSchemaDraft4Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Rs};let GL=class{element;constructor(e){Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=Fn(r.meta,e.meta)),uo(e)&&Tw(r,e),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=Fn(r.attributes,e.attributes))}},jt=class extends GL{enter(e){return this.element=Ke(e),Rt}};const YL=(t,e,r=[])=>{const n=Object.getOwnPropertyDescriptors(e);for(let s of r)delete n[s];Object.defineProperties(t,n)},uu=(t,e=[t])=>{const r=Object.getPrototypeOf(t);return r===null?e:uu(r,[...e,r])},fee=(...t)=>{if(t.length===0)return;let e;const r=t.map(n=>uu(n));for(;r.every(n=>n.length>0);){const n=r.map(i=>i.pop()),s=n[0];if(n.every(i=>i===s))e=s;else break}return e},bM=(t,e,r=[])=>{var n;const s=(n=fee(...t))!==null&&n!==void 0?n:Object.prototype,i=Object.create(s),a=uu(s);for(let o of t){let u=uu(o);for(let l=u.length-1;l>=0;l--){let c=u[l];a.indexOf(c)===-1&&(YL(i,c,["constructor",...r]),a.push(c))}}return i.constructor=e,i},l1=t=>t.filter((e,r)=>t.indexOf(e)==r),XL=new WeakMap,pee=t=>XL.get(t),dee=(t,e)=>XL.set(t,e),EM=(t,e)=>{var r,n;const s=l1([...Object.getOwnPropertyNames(t),...Object.getOwnPropertyNames(e)]),i={};for(let a of s)i[a]=l1([...(r=t?.[a])!==null&&r!==void 0?r:[],...(n=e?.[a])!==null&&n!==void 0?n:[]]);return i},SM=(t,e)=>{var r,n,s,i;return{property:EM((r=t?.property)!==null&&r!==void 0?r:{},(n=e?.property)!==null&&n!==void 0?n:{}),method:EM((s=t?.method)!==null&&s!==void 0?s:{},(i=e?.method)!==null&&i!==void 0?i:{})}},hee=(t,e)=>{var r,n,s,i,a,o;return{class:l1([...(r=t?.class)!==null&&r!==void 0?r:[],...(n=e?.class)!==null&&n!==void 0?n:[]]),static:SM((s=t?.static)!==null&&s!==void 0?s:{},(i=e?.static)!==null&&i!==void 0?i:{}),instance:SM((a=t?.instance)!==null&&a!==void 0?a:{},(o=e?.instance)!==null&&o!==void 0?o:{})}},mee=new Map,gee=(...t)=>{var e;const r=new Set,n=new Set([...t]);for(;n.size>0;)for(let s of n){const i=uu(s.prototype).map(l=>l.constructor),a=(e=pee(s))!==null&&e!==void 0?e:[],u=[...i,...a].filter(l=>!r.has(l));for(let l of u)n.add(l);r.add(s),n.delete(s)}return[...r]},yee=(...t)=>{const e=gee(...t).map(r=>mee.get(r)).filter(r=>!!r);return e.length==0?{}:e.length==1?e[0]:e.reduce((r,n)=>hee(r,n))};function qe(...t){var e,r,n;const s=t.map(o=>o.prototype);function i(...o){for(const u of t)YL(this,new u(...o))}i.prototype=bM(s,i),Object.setPrototypeOf(i,bM(t,null,["prototype"]));let a=i;{const o=yee(...t);for(let u of(e=o?.class)!==null&&e!==void 0?e:[]){const l=u(a);l&&(a=l)}_M((r=o?.static)!==null&&r!==void 0?r:{},a),_M((n=o?.instance)!==null&&n!==void 0?n:{},a.prototype)}return dee(a,t),a}const _M=(t,e)=>{const r=t.property,n=t.method;if(r)for(let s in r)for(let i of r[s])i(e,s);if(n)for(let s in n)for(let i of n[s])i(e,s,Object.getOwnPropertyDescriptor(e,s))};let _n=class extends GL{specObj;passingOptionsNames=["specObj","parent"];constructor({specObj:e,...r}){super({...r}),this.specObj=e}retrievePassingOptions(){return CB(this.passingOptionsNames,this)}retrieveFixedFields(e){const r=Or(["visitors",...e,"fixedFields"],this.specObj);
76return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(e){return Pf(la,["visitors",...e],this.specObj)?Or(["visitors",...e],this.specObj):Or(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,r={}){const n=this.retrievePassingOptions(),s=this.retrieveVisitor(e),i={...n,...r};return new s(i)}toRefractedElement(e,r,n={}){const s=this.retrieveVisitorInstance(e,n);return s instanceof jt&&s?.constructor===jt?Ke(r):(vr(r,s,n),s.element)}},ea=class extends _n{specPath;ignoredFields;constructor({specPath:e,ignoredFields:r,...n}){super({...n}),this.specPath=e,this.ignoredFields=r||[]}ObjectElement(e){const r=this.specPath(e),n=this.retrieveFixedFields(r);return e.forEach((s,i,a)=>{if(ct(i)&&n.includes(Re(i))&&!this.ignoredFields.includes(Re(i))){const o=this.toRefractedElement([...r,"fixedFields",Re(i)],s),u=new pe.MemberElement(Ke(i),o);this.copyMetaAndAttributes(a,u),u.classes.push("fixed-field"),this.element.content.push(u)}else this.ignoredFields.includes(Re(i))||this.element.content.push(Ke(a))}),this.copyMetaAndAttributes(e,this.element),Rt}};class br{parent;constructor({parent:e}){this.parent=e}}const ZL=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ho||t(n)&&e("JSONSchemaDraft4",n)&&r("object",n)),Jw=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof mo||t(n)&&e("JSONReference",n)&&r("object",n)),QL=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof cl||t(n)&&e("media",n)&&r("object",n)),vee=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fl||t(n)&&e("linkDescription",n)&&r("object",n)),bee=Object.freeze(Object.defineProperty({__proto__:null,isJSONReferenceElement:Jw,isJSONSchemaElement:ZL,isLinkDescriptionElement:vee,isMediaElement:QL},Symbol.toStringTag,{value:"Module"}));let e$=class extends qe(ea,br,jt){constructor(e){super(e),this.element=new ho,this.specPath=ot(["document","objects","JSONSchema"])}get defaultDialectIdentifier(){return"http://json-schema.org/draft-04/schema#"}ObjectElement(e){return this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element,ea.prototype.ObjectElement.call(this,e)}handleDialectIdentifier(e){if(Ti(this.parent)&&!ct(e.get("$schema")))this.element.setMetaProperty("inheritedDialectIdentifier",this.defaultDialectIdentifier);else if(ZL(this.parent)&&!ct(e.get("$schema"))){const r=Wa(Re(this.parent.meta.get("inheritedDialectIdentifier")),Re(this.parent.$schema));this.element.setMetaProperty("inheritedDialectIdentifier",r)}}handleSchemaIdentifier(e,r="id"){const n=this.parent!==void 0?Ke(this.parent.getMetaProperty("ancestorsSchemaIdentifiers",[])):new pe.ArrayElement,s=Re(e.get(r));Nf(s)&&n.push(s),this.element.setMetaProperty("ancestorsSchemaIdentifiers",n)}};const As=t=>Pt(t)&&t.hasKey("$ref");let t$=class extends qe(_n,br,jt){ObjectElement(e){const r=As(e)?["document","objects","JSONReference"]:["document","objects","JSONSchema"];return this.element=this.toRefractedElement(r,e),Rt}ArrayElement(e){return this.element=new pe.ArrayElement,this.element.classes.push("json-schema-items"),e.forEach(r=>{const n=As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}};class Eee extends jt{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-required"),r}}let See=class extends _n{specPath;ignoredFields;fieldPatternPredicate=aw;constructor({specPath:e,ignoredFields:r,fieldPatternPredicate:n,...s}){super({...s}),this.specPath=e,this.ignoredFields=r||[],typeof n=="function"&&(this.fieldPatternPredicate=n)}ObjectElement(e){return e.forEach((r,n,s)=>{if(!this.ignoredFields.includes(Re(n))&&this.fieldPatternPredicate(Re(n))){const i=this.specPath(r),a=this.toRefractedElement(i,r),o=new pe.MemberElement(Ke(n),a);this.copyMetaAndAttributes(s,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(Re(n))||this.element.content.push(Ke(s))}),this.copyMetaAndAttributes(e,this.element),Rt}},Pi=class extends See{constructor(e){super(e),this.fieldPatternPredicate=Nf}},_ee=class extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-properties"),this.specPath=r=>As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}},wee=class extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-patternProperties"),this.specPath=r=>As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}};class xee extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-dependencies"),this.specPath=r=>As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}class Aee extends jt{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-enum"),r}}let Oee=class extends jt{StringElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-type"),r}ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-type"),r}},Cee=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach(r=>{const n=As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}},Ree=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach(r=>{const n=As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}},Iee=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach(r=>{const n=As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}};class Tee extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-definitions"),this.specPath=r=>As(r)?["document","objects","JSONReference"]:["document","objects","JSONSchema"]}}let kee=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-links")}ArrayElement(e){return e.forEach(r=>{const n=this.toRefractedElement(["document","objects","LinkDescription"],r);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),Rt}};class Pee extends qe(ea,jt){constructor(e){super(e),this.element=new mo,this.specPath=ot(["document","objects","JSONReference"])}ObjectElement(e){const r=ea.prototype.ObjectElement.call(this,e);return ct(this.element.$ref)&&this.element.classes.push("reference-element"),r}}let jee=class extends jt{StringElement(e){const r=this.enter(e);return this.element.classes.push("reference-value"),r}},Nee=class extends _n{alternator;constructor({alternator:e,...r}){super({...r}),this.alternator=e}enter(e){const r=this.alternator.map(({predicate:s,specPath:i})=>gw(s,ot(i),jf)),n=FB(r)(e);return this.element=this.toRefractedElement(n,e),Rt}},Oa=class extends Nee{constructor(e){super(e),this.alternator=[{predicate:As,specPath:["document","objects","JSONReference"]},{predicate:ei,specPath:["document","objects","JSONSchema"]}]}};class Mee extends qe(ea,jt){constructor(e){super(e),this.element=new cl,this.specPath=ot(["document","objects","Media"])}}let r$=class extends qe(ea,jt){constructor(e){super(e),this.element=new fl,this.specPath=ot(["document","objects","LinkDescription"])}};const jr={visitors:{value:jt,JSONSchemaOrJSONReferenceVisitor:Oa,document:{objects:{JSONSchema:{$visitor:e$,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:Oa,items:t$,maxItems:{$ref:"#/visitors/value"},minItems:{$ref:"#/visitors/value"},uniqueItems:{$ref:"#/visitors/value"},maxProperties:{$ref:"#/visitors/value"},minProperties:{$ref:"#/visitors/value"},required:Eee,properties:_ee,additionalProperties:Oa,patternProperties:wee,dependencies:xee,enum:Aee,type:Oee,allOf:Cee,anyOf:Ree,oneOf:Iee,not:Oa,definitions:Tee,title:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},format:{$ref:"#/visitors/value"},base:{$ref:"#/visitors/value"},links:kee,media:{$ref:"#/visitors/document/objects/Media"},readOnly:{$ref:"#/visitors/value"}}},JSONReference:{$visitor:Pee,fixedFields:{$ref:jee}},Media:{$visitor:Mee,fixedFields:{binaryEncoding:{$ref:"#/visitors/value"}
vendor: 4,671 bytes, line 76
76,type:{$ref:"#/visitors/value"}}},LinkDescription:{$visitor:r$,fixedFields:{href:{$ref:"#/visitors/value"},rel:{$ref:"#/visitors/value"},title:{$ref:"#/visitors/value"},targetSchema:Oa,mediaType:{$ref:"#/visitors/value"},method:{$ref:"#/visitors/value"},encType:{$ref:"#/visitors/value"},schema:Oa}}}}}},Dee=()=>{const t=ri(lee);return{predicates:{...bee,isStringElement:ct},namespace:t}},Fee=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=jr}={})=>{const s=pe.refract(t),i=ki(n),a=Or(e,i),o=new a({specObj:i});return vr(s,o),Is(o.element,r,{toolboxCreator:Dee,visitorOptions:{keyMap:cee,nodeTypeGetter:pl}})},Hf=t=>(e,r={})=>Fee(e,{specPath:t,...r});ho.refract=Hf(["visitors","document","objects","JSONSchema","$visitor"]);mo.refract=Hf(["visitors","document","objects","JSONReference","$visitor"]);cl.refract=Hf(["visitors","document","objects","Media","$visitor"]);fl.refract=Hf(["visitors","document","objects","LinkDescription","$visitor"]);let Kf=class extends ho{constructor(e,r,n){super(e,r,n),this.element="schema",this.classes.push("json-schema-draft-4")}get idProp(){throw new wt("idProp getter in Schema class is not not supported.")}set idProp(e){throw new wt("idProp setter in Schema class is not not supported.")}get $schema(){throw new wt("$schema getter in Schema class is not not supported.")}set $schema(e){throw new wt("$schema setter in Schema class is not not supported.")}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get patternProperties(){throw new wt("patternProperties getter in Schema class is not not supported.")}set patternProperties(e){throw new wt("patternProperties setter in Schema class is not not supported.")}get dependencies(){throw new wt("dependencies getter in Schema class is not not supported.")}set dependencies(e){throw new wt("dependencies setter in Schema class is not not supported.")}get type(){return this.get("type")}set type(e){this.set("type",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get definitions(){throw new wt("definitions getter in Schema class is not not supported.")}set definitions(e){throw new wt("definitions setter in Schema class is not not supported.")}get base(){throw new wt("base getter in Schema class is not not supported.")}set base(e){throw new wt("base setter in Schema class is not not supported.")}get links(){throw new wt("links getter in Schema class is not not supported.")}set links(e){throw new wt("links setter in Schema class is not not supported.")}get media(){throw new wt("media getter in Schema class is not not supported.")}set media(e){throw new wt("media setter in Schema class is not not supported.")}get nullable(){return this.get("nullable")}set nullable(e){this.set("nullable",e)}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}},dl=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="securityRequirement"}},hl=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="securityScheme"}get type(){return this.get("type")}set type(e){this.set("type",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get name(){return this.get("name")}set name(e){this.set("name",e)}get in(){return this.get("in")}set in(e){this.set("in",e)}get scheme(){return this.get("scheme")}set scheme(e){this.set("scheme",e)}get bearerFormat(){return this.get("bearerFormat")}set bearerFormat(e){this.set("bearerFormat",e)}get flows(){return this.get("flows")}set flows(e){this.set("flows",e)}get openIdConnectUrl(){return this.get("openIdConnectUrl")}set openIdConnectUrl(e){this.set("openIdConnectUrl",e)}},ml=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="server"}get url(){return this.get("url")}set url(e){this.set("url",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get variables(){return this.get("variables")}
76set variables(e){this.set("variables",e)}},gl=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="serverVariable"}get enum(){return this.get("enum")}set enum(e){this.set("enum",e)}get default(){return this.get("default")}set default(e){this.set("default",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}},Gf=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="tag"}get name(){return this.get("name")}set name(e){this.set("name",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}},Yf=class extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="xml"}get name(){return this.get("name")}set name(e){this.set("name",e)}get namespace(){return this.get("namespace")}set namespace(e){this.set("namespace",e)}get prefix(){return this.get("prefix")}set prefix(e){this.set("prefix",e)}get attribute(){return this.get("attribute")}set attribute(e){this.set("attribute",e)}get wrapped(){return this.get("wrapped")}set wrapped(e){this.set("wrapped",e)}};const qee={namespace:t=>{const{base:e}=t;return e.register("callback",Ju),e.register("components",Hu),e.register("contact",Ku),e.register("discriminator",Gu),e.register("encoding",Vf),e.register("example",Yu),e.register("externalDocumentation",Xu),e.register("header",fo),e.register("info",Zu),e.register("license",Qu),e.register("link",el),e.register("mediaType",tl),e.register("oAuthFlow",zf),e.register("oAuthFlows",Wf),e.register("openapi",rl),e.register("openApi3_0",Jf),e.register("operation",nl),e.register("parameter",po),e.register("pathItem",sl),e.register("paths",il),e.register("reference",al),e.register("requestBody",ol),e.register("response",ul),e.register("responses",ll),e.register("schema",Kf),e.register("securityRequirement",dl),e.register("securityScheme",hl),e.register("server",ml),e.register("serverVariable",gl),e.register("tag",Gf),e.register("xml",Yf),e}};class Xf extends pe.ArrayElement{static primaryClass="servers";constructor(e,r,n){super(e,r,n),this.classes.push(Xf.primaryClass)}}class Hw extends pe.ArrayElement{static primaryClass="security";constructor(e,r,n){super(e,r,n),this.classes.push(Hw.primaryClass)}}class Kw extends pe.ArrayElement{static primaryClass="tags";constructor(e,r,n){super(e,r,n),this.classes.push(Kw.primaryClass)}}class Gw extends pe.ObjectElement{static primaryClass="server-variables";constructor(e,r,n){super(e,r,n),this.classes.push(Gw.primaryClass)}}class Zf extends pe.ObjectElement{static primaryClass="components-schemas";constructor(e,r,n){super(e,r,n),this.classes.push(Zf.primaryClass)}}class Yw extends pe.ObjectElement{static primaryClass="components-responses";constructor(e,r,n){super(e,r,n),this.classes.push(Yw.primaryClass)}}class Xw extends pe.ObjectElement{static primaryClass="components-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(Xw.primaryClass),this.classes.push("parameters")}}class Zw extends pe.ObjectElement{static primaryClass="components-examples";constructor(e,r,n){super(e,r,n),this.classes.push(Zw.primaryClass),this.classes.push("examples")}}class Qw extends pe.ObjectElement{static primaryClass="components-request-bodies";constructor(e,r,n){super(e,r,n),this.classes.push(Qw.primaryClass)}}class ex extends pe.ObjectElement{static primaryClass="components-headers";constructor(e,r,n){super(e,r,n),this.classes.push(ex.primaryClass)}}class tx extends pe.ObjectElement{static primaryClass="components-security-schemes";constructor(e,r,n){super(e,r,n),this.classes.push(tx.primaryClass)}}class rx extends pe.ObjectElement{static primaryClass="components-links";constructor(e,r,n){super(e,r,n),this.classes.push(rx.primaryClass)}}class nx extends pe.ObjectElement{static primaryClass="components-callbacks";constructor(e,r,n){super(e,r,n),this.classes.push(nx.primaryClass)}}class sx extends pe.ArrayElement{static primaryClass="path-item-servers";constructor(e,r,n){super(e,r,n),this.classes.push(sx.primaryClass),this.classes.push("servers")}}class ix extends pe.ArrayElement{static primaryClass="path-item-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(ix.primaryClass),this.classes.push("parameters")}}class Qf extends pe.ArrayElement{static primaryClass="operation-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(Qf.primaryClass),this.classes.push("parameters")}}class ax extends pe.ObjectElement{static primaryClass="parameter-examples";constructor(e,r,n){super(e,r,n),this.classes.push(ax.primaryClass),this.classes.push("examples")}}class ox extends pe.ObjectElement{static primaryClass="parameter-content";constructor(e,r,n){super(e,r,n),this.classes.push(ox.primaryClass),this.classes.push("content")}}class ux extends pe.ArrayElement{static primaryClass="operation-tags";constructor(e,r,n){super(e,r,n),this.classes.push(ux.primaryClass)}}class lx extends pe.ObjectElement{static primaryClass="operation-callbacks";constructor(e,r,n){super(e,r,n),this.classes.push(lx.primaryClass)}}class ep extends pe.ArrayElement{static primaryClass="operation-security";constructor(e,r,n){super(e,r,n),this.classes.push(ep.primaryClass),this.classes.push("security")}}let Bee=class n$ extends pe.ArrayElement{static primaryClass="operation-servers";constructor(e,r,n){super(e,r,n),this.classes.push(n$.primaryClass),this.classes.push("servers")}};class cx extends pe.ObjectElement{static primaryClass="request-body-content";constructor(e,r,n){super(e,r,n),this.classes.push(cx.primaryClass),this.classes.push("content")}}class fx extends pe.ObjectElement{static primaryClass="media-type-examples";constructor(e,r,n){super(e,r,n),this.classes.push(fx.primaryClass),this.classes.push("examples")}}class px extends pe.ObjectElement{static primaryClass="media-type-encoding";constructor(e,r,n){super(e,r,n),this.classes.push(px.primaryClass)}}class dx extends pe.ObjectElement{static primaryClass="encoding-headers";constructor(e,r,n){super(e,r,n),this.classes.push(dx.primaryClass)}}class hx extends pe.ObjectElement{static primaryClass="response-headers";constructor(e,r,n){super(e,r,n),this.classes.push(hx.primaryClass)}}class mx extends pe.ObjectElement{static primaryClass="response-content";constructor(e,r,n){super(e,r,n),this.classes.push(mx.primaryClass),this.classes.push("content")}}class gx extends pe.ObjectElement{static primaryClass="response-links";constructor(e,r,n){super(e,r,n),this.classes.push(gx.primaryClass)}}class yx extends pe.ObjectElement{static primaryClass="discriminator-mapping";constructor(e,r,n){super(e,r,n),this.classes.push(yx.primaryClass)}}class vx extends pe.ObjectElement{static primaryClass="oauth-flow-scopes";constructor(e,r,n){super(e,r,n),this.classes.push(vx.primaryClass)}}class bx extends pe.ObjectElement{static primaryClass="link-parameters";constructor(e,r,n){super(e,r,n),this.classes.push(bx.primaryClass)}}class Ex extends pe.ObjectElement{static primaryClass="header-examples";constructor(e,r,n){super(e,r,n),this.classes.push(Ex.primaryClass),this.classes.push("examples")}}class Sx extends pe.ObjectElement{static primaryClass="header-content";constructor(e,r,n){super(e,r,n),this.classes.push(Sx.primaryClass),this.classes.push("content")}}const Lee=t=>{if(ur(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},$ee={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"],...Rs};class s${element;constructor(e={}){Object.assign(this,e)}copyMetaAndAttributes(e,r){(e.meta.length>0||r.meta.length>0)&&(r.meta=Fn(r.meta,e.meta)),uo(e)&&Tw(r,e),(e.attributes.length>0||e.meta.length>0)&&(r.attributes=Fn(r.attributes,e.attributes))}}class Ve extends s${enter(e){return this.element=Ke(e),Rt}}class ls extends s${specObj;passingOptionsNames=["specObj","openApiGenericElement","openApiSemanticElement"];openApiGenericElement;openApiSemanticElement;constructor({specObj:e,passingOptionsNames:r,openApiGenericElement:n,openApiSemanticElement:s,...i}){super({...i}),this.specObj=e,this.openApiGenericElement=n,this.openApiSemanticElement=s,Array.isArray(r)&&(this.passingOptionsNames=r)}retrievePassingOptions(){return CB(this.passingOptionsNames,this)}retrieveFixedFields(e){const r=Or(["visitors",...e,"fixedFields"],this.specObj);
76return typeof r=="object"&&r!==null?Object.keys(r):[]}retrieveVisitor(e){return Pf(la,["visitors",...e],this.specObj)?Or(["visitors",...e],this.specObj):Or(["visitors",...e,"$visitor"],this.specObj)}retrieveVisitorInstance(e,r={}){const n=this.retrievePassingOptions(),s=this.retrieveVisitor(e),i={...n,...r};return new s(i)}toRefractedElement(e,r,n={}){const s=this.retrieveVisitorInstance(e,n);return s instanceof Ve&&s?.constructor===Ve?Ke(r):(vr(r,s,n),s.element)}}const Yt=t=>Pt(t)&&t.hasKey("$ref"),Uee=Pt,Vee=Pt,i$=t=>ct(t.key)&&kY("x-",Re(t.key));class bt extends ls{specPath;ignoredFields;canSupportSpecificationExtensions=!0;specificationExtensionPredicate=i$;constructor({specPath:e,ignoredFields:r,canSupportSpecificationExtensions:n,specificationExtensionPredicate:s,...i}){super({...i}),this.specPath=e,this.ignoredFields=r||[],typeof n=="boolean"&&(this.canSupportSpecificationExtensions=n),typeof s=="function"&&(this.specificationExtensionPredicate=s)}ObjectElement(e){const r=this.specPath(e),n=this.retrieveFixedFields(r);return e.forEach((s,i,a)=>{if(ct(i)&&n.includes(Re(i))&&!this.ignoredFields.includes(Re(i))){const o=this.toRefractedElement([...r,"fixedFields",Re(i)],s),u=new pe.MemberElement(Ke(i),o);this.copyMetaAndAttributes(a,u),u.classes.push("fixed-field"),this.element.content.push(u)}else if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(a)){const o=this.toRefractedElement(["document","extension"],a);this.element.content.push(o)}else this.ignoredFields.includes(Re(i))||this.element.content.push(Ke(a))}),this.copyMetaAndAttributes(e,this.element),Rt}}class zee extends qe(bt,Ve){constructor(e){super(e),this.element=new Jf,this.specPath=ot(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){return bt.prototype.ObjectElement.call(this,e)}}class Wee extends qe(ls,Ve){StringElement(e){const r=new rl(Re(e));return this.copyMetaAndAttributes(e,r),this.element=r,Rt}}class Jee extends ls{MemberElement(e){return this.element=Ke(e),this.element.classes.push("specification-extension"),Rt}}let Hee=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Zu,this.specPath=ot(["document","objects","Info"]),this.canSupportSpecificationExtensions=!0}};class Kee extends Ve{StringElement(e){const r=super.enter(e);return this.element.classes.push("api-version"),this.element.classes.push("version"),r}}let Gee=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Ku,this.specPath=ot(["document","objects","Contact"]),this.canSupportSpecificationExtensions=!0}},Yee=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Qu,this.specPath=ot(["document","objects","License"]),this.canSupportSpecificationExtensions=!0}},Xee=class extends qe(bt,Ve){constructor(e){super(e),this.element=new el,this.specPath=ot(["document","objects","Link"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return(ct(this.element.operationId)||ct(this.element.operationRef))&&this.element.classes.push("reference-element"),r}};class Zee extends Ve{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}}class Qee extends Ve{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}}class Ya extends ls{specPath;ignoredFields;fieldPatternPredicate=aw;canSupportSpecificationExtensions=!1;specificationExtensionPredicate=i$;constructor({specPath:e,ignoredFields:r,fieldPatternPredicate:n,canSupportSpecificationExtensions:s,specificationExtensionPredicate:i,...a}){super({...a}),this.specPath=e,this.ignoredFields=r||[],typeof n=="function"&&(this.fieldPatternPredicate=n),typeof s=="boolean"&&(this.canSupportSpecificationExtensions=s),typeof i=="function"&&(this.specificationExtensionPredicate=i)}ObjectElement(e){return e.forEach((r,n,s)=>{if(this.canSupportSpecificationExtensions&&this.specificationExtensionPredicate(s)){const i=this.toRefractedElement(["document","extension"],s);this.element.content.push(i)}else if(!this.ignoredFields.includes(Re(n))&&this.fieldPatternPredicate(Re(n))){const i=this.specPath(r),a=this.toRefractedElement(i,r),o=new pe.Member
76Element(Ke(n),a);this.copyMetaAndAttributes(s,o),o.classes.push("patterned-field"),this.element.content.push(o)}else this.ignoredFields.includes(Re(n))||this.element.content.push(Ke(s))}),this.copyMetaAndAttributes(e,this.element),Rt}}class mt extends Ya{constructor(e){super(e),this.fieldPatternPredicate=Nf}}let ete=class extends qe(mt,Ve){constructor(e){super(e),this.element=new bx,this.specPath=ot(["value"])}},tte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new ml,this.specPath=ot(["document","objects","Server"]),this.canSupportSpecificationExtensions=!0}};class rte extends Ve{StringElement(e){const r=super.enter(e);return this.element.classes.push("server-url"),r}}let _x=class extends qe(ls,Ve){constructor(e){super(e),this.element=new Xf}ArrayElement(e){return e.forEach(r=>{const n=Uee(r)?["document","objects","Server"]:["value"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}},nte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new gl,this.specPath=ot(["document","objects","ServerVariable"]),this.canSupportSpecificationExtensions=!0}};class ste extends qe(mt,Ve){constructor(e){super(e),this.element=new Gw,this.specPath=ot(["document","objects","ServerVariable"])}}let ite=class extends qe(bt,Ve){constructor(e){super(e),this.element=new tl,this.specPath=ot(["document","objects","MediaType"]),this.canSupportSpecificationExtensions=!0}};class Os extends ls{alternator;constructor({alternator:e,...r}){super({...r}),this.alternator=e||[]}enter(e){const r=this.alternator.map(({predicate:s,specPath:i})=>gw(s,ot(i),jf)),n=FB(r)(e);return this.element=this.toRefractedElement(n,e),Rt}}const ate=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ju||t(n)&&e("callback",n)&&r("object",n)),ote=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Hu||t(n)&&e("components",n)&&r("object",n)),ute=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ku||t(n)&&e("contact",n)&&r("object",n)),lte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Yu||t(n)&&e("example",n)&&r("object",n)),cte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Xu||t(n)&&e("externalDocumentation",n)&&r("object",n)),go=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fo||t(n)&&e("header",n)&&r("object",n)),fte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Zu||t(n)&&e("info",n)&&r("object",n)),pte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Qu||t(n)&&e("license",n)&&r("object",n)),dte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof el||t(n)&&e("link",n)&&r("object",n)),hte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof rl||t(n)&&e("openapi",n)&&r("string",n)),mte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>s=>s instanceof Jf||t(s)&&e("openApi3_0",s)&&r("object",s)&&n("api",s)),a$=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof nl||t(n)&&e("operation",n)&&r("object",n)),gte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof po||t(n)&&e("parameter",n)&&r("object",n)),wx=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sl||t(n)&&e("pathItem",n)&&r("object",n)),yte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof il||t(n)&&e("paths",n)&&r("object",n)),Jt=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof al||t(n)&&e("reference",n)&&r("object",n)),vte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ol||t(n)&&e("requestBody",n)&&r("object",n)),tp=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ul||t(n)&&e("response",n)&&r("object",n)),bte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ll||t(n)&&e("responses",n)&&r("object",n)),Ete=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Kf||t(n)&&e("schema",n)&&r("object",n)),Ste=t=>Uu(t)&&t.classes.includes("boolean-json-schema"),_te=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof dl||t(n)&&e("securityRequirement",n)&&r("object",n)),wte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof hl||t(n)&&e("securityScheme",n)&&r("object",n)),xte=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ml||t(n)&&e("server",n)&&r("object",n)),Ate=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof gl||t(n)&&e("serverVariable",n)&&r("object",n)),rp=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof tl||t(n)&&e("mediaType",n)&&r("object",n)),o$=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>s=>s instanceof Xf||t(s)&&e("array",s)&&r("array",s)&&n("servers",s)),Ote=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Gu||t(n)&&e("discriminator",n)&&r("object",n)),Cte=Object.freeze(Object.defineProperty({__proto__:null,isBooleanJsonSchemaElement:Ste,isCallbackElement:ate,isComponentsElement:ote,isContactElement:ute,isDiscriminatorElement:Ote,isExampleElement:lte,isExternalDocumentationElement:cte,isHeaderElement:go,isInfoElement:fte,isLicenseElement:pte,isLinkElement:dte,isMediaTypeElement:rp,isOpenApi3_0Element:mte,isOpenapiElement:hte,isOperationElement:a$,isParameterElement:gte,isPathItemElement:wx,isPathsElement:yte,isReferenceElement:Jt,isRequestBodyElement:vte,isResponseElement:tp,isResponsesElement:bte,isSchemaElement:Ete,isSecurityRequirementElement:_te,isSecuritySchemeElement:wte,isServerElement:xte,isServerVariableElement:Ate,isServersElement:o$},Symbol.toStringTag,{value:"Module"}));let Rte=class extends qe(Os,Ve){constructor(e){super(e),this.alternator=[{predicate:Yt,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=Os.prototype.enter.call(this,e);return Jt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}},xx=class extends qe(mt,Ve){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("examples"),this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Example"],this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>
76{n.setMetaProperty("referenced-element","example")}),r}},Ite=class extends xx{constructor(e){super(e),this.element=new fx}},Tte=class extends qe(mt,Ve){constructor(e){super(e),this.element=new px,this.specPath=ot(["document","objects","Encoding"])}},kte=class extends qe(mt,Ve){constructor(e){super(e),this.element=new dl,this.specPath=ot(["value"])}},Pte=class extends qe(ls,Ve){constructor(e){super(e),this.element=new Hw}ArrayElement(e){return e.forEach(r=>{if(Pt(r)){const n=this.toRefractedElement(["document","objects","SecurityRequirement"],r);this.element.push(n)}else this.element.push(Ke(r))}),this.copyMetaAndAttributes(e,this.element),Rt}},jte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Hu,this.specPath=ot(["document","objects","Components"]),this.canSupportSpecificationExtensions=!0}},Nte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Gf,this.specPath=ot(["document","objects","Tag"]),this.canSupportSpecificationExtensions=!0}},Mte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new al,this.specPath=ot(["document","objects","Reference"]),this.canSupportSpecificationExtensions=!1}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return ct(this.element.$ref)&&this.element.classes.push("reference-element"),r}},Dte=class extends Ve{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}},Fte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new po,this.specPath=ot(["document","objects","Parameter"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return Pt(this.element.contentProp)&&this.element.contentProp.filter(rp).forEach((n,s)=>{n.setMetaProperty("media-type",Re(s))}),r}},qte=class extends qe(Os,Ve){constructor(e){super(e),this.alternator=[{predicate:Yt,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=Os.prototype.enter.call(this,e);return Jt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}},Bte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new fo,this.specPath=ot(["document","objects","Header"]),this.canSupportSpecificationExtensions=!0}},Lte=class extends qe(Os,Ve){constructor(e){super(e),this.alternator=[{predicate:Yt,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Schema"]}]}ObjectElement(e){const r=Os.prototype.enter.call(this,e);return Jt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}},$te=class extends xx{constructor(e){super(e),this.element=new Ex}},np=class extends qe(mt,Ve){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("content"),this.specPath=ot(["document","objects","MediaType"])}},Ute=class extends np{constructor(e){super(e),this.element=new Sx}},Vte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Kf,this.specPath=ot(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0}};const wM=jr.visitors.document.objects.JSONSchema.fixedFields.allOf;let zte=class extends wM{ArrayElement(e){const r=wM.prototype.ArrayElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const xM=jr.visitors.document.objects.JSONSchema.fixedFields.anyOf;let Wte=class extends xM{ArrayElement(e){const r=xM.prototype.ArrayElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const AM=jr.visitors.document.objects.JSONSchema.fixedFields.oneOf;let Jte=class extends AM{ArrayElement(e){const r=AM.prototype.ArrayElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}};const OM=jr.visitors.document.objects.JSONSchema.fixedFields.items;let Hte=class extends OM{ObjectElement(e){const r=OM.prototype.ObjectElement.call(this,e);return Jt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}ArrayElement(e){return this.enter(e)}};const CM=jr.visitors.document.objects.JSONSchema.fixedFields.properties;let Kte=class extends CM{ObjectElement(e){const r=CM.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>
76{n.setMetaProperty("referenced-element","schema")}),r}};const Gte=jr.visitors.document.objects.JSONSchema.fixedFields.type;class Yte extends Gte{ArrayElement(e){return this.enter(e)}}const RM=jr.visitors.JSONSchemaOrJSONReferenceVisitor;class IM extends RM{ObjectElement(e){const r=RM.prototype.enter.call(this,e);return Jt(this.element)&&this.element.setMetaProperty("referenced-element","schema"),r}}let Xte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Gu,this.specPath=ot(["document","objects","Discriminator"]),this.canSupportSpecificationExtensions=!1}};class Zte extends qe(mt,Ve){constructor(e){super(e),this.element=new yx,this.specPath=ot(["value"])}}let Qte=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Yf,this.specPath=ot(["document","objects","XML"]),this.canSupportSpecificationExtensions=!0}},ere=class extends xx{constructor(e){super(e),this.element=new ax}},tre=class extends np{constructor(e){super(e),this.element=new ox}},rre=class extends qe(mt,Ve){constructor(e){super(e),this.element=new Zf,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Schema"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","schema")}),r}},nre=class extends qe(mt,Ve){constructor(e){super(e),this.element=new Yw,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Response"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","response")}),this.element.filter(tp).forEach((n,s)=>{n.setMetaProperty("http-status-code",Re(s))}),r}},sre=class extends qe(mt,Ve){constructor(e){super(e),this.element=new Xw,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Parameter"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","parameter")}),r}},ire=class extends qe(mt,Ve){constructor(e){super(e),this.element=new Zw,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Example"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","example")}),r}};class are extends qe(mt,Ve){constructor(e){super(e),this.element=new Qw,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","RequestBody"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","requestBody")}),r}}let ore=class extends qe(mt,Ve){constructor(e){super(e),this.element=new ex,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.filter(go).forEach((n,s)=>{n.setMetaProperty("header-name",Re(s))}),r}};class ure extends qe(mt,Ve){constructor(e){super(e),this.element=new tx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","SecurityScheme"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","securityScheme")}),r}}let lre=class extends qe(mt,Ve){constructor(e){super(e),this.element=new rx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","link")}),r}},cre=class extends qe(mt,Ve){constructor(e){super(e),this.element=new nx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","callback")}),r}},fre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Yu,this.specPath=ot(["document","objects","Example"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return ct(this.element.externalValue)&&this.element.classes.push("reference-element"),r}};class pre extends Ve{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}}let dre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Xu,this.specPath=ot(["document","objects","ExternalDocumentation"]),this.canSupportSpecificationExtensions=!0}},hre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Vf,this.specPath=ot(["document","objects","Encoding"]),this.canSupportSpecificationExtensions=!0}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return Pt(this.element.headers)&&this.element.headers.filter(go).forEac
76h((n,s)=>{n.setMetaProperty("header-name",Re(s))}),r}},mre=class extends qe(mt,Ve){constructor(e){super(e),this.element=new dx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.forEach((n,s)=>{if(!go(n))return;const i=Re(s);n.setMetaProperty("headerName",i)}),r}},gre=class extends qe(Ya,Ve){constructor(e){super(e),this.element=new il,this.specPath=ot(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=ei}ObjectElement(e){const r=Ya.prototype.ObjectElement.call(this,e);return this.element.filter(wx).forEach((n,s)=>{s.classes.push("openapi-path-template"),s.classes.push("path-template"),n.setMetaProperty("path",Ke(s))}),r}},yre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new ol,this.specPath=ot(["document","objects","RequestBody"])}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return Pt(this.element.contentProp)&&this.element.contentProp.filter(rp).forEach((n,s)=>{n.setMetaProperty("media-type",Re(s))}),r}},vre=class extends np{constructor(e){super(e),this.element=new cx}},bre=class extends qe(Ya,Ve){constructor(e){super(e),this.element=new Ju,this.specPath=ot(["document","objects","PathItem"]),this.canSupportSpecificationExtensions=!0,this.fieldPatternPredicate=r=>/{(?<expression>[^}]{1,2083})}/.test(String(r))}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(wx).forEach((n,s)=>
76{n.setMetaProperty("runtime-expression",Re(s))}),r}},Ere=class extends qe(bt,Ve){constructor(e){super(e),this.element=new ul,this.specPath=ot(["document","objects","Response"])}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return Pt(this.element.contentProp)&&this.element.contentProp.filter(rp).forEach((n,s)=>{n.setMetaProperty("media-type",Re(s))}),Pt(this.element.headers)&&this.element.headers.filter(go).forEach((n,s)=>{n.setMetaProperty("header-name",Re(s))}),r}};class Sre extends qe(mt,Ve){constructor(e){super(e),this.element=new hx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Header"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","header")}),this.element.forEach((n,s)=>{if(!go(n))return;const i=Re(s);n.setMetaProperty("header-name",i)}),r}}class _re extends np{constructor(e){super(e),this.element=new mx}}class wre extends qe(mt,Ve){constructor(e){super(e),this.element=new gx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Link"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","link")}),r}}class TM extends qe(bt,Ya){specPathFixedFields;specPathPatternedFields;constructor({specPathFixedFields:e,specPathPatternedFields:r,...n}){super({...n}),this.specPathFixedFields=e,this.specPathPatternedFields=r}ObjectElement(e){const{specPath:r,ignoredFields:n}=this;try{this.specPath=this.specPathFixedFields;const s=this.retrieveFixedFields(this.specPath(e));this.ignoredFields=[...n,...ZG(e.keys(),s)],bt.prototype.ObjectElement.call(this,e),this.specPath=this.specPathPatternedFields,this.ignoredFields=s,Ya.prototype.ObjectElement.call(this,e)}catch(s){throw this.specPath=r,s}return Rt}}let xre=class extends qe(TM,Ve){constructor(e){super(e),this.element=new ll,this.specPathFixedFields=ot(["document","objects","Responses"]),this.canSupportSpecificationExtensions=!0,this.specPathPatternedFields=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Response"],this.fieldPatternPredicate=r=>new RegExp(`^(1XX|2XX|3XX|4XX|5XX|${RY(100,600).join("|")})$`).test(String(r))}ObjectElement(e){const r=TM.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>{n.setMetaProperty("referenced-element","response")}),this.element.filter(tp).forEach((n,s)=>{const i=Ke(s);this.fieldPatternPredicate(Re(i))&&n.setMetaProperty("http-status-code",i)}),r}};class Are extends qe(Os,Ve){constructor(e){super(e),this.alternator=[{predicate:Yt,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","Response"]}]}ObjectElement(e){const r=Os.prototype.enter.call(this,e);return Jt(this.element)?this.element.setMetaProperty("referenced-element","response"):tp(this.element)&&this.element.setMetaProperty("http-status-code","default"),r}}let Ore=class extends qe(bt,Ve){constructor(e){super(e),this.element=new nl,this.specPath=ot(["document","objects","Operation"])}},Cre=class extends Ve{constructor(e){super(e),this.element=new ux}ArrayElement(e){return this.element=this.element.concat(Ke(e)),Rt}},u$=class extends qe(ls,Ve){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("parameters")}ArrayElement(e){return e.forEach(r=>{const n=Yt(r)?["document","objects","Reference"]:["document","objects","Parameter"],s=this.toRefractedElement(n,r);Jt(s)&&s.setMetaProperty("referenced-element","parameter"),this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}},Rre=class extends u${constructor(e){super(e),this.element=new Qf}},Ire=class extends Os{constructor(e){super(e),this.alternator=[{predicate:Yt,specPath:["document","objects","Reference"]},{predicate:ei,specPath:["document","objects","RequestBody"]}]}ObjectElement(e){const r=Os.prototype.enter.call(this,e);return Jt(this.element)&&this.element.setMetaProperty("referenced-element","requestBody"),r}};class Tre extends qe(mt,Ve){specPath;constructor(e){super(e),this.element=new lx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","Callback"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(Jt).forEach(n=>
76{n.setMetaProperty("referenced-element","callback")}),r}}class kre extends qe(ls,Ve){constructor(e){super(e),this.element=new ep}ArrayElement(e){return e.forEach(r=>{const n=Pt(r)?["document","objects","SecurityRequirement"]:["value"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}}let Pre=class extends _x{constructor(e){super(e),this.element=new Bee}},jre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new sl,this.specPath=ot(["document","objects","PathItem"])}ObjectElement(e){const r=bt.prototype.ObjectElement.call(this,e);return this.element.filter(a$).forEach((n,s)=>{const i=Ke(s);i.content=Re(i).toUpperCase(),n.setMetaProperty("http-method",i)}),ct(this.element.$ref)&&this.element.classes.push("reference-element"),r}};class Nre extends Ve{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}}class Mre extends _x{constructor(e){super(e),this.element=new sx}}class Dre extends u${constructor(e){super(e),this.element=new ix}}let Fre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new hl,this.specPath=ot(["document","objects","SecurityScheme"]),this.canSupportSpecificationExtensions=!0}},qre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new Wf,this.specPath=ot(["document","objects","OAuthFlows"]),this.canSupportSpecificationExtensions=!0}},Bre=class extends qe(bt,Ve){constructor(e){super(e),this.element=new zf,this.specPath=ot(["document","objects","OAuthFlow"]),this.canSupportSpecificationExtensions=!0}};class Lre extends qe(mt,Ve){constructor(e){super(e),this.element=new vx,this.specPath=ot(["value"])}}class $re extends qe(ls,Ve){constructor(e){super(e),this.element=new Kw}ArrayElement(e){return e.forEach(r=>{const n=Vee(r)?["document","objects","Tag"]:["value"],s=this.toRefractedElement(n,r);this.element.push(s)}),this.copyMetaAndAttributes(e,this.element),Rt}}const{fixedFields:Sr}=jr.visitors.document.objects.JSONSchema,Ee={visitors:{value:Ve,document:{objects:{OpenApi:{$visitor:zee,fixedFields:{openapi:Wee,info:{$ref:"#/visitors/document/objects/Info"},servers:_x,paths:{$ref:"#/visitors/document/objects/Paths"},components:{$ref:"#/visitors/document/objects/Components"},security:Pte,tags:$re,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:Hee,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:Kee}},Contact:{$visitor:Gee,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"},email:{$ref:"#/visitors/value"}}},License:{$visitor:Yee,fixedFields:{name:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Server:{$visitor:tte,fixedFields:{url:rte,description:{$ref:"#/visitors/value"},variables:ste}},ServerVariable:{$visitor:nte,fixedFields:{enum:{$ref:"#/visitors/value"},default:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},Components:{$visitor:jte,fixedFields:{schemas:rre,responses:nre,parameters:sre,examples:ire,requestBodies:are,headers:ore,securitySchemes:ure,links:lre,callbacks:cre}},Paths:{$visitor:gre},PathItem:{$visitor:jre,fixedFields:{$ref:Nre,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:Mre,parameters:Dre}},Operation:{$visitor:Ore,fixedFields:{tags:Cre,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:{$ref:"#/visitors/value"},parameters:Rre,requestBody:Ire,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Tre,deprecated:{$ref:"#/visitors/value"},security:kre,servers:Pre}}
vendor: 6,362 bytes, line 76
76,ExternalDocumentation:{$visitor:dre,fixedFields:{description:{$ref:"#/visitors/value"},url:{$ref:"#/visitors/value"}}},Parameter:{$visitor:Fte,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:qte,example:{$ref:"#/visitors/value"},examples:ere,content:tre}},RequestBody:{$visitor:yre,fixedFields:{description:{$ref:"#/visitors/value"},content:vre,required:{$ref:"#/visitors/value"}}},MediaType:{$visitor:ite,fixedFields:{schema:Rte,example:{$ref:"#/visitors/value"},examples:Ite,encoding:Tte}},Encoding:{$visitor:hre,fixedFields:{contentType:{$ref:"#/visitors/value"},headers:mre,style:{$ref:"#/visitors/value"},explode:{$ref:"#/visitors/value"},allowReserved:{$ref:"#/visitors/value"}}},Responses:{$visitor:xre,fixedFields:{default:Are}},Response:{$visitor:Ere,fixedFields:{description:{$ref:"#/visitors/value"},headers:Sre,content:_re,links:wre}},Callback:{$visitor:bre},Example:{$visitor:fre,fixedFields:{summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},value:{$ref:"#/visitors/value"},externalValue:pre}},Link:{$visitor:Xee,fixedFields:{operationRef:Zee,operationId:Qee,parameters:ete,requestBody:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Bte,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:Lte,example:{$ref:"#/visitors/value"},examples:$te,content:Ute}},Tag:{$visitor:Nte,fixedFields:{name:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"},externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Mte,fixedFields:{$ref:Dte}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},JSONReference:{$ref:"#/visitors/document/objects/Reference"},Schema:{$visitor:Vte,fixedFields:{title:Sr.title,multipleOf:Sr.multipleOf,maximum:Sr.maximum,exclusiveMaximum:Sr.exclusiveMaximum,minimum:Sr.minimum,exclusiveMinimum:Sr.exclusiveMinimum,maxLength:Sr.maxLength,minLength:Sr.minLength,pattern:Sr.pattern,maxItems:Sr.maxItems,minItems:Sr.minItems,uniqueItems:Sr.uniqueItems,maxProperties:Sr.maxProperties,minProperties:Sr.minProperties,required:Sr.required,enum:Sr.enum,type:Yte,allOf:zte,anyOf:Wte,oneOf:Jte,not:IM,items:Hte,properties:Kte,additionalProperties:IM,description:Sr.description,format:Sr.format,default:Sr.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:Xte,fixedFields:{propertyName:{$ref:"#/visitors/value"},mapping:Zte}},XML:{$visitor:Qte,fixedFields:{name:{$ref:"#/visitors/value"},namespace:{$ref:"#/visitors/value"},prefix:{$ref:"#/visitors/value"},attribute:{$ref:"#/visitors/value"},wrapped:{$ref:"#/visitors/value"}}},SecurityScheme:{$visitor:Fre,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:qre,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:Bre,fixedFields:{authorizationUrl:{$ref:"#/visitors/value"},tokenUrl:{$ref:"#/visitors/value"},refreshUrl:{$ref:"#/visitors/value"},scopes:Lre}},SecurityRequirement:{$visitor:kte}},extension:{$visitor:Jee}}}},Ure=()=>{const t=ri(qee);return{predicates:{...Cte,isElement:ur,isStringElement:ct,isArrayElement:Fr,isObjectElement:Pt,isMemberElement:os,includesClasses:Ha,hasElementSourceMap:uo},namespace:t}},Vre=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=pe.refract(t),s=ki(Ee),i=Or(e,s),a=new i({specObj:s});return vr(n,a),Is(a.element,r,{toolboxCreator:Ure,visitorOptions:{keyMap:$ee,nodeTypeGetter:Lee}})},Dt=t=>(e,r={})=>Vre(e,{specPath:t,...r});Ju.refract=Dt(["visitors","document","objects","Callback","$visitor"]);Hu.refract=Dt(["visitors","document","objects","Components","$visitor"]);Ku.refract=Dt(["visitors","document","objects","Contact","$visitor"]);Yu.refract=Dt(["visitors","document","objects","Example","$visitor"]);Gu.refract=Dt(["visitors","document","objects","Discriminator","$visitor"]);Vf.refract=Dt(["visitors","document","objects","Encoding","$visitor"]);Xu.refract=Dt(["visitors","document","objects","ExternalDocumentation","$visitor"]);fo.refract=Dt(["visitors","document","objects","Header","$visitor"]);Zu.refract=Dt(["visitors","document","objects","Info","$visitor"]);Qu.refract=Dt(["visitors","document","objects","License","$visitor"]);el.refract=Dt(["visitors","document","objects","Link","$visitor"]);tl.refract=Dt(["visitors","document","objects","MediaType","$visitor"]);zf.refract=Dt(["visitors","document","objects","OAuthFlow","$visitor"]);Wf.refract=Dt(["visitors","document","objects","OAuthFlows","$visitor"]);rl.refract=Dt(["visitors","document","objects","OpenApi","fixedFields","openapi"]);Jf.refract=Dt(["visitors","document","objects","OpenApi","$visitor"]);nl.refract=Dt(["visitors","document","objects","Operation","$visitor"]);po.refract=Dt(["visitors","document","objects","Parameter","$visitor"]);sl.refract=Dt(["visitors","document","objects","PathItem","$visitor"]);il.refract=Dt(["visitors","document","objects","Paths","$visitor"]);al.refract=Dt(["visitors","document","objects","Reference","$visitor"]);ol.refract=Dt(["visitors","document","objects","RequestBody","$visitor"]);
76ul.refract=Dt(["visitors","document","objects","Response","$visitor"]);ll.refract=Dt(["visitors","document","objects","Responses","$visitor"]);Kf.refract=Dt(["visitors","document","objects","Schema","$visitor"]);dl.refract=Dt(["visitors","document","objects","SecurityRequirement","$visitor"]);hl.refract=Dt(["visitors","document","objects","SecurityScheme","$visitor"]);ml.refract=Dt(["visitors","document","objects","Server","$visitor"]);gl.refract=Dt(["visitors","document","objects","ServerVariable","$visitor"]);Gf.refract=Dt(["visitors","document","objects","Tag","$visitor"]);Yf.refract=Dt(["visitors","document","objects","XML","$visitor"]);class sp extends Ju{}class ip extends Hu{get pathItems(){return this.get("pathItems")}set pathItems(e){this.set("pathItems",e)}}let ap=class extends Ku{};class Ax extends Gu{}class Ox extends Vf{}let op=class extends Yu{};class up extends Xu{}class lp extends fo{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}let cp=class extends Zu{get license(){return this.get("license")}set license(e){this.set("license",e)}get summary(){return this.get("summary")}set summary(e){this.set("summary",e)}};class fa extends pe.StringElement{static default=new fa("https://spec.openapis.org/oas/3.1/dialect/base");constructor(e,r,n){super(e,r,n),this.element="jsonSchemaDialect"}}let fp=class extends Qu{get identifier(){return this.get("identifier")}set identifier(e){this.set("identifier",e)}},pp=class extends el{};class dp extends tl{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}class Cx extends zf{}class Rx extends Wf{}class Ix extends rl{}class ji extends pe.ObjectElement{constructor(e,r,n){super(e,r,n),this.element="openApi3_1",this.classes.push("api")}get openapi(){return this.get("openapi")}set openapi(e){this.set("openapi",e)}get info(){return this.get("info")}set info(e){this.set("info",e)}get jsonSchemaDialect(){return this.get("jsonSchemaDialect")}set jsonSchemaDialect(e){this.set("jsonSchemaDialect",e)}get servers(){return this.get("servers")}set servers(e){this.set("servers",e)}get paths(){return this.get("paths")}set paths(e){this.set("paths",e)}get components(){return this.get("components")}set components(e){this.set("components",e)}get security(){return this.get("security")}set security(e){this.set("security",e)}get tags(){return this.get("tags")}set tags(e){this.set("tags",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get webhooks(){return this.get("webhooks")}set webhooks(e){this.set("webhooks",e)}}let yl=class extends nl{get requestBody(){return this.get("requestBody")}set requestBody(e){this.set("requestBody",e)}};class hp extends po{get schema(){return this.get("schema")}set schema(e){this.set("schema",e)}}class xi extends sl{get GET(){return this.get("get")}set GET(e){this.set("GET",e)}get PUT(){return this.get("put")}set PUT(e){this.set("PUT",e)}get POST(){return this.get("post")}set POST(e){this.set("POST",e)}get DELETE(){return this.get("delete")}set DELETE(e){this.set("DELETE",e)}get OPTIONS(){return this.get("options")}set OPTIONS(e){this.set("OPTIONS",e)}get HEAD(){return this.get("head")}set HEAD(e){this.set("HEAD",e)}get PATCH(){return this.get("patch")}set PATCH(e){this.set("PATCH",e)}get TRACE(){return this.get("trace")}set TRACE(e){this.set("TRACE",e)}}class mp extends il{}class Ni extends al{}Object.defineProperty(Ni.prototype,"description",{get(){return this.get("description")},set(t){this.set("description",t)},enumerable:!0});Object.defineProperty(Ni.prototype,"summary",{get(){return this.get("summary")},set(t){this.set("summary",t)},enumerable:!0});class gp extends ol{}let yp=class extends ul{},vp=class extends ll{},vl=class extends ho{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft6"}get idProp(){throw new wt("id keyword from Core vocabulary has been renamed to $id.")}set idProp(e){throw new wt("id keyword from Core vocabulary has been renamed to $id.")}get $id(){return this.get("$id")}set $id(e){this.set("$id",e)}get exclusiveMaximum(){return this.get("exclusiveMaximum")}set exclusiveMaximum(e){this.set("exclusiveMaximum",e)}get exclusiveMinimum(){return this.get("exclusiveMinimum")}set exclusiveMinimum(e){this.set("exclusiveMinimum",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get const(){return this.get("const")}set const(e){this.set("const",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get examples(){return this.get("examples")}set examples(e){this.set("examples",e)}},bl=class extends fl{get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get schema(){throw new wt("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}set schema(e){throw new wt("schema keyword from Hyper-Schema vocabulary has been renamed to submissionSchema.")}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get method(){throw new wt("method keyword from Hyper-Schema vocabulary has been removed.")}set method(e){throw new wt("method keyword from Hyper-Schema vocabulary has been removed.")}get encType(){throw new wt("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}set encType(e){throw new wt("encType keyword from Hyper-Schema vocabulary has been renamed to submissionEncType.")}get submissionEncType(){return this.get("submissionEncType")}set submissionEncType(e){this.set("submissionEncType",e)}};const zre={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft6",vl),e.register("jSONReference",mo),e.register("media",cl),e.register("linkDescription",bl),e}},Wre={JSONSchemaDraft6Element:["content"],JSONReferenceElement:["content"],MediaElement:["content"],LinkDescriptionElement:["content"],...Rs};let l$=class extends e${constructor(e){super(e),this.element=new vl}get defaultDialectIdentifier(){return"http://json-schema.org/draft-06/schema#"}BooleanElement(e){const r=this.enter(e);return this.element.classes.push("boolean-json-schema"),r}handleSchemaIdentifier(e,r="$id"){return super.handleSchemaIdentifier(e,r)}},Jre=class extends t${BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Rt}};class Hre extends jt{ArrayElement(e){const r=this.enter(e);return this.element.classes.push("json-schema-examples"),r}}let c$=class extends r${constructor(e){super(e),this.element=new bl}};const kr=qr(Le(["visitors","document","objects","JSONSchema","$visitor"],l$),gn(["visitors","document","objects","JSONSchema","fixedFields","i
76d"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$id"],jr.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","contains"],jr.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","items"],Jre),Le(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],jr.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","const"],jr.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","examples"],Hre),Le(["visitors","document","objects","LinkDescription","$visitor"],c$),Le(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],jr.visitors.JSONSchemaOrJSONReferenceVisitor),gn(["visitors","document","objects","LinkDescription","fixedFields","schema"]),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],jr.visitors.JSONSchemaOrJSONReferenceVisitor),gn(["visitors","document","objects","LinkDescription","fixedFields","method"]),gn(["visitors","document","objects","LinkDescription","fixedFields","encType"]),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"],jr.visitors.value))(jr),Kre=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof vl||t(n)&&e("JSONSchemaDraft6",n)&&r("object",n)),Gre=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof bl||t(n)&&e("linkDescription",n)&&r("object",n)),Yre=Object.freeze(Object.defineProperty({__proto__:null,isJSONReferenceElement:Jw,isJSONSchemaElement:Kre,isLinkDescriptionElement:Gre,isMediaElement:QL},Symbol.toStringTag,{value:"Module"})),Xre=()=>{const t=ri(zre);return{predicates:{...Yre,isStringElement:ct},namespace:t}},Zre=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=kr}={})=>{const s=pe.refract(t),i=ki(n),a=Or(e,i),o=new a({specObj:i});return vr(s,o),Is(o.element,r,{toolboxCreator:Xre,visitorOptions:{keyMap:Wre,nodeTypeGetter:pl}})},f$=t=>(e,r={})=>Zre(e,{specPath:t,...r});vl.refract=f$(["visitors","document","objects","JSONSchema","$visitor"]);bl.refract=f$(["visitors","document","objects","LinkDescription","$visitor"]);let El=class extends vl{constructor(e,r,n){super(e,r,n),this.element="JSONSchemaDraft7"}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get items(){return this.get("items")}set items(e){this.set("items",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get not(){return this.get("not")}set not(e){this.set("not",e)}get contentEncoding(){return this.get("contentEncoding")}set contentEncoding(e){this.set("contentEncoding",e)}get contentMediaType(){return this.get("contentMediaType")}set contentMediaType(e){this.set("contentMediaType",e)}
76get media(){throw new wt('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}set media(e){throw new wt('media keyword from Hyper-Schema vocabulary has been moved to validation vocabulary as "contentMediaType" / "contentEncoding"')}get writeOnly(){return this.get("writeOnly")}set writeOnly(e){this.set("writeOnly",e)}},Sl=class extends bl{get anchor(){return this.get("anchor")}set anchor(e){this.set("anchor",e)}get anchorPointer(){return this.get("anchorPointer")}set anchorPointer(e){this.set("anchorPointer",e)}get templatePointers(){return this.get("templatePointers")}set templatePointers(e){this.set("templatePointers",e)}get templateRequired(){return this.get("templateRequired")}set templateRequired(e){this.set("templateRequired",e)}get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get mediaType(){throw new wt("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}set mediaType(e){throw new wt("mediaType keyword from Hyper-Schema vocabulary has been renamed to targetMediaType.")}get targetMediaType(){return this.get("targetMediaType")}set targetMediaType(e){this.set("targetMediaType",e)}get targetHints(){return this.get("targetHints")}set targetHints(e){this.set("targetHints",e)}get description(){return this.get("description")}set description(e){this.set("description",e)}get $comment(){return this.get("$comment")}set $comment(e){this.set("$comment",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}get submissionEncType(){throw new wt("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}set submissionEncType(e){throw new wt("submissionEncType keyword from Hyper-Schema vocabulary has been renamed to submissionMediaType.")}get submissionMediaType(){return this.get("submissionMediaType")}set submissionMediaType(e){this.set("submissionMediaType",e)}};const Qre={namespace:t=>{const{base:e}=t;return e.register("jSONSchemaDraft7",El),e.register("jSONReference",mo),e.register("linkDescription",Sl),e}},ene={JSONSchemaDraft7Element:["content"],JSONReferenceElement:["content"],LinkDescriptionElement:["content"],...Rs};let p$=class extends l${constructor(e){super(e),this.element=new El}get defaultDialectIdentifier(){return"http://json-schema.org/draft-07/schema#"}},d$=class extends c${constructor(e){super(e),this.element=new Sl}};const gi=qr(Le(["visitors","document","objects","JSONSchema","$visitor"],p$),Le(["visitors","document","objects","JSONSchema","fixedFields","$comment"],kr.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","if"],kr.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","then"],kr.visitors.JSONSchemaOrJSONReferenceVisitor),Le(["visitors","document","objects","JSONSchema","fixedFields","else"],kr.visitors.JSONSchemaOrJSONReferenceVisitor),gn(["visitors","document","objects","JSONSchema","fixedFields","media"]),Le(["visitors","document","objects","JSONSchema","fixedFields","contentEncoding"],kr.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","contentMediaType"],kr.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","writeOnly"],kr.visitors.value),Le(["visitors","document","objects","LinkDescription","$visitor"],d$),Le(["visitors","document","objects","LinkDescription","fixedFields","anchor"],kr.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","anchorPointer"],kr.visitors.value),gn(["visitors","document","objects","LinkDescription","fixedFields","mediaType"]),Le(["visitors","document","objects","LinkDescription","fixedFields","targetMediaType"],kr.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","targetHints"],kr.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","description"],kr.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","$comment"],kr.visitors.value),Le(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],kr.visitors.JSONSchemaOrJSONReferenceVisitor),gn(["visitors","document","objects","LinkDescription","fixedFields","submissionEncType"]),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionMediaType"],kr.visitors.value))(kr),tne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof El||t(n)&&e("JSONSchemaDraft7",n)&&r("object",n)),rne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Sl||t(n)&&e("linkDescription",n)&&r("object",n)),nne=Object.freeze(Object.defineProperty({__proto__:null,isJSONReferenceElement:Jw,isJSONSchemaElement:tne,isLinkDescriptionElement:rne},Symbol.toStringTag,{value:"Module"})),sne=()=>{const t=ri(Qre);return{predicates:{...nne,isStringElement:ct},namespace:t}},ine=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=gi}={})=>{const s=pe.refract(t),i=ki(n),a=Or(e,i),o=new a({specObj:i});return vr(s,o),Is(o.element,r,{toolboxCreator:sne,visitorOptions:{keyMap:ene,nodeTypeGetter:pl}})},h$=t=>(e,r={})=>ine(e,{specPath:t,...r});El.refract=h$(["visitors","document","objects","JSONSchema","$visitor"]);Sl.refract=h$(["visitors","document","objects","LinkDescription","$visitor"]);
76let _l=class extends El{constructor(e,r,n){super(e,r,n),this.element="JSONSchema201909"}get $vocabulary(){return this.get("$vocabulary")}set $vocabulary(e){this.set("$vocabulary",e)}get $anchor(){return this.get("$anchor")}set $anchor(e){this.set("$anchor",e)}get $recursiveAnchor(){return this.get("$recursiveAnchor")}set $recursiveAnchor(e){this.set("$recursiveAnchor",e)}get $recursiveRef(){return this.get("$recursiveRef")}set $recursiveRef(e){this.set("$recursiveRef",e)}get $ref(){return this.get("$ref")}set $ref(e){this.set("$ref",e)}get $defs(){return this.get("$defs")}set $defs(e){this.set("$defs",e)}get definitions(){throw new wt("definitions keyword from Validation vocabulary has been renamed to $defs.")}set definitions(e){throw new wt("definitions keyword from Validation vocabulary has been renamed to $defs.")}get not(){return this.get("not")}set not(e){this.set("not",e)}get if(){return this.get("if")}set if(e){this.set("if",e)}get then(){return this.get("then")}set then(e){this.set("then",e)}get else(){return this.get("else")}set else(e){this.set("else",e)}get dependentSchemas(){return this.get("dependentSchemas")}set dependentSchemas(e){this.set("dependentSchemas",e)}get dependencies(){throw new wt("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}set dependencies(e){throw new wt("dependencies keyword from Validation vocabulary has been renamed to dependentSchemas.")}get items(){return this.get("items")}set items(e){this.set("items",e)}get containsProp(){return this.get("contains")}set containsProp(e){this.set("contains",e)}get additionalProperties(){return this.get("additionalProperties")}set additionalProperties(e){this.set("additionalProperties",e)}get additionalItems(){return this.get("additionalItems")}set additionalItems(e){this.set("additionalItems",e)}get propertyNames(){return this.get("propertyNames")}set propertyNames(e){this.set("propertyNames",e)}get unevaluatedItems(){return this.get("unevaluatedItems")}set unevaluatedItems(e){this.set("unevaluatedItems",e)}get unevaluatedProperties(){return this.get("unevaluatedProperties")}set unevaluatedProperties(e){this.set("unevaluatedProperties",e)}get maxContains(){return this.get("maxContains")}set maxContains(e){this.set("maxContains",e)}get minContains(){return this.get("minContains")}set minContains(e){this.set("minContains",e)}get dependentRequired(){return this.get("dependentRequired")}set dependentRequired(e){this.set("dependentRequired",e)}get deprecated(){return this.get("deprecated")}set deprecated(e){this.set("deprecated",e)}get contentSchema(){return this.get("contentSchema")}set contentSchema(e){this.set("contentSchema",e)}},wl=class extends Sl{get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}};const ane={namespace:t=>{const{base:e}=t;return e.register("jSONSchema201909",_l),e.register("linkDescription",wl),e}},one={JSONSchema201909Element:["content"],LinkDescriptionElement:["content"],...Rs};let Pr=class extends p${constructor(e){super(e),this.element=new _l}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2019-09/schema"}ObjectElement(e){this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element;const r=ea.prototype.ObjectElement.call(this,e);return ct(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}};class une extends jt{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-$vocabulary"),r}}class lne extends jt{StringElement(e){const r=super.enter(e);return this.element.classes.push("reference-value"),r}}let m$=class extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-$defs"),this.specPath=ot(["document","objects","JSONSchema"])}}
76,g$=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-allOf")}ArrayElement(e){return e.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),Rt}},y$=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-anyOf")}ArrayElement(e){return e.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),Rt}},v$=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-oneOf")}ArrayElement(e){return e.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),Rt}},b$=class extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-dependentSchemas"),this.specPath=ot(["document","objects","JSONSchema"])}};class cne extends qe(_n,br,jt){ObjectElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Rt}ArrayElement(e){return this.element=new pe.ArrayElement,this.element.classes.push("json-schema-items"),e.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),Rt}BooleanElement(e){return this.element=this.toRefractedElement(["document","objects","JSONSchema"],e),Rt}}let E$=class extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-properties"),this.specPath=ot(["document","objects","JSONSchema"])}},S$=class extends qe(Pi,br,jt){constructor(e){super(e),this.element=new pe.ObjectElement,this.element.classes.push("json-schema-patternProperties"),this.specPath=ot(["document","objects","JSONSchema"])}};class fne extends jt{ObjectElement(e){const r=super.enter(e);return this.element.classes.push("json-schema-dependentRequired"),r}}let _$=class extends d${constructor(e){super(e),this.element=new wl}};const Ac=qr(Le(["visitors","document","objects","JSONSchema","$visitor"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","$vocabulary"],une),Le(["visitors","document","objects","JSONSchema","fixedFields","$anchor"],gi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"],gi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"],gi.visitors.value),gn(["visitors","document","objects","JSONReference","$visitor"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$ref"],lne),gn(["visitors","document","objects","JSONSchema","fixedFields","definitions"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$defs"],m$),Le(["visitors","document","objects","JSONSchema","fixedFields","allOf"],g$),Le(["visitors","document","objects","JSONSchema","fixedFields","anyOf"],y$),Le(["visitors","document","objects","JSONSchema","fixedFields","oneOf"],v$),Le(["visitors","document","objects","JSONSchema","fixedFields","not"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","if"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","then"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","else"],Pr),gn(["visitors","document","objects","JSONSchema","fixedFields","dependencies"]),Le(["visitors","document","objects","JSONSchema","fixedFields","dependentSchemas"],b$),Le(["visitors","document","objects","JSONSchema","fixedFields","items"],cne),Le(["visitors","document","objects","JSONSchema","fixedFields","contains"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","properties"],E$),Le(["visitors","document","objects","JSONSchema","fixedFields","patternProperties"],S$),Le(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],Pr),Le(["visitors","document","objects","JSONSchema","fixedFields","maxContains"],gi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","minContains"],gi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","dependentRequired"],fne),Le(["visitors","document","objects","JSONSchema","fixedFields","deprecated"],gi.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],Pr),Le(["visitors","document","objects","LinkDescription","$visitor"],_$),Le(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],Pr),Le(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],Pr),Le(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],Pr),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],Pr))(gi),pne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof _l||t(n)&&e("JSONSchema201909",n)&&r("object",n)),dne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof wl||t(n)&&e("linkDescription",n)&&r("object",n)),hne=Object.freeze(Object.defineProperty({__proto__:null,isJSONSchemaElement:pne,isLinkDescriptionElement:dne},Symbol.toStringTag,{value:"Module"})),mne=()=>{const t=ri(ane);return{predicates:{...hne,isStringElement:ct},namespace:t}},gne=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=Ac}={})=>{const s=pe.refract(t),i=ki(n),a=Or(e,i),o=new a({specObj:i});return vr(s,o),Is(o.element,r,{toolboxCreator:mne,visitorOptions:{keyMap:one,nodeTypeGetter:pl}})},w$=t=>(e,r={})=>gne(e,{specPath:t,...r});_l.refract=w$(["visitors","document","objects","JSONSchema","$visitor"]);wl.refract=w$(["visitors","document","objects","LinkDescription","$visitor"]);class xl extends _l{constructor(e,r,n){super(e,r,n),this.element="JSONSchema202012"}get $dynamicAnchor(){return this.get("$dynamicAnchor")}set $dynamicAnchor(e){this.set("$dynamicAnchor",e)}
76get $recursiveAnchor(){throw new wt("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}set $recursiveAnchor(e){throw new wt("$recursiveAnchor keyword from Core vocabulary has been renamed to $dynamicAnchor.")}get $dynamicRef(){return this.get("$dynamicRef")}set $dynamicRef(e){this.set("$dynamicRef",e)}get $recursiveRef(){throw new wt("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}set $recursiveRef(e){throw new wt("$recursiveRef keyword from Core vocabulary has been renamed to $dynamicRef.")}get prefixItems(){return this.get("prefixItems")}set prefixItems(e){this.set("prefixItems",e)}}class bp extends wl{get targetSchema(){return this.get("targetSchema")}set targetSchema(e){this.set("targetSchema",e)}get hrefSchema(){return this.get("hrefSchema")}set hrefSchema(e){this.set("hrefSchema",e)}get headerSchema(){return this.get("headerSchema")}set headerSchema(e){this.set("headerSchema",e)}get submissionSchema(){return this.get("submissionSchema")}set submissionSchema(e){this.set("submissionSchema",e)}}const yne={namespace:t=>{const{base:e}=t;return e.register("jSONSchema202012",xl),e.register("linkDescription",bp),e}},vne={JSONSchema202012Element:["content"],LinkDescriptionElement:["content"],...Rs};let _r=class extends Pr{constructor(e){super(e),this.element=new xl}get defaultDialectIdentifier(){return"https://json-schema.org/draft/2020-12/schema"}},x$=class extends qe(_n,br,jt){constructor(e){super(e),this.element=new pe.ArrayElement,this.element.classes.push("json-schema-prefixItems")}ArrayElement(e){return e.forEach(r=>{const n=this.toRefractedElement(["document","objects","JSONSchema"],r);this.element.push(n)}),this.copyMetaAndAttributes(e,this.element),Rt}},bne=class extends _${constructor(e){super(e),this.element=new bp}};const A$=qr(Le(["visitors","document","objects","JSONSchema","$visitor"],_r),gn(["visitors","document","objects","JSONSchema","fixedFields","$recursiveAnchor"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$dynamicAnchor"],Ac.visitors.value),gn(["visitors","document","objects","JSONSchema","fixedFields","$recursiveRef"]),Le(["visitors","document","objects","JSONSchema","fixedFields","$dynamicRef"],Ac.visitors.value),Le(["visitors","document","objects","JSONSchema","fixedFields","not"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","if"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","then"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","else"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","prefixItems"],x$),Le(["visitors","document","objects","JSONSchema","fixedFields","items"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","contains"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","additionalProperties"],_r),gn(["visitors","document","objects","JSONSchema","fixedFields","additionalItems"]),Le(["visitors","document","objects","JSONSchema","fixedFields","propertyNames"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedItems"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","unevaluatedProperties"],_r),Le(["visitors","document","objects","JSONSchema","fixedFields","contentSchema"],_r),Le(["visitors","document","objects","LinkDescription","$visitor"],bne),Le(["visitors","document","objects","LinkDescription","fixedFields","targetSchema"],_r),Le(["visitors","document","objects","LinkDescription","fixedFields","hrefSchema"],_r),Le(["visitors","document","objects","LinkDescription","fixedFields","headerSchema"],_r),Le(["visitors","document","objects","LinkDescription","fixedFields","submissionSchema"],_r))(Ac),Ene=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof xl||t(n)&&e("JSONSchema202012",n)&&r("object",n)),Sne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof bp||t(n)&&e("linkDescription",n)&&r("object",n)),_ne=Object.freeze(Object.defineProperty({__proto__:null,isJSONSchemaElement:Ene,isLinkDescriptionElement:Sne},Symbol.toStringTag,{value:"Module"})),wne=()=>{const t=ri(yne);return{predicates:{..._ne,isStringElement:ct},namespace:t}},xne=(t,{specPath:e=["visitors","document","objects","JSONSchema","$visitor"],plugins:r=[],specificationObj:n=A$}={})=>{const s=pe.refract(t),i=ki(n),a=Or(e,i),o=new a({specObj:i});return vr(s,o),Is(o.element,r,{toolboxCreator:wne,visitorOptions:{keyMap:vne,nodeTypeGetter:pl}})},O$=t=>(e,r={})=>xne(e,{specPath:t,...r});xl.refract=O$(["visitors","document","objects","JSONSchema","$visitor"]);bp.refract=O$(["visitors","document","objects","LinkDescription","$visitor"]);class Ai extends xl{constructor(e,r,n){super(e,r,n),this.element="schema"}get discriminator(){return this.get("discriminator")}set discriminator(e){this.set("discriminator",e)}get xml(){return this.get("xml")}set xml(e){this.set("xml",e)}get externalDocs(){return this.get("externalDocs")}set externalDocs(e){this.set("externalDocs",e)}get example(){return this.get("example")}set example(e){this.set("example",e)}}class Ep extends dl{}class Sp extends hl{}class _p extends ml{}class wp extends gl{}class Tx extends Gf{}class kx extends Yf{}const Px={namespace:t=>{const{base:e}=t;return e.register("callback",sp),e.register("components",ip),e.register("contact",ap),e.register("discriminator",Ax),e.register("encoding",Ox),e.register("example",op),e.register("externalDocumentation",up),e.register("header",lp),e.register("info",cp),e.register("jsonSchemaDialect",fa),e.register("license",fp),e.register("link",pp),e.register("mediaType",dp),e.register("oAuthFlow",Cx),e.register("oAuthFlows",Rx),e.register("openapi",Ix),e.register("openApi3_1",ji),e.register("operation",yl),e.register("parameter",hp),e.register("pathItem",xi),e.register("paths",mp),e.register("reference",Ni),e.register("requestBody",gp),e.register("response",yp),e.register("responses",vp),e.register("schema",Ai),e.register("securityRequirement",Ep),e.register("securityScheme",Sp),e.register("server",_p),e.register("serverVariable",wp),e.register("tag",Tx),e.register("xml",kx),e}};
76class jx extends pe.ObjectElement{static primaryClass="components-path-items";constructor(e,r,n){super(e,r,n),this.classes.push(jx.primaryClass)}}class Nx extends pe.ObjectElement{static primaryClass="webhooks";constructor(e,r,n){super(e,r,n),this.classes.push(Nx.primaryClass)}}const Dn=t=>{if(ur(t))return`${t.element.charAt(0).toUpperCase()+t.element.slice(1)}Element`},Qn={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"],...Rs};class Al{internalStore;constructor(e,r,n){this.storageElement=e,this.storageField=r,this.storageSubField=n}get store(){if(!this.internalStore){let e=this.storageElement.get(this.storageField);Pt(e)||(e=new pe.ObjectElement,this.storageElement.set(this.storageField,e));let r=e.get(this.storageSubField);Fr(r)||(r=new pe.ArrayElement,e.set(this.storageSubField,r)),this.internalStore=r}return this.internalStore}append(e){this.includes(e)||this.store.push(e)}includes(e){return this.store.includes(e)}}const Ane=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e,s=(o,u)=>!r.isParameterElement(o)||!r.isParameterElement(u)||!r.isStringElement(o.name)||!r.isStringElement(o.in)||!r.isStringElement(u.name)||!r.isStringElement(u.in)?!1:Re(o.name)===Re(u.name)&&Re(o.in)===Re(u.in),i=[];let a;return{visitor:{OpenApi3_1Element:{enter(o){a=new Al(o,t,"parameters")},leave(){a=void 0}},PathItemElement:{enter(o,u,l,c,p){if(p.some(r.isComponentsElement))return;const{parameters:m}=o;r.isArrayElement(m)?i.push([...m.content]):i.push([])},leave(){i.pop()}},OperationElement:{leave(o,u,l,c,p){const m=Tf(i);if(!Array.isArray(m)||m.length===0)return;const d=n([...p,l,o]);if(a.includes(d))return;const g=OB([],["parameters","content"],o),y=kB(s,[...g,...m]);o.parameters=new Qf(y),a.append(d)}}}}},One=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let s,i;return{visitor:{OpenApi3_1Element:{enter(a){i=new Al(a,t,"security-requirements"),r.isArrayElement(a.security)&&(s=a.security)},leave(){i=void 0,s=void 0}},OperationElement:{leave(a,o,u,l,c){if(c.some(r.isComponentsElement))return;const p=n([...c,u,a]);if(i.includes(p))return;if(typeof a.security>"u"&&typeof s<"u"){var g;a.security=new ep((g=s)===null||g===void 0?void 0:g.content),i.append(p)}}}}}},c1=t=>t.replace(/\s/g,""),f1=t=>t.replace(/\W/gi,"_"),Cne=(t,e)=>{const r=f1(c1(e.toLowerCase())),n=f1(c1(t));return`${r}${n}`},Rne=(t,e,r)=>{const n=c1(t);return n.length>0?f1(n):Cne(e,r)},Ine=({storageField:t="x-normalized",operationIdNormalizer:e=Rne}={})=>r=>{const{predicates:n,ancestorLineageToJSONPointer:s,namespace:i}=r,a=[],o=[],u=[];let l;
76return{visitor:{OpenApi3_1Element:{enter(c){l=new Al(c,t,"operation-ids")},leave(){const c=yY(p=>Re(p.operationId),o);Object.entries(c).forEach(([p,m])=>{Array.isArray(m)&&(m.length<=1||m.forEach((d,g)=>{const y=`${p}${g+1}`;d.operationId=new i.elements.String(y)}))}),u.forEach(p=>{if(typeof p.operationId>"u")return;const m=String(Re(p.operationId)),d=o.find(g=>Re(g.meta.get("originalOperationId"))===m);typeof d>"u"||(p.operationId=Ke.safe(d.operationId),p.meta.set("originalOperationId",m),p.set("__originalOperationId",m))}),o.length=0,u.length=0,l=void 0}},PathItemElement:{enter(c){const p=Wa("path",Re(c.meta.get("path")));a.push(p)},leave(){a.pop()}},OperationElement:{enter(c,p,m,d,g){if(typeof c.operationId>"u")return;const y=s([...g,m,c]);if(l.includes(y))return;const v=String(Re(c.operationId)),E=Tf(a),b=Wa("method",Re(c.meta.get("http-method"))),_=e(v,E,b);v!==_&&(c.operationId=new i.elements.String(_),c.set("__originalOperationId",v),c.meta.set("originalOperationId",v),o.push(c),l.append(y))}},LinkElement:{leave(c){n.isLinkElement(c)&&(typeof c.operationId>"u"||u.push(c))}}}}},Tne=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let s;return{visitor:{OpenApi3_1Element:{enter(i){s=new Al(i,t,"parameter-examples")},leave(){s=void 0}},ParameterElement:{leave(i,a,o,u,l){var c,p;if(l.some(r.isComponentsElement)||typeof i.schema>"u"||!r.isSchemaElement(i.schema)||typeof((c=i.schema)===null||c===void 0?void 0:c.example)>"u"&&typeof((p=i.schema)===null||p===void 0?void 0:p.examples)>"u")return;const m=n([...l,o,i]);if(!s.includes(m)){if(typeof i.examples<"u"&&r.isObjectElement(i.examples)){const d=i.examples.map(g=>Ke.safe(g.value));typeof i.schema.examples<"u"&&(i.schema.set("examples",d),s.append(m)),typeof i.schema.example<"u"&&(i.schema.set("example",d[0]),s.append(m));return}typeof i.example<"u"&&(typeof i.schema.examples<"u"&&(i.schema.set("examples",[Ke(i.example)]),s.append(m)),typeof i.schema.example<"u"&&(i.schema.set("example",Ke(i.example)),s.append(m)))}}}}}},kne=({storageField:t="x-normalized"}={})=>e=>{const{predicates:r,ancestorLineageToJSONPointer:n}=e;let s;return{visitor:{OpenApi3_1Element:{enter(i){s=new Al(i,t,"header-examples")},leave(){s=void 0}},HeaderElement:{leave(i,a,o,u,l){var c,p;if(l.some(r.isComponentsElement)||typeof i.schema>"u"||!r.isSchemaElement(i.schema)||typeof((c=i.schema)===null||c===void 0?void 0:c.example)>"u"&&typeof((p=i.schema)===null||p===void 0?void 0:p.examples)>"u")return;const m=n([...l,o,i]);if(!s.includes(m)){if(typeof i.examples<"u"&&r.isObjectElement(i.examples)){const d=i.examples.map(g=>Ke.safe(g.value));typeof i.schema.examples<"u"&&(i.schema.set("examples",d),s.append(m)),typeof i.schema.example<"u"&&(i.schema.set("example",d[0]),s.append(m));return}typeof i.example<"u"&&(typeof i.schema.examples<"u"&&(i.schema.set("examples",[Ke(i.example)]),s.append(m)),typeof i.schema.example<"u"&&(i.schema.set("example",Ke(i.example)),s.append(m)))}}}}}},Pne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof sp||t(n)&&e("callback",n)&&r("object",n)),jne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ip||t(n)&&e("components",n)&&r("object",n)),Nne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof ap||t(n)&&e("contact",n)&&r("object",n)),Mne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof op||t(n)&&e("example",n)&&r("object",n)),Dne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof up||t(n)&&e("externalDocumentation",n)&&r("object",n)),Fne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof lp||t(n)&&e("header",n)&&r("object",n)),qne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof cp||t(n)&&e("info",n)&&r("object",n)),C$=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fa||t(n)&&e("jsonSchemaDialect",n)&&r("string",n)),Bne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof fp||t(n)&&e("license",n)&&r("object",n)),Lne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>
76n instanceof pp||t(n)&&e("link",n)&&r("object",n)),$ne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ix||t(n)&&e("openapi",n)&&r("string",n)),R$=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r,hasClass:n})=>s=>s instanceof ji||t(s)&&e("openApi3_1",s)&&r("object",s)&&n("api",s)),I$=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof yl||t(n)&&e("operation",n)&&r("object",n)),Une=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof hp||t(n)&&e("parameter",n)&&r("object",n)),ta=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof xi||t(n)&&e("pathItem",n)&&r("object",n)),Vne=t=>{if(!ta(t)||!ct(t.$ref))return!1;const e=Re(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},zne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof mp||t(n)&&e("paths",n)&&r("object",n)),pa=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ni||t(n)&&e("reference",n)&&r("object",n)),Wne=t=>
76{if(!pa(t)||!ct(t.$ref))return!1;const e=Re(t.$ref);return typeof e=="string"&&e.length>0&&!e.startsWith("#")},Jne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof gp||t(n)&&e("requestBody",n)&&r("object",n)),Hne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof yp||t(n)&&e("response",n)&&r("object",n)),Kne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof vp||t(n)&&e("responses",n)&&r("object",n)),es=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ai||t(n)&&e("schema",n)&&r("object",n)),Mx=t=>Uu(t)&&t.classes.includes("boolean-json-schema"),Gne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Ep||t(n)&&e("securityRequirement",n)&&r("object",n)),Yne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof Sp||t(n)&&e("securityScheme",n)&&r("object",n)),Xne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof _p||t(n)&&e("server",n)&&r("object",n)),Zne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof wp||t(n)&&e("serverVariable",n)&&r("object",n)),Qne=Ue(({hasBasicElementProps:t,isElementType:e,primitiveEq:r})=>n=>n instanceof dp||t(n)&&e("mediaType",n)&&r("object",n)),ese=Object.freeze(Object.defineProperty({__proto__:null,isBooleanJsonSchemaElement:Mx,isCallbackElement:Pne,isComponentsElement:jne,isContactElement:Nne,isExampleElement:Mne,isExternalDocumentationElement:Dne,isHeaderElement:Fne,isInfoElement:qne,isJsonSchemaDialectElement:C$,isLicenseElement:Bne,isLinkElement:Lne,isMediaTypeElement:Qne,isOpenApi3_1Element:R$,isOpenapiElement:$ne,isOperationElement:I$,isParameterElement:Une,isPathItemElement:ta,isPathItemElementExternal:Vne,isPathsElement:zne,isReferenceElement:pa,isReferenceElementExternal:Wne,isRequestBodyElement:Jne,isResponseElement:Hne,isResponsesElement:Kne,isSchemaElement:es,isSecurityRequirementElement:Gne,isSecuritySchemeElement:Yne,isServerElement:Xne,isServerVariableElement:Zne},Symbol.toStringTag,{value:"Module"})),tse=t=>{const e=t.reduce((r,n,s)=>{if(os(n)){const i=String(Re(n.key));r.push(i)}else if(Fr(t[s-2])){const i=String(t[s-2].content.indexOf(n));r.push(i)}return r},[]);return JL(e)},T$=()=>{const t=ri(Px);return{predicates:{...ese,isElement:ur,isStringElement:ct,isArrayElement:Fr,isObjectElement:Pt,isMemberElement:os,isServersElement:o$,includesClasses:Ha,hasElementSourceMap:uo},ancestorLineageToJSONPointer:tse,namespace:t}};class rse extends qe(bt,Ve){constructor(e){super(e),this.element=new ji,this.specPath=ot(["document","objects","OpenApi"]),this.canSupportSpecificationExtensions=!0,this.openApiSemanticElement=this.element}ObjectElement(e){return this.openApiGenericElement=e,bt.prototype.ObjectElement.call(this,e)}}const nse=Ee.visitors.document.objects.Info.$visitor;class sse extends nse{constructor(e){super(e),this.element=new cp}}const ise=Ee.visitors.document.objects.Contact.$visitor;class ase extends ise{constructor(e){super(e),this.element=new ap}}const ose=Ee.visitors.document.objects.License.$visitor;class use extends ose{constructor(e){super(e),this.element=new fp}}const lse=Ee.visitors.document.objects.Link.$visitor;class cse extends lse{constructor(e){super(e),this.element=new pp}}class fse extends qe(ls,Ve){StringElement(e){const r=new fa(Re(e));return this.copyMetaAndAttributes(e,r),this.element=r,Rt}}const pse=Ee.visitors.document.objects.Server.$visitor;class dse extends pse{constructor(e){super(e),this.element=new _p}}const hse=Ee.visitors.document.objects.ServerVariable.$visitor;class mse extends hse{constructor(e){super(e),this.element=new wp}}const gse=Ee.visitors.document.objects.MediaType.$visitor;class yse extends gse{constructor(e){super(e),this.element=new dp}}const vse=Ee.visitors.document.objects.SecurityRequirement.$visitor;class bse extends vse{constructor(e){super(e),this.element=new Ep}}const Ese=Ee.visitors.document.objects.Components.$visitor;class Sse extends Ese{constructor(e){super(e),this.element=new ip}}const _se=Ee.visitors.document.objects.Tag.$visitor;class wse extends _se{constructor(e){super(e),this.element=new Tx}}const xse=Ee.visitors.document.objects.Reference.$visitor;class Ase extends xse{constructor(e){super(e),this.element=new Ni}}const Ose=Ee.visitors.document.objects.Parameter.$visitor;class Cse extends Ose{constructor(e){super(e),this.element=new hp}}const Rse=Ee.visitors.document.objects.Header.$visitor;class Ise extends Rse{constructor(e){super(e),this.element=new lp}}class Tse extends qe(bt,br,Ve){constructor(e){super(e),this.element=new Ai,this.specPath=ot(["document","objects","Schema"]),this.canSupportSpecificationExtensions=!0,this.jsonSchemaDefaultDialect=fa.default,this.passingOptionsNames.push("parent")}ObjectElement(e){this.handleDialectIdentifier(e),this.handleSchemaIdentifier(e),this.parent=this.element;const r=bt.prototype.ObjectElement.call(this,e);return ct(this.element.$ref)&&(this.element.classes.push("reference-element"),this.element.setMetaProperty("referenced-element","schema")),r}BooleanElement(e){return _r.prototype.BooleanElement.call(this,e)}get defaultDialectIdentifier(){let e;return this.openApiSemanticElement!==void 0&&C$(this.openApiSemanticElement.jsonSchemaDialect)?e=Re(this.openApiSemanticElement.jsonSchemaDialect):this.openApiGenericElement!==void 0&&ct(this.openApiGenericElement.get("jsonSchemaDialect"))?e=Re(this.openApiGenericElement.get("jsonSchemaDialect")):e=Re(this.jsonSchemaDefaultDialect),e}handleDialectIdentifier(e){return _r.prototype.handleDialectIdentifier.call(this,e)}handleSchemaIdentifier(e){return _r.prototype.handleSchemaIdentifier.call(this,e)}}class kse extends m${constructor(e){super(e),this.passingOptionsNames.push("parent")}}let Pse=class extends g${constructor(e){super(e),this.passingOptionsNames.push("parent")}};
76class jse extends y${constructor(e){super(e),this.passingOptionsNames.push("parent")}}class Nse extends v${constructor(e){super(e),this.passingOptionsNames.push("parent")}}class Mse extends b${constructor(e){super(e),this.passingOptionsNames.push("parent")}}class Dse extends x${constructor(e){super(e),this.passingOptionsNames.push("parent")}}class Fse extends E${constructor(e){super(e),this.passingOptionsNames.push("parent")}}class qse extends S${constructor(e){super(e),this.passingOptionsNames.push("parent")}}const Bse=Ee.visitors.document.objects.Discriminator.$visitor;class Lse extends Bse{constructor(e){super(e),this.element=new Ax,this.canSupportSpecificationExtensions=!0}}const $se=Ee.visitors.document.objects.XML.$visitor;class Use extends $se{constructor(e){super(e),this.element=new kx}}class Vse extends qe(mt,Ve){constructor(e){super(e),this.element=new Zf,this.specPath=ot(["document","objects","Schema"])}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(es).forEach((n,s)=>{n.setMetaProperty("schemaName",Re(s))}),r}}class zse extends qe(mt,Ve){constructor(e){super(e),this.element=new jx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(pa).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),r}}const Wse=Ee.visitors.document.objects.Example.$visitor;class Jse extends Wse{constructor(e){super(e),this.element=new op}}
76const Hse=Ee.visitors.document.objects.ExternalDocumentation.$visitor;class Kse extends Hse{constructor(e){super(e),this.element=new up}}const Gse=Ee.visitors.document.objects.Encoding.$visitor;class Yse extends Gse{constructor(e){super(e),this.element=new Ox}}const Xse=Ee.visitors.document.objects.Paths.$visitor;class Zse extends Xse{constructor(e){super(e),this.element=new mp}}const Qse=Ee.visitors.document.objects.RequestBody.$visitor;class eie extends Qse{constructor(e){super(e),this.element=new gp}}const kM=Ee.visitors.document.objects.Callback.$visitor;class tie extends kM{constructor(e){super(e),this.element=new sp,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=kM.prototype.ObjectElement.call(this,e);return this.element.filter(pa).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),r}}const rie=Ee.visitors.document.objects.Response.$visitor;class nie extends rie{constructor(e){super(e),this.element=new yp}}const sie=Ee.visitors.document.objects.Responses.$visitor;class iie extends sie{constructor(e){super(e),this.element=new vp}}const aie=Ee.visitors.document.objects.Operation.$visitor;class oie extends aie{constructor(e){super(e),this.element=new yl}}const uie=Ee.visitors.document.objects.PathItem.$visitor;class lie extends uie{constructor(e){super(e),this.element=new xi}}const cie=Ee.visitors.document.objects.SecurityScheme.$visitor;class fie extends cie{constructor(e){super(e),this.element=new Sp}}const pie=Ee.visitors.document.objects.OAuthFlows.$visitor;class die extends pie{constructor(e){super(e),this.element=new Rx}}const hie=Ee.visitors.document.objects.OAuthFlow.$visitor;class mie extends hie{constructor(e){super(e),this.element=new Cx}}class gie extends qe(mt,Ve){constructor(e){super(e),this.element=new Nx,this.specPath=r=>Yt(r)?["document","objects","Reference"]:["document","objects","PathItem"]}ObjectElement(e){const r=mt.prototype.ObjectElement.call(this,e);return this.element.filter(pa).forEach(n=>{n.setMetaProperty("referenced-element","pathItem")}),this.element.filter(ta).forEach((n,s)=>{n.setMetaProperty("webhook-name",Re(s))}),r}}const{JSONSchema:yie,LinkDescription:vie}=A$.visitors.document.objects,bie={visitors:{value:Ee.visitors.value,document:{objects:{OpenApi:{$visitor:rse,fixedFields:{openapi:Ee.visitors.document.objects.OpenApi.fixedFields.openapi,info:{$ref:"#/visitors/document/objects/Info"},jsonSchemaDialect:fse,servers:Ee.visitors.document.objects.OpenApi.fixedFields.servers,paths:{$ref:"#/visitors/document/objects/Paths"},webhooks:gie,components:{$ref:"#/visitors/document/objects/Components"},security:Ee.visitors.document.objects.OpenApi.fixedFields.security,tags:Ee.visitors.document.objects.OpenApi.fixedFields.tags,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Info:{$visitor:sse,fixedFields:{title:Ee.visitors.document.objects.Info.fixedFields.title,description:Ee.visitors.document.objects.Info.fixedFields.description,summary:{$ref:"#/visitors/value"},termsOfService:Ee.visitors.document.objects.Info.fixedFields.termsOfService,contact:{$ref:"#/visitors/document/objects/Contact"},license:{$ref:"#/visitors/document/objects/License"},version:Ee.visitors.document.objects.Info.fixedFields.version}},Contact:{$visitor:ase,fixedFields:{name:Ee.visitors.document.objects.Contact.fixedFields.name,url:Ee.visitors.document.objects.Contact.fixedFields.url,email:Ee.visitors.document.objects.Contact.fixedFields.email}},License:{$visitor:use,fixedFields:{name:Ee.visitors.document.objects.License.fixedFields.name,identifier:{$ref:"#/visitors/value"},url:Ee.visitors.document.objects.License.fixedFields.url}},Server:{$visitor:dse,fixedFields:{url:Ee.visitors.document.objects.Server.fixedFields.url,description:Ee.visitors.document.objects.Server.fixedFields.description,variables:Ee.visitors.document.objects.Server.fixedFields.variables}},ServerVariable:{$visitor:mse,fixedFields:{enum:Ee.visitors.document.objects.ServerVariable.fixedFields.enum,default:Ee.visitors.document.objects.ServerVariable.fixedFields.default,description:Ee.visitors.document.objects.ServerVariable.fixedFields.description}},Components:{$visitor:Sse,fixedFields:{schemas:Vse,responses:Ee.visitors.document.objects.Components.fixedFields.responses,parameters:Ee.visitors.document.objects.Components.fixedFields.parameters,examples:Ee.visitors.document.objects.Components.fixedFields.examples,requestBodies:Ee.visitors.document.objects.Components.fixedFields.requestBodies,headers:Ee.visitors.document.objects.Components.fixedFields.headers,securitySchemes:Ee.visitors.document.objects.Components.fixedFields.securitySchemes,links:Ee.visitors.document.objects.Components.fixedFields.links,callbacks:Ee.visitors.document.objects.Components.fixedFields.callbacks,pathItems:zse}},Paths:{$visitor:Zse},PathItem:{$visitor:lie,fixedFields:{$ref:Ee.visitors.document.objects.PathItem.fixedFields.$ref,summary:Ee.visitors.document.objects.PathItem.fixedFields.summary,description:Ee.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:Ee.visitors.document.objects.PathItem.fixedFields.servers,parameters:Ee.visitors.document.objects.PathItem.fixedFields.parameters}},Operation:{$visitor:oie,fixedFields:{tags:Ee.visitors.document.objects.Operation.fixedFields.tags,summary:Ee.visitors.document.objects.Operation.fixedFields.summary,description:Ee.visitors.document.objects.Operation.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"},operationId:Ee.visitors.document.objects.Operation.fixedFields.operationId,parameters:Ee.visitors.document.objects.Operation.fixedFields.parameters,requestBody:Ee.visitors.document.objects.Operation.fixedFields.requestBody,responses:{$ref:"#/visitors/document/objects/Responses"},callbacks:Ee.visitors.document.objects.Operation.fixedFields.callbacks,deprecated:Ee.visitors.document.objects.Operation.fixedFields.deprecated,security:Ee.visitors.document.objects.Operation.fixedFields.security,servers:Ee.visitors.document.objects.Operation.fixedFields.servers}},ExternalDocumentation:{$visitor:Kse,fixedFields:{description:Ee.visitors.document.objects.Exter
vendor: 9,229 bytes, line 76
76nalDocumentation.fixedFields.description,url:Ee.visitors.document.objects.ExternalDocumentation.fixedFields.url}},Parameter:{$visitor:Cse,fixedFields:{name:Ee.visitors.document.objects.Parameter.fixedFields.name,in:Ee.visitors.document.objects.Parameter.fixedFields.in,description:Ee.visitors.document.objects.Parameter.fixedFields.description,required:Ee.visitors.document.objects.Parameter.fixedFields.required,deprecated:Ee.visitors.document.objects.Parameter.fixedFields.deprecated,allowEmptyValue:Ee.visitors.document.objects.Parameter.fixedFields.allowEmptyValue,style:Ee.visitors.document.objects.Parameter.fixedFields.style,explode:Ee.visitors.document.objects.Parameter.fixedFields.explode,allowReserved:Ee.visitors.document.objects.Parameter.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Ee.visitors.document.objects.Parameter.fixedFields.example,examples:Ee.visitors.document.objects.Parameter.fixedFields.examples,content:Ee.visitors.document.objects.Parameter.fixedFields.content}},RequestBody:{$visitor:eie,fixedFields:{description:Ee.visitors.document.objects.RequestBody.fixedFields.description,content:Ee.visitors.document.objects.RequestBody.fixedFields.content,required:Ee.visitors.document.objects.RequestBody.fixedFields.required}},MediaType:{$visitor:yse,fixedFields:{schema:{$ref:"#/visitors/document/objects/Schema"},example:Ee.visitors.document.objects.MediaType.fixedFields.example,examples:Ee.visitors.document.objects.MediaType.fixedFields.examples,encoding:Ee.visitors.document.objects.MediaType.fixedFields.encoding}},Encoding:{$visitor:Yse,fixedFields:{contentType:Ee.visitors.document.objects.Encoding.fixedFields.contentType,headers:Ee.visitors.document.objects.Encoding.fixedFields.headers,style:Ee.visitors.document.objects.Encoding.fixedFields.style,explode:Ee.visitors.document.objects.Encoding.fixedFields.explode,allowReserved:Ee.visitors.document.objects.Encoding.fixedFields.allowReserved}},Responses:{$visitor:iie,fixedFields:{default:Ee.visitors.document.objects.Responses.fixedFields.default}},Response:{$visitor:nie,fixedFields:{description:Ee.visitors.document.objects.Response.fixedFields.description,headers:Ee.visitors.document.objects.Response.fixedFields.headers,content:Ee.visitors.document.objects.Response.fixedFields.content,links:Ee.visitors.document.objects.Response.fixedFields.links}},Callback:{$visitor:tie},Example:{$visitor:Jse,fixedFields:{summary:Ee.visitors.document.objects.Example.fixedFields.summary,description:Ee.visitors.document.objects.Example.fixedFields.description,value:Ee.visitors.document.objects.Example.fixedFields.value,externalValue:Ee.visitors.document.objects.Example.fixedFields.externalValue}},Link:{$visitor:cse,fixedFields:{operationRef:Ee.visitors.document.objects.Link.fixedFields.operationRef,operationId:Ee.visitors.document.objects.Link.fixedFields.operationId,parameters:Ee.visitors.document.objects.Link.fixedFields.parameters,requestBody:Ee.visitors.document.objects.Link.fixedFields.requestBody,description:Ee.visitors.document.objects.Link.fixedFields.description,server:{$ref:"#/visitors/document/objects/Server"}}},Header:{$visitor:Ise,fixedFields:{description:Ee.visitors.document.objects.Header.fixedFields.description,required:Ee.visitors.document.objects.Header.fixedFields.required,deprecated:Ee.visitors.document.objects.Header.fixedFields.deprecated,allowEmptyValue:Ee.visitors.document.objects.Header.fixedFields.allowEmptyValue,style:Ee.visitors.document.objects.Header.fixedFields.style,explode:Ee.visitors.document.objects.Header.fixedFields.explode,allowReserved:Ee.visitors.document.objects.Header.fixedFields.allowReserved,schema:{$ref:"#/visitors/document/objects/Schema"},example:Ee.visitors.document.objects.Header.fixedFields.example,examples:Ee.visitors.document.objects.Header.fixedFields.examples,content:Ee.visitors.document.objects.Header.fixedFields.content}},Tag:{$visitor:wse,fixedFields:{name:Ee.visitors.document.objects.Tag.fixedFields.name,description:Ee.visitors.document.objects.Tag.fixedFields.description,externalDocs:{$ref:"#/visitors/document/objects/ExternalDocumentation"}}},Reference:{$visitor:Ase,fixedFields:{$ref:Ee.visitors.document.objects.Reference.fixedFields.$ref,summary:{$ref:"#/visitors/value"},description:{$ref:"#/visitors/value"}}},JSONSchema:{$ref:"#/visitors/document/objects/Schema"},LinkDescription:{...vie},Schema:{$visitor:Tse,fixedFields:{...yie.fixedFields,$defs:kse,allOf:Pse,anyOf:jse,oneOf:Nse,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:Mse,prefixItems:Dse,items:{$ref:"#/visitors/document/objects/Schema"},contains:{$ref:"#/visitors/document/objects/Schema"},properties:Fse,patternProperties:qse,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:Lse,fixedFields:{propertyName:Ee.visitors.document.objects.Discriminator.fixedFields.propertyName,mapping:Ee.visitors.document.objects.Discriminator.fixedFields.mapping}},XML:{$visitor:Use,fixedFields:{name:Ee.visitors.document.objects.XML.fixedFields.name,namespace:Ee.visitors.document.objects.XML.fixedFields.namespace,prefix:Ee.visitors.document.objects.XML.fixedFields.prefix,attribute:Ee.visitors.document.objects.XML.fixedFields.attribute,wrapped:Ee.visitors.document.objects.XML.fixedFields.wrapped}},SecurityScheme:{$visitor:fie,fixedFields:{type:Ee.visitors.document.objects.SecurityScheme.fixedFields.type,description:Ee.visitors.document.objects.SecurityScheme.fixedFields.description,name:Ee.visitors.document.objects.SecurityScheme.fixedFields.name,in:Ee.visitors.document.objects.SecurityScheme.fixedFields.in,scheme:Ee.visitors.document.objects.SecurityScheme.fixedFields.scheme,bearerFormat:Ee.visitors.document.objects.SecurityScheme.fixedFields.bearerFormat,flows:{$ref:"#/visitors/document/objects/OAuthFlows"},openIdConnectUrl:Ee.visitors.document.objects.SecurityScheme.fixedFields.openIdConnectUrl}},OAuthFlows:{$visitor:die,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:mie,fixedFields:{authorizationUrl:Ee.visitors.document.objects.OAuthFlow.fixedFields.authorizationUrl,tokenUrl:Ee.visitors.document.objects.OAuthFlow.fixedFields.tokenUrl,refreshUrl:Ee.visitors.document.objects.OAuthFlow.fixedFields.refreshUrl,scopes:Ee.visitors.document.objects.OAuthFlow.fixedFields.scopes}},SecurityRequirement:{$visitor:bse}},extension:{$visitor:Ee.visitors.document.extension.$visitor}}}},Eie=(t,{specPath:e=["visitors","document","objects","OpenApi","$visitor"],plugins:r=[]}={})=>{const n=pe.refract(t),s=ki(bie),i=Or(e,s),a=new i({specObj:s});return vr(n,a),Is(a.element,r,{toolboxCreator:T$,visitorOptions:{keyMap:Qn,nodeTypeGetter:Dn}})},Mt=t=>(e,r={})=>Eie(e,{specPath:t,...r});sp.refract=Mt(["visitors","document","objects","Callback","$visitor"]);ip.refract=Mt(["visitors","document","objects","Components","$visitor"]);ap.refract=Mt(["visitors","document","objects","Contact","$visitor"]);op.refract=Mt(["visitors","document","objects","Example","$visitor"]);Ax.refract=Mt(["visitors","document","objects","Discriminator","$visitor"]);Ox.refract=Mt(["visitors","document","objects","Encoding","$visitor"]);up.refract=Mt(["visitors","document","objects","ExternalDocumentation","$visitor"]);lp.refract=Mt(["visitors","document","objects","Header","$visitor"]);cp.refract=Mt(["visitors","document","objects","Info","$visitor"]);fa.refract=Mt(["visitors","document","objects","OpenApi","fixedFields","jsonSchemaDialect"]);fp.refract=Mt(["visitors","document","objects","License","$visitor"]);pp.refract=Mt(["visitors","document","objects","Link","$visitor"]);dp.refract=Mt(["visitors","document","objects","MediaType","$visitor"]);Cx.refract=Mt(["visitors","document","objects","OAuthFlow","$visitor"]);Rx.refract=Mt(["visitors","document","objects","OAuthFlows","$visitor"]);Ix.refract=Mt(["visitors","document","objects","OpenApi","fixedFields","openapi"]);ji.refract=Mt(["visitors","document","objects","OpenApi","$visitor"]);yl.refract=Mt(["visitors","document","objects","Operation","$visitor"]);hp.refract=Mt(["visitors","document","objects","Parameter","$visitor"]);xi.refract=Mt(["visitors","document","objects","PathItem","$visitor"]);mp.refract=Mt(["visitors","document","objects","Paths","$visitor"]);Ni.refract=Mt(["visitors","document","objects","Reference","$visitor"]);gp.refract=Mt(["visitors","document","objects","RequestBody","$visitor"]);
76yp.refract=Mt(["visitors","document","objects","Response","$visitor"]);vp.refract=Mt(["visitors","document","objects","Responses","$visitor"]);Ai.refract=Mt(["visitors","document","objects","Schema","$visitor"]);Ep.refract=Mt(["visitors","document","objects","SecurityRequirement","$visitor"]);Sp.refract=Mt(["visitors","document","objects","SecurityScheme","$visitor"]);_p.refract=Mt(["visitors","document","objects","Server","$visitor"]);wp.refract=Mt(["visitors","document","objects","ServerVariable","$visitor"]);Tx.refract=Mt(["visitors","document","objects","Tag","$visitor"]);kx.refract=Mt(["visitors","document","objects","XML","$visitor"]);class Sie extends zu{constructor(e){super({...e??{},name:"binary"})}canParse(e){return this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension)}parse(e){try{const r=unescape(encodeURIComponent(e.toString())),n=btoa(r),s=new ns;if(n.length!==0){const i=new pe.StringElement(n);i.classes.push("result"),s.push(i)}return s}catch(r){throw new Hs(`Error parsing "${e.uri}"`,{cause:r})}}}class _ie extends SZ{constructor(e){super({...e??{},name:"openapi-3-1"})}canResolve(e,r){const n=r.dereference.strategies.find(s=>s.name==="openapi-3-1");return n===void 0?!1:n.canDereference(e,r)}async resolve(e,r){const n=r.dereference.strategies.find(a=>a.name==="openapi-3-1");if(n===void 0)throw new mL('"openapi-3-1" dereference strategy is not available.');const s=new Ja,i=VB(r,{resolve:{internal:!1},dereference:{refSet:s}});return await n.dereference(e,i),s}}const{AbortController:wie,AbortSignal:xie}=globalThis;typeof globalThis.AbortController>"u"&&(globalThis.AbortController=wie);typeof globalThis.AbortSignal>"u"&&(globalThis.AbortSignal=xie);class Aie extends EZ{swaggerHTTPClient=ou;swaggerHTTPClientConfig;constructor({swaggerHTTPClient:e=ou,swaggerHTTPClientConfig:r={},...n}={}){super({...n,name:"http-swagger-client"}),this.swaggerHTTPClient=e,this.swaggerHTTPClientConfig=r}getHttpClient(){return this.swaggerHTTPClient}async read(e){const r=this.getHttpClient(),n=new AbortController,{signal:s}=n,i=setTimeout(()=>{n.abort()},this.timeout),a=this.getHttpClient().withCredentials||this.withCredentials?"include":"same-origin",o=this.redirects===0?"error":"follow",u=this.redirects>0?this.redirects:void 0;try{return(await r({url:e.uri,signal:s,userFetch:async(c,p)=>{let m=await fetch(c,p);try{m.headers.delete("Content-Type")}catch{m=new Response(m.body,{...m,headers:new Headers(m.headers)}),m.headers.delete("Content-Type")}return m},credentials:a,redirect:o,follow:u,...this.swaggerHTTPClientConfig})).text.arrayBuffer()}catch(l){throw new zB(`Error downloading "${e.uri}"`,{cause:l})}finally{clearTimeout(i)}}}class Oie extends zu{constructor(e={}){super({name:"json-swagger-client",mediaTypes:["application/json"],...e})}async canParse(e){const r=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),n=this.mediaTypes.includes(e.mediaType);if(!r)return!1;if(n)return!0;if(!n)try{return JSON.parse(e.toString()),!0}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new Hs("json-swagger-client parser plugin doesn't support sourceMaps option");const r=new ns,n=e.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const s=fL(JSON.parse(n));return s.classes.push("result"),r.push(s),r}catch(s){throw new Hs(`Error parsing "${e.uri}"`,{cause:s})}}}class Cie extends zu{constructor(e={}){super({name:"yaml-1-2-swagger-client",mediaTypes:["text/yaml","application/yaml"],...e})}async canParse(e){const r=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),n=this.mediaTypes.includes(e.mediaType);if(!r)return!1;if(n)return!0;if(!n)try{return Zi.load(e.toString(),{schema:ru}),!0}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new Hs("yaml-1-2-swagger-client parser plugin doesn't support sourceMaps option");const r=new ns,n=e.toString();try{const s=Zi.load(n,{schema:ru});if(this.allowEmpty&&typeof s>"u")return r;const i=fL(s);return i.classes.push("result"),r.push(i),r}catch(s){throw new Hs(`Error parsing "${e.uri}"`,{cause:s})}}}class Rie extends zu{detectionRegExp=/"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))"/;constructor(e={}){super({name:"openapi-json-3-1-swagger-client",mediaTypes:new Ww(...Ga.filterByFormat("generic"),...Ga.filterByFormat("json")),...e})}async canParse(e){const r=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),n=this.mediaTypes.includes(e.mediaType);if(!r)return!1;if(n)return!0;
76if(!n)try{const s=e.toString();return JSON.parse(s),this.detectionRegExp.test(s)}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new Hs("openapi-json-3-1-swagger-client parser plugin doesn't support sourceMaps option");const r=new ns,n=e.toString();if(this.allowEmpty&&n.trim()==="")return r;try{const s=JSON.parse(n),i=ji.refract(s,this.refractorOpts);return i.classes.push("result"),r.push(i),r}catch(s){throw new Hs(`Error parsing "${e.uri}"`,{cause:s})}}}class Iie extends zu{detectionRegExp=/(?<YAML>^(["']?)openapi\2\s*:\s*(["']?)(?<version_yaml>3\.1\.(?:[1-9]\d*|0))\3(?:\s+|$))|(?<JSON>"openapi"\s*:\s*"(?<version_json>3\.1\.(?:[1-9]\d*|0))")/m;constructor(e={}){super({name:"openapi-yaml-3-1-swagger-client",mediaTypes:new Ww(...Ga.filterByFormat("generic"),...Ga.filterByFormat("yaml")),...e})}async canParse(e){const r=this.fileExtensions.length===0?!0:this.fileExtensions.includes(e.extension),n=this.mediaTypes.includes(e.mediaType);if(!r)return!1;if(n)return!0;if(!n)try{const s=e.toString();return Zi.load(s),this.detectionRegExp.test(s)}catch{return!1}return!1}async parse(e){if(this.sourceMap)throw new Hs("openapi-yaml-3-1-swagger-client parser plugin doesn't support sourceMaps option");const r=new ns,n=e.toString();try{const s=Zi.load(n,{schema:ru});if(this.allowEmpty&&typeof s>"u")return r;const i=ji.refract(s,this.refractorOpts);return i.classes.push("result"),r.push(i),r}catch(s){throw new Hs(`Error parsing "${e.uri}"`,{cause:s})}}}const xp=t=>/^[A-Za-z_][A-Za-z_0-9.-]*$/.test(t),Xa=t=>{const e=$B(t);return qB("#",e)},Tie=t=>{if(!xp(t))throw new AZ(t);return t},Dx=(t,e)=>{const r=Tie(t),n=cL(s=>es(s)&&Re(s.$anchor)===r,e);if(Ti(n))throw new wZ(`Evaluation failed on token: "${r}"`);return n},k$=(t,e)=>{if(typeof e.$ref>"u")return;const r=$B(Re(e.$ref)),n=Re(e.meta.get("ancestorsSchemaIdentifiers"));return`${oo((i,a)=>Nr(i,Df(zt(a))),t,[...n,Re(e.$ref)])}${r==="#"?"":r}`},kie=(t,e)=>{if(typeof e.$id>"u")return;const r=Re(e.meta.get("ancestorsSchemaIdentifiers"));return oo((n,s)=>Nr(n,Df(zt(s))),t,r)},Go=t=>{if(Go.cache.has(t))return Go.cache.get(t);const e=Ai.refract(t);return Go.cache.set(t,e),e};Go.cache=new WeakMap;const Lr=t=>Yi(t)?Go(t):t,Ap=(t,e)=>{const{cache:r}=Ap,n=zt(t),s=a=>es(a)&&typeof a.$id<"u";if(!r.has(e)){const a=sZ(s,e);r.set(e,Array.from(a))}const i=r.get(e).find(a=>kie(n,a)===n);if(Ti(i))throw new jw(`Evaluation failed on URI: "${t}"`);return xp(Xa(t))?Dx(Xa(t),i):Zn(i,jn(t))};Ap.cache=new WeakMap;const nc=vr[Symbol.for("nodejs.util.promisify.custom")],Tr=new kw,In=(t,e,r,n)=>{os(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class zi{indirections;namespace;reference;options;ancestors;refractCache;allOfDiscriminatorMapping;constructor({reference:e,namespace:r,options:n,indirections:s=[],ancestors:i=new DE,refractCache:a=new Map,allOfDiscriminatorMapping:o=new Map}){this.indirections=s,this.namespace=r,this.reference=e,this.options=n,this.ancestors=new DE(...i),this.refractCache=a,this.allOfDiscriminatorMapping=o}toBaseURI(e){return Nr(this.reference.uri,Df(zt(e)))}async toReference(e){if(this.reference.depth>=this.options.resolve.maxDepth)throw new OZ(`Maximum resolution depth of ${this.options.resolve.maxDepth} has been exceeded by file "${this.reference.uri}"`);const r=this.toBaseURI(e),{refSet:n}=this.reference;if(n.has(r))return n.find(RB(r,"uri"));const s=await wX(bs(r),{...this.options,parse:{...this.options.parse,mediaType:"text/plain"}}),i=new zs({uri:r,value:Ke(s),depth:this.reference.depth+1});if(n.add(i),this.options.dereference.immutable){const a=new zs({uri:`immutable://${r}`,value:s,depth:this.reference.depth+1});n.add(a)}return i}toAncestorLineage(e){const r=new Set(e.filter(ur));return[new DE(...this.ancestors,r),r]}OpenApi3_1Element={leave:(e,r,n,s,i,a)=>{var o;if(!((o=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&o!==void 0&&o.dereferenceDiscriminatorMapping))return;const u=Ar(e);return u.setMetaProperty("allOfDiscriminatorMapping",Object.fromEntries(this.allOfDiscriminatorMapping)),a.replaceWith(u,In),n?void 0:u}};async ReferenceElement(e,r,n,s,i,a){if(this.indirections.includes(e))return!1;const[o,u]=this.toAncestorLineage([...i,n]),l=this.toBaseURI(Re(e.$ref)),c=zt(this.reference.uri)===l,p=!c;if(!this.options.resolve.internal&&c||!this.options.resolve.external&&p)return!1;const m=await this.toReference(Re(e.$ref)),d=Nr(l,Re(e.$ref));this.indirections.push(e);const g=jn(d);let y=Zn(m.value.result,g);if(y.id=Tr.identify(y),Yi(y)){const S=Re(e.meta.get("referenced-element")),A=`${S}-${Re(Tr.identify(y))}`;this.refractCache.has(A)?y=this.refractCache.get(A):Yt(y)?(y=Ni.refract(y),y.setMetaProperty("referenced-element",S),this.refractCache.set(A,y)):(y=this.namespace.getElementClass(S).refract(y),this.refractCache.set(A,y))}if(e===y)throw new nr("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new La(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(o.includes(y)){if(m.refSet.circular=!0,this.options.dereference.circular==="error")throw new nr("Circular reference detected");if(this.options.dereference.circular==="replace"){var v,E;const S=new pe.RefElement(y.id,{type:"reference",uri:m.uri,$ref:Re(e.$ref)}
76),I=((v=(E=this.options.dereference.strategyOpts["openapi-3-1"])===null||E===void 0?void 0:E.circularReplacer)!==null&&v!==void 0?v:this.options.dereference.circularReplacer)(S);return a.replaceWith(I,In),n?!1:I}}const b=zt(m.refSet.rootRef.uri)!==m.uri,_=["error","replace"].includes(this.options.dereference.circular);if((p||b||pa(y)||_)&&!o.includesCycle(y)){u.add(e);const S=new zi({reference:m,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:o,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});y=await nc(y,S,{keyMap:Qn,nodeTypeGetter:Dn}),u.delete(e)}this.indirections.pop();const w=Ar(y);return w.setMetaProperty("id",Tr.generateId()),w.setMetaProperty("ref-fields",{$ref:Re(e.$ref),description:Re(e.description),summary:Re(e.summary)}),w.setMetaProperty("ref-origin",m.uri),w.setMetaProperty("ref-referencing-element-id",Ke(Tr.identify(e))),Pt(y)&&Pt(w)&&(e.hasKey("description")&&"description"in y&&(w.remove("description"),w.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in y&&(w.remove("summary"),w.set("summary",e.get("summary")))),a.replaceWith(w,In),n?!1:w}async PathItemElement(e,r,n,s,i,a){if(!ct(e.$ref))return;if(this.indirections.includes(e))return!1;const[o,u]=this.toAncestorLineage([...i,n]),l=this.toBaseURI(Re(e.$ref)),c=zt(this.reference.uri)===l,p=!c;if(!this.options.resolve.internal&&c||!this.options.resolve.external&&p)return;const m=await this.toReference(Re(e.$ref)),d=Nr(l,Re(e.$ref));this.indirections.push(e);const g=jn(d);let y=Zn(m.value.result,g);if(y.id=Tr.identify(y),Yi(y)){const w=`path-item-${Re(Tr.identify(y))}`;this.refractCache.has(w)?y=this.refractCache.get(w):(y=xi.refract(y),this.refractCache.set(w,y))}if(e===y)throw new nr("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new La(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(o.includes(y)){if(m.refSet.circular=!0,this.options.dereference.circular==="error")throw new nr("Circular reference detected");if(this.options.dereference.circular==="replace"){var v,E;const w=new pe.RefElement(y.id,{type:"path-item",uri:m.uri,$ref:Re(e.$ref)}),A=((v=(E=this.options.dereference.strategyOpts["openapi-3-1"])===null||E===void 0?void 0:E.circularReplacer)!==null&&v!==void 0?v:this.options.dereference.circularReplacer)(w);return a.replaceWith(A,In),n?!1:A}}const b=zt(m.refSet.rootRef.uri)!==m.uri,_=["error","replace"].includes(this.options.dereference.circular);if((p||b||ta(y)&&ct(y.$ref)||_)&&!o.includesCycle(y)){u.add(e);const w=new zi({reference:m,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:o,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});y=await nc(y,w,{keyMap:Qn,nodeTypeGetter:Dn}),u.delete(e)}if(this.indirections.pop(),ta(y)){const w=new xi([...y.content],Ke(y.meta),Ke(y.attributes));w.setMetaProperty("id",Tr.generateId()),e.forEach((S,A,I)=>{w.remove(Re(A)),w.content.push(I)}),w.remove("$ref"),w.setMetaProperty("ref-fields",{$ref:Re(e.$ref)}),w.setMetaProperty("ref-origin",m.uri),w.setMetaProperty("ref-referencing-element-id",Ke(Tr.identify(e))),y=w}return a.replaceWith(y,In),n?void 0:y}async LinkElement(e,r,n,s,i,a){if(!ct(e.operationRef)&&!ct(e.operationId))return;if(ct(e.operationRef)&&ct(e.operationId))throw new nr("LinkElement operationRef and operationId fields are mutually exclusive.");let o;if(ct(e.operationRef)){var u;const c=jn(Re(e.operationRef)),p=this.toBaseURI(Re(e.operationRef)),m=zt(this.reference.uri)===p,d=!m;if(!this.options.resolve.internal&&m||!this.options.resolve.external&&d)return;const g=await this.toReference(Re(e.operationRef));if(o=Zn(g.value.result,c),Yi(o)){const v=`operation-${Re(Tr.identify(o))}`;this.refractCache.has(v)?o=this.refractCache.get(v):(o=yl.refract(o),this.refractCache.set(v,o))}o=Ar(o),o.setMetaProperty("ref-origin",g.uri);const y=Ar(e);return(u=y.operationRef)===null||u===void 0||u.meta.set("operation",o),a.replaceWith(y,In),n?void 0:y}if(ct(e.operationId)){var l;const c=Re(e.operationId),p=await this.toReference(bs(this.reference.uri));if(o=cL(d=>I$(d)&&ur(d.operationId)&&d.operationId.equals(c),p.value.result),Ti(o))throw new nr(`OperationElement(operationId=${c}) not found.`);const m=Ar(e);return(l=m.operationId)===null||l===void 0||l.meta.set("operation",o),a.replaceWith(m,In),n?void 0:m}}async ExampleElement(e,r,n,s,i,a){if(!ct(e.externalValue))return;if(e.hasKey("value")&&ct(e.externalValue))throw new nr("ExampleElement value and externalValue fields are mutually exclusive.");const o=this.toBaseURI(Re(e.externalValue)),u=zt(this.reference.uri)===o,l=!u;if(!this.options.resolve.internal&&u||!this.options.resolve.external&&l)return;const c=await this.toReference(Re(e.externalValue)),p=Ar(c.value.result);p.setMetaProperty("ref-origin",c.uri);const m=Ar(e);return m.value=p,a.replaceWith(m,In),n?void 0:m}async MemberElement(e,r,n,s,i,a){var o;const u=i[i.length-1];if(!Pt(u)||!u.classes.contains("discriminator-mapping"))return;if(!((o=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&o!==void 0&&o.dereferenceDiscriminatorMapping)||!ct(e.key)||!ct(e.value)||this.indirections.includes(e))return!1;this.indirections.push(e);const[l,c]=this.toAncestorLineage([...i,n]),p=[...c].findLast(es),m=Ke(p.getMetaProperty("ancestorsSchemaIdentifiers")),d=Re(e.value),y=/^[a-zA-Z0-9\\.\\-_]+$/.test(d)?`#/components/schemas/${d}`:d,v=new Ai({$ref:y});v.setMetaProperty("ancestorsSchemaIdentifiers",m),c.add(v);const E=new zi({reference:this.reference,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:l,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping}),b=await nc(v,E,{keyMap:Qn,nodeTypeGetter:Dn});c.delete(v),this.indirections.pop();const _=Ar(e);return _.value.setMetaProperty("ref-schema",b),a.replaceWith(_,In),n?void 0:_}async SchemaElement(e,r,n,s,i,a){if(!ct(e.$ref))return;if(this.indirections.includes(e))return!1;const[o,u]=this.toAncestorLineage([...i,n]);let l=await this.toReference(bs(this.reference.uri)),{uri:c}=l;const p=k$(c,e),m=zt(p),d=new au({uri:m}),g=AY(F=>F.canRead(d),this.options.resolve.resolvers),y=!g;let v=zt(this.reference.uri)===p,E=!v;this.indirections.push(e);let b;try{if(g||y){c=this.toBaseURI(p);const F=p,R=Lr(l.value.result);if(b=Ap(F,R),b=Lr(b),b.id=Tr.identify(b),!this.options.resolve.internal&&v||!this.options.resolve.external&&E)return}else{if(c=this.toBaseURI(p),v=zt(this.reference.uri)===c,E=!v,!this.options.resolve.internal&&v||!this.options.resolve.external&&E)return;l=await this.toReference(bs(p));const F=jn(p),R=Lr(l.value.result);b=Zn(R,F),b=Lr(b),b.id=Tr.identify(b)}}catch(F){if(y&&F instanceof jw)if(xp(Xa(p))){if(v=zt(this.reference.uri)===c,E=!v,!this.options.resolve.internal&&v||!this.options.resolve.external&&E)return;l=await this.toReference(bs(p));const R=Xa(p),L=Lr(l.value.result);b=Dx(R,L),b=Lr(b),b.id=Tr.identify(b)}else{if(c=this.toBaseURI(p),v=zt(this.reference.uri)===c,E=!v,!this.options.resolve.internal&&v||!this.options.resolve.external&&E)return;l=await this.toReference(bs(p));const R=jn(p),L=Lr(l.value.result);b=Zn(L,R),b=Lr(b),b.id=Tr.identify(b)}else throw F}if(e===b)throw new nr("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new La(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(o.includes(b)){if(l.refSet.circular=!0,this.options.dereference.circular==="error")throw new nr("Circular reference detected");if(this.options.dereference.circular==="replace"){var _,w;const F=new pe.RefElement(b.id,{type:"json-schema",uri:l.uri,$ref:Re(e.$ref)}
76),L=((_=(w=this.options.dereference.strategyOpts["openapi-3-1"])===null||w===void 0?void 0:w.circularReplacer)!==null&&_!==void 0?_:this.options.dereference.circularReplacer)(F);return a.replaceWith(L,In),n?!1:L}}const S=zt(l.refSet.rootRef.uri)!==l.uri,A=["error","replace"].includes(this.options.dereference.circular);if((E||S||es(b)&&ct(b.$ref)||A)&&!o.includesCycle(b)){u.add(e);const F=new zi({reference:l,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:o,allOfDiscriminatorMapping:this.allOfDiscriminatorMapping});b=await nc(b,F,{keyMap:Qn,nodeTypeGetter:Dn}),u.delete(e)}if(this.indirections.pop(),Mx(b)){const F=Ke(b);return F.setMetaProperty("id",Tr.generateId()),F.setMetaProperty("ref-fields",{$ref:Re(e.$ref),$refBaseURI:p}),F.setMetaProperty("ref-origin",l.uri),F.setMetaProperty("ref-referencing-element-id",Ke(Tr.identify(e))),a.replaceWith(F,In),n?!1:F}if(es(b)){var I;const F=new Ai([...b.content],Ke(b.meta),Ke(b.attributes));if(F.setMetaProperty("id",Tr.generateId()),e.forEach((R,L,M)=>{F.remove(Re(L)),F.content.push(M)}),F.remove("$ref"),F.setMetaProperty("ref-fields",{$ref:Re(e.$ref),$refBaseURI:p}),F.setMetaProperty("ref-origin",l.uri),F.setMetaProperty("ref-referencing-element-id",Ke(Tr.identify(e))),(I=this.options.dereference.strategyOpts["openapi-3-1"])!==null&&I!==void 0&&I.dereferenceDiscriminatorMapping){var k;const R=i[i.length-1],L=[...u].findLast(es),M=L?.getMetaProperty("schemaName"),G=Re(F.getMetaProperty("schemaName"));if(G&&M&&R!==null&&R!==void 0&&(k=R.classes)!==null&&k!==void 0&&k.contains("json-schema-allOf")){var P;const re=(P=this.allOfDiscriminatorMapping.get(G))!==null&&P!==void 0?P:[];re.push(L),this.allOfDiscriminatorMapping.set(G,re)}}b=F}return a.replaceWith(b,In),n?void 0:b}}const Pie=vr[Symbol.for("nodejs.util.promisify.custom")];class jie extends _Z{constructor(e){super({...e??{},name:"openapi-3-1"})}canDereference(e){var r;return e.mediaType!=="text/plain"?Ga.includes(e.mediaType):R$((r=e.parseResult)===null||r===void 0?void 0:r.result)}async dereference(e,r){var n;const s=ri(Px),i=(n=r.dereference.refSet)!==null&&n!==void 0?n:new Ja,a=new Ja;let o=i,u;i.has(e.uri)?u=i.find(RB(e.uri,"uri")):(u=new zs({uri:e.uri,value:e.parseResult}),i.add(u)),r.dereference.immutable&&(i.refs.map(p=>new zs({...p,value:Ke(p.value)})).forEach(p=>a.add(p)),u=a.find(p=>p.uri===e.uri),o=a);const l=new zi({reference:u,namespace:s,options:r}),c=await Pie(o.rootRef.value,l,{keyMap:Qn,nodeTypeGetter:Dn});return r.dereference.immutable&&a.refs.filter(p=>p.uri.startsWith("immutable://")).map(p=>new zs({...p,uri:p.uri.replace(/^immutable:\/\//,"")})).forEach(p=>i.add(p)),r.dereference.refSet===null&&i.clean(),a.clean(),c}}const Nie=t=>t.slice(2),Gn=t=>{const e=Nie(t);return e.reduce((r,n,s)=>{if(os(n)){const i=String(Re(n.key));r.push(i)}else if(Fr(e[s-2])){const i=e[s-2].content.indexOf(n);r.push(i)}return r},[])};class Mie{modelPropertyMacro;options;SchemaElement={leave:(e,r,n,s,i)=>{typeof e.properties>"u"||Pt(e.properties)&&e.properties.forEach(a=>{if(Pt(a))try{const l=this.modelPropertyMacro(Re(a));a.set("default",l)}catch(l){var o,u;const c=new Error(l,{cause:l});c.fullPath=[...Gn([...i,n,e]),"properties"],(o=this.options.dereference.dereferenceOpts)===null||o===void 0||(o=o.errors)===null||o===void 0||(u=o.push)===null||u===void 0||u.call(o,c)}})}};constructor({modelPropertyMacro:e,options:r}){this.modelPropertyMacro=e,this.options=r}}class Die{options;SchemaElement={leave(e,r,n,s,i){if(typeof e.allOf>"u")return;if(!Fr(e.allOf)){var a,o;const p=new TypeError("allOf must be an array");p.fullPath=[...Gn([...i,n,e]),"allOf"],(a=this.options.dereference.dereferenceOpts)===null||a===void 0||(a=a.errors)===null||a===void 0||(o=a.push)===null||o===void 0||o.call(a,p);return}if(e.allOf.isEmpty){e.remove("allOf");return}if(!e.allOf.content.every(es)){var l,c;const p=new TypeError("Elements in allOf must be objects");p.fullPath=[...Gn([...i,n,e]),"allOf"],(l=this.options.dereference.dereferenceOpts)===null||l===void 0||(l=l.errors)===null||l===void 0||(c=l.push)===null||c===void 0||c.c
76all(l,p);return}for(;e.hasKey("allOf");){const{allOf:p}=e;e.remove("allOf");const m=Fn.all([...p.content,e],{customMerge:d=>Re(d)==="enum"?(g,y)=>{if(Ha(["json-schema-enum"],g)&&Ha(["json-schema-enum"],y)){const v=(b,_)=>Fr(b)||Fr(_)||Pt(b)||Pt(_)?!1:b.equals(Re(_)),E=Ar(g);return E.content=kB(v)([...g.content,...y.content]),E}return Fn(g,y)}:Fn});if(e.hasKey("$$ref")||m.remove("$$ref"),e.hasKey("example")){const d=m.getMember("example");d&&(d.value=e.get("example"))}if(e.hasKey("examples")){const d=m.getMember("examples");d&&(d.value=e.get("examples"))}e.content=m.content}}};constructor({options:e}){this.options=e}}class Fie{parameterMacro;options;#e;OperationElement={enter:e=>{this.#e=e},leave:()=>{this.#e=void 0}};ParameterElement={leave:(e,r,n,s,i)=>{const a=this.#e?Re(this.#e):null,o=Re(e);try{const c=this.parameterMacro(a,o);e.set("default",c)}catch(c){var u,l;const p=new Error(c,{cause:c});p.fullPath=Gn([...i,n]),(u=this.options.dereference.dereferenceOpts)===null||u===void 0||(u=u.errors)===null||u===void 0||(l=u.push)===null||l===void 0||l.call(u,p)}}};constructor({parameterMacro:e,options:r}){this.parameterMacro=e,this.options=r}}const sc=t=>{if(t.cause==null)return t;let{cause:e}=t;for(;e.cause!=null;)e=e.cause;return e};class qie extends xs{}const{wrapError:$E}=Mw,UE=vr[Symbol.for("nodejs.util.promisify.custom")],Tn=new kw,Bi=(t,e,r,n)=>{os(n)?n.value=t:Array.isArray(n)&&(n[r]=t)};class Yo extends zi{useCircularStructures;allowMetaPatches;basePath;constructor({allowMetaPatches:e=!0,useCircularStructures:r=!1,basePath:n=null,...s}){super(s),this.allowMetaPatches=e,this.useCircularStructures=r,this.basePath=n}async ReferenceElement(e,r,n,s,i,a){try{if(this.indirections.includes(e))return!1;const[d,g]=this.toAncestorLineage([...i,n]),y=this.toBaseURI(Re(e.$ref)),v=zt(this.reference.uri)===y,E=!v;if(!this.options.resolve.internal&&v||!this.options.resolve.external&&E)return!1;const b=await this.toReference(Re(e.$ref)),_=Nr(y,Re(e.$ref));this.indirections.push(e);const w=jn(_);let S=Zn(b.value.result,w);if(S.id=Tn.identify(S),Yi(S)){const P=Re(e.meta.get("referenced-element")),F=`${P}-${Re(Tn.identify(S))}`;this.refractCache.has(F)?S=this.refractCache.get(F):Yt(S)?(S=Ni.refract(S),S.setMetaProperty("referenced-element",P),this.refractCache.set(F,S)):(S=this.namespace.getElementClass(P).refract(S),this.refractCache.set(F,S))}if(e===S)throw new nr("Recursive Reference Object detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new La(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(d.includes(S)){if(b.refSet.circular=!0,this.options.dereference.circular==="error")throw new nr("Circular reference detected");if(this.options.dereference.circular==="replace"){var o,u;const P=new pe.RefElement(S.id,{type:"reference",uri:b.uri,$ref:Re(e.$ref),baseURI:_,referencingElement:e}),R=((o=(u=this.options.dereference.strategyOpts["openapi-3-1"])===null||u===void 0?void 0:u.circularReplacer)!==null&&o!==void 0?o:this.options.dereference.circularReplacer)(P);return a.replaceWith(P,Bi),n?!1:R}}const A=zt(b.refSet.rootRef.uri)!==b.uri,I=["error","replace"].includes(this.options.dereference.circular);if((E||A||pa(S)||I)&&!d.includesCycle(S)){var l;g.add(e);const P=new Yo({reference:b,namespace:this.namespace,indirections:[...this.indirections],options:this.options,refractCache:this.refractCache,ancestors:d,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Gn([...i,n,e]),"$ref"]});S=await UE(S,P,{keyMap:Qn,nodeTypeGetter:Dn}),g.delete(e)}this.indirections.pop();const k=Ar(S);if(k.setMetaProperty("ref-fields",{$ref:Re(e.$ref),description:Re(e.description),summary:Re(e.summary)}),k.setMetaProperty("ref-origin",b.uri),k.setMetaProperty("ref-referencing-element-id",Ke(Tn.identify(e))),Pt(S)&&(e.hasKey("description")&&"description"in S&&(k.remove("description"),k.set("description",e.get("description"))),e.hasKey("summary")&&"summary"in S&&(k.remove("summary"),k.set("summary",e.get("summary")))),this.allowMetaPatches&&Pt(k)&&!k.hasKey("$$ref")){const P=Nr(y,_);k.set("$$ref",P)}return a.replaceWith(k,Bi),n?!1:k}catch(d){var c,p,m;const g=sc(d),y=$E(g,{baseDoc:this.reference.uri,$ref:Re(e.$ref),pointer:jn(Re(e.$ref)),fullPath:(c=this.basePath)!==null&&c!==void 0?c:[...Gn([...i,n,e]),"$ref"]});(p=this.options.dereference.dereferenceOpts)===null||p===void 0||(p=p.errors)===null||p===void 0||(m=p.push)===null||m===void 0||m.call(p,y);return}}async PathItemElement(e,r,n,s,i,a){try{if(!ct(e.$ref))return;if(this.indirections.includes(e)||Ha(["cycle"],e.$ref))return!1;const[d,g]=this.toAncestorLineage([...i,n]),y=this.toBaseURI(Re(e.$ref)),v=zt(this.reference.uri)===y,E=!v;if(!this.options.resolve.internal&&v||!this.options.resolve.external&&E)return;const b=await this.toReference(Re(e.$ref)),_=Nr(y,Re(e.$ref));this.indirections.push(e);const w=jn(_);let S=Zn(b.value.result,w);if(S.id=Tn.identify(S),Yi(S)){const k=`path-item-${Re(Tn.identify(S))}`;this.refractCache.has(k)?S=this.refractCache.get(k):(S=xi.refract(S),this.refractCache.set(k,S))}if(e===S)throw new nr("Recursive Path Item Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new La(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(d.includes(S)){if(b.refSet.circular=!0,this.options.dereference.circular==="error")throw new nr("Circular reference detected");if(this.options.dereference.circular==="replace"){var o,u;
76const k=new pe.RefElement(S.id,{type:"path-item",uri:b.uri,$ref:Re(e.$ref),baseURI:_,referencingElement:e}),F=((o=(u=this.options.dereference.strategyOpts["openapi-3-1"])===null||u===void 0?void 0:u.circularReplacer)!==null&&o!==void 0?o:this.options.dereference.circularReplacer)(k);return a.replaceWith(k,Bi),n?!1:F}}const A=zt(b.refSet.rootRef.uri)!==b.uri,I=["error","replace"].includes(this.options.dereference.circular);if((E||A||ta(S)&&ct(S.$ref)||I)&&!d.includesCycle(S)){var l;g.add(e);const k=new Yo({reference:b,namespace:this.namespace,indirections:[...this.indirections],options:this.options,ancestors:d,allowMetaPatches:this.allowMetaPatches,useCircularStructures:this.useCircularStructures,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Gn([...i,n,e]),"$ref"]});S=await UE(S,k,{keyMap:Qn,nodeTypeGetter:Dn}),g.delete(e)}if(this.indirections.pop(),ta(S)){const k=new xi([...S.content],Ke(S.meta),Ke(S.attributes));if(e.forEach((P,F,R)=>{k.remove(Re(F)),k.content.push(R)}),k.remove("$ref"),k.setMetaProperty("ref-fields",{$ref:Re(e.$ref)}),k.setMetaProperty("ref-origin",b.uri),k.setMetaProperty("ref-referencing-element-id",Ke(Tn.identify(e))),this.allowMetaPatches&&typeof k.get("$$ref")>"u"){const P=Nr(y,_);k.set("$$ref",P)}S=k}return a.replaceWith(S,Bi),n?void 0:S}catch(d){var c,p,m;const g=sc(d),y=$E(g,{baseDoc:this.reference.uri,$ref:Re(e.$ref),pointer:jn(Re(e.$ref)),fullPath:(c=this.basePath)!==null&&c!==void 0?c:[...Gn([...i,n,e]),"$ref"]});(p=this.options.dereference.dereferenceOpts)===null||p===void 0||(p=p.errors)===null||p===void 0||(m=p.push)===null||m===void 0||m.call(p,y);return}}async SchemaElement(e,r,n,s,i,a){try{if(!ct(e.$ref))return;if(this.indirections.includes(e))return!1;const[d,g]=this.toAncestorLineage([...i,n]);let y=await this.toReference(bs(this.reference.uri)),{uri:v}=y;const E=k$(v,e),b=zt(E),_=new au({uri:b}),w=!this.options.resolve.resolvers.some(R=>R.canRead(_)),S=!w;let A=zt(this.reference.uri)===E,I=!A;this.indirections.push(e);let k;try{if(w||S){v=this.toBaseURI(E);const R=E,L=Lr(y.value.result);if(k=Ap(R,L),k=Lr(k),k.id=Tn.identify(k),!this.options.resolve.internal&&A||!this.options.resolve.external&&I)return}else{if(v=this.toBaseURI(E),A=zt(this.reference.uri)===v,I=!A,!this.options.resolve.internal&&A||!this.options.resolve.external&&I)return;y=await this.toReference(bs(E));const R=jn(E),L=Lr(y.value.result);k=Zn(L,R),k=Lr(k),k.id=Tn.identify(k)}}catch(R){if(S&&R instanceof jw)if(xp(Xa(E))){if(A=zt(this.reference.uri)===v,I=!A,!this.options.resolve.internal&&A||!this.options.resolve.external&&I)return;y=await this.toReference(bs(E));const L=Xa(E),M=Lr(y.value.result);k=Dx(L,M),k=Lr(k),k.id=Tn.identify(k)}else{if(v=this.toBaseURI(Re(E)),A=zt(this.reference.uri)===v,I=!A,!this.options.resolve.internal&&A||!this.options.resolve.external&&I)return;y=await this.toReference(bs(E));const L=jn(E),M=Lr(y.value.result);k=Zn(M,L),k=Lr(k),k.id=Tn.identify(k)}else throw R}if(e===k)throw new nr("Recursive Schema Object reference detected");if(this.indirections.length>this.options.dereference.maxDepth)throw new La(`Maximum dereference depth of "${this.options.dereference.maxDepth}" has been exceeded in file "${this.reference.uri}"`);if(d.includes(k)){if(y.refSet.circular=!0,this.options.dereference.circular==="error")throw new nr("Circular reference detected");if(this.options.dereference.circular==="replace"){var o,u;const R=new pe.RefElement(k.id,{type:"json-schema",uri:y.uri,$ref:Re(e.$ref),baseURI:Nr(v,E),referencingElement:e}),M=((o=(u=this.options.dereference.strategyOpts["openapi-3-1"])===null||u===void 0?void 0:u.circularReplacer)!==null&&o!==void 0?o:this.options.dereference.circularReplacer)(R);return a.replaceWith(M,Bi),n?!1:M}}const P=zt(y.refSet.rootRef.uri)!==y.uri,F=["error","replace"].includes(this.options.dereference.circular);if((I||P||es(k)&&ct(k.$ref)||F)&&!d.includesCycle(k)){var l;g.add(e);const R=new Yo({reference:y,namespace:this.namespace,indirections:[...this.indirections],options:this.options,useCircularStructures:this.useCircularStructures,allowMetaPatches:this.allowMetaPatches,ancestors:d,basePath:(l=this.basePath)!==null&&l!==void 0?l:[...Gn([...i,n,e]),"$ref"]});k=await UE(k,R,{keyMap:Qn,nodeTypeGetter:Dn}),g.delete(e)}if(this.indirections.pop(),Mx(k)){const R=Ke(k);return R.setMetaProperty("ref-fields",{$ref:Re(e.$ref)}
76),R.setMetaProperty("ref-origin",y.uri),R.setMetaProperty("ref-referencing-element-id",Ke(Tn.identify(e))),a.replaceWith(R,Bi),n?!1:R}if(es(k)){const R=new Ai([...k.content],Ke(k.meta),Ke(k.attributes));if(e.forEach((L,M,G)=>{R.remove(Re(M)),R.content.push(G)}),R.remove("$ref"),R.setMetaProperty("ref-fields",{$ref:Re(e.$ref)}),R.setMetaProperty("ref-origin",y.uri),R.setMetaProperty("ref-referencing-element-id",Ke(Tn.identify(e))),this.allowMetaPatches&&typeof R.get("$$ref")>"u"){const L=Nr(v,E);R.set("$$ref",L)}k=R}return a.replaceWith(k,Bi),n?void 0:k}catch(d){var c,p,m;const g=sc(d),y=new qie(`Could not resolve reference: ${g.message}`,{baseDoc:this.reference.uri,$ref:Re(e.$ref),fullPath:(c=this.basePath)!==null&&c!==void 0?c:[...Gn([...i,n,e]),"$ref"],cause:g});(p=this.options.dereference.dereferenceOpts)===null||p===void 0||(p=p.errors)===null||p===void 0||(m=p.push)===null||m===void 0||m.call(p,y);return}}async LinkElement(){}async ExampleElement(e,r,n,s,i,a){try{return await super.ExampleElement(e,r,n,s,i,a)}catch(c){var o,u,l;const p=sc(c),m=$E(p,{baseDoc:this.reference.uri,externalValue:Re(e.externalValue),fullPath:(o=this.basePath)!==null&&o!==void 0?o:[...Gn([...i,n,e]),"externalValue"]});(u=this.options.dereference.dereferenceOpts)===null||u===void 0||(u=u.errors)===null||u===void 0||(l=u.push)===null||l===void 0||l.call(u,m);return}}}const Bie=$f[Symbol.for("nodejs.util.promisify.custom")];class Lie{constructor({parameterMacro:e,modelPropertyMacro:r,mode:n,options:s,...i}){const a=[];a.push(new Yo({...i,options:s})),typeof r=="function"&&a.push(new Mie({modelPropertyMacro:r,options:s})),n!=="strict"&&a.push(new Die({options:s})),typeof e=="function"&&a.push(new Fie({parameterMacro:e,options:s}));const o=Bie(a,{nodeTypeGetter:Dn});Object.assign(this,o)}}const $ie=vr[Symbol.for("nodejs.util.promisify.custom")];class Uie extends jie{allowMetaPatches;parameterMacro;modelPropertyMacro;mode;ancestors;constructor({allowMetaPatches:e=!1,parameterMacro:r=null,modelPropertyMacro:n=null,mode:s="non-strict",ancestors:i=[],...a}={}){super({...a}),this.name="openapi-3-1-swagger-client",this.allowMetaPatches=e,this.parameterMacro=r,this.modelPropertyMacro=n,this.mode=s,this.ancestors=[...i]}async dereference(e,r){var n;const s=ri(Px),i=(n=r.dereference.refSet)!==null&&n!==void 0?n:new Ja,a=new Ja;let o=i,u;i.has(e.uri)?u=i.find(p=>p.uri===e.uri):(u=new zs({uri:e.uri,value:e.parseResult}),i.add(u)),r.dereference.immutable&&(i.refs.map(p=>new zs({...p,value:Ke(p.value)})).forEach(p=>a.add(p)),u=a.find(p=>p.uri===e.uri),o=a);const l=new Lie({reference:u,namespace:s,options:r,allowMetaPatches:this.allowMetaPatches,ancestors:this.ancestors,modelPropertyMacro:this.modelPropertyMacro,mode:this.mode,parameterMacro:this.parameterMacro}),c=await $ie(o.rootRef.value,l,{keyMap:Qn,nodeTypeGetter:Dn});return r.dereference.immutable&&a.refs.filter(p=>p.uri.startsWith("immutable://")).map(p=>new zs({...p,uri:p.uri.replace(/^immutable:\/\//,"")})).forEach(p=>i.add(p)),r.dereference.refSet===null&&i.clean(),a.clean(),c}}const Vie=t=>{const e=Re(t.meta.get("baseURI")),r=t.meta.get("referencingElement");return new pe.ObjectElement({$ref:e},Ke(r.meta),Ke(r.attributes))},Op=async t=>{const{spec:e,timeout:r,redirects:n,requestInterceptor:s,responseInterceptor:i,pathDiscriminator:a=[],allowMetaPatches:o=!1,useCircularStructures:u=!1,skipNormalization:l=!1,parameterMacro:c=null,modelPropertyMacro:p=null,mode:m="non-strict",strategies:d}=t;try{const{cache:g}=Op,y=d.find(re=>re.match(e)),v=Sw(n1())?n1():Xc,E=Lw(t),b=Nr(v,E);let _;g.has(e)?_=g.get(e):(_=ji.refract(e),_.classes.push("result"),g.set(e,_));const w=new ns([_]),S=JL(a),A=S===""?"":`#${S}`,I=Zn(_,S),k=new zs({uri:b,value:w}),P=new Ja({refs:[k]});S!==""&&(P.rootRef=void 0);const F=[new Set([I])],R=[],L=await CZ(I,{resolve:{baseURI:`${b}${A}`,resolvers:[new Aie({timeout:r||1e4,redirects:n||10})],resolverOpts:{swaggerHTTPClientConfig:{requestInterceptor:s,responseInterceptor:i}},strategies:[new _ie]},parse:{mediaType:Ga.latest(),parsers:[new Rie({allowEmpty:!1,sourceMap:!1}),new Iie({allowEmpty:!1,sourceMap:!1}),new Oie({allowEmpty:!1,sourceMap:!1}),new Cie({allowEmpty:!1,sourceMap:!1}),new Sie({allowEmpty:!1,sourceMap:!1})]},dereference:{maxDepth:100,strategies:[new Uie({allowMetaPatches:o,useCircularStructures:u,parameterMacro:c,modelPropertyMacro:p,mode:m,ancestors:F})],refSet:P,dereferenceOpts:{errors:R}
76,immutable:!1,circular:u?"ignore":"replace",circularReplacer:u?UB.dereference.circularReplacer:Vie}}),M=lZ(I,L,_),G=l?M:y.normalize(M);return{spec:Re(G),errors:R}}catch(g){if(g instanceof Xi)return{spec:e,errors:[]};throw g}};Op.cache=new WeakMap;const PM=t=>{if(!Pt(t))return t;const e=[Ine({operationIdNormalizer:(n,s,i)=>Uf({operationId:n},s,i,{v2OperationIdCompatibilityMode:!1})}),Ane(),One(),Tne(),kne()];return Is(t,e,{toolboxCreator:T$,visitorOptions:{keyMap:Qn,nodeTypeGetter:Dn}})},zie=t=>e=>{const r=ji.refract(e);r.classes.push("result");const n=t(r),s=Re(n);return Op.cache.set(s,n),Re(n)},Wie={name:"openapi-3-1-apidom",match(t){return Vw(t)},normalize(t){if(!ur(t)&&rs(t)&&!t.$$normalized){const e=zie(PM)(t);return e.$$normalized=!0,e}return ur(t)?PM(t):t},async resolve(t){return Op(t)}},Jie=async t=>{const{spec:e,requestInterceptor:r,responseInterceptor:n}=t,s=Lw(t),i=qL(t),a=e||await jL(i,{requestInterceptor:r,responseInterceptor:n})(s),o={...t,spec:a};return t.strategies.find(l=>l.match(a)).resolve(o)},P$=t=>async e=>{const r={...t,...e};return Jie(r)},Hie=P$({strategies:[zL,VL,LL]});function Kie(){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}
76,this.rules[7].opcodes[10]={type:5,min:458752,max:524285},this.rules[7].opcodes[11]={type:5,min:524288,max:589821},this.rules[7].opcodes[12]={type:5,min:589824,max:655357},this.rules[7].opcodes[13]={type:5,min:655360,max:720893},this.rules[7].opcodes[14]={type:5,min:720896,max:786429},this.rules[7].opcodes[15]={type:5,min:786432,max:851965},this.rules[7].opcodes[16]={type:5,min:851968,max:917501},this.rules[7].opcodes[17]={type:5,min:921600,max:983037},this.rules[8].opcodes=[],this.rules[8].opcodes[0]={type:1,children:[1,2,3]},this.rules[8].opcodes[1]={type:5,min:57344,max:63743},this.rules[8].opcodes[2]={type:5,min:983040,max:1048573},this.rules[8].opcodes[3]={type:5,min:1048576,max:1114109},this.toString=function(){let e="";return e+=`; OpenAPI Server URL templating ABNF syntax
77`,e+=`server-url-template    = 1*( literals / server-variable ) ; variant of https://www.rfc-editor.org/rfc/rfc6570#section-2
78`,e+=`server-variable        = "{" server-variable-name "}"
79`,e+=`server-variable-name   = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)
80`,e+=`
81`,e+=`; https://www.rfc-editor.org/rfc/rfc6570#section-2.1
82`,e+=`; https://www.rfc-editor.org/errata/eid6937
83`,e+=`literals               = 1*( %x21 / %x23-24 / %x26-3B / %x3D / %x3F-5B
84`,e+=`                       / %x5D / %x5F / %x61-7A / %x7E / ucschar / iprivate
85`,e+=`                       / pct-encoded)
86`,e+=`                            ; any Unicode character except: CTL, SP,
87`,e+=`                            ;  DQUOTE, "%" (aside from pct-encoded),
88`,e+='                            ;  "<", ">", "\\", "^", "`", "{", "|", "}"\n',e+=`
89`,e+=`; https://www.rfc-editor.org/rfc/rfc6570#section-1.5
90`,e+=`DIGIT          =  %x30-39             ; 0-9
91`,e+=`HEXDIG         =  DIGIT / "A" / "B" / "C" / "D" / "E" / "F" ; case-insensitive
92`,e+=`
93`,e+=`pct-encoded    =  "%" HEXDIG HEXDIG
94`,e+=`
95`,e+=`ucschar        =  %xA0-D7FF / %xF900-FDCF / %xFDF0-FFEF
96`,e+=`               /  %x10000-1FFFD / %x20000-2FFFD / %x30000-3FFFD
97`,e+=`               /  %x40000-4FFFD / %x50000-5FFFD / %x60000-6FFFD
98`,e+=`               /  %x70000-7FFFD / %x80000-8FFFD / %x90000-9FFFD
99`,e+=`               /  %xA0000-AFFFD / %xB0000-BFFFD / %xC0000-CFFFD
100`,e+=`               /  %xD0000-DFFFD / %xE1000-EFFFD
101`,e+=`
102`,e+=`iprivate       =  %xE000-F8FF / %xF0000-FFFFD / %x100000-10FFFD
103`,e}}const Gie=(t,e,r,n,s)=>{if(t===vt.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["server-url-template",Sn.charsToString(e,r,n)])}return vt.SEM_OK},Yie=(t,e,r,n,s)=>{if(t===vt.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["server-variable",Sn.charsToString(e,r,n)])}return vt.SEM_OK},Xie=(t,e,r,n,s)=>{if(t===vt.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["server-variable-name",Sn.charsToString(e,r,n)])}return vt.SEM_OK},Zie=(t,e,r,n,s)=>{if(t===vt.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["literals",Sn.charsToString(e,r,n)])}return vt.SEM_OK},Qie=new Kie,j$=t=>{const e=new $n;return e.ast=new zw,e.ast.callbacks["server-url-template"]=Gie,e.ast.callbacks["server-variable"]=Yie,e.ast.callbacks["server-variable-name"]=Xie,e.ast.callbacks.literals=Zie,{result:e.parse(Qie,"server-url-template",t),ast:e.ast}},eae=(t,{strict:e=!1}={})=>{try{const r=j$(t);if(!r.result.success)return!1;const n=[];r.ast.translate(n);const s=n.some(([i])=>i==="server-variable");if(!e&&!s)try{return new URL(t,"https://vladimirgorej.com"),!0}catch{return!1}return e?s:!0}catch{return!1}},tae=t=>{try{return typeof t=="string"&&decodeURIComponent(t)!==t}catch{return!1}},rae=t=>tae(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),nae=["literals","server-variable-name"],sae=(t,e,r={})=>{const s={...{encoder:rae},...r},i=j$(t);if(!i.result.success)return t;const a=[];return i.ast.translate(a),a.filter(([u])=>nae.includes(u)).map(([u,l])=>u==="server-variable-name"?Object.hasOwn(e,l)?s.encoder(e[l],l):`{${l}}`:l).join("")};function N$(){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]}
103,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 e="";return e+=`; OpenAPI Path Templating ABNF syntax
104`,e+=`; variant of https://datatracker.ietf.org/doc/html/rfc3986#section-3.3
105`,e+=`path-template                  = slash *( path-segment slash ) [ path-segment ]
106`,e+=`path-segment                   = 1*( path-literal / template-expression )
107`,e+=`slash                          = "/"
108`,e+=`path-literal                   = 1*pchar
109`,e+=`template-expression            = "{" template-expression-param-name "}"
110`,e+=`template-expression-param-name = 1*( %x00-7A / %x7C / %x7E-10FFFF ) ; every UTF8 character except { and } (from OpenAPI)
111`,e+=`
112`,e+=`; https://datatracker.ietf.org/doc/html/rfc3986#section-3.3
113`,e+=`pchar               = unreserved / pct-encoded / sub-delims / ":" / "@"
114`,e+=`unreserved          = ALPHA / DIGIT / "-" / "." / "_" / "~"
115`,e+=`                    ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.3
116`,e+=`pct-encoded         = "%" HEXDIG HEXDIG
117`,e+=`                    ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.1
118`,e+=`sub-delims          = "!" / "$" / "&" / "'" / "(" / ")"
119`,e+=`                    / "*" / "+" / "," / ";" / "="
120`,e+=`                    ; https://datatracker.ietf.org/doc/html/rfc3986#section-2.2
121`,e+=`
122`,e+=`; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1
123`,e+=`ALPHA               = %x41-5A / %x61-7A   ; A-Z / a-z
124`,e+=`DIGIT               = %x30-39            ; 0-9
125`,e+=`HEXDIG              = DIGIT / "A" / "B" / "C" / "D" / "E" / "F"
126`,e}}const iae=(t,e,r,n,s)=>(t===vt.SEM_PRE&&s.push(["slash",Sn.charsToString(e,r,n)]),vt.SEM_OK),aae=(t,e,r,n,s)=>{if(t===vt.SEM_PRE){if(Array.isArray(s)===!1)throw new Error("parser's user data must be an array");s.push(["path-template",Sn.charsToString(e,r,n)])}return vt.SEM_OK},oae=(t,e,r,n,s)=>(t===vt.SEM_PRE&&s.push(["path-literal",Sn.charsToString(e,r,n)]),vt.SEM_OK),uae=(t,e,r,n,s)=>(t===vt.SEM_PRE&&s.push(["template-expression",Sn.charsToString(e,r,n)]),vt.SEM_OK),lae=(t,e,r,n,s)=>(t===vt.SEM_PRE&&s.push(["template-expression-param-name",Sn.charsToString(e,r,n)]),vt.SEM_OK),cae=new N$,fae=t=>{const e=new $n;return e.ast=new zw,e.ast.callbacks["path-template"]=aae,e.ast.callbacks.slash=iae,e.ast.callbacks["path-literal"]=oae,e.ast.callbacks["template-expression"]=uae,e.ast.callbacks["template-expression-param-name"]=lae,{result:e.parse(cae,"path-template",t),ast:e.ast}},pae=t=>{try{return typeof t=="string"&&decodeURIComponent(t)!==t}catch{return!1}},dae=t=>pae(t)?t:encodeURIComponent(t).replace(/%5B/g,"[").replace(/%5D/g,"]"),hae=["slash","path-literal","template-expression-param-name"],p1=(t,e,r={})=>{const s={...{encoder:dae},...r},i=fae(t);if(!i.result.success)return t;const a=[];return i.ast.translate(a),a.filter(([u])=>hae.includes(u)).map(([u,l])=>u==="template-expression-param-name"?Object.prototype.hasOwnProperty.call(e,l)?s.encoder(e[l],l):`{${l}}`:l).join("")};new N$;new $n;const mae={body:gae,header:vae,query:Eae,path:bae,formData:yae};function gae({req:t,value:e}){e!==void 0&&(t.body=e)}function yae({req:t,value:e,parameter:r}){if(e===!1&&r.type==="boolean"&&(e="false"),e===0&&["number","integer"].indexOf(r.type)>-1&&(e="0"),e)t.form=t.form||{},t.form[r.name]={collectionFormat:r.collectionFormat,value:e};else if(r.allowEmptyValue&&e!==void 0){t.form=t.form||{};const n=r.name;t.form[n]=t.form[n]||{},t.form[n].allowEmptyValue=!0}}function vae({req:t,parameter:e,value:r}){t.headers=t.headers||{},typeof r<"u"&&(t.headers[e.name]=r)}function bae({req:t,value:e,parameter:r,baseURL:n}
126){if(e!==void 0){const s=t.url.replace(n,""),i=p1(s,{[r.name]:e});t.url=n+i}}function Eae({req:t,value:e,parameter:r}){if(t.query=t.query||{},e===!1&&r.type==="boolean"&&(e="false"),e===0&&["number","integer"].indexOf(r.type)>-1&&(e="0"),e)t.query[r.name]={collectionFormat:r.collectionFormat,value:e};else if(r.allowEmptyValue&&e!==void 0){const n=r.name;t.query[n]=t.query[n]||{},t.query[n].allowEmptyValue=!0}}function Cp(t,e){return e.includes("application/json")?typeof t=="string"?t:(Array.isArray(t)&&(t=t.map(r=>{try{return JSON.parse(r)}catch{return r}})),JSON.stringify(t)):String(t)}function Ol(){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]}
126,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]}
126,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 e="";return e+=`; Lenient version of https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1
127`,e+=`lenient-cookie-string        = lenient-cookie-entry *( ";" OWS lenient-cookie-entry )
128`,e+=`lenient-cookie-entry         = lenient-cookie-pair / lenient-cookie-pair-invalid
129`,e+=`lenient-cookie-pair          = OWS lenient-cookie-name OWS "=" OWS lenient-cookie-value OWS
130`,e+=`lenient-cookie-pair-invalid  = OWS 1*tchar OWS ; Allow for standalone entries like "fizz" to be ignored
131`,e+=`lenient-cookie-name          = 1*( %x21-3A / %x3C / %x3E-7E ) ; Allow all printable US-ASCII except "="
132`,e+=`lenient-cookie-value         = lenient-quoted-value [ *lenient-cookie-octet ] / *lenient-cookie-octet
133`,e+=`lenient-quoted-value         = DQUOTE *( lenient-quoted-char ) DQUOTE
134`,e+=`lenient-quoted-char          = %x20-21 / %x23-7E ; Allow all printable US-ASCII except DQUOTE
135`,e+=`lenient-cookie-octet         = %x21-2B / %x2D-3A / %x3C-7E
136`,e+=`                             ; Allow all printable characters except CTLs, semicolon and SP
137`,e+=`
138`,e+=`; https://datatracker.ietf.org/doc/html/rfc6265#section-4.2.1
139`,e+=`cookie-string     = cookie-pair *( ";
139" SP cookie-pair )
140`,e+=`
141`,e+=`; https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.1
142`,e+=`; https://www.rfc-editor.org/errata/eid5518
143`,e+=`cookie-pair       = cookie-name "=" cookie-value
144`,e+=`cookie-name       = token
145`,e+=`cookie-value      = ( DQUOTE *cookie-octet DQUOTE ) / *cookie-octet
146`,e+=`                  ; https://www.rfc-editor.org/errata/eid8242
147`,e+=`cookie-octet      = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E
148`,e+=`                       ; US-ASCII characters excluding CTLs,
149`,e+=`                       ; whitespace, DQUOTE, comma, semicolon,
150`,e+=`                       ; and backslash
151`,e+=`
152`,e+=`; https://datatracker.ietf.org/doc/html/rfc6265#section-2.2
153`,e+=`OWS            = *( [ CRLF ] WSP ) ; "optional" whitespace
154`,e+=`
155`,e+=`; https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.2
156`,e+=`token          = 1*(tchar)
157`,e+=`tchar          = "!" / "#" / "$" / "%" / "&" / "'" / "*"
158`,e+='                 / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"\n',e+=`                 / DIGIT / ALPHA
159`,e+=`                 ; any VCHAR, except delimiters
160`,e+=`
161`,e+=`; https://datatracker.ietf.org/doc/html/rfc2616#section-2.2
162`,e+=`CHAR           = %x01-7F ; any US-ASCII character (octets 0 - 127)
163`,e+=`CTL            = %x00-1F / %x7F ; any US-ASCII control character
164`,e+=`separators     = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" / "\\" / %x22 / "/" / "[" / "]" / "?" / "=" / "{" / "}" / SP / HT
165`,e+=`SP             = %x20 ; US-ASCII SP, space (32)
166`,e+=`HT             = %x09 ; US-ASCII HT, horizontal-tab (9)
167`,e+=`
168`,e+=`; https://datatracker.ietf.org/doc/html/rfc5234#appendix-B.1
169`,e+=`ALPHA          =  %x41-5A / %x61-7A ; A-Z / a-z
170`,e+=`DIGIT          =  %x30-39 ; 0-9
171`,e+=`DQUOTE         =  %x22 ; " (Double Quote)
172`,e+=`WSP            =  SP / HTAB ; white space
173`,e+=`HTAB           =  %x09 ; horizontal tab
174`,e+=`CRLF           =  CR LF ; Internet standard newline
175`,e+=`CR             =  %x0D ; carriage return
176`,e+=`LF             =  %x0A ; linefeed
177`,e}}new Ol;const Sae=t=>{if(typeof t!="string"||[...t].length!==1)throw new TypeError("Input must be a single character string.");const e=t.codePointAt(0);return e<=127?`%${e.toString(16).toUpperCase().padStart(2,"0")}`:encodeURIComponent(t)},_ae=t=>t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/g,""),Rp=t=>t.length>=2&&t.startsWith('"')&&t.endsWith('"'),M$=t=>Rp(t)?t.slice(1,-1):t,D$=t=>`"${t}"`,F$=t=>t,wae=new $n,xae=new Ol,Fx=(t,{strict:e=!0,quoted:r=null}={})=>{try{const n=e?"cookie-value":"lenient-cookie-value",s=wae.parse(xae,n,t);return typeof r=="boolean"?s.success&&r===Rp(t):s.success}catch{return!1}},q$=t=>{const r=new TextEncoder().encode(t).reduce((n,s)=>n+String.fromCharCode(s),"");return btoa(r)},Aae=(t,e=q$)=>{const r=String(t);if(Fx(r))return r;const n=Rp(r),s=n?M$(r):r,i=e(s);return n?D$(i):i},Oae=t=>_ae(q$(t)),Cae=t=>Aae(t,Oae),Rae=new $n,Iae=new Ol,B$=(t,{strict:e=!0}={})=>{try{const r=e?"cookie-name":"lenient-cookie-name";return Rae.parse(Iae,r,t).success}catch{return!1}},Tae=t=>{if(!B$(t))throw new TypeError(`Invalid cookie name: ${t}`)},L$=t=>{if(!Fx(t))throw new TypeError(`Invalid cookie value: ${t}`)},jM={encoders:{name:F$,value:Cae},validators:{name:Tae,value:L$}},kae=(t,e,r={})=>{const n={...r,encoders:{...jM.encoders,...r.encoders},validators:{...jM.validators,...r.validators}},s=n.encoders.name(t),i=n.encoders.value(e);return n.validators.name(s),n.validators.value(i),`${s}=${i}`},Pae=(t,e={})=>(Array.isArray(t)?t:typeof t=="object"&&t!==null?Object.entries(t):[]).map(([n,s])=>kae(n,s,e)).join("; "),jae=new $n,Nae=new Ol,Mae=t=>{const e=String(t);if(Fx(e))return e;const r=Rp(e),n=r?M$(e):e;let s="";for(const i of n)s+=jae.parse(Nae,"cookie-octet",i).success?i:Sae(i);return r?D$(s):s};new $n;new Ol;const Dae=t=>{if(!B$(t,{strict:!1}))throw new TypeError(`Invalid cookie name: ${t}`)},Fae="%3D",qae="%26",Bae=t=>Mae(t).replace(/[=&]/gu,e=>e==="="?Fae:qae),d1=(t,e={})=>Pae(t,kf({encoders:{name:F$,value:Bae},validators:{name:Dae,value:L$}},e));function Lae({req:t,value:e,parameter:r,baseURL:n}){const{name:s,style:i,explode:a,content:o}=r;if(e===void 0)return;const u=t.url.replace(n,"");let l;if(o){const c=Object.keys(o)[0];l=p1(u,{[s]:e},{encoder:p=>ML(Cp(p,c))})}else l=p1(u,{[s]:e},{encoder:c=>
177qw({key:r.name,value:c,style:i||"simple",explode:a??!1,escape:"reserved"})});t.url=n+l}function $ae({req:t,value:e,parameter:r}){if(t.query=t.query||{},e!==void 0&&r.content){const n=Object.keys(r.content)[0],s=Cp(e,n);if(s)t.query[r.name]=s;else if(r.allowEmptyValue){const i=r.name;t.query[i]=t.query[i]||{},t.query[i].allowEmptyValue=!0}return}if(e===!1&&(e="false"),e===0&&(e="0"),e){const{style:n,explode:s,allowReserved:i}=r;t.query[r.name]={value:e,serializationOption:{style:n,explode:s,allowReserved:i}}}else if(r.allowEmptyValue&&e!==void 0){const n=r.name;t.query[n]=t.query[n]||{},t.query[n].allowEmptyValue=!0}}const Uae=["accept","authorization","content-type"];function Vae({req:t,parameter:e,value:r}){if(t.headers=t.headers||{},!(Uae.indexOf(e.name.toLowerCase())>-1)){if(r!==void 0&&e.content){const n=Object.keys(e.content)[0];t.headers[e.name]=Cp(r,n);return}r!==void 0&&!(Array.isArray(r)&&r.length===0)&&(t.headers[e.name]=qw({key:e.name,value:r,style:e.style||"simple",explode:typeof e.explode>"u"?!1:e.explode,escape:!1}))}}function zae({req:t,parameter:e,value:r}){const{name:n}=e;if(t.headers=t.headers||{},r!==void 0&&e.content){const i=Object.keys(e.content)[0],a=Cp(r,i);t.headers.Cookie=d1({[n]:a});return}if(r!==void 0&&!(Array.isArray(r)&&r.length===0)){var s;const i=qw({key:e.name,value:r,escape:!1,style:e.style||"form",explode:(s=e.explode)!==null&&s!==void 0?s:!1}),a=Array.isArray(r)&&e.explode?`${n}=${i}`:i;t.headers.Cookie=d1({[n]:a})}}const Wae=Object.freeze(Object.defineProperty({__proto__:null,cookie:zae,header:Vae,path:Lae,query:$ae},Symbol.toStringTag,{value:"Module"})),Jae=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,{btoa:$$}=Jae;function Hae(t,e){const{operation:r,requestBody:n,securities:s,spec:i,attachContentTypeForEmptyPayload:a}=t;let{requestContentType:o}=t;e=Kae({request:e,securities:s,operation:r,spec:i});const u=r.requestBody||{},l=Object.keys(u.content||{}),c=o&&l.indexOf(o)>-1;if(n||a){if(o&&c)e.headers["Content-Type"]=o;else if(!o){const y=l[0];y&&(e.headers["Content-Type"]=y,o=y)}}else o&&c&&(e.headers["Content-Type"]=o);if(!t.responseContentType&&r.responses){const y=Object.entries(r.responses).filter(([v,E])=>{const b=parseInt(v,10);return b>=200&&b<300&&rs(E.content)}).reduce((v,[,E])=>v.concat(Object.keys(E.content)),[]);y.length>0&&(e.headers.accept=y.join(", "))}if(n)if(o){if(l.indexOf(o)>-1)if(o==="application/x-www-form-urlencoded"||o==="multipart/form-data")if(typeof n=="object"){var p,m;const y=(p=(m=u.content[o])===null||m===void 0?void 0:m.encoding)!==null&&p!==void 0?p:{};e.form={},Object.keys(n).forEach(v=>{let E;try{E=JSON.parse(n[v])}catch{E=n[v]}e.form[v]={value:E,encoding:y[v]||{}}})}else if(typeof n=="string"){var d,g;const y=(d=(g=u.content[o])===null||g===void 0?void 0:g.encoding)!==null&&d!==void 0?d:{};try{e.form={};const v=JSON.parse(n);Object.entries(v).forEach(([E,b])=>{e.form[E]={value:b,encoding:y[E]||{}}})}catch{e.form=n}}else e.form=n;else e.body=n}else e.body=n;return e}function Kae({request:t,securities:e={},operation:r={},spec:n}){var s;const i={...t},{authorized:a={}}=e,o=r.security||n.security||[],u=a&&!!Object.keys(a).length,l=(n==null||(s=n.components)===null||s===void 0?void 0:s.securitySchemes)||{};return i.headers=i.headers||{},i.query=i.query||{},!Object.keys(e).length||!u||!o||Array.isArray(r.security)&&!r.security.length?t:(o.forEach(c=>{Object.keys(c).forEach(p=>{const m=a[p],d=l[p];if(!m)return;const g=m.value||m,{type:y}=d;if(m){if(y==="apiKey")d.in==="query"&&(i.query[d.name]=g),d.in==="header"&&(i.headers[d.name]=g),d.in==="cookie"&&(i.cookies[d.name]=g);else if(y==="http"){if(/^basic$/i.test(d.scheme)){const v=g.username||"",E=g.password||"",b=$$(`${v}:${E}`);i.headers.Authorization=`Basic ${b}`}/^bearer$/i.test(d.scheme)&&(i.headers.Authorization=`Bearer ${g}`)}else if(y==="oauth2"||y==="openIdConnect"){const v=m.token||{},E=d["x-tokenName"]||"access_token",b=v[E];let _=v.token_type;(!_||_.toLowerCase()==="bearer")&&(_="Bearer"),i.headers.Authorization=`${_} ${b}`}}})}),i)}function Gae(t,e){const{spec:r,operation:n,securities:s,requestContentType:i,responseContentType:a,attachContentTypeForEmptyPayload:o}=t;if(e=Yae({request:e,securities:s,operation:n,spec:r}),e.body||e.form||o)i?e.headers["Content-Type"]=i:Array.isArray(n.consumes)?[e.headers["Content-Type"]]=n.consumes:Array.isArray(r.consumes)?[e.headers["Content-Type"]]=r.consumes:n.parameters&&n.parameters.filter(u=>u.type==="file").length?e.headers["Content-Type"]="multipart/form-data":n.parameters&&n.parameters.filter(u=>u.in==="formData").length&&(e.headers["Content-Type"]="application/x-www-form-urlencoded");else if(i){const u=n.parameters&&n.parameters.filter(c=>c.in==="body").length>0,l=n.parameters&&n.parameters.filter(c=>c.in==="formData").length>0;(u||l)&&(e.headers["Content-Type"]=i)}return!a&&Array.isArray(n.produces)&&n.produces.length>0&&(e.headers.accept=n.produces.join(", ")),e}function Yae({request:t,securities:e={},operation:r={},spec:n}){const s={...t},{authorized:i={},specSecurity:a=[]}=e,o=r.security||a,u=i&&!!Object.keys(i).length,l=n.securityDefinitions;return s.headers=s.headers||{},s.query=s.query||{},!Object.keys(e).length||!u||!o||Array.isArray(r.security)&&!r.security.length?t:(o.forEac
177h(c=>{Object.keys(c).forEach(p=>{const m=i[p];if(!m)return;const{token:d}=m,g=m.value||m,y=l[p],{type:v}=y,E=y["x-tokenName"]||"access_token",b=d&&d[E];let _=d&&d.token_type;if(m)if(v==="apiKey"){const w=y.in==="query"?"query":"headers";s[w]=s[w]||{},s[w][y.name]=g}else if(v==="basic")if(g.header)s.headers.authorization=g.header;else{const w=g.username||"",S=g.password||"";g.base64=$$(`${w}:${S}`),s.headers.authorization=`Basic ${g.base64}`}else v==="oauth2"&&b&&(_=!_||_.toLowerCase()==="bearer"?"Bearer":_,s.headers.authorization=`${_} ${b}`)})}),s)}function Xae(t,e,r){if(!t||typeof t!="object"||!t.paths||typeof t.paths!="object")return null;const{paths:n}=t;for(const s in n)for(const i in n[s]){if(i.toUpperCase()==="PARAMETERS")continue;const a=n[s][i];if(!a||typeof a!="object")continue;const o={spec:t,pathName:s,method:i.toUpperCase(),operation:a};if(e(o))return o}}function Zae(t,e){return Xae(t,e)||null}function U$(t,e){return`${e.toLowerCase()}-${t}`}function Qae(t,e){return!t||!t.paths?null:Zae(t,({pathName:r,method:n,operation:s})=>{if(!s||typeof s!="object")return!1;const i=s.operationId,a=Uf(s,r,n),o=U$(r,n);return[a,o,i].some(u=>u&&u===e)})}const NM=t=>Array.isArray(t)?t:[],Xo=(t,{recurse:e=!0,depth:r=1}={})=>{if(rs(t)){if(t.type==="object"||t.type==="array"||Array.isArray(t.type)&&(t.type.includes("object")||t.type.includes("array")))return t;if(!(r>AL)&&e){const n=Array.isArray(t.oneOf)?t.oneOf.find(i=>Xo(i,{recurse:e,depth:r+1})):void 0;if(n)return n;const s=Array.isArray(t.anyOf)?t.anyOf.find(i=>Xo(i,{recurse:e,depth:r+1})):void 0;if(s)return s}}},VE=({value:t,silentFail:e=!1})=>{try{const r=JSON.parse(t);if(rs(r)||Array.isArray(r))return r;if(!e)throw new Error("Expected JSON serialized object or array")}catch{if(!e)throw new Error("Could not parse parameter value string as JSON Object or JSON Array")}return t},Oc=t=>{try{return new URL(t)}catch{const e=new URL(t,Xc),r=String(t).startsWith("/")?e.pathname:e.pathname.substring(1);return{hash:e.hash,host:"",hostname:"",href:"",origin:"",password:"",pathname:r,port:"",protocol:"",search:e.search,searchParams:e.searchParams}}};class eoe extends xs{}const toe=(t,e)=>e.filter(r=>r.name===t),roe=t=>{const e={};t.forEach(n=>{e[n.in]||(e[n.in]={}),e[n.in][n.name]=n});const r=[];return Object.keys(e).forEach(n=>{Object.keys(e[n]).forEach(s=>{r.push(e[n][s])})}),r},noe={buildRequest:V$};function soe({http:t,fetch:e,spec:r,operationId:n,pathName:s,method:i,parameters:a,securities:o,...u}){const l=t||e||ou;s&&i&&!n&&(n=U$(s,i));const c=noe.buildRequest({spec:r,operationId:n,parameters:a,securities:o,http:l,...u});return c.body&&(rs(c.body)||Array.isArray(c.body))&&(c.body=JSON.stringify(c.body)),l(c)}function V$(t){const{spec:e,operationId:r,responseContentType:n,scheme:s,requestInterceptor:i,responseInterceptor:a,contextUrl:o,userFetch:u,server:l,serverVariables:c,http:p,signal:m,serverVariableEncoder:d}=t;let{parameters:g,parameterBuilders:y,baseURL:v}=t;const E=UL(e);y||(E?y=Wae:y=mae);let _={url:"",credentials:p&&p.withCredentials?"include":"same-origin",headers:{},cookies:{}};m&&(_.signal=m),i&&(_.requestInterceptor=i),a&&(_.responseInterceptor=a),u&&(_.userFetch=u);const w=Qae(e,r);if(!w)throw new eoe(`Operation ${r} not found`);const{operation:S={},method:A,pathName:I}=w;if(v=v??ioe({spec:e,scheme:s,contextUrl:o,server:l,serverVariables:c,pathName:I,method:A,serverVariableEncoder:d}),_.url+=v,!r)return delete _.cookies,_;_.url+=I,_.method=`${A}`.toUpperCase(),g=g||{};const k=e.paths[I]||{};n&&(_.headers.accept=n);const P=roe([].concat(NM(S.parameters)).concat(NM(k.parameters)));P.forEach(R=>{const L=y[R.in];let M;if(R.in==="body"&&R.schema&&R.schema.properties&&(M=g),M=R&&R.name&&g[R.name],typeof M>"u"?M=R&&R.name&&g[`${R.in}.${R.name}`]:toe(R.name,P).length>1&&console.warn(`Parameter '${R.name}' is ambiguous because the defined spec has more than one parameter with the name: '${R.name}' and the passed-in parameter values did not define an 'in' value.`),M!==null){if(typeof R.default<"u"&&typeof M>"u"&&(M=R.default),typeof M>"u"&&R.required&&!R.allowEmptyValue)throw new Error(`Required parameter ${R.name} is not provided`);
177E&&typeof M=="string"&&(Ko("type",R.schema)&&typeof R.schema.type=="string"&&Xo(R.schema,{recurse:!1})?M=VE({value:M,silentFail:!1}):Ko("type",R.schema)&&Array.isArray(R.schema.type)&&Xo(R.schema,{recurse:!1})?M=VE({value:M,silentFail:!0}):!Ko("type",R.schema)&&Xo(R.schema,{recurse:!0})&&(M=VE({value:M,silentFail:!0}))),L&&L({req:_,parameter:R,value:M,operation:S,spec:e,baseURL:v})}});const F={...t,operation:S};if(E?_=Hae(F,_):_=Gae(F,_),_.cookies&&Object.keys(_.cookies).length>0){const R=d1(_.cookies);Nf(_.headers.Cookie)?_.headers.Cookie+=`; ${R}`:_.headers.Cookie=R}return _.cookies&&delete _.cookies,Bw(_)}const h1=t=>t?t.replace(/\W/g,""):null;function ioe(t){return UL(t.spec)?aoe(t):uoe(t)}const zE=t=>Array.isArray(t)&&t.length>0;function aoe({spec:t,pathName:e,method:r,server:n,contextUrl:s,serverVariables:i={},serverVariableEncoder:a}){var o,u;let l=[],c="",p;const m=t==null||(o=t.paths)===null||o===void 0||(o=o[e])===null||o===void 0||(o=o[(r||"").toLowerCase()])===null||o===void 0?void 0:o.servers,d=t==null||(u=t.paths)===null||u===void 0||(u=u[e])===null||u===void 0?void 0:u.servers,g=t?.servers;if(l=zE(m)?m:zE(d)?d:zE(g)?g:[eQ],n&&(p=l.find(y=>y.url===n),p&&(c=n)),c||([p]=l,c=p.url),eae(c,{strict:!0})){const y=Object.entries({...p.variables}).reduce((v,[E,b])=>(v[E]=b.default,v),{});c=sae(c,{...y,...i},{encoder:typeof a=="function"?a:_B})}return ooe(c,s)}function ooe(t="",e=""){const r=Oc(t&&e?Nr(e,t):t),n=Oc(e),s=h1(r.protocol)||h1(n.protocol),i=r.host||n.host,a=r.pathname;let o;return s&&i?o=`${s}://${i+a}`:o=a,o[o.length-1]==="/"?o.slice(0,-1):o}function uoe({spec:t,scheme:e,contextUrl:r=""}){const n=Oc(r),s=Array.isArray(t.schemes)?t.schemes[0]:null,i=e||s||h1(n.protocol)||"http",a=t.host||n.host||"",o=t.basePath||"";let u;return a?u=`${i}://${a+o}`:u=o,u[u.length-1]==="/"?u.slice(0,-1):u}const loe=async(t,e,r={})=>{const{returnEntireTree:n,baseDoc:s,requestInterceptor:i,responseInterceptor:a,parameterMacro:o,modelPropertyMacro:u,useCircularStructures:l,strategies:c}=r,p={spec:t,pathDiscriminator:e,baseDoc:s,requestInterceptor:i,responseInterceptor:a,parameterMacro:o,modelPropertyMacro:u,useCircularStructures:l,strategies:c},d=c.find(y=>y.match(t)).normalize(t),g=await Hie({spec:d,...p,allowMetaPatches:!0,skipNormalization:!Vw(t)});return!n&&Array.isArray(e)&&e.length&&(g.spec=e.reduce((y,v)=>y?.[v],g.spec)||null),g},coe=t=>async(e,r,n={})=>{const s={...t,...n};return loe(e,r,s)};var foe=xu();const poe=ut(foe);function MM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function Fa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?MM(Object(r),!0).forEach(function(n){S3(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):MM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function doe(t){var e=t.length;if(e===0||e===1)return t;if(e===2)return[t[0],t[1],"".concat(t[0],".").concat(t[1]),"".concat(t[1],".").concat(t[0])];if(e===3)return[t[0],t[1],t[2],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0])];if(e>=4)return[t[0],t[1],t[2],t[3],"".concat(t[0],".").concat(t[1]),"".concat(t[0],".").concat(t[2]),"".concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[0]),"".concat(t[1],".").concat(t[2]),"".concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[1]),"".concat(t[2],".").concat(t[3]),"".concat(t[3],".").concat(t[0]),"".concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[0]),"".concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[0],".").concat(t[1],".").concat(t[2],".").concat(t[3]),"".concat(t[0],".").concat(t[1],".").concat(t[3],".").concat(t[2]),"".concat(t[0],".").concat(t[2],".").concat(t[1],".").concat(t[3]),"".concat(t[0],".").concat(t[2],".").concat(t[3],".").concat(t[1]),"".concat(t[0],".").concat(t[3],".").concat(t[1],".").concat(t[2]),"".concat(t[0],".").concat(t[3],".").concat(t[2],".").concat(t[1]),"".concat(t[1],".").concat(t[0],".").concat(t[2],".").concat(t[3]),"".concat(t[1],".").concat(t[0],".").concat(t[3],".").concat(t[2]),"".concat(t[1],".").concat(t[2],".").concat(t[0],".").concat(t[3]),"".concat(t[1],".").concat(t[2],".").concat(t[3],".").concat(t[0]),"".concat(t[1],".").concat(t[3],".").concat(t[0],".").concat(t[2]),"".concat(t[1],".").concat(t[3],".").concat(t[2],".").concat(t[0]),"".concat(t[2],".").concat(t[0],".").concat(t[1],".").concat(t[3]),"".concat(t[2],".").concat(t[0],".").concat(t[3],".").concat(t[1]),"".concat(t[2],".").concat(t[1],".").concat(t[0],".").concat(t[3]),"".concat(t[2],".").concat(t[1],".").concat(t[3],".").concat(t[0]),"".concat(t[2],".").concat(t[3],".").concat(t[0],".").concat(t[1]),"".concat(t[2],".").concat(t[3],".").concat(t[1],".").concat(t[0]),"".concat(t[3],".").concat(t[0],".").concat(t[1],".").concat(t[2]),"".concat(t[3],".").concat(t[0],".").concat(t[2],".").concat(t[1]),"".concat(t[3],".").concat(t[1],".").concat(t[0],".").concat(t[2]),"".concat(t[3],".").concat(t[1],".").concat(t[2],".").concat(t[0]),"".concat(t[3],".").concat(t[2],".").concat(t[0],".").concat(t[1]),"".concat(t[3],".").concat(t[2],".").concat(t[1],".").concat(t[0])]}var WE={};function hoe(t){if(t.length===0||t.length===1)return t;var e=t.join(".");return WE[e]||(WE[e]=doe(t)),WE[e]}function moe(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.filter(function(i){return i!=="token"}),s=hoe(n);return s.reduce(function(i,a){return Fa(Fa({},i),r[a])},e)}function DM(t){return t.join(" ")}function goe(t,e){var r=0;return function(n){return r+=1,n.map(function(s,i){return z$({node:s,stylesheet:t,useInlineStyles:e,key:"code-segment-".concat(r,"-").concat(i)})})}}function z$(t){var e=t.node,r=t.stylesheet,n=t.style,s=n===void 0?{}:n,i=t.useInlineStyles,a=t.key,o=e.properties,u=e.type,l=e.tagName,c=e.value;if(u==="text")return c;if(l){var p=goe(r,i),m;if(!i)m=Fa(Fa({},o),{},{className:DM(o.className)});else{var d=Object.keys(r).reduce(function(E,b){return b.split(".").forEach(function(_){E.includes(_)||E.push(_)}),E},[]),g=o.className&&o.className.includes("token")?["token"]:[],y=o.className&&g.concat(o.className.filter(function(E){return!d.includes(E)}));m=Fa(Fa({},o),{},{className:DM(y)||void 0,style:moe(o.className,Object.assign({},o.style,s),r)})}var v=p(e.children);return Xn.createElement(l,CU({key:a},m),v)}}const yoe=(function(t,e){var r=t.listLanguages();return r.indexOf(e)!==-1});var voe=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"];function FM(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),r.push.apply(r,n)}return r}function bi(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};
vendor: 5,445 bytes, lines 177-181
177e%2?FM(Object(r),!0).forEach(function(n){S3(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):FM(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var boe=/\n/g;function Eoe(t){return t.match(boe)}function Soe(t){var e=t.lines,r=t.startingLineNumber,n=t.style;return e.map(function(s,i){var a=i+r;return Xn.createElement("span",{key:"line-".concat(i),className:"react-syntax-highlighter-line-number",style:typeof n=="function"?n(a):n},"".concat(a,`
178`))})}function _oe(t){var e=t.codeString,r=t.codeStyle,n=t.containerStyle,s=n===void 0?{float:"left",paddingRight:"10px"}:n,i=t.numberStyle,a=i===void 0?{}:i,o=t.startingLineNumber;return Xn.createElement("code",{style:Object.assign({},r,s)},Soe({lines:e.replace(/\n$/,"").split(`
179`),style:a,startingLineNumber:o}))}function woe(t){return"".concat(t.toString().length,".25em")}function W$(t,e){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(t),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:e},children:[{type:"text",value:t}]}}function J$(t,e,r){var n={display:"inline-block",minWidth:woe(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},s=typeof t=="function"?t(e):t,i=bi(bi({},n),s);return i}function Cc(t){var e=t.children,r=t.lineNumber,n=t.lineNumberStyle,s=t.largestLineNumber,i=t.showInlineLineNumbers,a=t.lineProps,o=a===void 0?{}:a,u=t.className,l=u===void 0?[]:u,c=t.showLineNumbers,p=t.wrapLongLines,m=t.wrapLines,d=m===void 0?!1:m,g=d?bi({},typeof o=="function"?o(r):o):{};if(g.className=g.className?[].concat(BS(g.className.trim().split(/\s+/)),BS(l)):l,r&&i){var y=J$(n,r,s);e.unshift(W$(r,y))}return p&c&&(g.style=bi({display:"flex"},g.style)),{type:"element",tagName:"span",properties:g,children:e}}function H$(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];t.length===void 0&&(t=[t]);for(var n=0;n<t.length;n++){var s=t[n];if(s.type==="text")r.push(Cc({children:[s],className:BS(new Set(e))}));else if(s.children){var i,a=e.concat(((i=s.properties)===null||i===void 0?void 0:i.className)||[]);H$(s.children,a).forEach(function(o){return r.push(o)})}}return r}function xoe(t,e,r,n,s,i,a,o,u){var l,c=H$(t.value),p=[],m=-1,d=0;function g(S,A){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Cc({children:S,lineNumber:A,lineNumberStyle:o,largestLineNumber:a,showInlineLineNumbers:s,lineProps:r,className:I,showLineNumbers:n,wrapLongLines:u,wrapLines:e})}function y(S,A){if(n&&A&&s){var I=J$(o,A,a);S.unshift(W$(A,I))}return S}function v(S,A){var I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return e||I.length>0?g(S,A,I):y(S,A)}for(var E=function(){var A=c[d],I=A.children[0].value,k=Eoe(I);if(k){var P=I.split(`
180`);P.forEach(function(F,R){var L=n&&p.length+i,M={type:"text",value:"".concat(F,`
181`)};if(R===0){var G=c.slice(m+1,d).concat(Cc({children:[M],className:A.properties.className})),re=v(G,L);p.push(re)}else if(R===P.length-1){var K=c[d+1]&&c[d+1].children&&c[d+1].children[0],Z={type:"text",value:"".concat(F)};if(K){var X=Cc({children:[Z],className:A.properties.className});c.splice(d+1,0,X)}else{var ee=[Z],ce=v(ee,L,A.properties.className);p.push(ce)}}else{var se=[M],ue=v(se,L,A.properties.className);p.push(ue)}}),m=d}d++};d<c.length;)E();if(m!==c.length-1){var b=c.slice(m+1,c.length);if(b&&b.length){var _=n&&p.length+i,w=v(b,_);p.push(w)}}return e?p:(l=[]).concat.apply(l,p)}function Aoe(t){var e=t.rows,r=t.stylesheet,n=t.useInlineStyles;return e.map(function(s,i){return z$({node:s,stylesheet:r,useInlineStyles:n,key:"code-segment-".concat(i)})})}function K$(t){return t&&typeof t.highlightAuto<"u"}function Ooe(t){var e=t.astGenerator,r=t.language,n=t.code,s=t.defaultCodeValue;if(K$(e)){var i=yoe(e,r);return r==="text"?{value:s,language:"text"}:i?e.highlight(r,n):e.highlightAuto(n)}try{return r&&r!=="text"?{value:e.highlight(n,r)}:{value:s}}catch{return{value:s}}}function Coe(t,e){return function(n){var s,i,a=n.language,o=n.children,u=n.style,l=u===void 0?e:u,c=n.customStyle,p=c===void 0?{}:c,m=n.codeTagProps,d=m===void 0?{className:a?"language-".concat(a):void 0,style:bi(bi({},l['code[class*="language-"]']),l['code[class*="language-'.concat(a,'"]')])}:m,g=n.useInlineStyles,y=g===void 0?!0:g,v=n.showLineNumbers,E=v===void 0?!1:v,b=n.showInlineLineNumbers,_=b===void 0?!0:b,w=n.startingLineNumber,S=w===void 0?1:w,A=n.lineNumberContainerStyle,I=n.lineNumberStyle,k=I===void 0?{}:I,P=n.wrapLines,F=n.wrapLongLines,R=F===void 0?!1:F,L=n.lineProps,M=L===void 0?{}:L,G=n.renderer,re=n.PreTag,K=re===void 0?"pre":re,Z=n.CodeTag,X=Z===void 0?"code":Z,ee=n.code,ce=ee===void 0?(Array.isArray(o)?o[0]:o)||"":ee,se=n.astGenerator,ue=WU(n,voe);se=se||t;var ye=E?Xn.createElement(_oe,{containerStyle:A,codeStyle:d.style||{},numberStyle:k,startingLineNumber:S,codeString:ce}):null,he=l.hljs||l['pre[class*="language-"]']||{backgroundColor:"#fff"},te=K$(se)?"hljs":"prismjs",W=y?Object.assign({},ue,{style:Object.assign({},he,p)}):Object.assign({},ue,{className:ue.className?"".concat(te," ").concat(ue.className):te,style:Object.assign({},p)});if(R?d.style=bi({whiteSpace:"pre-wrap"},d.style):d.style=bi({whiteSpace:"pre"},d.style),!se)return Xn.createElement(K,W,ye,Xn.createElement(X,d,ce));(P===void 0&&G||R)&&(P=!0),G=G||Aoe;var V=[{type:"text",value:ce}
181],me=Ooe({astGenerator:se,language:a,code:ce,defaultCodeValue:V});me.language===null&&(me.value=V);var ve=(s=(i=ce.match(/\n/g))===null||i===void 0?void 0:i.length)!==null&&s!==void 0?s:0,Me=S+ve,Be=xoe(me,P,M,E,_,S,Me,k,R);return Xn.createElement(K,W,Xn.createElement(X,d,!_&&ye,G({rows:Be,stylesheet:l,useInlineStyles:y})))}}var Li={},JE,qM;function Roe(){if(qM)return JE;qM=1;function t(ae){return ae instanceof Map?ae.clear=ae.delete=ae.set=function(){throw new Error("map is read-only")}:ae instanceof Set&&(ae.add=ae.clear=ae.delete=function(){throw new Error("set is read-only")}),Object.freeze(ae),Object.getOwnPropertyNames(ae).forEach(function(Ce){var je=ae[Ce];typeof je=="object"&&!Object.isFrozen(je)&&t(je)}),ae}var e=t,r=t;e.default=r;class n{constructor(Ce){Ce.data===void 0&&(Ce.data={}),this.data=Ce.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function s(ae){return ae.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function i(ae,...Ce){const je=Object.create(null);for(const tt in ae)je[tt]=ae[tt];return Ce.forEach(function(tt){for(const pt in tt)je[pt]=tt[pt]}),je}const a="</span>",o=ae=>!!ae.kind;class u{constructor(Ce,je){this.buffer="",this.classPrefix=je.classPrefix,Ce.walk(this)}addText(Ce){this.buffer+=s(Ce)}openNode(Ce){if(!o(Ce))return;let je=Ce.kind;Ce.sublanguage||(je=`${this.classPrefix}${je}`),this.span(je)}closeNode(Ce){o(Ce)&&(this.buffer+=a)}value(){return this.buffer}span(Ce){this.buffer+=`<span class="${Ce}">`}}class l{constructor(){this.rootNode={children:[]},this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(Ce){this.top.children.push(Ce)}openNode(Ce){const je={kind:Ce,children:[]};this.add(je),this.stack.push(je)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Ce){return this.constructor._walk(Ce,this.rootNode)}static _walk(Ce,je){return typeof je=="string"?Ce.addText(je):je.children&&(Ce.openNode(je),je.children.forEach(tt=>this._walk(Ce,tt)),Ce.closeNode(je)),Ce}static _collapse(Ce){typeof Ce!="string"&&Ce.children&&(Ce.children.every(je=>typeof je=="string")?Ce.children=[Ce.children.join("")]:Ce.children.forEach(je=>{l._collapse(je)}))}}class c extends l{constructor(Ce){super(),this.options=Ce}addKeyword(Ce,je){Ce!==""&&(this.openNode(je),this.addText(Ce),this.closeNode())}addText(Ce){Ce!==""&&this.add(Ce)}addSublanguage(Ce,je){const tt=Ce.root;tt.kind=je,tt.sublanguage=!0,this.add(tt)}toHTML(){return new u(this,this.options).value()}finalize(){return!0}}function p(ae){return new RegExp(ae.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function m(ae){return ae?typeof ae=="string"?ae:ae.source:null}function d(...ae){return ae.map(je=>m(je)).join("")}function g(...ae){return"("+ae.map(je=>m(je)).join("|")+")"}function y(ae){return new RegExp(ae.toString()+"|").exec("").length-1}function v(ae,Ce){const je=ae&&ae.exec(Ce);return je&&je.index===0}const E=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function b(ae,Ce="|"){let je=0;return ae.map(tt=>{je+=1;const pt=je;let St=m(tt),$t="";for(;St.length>0;){const De=E.exec(St);if(!De){$t+=St;break}$t+=St.substring(0,De.index),St=St.substring(De.index+De[0].length),De[0][0]==="\\"&&De[1]?$t+="\\"+String(Number(De[1])+pt):($t+=De[0],De[0]==="("&&je++)}return $t}).map(tt=>`(${tt})`).join(Ce)}const _=/\b\B/,w="[a-zA-Z]\\w*",S="[a-zA-Z_]\\w*",A="\\b\\d+(\\.\\d+)?",I="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",k="\\b(0b[01]+)",P="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",F=(ae={})=>{const Ce=/^#![ ]*\//;return ae.binary&&(ae.begin=d(Ce,/.*\b/,ae.binary,/\b.*/)),i({className:"meta",begin:Ce,end:/$/,relevance:0,"on:begin":(je,tt)=>{je.index!==0&&tt.ignoreMatch()}},ae)},R={begin:"\\\\[\\s\\S]",relevance:0},L={className:"string",begin:"'",end:"'",illegal:"\\n",contains:[R]},M={className:"string",begin:'"',end:'"',illegal:"\\n",contains:[R]},G={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/},re=function(ae,Ce,je={}){const tt=i({className:"comment",begin:ae,end:Ce,contains:[]},je);return tt.contains.push(G),tt.contains.push({className:"doctag",begin:"(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",relevance:0}),tt},K=re("//","$"),Z=re("/\\*","\\*/"),X=re("#","$"),ee={className:"number",begin:A,relevance:0},ce={className:"number",begin:I,relevance:0},se={className:"number",begin:k,relevance:0},ue={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},ye={begin:/(?=\/[^/\n]*\/)/,contains:[{className:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[R,{begin:/\[/,end:/\]/,relevance:0,contains:[R]}]}]},he={className:"title",begin:w,relevance:0},te={className:"title",begin:S,relevance:0},W={begin:"\\.\\s*"+S,relevance:0};var me=Object.freeze({__proto__:null,MATCH_NOTHING_RE:_,IDENT_RE:w,UNDERSCORE_IDENT_RE:S,NUMBER_RE:A,C_NUMBER_RE:I,BINARY_NUMBER_RE:k,RE_STARTERS_RE:P,SHEBANG:F,BACKSLASH_ESCAPE:R,APOS_STRING_MODE:L,QUOTE_
181STRING_MODE:M,PHRASAL_WORDS_MODE:G,COMMENT:re,C_LINE_COMMENT_MODE:K,C_BLOCK_COMMENT_MODE:Z,HASH_COMMENT_MODE:X,NUMBER_MODE:ee,C_NUMBER_MODE:ce,BINARY_NUMBER_MODE:se,CSS_NUMBER_MODE:ue,REGEXP_MODE:ye,TITLE_MODE:he,UNDERSCORE_TITLE_MODE:te,METHOD_GUARD:W,END_SAME_AS_BEGIN:function(ae){return Object.assign(ae,{"on:begin":(Ce,je)=>{je.data._beginMatch=Ce[1]},"on:end":(Ce,je)=>{je.data._beginMatch!==Ce[1]&&je.ignoreMatch()}})}});function ve(ae,Ce){ae.input[ae.index-1]==="."&&Ce.ignoreMatch()}function Me(ae,Ce){Ce&&ae.beginKeywords&&(ae.begin="\\b("+ae.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",ae.__beforeBegin=ve,ae.keywords=ae.keywords||ae.beginKeywords,delete ae.beginKeywords,ae.relevance===void 0&&(ae.relevance=0))}function Be(ae,Ce){Array.isArray(ae.illegal)&&(ae.illegal=g(...ae.illegal))}function Te(ae,Ce){if(ae.match){if(ae.begin||ae.end)throw new Error("begin & end are not supported with match");ae.begin=ae.match,delete ae.match}}function ke(ae,Ce){ae.relevance===void 0&&(ae.relevance=1)}const $e=["of","and","for","in","not","or","if","then","parent","list","value"],ge="keyword";function Se(ae,Ce,je=ge){const tt={};return typeof ae=="string"?pt(je,ae.split(" ")):Array.isArray(ae)?pt(je,ae):Object.keys(ae).forEach(function(St){Object.assign(tt,Se(ae[St],Ce,St))}),tt;function pt(St,$t){Ce&&($t=$t.map(De=>De.toLowerCase())),$t.forEach(function(De){const Je=De.split("|");
181tt[Je[0]]=[St,we(Je[0],Je[1])]})}}function we(ae,Ce){return Ce?Number(Ce):$(ae)?0:1}function $(ae){return $e.includes(ae.toLowerCase())}function C(ae,{plugins:Ce}){function je(De,Je){return new RegExp(m(De),"m"+(ae.case_insensitive?"i":"")+(Je?"g":""))}class tt{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Je,lt){lt.position=this.position++,this.matchIndexes[this.matchAt]=lt,this.regexes.push([lt,Je]),this.matchAt+=y(Je)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Je=this.regexes.map(lt=>lt[1]);this.matcherRe=je(b(Je),!0),this.lastIndex=0}exec(Je){this.matcherRe.lastIndex=this.lastIndex;const lt=this.matcherRe.exec(Je);if(!lt)return null;const rt=lt.findIndex((Vr,ni)=>ni>0&&Vr!==void 0),Ut=this.matchIndexes[rt];return lt.splice(0,rt),Object.assign(lt,Ut)}}class pt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Je){if(this.multiRegexes[Je])return this.multiRegexes[Je];const lt=new tt;return this.rules.slice(Je).forEach(([rt,Ut])=>lt.addRule(rt,Ut)),lt.compile(),this.multiRegexes[Je]=lt,lt}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Je,lt){this.rules.push([Je,lt]),lt.type==="begin"&&this.count++}exec(Je){const lt=this.getMatcher(this.regexIndex);lt.lastIndex=this.lastIndex;let rt=lt.exec(Je);if(this.resumingScanAtSamePosition()&&!(rt&&rt.index===this.lastIndex)){const Ut=this.getMatcher(0);Ut.lastIndex=this.lastIndex+1,rt=Ut.exec(Je)}return rt&&(this.regexIndex+=rt.position+1,this.regexIndex===this.count&&this.considerAll()),rt}}function St(De){const Je=new pt;return De.contains.forEach(lt=>Je.addRule(lt.begin,{rule:lt,type:"begin"})),De.terminatorEnd&&Je.addRule(De.terminatorEnd,{type:"end"}),De.illegal&&Je.addRule(De.illegal,{type:"illegal"}),Je}function $t(De,Je){const lt=De;if(De.isCompiled)return lt;[Te].forEach(Ut=>Ut(De,Je)),ae.compilerExtensions.forEach(Ut=>Ut(De,Je)),De.__beforeBegin=null,[Me,Be,ke].forEach(Ut=>Ut(De,Je)),De.isCompiled=!0;let rt=null;if(typeof De.keywords=="object"&&(rt=De.keywords.$pattern,delete De.keywords.$pattern),De.keywords&&(De.keywords=Se(De.keywords,ae.case_insensitive)),De.lexemes&&rt)throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");return rt=rt||De.lexemes||/\w+/,lt.keywordPatternRe=je(rt,!0),Je&&(De.begin||(De.begin=/\B|\b/),lt.beginRe=je(De.begin),De.endSameAsBegin&&(De.end=De.begin),!De.end&&!De.endsWithParent&&(De.end=/\B|\b/),De.end&&(lt.endRe=je(De.end)),lt.terminatorEnd=m(De.end)||"",De.endsWithParent&&Je.terminatorEnd&&(lt.terminatorEnd+=(De.end?"|":"")+Je.terminatorEnd)),De.illegal&&(lt.illegalRe=je(De.illegal)),De.contains||(De.contains=[]),De.contains=[].concat(...De.contains.map(function(Ut){return U(Ut==="self"?De:Ut)})),De.contains.forEach(function(Ut){$t(Ut,lt)}),De.starts&&$t(De.starts,Je),lt.matcher=St(lt),lt}if(ae.compilerExtensions||(ae.compilerExtensions=[]),ae.contains&&ae.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");return ae.classNameAliases=i(ae.classNameAliases||{}),$t(ae)}function j(ae){return ae?ae.endsWithParent||j(ae.starts):!1}function U(ae){return ae.variants&&!ae.cachedVariants&&(ae.cachedVariants=ae.variants.map(function(Ce){return i(ae,{variants:null},Ce)})),ae.cachedVariants?ae.cachedVariants:j(ae)?i(ae,{starts:ae.starts?i(ae.starts):null}):Object.isFrozen(ae)?i(ae):ae}var Y="10.7.3";function ne(ae){return!!(ae||ae==="")}function fe(ae){const Ce={props:["language","code","autodetect"],data:function(){return{detectedLanguage:"",unknownLanguage:!1}},computed:{className(){return this.unknownLanguage?"":"hljs "+this.detectedLanguage},highlighted(){if(!this.autoDetect&&!ae.getLanguage(this.language))return console.warn(`The language "${this.language}" you specified could not be found.`),this.unknownLanguage=!0,s(this.code);let tt={};return this.autoDetect?(tt=ae.highlightAuto(this.code),this.detectedLanguage=tt.language):(tt=ae.highlight(this.language,this.co
181de,this.ignoreIllegals),this.detectedLanguage=this.language),tt.value},autoDetect(){return!this.language||ne(this.autodetect)},ignoreIllegals(){return!0}},render(tt){return tt("pre",{},[tt("code",{class:this.className,domProps:{innerHTML:this.highlighted}})])}};return{Component:Ce,VuePlugin:{install(tt){tt.component("highlightjs",Ce)}}}}const Ne={"after:highlightElement":({el:ae,result:Ce,text:je})=>{const tt=q(ae);if(!tt.length)return;const pt=document.createElement("div");pt.innerHTML=Ce.value,Ce.value=O(tt,q(pt),je)}};function Ge(ae){return ae.nodeName.toLowerCase()}function q(ae){const Ce=[];return(function je(tt,pt){for(let St=tt.firstChild;St;St=St.nextSibling)St.nodeType===3?pt+=St.nodeValue.length:St.nodeType===1&&(Ce.push({event:"start",offset:pt,node:St}),pt=je(St,pt),Ge(St).match(/br|hr|img|input/)||Ce.push({event:"stop",offset:pt,node:St}));return pt})(ae,0),Ce}function O(ae,Ce,je){let tt=0,pt="";const St=[];function $t(){return!ae.length||!Ce.length?ae.length?ae:Ce:ae[0].offset!==Ce[0].offset?ae[0].offset<Ce[0].offset?ae:Ce:Ce[0].event==="start"?ae:Ce}function De(rt){function Ut(Vr){return" "+Vr.nodeName+'="'+s(Vr.value)+'"'}pt+="<"+Ge(rt)+[].map.call(rt.attributes,Ut).join("")+">"}function Je(rt){pt+="</"+Ge(rt)+">"}function lt(rt){(rt.event==="start"?De:Je)(rt.node)}for(;ae.length||Ce.length;){let rt=$t();if(pt+=s(je.substring(tt,rt[0].offset)),tt=rt[0].offset,rt===ae){St.reverse().forEach(Je);do lt(rt.splice(0,1)[0]),rt=$t();while(rt===ae&&rt.length&&rt[0].offset===tt);St.reverse().forEach(De)}else rt[0].event==="start"?St.push(rt[0].node):St.pop(),lt(rt.splice(0,1)[0])}return pt+s(je.substr(tt))}const T={},H=ae=>{console.error(ae)},ie=(ae,...Ce)=>{console.log(`WARN: ${ae}`,...Ce)},de=(ae,Ce)=>{T[`${ae}/${Ce}`]||(console.log(`Deprecated as of ${ae}. ${Ce}`),T[`${ae}/${Ce}`]=!0)},xe=s,Ze=i,it=Symbol("nomatch");var ft=function(ae){const Ce=Object.create(null),je=Object.create(null),tt=[];let pt=!0;const St=/(^(<[^>]+>|\t|)+|\n)/gm,$t="Could not find the language '{}', did you forget to load/include a language module?",De={disableAutodetect:!0,name:"Plain text",contains:[]};let Je={noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",tabReplace:null,useBR:!1,languages:null,__emitter:c};function lt(Pe){return Je.noHighlightRe.test(Pe)}function rt(Pe){let ze=Pe.className+" ";ze+=Pe.parentNode?Pe.parentNode.className:"";const Ot=Je.languageDetectRe.exec(ze);if(Ot){const Ft=gt(Ot[1]);return Ft||(ie($t.replace("{}",Ot[1])),ie("Falling back to no-highlight mode for this block.",Pe)),Ft?Ot[1]:"no-highlight"}return ze.split(/\s+/).find(Ft=>lt(Ft)||gt(Ft))}function Ut(Pe,ze,Ot,Ft){let fr="",zn="";typeof ze=="object"?(fr=Pe,Ot=ze.ignoreIllegals,zn=ze.language,Ft=void 0):(de("10.7.0","highlight(lang, code, ...args) has been deprecated."),de("10.7.0",`Please use highlight(code, options) instead.
182https://github.com/highlightjs/highlight.js/issues/2277`),zn=Pe,fr=ze);const xn={code:fr,language:zn};en("before:highlight",xn);const An=xn.result?xn.result:Vr(xn.language,xn.code,Ot,Ft);return An.code=xn.code,en("after:highlight",An),An}function Vr(Pe,ze,Ot,Ft){function fr(et,nt){const Et=ci.case_insensitive?nt[0].toLowerCase():nt[0];return Object.prototype.hasOwnProperty.call(et.keywords,Et)&&et.keywords[Et]}function zn(){if(!_t.keywords){yt.addText(rr);return}let et=0;_t.keywordPatternRe.lastIndex=0;let nt=_t.keywordPatternRe.exec(rr),Et="";for(;nt;){Et+=rr.substring(et,nt.index);const Nt=fr(_t,nt);if(Nt){const[Br,fi]=Nt;if(yt.addText(Et),Et="",qi+=fi,Br.startsWith("_"))Et+=nt[0];else{const pi=ci.classNameAliases[Br]||Br;yt.addKeyword(nt[0],pi)}}else Et+=nt[0];et=_t.keywordPatternRe.lastIndex,nt=_t.keywordPatternRe.exec(rr)}Et+=rr.substr(et),yt.addText(Et)}function xn(){if(rr==="")return;let et=null;if(typeof _t.subLanguage=="string"){if(!Ce[_t.subLanguage]){yt.addText(rr);return}et=Vr(_t.subLanguage,rr,!0,Bl[_t.subLanguage]),Bl[_t.subLanguage]=et.top}else et=si(rr,_t.subLanguage.length?_t.subLanguage:null);_t.relevance>0&&(qi+=et.relevance),yt.addSublanguage(et.emitter,et.language)}function An(){_t.subLanguage!=null?xn():zn(),rr=""}function On(et){return et.className&&yt.openNode(ci.classNameAliases[et.className]||et.className),_t=Object.create(et,{parent:{value:_t}}),_t}function pn(et,nt,Et){let Nt=v(et.endRe,Et);if(Nt){if(et["on:end"]){const Br=new n(et);et["on:end"](nt,Br),Br.isMatchIgnored&&(Nt=!1)}if(Nt){for(;et.endsParent&&et.parent;)et=et.parent;return et}}if(et.endsWithParent)return pn(et.parent,nt,Et)}function Ml(et){return _t.matcher.regexIndex===0?(rr+=et[0],1):(Ds=!0,0)}function Dl(et){const nt=et[0],Et=et.rule,Nt=new n(Et),Br=[Et.__beforeBegin,Et["on:begin"]];for(const fi of Br)if(fi&&(fi(et,Nt),Nt.isMatchIgnored))return Ml(nt);return Et&&Et.endSameAsBegin&&(Et.endRe=p(nt)),Et.skip?rr+=nt:(Et.excludeBegin&&(rr+=nt),An(),!Et.returnBegin&&!Et.excludeBegin&&(rr=nt)),On(Et),Et.returnBegin?0:nt.length}function Fl(et){const nt=et[0],Et=ze.substr(et.index),Nt=pn(_t,et,Et);if(!Nt)return it;const Br=_t;Br.skip?rr+=nt:(Br.returnEnd||Br.excludeEnd||(rr+=nt),An(),Br.excludeEnd&&(rr=nt));do _t.className&&yt.closeNode(),!_t.skip&&!_t.subLanguage&&(qi+=_t.relevance),_t=_t.parent;while(_t!==Nt.parent);return Nt.starts&&(Nt.endSameAsBegin&&(Nt.starts.endRe=Nt.endRe),On(Nt.starts)),Br.returnEnd?0:nt.length}function ql(){const et=[];for(let nt=_t;nt!==ci;nt=nt.parent)nt.className&&et.unshift(nt.className);et.forEach(nt=>yt.openNode(nt))}let Fi={};function bo(et,nt){const Et=nt&&nt[0];if(rr+=et,Et==null)return An(),0;if(Fi.type==="begin"&&nt.type==="end"&&Fi.index===nt.index&&Et===""){if(rr+=ze.slice(nt.index,nt.index+1),!pt){const Nt=ne
182w Error("0 width match regex");throw Nt.languageName=Pe,Nt.badRule=Fi.rule,Nt}return 1}if(Fi=nt,nt.type==="begin")return Dl(nt);if(nt.type==="illegal"&&!Ot){const Nt=new Error('Illegal lexeme "'+Et+'" for mode "'+(_t.className||"<unnamed>")+'"');throw Nt.mode=_t,Nt}else if(nt.type==="end"){const Nt=Fl(nt);if(Nt!==it)return Nt}if(nt.type==="illegal"&&Et==="")return 1;if(Cn>1e5&&Cn>nt.index*3)throw new Error("potential infinite loop, way more iterations than matches");return rr+=Et,Et.length}const ci=gt(Pe);if(!ci)throw H($t.replace("{}",Pe)),new Error('Unknown language: "'+Pe+'"');const Wp=C(ci,{plugins:tt});let Eo="",_t=Ft||Wp;const Bl={},yt=new Je.__emitter(Je);ql();let rr="",qi=0,ir=0,Cn=0,Ds=!1;try{for(_t.matcher.considerAll();;){Cn++,Ds?Ds=!1:_t.matcher.considerAll(),_t.matcher.lastIndex=ir;const et=_t.matcher.exec(ze);if(!et)break;const nt=ze.substring(ir,et.index),Et=bo(nt,et);ir=et.index+Et}return bo(ze.substr(ir)),yt.closeAllNodes(),yt.finalize(),Eo=yt.toHTML(),{relevance:Math.floor(qi),value:Eo,language:Pe,illegal:!1,emitter:yt,top:_t}}catch(et){if(et.message&&et.message.includes("Illegal"))return{illegal:!0,illegalBy:{msg:et.message,context:ze.slice(ir-100,ir+100),mode:et.mode},sofar:Eo,relevance:0,value:xe(ze),emitter:yt};if(pt)return{illegal:!1,relevance:0,value:xe(ze),emitter:yt,language:Pe,top:_t,errorRaised:et};throw et}}function ni(Pe){const ze={relevance:0,emitter:new Je.__emitter(Je),value:xe(Pe),illegal:!1,top:De};return ze.emitter.addText(Pe),ze}function si(Pe,ze){ze=ze||Je.languages||Object.keys(Ce);const Ot=ni(Pe),Ft=ze.filter(gt).filter(Lt).map(On=>Vr(On,Pe,!1));Ft.unshift(Ot);const fr=Ft.sort((On,pn)=>{if(On.relevance!==pn.relevance)return pn.relevance-On.relevance;if(On.language&&pn.language){if(gt(On.language).supersetOf===pn.language)return 1;if(gt(pn.language).supersetOf===On.language)return-1}return 0}),[zn,xn]=fr,An=zn;return An.second_best=xn,An}function zr(Pe){return Je.tabReplace||Je.useBR?Pe.replace(St,ze=>ze===`
183`?Je.useBR?"<br>":ze:Je.tabReplace?ze.replace(/\t/g,Je.tabReplace):ze):Pe}function ps(Pe,ze,Ot){const Ft=ze?je[ze]:Ot;Pe.classList.add("hljs"),Ft&&Pe.classList.add(Ft)}const ii={"before:highlightElement":({el:Pe})=>{Je.useBR&&(Pe.innerHTML=Pe.innerHTML.replace(/\n/g,"").replace(/<br[ /]*>/g,`
184`))},"after:highlightElement":({result:Pe})=>{Je.useBR&&(Pe.value=Pe.value.replace(/\n/g,"<br>"))}},ai=/^(<[^>]+>|\t)+/gm,Ms={"after:highlightElement":({result:Pe})=>{Je.tabReplace&&(Pe.value=Pe.value.replace(ai,ze=>ze.replace(/\t/g,Je.tabReplace)))}};function Wr(Pe){let ze=null;const Ot=rt(Pe);if(lt(Ot))return;en("before:highlightElement",{el:Pe,language:Ot}),ze=Pe;const Ft=ze.textContent,fr=Ot?Ut(Ft,{language:Ot,ignoreIllegals:!0}):si(Ft);en("after:highlightElement",{el:Pe,result:fr,text:Ft}),Pe.innerHTML=fr.value,ps(Pe,Ot,fr.language),Pe.result={language:fr.language,re:fr.relevance,relavance:fr.relevance},fr.second_best&&(Pe.second_best={language:fr.second_best.language,re:fr.second_best.relevance,relavance:fr.second_best.relevance})}function fn(Pe){Pe.useBR&&(de("10.3.0","'useBR' will be removed entirely in v11.0"),de("10.3.0","Please see https://github.com/highlightjs/highlight.js/issues/2559")),Je=Ze(Je,Pe)}const oi=()=>{if(oi.called)return;oi.called=!0,de("10.6.0","initHighlighting() is deprecated.  Use highlightAll() instead."),document.querySelectorAll("pre code").forEach(Wr)};function ui(){de("10.6.0","initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."),ds=!0}let ds=!1;function Er(){if(document.readyState==="loading"){ds=!0;return}document.querySelectorAll("pre code").forEach(Wr)}function xt(){ds&&Er()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",xt,!1);function Qe(Pe,ze){let Ot=null;try{Ot=ze(ae)}catch(Ft){if(H("Language definition for '{}' could not be registered.".replace("{}",Pe)),pt)H(Ft);else throw Ft;Ot=De}Ot.name||(Ot.name=Pe),Ce[Pe]=Ot,Ot.rawDefinition=ze.bind(null,ae),Ot.aliases&&Xt(Ot.aliases,{languageName:Pe})}function oe(Pe){delete Ce[Pe];for(const ze of Object.keys(je))je[ze]===Pe&&delete je[ze]}function Oe(){return Object.keys(Ce)}function He(Pe){de("10.4.0","requireLanguage will be removed entirely in v11."),de("10.4.0","Please see https://github.com/highlightjs/highlight.js/pull/2844");const ze=gt(Pe);if(ze)return ze;throw new Error("The '{}' language is required, but not loaded.".replace("{}",Pe))}
184function gt(Pe){return Pe=(Pe||"").toLowerCase(),Ce[Pe]||Ce[je[Pe]]}function Xt(Pe,{languageName:ze}){typeof Pe=="string"&&(Pe=[Pe]),Pe.forEach(Ot=>{je[Ot.toLowerCase()]=ze})}function Lt(Pe){const ze=gt(Pe);return ze&&!ze.disableAutodetect}function Kt(Pe){Pe["before:highlightBlock"]&&!Pe["before:highlightElement"]&&(Pe["before:highlightElement"]=ze=>{Pe["before:highlightBlock"](Object.assign({block:ze.el},ze))}),Pe["after:highlightBlock"]&&!Pe["after:highlightElement"]&&(Pe["after:highlightElement"]=ze=>{Pe["after:highlightBlock"](Object.assign({block:ze.el},ze))})}function Jr(Pe){Kt(Pe),tt.push(Pe)}function en(Pe,ze){const Ot=Pe;tt.forEach(function(Ft){Ft[Ot]&&Ft[Ot](ze)})}function li(Pe){return de("10.2.0","fixMarkup will be removed entirely in v11.0"),de("10.2.0","Please see https://github.com/highlightjs/highlight.js/issues/2534"),zr(Pe)}function sr(Pe){return de("10.7.0","highlightBlock will be removed entirely in v12.0"),de("10.7.0","Please use highlightElement now."),Wr(Pe)}Object.assign(ae,{highlight:Ut,highlightAuto:si,highlightAll:Er,fixMarkup:li,highlightElement:Wr,highlightBlock:sr,configure:fn,initHighlighting:oi,initHighlightingOnLoad:ui,registerLanguage:Qe,unregisterLanguage:oe,listLanguages:Oe,getLanguage:gt,registerAliases:Xt,requireLanguage:He,autoDetection:Lt,inherit:Ze,addPlugin:Jr,vuePlugin:fe(ae).VuePlugin}),ae.debugMode=function(){pt=!1},ae.safeMode=function(){pt=!0},ae.versionString=Y;for(const Pe in me)typeof me[Pe]=="object"&&e(me[Pe]);return Object.assign(ae,me),ae.addPlugin(ii),ae.addPlugin(Ne),ae.addPlugin(Ms),ae}({});return JE=ft,JE}var HE={exports:{}},BM;function Ioe(){return BM||(BM=1,(function(t){(function(){var e;e=t.exports=s,e.format=s,e.vsprintf=n,typeof console<"u"&&typeof console.log=="function"&&(e.printf=r);function r(){console.log(s.apply(null,arguments))}function n(i,a){return s.apply(null,[i].concat(a))}function s(i){for(var a=1,o=[].slice.call(arguments),u=0,l=i.length,c="",p,m=!1,d,g,y=!1,v,E=function(){return o[a++]},b=function(){for(var _="";/\d/.test(i[u]);)_+=i[u++],p=i[u];return _.length>0?parseInt(_):null};u<l;++u)if(p=i[u],m)switch(m=!1,p=="."?(y=!1,p=i[++u]):p=="0"&&i[u+1]=="."?(y=!0,u+=2,p=i[u]):y=!0,v=b(),p){case"b":c+=parseInt(E(),10).toString(2);break;case"c":d=E(),typeof d=="string"||d instanceof String?c+=d:c+=String.fromCharCode(parseInt(d,10));break;case"d":c+=parseInt(E(),10);break;case"f":g=String(parseFloat(E()).toFixed(v||6)),c+=y?g:g.replace(/^0/,"");break;case"j":c+=JSON.stringify(E());break;case"o":c+="0"+parseInt(E(),10).toString(8);break;case"s":c+=E();break;case"x":c+="0x"+parseInt(E(),10).toString(16);break;case"X":c+="0x"+parseInt(E(),10).toString(16).toUpperCase();break;default:c+=p;break}else p==="%"?m=!0:c+=p;return c}})()})(HE)),HE.exports}var KE,LM;function Toe(){if(LM)return KE;LM=1;var t=Ioe(),e=r(Error);KE=e,e.eval=r(EvalError),e.range=r(RangeError),e.reference=r(ReferenceError),e.syntax=r(SyntaxError),e.type=r(TypeError),e.uri=r(URIError),e.create=r;function r(n){return s.displayName=n.displayName||n.name,s;function s(i){return i&&(i=t.apply(null,arguments)),new n(i)}}return KE}var $M;function koe(){if($M)return Li;$M=1;var t=Roe(),e=Toe();Li.highlight=n,Li.highlightAuto=s,Li.registerLanguage=i,Li.listLanguages=a,Li.registerAlias=o,u.prototype.addText=p,u.prototype.addKeyword=l,u.prototype.addSublanguage=c,u.prototype.openNode=m,u.prototype.closeNode=d,u.prototype.closeAllNodes=y,u.prototype.finalize=y,u.prototype.toHTML=g;var r="hljs-";function n(v,E,b){var _=t.configure({}),w=b||{},S=w.prefix,A;if(typeof v!="string")throw e("Expected `string` for name, got `%s`",v);if(!t.getLanguage(v))throw e("Unknown language: `%s` is not registered",v);if(typeof E!="string")throw e("Expected `string` for value, got `%s`",E);if(S==null&&(S=r),t.configure({__emitter:u,classPrefix:S}),A=t.highlight(E,{language:v,ignoreIllegals:!0}),t.configure(_||{}),A.errorRaised)throw A.errorRaised;return{relevance:A.relevance,language:A.language,value:A.emitter.rootNode.children}}function s(v,E){var b=E||{},_=b.subset||t.listLanguages();b.prefix;var w=_.length,S=-1,A,I,k,P;if(typeof v!="string")throw e("Expected `string` for value, got `%s`",v);for(I={relevance:0,language:null,value:[]},A={relevance:0,language:null,value:[]};++S<w;)P=_[S],t.getLanguage(P)&&(k=n(P,v,E),k.language=P,k.relevance>I.relevance&&(I=k),k.relevance>A.relevance&&(I=A,A=k));return I.language&&(A.secondBest=I),A}function i(v,E){t.registerLanguage(v,E)}function a(){return t.listLanguages()}function o(v,E){var b=v,_;E&&(b={},b[v]=E);for(_ in b)t.registerAliases(b[_],{languageName:_})}function u(v){this.options=v,this.rootNode={children:[]},this.stack=[this.rootNode]}function l(v,E){this.openNode(E),this.addText(v),this.closeNode()}function c(v,E){var b=this.stack,_=b[b.length-1],w=v.rootNode.children,S=E?{type:"element",tagName:"span",properties:{className:[E]},children:w}:w;_.children=_.children.concat(S)}function p(v){var E=this.stack,b,_;v!==""&&(b=E[E.length-1],_=b.children[b.children.length-1],_&&_.type==="text"?_.value+=v:b.children.push({type:"text",value:v}))}function m(v){var E=this.stack,b=this.options.classPrefix+v,_=E[E.length-1],w={type:"element",tagName:"span",properties:{className:[b]},children:[]};_.children.push(w),E.push(w)}function d(){this.stack.pop()}function g(){return""}function y(){}return Li}
184var Poe=koe();const G$=ut(Poe);var Y$=Coe(G$,{});Y$.registerLanguage=G$.registerLanguage;var GE,UM;function joe(){if(UM)return GE;UM=1;const t="[A-Za-z$_][0-9A-Za-z$_]*",e=["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"],a=["arguments","this","super","console","window","document","localStorage","module","global"],o=[].concat(i,a,n,s);function u(m){return m?typeof m=="string"?m:m.source:null}function l(m){return c("(?=",m,")")}function c(...m){return m.map(g=>u(g)).join("")}function p(m){const d=(K,{after:Z})=>{const X="</"+K[0].slice(1);return K.input.indexOf(X,Z)!==-1},g=t,y={begin:"<>",end:"</>"},v={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(K,Z)=>{const X=K[0].length+K.index,ee=K.input[X];if(ee==="<"){Z.ignoreMatch();return}ee===">"&&(d(K,{after:X})||Z.ignoreMatch())}},E={$pattern:t,keyword:e,literal:r,built_in:o},b="[0-9](_?[0-9])*",_=`\\.(${b})`,w="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",S={className:"number",variants:[{begin:`(\\b(${w})((${_})|\\.)?|(${_}))[eE][+-]?(${b})\\b`},{begin:`\\b(${w})\\b((${_})\\b|\\.)?|(${_})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},A={className:"subst",begin:"\\$\\{",end:"\\}",keywords:E,contains:[]},I={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,A],subLanguage:"xml"}},k={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[m.BACKSLASH_ESCAPE,A],subLanguage:"css"}},P={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,A]},R={className:"comment",variants:[m.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+",contains:[{className:"type",begin:"\\{",end:"\\}",relevance:0},{className:"variable",begin:g+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]},L=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,I,k,P,S,m.REGEXP_MODE];A.contains=L.concat({begin:/\{/,end:/\}/,keywords:E,contains:["self"].concat(L)});const M=[].concat(R,A.contains),G=M.concat([{begin:/\(/,end:/\)/,keywords:E,contains:["self"].concat(M)}]),re={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:G};return{name:"Javascript",aliases:["js","jsx","mjs","cjs"],keywords:E,exports:{PARAMS_CONTAINS:G},illegal:/#(?![$_A-z])/,contains:[m.SHEBANG({label:"shebang",binary:"node",relevance:5}),{label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,I,k,P,R,S,{begin:c(/[{,\n]\s*/,l(c(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/,g+"\\s*:"))),relevance:0,contains:[{className:"attr",begin:g+l("\\s*:"),relevance:0}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[R,m.REGEXP_MODE,{className:"function",begin:"(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+m.UNDERSCORE_IDENT_RE+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:m.UNDERSCORE_IDENT_RE,relevance:0}
vendor: 1,267 bytes, line 184
184,{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:E,contains:G}]}]},{begin:/,/,relevance:0},{className:"",begin:/\s/,end:/\s*/,skip:!0},{variants:[{begin:y.begin,end:y.end},{begin:v.begin,"on:begin":v.isTrulyOpeningTag,end:v.end}],subLanguage:"xml",contains:[{begin:v.begin,end:v.end,skip:!0,contains:["self"]}]}],relevance:0},{className:"function",beginKeywords:"function",end:/[{;]/,excludeEnd:!0,keywords:E,contains:["self",m.inherit(m.TITLE_MODE,{begin:g}),re],illegal:/%/},{beginKeywords:"while if switch catch for"},{className:"function",begin:m.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,contains:[re,m.inherit(m.TITLE_MODE,{begin:g})]},{variants:[{begin:"\\."+g},{begin:"\\$"+g}],relevance:0},{className:"class",beginKeywords:"class",end:/[{;=]/,excludeEnd:!0,illegal:/[:"[\]]/,contains:[{beginKeywords:"extends"},m.UNDERSCORE_TITLE_MODE]},{begin:/\b(?=constructor)/,end:/[{;]/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:g}),"self",re]},{begin:"(get|set)\\s+(?="+g+"\\()",end:/\{/,keywords:"get set",contains:[m.inherit(m.TITLE_MODE,{begin:g}),{begin:/\(\)/},re]},{begin:/\$[(.]/}]}}return GE=p,GE}var Noe=joe();const Moe=ut(Noe);var YE,VM;
184function Doe(){if(VM)return YE;VM=1;function t(e){const r={literal:"true false null"},n=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],s=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],i={end:",",endsWithParent:!0,excludeEnd:!0,contains:s,keywords:r},a={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(i,{begin:/:/})].concat(n),illegal:"\\S"},o={begin:"\\[",end:"\\]",contains:[e.inherit(i)],illegal:"\\S"};return s.push(a,o),n.forEach(function(u){s.push(u)}),{name:"JSON",contains:s,keywords:r,illegal:"\\S"}}return YE=t,YE}var Foe=Doe();const qoe=ut(Foe);var XE,zM;function Boe(){if(zM)return XE;zM=1;function t(a){return a?typeof a=="string"?a:a.source:null}function e(a){return n("(?=",a,")")}function r(a){return n("(",a,")?")}function n(...a){return a.map(u=>t(u)).join("")}function s(...a){return"("+a.map(u=>t(u)).join("|")+")"}function i(a){const o=n(/[A-Z_]/,r(/[A-Z0-9_.-]*:/),/[A-Z0-9_.-]*/),u=/[A-Za-z0-9._:-]+/,l={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},c={begin:/\s/,contains:[{className:"meta-keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},p=a.inherit(c,{begin:/\(/,end:/\)/}),m=a.inherit(a.APOS_STRING_MODE,{className:"meta-string"}),d=a.inherit(a.QUOTE_STRING_MODE,{className:"meta-string"}),g={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[l]},{begin:/'/,end:/'/,contains:[l]},{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:[c,d,m,p,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[c,p,d,m]}]}]},a.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},l,{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(/</,e(n(o,s(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:o,relevance:0,starts:g}]},{className:"tag",begin:n(/<\//,e(n(o,/>/))),contains:[{className:"name",begin:o,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return XE=i,XE}var Loe=Boe();const $oe=ut(Loe);var ZE,WM;function Uoe(){if(WM)return ZE;WM=1;function t(n){return n?typeof n=="string"?n:n.source:null}function e(...n){return n.map(i=>t(i)).join("")}function r(n){const s={},i={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[s]}]};Object.assign(s,{className:"variable",variants:[{begin:e(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},i]});const a={className:"subst",begin:/\$\(/,end:/\)/,contains:[n.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[n.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},u={className:"string",begin:/"/,end:/"/,contains:[n.BACKSLASH_ESCAPE,s,a]};a.contains.push(u);const l={className:"",begin:/\\"/},c={className:"string",begin:/'/,end:/'/},p={begin:/\$\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},n.NUMBER_MODE,s]},m=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],d=n.SHEBANG({binary:`(${m.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:[d,n.SHEBANG(),g,p,n.HASH_COMMENT_MODE,o,u,l,c,s]}}return ZE=r,ZE}var Voe=Uoe();const zoe=ut(Voe);var QE,JM;function Woe(){if(JM)return QE;JM=1;function t(e){var r="true false yes no null",n="[\\w#;
184/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ 	]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ 	]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ 	]|$)"}]},i={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},a={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},o=e.inherit(a,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),u="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",p="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",m={className:"number",begin:"\\b"+u+l+c+p+"\\b"},d={end:",",endsWithParent:!0,excludeEnd:!0,keywords:r,relevance:0},g={begin:/\{/,end:/\}/,contains:[d],illegal:"\\n",relevance:0},y={begin:"\\[",end:"\\]",contains:[d],illegal:"\\n",relevance:0},v=[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:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:r,keywords:{literal:r}},m,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},g,y,a],E=[...v];return E.pop(),E.push(o),d.contains=E,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:v}}return QE=t,QE}var Joe=Woe();const Hoe=ut(Joe);var eS,HM;function Koe(){if(HM)return eS;HM=1;function t(n){return n?typeof n=="string"?n:n.source:null}function e(...n){return n.map(i=>t(i)).join("")}function r(n){const s="HTTP/(2|1\\.[01])",a={className:"attribute",begin:e("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},o=[a,{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:o}},{begin:"(?=^[A-Z]+ (.*?) "+s+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:s},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:o}},n.inherit(a,{relevance:0})]}}return eS=r,eS}var Goe=Koe();const Yoe=ut(Goe);var tS,KM;function Xoe(){if(KM)return tS;KM=1;function t(e){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"},a=/\w[\w\d]*((-)[\w\d]+)*/,o={begin:"`[\\s\\S]",relevance:0},u={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},l={className:"literal",begin:/\$(null|true|false)\b/},c={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[o,u,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},p={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},m={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},d=e.inherit(e.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[m]}),g={className:"built_in",variants:[{begin:"(".concat(n,")+(-)[\\w\\d]+")}]},y={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[e.TITLE_MODE]},v={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:a,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[u]}]},E={begin:/using\s/,end:/$/,returnBegin:!0,contains:[c,p,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},b={variants:[{className:"operator",begin:"(".concat(s,")\\b")}
184,{className:"literal",begin:/(-)[\w\d]+/,relevance:0}]},_={className:"selector-tag",begin:/@\B/,relevance:0},w={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},e.inherit(e.TITLE_MODE,{endsParent:!0})]},S=[w,d,o,e.NUMBER_MODE,c,p,g,u,l,_],A={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",S,{begin:"("+r.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return w.contains.unshift(A),{name:"PowerShell",aliases:["ps","ps1"],case_insensitive:!0,keywords:i,contains:S.concat(y,v,E,b,A)}}return tS=t,tS}var Zoe=Xoe();const Qoe=ut(Zoe),eue={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"}},tue={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"}},rue={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"}},nue={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"}},sue={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"}},iue={"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"}},aue={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 rS,GM;function oue(){return GM||(GM=1,rS=function(t,e,r,n){var s=typeof n<"u"?[n,t]:[t],i=new Blob(s,{type:r||"application/octet-stream"});if(typeof window.navigator.msSaveBlob<"u")window.navigator.msSaveBlob(i,e);else{var a=window.URL&&window.URL.createObjectURL?window.URL.createObjectURL(i):window.webkitURL.createObjectURL(i),o=document.createElement("a");
184o.style.display="none",o.href=a,o.setAttribute("download",e),typeof o.download>"u"&&o.setAttribute("target","_blank"),document.body.appendChild(o),o.click(),setTimeout(function(){document.body.removeChild(o),window.URL.revokeObjectURL(a)},200)}}),rS}var uue=oue();const lue=ut(uue);var nS,YM;function cue(){if(YM)return nS;YM=1;function t(e,r,n){for(var s=-1,i=e.length,a=r.length,o={};++s<i;){var u=s<a?r[s]:void 0;n(o,e[s],u)}return o}return nS=t,nS}var sS,XM;function fue(){if(XM)return sS;XM=1;var t=bf(),e=cue();function r(n,s){return e(n||[],s||[],t)}return sS=r,sS}var pue=fue();const due=ut(pue);var hue=Xs();const mue=ut(hue);var iS,ZM;function gue(){if(ZM)return iS;ZM=1;var t="",e;iS=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(e!==n||typeof e>"u")e=n,t="";else if(t.length>=i)return t.substr(0,i);for(;i>t.length&&s>1;)s&1&&(t+=n),s>>=1,n+=n;return t+=n,t=t.substr(0,i),t}return iS}var aS,QM;function yue(){if(QM)return aS;QM=1;var t=gue(),e=function(l){return l.split(/(<\/?[^>]+>)/g).filter(function(c){return c.trim()!==""})},r=function(l){return/<[^>!]+>/.test(l)},n=function(l){return/<\/+[^>]+>/.test(l)},s=function(l){return/<[^>]+\/>/.test(l)},i=function(l){return r(l)&&!n(l)&&!s(l)};aS=function(u){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=l.indentor,p=l.textNodesOnSameLine,m=0,d=[];c=c||"    ";var g=a(u).map(function(y,v,E){var b=y.value,_=y.type;_==="ClosingTag"&&m--;var w=t(c,m),S=w+b;if(_==="OpeningTag"&&m++,p){var A=E[v-1],I=E[v-2];_==="ClosingTag"&&A.type==="Text"&&I.type==="OpeningTag"&&(S=""+w+I.value+A.value+b,d.push(v-2,v-1))}return S});return d.forEach(function(y){return g[y]=null}),g.filter(function(y){return!!y}).join(`
185`)};function a(u){var l=e(u);return l.map(function(c){return{value:c,type:o(c)}})}function o(u){return n(u)?"ClosingTag":i(u)?"OpeningTag":s(u)?"SelfClosingTag":"Text"}return aS}var vue=yue();const bue=ut(vue);var oS,eD;function Eue(){if(eD)return oS;eD=1;var t=Xs();function e(r){return t(r).toLowerCase()}return oS=e,oS}var Sue=Eue();const _ue=ut(Sue);var ic;function X$(t){return ic=ic||document.createElement("textarea"),ic.innerHTML="&"+t+";",ic.value}var wue=Object.prototype.hasOwnProperty;function xue(t,e){return t?wue.call(t,e):!1}function Z$(t){var e=[].slice.call(arguments,1);return e.forEach(function(r){if(r){if(typeof r!="object")throw new TypeError(r+"must be object");Object.keys(r).forEach(function(n){t[n]=r[n]})}}),t}var Aue=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function lu(t){return t.indexOf("\\")<0?t:t.replace(Aue,"$1")}function Q$(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function m1(t){if(t>65535){t-=65536;var e=55296+(t>>10),r=56320+(t&1023);return String.fromCharCode(e,r)}return String.fromCharCode(t)}var Oue=/&([a-z#][a-z0-9]{1,31});/gi,Cue=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function Rue(t,e){var r=0,n=X$(e);return e!==n?n:e.charCodeAt(0)===35&&Cue.test(e)&&(r=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Q$(r))?m1(r):t}function ra(t){return t.indexOf("&")<0?t:t.replace(Oue,Rue)}var Iue=/[&<>"]/,Tue=/[&<>"]/g,kue={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function Pue(t){return kue[t]}function sn(t){return Iue.test(t)?t.replace(Tue,Pue):t}var Ye={};Ye.blockquote_open=function(){return`<blockquote>
186`};Ye.blockquote_close=function(t,e){return"</blockquote>"+da(t,e)};Ye.code=function(t,e){return t[e].block?"<pre><code>"+sn(t[e].content)+"</code></pre>"+da(t,e):"<code>"+sn(t[e].content)+"</code>"};Ye.fence=function(t,e,r,n,s){var i=t[e],a="",o=r.langPrefix,u="",l,c,p;if(i.params){if(l=i.params.split(/\s+/g),c=l.join(" "),xue(s.rules.fence_custom,l[0]))return s.rules.fence_custom[l[0]](t,e,r,n,s);u=sn(ra(lu(c))),a=' class="'+o+u+'"'}return r.highlight?p=r.highlight.apply(r.highlight,[i.content].concat(l))||sn(i.content):p=sn(i.content),"<pre><code"+a+">"+p+"</code></pre>"+da(t,e)};Ye.fence_custom={};Ye.heading_open=function(t,e){return"<h"+t[e].hLevel+">"};Ye.heading_close=function(t,e){return"</h"+t[e].hLevel+`>
187`};Ye.hr=function(t,e,r){return(r.xhtmlOut?"<hr />":"<hr>")+da(t,e)};Ye.bullet_list_open=function(){return`<ul>
188`};Ye.bullet_list_close=function(t,e){return"</ul>"+da(t,e)};Ye.list_item_open=function(){return"<li>"};Ye.list_item_close=function(){return`</li>
189`};Ye.ordered_list_open=function(t,e){var r=t[e],n=r.order>1?' start="'+r.order+'"':"";return"<ol"+n+`>
190`};Ye.ordered_list_close=function(t,e){return"</ol>"+da(t,e)};Ye.paragraph_open=function(t,e){return t[e].tight?"":"<p>"};Ye.paragraph_close=function(t,e){var r=!(t[e].tight&&e&&t[e-1].type==="inline"&&!t[e-1].content);return(t[e].tight?"":"</p>")+(r?da(t,e):"")};Ye.link_open=function(t,e,r){var n=t[e].title?' title="'+sn(ra(t[e].title))+'"':"",s=r.linkTarget?' target="'+r.linkTarget+'"':"";return'<a href="'+sn(t[e].href)+'"'+n+s+">"};Ye.link_close=function(){return"</a>"};Ye.image=function(t,e,r){var n=' src="'+sn(t[e].src)+'"',s=t[e].title?' title="'+sn(ra(t[e].title))+'"':"",i=' alt="'+(t[e].alt?sn(ra(lu(t[e].alt))):"")+'"',a=r.xhtmlOut?" /":"";return"<img"+n+i+s+a+">"};Ye.table_open=function(){return`<table>
191`};Ye.table_close=function(){return`</table>
192`};Ye.thead_open=function(){return`<thead>
193`};Ye.thead_close=function(){return`</thead>
194`};Ye.tbody_open=function(){return`<tbody>
195`};Ye.tbody_close=function(){return`</tbody>
196`};Ye.tr_open=function(){return"<tr>"};Ye.tr_close=function(){return`</tr>
197`};Ye.th_open=function(t,e){var r=t[e];return"<th"+(r.align?' style="text-align:'+r.align+'"':"")+">"};Ye.th_close=function(){return"</th>"};Ye.td_open=function(t,e){var r=t[e];return"<td"+(r.align?' style="text-align:'+r.align+'"':"")+">"};Ye.td_close=function(){return"</td>"};Ye.strong_open=function(){return"<strong>"};Ye.strong_close=function(){return"</strong>"};Ye.em_open=function(){return"<em>"};Ye.em_close=function(){return"</em>"};Ye.del_open=function(){return"<del>"};Ye.del_close=function(){return"</del>"};Ye.ins_open=function(){return"<ins>"};Ye.ins_close=function(){return"</ins>"};Ye.mark_open=function(){return"<mark>"};Ye.mark_close=function(){return"</mark>"};Ye.sub=function(t,e){return"<sub>"+sn(t[e].content)+"</sub>"};Ye.sup=function(t,e){return"<sup>"+sn(t[e].content)+"</sup>"};Ye.hardbreak=function(t,e,r){return r.xhtmlOut?`<br />
198`:`<br>
199`};Ye.softbreak=function(t,e,r){return r.breaks?r.xhtmlOut?`<br />
200`:`<br>
201`:`
202`};Ye.text=function(t,e){return sn(t[e].content)};Ye.htmlblock=function(t,e){return t[e].content};Ye.htmltag=function(t,e){return t[e].content};Ye.abbr_open=function(t,e){return'<abbr title="'+sn(ra(t[e].title))+'">'};Ye.abbr_close=function(){return"</abbr>"};Ye.footnote_ref=function(t,e){var r=Number(t[e].id+1).toString(),n="fnref"+r;return t[e].subId>0&&(n+=":"+t[e].subId),'<sup class="footnote-ref"><a href="#fn'+r+'" id="'+n+'">['+r+"]</a></sup>"};Ye.footnote_block_open=function(t,e,r){var n=r.xhtmlOut?`<hr class="footnotes-sep" />
203`:`<hr class="footnotes-sep">
204`;return n+`<section class="footnotes">
205<ol class="footnotes-list">
206`};Ye.footnote_block_close=function(){return`</ol>
207</section>
208`};Ye.footnote_open=function(t,e){var r=Number(t[e].id+1).toString();return'<li id="fn'+r+'"  class="footnote-item">'};Ye.footnote_close=function(){return`</li>
209`};Ye.footnote_anchor=function(t,e){var r=Number(t[e].id+1).toString(),n="fnref"+r;return t[e].subId>0&&(n+=":"+t[e].subId),' <a href="#'+n+'" class="footnote-backref">↩</a>'};Ye.dl_open=function(){return`<dl>
210`};Ye.dt_open=function(){return"<dt>"};Ye.dd_open=function(){return"<dd>"};Ye.dl_close=function(){return`</dl>
211`};Ye.dt_close=function(){return`</dt>
212`};Ye.dd_close=function(){return`</dd>
213`};function e6(t,e){return++e>=t.length-2?e:t[e].type==="paragraph_open"&&t[e].tight&&t[e+1].type==="inline"&&t[e+1].content.length===0&&t[e+2].type==="paragraph_close"&&t[e+2].tight?e6(t,e+2):e}var da=Ye.getBreak=function(e,r){return r=e6(e,r),r<e.length&&e[r].type==="list_item_close"?"":`
214`};function qx(){this.rules=Z$({},Ye),this.getBreak=Ye.getBreak}qx.prototype.renderInline=function(t,e,r){for(var n=this.rules,s=t.length,i=0,a="";s--;)a+=n[t[i].type](t,i++,e,r,this);return a};qx.prototype.render=function(t,e,r){for(var n=this.rules,s=t.length,i=-1,a="";++i<s;)t[i].type==="inline"?a+=this.renderInline(t[i].children,e,r):a+=n[t[i].type](t,i,e,r,this);return a};function wn(){this.__rules__=[],this.__cache__=null}wn.prototype.__find__=function(t){for(var e=this.__rules__.length,r=-1;e--;)if(this.__rules__[++r].name===t)return r;return-1};wn.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(n){e.indexOf(n)<0&&e.push(n)})}),t.__cache__={},e.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(n){n.enabled&&(r&&n.alt.indexOf(r)<0||t.__cache__[r].push(n.fn))})})};wn.prototype.at=function(t,e,r){var n=this.__find__(t),s=r||{};if(n===-1)throw new Error("Parser rule not found: "+t);this.__rules__[n].fn=e,this.__rules__[n].alt=s.alt||[],this.__cache__=null};wn.prototype.before=function(t,e,r,n){var s=this.__find__(t),i=n||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};wn.prototype.after=function(t,e,r,n){var s=this.__find__(t),i=n||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null};wn.prototype.push=function(t,e,r){var n=r||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:n.alt||[]}),this.__cache__=null};wn.prototype.enable=function(t,e){t=Array.isArray(t)?t:[t],e&&this.__rules__.forEach(function(r){r.enabled=!1}),t.forEach(function(r){var n=this.__find__(r);if(n<0)throw new Error("Rules manager: invalid rule name "+r);this.__rules__[n].enabled=!0},this),this.__cache__=null};wn.prototype.disable=function(t){t=Array.isArray(t)?t:[t],t.forEach(function(e){var r=this.__find__(e);
214if(r<0)throw new Error("Rules manager: invalid rule name "+e);this.__rules__[r].enabled=!1},this),this.__cache__=null};wn.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};function jue(t){t.inlineMode?t.tokens.push({type:"inline",content:t.src.replace(/\n/g," ").trim(),level:0,lines:[0,1],children:[]}):t.block.parse(t.src,t.options,t.env,t.tokens)}function ha(t,e,r,n,s){this.src=t,this.env=n,this.options=r,this.parser=e,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}ha.prototype.pushPending=function(){this.tokens.push({type:"text",content:this.pending,level:this.pendingLevel}),this.pending=""};ha.prototype.push=function(t){this.pending&&this.pushPending(),this.tokens.push(t),this.pendingLevel=this.level};ha.prototype.cacheSet=function(t,e){for(var r=this.cache.length;r<=t;r++)this.cache.push(0);this.cache[t]=e};ha.prototype.cacheGet=function(t){return t<this.cache.length?this.cache[t]:0};function cu(t,e){var r,n,s,i=-1,a=t.posMax,o=t.pos,u=t.isInLabel;if(t.isInLabel)return-1;if(t.labelUnmatchedScopes)return t.labelUnmatchedScopes--,-1;for(t.pos=e+1,t.isInLabel=!0,r=1;t.pos<a;){if(s=t.src.charCodeAt(t.pos),s===91)r++;else if(s===93&&(r--,r===0)){n=!0;break}t.parser.skipToken(t)}return n?(i=t.pos,t.labelUnmatchedScopes=0):t.labelUnmatchedScopes=r-1,t.pos=o,t.isInLabel=u,i}function Nue(t,e,r,n){var s,i,a,o,u,l;if(t.charCodeAt(0)!==42||t.charCodeAt(1)!==91||t.indexOf("]:")===-1||(s=new ha(t,e,r,n,[]),i=cu(s,1),i<0||t.charCodeAt(i+1)!==58))return-1;for(o=s.posMax,a=i+2;a<o&&s.src.charCodeAt(a)!==10;a++);return u=t.slice(2,i),l=t.slice(i+2,a).trim(),l.length===0?-1:(n.abbreviations||(n.abbreviations={}),typeof n.abbreviations[":"+u]>"u"&&(n.abbreviations[":"+u]=l),a)}function Mue(t){var e=t.tokens,r,n,s,i;if(!t.inlineMode){for(r=1,n=e.length-1;r<n;r++)if(e[r-1].type==="paragraph_open"&&e[r].type==="inline"&&e[r+1].type==="paragraph_close"){for(s=e[r].content;s.length&&(i=Nue(s,t.inline,t.options,t.env),!(i<0));)s=s.slice(i).trim();e[r].content=s,s.length||(e[r-1].tight=!0,e[r+1].tight=!0)}}}function g1(t){var e=ra(t);try{e=decodeURI(e)}catch{}return encodeURI(e)}function t6(t,e){var r,n,s,i=e,a=t.posMax;if(t.src.charCodeAt(e)===60){for(e++;e<a;){if(r=t.src.charCodeAt(e),r===10)return!1;if(r===62)return s=g1(lu(t.src.slice(i+1,e))),t.parser.validateLink(s)?(t.pos=e+1,t.linkContent=s,!0):!1;if(r===92&&e+1<a){e+=2;continue}e++}return!1}for(n=0;e<a&&(r=t.src.charCodeAt(e),!(r===32||r<32||r===127));){if(r===92&&e+1<a){e+=2;continue}if(r===40&&(n++,n>1)||r===41&&(n--,n<0))break;e++}return i===e||(s=lu(t.src.slice(i,e)),!t.parser.validateLink(s))?!1:(t.linkContent=s,t.pos=e,!0)}function r6(t,e){var r,n=e,s=t.posMax,i=t.src.charCodeAt(e);if(i!==34&&i!==39&&i!==40)return!1;for(e++,i===40&&(i=41);e<s;){if(r=t.src.charCodeAt(e),r===i)return t.pos=e+1,t.linkContent=lu(t.src.slice(n+1,e)),!0;if(r===92&&e+1<s){e+=2;continue}e++}return!1}function n6(t){return t.trim().replace(/\s+/g," ").toUpperCase()}function Due(t,e,r,n){var s,i,a,o,u,l,c,p,m;if(t.charCodeAt(0)!==91||t.indexOf("]:")===-1||(s=new ha(t,e,r,n,[]),i=cu(s,0),i<0||t.charCodeAt(i+1)!==58))return-1;for(o=s.posMax,a=i+2;a<o&&(u=s.src.charCodeAt(a),!(u!==32&&u!==10));a++);if(!t6(s,a))return-1;for(c=s.linkContent,a=s.pos,l=a,a=a+1;a<o&&(u=s.src.charCodeAt(a),!(u!==32&&u!==10));a++);for(a<o&&l!==a&&r6(s,a)?(p=s.linkContent,a=s.pos):(p="",a=l);a<o&&s.src.charCodeAt(a)===32;)a++;return a<o&&s.src.charCodeAt(a)!==10?-1:(m=n6(t.slice(1,i)),typeof n.references[m]>"u"&&(n.references[m]={title:p,href:c}),a)}function Fue(t){var e=t.tokens,r,n,s,i;if(t.env.references=t.env.references||{},!t.inlineMode){for(r=1,n=e.length-1;r<n;r++)if(e[r].type==="inline"&&e[r-1].type==="paragraph_open"&&e[r+1].type==="paragraph_close"){for(s=e[r].content;s.length&&(i=Due(s,t.inline,t.options,t.env),!(i<0));)s=s.slice(i).trim();e[r].content=s,s.length||(e[r-1].tight=!0,e[r+1].tight=!0)}}}function que(t){var e=t.tokens,r,n,s;for(n=0,s=e.length;n<s;n++)r=e[n],r.type==="inline"&&t.inline.parse(r.content,t.options,t.env,r.children)}function Bue(t){var e,r,n,s,i,a,o,u,l,c=0,p=!1,m={};if(t.env.footnotes&&(t.tokens=t.tokens.filter(function(d){return d.type==="footnote_reference_open"?(p=!0,u=[],l=d.label,!1):d.type==="footnote_reference_close"?(p=!1,m[":"+l]=u,!1):(p&&u.push(d),!p)}),!!t.env.footnotes.list)){for(a=t.env.footnotes.list,t.tokens.push({type:"footnote_block_open",level:c++}),e=0,r=a.length;e<r;e++){for(t.tokens.push({type:"footnote_open",id:e,level:c++}),a[e].tokens?(o=[],o.push({type:"paragraph_open",tight:!1,level:c++}),o.push({type:"inline",content:"",level:c,children:a[e].tokens}),o.push({type:"paragraph_close",tight:!1,level:--c})):a[e].label&&(o=m[":"+a[e].label]),t.tokens=t.tokens.concat(o),t.tokens[t.tokens.length-1].type==="paragraph_close"?i=t.tokens.pop():i=null,s=a[e].count>0?a[e].count:1,n=0;n<s;n++)t.tokens.push({type:"footnote_anchor",id:e,subId:n,level:c});i&&t.tokens.push(i),t.tokens.push({type:"footnote_close",level:--c})}t.tokens.push({type:"footnote_block_close",level:--c})}}var tD=` 
215()[]'".,!?-`;function uS(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1")}function Lue(t){var e,r,n,s,i,a,o,u,l,c,p,m,d=t.tokens;if(t.env.abbreviations){for(t.env.abbrRegExp||(m="(^|["+tD.split("").map(uS).join("")+"])("+Object.keys(t.env.abbreviations).map(function(g){return g.substr(1)}).sort(function(g,y){return y.length-g.length}).map(uS).join("|")+")($|["+tD.split("").map(uS).join("")+"])",t.env.abbrRegExp=new RegExp(m,"g")),c=t.env.abbrRegExp,r=0,n=d.length;r<n;r++)if(d[r].type==="inline"){for(s=d[r].children,e=s.length-1;e>=0;e--)if(i=s[e],i.type==="text"){for(u=0,a=i.content,c.lastIndex=0,l=i.level,o=[];p=c.exec(a);)c.lastIndex>u&&o.push({type:"text",content:a.slice(u,p.index+p[1].length),level:l}),o.push({type:"abbr_open",title:t.env.abbreviations[":"+p[2]],level:l++}),o.push({type:"text",content:p[2],level:l}),o.push({type:"abbr_close",level:--l}),u=c.lastIndex-p[3].length;o.length&&(u<a.length&&o.push({type:"text",content:a.slice(u),level:l}),d[r].children=s=[].concat(s.slice(0,e),o,s.slice(e+1)))}}}}var $ue=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Uue=/\((c|tm|r|p)\)/ig,Vue={c:"©",r:"®",p:"§",tm:"™"};function zue(t){return t.indexOf("(")<0?t:t.replace(Uue,function(e,r){return Vue[r.toLowerCase()]})}function Wue(t){var e,r,n,s,i;if(t.options.typographer){for(i=t.tokens.length-1;i>=0;i--)if(t.tokens[i].type==="inline")for(s=t.tokens[i].children,e=s.length-1;e>=0;e--)r=s[e],r.type==="text"&&(n=r.content,n=zue(n),$ue.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 Jue=/['"]/,rD=/['"]/g,Hue=/[-\s()\[\]]/,nD="’";function sD(t,e){return e<0||e>=t.length?!1:!Hue.test(t[e])}function Ca(t,e,r){return t.substr(0,e)+r+t.substr(e+1)}function Kue(t){var e,r,n,s,i,a,o,u,l,c,p,m,d,g,y,v,E;if(t.options.typographer){for(E=[],y=t.tokens.length-1;y>=0;y--)if(t.tokens[y].type==="inline"){for(v=t.tokens[y].children,E.length=0,e=0;e<v.length;e++)if(r=v[e],!(r.type!=="text"||Jue.test(r.text))){for(o=v[e].level,d=E.length-1;d>=0&&!(E[d].level<=o);d--);E.length=d+1,n=r.content,i=0,a=n.length;e:for(;i<a&&(rD.lastIndex=i,s=rD.exec(n),!!s);){if(u=!sD(n,s.index-1),i=s.index+1,g=s[0]==="'",l=!sD(n,i),!l&&!u){g&&(r.content=Ca(r.content,s.index,nD));continue}if(p=!l,m=!u,m){for(d=E.length-1;d>=0&&(c=E[d],!(E[d].level<o));d--)if(c.single===g&&E[d].level===o){c=E[d],g?(v[c.token].content=Ca(v[c.token].content,c.pos,t.options.quotes[2]),r.content=Ca(r.content,s.index,t.options.quotes[3])):(v[c.token].content=Ca(v[c.token].content,c.pos,t.options.quotes[0]),r.content=Ca(r.content,s.index,t.options.quotes[1])),E.length=d;continue e}}p?E.push({token:e,pos:s.index,single:g,level:o}):m&&g&&(r.content=Ca(r.content,s.index,nD))}}}}}var lS=[["block",jue],["abbr",Mue],["references",Fue],["inline",que],["footnote_tail",Bue],["abbr2",Lue],["replacements",Wue],["smartquotes",Kue]];function s6(){this.options={},this.ruler=new wn;for(var t=0;t<lS.length;t++)this.ruler.push(lS[t][0],lS[t][1])}s6.prototype.process=function(t){var e,r,n;for(n=this.ruler.getRules(""),e=0,r=n.length;e<r;e++)n[e](t)};function ma(t,e,r,n,s){var i,a,o,u,l,c,p;for(this.src=t,this.parser=e,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="",a=this.src,c=0,p=!1,o=u=c=0,l=a.length;u<l;
215u++){if(i=a.charCodeAt(u),!p)if(i===32){c++;continue}else p=!0;(i===10||u===l-1)&&(i!==10&&u++,this.bMarks.push(o),this.eMarks.push(u),this.tShift.push(c),p=!1,c=0,o=u+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.lineMax=this.bMarks.length-1}ma.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};ma.prototype.skipEmptyLines=function(e){for(var r=this.lineMax;e<r&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e};ma.prototype.skipSpaces=function(e){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===32;e++);return e};ma.prototype.skipChars=function(e,r){for(var n=this.src.length;e<n&&this.src.charCodeAt(e)===r;e++);return e};ma.prototype.skipCharsBack=function(e,r,n){if(e<=n)return e;for(;e>n;)if(r!==this.src.charCodeAt(--e))return e+1;return e};ma.prototype.getLines=function(e,r,n,s){var i,a,o,u,l,c=e;if(e>=r)return"";if(c+1===r)return a=this.bMarks[c]+Math.min(this.tShift[c],n),o=s?this.eMarks[c]+1:this.eMarks[c],this.src.slice(a,o);for(u=new Array(r-e),i=0;c<r;c++,i++)l=this.tShift[c],l>n&&(l=n),l<0&&(l=0),a=this.bMarks[c]+l,c+1<r||s?o=this.eMarks[c]+1:o=this.eMarks[c],u[i]=this.src.slice(a,o);return u.join("")};function Gue(t,e,r){var n,s;if(t.tShift[e]-t.blkIndent<4)return!1;for(s=n=e+1;n<r;){if(t.isEmpty(n)){n++;continue}if(t.tShift[n]-t.blkIndent>=4){n++,s=n;continue}break}return t.line=n,t.tokens.push({type:"code",content:t.getLines(e,s,4+t.blkIndent,!0),block:!0,lines:[e,t.line],level:t.level}),!0}function Yue(t,e,r,n){var s,i,a,o,u,l=!1,c=t.bMarks[e]+t.tShift[e],p=t.eMarks[e];if(c+3>p||(s=t.src.charCodeAt(c),s!==126&&s!==96)||(u=c,c=t.skipChars(c,s),i=c-u,i<3)||(a=t.src.slice(c,p).trim(),a.indexOf("`")>=0))return!1;if(n)return!0;for(o=e;o++,!(o>=r||(c=u=t.bMarks[o]+t.tShift[o],p=t.eMarks[o],c<p&&t.tShift[o]<t.blkIndent));)if(t.src.charCodeAt(c)===s&&!(t.tShift[o]-t.blkIndent>=4)&&(c=t.skipChars(c,s),!(c-u<i)&&(c=t.skipSpaces(c),!(c<p)))){l=!0;break}return i=t.tShift[e],t.line=o+(l?1:0),t.tokens.push({type:"fence",params:a,content:t.getLines(e+1,o,i,!0),lines:[e,t.line],level:t.level}),!0}function Xue(t,e,r,n){var s,i,a,o,u,l,c,p,m,d,g,y=t.bMarks[e]+t.tShift[e],v=t.eMarks[e];if(y>v||t.src.charCodeAt(y++)!==62||t.level>=t.options.maxNesting)return!1;if(n)return!0;for(t.src.charCodeAt(y)===32&&y++,u=t.blkIndent,t.blkIndent=0,o=[t.bMarks[e]],t.bMarks[e]=y,y=y<v?t.skipSpaces(y):y,i=y>=v,a=[t.tShift[e]],t.tShift[e]=y-t.bMarks[e],p=t.parser.ruler.getRules("blockquote"),s=e+1;s<r&&(y=t.bMarks[s]+t.tShift[s],v=t.eMarks[s],!(y>=v));s++){if(t.src.charCodeAt(y++)===62){t.src.charCodeAt(y)===32&&y++,o.push(t.bMarks[s]),t.bMarks[s]=y,y=y<v?t.skipSpaces(y):y,i=y>=v,a.push(t.tShift[s]),t.tShift[s]=y-t.bMarks[s];continue}if(i)break;for(g=!1,m=0,d=p.length;m<d;m++)if(p[m](t,s,r,!0)){g=!0;break}if(g)break;o.push(t.bMarks[s]),a.push(t.tShift[s]),t.tShift[s]=-1337}for(l=t.parentType,t.parentType="blockquote",t.tokens.push({type:"blockquote_open",lines:c=[e,0],level:t.level++}),t.parser.tokenize(t,e,s),t.tokens.push({type:"blockquote_close",level:--t.level}),t.parentType=l,c[1]=t.line,m=0;m<a.length;m++)t.bMarks[m+e]=o[m],t.tShift[m+e]=a[m];return t.blkIndent=u,!0}function Zue(t,e,r,n){var s,i,a,o=t.bMarks[e],u=t.eMarks[e];if(o+=t.tShift[e],o>u||(s=t.src.charCodeAt(o++),s!==42&&s!==45&&s!==95))return!1;for(i=1;o<u;){if(a=t.src.charCodeAt(o++),a!==s&&a!==32)return!1;a===s&&i++}return i<3?!1:(n||(t.line=e+1,t.tokens.push({type:"hr",lines:[e,t.line],level:t.level})),!0)}function iD(t,e){var r,n,s;return n=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],n>=s||(r=t.src.charCodeAt(n++),r!==42&&r!==45&&r!==43)||n<s&&t.src.charCodeAt(n)!==32?-1:n}function aD(t,e){var r,n=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(n+1>=s||(r=t.src.charCodeAt(n++),r<48||r>57))return-1;for(;;){if(n>=s)return-1;if(r=t.src.charCodeAt(n++),!(r>=48&&r<=57)){if(r===41||r===46)break;return-1}}return n<s&&t.src.charCodeAt(n)!==32?-1:n}function Que(t,e){var r,n,s=t.level+2;for(r=e+2,n=t.tokens.length-2;r<n;r++)t.tokens[r].level===s&&t.tokens[r].type==="paragraph_open"&&(t.tokens[r+2].tight=!0,t.tokens[r].tight=!0,r+=2)}function ele(t,e,r,n){var s,i,a,o,u,l,c,p,m,d,g,y,v,E,b,_,w,S,A=!0,I,k,P,F;if((p=aD(t,e))>=0)v=!0;else if((p=iD(t,e))>=0)v=!1;else return!1;if(t.level>=t.options.maxNesting)return!1;
vendor: 9,176 bytes, line 215
215if(y=t.src.charCodeAt(p-1),n)return!0;for(b=t.tokens.length,v?(c=t.bMarks[e]+t.tShift[e],g=Number(t.src.substr(c,p-c-1)),t.tokens.push({type:"ordered_list_open",order:g,lines:w=[e,0],level:t.level++})):t.tokens.push({type:"bullet_list_open",lines:w=[e,0],level:t.level++}),s=e,_=!1,I=t.parser.ruler.getRules("list");s<r&&(E=t.skipSpaces(p),m=t.eMarks[s],E>=m?d=1:d=E-p,d>4&&(d=1),d<1&&(d=1),i=p-t.bMarks[s]+d,t.tokens.push({type:"list_item_open",lines:S=[e,0],level:t.level++}),o=t.blkIndent,u=t.tight,a=t.tShift[e],l=t.parentType,t.tShift[e]=E-t.bMarks[e],t.blkIndent=i,t.tight=!0,t.parentType="list",t.parser.tokenize(t,e,r,!0),(!t.tight||_)&&(A=!1),_=t.line-e>1&&t.isEmpty(t.line-1),t.blkIndent=o,t.tShift[e]=a,t.tight=u,t.parentType=l,t.tokens.push({type:"list_item_close",level:--t.level}),s=e=t.line,S[1]=s,E=t.bMarks[e],!(s>=r||t.isEmpty(s)||t.tShift[s]<t.blkIndent));){for(F=!1,k=0,P=I.length;k<P;k++)if(I[k](t,s,r,!0)){F=!0;break}if(F)break;if(v){if(p=aD(t,s),p<0)break}else if(p=iD(t,s),p<0)break;if(y!==t.src.charCodeAt(p-1))break}return t.tokens.push({type:v?"ordered_list_close":"bullet_list_close",level:--t.level}),w[1]=s,t.line=s,A&&Que(t,b),!0}function tle(t,e,r,n){var s,i,a,o,u,l=t.bMarks[e]+t.tShift[e],c=t.eMarks[e];if(l+4>c||t.src.charCodeAt(l)!==91||t.src.charCodeAt(l+1)!==94||t.level>=t.options.maxNesting)return!1;for(o=l+2;o<c;o++){if(t.src.charCodeAt(o)===32)return!1;if(t.src.charCodeAt(o)===93)break}return o===l+2||o+1>=c||t.src.charCodeAt(++o)!==58?!1:(n||(o++,t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.refs||(t.env.footnotes.refs={}),u=t.src.slice(l+2,o-2),t.env.footnotes.refs[":"+u]=-1,t.tokens.push({type:"footnote_reference_open",label:u,level:t.level++}),s=t.bMarks[e],i=t.tShift[e],a=t.parentType,t.tShift[e]=t.skipSpaces(o)-o,t.bMarks[e]=o,t.blkIndent+=4,t.parentType="footnote",t.tShift[e]<t.blkIndent&&(t.tShift[e]+=t.blkIndent,t.bMarks[e]-=t.blkIndent),t.parser.tokenize(t,e,r,!0),t.parentType=a,t.blkIndent-=4,t.tShift[e]=i,t.bMarks[e]=s,t.tokens.push({type:"footnote_reference_close",level:--t.level})),!0)}function rle(t,e,r,n){var s,i,a,o=t.bMarks[e]+t.tShift[e],u=t.eMarks[e];if(o>=u||(s=t.src.charCodeAt(o),s!==35||o>=u))return!1;for(i=1,s=t.src.charCodeAt(++o);s===35&&o<u&&i<=6;)i++,s=t.src.charCodeAt(++o);return i>6||o<u&&s!==32?!1:(n||(u=t.skipCharsBack(u,32,o),a=t.skipCharsBack(u,35,o),a>o&&t.src.charCodeAt(a-1)===32&&(u=a),t.line=e+1,t.tokens.push({type:"heading_open",hLevel:i,lines:[e,t.line],level:t.level}),o<u&&t.tokens.push({type:"inline",content:t.src.slice(o,u).trim(),level:t.level+1,lines:[e,t.line],children:[]}),t.tokens.push({type:"heading_close",hLevel:i,level:t.level})),!0)}function nle(t,e,r){var n,s,i,a=e+1;return a>=r||t.tShift[a]<t.blkIndent||t.tShift[a]-t.blkIndent>3||(s=t.bMarks[a]+t.tShift[a],i=t.eMarks[a],s>=i)||(n=t.src.charCodeAt(s),n!==45&&n!==61)||(s=t.skipChars(s,n),s=t.skipSpaces(s),s<i)?!1:(s=t.bMarks[e]+t.tShift[e],t.line=a+1,t.tokens.push({type:"heading_open",hLevel:n===61?1:2,lines:[e,t.line],level:t.level}),t.tokens.push({type:"inline",content:t.src.slice(s,t.eMarks[e]).trim(),level:t.level+1,lines:[e,t.line-1],children:[]}),t.tokens.push({type:"heading_close",hLevel:n===61?1:2,level:t.level}),!0)}var i6={};["article","aside","button","blockquote","body","canvas","caption","col","colgroup","dd","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","iframe","li","map","object","ol","output","p","pre","progress","script","section","style","table","tbody","td","textarea","tfoot","th","tr","thead","ul","video"].forEach(function(t){i6[t]=!0});var sle=/^<([a-zA-Z]{1,15})[\s\/>]/,ile=/^<\/([a-zA-Z]{1,15})[\s>]/;function ale(t){var e=t|32;return e>=97&&e<=122}function ole(t,e,r,n){var s,i,a,o=t.bMarks[e],u=t.eMarks[e],l=t.tShift[e];if(o+=l,!t.options.html||l>3||o+2>=u||t.src.charCodeAt(o)!==60)return!1;if(s=t.src.charCodeAt(o+1),s===33||s===63){if(n)return!0}else if(s===47||ale(s)){if(s===47){if(i=t.src.slice(o,u).match(ile),!i)return!1}else if(i=t.src.slice(o,u).match(sle),!i)return!1;if(i6[i[1].toLowerCase()]!==!0)return!1;if(n)return!0}else return!1;for(a=e+1;a<t.lineMax&&!t.isEmpty(a);)a++;return t.line=a,t.tokens.push({type:"htmlblock",level:t.level,lines:[e,t.line],content:t.getLines(e,a,0,!0)}),!0}function cS(t,e){var r=t.bMarks[e]+t.blkIndent,n=t.eMarks[e];return t.src.substr(r,n-r)}function ule(t,e,r,n){var s,i,a,o,u,l,c,p,m,d,g;if(e+2>r||(u=e+1,t.tShift[u]<t.blkIndent)||(a=t.bMarks[u]+t.tShift[u],a>=t.eMarks[u])||(s=t.src.charCodeAt(a),s!==124&&s!==45&&s!==58)||(i=cS(t,e+1),!/^[-:| ]+$/.test(i))||(l=i.split("|"),l<=2))return!1;for(p=[],o=0;o<l.length;o++){if(m=l[o].trim(),!m){if(o===0||o===l.length-1)continue;return!1}if(!/^:?-+:?$/.test(m))return!1;m.charCodeAt(m.length-1)===58?p.push(m.charCodeAt(0)===58?"center":"right"):m.charCodeAt(0)===58?p.push("left"):p.push("")}if(i=cS(t,e).trim(),i.indexOf("|")===-1||(l=i.replace(/^\||\|$/g,"").split("|"),p.length!==l.length))return!1;if(n)return!0;for(t.tokens.push({type:"table_open",lines:d=[e,0],level:t.level++}),t.tokens.push({type:"thead_open",lines:[e,e+1],level:t.level++}),t.tokens.push({type:"tr_open",lines:[e,e+1],level:t.level++}),o=0;o<l.length;o++)t.tokens.push({type:"th_open",align:p[o],lines:[e,e+1],level:t.level++}),t.tokens.push({type:"inline",content:l[o].trim(),lines:[e,e+1],level:t.level,children:[]}),t.tokens.push({type:"th_close",level:--t.level});for(t.tokens.push({type:"tr_close",level:--t.level}),t.tokens.push({type:"thead_close",level:--t.level}),t.tokens.push({type:"tbody_open",lines:g=[e+2,0],level:t.level++}),u=e+2;u<r&&!(t.tShift[u]<t.blkIndent||(i=cS(t,u).trim(),i.indexOf("|")===-1));u++){for(l=i.replace(/^\||\|$/g,"").split("|"),t.tokens.push({type:"tr_open",level:t.level++}),o=0;o<l.length;o++)t.tokens.push({type:"td_open",align:p[o],level:t.level++}),c=l[o].substring(l[o].charCodeAt(0)===124?1:0,l[o].charCodeAt(l[o].length-1)===124?l[o].length-1:l[o].length).trim(),t.tokens.push({type:"inline",content:c,level:t.level,children:[]}),t.tokens.push({type:"td_close",level:--t.level});t.tokens.push({type:"tr_close",level:--t.level})}return t.tokens.push({type:"tbody_close",level:--t.level}),t.tokens.push({type:"table_close",level:--t.level}),d[1]=g[1]=u,t.line=u,!0}function ac(t,e){var r,n,s=t.bMarks[e]+t.tShift[e],i=t.eMarks[e];return s>=i||(n=t.src.charCodeAt(s++),n!==126&&n!==58)||(r=t.skipSpaces(s),s===r)||r>=i?-1:r}function lle(t,e){var r,n,s=t.level+2;for(r=e+2,n=t.tokens.length-2;r<n;r++)t.tokens[r].level===s&&t.tokens[r].type==="paragraph_open"&&(t.tokens[r+2].tight=!0,t.tokens[r].tight=!0,r+=2)}function cle(t,e,r,n){var s,i,a,o,u,l,c,p,m,d,g,y,v,E;if(n)return t.ddIndent<0?!1:ac(t,e)>=0;if(c=e+1,t.isEmpty(c)&&++c>r||t.tShift[c]<t.blkIndent||(s=ac(t,c),s<0)||t.level>=t.options.maxNesting)return!1;l=t.tokens.length,t.tokens.push({type:"dl_open",lines:u=[e,0],level:t.level++}),a=e,i=c;e:for(;;){for(E=!0,v=!1,t.tokens.push({type:"dt_open",lines:[a,a],level:t.level++}),t.tokens.push({type:"inline",content:t.getLines(a,a+1,t.blkIndent,!1).trim(),level:t.level+1,lines:[a,a],children:[]}),t.tokens.push({type:"dt_close",level:--t.level});;){if(t.tokens.push({type:"dd_open",lines:o=[c,0],level:t.level++}),y=t.tight,m=t.ddIndent,p=t.blkIndent,g=t.tShift[i],d=t.parentType,t.blkIndent=t.ddIndent=t.tShift[i]+2,t.tShift[i]=s-t.bMarks[i],t.tight=!0,t.parentType="deflist",t.parser.tokenize(t,i,r,!0),(!t.tight||v)&&(E=!1),v=t.line-i>1&&t.isEmpty(t.line-1),t.tShift[i]=g,t.tight=y,t.parentType=d,t.blkIndent=p,t.ddIndent=m,t.tokens.push({type:"dd_close",level:--t.level}),o[1]=c=t.line,c>=r||t.tShift[c]<t.blkIndent)break e;if(s=ac(t,c),s<0)break;i=c}if(c>=r||(a=c,t.isEmpty(a))||t.tShift[a]<t.blkIndent||(i=a+1,i>=r)||(t.isEmpty(i)&&i++,i>=r)||t.tShift[i]<t.blkIndent||(s=ac(t,i),s<0))break}return t.tokens.push({type:"dl_close",level:--t.level}),u[1]=c,t.line=c,E&&lle(t,l),!0}function fle(t,e){var r,n,s,i,a,o=e+1,u;if(r=t.lineMax,o<r&&!t.isEmpty(o)){for(u=t.parser.ruler.getRules("paragraph");o<r&&!t.isEmpty(o);o++)if(!(t.tShift[o]-t.blkIndent>3)){for(s=!1,i=0,a=u.length;i<a;i++)if(u[i](t,o,r,!0)){s=!0;break}if(s)break}}return n=t.getLines(e,o,t.blkIndent,!1).trim(),t.line=o,n.length&&(t.tokens.push({type:"paragraph_open",tight:!1,lines:[e,t.line],level:t.level}),t.tokens.push({type:"inline",content:n,level:t.level+1,lines:[e,t.line],children:[]}),t.tokens.push({type:"paragraph_close",tight:!1,level:t.level})),!0}var oc=[["code",Gue],["fences",Yue,["paragraph","blockquote","list"]],["blockquote",Xue,["paragraph","blockquote","list"]],["hr",Zue,["paragraph","blockquote","list"]],["list",ele,["paragraph","blockquote"]],["footnote",tle,["paragraph"]],["heading",rle,["paragraph","blockquote"]],["lheading",nle],["htmlblock",ole,["paragraph","blockquote"]],["table",ule,["paragraph"]],["deflist",cle,["paragraph"]],["paragraph",fle]];function Bx(){this.ruler=new wn;for(var t=0;t<oc.length;t++)this.ruler.push(oc[t][0],oc[t][1],{alt:(oc[t][2]||[]).slice()})}Bx.prototype.tokenize=function(t,e,r){for(var n=this.ruler.getRules(""),s=n.length,i=e,a=!1,o,u;i<r&&(t.line=i=t.skipEmptyLines(i),!(i>=r||t.tShift[i]<t.blkIndent));){for(u=0;
215u<s&&(o=n[u](t,i,r,!1),!o);u++);if(t.tight=!a,t.isEmpty(t.line-1)&&(a=!0),i=t.line,i<r&&t.isEmpty(i)){if(a=!0,i++,i<r&&t.parentType==="list"&&t.isEmpty(i))break;t.line=i}}};var ple=/[\n\t]/g,dle=/\r[\n\u0085]|[\u2424\u2028\u0085]/g,hle=/\u00a0/g;Bx.prototype.parse=function(t,e,r,n){var s,i=0,a=0;if(!t)return[];t=t.replace(hle," "),t=t.replace(dle,`
216`),t.indexOf("	")>=0&&(t=t.replace(ple,function(o,u){var l;return t.charCodeAt(u)===10?(i=u+1,a=0,o):(l="    ".slice((u-i-a)%4),a=u-i+1,l)})),s=new ma(t,this,e,r,n),this.tokenize(s,s.line,s.lineMax)};function mle(t){switch(t){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function gle(t,e){for(var r=t.pos;r<t.posMax&&!mle(t.src.charCodeAt(r));)r++;return r===t.pos?!1:(e||(t.pending+=t.src.slice(t.pos,r)),t.pos=r,!0)}function yle(t,e){var r,n,s=t.pos;if(t.src.charCodeAt(s)!==10)return!1;if(r=t.pending.length-1,n=t.posMax,!e)if(r>=0&&t.pending.charCodeAt(r)===32)if(r>=1&&t.pending.charCodeAt(r-1)===32){for(var i=r-2;i>=0;i--)if(t.pending.charCodeAt(i)!==32){t.pending=t.pending.substring(0,i+1);break}t.push({type:"hardbreak",level:t.level})}else t.pending=t.pending.slice(0,-1),t.push({type:"softbreak",level:t.level});else t.push({type:"softbreak",level:t.level});for(s++;s<n&&t.src.charCodeAt(s)===32;)s++;return t.pos=s,!0}var Lx=[];for(var oD=0;oD<256;oD++)Lx.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Lx[t.charCodeAt(0)]=1});function vle(t,e){var r,n=t.pos,s=t.posMax;if(t.src.charCodeAt(n)!==92)return!1;if(n++,n<s){if(r=t.src.charCodeAt(n),r<256&&Lx[r]!==0)return e||(t.pending+=t.src[n]),t.pos+=2,!0;if(r===10){for(e||t.push({type:"hardbreak",level:t.level}),n++;n<s&&t.src.charCodeAt(n)===32;)n++;
216return t.pos=n,!0}}return e||(t.pending+="\\"),t.pos++,!0}function ble(t,e){var r,n,s,i,a,o=t.pos,u=t.src.charCodeAt(o);if(u!==96)return!1;for(r=o,o++,n=t.posMax;o<n&&t.src.charCodeAt(o)===96;)o++;for(s=t.src.slice(r,o),i=a=o;(i=t.src.indexOf("`",a))!==-1;){for(a=i+1;a<n&&t.src.charCodeAt(a)===96;)a++;if(a-i===s.length)return e||t.push({type:"code",content:t.src.slice(o,i).replace(/[ \n]+/g," ").trim(),block:!1,level:t.level}),t.pos=a,!0}return e||(t.pending+=s),t.pos+=s.length,!0}function Ele(t,e){var r,n,s,i=t.posMax,a=t.pos,o,u;if(t.src.charCodeAt(a)!==126||e||a+4>=i||t.src.charCodeAt(a+1)!==126||t.level>=t.options.maxNesting||(o=a>0?t.src.charCodeAt(a-1):-1,u=t.src.charCodeAt(a+2),o===126)||u===126||u===32||u===10)return!1;for(n=a+2;n<i&&t.src.charCodeAt(n)===126;)n++;if(n>a+3)return t.pos+=n-a,e||(t.pending+=t.src.slice(a,n)),!0;for(t.pos=a+2,s=1;t.pos+1<i;){if(t.src.charCodeAt(t.pos)===126&&t.src.charCodeAt(t.pos+1)===126&&(o=t.src.charCodeAt(t.pos-1),u=t.pos+2<i?t.src.charCodeAt(t.pos+2):-1,u!==126&&o!==126&&(o!==32&&o!==10?s--:u!==32&&u!==10&&s++,s<=0))){r=!0;break}t.parser.skipToken(t)}return r?(t.posMax=t.pos,t.pos=a+2,e||(t.push({type:"del_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"del_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=i,!0):(t.pos=a,!1)}function Sle(t,e){var r,n,s,i=t.posMax,a=t.pos,o,u;if(t.src.charCodeAt(a)!==43||e||a+4>=i||t.src.charCodeAt(a+1)!==43||t.level>=t.options.maxNesting||(o=a>0?t.src.charCodeAt(a-1):-1,u=t.src.charCodeAt(a+2),o===43)||u===43||u===32||u===10)return!1;for(n=a+2;n<i&&t.src.charCodeAt(n)===43;)n++;if(n!==a+2)return t.pos+=n-a,e||(t.pending+=t.src.slice(a,n)),!0;for(t.pos=a+2,s=1;t.pos+1<i;){if(t.src.charCodeAt(t.pos)===43&&t.src.charCodeAt(t.pos+1)===43&&(o=t.src.charCodeAt(t.pos-1),u=t.pos+2<i?t.src.charCodeAt(t.pos+2):-1,u!==43&&o!==43&&(o!==32&&o!==10?s--:u!==32&&u!==10&&s++,s<=0))){r=!0;break}t.parser.skipToken(t)}return r?(t.posMax=t.pos,t.pos=a+2,e||(t.push({type:"ins_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"ins_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=i,!0):(t.pos=a,!1)}function _le(t,e){var r,n,s,i=t.posMax,a=t.pos,o,u;if(t.src.charCodeAt(a)!==61||e||a+4>=i||t.src.charCodeAt(a+1)!==61||t.level>=t.options.maxNesting||(o=a>0?t.src.charCodeAt(a-1):-1,u=t.src.charCodeAt(a+2),o===61)||u===61||u===32||u===10)return!1;for(n=a+2;n<i&&t.src.charCodeAt(n)===61;)n++;if(n!==a+2)return t.pos+=n-a,e||(t.pending+=t.src.slice(a,n)),!0;for(t.pos=a+2,s=1;t.pos+1<i;){if(t.src.charCodeAt(t.pos)===61&&t.src.charCodeAt(t.pos+1)===61&&(o=t.src.charCodeAt(t.pos-1),u=t.pos+2<i?t.src.charCodeAt(t.pos+2):-1,u!==61&&o!==61&&(o!==32&&o!==10?s--:u!==32&&u!==10&&s++,s<=0))){r=!0;break}t.parser.skipToken(t)}return r?(t.posMax=t.pos,t.pos=a+2,e||(t.push({type:"mark_open",level:t.level++}),t.parser.tokenize(t),t.push({type:"mark_close",level:--t.level})),t.pos=t.posMax+2,t.posMax=i,!0):(t.pos=a,!1)}function uD(t){return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122}function lD(t,e){var r=e,n,s,i,a=!0,o=!0,u=t.posMax,l=t.src.charCodeAt(e);for(n=e>0?t.src.charCodeAt(e-1):-1;r<u&&t.src.charCodeAt(r)===l;)r++;return r>=u&&(a=!1),i=r-e,i>=4?a=o=!1:(s=r<u?t.src.charCodeAt(r):-1,(s===32||s===10)&&(a=!1),(n===32||n===10)&&(o=!1),l===95&&(uD(n)&&(a=!1),uD(s)&&(o=!1))),{can_open:a,can_close:o,delims:i}}function wle(t,e){var r,n,s,i,a,o,u,l=t.posMax,c=t.pos,p=t.src.charCodeAt(c);if(p!==95&&p!==42||e)return!1;if(u=lD(t,c),r=u.delims,!u.can_open)return t.pos+=r,e||(t.pending+=t.src.slice(c,t.pos)),!0;if(t.level>=t.options.maxNesting)return!1;for(t.pos=c+r,o=[r];t.pos<l;){if(t.src.charCodeAt(t.pos)===p){if(u=lD(t,t.pos),n=u.delims,u.can_close){for(i=o.pop(),a=n;i!==a;){if(a<i){o.push(i-a);break}if(a-=i,o.length===0)break;t.pos+=i,i=o.pop()}if(o.length===0){r=i,s=!0;break}t.pos+=n;continue}u.can_open&&o.push(n),t.pos+=n;continue}t.parser.skipToken(t)}return s?(t.posMax=t.pos,t.pos=c+r,e||((r===2||r===3)&&t.push({type:"strong_open",level:t.level++}),(r===1||r===3)&&t.push({type:"em_open",level:t.level++}),t.parser.tokenize(t),(r===1||r===3)&&t.push({type:"em_close",level:--t.level}),(r===2||r===3)&&t.push({type:"strong_close",level:--t.level})),t.pos=t.posMax+r,t.posMax=l,!0):(t.pos=c,!1)}var xle=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ale(t,e){var r,n,s=t.posMax,i=t.pos;
216if(t.src.charCodeAt(i)!==126||e||i+2>=s||t.level>=t.options.maxNesting)return!1;for(t.pos=i+1;t.pos<s;){if(t.src.charCodeAt(t.pos)===126){r=!0;break}t.parser.skipToken(t)}return!r||i+1===t.pos||(n=t.src.slice(i+1,t.pos),n.match(/(^|[^\\])(\\\\)*\s/))?(t.pos=i,!1):(t.posMax=t.pos,t.pos=i+1,e||t.push({type:"sub",level:t.level,content:n.replace(xle,"$1")}),t.pos=t.posMax+1,t.posMax=s,!0)}var Ole=/\\([ \\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Cle(t,e){var r,n,s=t.posMax,i=t.pos;if(t.src.charCodeAt(i)!==94||e||i+2>=s||t.level>=t.options.maxNesting)return!1;for(t.pos=i+1;t.pos<s;){if(t.src.charCodeAt(t.pos)===94){r=!0;break}t.parser.skipToken(t)}return!r||i+1===t.pos||(n=t.src.slice(i+1,t.pos),n.match(/(^|[^\\])(\\\\)*\s/))?(t.pos=i,!1):(t.posMax=t.pos,t.pos=i+1,e||t.push({type:"sup",level:t.level,content:n.replace(Ole,"$1")}),t.pos=t.posMax+1,t.posMax=s,!0)}function Rle(t,e){var r,n,s,i,a,o,u,l,c=!1,p=t.pos,m=t.posMax,d=t.pos,g=t.src.charCodeAt(d);if(g===33&&(c=!0,g=t.src.charCodeAt(++d)),g!==91||t.level>=t.options.maxNesting||(r=d+1,n=cu(t,d),n<0))return!1;if(o=n+1,o<m&&t.src.charCodeAt(o)===40){for(o++;o<m&&(l=t.src.charCodeAt(o),!(l!==32&&l!==10));o++);if(o>=m)return!1;for(d=o,t6(t,o)?(i=t.linkContent,o=t.pos):i="",d=o;o<m&&(l=t.src.charCodeAt(o),!(l!==32&&l!==10));o++);if(o<m&&d!==o&&r6(t,o))for(a=t.linkContent,o=t.pos;o<m&&(l=t.src.charCodeAt(o),!(l!==32&&l!==10));o++);else a="";if(o>=m||t.src.charCodeAt(o)!==41)return t.pos=p,!1;o++}else{if(t.linkLevel>0)return!1;for(;o<m&&(l=t.src.charCodeAt(o),!(l!==32&&l!==10));o++);if(o<m&&t.src.charCodeAt(o)===91&&(d=o+1,o=cu(t,o),o>=0?s=t.src.slice(d,o++):o=d-1),s||(typeof s>"u"&&(o=n+1),s=t.src.slice(r,n)),u=t.env.references[n6(s)],!u)return t.pos=p,!1;i=u.href,a=u.title}return e||(t.pos=r,t.posMax=n,c?t.push({type:"image",src:i,title:a,alt:t.src.substr(r,n-r),level:t.level}):(t.push({type:"link_open",href:i,title:a,level:t.level++}),t.linkLevel++,t.parser.tokenize(t),t.linkLevel--,t.push({type:"link_close",level:--t.level}))),t.pos=o,t.posMax=m,!0}function Ile(t,e){var r,n,s,i,a=t.posMax,o=t.pos;return o+2>=a||t.src.charCodeAt(o)!==94||t.src.charCodeAt(o+1)!==91||t.level>=t.options.maxNesting||(r=o+2,n=cu(t,o+1),n<0)?!1:(e||(t.env.footnotes||(t.env.footnotes={}),t.env.footnotes.list||(t.env.footnotes.list=[]),s=t.env.footnotes.list.length,t.pos=r,t.posMax=n,t.push({type:"footnote_ref",id:s,level:t.level}),t.linkLevel++,i=t.tokens.length,t.parser.tokenize(t),t.env.footnotes.list[s]={tokens:t.tokens.splice(i)},t.linkLevel--),t.pos=n+1,t.posMax=a,!0)}function Tle(t,e){var r,n,s,i,a=t.posMax,o=t.pos;if(o+3>a||!t.env.footnotes||!t.env.footnotes.refs||t.src.charCodeAt(o)!==91||t.src.charCodeAt(o+1)!==94||t.level>=t.options.maxNesting)return!1;for(n=o+2;n<a;n++){if(t.src.charCodeAt(n)===32||t.src.charCodeAt(n)===10)return!1;if(t.src.charCodeAt(n)===93)break}return n===o+2||n>=a||(n++,r=t.src.slice(o+2,n-1),typeof t.env.footnotes.refs[":"+r]>"u")?!1:(e||(t.env.footnotes.list||(t.env.footnotes.list=[]),t.env.footnotes.refs[":"+r]<0?(s=t.env.footnotes.list.length,t.env.footnotes.list[s]={label:r,count:0},t.env.footnotes.refs[":"+r]=s):s=t.env.footnotes.refs[":"+r],i=t.env.footnotes.list[s].count,t.env.footnotes.list[s].count++,t.push({type:"footnote_ref",id:s,subId:i,level:t.level})),t.pos=n,t.posMax=a,!0)}var kle=["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"],Ple=/^<([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])?)*)>/,jle=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function Nle(t,e){var r,n,s,i,a,o=t.pos;
216return t.src.charCodeAt(o)!==60||(r=t.src.slice(o),r.indexOf(">")<0)?!1:(n=r.match(jle),n?kle.indexOf(n[1].toLowerCase())<0||(i=n[0].slice(1,-1),a=g1(i),!t.parser.validateLink(i))?!1:(e||(t.push({type:"link_open",href:a,level:t.level}),t.push({type:"text",content:i,level:t.level+1}),t.push({type:"link_close",level:t.level})),t.pos+=n[0].length,!0):(s=r.match(Ple),s?(i=s[0].slice(1,-1),a=g1("mailto:"+i),t.parser.validateLink(a)?(e||(t.push({type:"link_open",href:a,level:t.level}),t.push({type:"text",content:i,level:t.level+1}),t.push({type:"link_close",level:t.level})),t.pos+=s[0].length,!0):!1):!1))}function Ip(t,e){return t=t.source,e=e||"",function r(n,s){return n?(s=s.source||s,t=t.replace(n,s),r):new RegExp(t,e)}}var Mle=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,Dle=/[^"'=<>`\x00-\x20]+/,Fle=/'[^']*'/,qle=/"[^"]*"/,Ble=Ip(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",Dle)("single_quoted",Fle)("double_quoted",qle)(),Lle=Ip(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",Mle)("attr_value",Ble)(),$le=Ip(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",Lle)(),Ule=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,Vle=/<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->/,zle=/<[?].*?[?]>/,Wle=/<![A-Z]+\s+[^>]*>/,Jle=/<!\[CDATA\[[\s\S]*?\]\]>/,Hle=Ip(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",$le)("close_tag",Ule)("comment",Vle)("processing",zle)("declaration",Wle)("cdata",Jle)();function Kle(t){var e=t|32;return e>=97&&e<=122}function Gle(t,e){var r,n,s,i=t.pos;return!t.options.html||(s=t.posMax,t.src.charCodeAt(i)!==60||i+2>=s)||(r=t.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!Kle(r))||(n=t.src.slice(i).match(Hle),!n)?!1:(e||t.push({type:"htmltag",content:t.src.slice(i,i+n[0].length),level:t.level}),t.pos+=n[0].length,!0)}var Yle=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,Xle=/^&([a-z][a-z0-9]{1,31});/i;function Zle(t,e){var r,n,s,i=t.pos,a=t.posMax;if(t.src.charCodeAt(i)!==38)return!1;if(i+1<a){if(r=t.src.charCodeAt(i+1),r===35){if(s=t.src.slice(i).match(Yle),s)return e||(n=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),t.pending+=Q$(n)?m1(n):m1(65533)),t.pos+=s[0].length,!0}else if(s=t.src.slice(i).match(Xle),s){var o=X$(s[1]);if(s[1]!==o)return e||(t.pending+=o),t.pos+=s[0].length,!0}}return e||(t.pending+="&"),t.pos++,!0}var fS=[["text",gle],["newline",yle],["escape",vle],["backticks",ble],["del",Ele],["ins",Sle],["mark",_le],["emphasis",wle],["sub",Ale],["sup",Cle],["links",Rle],["footnote_inline",Ile],["footnote_ref",Tle],["autolink",Nle],["htmltag",Gle],["entity",Zle]
216];function Tp(){this.ruler=new wn;for(var t=0;t<fS.length;t++)this.ruler.push(fS[t][0],fS[t][1]);this.validateLink=Qle}Tp.prototype.skipToken=function(t){var e=this.ruler.getRules(""),r=e.length,n=t.pos,s,i;if((i=t.cacheGet(n))>0){t.pos=i;return}for(s=0;s<r;s++)if(e[s](t,!0)){t.cacheSet(n,t.pos);return}t.pos++,t.cacheSet(n,t.pos)};Tp.prototype.tokenize=function(t){for(var e=this.ruler.getRules(""),r=e.length,n=t.posMax,s,i;t.pos<n;){for(i=0;i<r&&(s=e[i](t,!1),!s);i++);if(s){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Tp.prototype.parse=function(t,e,r,n){var s=new ha(t,this,e,r,n);this.tokenize(s)};function Qle(t){var e=["vbscript","javascript","file","data"],r=t.trim().toLowerCase();return r=ra(r),!(r.indexOf(":")!==-1&&e.indexOf(r.split(":")[0])!==-1)}var ece={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"]}}},tce={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},rce={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"]}}},nce={default:ece,full:tce,commonmark:rce};function a6(t,e,r){this.src=e,this.env=r,this.options=t.options,this.tokens=[],this.inlineMode=!1,this.inline=t.inline,this.block=t.block,this.renderer=t.renderer,this.typographer=t.typographer}function Mi(t,e){typeof t!="string"&&(e=t,t="default"),e&&e.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead:
217
218import Remarkable from 'remarkable';
219import linkify from 'remarkable/linkify';
220new Remarkable().use(linkify)
221`),this.inline=new Tp,this.block=new Bx,this.core=new s6,this.renderer=new qx,this.ruler=new wn,this.options={},this.configure(nce[t]),this.set(e||{})}Mi.prototype.set=function(t){Z$(this.options,t)};Mi.prototype.configure=function(t){var e=this;if(!t)throw new Error("Wrong `remarkable` preset, check name/content");t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enable(t.components[r].rules,!0)})};Mi.prototype.use=function(t,e){return t(this,e),this};Mi.prototype.parse=function(t,e){var r=new a6(this,t,e);return this.core.process(r),r.tokens};Mi.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Mi.prototype.parseInline=function(t,e){var r=new a6(this,t,e);return r.inlineMode=!0,this.core.process(r),r.tokens};Mi.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var sce="3.16.2";function ice(t,e){for(var r in e)e.hasOwnProperty(r)&&t[r]===void 0&&(t[r]=e[r]);return t}function ace(t,e,r){var n;return t.length>e&&(r==null?(r="&hellip;",n=3):n=r.length,t=t.substring(0,e-n)+r),t}function cD(t,e){if(Array.prototype.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function $i(t,e){for(var r=t.length-1;r>=0;r--)e(t[r])===!0&&t.splice(r,1)}function oce(t,e){if(!e.global)throw new Error("`splitRegex` must have the 'g' flag set");for(var r=[],n=0,s;s=e.exec(t);)r.push(t.substring(n,s.index)),r.push(s[0]),n=s.index+s[0].length;return r.push(t.substring(n)),r}function $x(t){throw new Error("Unhandled case for value: '".concat(t,"'"))}var y1=(function(){function t(e){e===void 0&&(e={}),this.tagName="",this.attrs={},this.innerHTML="",this.whitespaceRegex=/\s+/,this.tagName=e.tagName||"",this.attrs=e.attrs||{},this.innerHTML=e.innerHtml||e.innerHTML||""}return t.prototype.setTagName=function(e){return this.tagName=e,this},t.prototype.getTagName=function(){return this.tagName||""},t.prototype.setAttr=function(e,r){var n=this.getAttrs();return n[e]=r,this},t.prototype.getAttr=function(e){return this.getAttrs()[e]},t.prototype.setAttrs=function(e){return Object.assign(this.getAttrs(),e),this},t.prototype.getAttrs=function(){return this.attrs||(this.attrs={})},t.prototype.setClass=function(e){return this.setAttr("class",e)},t.prototype.addClass=function(e){for(var r=this.getClass(),n=this.whitespaceRegex,s=r?r.split(n):[],i=e.split(n),a;a=i.shift();)cD(s,a)===-1&&s.push(a);return this.getAttrs().class=s.join(" "),this},t.prototype.removeClass=function(e){for(var r=this.getClass(),n=this.whitespaceRegex,s=r?r.split(n):[],i=e.split(n),a;s.length&&(a=i.shift());){var o=cD(s,a);o!==-1&&s.splice(o,1)}return this.getAttrs().class=s.join(" "),this},t.prototype.getClass=function(){return this.getAttrs().class||""},t.prototype.hasClass=function(e){return(" "+this.getClass()+" ").indexOf(" "+e+" ")!==-1},t.prototype.setInnerHTML=function(e){return this.innerHTML=e,this},t.prototype.setInnerHtml=function(e){return this.setInnerHTML(e)},t.prototype.getInnerHTML=function(){return this.innerHTML||""},t.prototype.getInnerHtml=function(){return this.getInnerHTML()},t.prototype.toAnchorString=function(){var e=this.getTagName(),r=this.buildAttrsStr();return r=r?" "+r:"",["<",e,r,">",this.getInnerHtml(),"</",e,">"].join("")},t.prototype.buildAttrsStr=function(){if(!this.attrs)return"";var e=this.getAttrs(),r=[];for(var n in e)e.hasOwnProperty(n)&&r.push(n+'="'+e[n]+'"');return r.join(" ")},t})();function uce(t,e,r){var n,s;r==null?(r="&hellip;",s=3,n=8):(s=r.length,n=r.length);var i=function(b){var _={},w=b,S=w.match(/^([a-z]+):\/\//i);return S&&(_.scheme=S[1],w=w.substr(S[0].length)),S=w.match(/^(.*?)(?=(\?|#|\/|$))/i),S&&(_.host=S[1],w=w.substr(S[0].length)),S=w.match(/^\/(.*?)(?=(\?|#|$))/i),S&&(_.path=S[1],w=w.substr(S[0].length)),S=w.match(/^\?(.*?)(?=(#|$))/i),S&&(_.query=S[1],w=w.substr(S[0].length)),S=w.match(/^#(.*?)$/i),S&&(_.fragment=S[1]),_},a=function(b){var _="";return b.scheme&&b.host&&(_+=b.scheme+"://"),b.host&&(_+=b.host),b.path&&(_+="/"+b.path),b.query&&(_+="?"+b.query),b.fragment&&(_+="#"+b.fragment),_},o=function(b,_){var w=_/2,S=Math.ceil(w),A=-1*Math.floor(w),I="";return A<0&&(I=b.substr(A)),b.substr(0,S)+r+I};if(t.length<=e)return t;var u=e-s,l=i(t);if(l.query){var c=l.query.match(/^(.*?)(?=(\?|\#))(.*?)$/i);c&&(l.query=l.query.substr(0,c[1].length),t=a(l))}if(t.length<=e||(l.host&&(l.host=l.host.replace(/^www\./,""),t=a(l)),t.length<=e))return t;var p="";if(l.host&&(p+=l.host),p.length>=u)return l.host.length==e?(l.host.substr(0,e-s)+r).substr(0,u+n):o(p,u).substr(0,u+n);var m="";if(l.path&&(m+="/"+l.path),l.query&&(m+="?"+l.query),m)if((p+m).length>=u){if((p+m).length==e)return(p+m).substr(0,e);var d=u-p.length;return(p+o(m,d)).substr(0,u+n)}else p+=m;if(l.fragment){var g="#"+l.fragment;if((p+g).length>=u){if((p+g).length==e)return(p+g).substr(0,e);var y=u-p.length;return(p+o(g,y)).substr(0,u+n)}else p+=g}if(l.scheme&&l.host){var v=l.scheme+"://";if((p+v).length<u)return(v+p).substr(0,e)}if(p.length<=e)return p;var E="";return u>0&&(E=p.substr(-1*Math.floor(u/2))),(p.substr(0,Math.ceil(u/2))+r+E).substr(0,u+n)}function lce(t,e,r){if(t.length<=e)return t;var n,s;r==null?(r="&hellip;",n=8,s=3):(n=r.length,s=r.length);var i=e-s,a="";return i>0&&(a=t.substr(-1*Math.floor(i/2))),(t.substr(0,Math.ceil(i/2))+r+a).substr(0,i+n)}function cce(t,e,r){return ace(t,e,r)}var fD=(function(){function t(e){e===void 0&&(e={}),this.newWindow=!1,this.truncate={},this.className="",this.newWindow=e.newWindow||!1,this.truncate=e.truncate||{},this.className=e.className||""}return t.prototype.build=function(e){return new y1({tagName:"a",attrs:this.createAttrs(e),innerHtml:this.processAnchorText(e.getAnchorText())})},t.prototype.createAttrs=function(e){var r={href:e.getAnchorHref()},n=this.createCssClass(e);return n&&(r.class=n),this.newWindow&&(r.target="_blank",r.rel="noopener noreferrer"),this.truncate&&this.truncate.length&&this.truncate.length<e.getAnchorText().length&&(r.title=e.getAnchorHref()),r},t.prototype.createCssClass=function(e){var r=this.className;if(r){for(var n=[r],s=e.getCssClassSuffixes(),i=0,a=s.length;i<a;i++)n.push(r+"-"+s[i]);return n.join(" ")}else return""},t.prototype.processAnchorText=function(e){return e=this.doTruncate(e),e},t.prototype.doTruncate=function(e){var r=this.truncate;if(!r||!r.length)return e;var n=r.length,s=r.location;return s==="smart"?uce(e,n):s==="middle"?lce(e,n):cce(e,n)},t})(),yo=(function(){function t(e){this.__jsduckDummyDocProp=null,this.matchedText="",this.offset=0,this.tagBuilder=e.tagBuilder,this.matchedText=e.matchedText,this.offset=e.offset}return t.prototype.getMatchedText=function(){return this.matchedText},t.prototype.setOffset=function(e){this.offset=e},t.prototype.getOffset=function(){return this.offset},t.prototype.getCssClassSuffixes=function(){return[this.getType()]},t.prototype.buildTag=function(){return this.tagBuilder.build(this)},t}
221)(),v1=function(t,e){return v1=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])},v1(t,e)};function Ps(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");v1(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}var ar=function(){return ar=Object.assign||function(e){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)&&(e[i]=r[i])}return e},ar.apply(this,arguments)};var o6=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.email="",n.email=r.email,n}return e.prototype.getType=function(){return"email"},e.prototype.getEmail=function(){return this.email},e.prototype.getAnchorHref=function(){return"mailto:"+this.email},e.prototype.getAnchorText=function(){return this.email},e})(yo),u6=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.serviceName="",n.hashtag="",n.serviceName=r.serviceName,n.hashtag=r.hashtag,n}return e.prototype.getType=function(){return"hashtag"},e.prototype.getServiceName=function(){return this.serviceName},e.prototype.getHashtag=function(){return this.hashtag},e.prototype.getAnchorHref=function(){var r=this.serviceName,n=this.hashtag;switch(r){case"twitter":return"https://twitter.com/hashtag/"+n;case"facebook":return"https://www.facebook.com/hashtag/"+n;case"instagram":return"https://instagram.com/explore/tags/"+n;case"tiktok":return"https://www.tiktok.com/tag/"+n;default:throw new Error("Unknown service name to point hashtag to: "+r)}},e.prototype.getAnchorText=function(){return"#"+this.hashtag},e})(yo),l6=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.mention="",n.mention=r.mention,n.serviceName=r.serviceName,n}return e.prototype.getType=function(){return"mention"},e.prototype.getMention=function(){return this.mention},e.prototype.getServiceName=function(){return this.serviceName},e.prototype.getAnchorHref=function(){switch(this.serviceName){case"twitter":return"https://twitter.com/"+this.mention;case"instagram":return"https://instagram.com/"+this.mention;case"soundcloud":return"https://soundcloud.com/"+this.mention;case"tiktok":return"https://www.tiktok.com/@"+this.mention;default:throw new Error("Unknown service name to point mention to: "+this.serviceName)}},e.prototype.getAnchorText=function(){return"@"+this.mention},e.prototype.getCssClassSuffixes=function(){var r=t.prototype.getCssClassSuffixes.call(this),n=this.getServiceName();return n&&r.push(n),r},e})(yo),c6=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.number="",n.plusSign=!1,n.number=r.number,n.plusSign=r.plusSign,n}return e.prototype.getType=function(){return"phone"},e.prototype.getPhoneNumber=function(){return this.number},e.prototype.getNumber=function(){return this.getPhoneNumber()},e.prototype.getAnchorHref=function(){return"tel:"+(this.plusSign?"+":"")+this.number},e.prototype.getAnchorText=function(){return this.matchedText},e})(yo),f6=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.url="",n.urlMatchType="scheme",n.protocolUrlMatch=!1,n.protocolRelativeMatch=!1,n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.schemePrefixRegex=/^(https?:\/\/)?/i,n.wwwPrefixRegex=/^(https?:\/\/)?(www\.)?/i,n.protocolRelativeRegex=/^\/\//,n.protocolPrepended=!1,n.urlMatchType=r.urlMatchType,n.url=r.url,n.protocolUrlMatch=r.protocolUrlMatch,n.protocolRelativeMatch=r.protocolRelativeMatch,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return e.prototype.getType=function(){return"url"},e.prototype.getUrlMatchType=function(){return this.urlMatchType},e.prototype.getUrl=function(){var r=this.url;return!this.protocolRelativeMatch&&!this.protocolUrlMatch&&!this.protocolPrepended&&(r=this.url="http://"+r,this.protocolPrepended=!0),r},e.prototype.getAnchorHref=function(){var r=this.getUrl();return r.replace(/&amp;/g,"&")},e.prototype.getAnchorText=function(){var r=this.getMatchedText();return this.protocolRelativeMatch&&(r=this.stripProtocolRelativePrefix(r)),this.stripPrefix.scheme&&(r=this.stripSchemePrefix(r)),this.stripPrefix.www&&(r=this.stripWwwPrefix(r)),this.stripTrailingSlash&&(r=this.removeTrailingSlash(r)),this.decodePercentEncoding&&(r=this.removePercentEncoding(r)),r},e.prototype.stripSchemePrefix=function(r){return r.replace(this.schemePrefixRegex,"")},e.prototype.stripWwwPrefix=function(r){return r.replace(this.wwwPrefixRegex,"$1")},e.prototype.stripProtocolRelativePrefix=function(r){return r.replace(this.protocolRelativeRegex,"")},e.prototype.removeTrailingSlash=function(r){return r.charAt(r.length-1)==="/"&&(r=r.slice(0,-1)),r},e.prototype.removePercentEncoding=function(r){var n=r.replace(/%22/gi,"&quot;").replace(/%26/gi,"&amp;").replace(/%27/gi,"&#39;").replace(/%3C/gi,"&lt;").replace(/%3E/gi,"&gt;");try{return decodeURIComponent(n)}catch{return n}},e})(yo),vo=(function(){function t(e){this.__jsduckDummyDocProp=null,this.tagBuilder=e.tagBuilder}return t})(),pS=/[A-Za-z]/,fce=/[\d]/,pce=/[\D]/,Ui=/\s/,dS=/['"]/,dce=/[\x00-\x1F\x7F]/,p6=/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
2210EB3\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,hce=/\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,mce=/\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
2217F\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,d6=p6+hce+mce,Qc=/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,gce=d6+Qc,lr=d6+Qc,$o=new RegExp("[".concat(lr,"]")),yce="(?:["+Qc+"]{1,3}\\.){3}["+Qc+"]{1,3}",vce="["+lr+"](?:["+lr+"\\-_]{0,61}["+lr+"])?",pD=function(t){return"(?=("+vce+"))\\"+t},hS=function(t){return"(?:"+pD(t)+"(?:\\."+pD(t+1)+"){0,126}|"+yce+")"},uc=$o,h6
vendor: 11,453 bytes, line 221
221=/(?: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|ελ|ευ|бг|ею|рф|გე|닷넷|닷컴|삼성|한국|コム|世界|中信|中国|中國|企业|佛山|信息|健康|八卦|公司|公益|台湾|台灣|商城|商店|商标|嘉里|在线|大拿|娱乐|家電|广东|微博|慈善|手机|招聘|政务|政府|新闻|时尚|書籍|机构|游戏|澳門|点看|移动|网址|网店|网站|网络|联通|谷歌|购物|通販|集团|食品|餐厅|香港)/,
221bce=new RegExp("[".concat(lr,"!#$%&'*+/=?^_`{|}~-]")),Ece=new RegExp("^".concat(h6.source,"$")),dD=(function(t){Ps(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.localPartCharRegex=bce,r.strictTldRegex=Ece,r}return e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,s=this.localPartCharRegex,i=this.strictTldRegex,a=[],o=r.length,u=new lc,l={m:"a",a:"i",i:"l",l:"t",t:"o",o:":"},c=0,p=0,m=u;c<o;){var d=r.charAt(c);switch(p){case 0:g(d);break;case 1:y(r.charAt(c-1),d);break;case 2:v(d);break;case 3:E(d);break;case 4:b(d);break;case 5:_(d);break;case 6:w(d);break;case 7:S(d);break;default:$x(p)}c++}return k(),a;function g(P){P==="m"?A(1):s.test(P)&&A()}function y(P,F){P===":"?s.test(F)?(p=2,m=new lc(ar(ar({},m),{hasMailtoPrefix:!0}))):I():l[P]===F||(s.test(F)?p=2:F==="."?p=3:F==="@"?p=4:I())}function v(P){P==="."?p=3:P==="@"?p=4:s.test(P)||I()}function E(P){P==="."||P==="@"?I():s.test(P)?p=2:I()}function b(P){uc.test(P)?p=5:I()}function _(P){P==="."?p=7:P==="-"?p=6:uc.test(P)||k()}function w(P){P==="-"||P==="."?k():uc.test(P)?p=5:k()}function S(P){P==="."||P==="-"?k():uc.test(P)?(p=5,m=new lc(ar(ar({},m),{hasDomainDot:!0}))):k()}function A(P){P===void 0&&(P=2),p=P,m=new lc({idx:c})}function I(){p=0,m=u}function k(){if(m.hasDomainDot){var P=r.slice(m.idx,c);/[-.]$/.test(P)&&(P=P.slice(0,-1));var F=m.hasMailtoPrefix?P.slice(7):P;R(F)&&a.push(new o6({tagBuilder:n,matchedText:P,offset:m.idx,email:F}))}I();function R(L){var M=L.split(".").pop()||"",G=M.toLowerCase(),re=i.test(G);return re}}},e})(vo),lc=(function(){function t(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.hasMailtoPrefix=!!e.hasMailtoPrefix,this.hasDomainDot=!!e.hasDomainDot}return t})(),Sce=(function(){function t(){}return t.isValid=function(e,r){return!(r&&!this.isValidUriScheme(r)||this.urlMatchDoesNotHaveProtocolOrDot(e,r)||this.urlMatchDoesNotHaveAtLeastOneWordChar(e,r)&&!this.isValidIpAddress(e)||this.containsMultipleDots(e))},t.isValidIpAddress=function(e){var r=new RegExp(this.hasFullProtocolRegex.source+this.ipRegex.source),n=e.match(r);return n!==null},t.containsMultipleDots=function(e){var r=e;return this.hasFullProtocolRegex.test(e)&&(r=e.split("://")[1]),r.split("/")[0].indexOf("..")>-1},t.isValidUriScheme=function(e){var r=e.match(this.uriSchemeRegex),n=r&&r[0].toLowerCase();return n!=="javascript:"&&n!=="vbscript:"},t.urlMatchDoesNotHaveProtocolOrDot=function(e,r){return!!e&&(!r||!this.hasFullProtocolRegex.test(r))&&e.indexOf(".")===-1},t.urlMatchDoesNotHaveAtLeastOneWordChar=function(e,r){return e&&r?!this.hasFullProtocolRegex.test(r)&&!this.hasWordCharAfterProtocolRegex.test(e):!1},t.hasFullProtocolRegex=/^[A-Za-z][-.+A-Za-z0-9]*:\/\//,t.uriSchemeRegex=/^[A-Za-z][-.+A-Za-z0-9]*:/,t.hasWordCharAfterProtocolRegex=new RegExp(":[^\\s]*?["+p6+"]"),t.ipRegex=/[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?\.[0-9][0-9]?[0-9]?(:[0-9]*)?\/?$/,t})(),_ce=(function(){var t=/(?:[A-Za-z][-.+A-Za-z0-9]{0,63}:(?![A-Za-z][-.+A-Za-z0-9]{0,63}:\/\/)(?!\d+\/?)(?:\/\/)?)/,e=/(?:www\.)/,r=new RegExp("[/?#](?:["+lr+"\\-+&@#/%=~_()|'$*\\[\\]{}?!:,.;^✓]*["+lr+"\\-+&@#/%=~_()|'$*\\[\\]{}✓])?");return new RegExp(["(?:","(",t.source,hS(2),")","|","(","(//)?",e.source,hS(6),")","|","(","(//)?",hS(10)+"\\.",h6.source,"(?![-"+gce+"])",")",")","(?::[0-9]+)?","(?:"+r.source+")?"].join(""),"gi")})(),wce=new RegExp("["+lr+"]"),hD=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.stripPrefix={scheme:!0,www:!0},n.stripTrailingSlash=!0,n.decodePercentEncoding=!0,n.matcherRegex=_ce,n.wordCharRegExp=wce,n.stripPrefix=r.stripPrefix,n.stripTrailingSlash=r.stripTrailingSlash,n.decodePercentEncoding=r.decodePercentEncoding,n}return e.prototype.parseMatches=function(r){for(var n=this.matcherRegex,s=this.stripPrefix,i=this.stripTrailingSlash,a=this.decodePercentEncoding,o=this.tagBuilder,u=[],l,c=function(){var m=l[0],d=l[1],g=l[4],y=l[5],v=l[9],E=l.index,b=y||v,_=r.charAt(E-1);if(!Sce.isValid(m,d)||E>0&&_==="@"||E>0&&b&&p.wordCharRegExp.test(_))return"continue";if(/\?$/.test(m)&&(m=m.substr(0,m.length-1)),p.matchHasUnbalancedClosingParen(m))m=m.substr(0,m.length-1);else{var w=p.matchHasInvalidCharAfterTld(m,d);w>-1&&(m=m.substr(0,w))}var S=["http://","https://"].find(function(P){return!!d&&d.indexOf(P)!==-1});if(S){var A=m.indexOf(S);m=m.substr(A),d=d.substr(A),E=E+A}var I=d?"scheme":g?"www":"tld",k=!!d;u.push(new f6({tagBuilder:o,matchedText:m,offset:E,urlMatchType:I,url:m,protocolUrlMatch:k,protocolRelativeMatch:!!b,stripPrefix:s,stripTrailingSlash:i,decodePercentEncoding:a}))},p=this;(l=n.exec(r))!==null;)c();return u},e.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,a=0,o=r.length-1;a<o;a++){var u=r.charAt(a);u===s?i++:u===n&&(i=Math.max(i-1,0))}return i===0},e.prototype.matchHasInvalidCharAfterTld=function(r,n){if(!r)return-1;var s=0;n&&(s=r.indexOf(":"),r=r.slice(s));var i=new RegExp("^((.?//)?[-."+lr+"]*[-"+lr+"]\\.[-"+lr+"]+)"),a=i.exec(r);return a===null?-1:(s+=a[1].length,r=r.slice(a[1].length),/^[^-.A-Za-z0-9:\/?#]/.test(r)?s:-1)},e}
221)(vo),mD=new RegExp("[_".concat(lr,"]")),gD=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.serviceName=r.serviceName,n}return e.prototype.parseMatches=function(r){for(var n=this.tagBuilder,s=this.serviceName,i=[],a=r.length,o=0,u=-1,l=0;o<a;){var c=r.charAt(o);switch(l){case 0:p(c);break;case 1:m(c);break;case 2:d(c);break;case 3:g(c);break;default:$x(l)}o++}return y(),i;function p(v){v==="#"?(l=2,u=o):$o.test(v)&&(l=1)}function m(v){$o.test(v)||(l=0)}function d(v){mD.test(v)?l=3:$o.test(v)?l=1:l=0}function g(v){mD.test(v)||(y(),u=-1,$o.test(v)?l=1:l=0)}function y(){if(u>-1&&o-u<=140){var v=r.slice(u,o),E=new u6({tagBuilder:n,matchedText:v,offset:u,serviceName:s,hashtag:v.slice(1)});i.push(E)}}},e})(vo),xce=["twitter","facebook","instagram","tiktok"],Ace=/(?:(?:(?:(\+)?\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]+#?)*/,Oce=/(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})/,Cce=new RegExp("".concat(Ace.source,"|").concat(Oce.source),"g"),yD=(function(t){Ps(e,t);function e(){var r=t!==null&&t.apply(this,arguments)||this;return r.matcherRegex=Cce,r}return e.prototype.parseMatches=function(r){for(var n=this.matcherRegex,s=this.tagBuilder,i=[],a;(a=n.exec(r))!==null;){var o=a[0],u=o.replace(/[^0-9,;#]/g,""),l=!!(a[1]||a[2]),c=a.index==0?"":r.substr(a.index-1,1),p=r.substr(a.index+o.length,1),m=!c.match(/\d/)&&!p.match(/\d/);this.testMatch(a[3])&&this.testMatch(o)&&m&&i.push(new c6({tagBuilder:s,matchedText:o,offset:a.index,number:u,plusSign:l}))}return i},e.prototype.testMatch=function(r){return pce.test(r)},e})(vo),Rce=new RegExp("@[_".concat(lr,"]{1,50}(?![_").concat(lr,"])"),"g"),Ice=new RegExp("@[_.".concat(lr,"]{1,30}(?![_").concat(lr,"])"),"g"),Tce=new RegExp("@[-_.".concat(lr,"]{1,50}(?![-_").concat(lr,"])"),"g"),kce=new RegExp("@[_.".concat(lr,"]{1,23}[_").concat(lr,"](?![_").concat(lr,"])"),"g"),Pce=new RegExp("[^"+lr+"]"),vD=(function(t){Ps(e,t);function e(r){var n=t.call(this,r)||this;return n.serviceName="twitter",n.matcherRegexes={twitter:Rce,instagram:Ice,soundcloud:Tce,tiktok:kce},n.nonWordCharRegex=Pce,n.serviceName=r.serviceName,n}return e.prototype.parseMatches=function(r){var n=this.serviceName,s=this.matcherRegexes[this.serviceName],i=this.nonWordCharRegex,a=this.tagBuilder,o=[],u;if(!s)return o;for(;(u=s.exec(r))!==null;){var l=u.index,c=r.charAt(l-1);if(l===0||i.test(c)){var p=u[0].replace(/\.+$/g,""),m=p.slice(1);o.push(new l6({tagBuilder:a,matchedText:p,offset:l,serviceName:n,mention:m}))}}return o},e})(vo);function jce(t,e){for(var r=e.onOpenTag,n=e.onCloseTag,s=e.onText,i=e.onComment,a=e.onDoctype,o=new vs,u=0,l=t.length,c=0,p=0,m=o;u<l;){var d=t.charAt(u);switch(c){case 0:g(d);break;case 1:y(d);break;case 2:E(d);break;case 3:v(d);break;case 4:b(d);break;case 5:_(d);break;case 6:w(d);break;case 7:S(d);break;case 8:A(d);break;case 9:I(d);break;case 10:k(d);break;case 11:P(d);break;case 12:F(d);break;case 13:R();break;case 14:L(d);break;case 15:M(d);break;case 16:G(d);break;case 17:re(d);break;case 18:K(d);break;case 19:Z(d);break;case 20:X(d);break;default:$x(c)}u++}p<u&&ue();function g(te){te==="<"&&ce()}function y(te){te==="!"?c=13:te==="/"?(c=2,m=new vs(ar(ar({},m),{isClosing:!0}))):te==="<"?ce():pS.test(te)?(c=3,m=new vs(ar(ar({},m),{isOpening:!0}))):(c=0,m=o)}function v(te){Ui.test(te)?(m=new vs(ar(ar({},m),{name:ye()})),c=4):te==="<"?ce():te==="/"?(m=new vs(ar(ar({},m),{name:ye()})),c=12):te===">"?(m=new vs(ar(ar({},m),{name:ye()})),se()):!pS.test(te)&&!fce.test(te)&&te!==":"&&ee()}function E(te){te===">"?ee():pS.test(te)?c=3:ee()}function b(te){Ui.test(te)||(te==="/"?c=12:te===">"?se():te==="<"?ce():te==="="||dS.test(te)||dce.test(te)?ee():c=5)}function _(te){Ui.test(te)?c=6:te==="/"?c=12:te==="="?c=7:te===">"?se():te==="<"?ce():dS.test(te)&&ee()}function w(te){Ui.test(te)||(te==="/"?c=12:te==="="?c=7:te===">"?se():te==="<"?ce():dS.test(te)?ee():c=5)}function S(te){Ui.test(te)||(te==='"'?c=8:te==="'"?c=9:/[>=`]/.test(te)?ee():te==="<"?ce():c=10)}function A(te){te==='"'&&(c=11)}function I(te){te==="'"&&(c=11)}function k(te){Ui.test(te)?c=4:te===">"?se():te==="<"&&ce()}function P(te){Ui.test(te)?c=4:te==="/"?c=12:te===">"?se():te==="<"?ce():(c=4,he())}function F(te){te===">"?(m=new vs(ar(ar({},m),{isClosing:!0})),se()):c=4}function R(te){t.substr(u,2)==="--"?(u+=2,m=new vs(ar(ar({},m),{type:"comment"})),c=14):t.substr(u,7).toUpperCase()==="DOCTYPE"?(u+=7,m=new vs(ar(ar({},m),{type:"doctype"})),c=20):ee()}function L(te){te==="-"?c=15:te===">"?ee():c=16}function M(te){te==="-"?c=18:te===">"?ee():c=16}function G(te){te==="-"&&(c=17)}function re(te){te==="-"?c=18:c=16}function K(te){te===">"?se():te==="!"?c=19:te==="-"||(c=16)}function Z(te){te==="-"?c=17:te===">"?se():c=16}function X(te){te===">"?se():te==="<"&&ce()}function ee(){c=0,m=o}function ce(){c=1,m=new vs({idx:u})}
221function se(){var te=t.slice(p,m.idx);te&&s(te,p),m.type==="comment"?i(m.idx):m.type==="doctype"?a(m.idx):(m.isOpening&&r(m.name,m.idx),m.isClosing&&n(m.name,m.idx)),ee(),p=u+1}function ue(){var te=t.slice(p,u);s(te,p),p=u+1}function ye(){var te=m.idx+(m.isClosing?2:1);return t.slice(te,u).toLowerCase()}function he(){u--}}var vs=(function(){function t(e){e===void 0&&(e={}),this.idx=e.idx!==void 0?e.idx:-1,this.type=e.type||"tag",this.name=e.name||"",this.isOpening=!!e.isOpening,this.isClosing=!!e.isClosing}return t})(),Nce=(function(){function t(e){e===void 0&&(e={}),this.version=t.version,this.urls={},this.email=!0,this.phone=!0,this.hashtag=!1,this.mention=!1,this.newWindow=!0,this.stripPrefix={scheme:!0,www:!0},this.stripTrailingSlash=!0,this.decodePercentEncoding=!0,this.truncate={length:0,location:"end"},this.className="",this.replaceFn=null,this.context=void 0,this.sanitizeHtml=!1,this.matchers=null,this.tagBuilder=null,this.urls=this.normalizeUrlsCfg(e.urls),this.email=typeof e.email=="boolean"?e.email:this.email,this.phone=typeof e.phone=="boolean"?e.phone:this.phone,this.hashtag=e.hashtag||this.hashtag,this.mention=e.mention||this.mention,this.newWindow=typeof e.newWindow=="boolean"?e.newWindow:this.newWindow,this.stripPrefix=this.normalizeStripPrefixCfg(e.stripPrefix),this.stripTrailingSlash=typeof e.stripTrailingSlash=="boolean"?e.stripTrailingSlash:this.stripTrailingSlash,this.decodePercentEncoding=typeof e.decodePercentEncoding=="boolean"?e.decodePercentEncoding:this.decodePercentEncoding,this.sanitizeHtml=e.sanitizeHtml||!1;var r=this.mention;if(r!==!1&&["twitter","instagram","soundcloud","tiktok"].indexOf(r)===-1)throw new Error("invalid `mention` cfg '".concat(r,"' - see docs"));var n=this.hashtag;if(n!==!1&&xce.indexOf(n)===-1)throw new Error("invalid `hashtag` cfg '".concat(n,"' - see docs"));this.truncate=this.normalizeTruncateCfg(e.truncate),this.className=e.className||this.className,this.replaceFn=e.replaceFn||this.replaceFn,this.context=e.context||this}return t.link=function(e,r){var n=new t(r);return n.link(e)},t.parse=function(e,r){var n=new t(r);return n.parse(e)},t.prototype.normalizeUrlsCfg=function(e){return e==null&&(e=!0),typeof e=="boolean"?{schemeMatches:e,wwwMatches:e,tldMatches:e}:{schemeMatches:typeof e.schemeMatches=="boolean"?e.schemeMatches:!0,wwwMatches:typeof e.wwwMatches=="boolean"?e.wwwMatches:!0,tldMatches:typeof e.tldMatches=="boolean"?e.tldMatches:!0}},t.prototype.normalizeStripPrefixCfg=function(e){return e==null&&(e=!0),typeof e=="boolean"?{scheme:e,www:e}:{scheme:typeof e.scheme=="boolean"?e.scheme:!0,www:typeof e.www=="boolean"?e.www:!0}},t.prototype.normalizeTruncateCfg=function(e){return typeof e=="number"?{length:e,location:"end"}:ice(e||{},{length:Number.POSITIVE_INFINITY,location:"end"})},t.prototype.parse=function(e){var r=this,n=["a","style","script"],s=0,i=[];return jce(e,{onOpenTag:function(a){n.indexOf(a)>=0&&s++},onText:function(a,o){if(s===0){var u=/(&nbsp;|&#160;|&lt;|&#60;|&gt;|&#62;|&quot;|&#34;|&#39;)/gi,l=oce(a,u),c=o;l.forEach(function(p,m){if(m%2===0){var d=r.parseText(p,c);i.push.apply(i,d)}c+=p.length})}},onCloseTag:function(a){n.indexOf(a)>=0&&(s=Math.max(s-1,0))},onComment:function(a){},onDoctype:function(a){}}),i=this.compactMatches(i),i=this.removeUnwantedMatches(i),i},t.prototype.compactMatches=function(e){e.sort(function(u,l){return u.getOffset()-l.getOffset()});for(var r=0;r<e.length-1;){var n=e[r],s=n.getOffset(),i=n.getMatchedText().length,a=s+i;if(r+1<e.length){if(e[r+1].getOffset()===s){var o=e[r+1].getMatchedText().length>i?r:r+1;e.splice(o,1);continue}if(e[r+1].getOffset()<a){e.splice(r+1,1);continue}}r++}return e},t.prototype.removeUnwantedMatches=function(e){return this.hashtag||$i(e,function(r){return r.getType()==="hashtag"}),this.email||$i(e,function(r){return r.getType()==="email"}),this.phone||$i(e,function(r){return r.getType()==="phone"}),this.mention||$i(e,function(r){return r.getType()==="mention"}),this.urls.schemeMatches||$i(e,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="scheme"}),this.urls.wwwMatches||$i(e,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="www"}),this.urls.tldMatches||$i(e,function(r){return r.getType()==="url"&&r.getUrlMatchType()==="tld"}),e},t.prototype.parseText=function(e,r){r===void 0&&(r=0),r=r||0;for(var n=this.getMatchers(),s=[],i=0,a=n.length;i<a;i++){for(var o=n[i].parseMatches(e),u=0,l=o.length;u<l;u++)o[u].setOffset(r+o[u].getOffset());s.push.apply(s,o)}return s},t.prototype.link=function(e){if(!e)return"";this.sanitizeHtml&&(e=e.replace(/</g,"&lt;").replace(/>/g,"&gt;"));for(var r=this.parse(e),n=[],s=0,i=0,a=r.length;i<a;i++){var o=r[i];n.push(e.substring(s,o.getOffset())),n.push(this.createMatchReturnVal(o)),s=o.getOffset()+o.getMatchedText().length}return n.push(e.substring(s)),n.join("")},t.prototype.createMatchReturnVal=function(e){var r;if(this.replaceFn&&(r=this.replaceFn.call(this.context,e)),typeof r=="string")return r;if(r===!1)return e.getMatchedText();if(r instanceof y1)return r.toAnchorString();var n=e.buildTag();return n.toAnchorString()},t.prototype.getMatchers=function(){if(this.matchers)return this.matchers;var e=this.getTagBuilder(),r=[new gD({tagBuilder:e,serviceName:this.hashtag}),new dD({tagBuilder:e}),new yD({tagBuilder:e}),new vD({tagBuilder:e,serviceName:this.mention}),new hD({tagBuilder:e,stripPrefix:this.stripPrefix,stripTrailingSlash:this.stripTrailingSlash,decodePercentEncoding:this.decodePercentEncoding})];return this.matchers=r},t.prototype.getTagBuilder=function(){var e=this.tagBuilder;return e||(e=this.tagBuilder=new fD({newWindow:this.newWindow,truncate:this.truncate,className:this.className})),e},t.version=sce,t.AnchorTagBuilder=fD,t.HtmlTag=y1,t.matcher={Email:dD,Hashtag:gD,Matcher:vo,Mention:vD,Phone:yD,Url:hD},t.match={Email:o6,Hashtag:u6,Match:yo,Mention:l6,Phone:c6,Url:f6},t})(),Mce=/www|@|\:\/\//;function Dce(t){return/^<a[>\s]/i.test(t)}function Fce(t){return/^<\/a\s*>/i.test(t)}function qce(){var t=[],e=new Nce({stripPrefix:!1,url:!0,email:!0,replaceFn:function(r){switch(r.getType()){case"url":t.push({text:r.matchedText,url:r.getUrl()});break;case"email":t.push({text:r.matchedText,url:"mailto:"+r.getEmail().replace(/^mailto:/i,"")});break}return!1}});return{links:t,autolinker:e}}function Bce(t){var e,r,n,s,i,a,o,u,l,c,p,m=t.tokens,d=null,g,y;for(r=0,n=m.length;r<n;r++)if(m[r].type==="inline")for(s=m[r].children,p=0,e=s.length-1;e>=0;e--){if(i=s[e],i.type==="link_close"){for(e--;s[e].level!==i.level&&s[e].type!=="link_open";)e--;continue}if(i.type==="htmltag"&&(Dce(i.content)&&p>0&&p--,Fce(i.content)&&p++),!(p>0)&&i.type==="text"&&Mce.test(i.content)){if(d||(d=qce(),g=d.links,y=d.autolinker),a=i.content,g.length=0,y.link(a),!g.length)continue;for(o=[],c=i.level,u=0;u<g.length;u++)t.inline.validateLink(g[u].url)&&(l=a.indexOf(g[u].text),l&&o.push({type:"text",content:a.slice(0,l),level:c}),o.push({type:"link_open",href:g[u].url,title:"",level:c++}),o.push({type:"text",content:g[u].text,level:c}),o.push({type:"link_close",level:--c}),a=a.slice(l+g[u].text.length));a.length&&o.push({type:"text",content:a,level:c}),m[r].children=s=[].concat(s.slice(0,e),o,s.slice(e+1))}}}function Lce(t){t.core.ruler.push("linkify",Bce)}const{entries:m6,setPrototypeOf:bD,isFrozen:$ce,getPrototypeOf:Uce,getOwnPropertyDescriptor:Vce}=Object;let{freeze:Xr,seal:qn,create:g6}=Object,{apply:b1,construct:E1}=typeof Reflect<"u"&&Reflect;Xr||(Xr=function(e){return e});qn||(qn=function(e){return e});b1||(b1=function(e,r,n){return e.apply(r,n)});E1||(E1=function(e,r){return new e(...r)});const cc=Zr(Array.prototype.forEach),zce=Zr(Array.prototype.lastIndexOf),ED=Zr(Array.prototype.pop),To=Zr(Array.prototype.push),Wce=Zr(Array.prototype.splice),Rc=Zr(String.prototype.toLowerCase),mS=Zr(String.prototype.toString),SD=Zr(String.prototype.match),ko=Zr(String.prototype.replace),Jce=Zr(String.prototype.indexOf),Hce=Zr(String.prototype.trim),Hn=Zr(Object.prototype.hasOwnProperty),Gr=Zr(Reg
vendor: 4,286 bytes, line 221
221Exp.prototype.test),Po=Kce(TypeError);function Zr(t){return function(e){e instanceof RegExp&&(e.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 b1(t,e,n)}}function Kce(t){return function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return E1(t,r)}}function Ct(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rc;bD&&bD(t,null);let n=e.length;for(;n--;){let s=e[n];if(typeof s=="string"){const i=r(s);i!==s&&($ce(e)||(e[n]=i),s=i)}t[s]=!0}return t}function Gce(t){for(let e=0;e<t.length;e++)Hn(t,e)||(t[e]=null);return t}function Bs(t){const e=g6(null);for(const[r,n]of m6(t))Hn(t,r)&&(Array.isArray(n)?e[r]=Gce(n):n&&typeof n=="object"&&n.constructor===Object?e[r]=Bs(n):e[r]=n);return e}function jo(t,e){for(;t!==null;){const n=Vce(t,e);if(n){if(n.get)return Zr(n.get);if(typeof n.value=="function")return Zr(n.value)}t=Uce(t)}function r(){return null}return r}const _D=Xr(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),gS=Xr(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),yS=Xr(["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"]),Yce=Xr(["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"]),vS=Xr(["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"]),Xce=Xr(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),wD=Xr(["#text"]),xD=Xr(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
221spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),bS=Xr(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),AD=Xr(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),fc=Xr(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Zce=qn(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Qce=qn(/<%[\w\W]*|[\w\W]*%>/gm),efe=qn(/\$\{[\w\W]*/gm),tfe=qn(/^data-[\-\w.\u00B7-\uFFFF]+$/),rfe=qn(/^aria-[\-\w]+$/),y6=qn(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),nfe=qn(/^(?:\w+script|data):/i),sfe=qn(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),v6=qn(/^html$/i),ife=qn(/^[a-z][.\w]*(-[.\w]+)+$/i);var OD=Object.freeze({__proto__:null,ARIA_ATTR:rfe,ATTR_WHITESPACE:sfe,CUSTOM_ELEMENT:ife,DATA_ATTR:tfe,DOCTYPE_NAME:v6,ERB_EXPR:Qce,IS_ALLOWED_URI:y6,IS_SCRIPT_OR_DATA:nfe,MUSTACHE_EXPR:Zce,TMPLIT_EXPR:efe});const No={element:1,text:3,progressingInstruction:7,comment:8,document:9},afe=function(){return typeof window>"u"?null:window},ofe=function(e,r){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let n=null;
vendor: 6,550 bytes, line 221
221const s="data-tt-policy-suffix";r&&r.hasAttribute(s)&&(n=r.getAttribute(s));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}},CD=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function b6(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:afe();const e=Qe=>b6(Qe);if(e.version="3.2.6",e.removed=[],!t||!t.document||t.document.nodeType!==No.document||!t.Element)return e.isSupported=!1,e;let{document:r}=t;const n=r,s=n.currentScript,{DocumentFragment:i,HTMLTemplateElement:a,Node:o,Element:u,NodeFilter:l,NamedNodeMap:c=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:m,trustedTypes:d}=t,g=u.prototype,y=jo(g,"cloneNode"),v=jo(g,"remove"),E=jo(g,"nextSibling"),b=jo(g,"childNodes"),_=jo(g,"parentNode");if(typeof a=="function"){const Qe=r.createElement("template");Qe.content&&Qe.content.ownerDocument&&(r=Qe.content.ownerDocument)}let w,S="";const{implementation:A,createNodeIterator:I,createDocumentFragment:k,getElementsByTagName:P}=r,{importNode:F}=n;let R=CD();e.isSupported=typeof m6=="function"&&typeof _=="function"&&A&&A.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:L,ERB_EXPR:M,TMPLIT_EXPR:G,DATA_ATTR:re,ARIA_ATTR:K,IS_SCRIPT_OR_DATA:Z,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:ee}=OD;let{IS_ALLOWED_URI:ce}=OD,se=null;const ue=Ct({},[..._D,...gS,...yS,...vS,...wD]);let ye=null;const he=Ct({},[...xD,...bS,...AD,...fc]);let te=Object.seal(g6(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}})),W=null,V=null,me=!0,ve=!0,Me=!1,Be=!0,Te=!1,ke=!0,$e=!1,ge=!1,Se=!1,we=!1,$=!1,C=!1,j=!0,U=!1;const Y="user-content-";let ne=!0,fe=!1,Ne={},Ge=null;const q=Ct({},["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 O=null;const T=Ct({},["audio","video","img","source","image","track"]);let H=null;const ie=Ct({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),de="http://www.w3.org/1998/Math/MathML",xe="http://www.w3.org/2000/svg",Ze="http://www.w3.org/1999/xhtml";let it=Ze,kt=!1,ft=null;const ae=Ct({},[de,xe,Ze],mS);let Ce=Ct({},["mi","mo","mn","ms","mtext"]),je=Ct({},["annotation-xml"]);const tt=Ct({},["title","style","font","a","script"]);let pt=null;const St=["application/xhtml+xml","text/html"],$t="text/html";let De=null,Je=null;const lt=r.createElement("form"),rt=function(oe){return oe instanceof RegExp||oe instanceof Function},Ut=function(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Je&&Je===oe)){if((!oe||typeof oe!="object")&&(oe={}),oe=Bs(oe),pt=St.indexOf(oe.PARSER_MEDIA_TYPE)===-1?$t:oe.PARSER_MEDIA_TYPE,De=pt==="application/xhtml+xml"?mS:Rc,se=Hn(oe,"ALLOWED_TAGS")?Ct({},oe.ALLOWED_TAGS,De):ue,ye=Hn(oe,"ALLOWED_ATTR")?Ct({},oe.ALLOWED_ATTR,De):he,ft=Hn(oe,"ALLOWED_NAMESPACES")?Ct({},oe.ALLOWED_NAMESPACES,mS):ae,H=Hn(oe,"ADD_URI_SAFE_ATTR")?Ct(Bs(ie),oe.ADD_URI_SAFE_ATTR,De):ie,O=Hn(oe,"ADD_DATA_URI_TAGS")?Ct(Bs(T),oe.ADD_DATA_URI_TAGS,De):T,Ge=Hn(oe,"FORBID_CONTENTS")?Ct({},oe.FORBID_CONTENTS,De):q,W=Hn(oe,"FORBID_TAGS")?Ct({},oe.FORBID_TAGS,De):Bs({}),V=Hn(oe,"FORBID_ATTR")?Ct({},oe.FORBID_ATTR,De):Bs({}),Ne=Hn(oe,"USE_PROFILES")?oe.USE_PROFILES:!1,me=oe.ALLOW_ARIA_ATTR!==!1,ve=oe.ALLOW_DATA_ATTR!==!1,Me=oe.ALLOW_UNKNOWN_PROTOCOLS||!1,Be=oe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Te=oe.SAFE_FOR_TEMPLATES||!1,ke=oe.SAFE_FOR_XML!==!1,$e=oe.WHOLE_DOCUMENT||!1,we=oe.RETURN_DOM||!1,$=oe.RETURN_DOM_FRAGMENT||!1,C=oe.RETURN_TRUSTED_TYPE||!1,Se=oe.FORCE_BODY||!1,j=oe.SANITIZE_DOM!==!1,U=oe.SANITIZE_NAMED_PROPS||!1,ne=oe.KEEP_CONTENT!==!1,fe=oe.IN_PLACE||!1,ce=oe.ALLOWED_URI_REGEXP||y6,it=oe.NAMESPACE||Ze,Ce=oe.MATHML_TEXT_INTEGRATION_POINTS||Ce,je=oe.HTML_INTEGRATION_POINTS||je,te=oe.CUSTOM_ELEMENT_HANDLING||{},oe.CUSTOM_ELEMENT_HANDLING&&rt(oe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(te.tagNameCheck=oe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),oe.CUSTOM_ELEMENT_HANDLING&&rt(oe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(te.attributeNameCheck=oe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),oe.CUSTOM_ELEMENT_HANDLING&&typeof oe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(te.allowCustomizedBuiltInElements=oe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Te&&(ve=!1),$&&(we=!0),Ne&&(se=Ct({},wD),ye=[],Ne.html===!0&&(Ct(se,_D),Ct(ye,xD)),Ne.svg===!0&&(Ct(se,gS),Ct(ye,bS),Ct(ye,fc)),Ne.svgFilters===!0&&(Ct(se,yS),Ct(ye,bS),Ct(ye,fc)),Ne.mathMl===!0&&(Ct(se,vS),Ct(ye,AD),Ct(ye,fc))),oe.ADD_TAGS&&(se===ue&&(se=Bs(se)),Ct(se,oe.ADD_TAGS,De)),oe.ADD_ATTR&&(ye===he&&(ye=Bs(ye)),Ct(ye,oe.ADD_ATTR,De)),oe.ADD_URI_SAFE_ATTR&&Ct(H,oe.ADD_URI_SAFE_ATTR,De),oe.FORBID_CONTENTS&&(Ge===q&&(Ge=Bs(Ge)),Ct(Ge,oe.FORBID_CONTENTS,De)),ne&&(se["#text"]=!0),$e&&Ct(se,["html","head","body"]),se.table&&(Ct(se,["tbody"]),delete W.tbody),oe.TRUSTED_TYPES_POLICY){if(typeof oe.TRUSTED_TYPES_POLICY.createHTML!="function")throw Po('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof oe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Po('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=oe.TRUSTED_TYPES_POLICY,S=w.createHTML("")}else w===void 0&&(w=ofe(d,s)),w!==null&&typeof S=="string"&&(S=w.createHTML(""));Xr&&Xr(oe),Je=oe}},Vr=Ct({},[...gS,...yS,...Yce]),ni=Ct({},[...vS,...Xce]),si=function(oe){let Oe=_(oe);(!Oe||!Oe.tagName)&&(Oe={namespaceURI:it,tagName:"template"});const He=Rc(oe.tagName),gt=Rc(Oe.tagName);return ft[oe.namespaceURI]?oe.namespaceURI===xe?Oe.namespaceURI===Ze?He==="svg":Oe.namespaceURI===de?He==="svg"&&(gt==="annotation-xml"||Ce[gt]):!!Vr[He]:oe.namespaceURI===de?Oe.namespaceURI===Ze?He==="math":Oe.namespaceURI===xe?He==="math"&&je[gt]:!!ni[He]:oe.namespaceURI===Ze?Oe.namespaceURI===xe&&!je[gt]||Oe.namespaceURI===de&&!Ce[gt]?!1:!ni[He]&&(tt[He]||!Vr[He]):!!(pt==="application/xhtml+xml"&&ft[oe.namespaceURI]):!1},zr=function(oe){To(e.removed,{element:oe});
vendor: 6,558 bytes, lines 221-222
221try{_(oe).removeChild(oe)}catch{v(oe)}},ps=function(oe,Oe){try{To(e.removed,{attribute:Oe.getAttributeNode(oe),from:Oe})}catch{To(e.removed,{attribute:null,from:Oe})}if(Oe.removeAttribute(oe),oe==="is")if(we||$)try{zr(Oe)}catch{}else try{Oe.setAttribute(oe,"")}catch{}},ii=function(oe){let Oe=null,He=null;if(Se)oe="<remove></remove>"+oe;else{const Lt=SD(oe,/^[\r\n\t ]+/);He=Lt&&Lt[0]}pt==="application/xhtml+xml"&&it===Ze&&(oe='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+oe+"</body></html>");const gt=w?w.createHTML(oe):oe;if(it===Ze)try{Oe=new m().parseFromString(gt,pt)}catch{}if(!Oe||!Oe.documentElement){Oe=A.createDocument(it,"template",null);try{Oe.documentElement.innerHTML=kt?S:gt}catch{}}const Xt=Oe.body||Oe.documentElement;return oe&&He&&Xt.insertBefore(r.createTextNode(He),Xt.childNodes[0]||null),it===Ze?P.call(Oe,$e?"html":"body")[0]:$e?Oe.documentElement:Xt},ai=function(oe){return I.call(oe.ownerDocument||oe,oe,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT|l.SHOW_PROCESSING_INSTRUCTION|l.SHOW_CDATA_SECTION,null)},Ms=function(oe){return oe instanceof p&&(typeof oe.nodeName!="string"||typeof oe.textContent!="string"||typeof oe.removeChild!="function"||!(oe.attributes instanceof c)||typeof oe.removeAttribute!="function"||typeof oe.setAttribute!="function"||typeof oe.namespaceURI!="string"||typeof oe.insertBefore!="function"||typeof oe.hasChildNodes!="function")},Wr=function(oe){return typeof o=="function"&&oe instanceof o};function fn(Qe,oe,Oe){cc(Qe,He=>{He.call(e,oe,Oe,Je)})}const oi=function(oe){let Oe=null;if(fn(R.beforeSanitizeElements,oe,null),Ms(oe))return zr(oe),!0;const He=De(oe.nodeName);if(fn(R.uponSanitizeElement,oe,{tagName:He,allowedTags:se}),ke&&oe.hasChildNodes()&&!Wr(oe.firstElementChild)&&Gr(/<[/\w!]/g,oe.innerHTML)&&Gr(/<[/\w!]/g,oe.textContent)||oe.nodeType===No.progressingInstruction||ke&&oe.nodeType===No.comment&&Gr(/<[/\w]/g,oe.data))return zr(oe),!0;if(!se[He]||W[He]){if(!W[He]&&ds(He)&&(te.tagNameCheck instanceof RegExp&&Gr(te.tagNameCheck,He)||te.tagNameCheck instanceof Function&&te.tagNameCheck(He)))return!1;if(ne&&!Ge[He]){const gt=_(oe)||oe.parentNode,Xt=b(oe)||oe.childNodes;if(Xt&&gt){const Lt=Xt.length;for(let Kt=Lt-1;Kt>=0;--Kt){const Jr=y(Xt[Kt],!0);Jr.__removalCount=(oe.__removalCount||0)+1,gt.insertBefore(Jr,E(oe))}}}return zr(oe),!0}return oe instanceof u&&!si(oe)||(He==="noscript"||He==="noembed"||He==="noframes")&&Gr(/<\/no(script|embed|frames)/i,oe.innerHTML)?(zr(oe),!0):(Te&&oe.nodeType===No.text&&(Oe=oe.textContent,cc([L,M,G],gt=>{Oe=ko(Oe,gt," ")}),oe.textContent!==Oe&&(To(e.removed,{element:oe.cloneNode()}),oe.textContent=Oe)),fn(R.afterSanitizeElements,oe,null),!1)},ui=function(oe,Oe,He){if(j&&(Oe==="id"||Oe==="name")&&(He in r||He in lt))return!1;if(!(ve&&!V[Oe]&&Gr(re,Oe))){if(!(me&&Gr(K,Oe))){if(!ye[Oe]||V[Oe]){if(!(ds(oe)&&(te.tagNameCheck instanceof RegExp&&Gr(te.tagNameCheck,oe)||te.tagNameCheck instanceof Function&&te.tagNameCheck(oe))&&(te.attributeNameCheck instanceof RegExp&&Gr(te.attributeNameCheck,Oe)||te.attributeNameCheck instanceof Function&&te.attributeNameCheck(Oe))||Oe==="is"&&te.allowCustomizedBuiltInElements&&(te.tagNameCheck instanceof RegExp&&Gr(te.tagNameCheck,He)||te.tagNameCheck instanceof Function&&te.tagNameCheck(He))))return!1}else if(!H[Oe]){if(!Gr(ce,ko(He,X,""))){if(!((Oe==="src"||Oe==="xlink:href"||Oe==="href")&&oe!=="script"&&Jce(He,"data:")===0&&O[oe])){if(!(Me&&!Gr(Z,ko(He,X,"")))){if(He)return!1}}}}}}return!0},ds=function(oe){return oe!=="annotation-xml"&&SD(oe,ee)},Er=function(oe){fn(R.beforeSanitizeAttributes,oe,null);const{attributes:Oe}=oe;if(!Oe||Ms(oe))return;const He={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ye,forceKeepAttr:void 0};let gt=Oe.length;for(;gt--;){const Xt=Oe[gt],{name:Lt,namespaceURI:Kt,value:Jr}=Xt,en=De(Lt),li=Jr;let sr=Lt==="value"?li:Hce(li);if(He.attrName=en,He.attrValue=sr,He.keepAttr=!0,He.forceKeepAttr=void 0,fn(R.uponSanitizeAttribute,oe,He),sr=He.attrValue,U&&(en==="id"||en==="name")&&(ps(Lt,oe),sr=Y+sr),ke&&Gr(/((--!?|])>)|<\/(style|title)/i,sr)){ps(Lt,oe);continue}if(He.forceKeepAttr)continue;if(!He.keepAttr){ps(Lt,oe);continue}if(!Be&&Gr(/\/>/i,sr)){ps(Lt,oe);continue}Te&&cc([L,M,G],ze=>{sr=ko(sr,ze," ")});const Pe=De(oe.nodeName);if(!ui(Pe,en,sr)){ps(Lt,oe);continue}if(w&&typeof d=="object"&&typeof d.getAttributeType=="function"&&!Kt)switch(d.getAttributeType(Pe,en)){case"TrustedHTML":{sr=w.createHTML(sr);break}case"TrustedScriptURL":{sr=w.createScriptURL(sr);break}}if(sr!==li)try{Kt?oe.setAttributeNS(Kt,Lt,sr):oe.setAttribute(Lt,sr),Ms(oe)?zr(oe):ED(e.removed)}catch{ps(Lt,oe)}}fn(R.afterSanitizeAttributes,oe,null)},xt=function Qe(oe){let Oe=null;const He=ai(oe);for(fn(R.beforeSanitizeShadowDOM,oe,null);Oe=He.nextNode();)fn(R.uponSanitizeShadowNode,Oe,null),oi(Oe),Er(Oe),Oe.content instanceof i&&Qe(Oe.content);fn(R.afterSanitizeShadowDOM,oe,null)};return e.sanitize=function(Qe){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Oe=null,He=null,gt=null,Xt=null;if(kt=!Qe,kt&&(Qe="<!-->"),typeof Qe!="string"&&!Wr(Qe))if(typeof Qe.toString=="function"){if(Qe=Qe.toString(),typeof Qe!="string")throw Po("dirty is not a string, aborting")}else throw Po("toString is not a function");if(!e.isSupported)return Qe;if(ge||Ut(oe),e.removed=[],typeof Qe=="string"&&(fe=!1),fe){if(Qe.nodeName){const Jr=De(Qe.nodeName);if(!se[Jr]||W[Jr])throw Po("root node is forbidden and cannot be sanitized in-place")}}else if(Qe instanceof o)Oe=ii("<!---->"),He=Oe.ownerDocument.importNode(Qe,!0),He.nodeType===No.element&&He.nodeName==="BODY"||He.nodeName==="HTML"?Oe=He:Oe.appendChild(He);else{if(!we&&!Te&&!$e&&Qe.indexOf("<")===-1)return w&&C?w.createHTML(Qe):Qe;if(Oe=ii(Qe),!Oe)return we?null:C?S:""}Oe&&Se&&zr(Oe.firstChild);const Lt=ai(fe?Qe:Oe);for(;gt=Lt.nextNode();)oi(gt),Er(gt),gt.content instanceof i&&xt(gt.content);if(fe)return Qe;if(we){if($)for(Xt=k.call(Oe.ownerDocument);Oe.firstChild;)Xt.appendChild(Oe.firstChild);else Xt=Oe;return(ye.shadowroot||ye.shadowrootmode)&&(Xt=F.call(n,Xt,!0)),Xt}let Kt=$e?Oe.outerHTML:Oe.innerHTML;return $e&&se["!doctype"]&&Oe.ownerDocument&&Oe.ownerDocument.doctype&&Oe.ownerDocument.doctype.name&&Gr(v6,Oe.ownerDocument.doctype.name)&&(Kt="<!DOCTYPE "+Oe.ownerDocument.doctype.name+`>
222`+Kt),Te&&cc([L,M,G],Jr=>{Kt=ko(Kt,Jr," ")}),w&&C?w.createHTML(Kt):Kt},e.setConfig=function(){let Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ut(Qe),ge=!0},e.clearConfig=function(){Je=null,ge=!1},e.isValidAttribute=function(Qe,oe,Oe){Je||Ut({});const He=De(Qe),gt=De(oe);
222return ui(He,gt,Oe)},e.addHook=function(Qe,oe){typeof oe=="function"&&To(R[Qe],oe)},e.removeHook=function(Qe,oe){if(oe!==void 0){const Oe=zce(R[Qe],oe);return Oe===-1?void 0:Wce(R[Qe],Oe,1)[0]}return ED(R[Qe])},e.removeHooks=function(Qe){R[Qe]=[]},e.removeAllHooks=function(){R=CD()},e}var ufe=b6(),ES,RD;function lfe(){if(RD)return ES;RD=1;var t=Xs(),e=/[\\^$.*+?()[\]{}|]/g,r=RegExp(e.source);function n(s){return s=t(s),s&&r.test(s)?s.replace(e,"\\$&"):s}return ES=n,ES}var cfe=lfe();const ffe=ut(cfe);var SS,ID;function pfe(){if(ID)return SS;ID=1;var t=Object.prototype,e=t.hasOwnProperty;function r(n,s){return n!=null&&e.call(n,s)}return SS=r,SS}var _S,TD;function dfe(){if(TD)return _S;TD=1;var t=pfe(),e=dF();function r(n,s){return n!=null&&e(n,s,t)}return _S=r,_S}var hfe=dfe();const mfe=ut(hfe);var gfe=Uq();const yfe=ut(gfe);var vfe={7:function(t){var e,r=typeof Reflect=="object"?Reflect:null,n=r&&typeof r.apply=="function"?r.apply:function(E,b,_){return Function.prototype.apply.call(E,b,_)};e=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)}t.exports=i,t.exports.once=function(E,b){return new Promise((function(_,w){function S(I){E.removeListener(b,A),w(I)}function A(){typeof E.removeListener=="function"&&E.removeListener("error",S),_([].slice.call(arguments))}y(E,b,A,{once:!0}),b!=="error"&&(function(k,P,F){typeof k.on=="function"&&y(k,"error",P,F)})(E,S,{once:!0})}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function o(v){if(typeof v!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof v)}function u(v){return v._maxListeners===void 0?i.defaultMaxListeners:v._maxListeners}function l(v,E,b,_){var w,S,A;if(o(b),(S=v._events)===void 0?(S=v._events=Object.create(null),v._eventsCount=0):(S.newListener!==void 0&&(v.emit("newListener",E,b.listener?b.listener:b),S=v._events),A=S[E]),A===void 0)A=S[E]=b,++v._eventsCount;else if(typeof A=="function"?A=S[E]=_?[b,A]:[A,b]:_?A.unshift(b):A.push(b),(w=u(v))>0&&A.length>w&&!A.warned){A.warned=!0;var I=new Error("Possible EventEmitter memory leak detected. "+A.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");I.name="MaxListenersExceededWarning",I.emitter=v,I.type=E,I.count=A.length,(function(P){console&&console.warn&&console.warn(P)})(I)}return v}function c(){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 p(v,E,b){var _={fired:!1,wrapFn:void 0,target:v,type:E,listener:b},w=c.bind(_);return w.listener=b,_.wrapFn=w,w}function m(v,E,b){var _=v._events;if(_===void 0)return[];var w=_[E];return w===void 0?[]:typeof w=="function"?b?[w.listener||w]:[w]:b?(function(A){for(var I=new Array(A.length),k=0;k<I.length;++k)I[k]=A[k].listener||A[k];return I})(w):g(w,w.length)}function d(v){var E=this._events;if(E!==void 0){var b=E[v];if(typeof b=="function")return 1;if(b!==void 0)return b.length}return 0}function g(v,E){for(var b=new Array(E),_=0;_<E;++_)b[_]=v[_];return b}function y(v,E,b,_){if(typeof v.on=="function")_.once?v.once(E,b):v.on(E,b);else{if(typeof v.addEventListener!="function")throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof v);v.addEventListener(E,(function w(S){_.once&&v.removeEventListener(E,w),b(S)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a}
222,set:function(v){if(typeof v!="number"||v<0||s(v))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+v+".");a=v}}),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 u(this)},i.prototype.emit=function(E){for(var b=[],_=1;_<arguments.length;_++)b.push(arguments[_]);var w=E==="error",S=this._events;if(S!==void 0)w=w&&S.error===void 0;else if(!w)return!1;if(w){var A;if(b.length>0&&(A=b[0]),A instanceof Error)throw A;var I=new Error("Unhandled error."+(A?" ("+A.message+")":""));throw I.context=A,I}var k=S[E];if(k===void 0)return!1;if(typeof k=="function")n(k,this,b);else{var P=k.length,F=g(k,P);for(_=0;_<P;++_)n(F[_],this,b)}return!0},i.prototype.addListener=function(E,b){return l(this,E,b,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(E,b){return l(this,E,b,!0)},i.prototype.once=function(E,b){return o(b),this.on(E,p(this,E,b)),this},i.prototype.prependOnceListener=function(E,b){return o(b),this.prependListener(E,p(this,E,b)),this},i.prototype.removeListener=function(E,b){var _,w,S,A,I;if(o(b),(w=this._events)===void 0)return this;if((_=w[E])===void 0)return this;if(_===b||_.listener===b)--this._eventsCount==0?this._events=Object.create(null):(delete w[E],w.removeListener&&this.emit("removeListener",E,_.listener||b));else if(typeof _!="function"){for(S=-1,A=_.length-1;A>=0;A--)if(_[A]===b||_[A].listener===b){I=_[A].listener,S=A;break}if(S<0)return this;S===0?_.shift():(function(P,F){for(;F+1<P.length;F++)P[F]=P[F+1];P.pop()})(_,S),_.length===1&&(w[E]=_[0]),w.removeListener!==void 0&&this.emit("removeListener",E,I||b)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(E){var b,_,w;if((_=this._events)===void 0)return this;if(_.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):_[E]!==void 0&&(--this._eventsCount==0?this._events=Object.create(null):delete _[E]),this;if(arguments.length===0){var S,A=Object.keys(_);for(w=0;w<A.length;++w)(S=A[w])!=="removeListener"&&this.removeAllListeners(S);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(typeof(b=_[E])=="function")this.removeListener(E,b);else if(b!==void 0)for(w=b.length-1;w>=0;w--)this.removeListener(E,b[w]);return this},i.prototype.listeners=function(E){return m(this,E,!0)},i.prototype.rawListeners=function(E){return m(this,E,!1)},i.listenerCount=function(v,E){return typeof v.listenerCount=="function"?v.listenerCount(E):d.call(v,E)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?e(this._events):[]}},48:function(t){var e={};function r(s,i,a){a||(a=Error);var o=(function(u){function l(c,p,m){return u.call(this,(function(g,y,v){return typeof i=="string"?i:i(g,y,v)})(c,p,m))||this}return(function(p,m){p.prototype=Object.create(m.prototype),p.prototype.constructor=p,p.__proto__=m})(l,u),l})(a);o.prototype.name=a.name,o.prototype.code=s,e[s]=o}function n(s,i){if(Array.isArray(s)){var a=s.length;return s=s.map((function(o){return String(o)})),a>2?"one of ".concat(i," ").concat(s.slice(0,a-1).join(", "),", or ")+s[a-1]:a===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,a){var o,u;if(typeof i=="string"&&(function(p,m,d){return p.substr(0,m.length)===m})(i,"not ")?(o="must not be",i=i.replace(/^not /,"")):o="must be",(function(p,m,d){return(d===void 0||d>p.length)&&(d=p.length),p.substring(d-m.length,d)===m})(s," argument"))u="The ".concat(s," ").concat(o," ").concat(n(i,"type"));else{var l=(function(p,m,d){return typeof d!="number"&&(d=0),!(d+m.length>p.length)&&p.indexOf(m,d)!==-1})(s,".")?"property":"argument";u='The "'.concat(s,'" ').concat(l," ").concat(o," ").concat(n(i,"type"))}return u+=". Received type ".concat(typeof a)}),TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENT
222ED",(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"),t.exports.F=e},107:function(t,e,r){var n=r(698),s=r(392),i=r(861).Buffer,a=[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],o=new Array(64);function u(){this.init(),this._w=o,s.call(this,64,56)}function l(y,v,E){return E^y&(v^E)}function c(y,v,E){return y&v|E&(y|v)}function p(y){return(y>>>2|y<<30)^(y>>>13|y<<19)^(y>>>22|y<<10)}function m(y){return(y>>>6|y<<26)^(y>>>11|y<<21)^(y>>>25|y<<7)}function d(y){return(y>>>7|y<<25)^(y>>>18|y<<14)^y>>>3}function g(y){return(y>>>17|y<<15)^(y>>>19|y<<13)^y>>>10}n(u,s),u.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},u.prototype._update=function(y){for(var v=this._w,E=0|this._a,b=0|this._b,_=0|this._c,w=0|this._d,S=0|this._e,A=0|this._f,I=0|this._g,k=0|this._h,P=0;P<16;++P)v[P]=y.readInt32BE(4*P);for(;P<64;++P)v[P]=g(v[P-2])+v[P-7]+d(v[P-15])+v[P-16]|0;for(var F=0;F<64;++F){var R=k+m(S)+l(S,A,I)+a[F]+v[F]|0,L=p(E)+c(E,b,_)|0;k=I,I=A,A=S,S=w+R|0,w=_,_=b,b=E,E=R+L|0}this._a=E+this._a|0,this._b=b+this._b|0,this._c=_+this._c|0,this._d=w+this._d|0,this._e=S+this._e|0,this._f=A+this._f|0,this._g=I+this._g|0,this._h=k+this._h|0},u.prototype._hash=function(){var y=i.allocUnsafe(32);return y.writeInt32BE(this._a,0),y.writeInt32BE(this._b,4),y.writeInt32BE(this._c,8),y.writeInt32BE(this._d,12),y.writeInt32BE(this._e,16),y.writeInt32BE(this._f,20),y.writeInt32BE(this._g,24),y.writeInt32BE(this._h,28),y},t.exports=u},123:function(t,e,r){var n=r(606),s=r(499),i=r(310).Stream;function a(u,l,c){var p,m=(function(_,w){return new Array(w||0).join(_||"")})(l,c=c||0),d=u;if(typeof u=="object"&&(d=u[p=Object.keys(u)[0]])&&d._elem)return d._elem.name=p,d._elem.icount=c,d._elem.indent=l,d._elem.indents=m,d._elem.interrupt=d,d._elem;var g,y=[],v=[];function E(b){Object.keys(b).forEach((function(_){y.push((function(S,A){return S+'="'+s(A)+'"'})(_,b[_]))}))}switch(typeof d){case"object":if(d===null)break;d._attr&&E(d._attr),d._cdata&&v.push(("<![CDATA["+d._cdata).replace(/\]\]>/g,"]]]]><![CDATA[>")+"]]>"),d.forEach&&(g=!1,v.push(""),d.forEach((function(b){typeof b=="object"?Object.keys(b)[0]=="_attr"?E(b._attr):v.push(a(b,l,c+1)):(v.pop(),g=!0,v.push(s(b)))})),g||v.push(""));break;default:v.push(s(d))}return{name:p,interrupt:!1,attributes:y,content:v,icount:c,indents:m,indent:l}}function o(u,l,c){if(typeof l!="object")return u(!1,l);var p=l.interrupt?1:l.content.length;function m(){for(;l.content.length;){var g=l.content.shift();if(g!==void 0){if(d(g))return;o(u,g)}}u(!1,(p>1?l.indents:"")+(l.name?"</"+l.name+">":"")+(l.indent&&!c?`
223`:"")),c&&c()}function d(g){return!!g.interrupt&&(g.interrupt.append=u,g.interrupt.end=m,g.interrupt=!1,u(!0),!0)}if(u(!1,l.indents+(l.name?"<"+l.name:"")+(l.attributes.length?" "+l.attributes.join(" "):"")+(p?l.name?">":"":l.name?"/>":"")+(l.indent&&p>1?`
224`:"")),!p)return u(!1,l.indent?`
225`:"");d(l)||m()}t.exports=function(l,c){typeof c!="object"&&(c={indent:c}
225);var p=c.stream?new i:null,m="",d=!1,g=c.indent?c.indent===!0?"    ":c.indent:"",y=!0;function v(w){y?n.nextTick(w):w()}function E(w,S){if(S!==void 0&&(m+=S),w&&!d&&(p=p||new i,d=!0),w&&d){var A=m;v((function(){p.emit("data",A)})),m=""}}function b(w,S){o(E,a(w,g,g?1:0),S)}function _(){if(p){var w=m;v((function(){p.emit("data",w),p.emit("end"),p.readable=!1,p.emit("close")}))}}return v((function(){y=!1})),c.declaration&&(function(S){var A={version:"1.0",encoding:S.encoding||"UTF-8"};S.standalone&&(A.standalone=S.standalone),b({"?xml":{_attr:A}}),m=m.replace("/>","?>")})(c.declaration),l&&l.forEach?l.forEach((function(w,S){var A;S+1===l.length&&(A=_),b(w,A)})):b(l,_),p?(p.readable=!0,p):m},t.exports.element=t.exports.Element=function(){var l={_elem:a(Array.prototype.slice.call(arguments)),push:function(c){if(!this.append)throw new Error("not assigned to a parent!");var p=this,m=this._elem.indent;o(this.append,a(c,m,this._elem.icount+(m?1:0)),(function(){p.append(!0)}))},close:function(c){c!==void 0&&this.push(c),this.end&&this.end()}};return l}},141:function(t,e,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 y;switch(this.encoding=(function(E){var b=(function(w){if(!w)return"utf8";for(var S;;)switch(w){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return w;default:if(S)return;w=(""+w).toLowerCase(),S=!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=u,this.end=l,y=4;break;case"utf8":this.fillLast=o,y=4;break;case"base64":this.text=c,this.end=p,y=3;break;default:return this.write=m,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(y)}function a(g){return g<=127?0:g>>5==6?2:g>>4==14?3:g>>3==30?4:g>>6==2?-1:-2}function o(g){var y=this.lastTotal-this.lastNeed,v=(function(b,_,w){if((192&_[0])!=128)return b.lastNeed=0,"�";if(b.lastNeed>1&&_.length>1){if((192&_[1])!=128)return b.lastNeed=1,"�";if(b.lastNeed>2&&_.length>2&&(192&_[2])!=128)return b.lastNeed=2,"�"}})(this,g);return v!==void 0?v:this.lastNeed<=g.length?(g.copy(this.lastChar,y,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(g.copy(this.lastChar,y,0,g.length),void(this.lastNeed-=g.length))}function u(g,y){if((g.length-y)%2==0){var v=g.toString("utf16le",y);if(v){var E=v.charCodeAt(v.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],v.slice(0,-1)}return v}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=g[g.length-1],g.toString("utf16le",y,g.length-1)}function l(g){var y=g&&g.length?this.write(g):"";if(this.lastNeed){var v=this.lastTotal-this.lastNeed;return y+this.lastChar.toString("utf16le",0,v)}return y}function c(g,y){var v=(g.length-y)%3;return v===0?g.toString("base64",y):(this.lastNeed=3-v,this.lastTotal=3,v===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",y,g.length-v))}function p(g){var y=g&&g.length?this.write(g):"";return this.lastNeed?y+this.lastChar.toString("base64",0,3-this.lastNeed):y}function m(g){return g.toString(this.encoding)}function d(g){return g&&g.length?this.write(g):""}e.I=i,i.prototype.write=function(g){if(g.length===0)return"";var y,v;if(this.lastNeed){if((y=this.fillLast(g))===void 0)return"";v=this.lastNeed,this.lastNeed=0}else v=0;return v<g.length?y?y+this.text(g,v):this.text(g,v):y||""},i.prototype.end=function(y){var v=y&&y.length?this.write(y):"";return this.lastNeed?v+"�":v},i.prototype.text=function(y,v){var E=(function(w,S,A){var I=S.length-1;if(I<A)return 0;var k=a(S[I]);return k>=0?(k>0&&(w.lastNeed=k-1),k):--I<A||k===-2?0:(k=a(S[I]),k>=0?(k>0&&(w.lastNeed=k-2),k):--I<A||k===-2?0:(k=a(S[I]),k>=0?(k>0&&(k===2?k=0:w.lastNeed=k-3),k):0))})(this,y,v);if(!this.lastNeed)return y.toString("utf8",v);this.lastTotal=E;var b=y.length-(E-this.lastNeed);return y.copy(this.lastChar,0,b),y.toString("utf8",v,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}},157:function(t){t.exports=function(){throw new Error("Readable.from is not available in the browser")}},209:function(t,e,r){var n=r(606),s=65536,i=4294967295,a=r(861).Buffer,o=r.g.crypto||r.g.msCrypto;
225o&&o.getRandomValues?t.exports=function(l,c){if(l>i)throw new RangeError("requested too many random bytes");var p=a.allocUnsafe(l);if(l>0)if(l>s)for(var m=0;m<l;m+=s)o.getRandomValues(p.slice(m,m+s));else o.getRandomValues(p);return typeof c=="function"?n.nextTick((function(){c(null,p)})):p}:t.exports=function(){throw new Error(`Secure random number generation is not supported by this browser.
226Use Chrome, Firefox or Internet Explorer 11`)}},238:function(t,e,r){var n=r(48).F.ERR_STREAM_PREMATURE_CLOSE;function s(){}t.exports=function i(a,o,u){if(typeof o=="function")return i(a,null,o);o||(o={}),u=(function(w){var S=!1;return function(){if(!S){S=!0;for(var A=arguments.length,I=new Array(A),k=0;k<A;k++)I[k]=arguments[k];w.apply(this,I)}}})(u||s);var l=o.readable||o.readable!==!1&&a.readable,c=o.writable||o.writable!==!1&&a.writable,p=function(){a.writable||d()},m=a._writableState&&a._writableState.finished,d=function(){c=!1,m=!0,l||u.call(a)},g=a._readableState&&a._readableState.endEmitted,y=function(){l=!1,g=!0,c||u.call(a)},v=function(w){u.call(a,w)},E=function(){var w;return l&&!g?(a._readableState&&a._readableState.ended||(w=new n),u.call(a,w)):c&&!m?(a._writableState&&a._writableState.ended||(w=new n),u.call(a,w)):void 0},b=function(){a.req.on("finish",d)};return(function(w){return w.setHeader&&typeof w.abort=="function"})(a)?(a.on("complete",d),a.on("abort",E),a.req?b():a.on("request",b)):c&&!a._writableState&&(a.on("end",p),a.on("close",p)),a.on("end",y),a.on("finish",d),o.error!==!1&&a.on("error",v),a.on("close",E),function(){a.removeListener("complete",d),a.removeListener("abort",E),a.removeListener("request",b),a.req&&a.req.removeListener("finish",d),a.removeListener("end",p),a.removeListener("close",p),a.removeListener("finish",d),a.removeListener("end",y),a.removeListener("error",v),a.removeListener("close",E)}}},287:function(t,e,r){const n=r(987),s=r(362),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=u,e.SlowBuffer=function(C){return+C!=C&&(C=0),u.alloc(+C)},e.INSPECT_MAX_BYTES=50;const a=2147483647;function o($){if($>a)throw new RangeError('The value "'+$+'" is invalid for option "size"');const C=new Uint8Array($);return Object.setPrototypeOf(C,u.prototype),C}function u($,C,j){if(typeof $=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return p($)}return l($,C,j)}function l($,C,j){if(typeof $=="string")return(function(fe,Ne){if(typeof Ne=="string"&&Ne!==""||(Ne="utf8"),!u.isEncoding(Ne))throw new TypeError("Unknown encoding: "+Ne);const Ge=0|y(fe,Ne);let q=o(Ge);const O=q.write(fe,Ne);return O!==Ge&&(q=q.slice(0,O)),q})($,C);if(ArrayBuffer.isView($))return(function(fe){if(ke(fe,Uint8Array)){const Ne=new Uint8Array(fe);return d(Ne.buffer,Ne.byteOffset,Ne.byteLength)}return m(fe)})($);if($==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $);if(ke($,ArrayBuffer)||$&&ke($.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ke($,SharedArrayBuffer)||$&&ke($.buffer,SharedArrayBuffer)))return d($,C,j);if(typeof $=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const U=$.valueOf&&$.valueOf();if(U!=null&&U!==$)return u.from(U,C,j);const Y=(function(fe){if(u.isBuffer(fe)){const Ne=0|g(fe.length),Ge=o(Ne);return Ge.length===0||fe.copy(Ge,0,0,Ne),Ge}if(fe.length!==void 0)return typeof fe.length!="number"||$e(fe.length)?o(0):m(fe);if(fe.type==="Buffer"&&Array.isArray(fe.data))return m(fe.data)})($);if(Y)return Y;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof $[Symbol.toPrimitive]=="function")return u.from($[Symbol.toPrimitive]("string"),C,j);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof $)}function c($){if(typeof $!="number")throw new TypeError('"size" argument must be of type number');
226if($<0)throw new RangeError('The value "'+$+'" is invalid for option "size"')}function p($){return c($),o($<0?0:0|g($))}function m($){const C=$.length<0?0:0|g($.length),j=o(C);for(let U=0;U<C;U+=1)j[U]=255&$[U];return j}function d($,C,j){if(C<0||$.byteLength<C)throw new RangeError('"offset" is outside of buffer bounds');if($.byteLength<C+(j||0))throw new RangeError('"length" is outside of buffer bounds');let U;return U=C===void 0&&j===void 0?new Uint8Array($):j===void 0?new Uint8Array($,C):new Uint8Array($,C,j),Object.setPrototypeOf(U,u.prototype),U}function g($){if($>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|$}function y($,C){if(u.isBuffer($))return $.length;if(ArrayBuffer.isView($)||ke($,ArrayBuffer))return $.byteLength;if(typeof $!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof $);const j=$.length,U=arguments.length>2&&arguments[2]===!0;if(!U&&j===0)return 0;let Y=!1;for(;;)switch(C){case"ascii":case"latin1":case"binary":return j;case"utf8":case"utf-8":return Me($).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*j;case"hex":return j>>>1;case"base64":return Be($).length;default:if(Y)return U?-1:Me($).length;C=(""+C).toLowerCase(),Y=!0}}function v($,C,j){let U=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((j===void 0||j>this.length)&&(j=this.length),j<=0)||(j>>>=0)<=(C>>>=0))return"";for($||($="utf8");;)switch($){case"hex":return G(this,C,j);case"utf8":case"utf-8":return F(this,C,j);case"ascii":return L(this,C,j);case"latin1":case"binary":return M(this,C,j);case"base64":return P(this,C,j);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return re(this,C,j);default:if(U)throw new TypeError("Unknown encoding: "+$);$=($+"").toLowerCase(),U=!0}}function E($,C,j){const U=$[C];$[C]=$[j],$[j]=U}function b($,C,j,U,Y){if($.length===0)return-1;if(typeof j=="string"?(U=j,j=0):j>2147483647?j=2147483647:j<-2147483648&&(j=-2147483648),$e(j=+j)&&(j=Y?0:$.length-1),j<0&&(j=$.length+j),j>=$.length){if(Y)return-1;j=$.length-1}else if(j<0){if(!Y)return-1;j=0}if(typeof C=="string"&&(C=u.from(C,U)),u.isBuffer(C))return C.length===0?-1:_($,C,j,U,Y);if(typeof C=="number")return C&=255,typeof Uint8Array.prototype.indexOf=="function"?Y?Uint8Array.prototype.indexOf.call($,C,j):Uint8Array.prototype.lastIndexOf.call($,C,j):_($,[C],j,U,Y);throw new TypeError("val must be string, number or Buffer")}function _($,C,j,U,Y){let ne,fe=1,Ne=$.length,Ge=C.length;if(U!==void 0&&((U=String(U).toLowerCase())==="ucs2"||U==="ucs-2"||U==="utf16le"||U==="utf-16le")){if($.length<2||C.length<2)return-1;fe=2,Ne/=2,Ge/=2,j/=2}function q(O,T){return fe===1?O[T]:O.readUInt16BE(T*fe)}if(Y){let O=-1;for(ne=j;ne<Ne;ne++)if(q($,ne)===q(C,O===-1?0:ne-O)){if(O===-1&&(O=ne),ne-O+1===Ge)return O*fe}else O!==-1&&(ne-=ne-O),O=-1}else for(j+Ge>Ne&&(j=Ne-Ge),ne=j;ne>=0;ne--){let O=!0;for(let T=0;T<Ge;T++)if(q($,ne+T)!==q(C,T)){O=!1;break}if(O)return ne}return-1}function w($,C,j,U){j=Number(j)||0;const Y=$.length-j;U?(U=Number(U))>Y&&(U=Y):U=Y;const ne=C.length;let fe;for(U>ne/2&&(U=ne/2),fe=0;fe<U;++fe){const Ne=parseInt(C.substr(2*fe,2),16);if($e(Ne))return fe;$[j+fe]=Ne}return fe}function S($,C,j,U){return Te(Me(C,$.length-j),$,j,U)}function A($,C,j,U){return Te((function(ne){const fe=[];for(let Ne=0;Ne<ne.length;++Ne)fe.push(255&ne.charCodeAt(Ne));return fe})(C),$,j,U)}function I($,C,j,U){return Te(Be(C),$,j,U)}function k($,C,j,U){return Te((function(ne,fe){let Ne,Ge,q;const O=[];for(let T=0;T<ne.length&&!((fe-=2)<0);++T)Ne=ne.charCodeAt(T),Ge=Ne>>8,q=Ne%256,O.push(q),O.push(Ge);return O})(C,$.length-j),$,j,U)}function P($,C,j){return C===0&&j===$.length?n.fromByteArray($):n.fromByteArray($.slice(C,j))}function F($,C,j){j=Math.min($.length,j);const U=[];let Y=C;for(;Y<j;){const ne=$[Y];let fe=null,Ne=ne>239?4:ne>223?3:ne>191?2:1;if(Y+Ne<=j){let Ge,q,O,T;switch(Ne){case 1:ne<128&&(fe=ne);break;case 2:Ge=$[Y+1],(192&Ge)==128&&(T=(31&ne)<<6|63&Ge,T>127&&(fe=T));break;case 3:Ge=$[Y+1],q=$[Y+2],(192&Ge)==128&&(192&q)==128&&(T=(15&ne)<<12|(63&Ge)<<6|63&q,T>2047&&(T<55296||T>57343)&&(fe=T));break;case 4:Ge=$[Y+1],q=$[Y+2],O=$[Y+3],(192&Ge)==128&&(192&q)==128&&(192&O)==128&&(T=(15&ne)<<18|(63&Ge)<<12|(63&q)<<6|63&O,T>65535&&T<1114112&&(fe=T))}}fe===null?(fe=65533,Ne=1):fe>65535&&(fe-=65536,U.push(fe>>>10&1023|55296),fe=56320|1023&fe),U.push(fe),Y+=Ne}return(function(fe){const Ne=fe.length;if(Ne<=R)return String.fromCharCode.apply(String,fe);let Ge="",q=0;for(;q<Ne;)Ge+=String.fromCharCode.apply(String,fe.slice(q,q+=R));return Ge})(U)}
vendor: 9,077 bytes, line 226
226e.kMaxLength=a,u.TYPED_ARRAY_SUPPORT=(function(){try{const C=new Uint8Array(1),j={foo:function(){return 42}};return Object.setPrototypeOf(j,Uint8Array.prototype),Object.setPrototypeOf(C,j),C.foo()===42}catch{return!1}})(),u.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(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function($,C,j){return l($,C,j)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function($,C,j){return(function(Y,ne,fe){return c(Y),Y<=0?o(Y):ne!==void 0?typeof fe=="string"?o(Y).fill(ne,fe):o(Y).fill(ne):o(Y)})($,C,j)},u.allocUnsafe=function($){return p($)},u.allocUnsafeSlow=function($){return p($)},u.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==u.prototype},u.compare=function(C,j){if(ke(C,Uint8Array)&&(C=u.from(C,C.offset,C.byteLength)),ke(j,Uint8Array)&&(j=u.from(j,j.offset,j.byteLength)),!u.isBuffer(C)||!u.isBuffer(j))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===j)return 0;let U=C.length,Y=j.length;for(let ne=0,fe=Math.min(U,Y);ne<fe;++ne)if(C[ne]!==j[ne]){U=C[ne],Y=j[ne];break}return U<Y?-1:Y<U?1:0},u.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}},u.concat=function(C,j){if(!Array.isArray(C))throw new TypeError('"list" argument must be an Array of Buffers');if(C.length===0)return u.alloc(0);let U;if(j===void 0)for(j=0,U=0;U<C.length;++U)j+=C[U].length;const Y=u.allocUnsafe(j);let ne=0;for(U=0;U<C.length;++U){let fe=C[U];if(ke(fe,Uint8Array))ne+fe.length>Y.length?(u.isBuffer(fe)||(fe=u.from(fe)),fe.copy(Y,ne)):Uint8Array.prototype.set.call(Y,fe,ne);else{if(!u.isBuffer(fe))throw new TypeError('"list" argument must be an Array of Buffers');fe.copy(Y,ne)}ne+=fe.length}return Y},u.byteLength=y,u.prototype._isBuffer=!0,u.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 j=0;j<C;j+=2)E(this,j,j+1);return this},u.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 j=0;j<C;j+=4)E(this,j,j+3),E(this,j+1,j+2);return this},u.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 j=0;j<C;j+=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},u.prototype.toString=function(){const C=this.length;return C===0?"":arguments.length===0?F(this,0,C):v.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(C){if(!u.isBuffer(C))throw new TypeError("Argument must be a Buffer");return this===C||u.compare(this,C)===0},u.prototype.inspect=function(){let C="";const j=e.INSPECT_MAX_BYTES;return C=this.toString("hex",0,j).replace(/(.{2})/g,"$1 ").trim(),this.length>j&&(C+=" ... "),"<Buffer "+C+">"},i&&(u.prototype[i]=u.prototype.inspect),u.prototype.compare=function(C,j,U,Y,ne){if(ke(C,Uint8Array)&&(C=u.from(C,C.offset,C.byteLength)),!u.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(j===void 0&&(j=0),U===void 0&&(U=C?C.length:0),Y===void 0&&(Y=0),ne===void 0&&(ne=this.length),j<0||U>C.length||Y<0||ne>this.length)throw new RangeError("out of range index");if(Y>=ne&&j>=U)return 0;if(Y>=ne)return-1;if(j>=U)return 1;if(this===C)return 0;let fe=(ne>>>=0)-(Y>>>=0),Ne=(U>>>=0)-(j>>>=0);const Ge=Math.min(fe,Ne),q=this.slice(Y,ne),O=C.slice(j,U);for(let T=0;T<Ge;++T)if(q[T]!==O[T]){fe=q[T],Ne=O[T];break}return fe<Ne?-1:Ne<fe?1:0},u.prototype.includes=function(C,j,U){return this.indexOf(C,j,U)!==-1},u.prototype.indexOf=function(C,j,U){return b(this,C,j,U,!0)},u.prototype.lastIndexOf=function(C,j,U){return b(this,C,j,U,!1)},u.prototype.write=function(C,j,U,Y){if(j===void 0)Y="utf8",U=this.length,j=0;else if(U===void 0&&typeof j=="string")Y=j,U=this.length,j=0;else{if(!isFinite(j))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");j>>>=0,isFinite(U)?(U>>>=0,Y===void 0&&(Y="utf8")):(Y=U,U=void 0)}const ne=this.length-j;if((U===void 0||U>ne)&&(U=ne),C.length>0&&(U<0||j<0)||j>this.length)throw new RangeError("Attempt to write outside buffer bounds");Y||(Y="utf8");let fe=!1;for(;;)switch(Y){case"hex":return w(this,C,j,U);case"utf8":case"utf-8":return S(this,C,j,U);case"ascii":case"latin1":case"binary":return A(this,C,j,U);case"base64":return I(this,C,j,U);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,C,j,U);default:if(fe)throw new TypeError("Unknown encoding: "+Y);Y=(""+Y).toLowerCase(),fe=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const R=4096;function L($,C,j){let U="";j=Math.min($.length,j);for(let Y=C;Y<j;++Y)U+=String.fromCharCode(127&$[Y]);return U}function M($,C,j){let U="";j=Math.min($.length,j);for(let Y=C;Y<j;++Y)U+=String.fromCharCode($[Y]);return U}function G($,C,j){const U=$.length;(!C||C<0)&&(C=0),(!j||j<0||j>U)&&(j=U);let Y="";for(let ne=C;ne<j;++ne)Y+=ge[$[ne]];return Y}function re($,C,j){const U=$.slice(C,j);let Y="";for(let ne=0;ne<U.length-1;ne+=2)Y+=String.fromCharCode(U[ne]+256*U[ne+1]);return Y}function K($,C,j){if($%1!=0||$<0)throw new RangeError("offset is not uint");if($+C>j)throw new RangeError("Trying to access beyond buffer length")}function Z($,C,j,U,Y,ne){if(!u.isBuffer($))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>Y||C<ne)throw new RangeError('"value" argument is out of bounds');if(j+U>$.length)throw new RangeError("Index out of range")}function X($,C,j,U,Y){W(C,U,Y,$,j,7);let ne=Number(C&BigInt(4294967295));$[j++]=ne,ne>>=8,$[j++]=ne,ne>>=8,$[j++]=ne,ne>>=8,$[j++]=ne;let fe=Number(C>>BigInt(32)&BigInt(4294967295));return $[j++]=fe,fe>>=8,$[j++]=fe,fe>>=8,$[j++]=fe,fe>>=8,$[j++]=fe,j}function ee($,C,j,U,Y){W(C,U,Y,$,j,7);let ne=Number(C&BigInt(4294967295));$[j+7]=ne,ne>>=8,$[j+6]=ne,ne>>=8,$[j+5]=ne,ne>>=8,$[j+4]=ne;let fe=Number(C>>BigInt(32)&BigInt(4294967295));return $[j+3]=fe,fe>>=8,$[j+2]=fe,fe>>=8,$[j+1]=fe,fe>>=8,$[j]=fe,j+8}function ce($,C,j,U,Y,ne){if(j+U>$.length)throw new RangeError("Index out of range");if(j<0)throw new RangeError("Index out of range")}function se($,C,j,U,Y){return C=+C,j>>>=0,Y||ce($,0,j,4),s.write($,C,j,U,23,4),j+4}function ue($,C,j,U,Y){return C=+C,j>>>=0,Y||ce($,0,j,8),s.write($,C,j,U,52,8),j+8}u.prototype.slice=function(C,j){const U=this.length;(C=~~C)<0?(C+=U)<0&&(C=0):C>U&&(C=U),(j=j===void 0?U:~~j)<0?(j+=U)<0&&(j=0):j>U&&(j=U),j<C&&(j=C);const Y=this.subarray(C,j);return Object.setPrototypeOf(Y,u.prototype),Y},u.prototype.readUintLE=u.prototype.readUIntLE=function(C,j,U){C>>>=0,j>>>=0,U||K(C,j,this.length);let Y=this[C],ne=1,fe=0;for(;++fe<j&&(ne*=256);)Y+=this[C+fe]*ne;return Y},u.prototype.readUintBE=u.prototype.readUIntBE=function(C,j,U){C>>>=0,j>>>=0,U||K(C,j,this.length);let Y=this[C+--j],ne=1;for(;j>0&&(ne*=256);)Y+=this[C+--j]*ne;return Y},u.prototype.readUint8=u.prototype.readUInt8=function(C,j){return C>>>=0,j||K(C,1,this.length),this[C]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function(C,j){return C>>>=0,j||K(C,2,this.length),this[C]|this[C+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function(C,j){return C>>>=0,j||K(C,2,this.length),this[C]<<8|this[C+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function(C,j){return C>>>=0,j||K(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+16777216*this[C+3]},u.prototype.readUint32BE=u.prototype.readUInt32BE=function(C,j){return C>>>=0,j||K(C,4,this.length),16777216*this[C]+(this[C+1]<<16|this[C+2]<<8|this[C+3])},u.prototype.readBigUInt64LE=Se((function(C){V(C>>>=0,"offset");const j=this[C],U=this[C+7];j!==void 0&&U!==void 0||me(C,this.length-8);const Y=j+256*this[++C]+65536*this[++C]+this[++C]*2**24,ne=this[++C]+256*this[++C]+65536*this[++C]+U*2**24;return BigInt(Y)+(BigInt(ne)<<BigInt(32))})),u.prototype.readBigUInt64BE=Se((function(C){V(C>>>=0,"offset");const j=this[C],U=this[C+7];j!==void 0&&U!==void 0||me(C,this.length-8);const Y=j*2**24+65536*this[++C]+256*this[++C]+this[++C],ne=this[++C]*2**24+65536*this[++C]+256*this[++C]+U;return(BigInt(Y)<<BigInt(32))+BigInt(ne)})),u.prototype.readIntLE=function(C,j,U){C>>>=0,j>>>=0,U||K(C,j,this.length);let Y=this[C],ne=1,fe=0;for(;++fe<j&&(ne*=256);)Y+=this[C+fe]*ne;return ne*=128,Y>=ne&&(Y-=Math.pow(2,8*j)),Y},u.prototype.readIntBE=function(C,j,U){C>>>=0,j>>>=0,U||K(C,j,this.length);let Y=j,ne=1,fe=this[C+--Y];for(;Y>0&&(ne*=256);
226)fe+=this[C+--Y]*ne;return ne*=128,fe>=ne&&(fe-=Math.pow(2,8*j)),fe},u.prototype.readInt8=function(C,j){return C>>>=0,j||K(C,1,this.length),128&this[C]?-1*(255-this[C]+1):this[C]},u.prototype.readInt16LE=function(C,j){C>>>=0,j||K(C,2,this.length);const U=this[C]|this[C+1]<<8;return 32768&U?4294901760|U:U},u.prototype.readInt16BE=function(C,j){C>>>=0,j||K(C,2,this.length);const U=this[C+1]|this[C]<<8;return 32768&U?4294901760|U:U},u.prototype.readInt32LE=function(C,j){return C>>>=0,j||K(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},u.prototype.readInt32BE=function(C,j){return C>>>=0,j||K(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},u.prototype.readBigInt64LE=Se((function(C){V(C>>>=0,"offset");const j=this[C],U=this[C+7];j!==void 0&&U!==void 0||me(C,this.length-8);const Y=this[C+4]+256*this[C+5]+65536*this[C+6]+(U<<24);return(BigInt(Y)<<BigInt(32))+BigInt(j+256*this[++C]+65536*this[++C]+this[++C]*2**24)})),u.prototype.readBigInt64BE=Se((function(C){V(C>>>=0,"offset");const j=this[C],U=this[C+7];j!==void 0&&U!==void 0||me(C,this.length-8);const Y=(j<<24)+65536*this[++C]+256*this[++C]+this[++C];return(BigInt(Y)<<BigInt(32))+BigInt(this[++C]*2**24+65536*this[++C]+256*this[++C]+U)})),u.prototype.readFloatLE=function(C,j){return C>>>=0,j||K(C,4,this.length),s.read(this,C,!0,23,4)},u.prototype.readFloatBE=function(C,j){return C>>>=0,j||K(C,4,this.length),s.read(this,C,!1,23,4)},u.prototype.readDoubleLE=function(C,j){return C>>>=0,j||K(C,8,this.length),s.read(this,C,!0,52,8)},u.prototype.readDoubleBE=function(C,j){return C>>>=0,j||K(C,8,this.length),s.read(this,C,!1,52,8)},u.prototype.writeUintLE=u.prototype.writeUIntLE=function(C,j,U,Y){C=+C,j>>>=0,U>>>=0,!Y&&Z(this,C,j,U,Math.pow(2,8*U)-1,0);let ne=1,fe=0;for(this[j]=255&C;++fe<U&&(ne*=256);)this[j+fe]=C/ne&255;return j+U},u.prototype.writeUintBE=u.prototype.writeUIntBE=function(C,j,U,Y){C=+C,j>>>=0,U>>>=0,!Y&&Z(this,C,j,U,Math.pow(2,8*U)-1,0);let ne=U-1,fe=1;for(this[j+ne]=255&C;--ne>=0&&(fe*=256);)this[j+ne]=C/fe&255;return j+U},u.prototype.writeUint8=u.prototype.writeUInt8=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,1,255,0),this[j]=255&C,j+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,2,65535,0),this[j]=255&C,this[j+1]=C>>>8,j+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,2,65535,0),this[j]=C>>>8,this[j+1]=255&C,j+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,4,4294967295,0),this[j+3]=C>>>24,this[j+2]=C>>>16,this[j+1]=C>>>8,this[j]=255&C,j+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,4,4294967295,0),this[j]=C>>>24,this[j+1]=C>>>16,this[j+2]=C>>>8,this[j+3]=255&C,j+4},u.prototype.writeBigUInt64LE=Se((function(C,j=0){return X(this,C,j,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeBigUInt64BE=Se((function(C,j=0){return ee(this,C,j,BigInt(0),BigInt("0xffffffffffffffff"))})),u.prototype.writeIntLE=function(C,j,U,Y){if(C=+C,j>>>=0,!Y){const Ge=Math.pow(2,8*U-1);Z(this,C,j,U,Ge-1,-Ge)}let ne=0,fe=1,Ne=0;for(this[j]=255&C;++ne<U&&(fe*=256);)C<0&&Ne===0&&this[j+ne-1]!==0&&(Ne=1),this[j+ne]=(C/fe|0)-Ne&255;return j+U},u.prototype.writeIntBE=function(C,j,U,Y){if(C=+C,j>>>=0,!Y){const Ge=Math.pow(2,8*U-1);Z(this,C,j,U,Ge-1,-Ge)}let ne=U-1,fe=1,Ne=0;for(this[j+ne]=255&C;--ne>=0&&(fe*=256);)C<0&&Ne===0&&this[j+ne+1]!==0&&(Ne=1),this[j+ne]=(C/fe|0)-Ne&255;return j+U},u.prototype.writeInt8=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,1,127,-128),C<0&&(C=255+C+1),this[j]=255&C,j+1},u.prototype.writeInt16LE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,2,32767,-32768),this[j]=255&C,this[j+1]=C>>>8,j+2},u.prototype.writeInt16BE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,2,32767,-32768),this[j]=C>>>8,this[j+1]=255&C,j+2},u.prototype.writeInt32LE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,4,2147483647,-2147483648),this[j]=255&C,this[j+1]=C>>>8,this[j+2]=C>>>16,this[j+3]=C>>>24,j+4},u.prototype.writeInt32BE=function(C,j,U){return C=+C,j>>>=0,U||Z(this,C,j,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),this[j]=C>>>24,this[j+1]=C>>>16,this[j+2]=C>>>8,this[j+3]=255&C,j+4},u.prototype.writeBigInt64LE=Se((function(C,j=0){return X(this,C,j,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeBigInt64BE=Se((function(C,j=0){return ee(this,C,j,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))})),u.prototype.writeFloatLE=function(C,j,U){return se(this,C,j,!0,U)},u.prototype.writeFloatBE=function(C,j,U){return se(this,C,j,!1,U)},u.prototype.writeDoubleLE=function(C,j,U){return ue(this,C,j,!0,U)},u.prototype.writeDoubleBE=function(C,j,U){return ue(this,C,j,!1,U)},u.prototype.copy=function(C,j,U,Y){if(!u.isBuffer(C))throw new TypeError("argument should be a Buffer");if(U||(U=0),Y||Y===0||(Y=this.length),j>=C.length&&(j=C.length),j||(j=0),Y>0&&Y<U&&(Y=U),Y===U||C.length===0||this.length===0)return 0;if(j<0)throw new RangeError("targetStart out of bounds");if(U<0||U>=this.length)throw new RangeError("Index out of range");if(Y<0)throw new RangeError("sourceEnd out of bounds");Y>this.length&&(Y=this.length),C.length-j<Y-U&&(Y=C.length-j+U);const ne=Y-U;return this===C&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(j,U,Y):Uint8Array.prototype.set.call(C,this.subarray(U,Y),j),ne},u.prototype.fill=function(C,j,U,Y){if(typeof C=="string"){if(typeof j=="string"?(Y=j,j=0,U=this.length):typeof U=="string"&&(Y=U,U=this.length),Y!==void 0&&typeof Y!="string")throw new TypeError("encoding must be a string");if(typeof Y=="string"&&!u.isEncoding(Y))throw new TypeError("Unknown encoding: "+Y);if(C.length===1){const fe=C.charCodeAt(0);(Y==="utf8"&&fe<128||Y==="latin1")&&(C=fe)}}else typeof C=="number"?C&=255:typeof C=="boolean"&&(C=Number(C));if(j<0||this.length<j||this.length<U)throw new RangeError("Out of range index");if(U<=j)return this;let ne;if(j>>>=0,U=U===void 0?this.length:U>>>0,C||(C=0),typeof C=="number")for(ne=j;ne<U;++ne)this[ne]=C;else{const fe=u.isBuffer(C)?C:u.from(C,Y),Ne=fe.length;
226if(Ne===0)throw new TypeError('The value "'+C+'" is invalid for argument "value"');for(ne=0;ne<U-j;++ne)this[ne+j]=fe[ne%Ne]}return this};const ye={};function he($,C,j){ye[$]=class extends j{constructor(){super(),Object.defineProperty(this,"message",{value:C.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${$}]`,this.stack,delete this.name}get code(){return $}set code(Y){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:Y,writable:!0})}toString(){return`${this.name} [${$}]: ${this.message}`}}}function te($){let C="",j=$.length;const U=$[0]==="-"?1:0;for(;j>=U+4;j-=3)C=`_${$.slice(j-3,j)}${C}`;return`${$.slice(0,j)}${C}`}function W($,C,j,U,Y,ne){if($>j||$<C){const fe=typeof C=="bigint"?"n":"";let Ne;throw Ne=C===0||C===BigInt(0)?`>= 0${fe} and < 2${fe} ** ${8*(ne+1)}${fe}`:`>= -(2${fe} ** ${8*(ne+1)-1}${fe}) and < 2 ** ${8*(ne+1)-1}${fe}`,new ye.ERR_OUT_OF_RANGE("value",Ne,$)}(function(Ne,Ge,q){V(Ge,"offset"),Ne[Ge]!==void 0&&Ne[Ge+q]!==void 0||me(Ge,Ne.length-(q+1))})(U,Y,ne)}function V($,C){if(typeof $!="number")throw new ye.ERR_INVALID_ARG_TYPE(C,"number",$)}function me($,C,j){throw Math.floor($)!==$?(V($,j),new ye.ERR_OUT_OF_RANGE("offset","an integer",$)):C<0?new ye.ERR_BUFFER_OUT_OF_BOUNDS:new ye.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${C}`,$)}he("ERR_BUFFER_OUT_OF_BOUNDS",(function($){return $?`${$} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"}),RangeError),he("ERR_INVALID_ARG_TYPE",(function($,C){return`The "${$}" argument must be of type number. Received type ${typeof C}`}),TypeError),he("ERR_OUT_OF_RANGE",(function($,C,j){let U=`The value of "${$}" is out of range.`,Y=j;return Number.isInteger(j)&&Math.abs(j)>2**32?Y=te(String(j)):typeof j=="bigint"&&(Y=String(j),(j>BigInt(2)**BigInt(32)||j<-(BigInt(2)**BigInt(32)))&&(Y=te(Y)),Y+="n"),U+=` It must be ${C}. Received ${Y}`,U}),RangeError);const ve=/[^+/0-9A-Za-z-_]/g;function Me($,C){let j;C=C||1/0;const U=$.length;let Y=null;const ne=[];for(let fe=0;fe<U;++fe){if(j=$.charCodeAt(fe),j>55295&&j<57344){if(!Y){if(j>56319){(C-=3)>-1&&ne.push(239,191,189);continue}if(fe+1===U){(C-=3)>-1&&ne.push(239,191,189);continue}Y=j;continue}if(j<56320){(C-=3)>-1&&ne.push(239,191,189),Y=j;continue}j=65536+(Y-55296<<10|j-56320)}else Y&&(C-=3)>-1&&ne.push(239,191,189);if(Y=null,j<128){if((C-=1)<0)break;ne.push(j)}else if(j<2048){if((C-=2)<0)break;ne.push(j>>6|192,63&j|128)}else if(j<65536){if((C-=3)<0)break;ne.push(j>>12|224,j>>6&63|128,63&j|128)}else{if(!(j<1114112))throw new Error("Invalid code point");if((C-=4)<0)break;ne.push(j>>18|240,j>>12&63|128,j>>6&63|128,63&j|128)}}return ne}function Be($){return n.toByteArray((function(j){if((j=(j=j.split("=")[0]).trim().replace(ve,"")).length<2)return"";for(;j.length%4!=0;)j+="=";return j})($))}function Te($,C,j,U){let Y;for(Y=0;Y<U&&!(Y+j>=C.length||Y>=$.length);++Y)C[Y+j]=$[Y];return Y}function ke($,C){return $ instanceof C||$!=null&&$.constructor!=null&&$.constructor.name!=null&&$.constructor.name===C.name}function $e($){return $!=$}const ge=(function(){const $="0123456789abcdef",C=new Array(256);for(let j=0;j<16;++j){const U=16*j;for(let Y=0;Y<16;++Y)C[U+Y]=$[j]+$[Y]}return C})();function Se($){return typeof BigInt>"u"?we:$}function we(){throw new Error("BigInt not supported")}},291:function(t,e,r){var n=r(48).F.ERR_INVALID_OPT_VALUE;t.exports={getHighWaterMark:function(i,a,o,u){var l=(function(p,m,d){return p.highWaterMark!=null?p.highWaterMark:m?p[d]:null})(a,u,o);if(l!=null){if(!isFinite(l)||Math.floor(l)!==l||l<0)throw new n(u?o:"highWaterMark",l);return Math.floor(l)}return i.objectMode?16:16384}}},310:function(t,e,r){t.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,a){var o=this;function u(y){i.writable&&i.write(y)===!1&&o.pause&&o.pause()}function l(){o.readable&&o.resume&&o.resume()}o.on("data",u),i.on("drain",l),i._isStdio||a&&a.end===!1||(o.on("end",p),o.on("close",m));var c=!1;function p(){c||(c=!0,i.end())}function m(){c||(c=!0,typeof i.destroy=="function"&&i.destroy())}
226function d(y){if(g(),n.listenerCount(this,"error")===0)throw y}function g(){o.removeListener("data",u),i.removeListener("drain",l),o.removeListener("end",p),o.removeListener("close",m),o.removeListener("error",d),i.removeListener("error",d),o.removeListener("end",g),o.removeListener("close",g),i.removeListener("close",g)}return o.on("error",d),i.on("error",d),o.on("end",g),o.on("close",g),i.on("close",g),i.emit("pipe",o),i}},340:function(){},345:function(t,e,r){t.exports=r(7).EventEmitter},362:function(t){t.exports=YU},382:function(t,e,r){var n=r(606),s=Object.keys||function(d){var g=[];for(var y in d)g.push(y);return g};t.exports=c;var i=r(412),a=r(708);r(698)(c,i);for(var o=s(a.prototype),u=0;u<o.length;u++){var l=o[u];c.prototype[l]||(c.prototype[l]=a.prototype[l])}function c(d){if(!(this instanceof c))return new c(d);i.call(this,d),a.call(this,d),this.allowHalfOpen=!0,d&&(d.readable===!1&&(this.readable=!1),d.writable===!1&&(this.writable=!1),d.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",p)))}function p(){this._writableState.ended||n.nextTick(m,this)}function m(d){d.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.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)}})},392:function(t,e,r){var n=r(861).Buffer,s=r(496);function i(a,o){this._block=n.alloc(a),this._finalSize=o,this._blockSize=a,this._len=0}i.prototype.update=function(a,o){a=s(a,o||"utf8");for(var u=this._block,l=this._blockSize,c=a.length,p=this._len,m=0;m<c;){for(var d=p%l,g=Math.min(c-m,l-d),y=0;y<g;y++)u[d+y]=a[m+y];m+=g,(p+=g)%l==0&&this._update(u)}return this._len+=c,this},i.prototype.digest=function(a){var o=this._len%this._blockSize;this._block[o]=128,this._block.fill(0,o+1),o>=this._finalSize&&(this._update(this._block),this._block.fill(0));var u=8*this._len;if(u<=4294967295)this._block.writeUInt32BE(u,this._blockSize-4);else{var l=(4294967295&u)>>>0,c=(u-l)/4294967296;this._block.writeUInt32BE(c,this._blockSize-8),this._block.writeUInt32BE(l,this._blockSize-4)}this._update(this._block);var p=this._hash();return a?p.toString(a):p},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},412:function(t,e,r){var n,s=r(606);t.exports=P,P.ReadableState=k,r(7).EventEmitter;var i=function(V,me){return V.listeners(me).length},a=r(345),o=r(287).Buffer,u=(r.g!==void 0?r.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},l,c=r(838);l=c&&c.debuglog?c.debuglog("stream"):function(){};var p,m,d,g=r(726),y=r(896),v=r(291).getHighWaterMark,E=r(48).F,b=E.ERR_INVALID_ARG_TYPE,_=E.ERR_STREAM_PUSH_AFTER_EOF,w=E.ERR_METHOD_NOT_IMPLEMENTED,S=E.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(698)(P,a);var A=y.errorOrDestroy,I=["error","close","destroy","pause","resume"];function k(W,V,me){n=n||r(382),W=W||{},typeof me!="boolean"&&(me=V instanceof n),this.objectMode=!!W.objectMode,me&&(this.objectMode=this.objectMode||!!W.readableObjectMode),this.highWaterMark=v(this,W,"readableHighWaterMark",me),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&&(p||(p=r(141).I),this.decoder=new p(W.encoding),this.encoding=W.encoding)}function P(W){if(n=n||r(382),!(this instanceof P))return new P(W);var V=this instanceof n;this._readableState=new k(W,this,V),this.readable=!0,W&&(typeof W.read=="function"&&(this._read=W.read),typeof W.destroy=="function"&&(this._destroy=W.destroy)),a.call(this)}function F(W,V,me,ve,Me){l("readableAddChunk",V);var Be,Te=W._readableState;if(V===null)Te.reading=!1,(function($e,ge){if(l("onEofChunk"),!ge.ended){if(ge.decoder){var Se=ge.decoder.end();Se&&Se.length&&(ge.buffer.push(Se),ge.length+=ge.objectMode?1:Se.length)}ge.ended=!0,ge.sync?G($e):(ge.needReadable=!1,ge.emittedReadable||(ge.emittedReadable=!0,re($e)))}})(W,Te);else if(Me||(Be=(function($e,ge){var Se;return(function($){return o.isBuffer($)||$ instanceof u})(ge)||typeof ge=="string"||ge===void 0||$e.objectMode||(Se=new b("chunk",["string","Buffer","Uint8Array"],ge)),Se})(Te,V)),Be)A(W,Be);else if(Te.objectMode||V&&V.length>0)if(typeof V=="string"||Te.objectMode||Object.getPrototypeOf(V)===o.prototype||(V=(function($e){return o.from($e)})(V)),ve)Te.endEmitted?A(W,new S):R(W,Te,V,!0);else if(Te.ended)A(W,new _);
226else{if(Te.destroyed)return!1;Te.reading=!1,Te.decoder&&!me?(V=Te.decoder.write(V),Te.objectMode||V.length!==0?R(W,Te,V,!1):K(W,Te)):R(W,Te,V,!1)}else ve||(Te.reading=!1,K(W,Te));return!Te.ended&&(Te.length<Te.highWaterMark||Te.length===0)}function R(W,V,me,ve){V.flowing&&V.length===0&&!V.sync?(V.awaitDrain=0,W.emit("data",me)):(V.length+=V.objectMode?1:me.length,ve?V.buffer.unshift(me):V.buffer.push(me),V.needReadable&&G(W)),K(W,V)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(V){this._readableState&&(this._readableState.destroyed=V)}}),P.prototype.destroy=y.destroy,P.prototype._undestroy=y.undestroy,P.prototype._destroy=function(W,V){V(W)},P.prototype.push=function(W,V){var me,ve=this._readableState;return ve.objectMode?me=!0:typeof W=="string"&&((V=V||ve.defaultEncoding)!==ve.encoding&&(W=o.from(W,V),V=""),me=!0),F(this,W,V,!1,me)},P.prototype.unshift=function(W){return F(this,W,null,!0,!1)},P.prototype.isPaused=function(){return this._readableState.flowing===!1},P.prototype.setEncoding=function(W){p||(p=r(141).I);var V=new p(W);this._readableState.decoder=V,this._readableState.encoding=this._readableState.decoder.encoding;for(var me=this._readableState.buffer.head,ve="";me!==null;)ve+=V.write(me.data),me=me.next;return this._readableState.buffer.clear(),ve!==""&&this._readableState.buffer.push(ve),this._readableState.length=ve.length,this};var L=1073741824;function M(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(ve){return ve>=L?ve=L:(ve--,ve|=ve>>>1,ve|=ve>>>2,ve|=ve>>>4,ve|=ve>>>8,ve|=ve>>>16,ve++),ve})(W)),W<=V.length?W:V.ended?V.length:(V.needReadable=!0,0))}function G(W){var V=W._readableState;l("emitReadable",V.needReadable,V.emittedReadable),V.needReadable=!1,V.emittedReadable||(l("emitReadable",V.flowing),V.emittedReadable=!0,s.nextTick(re,W))}function re(W){var V=W._readableState;l("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,se(W)}function K(W,V){V.readingMore||(V.readingMore=!0,s.nextTick(Z,W,V))}function Z(W,V){for(;!V.reading&&!V.ended&&(V.length<V.highWaterMark||V.flowing&&V.length===0);){var me=V.length;if(l("maybeReadMore read 0"),W.read(0),me===V.length)break}V.readingMore=!1}function X(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 ee(W){l("readable nexttick read 0"),W.read(0)}function ce(W,V){l("resume",V.reading),V.reading||W.read(0),V.resumeScheduled=!1,W.emit("resume"),se(W),V.flowing&&!V.reading&&W.read(0)}function se(W){var V=W._readableState;for(l("flow",V.flowing);V.flowing&&W.read()!==null;);}function ue(W,V){return V.length===0?null:(V.objectMode?me=V.buffer.shift():!W||W>=V.length?(me=V.decoder?V.buffer.join(""):V.buffer.length===1?V.buffer.first():V.buffer.concat(V.length),V.buffer.clear()):me=V.buffer.consume(W,V.decoder),me);var me}function ye(W){var V=W._readableState;l("endReadable",V.endEmitted),V.endEmitted||(V.ended=!0,s.nextTick(he,V,W))}function he(W,V){if(l("endReadableNT",W.endEmitted,W.length),!W.endEmitted&&W.length===0&&(W.endEmitted=!0,V.readable=!1,V.emit("end"),W.autoDestroy)){var me=V._writableState;(!me||me.autoDestroy&&me.finished)&&V.destroy()}}function te(W,V){for(var me=0,ve=W.length;me<ve;me++)if(W[me]===V)return me;return-1}P.prototype.read=function(W){l("read",W),W=parseInt(W,10);var V=this._readableState,me=W;if(W!==0&&(V.emittedReadable=!1),W===0&&V.needReadable&&((V.highWaterMark!==0?V.length>=V.highWaterMark:V.length>0)||V.ended))return l("read: emitReadable",V.length,V.ended),V.length===0&&V.ended?ye(this):G(this),null;if((W=M(W,V))===0&&V.ended)return V.length===0&&ye(this),null;var ve,Me=V.needReadable;return l("need readable",Me),(V.length===0||V.length-W<V.highWaterMark)&&l("length less than watermark",Me=!0),V.ended||V.reading?l("reading or ended",Me=!1):Me&&(l("do read"),V.reading=!0,V.sync=!0,V.length===0&&(V.needReadable=!0),this._read(V.highWaterMark),V.sync=!1,V.reading||(W=M(me,V))),(ve=W>0?ue(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),me!==W&&V.ended&&ye(this)),ve!==null&&this.emit
226("data",ve),ve},P.prototype._read=function(W){A(this,new w("_read()"))},P.prototype.pipe=function(W,V){var me=this,ve=this._readableState;switch(ve.pipesCount){case 0:ve.pipes=W;break;case 1:ve.pipes=[ve.pipes,W];break;default:ve.pipes.push(W)}ve.pipesCount+=1,l("pipe count=%d opts=%j",ve.pipesCount,V);var Me=(!V||V.end!==!1)&&W!==s.stdout&&W!==s.stderr?Te:C;function Be(j,U){l("onunpipe"),j===me&&U&&U.hasUnpiped===!1&&(U.hasUnpiped=!0,(function(){l("cleanup"),W.removeListener("close",we),W.removeListener("finish",$),W.removeListener("drain",ke),W.removeListener("error",Se),W.removeListener("unpipe",Be),me.removeListener("end",Te),me.removeListener("end",C),me.removeListener("data",ge),$e=!0,!ve.awaitDrain||W._writableState&&!W._writableState.needDrain||ke()})())}function Te(){l("onend"),W.end()}ve.endEmitted?s.nextTick(Me):me.once("end",Me),W.on("unpipe",Be);var ke=(function(U){return function(){var ne=U._readableState;l("pipeOnDrain",ne.awaitDrain),ne.awaitDrain&&ne.awaitDrain--,ne.awaitDrain===0&&i(U,"data")&&(ne.flowing=!0,se(U))}})(me);W.on("drain",ke);var $e=!1;function ge(j){l("ondata");var U=W.write(j);l("dest.write",U),U===!1&&((ve.pipesCount===1&&ve.pipes===W||ve.pipesCount>1&&te(ve.pipes,W)!==-1)&&!$e&&(l("false write response, pause",ve.awaitDrain),ve.awaitDrain++),me.pause())}function Se(j){l("onerror",j),C(),W.removeListener("error",Se),i(W,"error")===0&&A(W,j)}function we(){W.removeListener("finish",$),C()}function $(){l("onfinish"),W.removeListener("close",we),C()}function C(){l("unpipe"),me.unpipe(W)}return me.on("data",ge),(function(U,Y,ne){if(typeof U.prependListener=="function")return U.prependListener(Y,ne);U._events&&U._events[Y]?Array.isArray(U._events[Y])?U._events[Y].unshift(ne):U._events[Y]=[ne,U._events[Y]]:U.on(Y,ne)})(W,"error",Se),W.once("close",we),W.once("finish",$),W.emit("pipe",me),ve.flowing||(l("pipe resume"),me.resume()),W},P.prototype.unpipe=function(W){var V=this._readableState,me={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,me)),this;if(!W){var ve=V.pipes,Me=V.pipesCount;V.pipes=null,V.pipesCount=0,V.flowing=!1;for(var Be=0;Be<Me;Be++)ve[Be].emit("unpipe",this,{hasUnpiped:!1});return this}var Te=te(V.pipes,W);return Te===-1||(V.pipes.splice(Te,1),V.pipesCount-=1,V.pipesCount===1&&(V.pipes=V.pipes[0]),W.emit("unpipe",this,me)),this},P.prototype.on=function(W,V){var me=a.prototype.on.call(this,W,V),ve=this._readableState;return W==="data"?(ve.readableListening=this.listenerCount("readable")>0,ve.flowing!==!1&&this.resume()):W==="readable"&&(ve.endEmitted||ve.readableListening||(ve.readableListening=ve.needReadable=!0,ve.flowing=!1,ve.emittedReadable=!1,l("on readable",ve.length,ve.reading),ve.length?G(this):ve.reading||s.nextTick(ee,this))),me},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(W,V){var me=a.prototype.removeListener.call(this,W,V);return W==="readable"&&s.nextTick(X,this),me},P.prototype.removeAllListeners=function(W){var V=a.prototype.removeAllListeners.apply(this,arguments);return W!=="readable"&&W!==void 0||s.nextTick(X,this),V},P.prototype.resume=function(){var W=this._readableState;return W.flowing||(l("resume"),W.flowing=!W.readableListening,(function(me,ve){ve.resumeScheduled||(ve.resumeScheduled=!0,s.nextTick(ce,me,ve))})(this,W)),W.paused=!1,this},P.prototype.pause=function(){return l("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(l("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},P.prototype.wrap=function(W){var V=this,me=this._readableState,ve=!1;for(var Me in W.on("end",(function(){if(l("wrapped end"),me.decoder&&!me.ended){var Te=me.decoder.end();Te&&Te.length&&V.push(Te)}V.push(null)})),W.on("data",(function(Te){l("wrapped data"),me.decoder&&(Te=me.decoder.write(Te)),me.objectMode&&Te==null||(me.objectMode||Te&&Te.length)&&(V.push(Te)||(ve=!0,W.pause()))})),W)this[Me]===void 0&&typeof W[Me]=="function"&&(this[Me]=(function(ke){return function(){return W[ke].apply(W,arguments)}})(Me));for(var Be=0;Be<I.length;Be++)W.on(I[Be],this.emit.bind(this,I[Be]));return this._read=function(Te){l("wrapped _read",Te),ve&&(ve=!1,W.resume())},this},typeof Symbol=="function"&&(P.prototype[Symbol.asyncIterator]=function(){return m===void 0&&(m=r(955)),m(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(V){this._readableState&&(this._readableState.flowing=V)}}),P._fromList=ue,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),typeof Symbol=="function"&&(P.from=function(W,V){return d===void 0&&(d=r(157)),d(P,W,V)})},496:function(t){t.exports=N9},499:function(t){var e={"&":"&amp;",'"':"&quot;","'":"&apos;","<":"&lt;",">":"&gt;"};t.exports=function(n){return n&&n.replace?n.replace(/([&"<>'])/g,(function(s,i){return e[i]})):n}},600:function(t,e,r){t.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,a,o){o(null,i)}},606:function(t){var e,r,n=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}
226function a(y){if(e===setTimeout)return setTimeout(y,0);if((e===s||!e)&&setTimeout)return e=setTimeout,setTimeout(y,0);try{return e(y,0)}catch{try{return e.call(null,y,0)}catch{return e.call(this,y,0)}}}(function(){try{e=typeof setTimeout=="function"?setTimeout:s}catch{e=s}try{r=typeof clearTimeout=="function"?clearTimeout:i}catch{r=i}})();var o,u=[],l=!1,c=-1;function p(){l&&o&&(l=!1,o.length?u=o.concat(u):c=-1,u.length&&m())}function m(){if(!l){var y=a(p);l=!0;for(var v=u.length;v;){for(o=u,u=[];++c<v;)o&&o[c].run();c=-1,v=u.length}o=null,l=!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)}}})(y)}}function d(y,v){this.fun=y,this.array=v}function g(){}n.nextTick=function(y){var v=new Array(arguments.length-1);if(arguments.length>1)for(var E=1;E<arguments.length;E++)v[E-1]=arguments[E];u.push(new d(y,v)),u.length!==1||l||a(m)},d.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(y){return[]},n.binding=function(y){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(y){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},610:function(t,e,r){t.exports=c;var n=r(48).F,s=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=n.ERR_TRANSFORM_WITH_LENGTH_0,u=r(382);function l(d,g){var y=this._transformState;y.transforming=!1;var v=y.writecb;if(v===null)return this.emit("error",new i);y.writechunk=null,y.writecb=null,g!=null&&this.push(g),v(d);var E=this._readableState;E.reading=!1,(E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}function c(d){if(!(this instanceof c))return new c(d);u.call(this,d),this._transformState={afterTransform:l.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",p)}function p(){var d=this;typeof this._flush!="function"||this._readableState.destroyed?m(this,null,null):this._flush((function(g,y){m(d,g,y)}))}function m(d,g,y){if(g)return d.emit("error",g);if(y!=null&&d.push(y),d._writableState.length)throw new o;if(d._transformState.transforming)throw new a;return d.push(null)}r(698)(c,u),c.prototype.push=function(d,g){return this._transformState.needTransform=!1,u.prototype.push.call(this,d,g)},c.prototype._transform=function(d,g,y){y(new s("_transform()"))},c.prototype._write=function(d,g,y){var v=this._transformState;if(v.writecb=y,v.writechunk=d,v.writeencoding=g,!v.transforming){var E=this._readableState;(v.needTransform||E.needReadable||E.length<E.highWaterMark)&&this._read(E.highWaterMark)}},c.prototype._read=function(d){var g=this._transformState;g.writechunk===null||g.transforming?g.needTransform=!0:(g.transforming=!0,this._transform(g.writechunk,g.writeencoding,g.afterTransform))},c.prototype._destroy=function(d,g){u.prototype._destroy.call(this,d,(function(y){g(y)}))}},643:function(t,e,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"}t.exports=function(i,a){if(n("noDeprecation"))return i;var o=!1;return function(){if(!o){if(n("throwDeprecation"))throw new Error(a);n("traceDeprecation")?console.trace(a):console.warn(a),o=!0}return i.apply(this,arguments)}}},698:function(t){typeof Object.create=="function"?t.exports=function(r,n){n&&(r.super_=n,r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(r,n){if(n){r.super_=n;var s=function(){};s.prototype=n.prototype,r.prototype=new s,r.prototype.constructor=r}}},708:function(t,e,r){var n,s=r(606);function i(K){var Z=this;this.next=null,this.entry=null,this.finish=function(){(function(ee,ce,se){var ue=ee.entry;for(ee.entry=null;ue;){var ye=ue.callback;ce.pendingcb--,ye(se),ue=ue.next}ce.corkedRequestsFree.next=ee})(Z,K)}}t.exports=P,P.WritableState=k;var a={deprecate:r(643)},o=r(345),u=r(287).Buffer,l=(r.g!==void 0?r.g:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){},c,p=r(896),m=r(291).getHighWaterMark,d=r(48).F,g=d.ERR_INVALID_ARG_TYPE,y=d.ERR_METHOD_NOT_IMPLEMENT
226ED,v=d.ERR_MULTIPLE_CALLBACK,E=d.ERR_STREAM_CANNOT_PIPE,b=d.ERR_STREAM_DESTROYED,_=d.ERR_STREAM_NULL_VALUES,w=d.ERR_STREAM_WRITE_AFTER_END,S=d.ERR_UNKNOWN_ENCODING,A=p.errorOrDestroy;function I(){}function k(K,Z,X){n=n||r(382),K=K||{},typeof X!="boolean"&&(X=Z instanceof n),this.objectMode=!!K.objectMode,X&&(this.objectMode=this.objectMode||!!K.writableObjectMode),this.highWaterMark=m(this,K,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var ee=K.decodeStrings===!1;this.decodeStrings=!ee,this.defaultEncoding=K.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ce){(function(ue,ye){var he=ue._writableState,te=he.sync,W=he.writecb;if(typeof W!="function")throw new v;if((function(ve){ve.writing=!1,ve.writecb=null,ve.length-=ve.writelen,ve.writelen=0})(he),ye)(function(ve,Me,Be,Te,ke){--Me.pendingcb,Be?(s.nextTick(ke,Te),s.nextTick(re,ve,Me),ve._writableState.errorEmitted=!0,A(ve,Te)):(ke(Te),ve._writableState.errorEmitted=!0,A(ve,Te),re(ve,Me))})(ue,he,te,ye,W);else{var V=M(he)||ue.destroyed;V||he.corked||he.bufferProcessing||!he.bufferedRequest||L(ue,he),te?s.nextTick(R,ue,he,V,W):R(ue,he,V,W)}})(Z,ce)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function P(K){var Z=this instanceof(n=n||r(382));if(!Z&&!c.call(P,this))return new P(K);this._writableState=new k(K,this,Z),this.writable=!0,K&&(typeof K.write=="function"&&(this._write=K.write),typeof K.writev=="function"&&(this._writev=K.writev),typeof K.destroy=="function"&&(this._destroy=K.destroy),typeof K.final=="function"&&(this._final=K.final)),o.call(this)}function F(K,Z,X,ee,ce,se,ue){Z.writelen=ee,Z.writecb=ue,Z.writing=!0,Z.sync=!0,Z.destroyed?Z.onwrite(new b("write")):X?K._writev(ce,Z.onwrite):K._write(ce,se,Z.onwrite),Z.sync=!1}function R(K,Z,X,ee){X||(function(se,ue){ue.length===0&&ue.needDrain&&(ue.needDrain=!1,se.emit("drain"))})(K,Z),Z.pendingcb--,ee(),re(K,Z)}function L(K,Z){Z.bufferProcessing=!0;var X=Z.bufferedRequest;if(K._writev&&X&&X.next){var ee=Z.bufferedRequestCount,ce=new Array(ee),se=Z.corkedRequestsFree;se.entry=X;for(var ue=0,ye=!0;X;)ce[ue]=X,X.isBuf||(ye=!1),X=X.next,ue+=1;ce.allBuffers=ye,F(K,Z,!0,Z.length,ce,"",se.finish),Z.pendingcb++,Z.lastBufferedRequest=null,se.next?(Z.corkedRequestsFree=se.next,se.next=null):Z.corkedRequestsFree=new i(Z),Z.bufferedRequestCount=0}else{for(;X;){var he=X.chunk,te=X.encoding,W=X.callback;if(F(K,Z,!1,Z.objectMode?1:he.length,he,te,W),X=X.next,Z.bufferedRequestCount--,Z.writing)break}X===null&&(Z.lastBufferedRequest=null)}Z.bufferedRequest=X,Z.bufferProcessing=!1}function M(K){return K.ending&&K.length===0&&K.bufferedRequest===null&&!K.finished&&!K.writing}function G(K,Z){K._final((function(X){Z.pendingcb--,X&&A(K,X),Z.prefinished=!0,K.emit("prefinish"),re(K,Z)}))}function re(K,Z){var X=M(Z);if(X&&((function(se,ue){ue.prefinished||ue.finalCalled||(typeof se._final!="function"||ue.destroyed?(ue.prefinished=!0,se.emit("prefinish")):(ue.pendingcb++,ue.finalCalled=!0,s.nextTick(G,se,ue)))})(K,Z),Z.pendingcb===0&&(Z.finished=!0,K.emit("finish"),Z.autoDestroy))){var ee=K._readableState;(!ee||ee.autoDestroy&&ee.endEmitted)&&K.destroy()}return X}r(698)(P,o),k.prototype.getBuffer=function(){for(var Z=this.bufferedRequest,X=[];Z;)X.push(Z),Z=Z.next;return X},(function(){try{Object.defineProperty(k.prototype,"buffer",{get:a.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"?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(P,Symbol.hasInstance,{value:function(Z){return!!c.call(this,Z)||this===P&&Z&&Z._writableState instanceof k}})):c=function(Z){return Z instanceof this},P.prototype.pipe=function(){A(this,new E)},P.prototype.write=function(K,Z,X){var ee=this._writableState,ce=!1,se=!ee.objectMode&&(function(ye){return u.isBuffer(ye)||ye instanceof l})(K);return se&&!u.isBuffer(K)&&(K=(function(ye){return u.from(ye)})(K)),typeof Z=="function"&&(X=Z,Z=null),se?Z="buffer":Z||(Z=ee.defaultEncoding),typeof X!="function"&&(X=I),ee.ending?(function(ye,he){var te=new w;A(ye,te),s.nextTick(he,te)})(this,X):(se||(function(ye,he,te,W){var V;return te===null?V=new _:typeof te=="string"||he.objectMode||(V=new g("chunk",["string","Buffer"],te)),!V||(A(ye,V),s.nextTick(W,V),!1)})(this,ee,K,X))&&(ee.pendingcb++,ce=(function(ye,he,te,W,V,me){if(!te){var ve=(function($e,ge,Se){return $e.objectMode||$e.decodeStrings===!1||typeof ge!="string"||(ge=u.from(ge,Se)),ge})(he,W,V);W!==ve&&(te=!0,V="buffer",W=ve)}var Me=he.objectMode?1:W.length;he.length+=Me;var Be=he.length<he.highWaterMark;if(Be||(he.needDrain=!0),he.writing||he.corked){var Te=he.lastBufferedRequest;he.lastBufferedRequest={chunk:W,encoding:V,isBuf:te,callback:me,next:null},Te?Te.next=he.lastBufferedRequest:he.bufferedRequest=he.lastBufferedRequest,he.bufferedRequestCount+=1}else F(ye,he,!1,Me,W,V,me);return Be})(this,ee,se,K,Z,X)),ce},P.prototype.cork=function(){this._writableState.corked++},P.prototype.uncork=function(){var K=this._writableState;
226K.corked&&(K.corked--,K.writing||K.corked||K.bufferProcessing||!K.bufferedRequest||L(this,K))},P.prototype.setDefaultEncoding=function(Z){if(typeof Z=="string"&&(Z=Z.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Z+"").toLowerCase())>-1))throw new S(Z);return this._writableState.defaultEncoding=Z,this},Object.defineProperty(P.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(P.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),P.prototype._write=function(K,Z,X){X(new y("_write()"))},P.prototype._writev=null,P.prototype.end=function(K,Z,X){var ee=this._writableState;return typeof K=="function"?(X=K,K=null,Z=null):typeof Z=="function"&&(X=Z,Z=null),K!=null&&this.write(K,Z),ee.corked&&(ee.corked=1,this.uncork()),ee.ending||(function(se,ue,ye){ue.ending=!0,re(se,ue),ye&&(ue.finished?s.nextTick(ye):se.once("finish",ye)),ue.ended=!0,se.writable=!1})(this,ee,X),this},Object.defineProperty(P.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(Z){this._writableState&&(this._writableState.destroyed=Z)}}),P.prototype.destroy=p.destroy,P.prototype._undestroy=p.undestroy,P.prototype._destroy=function(K,Z){Z(K)}},710:function(t,e,r){var n=r(698),s=r(107),i=r(392),a=r(861).Buffer,o=new Array(64);function u(){this.init(),this._w=o,i.call(this,64,56)}n(u,s),u.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},u.prototype._hash=function(){var l=a.allocUnsafe(28);return l.writeInt32BE(this._a,0),l.writeInt32BE(this._b,4),l.writeInt32BE(this._c,8),l.writeInt32BE(this._d,12),l.writeInt32BE(this._e,16),l.writeInt32BE(this._f,20),l.writeInt32BE(this._g,24),l},t.exports=u},726:function(t,e,r){function n(m,d){var g=Object.keys(m);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(m);d&&(y=y.filter((function(v){return Object.getOwnPropertyDescriptor(m,v).enumerable}))),g.push.apply(g,y)}return g}function s(m){for(var d=1;d<arguments.length;d++){var g=arguments[d]!=null?arguments[d]:{};d%2?n(Object(g),!0).forEach((function(y){i(m,y,g[y])})):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(g)):n(Object(g)).forEach((function(y){Object.defineProperty(m,y,Object.getOwnPropertyDescriptor(g,y))}))}return m}function i(m,d,g){return(d=o(d))in m?Object.defineProperty(m,d,{value:g,enumerable:!0,configurable:!0,writable:!0}):m[d]=g,m}function a(m,d){for(var g=0;g<d.length;g++){var y=d[g];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(m,o(y.key),y)}}function o(m){var d=(function(y,v){if(typeof y!="object"||y===null)return y;var E=y[Symbol.toPrimitive];if(E!==void 0){var b=E.call(y,v);if(typeof b!="object")return b;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(y)})(m,"string");return typeof d=="symbol"?d:String(d)}var u=r(287).Buffer,l=r(340).inspect,c=l&&l.custom||"inspect";function p(m,d,g){u.prototype.copy.call(m,d,g)}t.exports=(function(){function m(){(function(g,y){if(!(g instanceof y))throw new TypeError("Cannot call a class as a function")})(this,m),this.head=null,this.tail=null,this.length=0}return(function(g,y,v){return y&&a(g.prototype,y),Object.defineProperty(g,"prototype",{writable:!1}),g})(m,[{key:"push",value:function(g){var y={data:g,next:null};this.length>0?this.tail.next=y:this.head=y,this.tail=y,++this.length}},{key:"unshift",value:function(g){var y={data:g,next:this.head};this.length===0&&(this.tail=y),this.head=y,++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 y=this.head,v=""+y.data;y=y.next;)v+=g+y.data;return v}},{key:"concat",value:function(g){if(this.length===0)return u.alloc(0);for(var y=u.allocUnsafe(g>>>0),v=this.head,E=0;v;)p(v.data,y,E),E+=v.data.length,v=v.next;return y}},{key:"consume",value:function(g,y){var v;return g<this.head.data.length?(v=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):v=g===this.head.data.length?this.shift():y?this._getString(g):this._getBuffer(g),v}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var y=this.head,v=1,E=y.data;for(g-=E.length;y=y.next;){var b=y.data,_=g>b.length?b.length:g;if(_===b.length?E+=b:E+=b.slice(0,g),(g-=_)===0){_===b.length?(++v,y.next?this.head=y.next:this.head=this.tail=null):(this.head=y,y.data=b.slice(_));break}++v}return this.length-=v,E}},{key:"_getBuffer",value:function(g){var y=u.allocUnsafe(g),v=this.head,E=1;for(v.data.copy(y),g-=v.data.length;v=v.next;){var b=v.data,_=g>b.length?b.length:g;if(b.copy(y,y.length-g,0,_),(g-=_)===0){_===b.length?(++E,v.next?this.head=v.next:this.head=this.tail=null):(this.head=v,v.data=b.slice(_));break}++E}return this.length-=E,y}},{key:c,value:function(g,y){return l(this,s(s({},y),{},{depth:0,customInspect:!1}))}}]),m})()},737:function(t,e,r){var n=r(698),s=r(392),i=r(861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function u(){this.init(),this._w=o,s.call(this,64,56)}function l(m){return m<<5|m>>>27}function c(m){return m<<30|m>>>2}function p(m,d,g,y){return m===0?d&g|~d&y:m===2?d&g|d&y|g&y:d^g^y}n(u,s),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(m){for(var d,g=this._w,y=0|this._a,v=0|this._b,E=0|this._c,b=0|this._d,_=0|this._e,w=0;w<16;++w)g[w]=m.readInt32BE(4*w);for(;w<80;++w)g[w]=(d=g[w-3]^g[w-8]^g[w-14]^g[w-16])<<1|d>>>31;for(var S=0;S<80;++S){var A=~~(S/20),I=l(y)+p(A,v,E,b)+_+g[S]+a[A]|0;_=b,b=E,E=c(v),v=y,y=I}this._a=y+this._a|0,this._b=v+this._b|0,this._c=E+this._c|0,this._d=b+this._d|0,this._e=_+this._e|0},u.prototype._hash=function(){var m=i.allocUnsafe(20);return m.writeInt32BE(0|this._a,0),m.writeInt32BE(0|this._b,4),m.writeInt32BE(0|this._c,8),m.writeInt32BE(0|this._d,12),m.writeInt32BE(0|this._e,16),m},t.exports=u},758:function(t,e,r){var n,s=r(48).F,i=s.ERR_MISSING_ARGS,a=s.ERR_STREAM_DESTROYED;function o(c){if(c)throw c}function u(c){c()}function l(c,p){return c.pipe(p)}t.exports=function(){for(var p=arguments.length,m=new Array(p),d=0;d<p;d++)m[d]=arguments[d];var g,y=(function(b){return b.length?typeof b[b.length-1]!="function"?o:b.pop():o})(m);if(Array.isArray(m[0])&&(m=m[0]),m.length<2)throw new i("streams");var v=m.map((function(E,b){var _=b<m.length-1;return(function(S,A,I,k){k=(function(L){var M=!1;return function(){M||(M=!0,L.apply(void 0,arguments))}})(k);var P=!1;S.on("close",(function(){P=!0})),n===void 0&&(n=r(238)),n(S,{readable:A,writable:I},(function(R){if(R)return k(R);P=!0,k()}));var F=!1;return function(R){if(!P&&!F)return F=!0,(function(M){return M.setHeader&&typeof M.abort=="function"})(S)?S.abort():typeof S.destroy=="function"?S.destroy():void k(R||new a("pipe"))}})(E,_,b>0,(function(w){g||(g=w),w&&v.forEach(u),_||(v.forEach(u),y(g))}))}));return m.reduce(l)}},802:function(t,e,r){t.exports=function(s){var i=s.toLowerCase(),a=t.exports[i];if(!a)throw new Error(i+" is not supported (we accept pull requests)");return new a},t.exports.sha=r(816),t.exports.sha1=r(737),t.exports.sha224=r(710),t.exports.sha256=r(107),t.exports.sha384=r(827),t.exports.sha512=r(890)},816:function(t,e,r){var n=r(698),s=r(392),i=r(861).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],o=new Array(80);function u(){this.init(),this._w=o,s.call(this,64,56)}function l(p){return p<<30|p>>>2}function c(p,m,d,g){return p===0?m&d|~m&g:p===2?m&d|m&g|d&g:m^d^g}n(u,s),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(p){for(var m,d=this._w,g=0|this._a,y=0|this._b,v=0|this._c,E=0|this._d,b=0|this._e,_=0;_<16;++_)d[_]=p.readInt32BE(4*_);for(;_<80;++_)d[_]=d[_-3]^d[_-8]^d[_-14]^d[_-16];for(var w=0;w<80;++w){var S=~~(w/20),A=0|((m=g)<<5|m>>>27)+c(S,y,v,E)+b+d[w]+a[S];
226b=E,E=v,v=l(y),y=g,g=A}this._a=g+this._a|0,this._b=y+this._b|0,this._c=v+this._c|0,this._d=E+this._d|0,this._e=b+this._e|0},u.prototype._hash=function(){var p=i.allocUnsafe(20);return p.writeInt32BE(0|this._a,0),p.writeInt32BE(0|this._b,4),p.writeInt32BE(0|this._c,8),p.writeInt32BE(0|this._d,12),p.writeInt32BE(0|this._e,16),p},t.exports=u},827:function(t,e,r){var n=r(698),s=r(890),i=r(392),a=r(861).Buffer,o=new Array(160);function u(){this.init(),this._w=o,i.call(this,128,112)}n(u,s),u.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},u.prototype._hash=function(){var l=a.allocUnsafe(48);function c(p,m,d){l.writeInt32BE(p,d),l.writeInt32BE(m,d+4)}return c(this._ah,this._al,0),c(this._bh,this._bl,8),c(this._ch,this._cl,16),c(this._dh,this._dl,24),c(this._eh,this._el,32),c(this._fh,this._fl,40),l},t.exports=u},838:function(){},861:function(t,e,r){var n=r(287),s=n.Buffer;function i(o,u){for(var l in o)u[l]=o[l]}function a(o,u,l){return s(o,u,l)}s.from&&s.alloc&&s.allocUnsafe&&s.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=a),a.prototype=Object.create(s.prototype),i(s,a),a.from=function(o,u,l){if(typeof o=="number")throw new TypeError("Argument must not be a number");return s(o,u,l)},a.alloc=function(o,u,l){if(typeof o!="number")throw new TypeError("Argument must be a number");var c=s(o);return u!==void 0?typeof l=="string"?c.fill(u,l):c.fill(u):c.fill(0),c},a.allocUnsafe=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return s(o)},a.allocUnsafeSlow=function(o){if(typeof o!="number")throw new TypeError("Argument must be a number");return n.SlowBuffer(o)}},890:function(t,e,r){var n=r(698),s=r(392),i=r(861).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,
vendor: 4,965 bytes, line 226
2261126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],o=new Array(160);function u(){this.init(),this._w=o,s.call(this,128,112)}function l(b,_,w){return w^b&(_^w)}function c(b,_,w){return b&_|w&(b|_)}function p(b,_){return(b>>>28|_<<4)^(_>>>2|b<<30)^(_>>>7|b<<25)}function m(b,_){return(b>>>14|_<<18)^(b>>>18|_<<14)^(_>>>9|b<<23)}function d(b,_){return(b>>>1|_<<31)^(b>>>8|_<<24)^b>>>7}function g(b,_){return(b>>>1|_<<31)^(b>>>8|_<<24)^(b>>>7|_<<25)}function y(b,_){return(b>>>19|_<<13)^(_>>>29|b<<3)^b>>>6}function v(b,_){return(b>>>19|_<<13)^(_>>>29|b<<3)^(b>>>6|_<<26)}function E(b,_){return b>>>0<_>>>0?1:0}n(u,s),u.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},u.prototype._update=function(b){for(var _=this._w,w=0|this._ah,S=0|this._bh,A=0|this._ch,I=0|this._dh,k=0|this._eh,P=0|this._fh,F=0|this._gh,R=0|this._hh,L=0|this._al,M=0|this._bl,G=0|this._cl,re=0|this._dl,K=0|this._el,Z=0|this._fl,X=0|this._gl,ee=0|this._hl,ce=0;ce<32;ce+=2)_[ce]=b.readInt32BE(4*ce),_[ce+1]=b.readInt32BE(4*ce+4);for(;ce<160;ce+=2){var se=_[ce-30],ue=_[ce-30+1],ye=d(se,ue),he=g(ue,se),te=y(se=_[ce-4],ue=_[ce-4+1]),W=v(ue,se),V=_[ce-14],me=_[ce-14+1],ve=_[ce-32],Me=_[ce-32+1],Be=he+me|0,Te=ye+V+E(Be,he)|0;Te=(Te=Te+te+E(Be=Be+W|0,W)|0)+ve+E(Be=Be+Me|0,Me)|0,_[ce]=Te,_[ce+1]=Be}for(var ke=0;ke<160;ke+=2){Te=_[ke],Be=_[ke+1];var $e=c(w,S,A),ge=c(L,M,G),Se=p(w,L),we=p(L,w),$=m(k,K),C=m(K,k),j=a[ke],U=a[ke+1],Y=l(k,P,F),ne=l(K,Z,X),fe=ee+C|0,Ne=R+$+E(fe,ee)|0;Ne=(Ne=(Ne=Ne+Y+E(fe=fe+ne|0,ne)|0)+j+E(fe=fe+U|0,U)|0)+Te+E(fe=fe+Be|0,Be)|0;var Ge=we+ge|0,q=Se+$e+E(Ge,we)|0;R=F,ee=X,F=P,X=Z,P=k,Z=K,k=I+Ne+E(K=re+fe|0,re)|0,I=A,re=G,A=S,G=M,S=w,M=L,w=Ne+q+E(L=fe+Ge|0,fe)|0}this._al=this._al+L|0,this._bl=this._bl+M|0,this._cl=this._cl+G|0,this._dl=this._dl+re|0,this._el=this._el+K|0,this._fl=this._fl+Z|0,this._gl=this._gl+X|0,this._hl=this._hl+ee|0,this._ah=this._ah+w+E(this._al,L)|0,this._bh=this._bh+S+E(this._bl,M)|0,this._ch=this._ch+A+E(this._cl,G)|0,this._dh=this._dh+I+E(this._dl,re)|0,this._eh=this._eh+k+E(this._el,K)|0,this._fh=this._fh+P+E(this._fl,Z)|0,this._gh=this._gh+F+E(this._gl,X)|0,this._hh=this._hh+R+E(this._hl,ee)|0},u.prototype._hash=function(){var b=i.allocUnsafe(64);function _(w,S,A){b.writeInt32BE(w,A),b.writeInt32BE(S,A+4)}return _(this._ah,this._al,0),_(this._bh,this._bl,8),_(this._ch,this._cl,16),_(this._dh,this._dl,24),_(this._eh,this._el,32),_(this._fh,this._fl,40),_(this._gh,this._gl,48),_(this._hh,this._hl,56),b},t.exports=u},896:function(t,e,r){var n=r(606);function s(o,u){a(o,u),i(o)}function i(o){o._writableState&&!o._writableState.emitClose||o._readableState&&!o._readableState.emitClose||o.emit("close")}function a(o,u){o.emit("error",u)}t.exports={destroy:function(u,l){var c=this,p=this._readableState&&this._readableState.destroyed,m=this._writableState&&this._writableState.destroyed;return p||m?(l?l(u):u&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(a,this,u)):n.nextTick(a,this,u)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(u||null,(function(d){!l&&d?c._writableState?c._writableState.errorEmitted?n.nextTick(i,c):(c._writableState.errorEmitted=!0,n.nextTick(s,c,d)):n.nextTick(s,c,d):l?(n.nextTick(i,c),l(d)):n.nextTick(i,c)})),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(u,l){var c=u._readableState,p=u._writableState;c&&c.autoDestroy||p&&p.autoDestroy?u.destroy(l):u.emit("error",l)}}},919:function(t,e,r){var n=r(287).Buffer;function s(l){return l instanceof n||l instanceof Date||l instanceof RegExp}function i(l){if(l instanceof n){var c=n.alloc?n.alloc(l.length):new n(l.length);return l.copy(c),c}if(l instanceof Date)return new Date(l.getTime());if(l instanceof RegExp)return new RegExp(l);throw new Error("Unexpected situation")}function a(l){var c=[];return l.forEach((function(p,m){typeof p=="object"&&p!==null?Array.isArray(p)?c[m]=a(p):s(p)?c[m]=i(p):c[m]=u({},p):c[m]=p})),c}function o(l,c){return c==="__proto__"?void 0:l[c]}var u=t.exports=function(){if(arguments.length<1||typeof arguments[0]!="object")return!1;if(arguments.length<2)return arguments[0];var l,c,p=arguments[0];
226return Array.prototype.slice.call(arguments,1).forEach((function(m){typeof m!="object"||m===null||Array.isArray(m)||Object.keys(m).forEach((function(d){return c=o(p,d),(l=o(m,d))===p?void 0:typeof l!="object"||l===null?void(p[d]=l):Array.isArray(l)?void(p[d]=a(l)):s(l)?void(p[d]=i(l)):typeof c!="object"||c===null||Array.isArray(c)?void(p[d]=u({},l)):void(p[d]=u(c,l))}))})),p}},955:function(t,e,r){var n,s=r(606);function i(_,w,S){return(w=(function(I){var k=(function(F,R){if(typeof F!="object"||F===null)return F;var L=F[Symbol.toPrimitive];if(L!==void 0){var M=L.call(F,R);if(typeof M!="object")return M;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(F)})(I,"string");return typeof k=="symbol"?k:String(k)})(w))in _?Object.defineProperty(_,w,{value:S,enumerable:!0,configurable:!0,writable:!0}):_[w]=S,_}var a=r(238),o=Symbol("lastResolve"),u=Symbol("lastReject"),l=Symbol("error"),c=Symbol("ended"),p=Symbol("lastPromise"),m=Symbol("handlePromise"),d=Symbol("stream");function g(_,w){return{value:_,done:w}}function y(_){var w=_[o];if(w!==null){var S=_[d].read();S!==null&&(_[p]=null,_[o]=null,_[u]=null,w(g(S,!1)))}}function v(_){s.nextTick(y,_)}var E=Object.getPrototypeOf((function(){})),b=Object.setPrototypeOf((i(n={get stream(){return this[d]},next:function(){var w=this,S=this[l];if(S!==null)return Promise.reject(S);if(this[c])return Promise.resolve(g(void 0,!0));if(this[d].destroyed)return new Promise((function(P,F){s.nextTick((function(){w[l]?F(w[l]):P(g(void 0,!0))}))}));var A,I=this[p];if(I)A=new Promise((function(F,R){return function(L,M){F.then((function(){R[c]?L(g(void 0,!0)):R[m](L,M)}),M)}})(I,this));else{var k=this[d].read();if(k!==null)return Promise.resolve(g(k,!1));A=new Promise(this[m])}return this[p]=A,A}},Symbol.asyncIterator,(function(){return this})),i(n,"return",(function(){var w=this;return new Promise((function(S,A){w[d].destroy(null,(function(I){I?A(I):S(g(void 0,!0))}))}))})),n),E);t.exports=function(w){var S,A=Object.create(b,(i(S={},d,{value:w,writable:!0}),i(S,o,{value:null,writable:!0}),i(S,u,{value:null,writable:!0}),i(S,l,{value:null,writable:!0}),i(S,c,{value:w._readableState.endEmitted,writable:!0}),i(S,m,{value:function(k,P){var F=A[d].read();F?(A[p]=null,A[o]=null,A[u]=null,k(g(F,!1))):(A[o]=k,A[u]=P)},writable:!0}),S));return A[p]=null,a(w,(function(I){if(I&&I.code!=="ERR_STREAM_PREMATURE_CLOSE"){var k=A[u];return k!==null&&(A[p]=null,A[o]=null,A[u]=null,k(I)),void(A[l]=I)}var P=A[o];P!==null&&(A[p]=null,A[o]=null,A[u]=null,P(g(void 0,!0))),A[c]=!0})),w.on("readable",v.bind(null,A)),A}},987:function(t){t.exports=D9}},kD={};function be(t){var e=kD[t];if(e!==void 0)return e.exports;var r=kD[t]={exports:{}};return vfe[t](r,r.exports,be),r.exports}be.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return be.d(e,{a:e}),e},be.d=function(t,e){for(var r in e)be.o(e,r)&&!be.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},be.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})(),be.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},be.r=function(t){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var E6={};be.d(E6,{A:function(){return fEe}});var S1={};be.r(S1),be.d(S1,{CLEAR:function(){return Jx},CLEAR_BY:function(){return Hx},NEW_AUTH_ERR:function(){return Wx},NEW_SPEC_ERR:function(){return Vx},NEW_SPEC_ERR_BATCH:function(){return zx},NEW_THROWN_ERR:function(){return kp},NEW_THROWN_ERR_BATCH:function(){return Ux},clear:function(){return Cfe},clearBy:function(){return Rfe},newAuthErr:function(){return Ofe},newSpecErr:function(){return xfe},newSpecErrBatch:function(){return Afe},newThrownErr:function(){return _fe},newThrownErrBatch:function(){return wfe}});var _1={};be.r(_1),be.d(_1,{AUTHORIZE:function(){return Yx},AUTHORIZE_OAUTH2:function(){return Zx},CONFIGURE_AUTH:function(){return Qx},LOGOUT:function(){return Xx},RESTORE_AUTHORIZATION:function(){return eA},SHOW_AUTH_POPUP:function(){return Gx},authPopup:function(){return tpe},authorize:function(){return Lfe},authorizeAccessCodeWithBasicAuthentication:function(){return Yfe},authorizeAccessCodeWithFormParams:function(){return Gfe},authorizeApplication:function(){return Kfe},authorizeOauth2:function(){return Wfe},authorizeOauth2WithPersistOption:function(){return Jfe},authorizePassword:function(){return Hfe},authorizeRequest:function(){return Xfe},authorizeWithPersistOption:function(){return $fe},configureAuth:function(){return Zfe},logout:function(){return Ufe},logoutWithPersistOption:function(){return Vfe},persistAuthorizationIfNeeded:function(){return epe},preAuthorizeImplicit:function(){return zfe},restoreAuthorization:function(){return Qfe},showDefinitions:function(){return Bfe}});var w1={};be.r(w1),be.d(w1,{authorized:function(){return upe},definitionsForRequirements:function(){return ope},definitionsToAuthorize:function(){return spe},getConfigs:function(){return cpe},getDefinitionsByNames:function(){return ape},isAuthorized:function(){return lpe},selectAuthPath:function(){return ipe},shownDefinitions:function(){return npe}});var x1={};be.r(x1),be.d(x1,{TOGGLE_CONFIGS:function(){return nA},UPDATE_CONFIGS:function(){return rA},downloadConfig:function(){return _pe},getConfigByUrl:function(){return wpe},loaded:function(){return Spe},toggle:function(){return Epe},update:function(){return bpe}});var A1={};be.r(A1),be.d(A1,{get:function(){return xpe}});var O1={};be.r(O1),be.d(O1,{transform:function(){return kpe}});var C1={};be.r(C1),be.d(C1,{transform:function(){return Ppe}});var R1={};be.r(R1),be.d(R1,{allErrors:function(){return P6},lastError:function(){return Npe}});var I1={};be.r(I1),be.d(I1,{SHOW:function(){return oA},UPDATE_FILTER:function(){return iA},UPDATE_LAYOUT:function(){return sA},UPDATE_MODE:function(){return aA},changeMode:function(){return Jpe},show:function(){return Wpe},updateFilter:function(){return zpe},updateLayout:function(){return Vpe}});var T1={};be.r(T1),be.d(T1,{current:function(){return Kpe},currentFilter:function(){return Gpe},isShown:function(){return D6},showSummary:function(){return Xpe},whatMode:function(){return Ype}});var k1={};be.r(k1),be.d(k1,{taggedOperations:function(){return Zpe}});var P1={};be.r(P1),be.d(P1,{getActiveLanguage:function(){return ide},getDefaultExpanded:function(){return ade},getGenerators:function(){return $6},getSnippetGenerators:function(){return sde}});var j1={};be.r(j1),be.d(j1,{JsonSchemaArrayItemFile:function(){return J6},JsonSchemaArrayItemText:function(){return W6},JsonSchemaForm:function(){return wde},JsonSchema_array:function(){return Ade},JsonSchema_boolean:function(){return Ode},JsonSchema_object:function(){return Rde},JsonSchema_string:function(){return xde}});var N1={};be.r(N1),be.d(N1,{allowTryItOutFor:function(){return dhe},basePath:function(){return ahe},canExecuteScheme:function(){return She},consumes:function(){return o8},consumesOptionsFor:function(){return Ehe},contentTypeValues:function(){return vhe},currentProducesFor:function(){return v8},definitions:function(){return ihe},externalDocs:function(){return Qde},findDefinition:function(){return she},getOAS3RequiredRequestBodyContentType:function(){return whe},getParameter:function(){return mhe},hasHost:function(){return ghe},host:function(){return ohe},info:function(){return n8},isMediaTypeSchemaPropertiesEqual:function(){return xhe},isOAS3:function(){return Zde},lastError:function(){return Wde},mutatedRequestFor:function(){return phe},mutatedRequests:function(){return h8},operationScheme:function(){return b8},operationWithMeta:function(){return g8},operations:function(){return a8},operationsWithRootInherited:function(){return l8},operationsWithTags:function(){return f8},parameterInclusionSettingFor:function(){return m8},parameterValues:function(){return y8},parameterWithMeta:function(){return hhe},parameterWithMetaByIdentity:function(){return dA},parametersIncludeIn:function(){return yhe},parametersIncludeType:function(){return Z1},paths:function(){return i8},produces:function(){return u8},producesOptionsFor:function(){return bhe},requestFor:function(){return fhe},requests:function(){return d8},responseFor:function(){return che},responses:function(){return p8},schemes:function(){return uhe},security:function(){return rhe},securityDefinitions:function(){return nhe},semver:function(){return ehe},spec:function(){return ln},specJS:function(){return Gde},specJson:function(){return fA},specJsonWithResolvedSubtrees:function(){return cs},specResolved:function(){return Yde},specResolvedSubtree:function(){return Xde},specSource:function(){return Kde},specStr:function(){return Hde},tagDetails:function(){return c8},taggedOperations:function(){return lhe},tags:function(){return pA},url:function(){return Jde},validOperationMethods:function(){return the},validateBeforeExecute:function(){return _he},validationErrors:function(){return E8},version:function(){return s8}});var M1={};be.r(M1),be.d(M1,{CLEAR_REQUEST:function(){return wA},CLEAR_RESPONSE:function(){return _A},CLEAR_VALIDATE_PARAMS:function(){return xA},LOG_REQUEST:function(){return w8},SET_MUTATED_REQUEST:function(){return SA},SET_REQUEST:function(){return EA},SET_RESPONSE:function(){return bA},SET_SCHEME:function(){return OA},UPDATE_EMPTY_PARAM_INCLUSION:function(){return yA},UPDATE_JSON:function(){return gA},UPDATE_OPERATION_META_VALUE:function(){return Fp},UPDATE_PARAM:function(){return Dp},UPDATE_RESOLVED:function(){return AA},UPDATE_RESOLVED_SUBTREE:function(){return qp},UPDATE_SPEC:function(){return hA},UPDATE_URL:function(){return mA}
226,VALIDATE_PARAMS:function(){return vA},changeConsumesValue:function(){return zhe},changeParam:function(){return Fhe},changeParamByIdentity:function(){return qhe},changeProducesValue:function(){return Whe},clearRequest:function(){return Qhe},clearResponse:function(){return Zhe},clearValidateParams:function(){return Vhe},execute:function(){return Xhe},executeRequest:function(){return Yhe},invalidateResolvedSubtreeCache:function(){return Lhe},logRequest:function(){return Ghe},parseToJson:function(){return jhe},requestResolvedSubtree:function(){return Dhe},resolveSpec:function(){return Nhe},setMutatedRequest:function(){return Khe},setRequest:function(){return Hhe},setResponse:function(){return Jhe},setScheme:function(){return eme},updateEmptyParamInclusion:function(){return Uhe},updateJsonSpec:function(){return Phe},updateResolved:function(){return The},updateResolvedSubtree:function(){return Bhe},updateSpec:function(){return Ihe},updateUrl:function(){return khe},validateParams:function(){return $he}});var D1={};be.r(D1),be.d(D1,{executeRequest:function(){return sme},updateJsonSpec:function(){return nme},updateSpec:function(){return rme},validateParams:function(){return ime}});var F1={};be.r(F1),be.d(F1,{Button:function(){return Fge},Col:function(){return Mge},Collapse:function(){return $ge},Container:function(){return Nge},Input:function(){return Bge},Link:function(){return U8},Row:function(){return Dge},Select:function(){return Lge},TextArea:function(){return qge}});var q1={};be.r(q1),be.d(q1,{basePath:function(){return xye},consumes:function(){return Aye},definitions:function(){return bye},findDefinition:function(){return vye},hasHost:function(){return Eye},host:function(){return wye},produces:function(){return Oye},schemes:function(){return Cye},securityDefinitions:function(){return Sye},validOperationMethods:function(){return _ye}});var B1={};be.r(B1),be.d(B1,{definitionsToAuthorize:function(){return Rye}});var L1={};be.r(L1),be.d(L1,{callbacksOperations:function(){return Mye},findSchema:function(){return Nye},isOAS3:function(){return Pye},isOAS30:function(){return kye},isSwagger2:function(){return Tye},servers:function(){return jye}});var $1={};be.r($1),be.d($1,{CLEAR_REQUEST_BODY_VALIDATE_ERROR:function(){return Lp},CLEAR_REQUEST_BODY_VALUE:function(){return BA},SET_REQUEST_BODY_VALIDATE_ERROR:function(){return qA},UPDATE_ACTIVE_EXAMPLES_MEMBER:function(){return NA},UPDATE_REQUEST_BODY_INCLUSION:function(){return jA},UPDATE_REQUEST_BODY_VALUE:function(){return kA},UPDATE_REQUEST_BODY_VALUE_RETAIN_FLAG:function(){return PA},UPDATE_REQUEST_CONTENT_TYPE:function(){return MA},UPDATE_RESPONSE_CONTENT_TYPE:function(){return DA},UPDATE_SELECTED_SERVER:function(){return TA},UPDATE_SERVER_VARIABLE_VALUE:function(){return FA},clearRequestBodyValidateError:function(){return lve},clearRequestBodyValue:function(){return fve},initRequestBodyValidateError:function(){return cve},setActiveExamplesMember:function(){return sve},setRequestBodyInclusion:function(){return nve},setRequestBodyValidateError:function(){return uve},setRequestBodyValue:function(){return tve},setRequestContentType:function(){return ive},setResponseContentType:function(){return ave},setRetainRequestBodyValueFlag:function(){return rve},setSelectedServer:function(){return eve},setServerVariableValue:function(){return ove}});var U1={};be.r(U1),be.d(U1,{activeExamplesMember:function(){return Eve},hasUserEditedBody:function(){return yve},requestBodyErrors:function(){return bve},requestBodyInclusionSetting:function(){return vve},requestBodyValue:function(){return hve},requestContentType:function(){return Sve},responseContentType:function(){return _ve},selectDefaultRequestBodyValue:function(){return gve},selectedServer:function(){return dve},serverEffectiveValue:function(){return Ave},serverVariableValue:function(){return wve},serverVariables:function(){return xve},shouldRetainRequestBodyValue:function(){return mve},validOperationMethods:function(){return Rve},validateBeforeExecute:function(){return Ove},validateShallowRequired:function(){return Cve}});var f=(function(t){var e={};return be.d(e,t),e})({Component:function(){return dr.Component},PureComponent:function(){return dr.PureComponent},createContext:function(){return dr.createContext},createElement:function(){return dr.createElement},default:function(){return Xn},forwardRef:function(){return dr.forwardRef},useCallback:function(){return dr.useCallback},useContext:function(){return dr.useContext},useEffect:function(){return dr.useEffect},useMemo:function(){return dr.useMemo}
226,useRef:function(){return dr.useRef},useState:function(){return dr.useState}}),Uo=(function(t){var e={};return be.d(e,t),e})({applyMiddleware:function(){return kU},bindActionCreators:function(){return TU},compose:function(){return IU},createStore:function(){return RU}}),z=(function(t){var e={};return be.d(e,t),e})({List:function(){return Us.List},Map:function(){return Us.Map},OrderedMap:function(){return Us.OrderedMap},Seq:function(){return Us.Seq},Set:function(){return Us.Set},default:function(){return q9},fromJS:function(){return Us.fromJS}}),bfe=be(919),fu=be.n(bfe),Efe=(function(t){var e={};return be.d(e,t),e})({combineReducers:function(){return z9.combineReducers}}),S6=(function(t){var e={};return be.d(e,t),e})({serializeError:function(){return J9.serializeError}}),Sfe=(function(t){var e={};return be.d(e,t),e})({default:function(){return M5}});const kp="err_new_thrown_err",Ux="err_new_thrown_err_batch",Vx="err_new_spec_err",zx="err_new_spec_err_batch",Wx="err_new_auth_err",Jx="err_clear",Hx="err_clear_by";function _fe(t){return{type:kp,payload:(0,S6.serializeError)(t)}}function wfe(t){return{type:Ux,payload:t}}function xfe(t){return{type:Vx,payload:t}}function Afe(t){return{type:zx,payload:t}}function Ofe(t){return{type:Wx,payload:t}}function Cfe(t={}){return{type:Jx,payload:t}}function Rfe(t=()=>!0){return{type:Hx,payload:t}}var Gt=(function(){var e={location:{},history:{},open:()=>{},close:()=>{},File:function(){},FormData:function(){}};if(typeof window>"u")return e;try{e=window;for(var r of["File","Blob","FormData"])r in window&&(e[r]=window[r])}catch(n){console.error(n)}return e})(),Vo=((function(t){var e={};be.d(e,t)})({}),(function(t){var e={};be.d(e,t)})({}),(function(t){var e={};return be.d(e,t),e})({default:function(){return Q5}})),Ife=(function(t){var e={};return be.d(e,t),e})({default:function(){return I7}}),_6=(function(t){var e={};return be.d(e,t),e})({default:function(){return M7}}),Tfe=(function(t){var e={};return be.d(e,t),e})({default:function(){return F7}}),PD=(function(t){var e={};return be.d(e,t),e})({default:function(){return B7}}),kfe=(function(t){var e={};return be.d(e,t),e})({default:function(){return V7}}),Pfe=be(209),qa=be.n(Pfe),jfe=be(802),Nfe=be.n(jfe);const Mfe=z.default.Set.of("type","format","items","default","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","maxItems","minItems","uniqueItems","enum","multipleOf");function Ic(t,{isOAS3:e}={}){if(!z.default.Map.isMap(t))return{schema:z.default.Map(),parameterContentMediaType:null};if(!e)return t.get("in")==="body"?{schema:t.get("schema",z.default.Map()),parameterContentMediaType:null}:{schema:t.filter(((r,n)=>Mfe.includes(n))),parameterContentMediaType:null};if(t.get("content")){const r=t.get("content",z.default.Map({})).keySeq().first();return{schema:t.getIn(["content",r,"schema"],z.default.Map()),parameterContentMediaType:r}}return{schema:t.get("schema")?t.get("schema",z.default.Map()):z.default.Map(),parameterContentMediaType:null}}var jD=be(287).Buffer;const ND="default",Cl=t=>z.default.Iterable.isIterable(t),Za=t=>Cl(t)?t.toJS():t;function Wi(t){return Ss(t)?Za(t):{}}function Es(t){if(Cl(t)||t instanceof Gt.File||!Ss(t))return t;if(Array.isArray(t))return z.default.Seq(t).map(Es).toList();if((0,PD.default)(t.entries)){const e=(function(n){if(!(0,PD.default)(n.entries))return n;const s={},i="_**[]",a={};for(let o of n.entries())s[o[0]]||a[o[0]]&&a[o[0]].containsMultiple?(a[o[0]]||(a[o[0]]={containsMultiple:!0,length:1},s[`${o[0]}${i}${a[o[0]].length}`]=s[o[0]],delete s[o[0]]),a[o[0]].length+=1,s[`${o[0]}${i}${a[o[0]].length}`]=o[1]):s[o[0]]=o[1];return s})(t);return z.default.OrderedMap(e).map(Es)}return z.default.OrderedMap(t).map(Es)}function ga(t){return Array.isArray(t)?t:[t]}function wS(t){return typeof t=="function"}function Ss(t){return!!t&&typeof t=="object"}function Ks(t){return typeof t=="function"}function ef(t){return Array.isArray(t)}const Dfe=Vo.default;function Jn(t,e){return Object.keys(t).reduce(((r,n)=>(r[n]=e(t[n],n),r)),{})}function MD(t,e){return Object.keys(t).reduce(((r,n)=>{let s=e(t[n],n);return s&&typeof s=="object"&&Object.assign(r,s),r}),{})}function Ffe(t){return({dispatch:e,getState:r})=>n=>s=>typeof s=="function"?s(t()):n(s)}function V1(t,e,r,n,s){if(!e)return[];let i=[],a=e.get("nullable"),o=e.get("required"),u=e.get("maximum"),l=e.get("minimum"),c=e.get("type"),p=e.get("format"),m=e.get("maxLength"),d=e.get("minLength"),g=e.get("uniqueItems"),y=e.get("maxItems"),v=e.get("minItems"),E=e.get("pattern");const b=r||o===!0,_=t!=null,w=b||_&&c==="array"||!(!b&&!_),S=a&&t===null;if(b&&!_&&!S&&!n&&!c)return i.push("Required field is not provided"),i;if(S||!c||!w)return[];let A=c==="string"&&t,I=c==="array"&&Array.isArray(t)&&t.length,k=c==="array"&&z.default.List.isList(t)&&t.count();const P=[A,I,k,c==="array"&&typeof t=="string"&&t,c==="file"&&t instanceof Gt.File,c==="boolean"&&(t||t===!1),c==="number"&&(t||t===0),c==="integer"&&(t||t===0),c==="object"&&typeof t=="object"&&t!==null,c==="object"&&typeof t=="string"&&t].some((F=>!!F));if(b&&!P&&!n)return i.push("Required field is not provided"),i;if(c==="object"&&(s===null||s==="application/json")){let F=t;if(typeof t=="string")try{F=JSON.parse(t)}catch{return i.push("Parameter string value must be valid JSON"),i}e&&e.has("required")&&Ks(o.isList)&&o.isList()&&o.forEach((R=>{F[R]===void 0&&i.push({propKey:R,error:"Required property not found"})})),e&&e.has("properties")&&e.get("properties").forEach(((R,L)=>{const M=V1(F[L],R,!1,n,s);i.push(...M.map((G=>({propKey:L,error:G}))))}))}if(E){let F=((R,L)=>{if(!new RegExp(L).test(R))return"Value must follow pattern "+L})(t,E);F&&i.push(F)}if(v&&c==="array"){let F=((R,L)=>{if(!R&&L>=1||R&&R.length<L)return`Array must contain at least ${L} item${L===1?"":"s"}`})(t,v);F&&i.push(F)}if(y&&c==="array"){let F=((R,L)=>{if(R&&R.length>L)return`Array must not contain more then ${L} item${L===1?"":"s"}`})(t,y);F&&i.push({needRemove:!0,error:F})}if(g&&c==="array"){let F=((R,L)=>{if(R&&(L==="true"||L===!0)){const M=(0,z.fromJS)(R),G=M.toSet();if(R.length>G.size){let re=(0,z.Set)();
226if(M.forEach(((K,Z)=>{M.filter((X=>Ks(X.equals)?X.equals(K):X===K)).size>1&&(re=re.add(Z))})),re.size!==0)return re.map((K=>({index:K,error:"No duplicates allowed."}))).toArray()}}})(t,g);F&&i.push(...F)}if(m||m===0){let F=((R,L)=>{if(R.length>L)return`Value must be no longer than ${L} character${L!==1?"s":""}`})(t,m);F&&i.push(F)}if(d){let F=((R,L)=>{if(R.length<L)return`Value must be at least ${L} character${L!==1?"s":""}`})(t,d);F&&i.push(F)}if(u||u===0){let F=((R,L)=>{if(R>L)return`Value must be less than or equal to ${L}`})(t,u);F&&i.push(F)}if(l||l===0){let F=((R,L)=>{if(R<L)return`Value must be greater than or equal to ${L}`})(t,l);F&&i.push(F)}if(c==="string"){let F;if(F=p==="date-time"?(R=>{if(isNaN(Date.parse(R)))return"Value must be a DateTime"})(t):p==="uuid"?(R=>{if(R=R.toString().toLowerCase(),!/^[{(]?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}[)}]?$/.test(R))return"Value must be a Guid"})(t):(R=>{if(R&&typeof R!="string")return"Value must be a string"})(t),!F)return i;i.push(F)}else if(c==="boolean"){let F=(R=>{if(R!=="true"&&R!=="false"&&R!==!0&&R!==!1)return"Value must be a boolean"})(t);if(!F)return i;i.push(F)}else if(c==="number"){let F=(R=>{if(!/^-?\d+(\.?\d+)?$/.test(R))return"Value must be a number"})(t);if(!F)return i;i.push(F)}else if(c==="integer"){let F=(R=>{if(!/^-?\d+$/.test(R))return"Value must be an integer"})(t);if(!F)return i;i.push(F)}else if(c==="array"){if(!I&&!k)return i;t&&t.forEach(((F,R)=>{const L=V1(F,e.get("items"),!1,n,s);i.push(...L.map((M=>({index:R,error:M}))))}))}else if(c==="file"){let F=(R=>{if(R&&!(R instanceof Gt.File))return"Value must be a file"})(t);if(!F)return i;i.push(F)}return i}const Rl=t=>{let e;return e=t instanceof jD?t:jD.from(t.toString(),"utf-8"),e.toString("base64")},DD={operationsSorter:{alpha:(t,e)=>t.get("path").localeCompare(e.get("path")),method:(t,e)=>t.get("method").localeCompare(e.get("method"))},tagsSorter:{alpha:(t,e)=>t.localeCompare(e)}},Pp=t=>{let e=[];for(let r in t){let n=t[r];n!==void 0&&n!==""&&e.push([r,"=",encodeURIComponent(n).replace(/%20/g,"+")].join(""))}return e.join("&")},qfe=(t,e,r)=>!!(0,Ife.default)(r,(n=>(0,Tfe.default)(t[n],e[n])));function FD(t){return!(!t||t.indexOf("localhost")>=0||t.indexOf("127.0.0.1")>=0||t==="none")}const pu=t=>typeof t=="string"||t instanceof String?t.trim().replace(/\s/g,"%20"):"",w6=t=>(0,kfe.default)(pu(t).replace(/%20/g,"_")),z1=t=>/^x-/.test(t),Di=t=>z.Map.isMap(t)?t.filter(((e,r)=>z1(r))):Object.keys(t).filter((e=>z1(e))),x6=t=>t.filter(((e,r)=>/^pattern|maxLength|minLength|maximum|minimum/.test(r)));function A6(t,e,r=()=>!0){if(typeof t!="object"||Array.isArray(t)||t===null||!e)return t;const n=Object.assign({},t);return Object.keys(n).forEach((s=>{s===e&&r(n[s],s)?delete n[s]:n[s]=A6(n[s],e,r)})),n}function Cr(t){if(typeof t=="string")return t;if(t&&t.toJS&&(t=t.toJS()),typeof t=="object"&&t!==null)try{return JSON.stringify(t,null,2)}catch{return String(t)}return t==null?"":t.toString()}function tf(t,{returnAll:e=!1,allowHashes:r=!0}={}){if(!z.default.Map.isMap(t))throw new Error("paramToIdentifier: received a non-Im.Map parameter as input");const n=t.get("name"),s=t.get("in");let i=[];return t&&t.hashCode&&s&&n&&r&&i.push(`${s}.${n}.hash-${t.hashCode()}`),s&&n&&i.push(`${s}.${n}`),i.push(n),e?i:i[0]||""}function O6(t,e){return tf(t,{returnAll:!0}).map((r=>e[r])).filter((r=>r!==void 0))[0]}function qD(t){return t.replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}const Kx=t=>!t||!(!Cl(t)||!t.isEmpty()),BD=t=>t;class C6{constructor(e={}){fu()(this,{state:{},plugins:[],system:{configs:{},fn:{},components:{},rootInjects:{},statePlugins:{}},boundSystem:{},toolbox:{}},e),this.getSystem=this._getSystem.bind(this),this.store=(function(n,s,i){return(function(o,u,l){let c=[Ffe(l)];const p=Gt.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||Uo.compose;return(0,Uo.createStore)(o,u,p((0,Uo.applyMiddleware)(...c)))})(n,s,i)})(BD,(0,z.fromJS)(this.state),this.getSystem),this.buildSystem(!1),this.register(this.plugins)}getStore(){return this.store}register(e,r=!0){var n=W1(e,this.getSystem());
226R6(this.system,n),r&&this.buildSystem(),J1.call(this.system,e,this.getSystem())&&this.buildSystem()}buildSystem(e=!0){let r=this.getStore().dispatch,n=this.getStore().getState;this.boundSystem=Object.assign({},this.getRootInjects(),this.getWrappedAndBoundActions(r),this.getWrappedAndBoundSelectors(n,this.getSystem),this.getStateThunks(n),this.getFn(),this.getConfigs()),e&&this.rebuildReducer()}_getSystem(){return this.boundSystem}getRootInjects(){return Object.assign({getSystem:this.getSystem,getStore:this.getStore.bind(this),getComponents:this.getComponents.bind(this),getState:this.getStore().getState,getConfigs:this._getConfigs.bind(this),Im:z.default,React:f.default},this.system.rootInjects||{})}_getConfigs(){return this.system.configs}getConfigs(){return{configs:this.system.configs}}setConfigs(e){this.system.configs=e}rebuildReducer(){this.store.replaceReducer((function(r,n){return(function(i,a){let o=Object.keys(i).reduce(((u,l)=>(u[l]=(function(p,m){return(d=new z.Map,g)=>{if(!p)return d;let y=p[g.type];if(y){const v=zo(y,m)(d,g);return v===null?d:v}return d}})(i[l],a),u)),{});return Object.keys(o).length?(0,Efe.combineReducers)(o):BD})(Jn(r,(s=>s.reducers)),n)})(this.system.statePlugins,this.getSystem))}getType(e){let r=e[0].toUpperCase()+e.slice(1);return MD(this.system.statePlugins,((n,s)=>{let i=n[e];if(i)return{[s+r]:i}}))}getSelectors(){return this.getType("selectors")}getActions(){return Jn(this.getType("actions"),(e=>MD(e,((r,n)=>{if(wS(r))return{[n]:r}}))))}getWrappedAndBoundActions(e){return Jn(this.getBoundActions(e),((r,n)=>{let s=this.system.statePlugins[n.slice(0,-7)].wrapActions;return s?Jn(r,((i,a)=>{let o=s[a];return o?(Array.isArray(o)||(o=[o]),o.reduce(((u,l)=>{let c=(...p)=>l(u,this.getSystem())(...p);if(!wS(c))throw new TypeError("wrapActions needs to return a function that returns a new function (ie the wrapped action)");return zo(c,this.getSystem)}),i||Function.prototype)):i})):r}))}getWrappedAndBoundSelectors(e,r){return Jn(this.getBoundSelectors(e,r),((n,s)=>{let i=[s.slice(0,-9)],a=this.system.statePlugins[i].wrapSelectors;return a?Jn(n,((o,u)=>{let l=a[u];return l?(Array.isArray(l)||(l=[l]),l.reduce(((c,p)=>{let m=(...d)=>p(c,this.getSystem())(e().getIn(i),...d);if(!wS(m))throw new TypeError("wrapSelector needs to return a function that returns a new function (ie the wrapped action)");return m}),o||Function.prototype)):o})):n}))}getStates(e){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=e.get(n),r)),{})}getStateThunks(e){return Object.keys(this.system.statePlugins).reduce(((r,n)=>(r[n]=()=>e().get(n),r)),{})}getFn(){return{fn:this.system.fn}}getComponents(e){const r=this.system.components[e];return Array.isArray(r)?r.reduce(((n,s)=>s(n,this.getSystem()))):e!==void 0?this.system.components[e]:this.system.components}getBoundSelectors(e,r){return Jn(this.getSelectors(),((n,s)=>{let i=[s.slice(0,-9)];return Jn(n,(a=>(...o)=>
226{let u=zo(a,this.getSystem).apply(null,[e().getIn(i),...o]);return typeof u=="function"&&(u=zo(u,this.getSystem)(r())),u}))}))}getBoundActions(e){e=e||this.getStore().dispatch;const r=this.getActions(),n=s=>typeof s!="function"?Jn(s,(i=>n(i))):(...i)=>{var a=null;try{a=s(...i)}catch(o){a={type:kp,error:!0,payload:(0,S6.serializeError)(o)}}finally{return a}};return Jn(r,(s=>(0,Uo.bindActionCreators)(n(s),e)))}getMapStateToProps(){return()=>Object.assign({},this.getSystem())}getMapDispatchToProps(e){return r=>fu()({},this.getWrappedAndBoundActions(r),this.getFn(),e)}}function W1(t,e){return Ss(t)&&!ef(t)?(0,Sfe.default)({},t):Ks(t)?W1(t(e),e):ef(t)?t.map((r=>W1(r,e))).reduce(R6,{components:e.getComponents()}):{}}function J1(t,e,{hasLoaded:r}={}){let n=r;return Ss(t)&&!ef(t)&&typeof t.afterLoad=="function"&&(n=!0,zo(t.afterLoad,e.getSystem).call(this,e)),Ks(t)?J1.call(this,t(e),e,{hasLoaded:n}):ef(t)?t.map((s=>J1.call(this,s,e,{hasLoaded:n}))):n}function R6(t={},e={}){if(!Ss(t))return{};if(!Ss(e))return t;e.wrapComponents&&(Jn(e.wrapComponents,((n,s)=>{const i=t.components&&t.components[s];i&&Array.isArray(i)?(t.components[s]=i.concat([n]),delete e.wrapComponents[s]):i&&(t.components[s]=[i,n],delete e.wrapComponents[s])})),Object.keys(e.wrapComponents).length||delete e.wrapComponents);const{statePlugins:r}=t;if(Ss(r))for(let n in r){const s=r[n];if(!Ss(s))continue;const{wrapActions:i,wrapSelectors:a}=s;if(Ss(i))for(let o in i){let u=i[o];Array.isArray(u)||(u=[u],i[o]=u),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapActions&&e.statePlugins[n].wrapActions[o]&&(e.statePlugins[n].wrapActions[o]=i[o].concat(e.statePlugins[n].wrapActions[o]))}if(Ss(a))for(let o in a){let u=a[o];Array.isArray(u)||(u=[u],a[o]=u),e&&e.statePlugins&&e.statePlugins[n]&&e.statePlugins[n].wrapSelectors&&e.statePlugins[n].wrapSelectors[o]&&(e.statePlugins[n].wrapSelectors[o]=a[o].concat(e.statePlugins[n].wrapSelectors[o]))}}return fu()(t,e)}function zo(t,e,{logErrors:r=!0}={}){return typeof t!="function"?t:function(...n){try{return t.call(this,...n
226)}catch(s){if(r){const{uncaughtExceptionHandler:i}=e().getConfigs();typeof i=="function"?i(s):console.error(s)}return null}}}var du=(function(t){var e={};return be.d(e,t),e})({default:function(){return K7}});const Gx="show_popup",Yx="authorize",Xx="logout",Zx="authorize_oauth2",Qx="configure_auth",eA="restore_authorization";function Bfe(t){return{type:Gx,payload:t}}function Lfe(t){return{type:Yx,payload:t}}const $fe=t=>({authActions:e})=>{e.authorize(t),e.persistAuthorizationIfNeeded()};function Ufe(t){return{type:Xx,payload:t}}const Vfe=t=>({authActions:e})=>{e.logout(t),e.persistAuthorizationIfNeeded()},zfe=t=>({authActions:e,errActions:r})=>{let{auth:n,token:s,isValid:i}=t,{schema:a,name:o}=n,u=a.get("flow");delete Gt.swaggerUIRedirectOauth2,u==="accessCode"||i||r.newAuthErr({authId:o,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:o,source:"auth",level:"error",message:JSON.stringify(s)}):e.authorizeOauth2WithPersistOption({auth:n,token:s})};function Wfe(t){return{type:Zx,payload:t}}const Jfe=t=>({authActions:e})=>{e.authorizeOauth2(t),e.persistAuthorizationIfNeeded()},Hfe=t=>({authActions:e})=>{let{schema:r,name:n,username:s,password:i,passwordType:a,clientId:o,clientSecret:u}=t,l={grant_type:"password",scope:t.scopes.join(" "),username:s,password:i},c={};switch(a){case"request-body":(function(m,d,g){d&&Object.assign(m,{client_id:d}),g&&Object.assign(m,{client_secret:g})})(l,o,u);break;case"basic":c.Authorization="Basic "+Rl(o+":"+u);break;default:console.warn(`Warning: invalid passwordType ${a} was passed, not including client id and secret`)}return e.authorizeRequest({body:Pp(l),url:r.get("tokenUrl"),name:n,headers:c,query:{},auth:t})},Kfe=t=>({authActions:e})=>{let{schema:r,scopes:n,name:s,clientId:i,clientSecret:a}=t,o={Authorization:"Basic "+Rl(i+":"+a)},u={grant_type:"client_credentials",scope:n.join(" ")};return e.authorizeRequest({body:Pp(u),name:s,url:r.get("tokenUrl"),auth:t,headers:o})},Gfe=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:s,clientId:i,clientSecret:a,codeVerifier:o}=t,u={grant_type:"authorization_code",code:t.code,client_id:i,client_secret:a,redirect_uri:e,code_verifier:o};return r.authorizeRequest({body:Pp(u),name:s,url:n.get("tokenUrl"),auth:t})},Yfe=({auth:t,redirectUrl:e})=>({authActions:r})=>{let{schema:n,name:s,clientId:i,clientSecret:a,codeVerifier:o}=t,u={Authorization:"Basic "+Rl(i+":"+a)},l={grant_type:"authorization_code",code:t.code,client_id:i,redirect_uri:e,code_verifier:o};return r.authorizeRequest({body:Pp(l),name:s,url:n.get("tokenUrl"),auth:t,headers:u})},Xfe=t=>({fn:e,getConfigs:r,authActions:n,errActions:s,oas3Selectors:i,specSelectors:a,authSelectors:o})=>{let u,{body:l,query:c={},headers:p={},name:m,url:d,auth:g}=t,{additionalQueryStringParams:y}=o.getConfigs()||{};if(a.isOAS3()){let b=i.serverEffectiveValue(i.selectedServer());u=(0,du.default)(d,b,!0)}else u=(0,du.default)(d,a.url(),!0);typeof y=="object"&&(u.query=Object.assign({},u.query,y));const v=u.toString();let E=Object.assign({Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded","X-Requested-With":"XMLHttpRequest"},p);e.fetch({url:v,method:"post",headers:E,query:c,body:l,requestInterceptor:r().requestInterceptor,responseInterceptor:r().responseInterceptor}).then((function(b){let _=JSON.parse(b.data),w=_&&(_.error||""),S=_&&(_.parseError||"");b.ok?w||S?s.newAuthErr({authId:m,level:"error",source:"auth",message:JSON.stringify(_)}):n.authorizeOauth2WithPersistOption({auth:g,token:_}):s.newAuthErr({authId:m,level:"error",source:"auth",message:b.statusText})})).catch((b=>{let _=new Error(b).message;if(b.response&&b.response.data){const w=b.response.data;try{const S=typeof w=="string"?JSON.parse(w):w;S.error&&(_+=`, error: ${S.error}`),S.error_description&&(_+=`, description: ${S.error_description}`)}catch{}}s.newAuthErr({authId:m,level:"error",source:"auth",message:_})}))};function Zfe(t){return{type:Qx,payload:t}}function Qfe(t){return{type:eA,payload:t}}const epe=()=>({authSelectors:t,getConfigs:e})=>
226{if(!e().persistAuthorization)return;const r=t.authorized().toJS();localStorage.setItem("authorized",JSON.stringify(r))},tpe=(t,e)=>()=>{Gt.swaggerUIRedirectOauth2=e,Gt.open(t)};var rpe={[Gx]:(t,{payload:e})=>t.set("showDefinitions",e),[Yx]:(t,{payload:e})=>{let r=(0,z.fromJS)(e),n=t.get("authorized")||(0,z.Map)();return r.entrySeq().forEach((([s,i])=>{if(!Ks(i.getIn))return t.set("authorized",n);let a=i.getIn(["schema","type"]);if(a==="apiKey"||a==="http")n=n.set(s,i);else if(a==="basic"){let o=i.getIn(["value","username"]),u=i.getIn(["value","password"]);n=n.setIn([s,"value"],{username:o,header:"Basic "+Rl(o+":"+u)}),n=n.setIn([s,"schema"],i.get("schema"))}})),t.set("authorized",n)},[Zx]:(t,{payload:e})=>{let r,{auth:n,token:s}=e;n.token=Object.assign({},s),r=(0,z.fromJS)(n);let i=t.get("authorized")||(0,z.Map)();return i=i.set(r.get("name"),r),t.set("authorized",i)},[Xx]:(t,{payload:e})=>{let r=t.get("authorized").withMutations((n=>{e.forEach((s=>{n.delete(s)}))}));return t.set("authorized",r)},[Qx]:(t,{payload:e})=>t.set("configs",e),[eA]:(t,{payload:e})=>t.set("authorized",(0,z.fromJS)(e.authorized))},at=(function(t){var e={};return be.d(e,t),e})({createSelector:function(){return UU}});const jp=t=>t,npe=(0,at.createSelector)(jp,(t=>t.get("showDefinitions"))),spe=(0,at.createSelector)(jp,(()=>({specSelectors:t})=>{let e=t.securityDefinitions()||(0,z.Map)({}),r=(0,z.List)();return e.entrySeq().forEach((([n,s])=>{let i=(0,z.Map)();i=i.set(n,s),r=r.push(i)})),r})),ipe=(t,e)=>({specSelectors:r})=>(0,z.List)(r.isOAS3()?["components","securitySchemes",e]:["securityDefinitions",e]),ape=(t,e)=>({specSelectors:r})=>{console.warn("WARNING: getDefinitionsByNames is deprecated and will be removed in the next major version.");let n=r.securityDefinitions(),s=(0,z.List)();return e.valueSeq().forEach((i=>{let a=(0,z.Map)();i.entrySeq().forEach((([o,u])=>{let l,c=n.get(o);c.get("type")==="oauth2"&&u.size&&(l=c.get("scopes"),l.keySeq().forEach((p=>{u.contains(p)||(l=l.delete(p))})),c=c.set("allowedScopes",l)),a=a.set(o,c)})),s=s.push(a)})),s},ope=(t,e=(0,z.List)())=>({authSelectors:r})=>{const n=r.definitionsToAuthorize()||(0,z.List)();let s=(0,z.List)();return n.forEach((i=>{let a=e.find((o=>o.get(i.keySeq().first())));a&&(i.forEach(((o,u)=>{if(o.get("type")==="oauth2"){const l=a.get(u);let c=o.get("scopes");z.List.isList(l)&&z.Map.isMap(c)&&(c.keySeq().forEach((p=>{l.contains(p)||(c=c.delete(p))})),i=i.set(u,o.set("scopes",c)))}})),s=s.push(i))})),s},upe=(0,at.createSelector)(jp,(t=>t.get("authorized")||(0,z.Map)())),lpe=(t,e)=>({authSelectors:r})=>{let n=r.authorized();return z.List.isList(e)?!!e.toJS().filter((s=>Object.keys(s).map((i=>!!n.get(i))).indexOf(!1)===-1)).length:null},cpe=(0,at.createSelector)(jp,(t=>t.get("configs"))),fpe=(t,{authSelectors:e,specSelectors:r})=>({path:n,method:s,operation:i,extras:a})=>{let o={authorized:e.authorized()&&e.authorized().toJS(),definitions:r.securityDefinitions()&&r.securityDefinitions().toJS(),specSecurity:r.security()&&r.security().toJS()};return t({path:n,method:s,operation:i,securities:o,...a})},ppe=(t,e)=>r=>{const{getConfigs:n,authActions:s}=e,i=n();if(t(r),i.persistAuthorization){const a=localStorage.getItem("authorized");a&&s.restoreAuthorization({authorized:JSON.parse(a)})}},dpe=(t,e)=>r=>{if(t(r),e.getConfigs().persistAuthorization)try{const[{schema:n,value:s}]=Object.values(r),i=(0,z.fromJS)(n),a=i.get("type")==="apiKey",o=i.get("in")==="cookie";a&&o&&(document.cookie=`${i.get("name")}=${s}; SameSite=None; Secure`)}catch(n){console.error("Error persisting cookie based apiKey in document.cookie.",n)}},hpe=(t,e)=>r=>{const n=e.getConfigs(),s=e.authSelectors.authorized();try{n.persistAuthorization&&Array.isArray(r)&&r.forEach((i=>{const a=s.get(i,{}),o=a.getIn(["schema","type"])==="apiKey",u=a.getIn(["schema","in"])==="cookie";if(o&&u){const l=a.getIn(["schema","name"]);document.cookie=`${l}=; Max-Age=-99999999`}}))}catch(i){console.error("Error deleting cookie based apiKey from document.cookie.",i)}t(r)};var rn=(function(t){var e={};return be.d(e,t),e})({default:function(){return KU}}),tA=(function(t){var e={};return be.d(e,t),e})({default:function(){return gV}});class mpe extends f.default.Component{mapStateToProps(e,r){return{state:e,ownProps:(0,tA.default)(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("LockIcon");return f.default.createElement(n,r)}}var LD=mpe;class gpe extends f.default.Component{mapStateToProps(e,r){return{state:e,ownProps:(0,tA.default)(r,Object.keys(r.getSystem()))}}render(){const{getComponent:e,ownProps:r}=this.props,n=e("UnlockIcon");return f.default.createElement(n,r)}}var $D=gpe;function I6(){return{afterLoad(t){this.rootInjects=this.rootInjects||{},this.rootInjects.initOAuth=t.authActions.configureAuth,this.rootInjects.preauthorizeApiKey=vpe.bind(null,t),this.rootInjects.preauthorizeBasic=ype.bind(null,t)},components:{LockAuthIcon:LD,UnlockAuthIcon:$D,LockAuthOperationIcon:LD,UnlockAuthOperationIcon:$D},statePlugins:{auth:{reducers:rpe,actions:_1,selectors:w1,wrapActions:{authorize:dpe,logout:hpe}},configs:{wrapActions:{loaded:ppe}},spec:{wrapActions:{execute:fpe}}}}}function ype(t,e,r,n){const{authActions:{authorize:s},specSelectors:{specJson:i,isOAS3:a}}=t,o=a()?["components","securitySchemes"]:["securityDefinitions"],u=i().getIn([...o,e]);return u?s({[e]:{value:{username:r,password:n},schema:u.toJS()}}):null}function vpe(t,e,r){const{authActions:{authorize:n},specSelectors:{specJson:s,isOAS3:i}}=t,a=i()?["components","securitySchemes"]:["securityDefinitions"],o=s().getIn([...a,e]);return o?n({[e]:{value:r,schema:o.toJS()}}):null}var Ws=(function(t){var e={};return be.d(e,t),e})({JSON_SCHEMA:function(){return ru},default:function(){return Zi}});const rA="configs_update",nA="configs_toggle";function bpe(t,e){return{type:rA,payload:{[t]:e}}}function Epe(t){return{type:nA,payload:t}}const Spe=()=>()=>{},_pe=t=>e=>{const{fn:{fetch:r}}=e;return r(t)},wpe=(t,e)=>r=>{const{specActions:n,configsActions:s}=r;if(t)return s.downloadConfig(t).then(i,i);function i(a){a instanceof Error||a.status>=400?(n.updateLoadingStatus("failedConfig"),n.updateLoadingStatus("failedConfig"),n.updateUrl(""),console.error(a.statusText+" "+t.url),e(null)):e(((o,u)=>{try{return Ws.default.load(o)}catch(l){return u&&u.errActions.newThrownErr(new Error(l)),{}}})(a.text,r))}},xpe=(t,e)=>t.getIn(Array.isArray(e)?e:[e]);var Ape={[rA]:(t,e)=>t.merge((0,z.fromJS)(e.payload)),[nA]:(t,e)=>{const r=e.payload,n=t.get(r);return t.set(r,!n)}};function T6(){return{statePlugins:{configs:{reducers:Ape,actions:x1,selectors:A1}}}}const xS=t=>t?history.pushState(null,null,`#${t}`):window.location.hash="";var Ope=(function(t){var e={};return be.d(e,t),e})({default:function(){return qW}});
226const UD="layout_scroll_to",VD="layout_clear_scroll";var Cpe={fn:{getScrollParent:function(e,r){const n=document.documentElement;let s=getComputedStyle(e);const i=s.position==="absolute",a=r?/(auto|scroll|hidden)/:/(auto|scroll)/;if(s.position==="fixed")return n;for(let o=e;o=o.parentElement;)if(s=getComputedStyle(o),(!i||s.position!=="static")&&a.test(s.overflow+s.overflowY+s.overflowX))return o;return n}},statePlugins:{layout:{actions:{scrollToElement:(t,e)=>r=>{try{e=e||r.fn.getScrollParent(t),Ope.default.createScroller(e).to(t)}catch(n){console.error(n)}},scrollTo:t=>({type:UD,payload:Array.isArray(t)?t:[t]}),clearScrollTo:()=>({type:VD}),readyToScroll:(t,e)=>r=>{const n=r.layoutSelectors.getScrollToKey();z.default.is(n,(0,z.fromJS)(t))&&(r.layoutActions.scrollToElement(e),r.layoutActions.clearScrollTo())},parseDeepLinkHash:t=>({layoutActions:e,layoutSelectors:r,getConfigs:n})=>{if(n().deepLinking&&t){let s=t.slice(1);s[0]==="!"&&(s=s.slice(1)),s[0]==="/"&&(s=s.slice(1));const i=s.split("/").map((c=>c||"")),a=r.isShownKeyFromUrlHashArray(i),[o,u="",l=""]=a;if(o==="operations"){const c=r.isShownKeyFromUrlHashArray([u]);u.indexOf("_")>-1&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(c.map((p=>p.replace(/_/g," "))),!0)),e.show(c,!0)}(u.indexOf("_")>-1||l.indexOf("_")>-1)&&(console.warn("Warning: escaping deep link whitespace with `_` will be unsupported in v4.0, use `%20` instead."),e.show(a.map((c=>c.replace(/_/g," "))),!0)),e.show(a,!0),e.scrollTo(a)}}},selectors:{getScrollToKey:t=>t.get("scrollToKey"),isShownKeyFromUrlHashArray(t,e){const[r,n]=e;return n?["operations",r,n]:r?["operations-tag",r]:[]},urlHashArrayFromIsShownKey(t,e){let[r,n,s]=e;return r=="operations"?[n,s]:r=="operations-tag"?[n]:[]}},reducers:{[UD]:(t,e)=>t.set("scrollToKey",z.default.fromJS(e.payload)),[VD]:t=>t.delete("scrollToKey")},wrapActions:{show:(t,{getConfigs:e,layoutSelectors:r})=>(...n)=>{if(t(...n),e().deepLinking)try{let[s,i]=n;s=Array.isArray(s)?s:[s];const a=r.urlHashArrayFromIsShownKey(s);if(!a.length)return;const[o,u]=a;if(!i)return xS("/");a.length===2?xS(pu(`/${encodeURIComponent(o)}/${encodeURIComponent(u)}`)):a.length===1&&xS(pu(`/${encodeURIComponent(o)}`))}catch(s){console.error(s)}}}}}},zD=(function(t){var e={};return be.d(e,t),e})({default:function(){return $W}}),Rpe=(t,e)=>class extends f.default.Component{onLoad=n=>{const{operation:s}=this.props,{tag:i,operationId:a}=s.toObject();let{isShownKey:o}=s.toObject();o=o||["operations",i,a],e.layoutActions.readyToScroll(o,n)};render(){return f.default.createElement("span",{ref:this.onLoad},f.default.createElement(t,this.props))}},Ipe=(t,e)=>class extends f.default.Component{onLoad=n=>{const{tag:s}=this.props,i=["operations-tag",s];e.layoutActions.readyToScroll(i,n)};render(){return f.default.createElement("span",{ref:this.onLoad},f.default.createElement(t,this.props))}};function k6(){return[Cpe,{statePlugins:{configs:{wrapActions:{loaded:(t,e)=>(...r)=>{t(...r);const n=decodeURIComponent(window.location.hash);e.layoutActions.parseDeepLinkHash(n)}}}},wrapComponents:{operation:Rpe,OperationTag:Ipe}}]}var Tpe=(function(t){var e={};return be.d(e,t),e})({default:function(){return WW}});function kpe(t){return t.map((e=>{let r="is not of a type(s)",n=e.get("message").indexOf(r);if(n>-1){let s=e.get("message").slice(n+19).split(",");return e.set("message",e.get("message").slice(0,n)+(function(a){return a.reduce(((o,u,l,c)=>l===c.length-1&&c.length>1?o+"or "+u:c[l+1]&&c.length>2?o+u+", ":c[l+1]?o+u+" ":o+u),"should be a")})(s))}return e}))}var H1=(function(t){var e={};return be.d(e,t),e})({default:function(){return HW}});function Ppe(t,{jsSpec:e}){return t}const jpe=[O1,C1];function Mo(t){let e={jsSpec:{}};return(0,Tpe.default)(jpe,((n,s)=>{try{return s.transform(n,e).filter((i=>!!i))}catch(i){return console.error("Transformer error:",i),n}}),t).filter((n=>!!n)).map((n=>(!n.get("line")&&n.get("path"),n)))}let AS={line:0,level:"error",message:"Unknown error"};const P6=(0,at.createSelector)((t=>t),(t=>t.get("errors",(0,z.List)()))),Npe=(0,at.createSelector)(P6,(t=>t.last()));function j6(t){return{statePlugins:{err:{reducers:{[kp]:(e,{payload:r})=>{let n=Object.assign(AS,r,{type:"thrown"});return e.update("errors",(s=>(s||(0,z.List)()).push((0,z.fromJS)(n)))).update("errors",(s=>Mo(s)))},[Ux]:(e,{payload:r})=>(r=r.map((n=>(0,z.fromJS)(Object.assign(AS,n,{type:"thrown"})))),e.update("errors",(n=>(n||(0,z.List)()).concat((0,z.fromJS)(r)))).update("errors",(n=>Mo(n)))),[Vx]:(e,{payload:r})=>{let n=(0,z.fromJS)(r);return n=n.set("type","spec"),e.update("errors",(s=>(s||(0,z.List)()).push((0,z.fromJS)(n)).sortBy((i=>i.get("line"))))).update("errors",(s=>Mo(s)))},[zx]:(e,{payload:r})=>(r=r.map((n=>(0,z.fromJS)(Object.assign(AS,n,{type:"spec"})))),e.update("errors",(n=>(n||(0,z.List)()).concat((0,z.fromJS)(r)))).update("errors",(n=>Mo(n)))),[Wx]:(e,{payload:r})=>{let n=(0,z.fromJS)(Object.assign({},r));return n=n.set("type","auth"),e.update("errors",(s=>(s||(0,z.List)()).push((0,z.fromJS)(n)))).update("errors",(s=>Mo(s)))},[Jx]:(e,{payload:r})=>{if(!r||!e.get("errors"))return e;let n=e.get("errors").filter((s=>s.keySeq().every((i=>{const a=s.get(i),o=r[i];return!o||a!==o}))));return e.merge({errors:n})},[Hx]:(e,{payload:r})=>{if(!r||typeof r!="function")return e;let n=e.get("errors").filter((s=>r(s)));return e.merge({errors:n})}},actions:S1,selectors:R1}}}}function Mpe(t,e){return t.filter(((r,n)=>n.indexOf(e)!==-1))}function N6(){return{fn:{opsFilter:Mpe}}}var It=(function(t){var e={};return be.d(e,t),e})({default:function(){return WS}}),Dpe=({className:t=null,width:e=20,height:r=20,...n})=>f.default.createElement("svg",(0,It.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),f.default.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"})),Fpe=({className:t=null,width:e=20,height:r=20,...n})=>f.default.createElement("svg",(0,It.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),f.default.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"})),qpe=({className:t=null,width:e=20,height:r=20,...n})=>f.default.createElement("svg",(0,It.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),f.default.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"})),Bpe=({className:t=null,width:e=20,height:r=20,...n})=>f.default.createElement("svg",(0,It.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),f.default.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"})),Lpe=({className:t=null,width:e=15,height:r=16,...n})=>f.default.createElement("svg",(0,It.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 16",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),f.default.createElement("g",{transform:"translate(2, -1)"},f.default.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"}))),$pe=({className:t=null,width:e=20,height:r=20,...n})=>f.default.createElement("svg",(0,It.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),f.default.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"})),Upe=({className:t=null,width:e=20,height:r=20,...n})=>f.default.createElement("svg",(0,It.default)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",className:t,width:e,height:r,"aria-hidden":"true",focusable:"false"},n),f.default.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"})),M6=()=>({components:{ArrowUpIcon:Dpe,ArrowDownIcon:Fpe,ArrowIcon:qpe,CloseIcon:Bpe,CopyIcon:Lpe,LockIcon:$pe,UnlockIcon:Upe}});const sA="layout_update_layout",iA="layout_update_filter",aA="layout_update_mode",oA="layout_show";function Vpe(t){return{type:sA,payload:t}}function zpe(t){return{type:iA,payload:t}}function Wpe(t,e=!0){return t=ga(t),{type:oA,payload:{thing:t,shown:e}}}function Jpe(t,e=""){return t=ga(t),{type:aA,payload:{thing:t,mode:e}}}var Hpe={[sA]:(t,e)=>t.set("layout",e.payload),[iA]:(t,e)=>t.set("filter",e.payload),[oA]:(t,e)=>{const r=e.payload.shown,n=(0,z.fromJS)(e.payload.thing);return t.update("shown",(0,z.fromJS)({}),(s=>s.set(n,r)))},[aA]:(t,e)=>{let r=e.payload.thing,n=e.payload.mode;return t.setIn(["modes"].concat(r),(n||"")+"")}};const Kpe=t=>t.get("layout"),Gpe=t=>t.get("filter"),D6=(t,e,r)=>(e=ga(e),t.get("shown",(0,z.fromJS)({})).get((0,z.fromJS)(e),r)),Ype=(t,e,r="")=>(e=ga(e),t.getIn(["modes",...e],r)),Xpe=(0,at.createSelector)((t=>t),(t=>!D6(t,"editor"))),Zpe=(t,e)=>(r,...n)=>{let s=t(r,...n);const{fn:i,layoutSelectors:a,getConfigs:o}=e.getSystem(),u=o(),{maxDisplayedTags:l}=u;let c=a.currentFilter();return c&&c!==!0&&(s=i.opsFilter(s,c)),l>=0&&(s=s.slice(0,l)),s};function F6(){return{statePlugins:{layout:{reducers:Hpe,actions:I1,selectors:T1},spec:{wrapSelectors:k1}}}}function q6({configs:t}){const e={debug:0,info:1,log:2,warn:3,error:4},r=a=>e[a]||-1;let{logLevel:n}=t,s=r(n);function i(a,...o){r(a)>=s&&console[a](...o)}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 OS=!1;function B6(){return{statePlugins:{spec:{wrapActions:{updateSpec:t=>(...e)=>(OS=!0,t(...e)),updateJsonSpec:(t,e)=>(...r)=>{const n=e.getConfigs().onComplete;return OS&&typeof n=="function"&&(setTimeout(n,0),OS=!1),t(...r)}}}}}}const WD=t=>{const e="_**[]";return t.indexOf(e)<0?t:t.split(e)[0].trim()},Qpe=t=>t==="-d "||/^[_\/-]/g.test(t)?t:"'"+t.replace(/'/g,"'\\''")+"'",ede=t=>(t=t.replace(/\^/g,"^^").replace(/\\"/g,'\\\\"').replace(/"/g,'""').replace(/\n/g,`^
227`))==="-d "?t.replace(/-d /g,`-d ^
228`):/^[_\/-]/g.test(t)?t:'"'+t+'"',tde=t=>t==="-d "?t:/\n/.test(t)?`@"
229${t.replace(/`/g,"``").replace(/\$/g,"`$")}
230"@`:/^[_\/-]/.test(t)?t:`'${t.replace(/'/g,"''")}'`,uA=(t,e,r,n="")=>{let s=!1,i="";const a=(...d)=>i+=" "+d.map(e).join(" "),o=(...d)=>i+=d.map(e).join(" "),u=()=>i+=` ${r}`,l=(d=1)=>i+="  ".repeat(d);let c=t.get("headers");i+="curl"+n;const p=t.get("curlOptions");
230if(z.List.isList(p)&&!p.isEmpty()&&a(...t.get("curlOptions")),a("-X",t.get("method")),u(),l(),o(`${t.get("url")}`),c&&c.size)for(let d of t.get("headers").entries()){u(),l();let[g,y]=d;o("-H",`${g}: ${y}`),s=s||/^content-type$/i.test(g)&&/^multipart\/form-data$/i.test(y)}const m=t.get("body");if(m)if(s&&["POST","PUT","PATCH"].includes(t.get("method")))for(let[d,g]of m.entrySeq()){let y=WD(d);u(),l(),o("-F"),g instanceof Gt.File&&typeof g.valueOf()=="string"?a(`${y}=${g.data}${g.type?`;type=${g.type}`:""}`):g instanceof Gt.File?a(`${y}=@${g.name}${g.type?`;type=${g.type}`:""}`):a(`${y}=${g}`)}else if(m instanceof Gt.File)u(),l(),o(`--data-binary '@${m.name}'`);else{u(),l(),o("-d ");let d=m;z.Map.isMap(d)?o((function(y){let v=[];for(let[E,b]of y.get("body").entrySeq()){let _=WD(E);b instanceof Gt.File?v.push(`  "${_}": {
231    "name": "${b.name}"${b.type?`,
232    "type": "${b.type}"`:""}
233  }`):v.push(`  "${_}": ${JSON.stringify(b,null,2).replace(/(\r\n|\r|\n)/g,`
234  `)}`)}return`{
235${v.join(`,
236`)}
237}`})(t)):(typeof d!="string"&&(d=JSON.stringify(d)),o(d))}else m||t.get("method")!=="POST"||(u(),l(),o("-d ''"));return i},rde=t=>uA(t,tde,"`\n",".exe"),L6=t=>uA(t,Qpe,`\\
238`),nde=t=>uA(t,ede,`^
239`),lA=t=>t||(0,z.Map)(),$6=(0,at.createSelector)(lA,(t=>{const e=t.get("languages"),r=t.get("generators",(0,z.Map)());return!e||e.isEmpty()?r:r.filter(((n,s)=>e.includes(s)))})),sde=t=>({fn:e})=>$6(t).map(((r,n)=>{const s=(i=>e[`requestSnippetGenerator_${i}`])(n);return typeof s!="function"?null:r.set("fn",s)})).filter((r=>r)),ide=(0,at.createSelector)(lA,(t=>t.get("activeLanguage"))),ade=(0,at.createSelector)(lA,(t=>t.get("defaultExpanded")));var Tt=(function(t){var e={};return be.d(e,t),e})({default:function(){return zU}}),Np=(function(t){var e={};return be.d(e,t),e})({CopyToClipboard:function(){return RJ.CopyToClipboard}});const ode={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"},ude={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 lde=({request:t,requestSnippetsSelectors:e,getComponent:r})=>{const n=(0,f.useRef)(null),s=r("ArrowUpIcon"),i=r("ArrowDownIcon"),a=r("SyntaxHighlighter",!0),[o,u]=(0,f.useState)(e.getSnippetGenerators()?.keySeq().first()),[l,c]=(0,f.useState)(e?.getDefaultExpanded()),p=e.getSnippetGenerators(),m=p.get(o),d=m.get("fn")(t),g=()=>{c(!l)},y=E=>E===o?ude:ode,v=E=>{const{target:b,deltaY:_}=E,{scrollHeight:w,offsetHeight:S,scrollTop:A}=b;w>S&&(A===0&&_<0||S+A>=w&&_>0)&&E.preventDefault()};return(0,f.useEffect)((()=>{}),[]),(0,f.useEffect)((()=>{const E=Array.from(n.current.childNodes).filter((b=>!!b.nodeType&&b.classList?.contains("curl-command")));return E.forEach((b=>b.addEventListener("mousewheel",v,{passive:!1}))),()=>{E.forEach((b=>b.removeEventListener("mousewheel",v)))}}),[t]),f.default.createElement("div",{className:"request-snippets",ref:n},f.default.createElement("div",{style:{width:"100%",display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"15px"}},f.default.createElement("h4",{onClick:()=>g(),style:{cursor:"pointer"}},"Snippets"),f.default.createElement("button",{onClick:()=>g(),style:{border:"none",background:"none"},title:l?"Collapse operation":"Expand operation"},l?f.default.createElement(i,{className:"arrow",width:"10",height:"10"}):f.default.createElement(s,{className:"arrow",width:"10",height:"10"}))),l&&f.default.createElement("div",{className:"curl-command"},f.default.createElement("div",{style:{paddingLeft:"15px",paddingRight:"10px",width:"100%",display:"flex"}},p.entrySeq().map((([E,b])=>f.default.createElement("div",{className:(0,Tt.default)("btn",{active:E===o}),style:y(E),key:E,onClick:()=>(_=>{o!==_&&u(_)})(E)},f.default.createElement("h4",{style:E===o?{color:"white"}:{}},b.get("title")))))),f.default.createElement("div",{className:"copy-to-cl
239ipboard"},f.default.createElement(Np.CopyToClipboard,{text:d},f.default.createElement("button",null))),f.default.createElement("div",null,f.default.createElement(a,{language:m.get("syntax"),className:"curl microlight",renderPlainText:({children:E,PlainTextViewer:b})=>f.default.createElement(b,{className:"curl"},E)},d))))},U6=()=>({components:{RequestSnippets:lde},fn:{requestSnippetGenerator_curl_bash:L6,requestSnippetGenerator_curl_cmd:nde,requestSnippetGenerator_curl_powershell:rde},statePlugins:{requestSnippets:{selectors:P1}}});class cA extends f.Component{static defaultProps={collapsedContent:"{...}",expanded:!1,title:null,onToggle:()=>{},hideSelfOnExpand:!1,specPath:z.default.List([])};constructor(e,r){super(e,r);let{expanded:n,collapsedContent:s}=this.props;this.state={expanded:n,collapsedContent:s||cA.defaultProps.collapsedContent}}componentDidMount(){const{hideSelfOnExpand:e,expanded:r,modelName:n}=this.props;e&&r&&this.props.onToggle(n,r)}UNSAFE_componentWillReceiveProps(e){this.props.expanded!==e.expanded&&this.setState({expanded:e.expanded})}toggleCollapsed=()=>{this.props.onToggle&&this.props.onToggle(this.props.modelName,!this.state.expanded),this.setState({expanded:!this.state.expanded})};onLoad=e=>{if(e&&this.props.layoutSelectors){const r=this.props.layoutSelectors.getScrollToKey();z.default.is(r,this.props.specPath)&&this.toggleCollapsed(),this.props.layoutActions.readyToScroll(this.props.specPath,e.parentElement)}};render(){const{title:e,classes:r}=this.props;return this.state.expanded&&this.props.hideSelfOnExpand?f.default.createElement("span",{className:r||""},this.props.children):f.default.createElement("span",{className:r||"",ref:this.onLoad},f.default.createElement("button",{"aria-expanded":this.state.expanded,className:"model-box-control",onClick:this.toggleCollapsed},e&&f.default.createElement("span",{className:"pointer"},e),f.default.createElement("span",{className:"model-toggle"+(this.state.expanded?"":" collapsed")}),!this.state.expanded&&f.default.createElement("span",null,this.state.collapsedContent)),this.state.expanded&&this.props.children)}}const cde=({initialTab:t,isExecute:e,schema:r,example:n})=>{const s=(0,f.useMemo)((()=>({example:"example",model:"model"})),[]),i=(0,f.useMemo)((()=>Object.keys(s)),[s]).includes(t)&&r&&!e?t:s.example,a=(c=>{const p=(0,f.useRef)();return(0,f.useEffect)((()=>{p.current=c})),p.current})(e),[o,u]=(0,f.useState)(i),l=(0,f.useCallback)((c=>{u(c.target.dataset.name)}),[]);return(0,f.useEffect)((()=>{a&&!e&&n&&u(s.example)}),[a,e,n]),{activeTab:o,onTabChange:l,tabs:s}};var fde=({schema:t,example:e,isExecute:r=!1,specPath:n,includeWriteOnly:s=!1,includeReadOnly:i=!1,getComponent:a,getConfigs:o,specSelectors:u})=>{const{defaultModelRendering:l,defaultModelExpandDepth:c}=o(),p=a("ModelWrapper"),m=a("HighlightCode",!0),d=qa()(5).toString("base64"),g=qa()(5).toString("base64"),y=qa()(5).toString("base64"),v=qa()(5).toString("base64"),E=u.isOAS3(),{activeTab:b,tabs:_,onTabChange:w}=cde({initialTab:l,isExecute:r,schema:t,example:e});return f.default.createElement("div",{className:"model-example"},f.default.createElement("ul",{className:"tab",role:"tablist"},f.default.createElement("li",{className:(0,Tt.default)("tabitem",{active:b===_.example}),role:"presentation"},f.default.createElement("button",{"aria-controls":g,"aria-selected":b===_.example,className:"tablinks","data-name":"example",id:d,onClick:w,role:"tab"},r?"Edit Value":"Example Value")),t&&f.default.createElement("li",{className:(0,Tt.default)("tabitem",{active:b===_.model}),role:"presentation"},f.default.createElement("button",{"aria-controls":v,"aria-selected":b===_.model,className:(0,Tt.default)("tablinks",{inactive:r}),"data-name":"model",id:y,onClick:w,role:"tab"},E?"Schema":"Model"))),b===_.example&&f.default.createElement("div",{"aria-hidden":b!==_.example,"aria-labelledby":d,"data-name":"examplePanel",id:g,role:"tabpanel",tabIndex:"0"},e||f.default.createElement(m,null,"(no example available")),b===_.model&&f.default.createElement("div",{className:"model-container","aria-hidden":b===_.example,"aria-labelledby":y,"data-name":"modelPanel",id:v,role:"tabpanel",tabIndex:"0"},f.default.createElement(p,{schema:t,getComponent:a,getConfigs:o,specSelectors:u,expandDepth:c,specPath:n,includeReadOnly:i,includeWriteOnly:s})))};class pde extends f.Component{onToggle=(e,r)=>{this.props.layoutActions&&this.props.layoutActions.show(this.props.fullPath,r)};render(){let{getComponent:e,getConfigs:r}=this.props;const n=e("Model");let s;return this.props.layoutSelectors&&(s=this.props.layoutSelectors.isShown(this.props.fullPath)),f.default.createElement("div",{className:"model-box"},f.default.createElement(n,(0,It.default)({},this.props,{getConfigs:r,expanded:s,depth:1,onToggle:this.onToggle,expandDepth:this.props.expandDepth||
2390})))}}var JD,dde=(function(t){var e={};return be.d(e,t),e})({default:function(){return $J}});function K1(){return K1=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},K1.apply(null,arguments)}var V6=t=>f.createElement("svg",K1({xmlns:"http://www.w3.org/2000/svg",width:200,height:200,className:"rolling-load_svg__lds-rolling",preserveAspectRatio:"xMidYMid",style:{backgroundImage:"none",backgroundPosition:"initial initial",backgroundRepeat:"initial initial"},viewBox:"0 0 100 100"},t),JD||(JD=f.createElement("circle",{cx:50,cy:50,r:35,fill:"none",stroke:"#555",strokeDasharray:"164.93361431346415 56.97787143782138",strokeWidth:10},f.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 HD=t=>{const e=t.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(e)}catch{return e}};class hde extends dde.default{static propTypes={schema:zD.default.map.isRequired,getComponent:rn.default.func.isRequired,getConfigs:rn.default.func.isRequired,specSelectors:rn.default.object.isRequired,name:rn.default.string,displayName:rn.default.string,isRef:rn.default.bool,required:rn.default.bool,expandDepth:rn.default.number,depth:rn.default.number,specPath:zD.default.list.isRequired,includeReadOnly:rn.default.bool,includeWriteOnly:rn.default.bool};getModelName=e=>e.indexOf("#/definitions/")!==-1?HD(e.replace(/^.*#\/definitions\//,"")):e.indexOf("#/components/schemas/")!==-1?HD(e.replace(/^.*#\/components\/schemas\//,"")):void 0;getRefSchema=e=>{let{specSelectors:r}=this.props;return r.findDefinition(e)};render(){let{getComponent:e,getConfigs:r,specSelectors:n,schema:s,required:i,name:a,isRef:o,specPath:u,displayName:l,includeReadOnly:c,includeWriteOnly:p}=this.props;const m=e("ObjectModel"),d=e("ArrayModel"),g=e("PrimitiveModel");let y="object",v=s&&s.get("$$ref"),E=s&&s.get("$ref");if(!a&&v&&(a=this.getModelName(v)),E){const _=this.getModelName(E),w=this.getRefSchema(_);z.Map.isMap(w)?(s=w.mergeDeep(s),v||(s=s.set("$$ref",E),v=E)):z.Map.isMap(s)&&s.size===1&&(s=null,a=E)}if(!s)return f.default.createElement("span",{className:"model model-title"},f.default.createElement("span",{className:"model-title__text"},l||a),!E&&f.default.createElement(V6,{height:"20px",width:"20px"}));const b=n.isOAS3()&&s.get("deprecated");switch(o=o!==void 0?o:!!v,y=s&&s.get("type")||y,y){case"object":return f.default.createElement(m,(0,It.default)({className:"object"},this.props,{specPath:u,getConfigs:r,schema:s,name:a,deprecated:b,isRef:o,includeReadOnly:c,includeWriteOnly:p}));case"array":return f.default.createElement(d,(0,It.default)({className:"array"},this.props,{getConfigs:r,schema:s,name:a,deprecated:b,required:i,includeReadOnly:c,includeWriteOnly:p}));default:return f.default.createElement(g,(0,It.default)({},this.props,{getComponent:e,getConfigs:r,schema:s,name:a,deprecated:b,required:i}))}}}class mde extends f.Component{getSchemaBasePath=()=>this.props.specSelectors.isOAS3()?["components","schemas"]:["definitions"];getCollapsedContent=()=>" ";handleToggle=(e,r)=>{const{layoutActions:n}=this.props;n.show([...this.getSchemaBasePath(),e],r),r&&this.props.specActions.requestResolvedSubtree([...this.getSchemaBasePath(),e])};onLoadModels=e=>{e&&this.props.layoutActions.readyToScroll(this.getSchemaBasePath(),e)};onLoadModel=e=>{if(e){const r=e.getAttribute("data-name");this.props.layoutActions.readyToScroll([...this.getSchemaBasePath(),r],e)}};render(){let{specSelectors:e,getComponent:r,layoutSelectors:n,layoutActions:s,getConfigs:i}=this.props,a=e.definitions(),{docExpansion:o,defaultModelsExpandDepth:u}=i();if(!a.size||u<0)return null;const l=this.getSchemaBasePath();let c=n.isShown(l,u>0&&o!=="none");const p=e.isOAS3(),m=r("ModelWrapper"),d=r("Collapse"),g=r("ModelCollapse"),y=r("JumpToPath",!0),v=r("ArrowUpIcon"),E=r("ArrowDownIcon");return f.default.createElement("section",{className:c?"models is-open":"models",ref:this.onLoadModels},f.default.createElement("h4",null,f.default.createElement("button",{"aria-expanded":c,className:"models-control",onClick:()=>s.show(l,!c)},f.default.createElement("span",null,p?"Schemas":"Models"),c?f.default.createElement(v,null):f.default.createElement(E,null))),f.default.createElement(d,{isOpened:c},a.entrySeq().map((([b])=>{const _=[...l,b],w=z.default.List(_),S=e.specResolvedSubtree(_),A=e.specJson().getIn(_),I=z.Map.isMap(S)?S:z.default.Map(),k=z.Map.isMap(A)?A:z.default.Map(),P=I.get("title")||k.get("title")||b,F=n.isShown(_,!1);F&&I.size===0&&k.size>0&&this.props.specActions.requestResolvedSubtree(_);const R=f.default.createElement(m,{name:b,expandDepth:u,schema:I||z.default.Map(),displayName:P,fullPath:_,specPath:w,getComponent:r,specSelectors:e,getConfigs:i,layoutSelectors:n,layoutActions:s,includeReadOnly:!0,includeWriteOnly:!0}),L=f.default.createElement("span",{className:"model-box"},f.default.createElement("span",{className:"model model-title"},P));return f.default.createElement("div",{id:`model-${b}`,className:"model-container",key:`models-section-${b}`,"data-name":b,ref:this.onLoadModel},f.default.createElement("span",{className:"models-jump-to-path"},f.default.createElement(y,{path:w})),f.default.createElement(g,{classes:"model-box",collapsedContent:this.getCollapsedContent(b),onToggle:this.handleToggle,title:L,displayName:P,modelName:b,specPath:w,layoutSelectors:n,layoutActions:s,hideSelfOnExpand:!0,expanded:u>0&&F},R))})).toArray()))}}var gde=({value:t,getComponent:e})=>{let r=e("ModelCollapse"),n=f.default.createElement("span",null,"Array [ ",t.count()," ]");return f.default.createElement("span",{className:"prop-enum"},"Enum:",f.default.createElement("br",null),f.default.createElement(r,{collapsedContent:n},"[ ",t.map(String).join(", ")," ]"))};function G1(t){return t.match(/^(?:[a-z]+:)?\/\//i)}function yde(t,e){return t?G1(t)?(function(n){return n.match(/^\/\//i)?`${window.location.protocol}${n}`:n})(t):new URL(t,e).href:e}function ss(t,e,{selectedServer:r=""}={}){try{return(function(s,i,{selectedServer:a=""}={}){if(!s)return;if(G1(s))return s;const o=yde(a,i);return G1(o)?new URL(s,o).href:new URL(s,window.location.href).href})(t,e,{selectedServer:r})}catch{return}}function cr(t){if(typeof t!="string"||t.trim()==="")return"";
239const e=t.trim(),r="about:blank";try{const n=`https://base${String(Math.random()).slice(2)}`,s=new URL(e,n),i=s.protocol.slice(0,-1);return["javascript","data","vbscript"].includes(i.toLowerCase())?r:s.origin===n?e.startsWith("/")?`${s.pathname}${s.search}${s.hash}`:e.startsWith("./")||e.startsWith("../")?`${e.match(/^(\.\.?\/)+/)[0]}${s.pathname.substring(1)}${s.search}${s.hash}`:`${s.pathname.substring(1)}${s.search}${s.hash}`:String(s)}catch{return r}}class vde extends f.Component{render(){let{schema:e,name:r,displayName:n,isRef:s,getComponent:i,getConfigs:a,depth:o,onToggle:u,expanded:l,specPath:c,...p}=this.props,{specSelectors:m,expandDepth:d,includeReadOnly:g,includeWriteOnly:y}=p;const{isOAS3:v}=m,E=o>2||o===2&&c.last()!=="items";if(!e)return null;const{showExtensions:b}=a(),_=b?Di(e):(0,z.List)();let w=e.get("description"),S=e.get("properties"),A=e.get("additionalProperties"),I=e.get("title")||n||r,k=e.get("required"),P=e.filter(((V,me)=>["maxProperties","minProperties","nullable","example"].indexOf(me)!==-1)),F=e.get("deprecated"),R=e.getIn(["externalDocs","url"]),L=e.getIn(["externalDocs","description"]);const M=i("JumpToPath",!0),G=i("Markdown",!0),re=i("Model"),K=i("ModelCollapse"),Z=i("Property"),X=i("Link"),ee=i("ModelExtensions"),ce=()=>f.default.createElement("span",{className:"model-jump-to-path"},f.default.createElement(M,{path:c})),se=f.default.createElement("span",null,f.default.createElement("span",null,"{"),"...",f.default.createElement("span",null,"}"),s?f.default.createElement(ce,null):""),ue=m.isOAS3()?e.get("allOf"):null,ye=m.isOAS3()?e.get("anyOf"):null,he=m.isOAS3()?e.get("oneOf"):null,te=m.isOAS3()?e.get("not"):null,W=I&&f.default.createElement("span",{className:"model-title"},s&&e.get("$$ref")&&f.default.createElement("span",{className:(0,Tt.default)("model-hint",{"model-hint--embedded":E})},e.get("$$ref")),f.default.createElement("span",{className:"model-title__text"},I));return f.default.createElement("span",{className:"model"},f.default.createElement(K,{modelName:r,title:W,onToggle:u,expanded:!!l||o<=d,collapsedContent:se},f.default.createElement("span",{className:"brace-open object"},"{"),s?f.default.createElement(ce,null):null,f.default.createElement("span",{className:"inner-object"},f.default.createElement("table",{className:"model"},f.default.createElement("tbody",null,w?f.default.createElement("tr",{className:"description"},f.default.createElement("td",null,"description:"),f.default.createElement("td",null,f.default.createElement(G,{source:w}))):null,R&&f.default.createElement("tr",{className:"external-docs"},f.default.createElement("td",null,"externalDocs:"),f.default.createElement("td",null,f.default.createElement(X,{target:"_blank",href:cr(R)},L||R))),F?f.default.createElement("tr",{className:"property"},f.default.createElement("td",null,"deprecated:"),f.default.createElement("td",null,"true")):null,S&&S.size?S.entrySeq().filter((([,V])=>(!V.get("readOnly")||g)&&(!V.get("writeOnly")||y))).map((([V,me])=>{let ve=v()&&me.get("deprecated"),Me=z.List.isList(k)&&k.contains(V),Be=["property-row"];return ve&&Be.push("deprecated"),Me&&Be.push("required"),f.default.createElement("tr",{key:V,className:Be.join(" ")},f.default.createElement("td",null,V,Me&&f.default.createElement("span",{className:"star"},"*")),f.default.createElement("td",null,f.default.createElement(re,(0,It.default)({key:`object-${r}-${V}_${me}`},p,{required:Me,getComponent:i,specPath:c.push("properties",V),getConfigs:a,schema:me,depth:o+1}))))})).toArray():null,_.size===0?null:f.default.createElement(f.default.Fragment,null,f.default.createElement("tr",null,f.default.createElement("td",null," ")),f.default.createElement(ee,{extensions:_,propClass:"extension"})),A&&A.size?f.default.createElement("tr",null,f.default.createElement("td",null,"< * >:"),f.default.createElement("td",null,f.default.createElement(re,(0,It.default)({},p,{required:!1,getComponent:i,specPath:c.push("additionalProperties"),getConfigs:a,schema:A,depth:o+1})))):null,ue?f.default.createElement("tr",null,f.default.createElement("td",null,"allOf ->"),f.default.createElement("td",null,ue.map(((V,me)=>f.default.createElement("div",{key:me},f.default.createElement(re,(0,It.default)({},p,{required:!1,getComponent:i,specPath:c.push("allOf",me),getConfigs:a,schema:V,depth:o+1}))))))):null,ye?f.default.createElement("tr",null,f.default.createElement("td",null,"anyOf ->"),f.default.createElement("td",null,ye.map(((V,me)=>f.default.createElement("div",{key:me},f.default.createElement(re,(0,It.default)({},p,{required:!1,getComponent:i,specPath:c.push("anyOf",me),getConfigs:a,schema:V,depth:o+1}))))))):null,he?f.default.createElement("tr",null,f.default.createElement("td",null,"oneOf ->"),f.default.createElement("td",null,he.map(((V,me)=>f.default.createElement("div",{key:me},f.default.createElement(re,(0,It.default)({},p,{required:!1,getComponent:i,specPath:c.push("oneOf",me),getConfigs:a,schema:V,depth:o+1}))))))):null,te?f.default.createElement("tr",null,f.default.createElement("td",null,"not ->"),f.default.createElement("td",null,f.default.createElement("div",null,f.default.createElement(re,(0,It.default)({},p,{required:!1,getComponent:i,specPath:c.push("not"),getConfigs:a,schema:te,depth:o+1}))))):null))),f.default.createElement("span",{className:"brace-close"},"}")),P.size?P.entrySeq().map((([V,me])=>f.default.createElement(Z,{key:`${V}-${me}`,propKey:V,propVal:me,propClass:"property"}))):null)}}class bde extends f.Component{render(){let{getComponent:e,getConfigs:r,schema:n,depth:s,exp
239andDepth:i,name:a,displayName:o,specPath:u}=this.props,l=n.get("description"),c=n.get("items"),p=n.get("title")||o||a,m=n.filter(((S,A)=>["type","items","description","$$ref","externalDocs"].indexOf(A)===-1)),d=n.getIn(["externalDocs","url"]),g=n.getIn(["externalDocs","description"]);const y=e("Markdown",!0),v=e("ModelCollapse"),E=e("Model"),b=e("Property"),_=e("Link"),w=p&&f.default.createElement("span",{className:"model-title"},f.default.createElement("span",{className:"model-title__text"},p));return f.default.createElement("span",{className:"model"},f.default.createElement(v,{title:w,expanded:s<=i,collapsedContent:"[...]"},"[",m.size?m.entrySeq().map((([S,A])=>f.default.createElement(b,{key:`${S}-${A}`,propKey:S,propVal:A,propClass:"property"}))):null,l?f.default.createElement(y,{source:l}):m.size?f.default.createElement("div",{className:"markdown"}):null,d&&f.default.createElement("div",{className:"external-docs"},f.default.createElement(_,{target:"_blank",href:cr(d)},g||d)),f.default.createElement("span",null,f.default.createElement(E,(0,It.default)({},this.props,{getConfigs:r,specPath:u.push("items"),name:null,schema:c,required:!1,depth:s+1}))),"]"))}}const pc="property primitive";class Ede extends f.Component{render(){let{schema:e,getComponent:r,getConfigs:n,name:s,displayName:i,depth:a,expandDepth:o}=this.props;const{showExtensions:u}=n();if(!e||!e.get)return f.default.createElement("div",null);let l=e.get("type"),c=e.get("format"),p=e.get("xml"),m=e.get("enum"),d=e.get("title")||i||s,g=e.get("description");const y=Di(e);let v=e.filter(((F,R)=>["enum","type","format","description","$$ref","externalDocs"].indexOf(R)===-1)).filterNot(((F,R)=>y.has(R))),E=e.getIn(["externalDocs","url"]),b=e.getIn(["externalDocs","description"]);const _=r("Markdown",!0),w=r("EnumModel"),S=r("Property"),A=r("ModelCollapse"),I=r("Link"),k=r("ModelExtensions"),P=d&&f.default.createElement("span",{className:"model-title"},f.default.createElement("span",{className:"model-title__text"},d));return f.default.createElement("span",{className:"model"},f.default.createElement(A,{title:P,expanded:a<=o,collapsedContent:"[...]"},f.default.createElement("span",{className:"prop"},s&&a>1&&f.default.createElement("span",{className:"prop-name"},d),f.default.createElement("span",{className:"prop-type"},l),c&&f.default.createElement("span",{className:"prop-format"},"($",c,")"),v.size?v.entrySeq().map((([F,R])=>f.default.createElement(S,{key:`${F}-${R}`,propKey:F,propVal:R,propClass:pc}))):null,u&&y.size>0?f.default.createElement(k,{extensions:y,propClass:`${pc} extension`}):null,g?f.default.createElement(_,{source:g}):null,E&&f.default.createElement("div",{className:"external-docs"},f.default.createElement(I,{target:"_blank",href:cr(E)},b||E)),p&&p.size?f.default.createElement("span",null,f.default.createElement("br",null),f.default.createElement("span",{className:pc},"xml:"),p.entrySeq().map((([F,R])=>f.default.createElement("span",{key:`${F}-${R}`,className:pc},f.default.createElement("br",null),"   ",F,": ",String(R)))).toArray()):null,m&&f.default.createElement(w,{value:m,getComponent:r}))))}}class Sde extends f.default.Component{UNSAFE_componentWillMount(){let{schemes:e}=this.props;this.setScheme(e.first())}UNSAFE_componentWillReceiveProps(e){this.props.currentScheme&&e.schemes.includes(this.props.currentScheme)||this.setScheme(e.schemes.first())}onChange=e=>{this.setScheme(e.target.value)};setScheme=e=>{let{path:r,method:n,specActions:s}=this.props;s.setScheme(e,r,n)};render(){let{schemes:e,currentScheme:r}=this.props;return f.default.createElement("label",{htmlFor:"schemes"},f.default.createElement("span",{className:"schemes-title"},"Schemes"),f.default.createElement("select",{onChange:this.onChange,value:r,id:"schemes"},e.valueSeq().map((n=>f.default.createElement("option",{value:n,key:n},n))).toArray()))}}class _de extends f.default.Component{render(){const{specActions:e,specSelectors:r,getComponent:n}=this.props,s=r.operationScheme(),i=r.schemes(),a=n("schemes");return i&&i.size?f.default.createElement(a,{currentScheme:s,schemes:i,specActions:e}):null}}var z6=(function(t){var e={};return be.d(e,t),e})({default:function(){return JJ}});const ya={value:"",onChange:()=>{},schema:{},keyName:"",required:!1,errors:(0,z.List)()};class wde extends f.Component{static defaultProps=ya;componentDidMount(){const{dispatchInitialValue:e,value:r,onChange:n}=this.props;e?n(r):e===!1&&n("")}render(){let{schema:e,errors:r,value:n,onChange:s,getComponent:i,fn:a,disabled:o}=this.props;const u=e&&e.get?e.get("format"):null,l=e&&e.get?e.get("type"):null,c=a.getSchemaObjectType(e),p=a.isFileUploadIntended(e);let m=g=>i(g,!1,{failSilently:!0}),d=l?m(u?`JsonSchema_${l}_${u}`:`JsonSchema_${l}`):i("JsonSchema_string");return p||!z.List.isList(l)||c!=="array"&&c!=="object"||(d=i("JsonSchema_object")),d||(d=i("JsonSchema_string")),f.default.createElement(d,(0,It.default)({},this.props,{errors:r,fn:a,getComponent:i,value:n,onChange:s,schema:e,disabled:o}))}}class xde extends f.Component{static defaultProps=ya;onChange=e=>{const r=this.props.schema&&this.props.schema.get("type")==="file"?e.target.files[0]:e.target.value;this.props.onChange(r,this.props.keyName)};onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:r,schema:n,errors:s,required:i,description:a,disabled:o}=this.props;const u=n&&n.get?n.get("enum"):null,l=n&&n.get?n.get("format"):null,c=n&&n.get?n.get("type"):null,p=n&&n.get?n.get("in"):null;if(r?(Cl(r)||typeof r=="object")&&(r=Cr(r)):r="",s=s.toJS?s.toJS():[],u){const g=e("Select");
239return f.default.createElement(g,{className:s.length?"invalid":"",title:s.length?s:"",allowedValues:[...u],value:r,allowEmptyValue:!i,disabled:o,onChange:this.onEnumChange})}const m=o||p&&p==="formData"&&!("FormData"in window),d=e("Input");return c&&c==="file"?f.default.createElement(d,{type:"file",className:s.length?"invalid":"",title:s.length?s:"",onChange:this.onChange,disabled:m}):f.default.createElement(z6.default,{type:l&&l==="password"?"password":"text",className:s.length?"invalid":"",title:s.length?s:"",value:r,minLength:0,debounceTimeout:350,placeholder:a,onChange:this.onChange,disabled:m})}}class Ade extends f.PureComponent{static defaultProps=ya;constructor(e,r){super(e,r),this.state={value:CS(e.value),schema:e.schema}}UNSAFE_componentWillReceiveProps(e){const r=CS(e.value);r!==this.state.value&&this.setState({value:r}),e.schema!==this.state.schema&&this.setState({schema:e.schema})}onChange=()=>{this.props.onChange(this.state.value)};onItemChange=(e,r)=>{this.setState((({value:n})=>({value:n.set(r,e)})),this.onChange)};removeItem=e=>{this.setState((({value:r})=>({value:r.delete(e)})),this.onChange)};addItem=()=>{const{fn:e}=this.props;let r=CS(this.state.value);this.setState((()=>({value:r.push(e.getSampleSchema(this.state.schema.get("items"),!1,{includeWriteOnly:!0}))}
239)),this.onChange)};onEnumChange=e=>{this.setState((()=>({value:e})),this.onChange)};render(){let{getComponent:e,required:r,schema:n,errors:s,fn:i,disabled:a}=this.props;s=s.toJS?s.toJS():Array.isArray(s)?s:[];const o=s.filter((S=>typeof S=="string")),u=s.filter((S=>S.needRemove!==void 0)).map((S=>S.error)),l=this.state.value,c=!!(l&&l.count&&l.count()>0),p=n.getIn(["items","enum"]),m=n.get("items"),d=i.getSchemaObjectType(m),g=i.getSchemaObjectTypeLabel(m),y=n.getIn(["items","format"]),v=n.get("items");let E,b=!1,_=d==="file"||d==="string"&&y==="binary";if(d&&y?E=e(`JsonSchema_${d}_${y}`):d!=="boolean"&&d!=="array"&&d!=="object"||(E=e(`JsonSchema_${d}`)),!z.List.isList(m?.get("type"))||d!=="array"&&d!=="object"||(E=e("JsonSchema_object")),E||_||(b=!0),p){const S=e("Select");return f.default.createElement(S,{className:s.length?"invalid":"",title:s.length?s:"",multiple:!0,value:l,disabled:a,allowedValues:p,allowEmptyValue:!r,onChange:this.onEnumChange})}const w=e("Button");return f.default.createElement("div",{className:"json-schema-array"},c?l.map(((S,A)=>{const I=(0,z.fromJS)([...s.filter((k=>k.index===A)).map((k=>k.error))]);return f.default.createElement("div",{key:A,className:"json-schema-form-item"},_?f.default.createElement(J6,{value:S,onChange:k=>this.onItemChange(k,A),disabled:a,errors:I,getComponent:e}):b?f.default.createElement(W6,{value:S,onChange:k=>this.onItemChange(k,A),disabled:a,errors:I}):f.default.createElement(E,(0,It.default)({},this.props,{value:S,onChange:k=>this.onItemChange(k,A),disabled:a,errors:I,schema:v,getComponent:e,fn:i})),a?null:f.default.createElement(w,{className:`btn btn-sm json-schema-form-item-remove ${u.length?"invalid":null}`,title:u.length?u:"",onClick:()=>this.removeItem(A)}," - "))})):null,a?null:f.default.createElement(w,{className:`btn btn-sm json-schema-form-item-add ${o.length?"invalid":null}`,title:o.length?o:"",onClick:this.addItem},"Add ",g," item"))}}class W6 extends f.Component{static defaultProps=ya;onChange=e=>{const r=e.target.value;this.props.onChange(r,this.props.keyName)};render(){let{value:e,errors:r,description:n,disabled:s}=this.props;return e?(Cl(e)||typeof e=="object")&&(e=Cr(e)):e="",r=r.toJS?r.toJS():[],f.default.createElement(z6.default,{type:"text",className:r.length?"invalid":"",title:r.length?r:"",value:e,minLength:0,debounceTimeout:350,placeholder:n,onChange:this.onChange,disabled:s})}}class J6 extends f.Component{static defaultProps=ya;onFileChange=e=>{const r=e.target.files[0];this.props.onChange(r,this.props.keyName)};render(){let{getComponent:e,errors:r,disabled:n}=this.props;const s=e("Input"),i=n||!("FormData"in window);return f.default.createElement(s,{type:"file",className:r.length?"invalid":"",title:r.length?r:"",onChange:this.onFileChange,disabled:i})}}class Ode extends f.Component{static defaultProps=ya;onEnumChange=e=>this.props.onChange(e);render(){let{getComponent:e,value:r,errors:n,schema:s,required:i,disabled:a}=this.props;n=n.toJS?n.toJS():[];let o=s&&s.get?s.get("enum"):null,u=!o||!i,l=!o&&["true","false"];const c=e("Select");return f.default.createElement(c,{className:n.length?"invalid":"",title:n.length?n:"",value:String(r),disabled:a,allowedValues:o?[...o]:l,allowEmptyValue:u,onChange:this.onEnumChange})}}const Cde=t=>t.map((e=>{const r=e.propKey!==void 0?e.propKey:e.index;let n=typeof e=="string"?e:typeof e.error=="string"?e.error:null;if(!r&&n)return n;let s=e.error,i=`/${e.propKey}`;for(;typeof s=="object";){const a=s.propKey!==void 0?s.propKey:s.index;if(a===void 0||(i+=`/${a}`,!s.error))break;s=s.error}return`${i}: ${s}`}));class Rde extends f.PureComponent{constructor(){super()}static defaultProps=ya;onChange=e=>{this.props.onChange(e)};handleOnChange=e=>{const r=e.target.value;this.onChange(r)};render(){let{getComponent:e,value:r,errors:n,disabled:s}=this.props;const i=e("TextArea");return n=n.toJS?n.toJS():Array.isArray(n)?n:[],f.default.createElement("div",null,f.default.createElement(i,{className:(0,Tt.default)({invalid:n.length}),title:n.length?Cde(n).join(", "):"",value:Cr(r),disabled:s,onChange:this.handleOnChange}))}}function CS(t){return z.List.isList(t)?t:Array.isArray(t)?(0,z.fromJS)(t):(0,z.List)()}const Ide=({extensions:t,propClass:e=""})=>t.entrySeq().map((([r,n])=>{const s=Za(n)??null;return f.default.createElement("tr",{key:r,className:e},f.default.createElement("td",null,r),f.default.createElement("td",null,JSON.stringify(s)))})).toArray();var Gs=(function(t){var e={};return be.d(e,t),e})({default:function(){return KJ}});const Tde=(t,e)=>{const r=z.Map.isMap(t);if(!r&&!(0,Gs.default)(t))return!1;const n=r?t.get("type"):t.type;return e===n||Array.isArray(e)&&e.includes(n)},H6=(t,e=new WeakSet)=>{if(t==null||e.has(t))return"any";e.add(t);const{type:r,items:n}=t;return Object.hasOwn(t,"items")?n?`array<${H6(n,e)}>`:"array<any>":r},kde=t=>H6(Za(t));var K6=()=>({components:{modelExample:fde,ModelWrapper:pde,ModelCollapse:cA,Model:hde,Models:mde,EnumModel:gde,ObjectModel:vde,ArrayModel:bde,PrimitiveModel:Ede,ModelExtensions:Ide,schemes:Sde,SchemesContainer:_de,...j1},fn:{hasSchemaType:Tde,getSchemaObjectTypeLabel:kde}}),Pde=be(123),G6=be.n(Pde),Y6=(function(t){var e={};return be.d(e,t),e})({default:function(){return tH}}),_s=(function(t){var e={};return be.d(e,t),e})({default:function(){return sH}});const RS=t=>e=>Array.isArray(t)&&Array.isArray(e)&&t.length===e.length&&t.every(((r,n)=>r===e[n])),jde=(...t)=>t;class Nde extends Map{delete(e){const r=Array.from(this.keys()).find(RS(e));return super.delete(r)}get(e){const r=Array.from(this.keys()).find(RS(e));return super.get(r)}has(e){return Array.from(this.keys()).findIndex(RS(e))!==-1}}var Il=(t,e=jde)=>{const{Cache:r}=Vo.default;Vo.default.Cache=Nde;const n=(0,Vo.default)(t,e);return Vo.default.Cache=r,n};const KD={string:t=>t.pattern?(e=>{try{const r=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),n=e.replace(r,"100"),s=new Y6.default(n);return s.max=100,s.gen()}catch{return"string"}})(t.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:()=>
239"3fa85f64-5717-4562-b3fc-2c963f66afa6",string_hostname:()=>"example.com",string_ipv4:()=>"198.51.100.42",string_ipv6:()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",number:()=>0,number_float:()=>0,integer:()=>0,boolean:t=>typeof t.default!="boolean"||t.default},GD=t=>{t=Wi(t);let{type:e,format:r}=t,n=KD[`${e}_${r}`]||KD[e];return Ks(n)?n(t):"Unknown Type: "+t.type},Mde=t=>A6(t,"$$ref",(e=>typeof e=="string"&&e.indexOf("#")>-1)),X6=["maxProperties","minProperties"],Z6=["minItems","maxItems"],Q6=["minimum","maximum","exclusiveMinimum","exclusiveMaximum"],Dde=["minLength","maxLength"],Ua=(t,e,r={})=>{const n={...t};if(["example","default","enum","xml","type",...X6,...Z6,...Q6,...Dde].forEach((s=>(i=>{n[i]===void 0&&e[i]!==void 0&&(n[i]=e[i])})(s))),e.required!==void 0&&Array.isArray(e.required)&&(n.required!==void 0&&n.required.length||(n.required=[]),e.required.forEach((s=>{n.required.includes(s)||n.required.push(s)}))),e.properties){n.properties||(n.properties={});let s=Wi(e.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],!e.required&&Array.isArray(e.required)&&e.required.indexOf(i)!==-1&&(n.required?n.required.push(i):n.required=[i])))}return e.items&&(n.items||(n.items={}),n.items=Ua(n.items,e.items,r)),n},Pn=(t,e={},r=void 0,n=!1)=>{t&&Ks(t.toJS)&&(t=t.toJS());let s=r!==void 0||t&&t.example!==void 0||t&&t.default!==void 0;const i=!s&&t&&t.oneOf&&t.oneOf.length>0,a=!s&&t&&t.anyOf&&t.anyOf.length>0;if(!s&&(i||a)){const M=Wi(i?t.oneOf[0]:t.anyOf[0]);if(!(t=Ua(t,M,e)).xml&&M.xml&&(t.xml=M.xml),t.example!==void 0&&M.example!==void 0)s=!0;else if(M.properties){t.properties||(t.properties={});let G=Wi(M.properties);for(let re in G)Object.prototype.hasOwnProperty.call(G,re)&&(G[re]&&G[re].deprecated||G[re]&&G[re].readOnly&&!e.includeReadOnly||G[re]&&G[re].writeOnly&&!e.includeWriteOnly||t.properties[re]||(t.properties[re]=G[re],!M.required&&Array.isArray(M.required)&&M.required.indexOf(re)!==-1&&(t.required?t.required.push(re):t.required=[re])))}}const o={};let{xml:u,type:l,example:c,properties:p,additionalProperties:m,items:d}=t||{},{includeReadOnly:g,includeWriteOnly:y}=e;u=u||{};let v,{name:E,prefix:b,namespace:_}=u,w={};n&&(E=E||"notagname",v=(b?b+":":"")+E,_)&&(o[b?"xmlns:"+b:"xmlns"]=_),n&&(w[v]=[]);const S=M=>M.some((G=>Object.prototype.hasOwnProperty.call(t,G)));t&&!l&&(p||m||S(X6)?l="object":d||S(Z6)?l="array":S(Q6)?(l="number",t.type="number"):s||t.enum||(l="string",t.type="string"));const A=M=>{if(t?.maxItems!=null&&(M=M.slice(0,t?.maxItems)),t?.minItems!=null){let G=0;for(;M.length<t?.minItems;)M.push(M[G++%M.length])}return M},I=Wi(p);let k,P=0;const F=()=>t&&t.maxProperties!==null&&t.maxProperties!==void 0&&P>=t.maxProperties,R=M=>!t||t.maxProperties===null||t.maxProperties===void 0||!F()&&(!(G=>!(t&&t.required&&t.required.length&&t.required.includes(G)))(M)||t.maxPro
239perties-P-(()=>{if(!t||!t.required)return 0;let G=0;return n?t.required.forEach((re=>G+=w[re]===void 0?0:1)):t.required.forEach((re=>G+=w[v]?.find((K=>K[re]!==void 0))===void 0?0:1)),t.required.length-G})()>0);if(k=n?(M,G=void 0)=>{if(t&&I[M]){if(I[M].xml=I[M].xml||{},I[M].xml.attribute){const K=Array.isArray(I[M].enum)?I[M].enum[0]:void 0,Z=I[M].example,X=I[M].default;return void(o[I[M].xml.name||M]=Z!==void 0?Z:X!==void 0?X:K!==void 0?K:GD(I[M]))}I[M].xml.name=I[M].xml.name||M}else I[M]||m===!1||(I[M]={xml:{name:M}});let re=Pn(t&&I[M]||void 0,e,G,n);R(M)&&(P++,Array.isArray(re)?w[v]=w[v].concat(re):w[v].push(re))}:(M,G)=>{if(R(M)){if(Object.prototype.hasOwnProperty.call(t,"discriminator")&&t.discriminator&&Object.prototype.hasOwnProperty.call(t.discriminator,"mapping")&&t.discriminator.mapping&&Object.prototype.hasOwnProperty.call(t,"$$ref")&&t.$$ref&&t.discriminator.propertyName===M){for(let re in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[re])!==-1){w[M]=re;break}}else w[M]=Pn(I[M],e,G,n);P++}},s){let M;if(M=Mde(r!==void 0?r:c!==void 0?c:t.default),!n){if(typeof M=="number"&&l==="string")return`${M}`;if(typeof M!="string"||l==="string")return M;try{return JSON.parse(M)}catch{return M}}if(t||(l=Array.isArray(M)?"array":typeof M),l==="array"){if(!Array.isArray(M)){if(typeof M=="string")return M;M=[M]}const G=t?t.items:void 0;G&&(G.xml=G.xml||u||{},G.xml.name=G.xml.name||u.name);let re=M.map((K=>Pn(G,e,K,n)));return re=A(re),u.wrapped?(w[v]=re,(0,_s.default)(o)||w[v].push({_attr:o})):w=re,w}if(l==="object"){if(typeof M=="string")return M;for(let G in M)Object.prototype.hasOwnProperty.call(M,G)&&(t&&I[G]&&I[G].readOnly&&!g||t&&I[G]&&I[G].writeOnly&&!y||(t&&I[G]&&I[G].xml&&I[G].xml.attribute?o[I[G].xml.name||G]=M[G]:k(G,M[G])));return(0,_s.default)(o)||w[v].push({_attr:o}),w}return w[v]=(0,_s.default)(o)?M:[{_attr:o},M],w}if(l==="object"){for(let M in I)Object.prototype.hasOwnProperty.call(I,M)&&(I[M]&&I[M].deprecated||I[M]&&I[M].readOnly&&!g||I[M]&&I[M].writeOnly&&!y||k(M));if(n&&o&&w[v].push({_attr:o}),F())return w;if(m===!0)n?w[v].push({additionalProp:"Anything can be here"}):w.additionalProp1={},P++;else if(m){const M=Wi(m),G=Pn(M,e,void 0,n);if(n&&M.xml&&M.xml.name&&M.xml.name!=="notagname")w[v].push(G);else{const re=M["x-additionalPropertiesName"]||"additionalProp",K=t.minProperties!==null&&t.minProperties!==void 0&&P<t.minProperties?t.minProperties-P:3;for(let Z=1;Z<=K;Z++){if(F())return w;if(n){const X={};X[re+Z]=G.notagname,w[v].push(X)}else w[re+Z]=G;P++}}}return w}if(l==="array"){if(!d)return;let M;if(n&&(d.xml=d.xml||t?.xml||{},d.xml.name=d.xml.name||u.name),Array.isArray(d.anyOf))M=d.anyOf.map((G=>Pn(Ua(G,d,e),e,void 0,n)));else if(Array.isArray(d.oneOf))M=d.oneOf.map((G=>Pn(Ua(G,d,e),e,void 0,n)));else{if(!(!n||n&&u.wrapped))return Pn(d,e,void 0,n);M=[Pn(d,e,void 0,n)]}return M=A(M),n&&u.wrapped?(w[v]=M,(0,_s.default)(o)||w[v].push({_attr:o}),w):M}let L;if(t&&Array.isArray(t.enum))L=ga(t.enum)[0];else{if(!t)return;if(L=GD(t),typeof L=="number"){let M=t.minimum;M!=null&&(t.exclusiveMinimum&&M++,L=M);let G=t.maximum;G!=null&&(t.exclusiveMaximum&&G--,L=G)}if(typeof L=="string"&&(t.maxLength!==null&&t.maxLength!==void 0&&(L=L.slice(0,t.maxLength)),t.minLength!==null&&t.minLength!==void 0)){let M=0;for(;L.length<t.minLength;)L+=L[M++%L.length]}}if(l!=="file")return n?(w[v]=(0,_s.default)(o)?L:[{_attr:o},L],w):L},YD=t=>(t.schema&&(t=t.schema),t.properties&&(t.type="object"),t),Y1=(t,e,r)=>{const n=Pn(t,e,r,!0);if(n)return typeof n=="string"?n:G6()(n,{declaration:!0,indent:"	"})},X1=(t,e,r)=>Pn(t,e,r,!1),e8=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],XD=Il(Y1,e8),ZD=Il(X1,e8),Fde=t=>Za(t)?.type??"string",qde=[{when:/json/,shouldStringifyTypes:["string"]}],Bde=["object"];var Lde=t=>(e,r,n,s)=>{const{fn:i}=t(),a=i.memoizedSampleFromSchema(e,r,s),o=typeof a,u=qde.reduce(((l,c)=>c.when.test(n)?[...l,...c.shouldStringifyTypes]:l),Bde);return(0,_6.default)(u,(l=>l===o))?JSON.stringify(a,null,2):a},$de=t=>(e,r,n,s)=>{const{fn:i}=t(),a=i.getJsonSampleSchema(e,r,n,s);let o;try{o=Ws.default.dump(Ws.default.load(a),{lineWidth:-1},{schema:Ws.JSON_SCHEMA}),o[o.length-1]===`
240`&&(o=o.slice(0,o.length-1))}catch(u){return console.error(u),"error: could not generate yaml example"}return o.replace(/\t/g,"  ")},Ude=t=>(e,r,n)=>{const{fn:s}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
241<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let i=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=i[1]}}return s.memoizedCreateXMLExample(e,r,n)},Vde=t=>(e,r="",n={},s=void 0)=>{const{fn:i}=t();return typeof e?.toJS=="function"&&(e=e.toJS()),typeof s?.toJS=="function"&&(s=s.toJS()),/xml/.test(r)?i.getXmlSampleSchema(e,n,s):/(yaml|yml)/.test(r)?i.getYamlSampleSchema(e,n,r,s
vendor: 8,066 bytes, line 241
241):i.getJsonSampleSchema(e,n,r,s)},t8=({getSystem:t})=>{const e=Lde(t),r=$de(t),n=Ude(t),s=Vde(t);return{fn:{jsonSchema5:{inferSchema:YD,sampleFromSchema:X1,sampleFromSchemaGeneric:Pn,createXMLExample:Y1,memoizedSampleFromSchema:ZD,memoizedCreateXMLExample:XD,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:s,mergeJsonSchema:Ua},inferSchema:YD,sampleFromSchema:X1,sampleFromSchemaGeneric:Pn,createXMLExample:Y1,memoizedSampleFromSchema:ZD,memoizedCreateXMLExample:XD,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:s,mergeJsonSchema:Ua,getSchemaObjectType:Fde}}},Mp=(function(t){var e={};return be.d(e,t),e})({default:function(){return aH}});const zde=["get","put","post","delete","options","head","patch","trace"],js=t=>t||(0,z.Map)(),Wde=(0,at.createSelector)(js,(t=>t.get("lastError"))),Jde=(0,at.createSelector)(js,(t=>t.get("url"))),Hde=(0,at.createSelector)(js,(t=>t.get("spec")||"")),Kde=(0,at.createSelector)(js,(t=>t.get("specSource")||"not-editor")),fA=(0,at.createSelector)(js,(t=>t.get("json",(0,z.Map)()))),Gde=(0,at.createSelector)(fA,(t=>t.toJS())),Yde=(0,at.createSelector)(js,(t=>t.get("resolved",(0,z.Map)()))),Xde=(t,e)=>t.getIn(["resolvedSubtrees",...e],void 0),r8=(t,e)=>z.Map.isMap(t)&&z.Map.isMap(e)?e.get("$$ref")?e:(0,z.OrderedMap)().mergeWith(r8,t,e):e,cs=(0,at.createSelector)(js,(t=>(0,z.OrderedMap)().mergeWith(r8,t.get("json"),t.get("resolvedSubtrees")))),ln=t=>fA(t),Zde=(0,at.createSelector)(ln,(()=>!1)),n8=(0,at.createSelector)(ln,(t=>S8(t&&t.get("info")))),Qde=(0,at.createSelector)(ln,(t=>S8(t&&t.get("externalDocs")))),s8=(0,at.createSelector)(n8,(t=>t&&t.get("version"))),ehe=(0,at.createSelector)(s8,(t=>/v?([0-9]*)\.([0-9]*)\.([0-9]*)/i.exec(t).slice(1))),i8=(0,at.createSelector)(cs,(t=>t.get("paths"))),the=(0,Mp.default)(["get","put","post","delete","options","head","patch"]),a8=(0,at.createSelector)(i8,(t=>{let e=(0,z.List)();return!z.Map.isMap(t)||t.isEmpty()||t.forEach(((r,n)=>{if(!r||!r.forEach)return{};r.forEach(((s,i)=>{zde.indexOf(i)<0||(e=e.push((0,z.fromJS)({path:n,method:i,operation:s,id:`${i}-${n}`})))}))})),e})),o8=(0,at.createSelector)(ln,(t=>(0,z.Set)(t.get("consumes")))),u8=(0,at.createSelector)(ln,(t=>(0,z.Set)(t.get("produces")))),rhe=(0,at.createSelector)(ln,(t=>t.get("security",(0,z.List)()))),nhe=(0,at.createSelector)(ln,(t=>t.get("securityDefinitions"))),she=(t,e)=>{const r=t.getIn(["resolvedSubtrees","definitions",e],null),n=t.getIn(["json","definitions",e],null);return r||n||null},ihe=(0,at.createSelector)(ln,(t=>{const e=t.get("definitions");return z.Map.isMap(e)?e:(0,z.Map)()})),ahe=(0,at.createSelector)(ln,(t=>t.get("basePath"))),ohe=(0,at.createSelector)(ln,(t=>t.get("host"))),uhe=(0,at.createSelector)(ln,(t=>t.get("schemes",(0,z.Map)()))),l8=(0,at.createSelector)([a8,o8,u8],((t,e,r)=>t.map((n=>n.update("operation",(s=>z.Map.isMap(s)?s.withMutations((i=>(i.get("consumes")||i.update("consumes",(a=>(0,z.Set)(a).merge(e))),i.get("produces")||i.update("produces",(a=>(0,z.Set)(a).merge(r))),i))):(0,z.Map)())))))),pA=(0,at.createSelector)(ln,(t=>{const e=t.get("tags",(0,z.List)());return z.List.isList(e)?e.filter((r=>z.Map.isMap(r))):(0,z.List)()})),c8=(t,e)=>(pA(t)||(0,z.List)()).filter(z.Map.isMap).find((r=>r.get("name")===e),(0,z.Map)()),f8=(0,at.createSelector)(l8,pA,((t,e)=>t.reduce(((r,n)=>{let s=(0,z.Set)(n.getIn(["operation","tags"]));return s.count()<1?r.update("default",(0,z.List)(),(i=>i.push(n))):s.reduce(((i,a)=>i.update(a,(0,z.List)(),(o=>o.push(n)))),r)}),e.reduce(((r,n)=>r.set(n.get("name"),(0,z.List)())),(0,z.OrderedMap)())))),lhe=t=>({getConfigs:e})=>{let{tagsSorter:r,operationsSorter:n}=e();return f8(t).sortBy(((s,i)=>i),((s,i)=>{let a=typeof r=="function"?r:DD.tagsSorter[r];return a?a(s,i):null})).map(((s,i)=>{let a=typeof n=="function"?n:DD.operationsSorter[n],o=a?s.sort(a):s;return(0,z.Map)({tagDetails:c8(t,i),operations:o})}))},p8=(0,at.createSelector)(js,(t=>t.get("responses",(0,z.Map)()))),d8=(0,at.createSelector)(js,(t=>t.get("requests",(0,z.Map)()))),h8=(0,at.createSelector)(js,(t=>t.get("mutatedRequests",(0,z.Map)()))),che=(t,e,r)=>p8(t).getIn([e,r],null),fhe=(t,e,r)=>d8(t).getIn([e,r],null),phe=(t,e,r)=>h8(t).getIn([e,r],null),dhe=()=>!0,dA=(t,e,r)=>{const n=cs(t).getIn(["paths",...e,"parameters"],(0,z.OrderedMap)()),s=t.getIn(["meta","paths",...e,"parameters"],(0,z.OrderedMap)());return n.map((i=>{const a=s.get(`${r.get("in")}.${r.get("name")}`),o=s.get(`${r.get("in")}.${r.get("name")}.hash-${r.hashCode()}`);return(0,z.OrderedMap)().merge(i,a,o)})).find((i=>i.get("in")===r.get("in")&&i.get("name")===r.get("name")),(0,z.OrderedMap)())},m8=(t,e,r,n)=>{const s=`${n}.${r}`;return t.getIn(["meta","paths",...e,"parameter_inclusions",s],!1)},hhe=(t,e,r,n)=>{const s=cs(t).getIn(["paths",...e,"parameters"],(0,z.OrderedMap)()).find((i=>i.get("in")===n&&i.get("name")===r),(0,z.OrderedMap)());return dA(t,e,s)},g8=(t,e,r)=>{const n=cs(t).getIn(["paths",e,r],(0,z.OrderedMap)()),s=t.getIn(["meta","paths",e,r],(0,z.OrderedMap)()),i=n.get("parameters",(0,z.List)()).map((a=>dA(t,[e,r],a)));return(0,z.OrderedMap)().merge(n,s).set("parameters",i)};function mhe(t,e,r,n){return e=e||[],t.getIn(["meta","paths",...e,"parameters"],(0,z.fromJS)([])).find((s=>z.Map.isMap(s)&&s.get("name")===r&&s.get("in")===n))||(0,z.Map)()}const ghe=(0,at.createSelector)(ln,(t=>{const e=t.get("host");return typeof e=="string"&&e.length>0&&e[0]!=="/"}));function y8(t,e,r){return e=e||[],g8(t,...e).get("parameters",(0,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((a=>a!==""))),n.set(tf(s,{allowHashes:!1}),i)}),(0,z.fromJS)({}))}function yhe(t,e=""){if(z.List.isList(t))return t.some((r=>z.Map.isMap(r)&&r.get("in")===e))}function Z1(t,e=""){if(z.List.isList(t))return t.some((r=>z.Map.isMap(r)&&r.get("type")===e))}function vhe(t,e){e=e||[];let r=cs(t).getIn(["paths",...e],(0,z.fromJS)({})),n=t.getIn(["meta","paths",...e],(0,z.fromJS)({})),s=v8(t,e);const i=r.get("parameters")||new z.List,a=n.get("consumes_value")?n.get("consumes_value"):Z1(i,"file")?"multipart/form-data":Z1(i,"formData")?"application/x-www-form-urlencoded":void 0;return(0,z.fromJS)({requestContentType:a,responseContentType:s})}function v8(t,e){e=e||[];const r=cs(t).getIn(["paths",...e],null);if(r===null)return;const n=t.getIn(["meta","paths",...e,"produces_value"],null),s=r.getIn(["produces",0],null);return n||s||"application/json"}function bhe(t,e){e=e||[];const r=cs(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[s]=e,i=n.get("produces",null),a=r.getIn(["paths",s,"produces"],null),o=r.getIn(["produces"],null);return i||a||o}function Ehe(t,e){e=e||[];const r=cs(t),n=r.getIn(["paths",...e],null);if(n===null)return;const[s]=e,i=n.get("consumes",null),a=r.getIn(["paths",s,"consumes"],null),o=r.getIn(["consumes"],null);return i||a||o}const b8=(t,e,r)=>{let n=t.get("url").match(/^([a-z][a-z0-9+\-.]*):/),s=Array.isArray(n)?n[1]:null;return t.getIn(["scheme",e,r])||t.getIn(["scheme","_defaultScheme"])||s||""},She=(t,e,r)=>["http","https"].indexOf(b8(t,e,r))>-1,E8=(t,e)=>{e=e||[];const r=t.getIn(["meta","paths",...e,"parameters"],(0,z.fromJS)([])),n=[];if(r.length===0)return n;const s=(i,a=[])=>{const o=(u,l)=>{const c=[...l,u.get("propKey")||u.get("index")];return z.Map.isMap(u.get("error"))?s(u.get("error"),c):{error:u.get("error"),path:c}};return z.List.isList(i)?i.map((u=>z.Map.isMap(u)?o(u,a):{error:u,path:a})):o(i,a)};return r.forEach(((i,a)=>{const o=a.split(".").slice(1,-1).join("."),u=i.get("errors");u&&u.count()&&s(u).forEach((({error:l,path:c})=>{n.push(((p,m,d)=>`For '${d}'${(m=m.reduce(((g,y)=>typeof y=="number"?`${g}[${y}]`:g?`${g}.${y}`:y),""))?` at path '${m}'`:""}: ${p}.`)(l,c,o))}))})),n},_he=(t,e)=>E8(t,e).length===0,whe=(t,e)=>{let r={requestBody:!1,requestContentType:{}},n=t.getIn(["resolvedSubtrees","paths",...e,"requestBody"],(0,z.fromJS)([]));return n.size<1||(n.getIn(["required"])&&(r.requestBody=n.getIn(["required"])),n.getIn(["content"]).entrySeq().forEac
241h((s=>{const i=s[0];if(s[1].getIn(["schema","required"])){const a=s[1].getIn(["schema","required"]).toJS();r.requestContentType[i]=a}}))),r},xhe=(t,e,r,n)=>{if((r||n)&&r===n)return!0;let s=t.getIn(["resolvedSubtrees","paths",...e,"requestBody","content"],(0,z.fromJS)([]));if(s.size<2||!r||!n)return!1;let i=s.getIn([r,"schema","properties"],(0,z.fromJS)([])),a=s.getIn([n,"schema","properties"],(0,z.fromJS)([]));return!!i.equals(a)};function S8(t){return z.Map.isMap(t)?t:new z.Map}var Ahe=(function(t){var e={};return be.d(e,t),e})({default:function(){return uH}}),Ohe=(function(t){var e={};return be.d(e,t),e})({default:function(){return $U}}),_8=(function(t){var e={};return be.d(e,t),e})({default:function(){return fH}}),Che=(function(t){var e={};return be.d(e,t),e})({default:function(){return WH}});const hA="spec_update_spec",mA="spec_update_url",gA="spec_update_json",Dp="spec_update_param",yA="spec_update_empty_param_inclusion",vA="spec_validate_param",bA="spec_set_response",EA="spec_set_request",SA="spec_set_mutated_request",w8="spec_log_request",_A="spec_clear_response",wA="spec_clear_request",xA="spec_clear_validate_param",Fp="spec_update_operation_meta_value",AA="spec_update_resolved",qp="spec_update_resolved_subtree",OA="set_scheme",Rhe=t=>(0,Ahe.default)(t)?t:"";function Ihe(t){const e=Rhe(t).replace(/\t/g,"  ");if(typeof t=="string")return{type:hA,payload:e}}function The(t){return{type:AA,payload:t}}function khe(t){return{type:mA,payload:t}}function Phe(t){return{type:gA,payload:t}}const jhe=t=>({specActions:e,specSelectors:r,errActions:n})=>{let{specStr:s}=r,i=null;try{t=t||s(),n.clear({source:"parser"}),i=Ws.default.load(t,{schema:Ws.JSON_SCHEMA})}catch(a){return console.error(a),n.newSpecErr({source:"parser",level:"error",message:a.reason,line:a.mark&&a.mark.line?a.mark.line+1:void 0})}return i&&typeof i=="object"?e.updateJsonSpec(i):e.updateJsonSpec({})};let QD=!1;const Nhe=(t,e)=>({specActions:r,specSelectors:n,errActions:s,fn:{fetch:i,resolve:a,AST:o={}},getConfigs:u})=>{QD||(console.warn("specActions.resolveSpec is deprecated since v3.10.0 and will be removed in v4.0.0; use requestResolvedSubtree instead!"),QD=!0);const{modelPropertyMacro:l,parameterMacro:c,requestInterceptor:p,responseInterceptor:m}=u();t===void 0&&(t=n.specJson()),e===void 0&&(e=n.url());let d=o.getLineNumberForPath?o.getLineNumberForPath:()=>{},g=n.specStr();return a({fetch:i,spec:t,baseDoc:String(new URL(e,document.baseURI)),modelPropertyMacro:l,parameterMacro:c,requestInterceptor:p,responseInterceptor:m}).then((({spec:y,errors:v})=>{if(s.clear({type:"thrown"}),Array.isArray(v)&&v.length>0){let E=v.map((b=>(console.error(b),b.line=b.fullPath?d(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(y)}))};let rf=[];const Mhe=(0,Ohe.default)((()=>{const t=rf.reduce(((e,{path:r,system:n})=>(e.has(n)||e.set(n,[]),e.get(n).push(r),e)),new Map);rf=[],t.forEach((async(e,r)=>{if(!r)return void console.error("debResolveSubtrees: don't have a system to operate on, aborting.");if(!r.fn.resolveSubtree)return void console.error("Error: Swagger-Client did not provide a `resolveSubtree` method, doing nothing.");const{errActions:n,errSelectors:s,fn:{resolveSubtree:i,fetch:a,AST:o={}},specSelectors:u,specActions:l}=r,c=o.getLineNumberForPath??(0,Mp.default)(void 0),p=u.specStr(),{modelPropertyMacro:m,parameterMacro:d,requestInterceptor:g,responseInterceptor:y}=r.getConfigs();try{const v=await e.reduce((async(E,b)=>{let{resultMap:_,specWithCurrentSubtrees:w}=await E;const{errors:S,spec:A}=await i(w,b,{baseDoc:String(new URL(u.url(),document.baseURI)),modelPropertyMacro:m,parameterMacro:d,requestInterceptor:g,responseInterceptor:y});if(s.allErrors().size&&n.clearBy((I=>I.get("type")!=="thrown"||I.get("source")!=="resolver"||!I.get("fullPath")?.every(((k,P)=>k===b[P]||b[P]===void 0)))),Array.isArray(S)&&S.length>0){let I=S.map((k=>(k.line=k.fullPath?c(p,k.fullPath):null,k.path=k.fullPath?k.fullPath.join("."):null,k.level="error",k.type="thrown",k.source="resolver",Object.defineProperty(k,"message",{enumerable:!0,value:k.message}),k)));n.newThrownErrBatch(I)}return A&&u.isOAS3()&&b[0]==="components"&&b[1]==="securitySchemes"&&await Promise.all(Object.values(A).filter((I=>I?.type==="openIdConnect")).map((async I=>{const k={url:I.openIdConnectUrl,requestInterceptor:g,responseInterceptor:y};try{const P=await a(k);P instanceof Error||P.status>=400?console.error(P.statusText+" "+k.url):I.openIdConnectData=JSON.parse(P.text)}catch(P){console.error(P)}}))),(0,_8.default)(_,b,A),w=(0,Che.default)(b,A,w),{resultMap:_,specWithCurrentSubtrees:w}}),Promise.resolve({resultMap:(u.specResolvedSubtree([])||(0,z.Map)()).toJS(),specWithCurrentSubtrees:u.specJS()}));l.updateResolvedSubtree([],v.resultMap)}catch(v){console.error(v)}}))}),35),Dhe=t=>e=>{rf.find((({path:r,system:n})=>
vendor: 5,831 bytes, lines 241-245
241n===e&&r.toString()===t.toString()))||(rf.push({path:t,system:e}),Mhe())};function Fhe(t,e,r,n,s){return{type:Dp,payload:{path:t,value:n,paramName:e,paramIn:r,isXml:s}}}function qhe(t,e,r,n){return{type:Dp,payload:{path:t,param:e,value:r,isXml:n}}}const Bhe=(t,e)=>({type:qp,payload:{path:t,value:e}}),Lhe=()=>({type:qp,payload:{path:[],value:(0,z.Map)()}}),$he=(t,e)=>({type:vA,payload:{pathMethod:t,isOAS3:e}}),Uhe=(t,e,r,n)=>({type:yA,payload:{pathMethod:t,paramName:e,paramIn:r,includeEmptyValue:n}});function Vhe(t){return{type:xA,payload:{pathMethod:t}}}function zhe(t,e){return{type:Fp,payload:{path:t,value:e,key:"consumes_value"}}}function Whe(t,e){return{type:Fp,payload:{path:t,value:e,key:"produces_value"}}}const Jhe=(t,e,r)=>({payload:{path:t,method:e,res:r},type:bA}),Hhe=(t,e,r)=>({payload:{path:t,method:e,req:r},type:EA}),Khe=(t,e,r)=>({payload:{path:t,method:e,req:r},type:SA}),Ghe=t=>({payload:t,type:w8}),Yhe=t=>({fn:e,specActions:r,specSelectors:n,getConfigs:s,oas3Selectors:i})=>{let{pathName:a,method:o,operation:u}=t,{requestInterceptor:l,responseInterceptor:c}=s(),p=u.toJS();if(u&&u.get("parameters")&&u.get("parameters").filter((g=>g&&g.get("allowEmptyValue")===!0)).forEach((g=>{if(n.parameterInclusionSettingFor([a,o],g.get("name"),g.get("in"))){t.parameters=t.parameters||{};const y=O6(g,t.parameters);(!y||y&&y.size===0)&&(t.parameters[g.get("name")]="")}})),t.contextUrl=(0,du.default)(n.url()).toString(),p&&p.operationId?t.operationId=p.operationId:p&&a&&o&&(t.operationId=e.opId(p,a,o)),n.isOAS3()){const g=`${a}:${o}`;t.server=i.selectedServer(g)||i.selectedServer();const y=i.serverVariables({server:t.server,namespace:g}).toJS(),v=i.serverVariables({server:t.server}).toJS();t.serverVariables=Object.keys(y).length?y:v,t.requestContentType=i.requestContentType(a,o),t.responseContentType=i.responseContentType(a,o)||"*/*";const E=i.requestBodyValue(a,o),b=i.requestBodyInclusionSetting(a,o);E&&E.toJS?t.requestBody=E.map((_=>z.Map.isMap(_)?_.get("value"):_)).filter(((_,w)=>(Array.isArray(_)?_.length!==0:!Kx(_))||b.get(w))).toJS():t.requestBody=E}let m=Object.assign({},t);m=e.buildRequest(m),r.setRequest(t.pathName,t.method,m),t.requestInterceptor=async g=>{let y=await l.apply(void 0,[g]),v=Object.assign({},y);return r.setMutatedRequest(t.pathName,t.method,v),y},t.responseInterceptor=c;const d=Date.now();return e.execute(t).then((g=>{g.duration=Date.now()-d,r.setResponse(t.pathName,t.method,g)})).catch((g=>{g.message==="Failed to fetch"&&(g.name="",g.message=`**Failed to fetch.**  
242**Possible Reasons:** 
243  - CORS 
244  - Network Failure 
245  - URL scheme must be "http" or "https" for CORS request.`),r.setResponse(t.pathName,t.method,{error:!0,err:g})}))},Xhe=({path:t,method:e,...r}={})=>n=>{let{fn:{fetch:s},specSelectors:i,specActions:a}=n,o=i.specJsonWithResolvedSubtrees().toJS(),u=i.operationScheme(t,e),{requestContentType:l,responseContentType:c}=i.contentTypeValues([t,e]).toJS(),p=/xml/i.test(l),m=i.parameterValues([t,e],p).toJS();return a.executeRequest({...r,fetch:s,spec:o,pathName:t,method:e,parameters:m,requestContentType:l,scheme:u,responseContentType:c})};function Zhe(t,e){return{type:_A,payload:{path:t,method:e}}}function Qhe(t,e){return{type:wA,payload:{path:t,method:e}}}function eme(t,e,r){return{type:OA,payload:{scheme:t,path:e,method:r}}}var tme={[hA]:(t,e)=>typeof e.payload=="string"?t.set("spec",e.payload):t,[mA]:(t,e)=>t.set("url",e.payload+""),[gA]:(t,e)=>t.set("json",Es(e.payload)),[AA]:(t,e)=>t.setIn(["resolved"],Es(e.payload)),[qp]:(t,e)=>{const{value:r,path:n}=e.payload;return t.setIn(["resolvedSubtrees",...n],Es(r))},[Dp]:(t,{payload:e})=>{let{path:r,paramName:n,paramIn:s,param:i,value:a,isXml:o}=e,u=i?tf(i):`${s}.${n}`;const l=o?"value_xml":"value";return t.setIn(["meta","paths",...r,"parameters",u,l],(0,z.fromJS)(a))},[yA]:(t,{payload:e})=>{let{pathMethod:r,paramName:n,paramIn:s,includeEmptyValue:i}=e;if(!n||!s)return console.warn("Warning: UPDATE_EMPTY_PARAM_INCLUSION could not generate a paramKey."),t;const a=`${s}.${n}`;return t.setIn(["meta","paths",...r,"parameter_inclusions",a],i)},[vA]:(t,{payload:{pathMethod:e,isOAS3:r}})=>{const n=cs(t).getIn(["paths",...e]),s=y8(t,e).toJS();return t.updateIn(["meta","paths",...e,"parameters"],(0,z.fromJS)({}),(i=>n.get("parameters",(0,z.List)()).reduce(((a,o)=>{const u=O6(o,s),l=m8(t,e,o.get("name"),o.get("in")),c=((p,m,{isOAS3:d=!1,bypassRequiredCheck:g=!1}={})=>{let y=p.get("required"),{schema:v,parameterContentMediaType:E}=Ic(p,{isOAS3:d});return V1(m,v,y,g,E)})(o,u,{bypassRequiredCheck:l,isOAS3:r});return a.setIn([tf(o),"errors"],(0,z.fromJS)(c))}),i)))},[xA]:(t,{payload:{pathMethod:e}})=>t.updateIn(["meta","paths",...e,"parameters"],(0,z.fromJS)([]),(r=>r.map((n=>n.set("errors",(0,z.fromJS)([])))))),[bA]:(t,{payload:{res:e,path:r,method:n}})=>{let s;s=e.error?Object.assign({error:!0,name:e.err.name,message:e.err.message,statusCode:e.err.statusCode},e.err.response):e,s.headers=s.headers||{};let i=t.setIn(["responses",r,n],Es(s));return Gt.Blob&&s.data instanceof Gt.Blob&&(i=i.setIn(["responses",r,n,"text"],s.data)),i},[EA]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["requests",r,n],Es(e)),[SA]:(t,{payload:{req:e,path:r,method:n}})=>t.setIn(["mutatedRequests",r,n],Es(e)),[Fp]:(t,{payload:{path:e,value:r,key:n}})=>{let s=["paths",...e],i=["meta","paths",...e];return t.getIn(["json",...s])||t.getIn(["resolved",...s])||t.getIn(["resolvedSubtrees",...s])?t.setIn([...i,n],(0,z.fromJS)(r)):t},[_A]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["responses",e,r]),[wA]:(t,{payload:{path:e,method:r}})=>t.deleteIn(["requests",e,r]),[OA]:(t,{payload:{scheme:e,path:r,method:n}})=>r&&n?t.setIn(["scheme",r,n],e):r||n?void 0:t.setIn(["scheme","_defaultScheme"],e)};const rme=(t,{specActions:e})=>(...r)=>{t(...r),e.parseToJson(...r)},nme=(t,{specActions:e})=>(...r)=>
245{t(...r),e.invalidateResolvedSubtreeCache();const[n]=r,s=(0,H1.default)(n,["paths"])||{};Object.keys(s).forEach((i=>{const a=(0,H1.default)(s,[i]);(0,Gs.default)(a)&&a.$ref&&e.requestResolvedSubtree(["paths",i])})),e.requestResolvedSubtree(["components","securitySchemes"])},sme=(t,{specActions:e})=>r=>(e.logRequest(r),t(r)),ime=(t,{specSelectors:e})=>r=>t(r,e.isOAS3());var x8=()=>({statePlugins:{spec:{wrapActions:{...D1},reducers:{...tme},actions:{...M1},selectors:{...N1}}}}),e3=(function(t){var e={};return be.d(e,t),e})({default:function(){return LL}}),t3=(function(t){var e={};return be.d(e,t),e})({default:function(){return VL}}),r3=(function(t){var e={};return be.d(e,t),e})({default:function(){return zL}}),n3=(function(t){var e={};return be.d(e,t),e})({default:function(){return Wie}}),ame=(function(t){var e={};return be.d(e,t),e})({makeResolve:function(){return P$}}),s3=(function(t){var e={};return be.d(e,t),e})({buildRequest:function(){return V$},execute:function(){return soe}}),IS=(function(t){var e={};return be.d(e,t),e})({default:function(){return ou},makeHttp:function(){return MQ},serializeRes:function(){return FL}}),ome=(function(t){var e={};return be.d(e,t),e})({makeResolveSubtree:function(){return coe}}),A8=(function(t){var e={};return be.d(e,t),e})({opId:function(){return Uf}});const ume=(t,e)=>(...r)=>{t(...r);const n=e.getConfigs().withCredentials;e.fn.fetch.withCredentials=n};function O8({configs:t,getConfigs:e}){return{fn:{fetch:(0,IS.makeHttp)(IS.default,t.preFetch,t.postFetch),buildRequest:s3.buildRequest,execute:s3.execute,resolve:(0,ame.makeResolve)({strategies:[n3.default,r3.default,t3.default,e3.default]}),resolveSubtree:async(r,n,s={})=>{const i=e(),a={modelPropertyMacro:i.modelPropertyMacro,parameterMacro:i.parameterMacro,requestInterceptor:i.requestInterceptor,responseInterceptor:i.responseInterceptor,strategies:[n3.default,r3.default,t3.default,e3.default]};return(0,ome.makeResolveSubtree)(a)(r,n,s)},serializeRes:IS.serializeRes,opId:A8.opId},statePlugins:{configs:{wrapActions:{loaded:ume}}}}}function C8(){return{fn:{shallowEqualKeys:qfe,sanitizeUrl:cr}}}var R8=(function(t){var e={};return be.d(e,t),e})({default:function(){return PU}}),I8=(function(t){var e={};return be.d(e,t),e})({Provider:function(){return NU},connect:function(){return jU}}),T8=(function(t){var e={};return be.d(e,t),e})({default:function(){return poe}});const lme=t=>e=>{const{fn:r}=t();class n extends f.Component{render(){return f.default.createElement(e,(0,It.default)({},t(),this.props,this.context))}}return n.displayName=`WithSystem(${r.getDisplayName(e)})`,n},cme=(t,e)=>r=>{const{fn:n}=t();class s extends f.Component{render(){return f.default.createElement(I8.Provider,{store:e},f.default.createElement(r,(0,It.default)({},this.props,this.context)))}}return s.displayName=`WithRoot(${n.getDisplayName(r)})`,s},i3=(t,e,r)=>(0,Uo.compose)(r?cme(t,r):T8.default,(0,I8.connect)(((n,s)=>{const i={...s,...t()};return(e.prototype?.mapStateToProps||(o=>({state:o})))(n,i)})),lme(t))(e),a3=(t,e,r,n)=>{for(const s in e){const i=e[s];typeof i=="function"&&i(r[s],n[s],t())}},fme=(t,e,r)=>(n,s)=>{const{fn:i}=t(),a=r(n,"root");class o extends f.Component{constructor(l,c){super(l,c),a3(t,s,l,{})}UNSAFE_componentWillReceiveProps(l){a3(t,s,l,this.props)}render(){const l=(0,tA.default)(this.props,s?Object.keys(s):[]);return f.default.createElement(a,l)}}return o.displayName=`WithMappedContainer(${i.getDisplayName(a)})`,o},pme=(t,e,r,n)=>s=>{const i=r(t,e,n)("App","root"),{createRoot:a}=R8.default;a(s).render(f.default.createElement(i,null))},Q1=(t,e,r)=>(n,s,i={})=>{if(typeof n!="string")throw new TypeError("Need a string, to fetch a component. Was given a "+typeof n);const a=r(n);return a?s?s==="root"?i3(t,a,e()):i3(t,a):a:(i.failSilently||t().log.warn("Could not find component:",n),null)},dme=t=>t.displayName||t.name||"Component";var k8=({getComponents:t,getStore:e,getSystem:r})=>{const n=(s=Q1(r,e,t),Dfe(s,((...a)=>JSON.stringify(a))));var s;const i=(a=>Il(a,((...o)=>o)))(fme(r,0,n));return{rootInjects:{getComponent:n,makeMappedContainer:i,render:pme(r,e,Q1,t)},fn:{getDisplayName:dme}}},P8=({React:t,getSystem:e,getStore:r,getComponents:n}
245)=>{const s={},i=parseInt(t?.version,10);return i>=16&&i<18&&(s.render=((a,o,u,l)=>c=>{const p=u(a,o,l)("App","root");R8.default.render(f.default.createElement(p,null),c)})(e,r,Q1,n)),{rootInjects:s}};function j8(t){let{fn:e}=t;const r={download:s=>({errActions:i,specSelectors:a,specActions:o,getConfigs:u})=>{let{fetch:l}=e;const c=u();function p(m){if(m instanceof Error||m.status>=400)return o.updateLoadingStatus("failed"),i.newThrownErr(Object.assign(new Error((m.message||m.statusText)+" "+s),{source:"fetch"})),void(!m.status&&m instanceof Error&&(function(){try{let g;if("URL"in Gt?g=new URL(s):(g=document.createElement("a"),g.href=s),g.protocol!=="https:"&&Gt.location.protocol==="https:"){const y=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(y)}if(g.origin!==Gt.location.origin){const y=Object.assign(new Error(`Possible cross-origin (CORS) issue? The URL origin (${g.origin}) does not match the page (${Gt.location.origin}). Check the server returns the correct 'Access-Control-Allow-*' headers.`),{source:"fetch"});i.newThrownErr(y)}}catch{return}})());o.updateLoadingStatus("success"),o.updateSpec(m.text),a.url()!==s&&o.updateUrl(s)}s=s||a.url(),o.updateLoadingStatus("loading"),i.clear({source:"fetch"}),l({url:s,loadSpec:!0,requestInterceptor:c.requestInterceptor||(m=>m),responseInterceptor:c.responseInterceptor||(m=>m),credentials:"same-origin",headers:{Accept:"application/json,*/*"}}).then(p,p)},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:(0,at.createSelector)((s=>s||(0,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 Ls=(function(t){var e={};return be.d(e,t),e})({default:function(){return Y$}}),o3=(function(t){var e={};return be.d(e,t),e})({default:function(){return Moe}}),hme=(function(t){var e={};return be.d(e,t),e})({default:function(){return qoe}}),mme=(function(t){var e={};return be.d(e,t),e})({default:function(){return $oe}}),gme=(function(t){var e={};return be.d(e,t),e})({default:function(){return zoe}}),yme=(function(t){var e={};return be.d(e,t),e})({default:function(){return Hoe}}),vme=(function(t){var e={};return be.d(e,t),e})({default:function(){return Yoe}}),bme=(function(t){var e={};return be.d(e,t),e})({default:function(){return Qoe}}),Eme=()=>{Ls.default.registerLanguage("json",hme.default),Ls.default.registerLanguage("js",o3.default),Ls.default.registerLanguage("xml",mme.default),Ls.default.registerLanguage("yaml",yme.default),Ls.default.registerLanguage("http",vme.default),Ls.default.registerLanguage("bash",gme.default),Ls.default.registerLanguage("powershell",bme.default),Ls.default.registerLanguage("javascript",o3.default)},N8=(function(t){var e={};return be.d(e,t),e})({default:function(){return eue}}),Sme=(function(t){var e={};return be.d(e,t),e})({default:function(){return tue}}),_me=(function(t){var e={};return be.d(e,t),e})({default:function(){return rue}}),wme=(function(t){var e={};return be.d(e,t),e})({default:function(){return nue}}),xme=(function(t){var e={};return be.d(e,t),e})({default:function(){return sue}}),Ame=(function(t){var e={};return be.d(e,t),e})({default:function(){return iue}}),Ome=(function(t){var e={};return be.d(e,t),e})({default:function(){return aue}});const Cme={agate:N8.default,arta:Sme.default,monokai:_me.default,nord:wme.default,obsidian:xme.default,"tomorrow-night":Ame.default,idea:Ome.default},Rme=N8.default;var Ime=({language:t,className:e="",getConfigs:r,syntaxHighlighting:n={},children:s=""})=>{const i=r().syntaxHighlight.theme,{styles:a,defaultStyle:o}=n,u=a?.[i]??o;return f.default.createElement(Ls.default,{language:t,className:e,style:u},s)},Tme=(function(t){var e={};return be.d(e,t),e})({default:function(){return lue}}),kme=({fileName:t="response.txt",className:e,downloadable:r,getComponent:n,canCopy:s,language:i,children:a})=>{const o=(0,f.useRef)(null),u=n("SyntaxHighlighter",!0),l=c=>{const{target:p,deltaY:m}=c,{scrollHeight:d,offsetHeight:g,scrollTop:y}=p;d>g&&(y===0&&m<0||g+y>=d&&m>0)&&c.preventDefault()};return(0,f.useEffect)((()=>{const c=Array.from(o.current.childNodes).filter((p=>!!p.nodeType&&p.classList.contains("microlight")));
245return c.forEach((p=>p.addEventListener("mousewheel",l,{passive:!1}))),()=>{c.forEach((p=>p.removeEventListener("mousewheel",l)))}}),[a,e,i]),f.default.createElement("div",{className:"highlight-code",ref:o},s&&f.default.createElement("div",{className:"copy-to-clipboard"},f.default.createElement(Np.CopyToClipboard,{text:a},f.default.createElement("button",null))),r?f.default.createElement("button",{className:"download-contents",onClick:()=>{(0,Tme.default)(a,t)}},"Download"):null,f.default.createElement(u,{language:i,className:(0,Tt.default)(e,"microlight"),renderPlainText:({children:c,PlainTextViewer:p})=>f.default.createElement(p,{className:e},c)},a))},Pme=({className:t="",children:e})=>f.default.createElement("pre",{className:(0,Tt.default)("microlight",t)},e),jme=(t,e)=>({renderPlainText:r,children:n,...s})=>{const i=e.getConfigs().syntaxHighlight.activated,a=e.getComponent("PlainTextViewer");return i||typeof r!="function"?i?f.default.createElement(t,s,n):f.default.createElement(a,null,n):r({children:n,PlainTextViewer:a})};const Nme=()=>({afterLoad:Eme,rootInjects:{syntaxHighlighting:{styles:Cme,defaultStyle:Rme}},components:{SyntaxHighlighter:Ime,HighlightCode:kme,PlainTextViewer:Pme}}),Mme=()=>({wrapComponents:{SyntaxHighlighter:jme}});var M8=()=>[Nme,Mme],Dme=()=>{const{GIT_DIRTY:t,GIT_COMMIT:e,PACKAGE_VERSION:r,BUILD_TIME:n}={PACKAGE_VERSION:"5.31.0",GIT_COMMIT:"gcf11271c",GIT_DIRTY:!0,BUILD_TIME:"Thu, 11 Dec 2025 15:56:57 GMT"};Gt.versions=Gt.versions||{},Gt.versions.swaggerUI={version:r,gitRevision:e,gitDirty:t,buildTimestamp:n}},D8=()=>({afterLoad:Dme}),Fme=(function(t){var e={};return be.d(e,t),e})({default:function(){return due}});const F8=console.error,qme=t=>e=>{const{getComponent:r,fn:n}=t(),s=r("ErrorBoundary"),i=n.getDisplayName(e);class a extends f.Component{render(){return f.default.createElement(s,{targetName:i,getComponent:r,fn:n},f.default.createElement(e,(0,It.default)({},this.props,this.context)))}}var o;return a.displayName=`WithErrorBoundary(${i})`,(o=e).prototype&&o.prototype.isReactComponent&&(a.prototype.mapStateToProps=e.prototype.mapStateToProps),a};var q8=({name:t})=>f.default.createElement("div",{className:"fallback"},"😱 ",f.default.createElement("i",null,"Could not render ",t==="t"?"this component":t,", see the console."));class Bme extends f.Component{static defaultProps={targetName:"this component",getComponent:()=>q8,fn:{componentDidCatch:F8},children:null};static getDerivedStateFromError(e){return{hasError:!0,error:e}}constructor(...e){super(...e),this.state={hasError:!1,error:null}}componentDidCatch(e,r){this.props.fn.componentDidCatch(e,r)}render(){const{getComponent:e,targetName:r,children:n}=this.props;if(this.state.hasError){const s=e("Fallback");return f.default.createElement(s,{name:r})}return n}}var Lme=Bme,B8=({componentList:t=[],fullOverride:e=!1}={})=>({getSystem:r})=>{const n=e?t:["App","BaseLayout","VersionPragmaFilter","InfoContainer","ServersContainer","SchemesContainer","AuthorizeBtnContainer","FilterContainer","Operations","OperationContainer","parameters","responses","OperationServers","Models","ModelWrapper",...t],s=(0,Fme.default)(n,Array(n.length).fill(((i,{fn:a})=>a.withErrorBoundary(i))));return{fn:{componentDidCatch:F8,withErrorBoundary:qme(r)},components:{ErrorBoundary:Lme,Fallback:q8},wrapComponents:s}};class $me extends f.default.Component{getLayout(){const{getComponent:e,layoutSelectors:r}=this.props,n=r.current();return e(n,!0)||(()=>f.default.createElement("h1",null,' No layout defined for "',n,'" '))}render(){const e=this.getLayout();return f.default.createElement(e,null)}}var Ume=$me;class Vme extends f.default.Component{close=()=>{let{authActions:e}=this.props;e.showDefinitions(!1)};render(){let{authSelectors:e,authActions:r,getComponent:n,errSelectors:s,specSelectors:i,fn:{AST:a={}}}=this.props,o=e.shownDefinitions();const u=n("auths"),l=n("CloseIcon");return f.default.createElement("div",{className:"dialog-ux"},f.default.createElement("div",{className:"backdrop-ux"}),f.default.createElement("div",{className:"modal-ux"},f.default.createElement("div",{className:"modal-dialog-ux"},f.default.createElement("div",{className:"modal-ux-inner"},f.default.createElement("div",{className:"modal-ux-header"},f.default.createElement("h3",null,"Available authorizations"),f.default.createElement("button",{type:"button",className:"close-modal",onClick:this.close},f.default.createElement(l,null))),f.default.createElement("div",{className:"modal-ux-content"},o.valueSeq().map(((c,p)=>f.default.createElement(u,{key:p,AST:a,definitions:c,getComponent:n,errSelectors:s,authSelectors:e,authActions:r,specSelectors:i}))))))))}}class zme extends f.default.Component{render(){let{isAuthorized:e,showPopup:r,onClick:n,getComponent:s}=this.props;const i=s("authorizationPopup",!0),a=s("LockAuthIcon",!0),o=s("UnlockAuthIcon",!0);return f.default.createElement("div",{className:"auth-wrapper"},f.default.createElement("button",{className:e?"btn authorize locked":"btn authorize unlocked",onClick:n},f.default.createElement("span",null,"Authorize"),e?f.default.createElement(a,null):f.default.createElement(o,null)),r&&f.default.createElement(i,null))}}class Wme extends f.default.Component{render(){const{authActions:e,authSelectors:r,specSelectors:n,getComponent:s}=this.props,i=n.securityDefinitions(),a=r.definitionsToAuthorize(),o=s("authorizeBtn");return i?f.default.createElement(o,{onClick:()=>e.showDefinitions(a),isAuthorized:!!r.authorized().size,showPopup:!!r.shownDefinitions(),getComponent:s}):null}}class Jme extends f.default.Component{onClick=e=>{e.stopPropagation();let{onClick:r}=this.props;r&&r()};render(){let{isAuthorized:e,getComponent:r}=this.props;const n=r("LockAuthOperationIcon",!0),s=r("UnlockAuthOperationIcon",!0);return f.default.createElement("button",{className:"authorization__btn","aria-label":e?"authorization button locked":"authorization button unlocked",onClick:this.onClick},e?f.default.createElement(n,{className:"locked"}):f.default.createElement(s,{className:"unlocked"}))}}class Hme extends f.default.Component{constructor(e,r){super(e,r),this.state={}}onAuthChange=e=>{let{name:r}=e;this.setState({[r]:e})};submitAuth=e=>{e.preventDefault();let{authActions:r}=this.props;r.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:r,definitions:n}=this.props,s=n.map(((i,a)=>a)).toArray();this.setState(s.reduce(((i,a)=>(i[a]="",i)),{})),r.logoutWithPersistOption(s)};close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:n,errSelectors:s}=this.props;const i=r("AuthItem"),a=r("oauth2",!0),o=r("Button");let u=n.authorized(),l=e.filter(((m,d)=>!!u.get(d))),c=e.filter((m=>m.get("type")!=="oauth2")),p=e.filter((m=>m.get("type")==="oauth2"));return f.default.createElement("div",{className:"auth-container"},!!c.size&&f.default.createElement("form",{onSubmit:this.submitAuth},c.map(((m,d)=>f.default.createElement(i,{key:d,schema:m,name:d,getComponent:r,onAuthChange:this.onAuthChange,authorized:u,errSelectors:s,authSelectors:n}))).toArray(),f.default.createElement("div",{className:"auth-btn-wrapper"},c.size===l.size?f.default.createElement(o,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):f.default.createElement(o,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),f.default.createElement(o,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),p&&p.size?f.default.createElement("div",null,f.default.createElement("div",{className:"scope-def"},f.default.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."),f.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((m=>m.get("type")==="oauth2")).map(((m,d)=>f.default.createElement("div",{key:d},f.default.createElement(a,{authorized:u,schema:m,name:d})))).toArray()):null)}}class Kme extends f.default.Component{render(){let{schema:e,name:r,getComponent:n,onAuthChange:s,authorized:i,errSelectors:a,authSelectors:o}=this.props;const u=n("apiKeyAuth"),l=n("basicAuth");let c;const p=e.get("type");switch(p){case"apiKey":c=f.default.createElement(u,{key:r,schema:e,name:r,errSelectors:a,authorized:i,getComponent:n,onChange:s,authSelectors:o});break;case"basic":c=f.default.createElement(l,{key:r,schema:e,name:r,errSelectors:a,authorized:i,getComponent:n,onChange:s,authSelectors:o});break;default:c=f.default.createElement("div",{key:r},"Unknown security definition type ",p)}return f.default.createElement("div",{key:`${r}-jump`},c)}}class Gme extends f.default.Component{render(){let{error:e}=this.props,r=e.get("level"),n=e.get("message"),s=e.get("source");return f.default.createElement("div",{className:"errors"},f.default.createElement("b",null,s," ",r),f.default.createElement("span",null,n))}}class Yme extends f.default.Component{constructor(e,r){super(e,r);let{name:n,schema:s}=this.props,i=this.getValue();this.state={name:n,schema:s,value:i}}getValue(){let{name:e,authorized:r}=this.props;return r&&r.getIn([e,"value"])}onChange=e=>{let{onChange:r}=this.props,n=e.target.value,s=Object.assign({},this.state,{value:n});this.setState(s),r(s)};render(){let{schema:e,getComponent:r,errSelectors:n,name:s,authSelectors:i}=this.props;const a=r("Input"),o=r("Row"),u=r("Col"),l=r("authError"),c=r("Markdown",!0),p=r("JumpToPath",!0),m=i.selectAuthPath(s);let d=this.getValue(),g=n.allErrors().filter((y=>y.get("authId")===s));return f.default.createElement("div",null,f.default.createElement("h4",null,f.default.createElement("code",null,s||e.get("name"))," (apiKey)",f.default.createElement(p,{path:m})),d&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(o,null,f.default.createElement(c,{source:e.get("description")})),f.default.createElement(o,null,f.default.createElement("p",null,"Name: ",f.default.createElement("code",null,e.get("name")))),f.default.createElement(o,null,f.default.createElement("p",null,"In: ",f.default.createElement("code",null,e.get("in")))),f.default.createElement(o,null,f.default.createElement("label",{htmlFor:"api_key_value"},"Value:"),d?f.default.createElement("code",null," ****** "):f.default.createElement(u,null,f.default.createElement(a,{id:"api_key_value",type:"text",onCh
245ange:this.onChange,autoFocus:!0}))),g.valueSeq().map(((y,v)=>f.default.createElement(l,{error:y,key:v}))))}}class Xme extends f.default.Component{constructor(e,r){super(e,r);let{schema:n,name:s}=this.props,i=this.getValue().username;this.state={name:s,schema:n,value:i?{username:i}:{}}}getValue(){let{authorized:e,name:r}=this.props;return e&&e.getIn([r,"value"])||{}}onChange=e=>{let{onChange:r}=this.props,{value:n,name:s}=e.target,i=this.state.value;i[s]=n,this.setState({value:i}),r(this.state)};render(){let{schema:e,getComponent:r,name:n,errSelectors:s,authSelectors:i}=this.props;const a=r("Input"),o=r("Row"),u=r("Col"),l=r("authError"),c=r("JumpToPath",!0),p=r("Markdown",!0),m=i.selectAuthPath(n);let d=this.getValue().username,g=s.allErrors().filter((y=>y.get("authId")===n));return f.default.createElement("div",null,f.default.createElement("h4",null,"Basic authorization",f.default.createElement(c,{path:m})),d&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(o,null,f.default.createElement(p,{source:e.get("description")})),f.default.createElement(o,null,f.default.createElement("label",{htmlFor:"auth_username"},"Username:"),d?f.default.createElement("code",null," ",d," "):f.default.createElement(u,null,f.default.createElement(a,{id:"auth_username",type:"text",required:"required",name:"username",onChange:this.onChange,autoFocus:!0}))),f.default.createElement(o,null,f.default.createElement("label",{htmlFor:"auth_password"},"Password:"),d?f.default.createElement("code",null," ****** "):f.default.createElement(u,null,f.default.createElement(a,{id:"auth_password",autoComplete:"new-password",name:"password",type:"password",onChange:this.onChange}))),g.valueSeq().map(((y,v)=>f.default.createElement(l,{error:y,key:v}))))}}function Zme(t){const{example:e,showValue:r,getComponent:n}=t,s=n("Markdown",!0),i=n("HighlightCode",!0);return e&&z.Map.isMap(e)?f.default.createElement("div",{className:"example"},e.get("description")?f.default.createElement("section",{className:"example__section"},f.default.createElement("div",{className:"example__section-header"},"Example Description"),f.default.createElement("p",null,f.default.createElement(s,{source:e.get("description")}))):null,r&&e.has("value")?f.default.createElement("section",{className:"example__section"},f.default.createElement("div",{className:"example__section-header"},"Example Value"),f.default.createElement(i,null,Cr(e.get("value")))):null):null}class Qme extends f.default.PureComponent{static defaultProps={examples:(0,z.Map)({}),onSelect:(...e)=>console.log("DEBUG: ExamplesSelect was not given an onSelect callback",...e),currentExampleKey:null,showLabels:!0};_onSelect=(e,{isSyntheticChange:r=!1}={})=>{typeof this.props.onSelect=="function"&&this.props.onSelect(e,{isSyntheticChange:r})};_onDomSelect=e=>{if(typeof this.props.onSelect=="function"){const r=e.target.selectedOptions[0].getAttribute("value");this._onSelect(r,{isSyntheticChange:!1})}};getCurrentExample=()=>{const{examples:e,currentExampleKey:r}=this.props,n=e.get(r),s=e.keySeq().first(),i=e.get(s);return n||i||(0,z.Map)({})};componentDidMount(){const{onSelect:e,examples:r}=this.props;if(typeof e=="function"){const n=r.first(),s=r.keyOf(n);this._onSelect(s,{isSyntheticChange:!0})}}UNSAFE_componentWillReceiveProps(e){const{currentExampleKey:r,examples:n}=e;if(n!==this.props.examples&&!n.has(r)){const s=n.first(),i=n.keyOf(s);this._onSelect(i,{isSyntheticChange:!0})}}render(){const{examples:e,currentExampleKey:r,isValueModified:n,isModifiedValueAvailable:s,showLabels:i}=this.props;return f.default.createElement("div",{className:"examples-select"},i?f.default.createElement("span",{className:"examples-select__section-label"},"Examples: "):null,f.default.createElement("select",{className:"examples-select-element",onChange:this._onDomSelect,value:s&&n?"__MODIFIED__VALUE__":r||""},s?f.default.createElement("option",{value:"__MODIFIED__VALUE__"},"[Modified value]"):null,e.map(((a,o)=>f.default.createElement("option",{key:o,value:o},z.Map.isMap(a)&&a.get("summary")||o))).valueSeq()))}}const TS=t=>z.List.isList(t)?t:Cr(t);class ege extends f.default.PureComponent{static defaultProps={userHasEditedBody:!1,examples:(0,z.Map)({}),currentNamespace:"__DEFAULT__NAMESPACE__",setRetainRequestBodyValueFlag:()=>{},onSelect:(...e)=>console.log("ExamplesSelectValueRetainer: no `onSelect` function was provided",...e),updateV
245alue:(...e)=>console.log("ExamplesSelectValueRetainer: no `updateValue` function was provided",...e)};constructor(e){super(e);const r=this._getCurrentExampleValue();this.state={[e.currentNamespace]:(0,z.Map)({lastUserEditedValue:this.props.currentUserInputValue,lastDownstreamValue:r,isModifiedValueSelected:this.props.userHasEditedBody||this.props.currentUserInputValue!==r})}}componentWillUnmount(){this.props.setRetainRequestBodyValueFlag(!1)}_getStateForCurrentNamespace=()=>{const{currentNamespace:e}=this.props;return(this.state[e]||(0,z.Map)()).toObject()};_setStateForCurrentNamespace=e=>{const{currentNamespace:r}=this.props;return this._setStateForNamespace(r,e)};_setStateForNamespace=(e,r)=>{const n=(this.state[e]||(0,z.Map)()).mergeDeep(r);return this.setState({[e]:n})};_isCurrentUserInputSameAsExampleValue=()=>{const{currentUserInputValue:e}=this.props;return this._getCurrentExampleValue()===e};_getValueForExample=(e,r)=>{const{examples:n}=r||this.props;return TS((n||(0,z.Map)({})).getIn([e,"value"]))};_getCurrentExampleValue=e=>{const{currentKey:r}=e||this.props;return this._getValueForExample(r,e||this.props)};_onExamplesSelect=(e,{isSyntheticChange:r}={},...n)=>{const{onSelect:s,updateValue:i,currentUserInputValue:a,userHasEditedBody:o}=this.props,{lastUserEditedValue:u}=this._getStateForCurrentNamespace(),l=this._getValueForExample(e);if(e==="__MODIFIED__VALUE__")return i(TS(u)),this._setStateForCurrentNamespace({isModifiedValueSelected:!0});typeof s=="function"&&s(e,{isSyntheticChange:r},...n),this._setStateForCurrentNamespace({lastDownstreamValue:l,isModifiedValueSelected:r&&o||!!a&&a!==l}),r||typeof i=="function"&&i(TS(l))};UNSAFE_componentWillReceiveProps(e){const{currentUserInputValue:r,examples:n,onSelect:s,userHasEditedBody:i}=e,{lastUserEditedValue:a,lastDownstreamValue:o}=this._getStateForCurrentNamespace(),u=this._getValueForExample(e.currentKey,e),l=n.filter((c=>z.Map.isMap(c)&&(c.get("value")===r||Cr(c.get("value"))===r)));if(l.size){let c;c=l.has(e.currentKey)?e.currentKey:l.keySeq().first(),s(c,{isSyntheticChange:!0})}else r!==this.props.currentUserInputValue&&r!==a&&r!==o&&(this.props.setRetainRequestBodyValueFlag(!0),this._setStateForNamespace(e.currentNamespace,{lastUserEditedValue:e.currentUserInputValue,isModifiedValueSelected:i||r!==u}))}render(){const{currentUserInputValue:e,examples:r,currentKey:n,getComponent:s,userHasEditedBody:i}=this.props,{lastDownstreamValue:a,lastUserEditedValue:o,isModifiedValueSelected:u}=this._getStateForCurrentNamespace(),l=s("ExamplesSelect");return f.default.createElement(l,{examples:r,currentExampleKey:n,onSelect:this._onExamplesSelect,isModifiedValueAvailable:!!o&&o!==a,isValueModified:e!==void 0&&u&&e!==this._getCurrentExampleValue()||i})}}function tge({auth:t,authActions:e,errActions:r,configs:n,authConfigs:s={},currentServer:i}){let{schema:a,scopes:o,name:u,clientId:l}=t,c=a.get("flow"),p=[];switch(c){case"password":return void e.authorizePassword(t);case"application":case"clientCredentials":case"client_credentials":return void e.authorizeApplication(t);case"accessCode":case"authorizationCode":case"authorization_code":p.push("response_type=code");break;case"implicit":p.push("response_type=token")}typeof l=="string"&&p.push("client_id="+encodeURIComponent(l));let m=n.oauth2RedirectUrl;if(m===void 0)return void r.newAuthErr({authId:u,source:"validation",level:"error",message:"oauth2RedirectUrl configuration is not passed. Oauth2 authorization cannot be performed."});p.push("redirect_uri="+encodeURIComponent(m));let d=[];if(Array.isArray(o)?d=o:z.default.List.isList(o)&&(d=o.toArray()),d.length>0){let w=s.scopeSeparator||" ";p.push("scope="+encodeURIComponent(d.join(w)))}let g=Rl(new Date);if(p.push("state="+encodeURIComponent(g)),s.realm!==void 0&&p.push("realm="+encodeURIComponent(s.realm)),(c==="authorizationCode"||c==="authorization_code"||c==="accessCode")&&s.usePkceWithAuthorizationCodeGrant){const w=(function(){return qD(qa()(32).toString("base64"))})(),S=(function(I){return qD(Nfe()("sha256").update(I).digest("base64"))})(w);p.push("code_challenge="+S),p.push("code_challenge_method=S256"),t.codeVerifier=w}let{additionalQueryStringParams:y}=s;
245for(let w in y)y[w]!==void 0&&p.push([w,y[w]].map(encodeURIComponent).join("="));const v=a.get("authorizationUrl");let E;E=i?(0,du.default)(cr(v),i,!0).toString():cr(v);let b,_=[E,p.join("&")].join(typeof v!="string"||v.includes("?")?"&":"?");b=c==="implicit"?e.preAuthorizeImplicit:s.useBasicAuthenticationWithAccessCodeGrant?e.authorizeAccessCodeWithBasicAuthentication:e.authorizeAccessCodeWithFormParams,e.authPopup(_,{auth:t,state:g,redirectUrl:m,callback:b,errCb:r.newAuthErr})}class rge extends f.default.Component{constructor(e,r){super(e,r);let{name:n,schema:s,authorized:i,authSelectors:a}=this.props,o=i&&i.get(n),u=a.getConfigs()||{},l=o&&o.get("username")||"",c=o&&o.get("clientId")||u.clientId||"",p=o&&o.get("clientSecret")||u.clientSecret||"",m=o&&o.get("passwordType")||"basic",d=o&&o.get("scopes")||u.scopes||[];typeof d=="string"&&(d=d.split(u.scopeSeparator||" ")),this.state={appName:u.appName,name:n,schema:s,scopes:d,clientId:c,clientSecret:p,username:l,password:"",passwordType:m}}close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};authorize=()=>{let{authActions:e,errActions:r,getConfigs:n,authSelectors:s,oas3Selectors:i}=this.props,a=n(),o=s.getConfigs();r.clear({authId:name,type:"auth",source:"auth"}),tge({auth:this.state,currentServer:i.serverEffectiveValue(i.selectedServer()),authActions:e,errActions:r,configs:a,authConfigs:o})};onScopeChange=e=>{let{target:r}=e,{checked:n}=r,s=r.dataset.value;if(n&&this.state.scopes.indexOf(s)===-1){let i=this.state.scopes.concat([s]);this.setState({scopes:i})}else!n&&this.state.scopes.indexOf(s)>-1&&this.setState({scopes:this.state.scopes.filter((i=>i!==s))})};onInputChange=e=>{let{target:{dataset:{name:r},value:n}}=e,s={[r]:n};this.setState(s)};selectScopes=e=>{e.target.dataset.all?this.setState({scopes:Array.from((this.props.schema.get("allowedScopes")||this.props.schema.get("scopes")).keys())}):this.setState({scopes:[]})};logout=e=>{e.preventDefault();let{authActions:r,errActions:n,name:s}=this.props;n.clear({authId:s,type:"auth",source:"auth"}),r.logoutWithPersistOption([s])};render(){let{schema:e,getComponent:r,authSelectors:n,errSelectors:s,name:i,specSelectors:a}=this.props;const o=r("Input"),u=r("Row"),l=r("Col"),c=r("Button"),p=r("authError"),m=r("JumpToPath",!0),d=r("Markdown",!0),g=r("InitializedInput"),{isOAS3:y}=a;let v=y()?e.get("openIdConnectUrl"):null;const E="implicit",b="password",_=y()?v?"authorization_code":"authorizationCode":"accessCode",w=y()?v?"client_credentials":"clientCredentials":"application",S=n.selectAuthPath(i);let A=!!(n.getConfigs()||{}).usePkceWithAuthorizationCodeGrant,I=e.get("flow"),k=I===_&&A?I+" with PKCE":I,P=e.get("allowedScopes")||e.get("scopes"),F=!!n.authorized().get(i),R=s.allErrors().filter((G=>G.get("authId")===i)),L=!R.filter((G=>G.get("source")==="validation")).size,M=e.get("description");return f.default.createElement("div",null,f.default.createElement("h4",null,i," (OAuth2, ",k,") ",f.default.createElement(m,{path:S})),this.state.appName?f.default.createElement("h5",null,"Application: ",this.state.appName," "):null,M&&f.default.createElement(d,{source:e.get("description")}),F&&f.default.createElement("h6",null,"Authorized"),v&&f.default.createElement("p",null,"OpenID Connect URL: ",f.default.createElement("code",null,v)),(I===E||I===_)&&f.default.createElement("p",null,"Authorization URL: ",f.default.createElement("code",null,e.get("authorizationUrl"))),(I===b||I===_||I===w)&&f.default.createElement("p",null,"Token URL:",f.default.createElement("code",null," ",e.get("tokenUrl"))),f.default.createElement("p",{className:"flow"},"Flow: ",f.default.createElement("code",null,k)),I!==b?null:f.default.createElement(u,null,f.default.createElement(u,null,f.default.createElement("label",{htmlFor:"oauth_username"},"username:"),F?f.default.createElement("code",null," ",this.state.username," "):f.default.createElement(l,{tablet:10,desktop:10},f.default.createElement("input",{id:"oauth_username",type:"text","data-name":"username",onChange:this.onInputChange,autoFocus:!0}))),f.default.createElement(u,null,f.default.createElement("label",{htmlFor:"oauth_password"},"password:"),F?f.default.createElement("code",null," ****** "):f.default.createElement(l,{tablet:10,desktop:10},f.default.createElement("input",{id:"oauth_password",type:"password","data-name":"password",onChange:this.onInputChange}
245))),f.default.createElement(u,null,f.default.createElement("label",{htmlFor:"password_type"},"Client credentials location:"),F?f.default.createElement("code",null," ",this.state.passwordType," "):f.default.createElement(l,{tablet:10,desktop:10},f.default.createElement("select",{id:"password_type","data-name":"passwordType",onChange:this.onInputChange},f.default.createElement("option",{value:"basic"},"Authorization header"),f.default.createElement("option",{value:"request-body"},"Request body"))))),(I===w||I===E||I===_||I===b)&&(!F||F&&this.state.clientId)&&f.default.createElement(u,null,f.default.createElement("label",{htmlFor:`client_id_${I}`},"client_id:"),F?f.default.createElement("code",null," ****** "):f.default.createElement(l,{tablet:10,desktop:10},f.default.createElement(g,{id:`client_id_${I}`,type:"text",required:I===b,initialValue:this.state.clientId,"data-name":"clientId",onChange:this.onInputChange}))),(I===w||I===_||I===b)&&f.default.createElement(u,null,f.default.createElement("label",{htmlFor:`client_secret_${I}`},"client_secret:"),F?f.default.createElement("code",null," ****** "):f.default.createElement(l,{tablet:10,desktop:10},f.default.createElement(g,{id:`client_secret_${I}`,initialValue:this.state.clientSecret,type:"password","data-name":"clientSecret",onChange:this.onInputChange}))),!F&&P&&P.size?f.default.createElement("div",{className:"scopes"},f.default.createElement("h2",null,"Scopes:",f.default.createElement("a",{onClick:this.selectScopes,"data-all":!0},"select all"),f.default.createElement("a",{onClick:this.selectScopes},"select none")),P.map(((G,re)=>f.default.createElement(u,{key:re},f.default.createElement("div",{className:"checkbox"},f.default.createElement(o,{"data-value":re,id:`${re}-${I}-checkbox-${this.state.name}`,disabled:F,checked:this.state.scopes.includes(re),type:"checkbox",onChange:this.onScopeChange}),f.default.createElement("label",{htmlFor:`${re}-${I}-checkbox-${this.state.name}`},f.default.createElement("span",{className:"item"}),f.default.createElement("div",{className:"text"},f.default.createElement("p",{className:"name"},re),f.default.createElement("p",{className:"description"},G))))))).toArray()):null,R.valueSeq().map(((G,re)=>f.default.createElement(p,{error:G,key:re}))),f.default.createElement("div",{className:"auth-btn-wrapper"},L&&(F?f.default.createElement(c,{className:"btn modal-btn auth authorize",onClick:this.logout,"aria-label":"Remove authorization"},"Logout"):f.default.createElement(c,{className:"btn modal-btn auth authorize",onClick:this.authorize,"aria-label":"Apply given OAuth2 credentials"},"Authorize")),f.default.createElement(c,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close")))}}class nge extends f.Component{onClick=()=>{let{specActions:e,path:r,method:n}=this.props;e.clearResponse(r,n),e.clearRequest(r,n)};render(){return f.default.createElement("button",{className:"btn btn-clear opblock-control__btn",onClick:this.onClick},"Clear")}}const sge=({headers:t})=>f.default.createElement("div",null,f.default.createElement("h5",null,"Response headers"),f.default.createElement("pre",{className:"microlight"},t)),ige=({duration:t})=>f.default.createElement("div",null,f.default.createElement("h5",null,"Request duration"),f.default.createElement("pre",{className:"microlight"},t," ms"));class age extends f.default.Component{shouldComponentUpdate(e){return this.props.response!==e.response||this.props.path!==e.path||this.props.method!==e.method||this.props.displayRequestDuration!==e.displayRequestDuration}render(){const{response:e,getComponent:r,getConfigs:n,displayRequestDuration:s,specSelectors:i,path:a,method:o}=this.props,{showMutatedRequest:u,requestSnippetsEnabled:l}=n(),c=u?i.mutatedRequestFor(a,o):i.requestFor(a,o),p=e.get("status"),m=c.get("url"),d=e.get("headers").toJS(),g=e.get("notDocumented"),y=e.get("error"),v=e.get("text"),E=e.get("duration"),b=Object.keys(d),_=d["content-type"]||d["Content-Type"],w=r("responseBody"),S=b.map((F=>{var R=Array.isArray(d[F])?d[F].join():d[F];return f.default.createElement("span",{className:"headerline",key:F}," ",F,": ",R," ")})),A=S.length!==0,I=r("Markdown",!0),k=r("RequestSnippets",!0),P=r("curl",!0);return f.default.createElement("div",null,c&&l?f.default.createElement(k,{request:c}):f.default.createElement(P,{request:c}),m&&f.default.createElement("div",null,f.default.createElement("div",{className:"request-url"},f.default.createElement("h4",null,"Request URL"),f.default.createElement("pre",{className:"microlight"},m))),f.default.createElement("h4",null,"Server response"),f.default.createElement("table",{className:"responses-table live-responses-table"},f.default.createElement("thead",null,f.default.createElement("tr",{className:"responses-header"},f.default.createElement("td",{className:"col_header response-col_status"},"Code"),f.default.createElement("td",{className:"col_header response-col_description"},"Details"))),f.default.createElement("tbody",null,f.default.createElement("tr",{className:"response"},f.default.createElement("td",{className:"response-col_status"},p,g?f.default.createElement("div",{className:"response-undocumented"},f.default.createElement("i",null," Undocumented ")):null),f.default.createElement("td",{className:"response-col_description"},y?f.default.createElement(I,{source:`${e.get("name")!==""?`${e.get("name")}: `:""}${e.get("message")}`}):null,v?f.default.createElement(w,{content:v,contentType:_,url:m,headers:d,getConfigs:n,getComponent:r}):null,A?f.default.createElement(sge,{headers:S}
245):null,s&&E?f.default.createElement(ige,{duration:E}):null)))))}}class L8 extends f.default.Component{constructor(e,r){super(e,r);let{getConfigs:n}=e,{validatorUrl:s}=n();this.state={url:this.getDefinitionUrl(),validatorUrl:s===void 0?"https://validator.swagger.io/validator":s}}getDefinitionUrl=()=>{let{specSelectors:e}=this.props;return new du.default(e.url(),Gt.location).toString()};UNSAFE_componentWillReceiveProps(e){let{getConfigs:r}=e,{validatorUrl:n}=r();this.setState({url:this.getDefinitionUrl(),validatorUrl:n===void 0?"https://validator.swagger.io/validator":n})}render(){let{getConfigs:e}=this.props,{spec:r}=e(),n=cr(this.state.validatorUrl);return typeof r=="object"&&Object.keys(r).length?null:this.state.url&&FD(this.state.validatorUrl)&&FD(this.state.url)?f.default.createElement("span",{className:"float-right"},f.default.createElement("a",{target:"_blank",rel:"noopener noreferrer",href:`${n}/debug?url=${encodeURIComponent(this.state.url)}`},f.default.createElement(oge,{src:`${n}?url=${encodeURIComponent(this.state.url)}`,alt:"Online validator badge"}))):null}}class oge extends f.default.Component{constructor(e){super(e),this.state={loaded:!1,error:!1}}componentDidMount(){const e=new Image;e.onload=()=>{this.setState({loaded:!0})},e.onerror=()=>{this.setState({error:!0})},e.src=this.props.src}UNSAFE_componentWillReceiveProps(e){if(e.src!==this.props.src){const r=new Image;r.onload=()=>{this.setState({loaded:!0})},r.onerror=()=>{this.setState({error:!0})},r.src=e.src}}render(){return this.state.error?f.default.createElement("img",{alt:"Error"}):this.state.loaded?f.default.createElement("img",{src:this.props.src,alt:this.props.alt}):null}}class uge extends f.default.Component{render(){let{specSelectors:e}=this.props;const r=e.taggedOperations();return r.size===0?f.default.createElement("h3",null," No operations defined in spec!"):f.default.createElement("div",null,r.map(this.renderOperationTag).toArray(),r.size<1?f.default.createElement("h3",null," No operations defined in spec! "):null)}renderOperationTag=(e,r)=>{const{specSelectors:n,getComponent:s,oas3Selectors:i,layoutSelectors:a,layoutActions:o,getConfigs:u}=this.props,l=n.validOperationMethods(),c=s("OperationContainer",!0),p=s("OperationTag"),m=e.get("operations");return f.default.createElement(p,{key:"operation-"+r,tagObj:e,tag:r,oas3Selectors:i,layoutSelectors:a,layoutActions:o,getConfigs:u,getComponent:s,specUrl:n.url()},f.default.createElement("div",{className:"operation-tag-content"},m.map((d=>{const g=d.get("path"),y=d.get("method"),v=z.default.List(["paths",g,y]);return l.indexOf(y)===-1?null:f.default.createElement(c,{key:`${g}-${y}`,specPath:v,op:d,path:g,method:y,tag:r})})).toArray()))}}class lge extends f.default.Component{static defaultProps={tagObj:z.default.fromJS({}),tag:""};render(){const{tagObj:e,tag:r,children:n,oas3Selectors:s,layoutSelectors:i,layoutActions:a,getConfigs:o,getComponent:u,specUrl:l}=this.props;let{docExpansion:c,deepLinking:p}=o();const m=u("Collapse"),d=u("Markdown",!0),g=u("DeepLink"),y=u("Link"),v=u("ArrowUpIcon"),E=u("ArrowDownIcon");let b,_=e.getIn(["tagDetails","description"],null),w=e.getIn(["tagDetails","externalDocs","description"]),S=e.getIn(["tagDetails","externalDocs","url"]);b=Ks(s)&&Ks(s.selectedServer)?ss(S,l,{selectedServer:s.selectedServer()}):S;let A=["operations-tag",r],I=i.isShown(A,c==="full"||c==="list");return f.default.createElement("div",{className:I?"opblock-tag-section is-open":"opblock-tag-section"},f.default.createElement("h3",{onClick:()=>a.show(A,!I),className:_?"opblock-tag":"opblock-tag no-desc",id:A.map((k=>w6(k))).join("-"),"data-tag":r,"data-is-open":I},f.default.createElement(g,{enabled:p,isShown:I,path:pu(r),text:r}),_?f.default.createElement("small",null,f.default.createElement(d,{source:_})):f.default.createElement("small",null),b?f.default.createElement("div",{className:"info__externaldocs"},f.default.createElement("small",null,f.default.createElement(y,{href:cr(b),onClick:k=>k.stopPropagation(),target:"_blank"},w||b))):null,f.default.createElement("button",{"aria-expanded":I,className:"expand-operation",title:I?"Collapse operation":"Expand operation",onClick:()=>a.show(A,!I)},I?f.default.createElement(v,{className:"arrow"}):f.default.createElement(E,{className:"arrow"}))),f.default.createElement(m,{isOpened:I},n))}}class cge extends f.PureComponent{static defaultProps={operation:null,response:null,request:null,specPath:(0,z.List)(),summary:""};render(){let{specPath:e,response:r,request:n,toggleShown:s,onTryoutClick:i,onResetClick:a,onCancelClick:o,onExecute:u,fn:l,getComponent:c,getConfigs:p,specActions:m,specSelectors:d,authActions:g,authSelectors:y,oas3Actions:v,oas3Selectors:E}=this.props,b=this.props.operation,{deprecated:_,isShown:w,path:S,method:A,op:I,tag:k,operationId:P,allowTryItOut:F,displayRequestDuration:R,tryItOutEnabled:L,executeInProgress:M}=b.toJS(),{description:G,externalDocs:re,schemes:K}=I;const Z=re?ss(re.url,d.url(),{selectedServer:E.selectedServer()}):"";let X=b.getIn(["op"]),ee=X.get("responses"),ce=(function(C,j){if
245(!z.default.Iterable.isIterable(C))return z.default.List();let U=C.getIn(Array.isArray(j)?j:[j]);return z.default.List.isList(U)?U:z.default.List()})(X,["parameters"]),se=d.operationScheme(S,A),ue=["operations",k,P],ye=Di(X);const he=c("responses"),te=c("parameters"),W=c("execute"),V=c("clear"),me=c("Collapse"),ve=c("Markdown",!0),Me=c("schemes"),Be=c("OperationServers"),Te=c("OperationExt"),ke=c("OperationSummary"),$e=c("Link"),{showExtensions:ge}=p();if(ee&&r&&r.size>0){let $=!ee.get(String(r.get("status")))&&!ee.get("default");r=r.set("notDocumented",$)}let Se=[S,A];const we=d.validationErrors([S,A]);return f.default.createElement("div",{className:_?"opblock opblock-deprecated":w?`opblock opblock-${A} is-open`:`opblock opblock-${A}`,id:w6(ue.join("-"))},f.default.createElement(ke,{operationProps:b,isShown:w,toggleShown:s,getComponent:c,authActions:g,authSelectors:y,specPath:e}),f.default.createElement(me,{isOpened:w},f.default.createElement("div",{className:"opblock-body"},X&&X.size||X===null?null:f.default.createElement(V6,{height:"32px",width:"32px",className:"opblock-loading-animation"}),_&&f.default.createElement("h4",{className:"opblock-title_normal"}," Warning: Deprecated"),G&&f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement("div",{className:"opblock-description"},f.default.createElement(ve,{source:G}))),Z?f.default.createElement("div",{className:"opblock-external-docs-wrapper"},f.default.createElement("h4",{className:"opblock-title_normal"},"Find more details"),f.default.createElement("div",{className:"opblock-external-docs"},re.description&&f.default.createElement("span",{className:"opblock-external-docs__description"},f.default.createElement(ve,{source:re.description})),f.default.createElement($e,{target:"_blank",className:"opblock-external-docs__link",href:cr(Z)},Z))):null,X&&X.size?f.default.createElement(te,{parameters:ce,specPath:e.push("parameters"),operation:X,onChangeKey:Se,onTryoutClick:i,onResetClick:a,onCancelClick:o,tryItOutEnabled:L,allowTryItOut:F,fn:l,getComponent:c,specActions:m,specSelectors:d,pathMethod:[S,A],getConfigs:p,oas3Actions:v,oas3Selectors:E}):null,L?f.default.createElement(Be,{getComponent:c,path:S,method:A,operationServers:X.get("servers"),pathServers:d.paths().getIn([S,"servers"]),getSelectedServer:E.selectedServer,setSelectedServer:v.setSelectedServer,setServerVariableValue:v.setServerVariableValue,getServerVariable:E.serverVariableValue,getEffectiveServerValue:E.serverEffectiveValue}):null,L&&F&&K&&K.size?f.default.createElement("div",{className:"opblock-schemes"},f.default.createElement(Me,{schemes:K,path:S,method:A,specActions:m,currentScheme:se})):null,!L||!F||we.length<=0?null:f.default.createElement("div",{className:"validation-errors errors-wrapper"},"Please correct the following validation errors and try again.",f.default.createElement("ul",null,we.map((($,C)=>f.default.createElement("li",{key:C}," ",$," "))))),f.default.createElement("div",{className:L&&r&&F?"btn-group":"execute-wrapper"},L&&F?f.default.createElement(W,{operation:X,specActions:m,specSelectors:d,oas3Selectors:E,oas3Actions:v,path:S,method:A,onExecute:u,disabled:M}):null,L&&r&&F?f.default.createElement(V,{specActions:m,path:S,method:A}):null),M?f.default.createElement("div",{className:"loading-container"},f.default.createElement("div",{className:"loading"})):null,ee?f.default.createElement(he,{responses:ee,request:n,tryItOutResponse:r,getComponent:c,getConfigs:p,specSelectors:d,oas3Actions:v,oas3Selectors:E,specActions:m,produces:d.producesOptionsFor([S,A]),producesValue:d.currentProducesFor([S,A]),specPath:e.push("responses"),path:S,method:A,displayRequestDuration:R,fn:l}):null,ge&&ye.size?f.default.createElement(Te,{extensions:ye,getComponent:c}):null)))}}class fge extends f.PureComponent{constructor(e,r){super(e,r);const{tryItOutEnabled:n}=e.getConfigs();this.state={tryItOutEnabled:n,executeInProgress:!1}}static defaultProps={showSummary:!0,response:null,allowTryItOut:!0,displayOperationId:!1,displayRequestDuration:!1};mapStateToProps(e,r){const{op:n,layoutSelectors:s,getConfigs:i}=r,{docExpansion:a,deepLinking:o,displayOperationId:u,displayRequestDuration:l,supportedSubmitMethods:c}=i(),p=s.showSummary(),m=n.getIn(["operation","__originalOperationId"])||n.getIn(["operation","operationId"])||(0,A8.opId)(n.get("operation"),r.path,r.method)||n.get("id"),d=["operations",r.tag,m],g=c.indexOf(r.method)>=0&&(r.allowTryItOut===void 0?r.specSelectors.allowTryItOutFor(r.path,r.method):r.allowTryItOut),y=n.getIn(["operation","security"])||r.specSelectors.security();return{operationId:m,isDeepLinkingEnabled:o,showSummary:p,displayOperationId:u,displayRequestDuration:l,allowTryItOut:g,security:y,isAuthorized:r.authSelectors.isAuthorized(y),isShown:s.isShown(d,a==="full"),jumpToKey:`paths.${r.path}.${r.method}`,response:r.specSelectors.responseFor(r.path,r.method),request:r.specSelectors.requestFor(r.path,r.method)}}componentDidMount(){const{isShown:e}=this.props,r=this.getResolvedSubtree();e&&r===void 0&&this.requestResolvedSubtree()}componentDidUpdate(e){const{response:r,isShown:n}=this.props,s=this.getResolvedSubtree();r!==e.response&&this.setState({executeInProgress:!1}),n&&s===void 0&&!e.isShown&&this.requestResolvedSubtree()}toggleShown=()=>{let{layoutActions:e,tag:r,operationId:n,isShown:s}=this.props;const i=this.getResolvedSubtree();s||i!==void 0||this.requestResolvedSubtree(),e.show(["operations",r,n],!s)};onCancelClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onTryoutClick=()=>{this.setState({tryItOutEnabled:!this.state.tryItOutEnabled})};onResetClick=e=>{const r=this.props.oas3Selectors.selectDefaultRequestBodyValue(...e),n=this.props.oas3Selectors.requestContentType(...e);if(n==="application/x-www-form-urlencoded"||n==="multipart/form-data"){const s=JSON.parse(r);
245Object.entries(s).forEach((([i,a])=>{Array.isArray(a)?s[i]=s[i].map((o=>typeof o=="object"?JSON.stringify(o,null,2):o)):typeof a=="object"&&(s[i]=JSON.stringify(s[i],null,2))})),this.props.oas3Actions.setRequestBodyValue({value:(0,z.fromJS)(s),pathMethod:e})}else this.props.oas3Actions.setRequestBodyValue({value:r,pathMethod:e})};onExecute=()=>{this.setState({executeInProgress:!0})};getResolvedSubtree=()=>{const{specSelectors:e,path:r,method:n,specPath:s}=this.props;return s?e.specResolvedSubtree(s.toJS()):e.specResolvedSubtree(["paths",r,n])};requestResolvedSubtree=()=>{const{specActions:e,path:r,method:n,specPath:s}=this.props;return s?e.requestResolvedSubtree(s.toJS()):e.requestResolvedSubtree(["paths",r,n])};render(){let{op:e,tag:r,path:n,method:s,security:i,isAuthorized:a,operationId:o,showSummary:u,isShown:l,jumpToKey:c,allowTryItOut:p,response:m,request:d,displayOperationId:g,displayRequestDuration:y,isDeepLinkingEnabled:v,specPath:E,specSelectors:b,specActions:_,getComponent:w,getConfigs:S,layoutSelectors:A,layoutActions:I,authActions:k,authSelectors:P,oas3Actions:F,oas3Selectors:R,fn:L}=this.props;const M=w("operation"),G=this.getResolvedSubtree()||(0,z.Map)(),re=(0,z.fromJS)({op:G,tag:r,path:n,summary:e.getIn(["operation","summary"])||"",deprecated:G.get("deprecated")||e.getIn(["operation","deprecated"])||!1,method:s,security:i,isAuthorized:a,operationId:o,originalOperationId:G.getIn(["operation","__originalOperationId"]),showSummary:u,isShown:l,jumpToKey:c,allowTryItOut:p,request:d,displayOperationId:g,displayRequestDuration:y,isDeepLinkingEnabled:v,executeInProgress:this.state.executeInProgress,tryItOutEnabled:this.state.tryItOutEnabled});return f.default.createElement(M,{operation:re,response:m,request:d,isShown:l,toggleShown:this.toggleShown,onTryoutClick:this.onTryoutClick,onResetClick:this.onResetClick,onCancelClick:this.onCancelClick,onExecute:this.onExecute,specPath:E,specActions:_,specSelectors:b,oas3Actions:F,oas3Selectors:R,layoutActions:I,layoutSelectors:A,authActions:k,authSelectors:P,getComponent:w,getConfigs:S,fn:L})}}var pge=(function(t){var e={};return be.d(e,t),e})({default:function(){return mue}});class dge extends f.PureComponent{static defaultProps={operationProps:null,specPath:(0,z.List)(),summary:""};render(){let{isShown:e,toggleShown:r,getComponent:n,authActions:s,authSelectors:i,operationProps:a,specPath:o}=this.props,{summary:u,isAuthorized:l,method:c,op:p,showSummary:m,path:d,operationId:g,originalOperationId:y,displayOperationId:v}=a.toJS(),{summary:E}=p,b=a.get("security");const _=n("authorizeOperationBtn",!0),w=n("OperationSummaryMethod"),S=n("OperationSummaryPath"),A=n("JumpToPath",!0),I=n("CopyToClipboardBtn",!0),k=n("ArrowUpIcon"),P=n("ArrowDownIcon"),F=b&&!!b.count(),R=F&&b.size===1&&b.first().isEmpty(),L=!F||R;return f.default.createElement("div",{className:`opblock-summary opblock-summary-${c}`},f.default.createElement("button",{"aria-expanded":e,className:"opblock-summary-control",onClick:r},f.default.createElement(w,{method:c}),f.default.createElement("div",{className:"opblock-summary-path-description-wrapper"},f.default.createElement(S,{getComponent:n,operationProps:a,specPath:o}),m?f.default.createElement("div",{className:"opblock-summary-description"},(0,pge.default)(E||u)):null),v&&(y||g)?f.default.createElement("span",{className:"opblock-summary-operation-id"},y||g):null),f.default.createElement(I,{textToCopy:`${o.get(1)}`}),L?null:f.default.createElement(_,{isAuthorized:l,onClick:()=>{const M=i.definitionsForRequirements(b);s.showDefinitions(M)}}),f.default.createElement(A,{path:o}),f.default.createElement("button",{"aria-label":`${c} ${d.replace(/\//g,"​/")}`,className:"opblock-control-arrow","aria-expanded":e,tabIndex:"-1",onClick:r},e?f.default.createElement(k,{className:"arrow"}):f.default.createElement(P,{className:"arrow"})))}}class hge extends f.PureComponent{static defaultProps={operationProps:null};render(){let{method:e}=this.props;return f.default.createElement("span",{className:"opblock-summary-method"},e.toUpperCase())}}class mge extends f.PureComponent{render(){let{getComponent:e,operationProps:r}=this.props,{deprecated:n,isShown:s,path:i,tag:a,operationId:o,isDeepLinkingEnabled:u}=r.toJS();const l=i.split(/(?=\/)/g);for(let p=1;p<l.length;p+=2)l.splice(p,0,f.default.createElement("wbr",{key:p}));const c=e("DeepLink");return f.default.createElement("span",{className:n?"opblock-summary-path__deprecated":"opblock-summary-path","data-
245path":i},f.default.createElement(c,{enabled:u,isShown:s,path:pu(`${a}/${o}`),text:l}))}}var gge=({extensions:t,getComponent:e})=>{let r=e("OperationExtRow");return f.default.createElement("div",{className:"opblock-section"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("h4",null,"Extensions")),f.default.createElement("div",{className:"table-container"},f.default.createElement("table",null,f.default.createElement("thead",null,f.default.createElement("tr",null,f.default.createElement("td",{className:"col_header"},"Field"),f.default.createElement("td",{className:"col_header"},"Value"))),f.default.createElement("tbody",null,t.entrySeq().map((([n,s])=>f.default.createElement(r,{key:`${n}-${s}`,xKey:n,xVal:s})))))))},yge=({xKey:t,xVal:e})=>{const r=e?e.toJS?e.toJS():e:null;return f.default.createElement("tr",null,f.default.createElement("td",null,t),f.default.createElement("td",null,JSON.stringify(r)))};function CA(t,e="_"){return t.replace(/[^\w-]/g,e)}class RA extends f.default.Component{static defaultProps={tryItOutResponse:null,produces:(0,z.fromJS)(["application/json"]),displayRequestDuration:!1};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);onResponseContentTypeChange=({controlsAcceptHeader:e,value:r})=>{const{oas3Actions:n,path:s,method:i}=this.props;e&&n.setResponseContentType({value:r,path:s,method:i})};render(){let{responses:e,tryItOutResponse:r,getComponent:n,getConfigs:s,specSelectors:i,fn:a,producesValue:o,displayRequestDuration:u,specPath:l,path:c,method:p,oas3Selectors:m,oas3Actions:d}=this.props,g=(function(k){let P=k.keySeq();return P.contains(ND)?ND:P.filter((F=>(F+"")[0]==="2")).sort().first()})(e);const y=n("contentType"),v=n("liveResponse"),E=n("response");let b=this.props.produces&&this.props.produces.size?this.props.produces:RA.defaultProps.produces;const _=i.isOAS3()?(function(k){if(!z.default.OrderedMap.isOrderedMap(k)||!k.size)return null;const P=k.find(((L,M)=>M.startsWith("2")&&Object.keys(L.get("content")||{}).length>0)),F=k.get("default")||z.default.OrderedMap(),R=(F.get("content")||z.default.OrderedMap()).keySeq().toJS().length?F:null;return P||R})(e):null,w=e.filter(((I,k)=>!z1(k))),S=CA(`${p}${c}_responses`),A=`${S}_select`;return w&&w.size?f.default.createElement("div",{className:"responses-wrapper"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("h4",null,"Responses"),i.isOAS3()?null:f.default.createElement("label",{htmlFor:A},f.default.createElement("span",null,"Response content type"),f.default.createElement(y,{value:o,ariaControls:S,ariaLabel:"Response content type",className:"execute-content-type",contentTypes:b,controlId:A,onChange:this.onChangeProducesWrapper}))),f.default.createElement("div",{className:"responses-inner"},r?f.default.createElement("div",null,f.default.createElement(v,{response:r,getComponent:n,getConfigs:s,specSelectors:i,path:this.props.path,method:this.props.method,displayRequestDuration:u}),f.default.createElement("h4",null,"Responses")):null,f.default.createElement("table",{"aria-live":"polite",className:"responses-table",id:S,role:"region"},f.default.createElement("thead",null,f.default.createElement("tr",{className:"responses-header"},f.default.createElement("td",{className:"col_header response-col_status"},"Code"),f.default.createElement("td",{className:"col_header response-col_description"},"Description"),i.isOAS3()?f.default.createElement("td",{className:"col col_header response-col_links"},"Links"):null)),f.default.createElement("tbody",null,w.entrySeq().map((([I,k])=>{let P=r&&r.get("status")==I?"response_current":"";return f.default.createElement(E,{key:I,path:c,method:p,specPath:l.push(I),isDefault:g===I,fn:a,className:P,code:I,response:k,specSelectors:i,controlsAcceptHeader:k===_,onContentTypeChange:this.onResponseContentTypeChange,contentType:o,getConfigs:s,activeExamplesKey:m.activeExamplesMember(c,p,"responses",I),oas3Actions:d,getComponent:n})})).toArray())))):null}}function Bp(t){return(function(r){try{return!!JSON.parse(r)}catch{return null}})(t)?"json":null}let vge=class extends f.default.Component{constructor(e,r){super(e,r),this.state={responseContentType:""}}static defaultProps={response:(0,z.fromJS)({}),onContentTypeChange:()=>{}};_onContentTypeChange=e=>{const{onContentTypeChange:r,controlsAcceptHeader:n}=this.props;this.setState({responseContentType:e}),r({value:e,controlsAcceptHeader:n})};getTargetExamplesKey=()=>{const{response:e,contentType:r,activeExamplesKey:n}=this.props,s=this.state.responseContentType||r,i=e.getIn(["content",s],(0,z.Map)({})).get("examples",null).keySeq().first();return n||i};render(){let{path:e,method:r,code:n,response:s,className:i,specPath:a,fn:o,getComponent:u,getConfigs:l,specSelectors:c,contentType:p,controlsAcceptHeader:m,oas3Actions:d}=this.props,{inferSchema:g,getSampleSchema:y}=o,v=c.isOAS3();const{showExtensions:E}=l();let b=E?Di(s):null,_=s.get("headers"),w=s.get("links");const S=u("ResponseExtension"),A=u("headers"),I=u("HighlightCode",!0),k=u("modelExample"),P=u("Markdown",!0),F=u("operationLink"),R=u("contentType"),L=u("ExamplesSelect"),M=u("Example");var G,re;const K=this.state.responseContentType||p,Z=s.getIn(["content",K],(0,z.Map)({})),X=Z.get("examples",null);if(v){const he=Z.get("schema");G=he?g(he.toJS()):null,re=he?a.push("content",this.state.responseContentType,"schema"):a}else G=s.get("schema"),re=s.has("schema")?a.push("schema"):a;let ee,ce,se=!1,ue={includeReadOnly:!0};if(v)if(ce=Z.get("schema")?.toJS(),z.Map.isMap(X)&&!X.isEmpty()){const he=this.getTargetExamplesKey(),te=W=>z.Map.isMap(W)?W.get("value"):void 0;ee=te(X.get(he,(0,z.Map)({}))),ee===void 0&&(ee=te(X.values().next().value)),se=!0}else Z.get("example")!==void 0&&(ee=Z.get("example"),se=!0);else{ce=G,ue={...ue,includeWriteOnly:!0};const he=s.getIn(["examples",K]);he&&(ee=he,se=!0)}const ye=((he,te)=>{if(he==null)return null;const W=Bp(he)?"json":null;return f.default.createElement("div",null,f.default.createElement(te,{className:"example",language:W},Cr(he)))})(y(ce,K,ue,se?ee:void 0),I);return f.default.createElement("tr",{className:"response "+(i||""),"data-code":n},f.default.createElement("td",{className:"response-col_status"},n),f.default.createElement("td",{className:"response-col_description"},f.default.createElement("div",{className:"response-col_description__inner"},f.default.createElement(P,{source:s.get("description")})),E&&b.size?b.entrySeq().map((([he,te])=>f.default.createElement(S,{key:`${he}-${te}`,xKey:he,xVal:te}))):null,v&&s.get("content")?f.default.createElement("section",{className:"response-control
245s"},f.default.createElement("div",{className:(0,Tt.default)("response-control-media-type",{"response-control-media-type--accept-controller":m})},f.default.createElement("small",{className:"response-control-media-type__title"},"Media type"),f.default.createElement(R,{value:this.state.responseContentType,contentTypes:s.get("content")?s.get("content").keySeq():(0,z.Seq)(),onChange:this._onContentTypeChange,ariaLabel:"Media Type"}),m?f.default.createElement("small",{className:"response-control-media-type__accept-message"},"Controls ",f.default.createElement("code",null,"Accept")," header."):null),z.Map.isMap(X)&&!X.isEmpty()?f.default.createElement("div",{className:"response-control-examples"},f.default.createElement("small",{className:"response-control-examples__title"},"Examples"),f.default.createElement(L,{examples:X,currentExampleKey:this.getTargetExamplesKey(),onSelect:he=>d.setActiveExamplesMember({name:he,pathMethod:[e,r],contextType:"responses",contextName:n}),showLabels:!1})):null):null,ye||G?f.default.createElement(k,{specPath:re,getComponent:u,getConfigs:l,specSelectors:c,schema:Es(G),example:ye,includeReadOnly:!0}):null,v&&X?f.default.createElement(M,{example:X.get(this.getTargetExamplesKey(),(0,z.Map)({})),getComponent:u,getConfigs:l,omitValue:!0}):null,_?f.default.createElement(A,{headers:_,getComponent:u}):null),v?f.default.createElement("td",{className:"response-col_links"},w?w.toSeq().entrySeq().map((([he,te])=>f.default.createElement(F,{key:he,name:he,link:te,getComponent:u}))):f.default.createElement("i",null,"No links")):null)}};var bge=({xKey:t,xVal:e})=>f.default.createElement("div",{className:"response__extension"},t,": ",String(e)),Ege=(function(t){var e={};return be.d(e,t),e})({default:function(){return bue}}),u3=(function(t){var e={};return be.d(e,t),e})({default:function(){return _ue}});class Sge extends f.default.PureComponent{state={parsedContent:null};updateParsedContent=e=>{const{content:r}=this.props;if(e!==r)if(r&&r instanceof Blob){var n=new FileReader;n.onload=()=>{this.setState({parsedContent:n.result})},n.readAsText(r)}else this.setState({parsedContent:r.toString()})};componentDidMount(){this.updateParsedContent(null)}componentDidUpdate(e){this.updateParsedContent(e.content)}render(){let{content:e,contentType:r,url:n,headers:s={},getComponent:i}=this.props;const{parsedContent:a}=this.state,o=i("HighlightCode",!0),u="response_"+new Date().getTime();let l,c;if(n=n||"",(/^application\/octet-stream/i.test(r)||s["Content-Disposition"]&&/attachment/i.test(s["Content-Disposition"])||s["content-disposition"]&&/attachment/i.test(s["content-disposition"])||s["Content-Description"]&&/File Transfer/i.test(s["Content-Description"])||s["content-description"]&&/File Transfer/i.test(s["content-description"]))&&(e.size>0||e.length>0))if("Blob"in window){let p=r||"text/html",m=e instanceof Blob?e:new Blob([e],{type:p}),d=window.URL.createObjectURL(m),g=[p,n.substr(n.lastIndexOf("/")+1),d].join(":"),y=s["content-disposition"]||s["Content-Disposition"];if(y!==void 0){let v=(function(b){let _;if([/filename\*=[^']+'\w*'"([^"]+)";?/i,/filename\*=[^']+'\w*'([^;]+);?/i,/filename="([^;]*);?"/i,/filename=([^;]*);?/i].some((w=>(_=w.exec(b),_!==null))),_!==null&&_.length>1)try{return decodeURIComponent(_[1])}catch(w){console.error(w)}return null})(y);v!==null&&(g=v)}c=Gt.navigator&&Gt.navigator.msSaveOrOpenBlob?f.default.createElement("div",null,f.default.createElement("a",{href:d,onClick:()=>Gt.navigator.msSaveOrOpenBlob(m,g)},"Download file")):f.default.createElement("div",null,f.default.createElement("a",{href:d,download:g},"Download file"))}else c=f.default.createElement("pre",{className:"microlight"},"Download headers detected but your browser does not support downloading binary via XHR (Blob).");else if(/json/i.test(r)){let p=null;Bp(e)&&(p="json");try{l=JSON.stringify(JSON.parse(e),null,"  ")}catch{l=`can't parse JSON.  Raw result:
246
247`+e}c=f.default.createElement(o,{language:p,downloadable:!0,fileName:`${u}.json`,canCopy:!0},l)}else/xml/i.test(r)?(l=(0,Ege.default)(e,{textNodesOnSameLine:!0,indentor:"  "}),c=f.default.createElement(o,{downloadable:!0,fileName:`${u}.xml`,canCopy:!0},l)):c=(0,u3.default)(r)==="text/html"||/text\/plain/.test(r)?f.default.createElement(o,{downloadable:!0,fileName:`${u}.html`,canCopy:!0},e):(0,u3.default)(r)==="text/csv"||/text\/csv/.test(r)?f.default.createElement(o,{downloadable:!0,fileName:`${u}.csv`,canCopy:!0},e):/^image\//i.test(r)?r.includes("svg")?f.default.createElement("div",null," ",e," "):f.default.createElement("img",{src:window.URL.createObjectURL(e)}):/^audio\//i.test(r)?f.default.createElement("pre",{className:"microlight"},f.default.createElement("audio",{controls:!0,key:n},f.default.createElement("source",{src:n,type:r}))):typeof e=="string"?f.default.createElement(o,{downloadable:!0,fileName:`${u}.txt`,canCopy:!0},e):e.size>0?a?f.default.createElement("div",null,f.default.createElement("p",{className:"i"},"Unrecognized response type; displaying content as text."),f.default.createElement(o,{downloadable:!0,fileName:`${u}.txt`,canCopy:!0},a)):f.default.createElement("p",{className:"i"},"Unrecognized response type; unable to display."):null;return c?f.default.createElement("div",null,f.default.createElement("h5",null,"Response body"),c):null}}class _ge extends f.Component{constructor(e){super(e),this.state={callbackVisible:!1,parametersVisible:!0}}static defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,tryItOutEnabled:!1,allowTryItOut:!0,onChangeKey:[],specPath:[]};onChange=(e,r,n)=>{let{specActions:{changeParamByIdentity:s},onChangeKey:i}=this.props;s(i,e,r,n)};onChangeConsumesWrapper=e=>{let{specActions:{changeConsumesValue:r},onChangeKey:n}=this.props;r(n,e)};toggleTab=e=>e==="parameters"?this.setState({parametersVisible:!0,callbackVisible:!1}):e==="callbacks"?this.setState({callbackVisible:!0,parametersVisible:!1}):void 0;
247onChangeMediaType=({value:e,pathMethod:r})=>{let{specActions:n,oas3Selectors:s,oas3Actions:i}=this.props;const a=s.hasUserEditedBody(...r),o=s.shouldRetainRequestBodyValue(...r);i.setRequestContentType({value:e,pathMethod:r}),i.initRequestBodyValidateError({pathMethod:r}),a||(o||i.setRequestBodyValue({value:void 0,pathMethod:r}),n.clearResponse(...r),n.clearRequest(...r),n.clearValidateParams(r))};render(){let{onTryoutClick:e,onResetClick:r,parameters:n,allowTryItOut:s,tryItOutEnabled:i,specPath:a,fn:o,getComponent:u,getConfigs:l,specSelectors:c,specActions:p,pathMethod:m,oas3Actions:d,oas3Selectors:g,operation:y}=this.props;const v=u("parameterRow"),E=u("TryItOutButton"),b=u("contentType"),_=u("Callbacks",!0),w=u("RequestBody",!0),S=i&&s,A=c.isOAS3(),I=`${CA(`${m[1]}${m[0]}_requests`)}_select`,k=y.get("requestBody"),P=Object.values(n.reduce(((F,R)=>{if(z.Map.isMap(R)){const L=R.get("in");F[L]??=[],F[L].push(R)}return F}),{})).reduce(((F,R)=>F.concat(R)),[]);return f.default.createElement("div",{className:"opblock-section"},f.default.createElement("div",{className:"opblock-section-header"},A?f.default.createElement("div",{className:"tab-header"},f.default.createElement("div",{onClick:()=>this.toggleTab("parameters"),className:`tab-item ${this.state.parametersVisible&&"active"}`},f.default.createElement("h4",{className:"opblock-title"},f.default.createElement("span",null,"Parameters"))),y.get("callbacks")?f.default.createElement("div",{onClick:()=>this.toggleTab("callbacks"),className:`tab-item ${this.state.callbackVisible&&"active"}`},f.default.createElement("h4",{className:"opblock-title"},f.default.createElement("span",null,"Callbacks"))):null):f.default.createElement("div",{className:"tab-header"},f.default.createElement("h4",{className:"opblock-title"},"Parameters")),s?f.default.createElement(E,{isOAS3:c.isOAS3(),hasUserEditedBody:g.hasUserEditedBody(...m),enabled:i,onCancelClick:this.props.onCancelClick,onTryoutClick:e,onResetClick:()=>r(m)}):null),this.state.parametersVisible?f.default.createElement("div",{className:"parameters-container"},P.length?f.default.createElement("div",{className:"table-container"},f.default.createElement("table",{className:"parameters"},f.default.createElement("thead",null,f.default.createElement("tr",null,f.default.createElement("th",{className:"col_header parameters-col_name"},"Name"),f.default.createElement("th",{className:"col_header parameters-col_description"},"Description"))),f.default.createElement("tbody",null,P.map(((F,R)=>f.default.createElement(v,{fn:o,specPath:a.push(R.toString()),getComponent:u,getConfigs:l,rawParam:F,param:c.parameterWithMetaByIdentity(m,F),key:`${F.get("in")}.${F.get("name")}`,onChange:this.onChange,onChangeConsumes:this.onChangeConsumesWrapper,specSelectors:c,specActions:p,oas3Actions:d,oas3Selectors:g,pathMethod:m,isExecute:S})))))):f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement("p",null,"No parameters"))):null,this.state.callbackVisible?f.default.createElement("div",{className:"callbacks-container opblock-description-wrapper"},f.default.createElement(_,{callbacks:(0,z.Map)(y.get("callbacks")),specPath:a.slice(0,-1).push("callbacks")})):null,A&&k&&this.state.parametersVisible&&f.default.createElement("div",{className:"opblock-section opblock-section-request-body"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("h4",{className:`opblock-title parameter__name ${k.get("required")&&"required"}`},"Request body"),f.default.createElement("label",{id:I},f.default.createElement(b,{value:g.requestContentType(...m),contentTypes:k.get("content",(0,z.List)()).keySeq(),onChange:F=>{this.onChangeMediaType({value:F,pathMethod:m})},className:"body-param-content-type",ariaLabel:"Request content type",controlId:I}))),f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement(w,{setRetainRequestBodyValueFlag:F=>d.setRetainRequestBodyValueFlag({value:F,pathMethod:m}),userHasEditedBody:g.hasUserEditedBody(...m),specPath:a.slice(0,-1).push("requestBody"),requestBody:k,requestBodyValue:g.requestBodyValue(...m),requestBodyInclusionSetting:g.requestBodyInclusionSetting(...m),requestBodyErrors:g.requestBodyErrors(...m),isExecute:S,getConfigs:l,activeExamplesKey:g.activeExamplesMember(...m,"requestBody","requestBody"),updateActiveExamplesKey:F=>{this.props.oas3Actions.setActiveExamplesMember({name:F,pathMethod:this.props.pathMethod,contextType:"requestBody",contextName:"requestBody"})},onChange:(F,R)=>
247{if(R){const L=g.requestBodyValue(...m),M=z.Map.isMap(L)?L:(0,z.Map)();return d.setRequestBodyValue({pathMethod:m,value:M.setIn(R,F)})}d.setRequestBodyValue({value:F,pathMethod:m})},onChangeIncludeEmpty:(F,R)=>{d.setRequestBodyInclusion({pathMethod:m,value:R,name:F})},contentType:g.requestContentType(...m)}))))}}var wge=({xKey:t,xVal:e})=>f.default.createElement("div",{className:"parameter__extension"},t,": ",String(e));const xge={onChange:()=>{},isIncludedOptions:{}};class Age extends f.Component{static defaultProps=xge;componentDidMount(){const{isIncludedOptions:e,onChange:r}=this.props,{shouldDispatchInit:n,defaultValue:s}=e;n&&r(s)}onCheckboxChange=e=>{const{onChange:r}=this.props;r(e.target.checked)};render(){let{isIncluded:e,isDisabled:r}=this.props;return f.default.createElement("div",null,f.default.createElement("label",{htmlFor:"include_empty_value",className:(0,Tt.default)("parameter__empty_value_toggle",{disabled:r})},f.default.createElement("input",{id:"include_empty_value",type:"checkbox",disabled:r,checked:!r&&e,onChange:this.onCheckboxChange}),"Send empty value"))}}class Oge extends f.Component{constructor(e,r){super(e,r),this.setDefaultValue()}UNSAFE_componentWillReceiveProps(e){let r,{specSelectors:n,pathMethod:s,rawParam:i}=e,a=n.isOAS3(),o=n.parameterWithMetaByIdentity(s,i)||new z.Map;if(o=o.isEmpty()?i:o,a){let{schema:c}=Ic(o,{isOAS3:a});r=c?c.get("enum"):void 0}else r=o?o.get("enum"):void 0;let u,l=o?o.get("value"):void 0;l!==void 0?u=l:i.get("required")&&r&&r.size&&(u=r.first()),u!==void 0&&u!==l&&this.onChangeWrapper((function(p){return typeof p=="number"?p.toString():p})(u)),this.setDefaultValue()}onChangeWrapper=(e,r=!1)=>{let n,{onChange:s,rawParam:i}=this.props;return n=e===""||e&&e.size===0?null:e,s(i,n,r)};_onExampleSelect=e=>{this.props.oas3Actions.setActiveExamplesMember({name:e,pathMethod:this.props.pathMethod,contextType:"parameters",contextName:this.getParamKey()})};onChangeIncludeEmpty=e=>{let{specActions:r,param:n,pathMethod:s}=this.props;const i=n.get("name"),a=n.get("in");return r.updateEmptyParamInclusion(s,i,a,e)};setDefaultValue=()=>{let{specSelectors:e,pathMethod:r,rawParam:n,oas3Selectors:s,fn:i}=this.props;const a=e.parameterWithMetaByIdentity(r,n)||(0,z.Map)();let{schema:o}=Ic(a,{isOAS3:e.isOAS3()});const u=a.get("content",(0,z.Map)()).keySeq().first(),l=o?i.getSampleSchema(o.toJS(),u,{includeWriteOnly:!0}):null;if(a&&a.get("value")===void 0&&a.get("in")!=="body"){let c;if(e.isSwagger2())c=a.get("x-example")!==void 0?a.get("x-example"):a.getIn(["schema","example"])!==void 0?a.getIn(["schema","example"]):o&&o.getIn(["default"]);else if(e.isOAS3()){o=this.composeJsonSchema(o);const d=s.activeExamplesMember(...r,"parameters",this.getParamKey());c=a.getIn(["examples",d,"value"])!==void 0?a.getIn(["examples",d,"value"]):a.getIn(["content",u,"example"])!==void 0?a.getIn(["content",u,"example"]):a.get("example")!==void 0?a.get("example"):(o&&o.get("example"))!==void 0?o&&o.get("example"):(o&&o.get("default"))!==void 0?o&&o.get("default"):a.get("default")}c===void 0||z.List.isList(c)||(c=Cr(c));const p=i.getSchemaObjectType(o),m=i.getSchemaObjectType(o?.get("items"));c!==void 0?this.onChangeWrapper(c):p==="object"&&l&&!a.get("examples")?this.onChangeWrapper(z.List.isList(l)?l:Cr(l)):p==="array"&&m==="object"&&l&&!a.get("examples")&&this.onChangeWrapper(z.List.isList(l)?l:(0,z.List)(JSON.parse(l)))}};getParamKey(){const{param:e}=this.props;return e?`${e.get("name")}-${e.get("in")}`:null}composeJsonSchema(e){const{fn:r}=this.props,n=e.get("oneOf")?.get(0)?.toJS(),s=e.get("anyOf")?.get(0)?.toJS();return(0,z.fromJS)(r.mergeJsonSchema(e.toJS(),n??s??{}))}render(){let{param:e,rawParam:r,getComponent:n,getConfigs:s,isExecute:i,fn:a,onChangeConsumes:o,specSelectors:u,pathMethod:l,specPath:c,oas3Selectors:p}=this.props,m=u.isOAS3();const{showExtensions:d,showCommonExtensions:g}=s();if(e||(e=r),!r)return null;const y=n("JsonSchemaForm"),v=n("ParamBody");let E=e.get("in"),b=E!=="body"?null:f.default.createElement(v,{getComponent:n,getConfigs:s,fn:a,param:e,consumes:u.consumesOptionsFor(l),consumesValue:u.contentTypeValues(l).get("requestContentType"),onChange:this.onChangeWrapper,onCh
247angeConsumes:o,isExecute:i,specSelectors:u,pathMethod:l});const _=n("modelExample"),w=n("Markdown",!0),S=n("ParameterExt"),A=n("ParameterIncludeEmpty"),I=n("ExamplesSelectValueRetainer"),k=n("Example");let{schema:P}=Ic(e,{isOAS3:m}),F=u.parameterWithMetaByIdentity(l,r)||(0,z.Map)();const R=F.get("content",(0,z.Map)()).keySeq().first();m&&(P=this.composeJsonSchema(P));let L=P?P.get("format"):null,M=E==="formData",G="FormData"in Gt,re=e.get("required");const K=a.getSchemaObjectType(P),Z=a.getSchemaObjectType(P?.get("items")),X=a.getSchemaObjectTypeLabel(P),ee=!b&&K==="object",ce=!b&&Z==="object";let se,ue,ye,he,te=F?F.get("value"):"",W=g?x6(P):null,V=d?Di(e):null,me=!1;e!==void 0&&P&&(se=P.get("items")),se!==void 0?(ue=se.get("enum"),ye=se.get("default")):P&&(ue=P.get("enum")),ue&&ue.size&&ue.size>0&&(me=!0),e!==void 0&&(P&&(ye=P.get("default")),ye===void 0&&(ye=e.get("default")),he=e.get("example"),he===void 0&&(he=e.get("x-example")));const ve=b?null:f.default.createElement(y,{fn:a,getComponent:n,value:te,required:re,disabled:!i,description:e.get("name"),onChange:this.onChangeWrapper,errors:F.get("errors"),schema:P});return f.default.createElement("tr",{"data-param-name":e.get("name"),"data-param-in":e.get("in")},f.default.createElement("td",{className:"parameters-col_name"},f.default.createElement("div",{className:re?"parameter__name required":"parameter__name"},e.get("name"),re?f.default.createElement("span",null," *"):null),f.default.createElement("div",{className:"parameter__type"},X,L&&f.default.createElement("span",{className:"prop-format"},"($",L,")")),f.default.createElement("div",{className:"parameter__deprecated"},m&&e.get("deprecated")?"deprecated":null),f.default.createElement("div",{className:"parameter__in"},"(",e.get("in"),")")),f.default.createElement("td",{className:"parameters-col_description"},e.get("description")?f.default.createElement(w,{source:e.get("description")}):null,!b&&i||!me?null:f.default.createElement(w,{className:"parameter__enum",source:"<i>Available values</i> : "+ue.map((function(Me){return Me})).toArray().map(String).join(", ")}),!b&&i||ye===void 0?null:f.default.createElement(w,{className:"parameter__default",source:"<i>Default value</i> : "+ye}),!b&&i||he===void 0?null:f.default.createElement(w,{source:"<i>Example</i> : "+he}),M&&!G&&f.default.createElement("div",null,"Error: your browser does not support FormData"),m&&e.get("examples")?f.default.createElement("section",{className:"parameter-controls"},f.default.createElement(I,{examples:e.get("examples"),onSelect:this._onExampleSelect,updateValue:this.onChangeWrapper,getComponent:n,defaultToFirstExample:!0,currentKey:p.activeExamplesMember(...l,"parameters",this.getParamKey()),currentUserInputValue:te})):null,ee||ce?f.default.createElement(_,{getComponent:n,specPath:R?c.push("content",R,"schema"):c.push("schema"),getConfigs:s,isExecute:i,specSelectors:u,schema:P,example:ve}):ve,b&&P?f.default.createElement(_,{getComponent:n,specPath:c.push("schema"),getConfigs:s,isExecute:i,specSelectors:u,schema:P,example:b,includeWriteOnly:!0}):null,!b&&i&&e.get("allowEmptyValue")?f.default.createElement(A,{onChange:this.onChangeIncludeEmpty,isIncluded:u.parameterInclusionSettingFor(l,e.get("name"),e.get("in")),isDisabled:!Kx(te)}):null,m&&e.get("examples")?f.default.createElement(k,{example:e.getIn(["examples",p.activeExamplesMember(...l,"parameters",this.getParamKey())]),getComponent:n,getConfigs:s}):null,g&&W.size?W.entrySeq().map((([Me,Be])=>f.default.createElement(S,{key:`${Me}-${Be}`,xKey:Me,xVal:Be}))):null,d&&V.size?V.entrySeq().map((([Me,Be])=>f.default.createElement(S,{key:`${Me}-${Be}`,xKey:Me,xVal:Be}))):null))}}class Cge extends f.Component{handleValidateParameters=()=>{let{specSelectors:e,specActions:r,path:n,method:s}=this.props;return r.validateParams([n,s]),e.validateBeforeExecute([n,s])};handleValidateRequestBody=()=>{let{path:e,method:r,specSelectors:n,oas3Selectors:s,oas3Actions:i}=this.props,a={missingBodyValue:!1,missingRequiredKeys:[]};i.clearRequestBodyValidateError({path:e,method:r});let o=n.getOAS3RequiredRequestBodyContentType([e,r]),u=s.requestBodyValue(e,r),l=s.validateBeforeExecute([e,r]),c=s.requestContentType(e,r);if(!l)return a.missingBodyValue=!0,i.setRequestBodyValidateError({path:e,method:r,validationErrors:a}),!1;if(!o)return!0;let p=s.validateShallowRequired({oas3RequiredRequestBodyContentType:o,oas3RequestContentType:c,oas3RequestBodyValue:u});
247return!p||p.length<1||(p.forEach((m=>{a.missingRequiredKeys.push(m)})),i.setRequestBodyValidateError({path:e,method:r,validationErrors:a}),!1)};handleValidationResultPass=()=>{let{specActions:e,operation:r,path:n,method:s}=this.props;this.props.onExecute&&this.props.onExecute(),e.execute({operation:r,path:n,method:s})};handleValidationResultFail=()=>{let{specActions:e,path:r,method:n}=this.props;e.clearValidateParams([r,n]),setTimeout((()=>{e.validateParams([r,n])}),40)};handleValidationResult=e=>{e?this.handleValidationResultPass():this.handleValidationResultFail()};onClick=()=>{let e=this.handleValidateParameters(),r=this.handleValidateRequestBody(),n=e&&r;this.handleValidationResult(n)};onChangeProducesWrapper=e=>this.props.specActions.changeProducesValue([this.props.path,this.props.method],e);render(){const{disabled:e}=this.props;return f.default.createElement("button",{className:"btn execute opblock-control__btn",onClick:this.onClick,disabled:e},"Execute")}}class Rge extends f.default.Component{render(){let{headers:e,getComponent:r}=this.props;const n=r("Property"),s=r("Markdown",!0);return e&&e.size?f.default.createElement("div",{className:"headers-wrapper"},f.default.createElement("h4",{className:"headers__title"},"Headers:"),f.default.createElement("table",{className:"headers"},f.default.createElement("thead",null,f.default.createElement("tr",{className:"header-row"},f.default.createElement("th",{className:"header-col"},"Name"),f.default.createElement("th",{className:"header-col"},"Description"),f.default.createElement("th",{className:"header-col"},"Type"))),f.default.createElement("tbody",null,e.entrySeq().map((([i,a])=>{if(!z.default.Map.isMap(a))return null;const o=a.get("description"),u=a.getIn(["schema"])?a.getIn(["schema","type"]):a.getIn(["type"]),l=a.getIn(["schema","example"]);return f.default.createElement("tr",{key:i},f.default.createElement("td",{className:"header-col"},i),f.default.createElement("td",{className:"header-col"},o?f.default.createElement(s,{source:o}):null),f.default.createElement("td",{className:"header-col"},u," ",l?f.default.createElement(n,{propKey:"Example",propVal:l,propClass:"header-example"}):null))})).toArray()))):null}}class Ige extends f.default.Component{render(){let{editorActions:e,errSelectors:r,layoutSelectors:n,layoutActions:s,getComponent:i}=this.props;const a=i("Collapse");if(e&&e.jumpToLine)var o=e.jumpToLine;let u=r.allErrors().filter((p=>p.get("type")==="thrown"||p.get("level")==="error"));if(!u||u.count()<1)return null;let l=n.isShown(["errorPane"],!0),c=u.sortBy((p=>p.get("line")));return f.default.createElement("pre",{className:"errors-wrapper"},f.default.createElement("hgroup",{className:"error"},f.default.createElement("h4",{className:"errors__title"},"Errors"),f.default.createElement("button",{className:"btn errors__clear-btn",onClick:()=>s.show(["errorPane"],!l)},l?"Hide":"Show")),f.default.createElement(a,{isOpened:l,animated:!0},f.default.createElement("div",{className:"errors"},c.map(((p,m)=>{let d=p.get("type");return d==="thrown"||d==="auth"?f.default.createElement(Tge,{key:m,error:p.get("error")||p,jumpToLine:o}):d==="spec"?f.default.createElement(kge,{key:m,error:p,jumpToLine:o}):void 0})))))}}const Tge=({error:t,jumpToLine:e})=>{if(!t)return null;let r=t.get("line");return f.default.createElement("div",{className:"error-wrapper"},t?f.default.createElement("div",null,f.default.createElement("h4",null,t.get("source")&&t.get("level")?$8(t.get("source"))+" "+t.get("level"):"",t.get("path")?f.default.createElement("small",null," at ",t.get("path")):null),f.default.createElement("span",{className:"message thrown"},t.get("message")),f.default.createElement("div",{className:"error-line"},r&&e?f.default.createElement("a",{onClick:e.bind(null,r)},"Jump to line ",r):null)):null)},kge=({error:t,jumpToLine:e=null})=>{let r=null;return t.get("path")?r=z.List.isList(t.get("path"))?f.default.createElement("small",null,"at ",t.get("path").join(".")):f.default.createElement("small",null,"at ",t.get("path")):t.get("line")&&!e&&(r=f.default.createElement("small",null,"on line ",t.get("line"))),f.default.createElement("div",{className:"error-wrapper"},t?f.default.createElement("div",null,f.default.createElement("h4",null,$8(t.get("source"))+" "+t.get("level")," ",r),f.default.createElement("span",{className:"message"},t.get("message")),f.default.createElement("div",{className:"error-line"},e?f.default.createElement("a",{onClick:e.bind(null,t.get("line"))},"Jump to line ",t.get("line")):null)):null)};function $8(t){return(t||"").split(" ").map((e=>e[0].toUpperCase()+e.slice(1))).join(" ")}const Pge=()=>{};
247class jge extends f.default.Component{static defaultProps={onChange:Pge,value:null,contentTypes:(0,z.fromJS)(["application/json"])};componentDidMount(){const{contentTypes:e,onChange:r}=this.props;e&&e.size&&r(e.first())}componentDidUpdate(){const{contentTypes:e,value:r,onChange:n}=this.props;e&&e.size&&(e.includes(r)||n(e.first()))}onChangeWrapper=e=>this.props.onChange(e.target.value);render(){let{ariaControls:e,ariaLabel:r,className:n,contentTypes:s,controlId:i,value:a}=this.props;return s&&s.size?f.default.createElement("div",{className:"content-type-wrapper "+(n||"")},f.default.createElement("select",{"aria-controls":e,"aria-label":r,className:"content-type",id:i,onChange:this.onChangeWrapper,value:a||""},s.map((o=>f.default.createElement("option",{key:o,value:o},o))).toArray())):null}}function Tl(...t){return t.filter((e=>!!e)).join(" ").trim()}class Nge extends f.default.Component{render(){let{fullscreen:e,full:r,...n}=this.props;if(e)return f.default.createElement("section",n);let s="swagger-container"+(r?"-full":"");return f.default.createElement("section",(0,It.default)({},n,{className:Tl(n.className,s)}))}}const kS={mobile:"",tablet:"-tablet",desktop:"-desktop",large:"-hd"};class Mge extends f.default.Component{render(){const{hide:e,keepContents:r,mobile:n,tablet:s,desktop:i,large:a,...o}=this.props;if(e&&!r)return f.default.createElement("span",null);let u=[];for(let c in kS){if(!Object.prototype.hasOwnProperty.call(kS,c))continue;let p=kS[c];if(c in this.props){let m=this.props[c];if(m<1){u.push("none"+p);continue}u.push("block"+p),u.push("col-"+m+p)}}e&&u.push("hidden");let l=Tl(o.className,...u);return f.default.createElement("section",(0,It.default)({},o,{className:l}))}}class Dge extends f.default.Component{render(){return f.default.createElement("div",(0,It.default)({},this.props,{className:Tl(this.props.className,"wrapper")}))}}class Fge extends f.default.Component{static defaultProps={className:""};render(){return f.default.createElement("button",(0,It.default)({},this.props,{className:Tl(this.props.className,"button")}))}}const qge=t=>f.default.createElement("textarea",t),Bge=t=>f.default.createElement("input",t);class Lge extends f.default.Component{static defaultProps={multiple:!1,allowEmptyValue:!0};constructor(e,r){let n;super(e,r),n=e.value?e.value:e.multiple?[""]:"",this.state={value:n}}onChange=e=>{let r,{onChange:n,multiple:s}=this.props,i=[].slice.call(e.target.options);r=s?i.filter((function(a){return a.selected})).map((function(a){return a.value})):e.target.value,this.setState({value:r}),n&&n(r)};UNSAFE_componentWillReceiveProps(e){e.value!==this.props.value&&this.setState({value:e.value})}render(){let{allowedValues:e,multiple:r,allowEmptyValue:n,disabled:s}=this.props,i=this.state.value?.toJS?.()||this.state.value;return f.default.createElement("select",{className:this.props.className,multiple:r,value:i,onChange:this.onChange,disabled:s},n?f.default.createElement("option",{value:""},"--"):null,e.map((function(a,o){return f.default.createElement("option",{key:o,value:String(a)},String(a))})))}}class U8 extends f.default.Component{render(){return f.default.createElement("a",(0,It.default)({},this.props,{rel:"noopener noreferrer",className:Tl(this.props.className,"link")}))}}const l3=({children:t})=>f.default.createElement("div",{className:"no-margin"}," ",t," ");class $ge extends f.default.Component{static defaultProps={isOpened:!1,animated:!1};renderNotAnimated(){return this.props.isOpened?f.default.createElement(l3,null,this.props.children):f.default.createElement("noscript",null)}render(){let{animated:e,isOpened:r,children:n}=this.props;return e?(n=r?n:null,f.default.createElement(l3,null,n)):this.renderNotAnimated()}}class Uge extends f.default.Component{constructor(...e){super(...e),this.setTagShown=this._setTagShown.bind(this)}_setTagShown(e,r){this.props.layoutActions.show(e,r)}showOp(e,r){let{layoutActions:n}=this.props;n.show(e,r)}render(){let{specSelectors:e,layoutSelectors:r,layoutActions:n,getComponent:s}=this.props,i=e.taggedOperations();const a=s("Collapse");return f.default.createElement("div",null,f.default.createElement("h4",{className:"overview-title"},"Overview"),i.map(((o,u)=>{let l=o.get("operations"),c=["overview-tags",u],p=r.isShown(c,!0);return f.default.createElement("div",{key:"overview-"+u},f.default.createElement("h4",{onClick:()=>n.show(c,!p),className:"link overview-tag"}," ",p?"-":"+",u),f.default.createElement(a,{isOpened:p,animated:!0},l.map((m=>{let{path:d,method:g,id:y}=m.toObject(),v="operations",E=y,b=r.isShown([v,E]);return f.default.createElement(Vge,{key:y,path:d,method:g,id:d+"-"+g,shown:b,showOpId:E,showOpIdPrefix:v,href:`#operation-${E}`,onClick:n.show})})).toArray()))})).toArray(),i.size<1&&f.default.createElement("h3",null," No operations defined in spec! "))}}class Vge extends f.default.Component{constructor(e){super(e),this.onClick=this._onClick.bind(this)}_onClick(){let{showOpId:e,showOpIdPrefix:r,onClick:n,shown:s}=this.props;n([r,e],!s)}render(){let{id:e,method:r,shown:n,href:s}=this.props;return f.default.createElement(U8,{href:s,onClick:this.onClick,className:"block opblock-link "+(n?"shown":"")},f.default.createElement("div",null,f.default.createElement("small",{className:`bold-label-${r}`},r.toUpperCase()),f.default.createElement("span",{className:"bold-label"},e)))}}class zge extends f.default.Component{componentDidMount(){this.props.initialValue&&(this.inputRef.value=this.props.initialValue)}render(){const{value:e,defaultValue:r,initialValue:n,...s}=this.props;return f.default.createElement("input",(0,It.default)({},s,{ref:i=>this.inputRef=i}))}}class Wge extends f.default.Component{render(){const{host:e,basePath:r}=this.props;return f.default.createElement("pre",{className:"base-url"},"[ Base URL: ",e,r," ]")}}class Jge extends f.default.PureComponent{render(){const{url:e,getComponent:r}=this.props,n=r("Link");return f.default.createElement(n,{target:"_blank",href:cr(e)},f.default.createElement("span",{className:"url"}," ",e))}}class Hge extends f.default.Component{render(){const{info:e,url:r,host:n,basePath:s,getComponent:i,externalDocs:a,selectedServer:o,url:u}=this.props,l=e.get("version"),c=e.get("description"),p=e.get("title"),m=ss(e.get("termsOfService"),u,{selectedServer:o}
247),d=e.get("contact"),g=e.get("license"),y=ss(a&&a.get("url"),u,{selectedServer:o}),v=a&&a.get("description"),E=i("Markdown",!0),b=i("Link"),_=i("VersionStamp"),w=i("OpenAPIVersion"),S=i("InfoUrl"),A=i("InfoBasePath"),I=i("License"),k=i("Contact");return f.default.createElement("div",{className:"info"},f.default.createElement("hgroup",{className:"main"},f.default.createElement("h1",{className:"title"},p,f.default.createElement("span",null,l&&f.default.createElement(_,{version:l}),f.default.createElement(w,{oasVersion:"2.0"}))),n||s?f.default.createElement(A,{host:n,basePath:s}):null,r&&f.default.createElement(S,{getComponent:i,url:r})),f.default.createElement("div",{className:"description"},f.default.createElement(E,{source:c})),m&&f.default.createElement("div",{className:"info__tos"},f.default.createElement(b,{target:"_blank",href:cr(m)},"Terms of service")),d?.size>0&&f.default.createElement(k,{getComponent:i,data:d,selectedServer:o,url:r}),g?.size>0&&f.default.createElement(I,{getComponent:i,license:g,selectedServer:o,url:r}),y?f.default.createElement(b,{className:"info__extdocs",target:"_blank",href:cr(y)},v||y):null)}}var Kge=Hge;class Gge extends f.default.Component{render(){const{specSelectors:e,getComponent:r,oas3Selectors:n}=this.props,s=e.info(),i=e.url(),a=e.basePath(),o=e.host(),u=e.externalDocs(),l=n.selectedServer(),c=r("info");return f.default.createElement("div",null,s&&s.count()?f.default.createElement(c,{info:s,url:i,host:o,basePath:a,externalDocs:u,getComponent:r,selectedServer:l}):null)}}class Yge extends f.default.Component{render(){const{data:e,getComponent:r,selectedServer:n,url:s}=this.props,i=e.get("name","the developer"),a=ss(e.get("url"),s,{selectedServer:n}),o=e.get("email"),u=r("Link");return f.default.createElement("div",{className:"info__contact"},a&&f.default.createElement("div",null,f.default.createElement(u,{href:cr(a),target:"_blank"},i," - Website")),o&&f.default.createElement(u,{href:cr(`mailto:${o}`)},a?`Send email to ${i}`:`Contact ${i}`))}}var Xge=Yge;class Zge extends f.default.Component{render(){const{license:e,getComponent:r,selectedServer:n,url:s}=this.props,i=e.get("name","License"),a=ss(e.get("url"),s,{selectedServer:n}),o=r("Link");return f.default.createElement("div",{className:"info__license"},a?f.default.createElement("div",{className:"info__license__url"},f.default.createElement(o,{target:"_blank",href:cr(a)},i)):f.default.createElement("span",null,i))}}var Qge=Zge;class eye extends f.default.Component{render(){return null}}class tye extends f.default.Component{render(){let{getComponent:e}=this.props;const r=e("CopyIcon");return f.default.createElement("div",{className:"view-line-link copy-to-clipboard",title:"Copy to clipboard"},f.default.createElement(Np.CopyToClipboard,{text:this.props.textToCopy},f.default.createElement(r,null)))}}class rye extends f.default.Component{render(){return f.default.createElement("div",{className:"footer"})}}class nye extends f.default.Component{onFilterChange=e=>{const{target:{value:r}}=e;this.props.layoutActions.updateFilter(r)};render(){const{specSelectors:e,layoutSelectors:r,getComponent:n}=this.props,s=n("Col"),i=e.loadingStatus()==="loading",a=e.loadingStatus()==="failed",o=r.currentFilter(),u=["operation-filter-input"];return a&&u.push("failed"),i&&u.push("loading"),f.default.createElement("div",null,o===!1?null:f.default.createElement("div",{className:"filter-container"},f.default.createElement(s,{className:"filter wrapper",mobile:12},f.default.createElement("input",{className:u.join(" "),placeholder:"Filter by tag",type:"text",onChange:this.onFilterChange,value:typeof o=="string"?o:"",disabled:i}))))}}const PS=Function.prototype;class IA extends f.PureComponent{static defaultProp={consumes:(0,z.fromJS)(["application/json"]),param:(0,z.fromJS)({}),onChange:PS,onChangeConsumes:PS};constructor(e,r){super(e,r),this.state={isEditBox:!1,value:""}}componentDidMount(){this.updateValues.call(this,this.props)}UNSAFE_componentWillReceiveProps(e){this.updateValues.call(this,e)}updateValues=e=>{let{param:r,isExecute:n,consumesValue:s=""}=e,i=/xml/i.test(s),a=/json/i.test(s),o=i?r.get("value_xml"):r.get("value");if(o!==void 0){let u=!o&&a?"{}":o;this.setState({value:u}),this.onChange(u,{isXml:i,isEditBox:n})}else i?this.onChange(this.sample("xml"),{isXml:i,isEditBox:n}):this.onChange(this.sample(),{isEditBox:n})};sample=e=>{let{param:r,fn:n}=this.props,s=n.inferSchema(r.toJS());return n.getSampleSchema(s,e,{includeWriteOnly:!0})};onChange=(e,{isEditBox:r,isXml:n})=>{this.setState({value:e,isEditBox:r}),this._onChange(e,n)};_onChange=(e,r)=>{(this.props.onChange||PS)(e,r)};handleOnChange=e=>{const{consumesValue:r}=this.props,n=/xml/i.test(r),s=e.target.value;this.onChange(s,{isXml:n,isEditBox:this.state.isEditBox})};toggleIsEditBox=()=>this.setState((e=>({isEditBox:!e.isEditBox})));render(){let{onChangeConsumes:e,param:r,isExecute:n,specSelectors:s,pathMethod:i,getComponent:a}=this.props;const o=a("Button"),u=a("TextArea"),l=a("HighlightCode",!0),c=a("contentType");let p=(s?s.parameterWithMetaByIdentity(i,r):r).get("errors",(0,z.List)()),m=s.contentTypeValues(i).get("requestContentType"),d=this.props.consumes&&this.props.consumes.size?this.props.consumes:IA.defaultProp.consumes,{value:g,isEditBox:y}=this.state,v=null;Bp(g)&&(v="json");const E=`${CA(`${i[1]}${i[0]}_parameters`)}_select`;return f.default.createElement("div",{className:"body-param","data-param-name":r.get("name"),"data-param-in":r.get("in")},y&&n?f.default.createElement(u,{className:"body-param__text"+(p.count()?" invalid":""),value:g,onChange:this.handleOnChange}):g&&f.default.createElement(l,{className:"body-param__example",language:v},g),f.default.createElement("div",{className:"body-param-options"},n?f.default.createElement("div",{className:"body-param-edit"},f.default.createElement(o,{className:y?"btn cancel body-param__example-edit":"btn edit body-param__example-edit",onClick:this.toggleIsEditBox},y?"Cancel":"Edit")):null,f.default.createElement("label",{htmlFor:E},f.default.createElement("span",null,"Parameter content type"),f.default.createElement(c,{value:m,contentTypes:d,onChange:e,className:"body-param-content-type",ariaLabel:"Parameter content type",controlId:E}))))}}class sye extends f.default.Component{render(){const{request:e,getComponent:r}=this.props,n=L6(e),s=r("SyntaxHighlighter",!0);return f.default.createElement("div",{className:"curl-command"},f.default.createElement("h4",null,"Curl"),f.default.createElement("div",{className:"copy-to-cl
247ipboard"},f.default.createElement(Np.CopyToClipboard,{text:n},f.default.createElement("button",null))),f.default.createElement("div",null,f.default.createElement(s,{language:"bash",className:"curl microlight",renderPlainText:({children:i,PlainTextViewer:a})=>f.default.createElement(a,{className:"curl"},i)},n)))}}var iye=({propKey:t,propVal:e,propClass:r})=>f.default.createElement("span",{className:r},f.default.createElement("br",null),t,": ",Cr(e));class aye extends f.default.Component{static defaultProps={onTryoutClick:Function.prototype,onCancelClick:Function.prototype,onResetClick:Function.prototype,enabled:!1,hasUserEditedBody:!1,isOAS3:!1};render(){const{onTryoutClick:e,onCancelClick:r,onResetClick:n,enabled:s,hasUserEditedBody:i,isOAS3:a}=this.props,o=a&&i;return f.default.createElement("div",{className:o?"try-out btn-group":"try-out"},s?f.default.createElement("button",{className:"btn try-out__btn cancel",onClick:r},"Cancel"):f.default.createElement("button",{className:"btn try-out__btn",onClick:e},"Try 
247it out "),o&&f.default.createElement("button",{className:"btn try-out__btn reset",onClick:n},"Reset"))}}class oye extends f.default.PureComponent{static defaultProps={alsoShow:null,children:null,bypass:!1};render(){const{bypass:e,isSwagger2:r,isOAS3:n,alsoShow:s}=this.props;return e?f.default.createElement("div",null,this.props.children):r&&n?f.default.createElement("div",{className:"version-pragma"},s,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,f.default.createElement("code",null,"swagger")," and ",f.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),f.default.createElement("p",null,"Supported version fields are ",f.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",f.default.createElement("code",null,"openapi: 3.0.4"),").")))):r||n?f.default.createElement("div",null,this.props.children):f.default.createElement("div",{className:"version-pragma"},s,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,"The provided definition does not specify a valid version field."),f.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",f.default.createElement("code",null,"swagger: ",'"2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.0.n")," (for example, ",f.default.createElement("code",null,"openapi: 3.0.4"),")."))))}}var uye=({version:t})=>f.default.createElement("small",null,f.default.createElement("pre",{className:"version"}," ",t," ")),lye=({oasVersion:t})=>f.default.createElement("small",{className:"version-stamp"},f.default.createElement("pre",{className:"version"},"OAS ",t)),cye=({enabled:t,path:e,text:r})=>f.default.createElement("a",{className:"nostyle",onClick:t?n=>n.preventDefault():null,href:t?`#/${e}`:null},f.default.createElement("span",null,r)),fye=()=>f.default.createElement("div",null,f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:"svg-assets"},f.default.createElement("defs",null,f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"unlocked"},f.default.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"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"locked"},f.default.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"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"close"},f.default.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"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow"},f.default.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"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-down"},f.default.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"})),f.default.createElement("symbol",{viewBox:"0 0 20 20",id:"large-arrow-up"},f.default.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"})),f.default.createElement("symbol",{viewBox:"0 0 24 24",id:"jump-to"},f.default.createElement("path",{d:"M19 7v4H5.83l3.58-3.59L8 6l-6 6 6 6 1.41-1.41L5.83 13H21V7z"})),f.default.createElement("symbol",{viewBox:"0 0 24 24",id:"expand"},f.default.createElement("path",{d:"M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z"})),f.default.createElement("symbol",{viewBox:"0 0 15 16",id:"copy"},f.default.createElement("g",{transform:"translate(2, -1)"},f.default.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"})))))),V8=(function(t){var e={};return be.d(e,t),e})({Remarkable:function(){return Mi}}),pye=(function(t){var e={};return be.d(e,t),e})({linkify:function(){return Lce}}),e_=(function(t){var e={};return be.d(e,t),e})({default:function(){return ufe}});e_.default.addHook&&e_.default.addHook("beforeSanitizeElements",(function(t){return t.href&&t.setAttribute("rel","noopener noreferrer"),t}));var dye=function({source:e,className:r="",getConfigs:n=()=>({useUnsafeMarkdown:!1})}){if(typeof e!="string")return null;const s=new V8.Remarkable({html:!0,typographer:!0,breaks:!0,linkTarget:"_blank"}).use(pye.linkify);s.core.ruler.disable(["replacements","smartquotes"]);const{useUnsafeMarkdown:i}=n(),a=s.render(e),o=hu(a,{useUnsafeMarkdown:i});return e&&a&&o?f.default.createElement("div",{className:(0,Tt.default)(r,"markdown"),dangerouslySetInnerHTML:{__html:o}}):null};function hu(t,{useUnsafeMarkdown:e=!1}={}){const r=e,n=e?[]:["style","class"];return e&&!hu.hasWarnedAboutDeprecation&&(console.warn("useUnsafeMarkdown display configuration parameter is deprecated since >3.26.0 and will be removed in v4.0.0."),hu.hasWarnedAboutDeprecation=!0),e_.default.sanitize(t,{ADD_ATTR:["target"],FORBID_TAGS:["style","form"],ALLOW_DATA_ATTR:r,FORBID_ATTR:n})}hu.hasWarnedAboutDeprecation=!1;class hye extends f.default.Component{render(){const{errSelectors:e,specSelectors:r,getComponent:n}=this.props,s=n("SvgAssets"),i=n("InfoContainer",!0),a=n("VersionPragmaFilter"),o=n("operations",!0),u=n("Models",!0),l=n("Webhooks",!0),c=n("Row"),p=n("Col"),m=n("errors",!0),d=n("ServersContainer",!0),g=n("SchemesContainer",!0),y=n("AuthorizeBtnContainer",!0),v=n("FilterContainer",!0),E=r.isSwagger2(),b=r.isOAS3(),_=r.isOAS31(),w=!r.specStr(),S=r.loadingStatus();let A=null;if(S==="loading"&&(A=f.default.createElement("div",{className:"info"},f.default.createElement("div",{className:"loading-container"},f.default.createElement("div",{className:"loading"})))),S==="failed"&&(A=f.default.createElement("div",{className:"info"},f.default.createElement("div",{className:"loading-container"},f.default.createElement("h4",{className:"title"},"Failed to load API definition."),f.default.createElement(m,null)))),S==="failedConfig"){const L=e.lastError(),M=L?L.get("message"):"";A=f.default.createElement("div",{className:"info failed-config"},f.default.createElement("div",{className:"loading-container"},f.default.createElement("h4",{className:"title"},"Failed to load remote configuration."),f.default.createElement("p",null,M)))}if(!A&&w&&(A=f.default.createElement("h4",null,"No API definition provided.")),A)return f.default.createElement("div",{className:"swagger-ui"},f.default.createElement("div",{className:"loading-container"},A));const I=r.servers(),k=r.schemes(),P=I&&I.size,F=k&&k.size,R=!!r.securityDefinitions();return f.default.createElement("div",{className:"swagger-ui"},f.default.createElement(s,null),f.default.createElement(a,{isSwagger2:E,isOAS3:b,alsoShow:f.default.createElement(m,null)},f.default.createElement(m,null),f.default.createElement(c,{className:"information-container"},f.default.createElement(p,{mobile:12},f.default.createElement(i,null))),P||F||R?f.default.createElement("div",{className:"scheme-container"},f.default.createElement(p,{className:"schemes wrapper",mobile:12},P||F?f.default.createElement("div",{className:"schemes-server-container"},P?f.default.createElement(d,null):null,F?f.default.createElement(g,null):null):null,R?f.default.createElement(y,null):null)):null,f.default.createElement(v,null),f.default.createElement(c,null,f.default.createElement(p,{mobile:12,desktop:12},f.default.createElement(o,null))),_&&f.default.createElement(c,{className:"webhooks-container"},f.default.createElement(p,{mobile:12,desktop:12},f.default.createElement(l,null))),f.default.createElement(c,null,f.default.createElement(p,{mobile:12,desktop:12},f.default.createElement(u,null)))))}}var mye=()=>({components:{App:Ume,authorizationPopup:Vme,authorizeBtn:zme,AuthorizeBtnContainer:Wme,authorizeOperationBtn:Jme,auths:Hme,AuthItem:Kme,authError:Gme,oauth2:rge,apiKeyAuth:Yme,basicAuth:Xme,clear:nge,liveResponse:age,InitializedInput
247:zge,info:Kge,InfoContainer:Gge,InfoUrl:Jge,InfoBasePath:Wge,Contact:Xge,License:Qge,JumpToPath:eye,CopyToClipboardBtn:tye,onlineValidatorBadge:L8,operations:uge,operation:cge,OperationSummary:dge,OperationSummaryMethod:hge,OperationSummaryPath:mge,responses:RA,response:vge,ResponseExtension:bge,responseBody:Sge,parameters:_ge,parameterRow:Oge,execute:Cge,headers:Rge,errors:Ige,contentType:jge,overview:Uge,footer:rye,FilterContainer:nye,ParamBody:IA,curl:sye,Property:iye,TryItOutButton:aye,Markdown:dye,BaseLayout:hye,VersionPragmaFilter:oye,VersionStamp:uye,OperationExt:gge,OperationExtRow:yge,ParameterExt:wge,ParameterIncludeEmpty:Age,OperationTag:lge,OperationContainer:fge,OpenAPIVersion:lye,DeepLink:cye,SvgAssets:fye,Example:Zme,ExamplesSelect:Qme,ExamplesSelectValueRetainer:ege}}),gye=()=>({components:{...F1}}),z8=()=>[T6,C8,q6,k8,P8,x8,j6,M6,F6,K6,t8,mye,gye,O8,I6,j8,k6,N6,B6,U6,M8,D8,B8()];const yye=(0,z.Map)();function kl(t){return(e,r)=>(...n)=>{if(r.getSystem().specSelectors.isOAS3()){const s=t(...n);return typeof s=="function"?s(r):s}return e(...n)}}const Pl=kl((0,Mp.default)(null)),vye=kl(((t,e)=>r=>r.getSystem().specSelectors.findSchema(e))),bye=kl((()=>t=>{const e=t.getSystem().specSelectors.specJson().getIn(["components","schemas"]);return z.Map.isMap(e)?e:yye})),Eye=kl((()=>t=>t.getSystem().specSelectors.specJson().hasIn(["servers",0]))),Sye=kl((0,at.createSelector)(cs,(t=>t.getIn(["components","securitySchemes"])||null))),_ye=(t,e)=>(r,...n)=>e.specSelectors.isOAS3()?e.oas3Selectors.validOperationMethods():t(...n),wye=Pl,xye=Pl,Aye=Pl,Oye=Pl,Cye=Pl,Rye=(function(e){return(r,n)=>(...s)=>{if(n.getSystem().specSelectors.isOAS3()){let i=n.getState().getIn(["spec","resolvedSubtrees","components","securitySchemes"]);return e(n,i,...s)}return r(...s)}})((0,at.createSelector)((t=>t),(({specSelectors:t})=>t.securityDefinitions()),((t,e)=>{let r=(0,z.List)();return e&&e.entrySeq().forEach((([n,s])=>{const i=s?.get("type");if(i==="oauth2"&&s.get("flows").entrySeq().forEach((([a,o])=>{let u=(0,z.fromJS)({flow:a,authorizationUrl:o.get("authorizationUrl"),tokenUrl:o.get("tokenUrl"),scopes:o.get("scopes"),type:s.get("type"),description:s.get("description")});r=r.push(new z.Map({[n]:u.filter((l=>l!==void 0))}))})),i!=="http"&&i!=="apiKey"||(r=r.push(new z.Map({[n]:s}))),i==="openIdConnect"&&s.get("openIdConnectData")){let a=s.get("openIdConnectData");(a.get("grant_types_supported")||["authorization_code","implicit"]).forEach((o=>{let u=a.get("scopes_supported")&&a.get("scopes_supported").reduce(((c,p)=>c.set(p,"")),new z.Map),l=(0,z.fromJS)({flow:o,authorizationUrl:a.get("authorization_endpoint"),tokenUrl:a.get("token_endpoint"),scopes:u,type:"oauth2",openIdConnectUrl:s.get("openIdConnectUrl")});r=r.push(new z.Map({[n]:l.filter((c=>c!==void 0))}))}))}})),r})));function jl(t){return(e,r)=>n=>typeof r.specSelectors?.isOAS3=="function"?r.specSelectors.isOAS3()?f.default.createElement(t,(0,It.default)({},n,r,{Ori:e})):f.default.createElement(e,n):(console.warn("OAS3 wrapper: couldn't get spec"),null)}const Iye=(0,z.Map)(),Tye=()=>t=>(function(r){const n=r.get("swagger");return typeof n=="string"&&n==="2.0"})(t.getSystem().specSelectors.specJson()),kye=()=>t=>(function(r){const n=r.get("openapi");return typeof n=="string"&&/^3\.0\.(?:[1-9]\d*|0)$/.test(n)})(t.getSystem().specSelectors.specJson()),Pye=()=>t=>t.getSystem().specSelectors.isOAS30();function W8(t){return(e,...r)=>n=>{if(n.specSelectors.isOAS3()){const s=t(e,...r);return typeof s=="function"?s(n):s}return null}}const jye=W8((()=>t=>t.specSelectors.specJson().get("servers",Iye))),Nye=(t,e)=>{const r=t.getIn(["resolvedSubtrees","components","schemas",e],null),n=t.getIn(["json","components","schemas",e],null);return r||n||null},Mye=W8(((t,{callbacks:e,specPath:r})=>n=>{const s=n.specSelectors.validOperationMethods();return z.Map.isMap(e)?e.reduce(((i,a,o)=>{if(!z.Map.isMap(a))return i;const u=a.reduce(((l,c,p)=>{if(!z.Map.isMap(c))return l;const m=c.entrySeq().filter((([d])=>s.includes(d))).map((([d,g])=>({operation:(0,z.Map)({operation:g}),method:d,path:p,callbackName:o,specPath:r.concat([o,p,d])})));return l.concat(m)}),(0,z.List)());return i.concat(u)}),(0,z.List)()).groupBy((i=>i.callbackName)).map((i=>i.toArray())).toObject():{}}));var Dye=({callbacks:t,specPath:e,specSelectors:r,getComponent:n})=>{const s=r.callbacksOperations({callbacks:t,specPath:e}),i=Object.keys(s),a=n("OperationContainer",!0);return i.length===0?f.default.createElement("span",null,"No callbacks"):f.default.createElement("div",null,i.map((o=>f.default.createElement("div",{key:`${o}`},f.default.createElement("h2",null,o),s[o].map((u=>f.default.createElement(a,{key:`${o}-${u.path}-${u.method}`,op:u.operation,tag:"callbacks",method:u.method,path:u.path,specPath:u.specPath,allowTryItOut:!1})))))))};const nf=(t,e,r,n)=>{const s=t.getIn(["content",e])??(0,z.OrderedMap)(),i=s.get("schema",(0,z.OrderedMap)()).toJS(),a=s.get("examples")!==void 0,o=s.get("example"),u=a?s.getIn(["examples",r,"value"]):o;return Cr(n.getSampleSchema(i,e,{includeWriteOnly:!0},u))};var Fye=({userHasEditedBody:t,requestBody:e,requestBodyValue:r,requestBodyInclusionSetting:n,requestBodyErrors:s,getComponent:i,getConfigs:a,specSelectors:o,fn:u,contentType:l,isExecute:c,specPath:p,onChange:m,onChangeIncludeEmpty:d,activeExamplesKey:g,updateActiveExamplesKey:y,setRetainRequestBodyValueFlag:v})=>{const E=ce=>{m(ce.target.files[0])},b=ce=>{let se={key:ce,shouldDispatchInit:!1,defaultValue:!0};return n.get(ce,"no value")==="no value"&&(se.shouldDispatchInit=!0),se},_=i("Markdown",!0),w=i("modelExample"),S=i("RequestBodyEditor"),A=i("HighlightCode",!0),I=i("ExamplesSelectValueRetainer"),k=i("Example"),P=i("ParameterIncludeEmpty"),{showCommonExtensions:F}=a(),R=e?.get("description")??null,L=e?.get("content")??new z.OrderedMap;l=l||L.keySeq().first()||"";const M=L.get(l)??(0,z.OrderedMap)(),G=M.get("schema",(0,z.OrderedMap)()),re=M.get("examples",null),K=re?.map(((ce,se)=>{const ue=ce?.get("value",null);return ue&&(ce=ce.set("value",nf(e,l,se,u),ue)),ce}));if(s=z.List.isList(s)?s:(0,z.List)(),u.isFileUploadIntended(M?.get("schema"),l)){const ce=i("Input");return c?f.default.createElement(ce,{type:"file",onChange:E}):f.default.createElement("i",null,"Example values are not available for ",f.default.createElement("code",null,l)," media types.")}if(!M.size)return null;if(u.hasSchemaType(M.get("schema"),"object")&&(l==="application/x-www-form-urlencoded"||l.indexOf("multipart/")===0)&&G.get("properties",(0,z.OrderedMap)()).size>0){const ce=i("JsonSchemaForm"),se=i("ParameterExt"),ue=G.get("properties",(0,z.OrderedMap)());return r=z.Map.isMap(r)?r:(0,z.OrderedMap)(),f.default.createElement("div",{className:"table-container"},R&&f.default.createElement(_,{source:R}),f.default.createElement("table",null,f.default.createElement("tbody",null,z.Map.isMap(ue)&&ue.entrySeq().map((([ye,he])=>
247{if(he.get("readOnly"))return;const te=he.get("oneOf")?.get(0)?.toJS(),W=he.get("anyOf")?.get(0)?.toJS();he=(0,z.fromJS)(u.mergeJsonSchema(he.toJS(),te??W??{}));let V=F?x6(he):null;const me=G.get("required",(0,z.List)()).includes(ye),ve=u.getSchemaObjectType(he),Me=u.getSchemaObjectTypeLabel(he),Be=u.getSchemaObjectType(he?.get("items")),Te=he.get("format"),ke=he.get("description"),$e=r.getIn([ye,"value"]),ge=r.getIn([ye,"errors"])||s,Se=n.get(ye)||!1;let we=u.getSampleSchema(he,!1,{includeWriteOnly:!0});we===!1&&(we="false"),we===0&&(we="0"),typeof we!="string"&&ve==="object"&&(we=Cr(we)),typeof we=="string"&&ve==="array"&&(we=JSON.parse(we));const $=u.isFileUploadIntended(he),C=f.default.createElement(ce,{fn:u,dispatchInitialValue:!$,schema:he,description:ye,getComponent:i,value:$e===void 0?we:$e,required:me,errors:ge,onChange:j=>{m(j,[ye])}});return f.default.createElement("tr",{key:ye,className:"parameters","data-property-name":ye},f.default.createElement("td",{className:"parameters-col_name"},f.default.createElement("div",{className:me?"parameter__name required":"parameter__name"},ye,me?f.default.createElement("span",null," *"):null),f.default.createElement("div",{className:"parameter__type"},Me,Te&&f.default.createElement("span",{className:"prop-format"},"($",Te,")"),F&&V.size?V.entrySeq().map((([j,U])=>f.default.createElement(se,{key:`${j}-${U}`,xKey:j,xVal:U}))):null),f.default.createElement("div",{className:"parameter__deprecated"},he.get("deprecated")?"deprecated":null)),f.default.createElement("td",{className:"parameters-col_description"},f.default.createElement(_,{source:ke}),c?f.default.createElement("div",null,ve==="object"||Be==="object"?f.default.createElement(w,{getComponent:i,specPath:p.push("schema"),getConfigs:a,isExecute:c,specSelectors:o,schema:he,example:C}):C,me?null:f.default.createElement(P,{onChange:j=>d(ye,j),isIncluded:Se,isIncludedOptions:b(ye),isDisabled:Array.isArray($e)?$e.length!==0:!Kx($e)})):null))})))))}const Z=nf(e,l,g,u);let X=null;Bp(Z)&&(X="json");const ee=c?f.default.createElement(S,{value:r,errors:s,defaultValue:Z,onChange:m,getComponent:i}):f.default.createElement(A,{className:"body-param__example",language:X},Cr(r)||Z);return f.default.createElement("div",null,R&&f.default.createElement(_,{source:R}),K?f.default.createElement(I,{userHasEditedBody:t,examples:K,currentKey:g,currentUserInputValue:r,onSelect:ce=>{y(ce)},updateValue:m,defaultToFirstExample:!0,getComponent:i,setRetainRequestBodyValueFlag:v}):null,f.default.createElement(w,{getComponent:i,getConfigs:a,specSelectors:o,expandDepth:1,isExecute:c,schema:M.get("schema"),specPath:p.push("content",l,"schema"),example:ee,includeWriteOnly:!0}),K?f.default.createElement(k,{example:K.get(g),getComponent:i,getConfigs:a}):null)};class qye extends f.Component{render(){const{link:e,name:r,getComponent:n}=this.props,s=n("Markdown",!0);let i=e.get("operationId")||e.get("operationRef"),a=e.get("parameters")&&e.get("parameters").toJS(),o=e.get("description");return f.default.createElement("div",{className:"operation-link"},f.default.createElement("div",{className:"description"},f.default.createElement("b",null,f.default.createElement("code",null,r)),o?f.default.createElement(s,{source:o}):null),f.default.createElement("pre",null,"Operation `",i,"`",f.default.createElement("br",null),f.default.createElement("br",null),"Parameters ",(function(l,c){return typeof c!="string"?"":c.split(`
248`).map(((p,m)=>m>0?Array(l+1).join(" ")+p:p)).join(`
249`)})(0,JSON.stringify(a,null,2))||"{}",f.default.createElement("br",null)))}}var Bye=qye,Lye=({servers:t,currentServer:e,setSelectedServer:r,setServerVariableValue:n,getServerVariable:s,getEffectiveServerValue:i})=>{const a=(t.find((c=>c.get("url")===e))||(0,z.OrderedMap)()).get("variables")||(0,z.OrderedMap)(),o=a.size!==0;(0,f.useEffect)((()=>{e||r(t.first()?.get("url"))}),[]),(0,f.useEffect)((()=>{const c=t.find((p=>p.get("url")===e));if(!c)return void r(t.first().get("url"));(c.get("variables")||(0,z.OrderedMap)()).map(((p,m)=>{n({server:e,key:m,val:p.get("default")||""})}))}),[e,t]);const u=(0,f.useCallback)((c=>{r(c.target.value)}),[r]),l=(0,f.useCallback)((c=>{const p=c.target.getAttribute("data-variable"),m=c.target.value;n({server:e,key:p,val:m})}),[n,e]);return f.default.createElement("div",{className:"servers"},f.default.createElement("label",{htmlFor:"servers"},f.default.createElement("select",{onChange:u,value:e,id:"servers"},t.valueSeq().map((c=>f.default.createElement("option",{value:c.get("url"),key:c.get("url")},c.get("url"),c.get("description")&&` - ${c.get("description")}`))).toArray())),o&&f.default.createElement("div",null,f.default.createElement("div",{className:"computed-url"},"Computed URL:",f.default.createElement("code",null,i(e))),f.default.createElement("h4",null,"Server variables"),f.default.createElement("table",null,f.default.createElement("tbody",null,a.entrySeq().map((([c,p])=>f.default.createElement("tr",{key:c},f.default.createElement("td",null,c),f.default.createElement("td",null,p.get("enum")?f.default.createElement("select",{"data-variable":c,onChange:l},p.get("enum").map((m=>f.default.createElement("option",{selected:m===s(e,c),key:m,value:m},m)))):f.default.createElement("input",{type:"text",value:s(e,c)||"",onChange:l,"data-variable":c})))))))))};class $ye extends f.default.Component{render(){const{specSelectors:e,oas3Selectors:r,oas3Actions:n,getComponent:s}=this.props,i=e.servers(),a=s("Servers");return i&&i.size?f.default.createElement("div",null,f.default.createElement("span",{className:"servers-title"},"Servers"),f.default.createElement(a,{servers:i,currentServer:r.selectedServer(),setSelectedServer:n.setSelectedServer,setServerVariableValue:n.setServerVariableValue,getServerVariable:r.serverVariableValue,getEffectiveServerValue:r.serverEffectiveValue})):null}}const Uye=Function.prototype;
249class Vye extends f.PureComponent{static defaultProps={onChange:Uye,userHasEditedBody:!1};constructor(e,r){super(e,r),this.state={value:Cr(e.value)||e.defaultValue},e.onChange(e.value)}applyDefaultValue=e=>{const{onChange:r,defaultValue:n}=e||this.props;return this.setState({value:n}),r(n)};onChange=e=>{this.props.onChange(Cr(e))};onDomChange=e=>{const r=e.target.value;this.setState({value:r},(()=>this.onChange(r)))};UNSAFE_componentWillReceiveProps(e){this.props.value!==e.value&&e.value!==this.state.value&&this.setState({value:Cr(e.value)}),!e.value&&e.defaultValue&&this.state.value&&this.applyDefaultValue(e)}render(){let{getComponent:e,errors:r}=this.props,{value:n}=this.state,s=r.size>0;const i=e("TextArea");return f.default.createElement("div",{className:"body-param"},f.default.createElement(i,{className:(0,Tt.default)("body-param__text",{invalid:s}),title:r.size?r.join(", "):"",value:n,onChange:this.onDomChange}))}}class zye extends f.default.Component{constructor(e,r){super(e,r);let{name:n,schema:s}=this.props,i=this.getValue();this.state={name:n,schema:s,value:i}}getValue(){let{name:e,authorized:r}=this.props;return r&&r.getIn([e,"value"])}onChange=e=>{let{onChange:r}=this.props,{value:n,name:s}=e.target,i=Object.assign({},this.state.value);s?i[s]=n:i=n,this.setState({value:i},(()=>r(this.state)))};render(){let{schema:e,getComponent:r,errSelectors:n,name:s,authSelectors:i}=this.props;const a=r("Input"),o=r("Row"),u=r("Col"),l=r("authError"),c=r("Markdown",!0),p=r("JumpToPath",!0),m=(e.get("scheme")||"").toLowerCase(),d=i.selectAuthPath(s);let g=this.getValue(),y=n.allErrors().filter((v=>v.get("authId")===s));if(m==="basic"){let v=g?g.get("username"):null;return f.default.createElement("div",null,f.default.createElement("h4",null,f.default.createElement("code",null,s),"  (http, Basic)",f.default.createElement(p,{path:d})),v&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(o,null,f.default.createElement(c,{source:e.get("description")})),f.default.createElement(o,null,f.default.createElement("label",{htmlFor:"auth-basic-username"},"Username:"),v?f.default.createElement("code",null," ",v," "):f.default.createElement(u,null,f.default.createElement(a,{id:"auth-basic-username",type:"text",required:"required",name:"username","aria-label":"auth-basic-username",onChange:this.onChange,autoFocus:!0}))),f.default.createElement(o,null,f.default.createElement("label",{htmlFor:"auth-basic-password"},"Password:"),v?f.default.createElement("code",null," ****** "):f.default.createElement(u,null,f.default.createElement(a,{id:"auth-basic-password",autoComplete:"new-password",name:"password",type:"password","aria-label":"auth-basic-password",onChange:this.onChange}))),y.valueSeq().map(((E,b)=>f.default.createElement(l,{error:E,key:b}))))}return m==="bearer"?f.default.createElement("div",null,f.default.createElement("h4",null,f.default.createElement("code",null,s),"  (http, Bearer)",f.default.createElement(p,{path:d})),g&&f.default.createElement("h6",null,"Authorized"),f.default.createElement(o,null,f.default.createElement(c,{source:e.get("description")})),f.default.createElement(o,null,f.default.createElement("label",{htmlFor:"auth-bearer-value"},"Value:"),g?f.default.createElement("code",null," ****** "):f.default.createElement(u,null,f.default.createElement(a,{id:"auth-bearer-value",type:"text","aria-label":"auth-bearer-value",onChange:this.onChange,autoFocus:!0}))),y.valueSeq().map(((v,E)=>f.default.createElement(l,{error:v,key:E})))):f.default.createElement("div",null,f.default.createElement("em",null,f.default.createElement("b",null,s)," HTTP authentication: unsupported scheme ",`'${m}'`))}}class Wye extends f.default.Component{setSelectedServer=e=>{const{path:r,method:n}=this.props;return this.forceUpdate(),this.props.setSelectedServer(e,`${r}:${n}`)};setServerVariableValue=e=>{const{path:r,method:n}=this.props;return this.forceUpdate(),this.props.setServerVariableValue({...e,namespace:`${r}:${n}`})};getSelectedServer=()=>{const{path:e,method:r}=this.props;return this.props.getSelectedServer(`${e}:${r}`)};getServerVariable=(e,r)=>{const{path:n,method:s}=this.props;return this.props.getServerVariable({namespace:`${n}:${s}`,server:e},r)};getEffectiveServerValue=e=>{const{path:r,method:n}=this.props;return this.props.getEffectiveServerValue({server:e,namespace:`${r}:${n}`})};render(){const{operationServers:e,pathServers:r,getComponent:n}=this.props;if(!e&&!r)return null;const s=n("Servers"),i=e||r,a=e?"operation":"path";return f.default.createElement("div",{className:"opblock-section operation-servers"},f.default.createElement("div",{className:"opblock-section-header"},f.default.createElement("div",{className:"tab-header"},f.default.createElement("h4",{className:"opblock-title"},"Servers"))),f.default.createElement("div",{className:"opblock-description-wrapper"},f.default.createElement("h4",{className:"message"},"These ",a,"-level options override the global server options."),f.default.createElement(s,{servers:i,currentServer:this.getSelectedServer(),setSelectedServer:this.setSelectedServer,setServerVariableValue:this.setServerVariableValue,getServerVariable:this.getServerVariable,getEffectiveServerValue:this.getEffectiveServerValue})))}}var Jye={Callbacks:Dye,HttpAuth:zye,RequestBody:Fye,Servers:Lye,ServersContainer:$ye,RequestBodyEditor:Vye,OperationServers:Wye,operationLink:Bye};const t_=new V8.Remarkable("commonmark");t_.block.ruler.enable(["table"]),t_.set({linkTarget:"_blank"});var Hye=jl((({source:t,className:e="",getConfigs:r=()=>({useUnsafeMarkdown:!1})})=>{if(typeof t!="string")return null;if(t){const{useUnsafeMarkdown:n}=r(),s=hu(t_.render(t),{useUnsafeMarkdown:n});let i;return typeof s=="string"&&(i=s.trim()),f.default.createElement("div",{dangerouslySetInnerHTML:{__html:i},className:(0,Tt.default)(e,"renderedMarkdown")})}return null})),Kye=jl((({Ori:t,...e})=>{const{schema:r,getComponent:n,errSelectors:s,authorized:i,onAuthChange:a,name:o,authSelectors:u}=e,l=n("HttpAuth");return r.get("type")==="http"?f.default.createElement(l,{key:o,schema:r,name:o,errSelectors:s,authorized:i,getComponent:n,onChange:a,authSelectors:u}):f.default.createElement(t,e)})),Gye=jl(L8);class Yye extends f.Component{render(){let{getConfigs:e,schema:r,Ori:n}=this.props,s=["model-box"],i=null;return r.get("deprecated")===!0&&(s.push("deprecated"),i=f.default.createElement("span",{className:"model-deprecated-warning"},"Deprecated:")),f.default.createElement("div",{className:s.join(" ")},i,f.default.createElement(n,(0,It.default)({},this.props,{getConfigs:e,depth:1,expandDepth:this.props.expandDepth||
2490})))}}var Xye=jl(Yye),Zye=jl((({Ori:t,...e})=>{const{schema:r,getComponent:n,errors:s,onChange:i,fn:a}=e,o=a.isFileUploadIntended(r),u=n("Input");return o?f.default.createElement(u,{type:"file",className:s.length?"invalid":"",title:s.length?s:"",onChange:l=>{i(l.target.files[0])},disabled:t.isDisabled}):f.default.createElement(t,e)})),Qye={Markdown:Hye,AuthItem:Kye,OpenAPIVersion:(function(e){return(r,n)=>s=>typeof n.specSelectors?.isOAS30=="function"?n.specSelectors.isOAS30()?f.default.createElement(e,(0,It.default)({},s,n,{Ori:r})):f.default.createElement(r,s):(console.warn("OAS30 wrapper: couldn't get spec"),null)})((t=>{const{Ori:e}=t;return f.default.createElement(e,{oasVersion:"3.0"})})),JsonSchema_string:Zye,model:Xye,onlineValidatorBadge:Gye};const TA="oas3_set_servers",kA="oas3_set_request_body_value",PA="oas3_set_request_body_retain_flag",jA="oas3_set_request_body_inclusion",NA="oas3_set_active_examples_member",MA="oas3_set_request_content_type",DA="oas3_set_response_content_type",FA="oas3_set_server_variable_value",qA="oas3_set_request_body_validate_error",Lp="oas3_clear_request_body_validate_error",BA="oas3_clear_request_body_value";function eve(t,e){return{type:TA,payload:{selectedServerUrl:t,namespace:e}}}function tve({value:t,pathMethod:e}){return{type:kA,payload:{value:t,pathMethod:e}}}const rve=({value:t,pathMethod:e})=>({type:PA,payload:{value:t,pathMethod:e}});function nve({value:t,pathMethod:e,name:r}){return{type:jA,payload:{value:t,pathMethod:e,name:r}}}function sve({name:t,pathMethod:e,contextType:r,contextName:n}){return{type:NA,payload:{name:t,pathMethod:e,contextType:r,contextName:n}}}function ive({value:t,pathMethod:e}){return{type:MA,payload:{value:t,pathMethod:e}}}function ave({value:t,path:e,method:r}){return{type:DA,payload:{value:t,path:e,method:r}}}function ove({server:t,namespace:e,key:r,val:n}){return{type:FA,payload:{server:t,namespace:e,key:r,val:n}}}const uve=({path:t,method:e,validationErrors:r})=>({type:qA,payload:{path:t,method:e,validationErrors:r}}),lve=({path:t,method:e})=>({type:Lp,payload:{path:t,method:e}}),cve=({pathMethod:t})=>({type:Lp,payload:{path:t[0],method:t[1]}}),fve=({pathMethod:t})=>({type:BA,payload:{pathMethod:t}});var pve=(function(t){var e={};return be.d(e,t),e})({default:function(){return ffe}});const Un=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS3()){const s=t(e,...r);return typeof s=="function"?s(n):s}return null},dve=Un(((t,e)=>{const r=e?[e,"selectedServer"]:["selectedServer"];return t.getIn(r)||""})),hve=Un(((t,e,r)=>t.getIn(["requestData",e,r,"bodyValue"])||null)),mve=Un(((t,e,r)=>t.getIn(["requestData",e,r,"retainBodyValue"])||!1)),gve=(t,e,r)=>n=>{const{oas3Selectors:s,specSelectors:i,fn:a}=n.getSystem();if(i.isOAS3()){const o=s.requestContentType(e,r);if(o)return nf(i.specResolvedSubtree(["paths",e,r,"requestBody"]),o,s.activeExamplesMember(e,r,"requestBody","requestBody"),a)}return null},yve=Un(((t,e,r)=>n=>{const{oas3Selectors:s,specSelectors:i,fn:a}=n;let o=!1;const u=s.requestContentType(e,r);let l=s.requestBodyValue(e,r);const c=i.specResolvedSubtree(["paths",e,r,"requestBody"]);if(!c)return!1;if(z.Map.isMap(l)&&(l=Cr(l.mapEntries((p=>z.Map.isMap(p[1])?[p[0],p[1].get("value")]:p)).toJS())),z.List.isList(l)&&(l=Cr(l)),u){const p=nf(c,u,s.activeExamplesMember(e,r,"requestBody","requestBody"),a);o=!!l&&l!==p}return o})),vve=Un(((t,e,r)=>t.getIn(["requestData",e,r,"bodyInclusion"])||(0,z.Map)())),bve=Un(((t,e,r)=>t.getIn(["requestData",e,r,"errors"])||null)),Eve=Un(((t,e,r,n,s)=>t.getIn(["examples",e,r,n,s,"activeExample"])||null)),Sve=Un(((t,e,r)=>t.getIn(["requestData",e,r,"requestContentType"])||null)),_ve=Un(((t,e,r)=>t.getIn(["requestData",e,r,"responseContentType"])||null)),wve=Un(((t,e,r)=>{let n;if(typeof e!="string"){const{server:s,namespace:i}=e;n=i?[i,"serverVariableValues",s,r]:["serverVariableValues",s,r]}else n=["serverVariableValues",e,r];return t.getIn(n)||null})),xve=Un(((t,e)=>{let r;if(typeof e!="string"){const{server:n,namespace:s}=e;r=s?[s,"serverVariableValues",n]:["serverVariableValues",n]}else r=["serverVariableValues",e];return t.getIn(r)||(0,z.OrderedMap)()})),Ave=Un(((t,e)=>{var r,n;if(typeof e!="string"){const{server:i,namespace:a}=e;n=i,r=a?t.getIn([a,"serverVariableValues",n]):t.getIn(["serverVariableValues",n])}else n=e,r=t.getIn(["serverVariableValues",n]);r=r||(0,z.OrderedMap)();let s=n;return r.map(((i,a)=>{s=s.replace(new RegExp(`{${(0,pve.default)(a)}}`,"g"),i)})),s})),Ove=(function(e){return(...r)=>n=>{const s=n.getSystem().specSelectors.specJson();let i=[...r][1]||[];return!s.getIn(["paths",...i,"requestBody","required"])||e(...r)}})(((t,e)=>((r,n)=>(n=n||[],!!r.getIn(["requestData",...n,"bodyValue"])))(t,e))),Cve=(t,{oas3RequiredRequestBodyContentType:e,oas3RequestContentType:r,oas3RequestBodyValue:n})=>{let s=[];if(!z.Map.isMap(n))return s;let i=[];return Object.keys(e.requestContentType).forEach((a=>
249{a===r&&e.requestContentType[a].forEach((o=>{i.indexOf(o)<0&&i.push(o)}))})),i.forEach((a=>{n.getIn([a,"value"])||s.push(a)})),s},Rve=(0,Mp.default)(["get","put","post","delete","options","head","patch","trace"]);var Ive={[TA]:(t,{payload:{selectedServerUrl:e,namespace:r}})=>{const n=r?[r,"selectedServer"]:["selectedServer"];return t.setIn(n,e)},[kA]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,s]=r;if(!z.Map.isMap(e))return t.setIn(["requestData",n,s,"bodyValue"],e);let i=t.getIn(["requestData",n,s,"bodyValue"])||(0,z.Map)();z.Map.isMap(i)||(i=(0,z.Map)());let a=i;const[...o]=e.keys();return o.forEach((u=>{let l=e.getIn([u]);a.has(u)&&z.Map.isMap(l)||(a=a.setIn([u,"value"],l))})),t.setIn(["requestData",n,s,"bodyValue"],a)},[PA]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,s]=r;return t.setIn(["requestData",n,s,"retainBodyValue"],e)},[jA]:(t,{payload:{value:e,pathMethod:r,name:n}})=>{let[s,i]=r;return t.setIn(["requestData",s,i,"bodyInclusion",n],e)},[NA]:(t,{payload:{name:e,pathMethod:r,contextType:n,contextName:s}})=>{let[i,a]=r;return t.setIn(["examples",i,a,n,s,"activeExample"],e)},[MA]:(t,{payload:{value:e,pathMethod:r}})=>{let[n,s]=r;return t.setIn(["requestData",n,s,"requestContentType"],e)},[DA]:(t,{payload:{value:e,path:r,method:n}})=>t.setIn(["requestData",r,n,"responseContentType"],e),[FA]:(t,{payload:{server:e,namespace:r,key:n,val:s}})=>{const i=r?[r,"serverVariableValues",e,n]:["serverVariableValues",e,n];return t.setIn(i,s)},[qA]:(t,{payload:{path:e,method:r,validationErrors:n}})=>{let s=[];if(s.push("Required field is not provided"),n.missingBodyValue)return t.setIn(["requestData",e,r,"errors"],(0,z.fromJS)(s));if(n.missingRequiredKeys&&n.missingRequiredKeys.length>0){const{missingRequiredKeys:i}=n;return t.updateIn(["requestData",e,r,"bodyValue"],(0,z.fromJS)({}),(a=>i.reduce(((o,u)=>o.setIn([u,"errors"],(0,z.fromJS)(s))),a)))}return console.warn("unexpected result: SET_REQUEST_BODY_VALIDATE_ERROR"),t},[Lp]:(t,{payload:{path:e,method:r}})=>{const n=t.getIn(["requestData",e,r,"bodyValue"]);if(!z.Map.isMap(n))return t.setIn(["requestData",e,r,"errors"],(0,z.fromJS)([]));const[...s]=n.keys();return s?t.updateIn(["requestData",e,r,"bodyValue"],(0,z.fromJS)({}),(i=>s.reduce(((a,o)=>a.setIn([o,"errors"],(0,z.fromJS)([]))),i))):t},[BA]:(t,{payload:{pathMethod:e}})=>{let[r,n]=e;const s=t.getIn(["requestData",r,n,"bodyValue"]);return s?z.Map.isMap(s)?t.setIn(["requestData",r,n,"bodyValue"],(0,z.Map)()):t.setIn(["requestData",r,n,"bodyValue"],""):t}};function r_({getSystem:t}){const e=(r=>(n,s=null)=>{const{getConfigs:i,fn:a}=r(),{fileUploadMediaTypes:o}=i();if(typeof s=="string"&&o.some((c=>s.startsWith(c))))return!0;const u=z.Map.isMap(n);if(!u&&!(0,Gs.default)(n))return!1;const l=u?n.get("format"):n.format;return a.hasSchemaType(n,"string")&&["binary","byte"].includes(l)})(t);return{components:Jye,wrapComponents:Qye,statePlugins:{spec:{wrapSelectors:q1,selectors:L1},auth:{wrapSelectors:B1},oas3:{actions:{...$1},reducers:Ive,selectors:{...U1}}},fn:{isFileUploadIntended:e,isFileUploadIntendedOAS30:e}}}var Tve=({specSelectors:t,getComponent:e})=>{const r=t.selectWebhooksOperations();if(!r)return null;const n=Object.keys(r),s=e("OperationContainer",!0);return n.length===0?null:f.default.createElement("div",{className:"webhooks"},f.default.createElement("h2",null,"Webhooks"),n.map((i=>f.default.createElement("div",{key:`${i}-webhook`},r[i].map((a=>f.default.createElement(s,{key:`${i}-${a.method}-webhook`,op:a.operation,tag:"webhooks",method:a.method,path:i,specPath:(0,z.List)(a.specPath),allowTryItOut:!1})))))))},kve=({getComponent:t,specSelectors:e})=>{const r=e.selectLicenseNameField(),n=e.selectLicenseUrl(),s=t("Link");return f.default.createElement("div",{className:"info__license"},n?f.default.createElement("div",{className:"info__license__url"},f.default.createElement(s,{target:"_blank",href:cr(n)},r)):f.default.createElement("span",null,r))},Pve=({getComponent:t,specSelectors:e})=>{const r=e.selectContactNameField(),n=e.selectContactUrl(),s=e.selectContactEmailField(),i=t("Link");return f.default.createElement("div",{className:"info__contact"},n&&f.default.createElement("div",null,f.default.createElement(i,{href:cr(n),target:"_blank"},r," - Website")),s&&f.default.createElement(i,{href:cr(`mailto:${s}`)},n?`Send email to ${r}`:`Contact ${r}`))},jve=({getComponent:t,specSelectors:e})=>{const r=e.version(),n=e.url(),s=e.basePath(),i=e.host(),a=e.selectInfoSummaryField(),o=e.selectInfoDescriptionField(),u=e.selectInfoTitleField(),l=e.selectInfoTermsOfServiceUrl(),c=e.selectExternalDocsUrl(),p=e.selectExternalDocsDescriptionField(),m=e.contact(),d=e.license(),g=t("Markdown",!0),y=t("Link"),v=t("VersionStamp"),E=t("OpenAPIVersion"),b=t("InfoUrl"),_=t("InfoBasePath"),w=t("License",!0),S=t("Contact",!0),A=t("JsonSchemaDialect",!0);return f.default.createElement("div",{className:"info"},f.default.createElement("hgroup",{className:"main"},f.default.createElement("h1",{className:"title"},u,f.default.createElement("span",null,r&&f.default.createElement(v,{version:r}),f.default.createElement(E,{oasVersion:"3.1"}))),(i||s)&&f.default.createElement(_,{host:i,basePath:s}),n&&f.default.createElement(b,{getComponent:t,url:n})),a&&f.default.createElement("p",{className:"info__summary"},a),f.default.createElement("div",{className:"info__description description"},f.default.createElement(g,{source:o})),l&&f.default.createElement("div",{className:"info__tos"},f.default.createElement(y,{target:"_blank",href:cr(l)},"Terms of service")),m.size>0&&f.default.createElement(S,null),d.size>
2490&&f.default.createElement(w,null),c&&f.default.createElement(y,{className:"info__extdocs",target:"_blank",href:cr(c)},p||c),f.default.createElement(A,null))},Nve=({getComponent:t,specSelectors:e})=>{const r=e.selectJsonSchemaDialectField(),n=e.selectJsonSchemaDialectDefault(),s=t("Link");return f.default.createElement(f.default.Fragment,null,r&&r===n&&f.default.createElement("p",{className:"info__jsonschemadialect"},"JSON Schema dialect:"," ",f.default.createElement(s,{target:"_blank",href:cr(r)},r)),r&&r!==n&&f.default.createElement("div",{className:"error-wrapper"},f.default.createElement("div",{className:"no-margin"},f.default.createElement("div",{className:"errors"},f.default.createElement("div",{className:"errors-wrapper"},f.default.createElement("h4",{className:"center"},"Warning"),f.default.createElement("p",{className:"message"},f.default.createElement("strong",null,"OpenAPI.jsonSchemaDialect")," field contains a value different from the default value of"," ",f.default.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."))))))},Mve=({bypass:t,isSwagger2:e,isOAS3:r,isOAS31:n,alsoShow:s,children:i})=>t?f.default.createElement("div",null,i):e&&(r||n)?f.default.createElement("div",{className:"version-pragma"},s,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--ambiguous"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,f.default.createElement("code",null,"swagger")," and ",f.default.createElement("code",null,"openapi")," fields cannot be present in the same Swagger or OpenAPI definition. Please remove one of the fields."),f.default.createElement("p",null,"Supported version fields are ",f.default.createElement("code",null,'swagger: "2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",f.default.createElement("code",null,"openapi: 3.1.0"),").")))
249):e||r||n?f.default.createElement("div",null,i):f.default.createElement("div",{className:"version-pragma"},s,f.default.createElement("div",{className:"version-pragma__message version-pragma__message--missing"},f.default.createElement("div",null,f.default.createElement("h3",null,"Unable to render this definition"),f.default.createElement("p",null,"The provided definition does not specify a valid version field."),f.default.createElement("p",null,"Please indicate a valid Swagger or OpenAPI version field. Supported version fields are ",f.default.createElement("code",null,'swagger: "2.0"')," and those that match ",f.default.createElement("code",null,"openapi: 3.x.y")," (for example,"," ",f.default.createElement("code",null,"openapi: 3.1.0"),")."))));const Dve=t=>typeof t=="string"&&t.includes("#/components/schemas/")?(e=>{const r=e.replace(/~1/g,"/").replace(/~0/g,"~");try{return decodeURIComponent(r)}catch{return r}})(t.replace(/^.*#\/components\/schemas\//,"")):null,Fve=(0,f.forwardRef)((({schema:t,getComponent:e,onToggle:r=()=>{},specPath:n},s)=>{const i=e("JSONSchema202012"),a=Dve(t.get("$$ref")),o=(0,f.useCallback)(((u,l)=>{r(a,l)}),[a,r]);return f.default.createElement(i,{name:a,schema:t.toJS(),ref:s,onExpand:o,identifier:n.toJS().join("_")})}));var qve=Fve,Bve=({specActions:t,specSelectors:e,layoutSelectors:r,layoutActions:n,getComponent:s,getConfigs:i,fn:a})=>{const o=e.selectSchemas(),u=Object.keys(o).length>0,l=["components","schemas"],{docExpansion:c,defaultModelsExpandDepth:p}=i(),m=p>0&&c!=="none",d=r.isShown(l,m),g=s("Collapse"),y=s("JSONSchema202012"),v=s("ArrowUpIcon"),E=s("ArrowDownIcon"),{getTitle:b}=a.jsonSchema202012.useFn();(0,f.useEffect)((()=>{const I=Object.entries(o).some((([F])=>r.isShown([...l,F],!1))),k=d&&(p>1||I),P=e.specResolvedSubtree(l)!=null;k&&!P&&t.requestResolvedSubtree(l)}),[d,p]);const _=(0,f.useCallback)((()=>{n.show(l,!d)}),[d]),w=(0,f.useCallback)((I=>{I!==null&&n.readyToScroll(l,I)}),[]),S=I=>k=>{k!==null&&n.readyToScroll([...l,I],k)},A=I=>(k,P)=>{const F=[...l,I];P?(e.specResolvedSubtree(F)!=null||t.requestResolvedSubtree([...l,I]),n.show(F,!0)):n.show(F,!1)};return!u||p<0?null:f.default.createElement("section",{className:(0,Tt.default)("models",{"is-open":d}),ref:w},f.default.createElement("h4",null,f.default.createElement("button",{"aria-expanded":d,className:"models-control",onClick:_},f.default.createElement("span",null,"Schemas"),d?f.default.createElement(v,null):f.default.createElement(E,null))),f.default.createElement(g,{isOpened:d},Object.entries(o).map((([I,k])=>{const P=b(k,{lookup:"basic"})||I;return f.default.createElement(y,{key:I,ref:S(I),schema:k,name:P,onExpand:A(I)})}))))},Lve=({schema:t,getComponent:e,name:r,authSelectors:n})=>{const s=e("JumpToPath",!0),i=n.selectAuthPath(r);return f.default.createElement("div",null,f.default.createElement("h4",null,r," (mutualTLS) ",f.default.createElement(s,{path:i})),f.default.createElement("p",null,"Mutual TLS is required by this API/Operation. Certificates are managed via your Operating System and/or your browser."),f.default.createElement("p",null,t.get("description")))};class $ve extends f.default.Component{constructor(e,r){super(e,r),this.state={}}onAuthChange=e=>{let{name:r}=e;this.setState({[r]:e})};submitAuth=e=>{e.preventDefault();let{authActions:r}=this.props;r.authorizeWithPersistOption(this.state)};logoutClick=e=>{e.preventDefault();let{authActions:r,definitions:n}=this.props,s=n.map(((i,a)=>a)).toArray();this.setState(s.reduce(((i,a)=>(i[a]="",i)),{})),r.logoutWithPersistOption(s)};close=e=>{e.preventDefault();let{authActions:r}=this.props;r.showDefinitions(!1)};render(){let{definitions:e,getComponent:r,authSelectors:n,errSelectors:s}=this.props;const i=r("AuthItem"),a=r("oauth2",!0),o=r("Button"),u=n.authorized(),l=e.filter(((d,g)=>!!u.get(g))),c=e.filter((d=>d.get("type")!=="oauth2"&&d.get("type")!=="mutualTLS")),p=e.filter((d=>d.get("type")==="oauth2")),m=e.filter((d=>d.get("type")==="mutualTLS"));return f.default.createElement("div",{className:"auth-container"},c.size>0&&f.default.createElement("form",{onSubmit:this.submitAuth},c.map(((d,g)=>f.default.createElement(i,{key:g,schema:d,name:g,getComponent:r,onAuthChange:this.onAuthChange,authorized:u,errSelectors:s,authSelectors:n}))).toArray(),f.default.createElement("div",{className:"auth-btn-wrapper"},c.size===l.size?f.default.createElement(o,{className:"btn modal-btn auth",onClick:this.logoutClick,"aria-label":"Remove authorization"},"Logout"):f.default.createElement(o,{type:"submit",className:"btn modal-btn auth authorize","aria-label":"Apply credentials"},"Authorize"),f.default.createElement(o,{className:"btn modal-btn auth btn-done",onClick:this.close},"Close"))),p.size>0?f.default.createElement("div",null,f.default.createElement("div",{className:"scope-def"},f.default.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."),f.default.createElement("p",null,"API requires the following scopes. Select which ones you want to grant to Swagger UI.")),e.filter((d=>d.get("type")==="oauth2")).map(((d,g)=>f.default.createElement("div",{key:g},f.default.createElement(a,{authorized:u,schema:d,name:g})))).toArray()):null,m.size>0&&f.default.createElement("div",null,m.map(((d,g)=>f.default.createElement(i,{key:g,schema:d,name:g,getComponent:r,onAuthChange:this.onAuthChange,authorized:u,errSelectors:s,authSelectors:n}))).toArray()))}}var Uve=$ve;const J8=t=>{const e=t.get("openapi");return typeof e=="string"&&/^3\.1\.(?:[1-9]\d*|0)$/.test(e)},c3=t=>(e,...r)=>n=>{if(n.getSystem().specSelectors.isOAS31()){const s=t(e,...r);return typeof s=="function"?s(n):s}return null},H8=t=>(e,r)=>(n,...s)=>{if(r.getSystem().specSelectors.isOAS31()){const i=t(n,...s);return typeof i=="function"?i(e,r):i}return e(...s)},f3=t=>(e,...r)=>n=>{const s=t(e,n,...r);return typeof s=="function"?s(n):s},Ns=t=>(e,r)=>n=>r.specSelectors.isOAS31()?f.default.createElement(t,(0,It.default)({},n,{originalComponent:e,getSystem:r.getSystem})):f.default.createElement(e,n),jS=(t,e)=>{const{fn:r,specSelectors:n}=e;return Object.fromEntries(Object.entries(t).map((([s,i])=>{const a=r[s];return[s,(...o)=>n.isOAS31()?i(...o):typeof a=="function"?a(...o):void 0]})))};var Vve=Ns((({getSystem:t})=>{const e=t().getComponent("OAS31License",!0);return f.default.createElement(e,null)})),zve=Ns((({getSystem:t})=>{const e=t().getComponent("OAS31Contact",!0);return f.default.createElement(e,null)})),Wve=Ns((({getSystem:t})=>{const e=t().getComponent("OAS31Info",!0);return f.default.createElement(e,null)}));const Jve=(t,{includeReadOnly:e,includeWriteOnly:r})=>{if(!t?.properties)return{};const n=Object.entries(t.properties).filter((([,s])=>(s?.readOnly!==!0||e)&&(s?.writeOnly!==!0||r)));return Object.fromEntries(n)},K8=t=>
249{if(typeof t!="function")return null;const e=t();return()=>[...e,"discriminator","xml","externalDocs","example","$$ref"]},n_=Ns((({getSystem:t,...e})=>{const r=t(),{getComponent:n,fn:s,getConfigs:i}=r,a=i(),o=n("OAS31Model"),u=n("withJSONSchema202012SystemContext");return n_.ModelWithJSONSchemaContext??=u(o,{config:{default$schema:"https://spec.openapis.org/oas/3.1/dialect/base",defaultExpandedLevels:a.defaultModelExpandDepth,includeReadOnly:e.includeReadOnly,includeWriteOnly:e.includeWriteOnly},fn:{getProperties:s.jsonSchema202012.getProperties,isExpandable:s.jsonSchema202012.isExpandable,getSchemaKeywords:K8(s.jsonSchema202012.getSchemaKeywords)}}),f.default.createElement(n_.ModelWithJSONSchemaContext,e)}));var Hve=n_;const Ba=Ns((({getSystem:t})=>{const{getComponent:e,fn:r,getConfigs:n}=t(),s=n();if(Ba.ModelsWithJSONSchemaContext)return f.default.createElement(Ba.ModelsWithJSONSchemaContext,null);const i=e("OAS31Models",!0),a=e("withJSONSchema202012SystemContext");return Ba.ModelsWithJSONSchemaContext??=a(i,{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:K8(r.jsonSchema202012.getSchemaKeywords)}}),f.default.createElement(Ba.ModelsWithJSONSchemaContext,null)}));Ba.ModelsWithJSONSchemaContext=null;var Kve=Ba,Gve=(t,e)=>r=>{const n=e.specSelectors.isOAS31(),s=e.getComponent("OAS31VersionPragmaFilter");return f.default.createElement(s,(0,It.default)({isOAS31:n},r))};const Yve=Ns((({originalComponent:t,...e})=>{const{getComponent:r,schema:n,name:s}=e,i=r("MutualTLSAuth",!0);return n.get("type")==="mutualTLS"?f.default.createElement(i,{schema:n,name:s}):f.default.createElement(t,e)}));var Xve=Yve,Zve=Ns((({getSystem:t,...e})=>{const r=t().getComponent("OAS31Auths",!0);return f.default.createElement(r,e)}));const LA=(0,z.Map)(),Qve=(0,at.createSelector)(((t,e)=>e.specSelectors.specJson()),J8),e0e=()=>t=>{const e=t.specSelectors.specJson().get("webhooks");return z.Map.isMap(e)?e:LA},t0e=(0,at.createSelector)([(t,e)=>e.specSelectors.webhooks(),(t,e)=>e.specSelectors.validOperationMethods(),(t,e)=>e.specSelectors.specResolvedSubtree(["webhooks"])],((t,e)=>t.reduce(((r,n,s)=>{if(!z.Map.isMap(n))return r;const i=n.entrySeq().filter((([a])=>e.includes(a))).map((([a,o])=>({operation:(0,z.Map)({operation:o}),method:a,path:s,specPath:["webhooks",s,a]})));return r.concat(i)}),(0,z.List)()).groupBy((r=>r.path)).map((r=>r.toArray())).toObject())),r0e=()=>t=>{const e=t.specSelectors.info().get("license");return z.Map.isMap(e)?e:LA},n0e=()=>t=>t.specSelectors.license().get("name","License"),s0e=()=>t=>t.specSelectors.license().get("url"),i0e=(0,at.createSelector)([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField()],((t,e,r)=>{if(r)return ss(r,t,{selectedServer:e})})),a0e=()=>t=>t.specSelectors.license().get("identifier"),o0e=()=>t=>{const e=t.specSelectors.info().get("contact");return z.Map.isMap(e)?e:LA},u0e=()=>t=>t.specSelectors.contact().get("name","the developer"),l0e=()=>t=>t.specSelectors.contact().get("email"),c0e=()=>t=>t.specSelectors.contact().get("url"),f0e=(0,at.createSelector)([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectContactUrlField()],((t,e,r)=>{if(r)return ss(r,t,{selectedServer:e})})),p0e=()=>t=>t.specSelectors.info().get("title"),d0e=()=>t=>t.specSelectors.info().get("summary"),h0e=()=>t=>t.specSelectors.info().get("description"),m0e=()=>t=>t.specSelectors.info().get("termsOfService"),g0e=(0,at.createSelector)([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectInfoTermsOfServiceField()],((t,e,r)=>{if(r)return ss(r,t,{selectedServer:e})})),y0e=()=>t=>t.specSelectors.externalDocs().get("description"),v0e=()=>t=>t.specSelectors.externalDocs().get("url"),b0e=(0,at.createSelector)([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectExternalDocsUrlField()],((t,e,r)=>{if(r)return ss(r,t,{selectedServer:e})})),E0e=()=>t=>t.specSelectors.specJson().get("jsonSchemaDialect"),S0e=()=>"https://spec.openapis.org/oas/3.1/dialect/base",_0e=(0,at.createSelector)(((t,e)=>e.specSelectors.definitions()),((t,e)=>e.specSelectors.specResolvedSubtree(["components","schemas"])),((t,e)=>z.Map.isMap(t)?z.Map.isMap(e)?Object.entries(t.toJS()).reduce(((r,[n,s])=>{const i=e.get(n);return r[n]=i?.toJS()||s,r}),{}):t.toJS():{})),w0e=(t,e)=>(r,...n)=>e.specSelectors.isOAS31()||t(...n),x0e=H8((()=>(t,e)=>e.oas31Selectors.selectLicenseUrl())),A0e=H8((()=>(t,e)=>{const r=e.specSelectors.securityDefinitions();let n=t();
249return r&&r.entrySeq().forEach((([s,i])=>{i?.get("type")==="mutualTLS"&&(n=n.push(new z.Map({[s]:i})))})),n})),O0e=(0,at.createSelector)([(t,e)=>e.specSelectors.url(),(t,e)=>e.oas3Selectors.selectedServer(),(t,e)=>e.specSelectors.selectLicenseUrlField(),(t,e)=>e.specSelectors.selectLicenseIdentifierField()],((t,e,r,n)=>r?ss(r,t,{selectedServer:e}):n?`https://spdx.org/licenses/${n}.html`:void 0));var C0e=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{hasKeyword:s}=r.jsonSchema202012.useFn(),i=n("JSONSchema202012JSONViewer");return s(t,"example")?f.default.createElement(i,{name:"Example",value:t.example,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--example"}):null},R0e=({schema:t,getSystem:e})=>{const r=t?.xml||{},{fn:n,getComponent:s,getConfigs:i}=e(),{showExtensions:a}=i(),{useComponent:o,useIsExpanded:u,usePath:l,useLevel:c}=n.jsonSchema202012,{path:p}=l("xml"),{isExpanded:m,setExpanded:d,setCollapsed:g}=u("xml"),[y,v]=c(),E=a?Di(r):[],b=!!(r.name||r.namespace||r.prefix||E.length>0),_=o("Accordion"),w=o("ExpandDeepButton"),S=s("OpenAPI31Extensions"),A=s("JSONSchema202012PathContext")(),I=s("JSONSchema202012LevelContext")(),k=(0,f.useCallback)((()=>{m?g():d()}),[m,d,g]),P=(0,f.useCallback)(((F,R)=>{R?d({deep:!0}):g({deep:!0})}),[d,g]);return Object.keys(r).length===0?null:f.default.createElement(A.Provider,{value:p},f.default.createElement(I.Provider,{value:v},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--xml","data-json-schema-level":y},b?f.default.createElement(f.default.Fragment,null,f.default.createElement(_,{expanded:m,onChange:k},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML")),f.default.createElement(w,{expanded:m,onClick:P})):f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"XML"),r.attribute===!0&&f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"attribute"),r.wrapped===!0&&f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"wrapped"),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!m})},m&&f.default.createElement(f.default.Fragment,null,r.name&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"name"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.name))),r.namespace&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"namespace"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.namespace))),r.prefix&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"prefix"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},r.prefix)))),E.length>0&&f.default.createElement(S,{openAPISpecObj:r,openAPIExtensions:E,getSystem:e})))))},I0e=({discriminator:t})=>{const e=t?.mapping||{};return Object.keys(e).length===0?null:Object.entries(e).map((([r,n])=>f.default.createElement("div",{key:`${r}-${n}`,className:"json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},r),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},n))))},T0e=({schema:t,getSystem:e})=>{const r=t?.discriminator||{},{fn:n,getComponent:s,getConfigs:i}=e(),{showExtensions:a}=i(),{useComponent:o,useIsExpanded:u,usePath:l,useLevel:c}=n.jsonSchema202012,p="discriminator",{path:m}=l(p),{isExpanded:d,setExpanded:g,setCollapsed:y}=u(p),[v,E]=c(),b=a?Di(r):[],_=!!(r.mapping||b.length>0),w=o("Accordion"),S=o("ExpandDeepButton"),A=s("OpenAPI31Extensions"),I=s("JSONSchema202012PathContext")(),k=s("JSONSchema202012LevelContext")(),P=(0,f.useCallback)((()=>{d?y():g()}),[d,g,y]),F=(0,f.useCallback)(((R,L)=>{L?g({deep:!0}):y({deep:!0})}),[g,y]);return Object.keys(r).length===0?null:f.default.createElement(I.Provider,{value:m},f.default.createElement(k.Provider,{value:E},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--discriminator","data-json-schema-level":v},_?f.default.createElement(f.default.Fragment,null,f.default.createElement(w,{expanded:d,onChange:P},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"}
249,"Discriminator")),f.default.createElement(S,{expanded:d,onClick:F})):f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"Discriminator"),r.propertyName&&f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},r.propertyName),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!d})},d&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement(I0e,{discriminator:r})),b.length>0&&f.default.createElement(A,{openAPISpecObj:r,openAPIExtensions:b,getSystem:e})))))},k0e=({openAPISpecObj:t,getSystem:e,openAPIExtensions:r})=>{const{fn:n}=e(),{useComponent:s}=n.jsonSchema202012,i=s("JSONViewer");return r.map((a=>f.default.createElement(i,{key:a,name:a,value:t[a],className:"json-schema-2020-12-json-viewer-extension-keyword"})))},P0e=({schema:t,getSystem:e})=>{const r=t?.externalDocs||{},{fn:n,getComponent:s,getConfigs:i}=e(),{showExtensions:a}=i(),{useComponent:o,useIsExpanded:u,usePath:l,useLevel:c}=n.jsonSchema202012,p="externalDocs",{path:m}=l(p),{isExpanded:d,setExpanded:g,setCollapsed:y}=u(p),[v,E]=c(),b=a?Di(r):[],_=!!(r.description||r.url||b.length>0),w=o("Accordion"),S=o("ExpandDeepButton"),A=s("JSONSchema202012KeywordDescription"),I=s("Link"),k=s("OpenAPI31Extensions"),P=s("JSONSchema202012PathContext")(),F=s("JSONSchema202012LevelContext")(),R=(0,f.useCallback)((()=>{d?y():g()}),[d,g,y]),L=(0,f.useCallback)(((M,G)=>{G?g({deep:!0}):y({deep:!0})}),[g,y]);return Object.keys(r).length===0?null:f.default.createElement(P.Provider,{value:m},f.default.createElement(F.Provider,{value:E},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--externalDocs","data-json-schema-level":v},_?f.default.createElement(f.default.Fragment,null,f.default.createElement(w,{expanded:d,onChange:R},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation")),f.default.createElement(S,{expanded:d,onClick:L})):f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"External documentation"),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!d})},d&&f.default.createElement(f.default.Fragment,null,r.description&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement(A,{schema:r,getSystem:e})),r.url&&f.default.createElement("li",{className:"json-schema-2020-12-property"},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"url"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},f.default.createElement(I,{target:"_blank",href:cr(r.url)},r.url))))),b.length>0&&f.default.createElement(k,{openAPISpecObj:r,openAPIExtensions:b,getSystem:e})))))},j0e=({schema:t,getSystem:e})=>
249{if(!t?.description)return null;const{getComponent:r}=e(),n=r("Markdown");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},f.default.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"},f.default.createElement(n,{source:t.description})))},N0e=Ns(j0e);const M0e=Ns((({schema:t,getSystem:e,originalComponent:r})=>{const{getComponent:n}=e(),s=n("JSONSchema202012KeywordDiscriminator"),i=n("JSONSchema202012KeywordXml"),a=n("JSONSchema202012KeywordExample"),o=n("JSONSchema202012KeywordExternalDocs");return f.default.createElement(f.default.Fragment,null,f.default.createElement(r,{schema:t}),f.default.createElement(s,{schema:t,getSystem:e}),f.default.createElement(i,{schema:t,getSystem:e}),f.default.createElement(o,{schema:t,getSystem:e}),f.default.createElement(a,{schema:t,getSystem:e}))}));var D0e=M0e,F0e=({schema:t,getSystem:e})=>{const{fn:r,getComponent:n}=e(),{useComponent:s,usePath:i}=r.jsonSchema202012,{getDependentRequired:a,getProperties:o}=r.jsonSchema202012.useFn(),u=r.jsonSchema202012.useConfig(),l=Array.isArray(t?.required)?t.required:[],{path:c}=i("properties"),p=s("JSONSchema"),m=n("JSONSchema202012PathContext")(),d=o(t,u);return Object.keys(d).length===0?null:f.default.createElement(m.Provider,{value:c},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},f.default.createElement("ul",null,Object.entries(d).map((([g,y])=>{const v=l.includes(g),E=a(g,t);return f.default.createElement("li",{key:g,className:(0,Tt.default)("json-schema-2020-12-property",{"json-schema-2020-12-property--required":v})},f.default.createElement(p,{name:g,schema:y,dependentRequired:E}))})))))},q0e=Ns(F0e),B0e=function({fn:e,getSystem:r}){if(e.jsonSchema202012){const i=((a,o)=>{const{fn:u}=o();if(typeof a!="function")return null;const{hasKeyword:l}=u.jsonSchema202012;return c=>a(c)||l(c,"example")||c?.xml||c?.discriminator||c?.externalDocs})(e.jsonSchema202012.isExpandable,r);Object.assign(this.fn.jsonSchema202012,{isExpandable:i,getProperties:Jve})}if(typeof e.sampleFromSchema=="function"&&e.jsonSchema202012){const i=jS({sampleFromSchema:e.jsonSchema202012.sampleFromSchema,sampleFromSchemaGeneric:e.jsonSchema202012.sampleFromSchemaGeneric,createXMLExample:e.jsonSchema202012.createXMLExample,memoizedSampleFromSchema:e.jsonSchema202012.memoizedSampleFromSchema,memoizedCreateXMLExample:e.jsonSchema202012.memoizedCreateXMLExample,getJsonSampleSchema:e.jsonSchema202012.getJsonSampleSchema,getYamlSampleSchema:e.jsonSchema202012.getYamlSampleSchema,getXmlSampleSchema:e.jsonSchema202012.getXmlSampleSchema,getSampleSchema:e.jsonSchema202012.getSampleSchema,mergeJsonSchema:e.jsonSchema202012.mergeJsonSchema,getSchemaObjectTypeLabel:a=>e.jsonSchema202012.getType(Za(a)),getSchemaObjectType:a=>e.jsonSchema202012.foldType(Za(a)?.type)},r());Object.assign(this.fn,i)}const n=(i=>(a,o=null)=>{const{fn:u}=i();if(u.isFileUploadIntendedOAS30(a,o))return!0;const l=z.Map.isMap(a);if(!l&&!(0,Gs.default)(a))return!1;const c=l?a.get("contentMediaType"):a.contentMediaType,p=l?a.get("contentEncoding"):a.contentEncoding;return typeof c=="string"&&c!==""||typeof p=="string"&&p!==""})(r),{isFileUploadIntended:s}=jS({isFileUploadIntended:n},r());if(this.fn.isFileUploadIntended=s,this.fn.isFileUploadIntendedOAS31=n,e.jsonSchema202012){const{hasSchemaType:i}=jS({hasSchemaType:e.jsonSchema202012.hasSchemaType},r());this.fn.hasSchemaType=i}},L0e=({fn:t})=>{const e=t.createSystemSelector||f3,r=t.createOnlyOAS31Selector||c3;return{afterLoad:B0e,fn:{isOAS31:J8,createSystemSelector:f3,createOnlyOAS31Selector:c3},components:{Webhooks:Tve,JsonSchemaDialect:Nve,MutualTLSAuth:Lve,OAS31Info:jve,OAS31License:kve,OAS31Contact:Pve,OAS31VersionPragmaFilter:Mve,OAS31Model:qve,OAS31Models:Bve,OAS31Auths:Uve,JSONSchema202012KeywordExample:C0e,JSONSchema202012KeywordXml:R0e,JSONSchema202012KeywordDiscriminator:T0e,JSONSchema202012KeywordExternalDocs:P0e,OpenAPI31Extensions:k0e},wrapComponents:{InfoContainer:Wve,License:Vve,Contact:zve,VersionPragmaFilter:Gve,Model:Hve,Models:Kve,AuthItem:Xve,auths:Zve,JSONSchema202012KeywordDescription:N0e,JSONSchema202012KeywordExamples:D0e,JSONSchema202012KeywordProperties:q0e},statePlugins:{auth:{wrapSelectors:{definitionsToAuthorize:A0e}},spec:{selectors:{isOAS31:e(Qve),license:r0e,selectLicenseNameField:n0e,selectLicenseUrlField:s0e,selectLicenseIdentifierField:r
249(a0e),selectLicenseUrl:e(i0e),contact:o0e,selectContactNameField:u0e,selectContactEmailField:l0e,selectContactUrlField:c0e,selectContactUrl:e(f0e),selectInfoTitleField:p0e,selectInfoSummaryField:r(d0e),selectInfoDescriptionField:h0e,selectInfoTermsOfServiceField:m0e,selectInfoTermsOfServiceUrl:e(g0e),selectExternalDocsDescriptionField:y0e,selectExternalDocsUrlField:v0e,selectExternalDocsUrl:e(b0e),webhooks:r(e0e),selectWebhooksOperations:r(e(t0e)),selectJsonSchemaDialectField:E0e,selectJsonSchemaDialectDefault:S0e,selectSchemas:e(_0e)},wrapSelectors:{isOAS3:w0e,selectLicenseUrl:x0e}},oas31:{selectors:{selectLicenseUrl:r(e(O0e))}}}}};const $0e=rn.default.object,U0e=rn.default.bool,na=(rn.default.oneOfType([$0e,U0e]),(0,f.createContext)(null));na.displayName="JSONSchemaContext";const Vn=(0,f.createContext)(0);Vn.displayName="JSONSchemaLevelContext";const s_=(0,f.createContext)(new Set),cn=(0,f.createContext)([]);class Kn{static Collapsed="collapsed";static Expanded="expanded";static DeeplyExpanded="deeply-expanded"}const $A=()=>{const{config:t}=(0,f.useContext)(na);return t},Fe=t=>{const{components:e}=(0,f.useContext)(na);return e[t]||null},Wt=(t=void 0)=>{const{fn:e}=(0,f.useContext)(na);return t!==void 0?e[t]:e},G8=()=>{const[,t]=(0,f.useState)(null),{state:e}=(0,f.useContext)(na);return{state:e,setState:r=>{r(e),t({})}}},Bn=()=>{const t=(0,f.useContext)(Vn);return[t,t+1]},Qr=t=>{const e=(0,f.useContext)(cn),{setState:r}=G8(),n=typeof t=="string"?[...e,t]:e;return{path:n,pathMutator:(s,i={deep:!1})=>{const a=n.toString(),o=l=>{l.paths[a]=s,s===Kn.Collapsed&&Object.keys(l.paths).forEach((c=>{c.startsWith(a)&&l.paths[c]===Kn.DeeplyExpanded&&(l.paths[c]=Kn.Expanded)}))},u=l=>{Object.keys(l.paths).forEach((c=>{c.startsWith(a)&&(l.paths[c]=s)}))};i.deep?r(u):r(o)}}},fs=t=>{const[e]=Bn(),{defaultExpandedLevels:r}=$A(),{path:n,pathMutator:s}=Qr(t),{path:i}=Qr(),{state:a}=G8(),o=a.paths[n.toString()],u=a.paths[i.toString()]??a.paths[i.slice(0,-1).toString()],l=o??(r-e>0?Kn.Expanded:Kn.Collapsed),c=l!==Kn.Collapsed;return(0,f.useEffect)((()=>{s(u===Kn.DeeplyExpanded?Kn.DeeplyExpanded:l)}),[u]),{isExpanded:c,setExpanded:(0,f.useCallback)(((p={deep:!1})=>{s(p.deep?Kn.DeeplyExpanded:Kn.Expanded)}),[]),setCollapsed:(0,f.useCallback)(((p={deep:!1})=>{s(Kn.Collapsed,p)}),[])}},p3=(t=void 0)=>{if(t===void 0)return(0,f.useContext)(s_);const e=(0,f.useContext)(s_);return new Set([...e,t])},V0e=(0,f.forwardRef)((({schema:t,name:e="",dependentRequired:r=[],onExpand:n=()=>{},identifier:s=""},i)=>{const a=Wt(),o=s||t?.$id||e,{path:u}=Qr(o),{isExpanded:l,setExpanded:c,setCollapsed:p}=fs(o),[m,d]=Bn(),g=(()=>{const[q]=Bn();return q>0})(),y=a.isExpandable(t)||r.length>0,v=(q=>p3().has(q))(t),E=p3(t),b=a.stringifyConstraints(t),_=Fe("Accordion"),w=Fe("Keyword$schema"),S=Fe("Keyword$vocabulary"),A=Fe("Keyword$id"),I=Fe("Keyword$anchor"),k=Fe("Keyword$dynamicAnchor"),P=Fe("Keyword$ref"),F=Fe("Keyword$dynamicRef"),R=Fe("Keyword$defs"),L=Fe("Keyword$comment"),M=Fe("KeywordAllOf"),G=Fe("KeywordAnyOf"),re=Fe("KeywordOneOf"),K=Fe("KeywordNot"),Z=Fe("KeywordIf"),X=Fe("KeywordThen"),ee=Fe("KeywordElse"),ce=Fe("KeywordDependentSchemas"),se=Fe("KeywordPrefixItems"),ue=Fe("KeywordItems"),ye=Fe("KeywordContains"),he=Fe("KeywordProperties"),te=Fe("KeywordPatternProperties"),W=Fe("KeywordAdditionalProperties"),V=Fe("KeywordPropertyNames"),me=Fe("KeywordUnevaluatedItems"),ve=Fe("KeywordUnevaluatedProperties"),Me=Fe("KeywordType"),Be=Fe("KeywordEnum"),Te=Fe("KeywordConst"),ke=Fe("KeywordConstraint"),$e=Fe("KeywordDependentRequired"),ge=Fe("KeywordContentSchema"),Se=Fe("KeywordTitle"),we=Fe("KeywordDescription"),$=Fe("KeywordDefault"),C=Fe("KeywordDeprecated"),j=Fe("KeywordReadOnly"),U=Fe("KeywordWriteOnly"),Y=Fe("KeywordExamples"),ne=Fe("ExtensionKeywords"),fe=Fe("ExpandDeepButton"),Ne=(0,f.useCallback)(((q,O)=>{O?c():p(),n(q,O,!1)}),[n,c,p]),Ge=(0,f.useCallback)(((q,O)=>{O?c({deep:!0}):p({deep:!0}),n(q,O,!0)}),[n,c,p]);return f.default.createElement(cn.Provider,{value:u},f.default.createElement(Vn.Provider,{value:d},f.default.createElement(s_.Provider,{value:E},f.default.createElement("article",{ref:i,"data-json-schema-level":m,className:(0,Tt.default)("json-schema-2020-12",{"json-schema-2020-12--embedded":g,"json-schema-2020-12--circular":v})},f.default.createElement("div",{className:"json-schema-2020-12-head"},y&&!v?f.default.createElement(f.default.Fragment,null,f.default.createElement(_,{expanded:l,onChange:Ne},f.default.createElement(Se,{title:e,schema:t})),f.default.createElement(fe,{expanded:l,onClick:Ge})):f.default.createElement(Se,{title:e,schema:t}),f.default.createElement(C,{schema:t}),f.default.createElement(j,{schema:t}),f.default.createElement(U,{schema:t}),f.default.createElement(Me,{schema:t,isCircular:v}),b.length>0&&b.map((q=>f.default.createElement(ke,{key:`${q.scope}-${q.value}`,constraint:q})))),f.default.createElement("div",{className:(0,Tt.default)("json-schema-2020-12-body",{"json-schema-2020-12-body--collapsed":!l})},l&&f.default.createElement(f.default.Fragment,null,f.default.createElement(we,{schema:t}),!v&&y&&f.default.createElement(f.default.Fragment,null,f.default.createElement(he,{schema:t}),f.default.createElement(te,{schema:t}),f.default.createElement(W,{schema:t}),f.default.createElement(ve,{schema:t}),f.default.createElement(V,{schema:t}),f.default.createElement(M,{schema:t}),f.default.createElement(G,{schema:t}),f.default.createElement(re,{schema:t}),f.default.createElement(K,{schema:t}),f.default.createElement(Z,{schema:t}),f.default.createElement(X,{schema:t}),f.default.createElement(ee,{schema:t}),f.default.createElement(ce,{schema:t}),f.default.createElement(se,{schema:t}),f.default.createElement(ue,{schema:t}),f.default.createElement(me,{schema:t}),f.default.createElement(ye,{schema:t}),f.default.createElement(ge,{schema:t})),f.default.createElement(Be,{schema:t}),f.default.createElement(Te,{schema:t}),f.default.createElement($e,{schema:t,dependentRequired:r}),f.default.createElement($,{schema:t}),f.default.createElement(Y,{schema:t}),f.default.createElement(w,{schema:t}),f.default.createElement(S,{schema:t}),f.default.createElement(A,{schema:t}),f.default.createElement(I,{schema:t}),f.default.createElement(k,{schema:t}),f.default.createElement(P,{schema:t}),!v&&y&&f.default.createElement(R,{schema:t}),f.default.createElement(F,{schema:t}),f.default.createElement(L,{schema:t}),f.default.createElement(ne,{schema:t})))))))}));var Y8=V0e,X8=({schema:t})=>t?.$schema?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$schema"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$schema"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$schema)):null,Z8=({schema:t})=>{const e="$vocabulary",{path:r}=Qr(e),{isExpanded:n,setExpanded:s,setCollapsed:i}=fs(e),a=Fe("Accordion"),o=(0,f.useCallback)((()=>{n?i():s()}),[n,s,i]);return t?.$vocabulary?typeof t.$vocabulary!="object"?null:f.default.createElement(cn.Provider,{value:r},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$vocabulary"},f.default.createElement(a,{expanded:n,onChange:o},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$vocabulary")),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",null,n&&Object.entries(t.$vocabulary).map((([u,l])=>f.default.createElement("li",{key:u,className:(0,Tt.default)("json-schema-2020-12-$vocabulary-uri",{"json-schema-2020-12-$vocabulary-uri--disabled":!l})},f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},u))))))):null},Q8=({schema:t})=>t?.$id?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$id"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$id"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$id)):null,e4=({schema:t})=>t?.$anchor?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$anchor"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$anchor"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$anchor)):null,t4=({schema:t})=>t?.$dynamicAnchor?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicAnchor"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicAnchor"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicAnchor)):null,r4=({schema:t})=>t?.$ref?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$ref"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$ref"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"}
249,t.$ref)):null,n4=({schema:t})=>t?.$dynamicRef?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$dynamicRef"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$dynamicRef"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$dynamicRef)):null,s4=({schema:t})=>{const e=t?.$defs||{},r="$defs",{path:n}=Qr(r),{isExpanded:s,setExpanded:i,setCollapsed:a}=fs(r),[o,u]=Bn(),l=Fe("Accordion"),c=Fe("ExpandDeepButton"),p=Fe("JSONSchema"),m=(0,f.useCallback)((()=>{s?a():i()}),[s,i,a]),d=(0,f.useCallback)(((g,y)=>{y?i({deep:!0}):a({deep:!0})}),[i,a]);return Object.keys(e).length===0?null:f.default.createElement(cn.Provider,{value:n},f.default.createElement(Vn.Provider,{value:u},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$defs","data-json-schema-level":o},f.default.createElement(l,{expanded:s,onChange:m},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$defs")),f.default.createElement(c,{expanded:s,onClick:d}),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&f.default.createElement(f.default.Fragment,null,Object.entries(e).map((([g,y])=>f.default.createElement("li",{key:g,className:"json-schema-2020-12-property"},f.default.createElement(p,{name:g,schema:y})))))))))},i4=({schema:t})=>t?.$comment?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--$comment"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--secondary"},"$comment"),f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--secondary"},t.$comment)):null,a4=({schema:t})=>{const e=t?.allOf||[],r=Wt(),n="allOf",{path:s}=Qr(n),{isExpanded:i,setExpanded:a,setCollapsed:o}=fs(n),[u,l]=Bn(),c=Fe("Accordion"),p=Fe("ExpandDeepButton"),m=Fe("JSONSchema"),d=Fe("KeywordType"),g=(0,f.useCallback)((()=>{i?o():a()}),[i,a,o]),y=(0,f.useCallback)(((v,E)=>{E?a({deep:!0}):o({deep:!0})}),[a,o]);return Array.isArray(e)&&e.length!==0?f.default.createElement(cn.Provider,{value:s},f.default.createElement(Vn.Provider,{value:l},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--allOf","data-json-schema-level":u},f.default.createElement(c,{expanded:i,onChange:g},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"All of")),f.default.createElement(p,{expanded:i,onClick:y}),f.default.createElement(d,{schema:{allOf:e}}),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&f.default.createElement(f.default.Fragment,null,e.map(((v,E)=>f.default.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},f.default.createElement(m,{name:`#${E} ${r.getTitle(v)}`,schema:v}))))))))):null},o4=({schema:t})=>{const e=t?.anyOf||[],r=Wt(),n="anyOf",{path:s}=Qr(n),{isExpanded:i,setExpanded:a,setCollapsed:o}=fs(n),[u,l]=Bn(),c=Fe("Accordion"),p=Fe("ExpandDeepButton"),m=Fe("JSONSchema"),d=Fe("KeywordType"),g=(0,f.useCallback)((()=>{i?o():a()}),[i,a,o]),y=(0,f.useCallback)(((v,E)=>{E?a({deep:!0}):o({deep:!0})}),[a,o]);return Array.isArray(e)&&e.length!==0?f.default.createElement(cn.Provider,{value:s},f.default.createElement(Vn.Provider,{value:l},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--anyOf","data-json-schema-level":u},f.default.createElement(c,{expanded:i,onChange:g},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Any of")),f.default.createElement(p,{expanded:i,onClick:y}
249),f.default.createElement(d,{schema:{anyOf:e}}),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&f.default.createElement(f.default.Fragment,null,e.map(((v,E)=>f.default.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},f.default.createElement(m,{name:`#${E} ${r.getTitle(v)}`,schema:v}))))))))):null},u4=({schema:t})=>{const e=t?.oneOf||[],r=Wt(),n="oneOf",{path:s}=Qr(n),{isExpanded:i,setExpanded:a,setCollapsed:o}=fs(n),[u,l]=Bn(),c=Fe("Accordion"),p=Fe("ExpandDeepButton"),m=Fe("JSONSchema"),d=Fe("KeywordType"),g=(0,f.useCallback)((()=>{i?o():a()}),[i,a,o]),y=(0,f.useCallback)(((v,E)=>{E?a({deep:!0}):o({deep:!0})}),[a,o]);return Array.isArray(e)&&e.length!==0?f.default.createElement(cn.Provider,{value:s},f.default.createElement(Vn.Provider,{value:l},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--oneOf","data-json-schema-level":u},f.default.createElement(c,{expanded:i,onChange:g},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"One of")),f.default.createElement(p,{expanded:i,onClick:y}),f.default.createElement(d,{schema:{oneOf:e}}),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&f.default.createElement(f.default.Fragment,null,e.map(((v,E)=>f.default.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},f.default.createElement(m,{name:`#${E} ${r.getTitle(v)}`,schema:v}))))))))):null},l4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"not"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Not");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--not"},f.default.createElement(r,{name:n,schema:t.not,identifier:"not"}))},c4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"if"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"If");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},f.default.createElement(r,{name:n,schema:t.if,identifier:"if"}))},f4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"then"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Then");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--then"},f.default.createElement(r,{name:n,schema:t.then,identifier:"then"}))},p4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"else"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Else");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--if"},f.default.createElement(r,{name:n,schema:t.else,identifier:"else"}))},d4=({schema:t})=>{const e=t?.dependentSchemas||[],r="dependentSchemas",{path:n}=Qr(r),{isExpanded:s,setExpanded:i,setCollapsed:a}=fs(r),[o,u]=Bn(),l=Fe("Accordion"),c=Fe("ExpandDeepButton"),p=Fe("JSONSchema"),m=(0,f.useCallback)((()=>{s?a():i()}),[s,i,a]),d=(0,f.useCallback)(((g,y)=>{y?i({deep:!0}):a({deep:!0})}),[i,a]);return typeof e!="object"||Object.keys(e).length===0?null:f.default.createElement(cn.Provider,{value:n},f.default.createElement(Vn.Provider,{value:u},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentSchemas","data-json-schema-level":o},f.default.createElement(l,{expanded:s,onChange:m},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Dependent schemas")),f.default.createElement(c,{expanded:s,onClick:d}),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"object"),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&f.default.createElement(f.default.Fragment,null,Object.entries(e).map((([g,y])=>f.default.createElement("li",{key:g,className:"json-schema-2020-12-property"},f.default.createElement(p,{name:g,schema:y})))))))))},h4=({schema:t})=>{const e=t?.prefixItems||[],r=Wt(),n="prefixItems",{path:s}=Qr(n),{isExpanded:i,setExpanded:a,setCollapsed:o}=fs(n),[u,l]=Bn(),c=Fe("Accordion"),p=Fe("ExpandDeepButton"),m=Fe("JSONSchema"),d=Fe("KeywordType"),g=(0,f.useCallback)((()=>{i?o():a()}),[i,a,o]),y=(0,f.useCallback)(((v,E)=>{E?a({deep:!0}):o({deep:!0})}),[a,o]);return Array.isArray(e)&&e.length!==0?f.default.createElement(cn.Provider,{value:s},f.default.createElement(Vn.Provider,{value:l},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--prefixItems","data-json-schema-level":u},f.default.createElement(c,{expanded:i,onChange:g},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Prefix items")),f.default.createElement(p,{expanded:i,onClick:y}
249),f.default.createElement(d,{schema:{prefixItems:e}}),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!i})},i&&f.default.createElement(f.default.Fragment,null,e.map(((v,E)=>f.default.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},f.default.createElement(m,{name:`#${E} ${r.getTitle(v)}`,schema:v}))))))))):null},m4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"items"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Items");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--items"},f.default.createElement(r,{name:n,schema:t.items,identifier:"items"}))},g4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"contains"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Contains");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contains"},f.default.createElement(r,{name:n,schema:t.contains,identifier:"contains"}))},y4=({schema:t})=>{const e=Wt(),r=t?.properties||{},n=Array.isArray(t?.required)?t.required:[],s=Fe("JSONSchema"),{path:i}=Qr("properties");return Object.keys(r).length===0?null:f.default.createElement(cn.Provider,{value:i},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--properties"},f.default.createElement("ul",null,Object.entries(r).map((([a,o])=>{const u=n.includes(a),l=e.getDependentRequired(a,t);return f.default.createElement("li",{key:a,className:(0,Tt.default)("json-schema-2020-12-property",{"json-schema-2020-12-property--required":u})},f.default.createElement(s,{name:a,schema:o,dependentRequired:l}))})))))},v4=({schema:t})=>{const e=t?.patternProperties||{},r=Fe("JSONSchema"),{path:n}=Qr("patternProperties");return Object.keys(e).length===0?null:f.default.createElement(cn.Provider,{value:n},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--patternProperties"},f.default.createElement("ul",null,Object.entries(e).map((([s,i])=>f.default.createElement("li",{key:s,className:"json-schema-2020-12-property"},f.default.createElement(r,{name:s,schema:i})))))))},b4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"additionalProperties"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Additional properties");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--additionalProperties"},t.additionalProperties===!0?f.default.createElement(f.default.Fragment,null,n,f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"allowed")):t.additionalProperties===!1?f.default.createElement(f.default.Fragment,null,n,f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},"forbidden")):f.default.createElement(r,{name:n,schema:t.additionalProperties,identifier:"additionalProperties"}))},E4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema"),n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Property names");return e.hasKeyword(t,"propertyNames")?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--propertyNames"},f.default.createElement(r,{name:n,schema:t.propertyNames,identifier:"propertyNames"})):null},S4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"unevaluatedItems"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated items");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedItems"},f.default.createElement(r,{name:n,schema:t.unevaluatedItems,identifier:"unevaluatedItems"}))},_4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"unevaluatedProperties"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Unevaluated properties");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--unevaluatedProperties"},f.default.createElement(r,{name:n,schema:t.unevaluatedProperties,identifier:"unevaluatedProperties"}))},w4=({schema:t,isCircular:e=!1})=>{const r=Wt().getType(t),n=e?" [circular]":"";return f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},`${r}${n}`)},x4=({schema:t})=>{const e=Fe("JSONViewer");return Array.isArray(t?.enum)?f.default.createElement(e,{name:"Enum",value:t.enum,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--enum"}):null},A4=({schema:t})=>{const e=Wt(),r=Fe("JSONViewer");return e.hasKeyword(t,"const")?f.default.createElement(r,{name:"Const",value:t.const,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--const"}):null};const O4=t=>typeof t=="string"?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:t,C4=t=>(e,{lookup:r="extended"}={})=>{const n=t();if(e?.title!=null)return n.upperFirst(String(e.title));if(r==="extended"){if(e?.$anchor!=null)return n.upperFirst(String(e.$anchor));if(e?.$id!=null)return String(e.$id)}return""},R4=t=>{const e=(r,n=new WeakSet)=>{const s=t();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:a,items:o}=r,u=()=>{if(Array.isArray(a)){const p=a.map((d=>e(d,n))),m=o?e(o,n):"any";return`array<[${p.join(", ")}], ${m}>`}return o?`array<${e(o,n)}>`:"array<any>"};if(r.not&&e(r.not)==="any")return"never";const l=(p,m)=>Array.isArray(r[p])?`(${r[p].map((d=>e(d,n))).join(m)})`:null,c=[Array.isArray(i)?i.map((p=>p==="array"?u():p)).join(" | "):i==="array"?u():["null","boolean","object","array","number","integer","string"].includes(i)?i:(()=>
249{if(Object.hasOwn(r,"prefixItems")||Object.hasOwn(r,"items")||Object.hasOwn(r,"contains"))return u();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})(),l("oneOf"," | "),l("anyOf"," | "),l("allOf"," & ")].filter(Boolean).join(" | ");return n.delete(r),c||"any"};return e},I4=t=>typeof t=="boolean",T4=(t,e)=>t!==null&&typeof t=="object"&&Object.hasOwn(t,e),k4=t=>e=>{const r=t();return e?.$schema||e?.$vocabulary||e?.$id||e?.$anchor||e?.$dynamicAnchor||e?.$ref||e?.$dynamicRef||e?.$defs||e?.$comment||e?.allOf||e?.anyOf||e?.oneOf||r.hasKeyword(e,"not")||r.hasKeyword(e,"if")||r.hasKeyword(e,"then")||r.hasKeyword(e,"else")||e?.dependentSchemas||e?.prefixItems||r.hasKeyword(e,"items")||r.hasKeyword(e,"contains")||e?.properties||e?.patternProperties||r.hasKeyword(e,"additionalProperties")||r.hasKeyword(e,"propertyNames")||r.hasKeyword(e,"unevaluatedItems")||r.hasKeyword(e,"unevaluatedProperties")||e?.description||e?.enum||r.hasKeyword(e,"const")||r.hasKeyword(e,"contentSchema")||r.hasKeyword(e,"default")||e?.examples||r.getExtensionKeywords(e).length>0},P4=t=>t===null||["number","bigint","boolean"].includes(typeof t)?String(t):Array.isArray(t)?`[${t.map(P4).join(", ")}]`:JSON.stringify(t),dc=(t,e,r)=>{const n=typeof e=="number",s=typeof r=="number";return n&&s?e===r?`${e} ${t}`:`[${e}, ${r}] ${t}`:n?`≥ ${e} ${t}`:s?`≤ ${r} ${t}`:null},z0e=t=>{const e=[],r=(u=>{if(typeof u?.multipleOf!="number"||u.multipleOf<=0||u.multipleOf===1)return null;const{multipleOf:l}=u;if(Number.isInteger(l))return`multiple of ${l}`;const c=10**l.toString().split(".")[1].length;return`multiple of ${l*c}/${c}`})(t);r!==null&&e.push({scope:"number",value:r});const n=(u=>{const l=u?.minimum,c=u?.maximum,p=u?.exclusiveMinimum,m=u?.exclusiveMaximum,d=typeof l=="number",g=typeof c=="number",y=typeof p=="number",v=typeof m=="number",E=y&&(!d||l<p),b=v&&(!g||c>m);return(d||y)&&(g||v)?`${E?"(":"["}${E?p:l}, ${b?m:c}${b?")":"]"}`:d||y?`${E?">":"≥"} ${E?p:l}`:g||v?`${b?"<":"≤"} ${b?m:c}`:null})(t);n!==null&&e.push({scope:"number",value:n}),t?.format&&e.push({scope:"string",value:t.format});const s=dc("characters",t?.minLength,t?.maxLength);s!==null&&e.push({scope:"string",value:s}),t?.pattern&&e.push({scope:"string",value:`matches ${t?.pattern}`}),t?.contentMediaType&&e.push({scope:"string",value:`media type: ${t.contentMediaType}`}),t?.contentEncoding&&e.push({scope:"string",value:`encoding: ${t.contentEncoding}`});const i=dc(t?.uniqueItems?"unique items":"items",t?.minItems,t?.maxItems);i!==null&&e.push({scope:"array",value:i}),t?.uniqueItems&&!i&&e.push({scope:"array",value:"unique"});const a=dc("contained items",t?.minContains,t?.maxContains);a!==null&&e.push({scope:"array",value:a});const o=dc("properties",t?.minProperties,t?.maxProperties);return o!==null&&e.push({scope:"object",value:o}),e},W0e=(t,e)=>e?.dependentRequired?Array.from(Object.entries(e.dependentRequired).reduce(((r,[n,s])=>(Array.isArray(s)&&s.includes(t)&&r.add(n),r)),new Set)):[],$p=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)&&(Object.getPrototypeOf(t)===null||Object.getPrototypeOf(t)===Object.prototype),j4=()=>["$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"],N4=t=>e=>{const r=t().getSchemaKeywords();return $p(e)?((n,s)=>{const i=new Set(s);return n.filter((a=>!i.has(a)))})(Object.keys(e),r):[]},J0e=(t,e)=>{const r=z.Map.isMap(t);if(!r&&!$p(t))return!1;const n=i=>e===i||Array.isArray(e)&&e.includes(i),s=r?t.get("type"):t.type;return z.List.isList(s)||Array.isArray(s)?s.some((i=>n(i))):n(s)},H0e=({constraint:t})=>$p(t)&&typeof t.scope=="string"&&typeof t.value=="string"?f.default.createElement("span",{className:`json-schema-2020-12__constraint json-schema-2020-12__constraint--${t.scope}`},t.value):null;var M4=f.default.memo(H0e),D4=({dependentRequired:t})=>Array.isArray(t)&&t.length!==0?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--dependentRequired"},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Required when defined"),f.default.createElement("ul",null,t.map((e=>f.default.createElement("li",{key:e},f.default.createElement("span",{className:"json-schema-2020-12-keyword__value json-schema-2020-12-keyword__value--warning"},e)))))):null,F4=({schema:t})=>{const e=Wt(),r=Fe("JSONSchema");if(!e.hasKeyword(t,"contentSchema"))return null;const n=f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--primary"},"Content schema");return f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--contentSchema"},f.default.createElement(r,{name:n,schema:t.contentSchema,identifier:"contentSchema"}))},q4=({title:t="",schema:e})=>{const r=Wt(),n=t||r.getTitle(e);return n?f.default.createElement("div",{className:"json-schema-2020-12__title"},n):null},B4=({schema:t})=>t?.description?f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--description"},f.default.createElement("div",{className:"json-schema-2020-12-core-keyword__value json-schema-2020-12-core-keyword__value--secondary"}
249,t.description)):null,L4=({schema:t})=>{const e=Wt(),r=Fe("JSONViewer");return e.hasKeyword(t,"default")?f.default.createElement(r,{name:"Default",value:t.default,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--default"}):null},$4=({schema:t})=>t?.deprecated!==!0?null:f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--warning"},"deprecated"),U4=({schema:t})=>t?.readOnly!==!0?null:f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"read-only"),V4=({schema:t})=>t?.writeOnly!==!0?null:f.default.createElement("span",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--muted"},"write-only"),z4=({schema:t})=>{const e=t?.examples||[],r=Fe("JSONViewer");return Array.isArray(e)&&e.length!==0?f.default.createElement(r,{name:"Examples",value:t.examples,className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--examples"}):null},W4=({schema:t})=>{const e=Wt(),r="ExtensionKeywords",{path:n}=Qr(r),{isExpanded:s,setExpanded:i,setCollapsed:a}=fs(r),[o,u]=Bn(),l=Fe("Accordion"),c=Fe("ExpandDeepButton"),p=Fe("JSONViewer"),{showExtensionKeywords:m}=$A(),d=e.getExtensionKeywords(t),g=(0,f.useCallback)((()=>{s?a():i()}),[s,i,a]),y=(0,f.useCallback)(((v,E)=>{E?i({deep:!0}):a({deep:!0})}),[i,a]);return m&&d.length!==0?f.default.createElement(cn.Provider,{value:n},f.default.createElement(Vn.Provider,{value:u},f.default.createElement("div",{className:"json-schema-2020-12-keyword json-schema-2020-12-keyword--extension-keywords","data-json-schema-level":o},f.default.createElement(l,{expanded:s,onChange:g},f.default.createElement("span",{className:"json-schema-2020-12-keyword__name json-schema-2020-12-keyword__name--extension"},"Extension Keywords")),f.default.createElement(c,{expanded:s,onClick:y}),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-keyword__children",{"json-schema-2020-12-keyword__children--collapsed":!s})},s&&f.default.createElement(f.default.Fragment,null,d.map((v=>f.default.createElement(p,{key:v,name:v,value:t[v],className:"json-schema-2020-12-json-viewer-extension-keyword"})))))))):null};const i_=({name:t,value:e,className:r})=>{const n=Wt(),{path:s}=Qr(t),{isExpanded:i,setExpanded:a,setCollapsed:o}=fs(t),[u,l]=Bn(),c=Fe("Accordion"),p=Fe("ExpandDeepButton"),m=typeof e=="string"||typeof e=="number"||typeof e=="bigint"||typeof e=="boolean"||typeof e=="symbol"||e==null,d=(v=>$p(v)&&Object.keys(v).length===0)(e)||(v=>Array.isArray(v)&&v.length===0)(e),g=(0,f.useCallback)((()=>{i?o():a()}),[i,a,o]),y=(0,f.useCallback)(((v,E)=>{E?a({deep:!0}):o({deep:!0})}),[a,o]);return m?f.default.createElement("div",{className:(0,Tt.default)("json-schema-2020-12-json-viewer",r)},f.default.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),f.default.createElement("span",{className:"json-schema-2020-12-json-viewer__value json-schema-2020-12-json-viewer__value--secondary"},n.stringify(e))):d?f.default.createElement("div",{className:(0,Tt.default)("json-schema-2020-12-json-viewer",r)},f.default.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"empty array":"empty object")):f.default.createElement(cn.Provider,{value:s},f.default.createElement(Vn.Provider,{value:l},f.default.createElement("div",{className:(0,Tt.default)("json-schema-2020-12-json-viewer",r),"data-json-schema-level":u},f.default.createElement(c,{expanded:i,onChange:g},f.default.createElement("span",{className:"json-schema-2020-12-json-viewer__name json-schema-2020-12-json-viewer__name--secondary"},t)),f.default.createElement(p,{expanded:i,onClick:y}),f.default.createElement("strong",{className:"json-schema-2020-12__attribute json-schema-2020-12__attribute--primary"},Array.isArray(e)?"array":"object"),f.default.createElement("ul",{className:(0,Tt.default)("json-schema-2020-12-json-viewer__children",{"json-schema-2020-12-json-viewer__children--collapsed":!i})},i&&f.default.createElement(f.default.Fragment,null,Array.isArray(e)?e.map(((v,E)=>f.default.createElement("li",{key:`#${E}`,className:"json-schema-2020-12-property"},f.default.createElement(i_,{name:`#${E}`,value:v,className:r})))):Object.entries(e).map((([v,E])=>f.default.createElement("li",{key:v,className:"json-schema-2020-12-property"},f.default.createElement(i_,{name:v,value:E,className:r})))))))))};var J4=i_,H4=({expanded:t=!1,children:e,onChange:r})=>{const n=Fe("ChevronRightIcon"),s=(0,f.useCallback)((i=>{r(i,!t)}),[t,r]);return f.default.createElement("button",{type:"button",className:"json-schema-2020-12-accordion",onClick:s},f.default.createElement("div",{className:"json-schema-2020-12-accordion__children"},e),f.default.createElement("span",{className:(0,Tt.default)("json-schema-2020-12-accordion__icon",{"json-schema-2020-12-accordion__icon--expanded":t,"json-schema-2020-12-accordion__icon--collapsed":!t})},f.default.createElement(n,null)))},K4=({expanded:t,onClick:e})=>{const r=(0,f.useCallback)((n=>
249{e(n,!t)}),[t,e]);return f.default.createElement("button",{type:"button",className:"json-schema-2020-12-expand-deep-button",onClick:r},t?"Collapse all":"Expand all")},G4=()=>f.default.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},f.default.createElement("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}));const Y4=(t,e={})=>{const r={components:{JSONSchema:Y8,Keyword$schema:X8,Keyword$vocabulary:Z8,Keyword$id:Q8,Keyword$anchor:e4,Keyword$dynamicAnchor:t4,Keyword$ref:r4,Keyword$dynamicRef:n4,Keyword$defs:s4,Keyword$comment:i4,KeywordAllOf:a4,KeywordAnyOf:o4,KeywordOneOf:u4,KeywordNot:l4,KeywordIf:c4,KeywordThen:f4,KeywordElse:p4,KeywordDependentSchemas:d4,KeywordPrefixItems:h4,KeywordItems:m4,KeywordContains:g4,KeywordProperties:y4,KeywordPatternProperties:v4,KeywordAdditionalProperties:b4,KeywordPropertyNames:E4,KeywordUnevaluatedItems:S4,KeywordUnevaluatedProperties:_4,KeywordType:w4,KeywordEnum:x4,KeywordConst:A4,KeywordConstraint:M4,KeywordDependentRequired:D4,KeywordContentSchema:F4,KeywordTitle:q4,KeywordDescription:B4,KeywordDefault:L4,KeywordDeprecated:$4,KeywordReadOnly:U4,KeywordWriteOnly:V4,KeywordExamples:z4,ExtensionKeywords:W4,JSONViewer:J4,Accordion:H4,ExpandDeepButton:K4,ChevronRightIcon:G4,...e.components},config:{default$schema:"https://json-schema.org/draft/2020-12/schema",defaultExpandedLevels:0,showExtensionKeywords:!0,...e.config},fn:{upperFirst:O4,getTitle:C4(Wt),getType:R4(Wt),isBooleanJSONSchema:I4,hasKeyword:T4,isExpandable:k4(Wt),stringify:P4,stringifyConstraints:z0e,getDependentRequired:W0e,getSchemaKeywords:j4,getExtensionKeywords:N4(Wt),...e.fn},state:{paths:{}}},n=s=>f.default.createElement(na.Provider,{value:r},f.default.createElement(t,s));return n.contexts={JSONSchemaContext:na},n.displayName=t.displayName,n},K0e=({getSystem:t})=>(e,r={})=>{const{getComponent:n,getConfigs:s}=t(),i=s(),a=n("JSONSchema202012"),o=n("JSONSchema202012Keyword$schema"),u=n("JSONSchema202012Keyword$vocabulary"),l=n("JSONSchema202012Keyword$id"),c=n("JSONSchema202012Keyword$anchor"),p=n("JSONSchema202012Keyword$dynamicAnchor"),m=n("JSONSchema202012Keyword$ref"),d=n("JSONSchema202012Keyword$dynamicRef"),g=n("JSONSchema202012Keyword$defs"),y=n("JSONSchema202012Keyword$comment"),v=n("JSONSchema202012KeywordAllOf"),E=n("JSONSchema202012KeywordAnyOf"),b=n("JSONSchema202012KeywordOneOf"),_=n("JSONSchema202012KeywordNot"),w=n("JSONSchema202012KeywordIf"),S=n("JSONSchema202012KeywordThen"),A=n("JSONSchema202012KeywordElse"),I=n("JSONSchema202012KeywordDependentSchemas"),k=n("JSONSchema202012KeywordPrefixItems"),P=n("JSONSchema202012KeywordItems"),F=n("JSONSchema202012KeywordContains"),R=n("JSONSchema202012KeywordProperties"),L=n("JSONSchema202012KeywordPatternProperties"),M=n("JSONSchema202012KeywordAdditionalProperties"),G=n("JSONSchema202012KeywordPropertyNames"),re=n("JSONSchema202012KeywordUnevaluatedItems"),K=n("JSONSchema202012KeywordUnevaluatedProperties"),Z=n("JSONSchema202012KeywordType"),X=n("JSONSchema202012KeywordEnum"),ee=n("JSONSchema202012KeywordConst"),ce=n("JSONSchema202012KeywordConstraint"),se=n("JSONSchema202012KeywordDependentRequired"),ue=n("JSONSchema202012KeywordContentSchema"),ye=n("JSONSchema202012KeywordTitle"),he=n("JSONSchema202012KeywordDescription"),te=n("JSONSchema202012KeywordDefault"),W=n("JSONSchema202012KeywordDeprecated"),V=n("JSONSchema202012KeywordReadOnly"),me=n("JSONSchema202012KeywordWriteOnly"),ve=n("JSONSchema202012KeywordExamples"),Me=n("JSONSchema202012ExtensionKeywords"),Be=n("JSONSchema202012JSONViewer"),Te=n("JSONSchema202012Accordion"),ke=n("JSONSchema202012ExpandDeepButton"),$e=n("JSONSchema202012ChevronRightIcon");return Y4(e,{components:{JSONSchema:a,Keyword$schema:o,Keyword$vocabulary:u,Keyword$id:l,Keyword$anchor:c,Keyword$dynamicAnchor:p,Keyword$ref:m,Keyword$dynamicRef:d,Keyword$defs:g,Keyword$comment:y,KeywordAllOf:v,KeywordAnyOf:E,KeywordOneOf:b,KeywordNot:_,KeywordIf:w,KeywordThen:S,KeywordElse:A,KeywordDependentSchemas:I,KeywordPrefixItems:k,KeywordItems:P,KeywordContains:F,KeywordProperties:R,KeywordPatternProperties:L,Ke
249ywordAdditionalProperties:M,KeywordPropertyNames:G,KeywordUnevaluatedItems:re,KeywordUnevaluatedProperties:K,KeywordType:Z,KeywordEnum:X,KeywordConst:ee,KeywordConstraint:ce,KeywordDependentRequired:se,KeywordContentSchema:ue,KeywordTitle:ye,KeywordDescription:he,KeywordDefault:te,KeywordDeprecated:W,KeywordReadOnly:V,KeywordWriteOnly:me,KeywordExamples:ve,ExtensionKeywords:Me,JSONViewer:Be,Accordion:Te,ExpandDeepButton:ke,ChevronRightIcon:$e,...r.components},config:{showExtensionKeywords:i.showExtensions,...r.config},fn:{...r.fn}})};var X4=({getSystem:t,fn:e})=>{const r=()=>({upperFirst:e.upperFirst,...e.jsonSchema202012});return{components:{JSONSchema202012:Y8,JSONSchema202012Keyword$schema:X8,JSONSchema202012Keyword$vocabulary:Z8,JSONSchema202012Keyword$id:Q8,JSONSchema202012Keyword$anchor:e4,JSONSchema202012Keyword$dynamicAnchor:t4,JSONSchema202012Keyword$ref:r4,JSONSchema202012Keyword$dynamicRef:n4,JSONSchema202012Keyword$defs:s4,JSONSchema202012Keyword$comment:i4,JSONSchema202012KeywordAllOf:a4,JSONSchema202012KeywordAnyOf:o4,JSONSchema202012KeywordOneOf:u4,JSONSchema202012KeywordNot:l4,JSONSchema202012KeywordIf:c4,JSONSchema202012KeywordThen:f4,JSONSchema202012KeywordElse:p4,JSONSchema202012KeywordDependentSchemas:d4,JSONSchema202012KeywordPrefixItems:h4,JSONSchema202012KeywordItems:m4,JSONSchema202012KeywordContains:g4,JSONSchema202012KeywordProperties:y4,JSONSchema202012KeywordPatternProperties:v4,JSONSchema202012KeywordAdditionalProperties:b4,JSONSchema202012KeywordPropertyNames:E4,JSONSchema202012KeywordUnevaluatedItems:S4,JSONSchema202012KeywordUnevaluatedProperties:_4,JSONSchema202012KeywordType:w4,JSONSchema202012KeywordEnum:x4,JSONSchema202012KeywordConst:A4,JSONSchema202012KeywordConstraint:M4,JSONSchema202012KeywordDependentRequired:D4,JSONSchema202012KeywordContentSchema:F4,JSONSchema202012KeywordTitle:q4,JSONSchema202012KeywordDescription:B4,JSONSchema202012KeywordDefault:L4,JSONSchema202012KeywordDeprecated:$4,JSONSchema202012KeywordReadOnly:U4,JSONSchema202012KeywordWriteOnly:V4,JSONSchema202012KeywordExamples:z4,JSONSchema202012ExtensionKeywords:W4,JSONSchema202012JSONViewer:J4,JSONSchema202012Accordion:H4,JSONSchema202012ExpandDeepButton:K4,JSONSchema202012ChevronRightIcon:G4,withJSONSchema202012Context:Y4,withJSONSchema202012SystemContext:K0e(t()),JSONSchema202012PathContext:()=>cn,JSONSchema202012LevelContext:()=>Vn},fn:{upperFirst:O4,jsonSchema202012:{getTitle:C4(r),getType:R4(r),isExpandable:k4(r),isBooleanJSONSchema:I4,hasKeyword:T4,useFn:Wt,useConfig:$A,useComponent:Fe,useIsExpanded:fs,usePath:Qr,useLevel:Bn,getSchemaKeywords:j4,getExtensionKeywords:N4(r),hasSchemaType:J0e}}}},G0e=(t,{sample:e=[]}={})=>((r,n={})=>{const{minItems:s,maxItems:i,uniqueItems:a}=n,{contains:o,minContains:u,maxContains:l}=n;let c=[...r];if(o!=null&&typeof o=="object"&&Number.isInteger(u)&&u>1){const p=c.at(0);for(let m=1;m<u;m+=1)c.unshift(p)}if(Number.isInteger(i)&&i>0&&(c=r.slice(0,i)),Number.isInteger(s)&&s>0)for(let p=0;c.length<s;p+=1)c.push(c[p%c.length]);return a===!0&&(c=Array.from(new Set(c))),c})(e,t),Y0e=()=>{throw new Error("Not implemented")};const Up=t=>qa()(t),Tc=t=>t.at(0),Ji=t=>typeof t=="boolean",Yn=t=>(0,Gs.default)(t),$s=t=>Ji(t)||Yn(t);var Vp=class{data={};register(e,r){this.data[e]=r}unregister(e){e===void 0?this.data={}:delete this.data[e]}get(e){return this.data[e]}},Z4=()=>0,Q4=()=>0,X0e=()=>.1,Z0e=()=>.1,Q0e=()=>"[email protected]",ebe=()=>"실례@example.com",tbe=()=>"example.com",rbe=()=>"실례.com",nbe=()=>"198.51.100.42",sbe=()=>"2001:0db8:5b96:0000:0000:426f:8e17:642a",ibe=()=>"https://example.com/",abe=()=>"path/index.html",obe=()=>"https://실례.com/",ube=()=>"path/실례.html",lbe=()=>"3fa85f64-5717-4562-b3fc-2c963f66afa6",cbe=()=>"https://example.com/dictionary/{term:1}/{term}",fbe=()=>"/a/b/c",pbe=()=>"1/0",dbe=()=>new Date().toISOString(),hbe=()=>new Date().toISOString().substring(0,10),mbe=()=>new Date().toISOString().substring(11),gbe=()=>"P3D",ybe=()=>"********",vbe=()=>"^[a-z]+$";const kc=new class extends Vp{#e={int32:Z4,int64:Q4,float:X0e,double:Z0e,email:Q0e,"idn-email":ebe,hostname:tbe,"idn-hostname":rbe,ipv4:nbe,ipv6:sbe,uri:ibe,"uri-reference":abe,iri:obe,"iri-reference":ube,uuid:lbe,"uri-template":cbe,"json-pointer":fbe,"relative-json-pointer":pbe,"date-time":dbe,date:hbe,time:mbe,duration:gbe,password:ybe,regex:vbe};data={...this.#e};get defaults(){return{...this.#e}}},eU=(t,e)=>typeof e=="function"?kc.register(t,e):e===null?kc.unregister(t):kc.get(t);eU.getDefaults=()=>kc.defaults;var zp=eU,bbe=be(287).Buffer,Ebe=t=>bbe.from(t).toString("ascii"),Sbe=be(287).Buffer,_be=t=>Sbe.from(t).toString("utf8"),wbe=be(287).Buffer,xbe=t=>wbe.from(t).toString("binary"),Abe=t=>{let e="";for(let r=0;r<t.length;r++){const n=t.charCodeAt(r);if(n===61)e+="=3D";else if(n>=33&&n<=60||n>=62&&n<=126||n===9||n===32)e+=t.charAt(r);else if(n===13||n===10)e+=`\r
250`;else if(n>126){const s=unescape(encodeURIComponent(t.charAt(r)));for(let i=0;i<s.length;i++)e+="="+("0"+s.charCodeAt(i).toString(16)).slice(-2).toUpperCase()}else e+="="+("0"+n.toString(16)).slice(-2).toUpperCase()}return e},Obe=be(287).Buffer,Cbe=t=>Obe.from(t).toString("hex"),Rbe=be(287).Buffer,Ibe=t=>{const e=Rbe.from(t).toString("utf8"),r="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567";let n=0,s="",i=0,a=0;for(let o=0;o<e.length;o++)for(i=i<<8|e.charCodeAt(o),a+=8;a>=5;)s+=r.charAt(i>>>a-5&31),a-=5;a>
2500&&(s+=r.charAt(i<<5-a&31),n=(8-8*e.length%5)%5);for(let o=0;o<n;o++)s+="=";return s},Tbe=be(287).Buffer,kbe=t=>Tbe.from(t).toString("base64"),Pbe=be(287).Buffer,jbe=t=>Pbe.from(t).toString("base64url");const Pc=new class extends Vp{#e={"7bit":Ebe,"8bit":_be,binary:xbe,"quoted-printable":Abe,base16:Cbe,base32:Ibe,base64:kbe,base64url:jbe};data={...this.#e};get defaults(){return{...this.#e}}},tU=(t,e)=>typeof e=="function"?Pc.register(t,e):e===null?Pc.unregister(t):Pc.get(t);tU.getDefaults=()=>Pc.defaults;var rU=tU,Nbe={"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"},Mbe={"image/*":()=>Up(25).toString("binary")},Dbe={"audio/*":()=>Up(25).toString("binary")},Fbe={"video/*":()=>Up(25).toString("binary")},qbe={"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/*":()=>Up(25).toString("binary")};const ka=new class extends Vp{#e={...Nbe,...Mbe,...Dbe,...Fbe,...qbe};data={...this.#e};get defaults(){return{...this.#e}}},nU=(t,e)=>{if(typeof e=="function")return ka.register(t,e);if(e===null)return ka.unregister(t);const r=t.split(";").at(0),n=`${r.split("/").at(0)}/*`;return ka.get(t)||ka.get(r)||ka.get(n)};nU.getDefaults=()=>ka.defaults;var sU=nU;const NS=(t,e={})=>{const{maxLength:r,minLength:n}=e;let s=t;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 Bbe=(t,{sample:e}={})=>{const{contentEncoding:r,contentMediaType:n,contentSchema:s}=t,{pattern:i,format:a}=t,o=rU(r)||T8.default;let u;return u=typeof i=="string"?NS((l=>{try{const c=new RegExp("(?<=(?<!\\\\)\\{)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{\\d*,)(\\d{3,})(?=\\})|(?<=(?<!\\\\)\\{)(\\d{3,})(?=,\\d*\\})","g"),p=l.replace(c,"100"),m=new Y6.default(p);return m.max=100,m.gen()}catch{return"string"}})(i),t):typeof a=="string"?(l=>{const{format:c}=l,p=zp(c);return typeof p=="function"?p(l):"string"})(t):$s(s)&&typeof n=="string"&&e!==void 0?Array.isArray(e)||typeof e=="object"?JSON.stringify(e):NS(String(e),t):typeof n=="string"?(l=>{const{contentMediaType:c}=l,p=sU(c);return typeof p=="function"?p(l):"string"})(t):NS("string",t),o(u)};const iU=(t,e={})=>{const{minimum:r,maximum:n,exclusiveMinimum:s,exclusiveMaximum:i}=e,{multipleOf:a}=e,o=Number.isInteger(t)?1:Number.EPSILON;let u=typeof r=="number"?r:null,l=typeof n=="number"?n:null,c=t;if(typeof s=="number"&&(u=u!==null?Math.max(u,s+o):s+o),typeof i=="number"&&(l=l!==null?Math.min(l,i-o):i-o),c=u>l&&t||u||l||c,typeof a=="number"&&a>0){const p=c%a;c=p===0?c:c+a-p}return c};var Lbe=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:s}=n,i=zp(s);return typeof i=="function"?i(n):0})(t):0,iU(r,t)},$be=t=>{const{format:e}=t;let r;return r=typeof e=="string"?(n=>{const{format:s}=n,i=zp(s);if(typeof i=="function")return i(n);switch(s){case"int32":return Z4();case"int64":return Q4()}return 0})(t):0,iU(r,t)},Ube=t=>typeof t.default!="boolean"||t.default,hc=new Proxy({array:G0e,object:Y0e,string:Bbe,number:Lbe,integer:$be,boolean:Ube,null:()=>null},{get:(t,e)=>typeof e=="string"&&Object.hasOwn(t,e)?t[e]:()=>`Unknown Type: ${e}`});const d3=["array","object","number","integer","string","boolean","null"],Wo=t=>{if(!Yn(t))return!1;const{examples:e,example:r,default:n}=t;return!!(Array.isArray(e)&&e.length>=1)||n!==void 0||r!==void 0},a_=t=>{if(!Yn(t))return null;const{examples:e,example:r,default:n}=t;return Array.isArray(e)&&e.length>=1?e.at(0):n!==void 0?n:r!==void 0?r:void 0},sf={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"]};sf.number=sf.integer;const MS="string",h3=t=>t===void 0?null:t===null?"null":Array.isArray(t)?"array":Number.isInteger(t)?"integer":typeof t,jc=t=>{if(Array.isArray(t)&&t.length>=1){if(t.includes("array"))return"array";if(t.includes("object"))return"object";{const e=t.filter((n=>n!=="null")),r=Tc(e.length>0?e:t);if(d3.includes(r))return r}}return d3.includes(t)?t:null},o_=(t,e=new WeakSet)=>{if(!Yn(t)||e.has(t))return MS;e.add(t);let{type:r,const:n}=t;if(r=jc(r),typeof r!="string"){const s=Object.keys(sf);e:for(let i=0;i<s.length;i+=1){const a=s[i],o=sf[a];for(let u=0;u<o.length;u+=1){const l=o[u];if(Object.hasOwn(t,l)){r=a;break e}}}}if(typeof r!="string"&&n!==void 0){const s=h3(n);r=typeof s=="string"?s:r}if(typeof r!="string"){const s=l=>{if(Array.isArray(t[l])){const c=t[l].map((p=>o_(p,e)));return jc(c)}return null},i=s("allOf"),a=s("anyOf"),o=s("oneOf"),u=t.not?o_(t.not,e):null;
250(i||a||o||u)&&(r=jc([i,a,o,u].filter(Boolean)))}if(typeof r!="string"&&Wo(t)){const s=a_(t),i=h3(s);r=typeof i=="string"?i:r}return e.delete(t),r||MS},m3=t=>o_(t),DS=t=>Ji(t)?(e=>e===!1?{not:{}}:{})(t):Yn(t)?t:{},Jo=(t,e,r={})=>{if(Ji(t)&&t===!0)return!0;if(Ji(t)&&t===!1)return!1;if(Ji(e)&&e===!0)return!0;if(Ji(e)&&e===!1)return!1;if(!$s(t))return e;if(!$s(e))return t;const n={...e,...t};if(e.type&&t.type&&Array.isArray(e.type)&&typeof e.type=="string"){const s=ga(e.type).concat(t.type);n.type=Array.from(new Set(s))}if(Array.isArray(e.required)&&Array.isArray(t.required)&&(n.required=[...new Set([...t.required,...e.required])]),e.properties&&t.properties){const s=new Set([...Object.keys(e.properties),...Object.keys(t.properties)]);n.properties={};for(const i of s){const a=e.properties[i]||{},o=t.properties[i]||{};a.readOnly&&!r.includeReadOnly||a.writeOnly&&!r.includeWriteOnly?n.required=(n.required||[]).filter((u=>u!==i)):n.properties[i]=Jo(o,a,r)}}return $s(e.items)&&$s(t.items)&&(n.items=Jo(t.items,e.items,r)),$s(e.contains)&&$s(t.contains)&&(n.contains=Jo(t.contains,e.contains,r)),$s(e.contentSchema)&&$s(t.contentSchema)&&(n.contentSchema=Jo(t.contentSchema,e.contentSchema,r)),n};var Pa=Jo;const xr=(t,e={},r=void 0,n=!1)=>{if(t==null&&r===void 0)return;typeof t?.toJS=="function"&&(t=t.toJS()),t=DS(t);let s=r!==void 0||Wo(t);const i=!s&&Array.isArray(t.oneOf)&&t.oneOf.length>0,a=!s&&Array.isArray(t.anyOf)&&t.anyOf.length>0;if(!s&&(i||a)){const R=DS(Tc(i?t.oneOf:t.anyOf));!(t=Pa(t,R,e)).xml&&R.xml&&(t.xml=R.xml),Wo(t)&&Wo(R)&&(s=!0)}const o={};let{xml:u,properties:l,additionalProperties:c,items:p,contains:m}=t||{},d=m3(t),{includeReadOnly:g,includeWriteOnly:y}=e;u=u||{};let v,{name:E,prefix:b,namespace:_}=u,w={};Object.hasOwn(t,"type")||(t.type=d),n&&(E=E||"notagname",v=(b?`${b}:`:"")+E,_)&&(o[b?`xmlns:${b}`:"xmlns"]=_),n&&(w[v]=[]);const S=Wi(l);let A,I=0;const k=()=>
250Number.isInteger(t.maxProperties)&&t.maxProperties>0&&I>=t.maxProperties,P=R=>!(Number.isInteger(t.maxProperties)&&t.maxProperties>0)||!k()&&(!(L=>!Array.isArray(t.required)||t.required.length===0||!t.required.includes(L))(R)||t.maxProperties-I-(()=>{if(!Array.isArray(t.required)||t.required.length===0)return 0;let L=0;return n?t.required.forEach((M=>L+=w[M]===void 0?0:1)):t.required.forEach((M=>{L+=w[v]?.find((G=>G[M]!==void 0))===void 0?0:1})),t.required.length-L})()>0);if(A=n?(R,L=void 0)=>{if(t&&S[R]){if(S[R].xml=S[R].xml||{},S[R].xml.attribute){const G=Array.isArray(S[R].enum)?Tc(S[R].enum):void 0;if(Wo(S[R]))o[S[R].xml.name||R]=a_(S[R]);else if(G!==void 0)o[S[R].xml.name||R]=G;else{const re=DS(S[R]),K=m3(re),Z=S[R].xml.name||R;if(K==="array"){const X=xr(S[R],e,L,!1);o[Z]=X.map((ee=>(0,Gs.default)(ee)?"UnknownTypeObject":Array.isArray(ee)?"UnknownTypeArray":ee)).join(" ")}else o[Z]=K==="object"?"UnknownTypeObject":hc[K](re)}return}S[R].xml.name=S[R].xml.name||R}else S[R]||c===!1||(S[R]={xml:{name:R}});let M=xr(S[R],e,L,n);P(R)&&(I++,Array.isArray(M)?w[v]=w[v].concat(M):w[v].push(M))}:(R,L)=>{if(P(R)){if((0,Gs.default)(t.discriminator?.mapping)&&t.discriminator.propertyName===R&&typeof t.$$ref=="string"){for(const M in t.discriminator.mapping)if(t.$$ref.search(t.discriminator.mapping[M])!==-1){w[R]=M;break}}else w[R]=xr(S[R],e,L,n);I++}},s){let R;if(R=r!==void 0?r:a_(t),!n){if(typeof R=="number"&&d==="string")return`${R}`;if(typeof R!="string"||d==="string")return R;try{return JSON.parse(R)}catch{return R}}if(d==="array"){if(!Array.isArray(R)){if(typeof R=="string")return R;R=[R]}let L=[];return Yn(p)&&(p.xml=p.xml||u||{},p.xml.name=p.xml.name||u.name,L=R.map((M=>xr(p,e,M,n)))),Yn(m)&&(m.xml=m.xml||u||{},m.xml.name=m.xml.name||u.name,L=[xr(m,e,void 0,n),...L]),L=hc.array(t,{sample:L}),u.wrapped?(w[v]=L,(0,_s.default)(o)||w[v].push({_attr:o})):w=L,w}if(d==="object"){if(typeof R=="string")return R;for(const L in R)Object.hasOwn(R,L)&&(S[L]?.readOnly&&!g||S[L]?.writeOnly&&!y||(S[L]?.xml?.attribute?o[S[L].xml.name||L]=R[L]:A(L,R[L])));return(0,_s.default)(o)||w[v].push({_attr:o}),w}return w[v]=(0,_s.default)(o)?R:[{_attr:o},R],w}if(d==="array"){let R=[];if(Yn(m))if(n&&(m.xml=m.xml||t.xml||{},m.xml.name=m.xml.name||u.name),Array.isArray(m.anyOf)){const{anyOf:L,...M}=p;R.push(...m.anyOf.map((G=>xr(Pa(G,M,e),e,void 0,n))))}else if(Array.isArray(m.oneOf)){const{oneOf:L,...M}=p;R.push(...m.oneOf.map((G=>xr(Pa(G,M,e),e,void 0,n))))}else{if(!(!n||n&&u.wrapped))return xr(m,e,void 0,n);R.push(xr(m,e,void 0,n))}if(Yn(p))if(n&&(p.xml=p.xml||t.xml||{},p.xml.name=p.xml.name||u.name),Array.isArray(p.anyOf)){const{anyOf:L,...M}=p;R.push(...p.anyOf.map((G=>xr(Pa(G,M,e),e,void 0,n))))}else if(Array.isArray(p.oneOf)){const{oneOf:L,...M}=p;R.push(...p.oneOf.map((G=>xr(Pa(G,M,e),e,void 0,n))))}else{if(!(!n||n&&u.wrapped))return xr(p,e,void 0,n);R.push(xr(p,e,void 0,n))}return R=hc.array(t,{sample:R}),n&&u.wrapped?(w[v]=R,(0,_s.default)(o)||w[v].push({_attr:o}),w):R}if(d==="object"){for(let R in S)Object.hasOwn(S,R)&&(S[R]?.deprecated||S[R]?.readOnly&&!g||S[R]?.writeOnly&&!y||A(R));if(n&&o&&w[v].push({_attr:o}),k())return w;if(Ji(c)&&c)n?w[v].push({additionalProp:"Anything can be here"}):w.additionalProp1={},I++;else if(Yn(c)){const R=c,L=xr(R,e,void 0,n);if(n&&typeof R?.xml?.name=="string"&&R?.xml?.name!=="notagname")w[v].push(L);else{const M=R?.["x-additionalPropertiesName"]||"additionalProp",G=Number.isInteger(t.minProperties)&&t.minProperties>0&&I<t.minProperties?t.minProperties-I:3;for(let re=1;re<=G;re++){if(k())return w;if(n){const K={};K[M+re]=L.notagname,w[v].push(K)}else w[M+re]=L;I++}}}return w}let F;if(t.const!==void 0)F=t.const;else if(t&&Array.isArray(t.enum))F=Tc(ga(t.enum));else{const R=Yn(t.contentSchema)?xr(t.contentSchema,e,void 0,n):void 0;F=hc[d](t,{sample:R})}return n?(w[v]=(0,_s.default)(o)?F:[{_attr:o},F],w):F},aU=(t,e,r)=>{const n=xr(t,e,r,!0);if(n)return typeof n=="string"?n:G6()(n,{declaration:!0,indent:"	"})},oU=(t,e,r)=>xr(t,e,r,!1),uU=(t,e,r)=>[t,JSON.stringify(e),JSON.stringify(r)],Vbe=Il(aU,uU),zbe=Il(oU,uU),g3=new class extends Vp{#e={};data={...this.#e};get defaults(){return{...this.#e}}};var Wbe=(t,e)=>(e!==void 0&&g3.register(t,e),g3.get(t));const Jbe=[{when:/json/,shouldStringifyTypes:["string"]}],Hbe=["object"];var Kbe=t=>(e,r,n,s)=>{const{fn:i}=t(),a=i.jsonSchema202012.memoizedSampleFromSchema(e,r,s),o=typeof a,u=Jbe.reduce(((l,c)=>c.when.test(n)?[...l,...c.shouldStringifyTypes]:l),Hbe);return(0,_6.default)(u,(l=>l===o))?JSON.stringify(a,null,2):a},Gbe=t=>(e,r,n,s)=>{const{fn:i}=t(),a=i.jsonSchema202012.getJsonSampleSchema(e,r,n,s);let o;try{o=Ws.default.dump(Ws.default.load(a),{lineWidth:-1},{schema:Ws.JSON_SCHEMA}),o[o.length-1]===`
251`&&(o=o.slice(0,o.length-1))}catch(u){return console.error(u),"error: could not generate yaml example"}return o.replace(/\t/g,"  ")},Ybe=t=>(e,r,n)=>{const{fn:s}=t();if(e&&!e.xml&&(e.xml={}),e&&!e.xml.name){if(!e.$$ref&&(e.type||e.items||e.properties||e.additionalProperties))return`<?xml version="1.0" encoding="UTF-8"?>
252<!-- XML example cannot be generated; root element name is undefined -->`;if(e.$$ref){let i=e.$$ref.match(/\S*\/(\S+)$/);e.xml.name=i[1]}}return s.jsonSchema202012.memoizedCreateXMLExample(e,r,n)},Xbe=t=>(e,r="",n={},s=void 0)=>{const{fn:i}=t();return typeof e?.toJS=="function"&&(e=e.toJS()),typeof s?.toJS=="function"&&(s=s.toJS()),/xml/.test(r)?i.jsonSchema202012.getXmlSampleSchema(e,n,s):/(yaml|yml)/.test(r)?i.jsonSchema202012.getYamlSampleSchema(e,n,r,s
252):i.jsonSchema202012.getJsonSampleSchema(e,n,r,s)},lU=({getSystem:t})=>{const e=Kbe(t),r=Gbe(t),n=Ybe(t),s=Xbe(t);return{fn:{jsonSchema202012:{sampleFromSchema:oU,sampleFromSchemaGeneric:xr,sampleOptionAPI:Wbe,sampleEncoderAPI:rU,sampleFormatAPI:zp,sampleMediaTypeAPI:sU,createXMLExample:aU,memoizedSampleFromSchema:zbe,memoizedCreateXMLExample:Vbe,getJsonSampleSchema:e,getYamlSampleSchema:r,getXmlSampleSchema:n,getSampleSchema:s,mergeJsonSchema:Pa,foldType:jc}}}};function cU(){return[z8,r_,X4,lU,L0e]}var Zbe=t=>()=>({fn:t.fn,components:t.components}),Qbe=t=>{const e=fu()({layout:{layout:t.layout,filter:t.filter},spec:{spec:"",url:t.url},requestSnippets:t.requestSnippets},t.initialState);if(t.initialState)for(const[r,n]of Object.entries(t.initialState))n===void 0&&delete e[r];return{system:{configs:t.configs},plugins:t.presets,state:e}},eEe=()=>t=>{const e=t.queryConfigEnabled?(()=>{const r=new URLSearchParams(Gt.location.search);return Object.fromEntries(r)})():{};return Object.entries(e).reduce(((r,[n,s])=>(n==="config"?r.configUrl=s:n==="urls.primaryName"?r[n]=s:r=(0,_8.default)(r,n,s),r)),{})},tEe=({url:t,system:e})=>async r=>{if(!t)return{};if(typeof e.configsActions?.getConfigByUrl!="function")return{};const n=(()=>{const s={};return s.promise=new Promise(((i,a)=>{s.resolve=i,s.reject=a})),s})();return e.configsActions.getConfigByUrl({url:t,loadRemoteConfig:!0,requestInterceptor:r.requestInterceptor,responseInterceptor:r.responseInterceptor},(s=>{n.resolve(s)})),n.promise},rEe=()=>()=>{const t={};return globalThis.location&&(t.oauth2RedirectUrl=`${globalThis.location.protocol}//${globalThis.location.host}${globalThis.location.pathname.substring(0,globalThis.location.pathname.lastIndexOf("/"))}/oauth2-redirect.html`),t},tr=Object.freeze({dom_id:null,domNode:null,spec:{},url:"",urls:null,configUrl:null,layout:"BaseLayout",docExpansion:"list",maxDisplayedTags:-1,filter:!1,validatorUrl:"https://validator.swagger.io/validator",oauth2RedirectUrl:void 0,persistAuthorization:!1,configs:{},displayOperationId:!1,displayRequestDuration:!1,deepLinking:!1,tryItOutEnabled:!1,requestInterceptor:t=>(t.curlOptions=[],t),responseInterceptor:t=>t,showMutatedRequest:!0,defaultModelRendering:"example",defaultModelExpandDepth:1,defaultModelsExpandDepth:1,showExtensions:!1,showCommonExtensions:!1,withCredentials:!1,requestSnippetsEnabled:!1,requestSnippets:{generators:{curl_bash:{title:"cURL (bash)",syntax:"bash"},curl_powershell:{title:"cURL (PowerShell)",syntax:"powershell"},curl_cmd:{title:"cURL (CMD)",syntax:"bash"}},defaultExpanded:!0,languages:null},supportedSubmitMethods:["get","put","post","delete","options","head","patch","trace"],queryConfigEnabled:!1,presets:[cU],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}),nEe=(function(t){var e={};return be.d(e,t),e})({default:function(){return mfe}}),sEe=(function(t){var e={};return be.d(e,t),e})({default:function(){return yfe}}),mc=(t,e=[])=>Array.isArray(t)?t:e,kn=(t,e=!1)=>t===!0||t==="true"||t===1||t==="1"||t!==!1&&t!=="false"&&t!==0&&t!=="0"&&e,iEe=t=>t===null||t==="null"?null:t,aEe=t=>{const e=String(t);return kn(t,e)},y3=(t,e)=>typeof t=="function"?t:e,oEe=t=>Array.isArray(t)?t:null,gc=t=>typeof t=="function"?t:null,FS=t=>t===null||t==="null"?null:String(t),qS=(t,e=-1)=>{const r=parseInt(t,10);return Number.isNaN(r)?e:r},Ra=(t,e={})=>(0,Gs.default)(t)?t:e,v3=t=>typeof t=="function"||typeof t=="string"?t:null,Ia=t=>String(t),uEe=(t,e)=>(0,Gs.default)(t)?t:t===!1||t==="false"||t===0||t==="0"?{activated:!1}:e,lEe=t=>t===void 0||t==="undefined"?void 0:String(t),fU={components:{typeCaster:Ra},configs:{typeCaster:Ra},configUrl:{typeCaster:FS},deepLinking:{typeCaster:kn,defaultValue:tr.deepLinking},defaultModelExpandDepth:{typeCaster:qS,defaultValue:tr.defaultModelExpandDepth},defaultModelRendering:{typeCaster:Ia},defaultModelsExpandDepth:{typeCaster:qS,defaultValue:tr.defaultModelsExpandDepth},displayOperationId:{typeCaster:kn,defaultValue:tr.displayOperationId},displayRequestDuration:{typeCaster:kn,defaultValue:tr.displayRequestDuration},docExpansion:{typeCaster:Ia},dom_id:{typeCaster:FS}
252,domNode:{typeCaster:iEe},fileUploadMediaTypes:{typeCaster:mc,defaultValue:tr.fileUploadMediaTypes},filter:{typeCaster:aEe},fn:{typeCaster:Ra},initialState:{typeCaster:Ra},layout:{typeCaster:Ia},maxDisplayedTags:{typeCaster:qS,defaultValue:tr.maxDisplayedTags},modelPropertyMacro:{typeCaster:gc},oauth2RedirectUrl:{typeCaster:lEe},onComplete:{typeCaster:gc},operationsSorter:{typeCaster:v3},paramaterMacro:{typeCaster:gc},persistAuthorization:{typeCaster:kn,defaultValue:tr.persistAuthorization},plugins:{typeCaster:mc,defaultValue:tr.plugins},presets:{typeCaster:mc,defaultValue:tr.presets},requestInterceptor:{typeCaster:y3,defaultValue:tr.requestInterceptor},requestSnippets:{typeCaster:Ra,defaultValue:tr.requestSnippets},requestSnippetsEnabled:{typeCaster:kn,defaultValue:tr.requestSnippetsEnabled},responseInterceptor:{typeCaster:y3,defaultValue:tr.responseInterceptor},showCommonExtensions:{typeCaster:kn,defaultValue:tr.showCommonExtensions},showExtensions:{typeCaster:kn,defaultValue:tr.showExtensions},showMutatedRequest:{typeCaster:kn,defaultValue:tr.showMutatedRequest},spec:{typeCaster:Ra,defaultValue:tr.spec},supportedSubmitMethods:{typeCaster:mc,defaultValue:tr.supportedSubmitMethods},syntaxHighlight:{typeCaster:uEe,defaultValue:tr.syntaxHighlight},"syntaxHighlight.activated":{typeCaster:kn,defaultValue:tr.syntaxHighlight.activated},"syntaxHighlight.theme":{typeCaster:Ia},tagsSorter:{typeCaster:v3},tryItOutEnabled:{typeCaster:kn,defaultValue:tr.tryItOutEnabled},url:{typeCaster:Ia},urls:{typeCaster:oEe},"urls.primaryName":{typeCaster:Ia},validatorUrl:{typeCaster:FS},withCredentials:{typeCaster:kn,defaultValue:tr.withCredentials},uncaughtExceptionHandler:{typeCaster:gc}},pU=t=>Object.entries(fU).reduce(((e,[r,{typeCaster:n,defaultValue:s}])=>{if((0,nEe.default)(e,r)){const i=n((0,H1.default)(e,r),s);e=(0,sEe.default)(r,i,e)}return e}),{...t}),cEe=(t,...e)=>{let r=Symbol.for("domNode"),n=Symbol.for("primaryName");const s=[];for(const a of e){const o={...a};Object.hasOwn(o,"domNode")&&(r=o.domNode,delete o.domNode),Object.hasOwn(o,"urls.primaryName")?(n=o["urls.primaryName"],delete o["urls.primaryName"]):Array.isArray(o.urls)&&Object.hasOwn(o.urls,"primaryName")&&(n=o.urls.primaryName,delete o.urls.primaryName),s.push(o)}const i=fu()(t,...s);return r!==Symbol.for("domNode")&&(i.domNode=r),n!==Symbol.for("primaryName")&&Array.isArray(i.urls)&&(i.urls.primaryName=n),pU(i)};function Ei(t){const e=eEe()(t),r=rEe()(),n=Ei.config.merge({},Ei.config.defaults,r,t,e),s=Qbe(n),i=Zbe(n),a=new C6(s);a.register([n.plugins,i]);const o=a.getSystem(),u=p=>{a.setConfigs(p),o.configsActions.loaded()},l=p=>{!e.url&&typeof p.spec=="object"&&Object.keys(p.spec).length>0?(o.specActions.updateUrl(""),o.specActions.updateLoadingStatus("success"),o.specActions.updateSpec(JSON.stringify(p.spec))):typeof o.specActions.download=="function"&&p.url&&!p.urls&&(o.specActions.updateUrl(p.url),o.specActions.download(p.url))},c=p=>
252{if(p.domNode)o.render(p.domNode,"App");else if(p.dom_id){const m=document.querySelector(p.dom_id);o.render(m,"App")}else p.dom_id===null||p.domNode===null||console.error("Skipped rendering: no `dom_id` or `domNode` was specified")};return n.configUrl?((async()=>{const{configUrl:p}=n,m=await tEe({url:p,system:o})(n),d=Ei.config.merge({},n,m,e);u(d),m!==null&&l(d),c(d)})(),o):(u(n),l(n),c(n),o)}Ei.System=C6,Ei.config={defaults:tr,merge:cEe,typeCast:pU,typeCastMappings:fU},Ei.presets={base:z8,apis:cU},Ei.plugins={Auth:I6,Configs:T6,DeepLining:k6,Err:j6,Filter:N6,Icons:M6,JSONSchema5:K6,JSONSchema5Samples:t8,JSONSchema202012:X4,JSONSchema202012Samples:lU,Layout:F6,Logs:q6,OpenAPI30:r_,OpenAPI31:r_,OnComplete:B6,RequestSnippets:U6,Spec:x8,SwaggerClient:O8,Util:C8,View:k8,ViewLegacy:P8,DownloadUrl:j8,SyntaxHighlighting:M8,Versions:D8,SafeRender:B8};var fEe=Ei,_i=E6.A;const{config:Vt}=_i,b3=t=>{const e=dr.useRef();return dr.useEffect(()=>{e.current=t},[t]),e.current},Nl=({spec:t=Vt.defaults.spec,url:e=Vt.defaults.url,layout:r=Vt.defaults.layout,requestInterceptor:n=Vt.defaults.requestInterceptor,responseInterceptor:s=Vt.defaults.responseInterceptor,supportedSubmitMethods:i=Vt.defaults.supportedSubmitMethods,queryConfigEnabled:a=Vt.defaults.queryConfigEnabled,plugins:o=Vt.defaults.plugins,displayOperationId:u=Vt.defaults.displayOperationId,showMutatedRequest:l=Vt.defaults.showMutatedRequest,docExpansion:c=Vt.defaults.docExpansion,defaultModelExpandDepth:p=Vt.defaults.defaultModelExpandDepth,defaultModelsExpandDepth:m=Vt.defaults.defaultModelsExpandDepth,defaultModelRendering:d=Vt.defaults.defaultModelRendering,presets:g=Vt.defaults.presets,deepLinking:y=Vt.defaults.deepLinking,showExtensions:v=Vt.defaults.showExtensions,showCommonExtensions:E=Vt.defaults.showCommonExtensions,filter:b=Vt.defaults.filter,requestSnippetsEnabled:_=Vt.defaults.requestSnippetsEnabled,requestSnippets:w=Vt.defaults.requestSnippets,tryItOutEnabled:S=Vt.defaults.tryItOutEnabled,displayRequestDuration:A=Vt.defaults.displayRequestDuration,withCredentials:I=Vt.defaults.withCredentials,persistAuthorization:k=Vt.defaults.persistAuthorization,oauth2RedirectUrl:P=Vt.defaults.oauth2RedirectUrl,onComplete:F=null,initialState:R=Vt.defaults.initialState,uncaughtExceptionHandler:L=Vt.defaults.uncaughtExceptionHandler})=>{const[M,G]=dr.useState(null),re=M?.getComponent("App","root"),K=b3(t),Z=b3(e);return dr.useEffect(()=>{const X=_i({plugins:o,spec:t,url:e,layout:r,defaultModelsExpandDepth:m,defaultModelRendering:d,presets:[_i.presets.apis,...g],requestInterceptor:n,responseInterceptor:s,onComplete:()=>{typeof F=="function"&&F(X)},docExpansion:c,supportedSubmitMethods:i,queryConfigEnabled:a,defaultModelExpandDepth:p,displayOperationId:u,tryItOutEnabled:S,displayRequestDuration:A,requestSnippetsEnabled:_,requestSnippets:w,showMutatedRequest:l,deepLinking:y,showExtensions:v,showCommonExtensions:E,filter:b,persistAuthorization:k,withCredentials:I,initialState:R,uncaughtExceptionHandler:L,...typeof P=="string"?{oauth2RedirectUrl:P}:{}});G(X)},[]),dr.useEffect(()=>{if(M){const X=M.specSelectors.url();(e!==X||e!==Z)&&(M.specActions.updateSpec(""),e&&(M.specActions.updateUrl(e),M.specActions.download(e)))}},[M,e]),dr.useEffect(()=>{if(M){const X=M.specSelectors.specStr();if(t&&t!==_i.config.defaults.spec&&(t!==X||t!==K)){const ee=typeof t=="object"?JSON.stringify(t):t;M.specActions.updateSpec(ee)}}},[M,t]),re?Xn.createElement(re,null):null};Nl.System=_i.System;Nl.presets=_i.presets;Nl.plugins=_i.plugins;Nl.config=_i.config;const O_e=()=>{const[t,e]=dr.useState(null),[r,n]=dr.useState(!1),{isDarkMode:s}=MU();dr.useEffect(()=>{const a=document.documentElement;return s?a.classList.add("dark-mode"):a.classList.remove("dark-mode"),()=>a.classList.remove("dark-mode")},[s]);const i=async()=>{n(!0);try{const a=await FU("/api/v1/docs/openApi");e(a.data)}catch(a){console.error("Failed to fetch swagger spec:",a),qU.error({title:"Error",description:"Failed to load API documentation."})}finally{n(!1)}};return dr.useEffect(()=>{i()},[]),wo.jsxs(y2,{vertical:!0,gap:"large",children:[wo.jsx(y2,{justify:"space-between",children:wo.jsx(DU.Title,{level:4,style:{margin:0},children:"API Documentation"})}),wo.jsx(JU,{styles:{body:{padding:0}},loading:r,children:wo.jsx(Nl,{spec:t,docExpansion:"none",defaultModelsExpandDepth:1,defaultModelExpandDepth:1,displayOperationId:!1,displayRequestDuration:!0,showExtensions:!0,showCommonExtensions:!0,tryItOutEnabled:!0})})]})};export{O_e 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.