var Tabby=(()=>{var C_=Object.create;var So=Object.defineProperty;var N_=Object.getOwnPropertyDescriptor;var L_=Object.getOwnPropertyNames;var k_=Object.getPrototypeOf,F_=Object.prototype.hasOwnProperty;var P_=(e,t,r)=>t in e?So(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ao=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var Xn=(e,t)=>()=>(e&&(t=e(e=0)),t);var He=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Bh=(e,t)=>{for(var r in t)So(e,r,{get:t[r],enumerable:!0})},Ch=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of L_(t))!F_.call(e,o)&&o!==r&&So(e,o,{get:()=>t[o],enumerable:!(n=N_(t,o))||n.enumerable});return e};var Jn=(e,t,r)=>(r=e!=null?C_(k_(e)):{},Ch(t||!e||!e.__esModule?So(r,"default",{value:e,enumerable:!0}):r,e)),U_=e=>Ch(So({},"__esModule",{value:!0}),e);var at=(e,t,r)=>(P_(e,typeof t!="symbol"?t+"":t,r),r),ku=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var J=(e,t,r)=>(ku(e,t,"read from private field"),r?r.call(e):t.get(e)),it=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Ge=(e,t,r,n)=>(ku(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Ia=(e,t,r,n)=>({set _(o){Ge(e,t,o,r)},get _(){return J(e,t,n)}}),tt=(e,t,r)=>(ku(e,t,"access private method"),r);var se,$=Xn(()=>{se=globalThis});var z=Xn(()=>{});var q=Xn(()=>{});var ce={};Bh(ce,{_debugEnd:()=>wp,_debugProcess:()=>vp,_events:()=>kp,_eventsCount:()=>Fp,_exiting:()=>Qh,_fatalExceptions:()=>dp,_getActiveHandles:()=>np,_getActiveRequests:()=>rp,_kill:()=>op,_linkedBinding:()=>Xh,_maxListeners:()=>Lp,_preload_modules:()=>Cp,_rawDebug:()=>Yh,_startProfilerIdleNotifier:()=>bp,_stopProfilerIdleNotifier:()=>_p,_tickCallback:()=>mp,abort:()=>Rp,addListener:()=>Pp,allowedNodeEnvironmentFlags:()=>cp,arch:()=>Ph,argv:()=>Mh,argv0:()=>Bp,assert:()=>hp,binding:()=>Wh,chdir:()=>Vh,config:()=>ep,cpuUsage:()=>Ca,cwd:()=>Zh,debugPort:()=>xp,default:()=>Hp,dlopen:()=>tp,domain:()=>Jh,emit:()=>$p,emitWarning:()=>qh,env:()=>Dh,execArgv:()=>jh,execPath:()=>Ip,exit:()=>fp,features:()=>pp,hasUncaughtExceptionCaptureCallback:()=>gp,hrtime:()=>Ba,kill:()=>up,listeners:()=>Wp,memoryUsage:()=>sp,moduleLoadList:()=>Kh,nextTick:()=>Lh,off:()=>Dp,on:()=>yn,once:()=>Up,openStdin:()=>lp,pid:()=>Tp,platform:()=>Uh,ppid:()=>Op,prependListener:()=>zp,prependOnceListener:()=>qp,reallyExit:()=>ip,release:()=>Gh,removeAllListeners:()=>jp,removeListener:()=>Mp,resourceUsage:()=>ap,setSourceMapsEnabled:()=>Np,setUncaughtExceptionCaptureCallback:()=>yp,stderr:()=>Sp,stdin:()=>Ap,stdout:()=>Ep,title:()=>Fh,umask:()=>Hh,uptime:()=>Ro,version:()=>$h,versions:()=>zh});function Uu(e){throw new Error("Node.js process "+e+" is not supported by JSPM core outside of Node.js")}function D_(){!Ni||!Qn||(Ni=!1,Qn.length?dn=Qn.concat(dn):xa=-1,dn.length&&Nh())}function Nh(){if(!Ni){var e=setTimeout(D_,0);Ni=!0;for(var t=dn.length;t;){for(Qn=dn,dn=[];++xa1)for(var r=1;r{$();z();q();H();W();dn=[],Ni=!1,xa=-1;kh.prototype.run=function(){this.fun.apply(null,this.array)};Fh="browser",Ph="x64",Uh="browser",Dh={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Mh=["/usr/bin/node"],jh=[],$h="v16.8.0",zh={},qh=function(e,t){console.warn((t?t+": ":"")+e)},Wh=function(e){Uu("binding")},Hh=function(e){return 0},Zh=function(){return"/"},Vh=function(e){},Gh={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Yh=er,Kh=[];Jh={},Qh=!1,ep={};ip=er,op=er,Ca=function(){return{}},ap=Ca,sp=Ca,up=er,fp=er,lp=er,cp={};pp={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},dp=er,yp=er;mp=er,vp=er,wp=er,bp=er,_p=er,Ep=void 0,Sp=void 0,Ap=void 0,Rp=er,Tp=2,Op=1,Ip="/bin/usr/node",xp=9229,Bp="node",Cp=[],Np=er,Ln={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};Ln.now===void 0&&(Fu=Date.now(),Ln.timing&&Ln.timing.navigationStart&&(Fu=Ln.timing.navigationStart),Ln.now=()=>Date.now()-Fu);Pu=1e9;Ba.bigint=function(e){var t=Ba(e);return typeof BigInt>"u"?t[0]*Pu+t[1]:BigInt(t[0]*Pu)+BigInt(t[1])};Lp=10,kp={},Fp=0;Pp=yn,Up=yn,Dp=yn,Mp=yn,jp=yn,$p=er,zp=yn,qp=yn;Hp={version:$h,versions:zh,arch:Ph,platform:Uh,release:Gh,_rawDebug:Yh,moduleLoadList:Kh,binding:Wh,_linkedBinding:Xh,_events:kp,_eventsCount:Fp,_maxListeners:Lp,on:yn,addListener:Pp,once:Up,off:Dp,removeListener:Mp,removeAllListeners:jp,emit:$p,prependListener:zp,prependOnceListener:qp,listeners:Wp,domain:Jh,_exiting:Qh,config:ep,dlopen:tp,uptime:Ro,_getActiveRequests:rp,_getActiveHandles:np,reallyExit:ip,_kill:op,cpuUsage:Ca,resourceUsage:ap,memoryUsage:sp,kill:up,exit:fp,openStdin:lp,allowedNodeEnvironmentFlags:cp,assert:hp,features:pp,_fatalExceptions:dp,setUncaughtExceptionCaptureCallback:yp,hasUncaughtExceptionCaptureCallback:gp,emitWarning:qh,nextTick:Lh,_tickCallback:mp,_debugProcess:vp,_debugEnd:wp,_startProfilerIdleNotifier:bp,_stopProfilerIdleNotifier:_p,stdout:Ep,stdin:Ap,stderr:Sp,abort:Rp,umask:Hh,chdir:Vh,cwd:Zh,env:Dh,title:Fh,argv:Mh,execArgv:jh,pid:Tp,ppid:Op,execPath:Ip,debugPort:xp,hrtime:Ba,argv0:Bp,_preload_modules:Cp,setSourceMapsEnabled:Np}});var W=Xn(()=>{Na()});function M_(){if(Zp)return To;Zp=!0,To.byteLength=f,To.toByteArray=c,To.fromByteArray=v;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var w=_.indexOf("=");w===-1&&(w=h);var S=w===h?0:4-w%4;return[w,S]}function f(_){var h=i(_),w=h[0],S=h[1];return(w+S)*3/4-S}function l(_,h,w){return(h+w)*3/4-w}function c(_){var h,w=i(_),S=w[0],T=w[1],C=new r(l(_,S,T)),M=0,D=T>0?S-4:S,V;for(V=0;V>16&255,C[M++]=h>>8&255,C[M++]=h&255;return T===2&&(h=t[_.charCodeAt(V)]<<2|t[_.charCodeAt(V+1)]>>4,C[M++]=h&255),T===1&&(h=t[_.charCodeAt(V)]<<10|t[_.charCodeAt(V+1)]<<4|t[_.charCodeAt(V+2)]>>2,C[M++]=h>>8&255,C[M++]=h&255),C}function d(_){return e[_>>18&63]+e[_>>12&63]+e[_>>6&63]+e[_&63]}function y(_,h,w){for(var S,T=[],C=h;CD?D:M+C));return S===1?(h=_[w-1],T.push(e[h>>2]+e[h<<4&63]+"==")):S===2&&(h=(_[w-2]<<8)+_[w-1],T.push(e[h>>10]+e[h>>4&63]+e[h<<2&63]+"=")),T.join("")}return To}function j_(){if(Vp)return La;Vp=!0;return La.read=function(e,t,r,n,o){var a,i,f=o*8-n-1,l=(1<>1,d=-7,y=r?o-1:0,v=r?-1:1,_=e[t+y];for(y+=v,a=_&(1<<-d)-1,_>>=-d,d+=f;d>0;a=a*256+e[t+y],y+=v,d-=8);for(i=a&(1<<-d)-1,a>>=-d,d+=n;d>0;i=i*256+e[t+y],y+=v,d-=8);if(a===0)a=1-c;else{if(a===l)return i?NaN:(_?-1:1)*(1/0);i=i+Math.pow(2,n),a=a-c}return(_?-1:1)*i*Math.pow(2,a-n)},La.write=function(e,t,r,n,o,a){var i,f,l,c=a*8-o-1,d=(1<>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:a-1,h=n?1:-1,w=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,i=d):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),i+y>=1?t+=v/l:t+=v*Math.pow(2,1-y),t*l>=2&&(i++,l/=2),i+y>=d?(f=0,i=d):i+y>=1?(f=(t*l-1)*Math.pow(2,o),i=i+y):(f=t*Math.pow(2,y-1)*Math.pow(2,o),i=0));o>=8;e[r+_]=f&255,_+=h,f/=256,o-=8);for(i=i<0;e[r+_]=i&255,_+=h,i/=256,c-=8);e[r+_-h]|=w*128},La}function $_(){if(Gp)return ei;Gp=!0;let e=M_(),t=j_(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;ei.Buffer=i,ei.SlowBuffer=T,ei.INSPECT_MAX_BYTES=50;let n=2147483647;ei.kMaxLength=n,i.TYPED_ARRAY_SUPPORT=o(),!i.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 o(){try{let p=new Uint8Array(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,Uint8Array.prototype),Object.setPrototypeOf(p,s),p.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function a(p){if(p>n)throw new RangeError('The value "'+p+'" is invalid for option "size"');let s=new Uint8Array(p);return Object.setPrototypeOf(s,i.prototype),s}function i(p,s,u){if(typeof p=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(p)}return f(p,s,u)}i.poolSize=8192;function f(p,s,u){if(typeof p=="string")return y(p,s);if(ArrayBuffer.isView(p))return _(p);if(p==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p);if(et(p,ArrayBuffer)||p&&et(p.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(et(p,SharedArrayBuffer)||p&&et(p.buffer,SharedArrayBuffer)))return h(p,s,u);if(typeof p=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let b=p.valueOf&&p.valueOf();if(b!=null&&b!==p)return i.from(b,s,u);let L=w(p);if(L)return L;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof p[Symbol.toPrimitive]=="function")return i.from(p[Symbol.toPrimitive]("string"),s,u);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p)}i.from=function(p,s,u){return f(p,s,u)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function l(p){if(typeof p!="number")throw new TypeError('"size" argument must be of type number');if(p<0)throw new RangeError('The value "'+p+'" is invalid for option "size"')}function c(p,s,u){return l(p),p<=0?a(p):s!==void 0?typeof u=="string"?a(p).fill(s,u):a(p).fill(s):a(p)}i.alloc=function(p,s,u){return c(p,s,u)};function d(p){return l(p),a(p<0?0:S(p)|0)}i.allocUnsafe=function(p){return d(p)},i.allocUnsafeSlow=function(p){return d(p)};function y(p,s){if((typeof s!="string"||s==="")&&(s="utf8"),!i.isEncoding(s))throw new TypeError("Unknown encoding: "+s);let u=C(p,s)|0,b=a(u),L=b.write(p,s);return L!==u&&(b=b.slice(0,L)),b}function v(p){let s=p.length<0?0:S(p.length)|0,u=a(s);for(let b=0;b=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return p|0}function T(p){return+p!=p&&(p=0),i.alloc(+p)}i.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==i.prototype},i.compare=function(s,u){if(et(s,Uint8Array)&&(s=i.from(s,s.offset,s.byteLength)),et(u,Uint8Array)&&(u=i.from(u,u.offset,u.byteLength)),!i.isBuffer(s)||!i.isBuffer(u))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===u)return 0;let b=s.length,L=u.length;for(let m=0,j=Math.min(b,L);mL.length?(i.isBuffer(j)||(j=i.from(j)),j.copy(L,m)):Uint8Array.prototype.set.call(L,j,m);else if(i.isBuffer(j))j.copy(L,m);else throw new TypeError('"list" argument must be an Array of Buffers');m+=j.length}return L};function C(p,s){if(i.isBuffer(p))return p.length;if(ArrayBuffer.isView(p)||et(p,ArrayBuffer))return p.byteLength;if(typeof p!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof p);let u=p.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&u===0)return 0;let L=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":return De(p).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u*2;case"hex":return u>>>1;case"base64":return ot(p).length;default:if(L)return b?-1:De(p).length;s=(""+s).toLowerCase(),L=!0}}i.byteLength=C;function M(p,s,u){let b=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((u===void 0||u>this.length)&&(u=this.length),u<=0)||(u>>>=0,s>>>=0,u<=s))return"";for(p||(p="utf8");;)switch(p){case"hex":return te(this,s,u);case"utf8":case"utf-8":return re(this,s,u);case"ascii":return Ne(this,s,u);case"latin1":case"binary":return ne(this,s,u);case"base64":return K(this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,s,u);default:if(b)throw new TypeError("Unknown encoding: "+p);p=(p+"").toLowerCase(),b=!0}}i.prototype._isBuffer=!0;function D(p,s,u){let b=p[s];p[s]=p[u],p[u]=b}i.prototype.swap16=function(){let s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let u=0;uu&&(s+=" ... "),""},r&&(i.prototype[r]=i.prototype.inspect),i.prototype.compare=function(s,u,b,L,m){if(et(s,Uint8Array)&&(s=i.from(s,s.offset,s.byteLength)),!i.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(u===void 0&&(u=0),b===void 0&&(b=s?s.length:0),L===void 0&&(L=0),m===void 0&&(m=this.length),u<0||b>s.length||L<0||m>this.length)throw new RangeError("out of range index");if(L>=m&&u>=b)return 0;if(L>=m)return-1;if(u>=b)return 1;if(u>>>=0,b>>>=0,L>>>=0,m>>>=0,this===s)return 0;let j=m-L,le=b-u,Be=Math.min(j,le),ee=this.slice(L,m),ue=s.slice(u,b);for(let I=0;I2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),u=+u,bt(u)&&(u=L?0:p.length-1),u<0&&(u=p.length+u),u>=p.length){if(L)return-1;u=p.length-1}else if(u<0)if(L)u=0;else return-1;if(typeof s=="string"&&(s=i.from(s,b)),i.isBuffer(s))return s.length===0?-1:F(p,s,u,b,L);if(typeof s=="number")return s=s&255,typeof Uint8Array.prototype.indexOf=="function"?L?Uint8Array.prototype.indexOf.call(p,s,u):Uint8Array.prototype.lastIndexOf.call(p,s,u):F(p,[s],u,b,L);throw new TypeError("val must be string, number or Buffer")}function F(p,s,u,b,L){let m=1,j=p.length,le=s.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(p.length<2||s.length<2)return-1;m=2,j/=2,le/=2,u/=2}function Be(ue,I){return m===1?ue[I]:ue.readUInt16BE(I*m)}let ee;if(L){let ue=-1;for(ee=u;eej&&(u=j-le),ee=u;ee>=0;ee--){let ue=!0;for(let I=0;IL&&(b=L)):b=L;let m=s.length;b>m/2&&(b=m/2);let j;for(j=0;j>>0,isFinite(b)?(b=b>>>0,L===void 0&&(L="utf8")):(L=b,b=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let m=this.length-u;if((b===void 0||b>m)&&(b=m),s.length>0&&(b<0||u<0)||u>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");let j=!1;for(;;)switch(L){case"hex":return N(this,s,u,b);case"utf8":case"utf-8":return x(this,s,u,b);case"ascii":case"latin1":case"binary":return G(this,s,u,b);case"base64":return Q(this,s,u,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te(this,s,u,b);default:if(j)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),j=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function K(p,s,u){return s===0&&u===p.length?e.fromByteArray(p):e.fromByteArray(p.slice(s,u))}function re(p,s,u){u=Math.min(p.length,u);let b=[],L=s;for(;L239?4:m>223?3:m>191?2:1;if(L+le<=u){let Be,ee,ue,I;switch(le){case 1:m<128&&(j=m);break;case 2:Be=p[L+1],(Be&192)===128&&(I=(m&31)<<6|Be&63,I>127&&(j=I));break;case 3:Be=p[L+1],ee=p[L+2],(Be&192)===128&&(ee&192)===128&&(I=(m&15)<<12|(Be&63)<<6|ee&63,I>2047&&(I<55296||I>57343)&&(j=I));break;case 4:Be=p[L+1],ee=p[L+2],ue=p[L+3],(Be&192)===128&&(ee&192)===128&&(ue&192)===128&&(I=(m&15)<<18|(Be&63)<<12|(ee&63)<<6|ue&63,I>65535&&I<1114112&&(j=I))}}j===null?(j=65533,le=1):j>65535&&(j-=65536,b.push(j>>>10&1023|55296),j=56320|j&1023),b.push(j),L+=le}return Ce(b)}let ae=4096;function Ce(p){let s=p.length;if(s<=ae)return String.fromCharCode.apply(String,p);let u="",b=0;for(;bb)&&(u=b);let L="";for(let m=s;mb&&(s=b),u<0?(u+=b,u<0&&(u=0)):u>b&&(u=b),uu)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(s,u,b){s=s>>>0,u=u>>>0,b||me(s,u,this.length);let L=this[s],m=1,j=0;for(;++j>>0,u=u>>>0,b||me(s,u,this.length);let L=this[s+--u],m=1;for(;u>0&&(m*=256);)L+=this[s+--u]*m;return L},i.prototype.readUint8=i.prototype.readUInt8=function(s,u){return s=s>>>0,u||me(s,1,this.length),this[s]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(s,u){return s=s>>>0,u||me(s,2,this.length),this[s]|this[s+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(s,u){return s=s>>>0,u||me(s,2,this.length),this[s]<<8|this[s+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(s,u){return s=s>>>0,u||me(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(s,u){return s=s>>>0,u||me(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},i.prototype.readBigUInt64LE=gt(function(s){s=s>>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=u+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,m=this[++s]+this[++s]*2**8+this[++s]*2**16+b*2**24;return BigInt(L)+(BigInt(m)<>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=u*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],m=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+b;return(BigInt(L)<>>0,u=u>>>0,b||me(s,u,this.length);let L=this[s],m=1,j=0;for(;++j=m&&(L-=Math.pow(2,8*u)),L},i.prototype.readIntBE=function(s,u,b){s=s>>>0,u=u>>>0,b||me(s,u,this.length);let L=u,m=1,j=this[s+--L];for(;L>0&&(m*=256);)j+=this[s+--L]*m;return m*=128,j>=m&&(j-=Math.pow(2,8*u)),j},i.prototype.readInt8=function(s,u){return s=s>>>0,u||me(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},i.prototype.readInt16LE=function(s,u){s=s>>>0,u||me(s,2,this.length);let b=this[s]|this[s+1]<<8;return b&32768?b|4294901760:b},i.prototype.readInt16BE=function(s,u){s=s>>>0,u||me(s,2,this.length);let b=this[s+1]|this[s]<<8;return b&32768?b|4294901760:b},i.prototype.readInt32LE=function(s,u){return s=s>>>0,u||me(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},i.prototype.readInt32BE=function(s,u){return s=s>>>0,u||me(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},i.prototype.readBigInt64LE=gt(function(s){s=s>>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(b<<24);return(BigInt(L)<>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=(u<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(L)<>>0,u||me(s,4,this.length),t.read(this,s,!0,23,4)},i.prototype.readFloatBE=function(s,u){return s=s>>>0,u||me(s,4,this.length),t.read(this,s,!1,23,4)},i.prototype.readDoubleLE=function(s,u){return s=s>>>0,u||me(s,8,this.length),t.read(this,s,!0,52,8)},i.prototype.readDoubleBE=function(s,u){return s=s>>>0,u||me(s,8,this.length),t.read(this,s,!1,52,8)};function Re(p,s,u,b,L,m){if(!i.isBuffer(p))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>L||sp.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(s,u,b,L){if(s=+s,u=u>>>0,b=b>>>0,!L){let le=Math.pow(2,8*b)-1;Re(this,s,u,b,le,0)}let m=1,j=0;for(this[u]=s&255;++j>>0,b=b>>>0,!L){let le=Math.pow(2,8*b)-1;Re(this,s,u,b,le,0)}let m=b-1,j=1;for(this[u+m]=s&255;--m>=0&&(j*=256);)this[u+m]=s/j&255;return u+b},i.prototype.writeUint8=i.prototype.writeUInt8=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,1,255,0),this[u]=s&255,u+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,65535,0),this[u]=s&255,this[u+1]=s>>>8,u+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,65535,0),this[u]=s>>>8,this[u+1]=s&255,u+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,4294967295,0),this[u+3]=s>>>24,this[u+2]=s>>>16,this[u+1]=s>>>8,this[u]=s&255,u+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,4294967295,0),this[u]=s>>>24,this[u+1]=s>>>16,this[u+2]=s>>>8,this[u+3]=s&255,u+4};function ze(p,s,u,b,L){ge(s,b,L,p,u,7);let m=Number(s&BigInt(4294967295));p[u++]=m,m=m>>8,p[u++]=m,m=m>>8,p[u++]=m,m=m>>8,p[u++]=m;let j=Number(s>>BigInt(32)&BigInt(4294967295));return p[u++]=j,j=j>>8,p[u++]=j,j=j>>8,p[u++]=j,j=j>>8,p[u++]=j,u}function je(p,s,u,b,L){ge(s,b,L,p,u,7);let m=Number(s&BigInt(4294967295));p[u+7]=m,m=m>>8,p[u+6]=m,m=m>>8,p[u+5]=m,m=m>>8,p[u+4]=m;let j=Number(s>>BigInt(32)&BigInt(4294967295));return p[u+3]=j,j=j>>8,p[u+2]=j,j=j>>8,p[u+1]=j,j=j>>8,p[u]=j,u+8}i.prototype.writeBigUInt64LE=gt(function(s,u=0){return ze(this,s,u,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=gt(function(s,u=0){return je(this,s,u,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(s,u,b,L){if(s=+s,u=u>>>0,!L){let Be=Math.pow(2,8*b-1);Re(this,s,u,b,Be-1,-Be)}let m=0,j=1,le=0;for(this[u]=s&255;++m>0)-le&255;return u+b},i.prototype.writeIntBE=function(s,u,b,L){if(s=+s,u=u>>>0,!L){let Be=Math.pow(2,8*b-1);Re(this,s,u,b,Be-1,-Be)}let m=b-1,j=1,le=0;for(this[u+m]=s&255;--m>=0&&(j*=256);)s<0&&le===0&&this[u+m+1]!==0&&(le=1),this[u+m]=(s/j>>0)-le&255;return u+b},i.prototype.writeInt8=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,1,127,-128),s<0&&(s=255+s+1),this[u]=s&255,u+1},i.prototype.writeInt16LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,32767,-32768),this[u]=s&255,this[u+1]=s>>>8,u+2},i.prototype.writeInt16BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,32767,-32768),this[u]=s>>>8,this[u+1]=s&255,u+2},i.prototype.writeInt32LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,2147483647,-2147483648),this[u]=s&255,this[u+1]=s>>>8,this[u+2]=s>>>16,this[u+3]=s>>>24,u+4},i.prototype.writeInt32BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[u]=s>>>24,this[u+1]=s>>>16,this[u+2]=s>>>8,this[u+3]=s&255,u+4},i.prototype.writeBigInt64LE=gt(function(s,u=0){return ze(this,s,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=gt(function(s,u=0){return je(this,s,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Je(p,s,u,b,L,m){if(u+b>p.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function Ve(p,s,u,b,L){return s=+s,u=u>>>0,L||Je(p,s,u,4),t.write(p,s,u,b,23,4),u+4}i.prototype.writeFloatLE=function(s,u,b){return Ve(this,s,u,!0,b)},i.prototype.writeFloatBE=function(s,u,b){return Ve(this,s,u,!1,b)};function xe(p,s,u,b,L){return s=+s,u=u>>>0,L||Je(p,s,u,8),t.write(p,s,u,b,52,8),u+8}i.prototype.writeDoubleLE=function(s,u,b){return xe(this,s,u,!0,b)},i.prototype.writeDoubleBE=function(s,u,b){return xe(this,s,u,!1,b)},i.prototype.copy=function(s,u,b,L){if(!i.isBuffer(s))throw new TypeError("argument should be a Buffer");if(b||(b=0),!L&&L!==0&&(L=this.length),u>=s.length&&(u=s.length),u||(u=0),L>0&&L=this.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),s.length-u>>0,b=b===void 0?this.length:b>>>0,s||(s=0);let m;if(typeof s=="number")for(m=u;m2**32?L=Y(String(u)):typeof u=="bigint"&&(L=String(u),(u>BigInt(2)**BigInt(32)||u<-(BigInt(2)**BigInt(32)))&&(L=Y(L)),L+="n"),b+=` It must be ${s}. Received ${L}`,b},RangeError);function Y(p){let s="",u=p.length,b=p[0]==="-"?1:0;for(;u>=b+4;u-=3)s=`_${p.slice(u-3,u)}${s}`;return`${p.slice(0,u)}${s}`}function fe(p,s,u){k(s,"offset"),(p[s]===void 0||p[s+u]===void 0)&&Z(s,p.length-(u+1))}function ge(p,s,u,b,L,m){if(p>u||p3?s===0||s===BigInt(0)?le=`>= 0${j} and < 2${j} ** ${(m+1)*8}${j}`:le=`>= -(2${j} ** ${(m+1)*8-1}${j}) and < 2 ** ${(m+1)*8-1}${j}`:le=`>= ${s}${j} and <= ${u}${j}`,new A.ERR_OUT_OF_RANGE("value",le,p)}fe(b,L,m)}function k(p,s){if(typeof p!="number")throw new A.ERR_INVALID_ARG_TYPE(s,"number",p)}function Z(p,s,u){throw Math.floor(p)!==p?(k(p,u),new A.ERR_OUT_OF_RANGE(u||"offset","an integer",p)):s<0?new A.ERR_BUFFER_OUT_OF_BOUNDS:new A.ERR_OUT_OF_RANGE(u||"offset",`>= ${u?1:0} and <= ${s}`,p)}let Se=/[^+/0-9A-Za-z-_]/g;function ke(p){if(p=p.split("=")[0],p=p.trim().replace(Se,""),p.length<2)return"";for(;p.length%4!==0;)p=p+"=";return p}function De(p,s){s=s||1/0;let u,b=p.length,L=null,m=[];for(let j=0;j55295&&u<57344){if(!L){if(u>56319){(s-=3)>-1&&m.push(239,191,189);continue}else if(j+1===b){(s-=3)>-1&&m.push(239,191,189);continue}L=u;continue}if(u<56320){(s-=3)>-1&&m.push(239,191,189),L=u;continue}u=(L-55296<<10|u-56320)+65536}else L&&(s-=3)>-1&&m.push(239,191,189);if(L=null,u<128){if((s-=1)<0)break;m.push(u)}else if(u<2048){if((s-=2)<0)break;m.push(u>>6|192,u&63|128)}else if(u<65536){if((s-=3)<0)break;m.push(u>>12|224,u>>6&63|128,u&63|128)}else if(u<1114112){if((s-=4)<0)break;m.push(u>>18|240,u>>12&63|128,u>>6&63|128,u&63|128)}else throw new Error("Invalid code point")}return m}function $e(p){let s=[];for(let u=0;u>8,L=u%256,m.push(L),m.push(b);return m}function ot(p){return e.toByteArray(ke(p))}function nt(p,s,u,b){let L;for(L=0;L=s.length||L>=p.length);++L)s[L+u]=p[L];return L}function et(p,s){return p instanceof s||p!=null&&p.constructor!=null&&p.constructor.name!=null&&p.constructor.name===s.name}function bt(p){return p!==p}let Qt=function(){let p="0123456789abcdef",s=new Array(256);for(let u=0;u<16;++u){let b=u*16;for(let L=0;L<16;++L)s[b+L]=p[u]+p[L]}return s}();function gt(p){return typeof BigInt>"u"?Ct:p}function Ct(){throw new Error("BigInt not supported")}return ei}var To,Zp,La,Vp,ei,Gp,ti,he,PB,UB,ka=Xn(()=>{$();z();q();H();W();To={},Zp=!1;La={},Vp=!1;ei={},Gp=!1;ti=$_();ti.Buffer;ti.SlowBuffer;ti.INSPECT_MAX_BYTES;ti.kMaxLength;he=ti.Buffer,PB=ti.INSPECT_MAX_BYTES,UB=ti.kMaxLength});var H=Xn(()=>{ka()});var of=He((kk,zd)=>{"use strict";$();z();q();H();W();var $d=Object.prototype.toString;zd.exports=function(t){var r=$d.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&$d.call(t.callee)==="[object Function]"),n}});var Xd=He((jk,Kd)=>{"use strict";$();z();q();H();W();var Yd;Object.keys||(Uo=Object.prototype.hasOwnProperty,af=Object.prototype.toString,qd=of(),sf=Object.prototype.propertyIsEnumerable,Wd=!sf.call({toString:null},"toString"),Hd=sf.call(function(){},"prototype"),Do=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Xa=function(e){var t=e.constructor;return t&&t.prototype===e},Zd={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},Vd=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!Zd["$"+e]&&Uo.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{Xa(window[e])}catch{return!0}}catch{return!0}return!1}(),Gd=function(e){if(typeof window>"u"||!Vd)return Xa(e);try{return Xa(e)}catch{return!1}},Yd=function(t){var r=t!==null&&typeof t=="object",n=af.call(t)==="[object Function]",o=qd(t),a=r&&af.call(t)==="[object String]",i=[];if(!r&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var f=Hd&&n;if(a&&t.length>0&&!Uo.call(t,0))for(var l=0;l0)for(var c=0;c{"use strict";$();z();q();H();W();var HE=Array.prototype.slice,ZE=of(),Jd=Object.keys,Ja=Jd?function(t){return Jd(t)}:Xd(),Qd=Object.keys;Ja.shim=function(){if(Object.keys){var t=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);t||(Object.keys=function(n){return ZE(n)?Qd(HE.call(n)):Qd(n)})}else Object.keys=Ja;return Object.keys||Ja};ey.exports=Ja});var Mo=He((Jk,ty)=>{"use strict";$();z();q();H();W();ty.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var i=Object.getOwnPropertyDescriptor(t,r);if(i.value!==o||i.enumerable!==!0)return!1}return!0}});var es=He((iF,ny)=>{"use strict";$();z();q();H();W();var ry=typeof Symbol<"u"&&Symbol,VE=Mo();ny.exports=function(){return typeof ry!="function"||typeof Symbol!="function"||typeof ry("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:VE()}});var ay=He((lF,oy)=>{"use strict";$();z();q();H();W();var iy={foo:{}},GE=Object;oy.exports=function(){return{__proto__:iy}.foo===iy.foo&&!({__proto__:null}instanceof GE)}});var uy=He((gF,sy)=>{"use strict";$();z();q();H();W();var YE="Function.prototype.bind called on incompatible ",uf=Array.prototype.slice,KE=Object.prototype.toString,XE="[object Function]";sy.exports=function(t){var r=this;if(typeof r!="function"||KE.call(r)!==XE)throw new TypeError(YE+r);for(var n=uf.call(arguments,1),o,a=function(){if(this instanceof o){var d=r.apply(this,n.concat(uf.call(arguments)));return Object(d)===d?d:this}else return r.apply(t,n.concat(uf.call(arguments)))},i=Math.max(0,r.length-n.length),f=[],l=0;l{"use strict";$();z();q();H();W();var JE=uy();fy.exports=Function.prototype.bind||JE});var ff=He((IF,ly)=>{"use strict";$();z();q();H();W();var QE=ts();ly.exports=QE.call(Function.call,Object.prototype.hasOwnProperty)});var Ur=He((kF,yy)=>{"use strict";$();z();q();H();W();var yt,zi=SyntaxError,dy=Function,$i=TypeError,lf=function(e){try{return dy('"use strict"; return ('+e+").constructor;")()}catch{}},ni=Object.getOwnPropertyDescriptor;if(ni)try{ni({},"")}catch{ni=null}var cf=function(){throw new $i},eS=ni?function(){try{return arguments.callee,cf}catch{try{return ni(arguments,"callee").get}catch{return cf}}}():cf,Mi=es()(),tS=ay()(),Wt=Object.getPrototypeOf||(tS?function(e){return e.__proto__}:null),ji={},rS=typeof Uint8Array>"u"||!Wt?yt:Wt(Uint8Array),ii={"%AggregateError%":typeof AggregateError>"u"?yt:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?yt:ArrayBuffer,"%ArrayIteratorPrototype%":Mi&&Wt?Wt([][Symbol.iterator]()):yt,"%AsyncFromSyncIteratorPrototype%":yt,"%AsyncFunction%":ji,"%AsyncGenerator%":ji,"%AsyncGeneratorFunction%":ji,"%AsyncIteratorPrototype%":ji,"%Atomics%":typeof Atomics>"u"?yt:Atomics,"%BigInt%":typeof BigInt>"u"?yt:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?yt:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?yt:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?yt:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?yt:Float32Array,"%Float64Array%":typeof Float64Array>"u"?yt:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?yt:FinalizationRegistry,"%Function%":dy,"%GeneratorFunction%":ji,"%Int8Array%":typeof Int8Array>"u"?yt:Int8Array,"%Int16Array%":typeof Int16Array>"u"?yt:Int16Array,"%Int32Array%":typeof Int32Array>"u"?yt:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Mi&&Wt?Wt(Wt([][Symbol.iterator]())):yt,"%JSON%":typeof JSON=="object"?JSON:yt,"%Map%":typeof Map>"u"?yt:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Mi||!Wt?yt:Wt(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?yt:Promise,"%Proxy%":typeof Proxy>"u"?yt:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?yt:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?yt:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Mi||!Wt?yt:Wt(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?yt:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Mi&&Wt?Wt(""[Symbol.iterator]()):yt,"%Symbol%":Mi?Symbol:yt,"%SyntaxError%":zi,"%ThrowTypeError%":eS,"%TypedArray%":rS,"%TypeError%":$i,"%Uint8Array%":typeof Uint8Array>"u"?yt:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?yt:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?yt:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?yt:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?yt:WeakMap,"%WeakRef%":typeof WeakRef>"u"?yt:WeakRef,"%WeakSet%":typeof WeakSet>"u"?yt:WeakSet};if(Wt)try{null.error}catch(e){cy=Wt(Wt(e)),ii["%Error.prototype%"]=cy}var cy,nS=function e(t){var r;if(t==="%AsyncFunction%")r=lf("async function () {}");else if(t==="%GeneratorFunction%")r=lf("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=lf("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&Wt&&(r=Wt(o.prototype))}return ii[t]=r,r},hy={"%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"]},jo=ts(),rs=ff(),iS=jo.call(Function.call,Array.prototype.concat),oS=jo.call(Function.apply,Array.prototype.splice),py=jo.call(Function.call,String.prototype.replace),ns=jo.call(Function.call,String.prototype.slice),aS=jo.call(Function.call,RegExp.prototype.exec),sS=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,uS=/\\(\\)?/g,fS=function(t){var r=ns(t,0,1),n=ns(t,-1);if(r==="%"&&n!=="%")throw new zi("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new zi("invalid intrinsic syntax, expected opening `%`");var o=[];return py(t,sS,function(a,i,f,l){o[o.length]=f?py(l,uS,"$1"):i||a}),o},lS=function(t,r){var n=t,o;if(rs(hy,n)&&(o=hy[n],n="%"+o[0]+"%"),rs(ii,n)){var a=ii[n];if(a===ji&&(a=nS(n)),typeof a>"u"&&!r)throw new $i("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:a}}throw new zi("intrinsic "+t+" does not exist!")};yy.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new $i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new $i('"allowMissing" argument must be a boolean');if(aS(/^%?[^%]*%?$/,t)===null)throw new zi("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=fS(t),o=n.length>0?n[0]:"",a=lS("%"+o+"%",r),i=a.name,f=a.value,l=!1,c=a.alias;c&&(o=c[0],oS(n,iS([0,1],c)));for(var d=1,y=!0;d=n.length){var w=ni(f,v);y=!!w,y&&"get"in w&&!("originalValue"in w.get)?f=w.get:f=f[v]}else y=rs(f,v),f=f[v];y&&!l&&(ii[i]=f)}}return f}});var my=He((jF,gy)=>{"use strict";$();z();q();H();W();var cS=Ur(),hf=cS("%Object.defineProperty%",!0),pf=function(){if(hf)try{return hf({},"a",{value:1}),!0}catch{return!1}return!1};pf.hasArrayLengthDefineBug=function(){if(!pf())return null;try{return hf([],"length",{value:1}).length!==1}catch{return!0}};gy.exports=pf});var Un=He((ZF,_y)=>{"use strict";$();z();q();H();W();var hS=Qa(),pS=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",dS=Object.prototype.toString,yS=Array.prototype.concat,vy=Object.defineProperty,gS=function(e){return typeof e=="function"&&dS.call(e)==="[object Function]"},mS=my()(),wy=vy&&mS,vS=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!gS(n)||!n())return}wy?vy(e,t,{configurable:!0,enumerable:!1,value:r,writable:!0}):e[t]=r},by=function(e,t){var r=arguments.length>2?arguments[2]:{},n=hS(t);pS&&(n=yS.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o{"use strict";$();z();q();H();W();var df=ts(),qi=Ur(),Ay=qi("%Function.prototype.apply%"),Ry=qi("%Function.prototype.call%"),Ty=qi("%Reflect.apply%",!0)||df.call(Ry,Ay),Ey=qi("%Object.getOwnPropertyDescriptor%",!0),oi=qi("%Object.defineProperty%",!0),wS=qi("%Math.max%");if(oi)try{oi({},"a",{value:1})}catch{oi=null}is.exports=function(t){var r=Ty(df,Ry,arguments);if(Ey&&oi){var n=Ey(r,"length");n.configurable&&oi(r,"length",{value:1+wS(0,t.length-(arguments.length-1))})}return r};var Sy=function(){return Ty(df,Ay,arguments)};oi?oi(is.exports,"apply",{value:Sy}):is.exports.apply=Sy});var lr=He((i4,xy)=>{"use strict";$();z();q();H();W();var Oy=Ur(),Iy=Wi(),bS=Iy(Oy("String.prototype.indexOf"));xy.exports=function(t,r){var n=Oy(t,!!r);return typeof n=="function"&&bS(t,".prototype.")>-1?Iy(n):n}});var yf=He((l4,ky)=>{"use strict";$();z();q();H();W();var _S=Qa(),Ny=Mo()(),Ly=lr(),By=Object,ES=Ly("Array.prototype.push"),Cy=Ly("Object.prototype.propertyIsEnumerable"),SS=Ny?Object.getOwnPropertySymbols:null;ky.exports=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=By(t);if(arguments.length===1)return n;for(var o=1;o{"use strict";$();z();q();H();W();var gf=yf(),AS=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n{"use strict";$();z();q();H();W();var TS=Un(),OS=mf();Py.exports=function(){var t=OS();return TS(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}});var $y=He((I4,jy)=>{"use strict";$();z();q();H();W();var IS=Un(),xS=Wi(),BS=yf(),Dy=mf(),CS=Uy(),NS=xS.apply(Dy()),My=function(t,r){return NS(Object,arguments)};IS(My,{getPolyfill:Dy,implementation:BS,shim:CS});jy.exports=My});var qy=He((k4,zy)=>{"use strict";$();z();q();H();W();var zo=function(){return typeof function(){}.name=="string"},$o=Object.getOwnPropertyDescriptor;if($o)try{$o([],"length")}catch{$o=null}zo.functionsHaveConfigurableNames=function(){if(!zo()||!$o)return!1;var t=$o(function(){},"name");return!!t&&!!t.configurable};var LS=Function.prototype.bind;zo.boundFunctionsHaveNames=function(){return zo()&&typeof LS=="function"&&function(){}.bind().name!==""};zy.exports=zo});var wf=He((j4,vf)=>{"use strict";$();z();q();H();W();var kS=qy().functionsHaveConfigurableNames(),FS=Object,PS=TypeError;vf.exports=function(){if(this!=null&&this!==FS(this))throw new PS("RegExp.prototype.flags getter called on non-object");var t="";return this.hasIndices&&(t+="d"),this.global&&(t+="g"),this.ignoreCase&&(t+="i"),this.multiline&&(t+="m"),this.dotAll&&(t+="s"),this.unicode&&(t+="u"),this.unicodeSets&&(t+="v"),this.sticky&&(t+="y"),t};kS&&Object.defineProperty&&Object.defineProperty(vf.exports,"name",{value:"get flags"})});var bf=He((Z4,Wy)=>{"use strict";$();z();q();H();W();var US=wf(),DS=Un().supportsDescriptors,MS=Object.getOwnPropertyDescriptor;Wy.exports=function(){if(DS&&/a/mig.flags==="gim"){var t=MS(RegExp.prototype,"flags");if(t&&typeof t.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return t.get}}return US}});var Vy=He((J4,Zy)=>{"use strict";$();z();q();H();W();var jS=Un().supportsDescriptors,$S=bf(),zS=Object.getOwnPropertyDescriptor,qS=Object.defineProperty,WS=TypeError,Hy=Object.getPrototypeOf,HS=/a/;Zy.exports=function(){if(!jS||!Hy)throw new WS("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var t=$S(),r=Hy(HS),n=zS(r,"flags");return(!n||n.get!==t)&&qS(r,"flags",{configurable:!0,enumerable:!1,get:t}),t}});var Xy=He((iP,Ky)=>{"use strict";$();z();q();H();W();var ZS=Un(),VS=Wi(),GS=wf(),Gy=bf(),YS=Vy(),Yy=VS(Gy());ZS(Yy,{getPolyfill:Gy,implementation:GS,shim:YS});Ky.exports=Yy});var mn=He((lP,Jy)=>{"use strict";$();z();q();H();W();var KS=Mo();Jy.exports=function(){return KS()&&!!Symbol.toStringTag}});var Ef=He((gP,eg)=>{"use strict";$();z();q();H();W();var XS=mn()(),JS=lr(),_f=JS("Object.prototype.toString"),os=function(t){return XS&&t&&typeof t=="object"&&Symbol.toStringTag in t?!1:_f(t)==="[object Arguments]"},Qy=function(t){return os(t)?!0:t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&_f(t)!=="[object Array]"&&_f(t.callee)==="[object Function]"},QS=function(){return os(arguments)}();os.isLegacyArguments=Qy;eg.exports=QS?os:Qy});var tg=He(()=>{$();z();q();H();W()});var _g=He((xP,bg)=>{$();z();q();H();W();var Nf=typeof Map=="function"&&Map.prototype,Sf=Object.getOwnPropertyDescriptor&&Nf?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ss=Nf&&Sf&&typeof Sf.get=="function"?Sf.get:null,rg=Nf&&Map.prototype.forEach,Lf=typeof Set=="function"&&Set.prototype,Af=Object.getOwnPropertyDescriptor&&Lf?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,us=Lf&&Af&&typeof Af.get=="function"?Af.get:null,ng=Lf&&Set.prototype.forEach,e2=typeof WeakMap=="function"&&WeakMap.prototype,Wo=e2?WeakMap.prototype.has:null,t2=typeof WeakSet=="function"&&WeakSet.prototype,Ho=t2?WeakSet.prototype.has:null,r2=typeof WeakRef=="function"&&WeakRef.prototype,ig=r2?WeakRef.prototype.deref:null,n2=Boolean.prototype.valueOf,i2=Object.prototype.toString,o2=Function.prototype.toString,a2=String.prototype.match,kf=String.prototype.slice,Mn=String.prototype.replace,s2=String.prototype.toUpperCase,og=String.prototype.toLowerCase,dg=RegExp.prototype.test,ag=Array.prototype.concat,Kr=Array.prototype.join,u2=Array.prototype.slice,sg=Math.floor,Of=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Rf=Object.getOwnPropertySymbols,If=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Hi=typeof Symbol=="function"&&typeof Symbol.iterator=="object",rr=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Hi||"symbol")?Symbol.toStringTag:null,yg=Object.prototype.propertyIsEnumerable,ug=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function fg(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||dg.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-sg(-e):sg(e);if(n!==e){var o=String(n),a=kf.call(t,o.length+1);return Mn.call(o,r,"$&_")+"."+Mn.call(Mn.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Mn.call(t,r,"$&_")}var xf=tg(),lg=xf.custom,cg=mg(lg)?lg:null;bg.exports=function e(t,r,n,o){var a=r||{};if(Dn(a,"quoteStyle")&&a.quoteStyle!=="single"&&a.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Dn(a,"maxStringLength")&&(typeof a.maxStringLength=="number"?a.maxStringLength<0&&a.maxStringLength!==1/0:a.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var i=Dn(a,"customInspect")?a.customInspect:!0;if(typeof i!="boolean"&&i!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Dn(a,"indent")&&a.indent!==null&&a.indent!==" "&&!(parseInt(a.indent,10)===a.indent&&a.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Dn(a,"numericSeparator")&&typeof a.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var f=a.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return wg(t,a);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return f?fg(t,l):l}if(typeof t=="bigint"){var c=String(t)+"n";return f?fg(t,c):c}var d=typeof a.depth>"u"?5:a.depth;if(typeof n>"u"&&(n=0),n>=d&&d>0&&typeof t=="object")return Bf(t)?"[Array]":"[Object]";var y=T2(a,n);if(typeof o>"u")o=[];else if(vg(o,t)>=0)return"[Circular]";function v(re,ae,Ce){if(ae&&(o=u2.call(o),o.push(ae)),Ce){var Ne={depth:a.depth};return Dn(a,"quoteStyle")&&(Ne.quoteStyle=a.quoteStyle),e(re,Ne,n+1,o)}return e(re,a,n+1,o)}if(typeof t=="function"&&!hg(t)){var _=m2(t),h=as(t,v);return"[Function"+(_?": "+_:" (anonymous)")+"]"+(h.length>0?" { "+Kr.call(h,", ")+" }":"")}if(mg(t)){var w=Hi?Mn.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):If.call(t);return typeof t=="object"&&!Hi?qo(w):w}if(S2(t)){for(var S="<"+og.call(String(t.nodeName)),T=t.attributes||[],C=0;C",S}if(Bf(t)){if(t.length===0)return"[]";var M=as(t,v);return y&&!R2(M)?"["+Cf(M,y)+"]":"[ "+Kr.call(M,", ")+" ]"}if(c2(t)){var D=as(t,v);return!("cause"in Error.prototype)&&"cause"in t&&!yg.call(t,"cause")?"{ ["+String(t)+"] "+Kr.call(ag.call("[cause]: "+v(t.cause),D),", ")+" }":D.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Kr.call(D,", ")+" }"}if(typeof t=="object"&&i){if(cg&&typeof t[cg]=="function"&&xf)return xf(t,{depth:d-n});if(i!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(v2(t)){var V=[];return rg&&rg.call(t,function(re,ae){V.push(v(ae,t,!0)+" => "+v(re,t))}),pg("Map",ss.call(t),V,y)}if(_2(t)){var F=[];return ng&&ng.call(t,function(re){F.push(v(re,t))}),pg("Set",us.call(t),F,y)}if(w2(t))return Tf("WeakMap");if(E2(t))return Tf("WeakSet");if(b2(t))return Tf("WeakRef");if(p2(t))return qo(v(Number(t)));if(y2(t))return qo(v(Of.call(t)));if(d2(t))return qo(n2.call(t));if(h2(t))return qo(v(String(t)));if(!l2(t)&&!hg(t)){var N=as(t,v),x=ug?ug(t)===Object.prototype:t instanceof Object||t.constructor===Object,G=t instanceof Object?"":"null prototype",Q=!x&&rr&&Object(t)===t&&rr in t?kf.call(jn(t),8,-1):G?"Object":"",Te=x||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",K=Te+(Q||G?"["+Kr.call(ag.call([],Q||[],G||[]),": ")+"] ":"");return N.length===0?K+"{}":y?K+"{"+Cf(N,y)+"}":K+"{ "+Kr.call(N,", ")+" }"}return String(t)};function gg(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function f2(e){return Mn.call(String(e),/"/g,""")}function Bf(e){return jn(e)==="[object Array]"&&(!rr||!(typeof e=="object"&&rr in e))}function l2(e){return jn(e)==="[object Date]"&&(!rr||!(typeof e=="object"&&rr in e))}function hg(e){return jn(e)==="[object RegExp]"&&(!rr||!(typeof e=="object"&&rr in e))}function c2(e){return jn(e)==="[object Error]"&&(!rr||!(typeof e=="object"&&rr in e))}function h2(e){return jn(e)==="[object String]"&&(!rr||!(typeof e=="object"&&rr in e))}function p2(e){return jn(e)==="[object Number]"&&(!rr||!(typeof e=="object"&&rr in e))}function d2(e){return jn(e)==="[object Boolean]"&&(!rr||!(typeof e=="object"&&rr in e))}function mg(e){if(Hi)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!If)return!1;try{return If.call(e),!0}catch{}return!1}function y2(e){if(!e||typeof e!="object"||!Of)return!1;try{return Of.call(e),!0}catch{}return!1}var g2=Object.prototype.hasOwnProperty||function(e){return e in this};function Dn(e,t){return g2.call(e,t)}function jn(e){return i2.call(e)}function m2(e){if(e.name)return e.name;var t=a2.call(o2.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function vg(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return wg(kf.call(e,0,t.maxStringLength),t)+n}var o=Mn.call(Mn.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,A2);return gg(o,"single",t)}function A2(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+s2.call(t.toString(16))}function qo(e){return"Object("+e+")"}function Tf(e){return e+" { ? }"}function pg(e,t,r,n){var o=n?Cf(r,n):Kr.call(r,", ");return e+" ("+t+") {"+o+"}"}function R2(e){for(var t=0;t=0)return!1;return!0}function T2(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Kr.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Kr.call(Array(t+1),r)}}function Cf(e,t){if(e.length===0)return"";var r=` `+t.prev+t.base;return r+Kr.call(e,","+r)+` `+t.prev}function as(e,t){var r=Bf(e),n=[];if(r){n.length=e.length;for(var o=0;o{"use strict";$();z();q();H();W();var Ff=Ur(),Zi=lr(),O2=_g(),I2=Ff("%TypeError%"),fs=Ff("%WeakMap%",!0),ls=Ff("%Map%",!0),x2=Zi("WeakMap.prototype.get",!0),B2=Zi("WeakMap.prototype.set",!0),C2=Zi("WeakMap.prototype.has",!0),N2=Zi("Map.prototype.get",!0),L2=Zi("Map.prototype.set",!0),k2=Zi("Map.prototype.has",!0),Pf=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},F2=function(e,t){var r=Pf(e,t);return r&&r.value},P2=function(e,t,r){var n=Pf(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},U2=function(e,t){return!!Pf(e,t)};Eg.exports=function(){var t,r,n,o={assert:function(a){if(!o.has(a))throw new I2("Side channel does not contain "+O2(a))},get:function(a){if(fs&&a&&(typeof a=="object"||typeof a=="function")){if(t)return x2(t,a)}else if(ls){if(r)return N2(r,a)}else if(n)return F2(n,a)},has:function(a){if(fs&&a&&(typeof a=="object"||typeof a=="function")){if(t)return C2(t,a)}else if(ls){if(r)return k2(r,a)}else if(n)return U2(n,a);return!1},set:function(a,i){fs&&a&&(typeof a=="object"||typeof a=="function")?(t||(t=new fs),B2(t,a,i)):ls?(r||(r=new ls),L2(r,a,i)):(n||(n={key:{},next:null}),P2(n,a,i))}};return o}});var Ag=He(($P,Sg)=>{"use strict";$();z();q();H();W();var D2=Ur(),M2=ff(),Zo=Uf()(),vn=D2("%TypeError%"),Df={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new vn("`O` is not an object");if(typeof t!="string")throw new vn("`slot` must be a string");if(Zo.assert(e),!Df.has(e,t))throw new vn("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new vn("`O` is not an object");if(typeof t!="string")throw new vn("`slot` must be a string");var r=Zo.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new vn("`O` is not an object");if(typeof t!="string")throw new vn("`slot` must be a string");var r=Zo.get(e);return!!r&&M2(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new vn("`O` is not an object");if(typeof t!="string")throw new vn("`slot` must be a string");var n=Zo.get(e);n||(n={},Zo.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(Df);Sg.exports=Df});var Og=He((VP,Tg)=>{"use strict";$();z();q();H();W();var Vo=Ag(),j2=SyntaxError,Rg=typeof StopIteration=="object"?StopIteration:null;Tg.exports=function(t){if(!Rg)throw new j2("this environment lacks StopIteration");Vo.set(t,"[[Done]]",!1);var r={next:function(){var o=Vo.get(this,"[[Iterator]]"),a=Vo.get(o,"[[Done]]");try{return{done:a,value:a?void 0:o.next()}}catch(i){if(Vo.set(o,"[[Done]]",!0),i!==Rg)throw i;return{done:!0,value:void 0}}}};return Vo.set(r,"[[Iterator]]",t),r}});var Mf=He((QP,Ig)=>{$();z();q();H();W();var $2={}.toString;Ig.exports=Array.isArray||function(e){return $2.call(e)=="[object Array]"}});var jf=He((oU,xg)=>{"use strict";$();z();q();H();W();var z2=String.prototype.valueOf,q2=function(t){try{return z2.call(t),!0}catch{return!1}},W2=Object.prototype.toString,H2="[object String]",Z2=mn()();xg.exports=function(t){return typeof t=="string"?!0:typeof t!="object"?!1:Z2?q2(t):W2.call(t)===H2}});var zf=He((cU,Ng)=>{"use strict";$();z();q();H();W();var $f=typeof Map=="function"&&Map.prototype?Map:null,V2=typeof Set=="function"&&Set.prototype?Set:null,cs;$f||(cs=function(t){return!1});var Cg=$f?Map.prototype.has:null,Bg=V2?Set.prototype.has:null;!cs&&!Cg&&(cs=function(t){return!1});Ng.exports=cs||function(t){if(!t||typeof t!="object")return!1;try{if(Cg.call(t),Bg)try{Bg.call(t)}catch{return!0}return t instanceof $f}catch{}return!1}});var Wf=He((mU,Fg)=>{"use strict";$();z();q();H();W();var G2=typeof Map=="function"&&Map.prototype?Map:null,qf=typeof Set=="function"&&Set.prototype?Set:null,hs;qf||(hs=function(t){return!1});var Lg=G2?Map.prototype.has:null,kg=qf?Set.prototype.has:null;!hs&&!kg&&(hs=function(t){return!1});Fg.exports=hs||function(t){if(!t||typeof t!="object")return!1;try{if(kg.call(t),Lg)try{Lg.call(t)}catch{return!0}return t instanceof qf}catch{}return!1}});var Vg=He((SU,ys)=>{"use strict";$();z();q();H();W();var Pg=Ef(),Ug=Og();es()()||Mo()()?(ps=Symbol.iterator,ys.exports=function(t){if(t!=null&&typeof t[ps]<"u")return t[ps]();if(Pg(t))return Array.prototype[ps].call(t)}):(Dg=Mf(),Mg=jf(),Hf=Ur(),jg=Hf("%Map%",!0),$g=Hf("%Set%",!0),Tr=lr(),Zf=Tr("Array.prototype.push"),Vf=Tr("String.prototype.charCodeAt"),zg=Tr("String.prototype.slice"),qg=function(t,r){var n=t.length;if(r+1>=n)return r+1;var o=Vf(t,r);if(o<55296||o>56319)return r+1;var a=Vf(t,r+1);return a<56320||a>57343?r+1:r+2},ds=function(t){var r=0;return{next:function(){var o=r>=t.length,a;return o||(a=t[r],r+=1),{done:o,value:a}}}},Gf=function(t,r){if(Dg(t)||Pg(t))return ds(t);if(Mg(t)){var n=0;return{next:function(){var a=qg(t,n),i=zg(t,n,a);return n=a,{done:a>t.length,value:i}}}}if(r&&typeof t["_es6-shim iterator_"]<"u")return t["_es6-shim iterator_"]()},!jg&&!$g?ys.exports=function(t){if(t!=null)return Gf(t,!0)}:(Wg=zf(),Hg=Wf(),Yf=Tr("Map.prototype.forEach",!0),Kf=Tr("Set.prototype.forEach",!0),(typeof ce>"u"||!ce.versions||!ce.versions.node)&&(Xf=Tr("Map.prototype.iterator",!0),Jf=Tr("Set.prototype.iterator",!0)),Qf=Tr("Map.prototype.@@iterator",!0)||Tr("Map.prototype._es6-shim iterator_",!0),el=Tr("Set.prototype.@@iterator",!0)||Tr("Set.prototype._es6-shim iterator_",!0),Zg=function(t){if(Wg(t)){if(Xf)return Ug(Xf(t));if(Qf)return Qf(t);if(Yf){var r=[];return Yf(t,function(o,a){Zf(r,[a,o])}),ds(r)}}if(Hg(t)){if(Jf)return Ug(Jf(t));if(el)return el(t);if(Kf){var n=[];return Kf(t,function(o){Zf(n,o)}),ds(n)}}},ys.exports=function(t){return Zg(t)||Gf(t)}));var ps,Dg,Mg,Hf,jg,$g,Tr,Zf,Vf,zg,qg,ds,Gf,Wg,Hg,Yf,Kf,Xf,Jf,Qf,el,Zg});var tl=He((xU,Yg)=>{"use strict";$();z();q();H();W();var Gg=function(e){return e!==e};Yg.exports=function(t,r){return t===0&&r===0?1/t===1/r:!!(t===r||Gg(t)&&Gg(r))}});var rl=He((FU,Kg)=>{"use strict";$();z();q();H();W();var Y2=tl();Kg.exports=function(){return typeof Object.is=="function"?Object.is:Y2}});var Jg=He(($U,Xg)=>{"use strict";$();z();q();H();W();var K2=rl(),X2=Un();Xg.exports=function(){var t=K2();return X2(Object,{is:t},{is:function(){return Object.is!==t}}),t}});var rm=He((VU,tm)=>{"use strict";$();z();q();H();W();var J2=Un(),Q2=Wi(),eA=tl(),Qg=rl(),tA=Jg(),em=Q2(Qg(),Object);J2(em,{getPolyfill:Qg,implementation:eA,shim:tA});tm.exports=em});var am=He((QU,om)=>{"use strict";$();z();q();H();W();var im=Function.prototype.toString,Vi=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,il,gs;if(typeof Vi=="function"&&typeof Object.defineProperty=="function")try{il=Object.defineProperty({},"length",{get:function(){throw gs}}),gs={},Vi(function(){throw 42},null,il)}catch(e){e!==gs&&(Vi=null)}else Vi=null;var rA=/^\s*class\b/,ol=function(t){try{var r=im.call(t);return rA.test(r)}catch{return!1}},nl=function(t){try{return ol(t)?!1:(im.call(t),!0)}catch{return!1}},ms=Object.prototype.toString,nA="[object Object]",iA="[object Function]",oA="[object GeneratorFunction]",aA="[object HTMLAllCollection]",sA="[object HTML document.all class]",uA="[object HTMLCollection]",fA=typeof Symbol=="function"&&!!Symbol.toStringTag,lA=!(0 in[,]),al=function(){return!1};typeof document=="object"&&(nm=document.all,ms.call(nm)===ms.call(document.all)&&(al=function(t){if((lA||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=ms.call(t);return(r===aA||r===sA||r===uA||r===nA)&&t("")==null}catch{}return!1}));var nm;om.exports=Vi?function(t){if(al(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{Vi(t,null,il)}catch(r){if(r!==gs)return!1}return!ol(t)&&nl(t)}:function(t){if(al(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(fA)return nl(t);if(ol(t))return!1;var r=ms.call(t);return r!==iA&&r!==oA&&!/^\[object HTML/.test(r)?!1:nl(t)}});var sl=He((oD,um)=>{"use strict";$();z();q();H();W();var cA=am(),hA=Object.prototype.toString,sm=Object.prototype.hasOwnProperty,pA=function(t,r,n){for(var o=0,a=t.length;o=3&&(o=n),hA.call(t)==="[object Array]"?pA(t,r,o):typeof t=="string"?dA(t,r,o):yA(t,r,o)};um.exports=gA});var fl=He((cD,fm)=>{"use strict";$();z();q();H();W();var ul=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],mA=typeof globalThis>"u"?se:globalThis;fm.exports=function(){for(var t=[],r=0;r{"use strict";$();z();q();H();W();var vA=Ur(),vs=vA("%Object.getOwnPropertyDescriptor%",!0);if(vs)try{vs([],"length")}catch{vs=null}lm.exports=vs});var pl=He((SD,ym)=>{"use strict";$();z();q();H();W();var cm=sl(),wA=fl(),hl=lr(),bA=hl("Object.prototype.toString"),hm=mn()(),ws=ll(),_A=typeof globalThis>"u"?se:globalThis,pm=wA(),EA=hl("Array.prototype.indexOf",!0)||function(t,r){for(var n=0;n-1}return ws?AA(t):!1}});var dl=He((xD,_m)=>{"use strict";$();z();q();H();W();var RA=Wi(),TA=lr(),bm=Ur(),OA=pl(),gm=bm("ArrayBuffer",!0),mm=bm("Float32Array",!0),bs=TA("ArrayBuffer.prototype.byteLength",!0),vm=gm&&!bs&&new gm().slice,wm=vm&&RA(vm);_m.exports=bs||wm?function(t){if(!t||typeof t!="object")return!1;try{return bs?bs(t):wm(t,0),!0}catch{return!1}}:mm?function(t){try{return new mm(t).buffer===t&&!OA(t)}catch(r){return typeof t=="object"&&r.name==="RangeError"}}:function(t){return!1}});var Sm=He((FD,Em)=>{"use strict";$();z();q();H();W();var IA=Date.prototype.getDay,xA=function(t){try{return IA.call(t),!0}catch{return!1}},BA=Object.prototype.toString,CA="[object Date]",NA=mn()();Em.exports=function(t){return typeof t!="object"||t===null?!1:NA?xA(t):BA.call(t)===CA}});var Im=He(($D,Om)=>{"use strict";$();z();q();H();W();var yl=lr(),Am=mn()(),Rm,Tm,gl,ml;Am&&(Rm=yl("Object.prototype.hasOwnProperty"),Tm=yl("RegExp.prototype.exec"),gl={},_s=function(){throw gl},ml={toString:_s,valueOf:_s},typeof Symbol.toPrimitive=="symbol"&&(ml[Symbol.toPrimitive]=_s));var _s,LA=yl("Object.prototype.toString"),kA=Object.getOwnPropertyDescriptor,FA="[object RegExp]";Om.exports=Am?function(t){if(!t||typeof t!="object")return!1;var r=kA(t,"lastIndex"),n=r&&Rm(r,"value");if(!n)return!1;try{Tm(t,ml)}catch(o){return o===gl}}:function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:LA(t)===FA}});var Cm=He((VD,Bm)=>{"use strict";$();z();q();H();W();var PA=lr(),xm=PA("SharedArrayBuffer.prototype.byteLength",!0);Bm.exports=xm?function(t){if(!t||typeof t!="object")return!1;try{return xm(t),!0}catch{return!1}}:function(t){return!1}});var Lm=He((QD,Nm)=>{"use strict";$();z();q();H();W();var UA=Number.prototype.toString,DA=function(t){try{return UA.call(t),!0}catch{return!1}},MA=Object.prototype.toString,jA="[object Number]",$A=mn()();Nm.exports=function(t){return typeof t=="number"?!0:typeof t!="object"?!1:$A?DA(t):MA.call(t)===jA}});var Pm=He((oM,Fm)=>{"use strict";$();z();q();H();W();var km=lr(),zA=km("Boolean.prototype.toString"),qA=km("Object.prototype.toString"),WA=function(t){try{return zA(t),!0}catch{return!1}},HA="[object Boolean]",ZA=mn()();Fm.exports=function(t){return typeof t=="boolean"?!0:t===null||typeof t!="object"?!1:ZA&&Symbol.toStringTag in t?WA(t):qA(t)===HA}});var jm=He((cM,vl)=>{"use strict";$();z();q();H();W();var VA=Object.prototype.toString,GA=es()();GA?(Um=Symbol.prototype.toString,Dm=/^Symbol\(.*\)$/,Mm=function(t){return typeof t.valueOf()!="symbol"?!1:Dm.test(Um.call(t))},vl.exports=function(t){if(typeof t=="symbol")return!0;if(VA.call(t)!=="[object Symbol]")return!1;try{return Mm(t)}catch{return!1}}):vl.exports=function(t){return!1};var Um,Dm,Mm});var qm=He((mM,zm)=>{"use strict";$();z();q();H();W();var $m=typeof BigInt<"u"&&BigInt;zm.exports=function(){return typeof $m=="function"&&typeof BigInt=="function"&&typeof $m(42)=="bigint"&&typeof BigInt(42)=="bigint"}});var Zm=He((SM,wl)=>{"use strict";$();z();q();H();W();var YA=qm()();YA?(Wm=BigInt.prototype.valueOf,Hm=function(t){try{return Wm.call(t),!0}catch{}return!1},wl.exports=function(t){return t===null||typeof t>"u"||typeof t=="boolean"||typeof t=="string"||typeof t=="number"||typeof t=="symbol"||typeof t=="function"?!1:typeof t=="bigint"?!0:Hm(t)}):wl.exports=function(t){return!1};var Wm,Hm});var Gm=He((xM,Vm)=>{"use strict";$();z();q();H();W();var KA=jf(),XA=Lm(),JA=Pm(),QA=jm(),eR=Zm();Vm.exports=function(t){if(t==null||typeof t!="object"&&typeof t!="function")return null;if(KA(t))return"String";if(XA(t))return"Number";if(JA(t))return"Boolean";if(QA(t))return"Symbol";if(eR(t))return"BigInt"}});var Xm=He((FM,Km)=>{"use strict";$();z();q();H();W();var Es=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,Ym=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Ss;Es||(Ss=function(t){return!1});var _l=Es?Es.prototype.has:null,bl=Ym?Ym.prototype.has:null;!Ss&&!_l&&(Ss=function(t){return!1});Km.exports=Ss||function(t){if(!t||typeof t!="object")return!1;try{if(_l.call(t,_l),bl)try{bl.call(t,bl)}catch{return!0}return t instanceof Es}catch{}return!1}});var Qm=He(($M,Sl)=>{"use strict";$();z();q();H();W();var tR=Ur(),Jm=lr(),rR=tR("%WeakSet%",!0),El=Jm("WeakSet.prototype.has",!0);El?(As=Jm("WeakMap.prototype.has",!0),Sl.exports=function(t){if(!t||typeof t!="object")return!1;try{if(El(t,El),As)try{As(t,As)}catch{return!0}return t instanceof rR}catch{}return!1}):Sl.exports=function(t){return!1};var As});var t0=He((VM,e0)=>{"use strict";$();z();q();H();W();var nR=zf(),iR=Wf(),oR=Xm(),aR=Qm();e0.exports=function(t){if(t&&typeof t=="object"){if(nR(t))return"Map";if(iR(t))return"Set";if(oR(t))return"WeakMap";if(aR(t))return"WeakSet"}return!1}});var u0=He((QM,s0)=>{"use strict";$();z();q();H();W();var n0=sl(),sR=fl(),i0=lr(),Al=ll(),uR=i0("Object.prototype.toString"),o0=mn()(),r0=typeof globalThis>"u"?se:globalThis,fR=sR(),lR=i0("String.prototype.slice"),a0={},Rl=Object.getPrototypeOf;o0&&Al&&Rl&&n0(fR,function(e){if(typeof r0[e]=="function"){var t=new r0[e];if(Symbol.toStringTag in t){var r=Rl(t),n=Al(r,Symbol.toStringTag);if(!n){var o=Rl(r);n=Al(o,Symbol.toStringTag)}a0[e]=n.get}}});var cR=function(t){var r=!1;return n0(a0,function(n,o){if(!r)try{var a=n.call(t);a===o&&(r=a)}catch{}}),r},hR=pl();s0.exports=function(t){return hR(t)?!o0||!(Symbol.toStringTag in t)?lR(uR(t),8,-1):cR(t):!1}});var c0=He((oj,l0)=>{"use strict";$();z();q();H();W();var pR=lr(),f0=pR("ArrayBuffer.prototype.byteLength",!0),dR=dl();l0.exports=function(t){return dR(t)?f0?f0(t):t.byteLength:NaN}});var P0=He((cj,F0)=>{"use strict";$();z();q();H();W();var N0=$y(),Xr=lr(),h0=Xy(),yR=Ur(),Gi=Vg(),gR=Uf(),p0=rm(),d0=Ef(),y0=Mf(),g0=dl(),m0=Sm(),v0=Im(),w0=Cm(),b0=Qa(),_0=Gm(),E0=t0(),S0=u0(),A0=c0(),R0=Xr("SharedArrayBuffer.prototype.byteLength",!0),T0=Xr("Date.prototype.getTime"),Tl=Object.getPrototypeOf,O0=Xr("Object.prototype.toString"),Ts=yR("%Set%",!0),Ol=Xr("Map.prototype.has",!0),Os=Xr("Map.prototype.get",!0),I0=Xr("Map.prototype.size",!0),Is=Xr("Set.prototype.add",!0),L0=Xr("Set.prototype.delete",!0),xs=Xr("Set.prototype.has",!0),Rs=Xr("Set.prototype.size",!0);function x0(e,t,r,n){for(var o=Gi(e),a;(a=o.next())&&!a.done;)if(Dr(t,a.value,r,n))return L0(e,a.value),!0;return!1}function k0(e){if(typeof e>"u")return null;if(typeof e!="object")return typeof e=="symbol"?!1:typeof e=="string"||typeof e=="number"?+e==+e:!0}function mR(e,t,r,n,o,a){var i=k0(r);if(i!=null)return i;var f=Os(t,i),l=N0({},o,{strict:!1});return typeof f>"u"&&!Ol(t,i)||!Dr(n,f,l,a)?!1:!Ol(e,i)&&Dr(n,f,l,a)}function vR(e,t,r){var n=k0(r);return n??(xs(t,n)&&!xs(e,n))}function B0(e,t,r,n,o,a){for(var i=Gi(e),f,l;(f=i.next())&&!f.done;)if(l=f.value,Dr(r,l,o,a)&&Dr(n,Os(t,l),o,a))return L0(e,l),!0;return!1}function Dr(e,t,r,n){var o=r||{};if(o.strict?p0(e,t):e===t)return!0;var a=_0(e),i=_0(t);if(a!==i)return!1;if(!e||!t||typeof e!="object"&&typeof t!="object")return o.strict?p0(e,t):e==t;var f=n.has(e),l=n.has(t),c;if(f&&l){if(n.get(e)===n.get(t))return!0}else c={};return f||n.set(e,c),l||n.set(t,c),_R(e,t,o,n)}function C0(e){return!e||typeof e!="object"||typeof e.length!="number"||typeof e.copy!="function"||typeof e.slice!="function"||e.length>0&&typeof e[0]!="number"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))}function wR(e,t,r,n){if(Rs(e)!==Rs(t))return!1;for(var o=Gi(e),a=Gi(t),i,f,l;(i=o.next())&&!i.done;)if(i.value&&typeof i.value=="object")l||(l=new Ts),Is(l,i.value);else if(!xs(t,i.value)){if(r.strict||!vR(e,t,i.value))return!1;l||(l=new Ts),Is(l,i.value)}if(l){for(;(f=a.next())&&!f.done;)if(f.value&&typeof f.value=="object"){if(!x0(l,f.value,r.strict,n))return!1}else if(!r.strict&&!xs(e,f.value)&&!x0(l,f.value,r.strict,n))return!1;return Rs(l)===0}return!0}function bR(e,t,r,n){if(I0(e)!==I0(t))return!1;for(var o=Gi(e),a=Gi(t),i,f,l,c,d,y;(i=o.next())&&!i.done;)if(c=i.value[0],d=i.value[1],c&&typeof c=="object")l||(l=new Ts),Is(l,c);else if(y=Os(t,c),typeof y>"u"&&!Ol(t,c)||!Dr(d,y,r,n)){if(r.strict||!mR(e,t,c,d,r,n))return!1;l||(l=new Ts),Is(l,c)}if(l){for(;(f=a.next())&&!f.done;)if(c=f.value[0],y=f.value[1],c&&typeof c=="object"){if(!B0(l,e,c,y,r,n))return!1}else if(!r.strict&&(!e.has(c)||!Dr(Os(e,c),y,r,n))&&!B0(l,e,c,y,N0({},r,{strict:!1}),n))return!1;return Rs(l)===0}return!0}function _R(e,t,r,n){var o,a;if(typeof e!=typeof t||e==null||t==null||O0(e)!==O0(t)||d0(e)!==d0(t))return!1;var i=y0(e),f=y0(t);if(i!==f)return!1;var l=e instanceof Error,c=t instanceof Error;if(l!==c||(l||c)&&(e.name!==t.name||e.message!==t.message))return!1;var d=v0(e),y=v0(t);if(d!==y||(d||y)&&(e.source!==t.source||h0(e)!==h0(t)))return!1;var v=m0(e),_=m0(t);if(v!==_||(v||_)&&T0(e)!==T0(t)||r.strict&&Tl&&Tl(e)!==Tl(t))return!1;var h=S0(e),w=S0(t);if((h||w)&&h!==w)return!1;var S=C0(e),T=C0(t);if(S!==T)return!1;if(S||T){if(e.length!==t.length)return!1;for(o=0;o=0;o--)if(F[o]!=N[o])return!1;for(o=F.length-1;o>=0;o--)if(a=F[o],!Dr(e[a],t[a],r,n))return!1;var x=E0(e),G=E0(t);return x!==G?!1:x==="Set"||G==="Set"?wR(e,t,r,n):x==="Map"?bR(e,t,r,n):!0}F0.exports=function(t,r,n){return Dr(t,r,n,gR())}});var j0=He((mj,M0)=>{"use strict";$();z();q();H();W();var ER=function(t){return SR(t)&&!AR(t)};function SR(e){return!!e&&typeof e=="object"}function AR(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||OR(e)}var RR=typeof Symbol=="function"&&Symbol.for,TR=RR?Symbol.for("react.element"):60103;function OR(e){return e.$$typeof===TR}function IR(e){return Array.isArray(e)?[]:{}}function Go(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Yi(IR(e),e,t):e}function xR(e,t,r){return e.concat(t).map(function(n){return Go(n,r)})}function BR(e,t){if(!t.customMerge)return Yi;var r=t.customMerge(e);return typeof r=="function"?r:Yi}function CR(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function U0(e){return Object.keys(e).concat(CR(e))}function D0(e,t){try{return t in e}catch{return!1}}function NR(e,t){return D0(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function LR(e,t,r){var n={};return r.isMergeableObject(e)&&U0(e).forEach(function(o){n[o]=Go(e[o],r)}),U0(t).forEach(function(o){NR(e,o)||(D0(e,o)&&r.isMergeableObject(t[o])?n[o]=BR(o,r)(e[o],t[o],r):n[o]=Go(t[o],r))}),n}function Yi(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||xR,r.isMergeableObject=r.isMergeableObject||ER,r.cloneUnlessOtherwiseSpecified=Go;var n=Array.isArray(t),o=Array.isArray(e),a=n===o;return a?n?r.arrayMerge(e,t,r):LR(e,t,r):Go(t,r)}Yi.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,o){return Yi(n,o,r)},{})};var kR=Yi;M0.exports=kR});var z0=He((xj,$0)=>{$();z();q();H();W();$0.exports=typeof self=="object"?self.FormData:window.FormData});var tv=He((Q0,ev)=>{$();z();q();H();W();(function(e){var t;typeof Q0=="object"?ev.exports=e():typeof define=="function"&&define.amd?define(e):(typeof window<"u"?t=window:typeof se<"u"?t=se:typeof self<"u"&&(t=self),t.objectHash=e())})(function(){return function e(t,r,n){function o(f,l){if(!r[f]){if(!t[f]){var c=typeof Ao=="function"&&Ao;if(!l&&c)return c(f,!0);if(a)return a(f,!0);throw new Error("Cannot find module '"+f+"'")}l=r[f]={exports:{}},t[f][0].call(l.exports,function(d){var y=t[f][1][d];return o(y||d)},l,l.exports,e,t,r,n)}return r[f].exports}for(var a=typeof Ao=="function"&&Ao,i=0;i>16),re((65280&x)>>8),re(255&x);return G==2?re(255&(x=V(F.charAt(N))<<2|V(F.charAt(N+1))>>4)):G==1&&(re((x=V(F.charAt(N))<<10|V(F.charAt(N+1))<<4|V(F.charAt(N+2))>>2)>>8&255),re(255&x)),Q},v.fromByteArray=function(F){var N,x,G,Q,Te=F.length%3,K="";function re(ae){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(ae)}for(N=0,G=F.length-Te;N>18&63)+re(Q>>12&63)+re(Q>>6&63)+re(63&Q);switch(Te){case 1:K=(K+=re((x=F[F.length-1])>>2))+re(x<<4&63)+"==";break;case 2:K=(K=(K+=re((x=(F[F.length-2]<<8)+F[F.length-1])>>10))+re(x>>4&63))+re(x<<2&63)+"="}return K}})(r===void 0?this.base64js={}:r)}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,r){(function(n,o,h,i,f,l,c,d,y){var v=e("base64-js"),_=e("ieee754");function h(A,O,Y){if(!(this instanceof h))return new h(A,O,Y);var fe,ge,k,Z,Se=typeof A;if(O==="base64"&&Se=="string")for(A=(Z=A).trim?Z.trim():Z.replace(/^\s+|\s+$/g,"");A.length%4!=0;)A+="=";if(Se=="number")fe=Ne(A);else if(Se=="string")fe=h.byteLength(A,O);else{if(Se!="object")throw new Error("First argument needs to be a number, array or string.");fe=Ne(A.length)}if(h._useTypedArrays?ge=h._augment(new Uint8Array(fe)):((ge=this).length=fe,ge._isBuffer=!0),h._useTypedArrays&&typeof A.byteLength=="number")ge._set(A);else if(ne(Z=A)||h.isBuffer(Z)||Z&&typeof Z=="object"&&typeof Z.length=="number")for(k=0;k>8,Z=Z%256,Se.push(Z),Se.push(k);return Se}(O),A,Y,fe)}function T(A,O,Y){var fe="";Y=Math.min(A.length,Y);for(var ge=O;ge>>0)):(O+1>>0),ge}function D(A,O,Y,fe){if(fe||(xe(typeof Y=="boolean","missing or invalid endian"),xe(O!=null,"missing offset"),xe(O+1>>8*(fe?k:1-k)}function G(A,O,Y,fe,ge){if(ge||(xe(O!=null,"missing value"),xe(typeof fe=="boolean","missing or invalid endian"),xe(Y!=null,"missing offset"),xe(Y+3>>8*(fe?k:3-k)&255}function Q(A,O,Y,fe,ge){ge||(xe(O!=null,"missing value"),xe(typeof fe=="boolean","missing or invalid endian"),xe(Y!=null,"missing offset"),xe(Y+1this.length&&(fe=this.length);var ge=(fe=A.length-O=this.length))return this[A]},h.prototype.readUInt16LE=function(A,O){return C(this,A,!0,O)},h.prototype.readUInt16BE=function(A,O){return C(this,A,!1,O)},h.prototype.readUInt32LE=function(A,O){return M(this,A,!0,O)},h.prototype.readUInt32BE=function(A,O){return M(this,A,!1,O)},h.prototype.readInt8=function(A,O){if(O||(xe(A!=null,"missing offset"),xe(A=this.length))return 128&this[A]?-1*(255-this[A]+1):this[A]},h.prototype.readInt16LE=function(A,O){return D(this,A,!0,O)},h.prototype.readInt16BE=function(A,O){return D(this,A,!1,O)},h.prototype.readInt32LE=function(A,O){return V(this,A,!0,O)},h.prototype.readInt32BE=function(A,O){return V(this,A,!1,O)},h.prototype.readFloatLE=function(A,O){return F(this,A,!0,O)},h.prototype.readFloatBE=function(A,O){return F(this,A,!1,O)},h.prototype.readDoubleLE=function(A,O){return N(this,A,!0,O)},h.prototype.readDoubleBE=function(A,O){return N(this,A,!1,O)},h.prototype.writeUInt8=function(A,O,Y){Y||(xe(A!=null,"missing value"),xe(O!=null,"missing offset"),xe(O=this.length||(this[O]=A)},h.prototype.writeUInt16LE=function(A,O,Y){x(this,A,O,!0,Y)},h.prototype.writeUInt16BE=function(A,O,Y){x(this,A,O,!1,Y)},h.prototype.writeUInt32LE=function(A,O,Y){G(this,A,O,!0,Y)},h.prototype.writeUInt32BE=function(A,O,Y){G(this,A,O,!1,Y)},h.prototype.writeInt8=function(A,O,Y){Y||(xe(A!=null,"missing value"),xe(O!=null,"missing offset"),xe(O=this.length||(0<=A?this.writeUInt8(A,O,Y):this.writeUInt8(255+A+1,O,Y))},h.prototype.writeInt16LE=function(A,O,Y){Q(this,A,O,!0,Y)},h.prototype.writeInt16BE=function(A,O,Y){Q(this,A,O,!1,Y)},h.prototype.writeInt32LE=function(A,O,Y){Te(this,A,O,!0,Y)},h.prototype.writeInt32BE=function(A,O,Y){Te(this,A,O,!1,Y)},h.prototype.writeFloatLE=function(A,O,Y){K(this,A,O,!0,Y)},h.prototype.writeFloatBE=function(A,O,Y){K(this,A,O,!1,Y)},h.prototype.writeDoubleLE=function(A,O,Y){re(this,A,O,!0,Y)},h.prototype.writeDoubleBE=function(A,O,Y){re(this,A,O,!1,Y)},h.prototype.fill=function(A,O,Y){if(O=O||0,Y=Y||this.length,xe(typeof(A=typeof(A=A||0)=="string"?A.charCodeAt(0):A)=="number"&&!isNaN(A),"value is not a number"),xe(O<=Y,"end < start"),Y!==O&&this.length!==0){xe(0<=O&&O"},h.prototype.toArrayBuffer=function(){if(typeof Uint8Array>"u")throw new Error("Buffer.toArrayBuffer not supported in this browser");if(h._useTypedArrays)return new h(this).buffer;for(var A=new Uint8Array(this.length),O=0,Y=A.length;O=O.length||ge>=A.length);ge++)O[ge+Y]=A[ge];return ge}function ze(A){try{return decodeURIComponent(A)}catch{return String.fromCharCode(65533)}}function je(A,O){xe(typeof A=="number","cannot write a non-number as a number"),xe(0<=A,"specified a negative value for writing an unsigned value"),xe(A<=O,"value is larger than maximum value for type"),xe(Math.floor(A)===A,"value has a fractional component")}function Je(A,O,Y){xe(typeof A=="number","cannot write a non-number as a number"),xe(A<=O,"value larger than maximum allowed value"),xe(Y<=A,"value smaller than minimum allowed value"),xe(Math.floor(A)===A,"value has a fractional component")}function Ve(A,O,Y){xe(typeof A=="number","cannot write a non-number as a number"),xe(A<=O,"value larger than maximum allowed value"),xe(Y<=A,"value smaller than minimum allowed value")}function xe(A,O){if(!A)throw new Error(O||"Failed assertion")}h._augment=function(A){return A._isBuffer=!0,A._get=A.get,A._set=A.set,A.get=ae.get,A.set=ae.set,A.write=ae.write,A.toString=ae.toString,A.toLocaleString=ae.toString,A.toJSON=ae.toJSON,A.copy=ae.copy,A.slice=ae.slice,A.readUInt8=ae.readUInt8,A.readUInt16LE=ae.readUInt16LE,A.readUInt16BE=ae.readUInt16BE,A.readUInt32LE=ae.readUInt32LE,A.readUInt32BE=ae.readUInt32BE,A.readInt8=ae.readInt8,A.readInt16LE=ae.readInt16LE,A.readInt16BE=ae.readInt16BE,A.readInt32LE=ae.readInt32LE,A.readInt32BE=ae.readInt32BE,A.readFloatLE=ae.readFloatLE,A.readFloatBE=ae.readFloatBE,A.readDoubleLE=ae.readDoubleLE,A.readDoubleBE=ae.readDoubleBE,A.writeUInt8=ae.writeUInt8,A.writeUInt16LE=ae.writeUInt16LE,A.writeUInt16BE=ae.writeUInt16BE,A.writeUInt32LE=ae.writeUInt32LE,A.writeUInt32BE=ae.writeUInt32BE,A.writeInt8=ae.writeInt8,A.writeInt16LE=ae.writeInt16LE,A.writeInt16BE=ae.writeInt16BE,A.writeInt32LE=ae.writeInt32LE,A.writeInt32BE=ae.writeInt32BE,A.writeFloatLE=ae.writeFloatLE,A.writeFloatBE=ae.writeFloatBE,A.writeDoubleLE=ae.writeDoubleLE,A.writeDoubleBE=ae.writeDoubleBE,A.fill=ae.fill,A.inspect=ae.inspect,A.toArrayBuffer=ae.toArrayBuffer,A}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,r){(function(n,o,v,i,f,l,c,d,y){var v=e("buffer").Buffer,_=4,h=new v(_);h.fill(0),t.exports={hash:function(w,S,T,C){for(var M=S(function(x,G){x.length%_!=0&&(Q=x.length+(_-x.length%_),x=v.concat([x,h],Q));for(var Q,Te=[],K=G?x.readInt32BE:x.readInt32LE,re=0;reT?Ce=ae(Ce):Ce.length>5]|=128<>>9<<4)]=V;for(var F=1732584193,N=-271733879,x=-1732584194,G=271733878,Q=0;Q>>32-x,F)}function w(D,V,F,N,x,G,Q){return h(V&F|~V&N,D,V,x,G,Q)}function S(D,V,F,N,x,G,Q){return h(V&N|F&~N,D,V,x,G,Q)}function T(D,V,F,N,x,G,Q){return h(V^F^N,D,V,x,G,Q)}function C(D,V,F,N,x,G,Q){return h(F^(V|~N),D,V,x,G,Q)}function M(D,V){var F=(65535&D)+(65535&V);return(D>>16)+(V>>16)+(F>>16)<<16|65535&F}t.exports=function(D){return v.hash(D,_,16)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,r){(function(n,o,a,i,f,l,c,d,y){var v;t.exports=v||function(_){for(var h,w=new Array(_),S=0;S<_;S++)!(3&S)&&(h=4294967296*Math.random()),w[S]=h>>>((3&S)<<3)&255;return w}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,r){(function(n,o,a,i,f,l,c,d,y){var v=e("./helpers");function _(S,T){S[T>>5]|=128<<24-T%32,S[15+(T+64>>9<<4)]=T;for(var C,M,D,V=Array(80),F=1732584193,N=-271733879,x=-1732584194,G=271733878,Q=-1009589776,Te=0;Te>16)+(T>>16)+(C>>16)<<16|65535&C}function w(S,T){return S<>>32-T}t.exports=function(S){return v.hash(S,_,20,!0)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,r){(function(n,o,a,i,f,l,c,d,y){function v(T,C){var M=(65535&T)+(65535&C);return(T>>16)+(C>>16)+(M>>16)<<16|65535&M}function _(T,C){var M,D=new Array(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),V=new Array(1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225),F=new Array(64);T[C>>5]|=128<<24-C%32,T[15+(C+64>>9<<4)]=C;for(var N,x,G=0;G>>C|T<<32-C},S=function(T,C){return T>>>C};t.exports=function(T){return h.hash(T,_,32,!0)}}).call(this,e("lYpoI2"),typeof self<"u"?self:typeof window<"u"?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,r){(function(n,o,a,i,f,l,c,d,y){r.read=function(v,_,h,w,G){var T,C,M=8*G-w-1,D=(1<>1,F=-7,N=h?G-1:0,x=h?-1:1,G=v[_+N];for(N+=x,T=G&(1<<-F)-1,G>>=-F,F+=M;0>=-F,F+=w;0>1,N=S===23?Math.pow(2,-24)-Math.pow(2,-77):0,x=w?0:Q-1,G=w?1:-1,Q=_<0||_===0&&1/_<0?1:0;for(_=Math.abs(_),isNaN(_)||_===1/0?(M=isNaN(_)?1:0,C=V):(C=Math.floor(Math.log(_)/Math.LN2),_*(w=Math.pow(2,-C))<1&&(C--,w*=2),2<=(_+=1<=C+F?N/w:N*Math.pow(2,1-F))*w&&(C++,w/=2),V<=C+F?(M=0,C=V):1<=C+F?(M=(_*w-1)*Math.pow(2,S),C+=F):(M=_*Math.pow(2,F-1)*Math.pow(2,S),C=0));8<=S;v[h+x]=255&M,x+=G,M/=256,S-=8);for(C=C<{$();z();q();H();W();rv.exports={STRING:2,BOOLEAN:4,BYTES:4,NUMBER:8,Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8}});var av=He($s=>{"use strict";$();z();q();H();W();$s.byteLength=YR;$s.toByteArray=XR;$s.fromByteArray=eT;var on=[],Ir=[],GR=typeof Uint8Array<"u"?Uint8Array:Array,Dl="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(li=0,iv=Dl.length;li0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");r===-1&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function YR(e){var t=ov(e),r=t[0],n=t[1];return(r+n)*3/4-n}function KR(e,t,r){return(t+r)*3/4-r}function XR(e){var t,r=ov(e),n=r[0],o=r[1],a=new GR(KR(e,n,o)),i=0,f=o>0?n-4:n,l;for(l=0;l>16&255,a[i++]=t>>8&255,a[i++]=t&255;return o===2&&(t=Ir[e.charCodeAt(l)]<<2|Ir[e.charCodeAt(l+1)]>>4,a[i++]=t&255),o===1&&(t=Ir[e.charCodeAt(l)]<<10|Ir[e.charCodeAt(l+1)]<<4|Ir[e.charCodeAt(l+2)]>>2,a[i++]=t>>8&255,a[i++]=t&255),a}function JR(e){return on[e>>18&63]+on[e>>12&63]+on[e>>6&63]+on[e&63]}function QR(e,t,r){for(var n,o=[],a=t;af?f:i+a));return n===1?(t=e[r-1],o.push(on[t>>2]+on[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(on[t>>10]+on[t>>4&63]+on[t<<2&63]+"=")),o.join("")}});var sv=He(Ml=>{$();z();q();H();W();Ml.read=function(e,t,r,n,o){var a,i,f=o*8-n-1,l=(1<>1,d=-7,y=r?o-1:0,v=r?-1:1,_=e[t+y];for(y+=v,a=_&(1<<-d)-1,_>>=-d,d+=f;d>0;a=a*256+e[t+y],y+=v,d-=8);for(i=a&(1<<-d)-1,a>>=-d,d+=n;d>0;i=i*256+e[t+y],y+=v,d-=8);if(a===0)a=1-c;else{if(a===l)return i?NaN:(_?-1:1)*(1/0);i=i+Math.pow(2,n),a=a-c}return(_?-1:1)*i*Math.pow(2,a-n)};Ml.write=function(e,t,r,n,o,a){var i,f,l,c=a*8-o-1,d=(1<>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:a-1,h=n?1:-1,w=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,i=d):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),i+y>=1?t+=v/l:t+=v*Math.pow(2,1-y),t*l>=2&&(i++,l/=2),i+y>=d?(f=0,i=d):i+y>=1?(f=(t*l-1)*Math.pow(2,o),i=i+y):(f=t*Math.pow(2,y-1)*Math.pow(2,o),i=0));o>=8;e[r+_]=f&255,_+=h,f/=256,o-=8);for(i=i<0;e[r+_]=i&255,_+=h,i/=256,c-=8);e[r+_-h]|=w*128}});var Av=He(uo=>{"use strict";$();z();q();H();W();var jl=av(),ao=sv(),uv=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;uo.Buffer=Ie;uo.SlowBuffer=aT;uo.INSPECT_MAX_BYTES=50;var zs=2147483647;uo.kMaxLength=zs;Ie.TYPED_ARRAY_SUPPORT=tT();!Ie.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 tT(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(Ie.prototype,"parent",{enumerable:!0,get:function(){if(Ie.isBuffer(this))return this.buffer}});Object.defineProperty(Ie.prototype,"offset",{enumerable:!0,get:function(){if(Ie.isBuffer(this))return this.byteOffset}});function En(e){if(e>zs)throw new RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,Ie.prototype),t}function Ie(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return Wl(e)}return hv(e,t,r)}Ie.poolSize=8192;function hv(e,t,r){if(typeof e=="string")return nT(e,t);if(ArrayBuffer.isView(e))return iT(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(an(e,ArrayBuffer)||e&&an(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(an(e,SharedArrayBuffer)||e&&an(e.buffer,SharedArrayBuffer)))return zl(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return Ie.from(n,t,r);let o=oT(e);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return Ie.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}Ie.from=function(e,t,r){return hv(e,t,r)};Object.setPrototypeOf(Ie.prototype,Uint8Array.prototype);Object.setPrototypeOf(Ie,Uint8Array);function pv(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function rT(e,t,r){return pv(e),e<=0?En(e):t!==void 0?typeof r=="string"?En(e).fill(t,r):En(e).fill(t):En(e)}Ie.alloc=function(e,t,r){return rT(e,t,r)};function Wl(e){return pv(e),En(e<0?0:Hl(e)|0)}Ie.allocUnsafe=function(e){return Wl(e)};Ie.allocUnsafeSlow=function(e){return Wl(e)};function nT(e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!Ie.isEncoding(t))throw new TypeError("Unknown encoding: "+t);let r=dv(e,t)|0,n=En(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}function $l(e){let t=e.length<0?0:Hl(e.length)|0,r=En(t);for(let n=0;n=zs)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+zs.toString(16)+" bytes");return e|0}function aT(e){return+e!=e&&(e=0),Ie.alloc(+e)}Ie.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==Ie.prototype};Ie.compare=function(t,r){if(an(t,Uint8Array)&&(t=Ie.from(t,t.offset,t.byteLength)),an(r,Uint8Array)&&(r=Ie.from(r,r.offset,r.byteLength)),!Ie.isBuffer(t)||!Ie.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;let n=t.length,o=r.length;for(let a=0,i=Math.min(n,o);ao.length?(Ie.isBuffer(i)||(i=Ie.from(i)),i.copy(o,a)):Uint8Array.prototype.set.call(o,i,a);else if(Ie.isBuffer(i))i.copy(o,a);else throw new TypeError('"list" argument must be an Array of Buffers');a+=i.length}return o};function dv(e,t){if(Ie.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||an(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;let o=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return ql(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return Sv(e).length;default:if(o)return n?-1:ql(e).length;t=(""+t).toLowerCase(),o=!0}}Ie.byteLength=dv;function sT(e,t,r){let n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return mT(this,t,r);case"utf8":case"utf-8":return gv(this,t,r);case"ascii":return yT(this,t,r);case"latin1":case"binary":return gT(this,t,r);case"base64":return pT(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return vT(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}Ie.prototype._isBuffer=!0;function ci(e,t,r){let n=e[t];e[t]=e[r],e[r]=n}Ie.prototype.swap16=function(){let t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;rr&&(t+=" ... "),""};uv&&(Ie.prototype[uv]=Ie.prototype.inspect);Ie.prototype.compare=function(t,r,n,o,a){if(an(t,Uint8Array)&&(t=Ie.from(t,t.offset,t.byteLength)),!Ie.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),o===void 0&&(o=0),a===void 0&&(a=this.length),r<0||n>t.length||o<0||a>this.length)throw new RangeError("out of range index");if(o>=a&&r>=n)return 0;if(o>=a)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,o>>>=0,a>>>=0,this===t)return 0;let i=a-o,f=n-r,l=Math.min(i,f),c=this.slice(o,a),d=t.slice(r,n);for(let y=0;y2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,Vl(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0)if(o)r=0;else return-1;if(typeof t=="string"&&(t=Ie.from(t,n)),Ie.isBuffer(t))return t.length===0?-1:fv(e,t,r,n,o);if(typeof t=="number")return t=t&255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):fv(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function fv(e,t,r,n,o){let a=1,i=e.length,f=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;a=2,i/=2,f/=2,r/=2}function l(d,y){return a===1?d[y]:d.readUInt16BE(y*a)}let c;if(o){let d=-1;for(c=r;ci&&(r=i-f),c=r;c>=0;c--){let d=!0;for(let y=0;yo&&(n=o)):n=o;let a=t.length;n>a/2&&(n=a/2);let i;for(i=0;i>>0,isFinite(n)?(n=n>>>0,o===void 0&&(o="utf8")):(o=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let a=this.length-r;if((n===void 0||n>a)&&(n=a),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");let i=!1;for(;;)switch(o){case"hex":return uT(this,t,r,n);case"utf8":case"utf-8":return fT(this,t,r,n);case"ascii":case"latin1":case"binary":return lT(this,t,r,n);case"base64":return cT(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return hT(this,t,r,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}};Ie.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function pT(e,t,r){return t===0&&r===e.length?jl.fromByteArray(e):jl.fromByteArray(e.slice(t,r))}function gv(e,t,r){r=Math.min(e.length,r);let n=[],o=t;for(;o239?4:a>223?3:a>191?2:1;if(o+f<=r){let l,c,d,y;switch(f){case 1:a<128&&(i=a);break;case 2:l=e[o+1],(l&192)===128&&(y=(a&31)<<6|l&63,y>127&&(i=y));break;case 3:l=e[o+1],c=e[o+2],(l&192)===128&&(c&192)===128&&(y=(a&15)<<12|(l&63)<<6|c&63,y>2047&&(y<55296||y>57343)&&(i=y));break;case 4:l=e[o+1],c=e[o+2],d=e[o+3],(l&192)===128&&(c&192)===128&&(d&192)===128&&(y=(a&15)<<18|(l&63)<<12|(c&63)<<6|d&63,y>65535&&y<1114112&&(i=y))}}i===null?(i=65533,f=1):i>65535&&(i-=65536,n.push(i>>>10&1023|55296),i=56320|i&1023),n.push(i),o+=f}return dT(n)}var lv=4096;function dT(e){let t=e.length;if(t<=lv)return String.fromCharCode.apply(String,e);let r="",n=0;for(;nn)&&(r=n);let o="";for(let a=t;an&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),rr)throw new RangeError("Trying to access beyond buffer length")}Ie.prototype.readUintLE=Ie.prototype.readUIntLE=function(t,r,n){t=t>>>0,r=r>>>0,n||Zt(t,r,this.length);let o=this[t],a=1,i=0;for(;++i>>0,r=r>>>0,n||Zt(t,r,this.length);let o=this[t+--r],a=1;for(;r>0&&(a*=256);)o+=this[t+--r]*a;return o};Ie.prototype.readUint8=Ie.prototype.readUInt8=function(t,r){return t=t>>>0,r||Zt(t,1,this.length),this[t]};Ie.prototype.readUint16LE=Ie.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||Zt(t,2,this.length),this[t]|this[t+1]<<8};Ie.prototype.readUint16BE=Ie.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||Zt(t,2,this.length),this[t]<<8|this[t+1]};Ie.prototype.readUint32LE=Ie.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||Zt(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};Ie.prototype.readUint32BE=Ie.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||Zt(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};Ie.prototype.readBigUInt64LE=Vn(function(t){t=t>>>0,so(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&aa(t,this.length-8);let o=r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,a=this[++t]+this[++t]*2**8+this[++t]*2**16+n*2**24;return BigInt(o)+(BigInt(a)<>>0,so(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&aa(t,this.length-8);let o=r*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],a=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+n;return(BigInt(o)<>>0,r=r>>>0,n||Zt(t,r,this.length);let o=this[t],a=1,i=0;for(;++i=a&&(o-=Math.pow(2,8*r)),o};Ie.prototype.readIntBE=function(t,r,n){t=t>>>0,r=r>>>0,n||Zt(t,r,this.length);let o=r,a=1,i=this[t+--o];for(;o>0&&(a*=256);)i+=this[t+--o]*a;return a*=128,i>=a&&(i-=Math.pow(2,8*r)),i};Ie.prototype.readInt8=function(t,r){return t=t>>>0,r||Zt(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};Ie.prototype.readInt16LE=function(t,r){t=t>>>0,r||Zt(t,2,this.length);let n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};Ie.prototype.readInt16BE=function(t,r){t=t>>>0,r||Zt(t,2,this.length);let n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};Ie.prototype.readInt32LE=function(t,r){return t=t>>>0,r||Zt(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};Ie.prototype.readInt32BE=function(t,r){return t=t>>>0,r||Zt(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};Ie.prototype.readBigInt64LE=Vn(function(t){t=t>>>0,so(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&aa(t,this.length-8);let o=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(n<<24);return(BigInt(o)<>>0,so(t,"offset");let r=this[t],n=this[t+7];(r===void 0||n===void 0)&&aa(t,this.length-8);let o=(r<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(o)<>>0,r||Zt(t,4,this.length),ao.read(this,t,!0,23,4)};Ie.prototype.readFloatBE=function(t,r){return t=t>>>0,r||Zt(t,4,this.length),ao.read(this,t,!1,23,4)};Ie.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||Zt(t,8,this.length),ao.read(this,t,!0,52,8)};Ie.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||Zt(t,8,this.length),ao.read(this,t,!1,52,8)};function hr(e,t,r,n,o,a){if(!Ie.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}Ie.prototype.writeUintLE=Ie.prototype.writeUIntLE=function(t,r,n,o){if(t=+t,r=r>>>0,n=n>>>0,!o){let f=Math.pow(2,8*n)-1;hr(this,t,r,n,f,0)}let a=1,i=0;for(this[r]=t&255;++i>>0,n=n>>>0,!o){let f=Math.pow(2,8*n)-1;hr(this,t,r,n,f,0)}let a=n-1,i=1;for(this[r+a]=t&255;--a>=0&&(i*=256);)this[r+a]=t/i&255;return r+n};Ie.prototype.writeUint8=Ie.prototype.writeUInt8=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,1,255,0),this[r]=t&255,r+1};Ie.prototype.writeUint16LE=Ie.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2};Ie.prototype.writeUint16BE=Ie.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2};Ie.prototype.writeUint32LE=Ie.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4};Ie.prototype.writeUint32BE=Ie.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function mv(e,t,r,n,o){Ev(t,n,o,e,r,7);let a=Number(t&BigInt(4294967295));e[r++]=a,a=a>>8,e[r++]=a,a=a>>8,e[r++]=a,a=a>>8,e[r++]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i,i=i>>8,e[r++]=i,r}function vv(e,t,r,n,o){Ev(t,n,o,e,r,7);let a=Number(t&BigInt(4294967295));e[r+7]=a,a=a>>8,e[r+6]=a,a=a>>8,e[r+5]=a,a=a>>8,e[r+4]=a;let i=Number(t>>BigInt(32)&BigInt(4294967295));return e[r+3]=i,i=i>>8,e[r+2]=i,i=i>>8,e[r+1]=i,i=i>>8,e[r]=i,r+8}Ie.prototype.writeBigUInt64LE=Vn(function(t,r=0){return mv(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))});Ie.prototype.writeBigUInt64BE=Vn(function(t,r=0){return vv(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))});Ie.prototype.writeIntLE=function(t,r,n,o){if(t=+t,r=r>>>0,!o){let l=Math.pow(2,8*n-1);hr(this,t,r,n,l-1,-l)}let a=0,i=1,f=0;for(this[r]=t&255;++a>0)-f&255;return r+n};Ie.prototype.writeIntBE=function(t,r,n,o){if(t=+t,r=r>>>0,!o){let l=Math.pow(2,8*n-1);hr(this,t,r,n,l-1,-l)}let a=n-1,i=1,f=0;for(this[r+a]=t&255;--a>=0&&(i*=256);)t<0&&f===0&&this[r+a+1]!==0&&(f=1),this[r+a]=(t/i>>0)-f&255;return r+n};Ie.prototype.writeInt8=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1};Ie.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2};Ie.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2};Ie.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4};Ie.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r>>>0,n||hr(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};Ie.prototype.writeBigInt64LE=Vn(function(t,r=0){return mv(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});Ie.prototype.writeBigInt64BE=Vn(function(t,r=0){return vv(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function wv(e,t,r,n,o,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function bv(e,t,r,n,o){return t=+t,r=r>>>0,o||wv(e,t,r,4,34028234663852886e22,-34028234663852886e22),ao.write(e,t,r,n,23,4),r+4}Ie.prototype.writeFloatLE=function(t,r,n){return bv(this,t,r,!0,n)};Ie.prototype.writeFloatBE=function(t,r,n){return bv(this,t,r,!1,n)};function _v(e,t,r,n,o){return t=+t,r=r>>>0,o||wv(e,t,r,8,17976931348623157e292,-17976931348623157e292),ao.write(e,t,r,n,52,8),r+8}Ie.prototype.writeDoubleLE=function(t,r,n){return _v(this,t,r,!0,n)};Ie.prototype.writeDoubleBE=function(t,r,n){return _v(this,t,r,!1,n)};Ie.prototype.copy=function(t,r,n,o){if(!Ie.isBuffer(t))throw new TypeError("argument should be a Buffer");if(n||(n=0),!o&&o!==0&&(o=this.length),r>=t.length&&(r=t.length),r||(r=0),o>0&&o=this.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),t.length-r>>0,n=n===void 0?this.length:n>>>0,t||(t=0);let a;if(typeof t=="number")for(a=r;a2**32?o=cv(String(r)):typeof r=="bigint"&&(o=String(r),(r>BigInt(2)**BigInt(32)||r<-(BigInt(2)**BigInt(32)))&&(o=cv(o)),o+="n"),n+=` It must be ${t}. Received ${o}`,n},RangeError);function cv(e){let t="",r=e.length,n=e[0]==="-"?1:0;for(;r>=n+4;r-=3)t=`_${e.slice(r-3,r)}${t}`;return`${e.slice(0,r)}${t}`}function wT(e,t,r){so(t,"offset"),(e[t]===void 0||e[t+r]===void 0)&&aa(t,e.length-(r+1))}function Ev(e,t,r,n,o,a){if(e>r||e3?t===0||t===BigInt(0)?f=`>= 0${i} and < 2${i} ** ${(a+1)*8}${i}`:f=`>= -(2${i} ** ${(a+1)*8-1}${i}) and < 2 ** ${(a+1)*8-1}${i}`:f=`>= ${t}${i} and <= ${r}${i}`,new oo.ERR_OUT_OF_RANGE("value",f,e)}wT(n,o,a)}function so(e,t){if(typeof e!="number")throw new oo.ERR_INVALID_ARG_TYPE(t,"number",e)}function aa(e,t,r){throw Math.floor(e)!==e?(so(e,r),new oo.ERR_OUT_OF_RANGE(r||"offset","an integer",e)):t<0?new oo.ERR_BUFFER_OUT_OF_BOUNDS:new oo.ERR_OUT_OF_RANGE(r||"offset",`>= ${r?1:0} and <= ${t}`,e)}var bT=/[^+/0-9A-Za-z-_]/g;function _T(e){if(e=e.split("=")[0],e=e.trim().replace(bT,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function ql(e,t){t=t||1/0;let r,n=e.length,o=null,a=[];for(let i=0;i55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}else if(i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return a}function ET(e){let t=[];for(let r=0;r>8,o=r%256,a.push(o),a.push(n);return a}function Sv(e){return jl.toByteArray(_T(e))}function qs(e,t,r,n){let o;for(o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function an(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Vl(e){return e!==e}var AT=function(){let e="0123456789abcdef",t=new Array(256);for(let r=0;r<16;++r){let n=r*16;for(let o=0;o<16;++o)t[n+o]=e[r]+e[o]}return t}();function Vn(e){return typeof BigInt>"u"?RT:e}function RT(){throw new Error("BigInt not supported")}});var Ov=He((X7,Tv)=>{"use strict";$();z();q();H();W();var wr=nv(),Rv=Av().Buffer;function TT(e){return 12+4*Math.ceil(e.length/4)}function OT(){return!(typeof window<"u"&&typeof document<"u")}function IT(e){let t=0,r=-1;try{let n=e;if(e instanceof Map?n=Object.fromEntries(e):e instanceof Set&&(n=Array.from(e)),e instanceof Int8Array)return e.length*wr.Int8Array;if(e instanceof Uint8Array||e instanceof Uint8ClampedArray)return e.length*wr.Uint8Array;if(e instanceof Int16Array)return e.length*wr.Int16Array;if(e instanceof Uint16Array)return e.length*wr.Uint16Array;if(e instanceof Int32Array)return e.length*wr.Int32Array;if(e instanceof Uint32Array)return e.length*wr.Uint32Array;if(e instanceof Float32Array)return e.length*wr.Float32Array;if(e instanceof Float64Array)return e.length*wr.Float64Array;let o=JSON.stringify(n);t=new Rv.from(o).byteLength}catch(n){return console.error("Error detected, return "+r,n),r}return t}function xT(e){let t=[],r=[e],n=0;for(;r.length;){let o=r.pop();if(typeof o=="boolean")n+=wr.BYTES;else if(typeof o=="string")OT()?n+=TT(o):n+=o.length*wr.STRING;else if(typeof o=="number")n+=wr.NUMBER;else if(typeof o=="symbol")Symbol.keyFor&&Symbol.keyFor(e)?n+=Symbol.keyFor(e).length*wr.STRING:n+=(e.toString().length-8)*wr.STRING;else if(typeof o=="bigint")n+=Rv.from(o.toString()).byteLength;else if(typeof o=="function")n+=o.toString().length;else if(typeof o=="object"&&t.indexOf(o)===-1){t.push(o);for(let a in o)r.push(o[a])}}return n}Tv.exports=function(e){let t=0;return e!==null&&typeof e=="object"?t=IT(e):t=xT(e),t}});var Cv=He(hi=>{"use strict";$();z();q();H();W();Object.defineProperty(hi,"__esModule",{value:!0});var kT=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},FT=typeof window<"u"&&typeof window.document<"u",PT=typeof ce<"u"&&ce.versions!=null&&ce.versions.node!=null,UT=(typeof self>"u"?"undefined":kT(self))==="object"&&self.constructor&&self.constructor.name==="DedicatedWorkerGlobalScope",DT=typeof window<"u"&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),MT=typeof Deno<"u"&&typeof Deno.version<"u"&&typeof Deno.version.deno<"u";hi.isBrowser=FT;hi.isWebWorker=UT;hi.isNode=PT;hi.isJsDom=DT;hi.isDeno=MT});var c_=He(($K,l_)=>{"use strict";$();z();q();H();W();function cB(e){try{return JSON.stringify(e)}catch{return'"[Circular]"'}}l_.exports=hB;function hB(e,t,r){var n=r&&r.stringify||cB,o=1;if(typeof e=="object"&&e!==null){var a=t.length+o;if(a===1)return e;var i=new Array(a);i[0]=n(e);for(var f=1;f-1?y:0,e.charCodeAt(_+1)){case 100:case 102:if(d>=l||t[d]==null)break;y<_&&(c+=e.slice(y,_)),c+=Number(t[d]),y=_+2,_++;break;case 105:if(d>=l||t[d]==null)break;y<_&&(c+=e.slice(y,_)),c+=Math.floor(Number(t[d])),y=_+2,_++;break;case 79:case 111:case 106:if(d>=l||t[d]===void 0)break;y<_&&(c+=e.slice(y,_));var h=typeof t[d];if(h==="string"){c+="'"+t[d]+"'",y=_+2,_++;break}if(h==="function"){c+=t[d].name||"",y=_+2,_++;break}c+=n(t[d]),y=_+2,_++;break;case 115:if(d>=l)break;y<_&&(c+=e.slice(y,_)),c+=String(t[d]),y=_+2,_++;break;case 37:y<_&&(c+=e.slice(y,_)),c+="%",y=_+2,_++,d--;break}++d}++_}return y===-1?e:(y{"use strict";$();z();q();H();W();var h_=c_();g_.exports=Bi;var Ra=SB().console||{},pB={mapHttpRequest:Ou,mapHttpResponse:Ou,wrapRequestSerializer:_h,wrapResponseSerializer:_h,wrapErrorSerializer:_h,req:Ou,res:Ou,err:p_,errWithCause:p_};function dB(e,t){return Array.isArray(e)?e.filter(function(n){return n!=="!stdSerializers.err"}):e===!0?Object.keys(t):!1}function Bi(e){e=e||{},e.browser=e.browser||{};let t=e.browser.transmit;if(t&&typeof t.send!="function")throw Error("pino: transmit option must have a send function");let r=e.browser.write||Ra;e.browser.write&&(e.browser.asObject=!0);let n=e.serializers||{},o=dB(e.browser.serialize,n),a=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(a=!1);let i=Object.keys(e.customLevels||{}),f=["error","fatal","warn","info","debug","trace"].concat(i);typeof r=="function"&&f.forEach(function(w){r[w]=r}),(e.enabled===!1||e.browser.disabled)&&(e.level="silent");let l=e.level||"info",c=Object.create(r);c.log||(c.log=Ta),Object.defineProperty(c,"levelVal",{get:y}),Object.defineProperty(c,"level",{get:v,set:_});let d={transmit:t,serialize:o,asObject:e.browser.asObject,levels:f,timestamp:bB(e)};c.levels=yB(e),c.level=l,c.setMaxListeners=c.getMaxListeners=c.emit=c.addListener=c.on=c.prependListener=c.once=c.prependOnceListener=c.removeListener=c.removeAllListeners=c.listeners=c.listenerCount=c.eventNames=c.write=c.flush=Ta,c.serializers=n,c._serialize=o,c._stdErrSerialize=a,c.child=h,t&&(c._logEvent=Eh());function y(){return this.level==="silent"?1/0:this.levels.values[this.level]}function v(){return this._level}function _(w){if(w!=="silent"&&!this.levels.values[w])throw Error("unknown level "+w);this._level=w,xi(d,c,"error","log"),xi(d,c,"fatal","error"),xi(d,c,"warn","error"),xi(d,c,"info","log"),xi(d,c,"debug","log"),xi(d,c,"trace","log"),i.forEach(function(S){xi(d,c,S,"log")})}function h(w,S){if(!w)throw new Error("missing bindings for child Pino");S=S||{},o&&w.serializers&&(S.serializers=w.serializers);let T=S.serializers;if(o&&T){var C=Object.assign({},n,T),M=e.browser.serialize===!0?Object.keys(C):o;delete w.serializers,Iu([w],M,C,this._stdErrSerialize)}function D(V){this._childLevel=(V._childLevel|0)+1,this.error=_o(V,w,"error"),this.fatal=_o(V,w,"fatal"),this.warn=_o(V,w,"warn"),this.info=_o(V,w,"info"),this.debug=_o(V,w,"debug"),this.trace=_o(V,w,"trace"),C&&(this.serializers=C,this._serialize=M),t&&(this._logEvent=Eh([].concat(V._logEvent.bindings,w)))}return D.prototype=this,new D(this)}return c}function yB(e){let t=e.customLevels||{},r=Object.assign({},Bi.levels.values,t),n=Object.assign({},Bi.levels.labels,gB(t));return{values:r,labels:n}}function gB(e){let t={};return Object.keys(e).forEach(function(r){t[e[r]]=r}),t}Bi.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}};Bi.stdSerializers=pB;Bi.stdTimeFunctions=Object.assign({},{nullTime:d_,epochTime:y_,unixTime:_B,isoTime:EB});function xi(e,t,r,n){let o=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?Ta:o[r]?o[r]:Ra[r]||Ra[n]||Ta,mB(e,t,r)}function mB(e,t,r){!e.transmit&&t[r]===Ta||(t[r]=function(n){return function(){let a=e.timestamp(),i=new Array(arguments.length),f=Object.getPrototypeOf&&Object.getPrototypeOf(this)===Ra?Ra:this;for(var l=0;l-1&&a in r&&(e[o][a]=r[a](e[o][a]))}function _o(e,t,r){return function(){let n=new Array(1+arguments.length);n[0]=t;for(var o=1;o$n,CancelError:()=>Xi,CancelablePromise:()=>Or,EventType:()=>Ls,TabbyAgent:()=>Cu,agentEventNames:()=>A_});$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();function Oo(e,t){return function(){return e.apply(t,arguments)}}var{toString:z_}=Object.prototype,{getPrototypeOf:ju}=Object,Pa=(e=>t=>{let r=z_.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Yr=e=>(e=e.toLowerCase(),t=>Pa(t)===e),Ua=e=>t=>typeof t===e,{isArray:Li}=Array,Io=Ua("undefined");function q_(e){return e!==null&&!Io(e)&&e.constructor!==null&&!Io(e.constructor)&&Rr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var Xp=Yr("ArrayBuffer");function W_(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xp(e.buffer),t}var H_=Ua("string"),Rr=Ua("function"),Jp=Ua("number"),Da=e=>e!==null&&typeof e=="object",Z_=e=>e===!0||e===!1,Fa=e=>{if(Pa(e)!=="object")return!1;let t=ju(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},V_=Yr("Date"),G_=Yr("File"),Y_=Yr("Blob"),K_=Yr("FileList"),X_=e=>Da(e)&&Rr(e.pipe),J_=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Rr(e.append)&&((t=Pa(e))==="formdata"||t==="object"&&Rr(e.toString)&&e.toString()==="[object FormData]"))},Q_=Yr("URLSearchParams"),eE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function xo(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Li(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}var ed=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:se)(),td=e=>!Io(e)&&e!==ed;function Mu(){let{caseless:e}=td(this)&&this||{},t={},r=(n,o)=>{let a=e&&Qp(t,o)||o;Fa(t[a])&&Fa(n)?t[a]=Mu(t[a],n):Fa(n)?t[a]=Mu({},n):Li(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n(xo(t,(o,a)=>{r&&Rr(o)?e[a]=Oo(o,r):e[a]=o},{allOwnKeys:n}),e),rE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),nE=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},iE=(e,t,r,n)=>{let o,a,i,f={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!f[i]&&(t[i]=e[i],f[i]=!0);e=r!==!1&&ju(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},oE=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;let n=e.indexOf(t,r);return n!==-1&&n===r},aE=e=>{if(!e)return null;if(Li(e))return e;let t=e.length;if(!Jp(t))return null;let r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},sE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ju(Uint8Array)),uE=(e,t)=>{let n=(e&&e[Symbol.iterator]).call(e),o;for(;(o=n.next())&&!o.done;){let a=o.value;t.call(e,a[0],a[1])}},fE=(e,t)=>{let r,n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},lE=Yr("HTMLFormElement"),cE=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Yp=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),hE=Yr("RegExp"),rd=(e,t)=>{let r=Object.getOwnPropertyDescriptors(e),n={};xo(r,(o,a)=>{t(o,a,e)!==!1&&(n[a]=o)}),Object.defineProperties(e,n)},pE=e=>{rd(e,(t,r)=>{if(Rr(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;let n=e[r];if(Rr(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},dE=(e,t)=>{let r={},n=o=>{o.forEach(a=>{r[a]=!0})};return Li(e)?n(e):n(String(e).split(t)),r},yE=()=>{},gE=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Du="abcdefghijklmnopqrstuvwxyz",Kp="0123456789",nd={DIGIT:Kp,ALPHA:Du,ALPHA_DIGIT:Du+Du.toUpperCase()+Kp},mE=(e=16,t=nd.ALPHA_DIGIT)=>{let r="",{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function vE(e){return!!(e&&Rr(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}var wE=e=>{let t=new Array(10),r=(n,o)=>{if(Da(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;let a=Li(n)?[]:{};return xo(n,(i,f)=>{let l=r(i,o+1);!Io(l)&&(a[f]=l)}),t[o]=void 0,a}}return n};return r(e,0)},bE=Yr("AsyncFunction"),_E=e=>e&&(Da(e)||Rr(e))&&Rr(e.then)&&Rr(e.catch),Ee={isArray:Li,isArrayBuffer:Xp,isBuffer:q_,isFormData:J_,isArrayBufferView:W_,isString:H_,isNumber:Jp,isBoolean:Z_,isObject:Da,isPlainObject:Fa,isUndefined:Io,isDate:V_,isFile:G_,isBlob:Y_,isRegExp:hE,isFunction:Rr,isStream:X_,isURLSearchParams:Q_,isTypedArray:sE,isFileList:K_,forEach:xo,merge:Mu,extend:tE,trim:eE,stripBOM:rE,inherits:nE,toFlatObject:iE,kindOf:Pa,kindOfTest:Yr,endsWith:oE,toArray:aE,forEachEntry:uE,matchAll:fE,isHTMLForm:lE,hasOwnProperty:Yp,hasOwnProp:Yp,reduceDescriptors:rd,freezeMethods:pE,toObjectSet:dE,toCamelCase:cE,noop:yE,toFiniteNumber:gE,findKey:Qp,global:ed,isContextDefined:td,ALPHABET:nd,generateString:mE,isSpecCompliantForm:vE,toJSONObject:wE,isAsyncFn:bE,isThenable:_E};$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();function ki(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}Ee.inherits(ki,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Ee.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var id=ki.prototype,od={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{od[e]={value:e}});Object.defineProperties(ki,od);Object.defineProperty(id,"isAxiosError",{value:!0});ki.from=(e,t,r,n,o,a)=>{let i=Object.create(id);return Ee.toFlatObject(e,i,function(l){return l!==Error.prototype},f=>f!=="isAxiosError"),ki.call(i,e.message,t,r,n,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};var dt=ki;$();z();q();H();W();var Ma=null;function $u(e){return Ee.isPlainObject(e)||Ee.isArray(e)}function sd(e){return Ee.endsWith(e,"[]")?e.slice(0,-2):e}function ad(e,t,r){return e?e.concat(t).map(function(o,a){return o=sd(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function EE(e){return Ee.isArray(e)&&!e.some($u)}var SE=Ee.toFlatObject(Ee,{},null,function(t){return/^is[A-Z]/.test(t)});function AE(e,t,r){if(!Ee.isObject(e))throw new TypeError("target must be an object");t=t||new(Ma||FormData),r=Ee.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,S){return!Ee.isUndefined(S[w])});let n=r.metaTokens,o=r.visitor||d,a=r.dots,i=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&Ee.isSpecCompliantForm(t);if(!Ee.isFunction(o))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Ee.isDate(h))return h.toISOString();if(!l&&Ee.isBlob(h))throw new dt("Blob is not supported. Use a Buffer instead.");return Ee.isArrayBuffer(h)||Ee.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):he.from(h):h}function d(h,w,S){let T=h;if(h&&!S&&typeof h=="object"){if(Ee.endsWith(w,"{}"))w=n?w:w.slice(0,-2),h=JSON.stringify(h);else if(Ee.isArray(h)&&EE(h)||(Ee.isFileList(h)||Ee.endsWith(w,"[]"))&&(T=Ee.toArray(h)))return w=sd(w),T.forEach(function(M,D){!(Ee.isUndefined(M)||M===null)&&t.append(i===!0?ad([w],D,a):i===null?w:w+"[]",c(M))}),!1}return $u(h)?!0:(t.append(ad(S,w,a),c(h)),!1)}let y=[],v=Object.assign(SE,{defaultVisitor:d,convertValue:c,isVisitable:$u});function _(h,w){if(!Ee.isUndefined(h)){if(y.indexOf(h)!==-1)throw Error("Circular reference detected in "+w.join("."));y.push(h),Ee.forEach(h,function(T,C){(!(Ee.isUndefined(T)||T===null)&&o.call(t,T,Ee.isString(C)?C.trim():C,w,v))===!0&&_(T,w?w.concat(C):[C])}),y.pop()}}if(!Ee.isObject(e))throw new TypeError("data must be an object");return _(e),t}var kn=AE;function ud(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function fd(e,t){this._pairs=[],e&&kn(e,this,t)}var ld=fd.prototype;ld.append=function(t,r){this._pairs.push([t,r])};ld.toString=function(t){let r=t?function(n){return t.call(this,n,ud)}:ud;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};var ja=fd;function RE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Bo(e,t,r){if(!t)return e;let n=r&&r.encode||RE,o=r&&r.serialize,a;if(o?a=o(t,r):a=Ee.isURLSearchParams(t)?t.toString():new ja(t,r).toString(n),a){let i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}$();z();q();H();W();var zu=class{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ee.forEach(this.handlers,function(n){n!==null&&t(n)})}},qu=zu;$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();var $a={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();var cd=typeof URLSearchParams<"u"?URLSearchParams:ja;$();z();q();H();W();var hd=typeof FormData<"u"?FormData:null;$();z();q();H();W();var pd=typeof Blob<"u"?Blob:null;var TE=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),OE=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),tr={isBrowser:!0,classes:{URLSearchParams:cd,FormData:hd,Blob:pd},isStandardBrowserEnv:TE,isStandardBrowserWebWorkerEnv:OE,protocols:["http","https","file","blob","url","data"]};function Wu(e,t){return kn(e,new tr.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,a){return tr.isNode&&Ee.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}$();z();q();H();W();function IE(e){return Ee.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function xE(e){let t={},r=Object.keys(e),n,o=r.length,a;for(n=0;n=r.length;return i=!i&&Ee.isArray(o)?o.length:i,l?(Ee.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!f):((!o[i]||!Ee.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&Ee.isArray(o[i])&&(o[i]=xE(o[i])),!f)}if(Ee.isFormData(e)&&Ee.isFunction(e.entries)){let r={};return Ee.forEachEntry(e,(n,o)=>{t(IE(n),o,r,0)}),r}return null}var za=BE;var CE={"Content-Type":void 0};function NE(e,t,r){if(Ee.isString(e))try{return(t||JSON.parse)(e),Ee.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var qa={transitional:$a,adapter:["xhr","http"],transformRequest:[function(t,r){let n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=Ee.isObject(t);if(a&&Ee.isHTMLForm(t)&&(t=new FormData(t)),Ee.isFormData(t))return o&&o?JSON.stringify(za(t)):t;if(Ee.isArrayBuffer(t)||Ee.isBuffer(t)||Ee.isStream(t)||Ee.isFile(t)||Ee.isBlob(t))return t;if(Ee.isArrayBufferView(t))return t.buffer;if(Ee.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let f;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Wu(t,this.formSerializer).toString();if((f=Ee.isFileList(t))||n.indexOf("multipart/form-data")>-1){let l=this.env&&this.env.FormData;return kn(f?{"files[]":t}:t,l&&new l,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),NE(t)):t}],transformResponse:[function(t){let r=this.transitional||qa.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&Ee.isString(t)&&(n&&!this.responseType||o)){let i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(f){if(i)throw f.name==="SyntaxError"?dt.from(f,dt.ERR_BAD_RESPONSE,this,null,this.response):f}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tr.classes.FormData,Blob:tr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Ee.forEach(["delete","get","head"],function(t){qa.headers[t]={}});Ee.forEach(["post","put","patch"],function(t){qa.headers[t]=Ee.merge(CE)});var Fi=qa;$();z();q();H();W();$();z();q();H();W();var LE=Ee.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),dd=e=>{let t={},r,n,o;return e&&e.split(` `).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&LE[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t};var yd=Symbol("internals");function Co(e){return e&&String(e).trim().toLowerCase()}function Wa(e){return e===!1||e==null?e:Ee.isArray(e)?e.map(Wa):String(e)}function kE(e){let t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g,n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}var FE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hu(e,t,r,n,o){if(Ee.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!Ee.isString(t)){if(Ee.isString(n))return t.indexOf(n)!==-1;if(Ee.isRegExp(n))return n.test(t)}}function PE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function UE(e,t){let r=Ee.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}var Pi=class{constructor(t){t&&this.set(t)}set(t,r,n){let o=this;function a(f,l,c){let d=Co(l);if(!d)throw new Error("header name must be a non-empty string");let y=Ee.findKey(o,d);(!y||o[y]===void 0||c===!0||c===void 0&&o[y]!==!1)&&(o[y||l]=Wa(f))}let i=(f,l)=>Ee.forEach(f,(c,d)=>a(c,d,l));return Ee.isPlainObject(t)||t instanceof this.constructor?i(t,r):Ee.isString(t)&&(t=t.trim())&&!FE(t)?i(dd(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=Co(t),t){let n=Ee.findKey(this,t);if(n){let o=this[n];if(!r)return o;if(r===!0)return kE(o);if(Ee.isFunction(r))return r.call(this,o,n);if(Ee.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Co(t),t){let n=Ee.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Hu(this,this[n],n,r)))}return!1}delete(t,r){let n=this,o=!1;function a(i){if(i=Co(i),i){let f=Ee.findKey(n,i);f&&(!r||Hu(n,n[f],f,r))&&(delete n[f],o=!0)}}return Ee.isArray(t)?t.forEach(a):a(t),o}clear(t){let r=Object.keys(this),n=r.length,o=!1;for(;n--;){let a=r[n];(!t||Hu(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){let r=this,n={};return Ee.forEach(this,(o,a)=>{let i=Ee.findKey(n,a);if(i){r[i]=Wa(o),delete r[a];return}let f=t?PE(a):String(a).trim();f!==a&&delete r[a],r[f]=Wa(o),n[f]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){let r=Object.create(null);return Ee.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&Ee.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){let n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){let n=(this[yd]=this[yd]={accessors:{}}).accessors,o=this.prototype;function a(i){let f=Co(i);n[f]||(UE(o,i),n[f]=!0)}return Ee.isArray(t)?t.forEach(a):a(t),this}};Pi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ee.freezeMethods(Pi.prototype);Ee.freezeMethods(Pi);var ar=Pi;function No(e,t){let r=this||Fi,n=t||r,o=ar.from(n.headers),a=n.data;return Ee.forEach(e,function(f){a=f.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}$();z();q();H();W();function Lo(e){return!!(e&&e.__CANCEL__)}$();z();q();H();W();function gd(e,t,r){dt.call(this,e??"canceled",dt.ERR_CANCELED,t,r),this.name="CanceledError"}Ee.inherits(gd,dt,{__CANCEL__:!0});var Fn=gd;$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();function Zu(e,t,r){let n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new dt("Request failed with status code "+r.status,[dt.ERR_BAD_REQUEST,dt.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}$();z();q();H();W();var md=tr.isStandardBrowserEnv?function(){return{write:function(r,n,o,a,i,f){let l=[];l.push(r+"="+encodeURIComponent(n)),Ee.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),Ee.isString(a)&&l.push("path="+a),Ee.isString(i)&&l.push("domain="+i),f===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){let n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();$();z();q();H();W();$();z();q();H();W();function Vu(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}$();z();q();H();W();function Gu(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function ko(e,t){return e&&!Vu(t)?Gu(e,t):t}$();z();q();H();W();var vd=tr.isStandardBrowserEnv?function(){let t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){let f=Ee.isString(i)?o(i):i;return f.protocol===n.protocol&&f.host===n.host}}():function(){return function(){return!0}}();$();z();q();H();W();function Yu(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}$();z();q();H();W();function DE(e,t){e=e||10;let r=new Array(e),n=new Array(e),o=0,a=0,i;return t=t!==void 0?t:1e3,function(l){let c=Date.now(),d=n[a];i||(i=c),r[o]=l,n[o]=c;let y=a,v=0;for(;y!==o;)v+=r[y++],y=y%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i{let a=o.loaded,i=o.lengthComputable?o.total:void 0,f=a-r,l=n(f),c=a<=i;r=a;let d={loaded:a,total:i,progress:i?a/i:void 0,bytes:f,rate:l||void 0,estimated:l&&i&&c?(i-a)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}var ME=typeof XMLHttpRequest<"u",_d=ME&&function(e){return new Promise(function(r,n){let o=e.data,a=ar.from(e.headers).normalize(),i=e.responseType,f;function l(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}Ee.isFormData(o)&&(tr.isStandardBrowserEnv||tr.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){let _=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(_+":"+h))}let d=ko(e.baseURL,e.url);c.open(e.method.toUpperCase(),Bo(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function y(){if(!c)return;let _=ar.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),w={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:_,config:e,request:c};Zu(function(T){r(T),l()},function(T){n(T),l()},w),c=null}if("onloadend"in c?c.onloadend=y:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(y)},c.onabort=function(){c&&(n(new dt("Request aborted",dt.ECONNABORTED,e,c)),c=null)},c.onerror=function(){n(new dt("Network Error",dt.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",w=e.transitional||$a;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),n(new dt(h,w.clarifyTimeoutError?dt.ETIMEDOUT:dt.ECONNABORTED,e,c)),c=null},tr.isStandardBrowserEnv){let _=(e.withCredentials||vd(d))&&e.xsrfCookieName&&md.read(e.xsrfCookieName);_&&a.set(e.xsrfHeaderName,_)}o===void 0&&a.setContentType(null),"setRequestHeader"in c&&Ee.forEach(a.toJSON(),function(h,w){c.setRequestHeader(w,h)}),Ee.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",bd(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",bd(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=_=>{c&&(n(!_||_.type?new Fn(null,e,c):_),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));let v=Yu(d);if(v&&tr.protocols.indexOf(v)===-1){n(new dt("Unsupported protocol "+v+":",dt.ERR_BAD_REQUEST,e));return}c.send(o||null)})};var Ha={http:Ma,xhr:_d};Ee.forEach(Ha,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});var Ed={getAdapter:e=>{e=Ee.isArray(e)?e:[e];let{length:t}=e,r,n;for(let o=0;oe instanceof ar?e.toJSON():e;function gn(e,t){t=t||{};let r={};function n(c,d,y){return Ee.isPlainObject(c)&&Ee.isPlainObject(d)?Ee.merge.call({caseless:y},c,d):Ee.isPlainObject(d)?Ee.merge({},d):Ee.isArray(d)?d.slice():d}function o(c,d,y){if(Ee.isUndefined(d)){if(!Ee.isUndefined(c))return n(void 0,c,y)}else return n(c,d,y)}function a(c,d){if(!Ee.isUndefined(d))return n(void 0,d)}function i(c,d){if(Ee.isUndefined(d)){if(!Ee.isUndefined(c))return n(void 0,c)}else return n(void 0,d)}function f(c,d,y){if(y in t)return n(c,d);if(y in e)return n(void 0,c)}let l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:f,headers:(c,d)=>o(Sd(c),Sd(d),!0)};return Ee.forEach(Object.keys(Object.assign({},e,t)),function(d){let y=l[d]||o,v=y(e[d],t[d],d);Ee.isUndefined(v)&&y!==f||(r[d]=v)}),r}$();z();q();H();W();$();z();q();H();W();var Va="1.4.0";var Xu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xu[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var Ad={};Xu.transitional=function(t,r,n){function o(a,i){return"[Axios v"+Va+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,f)=>{if(t===!1)throw new dt(o(i," has been removed"+(r?" in "+r:"")),dt.ERR_DEPRECATED);return r&&!Ad[i]&&(Ad[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,f):!0}};function jE(e,t,r){if(typeof e!="object")throw new dt("options must be an object",dt.ERR_BAD_OPTION_VALUE);let n=Object.keys(e),o=n.length;for(;o-- >0;){let a=n[o],i=t[a];if(i){let f=e[a],l=f===void 0||i(f,a,e);if(l!==!0)throw new dt("option "+a+" must be "+l,dt.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new dt("Unknown option "+a,dt.ERR_BAD_OPTION)}}var Ga={assertOptions:jE,validators:Xu};var Pn=Ga.validators,Ui=class{constructor(t){this.defaults=t,this.interceptors={request:new qu,response:new qu}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=gn(this.defaults,r);let{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&Ga.assertOptions(n,{silentJSONParsing:Pn.transitional(Pn.boolean),forcedJSONParsing:Pn.transitional(Pn.boolean),clarifyTimeoutError:Pn.transitional(Pn.boolean)},!1),o!=null&&(Ee.isFunction(o)?r.paramsSerializer={serialize:o}:Ga.assertOptions(o,{encode:Pn.function,serialize:Pn.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i;i=a&&Ee.merge(a.common,a[r.method]),i&&Ee.forEach(["delete","get","head","post","put","patch","common"],h=>{delete a[h]}),r.headers=ar.concat(i,a);let f=[],l=!0;this.interceptors.request.forEach(function(w){typeof w.runWhen=="function"&&w.runWhen(r)===!1||(l=l&&w.synchronous,f.unshift(w.fulfilled,w.rejected))});let c=[];this.interceptors.response.forEach(function(w){c.push(w.fulfilled,w.rejected)});let d,y=0,v;if(!l){let h=[Za.bind(this),void 0];for(h.unshift.apply(h,f),h.push.apply(h,c),v=h.length,d=Promise.resolve(r);y{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a,i=new Promise(f=>{n.subscribe(f),a=f}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,f){n.reason||(n.reason=new Fn(a,i,f),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;let r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Po(function(o){t=o}),cancel:t}}},Rd=Po;$();z();q();H();W();function Ju(e){return function(r){return e.apply(null,r)}}$();z();q();H();W();function Qu(e){return Ee.isObject(e)&&e.isAxiosError===!0}$();z();q();H();W();var ef={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ef).forEach(([e,t])=>{ef[t]=e});var Td=ef;function Od(e){let t=new Fo(e),r=Oo(Fo.prototype.request,t);return Ee.extend(r,Fo.prototype,t,{allOwnKeys:!0}),Ee.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Od(gn(e,o))},r}var Mt=Od(Fi);Mt.Axios=Fo;Mt.CanceledError=Fn;Mt.CancelToken=Rd;Mt.isCancel=Lo;Mt.VERSION=Va;Mt.toFormData=kn;Mt.AxiosError=dt;Mt.Cancel=Mt.CanceledError;Mt.all=function(t){return Promise.all(t)};Mt.spread=Ju;Mt.isAxiosError=Qu;Mt.mergeConfig=gn;Mt.AxiosHeaders=ar;Mt.formToJSON=e=>za(Ee.isHTMLForm(e)?new FormData(e):e);Mt.HttpStatusCode=Td;Mt.default=Mt;var ri=Mt;var{Axios:dL,AxiosError:yL,CanceledError:gL,isCancel:mL,CancelToken:vL,VERSION:wL,all:bL,Cancel:_L,isAxiosError:EL,spread:SL,toFormData:AL,AxiosHeaders:RL,HttpStatusCode:TL,formToJSON:OL,mergeConfig:IL}=ri;$();z();q();H();W();$();z();q();H();W();var Fd,Pd,Di=typeof Reflect=="object"?Reflect:null,Id=Di&&typeof Di.apply=="function"?Di.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};Pd=Di&&typeof Di.ownKeys=="function"?Di.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var xd=Number.isNaN||function(e){return e!=e};function _t(){_t.init.call(this)}Fd=_t,_t.EventEmitter=_t,_t.prototype._events=void 0,_t.prototype._eventsCount=0,_t.prototype._maxListeners=void 0;var Bd=10;function Ya(e){if(typeof e!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function Ud(e){return e._maxListeners===void 0?_t.defaultMaxListeners:e._maxListeners}function Cd(e,t,r,n){var o,a,i,f;if(Ya(r),(a=e._events)===void 0?(a=e._events=Object.create(null),e._eventsCount=0):(a.newListener!==void 0&&(e.emit("newListener",t,r.listener?r.listener:r),a=e._events),i=a[t]),i===void 0)i=a[t]=r,++e._eventsCount;else if(typeof i=="function"?i=a[t]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(o=Ud(e))>0&&i.length>o&&!i.warned){i.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=e,l.type=t,l.count=i.length,f=l,console&&console.warn&&console.warn(f)}return e}function $E(){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 Nd(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=$E.bind(n);return o.listener=r,n.wrapFn=o,o}function Ld(e,t,r){var n=e._events;if(n===void 0)return[];var o=n[t];return o===void 0?[]:typeof o=="function"?r?[o.listener||o]:[o]:r?function(a){for(var i=new Array(a.length),f=0;f0&&(a=t[0]),a instanceof Error)throw a;var i=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw i.context=a,i}var f=o[e];if(f===void 0)return!1;if(typeof f=="function")Id(f,this,t);else{var l=f.length,c=Dd(f,l);for(r=0;r=0;a--)if(r[a]===t||r[a].listener===t){i=r[a].listener,o=a;break}if(o<0)return this;o===0?r.shift():function(f,l){for(;l+1=0;n--)this.removeListener(e,t[n]);return this},_t.prototype.listeners=function(e){return Ld(this,e,!0)},_t.prototype.rawListeners=function(e){return Ld(this,e,!1)},_t.listenerCount=function(e,t){return typeof e.listenerCount=="function"?e.listenerCount(t):kd.call(e,t)},_t.prototype.listenerCount=kd,_t.prototype.eventNames=function(){return this._eventsCount>0?Pd(this._events):[]};var Ft=Fd;Ft.EventEmitter;Ft.defaultMaxListeners;Ft.init;Ft.listenerCount;Ft.EventEmitter;Ft.defaultMaxListeners;Ft.init;Ft.listenerCount;Ft.once=function(e,t){return new Promise((r,n)=>{function o(...i){a!==void 0&&e.removeListener("error",a),r(i)}let a;t!=="error"&&(a=i=>{e.removeListener(name,o),n(i)},e.once("error",a)),e.once(t,o)})};Ft.on=function(e,t){let r=[],n=[],o=null,a=!1,i={async next(){let c=r.shift();if(c)return createIterResult(c,!1);if(o){let d=Promise.reject(o);return o=null,d}return a?createIterResult(void 0,!0):new Promise((d,y)=>n.push({resolve:d,reject:y}))},async return(){e.removeListener(t,f),e.removeListener("error",l),a=!0;for(let c of n)c.resolve(createIterResult(void 0,!0));return createIterResult(void 0,!0)},throw(c){o=c,e.removeListener(t,f),e.removeListener("error",l)},[Symbol.asyncIterator](){return this}};return e.on(t,f),e.on("error",l),i;function f(...c){let d=n.shift();d?d.resolve(createIterResult(c,!1)):r.push(c)}function l(c){a=!0;let d=n.shift();d?d.reject(c):o=c,i.return()}};var{EventEmitter:Md,defaultMaxListeners:zL,init:qL,listenerCount:WL,on:HL,once:ZL}=Ft;$();z();q();H();W();$();z();q();H();W();var Ka,zE=new Uint8Array(16);function tf(){if(!Ka&&(Ka=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Ka))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Ka(zE)}$();z();q();H();W();var Xt=[];for(let e=0;e<256;++e)Xt.push((e+256).toString(16).slice(1));function jd(e,t=0){return(Xt[e[t+0]]+Xt[e[t+1]]+Xt[e[t+2]]+Xt[e[t+3]]+"-"+Xt[e[t+4]]+Xt[e[t+5]]+"-"+Xt[e[t+6]]+Xt[e[t+7]]+"-"+Xt[e[t+8]]+Xt[e[t+9]]+"-"+Xt[e[t+10]]+Xt[e[t+11]]+Xt[e[t+12]]+Xt[e[t+13]]+Xt[e[t+14]]+Xt[e[t+15]]).toLowerCase()}$();z();q();H();W();$();z();q();H();W();var qE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),rf={randomUUID:qE};function WE(e,t,r){if(rf.randomUUID&&!t&&!e)return rf.randomUUID();e=e||{};let n=e.random||(e.rng||tf)();if(n[6]=n[6]&15|64,n[8]=n[8]&63|128,t){r=r||0;for(let o=0;o<16;++o)t[r+o]=n[o];return t}return jd(n)}var nf=WE;var E_=Jn(P0()),S_=Jn(j0());$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();var Yo=class{constructor(t){this.config=t}};$();z();q();H();W();var xl=Jn(z0());$();z();q();H();W();var $n=class extends Error{constructor(r,n,o){super(o);this.name="ApiError",this.url=n.url,this.status=n.status,this.statusText=n.statusText,this.body=n.body,this.request=r}};$();z();q();H();W();var Xi=class extends Error{constructor(t){super(t),this.name="CancelError"}get isCancelled(){return!0}},Jr,Qr,Mr,zn,ai,Ko,Ki,Or=class{constructor(t){it(this,Jr,void 0);it(this,Qr,void 0);it(this,Mr,void 0);it(this,zn,void 0);it(this,ai,void 0);it(this,Ko,void 0);it(this,Ki,void 0);Ge(this,Jr,!1),Ge(this,Qr,!1),Ge(this,Mr,!1),Ge(this,zn,[]),Ge(this,ai,new Promise((r,n)=>{Ge(this,Ko,r),Ge(this,Ki,n);let o=f=>{var l;J(this,Jr)||J(this,Qr)||J(this,Mr)||(Ge(this,Jr,!0),(l=J(this,Ko))==null||l.call(this,f))},a=f=>{var l;J(this,Jr)||J(this,Qr)||J(this,Mr)||(Ge(this,Qr,!0),(l=J(this,Ki))==null||l.call(this,f))},i=f=>{J(this,Jr)||J(this,Qr)||J(this,Mr)||J(this,zn).push(f)};return Object.defineProperty(i,"isResolved",{get:()=>J(this,Jr)}),Object.defineProperty(i,"isRejected",{get:()=>J(this,Qr)}),Object.defineProperty(i,"isCancelled",{get:()=>J(this,Mr)}),t(o,a,i)}))}get[Symbol.toStringTag](){return"Cancellable Promise"}then(t,r){return J(this,ai).then(t,r)}catch(t){return J(this,ai).catch(t)}finally(t){return J(this,ai).finally(t)}cancel(){var t;if(!(J(this,Jr)||J(this,Qr)||J(this,Mr))){if(Ge(this,Mr,!0),J(this,zn).length)try{for(let r of J(this,zn))r()}catch(r){console.warn("Cancellation threw an error",r);return}J(this,zn).length=0,(t=J(this,Ki))==null||t.call(this,new Xi("Request aborted"))}}get isCancelled(){return J(this,Mr)}};Jr=new WeakMap,Qr=new WeakMap,Mr=new WeakMap,zn=new WeakMap,ai=new WeakMap,Ko=new WeakMap,Ki=new WeakMap;var Bl=e=>e!=null,Cs=e=>typeof e=="string",Il=e=>Cs(e)&&e!=="",q0=e=>typeof e=="object"&&typeof e.type=="string"&&typeof e.stream=="function"&&typeof e.arrayBuffer=="function"&&typeof e.constructor=="function"&&typeof e.constructor.name=="string"&&/^(Blob|File)$/.test(e.constructor.name)&&/^(Blob|File)$/.test(e[Symbol.toStringTag]),FR=e=>e instanceof xl.default,PR=e=>e>=200&&e<300,UR=e=>{try{return btoa(e)}catch{return he.from(e).toString("base64")}},DR=e=>{let t=[],r=(o,a)=>{t.push(`${encodeURIComponent(o)}=${encodeURIComponent(String(a))}`)},n=(o,a)=>{Bl(a)&&(Array.isArray(a)?a.forEach(i=>{n(o,i)}):typeof a=="object"?Object.entries(a).forEach(([i,f])=>{n(`${o}[${i}]`,f)}):r(o,a))};return Object.entries(e).forEach(([o,a])=>{n(o,a)}),t.length>0?`?${t.join("&")}`:""},MR=(e,t)=>{let r=e.ENCODE_PATH||encodeURI,n=t.url.replace("{api-version}",e.VERSION).replace(/{(.*?)}/g,(a,i)=>t.path?.hasOwnProperty(i)?r(String(t.path[i])):a),o=`${e.BASE}${n}`;return t.query?`${o}${DR(t.query)}`:o},jR=e=>{if(e.formData){let t=new xl.default,r=(n,o)=>{Cs(o)||q0(o)?t.append(n,o):t.append(n,JSON.stringify(o))};return Object.entries(e.formData).filter(([n,o])=>Bl(o)).forEach(([n,o])=>{Array.isArray(o)?o.forEach(a=>r(n,a)):r(n,o)}),t}},Bs=async(e,t)=>typeof t=="function"?t(e):t,$R=async(e,t,r)=>{let n=await Bs(t,e.TOKEN),o=await Bs(t,e.USERNAME),a=await Bs(t,e.PASSWORD),i=await Bs(t,e.HEADERS),f=typeof r?.getHeaders=="function"&&r?.getHeaders()||{},l=Object.entries({Accept:"application/json",...i,...t.headers,...f}).filter(([c,d])=>Bl(d)).reduce((c,[d,y])=>({...c,[d]:String(y)}),{});if(Il(n)&&(l.Authorization=`Bearer ${n}`),Il(o)&&Il(a)){let c=UR(`${o}:${a}`);l.Authorization=`Basic ${c}`}return t.body&&(t.mediaType?l["Content-Type"]=t.mediaType:q0(t.body)?l["Content-Type"]=t.body.type||"application/octet-stream":Cs(t.body)?l["Content-Type"]="text/plain":FR(t.body)||(l["Content-Type"]="application/json")),l},zR=e=>{if(e.body)return e.body},qR=async(e,t,r,n,o,a,i)=>{let f=ri.CancelToken.source(),l={url:r,headers:a,data:n??o,method:t.method,withCredentials:e.WITH_CREDENTIALS,cancelToken:f.token};i(()=>f.cancel("The user aborted a request."));try{return await ri.request(l)}catch(c){let d=c;if(d.response)return d.response;throw c}},WR=(e,t)=>{if(t){let r=e.headers[t];if(Cs(r))return r}},HR=e=>{if(e.status!==204)return e.data},ZR=(e,t)=>{let n={400:"Bad Request",401:"Unauthorized",403:"Forbidden",404:"Not Found",500:"Internal Server Error",502:"Bad Gateway",503:"Service Unavailable",...e.errors}[t.status];if(n)throw new $n(e,t,n);if(!t.ok)throw new $n(e,t,"Generic Error")},W0=(e,t)=>new Or(async(r,n,o)=>{try{let a=MR(e,t),i=jR(t),f=zR(t),l=await $R(e,t,i);if(!o.isCancelled){let c=await qR(e,t,a,f,i,l,o),d=HR(c),y=WR(c,t.responseHeader),v={url:a,ok:PR(c.status),status:c.status,statusText:c.statusText,body:y??d};ZR(t,v),r(v.body)}}catch(a){n(a)}});var Ns=class extends Yo{constructor(t){super(t)}request(t){return W0(this.config,t)}};$();z();q();H();W();var Xo=class{constructor(t){this.httpRequest=t}completionsV1CompletionsPost(t){return this.httpRequest.request({method:"POST",url:"/v1/completions",body:t,mediaType:"application/json",errors:{422:"Validation Error"}})}eventsV1EventsPost(t){return this.httpRequest.request({method:"POST",url:"/v1/events",body:t,mediaType:"application/json",errors:{422:"Validation Error"}})}};var Jo=class{constructor(t,r=Ns){this.request=new r({BASE:t?.BASE??"",VERSION:t?.VERSION??"0.1.0",WITH_CREDENTIALS:t?.WITH_CREDENTIALS??!1,CREDENTIALS:t?.CREDENTIALS??"include",TOKEN:t?.TOKEN,USERNAME:t?.USERNAME,PASSWORD:t?.PASSWORD,HEADERS:t?.HEADERS,ENCODE_PATH:t?.ENCODE_PATH}),this.default=new Xo(this.request)}};$();z();q();H();W();$();z();q();H();W();var Ls=(n=>(n.COMPLETION="completion",n.VIEW="view",n.SELECT="select",n))(Ls||{});$();z();q();H();W();function H0(e){return new Promise(t=>setTimeout(t,e))}function ks(e){return e.match(/.*(?:$|\r?\n)/g).filter(Boolean)}function Cl(e){return e.match(/\w+|\W+/g).filter(Boolean)}function Z0(e){return e.trim().length===0}function Nl(e,t){return new Or((r,n,o)=>{e.then(a=>{r(a)}).catch(a=>{n(a)}),o(()=>{t()})})}$();z();q();H();W();var V0={server:{endpoint:"http://localhost:8080"},logs:{level:"error"},anonymousUsageTracking:{disable:!1}};$();z();q();H();W();$();z();q();H();W();var Qo=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Y0=new Set,Ll=typeof ce=="object"&&ce?ce:{},K0=(e,t,r,n)=>{typeof Ll.emitWarning=="function"?Ll.emitWarning(e,t,r,n):console.error(`[${r}] ${t}: ${e}`)},Ds=globalThis.AbortController,G0=globalThis.AbortSignal;if(typeof Ds>"u"){G0=class{constructor(){at(this,"onabort");at(this,"_onabort",[]);at(this,"reason");at(this,"aborted",!1)}addEventListener(n,o){this._onabort.push(o)}},Ds=class{constructor(){at(this,"signal",new G0);t()}abort(n){if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(let o of this.signal._onabort)o(n);this.signal.onabort?.(n)}}};let e=Ll.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",t=()=>{e&&(e=!1,K0("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",t))}}var VR=e=>!Y0.has(e),h7=Symbol("type"),qn=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),X0=e=>qn(e)?e<=Math.pow(2,8)?Uint8Array:e<=Math.pow(2,16)?Uint16Array:e<=Math.pow(2,32)?Uint32Array:e<=Number.MAX_SAFE_INTEGER?Qi:null:null,Qi=class extends Array{constructor(t){super(t),this.fill(0)}},eo,Ji=class{constructor(t,r){at(this,"heap");at(this,"length");if(!J(Ji,eo))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(t),this.length=0}static create(t){let r=X0(t);if(!r)return[];Ge(Ji,eo,!0);let n=new Ji(t,r);return Ge(Ji,eo,!1),n}push(t){this.heap[this.length++]=t}pop(){return this.heap[--this.length]}},Fs=Ji;eo=new WeakMap,it(Fs,eo,!1);var jr,gr,en,$r,to,jt,zr,$t,Rt,ft,sr,mr,nr,Ht,qr,Jt,wn,bn,Wr,tn,Zn,cr,ta,kl,si,_n,ra,vr,js,J0,ui,ro,na,rn,Wn,nn,Hn,ia,Fl,no,Ps,io,Us,At,Tt,oa,Pl,fi,ea,Ul=class{constructor(t){it(this,ta);it(this,js);it(this,rn);it(this,nn);it(this,ia);it(this,no);it(this,io);it(this,At);it(this,oa);it(this,fi);it(this,jr,void 0);it(this,gr,void 0);it(this,en,void 0);it(this,$r,void 0);it(this,to,void 0);at(this,"ttl");at(this,"ttlResolution");at(this,"ttlAutopurge");at(this,"updateAgeOnGet");at(this,"updateAgeOnHas");at(this,"allowStale");at(this,"noDisposeOnSet");at(this,"noUpdateTTL");at(this,"maxEntrySize");at(this,"sizeCalculation");at(this,"noDeleteOnFetchRejection");at(this,"noDeleteOnStaleGet");at(this,"allowStaleOnFetchAbort");at(this,"allowStaleOnFetchRejection");at(this,"ignoreFetchAbort");it(this,jt,void 0);it(this,zr,void 0);it(this,$t,void 0);it(this,Rt,void 0);it(this,ft,void 0);it(this,sr,void 0);it(this,mr,void 0);it(this,nr,void 0);it(this,Ht,void 0);it(this,qr,void 0);it(this,Jt,void 0);it(this,wn,void 0);it(this,bn,void 0);it(this,Wr,void 0);it(this,tn,void 0);it(this,Zn,void 0);it(this,cr,void 0);it(this,si,()=>{});it(this,_n,()=>{});it(this,ra,()=>{});it(this,vr,()=>!1);it(this,ui,t=>{});it(this,ro,(t,r,n)=>{});it(this,na,(t,r,n,o)=>{if(n||o)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});let{max:r=0,ttl:n,ttlResolution:o=1,ttlAutopurge:a,updateAgeOnGet:i,updateAgeOnHas:f,allowStale:l,dispose:c,disposeAfter:d,noDisposeOnSet:y,noUpdateTTL:v,maxSize:_=0,maxEntrySize:h=0,sizeCalculation:w,fetchMethod:S,noDeleteOnFetchRejection:T,noDeleteOnStaleGet:C,allowStaleOnFetchRejection:M,allowStaleOnFetchAbort:D,ignoreFetchAbort:V}=t;if(r!==0&&!qn(r))throw new TypeError("max option must be a nonnegative integer");let F=r?X0(r):Array;if(!F)throw new Error("invalid max value: "+r);if(Ge(this,jr,r),Ge(this,gr,_),this.maxEntrySize=h||J(this,gr),this.sizeCalculation=w,this.sizeCalculation){if(!J(this,gr)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(S!==void 0&&typeof S!="function")throw new TypeError("fetchMethod must be a function if specified");if(Ge(this,to,S),Ge(this,Zn,!!S),Ge(this,$t,new Map),Ge(this,Rt,new Array(r).fill(void 0)),Ge(this,ft,new Array(r).fill(void 0)),Ge(this,sr,new F(r)),Ge(this,mr,new F(r)),Ge(this,nr,0),Ge(this,Ht,0),Ge(this,qr,Fs.create(r)),Ge(this,jt,0),Ge(this,zr,0),typeof c=="function"&&Ge(this,en,c),typeof d=="function"?(Ge(this,$r,d),Ge(this,Jt,[])):(Ge(this,$r,void 0),Ge(this,Jt,void 0)),Ge(this,tn,!!J(this,en)),Ge(this,cr,!!J(this,$r)),this.noDisposeOnSet=!!y,this.noUpdateTTL=!!v,this.noDeleteOnFetchRejection=!!T,this.allowStaleOnFetchRejection=!!M,this.allowStaleOnFetchAbort=!!D,this.ignoreFetchAbort=!!V,this.maxEntrySize!==0){if(J(this,gr)!==0&&!qn(J(this,gr)))throw new TypeError("maxSize must be a positive integer if specified");if(!qn(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");tt(this,js,J0).call(this)}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!C,this.updateAgeOnGet=!!i,this.updateAgeOnHas=!!f,this.ttlResolution=qn(o)||o===0?o:1,this.ttlAutopurge=!!a,this.ttl=n||0,this.ttl){if(!qn(this.ttl))throw new TypeError("ttl must be a positive integer if specified");tt(this,ta,kl).call(this)}if(J(this,jr)===0&&this.ttl===0&&J(this,gr)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!J(this,jr)&&!J(this,gr)){let N="LRU_CACHE_UNBOUNDED";VR(N)&&(Y0.add(N),K0("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",N,Ul))}}static unsafeExposeInternals(t){return{starts:J(t,bn),ttls:J(t,Wr),sizes:J(t,wn),keyMap:J(t,$t),keyList:J(t,Rt),valList:J(t,ft),next:J(t,sr),prev:J(t,mr),get head(){return J(t,nr)},get tail(){return J(t,Ht)},free:J(t,qr),isBackgroundFetch:r=>{var n;return tt(n=t,At,Tt).call(n,r)},backgroundFetch:(r,n,o,a)=>{var i;return tt(i=t,io,Us).call(i,r,n,o,a)},moveToTail:r=>{var n;return tt(n=t,fi,ea).call(n,r)},indexes:r=>{var n;return tt(n=t,rn,Wn).call(n,r)},rindexes:r=>{var n;return tt(n=t,nn,Hn).call(n,r)},isStale:r=>{var n;return J(n=t,vr).call(n,r)}}}get max(){return J(this,jr)}get maxSize(){return J(this,gr)}get calculatedSize(){return J(this,zr)}get size(){return J(this,jt)}get fetchMethod(){return J(this,to)}get dispose(){return J(this,en)}get disposeAfter(){return J(this,$r)}getRemainingTTL(t){return J(this,$t).has(t)?1/0:0}*entries(){for(let t of tt(this,rn,Wn).call(this))J(this,ft)[t]!==void 0&&J(this,Rt)[t]!==void 0&&!tt(this,At,Tt).call(this,J(this,ft)[t])&&(yield[J(this,Rt)[t],J(this,ft)[t]])}*rentries(){for(let t of tt(this,nn,Hn).call(this))J(this,ft)[t]!==void 0&&J(this,Rt)[t]!==void 0&&!tt(this,At,Tt).call(this,J(this,ft)[t])&&(yield[J(this,Rt)[t],J(this,ft)[t]])}*keys(){for(let t of tt(this,rn,Wn).call(this)){let r=J(this,Rt)[t];r!==void 0&&!tt(this,At,Tt).call(this,J(this,ft)[t])&&(yield r)}}*rkeys(){for(let t of tt(this,nn,Hn).call(this)){let r=J(this,Rt)[t];r!==void 0&&!tt(this,At,Tt).call(this,J(this,ft)[t])&&(yield r)}}*values(){for(let t of tt(this,rn,Wn).call(this))J(this,ft)[t]!==void 0&&!tt(this,At,Tt).call(this,J(this,ft)[t])&&(yield J(this,ft)[t])}*rvalues(){for(let t of tt(this,nn,Hn).call(this))J(this,ft)[t]!==void 0&&!tt(this,At,Tt).call(this,J(this,ft)[t])&&(yield J(this,ft)[t])}[Symbol.iterator](){return this.entries()}find(t,r={}){for(let n of tt(this,rn,Wn).call(this)){let o=J(this,ft)[n],a=tt(this,At,Tt).call(this,o)?o.__staleWhileFetching:o;if(a!==void 0&&t(a,J(this,Rt)[n],this))return this.get(J(this,Rt)[n],r)}}forEach(t,r=this){for(let n of tt(this,rn,Wn).call(this)){let o=J(this,ft)[n],a=tt(this,At,Tt).call(this,o)?o.__staleWhileFetching:o;a!==void 0&&t.call(r,a,J(this,Rt)[n],this)}}rforEach(t,r=this){for(let n of tt(this,nn,Hn).call(this)){let o=J(this,ft)[n],a=tt(this,At,Tt).call(this,o)?o.__staleWhileFetching:o;a!==void 0&&t.call(r,a,J(this,Rt)[n],this)}}purgeStale(){let t=!1;for(let r of tt(this,nn,Hn).call(this,{allowStale:!0}))J(this,vr).call(this,r)&&(this.delete(J(this,Rt)[r]),t=!0);return t}dump(){let t=[];for(let r of tt(this,rn,Wn).call(this,{allowStale:!0})){let n=J(this,Rt)[r],o=J(this,ft)[r],a=tt(this,At,Tt).call(this,o)?o.__staleWhileFetching:o;if(a===void 0||n===void 0)continue;let i={value:a};if(J(this,Wr)&&J(this,bn)){i.ttl=J(this,Wr)[r];let f=Qo.now()-J(this,bn)[r];i.start=Math.floor(Date.now()-f)}J(this,wn)&&(i.size=J(this,wn)[r]),t.unshift([n,i])}return t}load(t){this.clear();for(let[r,n]of t){if(n.start){let o=Date.now()-n.start;n.start=Qo.now()-o}this.set(r,n.value,n)}}set(t,r,n={}){var v,_;if(r===void 0)return this.delete(t),this;let{ttl:o=this.ttl,start:a,noDisposeOnSet:i=this.noDisposeOnSet,sizeCalculation:f=this.sizeCalculation,status:l}=n,{noUpdateTTL:c=this.noUpdateTTL}=n,d=J(this,na).call(this,t,r,n.size||0,f);if(this.maxEntrySize&&d>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.delete(t),this;let y=J(this,jt)===0?void 0:J(this,$t).get(t);if(y===void 0)y=J(this,jt)===0?J(this,Ht):J(this,qr).length!==0?J(this,qr).pop():J(this,jt)===J(this,jr)?tt(this,no,Ps).call(this,!1):J(this,jt),J(this,Rt)[y]=t,J(this,ft)[y]=r,J(this,$t).set(t,y),J(this,sr)[J(this,Ht)]=y,J(this,mr)[y]=J(this,Ht),Ge(this,Ht,y),Ia(this,jt)._++,J(this,ro).call(this,y,d,l),l&&(l.set="add"),c=!1;else{tt(this,fi,ea).call(this,y);let h=J(this,ft)[y];if(r!==h){if(J(this,Zn)&&tt(this,At,Tt).call(this,h)?h.__abortController.abort(new Error("replaced")):i||(J(this,tn)&&((v=J(this,en))==null||v.call(this,h,t,"set")),J(this,cr)&&J(this,Jt)?.push([h,t,"set"])),J(this,ui).call(this,y),J(this,ro).call(this,y,d,l),J(this,ft)[y]=r,l){l.set="replace";let w=h&&tt(this,At,Tt).call(this,h)?h.__staleWhileFetching:h;w!==void 0&&(l.oldValue=w)}}else l&&(l.set="update")}if(o!==0&&!J(this,Wr)&&tt(this,ta,kl).call(this),J(this,Wr)&&(c||J(this,ra).call(this,y,o,a),l&&J(this,_n).call(this,l,y)),!i&&J(this,cr)&&J(this,Jt)){let h=J(this,Jt),w;for(;w=h?.shift();)(_=J(this,$r))==null||_.call(this,...w)}return this}pop(){var t;try{for(;J(this,jt);){let r=J(this,ft)[J(this,nr)];if(tt(this,no,Ps).call(this,!0),tt(this,At,Tt).call(this,r)){if(r.__staleWhileFetching)return r.__staleWhileFetching}else if(r!==void 0)return r}}finally{if(J(this,cr)&&J(this,Jt)){let r=J(this,Jt),n;for(;n=r?.shift();)(t=J(this,$r))==null||t.call(this,...n)}}}has(t,r={}){let{updateAgeOnHas:n=this.updateAgeOnHas,status:o}=r,a=J(this,$t).get(t);if(a!==void 0){let i=J(this,ft)[a];if(tt(this,At,Tt).call(this,i)&&i.__staleWhileFetching===void 0)return!1;if(J(this,vr).call(this,a))o&&(o.has="stale",J(this,_n).call(this,o,a));else return n&&J(this,si).call(this,a),o&&(o.has="hit",J(this,_n).call(this,o,a)),!0}else o&&(o.has="miss");return!1}peek(t,r={}){let{allowStale:n=this.allowStale}=r,o=J(this,$t).get(t);if(o!==void 0&&(n||!J(this,vr).call(this,o))){let a=J(this,ft)[o];return tt(this,At,Tt).call(this,a)?a.__staleWhileFetching:a}}async fetch(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,ttl:i=this.ttl,noDisposeOnSet:f=this.noDisposeOnSet,size:l=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:d=this.noUpdateTTL,noDeleteOnFetchRejection:y=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:v=this.allowStaleOnFetchRejection,ignoreFetchAbort:_=this.ignoreFetchAbort,allowStaleOnFetchAbort:h=this.allowStaleOnFetchAbort,context:w,forceRefresh:S=!1,status:T,signal:C}=r;if(!J(this,Zn))return T&&(T.fetch="get"),this.get(t,{allowStale:n,updateAgeOnGet:o,noDeleteOnStaleGet:a,status:T});let M={allowStale:n,updateAgeOnGet:o,noDeleteOnStaleGet:a,ttl:i,noDisposeOnSet:f,size:l,sizeCalculation:c,noUpdateTTL:d,noDeleteOnFetchRejection:y,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:h,ignoreFetchAbort:_,status:T,signal:C},D=J(this,$t).get(t);if(D===void 0){T&&(T.fetch="miss");let V=tt(this,io,Us).call(this,t,D,M,w);return V.__returned=V}else{let V=J(this,ft)[D];if(tt(this,At,Tt).call(this,V)){let Q=n&&V.__staleWhileFetching!==void 0;return T&&(T.fetch="inflight",Q&&(T.returnedStale=!0)),Q?V.__staleWhileFetching:V.__returned=V}let F=J(this,vr).call(this,D);if(!S&&!F)return T&&(T.fetch="hit"),tt(this,fi,ea).call(this,D),o&&J(this,si).call(this,D),T&&J(this,_n).call(this,T,D),V;let N=tt(this,io,Us).call(this,t,D,M,w),G=N.__staleWhileFetching!==void 0&&n;return T&&(T.fetch=F?"stale":"refresh",G&&F&&(T.returnedStale=!0)),G?N.__staleWhileFetching:N.__returned=N}}get(t,r={}){let{allowStale:n=this.allowStale,updateAgeOnGet:o=this.updateAgeOnGet,noDeleteOnStaleGet:a=this.noDeleteOnStaleGet,status:i}=r,f=J(this,$t).get(t);if(f!==void 0){let l=J(this,ft)[f],c=tt(this,At,Tt).call(this,l);return i&&J(this,_n).call(this,i,f),J(this,vr).call(this,f)?(i&&(i.get="stale"),c?(i&&n&&l.__staleWhileFetching!==void 0&&(i.returnedStale=!0),n?l.__staleWhileFetching:void 0):(a||this.delete(t),i&&n&&(i.returnedStale=!0),n?l:void 0)):(i&&(i.get="hit"),c?l.__staleWhileFetching:(tt(this,fi,ea).call(this,f),o&&J(this,si).call(this,f),l))}else i&&(i.get="miss")}delete(t){var n,o;let r=!1;if(J(this,jt)!==0){let a=J(this,$t).get(t);if(a!==void 0)if(r=!0,J(this,jt)===1)this.clear();else{J(this,ui).call(this,a);let i=J(this,ft)[a];tt(this,At,Tt).call(this,i)?i.__abortController.abort(new Error("deleted")):(J(this,tn)||J(this,cr))&&(J(this,tn)&&((n=J(this,en))==null||n.call(this,i,t,"delete")),J(this,cr)&&J(this,Jt)?.push([i,t,"delete"])),J(this,$t).delete(t),J(this,Rt)[a]=void 0,J(this,ft)[a]=void 0,a===J(this,Ht)?Ge(this,Ht,J(this,mr)[a]):a===J(this,nr)?Ge(this,nr,J(this,sr)[a]):(J(this,sr)[J(this,mr)[a]]=J(this,sr)[a],J(this,mr)[J(this,sr)[a]]=J(this,mr)[a]),Ia(this,jt)._--,J(this,qr).push(a)}}if(J(this,cr)&&J(this,Jt)?.length){let a=J(this,Jt),i;for(;i=a?.shift();)(o=J(this,$r))==null||o.call(this,...i)}return r}clear(){var t,r;for(let n of tt(this,nn,Hn).call(this,{allowStale:!0})){let o=J(this,ft)[n];if(tt(this,At,Tt).call(this,o))o.__abortController.abort(new Error("deleted"));else{let a=J(this,Rt)[n];J(this,tn)&&((t=J(this,en))==null||t.call(this,o,a,"delete")),J(this,cr)&&J(this,Jt)?.push([o,a,"delete"])}}if(J(this,$t).clear(),J(this,ft).fill(void 0),J(this,Rt).fill(void 0),J(this,Wr)&&J(this,bn)&&(J(this,Wr).fill(0),J(this,bn).fill(0)),J(this,wn)&&J(this,wn).fill(0),Ge(this,nr,0),Ge(this,Ht,0),J(this,qr).length=0,Ge(this,zr,0),Ge(this,jt,0),J(this,cr)&&J(this,Jt)){let n=J(this,Jt),o;for(;o=n?.shift();)(r=J(this,$r))==null||r.call(this,...o)}}},Ms=Ul;jr=new WeakMap,gr=new WeakMap,en=new WeakMap,$r=new WeakMap,to=new WeakMap,jt=new WeakMap,zr=new WeakMap,$t=new WeakMap,Rt=new WeakMap,ft=new WeakMap,sr=new WeakMap,mr=new WeakMap,nr=new WeakMap,Ht=new WeakMap,qr=new WeakMap,Jt=new WeakMap,wn=new WeakMap,bn=new WeakMap,Wr=new WeakMap,tn=new WeakMap,Zn=new WeakMap,cr=new WeakMap,ta=new WeakSet,kl=function(){let t=new Qi(J(this,jr)),r=new Qi(J(this,jr));Ge(this,Wr,t),Ge(this,bn,r),Ge(this,ra,(a,i,f=Qo.now())=>{if(r[a]=i!==0?f:0,t[a]=i,i!==0&&this.ttlAutopurge){let l=setTimeout(()=>{J(this,vr).call(this,a)&&this.delete(J(this,Rt)[a])},i+1);l.unref&&l.unref()}}),Ge(this,si,a=>{r[a]=t[a]!==0?Qo.now():0}),Ge(this,_n,(a,i)=>{if(t[i]){let f=t[i],l=r[i];a.ttl=f,a.start=l,a.now=n||o();let c=a.now-l;a.remainingTTL=f-c}});let n=0,o=()=>{let a=Qo.now();if(this.ttlResolution>0){n=a;let i=setTimeout(()=>n=0,this.ttlResolution);i.unref&&i.unref()}return a};this.getRemainingTTL=a=>{let i=J(this,$t).get(a);if(i===void 0)return 0;let f=t[i],l=r[i];if(f===0||l===0)return 1/0;let c=(n||o())-l;return f-c},Ge(this,vr,a=>t[a]!==0&&r[a]!==0&&(n||o())-r[a]>t[a])},si=new WeakMap,_n=new WeakMap,ra=new WeakMap,vr=new WeakMap,js=new WeakSet,J0=function(){let t=new Qi(J(this,jr));Ge(this,zr,0),Ge(this,wn,t),Ge(this,ui,r=>{Ge(this,zr,J(this,zr)-t[r]),t[r]=0}),Ge(this,na,(r,n,o,a)=>{if(tt(this,At,Tt).call(this,n))return 0;if(!qn(o))if(a){if(typeof a!="function")throw new TypeError("sizeCalculation must be a function");if(o=a(n,r),!qn(o))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return o}),Ge(this,ro,(r,n,o)=>{if(t[r]=n,J(this,gr)){let a=J(this,gr)-t[r];for(;J(this,zr)>a;)tt(this,no,Ps).call(this,!0)}Ge(this,zr,J(this,zr)+t[r]),o&&(o.entrySize=n,o.totalCalculatedSize=J(this,zr))})},ui=new WeakMap,ro=new WeakMap,na=new WeakMap,rn=new WeakSet,Wn=function*({allowStale:t=this.allowStale}={}){if(J(this,jt))for(let r=J(this,Ht);!(!tt(this,ia,Fl).call(this,r)||((t||!J(this,vr).call(this,r))&&(yield r),r===J(this,nr)));)r=J(this,mr)[r]},nn=new WeakSet,Hn=function*({allowStale:t=this.allowStale}={}){if(J(this,jt))for(let r=J(this,nr);!(!tt(this,ia,Fl).call(this,r)||((t||!J(this,vr).call(this,r))&&(yield r),r===J(this,Ht)));)r=J(this,sr)[r]},ia=new WeakSet,Fl=function(t){return t!==void 0&&J(this,$t).get(J(this,Rt)[t])===t},no=new WeakSet,Ps=function(t){var a;let r=J(this,nr),n=J(this,Rt)[r],o=J(this,ft)[r];return J(this,Zn)&&tt(this,At,Tt).call(this,o)?o.__abortController.abort(new Error("evicted")):(J(this,tn)||J(this,cr))&&(J(this,tn)&&((a=J(this,en))==null||a.call(this,o,n,"evict")),J(this,cr)&&J(this,Jt)?.push([o,n,"evict"])),J(this,ui).call(this,r),t&&(J(this,Rt)[r]=void 0,J(this,ft)[r]=void 0,J(this,qr).push(r)),J(this,jt)===1?(Ge(this,nr,Ge(this,Ht,0)),J(this,qr).length=0):Ge(this,nr,J(this,sr)[r]),J(this,$t).delete(n),Ia(this,jt)._--,r},io=new WeakSet,Us=function(t,r,n,o){let a=r===void 0?void 0:J(this,ft)[r];if(tt(this,At,Tt).call(this,a))return a;let i=new Ds,{signal:f}=n;f?.addEventListener("abort",()=>i.abort(f.reason),{signal:i.signal});let l={signal:i.signal,options:n,context:o},c=(w,S=!1)=>{let{aborted:T}=i.signal,C=n.ignoreFetchAbort&&w!==void 0;if(n.status&&(T&&!S?(n.status.fetchAborted=!0,n.status.fetchError=i.signal.reason,C&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),T&&!C&&!S)return y(i.signal.reason);let M=_;return J(this,ft)[r]===_&&(w===void 0?M.__staleWhileFetching?J(this,ft)[r]=M.__staleWhileFetching:this.delete(t):(n.status&&(n.status.fetchUpdated=!0),this.set(t,w,l.options))),w},d=w=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=w),y(w)),y=w=>{let{aborted:S}=i.signal,T=S&&n.allowStaleOnFetchAbort,C=T||n.allowStaleOnFetchRejection,M=C||n.noDeleteOnFetchRejection,D=_;if(J(this,ft)[r]===_&&(!M||D.__staleWhileFetching===void 0?this.delete(t):T||(J(this,ft)[r]=D.__staleWhileFetching)),C)return n.status&&D.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),D.__staleWhileFetching;if(D.__returned===D)throw w},v=(w,S)=>{var C;let T=(C=J(this,to))==null?void 0:C.call(this,t,a,l);T&&T instanceof Promise&&T.then(M=>w(M),S),i.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(w(),n.allowStaleOnFetchAbort&&(w=M=>c(M,!0)))})};n.status&&(n.status.fetchDispatched=!0);let _=new Promise(v).then(c,d),h=Object.assign(_,{__abortController:i,__staleWhileFetching:a,__returned:void 0});return r===void 0?(this.set(t,h,{...l.options,status:void 0}),r=J(this,$t).get(t)):J(this,ft)[r]=h,h},At=new WeakSet,Tt=function(t){if(!J(this,Zn))return!1;let r=t;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof Ds},oa=new WeakSet,Pl=function(t,r){J(this,mr)[r]=t,J(this,sr)[t]=r},fi=new WeakSet,ea=function(t){t!==J(this,Ht)&&(t===J(this,nr)?Ge(this,nr,J(this,sr)[t]):tt(this,oa,Pl).call(this,J(this,mr)[t],J(this,sr)[t]),tt(this,oa,Pl).call(this,J(this,Ht),t),Ge(this,Ht,t))};var b_=Jn(tv()),__=Jn(Ov());$();z();q();H();W();$();z();q();H();W();Na();Na();var zt={},Iv=!1;function BT(){return Iv||(Iv=!0,zt.endianness=function(){return"LE"},zt.hostname=function(){return typeof location<"u"?location.hostname:""},zt.loadavg=function(){return[]},zt.uptime=function(){return 0},zt.freemem=function(){return Number.MAX_VALUE},zt.totalmem=function(){return Number.MAX_VALUE},zt.cpus=function(){return[]},zt.type=function(){return"Browser"},zt.release=function(){return typeof navigator<"u"?navigator.appVersion:""},zt.networkInterfaces=zt.getNetworkInterfaces=function(){return{}},zt.arch=function(){return"javascript"},zt.platform=function(){return"browser"},zt.tmpdir=zt.tmpDir=function(){return"/tmp"},zt.EOL=` `,zt.homedir=function(){return"/"}),zt}var st=BT();st.endianness;st.hostname;st.loadavg;st.uptime;st.freemem;st.totalmem;st.cpus;st.type;st.release;st.networkInterfaces;st.getNetworkInterfaces;st.arch;st.platform;st.tmpdir;st.tmpDir;st.EOL;st.homedir;var CT=new Uint8Array(new Uint16Array([1]).buffer)[0]===1?"LE":"BE";st.endianness=function(){return CT};st.homedir=function(){return"/home"};st.version=function(){return""};st.arch=function(){return"x64"};st.totalmem=function(){return navigator.deviceMemory!==void 0?navigator.deviceMemory*(1<<30):2*(1<<30)};st.cpus=function(){return Array(navigator.hardwareConcurrency||0).fill({model:"",times:{}})};st.uptime=Ro;st.constants={};var iz=st.version,oz=st.constants,az=st.EOL,sz=st.arch,uz=st.cpus,fz=st.endianness,lz=st.freemem,cz=st.getNetworkInterfaces,hz=st.homedir,pz=st.hostname,dz=st.loadavg,yz=st.networkInterfaces,gz=st.platform,mz=st.release,vz=st.tmpDir,wz=st.tmpdir,bz=st.totalmem,_z=st.type;$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();var Gl={},xv=!1,fo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se;function NT(){if(xv)return Gl;xv=!0;var e=Gl={},t,r;function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?t=setTimeout:t=n}catch{t=n}try{typeof clearTimeout=="function"?r=clearTimeout:r=o}catch{r=o}})();function a(w){if(t===setTimeout)return setTimeout(w,0);if((t===n||!t)&&setTimeout)return t=setTimeout,setTimeout(w,0);try{return t(w,0)}catch{try{return t.call(null,w,0)}catch{return t.call(this||fo,w,0)}}}function i(w){if(r===clearTimeout)return clearTimeout(w);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(w);try{return r(w)}catch{try{return r.call(null,w)}catch{return r.call(this||fo,w)}}}var f=[],l=!1,c,d=-1;function y(){!l||!c||(l=!1,c.length?f=c.concat(f):d=-1,f.length&&v())}function v(){if(!l){var w=a(y);l=!0;for(var S=f.length;S;){for(c=f,f=[];++d1)for(var T=1;T2){var _=f.lastIndexOf("/");if(_!==f.length-1){_===-1?(f="",l=0):(f=f.slice(0,_),l=f.length-1-f.lastIndexOf("/")),c=v,d=0;continue}}else if(f.length===2||f.length===1){f="",l=0,c=v,d=0;continue}}i&&(f.length>0?f+="/..":f="..",l=2)}else f.length>0?f+="/"+a.slice(c+1,v):f=a.slice(c+1,v),l=v-c-1;c=v,d=0}else y===46&&d!==-1?++d:d=-1}return f}function n(a,i){var f=i.dir||i.root,l=i.base||(i.name||"")+(i.ext||"");return f?f===i.root?f+l:f+a+l:l}var o={resolve:function(){for(var i="",f=!1,l,c=arguments.length-1;c>=-1&&!f;c--){var d;c>=0?d=arguments[c]:(l===void 0&&(l=e.cwd()),d=l),t(d),d.length!==0&&(i=d+"/"+i,f=d.charCodeAt(0)===47)}return i=r(i,!f),f?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(t(i),i.length===0)return".";var f=i.charCodeAt(0)===47,l=i.charCodeAt(i.length-1)===47;return i=r(i,!f),i.length===0&&!f&&(i="."),i.length>0&&l&&(i+="/"),f?"/"+i:i},isAbsolute:function(i){return t(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,f=0;f0&&(i===void 0?i=l:i+="/"+l)}return i===void 0?".":o.normalize(i)},relative:function(i,f){if(t(i),t(f),i===f||(i=o.resolve(i),f=o.resolve(f),i===f))return"";for(var l=1;lh){if(f.charCodeAt(y+S)===47)return f.slice(y+S+1);if(S===0)return f.slice(y+S)}else d>h&&(i.charCodeAt(l+S)===47?w=S:S===0&&(w=0));break}var T=i.charCodeAt(l+S),C=f.charCodeAt(y+S);if(T!==C)break;T===47&&(w=S)}var M="";for(S=l+w+1;S<=c;++S)(S===c||i.charCodeAt(S)===47)&&(M.length===0?M+="..":M+="/..");return M.length>0?M+f.slice(y+w):(y+=w,f.charCodeAt(y)===47&&++y,f.slice(y))},_makeLong:function(i){return i},dirname:function(i){if(t(i),i.length===0)return".";for(var f=i.charCodeAt(0),l=f===47,c=-1,d=!0,y=i.length-1;y>=1;--y)if(f=i.charCodeAt(y),f===47){if(!d){c=y;break}}else d=!1;return c===-1?l?"/":".":l&&c===1?"//":i.slice(0,c)},basename:function(i,f){if(f!==void 0&&typeof f!="string")throw new TypeError('"ext" argument must be a string');t(i);var l=0,c=-1,d=!0,y;if(f!==void 0&&f.length>0&&f.length<=i.length){if(f.length===i.length&&f===i)return"";var v=f.length-1,_=-1;for(y=i.length-1;y>=0;--y){var h=i.charCodeAt(y);if(h===47){if(!d){l=y+1;break}}else _===-1&&(d=!1,_=y+1),v>=0&&(h===f.charCodeAt(v)?--v===-1&&(c=y):(v=-1,c=_))}return l===c?c=_:c===-1&&(c=i.length),i.slice(l,c)}else{for(y=i.length-1;y>=0;--y)if(i.charCodeAt(y)===47){if(!d){l=y+1;break}}else c===-1&&(d=!1,c=y+1);return c===-1?"":i.slice(l,c)}},extname:function(i){t(i);for(var f=-1,l=0,c=-1,d=!0,y=0,v=i.length-1;v>=0;--v){var _=i.charCodeAt(v);if(_===47){if(!d){l=v+1;break}continue}c===-1&&(d=!1,c=v+1),_===46?f===-1?f=v:y!==1&&(y=1):f!==-1&&(y=-1)}return f===-1||c===-1||y===0||y===1&&f===c-1&&f===l+1?"":i.slice(f,c)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){t(i);var f={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return f;var l=i.charCodeAt(0),c=l===47,d;c?(f.root="/",d=1):d=0;for(var y=-1,v=0,_=-1,h=!0,w=i.length-1,S=0;w>=d;--w){if(l=i.charCodeAt(w),l===47){if(!h){v=w+1;break}continue}_===-1&&(h=!1,_=w+1),l===46?y===-1?y=w:S!==1&&(S=1):y!==-1&&(S=-1)}return y===-1||_===-1||S===0||S===1&&y===_-1&&y===v+1?_!==-1&&(v===0&&c?f.base=f.name=i.slice(1,_):f.base=f.name=i.slice(v,_)):(v===0&&c?(f.name=i.slice(1,y),f.base=i.slice(1,_)):(f.name=i.slice(v,y),f.base=i.slice(v,_)),f.ext=i.slice(y,_)),v>0?f.dir=i.slice(0,v-1):c&&(f.dir="/"),f},sep:"/",delimiter:":",win32:null,posix:null};return o.posix=o,Yl=o,Yl}var Ot=LT();var Wz=Ot._makeLong,Hz=Ot.basename,Zz=Ot.delimiter,Vz=Ot.dirname,Gz=Ot.extname,Yz=Ot.format,Kz=Ot.isAbsolute,Xz=Ot.join,Jz=Ot.normalize,Qz=Ot.parse,e9=Ot.posix,t9=Ot.relative,r9=Ot.resolve,sa=Ot.sep,n9=Ot.win32;var w_=Jn(Cv());$();z();q();H();W();$();z();q();H();W();function Nv(){throw new Error("Node.js child_process is not supported by JSPM core in the browser")}$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();var kv,An,Rn,co=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se,Pt=kv={};function Kl(){throw new Error("setTimeout has not been defined")}function Xl(){throw new Error("clearTimeout has not been defined")}function Fv(e){if(An===setTimeout)return setTimeout(e,0);if((An===Kl||!An)&&setTimeout)return An=setTimeout,setTimeout(e,0);try{return An(e,0)}catch{try{return An.call(null,e,0)}catch{return An.call(this||co,e,0)}}}(function(){try{An=typeof setTimeout=="function"?setTimeout:Kl}catch{An=Kl}try{Rn=typeof clearTimeout=="function"?clearTimeout:Xl}catch{Rn=Xl}})();var pi,Tn=[],lo=!1,Ws=-1;function jT(){lo&&pi&&(lo=!1,pi.length?Tn=pi.concat(Tn):Ws=-1,Tn.length&&Pv())}function Pv(){if(!lo){var e=Fv(jT);lo=!0;for(var t=Tn.length;t;){for(pi=Tn,Tn=[];++Ws1)for(var r=1;r=0&&rc.call(e)!=="[object Array]"&&rc.call(e.callee)==="[object Function]"},zT=function(){return nu(arguments)}();nu.isLegacyArguments=Gv;var qT=zT?nu:Gv,WT=Object.prototype.toString,HT=Function.prototype.toString,ZT=/^\s*(?:function)?\*/,Yv=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Kv=Object.getPrototypeOf,Uv=function(){if(!Yv)return!1;try{return Function("return function*() {}")()}catch{}}(),VT=Uv?Kv(Uv):{},GT=function(e){return typeof e=="function"&&(!!ZT.test(HT.call(e))||(Yv?Kv(e)===VT:WT.call(e)==="[object GeneratorFunction]"))},YT=typeof Object.create=="function"?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}},Xv=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"},ct={},KT=Xv,XT=qT,JT=GT;function gi(e){return e.call.bind(e)}var Jv=typeof BigInt<"u",nc=typeof Symbol<"u",br=nc&&Symbol.toStringTag!==void 0,pr=typeof Uint8Array<"u",QT=typeof ArrayBuffer<"u";if(pr&&br)var eO=Object.getPrototypeOf(Uint8Array.prototype),xr=gi(Object.getOwnPropertyDescriptor(eO,Symbol.toStringTag).get);var Bt=gi(Object.prototype.toString),tO=gi(Number.prototype.valueOf),rO=gi(String.prototype.valueOf),nO=gi(Boolean.prototype.valueOf);if(Jv)var iO=gi(BigInt.prototype.valueOf);if(nc)var oO=gi(Symbol.prototype.valueOf);function ca(e,t){if(typeof e!="object")return!1;try{return t(e),!0}catch{return!1}}function Dv(e){return pr&&br?xr(e)!==void 0:Qv(e)||ew(e)||tw(e)||rw(e)||nw(e)||iw(e)||ow(e)||aw(e)||sw(e)||uw(e)||fw(e)}function Qv(e){return pr&&br?xr(e)==="Uint8Array":Bt(e)==="[object Uint8Array]"||KT(e)&&e.buffer!==void 0}function ew(e){return pr&&br?xr(e)==="Uint8ClampedArray":Bt(e)==="[object Uint8ClampedArray]"}function tw(e){return pr&&br?xr(e)==="Uint16Array":Bt(e)==="[object Uint16Array]"}function rw(e){return pr&&br?xr(e)==="Uint32Array":Bt(e)==="[object Uint32Array]"}function nw(e){return pr&&br?xr(e)==="Int8Array":Bt(e)==="[object Int8Array]"}function iw(e){return pr&&br?xr(e)==="Int16Array":Bt(e)==="[object Int16Array]"}function ow(e){return pr&&br?xr(e)==="Int32Array":Bt(e)==="[object Int32Array]"}function aw(e){return pr&&br?xr(e)==="Float32Array":Bt(e)==="[object Float32Array]"}function sw(e){return pr&&br?xr(e)==="Float64Array":Bt(e)==="[object Float64Array]"}function uw(e){return pr&&br?xr(e)==="BigInt64Array":Bt(e)==="[object BigInt64Array]"}function fw(e){return pr&&br?xr(e)==="BigUint64Array":Bt(e)==="[object BigUint64Array]"}function Hs(e){return Bt(e)==="[object Map]"}function Zs(e){return Bt(e)==="[object Set]"}function Vs(e){return Bt(e)==="[object WeakMap]"}function Jl(e){return Bt(e)==="[object WeakSet]"}function Xs(e){return Bt(e)==="[object ArrayBuffer]"}function Mv(e){return typeof ArrayBuffer<"u"&&(Xs.working?Xs(e):e instanceof ArrayBuffer)}function Js(e){return Bt(e)==="[object DataView]"}function jv(e){return typeof DataView<"u"&&(Js.working?Js(e):e instanceof DataView)}function Qs(e){return Bt(e)==="[object SharedArrayBuffer]"}function $v(e){return typeof SharedArrayBuffer<"u"&&(Qs.working?Qs(e):e instanceof SharedArrayBuffer)}function zv(e){return ca(e,tO)}function qv(e){return ca(e,rO)}function Wv(e){return ca(e,nO)}function Hv(e){return Jv&&ca(e,iO)}function Zv(e){return nc&&ca(e,oO)}ct.isArgumentsObject=XT,ct.isGeneratorFunction=JT,ct.isPromise=function(e){return typeof Promise<"u"&&e instanceof Promise||e!==null&&typeof e=="object"&&typeof e.then=="function"&&typeof e.catch=="function"},ct.isArrayBufferView=function(e){return QT&&ArrayBuffer.isView?ArrayBuffer.isView(e):Dv(e)||jv(e)},ct.isTypedArray=Dv,ct.isUint8Array=Qv,ct.isUint8ClampedArray=ew,ct.isUint16Array=tw,ct.isUint32Array=rw,ct.isInt8Array=nw,ct.isInt16Array=iw,ct.isInt32Array=ow,ct.isFloat32Array=aw,ct.isFloat64Array=sw,ct.isBigInt64Array=uw,ct.isBigUint64Array=fw,Hs.working=typeof Map<"u"&&Hs(new Map),ct.isMap=function(e){return typeof Map<"u"&&(Hs.working?Hs(e):e instanceof Map)},Zs.working=typeof Set<"u"&&Zs(new Set),ct.isSet=function(e){return typeof Set<"u"&&(Zs.working?Zs(e):e instanceof Set)},Vs.working=typeof WeakMap<"u"&&Vs(new WeakMap),ct.isWeakMap=function(e){return typeof WeakMap<"u"&&(Vs.working?Vs(e):e instanceof WeakMap)},Jl.working=typeof WeakSet<"u"&&Jl(new WeakSet),ct.isWeakSet=function(e){return Jl(e)},Xs.working=typeof ArrayBuffer<"u"&&Xs(new ArrayBuffer),ct.isArrayBuffer=Mv,Js.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&Js(new DataView(new ArrayBuffer(1),0,1)),ct.isDataView=jv,Qs.working=typeof SharedArrayBuffer<"u"&&Qs(new SharedArrayBuffer),ct.isSharedArrayBuffer=$v,ct.isAsyncFunction=function(e){return Bt(e)==="[object AsyncFunction]"},ct.isMapIterator=function(e){return Bt(e)==="[object Map Iterator]"},ct.isSetIterator=function(e){return Bt(e)==="[object Set Iterator]"},ct.isGeneratorObject=function(e){return Bt(e)==="[object Generator]"},ct.isWebAssemblyCompiledModule=function(e){return Bt(e)==="[object WebAssembly.Module]"},ct.isNumberObject=zv,ct.isStringObject=qv,ct.isBooleanObject=Wv,ct.isBigIntObject=Hv,ct.isSymbolObject=Zv,ct.isBoxedPrimitive=function(e){return zv(e)||qv(e)||Wv(e)||Hv(e)||Zv(e)},ct.isAnyArrayBuffer=function(e){return pr&&(Mv(e)||$v(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(ct,e,{enumerable:!1,value:function(){throw new Error(e+" is not supported in userland")}})});var ua=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se,Oe={},sn=Et,Vv=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=o)return f;switch(f){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return f}}),i=n[r];r=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),ic(t)?r.showHidden=t:t&&Oe._extend(r,t),yi(r.showHidden)&&(r.showHidden=!1),yi(r.depth)&&(r.depth=2),yi(r.colors)&&(r.colors=!1),yi(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=sO),eu(r,e,r.depth)}function sO(e,t){var r=Gn.styles[t];return r?"\x1B["+Gn.colors[r][0]+"m"+e+"\x1B["+Gn.colors[r][1]+"m":e}function uO(e,t){return e}function eu(e,t,r){if(e.customInspect&&t&&Ks(t.inspect)&&t.inspect!==Oe.inspect&&(!t.constructor||t.constructor.prototype!==t)){var n=t.inspect(r,e);return tu(n)||(n=eu(e,n,r)),n}var o=function(v,_){if(yi(_))return v.stylize("undefined","undefined");if(tu(_)){var h="'"+JSON.stringify(_).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return v.stylize(h,"string")}if(hw(_))return v.stylize(""+_,"number");if(ic(_))return v.stylize(""+_,"boolean");if(iu(_))return v.stylize("null","null")}(e,t);if(o)return o;var a=Object.keys(t),i=function(v){var _={};return v.forEach(function(h,w){_[h]=!0}),_}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(t)),la(t)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return Ql(t);if(a.length===0){if(Ks(t)){var f=t.name?": "+t.name:"";return e.stylize("[Function"+f+"]","special")}if(fa(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(ru(t))return e.stylize(Date.prototype.toString.call(t),"date");if(la(t))return Ql(t)}var l,c="",d=!1,y=["{","}"];return cw(t)&&(d=!0,y=["[","]"]),Ks(t)&&(c=" [Function"+(t.name?": "+t.name:"")+"]"),fa(t)&&(c=" "+RegExp.prototype.toString.call(t)),ru(t)&&(c=" "+Date.prototype.toUTCString.call(t)),la(t)&&(c=" "+Ql(t)),a.length!==0||d&&t.length!=0?r<0?fa(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special"):(e.seen.push(t),l=d?function(v,_,h,w,S){for(var T=[],C=0,M=_.length;C=0&&w++,S+T.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?h[0]+(_===""?"":_+` `)+" "+v.join(`, `)+" "+h[1]:h[0]+_+" "+v.join(", ")+" "+h[1]}(l,c,y)):y[0]+c+y[1]}function Ql(e){return"["+Error.prototype.toString.call(e)+"]"}function ec(e,t,r,n,o,a){var i,f,l;if((l=Object.getOwnPropertyDescriptor(t,o)||{value:t[o]}).get?f=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(f=e.stylize("[Setter]","special")),pw(n,o)||(i="["+o+"]"),f||(e.seen.indexOf(l.value)<0?(f=iu(r)?eu(e,l.value,null):eu(e,l.value,r-1)).indexOf(` `)>-1&&(f=a?f.split(` `).map(function(c){return" "+c}).join(` `).substr(2):` `+f.split(` `).map(function(c){return" "+c}).join(` `)):f=e.stylize("[Circular]","special")),yi(i)){if(a&&o.match(/^\d+$/))return f;(i=JSON.stringify(""+o)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(i=i.substr(1,i.length-2),i=e.stylize(i,"name")):(i=i.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),i=e.stylize(i,"string"))}return i+": "+f}function cw(e){return Array.isArray(e)}function ic(e){return typeof e=="boolean"}function iu(e){return e===null}function hw(e){return typeof e=="number"}function tu(e){return typeof e=="string"}function yi(e){return e===void 0}function fa(e){return ho(e)&&oc(e)==="[object RegExp]"}function ho(e){return typeof e=="object"&&e!==null}function ru(e){return ho(e)&&oc(e)==="[object Date]"}function la(e){return ho(e)&&(oc(e)==="[object Error]"||e instanceof Error)}function Ks(e){return typeof e=="function"}function oc(e){return Object.prototype.toString.call(e)}function tc(e){return e<10?"0"+e.toString(10):e.toString(10)}Oe.debuglog=function(e){if(e=e.toUpperCase(),!Gs[e])if(lw.test(e)){var t=sn.pid;Gs[e]=function(){var r=Oe.format.apply(Oe,arguments);console.error("%s %d: %s",e,t,r)}}else Gs[e]=function(){};return Gs[e]},Oe.inspect=Gn,Gn.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},Gn.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},Oe.types=ct,Oe.isArray=cw,Oe.isBoolean=ic,Oe.isNull=iu,Oe.isNullOrUndefined=function(e){return e==null},Oe.isNumber=hw,Oe.isString=tu,Oe.isSymbol=function(e){return typeof e=="symbol"},Oe.isUndefined=yi,Oe.isRegExp=fa,Oe.types.isRegExp=fa,Oe.isObject=ho,Oe.isDate=ru,Oe.types.isDate=ru,Oe.isError=la,Oe.types.isNativeError=la,Oe.isFunction=Ks,Oe.isPrimitive=function(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||e===void 0},Oe.isBuffer=Xv;var fO=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function lO(){var e=new Date,t=[tc(e.getHours()),tc(e.getMinutes()),tc(e.getSeconds())].join(":");return[e.getDate(),fO[e.getMonth()],t].join(" ")}function pw(e,t){return Object.prototype.hasOwnProperty.call(e,t)}Oe.log=function(){console.log("%s - %s",lO(),Oe.format.apply(Oe,arguments))},Oe.inherits=YT,Oe._extend=function(e,t){if(!t||!ho(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var di=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;function cO(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}Oe.promisify=function(e){if(typeof e!="function")throw new TypeError('The "original" argument must be of type Function');if(di&&e[di]){var t;if(typeof(t=e[di])!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,di,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var r,n,o=new Promise(function(f,l){r=f,n=l}),a=[],i=0;i0?o-4:o;for(r=0;r>16&255,i[f++]=t>>8&255,i[f++]=255&t;return a===2&&(t=_r[e.charCodeAt(r)]<<2|_r[e.charCodeAt(r+1)]>>4,i[f++]=255&t),a===1&&(t=_r[e.charCodeAt(r)]<<10|_r[e.charCodeAt(r+1)]<<4|_r[e.charCodeAt(r+2)]>>2,i[f++]=t>>8&255,i[f++]=255&t),i},fromByteArray:function(e){for(var t,r=e.length,n=r%3,o=[],a=0,i=r-n;ai?i:a+16383));return n===1?(t=e[r-1],o.push(Hr[t>>2]+Hr[t<<4&63]+"==")):n===2&&(t=(e[r-2]<<8)+e[r-1],o.push(Hr[t>>10]+Hr[t>>4&63]+Hr[t<<2&63]+"=")),o.join("")}},Hr=[],_r=[],dw=typeof Uint8Array<"u"?Uint8Array:Array,ou="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mi=0,yw=ou.length;mi0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return r===-1&&(r=t),[r,r===t?0:4-r%4]}function hO(e,t,r){for(var n,o,a=[],i=t;i>18&63]+Hr[o>>12&63]+Hr[o>>6&63]+Hr[63&o]);return a.join("")}_r["-".charCodeAt(0)]=62,_r["_".charCodeAt(0)]=63;var pO={read:function(e,t,r,n,o){var a,i,f=8*o-n-1,l=(1<>1,d=-7,y=r?o-1:0,v=r?-1:1,_=e[t+y];for(y+=v,a=_&(1<<-d)-1,_>>=-d,d+=f;d>0;a=256*a+e[t+y],y+=v,d-=8);for(i=a&(1<<-d)-1,a>>=-d,d+=n;d>0;i=256*i+e[t+y],y+=v,d-=8);if(a===0)a=1-c;else{if(a===l)return i?NaN:1/0*(_?-1:1);i+=Math.pow(2,n),a-=c}return(_?-1:1)*i*Math.pow(2,a-n)},write:function(e,t,r,n,o,a){var i,f,l,c=8*a-o-1,d=(1<>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:a-1,h=n?1:-1,w=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,i=d):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),(t+=i+y>=1?v/l:v*Math.pow(2,1-y))*l>=2&&(i++,l/=2),i+y>=d?(f=0,i=d):i+y>=1?(f=(t*l-1)*Math.pow(2,o),i+=y):(f=t*Math.pow(2,y-1)*Math.pow(2,o),i=0));o>=8;e[r+_]=255&f,_+=h,f/=256,o-=8);for(i=i<0;e[r+_]=255&i,_+=h,i/=256,c-=8);e[r+_-h]|=128*w}},xn={},uc=Rw,po=pO,mw=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;xn.Buffer=Le,xn.SlowBuffer=function(e){return+e!=e&&(e=0),Le.alloc(+e)},xn.INSPECT_MAX_BYTES=50;function On(e){if(e>2147483647)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,Le.prototype),t}function Le(e,t,r){if(typeof e=="number"){if(typeof t=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return fc(e)}return Tw(e,t,r)}function Tw(e,t,r){if(typeof e=="string")return function(a,i){if(typeof i=="string"&&i!==""||(i="utf8"),!Le.isEncoding(i))throw new TypeError("Unknown encoding: "+i);var f=0|Iw(a,i),l=On(f),c=l.write(a,i);return c!==f&&(l=l.slice(0,c)),l}(e,t);if(ArrayBuffer.isView(e))return ac(e);if(e==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(In(e,ArrayBuffer)||e&&In(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(In(e,SharedArrayBuffer)||e&&In(e.buffer,SharedArrayBuffer)))return vw(e,t,r);if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(n!=null&&n!==e)return Le.from(n,t,r);var o=function(a){if(Le.isBuffer(a)){var i=0|hc(a.length),f=On(i);return f.length===0||a.copy(f,0,0,i),f}if(a.length!==void 0)return typeof a.length!="number"||pc(a.length)?On(0):ac(a);if(a.type==="Buffer"&&Array.isArray(a.data))return ac(a.data)}(e);if(o)return o;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]=="function")return Le.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function Ow(e){if(typeof e!="number")throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function fc(e){return Ow(e),On(e<0?0:0|hc(e))}function ac(e){for(var t=e.length<0?0:0|hc(e.length),r=On(t),n=0;n=2147483647)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+2147483647 .toString(16)+" bytes");return 0|e}function Iw(e,t){if(Le.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||In(e,ArrayBuffer))return e.byteLength;if(typeof e!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&arguments[2]===!0;if(!n&&r===0)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return lc(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Nw(e).length;default:if(o)return n?-1:lc(e).length;t=(""+t).toLowerCase(),o=!0}}function dO(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return SO(this,t,r);case"utf8":case"utf-8":return Bw(this,t,r);case"ascii":return _O(this,t,r);case"latin1":case"binary":return EO(this,t,r);case"base64":return bO(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return AO(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function vi(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function ww(e,t,r,n,o){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),pc(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if(typeof t=="string"&&(t=Le.from(t,n)),Le.isBuffer(t))return t.length===0?-1:bw(e,t,r,n,o);if(typeof t=="number")return t&=255,typeof Uint8Array.prototype.indexOf=="function"?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):bw(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function bw(e,t,r,n,o){var a,i=1,f=e.length,l=t.length;if(n!==void 0&&((n=String(n).toLowerCase())==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;i=2,f/=2,l/=2,r/=2}function c(_,h){return i===1?_[h]:_.readUInt16BE(h*i)}if(o){var d=-1;for(a=r;af&&(r=f-l),a=r;a>=0;a--){for(var y=!0,v=0;vo&&(n=o):n=o;var a=t.length;n>a/2&&(n=a/2);for(var i=0;i>8,l=i%256,c.push(l),c.push(f);return c}(t,e.length-r),e,r,n)}function bO(e,t,r){return t===0&&r===e.length?uc.fromByteArray(e):uc.fromByteArray(e.slice(t,r))}function Bw(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o239?4:c>223?3:c>191?2:1;if(o+y<=r)switch(y){case 1:c<128&&(d=c);break;case 2:(192&(a=e[o+1]))==128&&(l=(31&c)<<6|63&a)>127&&(d=l);break;case 3:a=e[o+1],i=e[o+2],(192&a)==128&&(192&i)==128&&(l=(15&c)<<12|(63&a)<<6|63&i)>2047&&(l<55296||l>57343)&&(d=l);break;case 4:a=e[o+1],i=e[o+2],f=e[o+3],(192&a)==128&&(192&i)==128&&(192&f)==128&&(l=(15&c)<<18|(63&a)<<12|(63&i)<<6|63&f)>65535&&l<1114112&&(d=l)}d===null?(d=65533,y=1):d>65535&&(d-=65536,n.push(d>>>10&1023|55296),d=56320|1023&d),n.push(d),o+=y}return function(v){var _=v.length;if(_<=4096)return String.fromCharCode.apply(String,v);for(var h="",w=0;w<_;)h+=String.fromCharCode.apply(String,v.slice(w,w+=4096));return h}(n)}xn.kMaxLength=2147483647,Le.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}(),Le.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(Le.prototype,"parent",{enumerable:!0,get:function(){if(Le.isBuffer(this))return this.buffer}}),Object.defineProperty(Le.prototype,"offset",{enumerable:!0,get:function(){if(Le.isBuffer(this))return this.byteOffset}}),Le.poolSize=8192,Le.from=function(e,t,r){return Tw(e,t,r)},Object.setPrototypeOf(Le.prototype,Uint8Array.prototype),Object.setPrototypeOf(Le,Uint8Array),Le.alloc=function(e,t,r){return function(n,o,a){return Ow(n),n<=0?On(n):o!==void 0?typeof a=="string"?On(n).fill(o,a):On(n).fill(o):On(n)}(e,t,r)},Le.allocUnsafe=function(e){return fc(e)},Le.allocUnsafeSlow=function(e){return fc(e)},Le.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==Le.prototype},Le.compare=function(e,t){if(In(e,Uint8Array)&&(e=Le.from(e,e.offset,e.byteLength)),In(t,Uint8Array)&&(t=Le.from(t,t.offset,t.byteLength)),!Le.isBuffer(e)||!Le.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);ot&&(e+=" ... "),""},mw&&(Le.prototype[mw]=Le.prototype.inspect),Le.prototype.compare=function(e,t,r,n,o){if(In(e,Uint8Array)&&(e=Le.from(e,e.offset,e.byteLength)),!Le.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),r===void 0&&(r=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var a=(o>>>=0)-(n>>>=0),i=(r>>>=0)-(t>>>=0),f=Math.min(a,i),l=this.slice(n,o),c=e.slice(t,r),d=0;d>>=0,isFinite(r)?(r>>>=0,n===void 0&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((r===void 0||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return yO(this,e,t,r);case"utf8":case"utf-8":return gO(this,e,t,r);case"ascii":return xw(this,e,t,r);case"latin1":case"binary":return mO(this,e,t,r);case"base64":return vO(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wO(this,e,t,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},Le.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function _O(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;on)&&(r=n);for(var o="",a=t;ar)throw new RangeError("Trying to access beyond buffer length")}function dr(e,t,r,n,o,a){if(!Le.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function Cw(e,t,r,n,o,a){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function _w(e,t,r,n,o){return t=+t,r>>>=0,o||Cw(e,0,r,4),po.write(e,t,r,n,23,4),r+4}function Ew(e,t,r,n,o){return t=+t,r>>>=0,o||Cw(e,0,r,8),po.write(e,t,r,n,52,8),r+8}Le.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=t===void 0?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t>>=0,t>>>=0,r||Vt(e,t,this.length);for(var n=this[e],o=1,a=0;++a>>=0,t>>>=0,r||Vt(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},Le.prototype.readUInt8=function(e,t){return e>>>=0,t||Vt(e,1,this.length),this[e]},Le.prototype.readUInt16LE=function(e,t){return e>>>=0,t||Vt(e,2,this.length),this[e]|this[e+1]<<8},Le.prototype.readUInt16BE=function(e,t){return e>>>=0,t||Vt(e,2,this.length),this[e]<<8|this[e+1]},Le.prototype.readUInt32LE=function(e,t){return e>>>=0,t||Vt(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},Le.prototype.readUInt32BE=function(e,t){return e>>>=0,t||Vt(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},Le.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||Vt(e,t,this.length);for(var n=this[e],o=1,a=0;++a=(o*=128)&&(n-=Math.pow(2,8*t)),n},Le.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||Vt(e,t,this.length);for(var n=t,o=1,a=this[e+--n];n>0&&(o*=256);)a+=this[e+--n]*o;return a>=(o*=128)&&(a-=Math.pow(2,8*t)),a},Le.prototype.readInt8=function(e,t){return e>>>=0,t||Vt(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},Le.prototype.readInt16LE=function(e,t){e>>>=0,t||Vt(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},Le.prototype.readInt16BE=function(e,t){e>>>=0,t||Vt(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},Le.prototype.readInt32LE=function(e,t){return e>>>=0,t||Vt(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},Le.prototype.readInt32BE=function(e,t){return e>>>=0,t||Vt(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},Le.prototype.readFloatLE=function(e,t){return e>>>=0,t||Vt(e,4,this.length),po.read(this,e,!0,23,4)},Le.prototype.readFloatBE=function(e,t){return e>>>=0,t||Vt(e,4,this.length),po.read(this,e,!1,23,4)},Le.prototype.readDoubleLE=function(e,t){return e>>>=0,t||Vt(e,8,this.length),po.read(this,e,!0,52,8)},Le.prototype.readDoubleBE=function(e,t){return e>>>=0,t||Vt(e,8,this.length),po.read(this,e,!1,52,8)},Le.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||dr(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,a=0;for(this[t]=255&e;++a>>=0,r>>>=0,n||dr(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},Le.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,1,255,0),this[t]=255&e,t+1},Le.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},Le.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},Le.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},Le.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Le.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);dr(this,e,t,r,o-1,-o)}var a=0,i=1,f=0;for(this[t]=255&e;++a>0)-f&255;return t+r},Le.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);dr(this,e,t,r,o-1,-o)}var a=r-1,i=1,f=0;for(this[t+a]=255&e;--a>=0&&(i*=256);)e<0&&f===0&&this[t+a+1]!==0&&(f=1),this[t+a]=(e/i>>0)-f&255;return t+r},Le.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},Le.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},Le.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},Le.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},Le.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||dr(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},Le.prototype.writeFloatLE=function(e,t,r){return _w(this,e,t,!0,r)},Le.prototype.writeFloatBE=function(e,t,r){return _w(this,e,t,!1,r)},Le.prototype.writeDoubleLE=function(e,t,r){return Ew(this,e,t,!0,r)},Le.prototype.writeDoubleBE=function(e,t,r){return Ew(this,e,t,!1,r)},Le.prototype.copy=function(e,t,r,n){if(!Le.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||n===0||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return o},Le.prototype.fill=function(e,t,r,n){if(typeof e=="string"){if(typeof t=="string"?(n=t,t=0,r=this.length):typeof r=="string"&&(n=r,r=this.length),n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!Le.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(e.length===1){var o=e.charCodeAt(0);(n==="utf8"&&o<128||n==="latin1")&&(e=o)}}else typeof e=="number"?e&=255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length>>=0,r=r===void 0?this.length:r>>>0,e||(e=0),typeof e=="number")for(a=t;a55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&a.push(239,191,189);continue}if(i+1===n){(t-=3)>-1&&a.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&a.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function Nw(e){return uc.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(RO,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(e))}function uu(e,t,r,n){for(var o=0;o=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function In(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function pc(e){return e!=e}var TO=function(){for(var e=new Array(256),t=0;t<16;++t)for(var r=16*t,n=0;n<16;++n)e[r+n]="0123456789abcdef"[t]+"0123456789abcdef"[n];return e}();xn.Buffer;xn.INSPECT_MAX_BYTES;xn.kMaxLength;var au={},su=xn,un=su.Buffer;function Sw(e,t){for(var r in e)t[r]=e[r]}function wi(e,t,r){return un(e,t,r)}un.from&&un.alloc&&un.allocUnsafe&&un.allocUnsafeSlow?au=su:(Sw(su,au),au.Buffer=wi),wi.prototype=Object.create(un.prototype),Sw(un,wi),wi.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return un(e,t,r)},wi.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=un(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n},wi.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return un(e)},wi.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return su.SlowBuffer(e)};var OO=au,yo={},cc=OO.Buffer,Aw=cc.isEncoding||function(e){switch((e=""+e)&&e.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 ha(e){var t;switch(this.encoding=function(r){var n=function(o){if(!o)return"utf8";for(var a;;)switch(o){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 o;default:if(a)return;o=(""+o).toLowerCase(),a=!0}}(r);if(typeof n!="string"&&(cc.isEncoding===Aw||!Aw(r)))throw new Error("Unknown encoding: "+r);return n||r}(e),this.encoding){case"utf16le":this.text=xO,this.end=BO,t=4;break;case"utf8":this.fillLast=IO,t=4;break;case"base64":this.text=CO,this.end=NO,t=3;break;default:return this.write=LO,this.end=kO,void 0}this.lastNeed=0,this.lastTotal=0,this.lastChar=cc.allocUnsafe(t)}function sc(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function IO(e){var t=this.lastTotal-this.lastNeed,r=function(n,o,a){if((192&o[0])!=128)return n.lastNeed=0,"\uFFFD";if(n.lastNeed>1&&o.length>1){if((192&o[1])!=128)return n.lastNeed=1,"\uFFFD";if(n.lastNeed>2&&o.length>2&&(192&o[2])!=128)return n.lastNeed=2,"\uFFFD"}}(this,e);return r!==void 0?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length,void 0)}function xO(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function BO(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function CO(e,t){var r=(e.length-t)%3;return r===0?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,r===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function NO(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function LO(e){return e.toString(this.encoding)}function kO(e){return e&&e.length?this.write(e):""}yo.StringDecoder=ha,ha.prototype.write=function(e){if(e.length===0)return"";var t,r;if(this.lastNeed){if((t=this.fillLast(e))===void 0)return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(l>0&&(o.lastNeed=l-1),l):--f=0?(l>0&&(o.lastNeed=l-2),l):--f=0?(l>0&&(l===2?l=0:o.lastNeed=l-3),l):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},ha.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};yo.StringDecoder;yo.StringDecoder;var pa={},Lw=!1;function FO(){if(Lw)return pa;Lw=!0,pa.byteLength=f,pa.toByteArray=c,pa.fromByteArray=v;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var w=_.indexOf("=");w===-1&&(w=h);var S=w===h?0:4-w%4;return[w,S]}function f(_){var h=i(_),w=h[0],S=h[1];return(w+S)*3/4-S}function l(_,h,w){return(h+w)*3/4-w}function c(_){var h,w=i(_),S=w[0],T=w[1],C=new r(l(_,S,T)),M=0,D=T>0?S-4:S,V;for(V=0;V>16&255,C[M++]=h>>8&255,C[M++]=h&255;return T===2&&(h=t[_.charCodeAt(V)]<<2|t[_.charCodeAt(V+1)]>>4,C[M++]=h&255),T===1&&(h=t[_.charCodeAt(V)]<<10|t[_.charCodeAt(V+1)]<<4|t[_.charCodeAt(V+2)]>>2,C[M++]=h>>8&255,C[M++]=h&255),C}function d(_){return e[_>>18&63]+e[_>>12&63]+e[_>>6&63]+e[_&63]}function y(_,h,w){for(var S,T=[],C=h;CD?D:M+C));return S===1?(h=_[w-1],T.push(e[h>>2]+e[h<<4&63]+"==")):S===2&&(h=(_[w-2]<<8)+_[w-1],T.push(e[h>>10]+e[h>>4&63]+e[h<<2&63]+"=")),T.join("")}return pa}var fu={},kw=!1;function PO(){if(kw)return fu;kw=!0;return fu.read=function(e,t,r,n,o){var a,i,f=o*8-n-1,l=(1<>1,d=-7,y=r?o-1:0,v=r?-1:1,_=e[t+y];for(y+=v,a=_&(1<<-d)-1,_>>=-d,d+=f;d>0;a=a*256+e[t+y],y+=v,d-=8);for(i=a&(1<<-d)-1,a>>=-d,d+=n;d>0;i=i*256+e[t+y],y+=v,d-=8);if(a===0)a=1-c;else{if(a===l)return i?NaN:(_?-1:1)*(1/0);i=i+Math.pow(2,n),a=a-c}return(_?-1:1)*i*Math.pow(2,a-n)},fu.write=function(e,t,r,n,o,a){var i,f,l,c=a*8-o-1,d=(1<>1,v=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,_=n?0:a-1,h=n?1:-1,w=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(f=isNaN(t)?1:0,i=d):(i=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-i))<1&&(i--,l*=2),i+y>=1?t+=v/l:t+=v*Math.pow(2,1-y),t*l>=2&&(i++,l/=2),i+y>=d?(f=0,i=d):i+y>=1?(f=(t*l-1)*Math.pow(2,o),i=i+y):(f=t*Math.pow(2,y-1)*Math.pow(2,o),i=0));o>=8;e[r+_]=f&255,_+=h,f/=256,o-=8);for(i=i<0;e[r+_]=i&255,_+=h,i/=256,c-=8);e[r+_-h]|=w*128},fu}var bi={},Fw=!1;function UO(){if(Fw)return bi;Fw=!0;let e=FO(),t=PO(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;bi.Buffer=i,bi.SlowBuffer=T,bi.INSPECT_MAX_BYTES=50;let n=2147483647;bi.kMaxLength=n,i.TYPED_ARRAY_SUPPORT=o(),!i.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 o(){try{let p=new Uint8Array(1),s={foo:function(){return 42}};return Object.setPrototypeOf(s,Uint8Array.prototype),Object.setPrototypeOf(p,s),p.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function a(p){if(p>n)throw new RangeError('The value "'+p+'" is invalid for option "size"');let s=new Uint8Array(p);return Object.setPrototypeOf(s,i.prototype),s}function i(p,s,u){if(typeof p=="number"){if(typeof s=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return d(p)}return f(p,s,u)}i.poolSize=8192;function f(p,s,u){if(typeof p=="string")return y(p,s);if(ArrayBuffer.isView(p))return _(p);if(p==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p);if(et(p,ArrayBuffer)||p&&et(p.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(et(p,SharedArrayBuffer)||p&&et(p.buffer,SharedArrayBuffer)))return h(p,s,u);if(typeof p=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let b=p.valueOf&&p.valueOf();if(b!=null&&b!==p)return i.from(b,s,u);let L=w(p);if(L)return L;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof p[Symbol.toPrimitive]=="function")return i.from(p[Symbol.toPrimitive]("string"),s,u);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof p)}i.from=function(p,s,u){return f(p,s,u)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function l(p){if(typeof p!="number")throw new TypeError('"size" argument must be of type number');if(p<0)throw new RangeError('The value "'+p+'" is invalid for option "size"')}function c(p,s,u){return l(p),p<=0?a(p):s!==void 0?typeof u=="string"?a(p).fill(s,u):a(p).fill(s):a(p)}i.alloc=function(p,s,u){return c(p,s,u)};function d(p){return l(p),a(p<0?0:S(p)|0)}i.allocUnsafe=function(p){return d(p)},i.allocUnsafeSlow=function(p){return d(p)};function y(p,s){if((typeof s!="string"||s==="")&&(s="utf8"),!i.isEncoding(s))throw new TypeError("Unknown encoding: "+s);let u=C(p,s)|0,b=a(u),L=b.write(p,s);return L!==u&&(b=b.slice(0,L)),b}function v(p){let s=p.length<0?0:S(p.length)|0,u=a(s);for(let b=0;b=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return p|0}function T(p){return+p!=p&&(p=0),i.alloc(+p)}i.isBuffer=function(s){return s!=null&&s._isBuffer===!0&&s!==i.prototype},i.compare=function(s,u){if(et(s,Uint8Array)&&(s=i.from(s,s.offset,s.byteLength)),et(u,Uint8Array)&&(u=i.from(u,u.offset,u.byteLength)),!i.isBuffer(s)||!i.isBuffer(u))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(s===u)return 0;let b=s.length,L=u.length;for(let m=0,j=Math.min(b,L);mL.length?(i.isBuffer(j)||(j=i.from(j)),j.copy(L,m)):Uint8Array.prototype.set.call(L,j,m);else if(i.isBuffer(j))j.copy(L,m);else throw new TypeError('"list" argument must be an Array of Buffers');m+=j.length}return L};function C(p,s){if(i.isBuffer(p))return p.length;if(ArrayBuffer.isView(p)||et(p,ArrayBuffer))return p.byteLength;if(typeof p!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof p);let u=p.length,b=arguments.length>2&&arguments[2]===!0;if(!b&&u===0)return 0;let L=!1;for(;;)switch(s){case"ascii":case"latin1":case"binary":return u;case"utf8":case"utf-8":return De(p).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u*2;case"hex":return u>>>1;case"base64":return ot(p).length;default:if(L)return b?-1:De(p).length;s=(""+s).toLowerCase(),L=!0}}i.byteLength=C;function M(p,s,u){let b=!1;if((s===void 0||s<0)&&(s=0),s>this.length||((u===void 0||u>this.length)&&(u=this.length),u<=0)||(u>>>=0,s>>>=0,u<=s))return"";for(p||(p="utf8");;)switch(p){case"hex":return te(this,s,u);case"utf8":case"utf-8":return re(this,s,u);case"ascii":return Ne(this,s,u);case"latin1":case"binary":return ne(this,s,u);case"base64":return K(this,s,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ye(this,s,u);default:if(b)throw new TypeError("Unknown encoding: "+p);p=(p+"").toLowerCase(),b=!0}}i.prototype._isBuffer=!0;function D(p,s,u){let b=p[s];p[s]=p[u],p[u]=b}i.prototype.swap16=function(){let s=this.length;if(s%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let u=0;uu&&(s+=" ... "),""},r&&(i.prototype[r]=i.prototype.inspect),i.prototype.compare=function(s,u,b,L,m){if(et(s,Uint8Array)&&(s=i.from(s,s.offset,s.byteLength)),!i.isBuffer(s))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof s);if(u===void 0&&(u=0),b===void 0&&(b=s?s.length:0),L===void 0&&(L=0),m===void 0&&(m=this.length),u<0||b>s.length||L<0||m>this.length)throw new RangeError("out of range index");if(L>=m&&u>=b)return 0;if(L>=m)return-1;if(u>=b)return 1;if(u>>>=0,b>>>=0,L>>>=0,m>>>=0,this===s)return 0;let j=m-L,le=b-u,Be=Math.min(j,le),ee=this.slice(L,m),ue=s.slice(u,b);for(let I=0;I2147483647?u=2147483647:u<-2147483648&&(u=-2147483648),u=+u,bt(u)&&(u=L?0:p.length-1),u<0&&(u=p.length+u),u>=p.length){if(L)return-1;u=p.length-1}else if(u<0)if(L)u=0;else return-1;if(typeof s=="string"&&(s=i.from(s,b)),i.isBuffer(s))return s.length===0?-1:F(p,s,u,b,L);if(typeof s=="number")return s=s&255,typeof Uint8Array.prototype.indexOf=="function"?L?Uint8Array.prototype.indexOf.call(p,s,u):Uint8Array.prototype.lastIndexOf.call(p,s,u):F(p,[s],u,b,L);throw new TypeError("val must be string, number or Buffer")}function F(p,s,u,b,L){let m=1,j=p.length,le=s.length;if(b!==void 0&&(b=String(b).toLowerCase(),b==="ucs2"||b==="ucs-2"||b==="utf16le"||b==="utf-16le")){if(p.length<2||s.length<2)return-1;m=2,j/=2,le/=2,u/=2}function Be(ue,I){return m===1?ue[I]:ue.readUInt16BE(I*m)}let ee;if(L){let ue=-1;for(ee=u;eej&&(u=j-le),ee=u;ee>=0;ee--){let ue=!0;for(let I=0;IL&&(b=L)):b=L;let m=s.length;b>m/2&&(b=m/2);let j;for(j=0;j>>0,isFinite(b)?(b=b>>>0,L===void 0&&(L="utf8")):(L=b,b=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let m=this.length-u;if((b===void 0||b>m)&&(b=m),s.length>0&&(b<0||u<0)||u>this.length)throw new RangeError("Attempt to write outside buffer bounds");L||(L="utf8");let j=!1;for(;;)switch(L){case"hex":return N(this,s,u,b);case"utf8":case"utf-8":return x(this,s,u,b);case"ascii":case"latin1":case"binary":return G(this,s,u,b);case"base64":return Q(this,s,u,b);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Te(this,s,u,b);default:if(j)throw new TypeError("Unknown encoding: "+L);L=(""+L).toLowerCase(),j=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function K(p,s,u){return s===0&&u===p.length?e.fromByteArray(p):e.fromByteArray(p.slice(s,u))}function re(p,s,u){u=Math.min(p.length,u);let b=[],L=s;for(;L239?4:m>223?3:m>191?2:1;if(L+le<=u){let Be,ee,ue,I;switch(le){case 1:m<128&&(j=m);break;case 2:Be=p[L+1],(Be&192)===128&&(I=(m&31)<<6|Be&63,I>127&&(j=I));break;case 3:Be=p[L+1],ee=p[L+2],(Be&192)===128&&(ee&192)===128&&(I=(m&15)<<12|(Be&63)<<6|ee&63,I>2047&&(I<55296||I>57343)&&(j=I));break;case 4:Be=p[L+1],ee=p[L+2],ue=p[L+3],(Be&192)===128&&(ee&192)===128&&(ue&192)===128&&(I=(m&15)<<18|(Be&63)<<12|(ee&63)<<6|ue&63,I>65535&&I<1114112&&(j=I))}}j===null?(j=65533,le=1):j>65535&&(j-=65536,b.push(j>>>10&1023|55296),j=56320|j&1023),b.push(j),L+=le}return Ce(b)}let ae=4096;function Ce(p){let s=p.length;if(s<=ae)return String.fromCharCode.apply(String,p);let u="",b=0;for(;bb)&&(u=b);let L="";for(let m=s;mb&&(s=b),u<0?(u+=b,u<0&&(u=0)):u>b&&(u=b),uu)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(s,u,b){s=s>>>0,u=u>>>0,b||me(s,u,this.length);let L=this[s],m=1,j=0;for(;++j>>0,u=u>>>0,b||me(s,u,this.length);let L=this[s+--u],m=1;for(;u>0&&(m*=256);)L+=this[s+--u]*m;return L},i.prototype.readUint8=i.prototype.readUInt8=function(s,u){return s=s>>>0,u||me(s,1,this.length),this[s]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(s,u){return s=s>>>0,u||me(s,2,this.length),this[s]|this[s+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(s,u){return s=s>>>0,u||me(s,2,this.length),this[s]<<8|this[s+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(s,u){return s=s>>>0,u||me(s,4,this.length),(this[s]|this[s+1]<<8|this[s+2]<<16)+this[s+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(s,u){return s=s>>>0,u||me(s,4,this.length),this[s]*16777216+(this[s+1]<<16|this[s+2]<<8|this[s+3])},i.prototype.readBigUInt64LE=gt(function(s){s=s>>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=u+this[++s]*2**8+this[++s]*2**16+this[++s]*2**24,m=this[++s]+this[++s]*2**8+this[++s]*2**16+b*2**24;return BigInt(L)+(BigInt(m)<>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=u*2**24+this[++s]*2**16+this[++s]*2**8+this[++s],m=this[++s]*2**24+this[++s]*2**16+this[++s]*2**8+b;return(BigInt(L)<>>0,u=u>>>0,b||me(s,u,this.length);let L=this[s],m=1,j=0;for(;++j=m&&(L-=Math.pow(2,8*u)),L},i.prototype.readIntBE=function(s,u,b){s=s>>>0,u=u>>>0,b||me(s,u,this.length);let L=u,m=1,j=this[s+--L];for(;L>0&&(m*=256);)j+=this[s+--L]*m;return m*=128,j>=m&&(j-=Math.pow(2,8*u)),j},i.prototype.readInt8=function(s,u){return s=s>>>0,u||me(s,1,this.length),this[s]&128?(255-this[s]+1)*-1:this[s]},i.prototype.readInt16LE=function(s,u){s=s>>>0,u||me(s,2,this.length);let b=this[s]|this[s+1]<<8;return b&32768?b|4294901760:b},i.prototype.readInt16BE=function(s,u){s=s>>>0,u||me(s,2,this.length);let b=this[s+1]|this[s]<<8;return b&32768?b|4294901760:b},i.prototype.readInt32LE=function(s,u){return s=s>>>0,u||me(s,4,this.length),this[s]|this[s+1]<<8|this[s+2]<<16|this[s+3]<<24},i.prototype.readInt32BE=function(s,u){return s=s>>>0,u||me(s,4,this.length),this[s]<<24|this[s+1]<<16|this[s+2]<<8|this[s+3]},i.prototype.readBigInt64LE=gt(function(s){s=s>>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=this[s+4]+this[s+5]*2**8+this[s+6]*2**16+(b<<24);return(BigInt(L)<>>0,k(s,"offset");let u=this[s],b=this[s+7];(u===void 0||b===void 0)&&Z(s,this.length-8);let L=(u<<24)+this[++s]*2**16+this[++s]*2**8+this[++s];return(BigInt(L)<>>0,u||me(s,4,this.length),t.read(this,s,!0,23,4)},i.prototype.readFloatBE=function(s,u){return s=s>>>0,u||me(s,4,this.length),t.read(this,s,!1,23,4)},i.prototype.readDoubleLE=function(s,u){return s=s>>>0,u||me(s,8,this.length),t.read(this,s,!0,52,8)},i.prototype.readDoubleBE=function(s,u){return s=s>>>0,u||me(s,8,this.length),t.read(this,s,!1,52,8)};function Re(p,s,u,b,L,m){if(!i.isBuffer(p))throw new TypeError('"buffer" argument must be a Buffer instance');if(s>L||sp.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(s,u,b,L){if(s=+s,u=u>>>0,b=b>>>0,!L){let le=Math.pow(2,8*b)-1;Re(this,s,u,b,le,0)}let m=1,j=0;for(this[u]=s&255;++j>>0,b=b>>>0,!L){let le=Math.pow(2,8*b)-1;Re(this,s,u,b,le,0)}let m=b-1,j=1;for(this[u+m]=s&255;--m>=0&&(j*=256);)this[u+m]=s/j&255;return u+b},i.prototype.writeUint8=i.prototype.writeUInt8=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,1,255,0),this[u]=s&255,u+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,65535,0),this[u]=s&255,this[u+1]=s>>>8,u+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,65535,0),this[u]=s>>>8,this[u+1]=s&255,u+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,4294967295,0),this[u+3]=s>>>24,this[u+2]=s>>>16,this[u+1]=s>>>8,this[u]=s&255,u+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,4294967295,0),this[u]=s>>>24,this[u+1]=s>>>16,this[u+2]=s>>>8,this[u+3]=s&255,u+4};function ze(p,s,u,b,L){ge(s,b,L,p,u,7);let m=Number(s&BigInt(4294967295));p[u++]=m,m=m>>8,p[u++]=m,m=m>>8,p[u++]=m,m=m>>8,p[u++]=m;let j=Number(s>>BigInt(32)&BigInt(4294967295));return p[u++]=j,j=j>>8,p[u++]=j,j=j>>8,p[u++]=j,j=j>>8,p[u++]=j,u}function je(p,s,u,b,L){ge(s,b,L,p,u,7);let m=Number(s&BigInt(4294967295));p[u+7]=m,m=m>>8,p[u+6]=m,m=m>>8,p[u+5]=m,m=m>>8,p[u+4]=m;let j=Number(s>>BigInt(32)&BigInt(4294967295));return p[u+3]=j,j=j>>8,p[u+2]=j,j=j>>8,p[u+1]=j,j=j>>8,p[u]=j,u+8}i.prototype.writeBigUInt64LE=gt(function(s,u=0){return ze(this,s,u,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=gt(function(s,u=0){return je(this,s,u,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(s,u,b,L){if(s=+s,u=u>>>0,!L){let Be=Math.pow(2,8*b-1);Re(this,s,u,b,Be-1,-Be)}let m=0,j=1,le=0;for(this[u]=s&255;++m>0)-le&255;return u+b},i.prototype.writeIntBE=function(s,u,b,L){if(s=+s,u=u>>>0,!L){let Be=Math.pow(2,8*b-1);Re(this,s,u,b,Be-1,-Be)}let m=b-1,j=1,le=0;for(this[u+m]=s&255;--m>=0&&(j*=256);)s<0&&le===0&&this[u+m+1]!==0&&(le=1),this[u+m]=(s/j>>0)-le&255;return u+b},i.prototype.writeInt8=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,1,127,-128),s<0&&(s=255+s+1),this[u]=s&255,u+1},i.prototype.writeInt16LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,32767,-32768),this[u]=s&255,this[u+1]=s>>>8,u+2},i.prototype.writeInt16BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,2,32767,-32768),this[u]=s>>>8,this[u+1]=s&255,u+2},i.prototype.writeInt32LE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,2147483647,-2147483648),this[u]=s&255,this[u+1]=s>>>8,this[u+2]=s>>>16,this[u+3]=s>>>24,u+4},i.prototype.writeInt32BE=function(s,u,b){return s=+s,u=u>>>0,b||Re(this,s,u,4,2147483647,-2147483648),s<0&&(s=4294967295+s+1),this[u]=s>>>24,this[u+1]=s>>>16,this[u+2]=s>>>8,this[u+3]=s&255,u+4},i.prototype.writeBigInt64LE=gt(function(s,u=0){return ze(this,s,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=gt(function(s,u=0){return je(this,s,u,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Je(p,s,u,b,L,m){if(u+b>p.length)throw new RangeError("Index out of range");if(u<0)throw new RangeError("Index out of range")}function Ve(p,s,u,b,L){return s=+s,u=u>>>0,L||Je(p,s,u,4),t.write(p,s,u,b,23,4),u+4}i.prototype.writeFloatLE=function(s,u,b){return Ve(this,s,u,!0,b)},i.prototype.writeFloatBE=function(s,u,b){return Ve(this,s,u,!1,b)};function xe(p,s,u,b,L){return s=+s,u=u>>>0,L||Je(p,s,u,8),t.write(p,s,u,b,52,8),u+8}i.prototype.writeDoubleLE=function(s,u,b){return xe(this,s,u,!0,b)},i.prototype.writeDoubleBE=function(s,u,b){return xe(this,s,u,!1,b)},i.prototype.copy=function(s,u,b,L){if(!i.isBuffer(s))throw new TypeError("argument should be a Buffer");if(b||(b=0),!L&&L!==0&&(L=this.length),u>=s.length&&(u=s.length),u||(u=0),L>0&&L=this.length)throw new RangeError("Index out of range");if(L<0)throw new RangeError("sourceEnd out of bounds");L>this.length&&(L=this.length),s.length-u>>0,b=b===void 0?this.length:b>>>0,s||(s=0);let m;if(typeof s=="number")for(m=u;m2**32?L=Y(String(u)):typeof u=="bigint"&&(L=String(u),(u>BigInt(2)**BigInt(32)||u<-(BigInt(2)**BigInt(32)))&&(L=Y(L)),L+="n"),b+=` It must be ${s}. Received ${L}`,b},RangeError);function Y(p){let s="",u=p.length,b=p[0]==="-"?1:0;for(;u>=b+4;u-=3)s=`_${p.slice(u-3,u)}${s}`;return`${p.slice(0,u)}${s}`}function fe(p,s,u){k(s,"offset"),(p[s]===void 0||p[s+u]===void 0)&&Z(s,p.length-(u+1))}function ge(p,s,u,b,L,m){if(p>u||p3?s===0||s===BigInt(0)?le=`>= 0${j} and < 2${j} ** ${(m+1)*8}${j}`:le=`>= -(2${j} ** ${(m+1)*8-1}${j}) and < 2 ** ${(m+1)*8-1}${j}`:le=`>= ${s}${j} and <= ${u}${j}`,new A.ERR_OUT_OF_RANGE("value",le,p)}fe(b,L,m)}function k(p,s){if(typeof p!="number")throw new A.ERR_INVALID_ARG_TYPE(s,"number",p)}function Z(p,s,u){throw Math.floor(p)!==p?(k(p,u),new A.ERR_OUT_OF_RANGE(u||"offset","an integer",p)):s<0?new A.ERR_BUFFER_OUT_OF_BOUNDS:new A.ERR_OUT_OF_RANGE(u||"offset",`>= ${u?1:0} and <= ${s}`,p)}let Se=/[^+/0-9A-Za-z-_]/g;function ke(p){if(p=p.split("=")[0],p=p.trim().replace(Se,""),p.length<2)return"";for(;p.length%4!==0;)p=p+"=";return p}function De(p,s){s=s||1/0;let u,b=p.length,L=null,m=[];for(let j=0;j55295&&u<57344){if(!L){if(u>56319){(s-=3)>-1&&m.push(239,191,189);continue}else if(j+1===b){(s-=3)>-1&&m.push(239,191,189);continue}L=u;continue}if(u<56320){(s-=3)>-1&&m.push(239,191,189),L=u;continue}u=(L-55296<<10|u-56320)+65536}else L&&(s-=3)>-1&&m.push(239,191,189);if(L=null,u<128){if((s-=1)<0)break;m.push(u)}else if(u<2048){if((s-=2)<0)break;m.push(u>>6|192,u&63|128)}else if(u<65536){if((s-=3)<0)break;m.push(u>>12|224,u>>6&63|128,u&63|128)}else if(u<1114112){if((s-=4)<0)break;m.push(u>>18|240,u>>12&63|128,u>>6&63|128,u&63|128)}else throw new Error("Invalid code point")}return m}function $e(p){let s=[];for(let u=0;u>8,L=u%256,m.push(L),m.push(b);return m}function ot(p){return e.toByteArray(ke(p))}function nt(p,s,u,b){let L;for(L=0;L=s.length||L>=p.length);++L)s[L+u]=p[L];return L}function et(p,s){return p instanceof s||p!=null&&p.constructor!=null&&p.constructor.name!=null&&p.constructor.name===s.name}function bt(p){return p!==p}let Qt=function(){let p="0123456789abcdef",s=new Array(256);for(let u=0;u<16;++u){let b=u*16;for(let L=0;L<16;++L)s[b+L]=p[u]+p[L]}return s}();function gt(p){return typeof BigInt>"u"?Ct:p}function Ct(){throw new Error("BigInt not supported")}return bi}var Br=UO();Br.Buffer;Br.INSPECT_MAX_BYTES;Br.kMaxLength;var lu={},Pw=!1;function Ei(){return Pw||(Pw=!0,typeof Object.create=="function"?lu=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:lu=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}),lu}var dc={},Uw=!1;function Jw(){return Uw||(Uw=!0,dc=Ft.EventEmitter),dc}var yc={},Dw=!1;function DO(){if(Dw)return yc;Dw=!0;function e(v,_){var h=Object.keys(v);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(v);_&&(w=w.filter(function(S){return Object.getOwnPropertyDescriptor(v,S).enumerable})),h.push.apply(h,w)}return h}function t(v){for(var _=1;_0?this.tail.next=w:this.head=w,this.tail=w,++this.length}},{key:"unshift",value:function(h){var w={data:h,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length}},{key:"shift",value:function(){if(this.length!==0){var h=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,h}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(h){if(this.length===0)return"";for(var w=this.head,S=""+w.data;w=w.next;)S+=h+w.data;return S}},{key:"concat",value:function(h){if(this.length===0)return f.alloc(0);for(var w=f.allocUnsafe(h>>>0),S=this.head,T=0;S;)y(S.data,w,T),T+=S.data.length,S=S.next;return w}},{key:"consume",value:function(h,w){var S;return hC.length?C.length:h;if(M===C.length?T+=C:T+=C.slice(0,h),h-=M,h===0){M===C.length?(++S,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=C.slice(M));break}++S}return this.length-=S,T}},{key:"_getBuffer",value:function(h){var w=f.allocUnsafe(h),S=this.head,T=1;for(S.data.copy(w),h-=S.data.length;S=S.next;){var C=S.data,M=h>C.length?C.length:h;if(C.copy(w,w.length-h,0,M),h-=M,h===0){M===C.length?(++T,S.next?this.head=S.next:this.head=this.tail=null):(this.head=S,S.data=C.slice(M));break}++T}return this.length-=T,w}},{key:d,value:function(h,w){return c(this,t({},w,{depth:0,customInspect:!1}))}}]),v}(),yc}var gc={},Mw=!1;function Qw(){if(Mw)return gc;Mw=!0;var e=lt;function t(f,l){var c=this,d=this._readableState&&this._readableState.destroyed,y=this._writableState&&this._writableState.destroyed;return d||y?(l?l(f):f&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,e.nextTick(a,this,f)):e.nextTick(a,this,f)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(f||null,function(v){!l&&v?c._writableState?c._writableState.errorEmitted?e.nextTick(n,c):(c._writableState.errorEmitted=!0,e.nextTick(r,c,v)):e.nextTick(r,c,v):l?(e.nextTick(n,c),l(v)):e.nextTick(n,c)}),this)}function r(f,l){a(f,l),n(f)}function n(f){f._writableState&&!f._writableState.emitClose||f._readableState&&!f._readableState.emitClose||f.emit("close")}function o(){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)}function a(f,l){f.emit("error",l)}function i(f,l){var c=f._readableState,d=f._writableState;c&&c.autoDestroy||d&&d.autoDestroy?f.destroy(l):f.emit("error",l)}return gc={destroy:t,undestroy:o,errorOrDestroy:i},gc}var mc={},jw=!1;function go(){if(jw)return mc;jw=!0;let e={};function t(i,f,l){l||(l=Error);function c(y,v,_){return typeof f=="string"?f:f(y,v,_)}class d extends l{constructor(v,_,h){super(c(v,_,h))}}d.prototype.name=l.name,d.prototype.code=i,e[i]=d}function r(i,f){if(Array.isArray(i)){let l=i.length;return i=i.map(c=>String(c)),l>2?`one of ${f} ${i.slice(0,l-1).join(", ")}, or `+i[l-1]:l===2?`one of ${f} ${i[0]} or ${i[1]}`:`of ${f} ${i[0]}`}else return`of ${f} ${String(i)}`}function n(i,f,l){return i.substr(!l||l<0?0:+l,f.length)===f}function o(i,f,l){return(l===void 0||l>i.length)&&(l=i.length),i.substring(l-f.length,l)===f}function a(i,f,l){return typeof l!="number"&&(l=0),l+f.length>i.length?!1:i.indexOf(f,l)!==-1}return t("ERR_INVALID_OPT_VALUE",function(i,f){return'The value "'+f+'" is invalid for option "'+i+'"'},TypeError),t("ERR_INVALID_ARG_TYPE",function(i,f,l){let c;typeof f=="string"&&n(f,"not ")?(c="must not be",f=f.replace(/^not /,"")):c="must be";let d;if(o(i," argument"))d=`The ${i} ${c} ${r(f,"type")}`;else{let y=a(i,".")?"property":"argument";d=`The "${i}" ${y} ${c} ${r(f,"type")}`}return d+=`. Received type ${typeof l}`,d},TypeError),t("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),t("ERR_METHOD_NOT_IMPLEMENTED",function(i){return"The "+i+" method is not implemented"}),t("ERR_STREAM_PREMATURE_CLOSE","Premature close"),t("ERR_STREAM_DESTROYED",function(i){return"Cannot call "+i+" after a stream was destroyed"}),t("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),t("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),t("ERR_STREAM_WRITE_AFTER_END","write after end"),t("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),t("ERR_UNKNOWN_ENCODING",function(i){return"Unknown encoding: "+i},TypeError),t("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),mc.codes=e,mc}var vc={},$w=!1;function e1(){if($w)return vc;$w=!0;var e=go().codes.ERR_INVALID_OPT_VALUE;function t(n,o,a){return n.highWaterMark!=null?n.highWaterMark:o?n[a]:null}function r(n,o,a,i){var f=t(o,i,a);if(f!=null){if(!(isFinite(f)&&Math.floor(f)===f)||f<0){var l=i?a:"highWaterMark";throw new e(l,f)}return Math.floor(f)}return n.objectMode?16:16*1024}return vc={getHighWaterMark:r},vc}var wc={},zw=!1,bc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se;function MO(){if(zw)return wc;zw=!0,wc=e;function e(r,n){if(t("noDeprecation"))return r;var o=!1;function a(){if(!o){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),o=!0}return r.apply(this||bc,arguments)}return a}function t(r){try{if(!bc.localStorage)return!1}catch{return!1}var n=bc.localStorage[r];return n==null?!1:String(n).toLowerCase()==="true"}return wc}var _c={},qw=!1,jO=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se;function Bc(){if(qw)return _c;qw=!0;var e=lt;_c=G;function t(A){var O=this;this.next=null,this.entry=null,this.finish=function(){xe(O,A)}}var r;G.WritableState=N;var n={deprecate:MO()},o=Jw(),a=Br.Buffer,i=jO.Uint8Array||function(){};function f(A){return a.from(A)}function l(A){return a.isBuffer(A)||A instanceof i}var c=Qw(),d=e1(),y=d.getHighWaterMark,v=go().codes,_=v.ERR_INVALID_ARG_TYPE,h=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_MULTIPLE_CALLBACK,S=v.ERR_STREAM_CANNOT_PIPE,T=v.ERR_STREAM_DESTROYED,C=v.ERR_STREAM_NULL_VALUES,M=v.ERR_STREAM_WRITE_AFTER_END,D=v.ERR_UNKNOWN_ENCODING,V=c.errorOrDestroy;Ei()(G,o);function F(){}function N(A,O,Y){r=r||_i(),A=A||{},typeof Y!="boolean"&&(Y=O instanceof r),this.objectMode=!!A.objectMode,Y&&(this.objectMode=this.objectMode||!!A.writableObjectMode),this.highWaterMark=y(this,A,"writableHighWaterMark",Y),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var fe=A.decodeStrings===!1;this.decodeStrings=!fe,this.defaultEncoding=A.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(ge){ne(O,ge)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=A.emitClose!==!1,this.autoDestroy=!!A.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new t(this)}N.prototype.getBuffer=function(){for(var O=this.bufferedRequest,Y=[];O;)Y.push(O),O=O.next;return Y},function(){try{Object.defineProperty(N.prototype,"buffer",{get:n.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var x;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(x=Function.prototype[Symbol.hasInstance],Object.defineProperty(G,Symbol.hasInstance,{value:function(O){return x.call(this,O)?!0:this!==G?!1:O&&O._writableState instanceof N}})):x=function(O){return O instanceof this};function G(A){r=r||_i();var O=this instanceof r;if(!O&&!x.call(G,this))return new G(A);this._writableState=new N(A,this,O),this.writable=!0,A&&(typeof A.write=="function"&&(this._write=A.write),typeof A.writev=="function"&&(this._writev=A.writev),typeof A.destroy=="function"&&(this._destroy=A.destroy),typeof A.final=="function"&&(this._final=A.final)),o.call(this)}G.prototype.pipe=function(){V(this,new S)};function Q(A,O){var Y=new M;V(A,Y),e.nextTick(O,Y)}function Te(A,O,Y,fe){var ge;return Y===null?ge=new C:typeof Y!="string"&&!O.objectMode&&(ge=new _("chunk",["string","Buffer"],Y)),ge?(V(A,ge),e.nextTick(fe,ge),!1):!0}G.prototype.write=function(A,O,Y){var fe=this._writableState,ge=!1,k=!fe.objectMode&&l(A);return k&&!a.isBuffer(A)&&(A=f(A)),typeof O=="function"&&(Y=O,O=null),k?O="buffer":O||(O=fe.defaultEncoding),typeof Y!="function"&&(Y=F),fe.ending?Q(this,Y):(k||Te(this,fe,A,Y))&&(fe.pendingcb++,ge=re(this,fe,k,A,O,Y)),ge},G.prototype.cork=function(){this._writableState.corked++},G.prototype.uncork=function(){var A=this._writableState;A.corked&&(A.corked--,!A.writing&&!A.corked&&!A.bufferProcessing&&A.bufferedRequest&&me(this,A))},G.prototype.setDefaultEncoding=function(O){if(typeof O=="string"&&(O=O.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((O+"").toLowerCase())>-1))throw new D(O);return this._writableState.defaultEncoding=O,this},Object.defineProperty(G.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function K(A,O,Y){return!A.objectMode&&A.decodeStrings!==!1&&typeof O=="string"&&(O=a.from(O,Y)),O}Object.defineProperty(G.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function re(A,O,Y,fe,ge,k){if(!Y){var Z=K(O,fe,ge);fe!==Z&&(Y=!0,ge="buffer",fe=Z)}var Se=O.objectMode?1:fe.length;O.length+=Se;var ke=O.length0)if(typeof Z!="string"&&!$e.objectMode&&Object.getPrototypeOf(Z)!==o.prototype&&(Z=i(Z)),ke)$e.endEmitted?F(k,new C):K(k,$e,Z,!0);else if($e.ended)F(k,new S);else{if($e.destroyed)return!1;$e.reading=!1,$e.decoder&&!Se?(Z=$e.decoder.write(Z),$e.objectMode||Z.length!==0?K(k,$e,Z,!1):me(k,$e)):K(k,$e,Z,!1)}else ke||($e.reading=!1,me(k,$e))}return!$e.ended&&($e.length<$e.highWaterMark||$e.length===0)}function K(k,Z,Se,ke){Z.flowing&&Z.length===0&&!Z.sync?(Z.awaitDrain=0,k.emit("data",Se)):(Z.length+=Z.objectMode?1:Se.length,ke?Z.buffer.unshift(Se):Z.buffer.push(Se),Z.needReadable&&te(k)),me(k,Z)}function re(k,Z){var Se;return!f(Z)&&typeof Z!="string"&&Z!==void 0&&!k.objectMode&&(Se=new w("chunk",["string","Buffer","Uint8Array"],Z)),Se}Q.prototype.isPaused=function(){return this._readableState.flowing===!1},Q.prototype.setEncoding=function(k){M||(M=yo.StringDecoder);var Z=new M(k);this._readableState.decoder=Z,this._readableState.encoding=this._readableState.decoder.encoding;for(var Se=this._readableState.buffer.head,ke="";Se!==null;)ke+=Z.write(Se.data),Se=Se.next;return this._readableState.buffer.clear(),ke!==""&&this._readableState.buffer.push(ke),this._readableState.length=ke.length,this};var ae=1073741824;function Ce(k){return k>=ae?k=ae:(k--,k|=k>>>1,k|=k>>>2,k|=k>>>4,k|=k>>>8,k|=k>>>16,k++),k}function Ne(k,Z){return k<=0||Z.length===0&&Z.ended?0:Z.objectMode?1:k!==k?Z.flowing&&Z.length?Z.buffer.head.data.length:Z.length:(k>Z.highWaterMark&&(Z.highWaterMark=Ce(k)),k<=Z.length?k:Z.ended?Z.length:(Z.needReadable=!0,0))}Q.prototype.read=function(k){c("read",k),k=parseInt(k,10);var Z=this._readableState,Se=k;if(k!==0&&(Z.emittedReadable=!1),k===0&&Z.needReadable&&((Z.highWaterMark!==0?Z.length>=Z.highWaterMark:Z.length>0)||Z.ended))return c("read: emitReadable",Z.length,Z.ended),Z.length===0&&Z.ended?Y(this):te(this),null;if(k=Ne(k,Z),k===0&&Z.ended)return Z.length===0&&Y(this),null;var ke=Z.needReadable;c("need readable",ke),(Z.length===0||Z.length-k0?De=O(k,Z):De=null,De===null?(Z.needReadable=Z.length<=Z.highWaterMark,k=0):(Z.length-=k,Z.awaitDrain=0),Z.length===0&&(Z.ended||(Z.needReadable=!0),Se!==k&&Z.ended&&Y(this)),De!==null&&this.emit("data",De),De};function ne(k,Z){if(c("onEofChunk"),!Z.ended){if(Z.decoder){var Se=Z.decoder.end();Se&&Se.length&&(Z.buffer.push(Se),Z.length+=Z.objectMode?1:Se.length)}Z.ended=!0,Z.sync?te(k):(Z.needReadable=!1,Z.emittedReadable||(Z.emittedReadable=!0,ye(k)))}}function te(k){var Z=k._readableState;c("emitReadable",Z.needReadable,Z.emittedReadable),Z.needReadable=!1,Z.emittedReadable||(c("emitReadable",Z.flowing),Z.emittedReadable=!0,e.nextTick(ye,k))}function ye(k){var Z=k._readableState;c("emitReadable_",Z.destroyed,Z.length,Z.ended),!Z.destroyed&&(Z.length||Z.ended)&&(k.emit("readable"),Z.emittedReadable=!1),Z.needReadable=!Z.flowing&&!Z.ended&&Z.length<=Z.highWaterMark,A(k)}function me(k,Z){Z.readingMore||(Z.readingMore=!0,e.nextTick(Re,k,Z))}function Re(k,Z){for(;!Z.reading&&!Z.ended&&(Z.length1&&ge(ke.pipes,k)!==-1)&&!et&&(c("false write response, pause",ke.awaitDrain),ke.awaitDrain++),Se.pause())}function gt(u){c("onerror",u),s(),k.removeListener("error",gt),r(k,"error")===0&&F(k,u)}x(k,"error",gt);function Ct(){k.removeListener("finish",p),s()}k.once("close",Ct);function p(){c("onfinish"),k.removeListener("close",Ct),s()}k.once("finish",p);function s(){c("unpipe"),Se.unpipe(k)}return k.emit("pipe",Se),ke.flowing||(c("pipe resume"),Se.resume()),k};function ze(k){return function(){var Se=k._readableState;c("pipeOnDrain",Se.awaitDrain),Se.awaitDrain&&Se.awaitDrain--,Se.awaitDrain===0&&r(k,"data")&&(Se.flowing=!0,A(k))}}Q.prototype.unpipe=function(k){var Z=this._readableState,Se={hasUnpiped:!1};if(Z.pipesCount===0)return this;if(Z.pipesCount===1)return k&&k!==Z.pipes?this:(k||(k=Z.pipes),Z.pipes=null,Z.pipesCount=0,Z.flowing=!1,k&&k.emit("unpipe",this,Se),this);if(!k){var ke=Z.pipes,De=Z.pipesCount;Z.pipes=null,Z.pipesCount=0,Z.flowing=!1;for(var $e=0;$e0,ke.flowing!==!1&&this.resume()):k==="readable"&&!ke.endEmitted&&!ke.readableListening&&(ke.readableListening=ke.needReadable=!0,ke.flowing=!1,ke.emittedReadable=!1,c("on readable",ke.length,ke.reading),ke.length?te(this):ke.reading||e.nextTick(Je,this)),Se},Q.prototype.addListener=Q.prototype.on,Q.prototype.removeListener=function(k,Z){var Se=n.prototype.removeListener.call(this,k,Z);return k==="readable"&&e.nextTick(je,this),Se},Q.prototype.removeAllListeners=function(k){var Z=n.prototype.removeAllListeners.apply(this,arguments);return(k==="readable"||k===void 0)&&e.nextTick(je,this),Z};function je(k){var Z=k._readableState;Z.readableListening=k.listenerCount("readable")>0,Z.resumeScheduled&&!Z.paused?Z.flowing=!0:k.listenerCount("data")>0&&k.resume()}function Je(k){c("readable nexttick read 0"),k.read(0)}Q.prototype.resume=function(){var k=this._readableState;return k.flowing||(c("resume"),k.flowing=!k.readableListening,Ve(this,k)),k.paused=!1,this};function Ve(k,Z){Z.resumeScheduled||(Z.resumeScheduled=!0,e.nextTick(xe,k,Z))}function xe(k,Z){c("resume",Z.reading),Z.reading||k.read(0),Z.resumeScheduled=!1,k.emit("resume"),A(k),Z.flowing&&!Z.reading&&k.read(0)}Q.prototype.pause=function(){return c("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(c("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function A(k){var Z=k._readableState;for(c("flow",Z.flowing);Z.flowing&&k.read()!==null;);}Q.prototype.wrap=function(k){var Z=this,Se=this._readableState,ke=!1;k.on("end",function(){if(c("wrapped end"),Se.decoder&&!Se.ended){var Me=Se.decoder.end();Me&&Me.length&&Z.push(Me)}Z.push(null)}),k.on("data",function(Me){if(c("wrapped data"),Se.decoder&&(Me=Se.decoder.write(Me)),!(Se.objectMode&&Me==null)&&!(!Se.objectMode&&(!Me||!Me.length))){var ot=Z.push(Me);ot||(ke=!0,k.pause())}});for(var De in k)this[De]===void 0&&typeof k[De]=="function"&&(this[De]=function(ot){return function(){return k[ot].apply(k,arguments)}}(De));for(var $e=0;$e=Z.length?(Z.decoder?Se=Z.buffer.join(""):Z.buffer.length===1?Se=Z.buffer.first():Se=Z.buffer.concat(Z.length),Z.buffer.clear()):Se=Z.buffer.consume(k,Z.decoder),Se}function Y(k){var Z=k._readableState;c("endReadable",Z.endEmitted),Z.endEmitted||(Z.ended=!0,e.nextTick(fe,Z,k))}function fe(k,Z){if(c("endReadableNT",k.endEmitted,k.length),!k.endEmitted&&k.length===0&&(k.endEmitted=!0,Z.readable=!1,Z.emit("end"),k.autoDestroy)){var Se=Z._writableState;(!Se||Se.autoDestroy&&Se.finished)&&Z.destroy()}}typeof Symbol=="function"&&(Q.from=function(k,Z){return V===void 0&&(V=zO()),V(Q,k,Z)});function ge(k,Z){for(var Se=0,ke=k.length;Se0;return f(C,D,V,function(F){S||(S=F),F&&T.forEach(l),!D&&(T.forEach(l),w(S))})});return _.reduce(c)}return xc=y,xc}$();z();q();H();W();$();z();q();H();W();var Lc={},n1=!1,kc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se;function WO(){if(n1)return Lc;n1=!0,Lc=r;var e=Ft.EventEmitter,t=Ei();t(r,e),r.Readable=Cc(),r.Writable=Bc(),r.Duplex=_i(),r.Transform=Nc(),r.PassThrough=t1(),r.finished=cu(),r.pipeline=r1(),r.Stream=r;function r(){e.call(this||kc)}return r.prototype.pipe=function(n,o){var a=this||kc;function i(_){n.writable&&n.write(_)===!1&&a.pause&&a.pause()}a.on("data",i);function f(){a.readable&&a.resume&&a.resume()}n.on("drain",f),!n._isStdio&&(!o||o.end!==!1)&&(a.on("end",c),a.on("close",d));var l=!1;function c(){l||(l=!0,n.end())}function d(){l||(l=!0,typeof n.destroy=="function"&&n.destroy())}function y(_){if(v(),e.listenerCount(this||kc,"error")===0)throw _}a.on("error",y),n.on("error",y);function v(){a.removeListener("data",i),n.removeListener("drain",f),a.removeListener("end",c),a.removeListener("close",d),a.removeListener("error",y),n.removeListener("error",y),a.removeListener("end",v),a.removeListener("close",v),n.removeListener("close",v)}return a.on("end",v),a.on("close",v),n.on("close",v),n.emit("pipe",a),n},Lc}var ir=WO();$();z();q();H();W();var Vq=Oe._extend,Gq=Oe.callbackify,Yq=Oe.debuglog,Kq=Oe.deprecate,Xq=Oe.format,Jq=Oe.inherits,Qq=Oe.inspect,eW=Oe.isArray,tW=Oe.isBoolean,rW=Oe.isBuffer,nW=Oe.isDate,iW=Oe.isError,oW=Oe.isFunction,aW=Oe.isNull,sW=Oe.isNullOrUndefined,uW=Oe.isNumber,fW=Oe.isObject,lW=Oe.isPrimitive,cW=Oe.isRegExp,hW=Oe.isString,pW=Oe.isSymbol,dW=Oe.isUndefined,yW=Oe.log,Fc=Oe.promisify,gW=Oe.types,mW=Oe.TextEncoder=globalThis.TextEncoder,i1=Oe.TextDecoder=globalThis.TextDecoder;var o1=ir.Readable;o1.wrap=function(e,t){return t=Object.assign({objectMode:e.readableObjectMode!=null||e.objectMode!=null||!0},t),t.destroy=function(r,n){e.destroy(r),n(r)},new o1(t).wrap(e)};var a1=ir.Writable,FW=ir.Duplex,PW=ir.Transform,UW=ir.PassThrough,DW=ir.finished,MW=ir.pipeline,jW=ir.Stream,$W={finished:Fc(ir.finished),pipeline:Fc(ir.pipeline)};$();z();q();H();W();function s1(e,t){if(e==null)throw new TypeError("Cannot convert first argument to object");for(var r=Object(e),n=1;n=0&&u1.call(e.callee)==="[object Function]"),r};Object.keys||(da=Object.prototype.hasOwnProperty,Pc=Object.prototype.toString,f1=j1,Uc=Object.prototype.propertyIsEnumerable,l1=!Uc.call({toString:null},"toString"),c1=Uc.call(function(){},"prototype"),ya=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],hu=function(e){var t=e.constructor;return t&&t.prototype===e},h1={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p1=function(){if(typeof window>"u")return!1;for(var e in window)try{if(!h1["$"+e]&&da.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{hu(window[e])}catch{return!0}}catch{return!0}return!1}(),M1=function(e){var t=e!==null&&typeof e=="object",r=Pc.call(e)==="[object Function]",n=f1(e),o=t&&Pc.call(e)==="[object String]",a=[];if(!t&&!r&&!n)throw new TypeError("Object.keys called on a non-object");var i=c1&&r;if(o&&e.length>0&&!da.call(e,0))for(var f=0;f0)for(var l=0;l"u"||!p1)return hu(v);try{return hu(v)}catch{return!1}}(e),y=0;y2?arguments[2]:{},n=KO(t);XO&&(n=QO.call(n,Object.getOwnPropertySymbols(t)));for(var o=0;o"u"?void 0:Ai(Uint8Array),$c={"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer,"%ArrayBufferPrototype%":typeof ArrayBuffer>"u"?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":Si?Ai([][Symbol.iterator]()):void 0,"%ArrayPrototype%":Array.prototype,"%ArrayProto_entries%":Array.prototype.entries,"%ArrayProto_forEach%":Array.prototype.forEach,"%ArrayProto_keys%":Array.prototype.keys,"%ArrayProto_values%":Array.prototype.values,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":void 0,"%AsyncFunctionPrototype%":void 0,"%AsyncGenerator%":void 0,"%AsyncGeneratorFunction%":void 0,"%AsyncGeneratorPrototype%":void 0,"%AsyncIteratorPrototype%":void 0,"%Atomics%":typeof Atomics>"u"?void 0:Atomics,"%Boolean%":Boolean,"%BooleanPrototype%":Boolean.prototype,"%DataView%":typeof DataView>"u"?void 0:DataView,"%DataViewPrototype%":typeof DataView>"u"?void 0:DataView.prototype,"%Date%":Date,"%DatePrototype%":Date.prototype,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%ErrorPrototype%":Error.prototype,"%eval%":eval,"%EvalError%":EvalError,"%EvalErrorPrototype%":EvalError.prototype,"%Float32Array%":typeof Float32Array>"u"?void 0:Float32Array,"%Float32ArrayPrototype%":typeof Float32Array>"u"?void 0:Float32Array.prototype,"%Float64Array%":typeof Float64Array>"u"?void 0:Float64Array,"%Float64ArrayPrototype%":typeof Float64Array>"u"?void 0:Float64Array.prototype,"%Function%":Function,"%FunctionPrototype%":Function.prototype,"%Generator%":void 0,"%GeneratorFunction%":void 0,"%GeneratorPrototype%":void 0,"%Int8Array%":typeof Int8Array>"u"?void 0:Int8Array,"%Int8ArrayPrototype%":typeof Int8Array>"u"?void 0:Int8Array.prototype,"%Int16Array%":typeof Int16Array>"u"?void 0:Int16Array,"%Int16ArrayPrototype%":typeof Int16Array>"u"?void 0:Int8Array.prototype,"%Int32Array%":typeof Int32Array>"u"?void 0:Int32Array,"%Int32ArrayPrototype%":typeof Int32Array>"u"?void 0:Int32Array.prototype,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Si?Ai(Ai([][Symbol.iterator]())):void 0,"%JSON%":typeof JSON=="object"?JSON:void 0,"%JSONParse%":typeof JSON=="object"?JSON.parse:void 0,"%Map%":typeof Map>"u"?void 0:Map,"%MapIteratorPrototype%":typeof Map<"u"&&Si?Ai(new Map()[Symbol.iterator]()):void 0,"%MapPrototype%":typeof Map>"u"?void 0:Map.prototype,"%Math%":Math,"%Number%":Number,"%NumberPrototype%":Number.prototype,"%Object%":Object,"%ObjectPrototype%":Object.prototype,"%ObjProto_toString%":Object.prototype.toString,"%ObjProto_valueOf%":Object.prototype.valueOf,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?void 0:Promise,"%PromisePrototype%":typeof Promise>"u"?void 0:Promise.prototype,"%PromiseProto_then%":typeof Promise>"u"?void 0:Promise.prototype.then,"%Promise_all%":typeof Promise>"u"?void 0:Promise.all,"%Promise_reject%":typeof Promise>"u"?void 0:Promise.reject,"%Promise_resolve%":typeof Promise>"u"?void 0:Promise.resolve,"%Proxy%":typeof Proxy>"u"?void 0:Proxy,"%RangeError%":RangeError,"%RangeErrorPrototype%":RangeError.prototype,"%ReferenceError%":ReferenceError,"%ReferenceErrorPrototype%":ReferenceError.prototype,"%Reflect%":typeof Reflect>"u"?void 0:Reflect,"%RegExp%":RegExp,"%RegExpPrototype%":RegExp.prototype,"%Set%":typeof Set>"u"?void 0:Set,"%SetIteratorPrototype%":typeof Set<"u"&&Si?Ai(new Set()[Symbol.iterator]()):void 0,"%SetPrototype%":typeof Set>"u"?void 0:Set.prototype,"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer,"%SharedArrayBufferPrototype%":typeof SharedArrayBuffer>"u"?void 0:SharedArrayBuffer.prototype,"%String%":String,"%StringIteratorPrototype%":Si?Ai(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":Si?Symbol:void 0,"%SymbolPrototype%":Si?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":sI,"%TypedArray%":jc,"%TypedArrayPrototype%":jc?jc.prototype:void 0,"%TypeError%":va,"%TypeErrorPrototype%":va.prototype,"%Uint8Array%":typeof Uint8Array>"u"?void 0:Uint8Array,"%Uint8ArrayPrototype%":typeof Uint8Array>"u"?void 0:Uint8Array.prototype,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray,"%Uint8ClampedArrayPrototype%":typeof Uint8ClampedArray>"u"?void 0:Uint8ClampedArray.prototype,"%Uint16Array%":typeof Uint16Array>"u"?void 0:Uint16Array,"%Uint16ArrayPrototype%":typeof Uint16Array>"u"?void 0:Uint16Array.prototype,"%Uint32Array%":typeof Uint32Array>"u"?void 0:Uint32Array,"%Uint32ArrayPrototype%":typeof Uint32Array>"u"?void 0:Uint32Array.prototype,"%URIError%":URIError,"%URIErrorPrototype%":URIError.prototype,"%WeakMap%":typeof WeakMap>"u"?void 0:WeakMap,"%WeakMapPrototype%":typeof WeakMap>"u"?void 0:WeakMap.prototype,"%WeakSet%":typeof WeakSet>"u"?void 0:WeakSet,"%WeakSetPrototype%":typeof WeakSet>"u"?void 0:WeakSet.prototype},m1=q1.call(Function.call,String.prototype.replace),uI=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,fI=/\\(\\)?/g,lI=function(e){var t=[];return m1(e,uI,function(r,n,o,a){t[t.length]=o?m1(a,fI,"$1"):n||r}),t},cI=function(e,t){if(!(e in $c))throw new SyntaxError("intrinsic "+e+" does not exist!");if($c[e]===void 0&&!t)throw new va("intrinsic "+e+" exists, but is not available. Please file an issue!");return $c[e]},hI=function(e,t){if(typeof e!="string"||e.length===0)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new TypeError('"allowMissing" argument must be a boolean');for(var r=lI(e),n=cI("%"+(r.length>0?r[0]:"")+"%",t),o=1;o=r.length){var a=Ri(n,r[o]);if(!t&&!(r[o]in n))throw new va("base intrinsic for "+e+" exists, but the property is not available.");n=a?a.get||a.value:n[r[o]]}else n=n[r[o]];return n},W1,v1=q1,H1=hI("%Function%"),pI=H1.apply,dI=H1.call;(W1=function(){return v1.apply(dI,arguments)}).apply=function(){return v1.apply(pI,arguments)};var yI=W1,Hc,Zc,w1=function(e){return e!=e},gI=(Hc=function(e,t){return e===0&&t===0?1/e==1/t:e===t||!(!w1(e)||!w1(t))},Hc),mI=(Zc=function(){return typeof Object.is=="function"?Object.is:gI},Zc),vI=bu,wI=bu,bI=Hc,Z1=Zc,_I=function(){var e=mI();return vI(Object,{is:e},{is:function(){return Object.is!==e}}),e},V1=yI(Z1(),Object);wI(V1,{getPolyfill:Z1,implementation:bI,shim:_I});var G1=V1;Yc=function(e){return e!=e};var Yc,Kc,EI=Yc,SI=(Kc=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:EI},bu),AI=Kc,RI=bu,TI=Yc,Y1=Kc,OI=function(){var e=AI();return SI(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e},K1=Y1();RI(K1,{getPolyfill:Y1,implementation:TI,shim:OI});var II=K1,zc={},b1=!1;function X1(){if(b1)return zc;function e(c){return(e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(d){return typeof d}:function(d){return d&&typeof Symbol=="function"&&d.constructor===Symbol&&d!==Symbol.prototype?"symbol":typeof d})(c)}function t(c,d){return!d||e(d)!=="object"&&typeof d!="function"?function(y){if(y===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return y}(c):d}function r(c){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(d){return d.__proto__||Object.getPrototypeOf(d)})(c)}function n(c,d){return(n=Object.setPrototypeOf||function(y,v){return y.__proto__=v,y})(c,d)}b1=!0;var o,a,i={};function f(c,d,y){y||(y=Error);var v=function(_){function h(w,S,T){var C;return function(M,D){if(!(M instanceof D))throw new TypeError("Cannot call a class as a function")}(this,h),(C=t(this,r(h).call(this,function(M,D,V){return typeof d=="string"?d:d(M,D,V)}(w,S,T)))).code=c,C}return function(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(S&&S.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),S&&n(w,S)}(h,_),h}(y);i[c]=v}function l(c,d){if(Array.isArray(c)){var y=c.length;return c=c.map(function(v){return String(v)}),y>2?"one of ".concat(d," ").concat(c.slice(0,y-1).join(", "),", or ")+c[y-1]:y===2?"one of ".concat(d," ").concat(c[0]," or ").concat(c[1]):"of ".concat(d," ").concat(c[0])}return"of ".concat(d," ").concat(String(c))}return f("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),f("ERR_INVALID_ARG_TYPE",function(c,d,y){var v,_,h;if(o===void 0&&(o=Gc()),o(typeof c=="string","'name' must be a string"),typeof d=="string"&&(_="not ",d.substr(0,_.length)===_)?(v="must not be",d=d.replace(/^not /,"")):v="must be",function(S,T,C){return(C===void 0||C>S.length)&&(C=S.length),S.substring(C-T.length,C)===T}(c," argument"))h="The ".concat(c," ").concat(v," ").concat(l(d,"type"));else{var w=function(S,T,C){return typeof C!="number"&&(C=0),!(C+T.length>S.length)&&S.indexOf(T,C)!==-1}(c,".")?"property":"argument";h='The "'.concat(c,'" ').concat(w," ").concat(v," ").concat(l(d,"type"))}return h+=". Received type ".concat(e(y))},TypeError),f("ERR_INVALID_ARG_VALUE",function(c,d){var y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";a===void 0&&(a=Oe);var v=a.inspect(d);return v.length>128&&(v="".concat(v.slice(0,128),"...")),"The argument '".concat(c,"' ").concat(y,". Received ").concat(v)},TypeError),f("ERR_INVALID_RETURN_VALUE",function(c,d,y){var v;return v=y&&y.constructor&&y.constructor.name?"instance of ".concat(y.constructor.name):"type ".concat(e(y)),"Expected ".concat(c,' to be returned from the "').concat(d,'"')+" function but got ".concat(v,".")},TypeError),f("ERR_MISSING_ARGS",function(){for(var c=arguments.length,d=new Array(c),y=0;y0,"At least one arg needs to be specified");var v="The ",_=d.length;switch(d=d.map(function(h){return'"'.concat(h,'"')}),_){case 1:v+="".concat(d[0]," argument");break;case 2:v+="".concat(d[0]," and ").concat(d[1]," arguments");break;default:v+=d.slice(0,_-1).join(", "),v+=", and ".concat(d[_-1]," arguments")}return"".concat(v," must be specified")},TypeError),zc.codes=i,zc}var _1={},E1=!1;function xI(){if(E1)return _1;E1=!0;var e=Et;function t(N,x,G){return x in N?Object.defineProperty(N,x,{value:G,enumerable:!0,configurable:!0,writable:!0}):N[x]=G,N}function r(N,x){for(var G=0;G"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function f(N,x,G){return(f=i()?Reflect.construct:function(Q,Te,K){var re=[null];re.push.apply(re,Te);var ae=new(Function.bind.apply(Q,re));return K&&l(ae,K.prototype),ae}).apply(null,arguments)}function l(N,x){return(l=Object.setPrototypeOf||function(G,Q){return G.__proto__=Q,G})(N,x)}function c(N){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(x){return x.__proto__||Object.getPrototypeOf(x)})(N)}function d(N){return(d=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(x){return typeof x}:function(x){return x&&typeof Symbol=="function"&&x.constructor===Symbol&&x!==Symbol.prototype?"symbol":typeof x})(N)}var y=Oe.inspect,v=X1().codes.ERR_INVALID_ARG_TYPE;function _(N,x,G){return(G===void 0||G>N.length)&&(G=N.length),N.substring(G-x.length,G)===x}var h="",w="",S="",T="",C={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function M(N){var x=Object.keys(N),G=Object.create(Object.getPrototypeOf(N));return x.forEach(function(Q){G[Q]=N[Q]}),Object.defineProperty(G,"message",{value:N.message}),G}function D(N){return y(N,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function V(N,x,G){var Q="",Te="",K=0,re="",ae=!1,Ce=D(N),Ne=Ce.split(` `),ne=D(x).split(` `),te=0,ye="";if(G==="strictEqual"&&d(N)==="object"&&d(x)==="object"&&N!==null&&x!==null&&(G="strictEqualObject"),Ne.length===1&&ne.length===1&&Ne[0]!==ne[0]){var me=Ne[0].length+ne[0].length;if(me<=10){if(!(d(N)==="object"&&N!==null||d(x)==="object"&&x!==null||N===0&&x===0))return"".concat(C[G],` `)+"".concat(Ne[0]," !== ").concat(ne[0],` `)}else if(G!=="strictEqualObject"&&me<(e.stderr&&e.stderr.isTTY?e.stderr.columns:80)){for(;Ne[0][te]===ne[0][te];)te++;te>2&&(ye=` `.concat(function(k,Z){if(Z=Math.floor(Z),k.length==0||Z==0)return"";var Se=k.length*Z;for(Z=Math.floor(Math.log(Z)/Math.log(2));Z;)k+=k,Z--;return k+=k.substring(0,Se-k.length)}(" ",te),"^"),te=0)}}for(var Re=Ne[Ne.length-1],ze=ne[ne.length-1];Re===ze&&(te++<2?re=` `.concat(Re).concat(re):Q=Re,Ne.pop(),ne.pop(),Ne.length!==0&&ne.length!==0);)Re=Ne[Ne.length-1],ze=ne[ne.length-1];var je=Math.max(Ne.length,ne.length);if(je===0){var Je=Ce.split(` `);if(Je.length>30)for(Je[26]="".concat(h,"...").concat(T);Je.length>27;)Je.pop();return"".concat(C.notIdentical,` `).concat(Je.join(` `),` `)}te>3&&(re=` `.concat(h,"...").concat(T).concat(re),ae=!0),Q!==""&&(re=` `.concat(Q).concat(re),Q="");var Ve=0,xe=C[G]+` `.concat(w,"+ actual").concat(T," ").concat(S,"- expected").concat(T),A=" ".concat(h,"...").concat(T," Lines skipped");for(te=0;te1&&te>2&&(O>4?(Te+=` `.concat(h,"...").concat(T),ae=!0):O>3&&(Te+=` `.concat(ne[te-2]),Ve++),Te+=` `.concat(ne[te-1]),Ve++),K=te,Q+=` `.concat(S,"-").concat(T," ").concat(ne[te]),Ve++;else if(ne.length1&&te>2&&(O>4?(Te+=` `.concat(h,"...").concat(T),ae=!0):O>3&&(Te+=` `.concat(Ne[te-2]),Ve++),Te+=` `.concat(Ne[te-1]),Ve++),K=te,Te+=` `.concat(w,"+").concat(T," ").concat(Ne[te]),Ve++;else{var Y=ne[te],fe=Ne[te],ge=fe!==Y&&(!_(fe,",")||fe.slice(0,-1)!==Y);ge&&_(Y,",")&&Y.slice(0,-1)===fe&&(ge=!1,fe+=","),ge?(O>1&&te>2&&(O>4?(Te+=` `.concat(h,"...").concat(T),ae=!0):O>3&&(Te+=` `.concat(Ne[te-2]),Ve++),Te+=` `.concat(Ne[te-1]),Ve++),K=te,Te+=` `.concat(w,"+").concat(T," ").concat(fe),Q+=` `.concat(S,"-").concat(T," ").concat(Y),Ve+=2):(Te+=Q,Q="",O!==1&&te!==0||(Te+=` `.concat(fe),Ve++))}if(Ve>20&&te30)for(me[26]="".concat(h,"...").concat(T);me.length>27;)me.pop();K=me.length===1?n(this,c(x).call(this,"".concat(ye," ").concat(me[0]))):n(this,c(x).call(this,"".concat(ye,` `).concat(me.join(` `),` `)))}else{var Re=D(Ne),ze="",je=C[ae];ae==="notDeepEqual"||ae==="notEqual"?(Re="".concat(C[ae],` `).concat(Re)).length>1024&&(Re="".concat(Re.slice(0,1021),"...")):(ze="".concat(D(ne)),Re.length>512&&(Re="".concat(Re.slice(0,509),"...")),ze.length>512&&(ze="".concat(ze.slice(0,509),"...")),ae==="deepEqual"||ae==="equal"?Re="".concat(je,` `).concat(Re,` should equal `):ze=" ".concat(ae," ").concat(ze)),K=n(this,c(x).call(this,"".concat(Re).concat(ze)))}return Error.stackTraceLimit=te,K.generatedMessage=!re,Object.defineProperty(o(K),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),K.code="ERR_ASSERTION",K.actual=Ne,K.expected=ne,K.operator=ae,Error.captureStackTrace&&Error.captureStackTrace(o(K),Ce),K.stack,K.name="AssertionError",n(K)}var G,Q;return function(Te,K){if(typeof K!="function"&&K!==null)throw new TypeError("Super expression must either be null or a function");Te.prototype=Object.create(K&&K.prototype,{constructor:{value:Te,writable:!0,configurable:!0}}),K&&l(Te,K)}(x,N),G=x,(Q=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:y.custom,value:function(Te,K){return y(this,function(re){for(var ae=1;ae10)return!0;for(var t=0;t57)return!0}return e.length===10&&e>=Math.pow(2,32)}function yu(e){return Object.keys(e).filter(DI).concat(mu(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function L1(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,o=0,a=Math.min(r,n);o1?ye-1:0),Re=1;Re1?ye-1:0),Re=1;Re1?ye-1:0),Re=1;Re1?ye-1:0),Re=1;Re=0;)m[j]=0}var i=0,f=1,l=2,c=3,d=258,y=29,v=256,_=v+1+y,h=30,w=19,S=2*_+1,T=15,C=16,M=7,D=256,V=16,F=17,N=18,x=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],G=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],Q=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],Te=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],K=512,re=new Array((_+2)*2);a(re);var ae=new Array(h*2);a(ae);var Ce=new Array(K);a(Ce);var Ne=new Array(d-c+1);a(Ne);var ne=new Array(y);a(ne);var te=new Array(h);a(te);function ye(m,j,le,Be,ee){this.static_tree=m,this.extra_bits=j,this.extra_base=le,this.elems=Be,this.max_length=ee,this.has_stree=m&&m.length}var me,Re,ze;function je(m,j){this.dyn_tree=m,this.max_code=0,this.stat_desc=j}function Je(m){return m<256?Ce[m]:Ce[256+(m>>>7)]}function Ve(m,j){m.pending_buf[m.pending++]=j&255,m.pending_buf[m.pending++]=j>>>8&255}function xe(m,j,le){m.bi_valid>C-le?(m.bi_buf|=j<>C-m.bi_valid,m.bi_valid+=le-C):(m.bi_buf|=j<>>=1,le<<=1;while(--j>0);return le>>>1}function Y(m){m.bi_valid===16?(Ve(m,m.bi_buf),m.bi_buf=0,m.bi_valid=0):m.bi_valid>=8&&(m.pending_buf[m.pending++]=m.bi_buf&255,m.bi_buf>>=8,m.bi_valid-=8)}function fe(m,j){var le=j.dyn_tree,Be=j.max_code,ee=j.stat_desc.static_tree,ue=j.stat_desc.has_stree,I=j.stat_desc.extra_bits,Fe=j.stat_desc.extra_base,rt=j.stat_desc.max_length,g,we,_e,U,ie,ve,Ye=0;for(U=0;U<=T;U++)m.bl_count[U]=0;for(le[m.heap[m.heap_max]*2+1]=0,g=m.heap_max+1;grt&&(U=rt,Ye++),le[we*2+1]=U,!(we>Be)&&(m.bl_count[U]++,ie=0,we>=Fe&&(ie=I[we-Fe]),ve=le[we*2],m.opt_len+=ve*(U+ie),ue&&(m.static_len+=ve*(ee[we*2+1]+ie)));if(Ye!==0){do{for(U=rt-1;m.bl_count[U]===0;)U--;m.bl_count[U]--,m.bl_count[U+1]+=2,m.bl_count[rt]--,Ye-=2}while(Ye>0);for(U=rt;U!==0;U--)for(we=m.bl_count[U];we!==0;)_e=m.heap[--g],!(_e>Be)&&(le[_e*2+1]!==U&&(m.opt_len+=(U-le[_e*2+1])*le[_e*2],le[_e*2+1]=U),we--)}}function ge(m,j,le){var Be=new Array(T+1),ee=0,ue,I;for(ue=1;ue<=T;ue++)Be[ue]=ee=ee+le[ue-1]<<1;for(I=0;I<=j;I++){var Fe=m[I*2+1];Fe!==0&&(m[I*2]=O(Be[Fe]++,Fe))}}function k(){var m,j,le,Be,ee,ue=new Array(T+1);for(le=0,Be=0;Be>=7;Be8?Ve(m,m.bi_buf):m.bi_valid>0&&(m.pending_buf[m.pending++]=m.bi_buf),m.bi_buf=0,m.bi_valid=0}function ke(m,j,le,Be){Se(m),Be&&(Ve(m,le),Ve(m,~le)),e.arraySet(m.pending_buf,m.window,j,le,m.pending),m.pending+=le}function De(m,j,le,Be){var ee=j*2,ue=le*2;return m[ee]>1;I>=1;I--)$e(m,le,I);g=ue;do I=m.heap[1],m.heap[1]=m.heap[m.heap_len--],$e(m,le,1),Fe=m.heap[1],m.heap[--m.heap_max]=I,m.heap[--m.heap_max]=Fe,le[g*2]=le[I*2]+le[Fe*2],m.depth[g]=(m.depth[I]>=m.depth[Fe]?m.depth[I]:m.depth[Fe])+1,le[I*2+1]=le[Fe*2+1]=g,m.heap[1]=g++,$e(m,le,1);while(m.heap_len>=2);m.heap[--m.heap_max]=m.heap[1],fe(m,j),ge(le,rt,m.bl_count)}function nt(m,j,le){var Be,ee=-1,ue,I=j[0*2+1],Fe=0,rt=7,g=4;for(I===0&&(rt=138,g=3),j[(le+1)*2+1]=65535,Be=0;Be<=le;Be++)ue=I,I=j[(Be+1)*2+1],!(++Fe=3&&m.bl_tree[Te[j]*2+1]===0;j--);return m.opt_len+=3*(j+1)+5+5+4,j}function Qt(m,j,le,Be){var ee;for(xe(m,j-257,5),xe(m,le-1,5),xe(m,Be-4,4),ee=0;ee>>=1)if(j&1&&m.dyn_ltree[le*2]!==0)return r;if(m.dyn_ltree[9*2]!==0||m.dyn_ltree[10*2]!==0||m.dyn_ltree[13*2]!==0)return n;for(le=32;le0?(m.strm.data_type===o&&(m.strm.data_type=gt(m)),ot(m,m.l_desc),ot(m,m.d_desc),I=bt(m),ee=m.opt_len+3+7>>>3,ue=m.static_len+3+7>>>3,ue<=ee&&(ee=ue)):ee=ue=le+5,le+4<=ee&&j!==-1?s(m,j,le,Be):m.strategy===t||ue===ee?(xe(m,(f<<1)+(Be?1:0),3),Me(m,re,ae)):(xe(m,(l<<1)+(Be?1:0),3),Qt(m,m.l_desc.max_code+1,m.d_desc.max_code+1,I+1),Me(m,m.dyn_ltree,m.dyn_dtree)),Z(m),Be&&Se(m)}function L(m,j,le){return m.pending_buf[m.d_buf+m.last_lit*2]=j>>>8&255,m.pending_buf[m.d_buf+m.last_lit*2+1]=j&255,m.pending_buf[m.l_buf+m.last_lit]=le&255,m.last_lit++,j===0?m.dyn_ltree[le*2]++:(m.matches++,j--,m.dyn_ltree[(Ne[le]+v+1)*2]++,m.dyn_dtree[Je(j)*2]++),m.last_lit===m.lit_bufsize-1}return Ti._tr_init=p,Ti._tr_stored_block=s,Ti._tr_flush_block=b,Ti._tr_tally=L,Ti._tr_align=u,Ti}var Qc={},rb=!1;function hb(){if(rb)return Qc;rb=!0;function e(t,r,n,o){for(var a=t&65535|0,i=t>>>16&65535|0,f=0;n!==0;){f=n>2e3?2e3:n,n-=f;do a=a+r[o++]|0,i=i+a|0;while(--f);a%=65521,i%=65521}return a|i<<16|0}return Qc=e,Qc}var eh={},nb=!1;function pb(){if(nb)return eh;nb=!0;function e(){for(var n,o=[],a=0;a<256;a++){n=a;for(var i=0;i<8;i++)n=n&1?3988292384^n>>>1:n>>>1;o[a]=n}return o}var t=e();function r(n,o,a,i){var f=t,l=i+a;n^=-1;for(var c=i;c>>8^f[(n^o[c])&255];return n^-1}return eh=r,eh}var th={},ib=!1;function WI(){return ib||(ib=!0,th={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}),th}var Vr={},ob=!1;function HI(){if(ob)return Vr;ob=!0;var e=_u(),t=qI(),r=hb(),n=pb(),o=WI(),a=0,i=1,f=3,l=4,c=5,d=0,y=1,v=-2,_=-3,h=-5,w=-1,S=1,T=2,C=3,M=4,D=0,V=2,F=8,N=9,x=15,G=8,Q=29,Te=256,K=Te+1+Q,re=30,ae=19,Ce=2*K+1,Ne=15,ne=3,te=258,ye=te+ne+1,me=32,Re=42,ze=69,je=73,Je=91,Ve=103,xe=113,A=666,O=1,Y=2,fe=3,ge=4,k=3;function Z(g,we){return g.msg=o[we],we}function Se(g){return(g<<1)-(g>4?9:0)}function ke(g){for(var we=g.length;--we>=0;)g[we]=0}function De(g){var we=g.state,_e=we.pending;_e>g.avail_out&&(_e=g.avail_out),_e!==0&&(e.arraySet(g.output,we.pending_buf,we.pending_out,_e,g.next_out),g.next_out+=_e,we.pending_out+=_e,g.total_out+=_e,g.avail_out-=_e,we.pending-=_e,we.pending===0&&(we.pending_out=0))}function $e(g,we){t._tr_flush_block(g,g.block_start>=0?g.block_start:-1,g.strstart-g.block_start,we),g.block_start=g.strstart,De(g.strm)}function Me(g,we){g.pending_buf[g.pending++]=we}function ot(g,we){g.pending_buf[g.pending++]=we>>>8&255,g.pending_buf[g.pending++]=we&255}function nt(g,we,_e,U){var ie=g.avail_in;return ie>U&&(ie=U),ie===0?0:(g.avail_in-=ie,e.arraySet(we,g.input,g.next_in,ie,_e),g.state.wrap===1?g.adler=r(g.adler,we,ie,_e):g.state.wrap===2&&(g.adler=n(g.adler,we,ie,_e)),g.next_in+=ie,g.total_in+=ie,ie)}function et(g,we){var _e=g.max_chain_length,U=g.strstart,ie,ve,Ye=g.prev_length,Ae=g.nice_match,We=g.strstart>g.w_size-ye?g.strstart-(g.w_size-ye):0,ht=g.window,kr=g.w_mask,ut=g.prev,pt=g.strstart+te,Lt=ht[U+Ye-1],Nt=ht[U+Ye];g.prev_length>=g.good_match&&(_e>>=2),Ae>g.lookahead&&(Ae=g.lookahead);do if(ie=we,!(ht[ie+Ye]!==Nt||ht[ie+Ye-1]!==Lt||ht[ie]!==ht[U]||ht[++ie]!==ht[U+1])){U+=2,ie++;do;while(ht[++U]===ht[++ie]&&ht[++U]===ht[++ie]&&ht[++U]===ht[++ie]&&ht[++U]===ht[++ie]&&ht[++U]===ht[++ie]&&ht[++U]===ht[++ie]&&ht[++U]===ht[++ie]&&ht[++U]===ht[++ie]&&UYe){if(g.match_start=we,Ye=ve,ve>=Ae)break;Lt=ht[U+Ye-1],Nt=ht[U+Ye]}}while((we=ut[we&kr])>We&&--_e!==0);return Ye<=g.lookahead?Ye:g.lookahead}function bt(g){var we=g.w_size,_e,U,ie,ve,Ye;do{if(ve=g.window_size-g.lookahead-g.strstart,g.strstart>=we+(we-ye)){e.arraySet(g.window,g.window,we,we,0),g.match_start-=we,g.strstart-=we,g.block_start-=we,U=g.hash_size,_e=U;do ie=g.head[--_e],g.head[_e]=ie>=we?ie-we:0;while(--U);U=we,_e=U;do ie=g.prev[--_e],g.prev[_e]=ie>=we?ie-we:0;while(--U);ve+=we}if(g.strm.avail_in===0)break;if(U=nt(g.strm,g.window,g.strstart+g.lookahead,ve),g.lookahead+=U,g.lookahead+g.insert>=ne)for(Ye=g.strstart-g.insert,g.ins_h=g.window[Ye],g.ins_h=(g.ins_h<g.pending_buf_size-5&&(_e=g.pending_buf_size-5);;){if(g.lookahead<=1){if(bt(g),g.lookahead===0&&we===a)return O;if(g.lookahead===0)break}g.strstart+=g.lookahead,g.lookahead=0;var U=g.block_start+_e;if((g.strstart===0||g.strstart>=U)&&(g.lookahead=g.strstart-U,g.strstart=U,$e(g,!1),g.strm.avail_out===0)||g.strstart-g.block_start>=g.w_size-ye&&($e(g,!1),g.strm.avail_out===0))return O}return g.insert=0,we===l?($e(g,!0),g.strm.avail_out===0?fe:ge):(g.strstart>g.block_start&&($e(g,!1),g.strm.avail_out===0),O)}function gt(g,we){for(var _e,U;;){if(g.lookahead=ne&&(g.ins_h=(g.ins_h<=ne)if(U=t._tr_tally(g,g.strstart-g.match_start,g.match_length-ne),g.lookahead-=g.match_length,g.match_length<=g.max_lazy_match&&g.lookahead>=ne){g.match_length--;do g.strstart++,g.ins_h=(g.ins_h<=ne&&(g.ins_h=(g.ins_h<4096)&&(g.match_length=ne-1)),g.prev_length>=ne&&g.match_length<=g.prev_length){ie=g.strstart+g.lookahead-ne,U=t._tr_tally(g,g.strstart-1-g.prev_match,g.prev_length-ne),g.lookahead-=g.prev_length-1,g.prev_length-=2;do++g.strstart<=ie&&(g.ins_h=(g.ins_h<=ne&&g.strstart>0&&(ie=g.strstart-1,U=Ye[ie],U===Ye[++ie]&&U===Ye[++ie]&&U===Ye[++ie])){ve=g.strstart+te;do;while(U===Ye[++ie]&&U===Ye[++ie]&&U===Ye[++ie]&&U===Ye[++ie]&&U===Ye[++ie]&&U===Ye[++ie]&&U===Ye[++ie]&&U===Ye[++ie]&&ieg.lookahead&&(g.match_length=g.lookahead)}if(g.match_length>=ne?(_e=t._tr_tally(g,1,g.match_length-ne),g.lookahead-=g.match_length,g.strstart+=g.match_length,g.match_length=0):(_e=t._tr_tally(g,0,g.window[g.strstart]),g.lookahead--,g.strstart++),_e&&($e(g,!1),g.strm.avail_out===0))return O}return g.insert=0,we===l?($e(g,!0),g.strm.avail_out===0?fe:ge):g.last_lit&&($e(g,!1),g.strm.avail_out===0)?O:Y}function s(g,we){for(var _e;;){if(g.lookahead===0&&(bt(g),g.lookahead===0)){if(we===a)return O;break}if(g.match_length=0,_e=t._tr_tally(g,0,g.window[g.strstart]),g.lookahead--,g.strstart++,_e&&($e(g,!1),g.strm.avail_out===0))return O}return g.insert=0,we===l?($e(g,!0),g.strm.avail_out===0?fe:ge):g.last_lit&&($e(g,!1),g.strm.avail_out===0)?O:Y}function u(g,we,_e,U,ie){this.good_length=g,this.max_lazy=we,this.nice_length=_e,this.max_chain=U,this.func=ie}var b;b=[new u(0,0,0,0,Qt),new u(4,4,8,4,gt),new u(4,5,16,8,gt),new u(4,6,32,32,gt),new u(4,4,16,16,Ct),new u(8,16,32,32,Ct),new u(8,16,128,128,Ct),new u(8,32,128,256,Ct),new u(32,128,258,1024,Ct),new u(32,258,258,4096,Ct)];function L(g){g.window_size=2*g.w_size,ke(g.head),g.max_lazy_match=b[g.level].max_lazy,g.good_match=b[g.level].good_length,g.nice_match=b[g.level].nice_length,g.max_chain_length=b[g.level].max_chain,g.strstart=0,g.block_start=0,g.lookahead=0,g.insert=0,g.match_length=g.prev_length=ne-1,g.match_available=0,g.ins_h=0}function m(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=F,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new e.Buf16(Ce*2),this.dyn_dtree=new e.Buf16((2*re+1)*2),this.bl_tree=new e.Buf16((2*ae+1)*2),ke(this.dyn_ltree),ke(this.dyn_dtree),ke(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new e.Buf16(Ne+1),this.heap=new e.Buf16(2*K+1),ke(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new e.Buf16(2*K+1),ke(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function j(g){var we;return!g||!g.state?Z(g,v):(g.total_in=g.total_out=0,g.data_type=V,we=g.state,we.pending=0,we.pending_out=0,we.wrap<0&&(we.wrap=-we.wrap),we.status=we.wrap?Re:xe,g.adler=we.wrap===2?0:1,we.last_flush=a,t._tr_init(we),d)}function le(g){var we=j(g);return we===d&&L(g.state),we}function Be(g,we){return!g||!g.state||g.state.wrap!==2?v:(g.state.gzhead=we,d)}function ee(g,we,_e,U,ie,ve){if(!g)return v;var Ye=1;if(we===w&&(we=6),U<0?(Ye=0,U=-U):U>15&&(Ye=2,U-=16),ie<1||ie>N||_e!==F||U<8||U>15||we<0||we>9||ve<0||ve>M)return Z(g,v);U===8&&(U=9);var Ae=new m;return g.state=Ae,Ae.strm=g,Ae.wrap=Ye,Ae.gzhead=null,Ae.w_bits=U,Ae.w_size=1<c||we<0)return g?Z(g,v):v;if(U=g.state,!g.output||!g.input&&g.avail_in!==0||U.status===A&&we!==l)return Z(g,g.avail_out===0?h:v);if(U.strm=g,_e=U.last_flush,U.last_flush=we,U.status===Re)if(U.wrap===2)g.adler=0,Me(U,31),Me(U,139),Me(U,8),U.gzhead?(Me(U,(U.gzhead.text?1:0)+(U.gzhead.hcrc?2:0)+(U.gzhead.extra?4:0)+(U.gzhead.name?8:0)+(U.gzhead.comment?16:0)),Me(U,U.gzhead.time&255),Me(U,U.gzhead.time>>8&255),Me(U,U.gzhead.time>>16&255),Me(U,U.gzhead.time>>24&255),Me(U,U.level===9?2:U.strategy>=T||U.level<2?4:0),Me(U,U.gzhead.os&255),U.gzhead.extra&&U.gzhead.extra.length&&(Me(U,U.gzhead.extra.length&255),Me(U,U.gzhead.extra.length>>8&255)),U.gzhead.hcrc&&(g.adler=n(g.adler,U.pending_buf,U.pending,0)),U.gzindex=0,U.status=ze):(Me(U,0),Me(U,0),Me(U,0),Me(U,0),Me(U,0),Me(U,U.level===9?2:U.strategy>=T||U.level<2?4:0),Me(U,k),U.status=xe);else{var Ye=F+(U.w_bits-8<<4)<<8,Ae=-1;U.strategy>=T||U.level<2?Ae=0:U.level<6?Ae=1:U.level===6?Ae=2:Ae=3,Ye|=Ae<<6,U.strstart!==0&&(Ye|=me),Ye+=31-Ye%31,U.status=xe,ot(U,Ye),U.strstart!==0&&(ot(U,g.adler>>>16),ot(U,g.adler&65535)),g.adler=1}if(U.status===ze)if(U.gzhead.extra){for(ie=U.pending;U.gzindex<(U.gzhead.extra.length&65535)&&!(U.pending===U.pending_buf_size&&(U.gzhead.hcrc&&U.pending>ie&&(g.adler=n(g.adler,U.pending_buf,U.pending-ie,ie)),De(g),ie=U.pending,U.pending===U.pending_buf_size));)Me(U,U.gzhead.extra[U.gzindex]&255),U.gzindex++;U.gzhead.hcrc&&U.pending>ie&&(g.adler=n(g.adler,U.pending_buf,U.pending-ie,ie)),U.gzindex===U.gzhead.extra.length&&(U.gzindex=0,U.status=je)}else U.status=je;if(U.status===je)if(U.gzhead.name){ie=U.pending;do{if(U.pending===U.pending_buf_size&&(U.gzhead.hcrc&&U.pending>ie&&(g.adler=n(g.adler,U.pending_buf,U.pending-ie,ie)),De(g),ie=U.pending,U.pending===U.pending_buf_size)){ve=1;break}U.gzindexie&&(g.adler=n(g.adler,U.pending_buf,U.pending-ie,ie)),ve===0&&(U.gzindex=0,U.status=Je)}else U.status=Je;if(U.status===Je)if(U.gzhead.comment){ie=U.pending;do{if(U.pending===U.pending_buf_size&&(U.gzhead.hcrc&&U.pending>ie&&(g.adler=n(g.adler,U.pending_buf,U.pending-ie,ie)),De(g),ie=U.pending,U.pending===U.pending_buf_size)){ve=1;break}U.gzindexie&&(g.adler=n(g.adler,U.pending_buf,U.pending-ie,ie)),ve===0&&(U.status=Ve)}else U.status=Ve;if(U.status===Ve&&(U.gzhead.hcrc?(U.pending+2>U.pending_buf_size&&De(g),U.pending+2<=U.pending_buf_size&&(Me(U,g.adler&255),Me(U,g.adler>>8&255),g.adler=0,U.status=xe)):U.status=xe),U.pending!==0){if(De(g),g.avail_out===0)return U.last_flush=-1,d}else if(g.avail_in===0&&Se(we)<=Se(_e)&&we!==l)return Z(g,h);if(U.status===A&&g.avail_in!==0)return Z(g,h);if(g.avail_in!==0||U.lookahead!==0||we!==a&&U.status!==A){var We=U.strategy===T?s(U,we):U.strategy===C?p(U,we):b[U.level].func(U,we);if((We===fe||We===ge)&&(U.status=A),We===O||We===fe)return g.avail_out===0&&(U.last_flush=-1),d;if(We===Y&&(we===i?t._tr_align(U):we!==c&&(t._tr_stored_block(U,0,0,!1),we===f&&(ke(U.head),U.lookahead===0&&(U.strstart=0,U.block_start=0,U.insert=0))),De(g),g.avail_out===0))return U.last_flush=-1,d}return we!==l?d:U.wrap<=0?y:(U.wrap===2?(Me(U,g.adler&255),Me(U,g.adler>>8&255),Me(U,g.adler>>16&255),Me(U,g.adler>>24&255),Me(U,g.total_in&255),Me(U,g.total_in>>8&255),Me(U,g.total_in>>16&255),Me(U,g.total_in>>24&255)):(ot(U,g.adler>>>16),ot(U,g.adler&65535)),De(g),U.wrap>0&&(U.wrap=-U.wrap),U.pending!==0?d:y)}function Fe(g){var we;return!g||!g.state?v:(we=g.state.status,we!==Re&&we!==ze&&we!==je&&we!==Je&&we!==Ve&&we!==xe&&we!==A?Z(g,v):(g.state=null,we===xe?Z(g,_):d))}function rt(g,we){var _e=we.length,U,ie,ve,Ye,Ae,We,ht,kr;if(!g||!g.state||(U=g.state,Ye=U.wrap,Ye===2||Ye===1&&U.status!==Re||U.lookahead))return v;for(Ye===1&&(g.adler=r(g.adler,we,_e,0)),U.wrap=0,_e>=U.w_size&&(Ye===0&&(ke(U.head),U.strstart=0,U.block_start=0,U.insert=0),kr=new e.Buf8(U.w_size),e.arraySet(kr,we,_e-U.w_size,U.w_size,0),we=kr,_e=U.w_size),Ae=g.avail_in,We=g.next_in,ht=g.input,g.avail_in=_e,g.next_in=0,g.input=we,bt(U);U.lookahead>=ne;){ie=U.strstart,ve=U.lookahead-(ne-1);do U.ins_h=(U.ins_h<>>24,S>>>=N,T-=N,N=F>>>16&255,N===0)re[l++]=F&65535;else if(N&16){x=F&65535,N&=15,N&&(T>>=N,T-=N),T<15&&(S+=K[i++]<>>24,S>>>=N,T-=N,N=F>>>16&255,N&16){if(G=F&65535,N&=15,Ty){n.msg="invalid distance too far back",a.mode=e;break e}if(S>>>=N,T-=N,N=l-c,G>N){if(N=G-N,N>_&&a.sane){n.msg="invalid distance too far back",a.mode=e;break e}if(Q=0,Te=w,h===0){if(Q+=v-N,N2;)re[l++]=Te[Q++],re[l++]=Te[Q++],re[l++]=Te[Q++],x-=3;x&&(re[l++]=Te[Q++],x>1&&(re[l++]=Te[Q++]))}else{Q=l-G;do re[l++]=re[Q++],re[l++]=re[Q++],re[l++]=re[Q++],x-=3;while(x>2);x&&(re[l++]=re[Q++],x>1&&(re[l++]=re[Q++]))}}else if(N&64){n.msg="invalid distance code",a.mode=e;break e}else{F=M[(F&65535)+(S&(1<>3,i-=x,T-=x<<3,S&=(1<=1&&je[x]===0;x--);if(G>x&&(G=x),x===0)return S[T++]=1<<24|64<<16|0,S[T++]=1<<24|64<<16|0,M.bits=1,0;for(N=1;N0&&(v===o||x!==1))return-1;for(Je[1]=0,V=1;Vr||v===i&&re>n)return 1;for(;;){A=V-Te,C[F]ze?(O=Ve[xe+C[F]],Y=me[Re+C[F]]):(O=32+64,Y=0),Ce=1<>Te)+Ne]=A<<24|O<<16|Y|0;while(Ne!==0);for(Ce=1<>=1;if(Ce!==0?(ae&=Ce-1,ae+=Ce):ae=0,F++,--je[V]===0){if(V===x)break;V=_[h+C[F]]}if(V>G&&(ae&te)!==ne){for(Te===0&&(Te=G),ye+=N,Q=V-Te,K=1<r||v===i&&re>n)return 1;ne=ae&te,S[ne]=G<<24|Q<<16|ye-T|0}}return ae!==0&&(S[ye+ae]=V-Te<<24|64<<16|0),M.bits=G,0},nh}var Nr={},ub=!1;function GI(){if(ub)return Nr;ub=!0;var e=_u(),t=hb(),r=pb(),n=ZI(),o=VI(),a=0,i=1,f=2,l=4,c=5,d=6,y=0,v=1,_=2,h=-2,w=-3,S=-4,T=-5,C=8,M=1,D=2,V=3,F=4,N=5,x=6,G=7,Q=8,Te=9,K=10,re=11,ae=12,Ce=13,Ne=14,ne=15,te=16,ye=17,me=18,Re=19,ze=20,je=21,Je=22,Ve=23,xe=24,A=25,O=26,Y=27,fe=28,ge=29,k=30,Z=31,Se=32,ke=852,De=592,$e=15,Me=$e;function ot(ee){return(ee>>>24&255)+(ee>>>8&65280)+((ee&65280)<<8)+((ee&255)<<24)}function nt(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new e.Buf16(320),this.work=new e.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function et(ee){var ue;return!ee||!ee.state?h:(ue=ee.state,ee.total_in=ee.total_out=ue.total=0,ee.msg="",ue.wrap&&(ee.adler=ue.wrap&1),ue.mode=M,ue.last=0,ue.havedict=0,ue.dmax=32768,ue.head=null,ue.hold=0,ue.bits=0,ue.lencode=ue.lendyn=new e.Buf32(ke),ue.distcode=ue.distdyn=new e.Buf32(De),ue.sane=1,ue.back=-1,y)}function bt(ee){var ue;return!ee||!ee.state?h:(ue=ee.state,ue.wsize=0,ue.whave=0,ue.wnext=0,et(ee))}function Qt(ee,ue){var I,Fe;return!ee||!ee.state||(Fe=ee.state,ue<0?(I=0,ue=-ue):(I=(ue>>4)+1,ue<48&&(ue&=15)),ue&&(ue<8||ue>15))?h:(Fe.window!==null&&Fe.wbits!==ue&&(Fe.window=null),Fe.wrap=I,Fe.wbits=ue,bt(ee))}function gt(ee,ue){var I,Fe;return ee?(Fe=new nt,ee.state=Fe,Fe.window=null,I=Qt(ee,ue),I!==y&&(ee.state=null),I):h}function Ct(ee){return gt(ee,Me)}var p=!0,s,u;function b(ee){if(p){var ue;for(s=new e.Buf32(512),u=new e.Buf32(32),ue=0;ue<144;)ee.lens[ue++]=8;for(;ue<256;)ee.lens[ue++]=9;for(;ue<280;)ee.lens[ue++]=7;for(;ue<288;)ee.lens[ue++]=8;for(o(i,ee.lens,0,288,s,0,ee.work,{bits:9}),ue=0;ue<32;)ee.lens[ue++]=5;o(f,ee.lens,0,32,u,0,ee.work,{bits:5}),p=!1}ee.lencode=s,ee.lenbits=9,ee.distcode=u,ee.distbits=5}function L(ee,ue,I,Fe){var rt,g=ee.state;return g.window===null&&(g.wsize=1<=g.wsize?(e.arraySet(g.window,ue,I-g.wsize,g.wsize,0),g.wnext=0,g.whave=g.wsize):(rt=g.wsize-g.wnext,rt>Fe&&(rt=Fe),e.arraySet(g.window,ue,I-Fe,rt,g.wnext),Fe-=rt,Fe?(e.arraySet(g.window,ue,I-Fe,Fe,0),g.wnext=Fe,g.whave=g.wsize):(g.wnext+=rt,g.wnext===g.wsize&&(g.wnext=0),g.whave>>8&255,I.check=r(I.check,xt,2,0),ie=0,ve=0,I.mode=D;break}if(I.flags=0,I.head&&(I.head.done=!1),!(I.wrap&1)||(((ie&255)<<8)+(ie>>8))%31){ee.msg="incorrect header check",I.mode=k;break}if((ie&15)!==C){ee.msg="unknown compression method",I.mode=k;break}if(ie>>>=4,ve-=4,mt=(ie&15)+8,I.wbits===0)I.wbits=mt;else if(mt>I.wbits){ee.msg="invalid window size",I.mode=k;break}I.dmax=1<>8&1),I.flags&512&&(xt[0]=ie&255,xt[1]=ie>>>8&255,I.check=r(I.check,xt,2,0)),ie=0,ve=0,I.mode=V;case V:for(;ve<32;){if(_e===0)break e;_e--,ie+=Fe[g++]<>>8&255,xt[2]=ie>>>16&255,xt[3]=ie>>>24&255,I.check=r(I.check,xt,4,0)),ie=0,ve=0,I.mode=F;case F:for(;ve<16;){if(_e===0)break e;_e--,ie+=Fe[g++]<>8),I.flags&512&&(xt[0]=ie&255,xt[1]=ie>>>8&255,I.check=r(I.check,xt,2,0)),ie=0,ve=0,I.mode=N;case N:if(I.flags&1024){for(;ve<16;){if(_e===0)break e;_e--,ie+=Fe[g++]<>>8&255,I.check=r(I.check,xt,2,0)),ie=0,ve=0}else I.head&&(I.head.extra=null);I.mode=x;case x:if(I.flags&1024&&(We=I.length,We>_e&&(We=_e),We&&(I.head&&(mt=I.head.extra_len-I.length,I.head.extra||(I.head.extra=new Array(I.head.extra_len)),e.arraySet(I.head.extra,Fe,g,We,mt)),I.flags&512&&(I.check=r(I.check,Fe,We,g)),_e-=We,g+=We,I.length-=We),I.length))break e;I.length=0,I.mode=G;case G:if(I.flags&2048){if(_e===0)break e;We=0;do mt=Fe[g+We++],I.head&&mt&&I.length<65536&&(I.head.name+=String.fromCharCode(mt));while(mt&&We<_e);if(I.flags&512&&(I.check=r(I.check,Fe,We,g)),_e-=We,g+=We,mt)break e}else I.head&&(I.head.name=null);I.length=0,I.mode=Q;case Q:if(I.flags&4096){if(_e===0)break e;We=0;do mt=Fe[g+We++],I.head&&mt&&I.length<65536&&(I.head.comment+=String.fromCharCode(mt));while(mt&&We<_e);if(I.flags&512&&(I.check=r(I.check,Fe,We,g)),_e-=We,g+=We,mt)break e}else I.head&&(I.head.comment=null);I.mode=Te;case Te:if(I.flags&512){for(;ve<16;){if(_e===0)break e;_e--,ie+=Fe[g++]<>9&1,I.head.done=!0),ee.adler=I.check=0,I.mode=ae;break;case K:for(;ve<32;){if(_e===0)break e;_e--,ie+=Fe[g++]<>>=ve&7,ve-=ve&7,I.mode=Y;break}for(;ve<3;){if(_e===0)break e;_e--,ie+=Fe[g++]<>>=1,ve-=1,ie&3){case 0:I.mode=Ne;break;case 1:if(b(I),I.mode=ze,ue===d){ie>>>=2,ve-=2;break e}break;case 2:I.mode=ye;break;case 3:ee.msg="invalid block type",I.mode=k}ie>>>=2,ve-=2;break;case Ne:for(ie>>>=ve&7,ve-=ve&7;ve<32;){if(_e===0)break e;_e--,ie+=Fe[g++]<>>16^65535)){ee.msg="invalid stored block lengths",I.mode=k;break}if(I.length=ie&65535,ie=0,ve=0,I.mode=ne,ue===d)break e;case ne:I.mode=te;case te:if(We=I.length,We){if(We>_e&&(We=_e),We>U&&(We=U),We===0)break e;e.arraySet(rt,Fe,g,We,we),_e-=We,g+=We,U-=We,we+=We,I.length-=We;break}I.mode=ae;break;case ye:for(;ve<14;){if(_e===0)break e;_e--,ie+=Fe[g++]<>>=5,ve-=5,I.ndist=(ie&31)+1,ie>>>=5,ve-=5,I.ncode=(ie&15)+4,ie>>>=4,ve-=4,I.nlen>286||I.ndist>30){ee.msg="too many length or distance symbols",I.mode=k;break}I.have=0,I.mode=me;case me:for(;I.have>>=3,ve-=3}for(;I.have<19;)I.lens[pn[I.have++]]=0;if(I.lencode=I.lendyn,I.lenbits=7,Dt={bits:I.lenbits},Ut=o(a,I.lens,0,19,I.lencode,0,I.work,Dt),I.lenbits=Dt.bits,Ut){ee.msg="invalid code lengths set",I.mode=k;break}I.have=0,I.mode=Re;case Re:for(;I.have>>24,Lt=ut>>>16&255,Nt=ut&65535,!(pt<=ve);){if(_e===0)break e;_e--,ie+=Fe[g++]<>>=pt,ve-=pt,I.lens[I.have++]=Nt;else{if(Nt===16){for(Kt=pt+2;ve>>=pt,ve-=pt,I.have===0){ee.msg="invalid bit length repeat",I.mode=k;break}mt=I.lens[I.have-1],We=3+(ie&3),ie>>>=2,ve-=2}else if(Nt===17){for(Kt=pt+3;ve>>=pt,ve-=pt,mt=0,We=3+(ie&7),ie>>>=3,ve-=3}else{for(Kt=pt+7;ve>>=pt,ve-=pt,mt=0,We=11+(ie&127),ie>>>=7,ve-=7}if(I.have+We>I.nlen+I.ndist){ee.msg="invalid bit length repeat",I.mode=k;break}for(;We--;)I.lens[I.have++]=mt}}if(I.mode===k)break;if(I.lens[256]===0){ee.msg="invalid code -- missing end-of-block",I.mode=k;break}if(I.lenbits=9,Dt={bits:I.lenbits},Ut=o(i,I.lens,0,I.nlen,I.lencode,0,I.work,Dt),I.lenbits=Dt.bits,Ut){ee.msg="invalid literal/lengths set",I.mode=k;break}if(I.distbits=6,I.distcode=I.distdyn,Dt={bits:I.distbits},Ut=o(f,I.lens,I.nlen,I.ndist,I.distcode,0,I.work,Dt),I.distbits=Dt.bits,Ut){ee.msg="invalid distances set",I.mode=k;break}if(I.mode=ze,ue===d)break e;case ze:I.mode=je;case je:if(_e>=6&&U>=258){ee.next_out=we,ee.avail_out=U,ee.next_in=g,ee.avail_in=_e,I.hold=ie,I.bits=ve,n(ee,Ae),we=ee.next_out,rt=ee.output,U=ee.avail_out,g=ee.next_in,Fe=ee.input,_e=ee.avail_in,ie=I.hold,ve=I.bits,I.mode===ae&&(I.back=-1);break}for(I.back=0;ut=I.lencode[ie&(1<>>24,Lt=ut>>>16&255,Nt=ut&65535,!(pt<=ve);){if(_e===0)break e;_e--,ie+=Fe[g++]<>Yt)],pt=ut>>>24,Lt=ut>>>16&255,Nt=ut&65535,!(Yt+pt<=ve);){if(_e===0)break e;_e--,ie+=Fe[g++]<>>=Yt,ve-=Yt,I.back+=Yt}if(ie>>>=pt,ve-=pt,I.back+=pt,I.length=Nt,Lt===0){I.mode=O;break}if(Lt&32){I.back=-1,I.mode=ae;break}if(Lt&64){ee.msg="invalid literal/length code",I.mode=k;break}I.extra=Lt&15,I.mode=Je;case Je:if(I.extra){for(Kt=I.extra;ve>>=I.extra,ve-=I.extra,I.back+=I.extra}I.was=I.length,I.mode=Ve;case Ve:for(;ut=I.distcode[ie&(1<>>24,Lt=ut>>>16&255,Nt=ut&65535,!(pt<=ve);){if(_e===0)break e;_e--,ie+=Fe[g++]<>Yt)],pt=ut>>>24,Lt=ut>>>16&255,Nt=ut&65535,!(Yt+pt<=ve);){if(_e===0)break e;_e--,ie+=Fe[g++]<>>=Yt,ve-=Yt,I.back+=Yt}if(ie>>>=pt,ve-=pt,I.back+=pt,Lt&64){ee.msg="invalid distance code",I.mode=k;break}I.offset=Nt,I.extra=Lt&15,I.mode=xe;case xe:if(I.extra){for(Kt=I.extra;ve>>=I.extra,ve-=I.extra,I.back+=I.extra}if(I.offset>I.dmax){ee.msg="invalid distance too far back",I.mode=k;break}I.mode=A;case A:if(U===0)break e;if(We=Ae-U,I.offset>We){if(We=I.offset-We,We>I.whave&&I.sane){ee.msg="invalid distance too far back",I.mode=k;break}We>I.wnext?(We-=I.wnext,ht=I.wsize-We):ht=I.wnext-We,We>I.length&&(We=I.length),kr=I.window}else kr=rt,ht=we-I.offset,We=I.length;We>U&&(We=U),U-=We,I.length-=We;do rt[we++]=kr[ht++];while(--We);I.length===0&&(I.mode=je);break;case O:if(U===0)break e;rt[we++]=I.length,U--,I.mode=je;break;case Y:if(I.wrap){for(;ve<32;){if(_e===0)break e;_e--,ie|=Fe[g++]<qe.UNZIP)throw new TypeError("Bad argument");this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=y,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}return d.prototype.close=function(){if(this.write_in_progress){this.pending_close=!0;return}this.pending_close=!1,r(this.init_done,"close before init"),r(this.mode<=qe.UNZIP),this.mode===qe.DEFLATE||this.mode===qe.GZIP||this.mode===qe.DEFLATERAW?o.deflateEnd(this.strm):(this.mode===qe.INFLATE||this.mode===qe.GUNZIP||this.mode===qe.INFLATERAW||this.mode===qe.UNZIP)&&a.inflateEnd(this.strm),this.mode=qe.NONE,this.dictionary=null},d.prototype.write=function(y,v,_,h,w,S,T){return this._write(!0,y,v,_,h,w,S,T)},d.prototype.writeSync=function(y,v,_,h,w,S,T){return this._write(!1,y,v,_,h,w,S,T)},d.prototype._write=function(y,v,_,h,w,S,T,C){if(r.equal(arguments.length,8),r(this.init_done,"write before init"),r(this.mode!==qe.NONE,"already finalized"),r.equal(!1,this.write_in_progress,"write already in progress"),r.equal(!1,this.pending_close,"close is pending"),this.write_in_progress=!0,r.equal(!1,v===void 0,"must provide flush value"),this.write_in_progress=!0,v!==qe.Z_NO_FLUSH&&v!==qe.Z_PARTIAL_FLUSH&&v!==qe.Z_SYNC_FLUSH&&v!==qe.Z_FULL_FLUSH&&v!==qe.Z_FINISH&&v!==qe.Z_BLOCK)throw new Error("Invalid flush value");if(_==null&&(_=e.alloc(0),w=0,h=0),this.strm.avail_in=w,this.strm.input=_,this.strm.next_in=h,this.strm.avail_out=C,this.strm.output=S,this.strm.next_out=T,this.flush=v,!y)return this._process(),this._checkError()?this._afterSync():void 0;var M=this;return t.nextTick(function(){M._process(),M._after()}),this},d.prototype._afterSync=function(){var y=this.strm.avail_out,v=this.strm.avail_in;return this.write_in_progress=!1,[v,y]},d.prototype._process=function(){var y=null;switch(this.mode){case qe.DEFLATE:case qe.GZIP:case qe.DEFLATERAW:this.err=o.deflate(this.strm,this.flush);break;case qe.UNZIP:switch(this.strm.avail_in>0&&(y=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(y===null)break;if(this.strm.input[y]===l){if(this.gzip_id_bytes_read=1,y++,this.strm.avail_in===1)break}else{this.mode=qe.INFLATE;break}case 1:if(y===null)break;this.strm.input[y]===c?(this.gzip_id_bytes_read=2,this.mode=qe.GUNZIP):this.mode=qe.INFLATE;break;default:throw new Error("invalid number of gzip magic number bytes read")}case qe.INFLATE:case qe.GUNZIP:case qe.INFLATERAW:for(this.err=a.inflate(this.strm,this.flush),this.err===qe.Z_NEED_DICT&&this.dictionary&&(this.err=a.inflateSetDictionary(this.strm,this.dictionary),this.err===qe.Z_OK?this.err=a.inflate(this.strm,this.flush):this.err===qe.Z_DATA_ERROR&&(this.err=qe.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===qe.GUNZIP&&this.err===qe.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=a.inflate(this.strm,this.flush);break;default:throw new Error("Unknown mode "+this.mode)}},d.prototype._checkError=function(){switch(this.err){case qe.Z_OK:case qe.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===qe.Z_FINISH)return this._error("unexpected end of file"),!1;break;case qe.Z_STREAM_END:break;case qe.Z_NEED_DICT:return this.dictionary==null?this._error("Missing dictionary"):this._error("Bad dictionary"),!1;default:return this._error("Zlib error"),!1}return!0},d.prototype._after=function(){if(this._checkError()){var y=this.strm.avail_out,v=this.strm.avail_in;this.write_in_progress=!1,this.callback(v,y),this.pending_close&&this.close()}},d.prototype._error=function(y){this.strm.msg&&(y=this.strm.msg),this.onerror(y,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},d.prototype.init=function(y,v,_,h,w){r(arguments.length===4||arguments.length===5,"init(windowBits, level, memLevel, strategy, [dictionary])"),r(y>=8&&y<=15,"invalid windowBits"),r(v>=-1&&v<=9,"invalid compression level"),r(_>=1&&_<=9,"invalid memlevel"),r(h===qe.Z_FILTERED||h===qe.Z_HUFFMAN_ONLY||h===qe.Z_RLE||h===qe.Z_FIXED||h===qe.Z_DEFAULT_STRATEGY,"invalid strategy"),this._init(v,y,_,h,w),this._setDictionary()},d.prototype.params=function(){throw new Error("deflateParams Not supported")},d.prototype.reset=function(){this._reset(),this._setDictionary()},d.prototype._init=function(y,v,_,h,w){switch(this.level=y,this.windowBits=v,this.memLevel=_,this.strategy=h,this.flush=qe.Z_NO_FLUSH,this.err=qe.Z_OK,(this.mode===qe.GZIP||this.mode===qe.GUNZIP)&&(this.windowBits+=16),this.mode===qe.UNZIP&&(this.windowBits+=32),(this.mode===qe.DEFLATERAW||this.mode===qe.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new n,this.mode){case qe.DEFLATE:case qe.GZIP:case qe.DEFLATERAW:this.err=o.deflateInit2(this.strm,this.level,qe.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case qe.INFLATE:case qe.GUNZIP:case qe.INFLATERAW:case qe.UNZIP:this.err=a.inflateInit2(this.strm,this.windowBits);break;default:throw new Error("Unknown mode "+this.mode)}this.err!==qe.Z_OK&&this._error("Init error"),this.dictionary=w,this.write_in_progress=!1,this.init_done=!0},d.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=qe.Z_OK,this.mode){case qe.DEFLATE:case qe.DEFLATERAW:this.err=o.deflateSetDictionary(this.strm,this.dictionary);break}this.err!==qe.Z_OK&&this._error("Failed to set dictionary")}},d.prototype._reset=function(){switch(this.err=qe.Z_OK,this.mode){case qe.DEFLATE:case qe.DEFLATERAW:case qe.GZIP:this.err=o.deflateReset(this.strm);break;case qe.INFLATE:case qe.INFLATERAW:case qe.GUNZIP:this.err=a.inflateReset(this.strm);break}this.err!==qe.Z_OK&&this._error("Failed to reset stream")},qe.Zlib=d,qe}var Xe={},cb=!1;function XI(){if(cb)return Xe;cb=!0;var e=lt,t=Br.Buffer,r=ir.Transform,n=KI(),o=Oe,a=Qe.ok,i=Br.kMaxLength,f="Cannot create final Buffer. It would be larger than 0x"+i.toString(16)+" bytes";n.Z_MIN_WINDOWBITS=8,n.Z_MAX_WINDOWBITS=15,n.Z_DEFAULT_WINDOWBITS=15,n.Z_MIN_CHUNK=64,n.Z_MAX_CHUNK=1/0,n.Z_DEFAULT_CHUNK=16*1024,n.Z_MIN_MEMLEVEL=1,n.Z_MAX_MEMLEVEL=9,n.Z_DEFAULT_MEMLEVEL=8,n.Z_MIN_LEVEL=-1,n.Z_MAX_LEVEL=9,n.Z_DEFAULT_LEVEL=n.Z_DEFAULT_COMPRESSION;for(var l=Object.keys(n),c=0;c=i?Re=new RangeError(f):me=t.concat(Ce,Ne),Ce=[],K.close(),ae(Re,me)}}function S(K,re){if(typeof re=="string"&&(re=t.from(re)),!t.isBuffer(re))throw new TypeError("Not a string or buffer");var ae=K._finishFlushFlag;return K._processChunk(re,ae)}function T(K){if(!(this instanceof T))return new T(K);G.call(this,K,n.DEFLATE)}function C(K){if(!(this instanceof C))return new C(K);G.call(this,K,n.INFLATE)}function M(K){if(!(this instanceof M))return new M(K);G.call(this,K,n.GZIP)}function D(K){if(!(this instanceof D))return new D(K);G.call(this,K,n.GUNZIP)}function V(K){if(!(this instanceof V))return new V(K);G.call(this,K,n.DEFLATERAW)}function F(K){if(!(this instanceof F))return new F(K);G.call(this,K,n.INFLATERAW)}function N(K){if(!(this instanceof N))return new N(K);G.call(this,K,n.UNZIP)}function x(K){return K===n.Z_NO_FLUSH||K===n.Z_PARTIAL_FLUSH||K===n.Z_SYNC_FLUSH||K===n.Z_FULL_FLUSH||K===n.Z_FINISH||K===n.Z_BLOCK}function G(K,re){var ae=this;if(this._opts=K=K||{},this._chunkSize=K.chunkSize||Xe.Z_DEFAULT_CHUNK,r.call(this,K),K.flush&&!x(K.flush))throw new Error("Invalid flush flag: "+K.flush);if(K.finishFlush&&!x(K.finishFlush))throw new Error("Invalid flush flag: "+K.finishFlush);if(this._flushFlag=K.flush||n.Z_NO_FLUSH,this._finishFlushFlag=typeof K.finishFlush<"u"?K.finishFlush:n.Z_FINISH,K.chunkSize&&(K.chunkSizeXe.Z_MAX_CHUNK))throw new Error("Invalid chunk size: "+K.chunkSize);if(K.windowBits&&(K.windowBitsXe.Z_MAX_WINDOWBITS))throw new Error("Invalid windowBits: "+K.windowBits);if(K.level&&(K.levelXe.Z_MAX_LEVEL))throw new Error("Invalid compression level: "+K.level);if(K.memLevel&&(K.memLevelXe.Z_MAX_MEMLEVEL))throw new Error("Invalid memLevel: "+K.memLevel);if(K.strategy&&K.strategy!=Xe.Z_FILTERED&&K.strategy!=Xe.Z_HUFFMAN_ONLY&&K.strategy!=Xe.Z_RLE&&K.strategy!=Xe.Z_FIXED&&K.strategy!=Xe.Z_DEFAULT_STRATEGY)throw new Error("Invalid strategy: "+K.strategy);if(K.dictionary&&!t.isBuffer(K.dictionary))throw new Error("Invalid dictionary: it should be a Buffer instance");this._handle=new n.Zlib(re);var Ce=this;this._hadError=!1,this._handle.onerror=function(te,ye){Q(Ce),Ce._hadError=!0;var me=new Error(te);me.errno=ye,me.code=Xe.codes[ye],Ce.emit("error",me)};var Ne=Xe.Z_DEFAULT_COMPRESSION;typeof K.level=="number"&&(Ne=K.level);var ne=Xe.Z_DEFAULT_STRATEGY;typeof K.strategy=="number"&&(ne=K.strategy),this._handle.init(K.windowBits||Xe.Z_DEFAULT_WINDOWBITS,Ne,K.memLevel||Xe.Z_DEFAULT_MEMLEVEL,ne,K.dictionary),this._buffer=t.allocUnsafe(this._chunkSize),this._offset=0,this._level=Ne,this._strategy=ne,this.once("end",this.close),Object.defineProperty(this,"_closed",{get:function(){return!ae._handle},configurable:!0,enumerable:!0})}o.inherits(G,r),G.prototype.params=function(K,re,ae){if(KXe.Z_MAX_LEVEL)throw new RangeError("Invalid compression level: "+K);if(re!=Xe.Z_FILTERED&&re!=Xe.Z_HUFFMAN_ONLY&&re!=Xe.Z_RLE&&re!=Xe.Z_FIXED&&re!=Xe.Z_DEFAULT_STRATEGY)throw new TypeError("Invalid strategy: "+re);if(this._level!==K||this._strategy!==re){var Ce=this;this.flush(n.Z_SYNC_FLUSH,function(){a(Ce._handle,"zlib binding closed"),Ce._handle.params(K,re),Ce._hadError||(Ce._level=K,Ce._strategy=re,ae&&ae())})}else e.nextTick(ae)},G.prototype.reset=function(){return a(this._handle,"zlib binding closed"),this._handle.reset()},G.prototype._flush=function(K){this._transform(t.alloc(0),"",K)},G.prototype.flush=function(K,re){var ae=this,Ce=this._writableState;(typeof K=="function"||K===void 0&&!re)&&(re=K,K=n.Z_FULL_FLUSH),Ce.ended?re&&e.nextTick(re):Ce.ending?re&&this.once("end",re):Ce.needDrain?re&&this.once("drain",function(){return ae.flush(K,re)}):(this._flushFlag=K,this.write(t.alloc(0),"",re))},G.prototype.close=function(K){Q(this,K),e.nextTick(Te,this)};function Q(K,re){re&&e.nextTick(re),K._handle&&(K._handle.close(),K._handle=null)}function Te(K){K.emit("close")}return G.prototype._transform=function(K,re,ae){var Ce,Ne=this._writableState,ne=Ne.ending||Ne.ended,te=ne&&(!K||Ne.length===K.length);if(K!==null&&!t.isBuffer(K))return ae(new Error("invalid input"));if(!this._handle)return ae(new Error("zlib binding closed"));te?Ce=this._finishFlushFlag:(Ce=this._flushFlag,K.length>=Ne.length&&(this._flushFlag=this._opts.flush||n.Z_NO_FLUSH)),this._processChunk(K,Ce,ae)},G.prototype._processChunk=function(K,re,ae){var Ce=K&&K.length,Ne=this._chunkSize-this._offset,ne=0,te=this,ye=typeof ae=="function";if(!ye){var me=[],Re=0,ze;this.on("error",function(A){ze=A}),a(this._handle,"zlib binding closed");do var je=this._handle.writeSync(re,K,ne,Ce,this._buffer,this._offset,Ne);while(!this._hadError&&xe(je[0],je[1]));if(this._hadError)throw ze;if(Re>=i)throw Q(this),new RangeError(f);var Je=t.concat(me,Re);return Q(this),Je}a(this._handle,"zlib binding closed");var Ve=this._handle.write(re,K,ne,Ce,this._buffer,this._offset,Ne);Ve.buffer=K,Ve.callback=xe;function xe(A,O){if(this&&(this.buffer=null,this.callback=null),!te._hadError){var Y=Ne-O;if(a(Y>=0,"have should not go down"),Y>0){var fe=te._buffer.slice(te._offset,te._offset+Y);te._offset+=Y,ye?te.push(fe):(me.push(fe),Re+=fe.length)}if((O===0||te._offset>=te._chunkSize)&&(Ne=te._chunkSize,te._offset=0,te._buffer=t.allocUnsafe(te._chunkSize)),O===0){if(ne+=Ce-A,Ce=A,!ye)return!0;var ge=te._handle.write(re,K,ne,Ce,te._buffer,te._offset,te._chunkSize);ge.callback=xe,ge.buffer=K;return}if(!ye)return!1;ae()}}},o.inherits(T,G),o.inherits(C,G),o.inherits(M,G),o.inherits(D,G),o.inherits(V,G),o.inherits(F,G),o.inherits(N,G),Xe}var Pe=XI();Pe.codes;Pe.Deflate;Pe.Inflate;Pe.Gzip;Pe.Gunzip;Pe.DeflateRaw;Pe.InflateRaw;Pe.Unzip;Pe.createDeflate;Pe.createInflate;Pe.createDeflateRaw;Pe.createInflateRaw;Pe.createGzip;Pe.createGunzip;Pe.createUnzip;Pe.deflate;Pe.deflateSync;Pe.gzip;Pe.gzipSync;Pe.deflateRaw;Pe.deflateRawSync;Pe.unzip;Pe.unzipSync;Pe.inflate;Pe.inflateSync;Pe.gunzip;Pe.gunzipSync;Pe.inflateRaw;Pe.inflateRawSync;var NH=Pe.Deflate,LH=Pe.DeflateRaw,kH=Pe.Gunzip,FH=Pe.Gzip,PH=Pe.Inflate,UH=Pe.InflateRaw,DH=Pe.Unzip,MH=Pe.Z_BEST_COMPRESSION,jH=Pe.Z_BEST_SPEED,$H=Pe.Z_BINARY,zH=Pe.Z_BLOCK,qH=Pe.Z_BUF_ERROR,WH=Pe.Z_DATA_ERROR,HH=Pe.Z_DEFAULT_CHUNK,ZH=Pe.Z_DEFAULT_COMPRESSION,VH=Pe.Z_DEFAULT_LEVEL,GH=Pe.Z_DEFAULT_MEMLEVEL,YH=Pe.Z_DEFAULT_STRATEGY,KH=Pe.Z_DEFAULT_WINDOWBITS,XH=Pe.Z_DEFLATED,JH=Pe.Z_ERRNO,QH=Pe.Z_FILTERED,eZ=Pe.Z_FINISH,tZ=Pe.Z_FIXED,rZ=Pe.Z_FULL_FLUSH,nZ=Pe.Z_HUFFMAN_ONLY,iZ=Pe.Z_MAX_CHUNK,oZ=Pe.Z_MAX_LEVEL,aZ=Pe.Z_MAX_MEMLEVEL,sZ=Pe.Z_MAX_WINDOWBITS,uZ=Pe.Z_MIN_CHUNK,fZ=Pe.Z_MIN_LEVEL,lZ=Pe.Z_MIN_MEMLEVEL,cZ=Pe.Z_MIN_WINDOWBITS,hZ=Pe.Z_NEED_DICT,pZ=Pe.Z_NO_COMPRESSION,dZ=Pe.Z_NO_FLUSH,yZ=Pe.Z_OK,gZ=Pe.Z_PARTIAL_FLUSH,mZ=Pe.Z_RLE,vZ=Pe.Z_STREAM_END,wZ=Pe.Z_STREAM_ERROR,bZ=Pe.Z_SYNC_FLUSH,_Z=Pe.Z_TEXT,EZ=Pe.Z_TREES,SZ=Pe.Z_UNKNOWN,AZ=Pe.Zlib,RZ=Pe.codes,TZ=Pe.createDeflate,OZ=Pe.createDeflateRaw,IZ=Pe.createGunzip,db=Pe.createGzip,xZ=Pe.createInflate,BZ=Pe.createInflateRaw,CZ=Pe.createUnzip,NZ=Pe.deflate,LZ=Pe.deflateRaw,kZ=Pe.deflateRawSync,FZ=Pe.deflateSync,PZ=Pe.gunzip,UZ=Pe.gunzipSync,DZ=Pe.gzip,MZ=Pe.gzipSync,jZ=Pe.inflate,$Z=Pe.inflateRaw,zZ=Pe.inflateRawSync,qZ=Pe.inflateSync,WZ=Pe.unzip,HZ=Pe.unzipSync;$();z();q();H();W();$();z();q();H();W();$();z();q();H();W();var JI=/^xn--/,QI=/[^\0-\x7E]/,ex=/[\x2E\u3002\uFF0E\uFF61]/g,tx={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},fn=Math.floor,oh=String.fromCharCode;function Oi(e){throw new RangeError(tx[e])}function yb(e,t){let r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);let o=function(a,i){let f=[],l=a.length;for(;l--;)f[l]=i(a[l]);return f}((e=e.replace(ex,".")).split("."),t).join(".");return n+o}function wb(e){let t=[],r=0,n=e.length;for(;r=55296&&o<=56319&&r>1,e+=fn(e/t);e>455;n+=36)e=fn(e/35);return fn(n+36*e/(e+38))},mb=function(e){let t=[],r=e.length,n=0,o=128,a=72,i=e.lastIndexOf("-");i<0&&(i=0);for(let l=0;l=128&&Oi("not-basic"),t.push(e.charCodeAt(l));for(let l=i>0?i+1:0;l=r&&Oi("invalid-input");let _=(f=e.charCodeAt(l++))-48<10?f-22:f-65<26?f-65:f-97<26?f-97:36;(_>=36||_>fn((2147483647-n)/y))&&Oi("overflow"),n+=_*y;let h=v<=a?1:v>=a+26?26:v-a;if(_fn(2147483647/w)&&Oi("overflow"),y*=w}let d=t.length+1;a=bb(n-c,d,c==0),fn(n/d)>2147483647-o&&Oi("overflow"),o+=fn(n/d),n%=d,t.splice(n++,0,o)}var f;return String.fromCodePoint(...t)},vb=function(e){let t=[],r=(e=wb(e)).length,n=128,o=0,a=72;for(let l of e)l<128&&t.push(oh(l));let i=t.length,f=i;for(i&&t.push("-");f=n&&dfn((2147483647-o)/c)&&Oi("overflow"),o+=(l-n)*c,n=l;for(let d of e)if(d2147483647&&Oi("overflow"),d==n){let y=o;for(let v=36;;v+=36){let _=v<=a?1:v>=a+26?26:v-a;if(y<_)break;let h=y-_,w=36-_;t.push(oh(gb(_+h%w,0))),y=fn(h/w)}t.push(oh(gb(y,0))),a=bb(o,c,f==i),o=0,++f}++o,++n}return t.join("")},Yn={version:"2.1.0",ucs2:{decode:wb,encode:e=>String.fromCodePoint(...e)},decode:mb,encode:vb,toASCII:function(e){return yb(e,function(t){return QI.test(t)?"xn--"+vb(t):t})},toUnicode:function(e){return yb(e,function(t){return JI.test(t)?mb(t.slice(4).toLowerCase()):t})}};Yn.decode;Yn.encode;Yn.toASCII;Yn.toUnicode;Yn.ucs2;Yn.version;$();z();q();H();W();function rx(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var nx=function(e,t,r,n){t=t||"&",r=r||"=";var o={};if(typeof e!="string"||e.length===0)return o;var a=/\+/g;e=e.split(t);var i=1e3;n&&typeof n.maxKeys=="number"&&(i=n.maxKeys);var f=e.length;i>0&&f>i&&(f=i);for(var l=0;l=0?(c=_.substr(0,h),d=_.substr(h+1)):(c=_,d=""),y=decodeURIComponent(c),v=decodeURIComponent(d),rx(o,y)?Array.isArray(o[y])?o[y].push(v):o[y]=[o[y],v]:o[y]=v}return o},wa=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},ix=function(e,t,r,n){return t=t||"&",r=r||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(o){var a=encodeURIComponent(wa(o))+r;return Array.isArray(e[o])?e[o].map(function(i){return a+encodeURIComponent(wa(i))}).join(t):a+encodeURIComponent(wa(e[o]))}).join(t):n?encodeURIComponent(wa(n))+r+encodeURIComponent(wa(e)):""},ln={};ln.decode=ln.parse=nx,ln.encode=ln.stringify=ix;ln.decode;ln.encode;ln.parse;ln.stringify;var St={},ox=Yn,cn={isString:function(e){return typeof e=="string"},isObject:function(e){return typeof e=="object"&&e!==null},isNull:function(e){return e===null},isNullOrUndefined:function(e){return e==null}};function Lr(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}St.parse=ba,St.resolve=function(e,t){return ba(e,!1,!0).resolve(t)},St.resolveObject=function(e,t){return e?ba(e,!1,!0).resolveObject(t):t},St.format=function(e){return cn.isString(e)&&(e=ba(e)),e instanceof Lr?e.format():Lr.prototype.format.call(e)},St.Url=Lr;var ax=/^([a-z0-9.+-]+:)/i,sx=/:[0-9]*$/,ux=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,fx=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",` `," "]),fh=["'"].concat(fx),_b=["%","/","?",";","#"].concat(fh),Eb=["/","?","#"],Sb=/^[+a-z0-9A-Z_-]{0,63}$/,lx=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,cx={javascript:!0,"javascript:":!0},ah={javascript:!0,"javascript:":!0},mo={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},sh=ln;function ba(e,t,r){if(e&&cn.isObject(e)&&e instanceof Lr)return e;var n=new Lr;return n.parse(e,t,r),n}Lr.prototype.parse=function(e,t,r){if(!cn.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),o=n!==-1&&n127?D+="x":D+=M[V];if(!D.match(Sb)){var N=T.slice(0,h),x=T.slice(h+1),G=M.match(lx);G&&(N.push(G[1]),x.unshift(G[2])),x.length&&(i="/"+x.join(".")+i),this.hostname=N.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),S||(this.hostname=ox.toASCII(this.hostname));var Q=this.port?":"+this.port:"",Te=this.hostname||"";this.host=Te+Q,this.href+=this.host,S&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),i[0]!=="/"&&(i="/"+i))}if(!cx[c])for(h=0,C=fh.length;h0)&&r.host.split("@"))&&(r.auth=G.shift(),r.host=r.hostname=G.shift())),r.search=e.search,r.query=e.query,cn.isNull(r.pathname)&&cn.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!M.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var V=M.slice(-1)[0],F=(r.host||e.host||M.length>1)&&(V==="."||V==="..")||V==="",N=0,x=M.length;x>=0;x--)(V=M[x])==="."?M.splice(x,1):V===".."?(M.splice(x,1),N++):N&&(M.splice(x,1),N--);if(!T&&!C)for(;N--;N)M.unshift("..");!T||M[0]===""||M[0]&&M[0].charAt(0)==="/"||M.unshift(""),F&&M.join("/").substr(-1)!=="/"&&M.push("");var G,Q=M[0]===""||M[0]&&M[0].charAt(0)==="/";return D&&(r.hostname=r.host=Q?"":M.length?M.shift():"",(G=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=G.shift(),r.host=r.hostname=G.shift())),(T=T||r.host&&M.length)&&!Q&&M.unshift(""),M.length?r.pathname=M.join("/"):(r.pathname=null,r.path=null),cn.isNull(r.pathname)&&cn.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=e.auth||r.auth,r.slashes=r.slashes||e.slashes,r.href=r.format(),r},Lr.prototype.parseHost=function(){var e=this.host,t=sx.exec(e);t&&((t=t[0])!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};St.Url;St.format;St.resolve;St.resolveObject;var uh={},Ab=!1;function hx(){if(Ab)return uh;Ab=!0;var e=Et;function t(a){if(typeof a!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(a))}function r(a,i){for(var f="",l=0,c=-1,d=0,y,v=0;v<=a.length;++v){if(v2){var _=f.lastIndexOf("/");if(_!==f.length-1){_===-1?(f="",l=0):(f=f.slice(0,_),l=f.length-1-f.lastIndexOf("/")),c=v,d=0;continue}}else if(f.length===2||f.length===1){f="",l=0,c=v,d=0;continue}}i&&(f.length>0?f+="/..":f="..",l=2)}else f.length>0?f+="/"+a.slice(c+1,v):f=a.slice(c+1,v),l=v-c-1;c=v,d=0}else y===46&&d!==-1?++d:d=-1}return f}function n(a,i){var f=i.dir||i.root,l=i.base||(i.name||"")+(i.ext||"");return f?f===i.root?f+l:f+a+l:l}var o={resolve:function(){for(var i="",f=!1,l,c=arguments.length-1;c>=-1&&!f;c--){var d;c>=0?d=arguments[c]:(l===void 0&&(l=e.cwd()),d=l),t(d),d.length!==0&&(i=d+"/"+i,f=d.charCodeAt(0)===47)}return i=r(i,!f),f?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(t(i),i.length===0)return".";var f=i.charCodeAt(0)===47,l=i.charCodeAt(i.length-1)===47;return i=r(i,!f),i.length===0&&!f&&(i="."),i.length>0&&l&&(i+="/"),f?"/"+i:i},isAbsolute:function(i){return t(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,f=0;f0&&(i===void 0?i=l:i+="/"+l)}return i===void 0?".":o.normalize(i)},relative:function(i,f){if(t(i),t(f),i===f||(i=o.resolve(i),f=o.resolve(f),i===f))return"";for(var l=1;lh){if(f.charCodeAt(y+S)===47)return f.slice(y+S+1);if(S===0)return f.slice(y+S)}else d>h&&(i.charCodeAt(l+S)===47?w=S:S===0&&(w=0));break}var T=i.charCodeAt(l+S),C=f.charCodeAt(y+S);if(T!==C)break;T===47&&(w=S)}var M="";for(S=l+w+1;S<=c;++S)(S===c||i.charCodeAt(S)===47)&&(M.length===0?M+="..":M+="/..");return M.length>0?M+f.slice(y+w):(y+=w,f.charCodeAt(y)===47&&++y,f.slice(y))},_makeLong:function(i){return i},dirname:function(i){if(t(i),i.length===0)return".";for(var f=i.charCodeAt(0),l=f===47,c=-1,d=!0,y=i.length-1;y>=1;--y)if(f=i.charCodeAt(y),f===47){if(!d){c=y;break}}else d=!1;return c===-1?l?"/":".":l&&c===1?"//":i.slice(0,c)},basename:function(i,f){if(f!==void 0&&typeof f!="string")throw new TypeError('"ext" argument must be a string');t(i);var l=0,c=-1,d=!0,y;if(f!==void 0&&f.length>0&&f.length<=i.length){if(f.length===i.length&&f===i)return"";var v=f.length-1,_=-1;for(y=i.length-1;y>=0;--y){var h=i.charCodeAt(y);if(h===47){if(!d){l=y+1;break}}else _===-1&&(d=!1,_=y+1),v>=0&&(h===f.charCodeAt(v)?--v===-1&&(c=y):(v=-1,c=_))}return l===c?c=_:c===-1&&(c=i.length),i.slice(l,c)}else{for(y=i.length-1;y>=0;--y)if(i.charCodeAt(y)===47){if(!d){l=y+1;break}}else c===-1&&(d=!1,c=y+1);return c===-1?"":i.slice(l,c)}},extname:function(i){t(i);for(var f=-1,l=0,c=-1,d=!0,y=0,v=i.length-1;v>=0;--v){var _=i.charCodeAt(v);if(_===47){if(!d){l=v+1;break}continue}c===-1&&(d=!1,c=v+1),_===46?f===-1?f=v:y!==1&&(y=1):f!==-1&&(y=-1)}return f===-1||c===-1||y===0||y===1&&f===c-1&&f===l+1?"":i.slice(f,c)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){t(i);var f={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return f;var l=i.charCodeAt(0),c=l===47,d;c?(f.root="/",d=1):d=0;for(var y=-1,v=0,_=-1,h=!0,w=i.length-1,S=0;w>=d;--w){if(l=i.charCodeAt(w),l===47){if(!h){v=w+1;break}continue}_===-1&&(h=!1,_=w+1),l===46?y===-1?y=w:S!==1&&(S=1):y!==-1&&(S=-1)}return y===-1||_===-1||S===0||S===1&&y===_-1&&y===v+1?_!==-1&&(v===0&&c?f.base=f.name=i.slice(1,_):f.base=f.name=i.slice(v,_)):(v===0&&c?(f.name=i.slice(1,y),f.base=i.slice(1,_)):(f.name=i.slice(v,y),f.base=i.slice(v,_)),f.ext=i.slice(y,_)),v>0?f.dir=i.slice(0,v-1):c&&(f.dir="/"),f},sep:"/",delimiter:":",win32:null,posix:null};return o.posix=o,uh=o,uh}var Rb=hx(),px=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;St.URL=typeof URL<"u"?URL:null;St.pathToFileURL=Ox;St.fileURLToPath=Ax;St.Url;St.format;St.resolve;St.resolveObject;St.URL;var dx=92,yx=47,gx=97,mx=122,lh=px==="win32",vx=/\//g,wx=/%/g,bx=/\\/g,_x=/\n/g,Ex=/\r/g,Sx=/\t/g;function Ax(e){if(typeof e=="string")e=new URL(e);else if(!(e instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(e.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return lh?Rx(e):Tx(e)}function Rx(e){let t=e.hostname,r=e.pathname;for(let n=0;nmx||o!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function Tx(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;rNx||o!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function jx(e){if(e.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let t=e.pathname;for(let r=0;r"u"?"_kCode":Symbol("code"),o={};function a(h){return function(w){e(S,w);function S(T){for(var C=[],M=1;M 0 and < 65536"),c("ERR_SOCKET_BAD_TYPE","Bad socket type specified. Valid types are: udp4, udp6"),c("ERR_SOCKET_CANNOT_SEND","Unable to send data"),c("ERR_SOCKET_CLOSED","Socket is closed"),c("ERR_SOCKET_DGRAM_NOT_RUNNING","Not running"),c("ERR_STDERR_CLOSE","process.stderr cannot be closed"),c("ERR_STDOUT_CLOSE","process.stdout cannot be closed"),c("ERR_STREAM_WRAP","Stream has StringDecoder set or is in objectMode"),c("ERR_TLS_CERT_ALTNAME_INVALID","Hostname/IP does not match certificate's altnames: %s"),c("ERR_TLS_DH_PARAM_SIZE",function(h){return"DH parameter size "+h+" is less than 2048"}),c("ERR_TLS_HANDSHAKE_TIMEOUT","TLS handshake timeout"),c("ERR_TLS_RENEGOTIATION_FAILED","Failed to renegotiate"),c("ERR_TLS_REQUIRED_SERVER_NAME",'"servername" is required parameter for Server.addContext'),c("ERR_TLS_SESSION_ATTACK","TSL session renegotiation attack detected"),c("ERR_TRANSFORM_ALREADY_TRANSFORMING","Calling transform done when still transforming"),c("ERR_TRANSFORM_WITH_LENGTH_0","Calling transform done when writableState.length != 0"),c("ERR_UNKNOWN_ENCODING","Unknown encoding: %s"),c("ERR_UNKNOWN_SIGNAL","Unknown signal: %s"),c("ERR_UNKNOWN_STDIN_TYPE","Unknown stdin file type"),c("ERR_UNKNOWN_STREAM_TYPE","Unknown stream file type"),c("ERR_V8BREAKITERATOR","Full ICU data not installed. See https://github.com/nodejs/node/wiki/Intl");function d(h,w,S){t(h,"name is required");var T;w.includes("not ")?(T="must not be",w=w.split("not ")[1]):T="must be";var C;if(Array.isArray(h)){var M=h.map(function(V){return'"'+V+'"'}).join(", ");C="The "+M+" arguments "+T+" "+v(w,"type")}else if(h.includes(" argument"))C="The "+h+" "+T+" "+v(w,"type");else{var D=h.includes(".")?"property":"argument";C='The "'+h+'" '+D+" "+T+" "+v(w,"type")}return arguments.length>=3&&(C+=". Received type "+(S!==null?typeof S:"null")),C}function y(){for(var h=[],w=0;w0,"At least one arg needs to be specified");var S="The ",T=h.length;switch(h=h.map(function(C){return'"'+C+'"'}),T){case 1:S+=h[0]+" argument";break;case 2:S+=h[0]+" and "+h[1]+" arguments";break;default:S+=h.slice(0,T-1).join(", "),S+=", and "+h[T-1]+" arguments";break}return S+" must be specified"}function v(h,w){if(t(h,"expected is required"),t(typeof w=="string","thing is required"),Array.isArray(h)){var S=h.length;return t(S>0,"At least one expected value needs to be specified"),h=h.map(function(T){return String(T)}),S>2?"one of "+w+" "+h.slice(0,S-1).join(", ")+", or "+h[S-1]:S===2?"one of "+w+" "+h[0]+" or "+h[1]:"of "+w+" "+h[0]}else return"of "+w+" "+String(h)}function _(h,w){return w?"Attempt to write outside buffer bounds":'"'+h+'" is outside of buffer bounds'}return qt}var hn={},Cb=!1;function Wb(){if(Cb)return hn;Cb=!0,Object.defineProperty(hn,"__esModule",{value:!0}),hn.strToEncoding=hn.assertEncoding=hn.ENCODING_UTF8=void 0;var e=dh(),t=qb();hn.ENCODING_UTF8="utf8";function r(o){if(o&&!e.Buffer.isEncoding(o))throw new t.TypeError("ERR_INVALID_OPT_VALUE_ENCODING",o)}hn.assertEncoding=r;function n(o,a){return!a||a===hn.ENCODING_UTF8?o:a==="buffer"?new e.Buffer(o):new e.Buffer(o).toString(a)}return hn.strToEncoding=n,hn}var wo={},Nb=!1;function Hb(){if(Nb)return wo;Nb=!0,Object.defineProperty(wo,"__esModule",{value:!0}),wo.Dirent=void 0;var e=Sa(),t=Wb(),r=e.constants.S_IFMT,n=e.constants.S_IFDIR,o=e.constants.S_IFREG,a=e.constants.S_IFBLK,i=e.constants.S_IFCHR,f=e.constants.S_IFLNK,l=e.constants.S_IFIFO,c=e.constants.S_IFSOCK,d=function(){function y(){this.name="",this.mode=0}return y.build=function(v,_){var h=new y,w=v.getNode().mode;return h.name=(0,t.strToEncoding)(v.getName(),_),h.mode=w,h},y.prototype._checkModeProperty=function(v){return(this.mode&r)===v},y.prototype.isDirectory=function(){return this._checkModeProperty(n)},y.prototype.isFile=function(){return this._checkModeProperty(o)},y.prototype.isBlockDevice=function(){return this._checkModeProperty(a)},y.prototype.isCharacterDevice=function(){return this._checkModeProperty(i)},y.prototype.isSymbolicLink=function(){return this._checkModeProperty(f)},y.prototype.isFIFO=function(){return this._checkModeProperty(l)},y.prototype.isSocket=function(){return this._checkModeProperty(c)},y}();return wo.Dirent=d,wo.default=d,wo}var Su={},Lb=!1,kb=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se;function Zb(){if(Lb)return Su;Lb=!0;var e=lt;Object.defineProperty(Su,"__esModule",{value:!0});var t;return typeof e.nextTick=="function"?t=e.nextTick.bind(typeof globalThis<"u"?globalThis:kb):t=setTimeout.bind(typeof globalThis<"u"?globalThis:kb),Su.default=t,Su}var bo={},Fb=!1;function Vb(){if(Fb)return bo;Fb=!0;var e=lt;Object.defineProperty(bo,"__esModule",{value:!0}),bo.createProcess=void 0;var t=function(){if(typeof e<"u")return e;try{return lt}catch{return}};function r(){var n=t()||{};return n.getuid||(n.getuid=function(){return 0}),n.getgid||(n.getgid=function(){return 0}),n.cwd||(n.cwd=function(){return"/"}),n.nextTick||(n.nextTick=Zb().default),n.emitWarning||(n.emitWarning=function(o,a){console.warn(""+a+(a?": ":"")+o)}),n.env||(n.env={}),n}return bo.createProcess=r,bo.default=r(),bo}var yr={},Pb=!1;function Wx(){if(Pb)return yr;Pb=!0;var e=yr&&yr.__extends||function(){var h=function(w,S){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,C){T.__proto__=C}||function(T,C){for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&(T[M]=C[M])},h(w,S)};return function(w,S){if(typeof S!="function"&&S!==null)throw new TypeError("Class extends value "+String(S)+" is not a constructor or null");h(w,S);function T(){this.constructor=w}w.prototype=S===null?Object.create(S):(T.prototype=S.prototype,new T)}}();Object.defineProperty(yr,"__esModule",{value:!0}),yr.File=yr.Link=yr.Node=yr.SEP=void 0;var t=Vb(),r=dh(),n=Sa(),o=Ft,a=ph(),i=n.constants.S_IFMT,f=n.constants.S_IFDIR,l=n.constants.S_IFREG,c=n.constants.S_IFLNK,d=n.constants.O_APPEND;yr.SEP="/";var y=function(h){e(w,h);function w(S,T){T===void 0&&(T=438);var C=h.call(this)||this;return C.uid=t.default.getuid(),C.gid=t.default.getgid(),C.atime=new Date,C.mtime=new Date,C.ctime=new Date,C.perm=438,C.mode=l,C.nlink=1,C.perm=T,C.mode|=T,C.ino=S,C}return w.prototype.getString=function(S){return S===void 0&&(S="utf8"),this.getBuffer().toString(S)},w.prototype.setString=function(S){this.buf=(0,r.bufferFrom)(S,"utf8"),this.touch()},w.prototype.getBuffer=function(){return this.buf||this.setBuffer((0,r.bufferAllocUnsafe)(0)),(0,r.bufferFrom)(this.buf)},w.prototype.setBuffer=function(S){this.buf=(0,r.bufferFrom)(S),this.touch()},w.prototype.getSize=function(){return this.buf?this.buf.length:0},w.prototype.setModeProperty=function(S){this.mode=this.mode&~i|S},w.prototype.setIsFile=function(){this.setModeProperty(l)},w.prototype.setIsDirectory=function(){this.setModeProperty(f)},w.prototype.setIsSymlink=function(){this.setModeProperty(c)},w.prototype.isFile=function(){return(this.mode&i)===l},w.prototype.isDirectory=function(){return(this.mode&i)===f},w.prototype.isSymlink=function(){return(this.mode&i)===c},w.prototype.makeSymlink=function(S){this.symlink=S,this.setIsSymlink()},w.prototype.write=function(S,T,C,M){if(T===void 0&&(T=0),C===void 0&&(C=S.length),M===void 0&&(M=0),this.buf||(this.buf=(0,r.bufferAllocUnsafe)(0)),M+C>this.buf.length){var D=(0,r.bufferAllocUnsafe)(M+C);this.buf.copy(D,0,0,this.buf.length),this.buf=D}return S.copy(this.buf,M,T,T+C),this.touch(),C},w.prototype.read=function(S,T,C,M){T===void 0&&(T=0),C===void 0&&(C=S.byteLength),M===void 0&&(M=0),this.buf||(this.buf=(0,r.bufferAllocUnsafe)(0));var D=C;return D>S.byteLength&&(D=S.byteLength),D+M>this.buf.length&&(D=this.buf.length-M),this.buf.copy(S,T,M,M+D),D},w.prototype.truncate=function(S){if(S===void 0&&(S=0),!S)this.buf=(0,r.bufferAllocUnsafe)(0);else if(this.buf||(this.buf=(0,r.bufferAllocUnsafe)(0)),S<=this.buf.length)this.buf=this.buf.slice(0,S);else{var T=(0,r.bufferAllocUnsafe)(0);this.buf.copy(T),T.fill(0,S)}this.touch()},w.prototype.chmod=function(S){this.perm=S,this.mode=this.mode&-512|S,this.touch()},w.prototype.chown=function(S,T){this.uid=S,this.gid=T,this.touch()},w.prototype.touch=function(){this.mtime=new Date,this.emit("change",this)},w.prototype.canRead=function(S,T){return S===void 0&&(S=t.default.getuid()),T===void 0&&(T=t.default.getgid()),!!(this.perm&4||T===this.gid&&this.perm&32||S===this.uid&&this.perm&256)},w.prototype.canWrite=function(S,T){return S===void 0&&(S=t.default.getuid()),T===void 0&&(T=t.default.getgid()),!!(this.perm&2||T===this.gid&&this.perm&16||S===this.uid&&this.perm&128)},w.prototype.del=function(){this.emit("delete",this)},w.prototype.toJSON=function(){return{ino:this.ino,uid:this.uid,gid:this.gid,atime:this.atime.getTime(),mtime:this.mtime.getTime(),ctime:this.ctime.getTime(),perm:this.perm,mode:this.mode,nlink:this.nlink,symlink:this.symlink,data:this.getString()}},w}(o.EventEmitter);yr.Node=y;var v=function(h){e(w,h);function w(S,T,C){var M=h.call(this)||this;return M.children={},M.steps=[],M.ino=0,M.length=0,M.vol=S,M.parent=T,M.steps=T?T.steps.concat([C]):[C],M}return w.prototype.setNode=function(S){this.node=S,this.ino=S.ino},w.prototype.getNode=function(){return this.node},w.prototype.createChild=function(S,T){T===void 0&&(T=this.vol.createNode());var C=new w(this.vol,this,S);return C.setNode(T),T.isDirectory(),this.setChild(S,C),C},w.prototype.setChild=function(S,T){return T===void 0&&(T=new w(this.vol,this,S)),this.children[S]=T,T.parent=this,this.length++,this.emit("child:add",T,this),T},w.prototype.deleteChild=function(S){delete this.children[S.getName()],this.length--,this.emit("child:delete",S,this)},w.prototype.getChild=function(S){if(Object.hasOwnProperty.call(this.children,S))return this.children[S]},w.prototype.getPath=function(){return this.steps.join(yr.SEP)},w.prototype.getName=function(){return this.steps[this.steps.length-1]},w.prototype.walk=function(S,T,C){if(T===void 0&&(T=S.length),C===void 0&&(C=0),C>=S.length)return this;if(C>=T)return this;var M=S[C],D=this.getChild(M);return D?D.walk(S,T,C+1):null},w.prototype.toJSON=function(){return{steps:this.steps,ino:this.ino,children:Object.keys(this.children)}},w}(o.EventEmitter);yr.Link=v;var _=function(){function h(w,S,T,C){this.position=0,this.link=w,this.node=S,this.flags=T,this.fd=C}return h.prototype.getString=function(w){return this.node.getString()},h.prototype.setString=function(w){this.node.setString(w)},h.prototype.getBuffer=function(){return this.node.getBuffer()},h.prototype.setBuffer=function(w){this.node.setBuffer(w)},h.prototype.getSize=function(){return this.node.getSize()},h.prototype.truncate=function(w){this.node.truncate(w)},h.prototype.seekTo=function(w){this.position=w},h.prototype.stats=function(){return a.default.build(this.node)},h.prototype.write=function(w,S,T,C){S===void 0&&(S=0),T===void 0&&(T=w.length),typeof C!="number"&&(C=this.position),this.flags&d&&(C=this.getSize());var M=this.node.write(w,S,T,C);return this.position=C+M,M},h.prototype.read=function(w,S,T,C){S===void 0&&(S=0),T===void 0&&(T=w.byteLength),typeof C!="number"&&(C=this.position);var M=this.node.read(w,S,T,C);return this.position=C+M,M},h.prototype.chmod=function(w){this.node.chmod(w)},h.prototype.chown=function(w,S){this.node.chown(w,S)},h}();return yr.File=_,yr}var Au={},Ub=!1,Hx=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se;function Zx(){if(Ub)return Au;Ub=!0,Object.defineProperty(Au,"__esModule",{value:!0});function e(t,r,n){var o=setTimeout.apply(typeof globalThis<"u"?globalThis:Hx,arguments);return o&&typeof o=="object"&&typeof o.unref=="function"&&o.unref(),o}return Au.default=e,Au}var Kn={},Db=!1;function Vx(){if(Db)return Kn;Db=!0;var e=Kn&&Kn.__spreadArray||function(o,a,i){if(i||arguments.length===2)for(var f=0,l=a.length,c;f"u"?null:{FileHandle:r,access:function(a,i){return t(o,"access")(a,i)},appendFile:function(a,i,f){return t(o,"appendFile")(a instanceof r?a.fd:a,i,f)},chmod:function(a,i){return t(o,"chmod")(a,i)},chown:function(a,i,f){return t(o,"chown")(a,i,f)},copyFile:function(a,i,f){return t(o,"copyFile")(a,i,f)},lchmod:function(a,i){return t(o,"lchmod")(a,i)},lchown:function(a,i,f){return t(o,"lchown")(a,i,f)},link:function(a,i){return t(o,"link")(a,i)},lstat:function(a,i){return t(o,"lstat")(a,i)},mkdir:function(a,i){return t(o,"mkdir")(a,i)},mkdtemp:function(a,i){return t(o,"mkdtemp")(a,i)},open:function(a,i,f){return t(o,"open",function(l){return new r(o,l)})(a,i,f)},readdir:function(a,i){return t(o,"readdir")(a,i)},readFile:function(a,i){return t(o,"readFile")(a instanceof r?a.fd:a,i)},readlink:function(a,i){return t(o,"readlink")(a,i)},realpath:function(a,i){return t(o,"realpath")(a,i)},rename:function(a,i){return t(o,"rename")(a,i)},rmdir:function(a){return t(o,"rmdir")(a)},stat:function(a,i){return t(o,"stat")(a,i)},symlink:function(a,i,f){return t(o,"symlink")(a,i,f)},truncate:function(a,i){return t(o,"truncate")(a,i)},unlink:function(a){return t(o,"unlink")(a)},utimes:function(a,i,f){return t(o,"utimes")(a,i,f)},writeFile:function(a,i,f){return t(o,"writeFile")(a instanceof r?a.fd:a,i,f)}}}return Kn.default=n,Kn}var Ea={},Mb=!1;function Gx(){if(Mb)return Ea;Mb=!0;var e=lt;Object.defineProperty(Ea,"__esModule",{value:!0}),Ea.unixify=a,Ea.correctPath=i;var t=e.platform==="win32";function r(f){var l=f.length-1;if(l<2)return f;for(;n(f,l);)l--;return f.substr(0,l+1)}function n(f,l){var c=f[l];return l>0&&(c==="/"||t&&c==="\\")}function o(f,l){if(typeof f!="string")throw new TypeError("expected a string");return f=f.replace(/[\\\/]+/g,"/"),l!==!1&&(f=r(f)),f}function a(f){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return t?(f=o(f,l),f.replace(/^([a-zA-Z]+:|\.\/)/,"")):f}function i(f){return a(f.replace(/^\\\\\?\\.:\\/,"\\"))}return Ea}var vt={},jb=!1,Yx=typeof globalThis<"u"?globalThis:typeof self<"u"?self:se;function Gb(){if(jb)return vt;jb=!0;var e=vt&&vt.__extends||function(){var P=function(E,R){return P=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(B,X){B.__proto__=X}||function(B,X){for(var oe in X)Object.prototype.hasOwnProperty.call(X,oe)&&(B[oe]=X[oe])},P(E,R)};return function(E,R){if(typeof R!="function"&&R!==null)throw new TypeError("Class extends value "+String(R)+" is not a constructor or null");P(E,R);function B(){this.constructor=E}E.prototype=R===null?Object.create(R):(B.prototype=R.prototype,new B)}}(),t=vt&&vt.__spreadArray||function(P,E,R){if(R||arguments.length===2)for(var B=0,X=E.length,oe;B>>0===P}function xt(P){if(!Ut(P))throw TypeError(Re.FD)}function Dt(P){if(typeof P=="string"&&+P==P)return+P;if(P instanceof Date)return P.getTime()/1e3;if(isFinite(P))return P<0?Date.now()/1e3:P;throw new Error("Cannot parse time: "+P)}vt.toUnixTimestamp=Dt;function Kt(P){if(typeof P!="number")throw TypeError(Re.UID)}function pn(P){if(typeof P!="number")throw TypeError(Re.GID)}function R_(P){var E={};function R(B,X){for(var oe in X){var be=X[oe],Ue=ne(B,oe);typeof be=="string"?E[Ue]=be:typeof be=="object"&&be!==null&&Object.keys(be).length>0?R(Ue,be):E[Ue]=null}}return R("",P),E}var T_=function(){function P(E){E===void 0&&(E={}),this.ino=0,this.inodes={},this.releasedInos=[],this.fds={},this.releasedFds=[],this.maxFiles=1e4,this.openFiles=0,this.promisesApi=(0,S.default)(this),this.statWatchers={},this.props=Object.assign({Node:n.Node,Link:n.Link,File:n.File},E);var R=this.createLink();R.setNode(this.createNode(!0));var B=this;this.StatWatcher=function(be){e(Ue,be);function Ue(){return be.call(this,B)||this}return Ue}(Ah);var X=Fr;this.ReadStream=function(be){e(Ue,be);function Ue(){for(var Ze=[],Ke=0;Ke=this.maxFiles)throw De(fe,"open",E.getPath());var X=E;if(B&&(X=this.resolveSymlinks(E)),!X)throw De(je,"open",E.getPath());var oe=X.getNode();if(oe.isDirectory()){if((R&(C|D|M))!==C)throw De(k,"open",E.getPath())}else if(R&Q)throw De(Y,"open",E.getPath());if(!(R&M)&&!oe.canRead())throw De(ge,"open",E.getPath());var be=new this.props.File(E,oe,R,this.newFdNumber());return this.fds[be.fd]=be,this.openFiles++,R&N&&be.truncate(),be},P.prototype.openFile=function(E,R,B,X){X===void 0&&(X=!0);var oe=ut(E),be=X?this.getResolvedLink(oe):this.getLink(oe);if(!be&&R&V){var Ue=this.getResolvedLink(oe.slice(0,oe.length-1));if(!Ue)throw De(je,"open",Ce+oe.join(Ce));R&V&&typeof B=="number"&&(be=this.createLink(Ue,oe[oe.length-1],!1,B))}if(be)return this.openLink(be,R,X);throw De(je,"open",E)},P.prototype.openBase=function(E,R,B,X){X===void 0&&(X=!0);var oe=this.openFile(E,R,B,X);if(!oe)throw De(je,"open",E);return oe.fd},P.prototype.openSync=function(E,R,B){B===void 0&&(B=438);var X=mt(B),oe=Ae(E),be=Me(R);return this.openBase(oe,be,X)},P.prototype.open=function(E,R,B,X){var oe=B,be=X;typeof B=="function"&&(oe=438,be=B),oe=oe||438;var Ue=mt(oe),Ze=Ae(E),Ke=Me(R);this.wrapAsync(this.openBase,[Ze,Ke,Ue],be)},P.prototype.closeFile=function(E){this.fds[E.fd]&&(this.openFiles--,delete this.fds[E.fd],this.releasedFds.push(E.fd))},P.prototype.closeSync=function(E){xt(E);var R=this.getFileByFdOrThrow(E,"close");this.closeFile(R)},P.prototype.close=function(E,R){xt(E),this.wrapAsync(this.closeSync,[E],R)},P.prototype.openFileOrGetById=function(E,R,B){if(typeof E=="number"){var X=this.fds[E];if(!X)throw De(je);return X}else return this.openFile(Ae(E),R,B)},P.prototype.readBase=function(E,R,B,X,oe){var be=this.getFileByFdOrThrow(E);return be.read(R,Number(B),Number(X),oe)},P.prototype.readSync=function(E,R,B,X,oe){return xt(E),this.readBase(E,R,B,X,oe)},P.prototype.read=function(E,R,B,X,oe,be){var Ue=this;if(et(be),X===0)return l.default.nextTick(function(){be&&be(null,0,R)});(0,f.default)(function(){try{var Ze=Ue.readBase(E,R,B,X,oe);be(null,Ze,R)}catch(Ke){be(Ke)}})},P.prototype.readFileBase=function(E,R,B){var X,oe=typeof E=="number",be=oe&&Ut(E),Ue;if(be)Ue=E;else{var Ze=Ae(E),Ke=ut(Ze),wt=this.getResolvedLink(Ke);if(wt){var kt=wt.getNode();if(kt.isDirectory())throw De(k,"open",wt.getPath())}Ue=this.openSync(E,R)}try{X=Yt(this.getFileByFdOrThrow(Ue).getBuffer(),B)}finally{be||this.closeSync(Ue)}return X},P.prototype.readFileSync=function(E,R){var B=s(R),X=Me(B.flag);return this.readFileBase(E,X,B.encoding)},P.prototype.readFile=function(E,R,B){var X=bt(s)(R,B),oe=X[0],be=X[1],Ue=Me(oe.flag);this.wrapAsync(this.readFileBase,[E,Ue,oe.encoding],be)},P.prototype.writeBase=function(E,R,B,X,oe){var be=this.getFileByFdOrThrow(E,"write");return be.write(R,B,X,oe)},P.prototype.writeSync=function(E,R,B,X,oe){xt(E);var be,Ue,Ze,Ke,wt=typeof R!="string";wt?(Ue=(B||0)|0,Ze=X,Ke=oe):(Ke=B,be=X);var kt=Nt(R,be);return wt?typeof Ze>"u"&&(Ze=kt.length):(Ue=0,Ze=kt.length),this.writeBase(E,kt,Ue,Ze,Ke)},P.prototype.write=function(E,R,B,X,oe,be){var Ue=this;xt(E);var Ze,Ke,wt,kt,Pr,Nu=typeof R,Th=typeof B,Oh=typeof X,Ih=typeof oe;Nu!=="string"?Th==="function"?Pr=B:Oh==="function"?(Ze=B|0,Pr=X):Ih==="function"?(Ze=B|0,Ke=X,Pr=oe):(Ze=B|0,Ke=X,wt=oe,Pr=be):Th==="function"?Pr=B:Oh==="function"?(wt=B,Pr=X):Ih==="function"&&(wt=B,kt=X,Pr=oe);var Oa=Nt(R,kt);Nu!=="string"?typeof Ke>"u"&&(Ke=Oa.length):(Ze=0,Ke=Oa.length);var Lu=et(Pr);(0,f.default)(function(){try{var xh=Ue.writeBase(E,Oa,Ze,Ke,wt);Nu!=="string"?Lu(null,xh,Oa):Lu(null,xh,R)}catch(B_){Lu(B_)}})},P.prototype.writeFileBase=function(E,R,B,X){var oe=typeof E=="number",be;oe?be=E:be=this.openBase(Ae(E),B,X);var Ue=0,Ze=R.length,Ke=B&x?void 0:0;try{for(;Ze>0;){var wt=this.writeSync(be,R,Ue,Ze,Ke);Ue+=wt,Ze-=wt,Ke!==void 0&&(Ke+=wt)}}finally{oe||this.closeSync(be)}},P.prototype.writeFileSync=function(E,R,B){var X=b(B),oe=Me(X.flag),be=mt(X.mode),Ue=Nt(R,X.encoding);this.writeFileBase(E,Ue,oe,be)},P.prototype.writeFile=function(E,R,B,X){var oe=B,be=X;typeof B=="function"&&(oe=u,be=B);var Ue=et(be),Ze=b(oe),Ke=Me(Ze.flag),wt=mt(Ze.mode),kt=Nt(R,Ze.encoding);this.wrapAsync(this.writeFileBase,[E,kt,Ke,wt],Ue)},P.prototype.linkBase=function(E,R){var B=ut(E),X=this.getLink(B);if(!X)throw De(je,"link",E,R);var oe=ut(R),be=this.getLinkParent(oe);if(!be)throw De(je,"link",E,R);var Ue=oe[oe.length-1];if(be.getChild(Ue))throw De(O,"link",E,R);var Ze=X.getNode();Ze.nlink++,be.createChild(Ue,Ze)},P.prototype.copyFileBase=function(E,R,B){var X=this.readFileSync(E);if(B&K&&this.existsSync(R))throw De(O,"copyFile",E,R);if(B&re)throw De(Se,"copyFile",E,R);this.writeFileBase(R,X,$e.w,438)},P.prototype.copyFileSync=function(E,R,B){var X=Ae(E),oe=Ae(R);return this.copyFileBase(X,oe,(B||0)|0)},P.prototype.copyFile=function(E,R,B,X){var oe=Ae(E),be=Ae(R),Ue,Ze;typeof B=="function"?(Ue=0,Ze=B):(Ue=B,Ze=X),et(Ze),this.wrapAsync(this.copyFileBase,[oe,be,Ue],Ze)},P.prototype.linkSync=function(E,R){var B=Ae(E),X=Ae(R);this.linkBase(B,X)},P.prototype.link=function(E,R,B){var X=Ae(E),oe=Ae(R);this.wrapAsync(this.linkBase,[X,oe],B)},P.prototype.unlinkBase=function(E){var R=ut(E),B=this.getLink(R);if(!B)throw De(je,"unlink",E);if(B.length)throw Error("Dir not empty...");this.deleteLink(B);var X=B.getNode();X.nlink--,X.nlink<=0&&this.deleteNode(X)},P.prototype.unlinkSync=function(E){var R=Ae(E);this.unlinkBase(R)},P.prototype.unlink=function(E,R){var B=Ae(E);this.wrapAsync(this.unlinkBase,[B],R)},P.prototype.symlinkBase=function(E,R){var B=ut(R),X=this.getLinkParent(B);if(!X)throw De(je,"symlink",E,R);var oe=B[B.length-1];if(X.getChild(oe))throw De(O,"symlink",E,R);var be=X.createChild(oe);return be.getNode().makeSymlink(ut(E)),be},P.prototype.symlinkSync=function(E,R,B){var X=Ae(E),oe=Ae(R);this.symlinkBase(X,oe)},P.prototype.symlink=function(E,R,B,X){var oe=et(typeof B=="function"?B:X),be=Ae(E),Ue=Ae(R);this.wrapAsync(this.symlinkBase,[be,Ue],oe)},P.prototype.realpathBase=function(E,R){var B=ut(E),X=this.getResolvedLink(B);if(!X)throw De(je,"realpath",E);return(0,_.strToEncoding)(X.getPath(),R)},P.prototype.realpathSync=function(E,R){return this.realpathBase(Ae(E),Be(R).encoding)},P.prototype.realpath=function(E,R,B){var X=ee(R,B),oe=X[0],be=X[1],Ue=Ae(E);this.wrapAsync(this.realpathBase,[Ue,oe.encoding],be)},P.prototype.lstatBase=function(E,R){R===void 0&&(R=!1);var B=this.getLink(ut(E));if(!B)throw De(je,"lstat",E);return o.default.build(B.getNode(),R)},P.prototype.lstatSync=function(E,R){return this.lstatBase(Ae(E),ie(R).bigint)},P.prototype.lstat=function(E,R,B){var X=ve(R,B),oe=X[0],be=X[1];this.wrapAsync(this.lstatBase,[Ae(E),oe.bigint],be)},P.prototype.statBase=function(E,R){R===void 0&&(R=!1);var B=this.getResolvedLink(ut(E));if(!B)throw De(je,"stat",E);return o.default.build(B.getNode(),R)},P.prototype.statSync=function(E,R){return this.statBase(Ae(E),ie(R).bigint)},P.prototype.stat=function(E,R,B){var X=ve(R,B),oe=X[0],be=X[1];this.wrapAsync(this.statBase,[Ae(E),oe.bigint],be)},P.prototype.fstatBase=function(E,R){R===void 0&&(R=!1);var B=this.getFileByFd(E);if(!B)throw De(Je,"fstat");return o.default.build(B.node,R)},P.prototype.fstatSync=function(E,R){return this.fstatBase(E,ie(R).bigint)},P.prototype.fstat=function(E,R,B){var X=ve(R,B),oe=X[0],be=X[1];this.wrapAsync(this.fstatBase,[E,oe.bigint],be)},P.prototype.renameBase=function(E,R){var B=this.getLink(ut(E));if(!B)throw De(je,"rename",E,R);var X=ut(R),oe=this.getLinkParent(X);if(!oe)throw De(je,"rename",E,R);var be=B.parent;be&&be.deleteChild(B);var Ue=X[X.length-1];B.steps=t(t([],oe.steps,!0),[Ue],!1),oe.setChild(B.getName(),B)},P.prototype.renameSync=function(E,R){var B=Ae(E),X=Ae(R);this.renameBase(B,X)},P.prototype.rename=function(E,R,B){var X=Ae(E),oe=Ae(R);this.wrapAsync(this.renameBase,[X,oe],B)},P.prototype.existsBase=function(E){return!!this.statBase(E)},P.prototype.existsSync=function(E){try{return this.existsBase(Ae(E))}catch{return!1}},P.prototype.exists=function(E,R){var B=this,X=Ae(E);if(typeof R!="function")throw Error(Re.CB);(0,f.default)(function(){try{R(B.existsBase(X))}catch{R(!1)}})},P.prototype.accessBase=function(E,R){this.getLinkOrThrow(E,"access")},P.prototype.accessSync=function(E,R){R===void 0&&(R=Te);var B=Ae(E);R=R|0,this.accessBase(B,R)},P.prototype.access=function(E,R,B){var X=Te,oe;typeof R!="function"?(X=R|0,oe=et(B)):oe=R;var be=Ae(E);this.wrapAsync(this.accessBase,[be,X],oe)},P.prototype.appendFileSync=function(E,R,B){B===void 0&&(B=L);var X=m(B);(!X.flag||Ut(E))&&(X.flag="a"),this.writeFileSync(E,R,X)},P.prototype.appendFile=function(E,R,B,X){var oe=j(B,X),be=oe[0],Ue=oe[1];(!be.flag||Ut(E))&&(be.flag="a"),this.writeFile(E,R,be,Ue)},P.prototype.readdirBase=function(E,R){var B=ut(E),X=this.getResolvedLink(B);if(!X)throw De(je,"readdir",E);var oe=X.getNode();if(!oe.isDirectory())throw De(Y,"scandir",E);if(R.withFileTypes){var be=[];for(var Ue in X.children){var Ze=X.getChild(Ue);Ze&&be.push(a.default.build(Ze,R.encoding))}return!ye&&R.encoding!=="buffer"&&be.sort(function(kt,Pr){return kt.namePr.name?1:0}),be}var Ke=[];for(var wt in X.children)Ke.push((0,_.strToEncoding)(wt,R.encoding));return!ye&&R.encoding!=="buffer"&&Ke.sort(),Ke},P.prototype.readdirSync=function(E,R){var B=we(R),X=Ae(E);return this.readdirBase(X,B)},P.prototype.readdir=function(E,R,B){var X=_e(R,B),oe=X[0],be=X[1],Ue=Ae(E);this.wrapAsync(this.readdirBase,[Ue,oe],be)},P.prototype.readlinkBase=function(E,R){var B=this.getLinkOrThrow(E,"readlink"),X=B.getNode();if(!X.isSymlink())throw De(Ve,"readlink",E);var oe=Ce+X.symlink.join(Ce);return(0,_.strToEncoding)(oe,R)},P.prototype.readlinkSync=function(E,R){var B=gt(R),X=Ae(E);return this.readlinkBase(X,B.encoding)},P.prototype.readlink=function(E,R,B){var X=Ct(R,B),oe=X[0],be=X[1],Ue=Ae(E);this.wrapAsync(this.readlinkBase,[Ue,oe.encoding],be)},P.prototype.fsyncBase=function(E){this.getFileByFdOrThrow(E,"fsync")},P.prototype.fsyncSync=function(E){this.fsyncBase(E)},P.prototype.fsync=function(E,R){this.wrapAsync(this.fsyncBase,[E],R)},P.prototype.fdatasyncBase=function(E){this.getFileByFdOrThrow(E,"fdatasync")},P.prototype.fdatasyncSync=function(E){this.fdatasyncBase(E)},P.prototype.fdatasync=function(E,R){this.wrapAsync(this.fdatasyncBase,[E],R)},P.prototype.ftruncateBase=function(E,R){var B=this.getFileByFdOrThrow(E,"ftruncate");B.truncate(R)},P.prototype.ftruncateSync=function(E,R){this.ftruncateBase(E,R)},P.prototype.ftruncate=function(E,R,B){var X=typeof R=="number"?R:0,oe=et(typeof R=="number"?B:R);this.wrapAsync(this.ftruncateBase,[E,X],oe)},P.prototype.truncateBase=function(E,R){var B=this.openSync(E,"r+");try{this.ftruncateSync(B,R)}finally{this.closeSync(B)}},P.prototype.truncateSync=function(E,R){if(Ut(E))return this.ftruncateSync(E,R);this.truncateBase(E,R)},P.prototype.truncate=function(E,R,B){var X=typeof R=="number"?R:0,oe=et(typeof R=="number"?B:R);if(Ut(E))return this.ftruncate(E,X,oe);this.wrapAsync(this.truncateBase,[E,X],oe)},P.prototype.futimesBase=function(E,R,B){var X=this.getFileByFdOrThrow(E,"futimes"),oe=X.node;oe.atime=new Date(R*1e3),oe.mtime=new Date(B*1e3)},P.prototype.futimesSync=function(E,R,B){this.futimesBase(E,Dt(R),Dt(B))},P.prototype.futimes=function(E,R,B,X){this.wrapAsync(this.futimesBase,[E,Dt(R),Dt(B)],X)},P.prototype.utimesBase=function(E,R,B){var X=this.openSync(E,"r+");try{this.futimesBase(X,R,B)}finally{this.closeSync(X)}},P.prototype.utimesSync=function(E,R,B){this.utimesBase(Ae(E),Dt(R),Dt(B))},P.prototype.utimes=function(E,R,B,X){this.wrapAsync(this.utimesBase,[Ae(E),Dt(R),Dt(B)],X)},P.prototype.mkdirBase=function(E,R){var B=ut(E);if(!B.length)throw De(O,"mkdir",E);var X=this.getLinkParentAsDirOrThrow(E,"mkdir"),oe=B[B.length-1];if(X.getChild(oe))throw De(O,"mkdir",E);X.createChild(oe,this.createNode(!0,R))},P.prototype.mkdirpBase=function(E,R){for(var B=ut(E),X=this.root,oe=0;oe1)return this.mkdtempBase(E,R,B-1);throw Error("Could not create temp dir.")}else throw oe}},P.prototype.mkdtempSync=function(E,R){var B=gt(R).encoding;if(!E||typeof E!="string")throw new TypeError("filename prefix is required");return Nn(E),this.mkdtempBase(E,B)},P.prototype.mkdtemp=function(E,R,B){var X=Ct(R,B),oe=X[0].encoding,be=X[1];if(!E||typeof E!="string")throw new TypeError("filename prefix is required");Nn(E)&&this.wrapAsync(this.mkdtempBase,[E,oe],be)},P.prototype.rmdirBase=function(E,R){var B=rt(R),X=this.getLinkAsDirOrThrow(E,"rmdir");if(X.length&&!B.recursive)throw De(Z,"rmdir",E);this.deleteLink(X)},P.prototype.rmdirSync=function(E,R){this.rmdirBase(Ae(E),R)},P.prototype.rmdir=function(E,R,B){var X=rt(R),oe=et(typeof R=="function"?R:B);this.wrapAsync(this.rmdirBase,[Ae(E),X],oe)},P.prototype.fchmodBase=function(E,R){var B=this.getFileByFdOrThrow(E,"fchmod");B.chmod(R)},P.prototype.fchmodSync=function(E,R){this.fchmodBase(E,mt(R))},P.prototype.fchmod=function(E,R,B){this.wrapAsync(this.fchmodBase,[E,mt(R)],B)},P.prototype.chmodBase=function(E,R){var B=this.openSync(E,"r+");try{this.fchmodBase(B,R)}finally{this.closeSync(B)}},P.prototype.chmodSync=function(E,R){var B=mt(R),X=Ae(E);this.chmodBase(X,B)},P.prototype.chmod=function(E,R,B){var X=mt(R),oe=Ae(E);this.wrapAsync(this.chmodBase,[oe,X],B)},P.prototype.lchmodBase=function(E,R){var B=this.openBase(E,D,0,!1);try{this.fchmodBase(B,R)}finally{this.closeSync(B)}},P.prototype.lchmodSync=function(E,R){var B=mt(R),X=Ae(E);this.lchmodBase(X,B)},P.prototype.lchmod=function(E,R,B){var X=mt(R),oe=Ae(E);this.wrapAsync(this.lchmodBase,[oe,X],B)},P.prototype.fchownBase=function(E,R,B){this.getFileByFdOrThrow(E,"fchown").chown(R,B)},P.prototype.fchownSync=function(E,R,B){Kt(R),pn(B),this.fchownBase(E,R,B)},P.prototype.fchown=function(E,R,B,X){Kt(R),pn(B),this.wrapAsync(this.fchownBase,[E,R,B],X)},P.prototype.chownBase=function(E,R,B){var X=this.getResolvedLinkOrThrow(E,"chown"),oe=X.getNode();oe.chown(R,B)},P.prototype.chownSync=function(E,R,B){Kt(R),pn(B),this.chownBase(Ae(E),R,B)},P.prototype.chown=function(E,R,B,X){Kt(R),pn(B),this.wrapAsync(this.chownBase,[Ae(E),R,B],X)},P.prototype.lchownBase=function(E,R,B){this.getLinkOrThrow(E,"lchown").getNode().chown(R,B)},P.prototype.lchownSync=function(E,R,B){Kt(R),pn(B),this.lchownBase(Ae(E),R,B)},P.prototype.lchown=function(E,R,B,X){Kt(R),pn(B),this.wrapAsync(this.lchownBase,[Ae(E),R,B],X)},P.prototype.watchFile=function(E,R,B){var X=Ae(E),oe=R,be=B;if(typeof oe=="function"&&(be=R,oe=null),typeof be!="function")throw Error('"watchFile()" requires a listener function');var Ue=5007,Ze=!0;oe&&typeof oe=="object"&&(typeof oe.interval=="number"&&(Ue=oe.interval),typeof oe.persistent=="boolean"&&(Ze=oe.persistent));var Ke=this.statWatchers[X];return Ke||(Ke=new this.StatWatcher,Ke.start(X,Ze,Ue),this.statWatchers[X]=Ke),Ke.addListener("change",be),Ke},P.prototype.unwatchFile=function(E,R){var B=Ae(E),X=this.statWatchers[B];X&&(typeof R=="function"?X.removeListener("change",R):X.removeAllListeners("change"),X.listenerCount("change")===0&&(X.stop(),delete this.statWatchers[B]))},P.prototype.createReadStream=function(E,R){return new this.ReadStream(E,R)},P.prototype.createWriteStream=function(E,R){return new this.WriteStream(E,R)},P.prototype.watch=function(E,R,B){var X=Ae(E),oe=R;typeof R=="function"&&(B=R,oe=null);var be=gt(oe),Ue=be.persistent,Ze=be.recursive,Ke=be.encoding;Ue===void 0&&(Ue=!0),Ze===void 0&&(Ze=!1);var wt=new this.FSWatcher;return wt.start(X,Ue,Ze,Ke),B&&wt.addListener("change",B),wt},P.fd=2147483647,P}();vt.Volume=T_;function O_(P){P.emit("stop")}var Ah=function(P){e(E,P);function E(R){var B=P.call(this)||this;return B.onInterval=function(){try{var X=B.vol.statSync(B.filename);B.hasChanged(X)&&(B.emit("change",X,B.prev),B.prev=X)}finally{B.loop()}},B.vol=R,B}return E.prototype.loop=function(){this.timeoutRef=this.setTimeout(this.onInterval,this.interval)},E.prototype.hasChanged=function(R){return R.mtimeMs>this.prev.mtimeMs||R.nlink!==this.prev.nlink},E.prototype.start=function(R,B,X){B===void 0&&(B=!0),X===void 0&&(X=5007),this.filename=Ae(R),this.setTimeout=B?setTimeout.bind(typeof globalThis<"u"?globalThis:Yx):c.default,this.interval=X,this.prev=this.vol.statSync(this.filename),this.loop()},E.prototype.stop=function(){clearTimeout(this.timeoutRef),l.default.nextTick(O_,this)},E}(v.EventEmitter);vt.StatWatcher=Ah;var Sr;function I_(P){Sr=(0,i.bufferAllocUnsafe)(P),Sr.used=0}w.inherits(Fr,d.Readable),vt.ReadStream=Fr;function Fr(P,E,R){if(!(this instanceof Fr))return new Fr(P,E,R);if(this._vol=P,R=Object.assign({},ot(R,{})),R.highWaterMark===void 0&&(R.highWaterMark=64*1024),d.Readable.call(this,R),this.path=Ae(E),this.fd=R.fd===void 0?null:R.fd,this.flags=R.flags===void 0?"r":R.flags,this.mode=R.mode===void 0?438:R.mode,this.start=R.start,this.end=R.end,this.autoClose=R.autoClose===void 0?!0:R.autoClose,this.pos=void 0,this.bytesRead=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw new TypeError('"end" option must be a Number');if(this.start>this.end)throw new Error('"start" option must be <= "end" option');this.pos=this.start}typeof this.fd!="number"&&this.open(),this.on("end",function(){this.autoClose&&this.destroy&&this.destroy()})}Fr.prototype.open=function(){var P=this;this._vol.open(this.path,this.flags,this.mode,function(E,R){if(E){P.autoClose&&P.destroy&&P.destroy(),P.emit("error",E);return}P.fd=R,P.emit("open",R),P.read()})},Fr.prototype._read=function(P){if(typeof this.fd!="number")return this.once("open",function(){this._read(P)});if(this.destroyed)return;(!Sr||Sr.length-Sr.used0&&(X.bytesRead+=Ue,Ze=E.slice(B,B+Ue)),X.push(Ze)}}},Fr.prototype._destroy=function(P,E){this.close(function(R){E(P||R)})},Fr.prototype.close=function(P){var E=this;if(P&&this.once("close",P),this.closed||typeof this.fd!="number"){if(typeof this.fd!="number"){this.once("open",x_);return}return l.default.nextTick(function(){return E.emit("close")})}this.closed=!0,this._vol.close(this.fd,function(R){R?E.emit("error",R):E.emit("close")}),this.fd=null};function x_(P){this.close()}w.inherits(Ar,d.Writable),vt.WriteStream=Ar;function Ar(P,E,R){if(!(this instanceof Ar))return new Ar(P,E,R);if(this._vol=P,R=Object.assign({},ot(R,{})),d.Writable.call(this,R),this.path=Ae(E),this.fd=R.fd===void 0?null:R.fd,this.flags=R.flags===void 0?"w":R.flags,this.mode=R.mode===void 0?438:R.mode,this.start=R.start,this.autoClose=R.autoClose===void 0?!0:!!R.autoClose,this.pos=void 0,this.bytesWritten=0,this.start!==void 0){if(typeof this.start!="number")throw new TypeError('"start" option must be a Number');if(this.start<0)throw new Error('"start" must be >= zero');this.pos=this.start}R.encoding&&this.setDefaultEncoding(R.encoding),typeof this.fd!="number"&&this.open(),this.once("finish",function(){this.autoClose&&this.close()})}Ar.prototype.open=function(){this._vol.open(this.path,this.flags,this.mode,function(P,E){if(P){this.autoClose&&this.destroy&&this.destroy(),this.emit("error",P);return}this.fd=E,this.emit("open",E)}.bind(this))},Ar.prototype._write=function(P,E,R){if(!(P instanceof i.Buffer))return this.emit("error",new Error("Invalid data"));if(typeof this.fd!="number")return this.once("open",function(){this._write(P,E,R)});var B=this;this._vol.write(this.fd,P,0,P.length,this.pos,function(X,oe){if(X)return B.autoClose&&B.destroy&&B.destroy(),R(X);B.bytesWritten+=oe,R()}),this.pos!==void 0&&(this.pos+=P.length)},Ar.prototype._writev=function(P,E){if(typeof this.fd!="number")return this.once("open",function(){this._writev(P,E)});for(var R=this,B=P.length,X=new Array(B),oe=0,be=0;be{let{size:a}=Cn.fstatSync(t),i=he.alloc(a-n);Cn.readSync(t,i,0,i.length,n),n=a,r(o.decode(i,{stream:!0}))})}var It=Jx(Cn);It.opendir=()=>Er("opendir");It.opendirSync=()=>Er("opendirSync");It.promises.opendir=()=>Er("promises.opendir");It.cp=()=>Er("cp");It.cpSync=()=>Er("cpSync");It.promises.cp=()=>Er("promises.cp");It.readv=()=>Er("readv");It.readvSync=()=>Er("readvSync");It.rm=()=>Er("rm");It.rmSync=()=>Er("rmSync");It.promises.rm=()=>Er("promises.rm");It.Dir=()=>Er("Dir");It.promises.watch=()=>Er("promises.watch");It.FileReadStream=It.ReadStream;It.FileWriteStream=It.WriteStream;function yh(e,t){if(e.protocol==="file:")return hh(e);if(e.protocol==="https:"||e.protocol==="http:"){let r="\\\\url\\"+e.href.replaceAll(/\//g,"\\\\");if(rB(r))return r;if(t)throw new Error(`Cannot sync request URL ${e} via FS. JSPM FS support for network URLs requires using async FS methods or priming the MemFS cache first with an async request before a sync request.`);return(async()=>{let n=await fetch(e);if(!n.ok)throw new Error(`Unable to fetch ${e.href}, ${n.status}`);let o=await n.arrayBuffer();return nB(r,he.from(o)),r})()}throw new Error("URL "+e+" not supported in JSPM FS implementation.")}function Qx(e){return function(t,...r){return t instanceof URL?e(yh(t,!0),...r):e(t,...r)}}function eB(e){return async function(t,...r){return t instanceof URL?e(await yh(t),...r):e(t,...r)}}function tB(e){return function(t,...r){let n=r[r.length-1];t instanceof URL&&typeof n=="function"?yh(t).then(o=>{e(o,...r)},n):e(t,...r)}}It.promises.readFile=eB(It.promises.readFile);It.readFile=tB(It.readFile);It.readFileSync=Qx(It.readFileSync);var{appendFile:HV,appendFileSync:ZV,access:Kb,accessSync:VV,chown:GV,chownSync:YV,chmod:KV,chmodSync:XV,close:JV,closeSync:QV,copyFile:eG,copyFileSync:tG,cp:rG,cpSync:nG,createReadStream:Xb,createWriteStream:Jb,exists:iG,existsSync:rB,fchown:oG,fchownSync:aG,fchmod:sG,fchmodSync:uG,fdatasync:fG,fdatasyncSync:lG,fstat:cG,fstatSync:hG,fsync:pG,fsyncSync:dG,ftruncate:yG,ftruncateSync:gG,futimes:mG,futimesSync:vG,lchown:wG,lchownSync:bG,lchmod:_G,lchmodSync:EG,link:SG,linkSync:AG,lstat:RG,lstatSync:TG,mkdir:OG,mkdirSync:IG,mkdtemp:xG,mkdtempSync:BG,open:CG,openSync:NG,opendir:LG,opendirSync:kG,readdir:FG,readdirSync:PG,read:UG,readSync:DG,readv:MG,readvSync:jG,readFile:$G,readFileSync:zG,readlink:qG,readlinkSync:WG,realpath:HG,realpathSync:ZG,rename:VG,renameSync:GG,rm:YG,rmSync:KG,rmdir:XG,rmdirSync:JG,stat:QG,statSync:eY,symlink:tY,symlinkSync:rY,truncate:nY,truncateSync:iY,unwatchFile:oY,unlink:aY,unlinkSync:sY,utimes:uY,utimesSync:fY,watch:lY,watchFile:cY,writeFile:hY,writeFileSync:nB,write:pY,writeSync:dY,writev:yY,writevSync:gY,Dir:mY,Dirent:vY,Stats:wY,ReadStream:bY,WriteStream:_Y,FileReadStream:EY,FileWriteStream:SY,_toUnixTimestamp:AY,constants:{F_OK:RY,R_OK:TY,W_OK:OY,X_OK:IY},constants:Qb,promises:gh}=It;$();z();q();H();W();ka();var{access:eK,copyFile:tK,cp:rK,open:Aa,opendir:nK,rename:Ru,truncate:iK,rm:oK,rmdir:aK,mkdir:e_,readdir:sK,readlink:uK,symlink:fK,lstat:lK,stat:mh,link:cK,unlink:t_,chmod:hK,lchmod:pK,lchown:dK,chown:yK,utimes:gK,realpath:mK,mkdtemp:vK,writeFile:r_,appendFile:wK,readFile:n_,watch:bK}=gh;async function i_(e){return new Promise(t=>Kb(e,Qb.F_OK,r=>t(!r)))}var Tu=class extends Error{constructor(){super("Too many destination file attempts");at(this,"code","RFS-TOO-MANY")}},bh=class extends a1{constructor(r,n){let{encoding:o,history:a,maxFiles:i,maxSize:f,path:l}=n;super({decodeStrings:!0,defaultEncoding:o});at(this,"createGzip");at(this,"exec");at(this,"file");at(this,"filename");at(this,"finished");at(this,"fsCreateReadStream");at(this,"fsCreateWriteStream");at(this,"fsOpen");at(this,"fsReadFile");at(this,"fsStat");at(this,"fsUnlink");at(this,"generator");at(this,"initPromise");at(this,"last");at(this,"maxTimeout");at(this,"next");at(this,"options");at(this,"prev");at(this,"rotation");at(this,"size");at(this,"stdout");at(this,"timeout");at(this,"timeoutPromise");this.createGzip=db,this.exec=Nv,this.filename=l+r(null),this.fsCreateReadStream=Xb,this.fsCreateWriteStream=Jb,this.fsOpen=Aa,this.fsReadFile=n_,this.fsStat=mh,this.fsUnlink=t_,this.generator=r,this.maxTimeout=2147483640,this.options=n,this.stdout=ce.stdout,(i||f)&&(n.history=l+(a||this.generator(null)+".txt")),this.on("close",()=>this.finished?null:this.emit("finish")),this.on("finish",()=>this.finished=this.clear()),(async()=>{try{this.initPromise=this.init(),await this.initPromise,delete this.initPromise}catch{}})()}_destroy(r,n){this.refinal(r,n)}_final(r){this.refinal(void 0,r)}_write(r,n,o){this.rewrite([{chunk:r,encoding:n}],0,o)}_writev(r,n){this.rewrite(r,0,n)}async refinal(r,n){try{this.clear(),this.initPromise&&await this.initPromise,this.timeoutPromise&&await this.timeoutPromise,await this.reclose()}catch(o){return n(r||o)}n(r)}async rewrite(r,n,o){let{size:a,teeToStdout:i}=this.options;try{this.initPromise&&await this.initPromise,this.timeoutPromise&&await this.timeoutPromise;for(let f=0;f=a&&await this.rotate()}}catch(f){return o(f)}o()}async init(){let{immutable:r,initialRotation:n,interval:o,size:a}=this.options;if(r)return new Promise((f,l)=>ce.nextTick(()=>this.immutate(!0).then(f).catch(l)));let i;try{i=await mh(this.filename)}catch(f){if(f.code!=="ENOENT")throw f;return this.reopen(0)}if(!i.isFile())throw new Error(`Can't write on: ${this.filename} (it is not a file)`);if(n){this.intervalBounds(this.now());let f=this.prev;if(this.intervalBounds(new Date(i.mtime.getTime())),f!==this.prev)return this.rotate()}return this.size=i.size,!a||i.size0;--i){let f=n+this.generator(i),l=i===1?this.filename:n+this.generator(i-1);if(await i_(l))if(a||(a=f),i===1&&r)await this.compress(f);else try{await Ru(l,f)}catch(c){if(c.code!=="ENOENT")throw c;await this.makePath(f),await Ru(l,f)}}return this.rotated(a)}clear(){return this.timeout&&(clearTimeout(this.timeout),this.timeout=null),!0}intervalBoundsBig(r){let n=r.getFullYear(),o=r.getMonth(),a=r.getDate(),i=r.getHours(),{num:f,unit:l}=this.options.interval;l==="M"?(a=1,i=0):l==="d"?i=0:i=parseInt(i/f,10)*f,this.prev=new Date(n,o,a,i,0,0,0).getTime(),l==="M"?o+=f:l==="d"?a+=f:i+=f,this.next=new Date(n,o,a,i,0,0,0).getTime()}intervalBounds(r){let n=this.options.interval.unit;if(n==="M"||n==="d"||n==="h")this.intervalBoundsBig(r);else{let o=1e3*this.options.interval.num;n==="m"&&(o*=60),this.prev=parseInt(r.getTime()/o,10)*o,this.next=this.prev+o}return new Date(this.prev)}interval(){if(!this.options.interval)return;this.intervalBounds(this.now());let r=async()=>{let n=this.next-this.now().getTime();if(n<=0)try{this.timeoutPromise=this.rotate(),await this.timeoutPromise,delete this.timeoutPromise}catch{}else this.timeout=setTimeout(r,n>this.maxTimeout?this.maxTimeout:n),this.timeout.unref()};r()}async compress(r){let{compress:n}=this.options;return typeof n=="function"?await new Promise((o,a)=>{this.exec(n(this.filename,r),(i,f,l)=>{this.emit("external",f,l),i?a(i):o()})}):await this.gzip(r),this.unlink(this.filename)}async gzip(r){let{mode:n}=this.options,o=n?{mode:n}:{},a=this.fsCreateReadStream(this.filename,{}),i=this.fsCreateWriteStream(r,o),f=this.createGzip();return new Promise((l,c)=>{[a,i,f].map(d=>d.once("error",c)),i.once("finish",l),a.pipe(f).pipe(i)})}async rotated(r){let{maxFiles:n,maxSize:o}=this.options;return(n||o)&&await this.history(r),this.emit("rotated",r),this.reopen(0)}async history(r){let{history:n,maxFiles:o,maxSize:a}=this.options,i=[],f=[r];try{f=[...(await this.fsReadFile(n,"utf8")).toString().split(` `),r]}catch(l){if(l.code!=="ENOENT")throw l}for(let l of f)if(l)try{let c=await this.fsStat(l);c.isFile()?i.push({name:l,size:c.size,time:c.ctime.getTime()}):this.emit("warning",new Error(`File '${l}' contained in history is not a regular file`))}catch(c){if(c.code!=="ENOENT")throw c}if(i.sort((l,c)=>l.time-c.time),o)for(;i.length>o;){let l=i.shift();await this.unlink(l.name),this.emit("removed",l.name,!0)}if(a)for(;i.reduce((l,c)=>l+c.size,0)>a;){let l=i.shift();await this.unlink(l.name),this.emit("removed",l.name,!1)}await r_(n,i.map(l=>l.name).join(` `)+` `,"utf-8"),this.emit("history")}async immutate(r){let{size:n}=this.options,o=this.now();for(let a=1;a<1e3;++a){let i=0,f;this.filename=this.options.path+this.generator(o,a);try{f=await this.fsStat(this.filename)}catch(l){if(l.code!=="ENOENT")throw l}if(f){if(i=f.size,!f.isFile())throw new Error(`Can't write on: '${this.filename}' (it is not a file)`);if(n&&i>=n)continue}if(r)return this.last=this.filename,this.reopen(i);await this.rotated(this.last),this.last=this.filename;return}throw new Tu}async unlink(r){try{await this.fsUnlink(r)}catch(n){if(n.code!=="ENOENT")throw n;this.emit("warning",n)}}};function o_(e){return(t,r,n)=>{let o=parseInt(n,10);if(t!=="number"||o!==n||o<=0)throw new Error(`'${e}' option must be a positive integer number`)}}function vh(e,t){return(r,n,o)=>{if(r!=="string")throw new Error(`Don't know how to handle 'options.${e}' type: ${r}`);n[e]=t(o)}}function u_(e,t,r){let n={};if(n.num=parseInt(e,10),isNaN(n.num))throw new Error(`Unknown 'options.${t}' format: ${e}`);if(n.num<=0)throw new Error(`A positive integer number is expected for 'options.${t}'`);if(n.unit=e.replace(/^[ 0]*/g,"").substr((n.num+"").length,1),n.unit.length===0)throw new Error(`Missing unit for 'options.${t}'`);if(!r[n.unit])throw new Error(`Unknown 'options.${t}' unit: ${n.unit}`);return n}var iB={M:!0,d:!0,h:!0,m:!0,s:!0};function wh(e,t,r){if(parseInt(r/e.num,10)*e.num!==r)throw new Error(`An integer divider of ${r} is expected as ${t} for 'options.interval'`)}function oB(e){let t=u_(e,"interval",iB);switch(t.unit){case"h":wh(t,"hours",24);break;case"m":wh(t,"minutes",60);break;case"s":wh(t,"seconds",60);break}return t}var aB={B:!0,G:!0,K:!0,M:!0};function a_(e){let t=u_(e,"size",aB);return t.unit==="K"?t.num*1024:t.unit==="M"?t.num*1048576:t.unit==="G"?t.num*1073741824:t.num}var s_={encoding:(e,t,r)=>new i1(r),immutable:()=>{},initialRotation:()=>{},interval:vh("interval",oB),intervalBoundary:()=>{},maxFiles:o_("maxFiles"),maxSize:vh("maxSize",a_),mode:()=>{},omitExtension:()=>{},rotate:o_("rotate"),size:vh("size",a_),teeToStdout:()=>{},compress:(e,t,r)=>{if(!r)throw new Error("A value for 'options.compress' must be specified");if(e==="boolean")return t.compress=(n,o)=>`cat ${n} | gzip -c9 > ${o}`;if(e!=="function"){if(e!=="string")throw new Error(`Don't know how to handle 'options.compress' type: ${e}`);if(r!=="gzip")throw new Error(`Don't know how to handle compression method: ${r}`)}},history:e=>{if(e!=="string")throw new Error(`Don't know how to handle 'options.history' type: ${e}`)},path:(e,t,r)=>{if(e!=="string")throw new Error(`Don't know how to handle 'options.path' type: ${e}`);r[r.length-1]!==sa&&(t.path=r+sa)}};function sB(e){let t={};for(let r in e){let n=e[r],o=typeof n;if(!(r in s_))throw new Error(`Unknown option: ${r}`);t[r]=e[r],s_[r](o,t,n)}return t.path||(t.path=""),t.interval||(delete t.immutable,delete t.initialRotation,delete t.intervalBoundary),t.rotate&&(delete t.history,delete t.immutable,delete t.maxFiles,delete t.maxSize,delete t.intervalBoundary),t.immutable&&delete t.compress,t.intervalBoundary||delete t.initialRotation,t}function uB(e,t,r){return n=>n?`${e}.${n}${t&&!r?".gz":""}`:e}function fB(e,t,r){let n=o=>(o>9?"":"0")+o;return(o,a)=>{if(!o)return e;let i=o.getFullYear()+""+n(o.getMonth()+1),f=n(o.getDate()),l=n(o.getHours()),c=n(o.getMinutes());return i+f+"-"+l+c+"-"+n(a)+"-"+e+(t&&!r?".gz":"")}}function f_(e,t){if(typeof t>"u")t={};else if(typeof t!="object")throw new Error(`The "options" argument must be of type object. Received type ${typeof t}`);let r=sB(t),{compress:n,omitExtension:o}=r,a;if(typeof e=="string")a=t.rotate?uB(e,n!==void 0,o):fB(e,n!==void 0,o);else if(typeof e=="function")a=e;else throw new Error(`The "filename" argument must be one of type string or function. Received type ${typeof e}`);return new bh(a,r)}var Sh=Jn(m_()),v_=w_.isBrowser?null:f_("tabby-agent.log",{path:Ot.join(st.homedir(),".tabby","agent-logs"),size:"10M",interval:"1d"}),Eo=v_?(0,Sh.default)(v_):(0,Sh.default)(),xu=[Eo];Eo.onChild=e=>{xu.push(e)};var Bu=class{constructor(){this.logger=Eo.child({component:"CompletionCache"});this.options={maxSize:1*1024*1024,partiallyAcceptedCacheGeneration:{enabled:!0,perCharacter:{lines:1,words:10,max:30},perWord:{lines:1,max:20},perLine:{max:3}}};this.cache=new Ms({maxSize:this.options.maxSize,sizeCalculation:__.default})}has(t){return this.cache.has(this.hash(t))}set(t,r){for(let n of this.createCacheEntries(t,r))this.logger.debug({entry:n},"Setting cache entry"),this.cache.set(this.hash(n.key),n.value);this.logger.debug({size:this.cache.calculatedSize},"Cache size")}get(t){return this.cache.get(this.hash(t))}hash(t){return(0,b_.default)(t)}createCacheEntries(t,r){let n=[{key:t,value:r}];if(this.options.partiallyAcceptedCacheGeneration.enabled){let o=r.choices.map(a=>this.calculatePartiallyAcceptedPositions(a.text).map(i=>({prefix:a.text.slice(0,i),suffix:a.text.slice(i),choiceIndex:a.index}))).flat().reduce((a,i)=>(a[i.prefix]=a[i.prefix]||[],a[i.prefix].push({suffix:i.suffix,choiceIndex:i.choiceIndex}),a),{});for(let a in o){let i={...t,text:t.text.slice(0,t.position)+a+t.text.slice(t.position),position:t.position+a.length},f={...r,choices:o[a].map(l=>({index:l.choiceIndex,text:l.suffix}))};n.push({key:i,value:f})}}return n}calculatePartiallyAcceptedPositions(t){let r=[],n=this.options.partiallyAcceptedCacheGeneration,o=ks(t),a=0,i=0;for(;ay.indexOf(c)===d).sort((c,d)=>c-d)}};var Cu=class extends Md{constructor(){super();this.logger=Eo.child({component:"TabbyAgent"});this.config=V0;this.status="connecting";this.completionCache=new Bu;this.onConfigUpdated()}onConfigUpdated(){xu.forEach(r=>r.level=this.config.logs.level),this.api=new Jo({BASE:this.config.server.endpoint}),this.ping()}changeStatus(r){if(this.status!=r){this.status=r;let n={event:"statusChanged",status:r};this.logger.debug({event:n},"Status changed"),super.emit("statusChanged",n)}}async ping(r=0){try{return await ri.get(this.config.server.endpoint),this.changeStatus("ready"),!0}catch{return r>5?(this.changeStatus("disconnected"),!1):(this.changeStatus("connecting"),await H0(1e3),this.ping(r+1))}}callApi(r,n){this.logger.debug({api:r.name,request:n},"API request");let o=r.call(this.api.default,n);return Nl(o.then(a=>(this.logger.debug({api:r.name,response:a},"API response"),this.changeStatus("ready"),a)).catch(a=>{throw this.logger.error({api:r.name,error:a},"API error"),this.changeStatus("disconnected"),a}),()=>{o.cancel()})}createPrompt(r){let o=r.text.slice(0,r.position),a=ks(o),i=Math.max(a.length-20,0);return a.slice(i).join("")}initialize(r){return r.config&&this.updateConfig(r.config),r.client&&xu.forEach(n=>n.setBindings&&n.setBindings({client:r.client})),this.logger.debug({params:r},"Initialized"),!0}updateConfig(r){let n=(0,S_.default)(this.config,r);if(!(0,E_.default)(this.config,n)){this.config=n,this.onConfigUpdated();let o={event:"configUpdated",config:this.config};this.logger.debug({event:o},"Config updated"),super.emit("configUpdated",o)}return!0}getConfig(){return this.config}getStatus(){return this.status}getCompletions(r){if(this.completionCache.has(r))return this.logger.debug({request:r},"Completion cache hit"),new Or(a=>{a(this.completionCache.get(r))});let n=this.createPrompt(r);if(Z0(n))return this.logger.debug("Prompt is blank, returning empty completion response"),new Or(a=>{a({id:"agent-"+nf(),created:new Date().getTime(),choices:[]})});let o=this.callApi(this.api.default.completionsV1CompletionsPost,{prompt:n,language:r.language});return Nl(o.then(a=>(this.completionCache.set(r,a),a)),()=>{o.cancel()})}postEvent(r){return this.callApi(this.api.default.eventsV1EventsPost,r)}};$();z();q();H();W();var A_=["statusChanged","configUpdated"];return U_(AB);})(); /*! Bundled license information: @jspm/core/nodelibs/browser/buffer.js: (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) ieee754/index.js: (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) buffer/index.js: (*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT *) @jspm/core/nodelibs/browser/chunk-44e51b61.js: (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh *) @jspm/core/nodelibs/browser/assert.js: (*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT *) */ //# sourceMappingURL=index.global.js.map